Commit Graph

42 Commits

Author SHA1 Message Date
Mike Blumenkrantz 0099b08234 introducinggggggggggggggg <drum roll>:
ECORE-CON-SOCKS! SOCKS ON!!!!

now ecore_con supports socks (v4 and v4a only, so no ipv6) connections natively for making remote connections
for those of you who want their apps to start proxying immediately, just update and export this handy environment variable:
ECORE_CON_SOCKS_V4=[user@]PROXY_IP_ADDRESS:PROXY_PORT[:1] <--use :1 here to enable dns lookups on the proxy


SVN revision: 65934
2011-12-06 03:32:16 +00:00
Vincent Torri bc17a43384 Ecore: fix warning: 'struct in_addr' declared inside parameter list on OpenBSD
Patch by Fabien Romano from OpenBSD


SVN revision: 65210
2011-11-14 22:25:07 +00:00
Mike Blumenkrantz e957cb9c40 patch from Martin Jansa <Martin.Jansa@gmail.com> to fix uclibc build.
this is yet another round of spankies for kakoroto


SVN revision: 64505
2011-10-29 07:03:20 +00:00
Vincent Torri 504f11eff5 shadow var--
SVN revision: 59032
2011-04-29 07:39:28 +00:00
Mike Blumenkrantz daafddb571 implement full event-driven error messaging api for all non-curl ecore_con
docs are in the header, happy birthday cedric


SVN revision: 56894
2011-02-10 08:49:23 +00:00
Carsten Haitzler dca85251b0 dns async lookup fix - if u del svr before dns lookup done
SVN revision: 56254
2011-01-21 10:01:04 +00:00
Carsten Haitzler 9f51fd635d warning--
SVN revision: 56185
2011-01-16 08:10:50 +00:00
Mike Blumenkrantz 13c0840cd2 avoid passing NULL to memcpy
SVN revision: 56083
2011-01-14 02:35:59 +00:00
Mike Blumenkrantz dac94cd03a if alloca fails you're screwed anyway, so not much point checking for it
SVN revision: 56082
2011-01-14 02:32:45 +00:00
Mike McCormack c9b693655c From: Mike McCormack <mj.mccormack@samsung.com>
Subject: [E-devel] [PATCH 3/4] ecore_con: Always close fd after remove
fdh from main loop



SVN revision: 55571
2010-12-16 04:39:38 +00:00
Mike Blumenkrantz ddd151bf37 reformat using ecrustify because uncrustify dicked it up previously
SVN revision: 54128
2010-11-03 17:58:37 +00:00
Vincent Torri 3fd0a6fb08 remove whitespaces
SVN revision: 52569
2010-09-22 08:03:38 +00:00
Carsten Haitzler 0abc6703ba warning--
SVN revision: 52456
2010-09-19 03:28:18 +00:00
Lucas De Marchi 0a4617ae38 FORMATTING
* Remove vim modelines:
 find . -name '*.[chx]' -exec sed -i '/\/\*$/ {N;N;/ \* vim:ts/d}' \{\} \;
 find . -name '*.[chx]' -exec sed -i '/\/[\*\/] *vim:/d' \{\} \;

* Remove leading blank lines:
 find . -name '*.[cxh]' -exec sed -i '/./,$!d'

If you use vim, use this in your .vimrc:
set ts=8 sw=3 sts=8 expandtab cino=>5n-3f0^-2{2(0W1st0



SVN revision: 50816
2010-08-04 16:57:32 +00:00
Carsten Haitzler 0b3b437823 close after del fd handler
SVN revision: 50667
2010-07-30 02:42:17 +00:00
Carsten Haitzler e3d14a1032 formatting ewwww
SVN revision: 50665
2010-07-30 00:35:57 +00:00
Carsten Haitzler 9c3ea35501 fix valgrind unittied buffer bitches
SVN revision: 50664
2010-07-30 00:27:02 +00:00
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
Cedric BAIL fbe9064310 * ecore: Ecore callback really should return Eina_Bool.
SVN revision: 49829
2010-06-24 16:15:56 +00:00
Gustavo Sverzut Barbieri dba2a95572 warnings--
Ecore now goes clean on -Wall -Wextra :-)



SVN revision: 46672
2010-02-28 23:27:47 +00:00
Vincent Torri 89594ec456 fix declaration of struct addrinfo
SVN revision: 46434
2010-02-24 17:52:54 +00:00
Boris Faure fc415b4776 fix ecore_con on posix systems
SVN revision: 45866
2010-02-04 10:34:08 +00:00
Vincent Torri 000b539623 do not do arithmetic pointer on void
SVN revision: 45220
2010-01-16 13:50:57 +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
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
Sebastian Dransfeld 0a9456ccf7 Remove duplication from ecore headers
Clean up Ecore.h and ecore_private.h

SVN revision: 44664
2009-12-22 21:15:12 +00:00
Vincent Torri 76983ea8f4 declare alloca
SVN revision: 44181
2009-12-04 08:55:46 +00:00
Cedric BAIL 2a3171f914 * ecore_con_info: Reduce malloc and memset.
SVN revision: 44050
2009-11-30 12:25:02 +00:00
Cedric BAIL 429fc4b4f8 * ecore: Remove Ecore_List2 from ecore_con.
SVN revision: 41071
2009-06-17 11:40:30 +00:00
Gustavo Sverzut Barbieri 4fd5d0c794 free getaddrinfo() results and avoid leaks in ecore_con.
This was affecting ecore_con users, specially modules that keep
polling the network, like forecasts or weather.

patch by manio, see bug #305.


SVN revision: 40488
2009-05-02 19:02:09 +00:00
Vincent Torri 36bbb31389 Fix compilation on OpenBSD (ticket #252). Patch by eumel
SVN revision: 39625
2009-03-22 13:30:52 +00:00
Cedric BAIL 488d1beafd * ecore_con_info: Fix typo preventing dns resolution,
fix error handling and use eina in one more place.


SVN revision: 39265
2009-02-27 14:53:57 +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 f3252b5b6e Fix a little typo.
SVN revision: 36989
2008-10-22 15:46:20 +00:00
Cedric BAIL 9ff9555cc7 Make IPv6 work.
Patch from Arnaud de Turckheim.


SVN revision: 36612
2008-10-13 11:24:52 +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 5f3c76b84a Correctly use addrinfo.
SVN revision: 36526
2008-10-08 13:31:09 +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 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