Commit Graph

25 Commits

Author SHA1 Message Date
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
Mike Frysinger f91bf649a7 make sure _ecore_con_url_data_cb is declared static in both places (prototype and definition) as reported by Vladimir Lushnikov via e-mail
SVN revision: 19632
2006-01-08 02:37:50 +00:00
Carsten Haitzler 12aa35dd99 fix up some warnings
SVN revision: 19563
2006-01-06 17:58:12 +00:00
sebastid 9bc6eb91e4 config.h is included in ecore_private.h
SVN revision: 16626
2005-09-06 23:15:49 +00:00
sebastid ee61e32cbd curlm must exist for this function to work, so remove the test.
Only and active Ecore_Con_Url is registered with curlm.


SVN revision: 15528
2005-06-24 15:01:59 +00:00
sebastid d233c9ca43 Set fd_handler to NULL after deletion.
SVN revision: 15527
2005-06-24 14:47:51 +00:00
sebastid d7317dfe80 indent
Check if the lib is inited before allowing ecore_con_url_new. Then we
don't need to check if the global variables are set.


SVN revision: 15526
2005-06-24 14:39:25 +00:00
sebastid 54caa33ce3 Free allocated memory on error.
Set pointer to NULL after free.


SVN revision: 15525
2005-06-24 14:31:51 +00:00
sebastid c6954d8592 Only increment init if init succeded.
Always free mem if init fails.


SVN revision: 15524
2005-06-24 14:26:01 +00:00
bangersnmash74 678cc6d50a Generic ecore_con_url implementation based on CURL
SVN revision: 15523
2005-06-24 13:38:27 +00:00