framework/uifw/ecore.git
13 years agoremove the last (I think?) O(n) operation from ecore fd handling
discomfitor [Thu, 18 Nov 2010 07:23:14 +0000 (07:23 +0000)]
remove the last (I think?) O(n) operation from ecore fd handling

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@54669 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agospruce up error message a bit
discomfitor [Thu, 18 Nov 2010 05:49:25 +0000 (05:49 +0000)]
spruce up error message a bit

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@54667 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years ago * ecore: revert comment.
cedric [Wed, 17 Nov 2010 16:26:08 +0000 (16:26 +0000)]
* 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.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@54633 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years ago * ecore: fix event_window for Ecore_SDL.
cedric [Wed, 17 Nov 2010 13:53:04 +0000 (13:53 +0000)]
* ecore: fix event_window for Ecore_SDL.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@54630 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agofix error handling of plaintext connect, print ERR on connect failure
discomfitor [Wed, 17 Nov 2010 09:31:15 +0000 (09:31 +0000)]
fix error handling of plaintext connect, print ERR on connect failure

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@54624 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agobenchmark/test apps for ecore_con server/client as well as fd handlers
discomfitor [Wed, 17 Nov 2010 08:29:33 +0000 (08:29 +0000)]
benchmark/test apps for ecore_con server/client as well as fd handlers

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@54623 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agofix list removal for prep/buf functions to avoid annoying eina warnings
discomfitor [Wed, 17 Nov 2010 06:57:29 +0000 (06:57 +0000)]
fix list removal for prep/buf functions to avoid annoying eina warnings

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@54620 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoscaling optimizations round 2: add list for fd handler buffer functions
discomfitor [Wed, 17 Nov 2010 06:50:52 +0000 (06:50 +0000)]
scaling optimizations round 2: add list for fd handler buffer functions
also delete fdhs from prep/buf lists on cleanups when possible

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@54619 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoclean up unused warnings
discomfitor [Wed, 17 Nov 2010 06:41:41 +0000 (06:41 +0000)]
clean up unused warnings

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@54618 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoadd doxy for ecore_main_fd_handler_prepare_callback_set, add massive optimization...
discomfitor [Wed, 17 Nov 2010 06:24:49 +0000 (06:24 +0000)]
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

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@54617 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agooptimization pass #1: 5% server speed increase
discomfitor [Tue, 16 Nov 2010 21:32:50 +0000 (21:32 +0000)]
optimization pass #1: 5% server speed increase
only get client ip addr when ecore_con_client_ip_get() is called, always stringshare ip addresses

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@54612 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years ago * ecore: raise gl_sdl priority over software_sdl.
cedric [Tue, 16 Nov 2010 15:38:22 +0000 (15:38 +0000)]
* ecore: raise gl_sdl priority over software_sdl.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@54595 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agosee comment.
raster [Sun, 14 Nov 2010 09:00:24 +0000 (09:00 +0000)]
see comment.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@54549 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agorevert bitfielding of a bool to avoid possible abi break
discomfitor [Sat, 13 Nov 2010 12:25:45 +0000 (12:25 +0000)]
revert bitfielding of a bool to avoid possible abi break

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@54530 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agounsigned char -> Eina_Bool cleanups; these files are in great need of documentation...
discomfitor [Sat, 13 Nov 2010 12:01:55 +0000 (12:01 +0000)]
unsigned char -> Eina_Bool cleanups; these files are in great need of documentation! if you know the code, please write help!

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@54529 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoshould be bool since we already include eina
discomfitor [Fri, 12 Nov 2010 18:37:27 +0000 (18:37 +0000)]
should be bool since we already include eina

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@54521 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years ago * efl: beta2 !
cedric [Fri, 12 Nov 2010 16:01:55 +0000 (16:01 +0000)]
* efl: beta2 !

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@54507 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years ago * ecore: break Ecore_Thread API once and for all to make it consistent.
cedric [Fri, 12 Nov 2010 13:28:19 +0000 (13:28 +0000)]
* ecore: break Ecore_Thread API once and for all to make it consistent.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@54502 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoFix typo in ecore AUTHORS
bdilly [Fri, 12 Nov 2010 13:08:50 +0000 (13:08 +0000)]
Fix typo in ecore AUTHORS

