profile/ivi/ecore.git
13 years agoavoid segv
discomfitor [Wed, 1 Dec 2010 10:31:20 +0000 (10:31 +0000)]
avoid segv

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@55117 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoformatting cleanups
discomfitor [Wed, 1 Dec 2010 04:42:29 +0000 (04:42 +0000)]
formatting cleanups

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@55109 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agocopypastecopypaste
discomfitor [Wed, 1 Dec 2010 03:45:22 +0000 (03:45 +0000)]
copypastecopypaste

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@55108 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agocompacter code.
raster [Wed, 1 Dec 2010 03:31:55 +0000 (03:31 +0000)]
compacter code.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@55107 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoonly enable extensive ssl logging with compile define set to avoid massive slowdown
discomfitor [Wed, 1 Dec 2010 03:19:28 +0000 (03:19 +0000)]
only enable extensive ssl logging with compile define set to avoid massive slowdown

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@55106 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agou know.. eina_list_free.. returns... NULL :)
raster [Wed, 1 Dec 2010 03:13:29 +0000 (03:13 +0000)]
u know.. eina_list_free.. returns... NULL :)

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@55105 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoremove redundant check
discomfitor [Wed, 1 Dec 2010 03:02:03 +0000 (03:02 +0000)]
remove redundant check

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@55104 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agotype this as EB for correctness because I'm feeling pedantic
discomfitor [Wed, 1 Dec 2010 02:44:20 +0000 (02:44 +0000)]
type this as EB for correctness because I'm feeling pedantic

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@55103 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoswitch to EINA_BOOL values for delete_me, fix huge O(n) behavior in _ecore_main_fd_ha...
discomfitor [Wed, 1 Dec 2010 02:34:48 +0000 (02:34 +0000)]
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

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@55102 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agouse EINA_(TRUE/FALSE) instead of 1/0
discomfitor [Wed, 1 Dec 2010 01:17:45 +0000 (01:17 +0000)]
use EINA_(TRUE/FALSE) instead of 1/0

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@55101 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoso... why.. do.. we .. not init.. all? :) how do we expect https and
raster [Tue, 30 Nov 2010 09:39:23 +0000 (09:39 +0000)]
so... why.. do.. we .. not init.. all? :) how do we expect https and
friends to work... if we dont want them initted :)

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@55079 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoexplicitly set eina error level, add a printf
discomfitor [Mon, 29 Nov 2010 07:07:16 +0000 (07:07 +0000)]
explicitly set eina error level, add a printf
10k fd test successfully passed! in 1.5 minutes :(

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@55053 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agonull pointer to avoid partial free in rare cases
discomfitor [Mon, 29 Nov 2010 00:13:52 +0000 (00:13 +0000)]
null pointer to avoid partial free in rare cases

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@55046 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agofix weird bug where fdh in a list could become null
discomfitor [Sun, 28 Nov 2010 22:03:07 +0000 (22:03 +0000)]
fix weird bug where fdh in a list could become null

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@55044 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agofix annoying printfs that should be ERRs
discomfitor [Sun, 28 Nov 2010 21:51:07 +0000 (21:51 +0000)]
fix annoying printfs that should be ERRs

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@55043 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoremove win7 code and fix other minor problems
caro [Fri, 26 Nov 2010 18:41:43 +0000 (18:41 +0000)]
remove win7 code and fix other minor problems

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@55023 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agomore fixes, but needs to remove Windows 7 code, now...
caro [Fri, 26 Nov 2010 15:34:30 +0000 (15:34 +0000)]
more fixes, but needs to remove Windows 7 code, now...

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@55019 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agotypo
caro [Fri, 26 Nov 2010 13:54:11 +0000 (13:54 +0000)]
typo

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@55015 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoadd native win32 thread support in ecore_thread. Not tested a lot at all.
caro [Fri, 26 Nov 2010 13:50:31 +0000 (13:50 +0000)]
add native win32 thread support in ecore_thread. Not tested a lot at all.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@55014 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoon Windows, "C:" is not a directory, but a drive.
caro [Fri, 26 Nov 2010 13:47:51 +0000 (13:47 +0000)]
on Windows, "C:" is not a directory, but a drive.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@55013 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agodeclare alloca()
caro [Fri, 26 Nov 2010 08:06:19 +0000 (08:06 +0000)]
declare alloca()

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@55003 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoTODO++
englebass [Thu, 25 Nov 2010 19:08:08 +0000 (19:08 +0000)]
TODO++

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@54996 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agolisten for IN_ATTRIB and IN_CLOSE_WRITE
englebass [Wed, 24 Nov 2010 21:15:52 +0000 (21:15 +0000)]
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.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@54961 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoprint buf, not file
englebass [Wed, 24 Nov 2010 21:15:36 +0000 (21:15 +0000)]
print buf, not file

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@54960 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoprint all inotify events
englebass [Wed, 24 Nov 2010 21:15:20 +0000 (21:15 +0000)]
print all inotify events

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@54959 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoright func to check for dir
englebass [Wed, 24 Nov 2010 21:15:04 +0000 (21:15 +0000)]
right func to check for dir

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@54958 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agofix mouse event on Win XP, should be fixed on Win CE
caro [Wed, 24 Nov 2010 17:04:03 +0000 (17:04 +0000)]
fix mouse event on Win XP, should be fixed on Win CE

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@54938 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years ago * ecore: improve speed by reusing pipe and allocated structure.
cedric [Tue, 23 Nov 2010 18:32:17 +0000 (18:32 +0000)]
* ecore: improve speed by reusing pipe and allocated structure.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@54896 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years ago * ecore: small cleanup.
cedric [Tue, 23 Nov 2010 16:52:18 +0000 (16:52 +0000)]
* ecore: small cleanup.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@54893 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agorevert this for crankypants
discomfitor [Tue, 23 Nov 2010 14:46:12 +0000 (14:46 +0000)]
revert this for crankypants

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@54888 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoI'm tired of you, ecore_getopt. now you get the hammer.
discomfitor [Tue, 23 Nov 2010 11:10:41 +0000 (11:10 +0000)]
I'm tired of you, ecore_getopt. now you get the hammer.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@54863 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agomore correctly fix no-option parsing to still parse when no non-arg options are found
discomfitor [Tue, 23 Nov 2010 10:56:50 +0000 (10:56 +0000)]
more correctly fix no-option parsing to still parse when no non-arg options are found

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@54862 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agofix bug where getopt_parse returns argc as the first nonopt argument when there are...
discomfitor [Tue, 23 Nov 2010 10:36:15 +0000 (10:36 +0000)]
fix bug where getopt_parse returns argc as the first nonopt argument when there are no nonopt arguments

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@54861 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agofix bug where getopt_parse returns 1 when there are no args
discomfitor [Tue, 23 Nov 2010 10:25:58 +0000 (10:25 +0000)]
fix bug where getopt_parse returns 1 when there are no args

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@54860 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoOnly remove from existing list
englebass [Mon, 22 Nov 2010 20:51:20 +0000 (20:51 +0000)]
Only remove from existing list

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@54830 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agofix screensaver events, /me spanks raster (r53942)
barbieri [Mon, 22 Nov 2010 14:27:43 +0000 (14:27 +0000)]
fix screensaver events, /me spanks raster (r53942)

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@54791 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoto fix the bug that morlenxus found, I have crashed my own computer.
discomfitor [Thu, 18 Nov 2010 19:56:26 +0000 (19:56 +0000)]
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

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@54702 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agofix annoying uninitialized value warning
discomfitor [Thu, 18 Nov 2010 18:45:39 +0000 (18:45 +0000)]
fix annoying uninitialized value warning

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@54699 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/svn/e/trunk/ecore@54283 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 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: http://svn.enlightenment.org/svn/e/trunk/ecore@54269 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

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

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

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

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

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

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

14 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: http://svn.enlightenment.org/svn/e/trunk/ecore@54240 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 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: http://svn.enlightenment.org/svn/e/trunk/ecore@54212 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

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

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

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

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

14 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: http://svn.enlightenment.org/svn/e/trunk/ecore@54208 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

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

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

14 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: http://svn.enlightenment.org/svn/e/trunk/ecore@54206 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 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: http://svn.enlightenment.org/svn/e/trunk/ecore@54205 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 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: http://svn.enlightenment.org/svn/e/trunk/ecore@54204 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 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: http://svn.enlightenment.org/svn/e/trunk/ecore@54203 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 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: http://svn.enlightenment.org/svn/e/trunk/ecore@54199 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 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: http://svn.enlightenment.org/svn/e/trunk/ecore@54197 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 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: http://svn.enlightenment.org/svn/e/trunk/ecore@54179 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 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: http://svn.enlightenment.org/svn/e/trunk/ecore@54162 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

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

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

14 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: http://svn.enlightenment.org/svn/e/trunk/ecore@54155 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 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: http://svn.enlightenment.org/svn/e/trunk/ecore@54134 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 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: http://svn.enlightenment.org/svn/e/trunk/ecore@54133 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 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: http://svn.enlightenment.org/svn/e/trunk/ecore@54128 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 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: http://svn.enlightenment.org/svn/e/trunk/ecore@54125 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 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: http://svn.enlightenment.org/svn/e/trunk/ecore@54114 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 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: http://svn.enlightenment.org/svn/e/trunk/ecore@54078 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 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: http://svn.enlightenment.org/svn/e/trunk/ecore@54075 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 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: http://svn.enlightenment.org/svn/e/trunk/ecore@54074 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

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

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

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

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

14 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: http://svn.enlightenment.org/svn/e/trunk/ecore@53980 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 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: http://svn.enlightenment.org/svn/e/trunk/ecore@53979 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 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: http://svn.enlightenment.org/svn/e/trunk/ecore@53974 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

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

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

14 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: http://svn.enlightenment.org/svn/e/trunk/ecore@53967 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33