Commit Graph

562 Commits

Author SHA1 Message Date
Carsten Haitzler fc6b50098a deboog more
SVN revision: 23085
2006-06-02 08:02:57 +00:00
Carsten Haitzler 0ea8efe622 still debugging
SVN revision: 23084
2006-06-02 07:56:42 +00:00
Carsten Haitzler 393f3c7708 chasing bugs still
SVN revision: 23082
2006-06-02 07:29:53 +00:00
Carsten Haitzler ff5f8cc24f more safety measures
SVN revision: 23081
2006-06-02 07:24:04 +00:00
Carsten Haitzler 7ee02394bc more fix work
SVN revision: 23080
2006-06-02 07:08:16 +00:00
Carsten Haitzler e7b6d886fd 1. much smaller flush timeouts (0.5 secs)
2. i think i fixed a "events being generated for ecore_con's that were
deleted already" problem :)


SVN revision: 23079
2006-06-02 07:01:49 +00:00
Carsten Haitzler 64e85b9d48 linger -> 0
SVN revision: 22856
2006-05-24 00:45:27 +00:00
Carsten Haitzler 83907c5643 enable linger... set it to 0
SVN revision: 22855
2006-05-24 00:33:20 +00:00
Carsten Haitzler 3a63c7eab6 limit flushiness.
SVN revision: 22726
2006-05-19 03:52:24 +00:00
Carsten Haitzler 99f3565777 reduce linger to... 0 for server
SVN revision: 22221
2006-04-19 07:27:52 +00:00
codewarrior ae3015fef8 ecore_con_server_clients_get
SVN revision: 21597
2006-03-30 06:48:45 +00:00
Carsten Haitzler e8929d7043 add calls to get ip addr of client or server (NULL for created servers of
course) and comments/docs


SVN revision: 21437
2006-03-20 07:45:58 +00:00
Carsten Haitzler 4924cf8ba2 set server/client data to NULL on a delete - as it's already returned it it
should now be NULL and not used.


SVN revision: 21435
2006-03-20 05:59:21 +00:00
Carsten Haitzler b2ecc06e68 defer server and client deletion for con and ipc until all pending events
have been processed.


SVN revision: 21434
2006-03-20 05:53:12 +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 6e54d73898 add max data payload settings to ipc
SVN revision: 21249
2006-03-13 08:50:26 +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
rbdpngn f1bc839522 Revert disown call and force the parent to check if it created the socket
before unlinking it.


SVN revision: 19714
2006-01-11 05:13:23 +00:00
rbdpngn ea0749e88a Allow servers to disown their sockets. Allows for closing after a fork()
without unlinking the socket in the filesystem.


SVN revision: 19636
2006-01-08 07:42:56 +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
Carsten Haitzler 7554f8ee36 actually make symbol hiding work!
SVN revision: 19314
2005-12-27 17:17:31 +00:00
rbdpngn ec44ab043d Delay allocation of SSL library memory until necessary.
SVN revision: 18657
2005-11-27 07:18:36 +00:00
Carsten Haitzler f3e18a0745 fix exmaple and spanky
SVN revision: 16861
2005-09-23 05:46:56 +00:00
sebastid 858d9fecdf Fix init and shutdown.
SVN revision: 16652
2005-09-07 09:06:06 +00:00
sebastid 0613b8d816 Included in ecore_private.h
SVN revision: 16651
2005-09-07 08:59:45 +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 9bc6eb91e4 config.h is included in ecore_private.h
SVN revision: 16626
2005-09-06 23:15:49 +00:00
sebastid d758ca86bb Header cleanup. Don't include unneeded headers in system lib header.
SVN revision: 16550
2005-09-05 10:17:08 +00:00
sebastid 5250fbc7c8 * Difference between user wanting a module, and the possibility of building
a module.
* Only do tests related to a module, if the module is to be built
* use AC_PATH_GENERIC
* Formatting
* Remove som weird AC_SUBST, why were they there?


SVN revision: 16543
2005-09-05 08:40:50 +00:00
sebastid ceb143f80c Delay dns lookup until after initializing the server. If the hostname
is in cache, it will execute the callback without delay.


SVN revision: 16476
2005-09-03 03:07:29 +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
sebastid c2074ba87d Delay initialization of SSL.
SVN revision: 16315
2005-08-24 16:29:06 +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 26e35fe2c5 Check if the server was found.
Formatting.