By Daniel Juyung Seo (SeoZ) <juyung.seo@samsung.com>

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@54500 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoavoid looping infinitely while freeing servers, and don't log while freeing servers...
discomfitor [Thu, 11 Nov 2010 20:34:35 +0000 (20:34 +0000)]
avoid looping infinitely while freeing servers, and don't log while freeing servers in case ecore_con's log domain has already been unregistered

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@54479 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoonly free clients that aren't waiting on events to free them to prevent a segv
discomfitor [Thu, 11 Nov 2010 20:20:44 +0000 (20:20 +0000)]
only free clients that aren't waiting on events to free them to prevent a segv

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@54478 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agofix bug where server disconnect event was not emitted, only set magic to none on...
discomfitor [Thu, 11 Nov 2010 19:53:21 +0000 (19:53 +0000)]
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

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@54476 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years ago * ecore: fix mouse wheel for frame buffer.
cedric [Thu, 11 Nov 2010 18:45:16 +0000 (18:45 +0000)]
* ecore: fix mouse wheel for frame buffer.

Patch by Eduardo Felipe <eduardofelipe87@gmail.com>.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@54471 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoFix _ecore_file_path_from_env(), wrong strcpy source.
morlenxus [Tue, 9 Nov 2010 14:09:16 +0000 (14:09 +0000)]
Fix _ecore_file_path_from_env(), wrong strcpy source.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@54366 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoffs, bring these back in
sachiel [Mon, 8 Nov 2010 13:29:18 +0000 (13:29 +0000)]
ffs, bring these back in

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@54325 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agono more debian dir in our svn - debian now handles this tehmselves.
raster [Mon, 8 Nov 2010 05:50:09 +0000 (05:50 +0000)]
no more debian dir in our svn - debian now handles this tehmselves.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@54294 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoKiller feature: Windows app can have icons, now.
caro [Sun, 7 Nov 2010 20:29:08 +0000 (20:29 +0000)]
Killer feature: Windows app can have icons, now.
The doc explains everything.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@54283 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agorobustify ssl handshaking by catching extremely rare cases when the session has been...
discomfitor [Sun, 7 Nov 2010 05:36:40 +0000 (05:36 +0000)]
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.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@54269 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agofix doc
caro [Sat, 6 Nov 2010 23:04:33 +0000 (23:04 +0000)]
fix doc

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@54252 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoI got overexcited
discomfitor [Sat, 6 Nov 2010 17:54:01 +0000 (17:54 +0000)]
I got overexcited

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@54242 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoadd ecore_con strings
discomfitor [Sat, 6 Nov 2010 17:06:56 +0000 (17:06 +0000)]
add ecore_con strings

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@54241 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoadd magic strings for ecore_con
discomfitor [Sat, 6 Nov 2010 17:04:09 +0000 (17:04 +0000)]
add magic strings for ecore_con

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@54240 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agofix - don't call new event handler added for the SAMe event. defer
raster [Sat, 6 Nov 2010 03:11:17 +0000 (03:11 +0000)]
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.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@54212 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agotypo fix
discomfitor [Sat, 6 Nov 2010 02:59:11 +0000 (02:59 +0000)]
typo fix

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@54211 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agodelete servers on 0
discomfitor [Sat, 6 Nov 2010 01:57:45 +0000 (01:57 +0000)]
delete servers on 0

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@54209 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoCheck events on right handler
englebass [Sat, 6 Nov 2010 01:23:01 +0000 (01:23 +0000)]
Check events on right handler

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@54208 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoformatting
englebass [Sat, 6 Nov 2010 01:22:50 +0000 (01:22 +0000)]
formatting

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@54207 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoDeclaration at beginning of block
englebass [Sat, 6 Nov 2010 01:22:40 +0000 (01:22 +0000)]
Declaration at beginning of block

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@54206 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoRight fix for alloc
englebass [Sat, 6 Nov 2010 01:22:29 +0000 (01:22 +0000)]
Right fix for alloc

