Mike Blumenkrantz
f0053045e4
add full ssl certificate support to ecore_con: call ecore_con_ssl_cert_add("/path/to/cert.pem") and then create the server object with the ECORE_CON_LOAD_CERT flag
...
also may have accidentally ruined the formatting on a couple files and started an hour-long discussion over efl formatting scripts to conceal the fact that I used uncrustify to reformat everything
SVN revision: 50529
2010-07-27 06:30:27 +00:00
Mike Blumenkrantz
021fe34df8
big doxy update
...
SVN revision: 50526
2010-07-27 01:00:24 +00:00
Cedric BAIL
fbe9064310
* ecore: Ecore callback really should return Eina_Bool.
...
SVN revision: 49829
2010-06-24 16:15:56 +00:00
Sebastian Dransfeld
0f4eb30d82
ecore_con: remove unused variable
...
SVN revision: 48821
2010-05-13 20:24:16 +00:00
Carsten Haitzler
8abda5cb05
only do auth stuff if there in curl.
...
SVN revision: 48749
2010-05-11 12:10:29 +00:00
Rui Seabra
b923e09da0
This commit implements http auth support; in order to avoid exposing too much of curl's internal workings, I opted to have a safety parameter in order to choose between CURLAUTH_ANY and CURLAUTH_ANYSAFE.
...
SVN revision: 48715
2010-05-09 15:06:06 +00:00
Hannes Janetzek
9dc6c78922
added fuction to send httposts created with curl formadd.
...
SVN revision: 48651
2010-05-06 20:18:39 +00:00
Carsten Haitzler
ea3dace944
handle url set better
...
SVN revision: 48358
2010-04-27 10:53:25 +00:00
Christopher Michael
300d53a4f4
Patch from Brian Wang to fix the TRUE/FALSE --> EINA_TRUE/EINA_FALSE mess.
...
(NB: Win32/CE people may need to fix some TRUE/FALSE parts...couldn't test
those).
Thanks Brian :)
SVN revision: 46503
2010-02-26 05:56:49 +00:00
Vincent Torri
4d11d31e3d
* instead of including headers wrt to the OS, include them if
...
they are available
* compilation on Windows XP minimum only
SVN revision: 46338
2010-02-20 19:12:52 +00:00
Vincent Torri
3499767ddb
First steps towards the Windows port of ecore_con.
...
ecore_con_dns will be hard to port (fork+exec).
SVN revision: 46337
2010-02-20 18:01:50 +00:00
Vincent Torri
a4b0afb1e4
* move structures from ecore_private.h to the corresponding source files
...
* add 2 internal ecore_exe functions as ecore_signak.c uses Ecore_Exe members
no test is done in those 2 functions
* remove standard headers from ecore_private.h
SVN revision: 44862
2010-01-03 21:55:50 +00:00
Cedric BAIL
d8e1895350
* ecore: Use eina_log.
...
Patch from Mathieu Taillefumier.
SVN revision: 44637
2009-12-21 17:32:19 +00:00
Cedric BAIL
d78f1d48cf
* ecore_con_url: When download was broken in the middle, you could
...
have a status of 200 without all data being downloaded. This should
fix this case.
SVN revision: 43805
2009-11-19 18:45:51 +00:00
Jonathan Atton
43115643e8
Ecore : cleanup
...
SVN revision: 43691
2009-11-14 14:06:58 +00:00
Jonathan Atton
3f3f79cd88
Ecore : Fix ecore con destroy
...
SVN revision: 43689
2009-11-14 13:43:38 +00:00
Cedric BAIL
bd1bef6e2f
* ecore_con_url: The fd could change for a same url. So destroy it and recreat.
...
SVN revision: 43670
2009-11-13 18:12:09 +00:00
Vincent Torri
ae64144bc5
use static buffer
...
SVN revision: 43510
2009-11-07 07:09:06 +00:00
Vincent Torri
9db696ae0d
strdupa does not exist on BSD. Use simply strdup
...
SVN revision: 43509
2009-11-07 05:58:01 +00:00
Cedric BAIL
eb9bb2f832
* ecore_con_url: Fix bug using curl multi and basename.
...
SVN revision: 43357
2009-10-30 21:36:31 +00:00
Cedric BAIL
2829dfc366
* ecore_con_url: Workaround progress callback called by curl after
...
destruction of the Ecore_Con_Url object.
SVN revision: 43228
2009-10-23 13:33:40 +00:00
Vincent Torri
e005dd2479
* fix compilation when curl is not available
...
* small formatting
SVN revision: 41968
2009-08-25 06:45:35 +00:00
Cedric BAIL
05549684f7
* ecore_con_url: Remove debug.
...
SVN revision: 41954
2009-08-24 13:25:51 +00:00
Cedric BAIL
8d908436c6
* ecore_con_url: Add a way to retrieve request response headers.
...
Patch from Andre Dieb <andre.martins@ee.ufcg.edu.br>.
SVN revision: 41951
2009-08-24 09:41:07 +00:00
Christopher Michael
581556e6d2
Patch from Andre Dieb to remove a debug statement.
...
Fix formatting also.
SVN revision: 41919
2009-08-21 19:47:04 +00:00
Cedric BAIL
09012c96bb
* ecore_con_url: Fix mem leak.
...
SVN revision: 41758
2009-08-14 11:33:33 +00:00
Cedric BAIL
c7f13ac781
* ecore_con_url: Patch from Andre Dieb with a few modification.
...
SVN revision: 41699
2009-08-12 09:47:04 +00:00
Mike Frysinger
5016400f63
fix printf format warnings (int vs size_t) and curl usage warning (curl_easy_getinfo tromps on a pointer to a long, not an int)
...
SVN revision: 40430
2009-04-28 05:26:22 +00:00
Vincent Torri
98fb9f9826
remove trailing spaces
...
SVN revision: 39624
2009-03-22 13:27:24 +00:00
Cedric BAIL
f05eb71b29
* ecore_con_url: Add some constness.
...
SVN revision: 39504
2009-03-16 13:46:16 +00:00
Cedric BAIL
35ca381d4a
* ecore_con_url: Fix little typo and unbreak Ecore_Con_Url.
...
SVN revision: 39359
2009-03-04 10:49:23 +00:00
Cedric BAIL
6978e98dc6
* estickies,
...
* etk,
* PROTO/exalt,
* E-MODULES-EXTRA/diskio,
* E-MODULES-EXTRA/drawer,
* E-MODULES-EXTRA/penguins,
* E-MODULES-EXTRA/slideshow,
* E-MODULES-EXTRA/mail,
* E-MODULES-EXTRA/forecasts,
* E-MODULES-EXTRA/iiirk,
* E-MODULES-EXTRA/places,
* e,
* ewl,
* ecore,
* elitaire,
* entrance,
* e_dbus,
* efreet: Here we go, move from Ecore_List to Eina_List.
NOTE: This patch is huge, I did test it a lot, and I hope nothing is
broken. But if you think something change after this commit, please
contact me ASAP.
SVN revision: 39200
2009-02-25 11:03:47 +00:00
Vincent Torri
e18508b701
remove a bit the mess n ecore. It's just the first patch...
...
* add vim header
* include config.h when necessary
* fix the order of some include
* move the standard header in ecore_private.h to the source files
I have recompiled all the efl and e17, and e17 seems to work fine with these changes.
If you encounter problems with that commit, let me know.
SVN revision: 38864
2009-01-31 18:33:39 +00:00
Cedric BAIL
1fc6d866c2
Only set the struct one time (remove useless memset) and sync idler with animator.
...
SVN revision: 35966
2008-09-12 13:19:26 +00:00
Eric Schuele
d7a634d3da
Fix the real warning this time. (undo my previous change as well)
...
SVN revision: 34929
2008-06-28 03:51:20 +00:00
Eric Schuele
387d29e262
- libgen.h is required on FreeBSD for basename(), and will provide
...
POSIX basename() for those of you using glibc.
- Silence some compiler warnings.
SVN revision: 34926
2008-06-27 16:00:55 +00:00
Sebastian Dransfeld
3d551cfeb8
Add ftp upload function (from Massimiliano Calamelli).
...
SVN revision: 34878
2008-06-20 07:48:33 +00:00
Cedric BAIL
c56d5ba638
Add FTP upload support for Ecore_Con from Massimiliano Calamelli.
...
SVN revision: 34683
2008-05-28 09:02:39 +00:00
Peter Wehrfritz
1bb6fe82e7
compile again with curl
...
SVN revision: 34012
2008-03-13 09:26:24 +00:00
Sebastian Dransfeld
a4ad7cb0eb
Fix compiler warnings.
...
SVN revision: 34009
2008-03-13 06:35:57 +00:00
Carsten Haitzler
2f4173e229
cedrics ecore_cn_url stuff for file downloads
...
SVN revision: 33970
2008-03-09 16:43:32 +00:00
Carsten Haitzler
b9c073d25f
allow programs using ecore_con_url to work and have symbols defined - even if
...
api doesnt do anything useful as curl is disabled.
SVN revision: 33929
2008-03-05 05:15:37 +00:00
Peter Wehrfritz
69c774cbe6
add doxy stubs, so that the function names at least appear in the api references
...
Thanks to mcalamelli
SVN revision: 33731
2008-02-11 23:24:11 +00:00
Sebastian Dransfeld
3a84f04c4f
formatting.
...
SVN revision: 31825
2007-09-26 17:18:52 +00:00
Gustavo Sverzut Barbieri
9acabdd1c5
Ecore_Con fixes and improvements.
...
Bugs:
- data buffer we are receiving must be copied, or we could receive
garbage in the event handler.
- complete event show up before we receive the last data event.
Improvements:
- Use ECORE_MAGIC.
- Status code is no longer curl internal status, but ftp or http return
code (More usefull than CURLE_OK).
- Add a time condition on requested url (see HTTP code 304).
- Add progress events also (should work but not really tested).
- Add data_set/data_get.
Closes bug #217 .
Patch by Cedric BAIL.
SVN revision: 31822
2007-09-26 16:01:04 +00:00
Peter Wehrfritz
cd20fbc9d9
*API BREAK* see the discussion in the mailing list. misc and e_modules will follow
...
SVN revision: 30970
2007-07-25 17:01:04 +00:00
Carsten Haitzler
6e452edfd4
patches applied as per emails :)
...
SVN revision: 28302
2007-02-10 17:23:09 +00:00
Kim Woelders
82a7290a4a
Fix warnings.
...
SVN revision: 27036
2006-11-10 19:11:12 +00:00
Kim Woelders
7c4d58dbdf
Add const, fix warnings.
...
SVN revision: 26976
2006-11-05 16:49:55 +00:00
sebastid
5608f9adcf
Remove double declarations.
...
No need to typedef to void.
SVN revision: 26086
2006-09-24 08:16:02 +00:00