Commit Graph

139 Commits

Author SHA1 Message Date
Lars Munch 41a0d4dbff Fix client limit when reject excess clients is enabled
SVN revision: 45665
2010-01-28 16:05:34 +00:00
Cedric BAIL 534777a65a * ecore_con: Fix UDP server when receiving both IPv4 and IPV6 packet.
SVN revision: 45663
2010-01-28 15:35:29 +00:00
Vincent Torri d1bdb785b1 fix warnings on opensolaris
SVN revision: 45219
2010-01-16 13:44:25 +00:00
Vincent Torri 7d6a8417e9 bzero is deprecated, use memset instead.
SVN revision: 45173
2010-01-15 07:44:27 +00:00
Sebastian Dransfeld e7acf50935 make clang happy
SVN revision: 45146
2010-01-14 23:47:26 +00:00
Sebastian Dransfeld 8007e73077 Patch from Mathieu Taillefumier
I modified some hearder file in ecore to ease the cleanup of the private
header files in ecore. Each module has now a private header with its own
log color (eina_log related). I also created two private header files
for ecore_sdl and ecore_input for this purpose and corrected some typos
in the xlib_xcb private header file.

SVN revision: 44933
2010-01-07 00:30:05 +00:00
Vincent Torri 35af372ca7 fix some warnings
SVN revision: 44901
2010-01-04 23:43:16 +00:00
Vincent Torri a2506a70f6 * put local code in its own file. It will be better
when i'll add the Windows XP code, rather than
   plenty #ifdef in te code
 * remove some extra EAPI in code and useless Ecore_Data.h

I've tested and it seems to work. If you see problems with
local connections, please report in that thread


SVN revision: 44888
2010-01-04 19:35:21 +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 a8efb6d90d * ecore_con: Fix use of ecore_con_client_data_{get/set} with UDP and
MCAST connexion.

	Note: Please report any problem with Ecore_Con regarding UDP and
	MCAST after this patch.


SVN revision: 44014
2009-11-27 14:36:43 +00:00
Cedric BAIL 1d16f186fb * ecore_con: Add support for TCP_NODELAY.
SVN revision: 43818
2009-11-20 10:58:19 +00:00
Vincent Torri 4072d0b23d * check the returned value of the _init() functions
* simplify a bit the init/shutdown functions


SVN revision: 42995
2009-10-10 05:28:43 +00:00
Cedric BAIL 380cc70ccc * ecore_con: Reduce risk of segv.
SVN revision: 42934
2009-10-07 11:59:26 +00:00
Cedric BAIL b559c260fa * Ecore_Con: Revert r41742.
Note: It's not a good idea to initialize curl, if you just
	want to do some ecore_con network or ipc. Better let them
	initialize separatly.


SVN revision: 41743
2009-08-13 15:42:30 +00:00
Gustavo Sverzut Barbieri 33b9d1b2ed init ecore_con_url.
By: Andre Dieb <andre.martins@ee.ufcg.edu.br>


SVN revision: 41742
2009-08-13 15:26:29 +00:00
Cedric BAIL caf64d8849 * ecore_con: Add broadcast support from Atton Jonathan.
SVN revision: 41701
2009-08-12 11:24:33 +00:00
Gustavo Sverzut Barbieri 96511aeea4 proper cleanup of ecoren_con_server after ecore_events.
ecore_events are asynchronous and can be dispatched after the server
is deleted (ecore_con_server_del()). In this case, server will flag
"delete_me" and avoid doing double-free. When the event is dispatched
and the server is deleted, we still need to free resources and so we
need to call _ecore_con_server_free(). But we cannot do that by means
of ecore_con_server_del() since it will check "delete_me" flag and
will return.

This patch calls _ecore_con_server_free() directly when events are
dispatched and server is deleted. It fixes problems with
forecasts/weather modules exhausting file descriptors, a long standing
issue that bring problems with pam/desklock authentication.

Thanks to manio to point out #305 and testing.


SVN revision: 40490
2009-05-02 20:12:41 +00:00
Vincent Torri 98fb9f9826 remove trailing spaces
SVN revision: 39624
2009-03-22 13:27:24 +00:00
Cedric BAIL f527e4ddee * ecore/src/lib/ecore_con/ecore_con.c: Fix some typo and include.
SVN revision: 39206
2009-02-25 15:03:59 +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
Gustavo Sverzut Barbieri 38240fb825 fix errors reported by gcc.
we must always use the return of eina_list_{append,prepend...}



SVN revision: 38481
2009-01-06 16:30:33 +00:00
Sebastian Dransfeld 48202c24bc Misc cleanup.
- Don't use EAPI for internal functions.
- Add prototypes to header.
- Some compiler warnings.

