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
Sebastian Dransfeld
34cecc6810
We always require gnutls >= 2.10
...
SVN revision: 53911
2010-10-27 07:09:16 +00:00
Mike Blumenkrantz
b8eee27786
require gnutls 2.10.2 since earlier versions don't work
...
vtorri check me on this plz
SVN revision: 53910
2010-10-27 06:31:27 +00:00
Carsten Haitzler
d3233bd67c
fix ecore-evas to use stride return for buffers.
...
SVN revision: 53909
2010-10-27 04:52:54 +00:00
Cedric BAIL
9fa3379bf9
* ecore: make Ecore_File.h match others EFL headers.
...
SVN revision: 53869
2010-10-25 13:08:40 +00:00
Cedric BAIL
ea2cfb0d31
* ecore: always check for func_cancel being not NULL before using it.
...
Reported by Hugo Camboulive <hugo.camboulive@gmail.com>.
SVN revision: 53851
2010-10-25 09:39:00 +00:00
Raphael Kubo da Costa
a07b93ab49
From: Raphael Kubo da Costa <kubo@profusion.mobi>
...
This signature change follows libcurl's behaviour more closely:
CURLOPT_POSTFIELDSIZE expects a long, and a value of -1 means that
content length calculation is forwarded to libcurl, which performs a
strlen() on CURLOPT_POSTFIELD.
SVN revision: 53845
2010-10-25 02:53:06 +00:00
Vincent Torri
f78379b4d0
[ecore] remove messages about ecore_time on Windows
...
SVN revision: 53820
2010-10-23 19:25:09 +00:00
Vincent Torri
c7c886ea2c
[ecore-file] use function pointers for callbacks
...
SVN revision: 53811
2010-10-23 11:33:56 +00:00
Vincent Torri
259b702319
[ecore-file] fix doc
...
SVN revision: 53810
2010-10-23 11:05:36 +00:00
Vincent Torri
640dc89d1b
[ecore] fix compilation when pthread is not available
...
SVN revision: 53777
2010-10-22 17:39:25 +00:00
Kim Woelders
74fdc27f6d
Fix warning.
...
SVN revision: 53719
2010-10-21 15:53:46 +00:00
Carsten Haitzler
c71c55c38c
patch from mike to fix kernel issue with closed fd's+ epoll to re-init
...
epoll fd set. also fix "WARN->WRN and no \n in the patch.
SVN revision: 53672
2010-10-20 14:21:19 +00:00
Carsten Haitzler
0bad021252
from mike:
...
Fix a build issue with both epoll and g_main_loop()
SVN revision: 53671
2010-10-20 14:18:23 +00:00
Carsten Haitzler
31458bd882
patch from mike - fix epoll on fork thing.
...
This is an attempt to fix the epoll/fork() issue reported to me where
we end up with a single epoll fd shared between two processes after a
fork() in E.
I've tested with elementary test in epoll and non-epoll combinations,
and all appears to be well. Please check it solves the issue you saw,
and reformat the code as you see fit... ;-)
SVN revision: 53670
2010-10-20 14:15:56 +00:00
Carsten Haitzler
9817dfe5a5
note -= we may leak display struct here...
...
SVN revision: 53668
2010-10-20 14:10:55 +00:00
Iván Briano
02dced207e
Revert the changes on ecore_x, seems not needed and break composite
...
SVN revision: 53617
2010-10-19 13:56:17 +00:00
Iván Briano
bab8d2d0cd
Use event_win when it exists to match source of events
...
I don't expect anything to break, but if mouse or keyboard events suddenly
disappear, feel free to revert this patch while blaming cedric or discomfitor.
SVN revision: 53583
2010-10-18 21:50:41 +00:00
Sebastian Dransfeld
38f1292466
Check for gnutls >= 2.6
...
SVN revision: 53578
2010-10-18 18:28:11 +00:00