Commit Graph

35 Commits

Author SHA1 Message Date
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
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