Actually we already checked that num != 0, but lacked num < 0 for one of
the allocs

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@54205 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoadd ecore_con_client_connected_get to avoid people scratching their heads and wonderi...
discomfitor [Sat, 6 Nov 2010 00:17:04 +0000 (00:17 +0000)]
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

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@54204 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoremove erroneous return, add some debug info
discomfitor [Fri, 5 Nov 2010 23:48:15 +0000 (23:48 +0000)]
remove erroneous return, add some debug info

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@54203 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agofix some cases where refcount was <0 and so things were not being freed
discomfitor [Fri, 5 Nov 2010 20:55:02 +0000 (20:55 +0000)]
fix some cases where refcount was <0 and so things were not being freed

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@54199 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agofix disconnect conditions for non-ssl reads
discomfitor [Fri, 5 Nov 2010 19:46:48 +0000 (19:46 +0000)]
fix disconnect conditions for non-ssl reads

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@54197 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoCheck whether we actually want to alloc data
englebass [Fri, 5 Nov 2010 13:11:52 +0000 (13:11 +0000)]
Check whether we actually want to alloc data

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@54179 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years ago++ecore_event_handler_data_{set,get}
discomfitor [Thu, 4 Nov 2010 20:51:17 +0000 (20:51 +0000)]
++ecore_event_handler_data_{set,get}

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@54162 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agomalloc check
discomfitor [Thu, 4 Nov 2010 15:48:17 +0000 (15:48 +0000)]
malloc check

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@54156 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agofor some reason we weren't setting write on fds when all data had not been sent....
discomfitor [Thu, 4 Nov 2010 15:01:05 +0000 (15:01 +0000)]
for some reason we weren't setting write on fds when all data had not been sent.  this should make ecore_con MUCH snappier

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@54155 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agomore refactoring, fix bug that was exposed where a completed ssl read (which returns...
discomfitor [Wed, 3 Nov 2010 19:38:00 +0000 (19:38 +0000)]
more refactoring, fix bug that was exposed where a completed ssl read (which returns 0 bytes) causes disconnect

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@54134 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agouse safety macros to check mallocs, remove some dead code, optimize read loops by...
discomfitor [Wed, 3 Nov 2010 19:08:31 +0000 (19:08 +0000)]
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

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@54133 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoreformat using ecrustify because uncrustify dicked it up previously
discomfitor [Wed, 3 Nov 2010 17:58:37 +0000 (17:58 +0000)]
reformat using ecrustify because uncrustify dicked it up previously

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@54128 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoadd some safety checks so people can see wtf went wrong when sends fail
discomfitor [Wed, 3 Nov 2010 16:11:12 +0000 (16:11 +0000)]
add some safety checks so people can see wtf went wrong when sends fail

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@54125 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agomake sure it has dynamic hint set.
raster [Wed, 3 Nov 2010 04:08:09 +0000 (04:08 +0000)]
make sure it has dynamic hint set.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@54114 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agobecause SUCCESS is not an error.
discomfitor [Mon, 1 Nov 2010 20:46:39 +0000 (20:46 +0000)]
because SUCCESS is not an error.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@54078 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoonly free when exists
discomfitor [Mon, 1 Nov 2010 11:24:29 +0000 (11:24 +0000)]
only free when exists
c/o vtorri

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@54075 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoeh I guess I'll clean up a little bit on failure too
discomfitor [Mon, 1 Nov 2010 07:11:25 +0000 (07:11 +0000)]
eh I guess I'll clean up a little bit on failure too

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@54074 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agofix incorrect realloc usage
discomfitor [Mon, 1 Nov 2010 07:10:07 +0000 (07:10 +0000)]
fix incorrect realloc usage

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@54073 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoalloca - not strdupa.
raster [Sun, 31 Oct 2010 12:53:50 +0000 (12:53 +0000)]
alloca - not strdupa.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@54068 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoadd a sweet DBG logging function for gnutls because logging info rules
discomfitor [Fri, 29 Oct 2010 04:31:16 +0000 (04:31 +0000)]
add a sweet DBG logging function for gnutls because logging info rules

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@53980 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agocomment out all psk code since I haven't implemented it yet, fix gnutls servers ...
discomfitor [Thu, 28 Oct 2010 23:51:08 +0000 (23:51 +0000)]
comment out all psk code since I haven't implemented it yet, fix gnutls servers (how the hell did it break?????)

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@53979 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoa little bit of reformatting, be explicit with dhp allocation, and add server verific...
discomfitor [Thu, 28 Oct 2010 18:25:35 +0000 (18:25 +0000)]
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)

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@53974 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoremove dead code
discomfitor [Thu, 28 Oct 2010 18:24:22 +0000 (18:24 +0000)]
remove dead code

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@53973 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEcore: Decide whether library will be built or not in upper level
etrunko [Thu, 28 Oct 2010 16:37:41 +0000 (16:37 +0000)]
Ecore: Decide whether library will be built or not in upper level