SVN revision: 16209
2005-08-16 11:26:05 +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
sebastid 2f244acc2e Formatting.
SVN revision: 16192
2005-08-15 23:36:22 +00:00
Kim Woelders b25f5c9e75 Quiet.
SVN revision: 15939
2005-07-29 16:41:05 +00:00
Carsten Haitzler 7c1ced7036 when this moved to ecore_lists... someone forgot that accessing a struct
after u free is is BAD... :)


SVN revision: 15931
2005-07-28 12:44:28 +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
Carsten Haitzler 4eb5ded2ac simons client limiter patch
SVN revision: 14467
2005-04-29 04:51:31 +00:00
Carsten Haitzler 5856cddd6f autopackage ecore...
SVN revision: 13679
2005-03-10 15:19:43 +00:00
Kim Woelders 0d1f32f814 Add missing prototypes, associated cleanups.
SVN revision: 13616
2005-03-04 19:29:39 +00:00
Carsten Haitzler a2a2d0040f format
SVN revision: 13587
2005-03-03 08:54:09 +00:00
Carsten Haitzler de28192bda kwo's ecore cleanup patch
SVN revision: 13559
2005-03-02 07:06:44 +00:00
sebastid a34850b071 Typo.
SVN revision: 13410
2005-02-17 17:15:22 +00:00
Carsten Haitzler feb5571092 hidden symbol support
SVN revision: 12252
2004-11-25 05:18:31 +00:00
Carsten Haitzler 9b891c8217 some iccm
LDFLAGS.


SVN revision: 12128
2004-11-02 04:03:27 +00:00
Carsten Haitzler acfe995563 ok fix some things with SSL and ecore_evas. you ALWYAs have at least the api
to do ssl and al fo ecorE_evas stuff

BUt ecore_* may not be BUILT with that support
so the api stub exists
but it may just return NULL. theres calls to query for support here.


SVN revision: 11957
2004-10-22 03:41:49 +00:00
tsauerbeck f83c81433d mingw portability
SVN revision: 11926
2004-10-20 17:51:29 +00:00
tsauerbeck 63f3874903 better vim modelines for raster code
SVN revision: 11910
2004-10-19 16:50:27 +00:00
ncn fa6db0a70e Ecore_Con module documentation, timer functions cleaned up, Time functions linked into Ecore.h docs.
SVN revision: 11704
2004-09-23 04:58:16 +00:00
ncn 4dc39d4dfa Some restructuring, clean up, grouping, explaining, etc. Getting there...
SVN revision: 11696
2004-09-22 08:17:15 +00:00
Carsten Haitzler 535b7783cb diskcheck!
SVN revision: 10975
2004-07-23 04:57:04 +00:00
ncn b12cfbd710 Spelling fix in ecore.c.in, more docs for src/lib/ecore/ecore_list.c, fix in src/lib/ecore_con/ecore_con.c and new docs for src/lib/ecore_ipc/ecore_ipc.c.
SVN revision: 10962
2004-07-22 13:07:25 +00:00
rbdpngn 7363ea82b1 More documentation patches from Nicholas Curran.
Added a couple includes to fix builds on minimal systems.


SVN revision: 10841
2004-07-15 13:43:15 +00:00
tsauerbeck d6b340b674 try to connect the socket in the write branch of the fd handler, too. this seems to fix a bug where a SERVER_DATA event was delivered before/without a SERVER_ADD event
SVN revision: 10149
2004-05-09 20:23:23 +00:00
tsauerbeck b8edd19b2d don't use our own event_free callback when the default is good enough
SVN revision: 10140
2004-05-09 07:55:40 +00:00
tsauerbeck 4b81b7fdcd don't call SSL_read() resp. SSL_write() until we're connected
SVN revision: 10138
2004-05-08 23:44:56 +00:00
Carsten Haitzler c14dcbb000 more agressive buffering in ecore_con. basically allow the main loop's select
fo the flushing. this si good for ssl! :) also saves on syscalls :)


SVN revision: 9986
2004-05-01 02:25:00 +00:00
Carsten Haitzler ab01bcabdb hey guys! can u rememebr to add yourselves to AUTHORS?
SVN revision: 9978
2004-04-30 03:10:17 +00:00
tsauerbeck fdff6d615c put the read buffer back on the stack
SVN revision: 9899
2004-04-25 15:52:53 +00:00
tsauerbeck 1e0da5fe44 fixed ssl deadlock
SVN revision: 9898
2004-04-25 15:42:57 +00:00
Carsten Haitzler 4b2111867f ipc header compression as part of the protocol. this relies on previosu
header states and does delta's. it seems to give me about 50-70% compression
for the headers - not bad. also solved aligned memory access problem waiting
to happen... :)


