Mike Blumenkrantz
c5b6b33530
avoid undefined array access
...
SVN revision: 56086
2011-01-14 03:11:00 +00:00
Mike Blumenkrantz
fe6de9181b
remove redundant line
...
SVN revision: 56085
2011-01-14 02:57:52 +00:00
Mike Blumenkrantz
6a9d1ed0c8
avoid null deref
...
SVN revision: 56084
2011-01-14 02:57:07 +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 Blumenkrantz
86b9bc8479
avoid passing NULL to exec functions
...
SVN revision: 56081
2011-01-14 02:25:55 +00:00
Carsten Haitzler
5844d77a0a
geez! i used the wrong atom for pixmap prop! fix fix fix! it worked
...
only because copy and paste had get AND set use the same atom!
SVN revision: 56041
2011-01-11 06:14:04 +00:00
Mike Blumenkrantz
3ed55a28d8
null variables at start
...
SVN revision: 56031
2011-01-11 00:51:23 +00:00
Mike Blumenkrantz
86daaaaa3d
handle ares timeout more gracefully
...
SVN revision: 56025
2011-01-10 14:41:34 +00:00
Carsten Haitzler
6502ea96ea
hve to revert these commits. they hve created a whole chunk of 64bit
...
crashes on linux. this is REALLY bad. so remove these changes now.
SVN revision: 55981
2011-01-07 15:56:54 +00:00
Vincent Torri
7a078d0c76
use configure-time headers checks instead of compiler ones
...
SVN revision: 55975
2011-01-07 08:51:17 +00:00
Vincent Torri
bd6ce4a5e4
whitespace--
...
SVN revision: 55974
2011-01-07 08:18:19 +00:00
Mike Blumenkrantz
989a3f0693
avoid closing stdout (fd0)
...
SVN revision: 55959
2011-01-06 22:35:31 +00:00
Mike Blumenkrantz
828dce5677
complete rewrite of c-ares fd handling: fixes an instance of ticket #637 and also integrates with main loop much more nicely
...
SVN revision: 55958
2011-01-06 22:32:25 +00:00
Vincent Torri
89b5e3fa75
Windows CE clean up
...
SVN revision: 55955
2011-01-06 19:35:51 +00:00
Vincent Torri
658a9a8c05
AC_SYS_LARGEFILE defines _FILE_OFFSET_BITS
...
SVN revision: 55943
2011-01-06 18:39:55 +00:00
Eduardo de Barros Lima
adff898079
Add basic cookie support to Ecore_Con_Url.
...
This commit adds some simple wrapper functions for libcurl
cookie-related code to Ecore_Con_Url.
It is now possible to enable the cookie engine, clear cookies and
dump/load them from files.
Cookies in both HTTP header-style and cookie-jar are supported.
Patch by Raphael Kubo da Costa <kubo@profusion.mobi>
SVN revision: 55934
2011-01-06 16:10:38 +00:00
Carsten Haitzler
b60120b26b
ok rafael/rui - i've deprecated send and made a get and post call that
...
will explicitly do a get or a post. send is still there (deprecated)
and it just does what it did before - it guesses effectively. please
comment. :)
SVN revision: 55926
2011-01-06 06:33:25 +00:00
Mike Blumenkrantz
5c041c8421
remove dummy close() calls
...
SVN revision: 55924
2011-01-06 04:00:39 +00:00
Vincent Torri
27dddc444b
order of .la (cosmetic)
...
SVN revision: 55843
2011-01-04 12:49:17 +00:00
Mike Blumenkrantz
cde9f435f7
some updates to ecore_fd_valid: add dummy closes to track with strace (sup k-s) and switch sleep() to pause()
...
SVN revision: 55838
2011-01-04 06:58:34 +00:00
Carsten Haitzler
e8056f8f83
just in case - check if malloc fails.
...
SVN revision: 55837
2011-01-04 06:10:31 +00:00
Carsten Haitzler
039fe1e4bf
wtf? why a ! ... ??? that was wrong-ish.
...
SVN revision: 55802
2011-01-03 01:29:37 +00:00
Mike Blumenkrantz
677b5d0c73
this adds a small helper function for use in finding cases where the epoll fd gets deleted and calls it after each fdh function
...
if epoll support is not enabled, the function does nothing
this will be removed prior to actual release, but will be very useful in finding the last epoll bugs until then
SVN revision: 55791
2011-01-01 03:07:58 +00:00
Carsten Haitzler
1046621d6a
and we were missing vsync set support in ecore-evas, but had indirect
...
support. fix.
SVN revision: 55755
2010-12-26 10:17:31 +00:00
Mike McCormack
27c7fdcc2e
From: Mike McCormack <mj.mccormack@samsung.com>
...
Date: Mon, 20 Dec 2010 17:47:19 +0900
Subject: [PATCH] Deleting the same fdh twice is an error
SVN revision: 55676
2010-12-20 22:52:41 +00:00
Carsten Haitzler
2f564887ec
formatting
...
SVN revision: 55624
2010-12-18 01:47:29 +00:00
Sebastian Dransfeld
df817afd9a
only check errno if num < 0
...
SVN revision: 55611
2010-12-17 12:09:14 +00:00
Mike Blumenkrantz
14751dc4a1
add notes to prevent future breaking of ecore_con_ssl
...
SVN revision: 55606
2010-12-17 09:02:44 +00:00
Sebastian Dransfeld
3ce611e057
formatting
...
SVN revision: 55605
2010-12-17 08:48:36 +00:00
Sebastian Dransfeld
a8780986e8
don't accept 0 return
...
SVN revision: 55604
2010-12-17 08:44:53 +00:00
Sebastian Dransfeld
9a6b8adfec
only emit ECORE_CON_EVENT_SERVER_DATA when data
...
SVN revision: 55602
2010-12-17 08:15:52 +00:00
Cedric BAIL
ae9917c9f2
* ecore: SPANK ! SPANK ! SPANK !
...
The value of errno is only know when the result of a syscall
tell you to look at it. And don't set errno, that's a bad idea !
SVN revision: 55594
2010-12-16 13:16:40 +00:00
Cedric BAIL
8a4ad8c102
* ecore: fix obvious bug. But Ecore_Con with UDP session is
...
completly broken and no time to fix it.
Try elixir sample code:
http://code.google.com/p/freebox-elixir/source/browse/#svn%2Ftrunk%2Fexemples%2Fecore_con_udp
SVN revision: 55593
2010-12-16 13:08:49 +00:00
Carsten Haitzler
d19ff43b6e
if data is NULL for curl... make postfieldsize 0.
...
SVN revision: 55583
2010-12-16 08:35:29 +00:00
Carsten Haitzler
daafe9ee79
no - dont do http:// - then englebass is right need to do ftp://,
...
imap:// file:// .... the list never ends. the docs do explicitly say
its a hostname, NOT a url.
SVN revision: 55580
2010-12-16 08:07:10 +00:00
Mike Blumenkrantz
5af9081342
finally fix stupid ssl read bug for long transfers! also added a couple more error checks and reordered things to read a little better
...
SVN revision: 55577
2010-12-16 07:43:48 +00:00
Mike Blumenkrantz
913852ba34
validate name better, fix super frustrating bug where connections would inexplicably die if prefixed with http[s]://
...
SVN revision: 55573
2010-12-16 05:13:29 +00:00
Mike McCormack
7f5c026041
From: Mike McCormack <mj.mccormack@samsung.com>
...
Subject: [E-devel] [PATCH 4/4] ecore_fb: Zero is a valid fd value
SVN revision: 55572
2010-12-16 04:40:14 +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 McCormack
bdf1b4b330
From: Mike McCormack <mj.mccormack@samsung.com>
...
Subject: [E-devel] [PATCH 1/4] ecore_con: Always close fd after remove
fdh from main loop
SVN revision: 55570
2010-12-16 04:38:37 +00:00
Rui Seabra
5315577722
http auth was implemented way back in r48715 (one less item in FIXMEs).
...
SVN revision: 55557
2010-12-14 22:30:53 +00:00
Carsten Haitzler
a9028c4d63
discomfitor... SPANK! REVERT REVERT REVERT! i've been sitting in a
...
text console for a while because of this. and when dr. evil sits in a
text console for a while... he gets angry. when dr. evil gets angry,
mr. bigglesworth gets upset... and when mr. migglesworth gets upset...
PEOPLE DIE!
/me aims some sharks with laser beams @ discomfitor
(run e17 under valgrind. find out).
SVN revision: 55531
2010-12-13 07:26:21 +00:00
Vincent Torri
22d572c56a
fix potential problem with Windows 64 bits API.
...
SVN revision: 55528
2010-12-12 23:09:24 +00:00
Vincent Torri
202d5b65f4
use '#pragma message' instead of '#warning' when vc++ is used
...
SVN revision: 55527
2010-12-12 22:49:01 +00:00
Vincent Torri
27a9f2f86e
declare variables at the beginning of the block
...
SVN revision: 55526
2010-12-12 22:46:39 +00:00
Mike Blumenkrantz
75fee3c938
forgot a null check
...
SVN revision: 55522
2010-12-12 20:38:27 +00:00
Vincent Torri
b467360e80
change the size of the buffer
...
SVN revision: 55519
2010-12-12 18:09:35 +00:00
Mike Blumenkrantz
dd8fe515a3
fix usage of ecore_con functions to avoid magic failures: SOMEONE WHO KNOWS THIS CODE PLEASE DOUBLE CHECK FAILURE CASE RETURN VALUES
...
SVN revision: 55512
2010-12-12 14:41:04 +00:00
Mike Blumenkrantz
ee1d0dbc23
use more explicit error checks
...
SVN revision: 55498
2010-12-11 16:51:29 +00:00
Mike Blumenkrantz
9b17481f53
handle ARES_ECONNREFUSED
...
SVN revision: 55473
2010-12-11 00:25:46 +00:00
Vincent Torri
62ed318282
[ecore_win32] Better move and resize of windows. Needs a lot of love though
...
SVN revision: 55470
2010-12-10 21:15:05 +00:00
Mike Blumenkrantz
e17077e3f4
avoid writing <= 0 bytes to clients
...
SVN revision: 55433
2010-12-09 21:04:22 +00:00
Mike Blumenkrantz
4912e6dc4f
this error fix is dedicated to Tommy[D] for continuing to prove that the impossible can still be possible on his system
...
SVN revision: 55432
2010-12-09 21:02:53 +00:00
Mike Blumenkrantz
4440764c78
reorder a little, fix bug where client_del event was never sent if it had send data in its buffer
...
question to think on: should a deleted client be allowed to finish sending its data or should it be killed immediately?
SVN revision: 55391
2010-12-09 06:43:58 +00:00
Mike Blumenkrantz
3b86fed32f
avoid loooooooooooooots of ecore spankies
...
SVN revision: 55390
2010-12-09 06:16:13 +00:00
Mike Blumenkrantz
0c1efd9afd
handle ARES_ENODATA more gracefully
...
SVN revision: 55371
2010-12-08 14:00:37 +00:00
Carsten Haitzler
a332eaa36b
and break api in ecore_input_evas - not used anyway except within
...
ecore. the api didn't allow for rotation of multitouch input. need to
fix. done.
SVN revision: 55367
2010-12-08 03:25:23 +00:00
Carsten Haitzler
b148711260
formatting!
...
SVN revision: 55348
2010-12-07 08:38:07 +00:00
Mike Blumenkrantz
d15d81161f
avoid magic fail on already-freed handler
...
SVN revision: 55280
2010-12-05 07:30:17 +00:00
Cedric BAIL
692f308955
* ecore: fix build on Mac OS X.
...
SVN revision: 55221
2010-12-03 18:40:30 +00:00
Mike Blumenkrantz
55d73aee65
aha! found the leak and eliminated it!
...
SVN revision: 55176
2010-12-03 06:14:30 +00:00
Mike Blumenkrantz
b26182d35b
avoid segv
...
SVN revision: 55118
2010-12-01 10:33:07 +00:00
Mike Blumenkrantz
0fdba352ba
avoid segv
...
SVN revision: 55117
2010-12-01 10:31:20 +00:00
Mike Blumenkrantz
88ca4717d1
formatting cleanups
...
SVN revision: 55109
2010-12-01 04:42:29 +00:00
Mike Blumenkrantz
cd14e2ac6e
copypastecopypaste
...
SVN revision: 55108
2010-12-01 03:45:22 +00:00
Carsten Haitzler
a0f2602c29
compacter code.
...
SVN revision: 55107
2010-12-01 03:31:55 +00:00
Mike Blumenkrantz
1d759c88d1
only enable extensive ssl logging with compile define set to avoid massive slowdown
...
SVN revision: 55106
2010-12-01 03:19:28 +00:00
Carsten Haitzler
5a07bfe911
u know.. eina_list_free.. returns... NULL :)
...
SVN revision: 55105
2010-12-01 03:13:29 +00:00
Mike Blumenkrantz
98b7017026
remove redundant check
...
SVN revision: 55104
2010-12-01 03:02:03 +00:00
Mike Blumenkrantz
627b5343b8
type this as EB for correctness because I'm feeling pedantic
...
SVN revision: 55103
2010-12-01 02:44:20 +00:00
Mike Blumenkrantz
6941e966be
switch to EINA_BOOL values for delete_me, fix huge O(n) behavior in _ecore_main_fd_handlers_call; all fd operations now should see an exponential speed increase based on the number of fds that ecore is watching
...
SVN revision: 55102
2010-12-01 02:34:48 +00:00
Mike Blumenkrantz
63e11e2d82
use EINA_(TRUE/FALSE) instead of 1/0
...
SVN revision: 55101
2010-12-01 01:17:45 +00:00
Carsten Haitzler
5c3b45bf65
so... why.. do.. we .. not init.. all? :) how do we expect https and
...
friends to work... if we dont want them initted :)
SVN revision: 55079
2010-11-30 09:39:23 +00:00
Mike Blumenkrantz
99fa106e8e
null pointer to avoid partial free in rare cases
...
SVN revision: 55046
2010-11-29 00:13:52 +00:00
Mike Blumenkrantz
3c05a283b6
fix weird bug where fdh in a list could become null
...
SVN revision: 55044
2010-11-28 22:03:07 +00:00
Mike Blumenkrantz
fd44ecf46c
fix annoying printfs that should be ERRs
...
SVN revision: 55043
2010-11-28 21:51:07 +00:00
Vincent Torri
a3ffd27636
remove win7 code and fix other minor problems
...
SVN revision: 55023
2010-11-26 18:41:43 +00:00
Vincent Torri
95f36c0e18
more fixes, but needs to remove Windows 7 code, now...
...
SVN revision: 55019
2010-11-26 15:34:30 +00:00
Vincent Torri
6b4b7bc42d
add native win32 thread support in ecore_thread. Not tested a lot at all.
...
SVN revision: 55014
2010-11-26 13:50:31 +00:00
Vincent Torri
883850c5ec
on Windows, "C:" is not a directory, but a drive.
...
SVN revision: 55013
2010-11-26 13:47:51 +00:00
Vincent Torri
a636dab74d
declare alloca()
...
SVN revision: 55003
2010-11-26 08:06:19 +00:00
Sebastian Dransfeld
71b3b7f19b
TODO++
...
SVN revision: 54996
2010-11-25 19:08:08 +00:00
Sebastian Dransfeld
cfe7ae6528
listen for IN_ATTRIB and IN_CLOSE_WRITE
...
use IN_ATTRIB|IN_CLOSE_WRITE instead of IN_MODIFY. Now we get changes if
attributes change, and only event when a user closes a changed file.
IN_MODIFY will trigger an event each time a write is flush'ed.
SVN revision: 54961
2010-11-24 21:15:52 +00:00
Sebastian Dransfeld
d09a0965c5
print buf, not file
...
SVN revision: 54960
2010-11-24 21:15:36 +00:00
Sebastian Dransfeld
58fe7c7261
print all inotify events
...
SVN revision: 54959
2010-11-24 21:15:20 +00:00
Sebastian Dransfeld
9b4886777f
right func to check for dir
...
SVN revision: 54958
2010-11-24 21:15:04 +00:00
Vincent Torri
ba3c69df53
fix mouse event on Win XP, should be fixed on Win CE
...
SVN revision: 54938
2010-11-24 17:04:03 +00:00
Cedric BAIL
90b57c2ed0
* ecore: improve speed by reusing pipe and allocated structure.
...
SVN revision: 54896
2010-11-23 18:32:17 +00:00
Cedric BAIL
6f5333d336
* ecore: small cleanup.
...
SVN revision: 54893
2010-11-23 16:52:18 +00:00
Mike Blumenkrantz
6bed064f60
revert this for crankypants
...
SVN revision: 54888
2010-11-23 14:46:12 +00:00
Mike Blumenkrantz
24703f1433
I'm tired of you, ecore_getopt. now you get the hammer.
...
SVN revision: 54863
2010-11-23 11:10:41 +00:00
Mike Blumenkrantz
a1c347ecd5
more correctly fix no-option parsing to still parse when no non-arg options are found
...
SVN revision: 54862
2010-11-23 10:56:50 +00:00
Mike Blumenkrantz
c6732ad9cc
fix bug where getopt_parse returns argc as the first nonopt argument when there are no nonopt arguments
...
SVN revision: 54861
2010-11-23 10:36:15 +00:00
Mike Blumenkrantz
4a3a740a3a
fix bug where getopt_parse returns 1 when there are no args
...
SVN revision: 54860
2010-11-23 10:25:58 +00:00
Sebastian Dransfeld
d959bab700
Only remove from existing list
...
SVN revision: 54830
2010-11-22 20:51:20 +00:00
Gustavo Sverzut Barbieri
dd19bf1205
fix screensaver events, /me spanks raster (r53942)
...
SVN revision: 54791
2010-11-22 14:27:43 +00:00
Mike Blumenkrantz
ceec64fa76
to fix the bug that morlenxus found, I have crashed my own computer.
...
this commit fixes a rare case where a fdh can be in the delete list twice, causing a double free
SVN revision: 54702
2010-11-18 19:56:26 +00:00
Mike Blumenkrantz
12c4b5b595
fix annoying uninitialized value warning
...
SVN revision: 54699
2010-11-18 18:45:39 +00:00
Mike Blumenkrantz
080d4c8d35
remove the last (I think?) O(n) operation from ecore fd handling
...
SVN revision: 54669
2010-11-18 07:23:14 +00:00
Cedric BAIL
c381181854
* ecore: revert comment.
...
This code is here to prevent the premature death of thread when
apps killall of them, before recreating them again. This avoid
call to pthread_create and increase throughput. The only information
that I couldn't determine pragmatically is the timing. So that's
the time the main loop has to create another Ecore_Thread, before
needing to call pthread_create again.
SVN revision: 54633
2010-11-17 16:26:08 +00:00
Cedric BAIL
e2ea02acfa
* ecore: fix event_window for Ecore_SDL.
...
SVN revision: 54630
2010-11-17 13:53:04 +00:00
Mike Blumenkrantz
24c0ebda74
fix error handling of plaintext connect, print ERR on connect failure
...
SVN revision: 54624
2010-11-17 09:31:15 +00:00
Mike Blumenkrantz
a84f3febac
fix list removal for prep/buf functions to avoid annoying eina warnings
...
SVN revision: 54620
2010-11-17 06:57:29 +00:00
Mike Blumenkrantz
1fc9591c57
scaling optimizations round 2: add list for fd handler buffer functions
...
also delete fdhs from prep/buf lists on cleanups when possible
SVN revision: 54619
2010-11-17 06:50:52 +00:00
Mike Blumenkrantz
8edaf11298
clean up unused warnings
...
SVN revision: 54618
2010-11-17 06:41:41 +00:00
Mike Blumenkrantz
d9882a6c00
add doxy for ecore_main_fd_handler_prepare_callback_set, add massive optimization for fd handler scaling (only noticeable with 10000+ fd handlers) to only attempt running prep functions for handlers which have them
...
SVN revision: 54617
2010-11-17 06:24:49 +00:00
Mike Blumenkrantz
2747a8a86b
optimization pass #1 : 5% server speed increase
...
only get client ip addr when ecore_con_client_ip_get() is called, always stringshare ip addresses
SVN revision: 54612
2010-11-16 21:32:50 +00:00
Cedric BAIL
4fc861fe81
* ecore: raise gl_sdl priority over software_sdl.
...
SVN revision: 54595
2010-11-16 15:38:22 +00:00
Carsten Haitzler
a27ab1e696
see comment.
...
SVN revision: 54549
2010-11-14 09:00:24 +00:00
Mike Blumenkrantz
a32b3d4c8a
revert bitfielding of a bool to avoid possible abi break
...
SVN revision: 54530
2010-11-13 12:25:45 +00:00
Mike Blumenkrantz
858c38a922
unsigned char -> Eina_Bool cleanups; these files are in great need of documentation! if you know the code, please write help!
...
SVN revision: 54529
2010-11-13 12:01:55 +00:00
Mike Blumenkrantz
55da81c2ef
should be bool since we already include eina
...
SVN revision: 54521
2010-11-12 18:37:27 +00:00
Cedric BAIL
e61f8560ea
* ecore: break Ecore_Thread API once and for all to make it consistent.
...
SVN revision: 54502
2010-11-12 13:28:19 +00:00
Mike Blumenkrantz
cc01698872
avoid looping infinitely while freeing servers, and don't log while freeing servers in case ecore_con's log domain has already been unregistered
...
SVN revision: 54479
2010-11-11 20:34:35 +00:00
Mike Blumenkrantz
3552a91b7d
only free clients that aren't waiting on events to free them to prevent a segv
...
SVN revision: 54478
2010-11-11 20:20:44 +00:00
Mike Blumenkrantz
c24c33cb54
fix bug where server disconnect event was not emitted, only set magic to none on clients/servers after final event has been emitted, and only null the data pointer at this point as well
...
SVN revision: 54476
2010-11-11 19:53:21 +00:00
Cedric BAIL
272a92e8f3
* ecore: fix mouse wheel for frame buffer.
...
Patch by Eduardo Felipe <eduardofelipe87@gmail.com>.
SVN revision: 54471
2010-11-11 18:45:16 +00:00
Miculcy Brian
f2c33e9bc0
Fix _ecore_file_path_from_env(), wrong strcpy source.
...
SVN revision: 54366
2010-11-09 14:09:16 +00:00
Iván Briano
da9f3a357e
ffs, bring these back in
...
SVN revision: 54325
2010-11-08 13:29:18 +00:00
Vincent Torri
48d416b359
Killer feature: Windows app can have icons, now.
...
The doc explains everything.
SVN revision: 54283
2010-11-07 20:29:08 +00:00
Mike Blumenkrantz
f334d907ae
robustify ssl handshaking by catching extremely rare cases when the session has been deleted between handshake calls usually caused by thousands of concurrent sessions. yes, I'm benchmarking.
...
SVN revision: 54269
2010-11-07 05:36:40 +00:00
Vincent Torri
c3530cb768
fix doc
...
SVN revision: 54252
2010-11-06 23:04:33 +00:00
Mike Blumenkrantz
d8ab13a85f
I got overexcited
...
SVN revision: 54242
2010-11-06 17:54:01 +00:00
Mike Blumenkrantz
b6acfbffc9
add ecore_con strings
...
SVN revision: 54241
2010-11-06 17:06:56 +00:00
Mike Blumenkrantz
76bdd30da0
add magic strings for ecore_con
...
SVN revision: 54240
2010-11-06 17:04:09 +00:00
Carsten Haitzler
75abb8f8a3
fix - don't call new event handler added for the SAMe event. defer
...
adding in a list and handle after all current ahndlers for the event
have been called.
SVN revision: 54212
2010-11-06 03:11:17 +00:00
Mike Blumenkrantz
fc6657453d
typo fix
...
SVN revision: 54211
2010-11-06 02:59:11 +00:00
Mike Blumenkrantz
8a87f08107
delete servers on 0
...
SVN revision: 54209
2010-11-06 01:57:45 +00:00
Sebastian Dransfeld
8706b49355
Check events on right handler
...
SVN revision: 54208
2010-11-06 01:23:01 +00:00
Sebastian Dransfeld
bc8a34b688
formatting
...
SVN revision: 54207
2010-11-06 01:22:50 +00:00
Sebastian Dransfeld
46cf959d70
Declaration at beginning of block
...
SVN revision: 54206
2010-11-06 01:22:40 +00:00
Sebastian Dransfeld
5fc5dcc215
Right fix for alloc
...
Actually we already checked that num != 0, but lacked num < 0 for one of
the allocs
SVN revision: 54205
2010-11-06 01:22:29 +00:00
Mike Blumenkrantz
e289280418
add ecore_con_client_connected_get to avoid people scratching their heads and wondering how the hell they're supposed to know if a client has disconnected
...
SVN revision: 54204
2010-11-06 00:17:04 +00:00
Mike Blumenkrantz
a5489cd5c7
remove erroneous return, add some debug info
...
SVN revision: 54203
2010-11-05 23:48:15 +00:00
Mike Blumenkrantz
0a32ddcc31
fix some cases where refcount was <0 and so things were not being freed
...
SVN revision: 54199
2010-11-05 20:55:02 +00:00
Mike Blumenkrantz
add4a1d9a4
fix disconnect conditions for non-ssl reads
...
SVN revision: 54197
2010-11-05 19:46:48 +00:00
Sebastian Dransfeld
589e832cb7
Check whether we actually want to alloc data
...
SVN revision: 54179
2010-11-05 13:11:52 +00:00
Mike Blumenkrantz
8a66dd5b56
++ecore_event_handler_data_{set,get}
...
SVN revision: 54162
2010-11-04 20:51:17 +00:00
Mike Blumenkrantz
6c1cd431a2
malloc check
...
SVN revision: 54156
2010-11-04 15:48:17 +00:00
Mike Blumenkrantz
2b0ff1a99f
for some reason we weren't setting write on fds when all data had not been sent. this should make ecore_con MUCH snappier
...
SVN revision: 54155
2010-11-04 15:01:05 +00:00
Mike Blumenkrantz
b9fade7530
more refactoring, fix bug that was exposed where a completed ssl read (which returns 0 bytes) causes disconnect
...
SVN revision: 54134
2010-11-03 19:38:00 +00:00
Mike Blumenkrantz
3ffb7e4c16
use safety macros to check mallocs, remove some dead code, optimize read loops by removing them, refactor a lot of code to not be indented halfway across the screen
...
SVN revision: 54133
2010-11-03 19:08:31 +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
Mike Blumenkrantz
33c81c1983
add some safety checks so people can see wtf went wrong when sends fail
...
SVN revision: 54125
2010-11-03 16:11:12 +00:00
Carsten Haitzler
be6cf01bb8
make sure it has dynamic hint set.
...
SVN revision: 54114
2010-11-03 04:08:09 +00:00
Mike Blumenkrantz
ecd54f41fe
because SUCCESS is not an error.
...
SVN revision: 54078
2010-11-01 20:46:39 +00:00
Mike Blumenkrantz
01760826bb
only free when exists
...
c/o vtorri
SVN revision: 54075
2010-11-01 11:24:29 +00:00
Mike Blumenkrantz
57cee09e0d
eh I guess I'll clean up a little bit on failure too
...
SVN revision: 54074
2010-11-01 07:11:25 +00:00
Mike Blumenkrantz
025cfe4c67
fix incorrect realloc usage
...
SVN revision: 54073
2010-11-01 07:10:07 +00:00