Commit Graph

2942 Commits

Author SHA1 Message Date
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
Carsten Haitzler 0d32e98d24 alloca - not strdupa.
SVN revision: 54068
2010-10-31 12:53:50 +00:00
Mike Blumenkrantz e4439fb0c6 add a sweet DBG logging function for gnutls because logging info rules
SVN revision: 53980
2010-10-29 04:31:16 +00:00
Mike Blumenkrantz c469c5bddf comment out all psk code since I haven't implemented it yet, fix gnutls servers (how the hell did it break?????)
SVN revision: 53979
2010-10-28 23:51:08 +00:00
Mike Blumenkrantz 4ca9db7909 a little bit of reformatting, be explicit with dhp allocation, and add server verification for client certs (apparently I was off my cut and paste game that day)
SVN revision: 53974
2010-10-28 18:25:35 +00:00
Mike Blumenkrantz 446c27ac31 remove dead code
SVN revision: 53973
2010-10-28 18:24:22 +00:00
Eduardo de Barros Lima 454f896043 Ecore: Decide whether library will be built or not in upper level
As requested by vtorri. :D



SVN revision: 53967
2010-10-28 16:37:41 +00:00
Mike Blumenkrantz a09f61a9f8 remove unnecessary ifdef
SVN revision: 53965
2010-10-28 16:07:47 +00:00
Mike Blumenkrantz b40a8e7efe wnen I said gnutls on my last commit, I really meant openssl. but when I say gnutls on this commit, I mean gnutls. really.
SVN revision: 53961
2010-10-28 14:48:25 +00:00
Mike Blumenkrantz 9e5e01219c add more gnutls info for dhp generation so you can tell if it ever stops
SVN revision: 53959
2010-10-28 14:07:47 +00:00
Mike Blumenkrantz 3638b837cc only set openssl verify when needed to avoid some handshake errors
SVN revision: 53955
2010-10-28 13:15:36 +00:00
Cedric BAIL acdb4588f4 * ecore: reduce strdup call from ecore_file, but this file need
much more love !


SVN revision: 53953
2010-10-28 11:31:30 +00:00
Mike Blumenkrantz 9daab48ec2 fix some random error cases where events would fire too fast and cause a segv
SVN revision: 53952
2010-10-28 10:59:30 +00:00
Carsten Haitzler c3ffeee9e1 ecore_x -> add mapping change event for when key/pointer/modifier
mappings change (xmodmap or kbd layout change).
fix other events to have proper eina_bool too and enums
also remove already disabled old unimplemented events commented out.



SVN revision: 53942
2010-10-28 00:32:43 +00:00
Mike Blumenkrantz 3830d9d118 forgot a return statement
SVN revision: 53938
2010-10-27 20:56:00 +00:00
Mike Blumenkrantz de31d29f65 hmmm actually this is probably the better way to fix it with maximum laziness
SVN revision: 53937
2010-10-27 20:52:36 +00:00
Mike Blumenkrantz d9d3d63f42 fix potential crash when someone specifies a weird/nonexistent ssl type
SVN revision: 53936
2010-10-27 20:51:09 +00:00
Mike Blumenkrantz d5c4e58535 fix some warnings with --disable-curl
SVN revision: 53935
2010-10-27 20:34:36 +00:00
Cedric BAIL e27a2a14a0 * ecore: don't expose Ecore_Evas internal magic outside.
SVN revision: 53930
2010-10-27 17:42:30 +00:00