SVN revision: 9870
2004-04-23 07:24:40 +00:00
Carsten Haitzler fbbfbfaa84 hmmm - why read_buf is in the struct so each server and client connection
PERMENANTLY uses 64kb of ram until closed? why? trill???? why does ssl need a
malloced buffer and cannot a buffer on the stack?


SVN revision: 9810
2004-04-20 11:40:44 +00:00
Carsten Haitzler 8f1862baf8 oops - kept in dbg
SVN revision: 9809
2004-04-20 09:32:57 +00:00
Carsten Haitzler 9403c932e5 oops - forgot to copy my fix to other side too!
SVN revision: 9808
2004-04-20 09:30:59 +00:00
tsauerbeck e6e0b3a0a4 i guess that's what you meant
SVN revision: 9723
2004-04-14 16:14:24 +00:00
Carsten Haitzler c1344875fa oops. printf left in.
SVN revision: 9721
2004-04-14 09:11:42 +00:00
Carsten Haitzler 38636f3cb1 fix a bug in ecore_ipc - damn.. how could that stay there? :)
and err - clean up some indenting etc...

trill - going to put n SSL server support too (ie ecore can act as SSL server
too) ?


SVN revision: 9720
2004-04-14 08:51:19 +00:00
tsauerbeck aece0e33c2 only call SSL_get_error() if the previous SSL call failed
SVN revision: 9712
2004-04-12 19:29:37 +00:00
Carsten Haitzler fd2532624a ecore_ipc now supports ssl too
SVN revision: 9620
2004-04-06 06:20:39 +00:00
tsauerbeck b2c6507ba0 Oops :)
SVN revision: 9587
2004-04-04 00:15:56 +00:00
tsauerbeck be6aef4797 ssl code fixes
SVN revision: 9585
2004-04-03 15:03:33 +00:00
tsauerbeck b15d59113e Use SSLv2 only at this time, gives much better results. Fixed SSL_write() handling.
SVN revision: 9569
2004-04-02 18:32:55 +00:00
tsauerbeck 34f5a0f58c Don't use #ifdef here
SVN revision: 9554
2004-04-01 16:41:27 +00:00
tsauerbeck e81c2946e8 Fixed a compilation error spotted by RbdPngn
SVN revision: 9553
2004-04-01 16:37:47 +00:00
tsauerbeck b3d3a59b95 Added basic ssl-client support to Ecore_Con
SVN revision: 9535
2004-03-31 16:47:45 +00:00
xcomputerman c5d822bf7b Permit explicit specification of socket path by using an absolute path in the service name.
SVN revision: 9508
2004-03-28 04:25:52 +00:00
Carsten Haitzler 75047789ad slight change in doc comments... get rid of htmlisms...
SVN revision: 9037
2004-02-20 07:06:29 +00:00
Carsten Haitzler f2739b6881 make moves and resizes immediate for ecore_evas - much mroe efficient :)
SVN revision: 8985
2004-02-16 02:26:38 +00:00
tsauerbeck 500ef41c6d init curstate before using it
SVN revision: 8563
2004-01-18 19:13:16 +00:00
rbdpngn dc2fa35658 Minor changes to ecore_config to make it compile on OS X.
SVN revision: 8236
2003-12-31 22:15:33 +00:00
rbdpngn 7f18c669d3 Oops, dereferencing a pointer after it's been freed.
SVN revision: 7918
2003-11-19 23:05:08 +00:00
swielinga 0c0ef02fb4 Fixed a couple of debs in e17/libs, added and updated a couple of .cvsignores.
SVN revision: 7872
2003-11-13 12:30:50 +00:00
Carsten Haitzler 1fdd7a0c0f handle stale sockets gracefully
SVN revision: 7824
2003-11-08 10:45:46 +00:00
rbdpngn d4613c5c70 Include netinet/in.h for connections to be portable to BSD.
Added the atom declarations for the NetWM application window properties.
Created ecore_x_window_prop_string_{set,get}.
Changed ecore_x_window_prop_title_{set,get} to use the new string functions.


SVN revision: 7531
2003-10-11 22:14:22 +00:00
vacuum 64231c6d19 include netinet/in.h so that INADDR_ANY is #defined on FreeBSD
SVN revision: 7506
2003-10-06 15:36:19 +00:00
Carsten Haitzler a5c2425084 damn you salizar! damn you!
errr. i mean. ecore moves to HEAD!


SVN revision: 7475
2003-09-23 08:09:32 +00:00