As requested by vtorri. :D

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@53967 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoremove unnecessary ifdef
discomfitor [Thu, 28 Oct 2010 16:07:47 +0000 (16:07 +0000)]
remove unnecessary ifdef

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@53965 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agownen I said gnutls on my last commit, I really meant openssl. but when I say gnutls...
discomfitor [Thu, 28 Oct 2010 14:48:25 +0000 (14:48 +0000)]
wnen I said gnutls on my last commit, I really meant openssl.  but when I say gnutls on this commit, I mean gnutls. really.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@53961 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoadd more gnutls info for dhp generation so you can tell if it ever stops
discomfitor [Thu, 28 Oct 2010 14:07:47 +0000 (14:07 +0000)]
add more gnutls info for dhp generation so you can tell if it ever stops

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@53959 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoonly set openssl verify when needed to avoid some handshake errors
discomfitor [Thu, 28 Oct 2010 13:15:36 +0000 (13:15 +0000)]
only set openssl verify when needed to avoid some handshake errors

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@53955 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years ago * ecore: reduce strdup call from ecore_file, but this file need
cedric [Thu, 28 Oct 2010 11:31:30 +0000 (11:31 +0000)]
* ecore: reduce strdup call from ecore_file, but this file need
much more love !

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@53953 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agofix some random error cases where events would fire too fast and cause a segv
discomfitor [Thu, 28 Oct 2010 10:59:30 +0000 (10:59 +0000)]
fix some random error cases where events would fire too fast and cause a segv

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@53952 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoecore_x -> add mapping change event for when key/pointer/modifier
raster [Thu, 28 Oct 2010 00:32:43 +0000 (00:32 +0000)]
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.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@53942 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoforgot a return statement
discomfitor [Wed, 27 Oct 2010 20:56:00 +0000 (20:56 +0000)]
forgot a return statement

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@53938 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agohmmm actually this is probably the better way to fix it with maximum laziness
discomfitor [Wed, 27 Oct 2010 20:52:36 +0000 (20:52 +0000)]
hmmm actually this is probably the better way to fix it with maximum laziness

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@53937 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agofix potential crash when someone specifies a weird/nonexistent ssl type
discomfitor [Wed, 27 Oct 2010 20:51:09 +0000 (20:51 +0000)]
fix potential crash when someone specifies a weird/nonexistent ssl type

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@53936 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agofix some warnings with --disable-curl
discomfitor [Wed, 27 Oct 2010 20:34:36 +0000 (20:34 +0000)]
fix some warnings with --disable-curl

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@53935 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years ago * ecore: don't expose Ecore_Evas internal magic outside.
cedric [Wed, 27 Oct 2010 17:42:30 +0000 (17:42 +0000)]
* ecore: don't expose Ecore_Evas internal magic outside.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@53930 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoWe always require gnutls >= 2.10
englebass [Wed, 27 Oct 2010 07:09:16 +0000 (07:09 +0000)]
We always require gnutls >= 2.10

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@53911 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agorequire gnutls 2.10.2 since earlier versions don't work
discomfitor [Wed, 27 Oct 2010 06:31:27 +0000 (06:31 +0000)]
require gnutls 2.10.2 since earlier versions don't work
vtorri check me on this plz

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@53910 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agofix ecore-evas to use stride return for buffers.
raster [Wed, 27 Oct 2010 04:52:54 +0000 (04:52 +0000)]
fix ecore-evas to use stride return for buffers.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@53909 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years ago * ecore: make Ecore_File.h match others EFL headers.
cedric [Mon, 25 Oct 2010 13:08:40 +0000 (13:08 +0000)]
* ecore: make Ecore_File.h match others EFL headers.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@53869 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years ago * ecore: always check for func_cancel being not NULL before using it.
cedric [Mon, 25 Oct 2010 09:39:00 +0000 (09:39 +0000)]
* ecore: always check for func_cancel being not NULL before using it.