SVN revision: 38150
2008-12-15 17:59:19 +00:00
Cedric BAIL 642d8686de Remove ecore_hash and eina_hash use from ecore.
SVN revision: 38105
2008-12-11 13:55:47 +00:00
Nicholas Hughart 0b63514546 Some tweaks/fixups for abstract sockets.
SVN revision: 37931
2008-12-05 04:48:12 +00:00
Carsten Haitzler 9cf7c7c3a3 hmm revert this for now - i think it broke efm... i think...
SVN revision: 37879
2008-12-01 11:41:32 +00:00
Carsten Haitzler b8b89cb17e flush should use select with a timeout and try write every 10th of a sec
SVN revision: 37877
2008-12-01 10:13:16 +00:00
Carsten Haitzler 3de2227ec4 stderr-- (just noisy!)
SVN revision: 37426
2008-11-03 00:04:43 +00:00
Cedric BAIL 6d2ca9c036 Add support for GNU TLS in ecore_con.
SVN revision: 37329
2008-10-30 15:26:11 +00:00
Sebastian Dransfeld 97b46f898b Fix sign warning.
SVN revision: 37215
2008-10-27 09:49:25 +00:00
Sebastian Dransfeld f0783945d9 * Declare function ecore_con_info_udp_listen in private header
* Remove unused variables
* Add paranthesis to remove ambiguity

SVN revision: 37157
2008-10-26 16:32:45 +00:00
Cedric BAIL 5015cf3a8d Patch from Shulga Nikita.
SVN revision: 36846
2008-10-20 11:18:58 +00:00
Cedric BAIL 632615fd1f Fix entrance and perhaps exquisite too.
SVN revision: 36545
2008-10-09 12:30:19 +00:00
Carsten Haitzler cad561706f go back to svnrev 36473 for ecore_con - these ipv6 changes broke exquisite on boot - so unix sockets have been compromised somehow in the changes. cannot debug because system is stuck in boot and wont continue. narrowed down break to this change
SVN revision: 36540
2008-10-09 00:46:29 +00:00
Cedric BAIL f3ace08723 More cleanup and export a replacement for ecore_con_dns_lookup.
SVN revision: 36497
2008-10-07 12:41:36 +00:00
Cedric BAIL 2455961732 Fix little macro error spotted by Peter Wehrfritz.
SVN revision: 36495
2008-10-07 12:36:06 +00:00
Cedric BAIL 922509b98d Another step toward IPv6 support with more cleanup.
Patch from Arnaud de Turckheim.


SVN revision: 36483
2008-10-06 16:40:01 +00:00
Cedric BAIL 554ad88eff Starting work for IPv6 support of ecore_con. Use getaddrinfo and getnameinfo instead of gethostbyname.
Patch from Arnaud de Turckheim.



SVN revision: 36475
2008-10-06 09:41:39 +00:00
Cedric BAIL 1cef991ffd Add full UDP client/server support.
Patch from Matt Barclay.



SVN revision: 36474
2008-10-06 09:28:15 +00:00
Vincent Torri 5fb70fd80d add 2 missing _CON_ ...
SVN revision: 36384
2008-10-01 19:51:29 +00:00
Cedric BAIL fb90b057e8 Patch from Quarium. Ecore_Con handle in progress connection with it.
SVN revision: 36380
2008-10-01 15:27:52 +00:00
Sebastian Dransfeld cdb45ce04a Rename REMOTE_SYSTEM to REMOTE_TCP, keep SYSTEM as #define (should be
removed in the future)


SVN revision: 36249
2008-09-25 11:37:01 +00:00
Cedric BAIL 6bbe0efc55 Patch from Matt Barclay that add UDP client support to ecore_con.
SVN revision: 36247
2008-09-25 10:14:31 +00:00
Cedric BAIL 286a19f5e2 Add a test app and switch from SOL_IP to IPPROTO_IP for FreeBSD.
SVN revision: 36087
2008-09-18 15:18:59 +00:00
Cedric BAIL 36fdd93f13 Add multicast support thanks to Matt Barclay <mbarclay@gmail.com>.
SVN revision: 36046
2008-09-17 15:08:48 +00:00
doursse cc0ca9325e integration of evil in ecore. It's compiling on windows and my ubuntu. The commit is big, please report any problem
SVN revision: 34671
2008-05-26 05:16:34 +00:00
Carsten Haitzler e89ea49c8b if port < 0 then drop port number
SVN revision: 33898
2008-03-02 08:39:21 +00:00
Sebastian Dransfeld 0354cd15e9 And remove debugging.
SVN revision: 33771
2008-02-18 06:41:52 +00:00
Sebastian Dransfeld d6b1e0b5a6 formatting
SVN revision: 33769
2008-02-18 06:26:20 +00:00
Mike Frysinger 184812f289 replace a lot of win32 ifdef hacks with autoconf checks
SVN revision: 33616
2008-01-26 05:40:53 +00:00