Commit Graph

42 Commits

Author SHA1 Message Date
Mike Blumenkrantz 161ac501e5 as I promised long, long ago, ecore now has its own asynchronous dns resolver! everyone cheer for not needing c-ares any longer!
dns.c is the work of William Ahern ( and has been in development for ~4 years.
it has zero documentation, no examples, and no comments: I'm pretty sure he's an EFL developer in disguise.

this new resolver is roughly 10-12% faster than c-ares, will never randomly break, requires no external libraries, and is much simpler on the efl side.

by default, dns.c resolution is enabled any time ipv6 support is detected and c-ares support is not requested;
it should work on all platforms (wink wink vtorri), but it has no way of disabling ipv6 (someone can go through dns.c/h and do that if they feel so inclined)

SVN revision: 71690
2012-06-04 21:10:17 +00:00
Vincent Torri f7b7217437 remove ecore_con_dns
SVN revision: 47077
2010-03-09 12:57:38 +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 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
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
Cedric BAIL 429fc4b4f8 * ecore: Remove Ecore_List2 from ecore_con.
SVN revision: 41071
2009-06-17 11:40:30 +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
Vincent Torri 98fb9f9826 remove trailing spaces
SVN revision: 39624
2009-03-22 13:27:24 +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
Michael Jennings c36f11f8ea This should fix the DNS hangs.
SVN revision: 36372
2008-10-01 06:17:50 +00:00
Carsten Haitzler 8c5d095827 from sacial - condition where pipe close doesnt happen.
SVN revision: 36117
2008-09-20 03:20:33 +00:00
Carsten Haitzler c1441e1c3a e:
1. configure/build changes to allow cross-compiling painlessly
2. pager module namespace changes - this was still dirty afdter the namespace
cleanup, so clean it up
3. add a powersave subsystem - doesnt have an "automatic" way to turn on and
off right now, this i think is best provided by modules (that do things like
monitor acpi status's (eg close lid of laptop), AC power status etc. etc.
this allows e to nicely defer "power" expensive actions to avoid disk
spinups etc.
4. move to use the new ecore poller system  - discussed long ago as part of
power management/saving issues. now it exists
5. add a canvas idle flush call that helsp cope with the new shm greedy
software x11 engine stuff
6. use the new powersave subsystem where appropriate
7. fix non-zeroed/initted memory access in e_fm_main
8. fix mem leak for e menus
9. remove ipc handlers for changed/removed config values
10. use animaotr not timer for menu scrolls - then menu scrolls obey the fps
11. fix up timer/poll happienss of cursor idle stuff
12. remove avoid damage from popups for now - causing problems
13. change battery and temp readouts to b e shorter so they fit
14. pager can emit signals on focus change for mini-windows now
15. temperature module now uses a slave process and uses stdin/out to talk to
it and get output - this makes e smoother as in my expereicne i found getting
the temp on my laptop actually took like 200ms so e "hang" for 200ms while
reading the acpi files - so now the subprocess does it and just writesa back
to e when it gets it.

1. add ecore_pollers. see the documentation on them in doxygen comments :)
2. fix timers to only go off when they have to - bug there that made e's
select time out a LOT more than it needed to. defensive coding hid the
problem. now fixed. e should be much more power friendly now.
3. formatting/niceness in ecore_exe stuff
4. some comments on comments with SIGIO ideas vs. select
5. add call to be able to add an idle enterer at the start of the list of
them, not just the end (as has been the default)
6. fix ecore_evas to support auto evas idler calls after 0.5 secs of idle in
all canvases - and to do it right
7. if argb destination - set the shape EVENT shape (to mask out events in
transparent regions much like shape does withotu translucency)
8. in ecore_x add support for the event shape

1. fix cache to work properly and not just always fill up (as it seemed to
like to think cahce useage dropped below 0 when it didnt and thus just
2. software x11 engine now ONLY uses shm segments - no ximages over the
socket. this ximage hack was there to avoid the 2 round trips involved in
setting up an shm image - now i mitigated that wih an shm image cache pool.
it keeps shm images around and repurposes them for new update regions if
appropriate. this means many fewer shm creates (about 1/100th the number) and
since we recycle the memory less 0 memory page filling by the kernel - in the
end, i recorded about a 10-20% speedup over the old software x11 engine.
simple tests i have seen up to 120% speedups. idle flush now does something -
it frees all the cached shm segments. it has a hard-coded limit of 4mb worth
of shm segments (or 32 segments - whichever comes first) to keep around. once
can never complain much about speedups methinks :). also evas will defer sync
until the NEXT frame is written - this means evas can calculate the next
frame of data while x dma's/copies the images to the screen at the same time
(if you hve a dual core or multi-cpu machnike or your xserver is able to use
DMA to copy image data to the screen/video ram then this should see a decent

SVN revision: 33448
2008-01-11 07:33:57 +00:00
Carsten Haitzler 2a5d49866c clean up ecore_con dns query- on shut down nuke all pending queries
SVN revision: 30292
2007-06-10 03:41:05 +00:00
Kim Woelders 7c4d58dbdf Add const, fix warnings.
SVN revision: 26976
2006-11-05 16:49:55 +00:00
sebastid f07a4a166d Add missing '_'.
SVN revision: 24597
2006-08-12 14:38:03 +00:00
Carsten Haitzler 28dff2e36e fd leak in dns lookups! fixed! :)
SVN revision: 23411
2006-06-13 08:59:12 +00:00
Carsten Haitzler d796633973 header not needed
SVN revision: 23410
2006-06-13 08:54:58 +00:00
Carsten Haitzler 6094eecb72 add max data payload settings to ipc
SVN revision: 21250
2006-03-13 08:50:27 +00:00
Carsten Haitzler 1ce159175b exit - without atexit calls
SVN revision: 20392
2006-02-11 07:42:33 +00:00
Carsten Haitzler 370108d580 a bit of work to make dns lookups happen in a forked child - the dns protocol
stuff, though nice and cool, is having problems with multiple listing returns
and more with segv's, so this is the fastest/easiest fix right now - all the
old code is still there.

SVN revision: 19899
2006-01-19 09:11:30 +00:00
sebastid b5d81b7a72 Only run init when count is 1 and shutdown when count is Only run init when count is 1 and shutdown when count is 00
SVN revision: 16650
2005-09-07 08:58:07 +00:00
sebastid ebaf552ccd return initcount on init and shutdown
SVN revision: 16647
2005-09-07 08:30:51 +00:00
sebastid 49fd515a14 Included in ecore_private.h
SVN revision: 16646
2005-09-07 08:24:12 +00:00
sebastid b72979a68e Remove _ from global variables.
SVN revision: 16426
2005-08-30 10:17:10 +00:00
sebastid 19d9aa1452 Move Ecore_Oldlist to Ecore_List2 and rename the funcs from _list_
to _list2_

SVN revision: 16425
2005-08-30 10:05:27 +00:00
sebastid d2d9f29e1a Move data to the first element in the callback. Ecore style.
SVN revision: 16424
2005-08-30 09:32:09 +00:00
sebastid 2f17af26aa Fix cache free.
SVN revision: 16422
2005-08-30 04:50:55 +00:00
sebastid 24d6118b32 Add a small cache.
SVN revision: 16421
2005-08-30 04:35:24 +00:00
sebastid c05660f264 Don't need searchname and hostname stored.
SVN revision: 16344
2005-08-25 15:12:57 +00:00
sebastid 8c3e630528 Don't segv on early error (before malloc).
SVN revision: 16330
2005-08-25 08:16:01 +00:00
tsauerbeck 3cc8008f84 fixed a memleak
SVN revision: 16314
2005-08-24 16:20:12 +00:00
sebastid e9dfdea2e9 Change ecore_con_dns_gethostbyname() to ecore_con_dns_lookup()
SVN revision: 16307
2005-08-24 09:11:30 +00:00
sebastid e90fd32b80 Big update.
Understand CNAME, get the right hostname and aliases and get all IP's.

SVN revision: 16303
2005-08-24 02:24:25 +00:00
sebastid 509d18c822 TODO++
SVN revision: 16281
2005-08-22 14:03:16 +00:00
stffrdhrn ad9a2cdc13 A wise man once said 'There is no need to display warnings about syntax one didn't create and may not fully support'. I otherword, don't complain about anything we don't recongnise.
SVN revision: 16278
2005-08-22 13:33:41 +00:00
stffrdhrn 6a13fae932 skip # as well
SVN revision: 16277
2005-08-22 13:08:20 +00:00
stffrdhrn 6b56f53ea9 dont complain about comments in resolv.conf
SVN revision: 16257
2005-08-21 15:46:57 +00:00
rbdpngn 1cceb03000 Fix build on OS X, holler if this causes Linux issues.
SVN revision: 16222
2005-08-17 06:23:58 +00:00
sebastid 3682e40ecc search domain and search
remove problem in kill_server, didn't check if the fd_handler was NULL
Don't recreate the message for each server.

SVN revision: 16210
2005-08-16 13:15:24 +00:00
sebastid 4a68032422 More checking.
SVN revision: 16208
2005-08-16 10:48:46 +00:00
sebastid 8db857be0d non-blocking gethostbyname
SVN revision: 16203
2005-08-16 09:25:02 +00:00