Reported by Hugo Camboulive <hugo.camboulive@gmail.com>.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@53851 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoFrom: Raphael Kubo da Costa <kubo@profusion.mobi>
raster [Mon, 25 Oct 2010 02:53:06 +0000 (02:53 +0000)]
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.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@53845 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years ago[ecore] remove messages about ecore_time on Windows
caro [Sat, 23 Oct 2010 19:25:09 +0000 (19:25 +0000)]
[ecore] remove messages about ecore_time on Windows

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@53820 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years ago[ecore-file] use function pointers for callbacks
caro [Sat, 23 Oct 2010 11:33:56 +0000 (11:33 +0000)]
[ecore-file] use function pointers for callbacks

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@53811 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years ago[ecore-file] fix doc
caro [Sat, 23 Oct 2010 11:05:36 +0000 (11:05 +0000)]
[ecore-file] fix doc

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@53810 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years ago[ecore] fix compilation when pthread is not available
caro [Fri, 22 Oct 2010 17:39:25 +0000 (17:39 +0000)]
[ecore] fix compilation when pthread is not available

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@53777 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoFix warning.
kwo [Thu, 21 Oct 2010 15:53:46 +0000 (15:53 +0000)]
Fix warning.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@53719 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agopatch from mike to fix kernel issue with closed fd's+ epoll to re-init
raster [Wed, 20 Oct 2010 14:21:19 +0000 (14:21 +0000)]
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.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@53672 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agofrom mike:
raster [Wed, 20 Oct 2010 14:18:23 +0000 (14:18 +0000)]
from mike:

Fix a build issue with both epoll and g_main_loop()

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@53671 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agopatch from mike - fix epoll on fork thing.
raster [Wed, 20 Oct 2010 14:15:56 +0000 (14:15 +0000)]
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... ;-)

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@53670 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agonote -= we may leak display struct here...
raster [Wed, 20 Oct 2010 14:10:55 +0000 (14:10 +0000)]
note -= we may leak display struct here...

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@53668 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoRevert the changes on ecore_x, seems not needed and break composite
sachiel [Tue, 19 Oct 2010 13:56:17 +0000 (13:56 +0000)]
Revert the changes on ecore_x, seems not needed and break composite

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@53617 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoUse event_win when it exists to match source of events
sachiel [Mon, 18 Oct 2010 21:50:41 +0000 (21:50 +0000)]
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.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@53583 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoCheck for gnutls >= 2.6
englebass [Mon, 18 Oct 2010 18:28:11 +0000 (18:28 +0000)]
Check for gnutls >= 2.6

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@53578 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years ago * ecore: time to cleanup ecore_con_url time.
cedric [Mon, 18 Oct 2010 16:39:12 +0000 (16:39 +0000)]
* ecore: time to cleanup ecore_con_url time.

Patch by Patch by Raphael Kubo da Costa <kubo@profusion.mobi>

As discussed on the development mailing list, we should accept a
double instead of a time_t for consistency with the rest of the API.
Some apidox has been added too, and as a result
ECORE_CON_URL_TIME_LASTMOD has been removed, since it does not make
much sense (it is an HTTP response header).

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@53572 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years ago * ecore: remove now useless structure.
cedric [Mon, 18 Oct 2010 13:49:06 +0000 (13:49 +0000)]
* ecore: remove now useless structure.

Patch by Raphael Kubo da Costa <kubo@profusion.mobi>

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@53570 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years ago * ecore: proper protection of newer constant.
cedric [Mon, 18 Oct 2010 13:11:25 +0000 (13:11 +0000)]
* ecore: proper protection of newer constant.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@53567 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years ago * ecore: remove ecore_con_url_http_post_send as it expose CURL
cedric [Mon, 18 Oct 2010 12:52:46 +0000 (12:52 +0000)]
* ecore: remove ecore_con_url_http_post_send as it expose CURL
API and is not useful to someone.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@53566 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agomake sure we have undefed stuff
raster [Mon, 18 Oct 2010 05:09:30 +0000 (05:09 +0000)]
make sure we have undefed stuff

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@53562 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agonote that its experiemntal
raster [Mon, 18 Oct 2010 04:52:11 +0000 (04:52 +0000)]
note that its experiemntal

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@53560 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoimprove doc layout
caro [Sun, 17 Oct 2010 07:03:28 +0000 (07:03 +0000)]
improve doc layout

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@53509 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agotypedef function pointer
discomfitor [Sat, 16 Oct 2010 23:02:35 +0000 (23:02 +0000)]
typedef function pointer

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@53500 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33