profile/ivi/ecore.git
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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

14 years agoDead code bye bye
sachiel [Sat, 16 Oct 2010 21:32:08 +0000 (21:32 +0000)]
Dead code bye bye

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

14 years agoAttempting to track a bug in ecore_x_randr_12 where we get a segfault
devilhorns [Fri, 15 Oct 2010 23:19:45 +0000 (23:19 +0000)]
Attempting to track a bug in ecore_x_randr_12 where we get a segfault
when trying to free the mode_info. Not much functional difference with
this commit except that we do not call strndup if the nameLength is
<= 0.

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

14 years agoadd info when generating dh params so people will know wtf is going on when their...
discomfitor [Fri, 15 Oct 2010 21:31:25 +0000 (21:31 +0000)]
add info when generating dh params so people will know wtf is going on when their app hangs for an hour on startup

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

14 years agoremove changes in case developer dumber than expected?
raster [Fri, 15 Oct 2010 07:42:29 +0000 (07:42 +0000)]
remove changes in case developer dumber than expected?

:) (aagh was most annoying to find this today).

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

14 years agomake this more explicit in case compiler is dumber than expected?
discomfitor [Thu, 14 Oct 2010 22:13:40 +0000 (22:13 +0000)]
make this more explicit in case compiler is dumber than expected?

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

14 years ago * ecore: improve and fix ecore_thread destruction.
cedric [Thu, 14 Oct 2010 16:45:48 +0000 (16:45 +0000)]
* ecore: improve and fix ecore_thread destruction.

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

14 years ago * ecore: don't leak pipe.
cedric [Thu, 14 Oct 2010 16:45:17 +0000 (16:45 +0000)]
* ecore: don't leak pipe.

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

14 years agostop trying to use ssl for local connections
discomfitor [Thu, 14 Oct 2010 16:19:17 +0000 (16:19 +0000)]
stop trying to use ssl for local connections

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

14 years ago * AUTHORS: don't forget to blame T_UNIX for his work on xrandr.
cedric [Thu, 14 Oct 2010 14:49:49 +0000 (14:49 +0000)]
* AUTHORS: don't forget to blame T_UNIX for his work on xrandr.

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

14 years ago * ecore: fix possible race. It also make ecore_thread_run
cedric [Wed, 13 Oct 2010 17:45:07 +0000 (17:45 +0000)]
* ecore: fix possible race. It also make ecore_thread_run
match ecore_thread_feedback_run better.

NOTE: I know it breaks API/ABI compatibility for that call,
but that's the only sane solution I could found.

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

14 years ago * ecore: turn on and off eina threads support when needed.
cedric [Wed, 13 Oct 2010 16:44:15 +0000 (16:44 +0000)]
* ecore: turn on and off eina threads support when needed.

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

14 years ago2 obscure bugs in one commit:
discomfitor [Wed, 13 Oct 2010 16:40:52 +0000 (16:40 +0000)]
2 obscure bugs in one commit:
make cert use more overt and set up fd handler before attempting to use it

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

14 years ago<discomfitor> ecore_con_url.c: In function 'ecore_con_url_ftp_upload':
discomfitor [Wed, 13 Oct 2010 03:04:53 +0000 (03:04 +0000)]
<discomfitor> ecore_con_url.c: In function 'ecore_con_url_ftp_upload':
<discomfitor> ecore_con_url.c:963:14: warning: too few arguments for format
<rakuco> ah, missing a , filename there
<rakuco> can you commit that

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

14 years agoand.. be safe! for funcs so they dont go closing things when they
raster [Wed, 13 Oct 2010 00:37:12 +0000 (00:37 +0000)]
and.. be safe! for funcs so they dont go closing things when they
already are.

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

14 years agoif pipe handler deletes the pipe... be safe!
raster [Wed, 13 Oct 2010 00:35:09 +0000 (00:35 +0000)]
if pipe handler deletes the pipe... be safe!

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

14 years ago * ecore: fix ecore_fb build.
cedric [Tue, 12 Oct 2010 11:49:18 +0000 (11:49 +0000)]
* ecore: fix ecore_fb build.

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

14 years agoEcore imf: Fixed documentation issues, patch by Jihoo Kim.
tasn [Tue, 12 Oct 2010 08:59:42 +0000 (08:59 +0000)]
Ecore imf: Fixed documentation issues, patch by Jihoo Kim.
Fixed typos.
Made ecore_imf_context_preedit_string_get appear in doxygen output.

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

14 years agotypo
caro [Tue, 12 Oct 2010 07:55:45 +0000 (07:55 +0000)]
typo

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

14 years agoEcore_Fb doc finished
caro [Tue, 12 Oct 2010 07:55:24 +0000 (07:55 +0000)]
Ecore_Fb doc finished

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

14 years agofix doxygen warnings
caro [Tue, 12 Oct 2010 06:34:31 +0000 (06:34 +0000)]
fix doxygen warnings

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

14 years agoCheck for libcurl's return codes when appropriate.
lucas [Mon, 11 Oct 2010 19:13:12 +0000 (19:13 +0000)]
Check for libcurl's return codes when appropriate.

Depending on the option being set by curl_easy_setopt, a return value
different from CURL_OK can be returned (the same applies to curl_multi_*
and CURLM_OK).

This commit checks the return value from those calls and usually
displays an error message with ERR() and returns -- in some cases, an
error is shown but the function does not immediately return.

A few lines of code have also been moved around in order to make
returning from functions as harmless as possible.

By: Raphael Kubo da Costa <kubo@profusion.mobi>

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

14 years agoSimplify the checks in ecore_con_url_http_post_send.
lucas [Mon, 11 Oct 2010 19:12:26 +0000 (19:12 +0000)]
Simplify the checks in ecore_con_url_http_post_send.

By checking for the validity of the Ecore_Con_Url struct before anything
else and merging some if's, the code can get much cleaner.

By: Raphael Kubo da Costa <kubo@profusion.mobi>

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

14 years agoAlways use ecore_con_url_ftp_use_epsv_set's parameters.
lucas [Mon, 11 Oct 2010 19:12:09 +0000 (19:12 +0000)]
Always use ecore_con_url_ftp_use_epsv_set's parameters.

unused_warning--

By: Raphael Kubo da Costa <kubo@profusion.mobi>

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

14 years agoSimplify if clause.
lucas [Mon, 11 Oct 2010 19:11:54 +0000 (19:11 +0000)]
Simplify if clause.

There is no need for an else here, as the return is the last
instruction.

By: Raphael Kubo da Costa <kubo@profusion.mobi>

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

14 years agoFix some indentation problems in ecore_con_url.
lucas [Mon, 11 Oct 2010 19:11:26 +0000 (19:11 +0000)]
Fix some indentation problems in ecore_con_url.

* Indent blocks inside EINA_LIST_* macros.
* Use sane indentation in ecore_con_url_ftp_upload().

By: Raphael Kubo da Costa <kubo@profusion.mobi>

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

14 years agoAdd a missing leading underscore to static variables.
lucas [Mon, 11 Oct 2010 19:11:02 +0000 (19:11 +0000)]
Add a missing leading underscore to static variables.

By: Raphael Kubo da Costa <kubo@profusion.mobi>

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

14 years agoRemove erroneus __UNUSED__ mark.
lucas [Mon, 11 Oct 2010 19:10:43 +0000 (19:10 +0000)]
Remove erroneus __UNUSED__ mark.

data is indeed used by _ecore_con_url_idler_handler.

By: Raphael Kubo da Costa <kubo@profusion.mobi>

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