Commit Graph

3712 Commits

Author SHA1 Message Date
Vincent Torri 95f36c0e18 more fixes, but needs to remove Windows 7 code, now...
SVN revision: 55019
2010-11-26 15:34:30 +00:00
Vincent Torri 5c9cb60854 typo
SVN revision: 55015
2010-11-26 13:54:11 +00:00
Vincent Torri 6b4b7bc42d add native win32 thread support in ecore_thread. Not tested a lot at all.
SVN revision: 55014
2010-11-26 13:50:31 +00:00
Vincent Torri 883850c5ec on Windows, "C:" is not a directory, but a drive.
SVN revision: 55013
2010-11-26 13:47:51 +00:00
Vincent Torri a636dab74d declare alloca()
SVN revision: 55003
2010-11-26 08:06:19 +00:00
Sebastian Dransfeld 71b3b7f19b TODO++
SVN revision: 54996
2010-11-25 19:08:08 +00:00
Sebastian Dransfeld cfe7ae6528 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.

SVN revision: 54961
2010-11-24 21:15:52 +00:00
Sebastian Dransfeld d09a0965c5 print buf, not file
SVN revision: 54960
2010-11-24 21:15:36 +00:00
Sebastian Dransfeld 58fe7c7261 print all inotify events
SVN revision: 54959
2010-11-24 21:15:20 +00:00
Sebastian Dransfeld 9b4886777f right func to check for dir
SVN revision: 54958
2010-11-24 21:15:04 +00:00
Vincent Torri ba3c69df53 fix mouse event on Win XP, should be fixed on Win CE
SVN revision: 54938
2010-11-24 17:04:03 +00:00
Cedric BAIL 90b57c2ed0 * ecore: improve speed by reusing pipe and allocated structure.
SVN revision: 54896
2010-11-23 18:32:17 +00:00
Cedric BAIL 6f5333d336 * ecore: small cleanup.
SVN revision: 54893
2010-11-23 16:52:18 +00:00
Mike Blumenkrantz 6bed064f60 revert this for crankypants
SVN revision: 54888
2010-11-23 14:46:12 +00:00
Mike Blumenkrantz 24703f1433 I'm tired of you, ecore_getopt. now you get the hammer.
SVN revision: 54863
2010-11-23 11:10:41 +00:00
Mike Blumenkrantz a1c347ecd5 more correctly fix no-option parsing to still parse when no non-arg options are found
SVN revision: 54862
2010-11-23 10:56:50 +00:00
Mike Blumenkrantz c6732ad9cc fix bug where getopt_parse returns argc as the first nonopt argument when there are no nonopt arguments
SVN revision: 54861
2010-11-23 10:36:15 +00:00
Mike Blumenkrantz 4a3a740a3a fix bug where getopt_parse returns 1 when there are no args
SVN revision: 54860
2010-11-23 10:25:58 +00:00
Sebastian Dransfeld d959bab700 Only remove from existing list
SVN revision: 54830
2010-11-22 20:51:20 +00:00
Gustavo Sverzut Barbieri dd19bf1205 fix screensaver events, /me spanks raster (r53942)
SVN revision: 54791
2010-11-22 14:27:43 +00:00
Mike Blumenkrantz ceec64fa76 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


SVN revision: 54702
2010-11-18 19:56:26 +00:00
Mike Blumenkrantz 12c4b5b595 fix annoying uninitialized value warning
SVN revision: 54699
2010-11-18 18:45:39 +00:00
Mike Blumenkrantz 080d4c8d35 remove the last (I think?) O(n) operation from ecore fd handling
SVN revision: 54669
2010-11-18 07:23:14 +00:00
Mike Blumenkrantz fcd427bd43 spruce up error message a bit
SVN revision: 54667
2010-11-18 05:49:25 +00:00
Cedric BAIL c381181854 * 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.


SVN revision: 54633
2010-11-17 16:26:08 +00:00
Cedric BAIL e2ea02acfa * ecore: fix event_window for Ecore_SDL.
SVN revision: 54630
2010-11-17 13:53:04 +00:00
Mike Blumenkrantz 24c0ebda74 fix error handling of plaintext connect, print ERR on connect failure
SVN revision: 54624
2010-11-17 09:31:15 +00:00
Mike Blumenkrantz 92e255f0dc benchmark/test apps for ecore_con server/client as well as fd handlers
SVN revision: 54623
2010-11-17 08:29:33 +00:00
Mike Blumenkrantz a84f3febac fix list removal for prep/buf functions to avoid annoying eina warnings
SVN revision: 54620
2010-11-17 06:57:29 +00:00
Mike Blumenkrantz 1fc9591c57 scaling optimizations round 2: add list for fd handler buffer functions
also delete fdhs from prep/buf lists on cleanups when possible


SVN revision: 54619
2010-11-17 06:50:52 +00:00
Mike Blumenkrantz 8edaf11298 clean up unused warnings
SVN revision: 54618
2010-11-17 06:41:41 +00:00
Mike Blumenkrantz d9882a6c00 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
SVN revision: 54617
2010-11-17 06:24:49 +00:00
Mike Blumenkrantz 2747a8a86b optimization pass #1: 5% server speed increase
only get client ip addr when ecore_con_client_ip_get() is called, always stringshare ip addresses


SVN revision: 54612
2010-11-16 21:32:50 +00:00
Cedric BAIL 4fc861fe81 * ecore: raise gl_sdl priority over software_sdl.
SVN revision: 54595
2010-11-16 15:38:22 +00:00
Carsten Haitzler a27ab1e696 see comment.
SVN revision: 54549
2010-11-14 09:00:24 +00:00
Mike Blumenkrantz a32b3d4c8a revert bitfielding of a bool to avoid possible abi break
SVN revision: 54530
2010-11-13 12:25:45 +00:00
Mike Blumenkrantz 858c38a922 unsigned char -> Eina_Bool cleanups; these files are in great need of documentation! if you know the code, please write help!
SVN revision: 54529
2010-11-13 12:01:55 +00:00
Mike Blumenkrantz 55da81c2ef should be bool since we already include eina
SVN revision: 54521
2010-11-12 18:37:27 +00:00
Cedric BAIL 70e488feff * efl: beta2 !
SVN revision: 54507
2010-11-12 16:01:55 +00:00
Cedric BAIL e61f8560ea * ecore: break Ecore_Thread API once and for all to make it consistent.
SVN revision: 54502
2010-11-12 13:28:19 +00:00
Bruno Dilly 0bc55e69b2 Fix typo in ecore AUTHORS
By Daniel Juyung Seo (SeoZ) <juyung.seo@samsung.com>



SVN revision: 54500
2010-11-12 13:08:50 +00:00
Mike Blumenkrantz cc01698872 avoid looping infinitely while freeing servers, and don't log while freeing servers in case ecore_con's log domain has already been unregistered
SVN revision: 54479
2010-11-11 20:34:35 +00:00
Mike Blumenkrantz 3552a91b7d only free clients that aren't waiting on events to free them to prevent a segv
SVN revision: 54478
2010-11-11 20:20:44 +00:00
Mike Blumenkrantz c24c33cb54 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
SVN revision: 54476
2010-11-11 19:53:21 +00:00
Cedric BAIL 272a92e8f3 * ecore: fix mouse wheel for frame buffer.
Patch by Eduardo Felipe <eduardofelipe87@gmail.com>.


SVN revision: 54471
2010-11-11 18:45:16 +00:00
Miculcy Brian f2c33e9bc0 Fix _ecore_file_path_from_env(), wrong strcpy source.
SVN revision: 54366
2010-11-09 14:09:16 +00:00
Iván Briano da9f3a357e ffs, bring these back in
SVN revision: 54325
2010-11-08 13:29:18 +00:00
Carsten Haitzler 65713eeb0f no more debian dir in our svn - debian now handles this tehmselves.
SVN revision: 54294
2010-11-08 05:50:09 +00:00
Vincent Torri 48d416b359 Killer feature: Windows app can have icons, now.
The doc explains everything.

SVN revision: 54283
2010-11-07 20:29:08 +00:00
Mike Blumenkrantz f334d907ae robustify ssl handshaking by catching extremely rare cases when the session has been deleted between handshake calls usually caused by thousands of concurrent sessions. yes, I'm benchmarking.
SVN revision: 54269
2010-11-07 05:36:40 +00:00
Vincent Torri c3530cb768 fix doc
SVN revision: 54252
2010-11-06 23:04:33 +00:00
Mike Blumenkrantz d8ab13a85f I got overexcited
SVN revision: 54242
2010-11-06 17:54:01 +00:00
Mike Blumenkrantz b6acfbffc9 add ecore_con strings
SVN revision: 54241
2010-11-06 17:06:56 +00:00
Mike Blumenkrantz 76bdd30da0 add magic strings for ecore_con
SVN revision: 54240
2010-11-06 17:04:09 +00:00
Carsten Haitzler 75abb8f8a3 fix - don't call new event handler added for the SAMe event. defer
adding in a list and handle after all current ahndlers for the event
have been called.



SVN revision: 54212
2010-11-06 03:11:17 +00:00
Mike Blumenkrantz fc6657453d typo fix
SVN revision: 54211
2010-11-06 02:59:11 +00:00
Mike Blumenkrantz 8a87f08107 delete servers on 0
SVN revision: 54209
2010-11-06 01:57:45 +00:00
Sebastian Dransfeld 8706b49355 Check events on right handler
SVN revision: 54208
2010-11-06 01:23:01 +00:00
Sebastian Dransfeld bc8a34b688 formatting
SVN revision: 54207
2010-11-06 01:22:50 +00:00
Sebastian Dransfeld 46cf959d70 Declaration at beginning of block
SVN revision: 54206
2010-11-06 01:22:40 +00:00
Sebastian Dransfeld 5fc5dcc215 Right fix for alloc
Actually we already checked that num != 0, but lacked num < 0 for one of
the allocs

SVN revision: 54205
2010-11-06 01:22:29 +00:00
Mike Blumenkrantz e289280418 add ecore_con_client_connected_get to avoid people scratching their heads and wondering how the hell they're supposed to know if a client has disconnected
SVN revision: 54204
2010-11-06 00:17:04 +00:00
Mike Blumenkrantz a5489cd5c7 remove erroneous return, add some debug info
SVN revision: 54203
2010-11-05 23:48:15 +00:00
Mike Blumenkrantz 0a32ddcc31 fix some cases where refcount was <0 and so things were not being freed
SVN revision: 54199
2010-11-05 20:55:02 +00:00
Mike Blumenkrantz add4a1d9a4 fix disconnect conditions for non-ssl reads
SVN revision: 54197
2010-11-05 19:46:48 +00:00
Sebastian Dransfeld 589e832cb7 Check whether we actually want to alloc data
SVN revision: 54179
2010-11-05 13:11:52 +00:00
Mike Blumenkrantz 8a66dd5b56 ++ecore_event_handler_data_{set,get}
SVN revision: 54162
2010-11-04 20:51:17 +00:00
Mike Blumenkrantz 6c1cd431a2 malloc check
SVN revision: 54156
2010-11-04 15:48:17 +00:00
Mike Blumenkrantz 2b0ff1a99f for some reason we weren't setting write on fds when all data had not been sent. this should make ecore_con MUCH snappier
SVN revision: 54155
2010-11-04 15:01:05 +00:00
Mike Blumenkrantz b9fade7530 more refactoring, fix bug that was exposed where a completed ssl read (which returns 0 bytes) causes disconnect
SVN revision: 54134
2010-11-03 19:38:00 +00:00
Mike Blumenkrantz 3ffb7e4c16 use safety macros to check mallocs, remove some dead code, optimize read loops by removing them, refactor a lot of code to not be indented halfway across the screen
SVN revision: 54133
2010-11-03 19:08:31 +00:00
Mike Blumenkrantz ddd151bf37 reformat using ecrustify because uncrustify dicked it up previously
SVN revision: 54128
2010-11-03 17:58:37 +00:00
Mike Blumenkrantz 33c81c1983 add some safety checks so people can see wtf went wrong when sends fail
SVN revision: 54125
2010-11-03 16:11:12 +00:00
Carsten Haitzler be6cf01bb8 make sure it has dynamic hint set.
SVN revision: 54114
2010-11-03 04:08:09 +00:00
Mike Blumenkrantz ecd54f41fe because SUCCESS is not an error.
SVN revision: 54078
2010-11-01 20:46:39 +00:00
Mike Blumenkrantz 01760826bb only free when exists
c/o vtorri


SVN revision: 54075
2010-11-01 11:24:29 +00:00
Mike Blumenkrantz 57cee09e0d eh I guess I'll clean up a little bit on failure too
SVN revision: 54074
2010-11-01 07:11:25 +00:00
Mike Blumenkrantz 025cfe4c67 fix incorrect realloc usage
SVN revision: 54073
2010-11-01 07:10:07 +00:00
Carsten Haitzler 0d32e98d24 alloca - not strdupa.
SVN revision: 54068
2010-10-31 12:53:50 +00:00
Mike Blumenkrantz e4439fb0c6 add a sweet DBG logging function for gnutls because logging info rules
SVN revision: 53980
2010-10-29 04:31:16 +00:00
Mike Blumenkrantz c469c5bddf comment out all psk code since I haven't implemented it yet, fix gnutls servers (how the hell did it break?????)
SVN revision: 53979
2010-10-28 23:51:08 +00:00
Mike Blumenkrantz 4ca9db7909 a little bit of reformatting, be explicit with dhp allocation, and add server verification for client certs (apparently I was off my cut and paste game that day)
SVN revision: 53974
2010-10-28 18:25:35 +00:00
Mike Blumenkrantz 446c27ac31 remove dead code
SVN revision: 53973
2010-10-28 18:24:22 +00:00
Eduardo de Barros Lima 454f896043 Ecore: Decide whether library will be built or not in upper level
As requested by vtorri. :D



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


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



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


SVN revision: 53572
2010-10-18 16:39:12 +00:00
Cedric BAIL 7100d4ac62 * ecore: remove now useless structure.
Patch by Raphael Kubo da Costa <kubo@profusion.mobi>


SVN revision: 53570
2010-10-18 13:49:06 +00:00
Cedric BAIL 313e855af5 * ecore: proper protection of newer constant.
SVN revision: 53567
2010-10-18 13:11:25 +00:00
Cedric BAIL 680fa431b3 * ecore: remove ecore_con_url_http_post_send as it expose CURL
API and is not useful to someone.


SVN revision: 53566
2010-10-18 12:52:46 +00:00
Carsten Haitzler 18f7762fc0 make sure we have undefed stuff
SVN revision: 53562
2010-10-18 05:09:30 +00:00
Carsten Haitzler d11662c09c note that its experiemntal
SVN revision: 53560
2010-10-18 04:52:11 +00:00
Vincent Torri a17c58d0b0 improve doc layout
SVN revision: 53509
2010-10-17 07:03:28 +00:00
Mike Blumenkrantz b149ef3a37 typedef function pointer
SVN revision: 53500
2010-10-16 23:02:35 +00:00
Iván Briano 1277d5b855 Dead code bye bye
SVN revision: 53497
2010-10-16 21:32:08 +00:00
Christopher Michael 50101673d4 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.



SVN revision: 53477
2010-10-15 23:19:45 +00:00
Mike Blumenkrantz 38c32c19a0 add info when generating dh params so people will know wtf is going on when their app hangs for an hour on startup
SVN revision: 53473
2010-10-15 21:31:25 +00:00
Carsten Haitzler 8be0e4590e remove changes in case developer dumber than expected?
:) (aagh was most annoying to find this today).



SVN revision: 53437
2010-10-15 07:42:29 +00:00
Mike Blumenkrantz 1df6a75020 make this more explicit in case compiler is dumber than expected?
SVN revision: 53431
2010-10-14 22:13:40 +00:00
Cedric BAIL 94fb47d168 * ecore: improve and fix ecore_thread destruction.
SVN revision: 53411
2010-10-14 16:45:48 +00:00
Cedric BAIL 5ce901459c * ecore: don't leak pipe.
SVN revision: 53410
2010-10-14 16:45:17 +00:00
Mike Blumenkrantz 513bdc7da1 stop trying to use ssl for local connections
SVN revision: 53409
2010-10-14 16:19:17 +00:00
Cedric BAIL 6d6f5c7360 * AUTHORS: don't forget to blame T_UNIX for his work on xrandr.
SVN revision: 53403
2010-10-14 14:49:49 +00:00
Cedric BAIL 25e84c7f3d * 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.


SVN revision: 53370
2010-10-13 17:45:07 +00:00
Cedric BAIL 00c7021fcb * ecore: turn on and off eina threads support when needed.
SVN revision: 53364
2010-10-13 16:44:15 +00:00
Mike Blumenkrantz e2662d1b7c 2 obscure bugs in one commit:
make cert use more overt and set up fd handler before attempting to use it


SVN revision: 53363
2010-10-13 16:40:52 +00:00
Mike Blumenkrantz a880b29c6e <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


SVN revision: 53334
2010-10-13 03:04:53 +00:00
Carsten Haitzler 031f1fecf5 and.. be safe! for funcs so they dont go closing things when they
already are.



SVN revision: 53324
2010-10-13 00:37:12 +00:00
Carsten Haitzler 5eeda40f55 if pipe handler deletes the pipe... be safe!
SVN revision: 53323
2010-10-13 00:35:09 +00:00
Cedric BAIL 21b78d18b3 * ecore: fix ecore_fb build.
SVN revision: 53303
2010-10-12 11:49:18 +00:00
Tom Hacohen 6390f7f88f Ecore imf: Fixed documentation issues, patch by Jihoo Kim.
Fixed typos.
Made ecore_imf_context_preedit_string_get appear in doxygen output.

SVN revision: 53300
2010-10-12 08:59:42 +00:00
Vincent Torri c5976de2ee typo
SVN revision: 53298
2010-10-12 07:55:45 +00:00
Vincent Torri 9243d767a7 Ecore_Fb doc finished
SVN revision: 53297
2010-10-12 07:55:24 +00:00
Vincent Torri eeb330adc3 fix doxygen warnings
SVN revision: 53296
2010-10-12 06:34:31 +00:00
Lucas De Marchi fcad2a9244 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>



SVN revision: 53275
2010-10-11 19:13:12 +00:00
Lucas De Marchi 8912b4aa1d 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>



SVN revision: 53274
2010-10-11 19:12:26 +00:00
Lucas De Marchi f39cdf2666 Always use ecore_con_url_ftp_use_epsv_set's parameters.
unused_warning--

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



SVN revision: 53273
2010-10-11 19:12:09 +00:00
Lucas De Marchi bd92321ff1 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>



SVN revision: 53272
2010-10-11 19:11:54 +00:00
Lucas De Marchi c468b8c64b 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>



SVN revision: 53271
2010-10-11 19:11:26 +00:00
Lucas De Marchi b4e6e97808 Add a missing leading underscore to static variables.
By: Raphael Kubo da Costa <kubo@profusion.mobi>



SVN revision: 53270
2010-10-11 19:11:02 +00:00
Lucas De Marchi c74eece7d1 Remove erroneus __UNUSED__ mark.
data is indeed used by _ecore_con_url_idler_handler.

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



SVN revision: 53269
2010-10-11 19:10:43 +00:00
Cedric BAIL d2736c4d66 ecore: return more information on pipe_read error.
SVN revision: 53263
2010-10-11 13:27:03 +00:00
Carsten Haitzler 1cae896bba delay comp setup until show. (and unset on hide)
SVN revision: 53256
2010-10-11 06:28:01 +00:00
Gustavo Lima Chaves 6656e77c9c Yet another int -> Eina_Bool fix, similar to the one done to
ecore_con_url_verbose_set.

Patch by Rafael Kubo.



SVN revision: 53197
2010-10-08 18:41:49 +00:00
Bruno Dilly 13883b21f4 Document ecore_con_url_verbose_set's behaviour.
Author: Raphael Kubo da Costa <kubo@profusion.mobi>



SVN revision: 53191
2010-10-08 15:22:09 +00:00
Bruno Dilly 1a6d3a3eb7 unused_warning--
Author: Raphael Kubo da Costa <kubo@profusion.mobi>



SVN revision: 53190
2010-10-08 15:19:48 +00:00
Bruno Dilly b26732d09c In practice, it was already being treated as an Eina_Bool, so let us
declare it as such and simplify the code.

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



SVN revision: 53189
2010-10-08 15:17:01 +00:00
Gustavo Sverzut Barbieri 3a88bc8b71 log domains in lower-case only please.
let's make it a standard so we don't have to look at the code
everytime to figure out the name...



SVN revision: 53172
2010-10-07 22:31:46 +00:00
Eduardo de Barros Lima 2f1827d132 Ecore: No need to #define _GNU_SOURCE
SVN revision: 53162
2010-10-07 20:40:33 +00:00
Mike McCormack b34b4c2359 From: Mike McCormack <mj.mccormack@samsung.com>
Subject: ecore-glib integration patches

0001-Make-gmain-integration-work.path applies to the enlightenment SVN.

(in svn with some formatting fixes applied).



SVN revision: 53135
2010-10-07 07:23:26 +00:00
Lucas De Marchi 5c43c88f74 Fix signal accounting
copy&paste--

By: "Ulisses Furquim" <ulisses@profusion.mobi>


SVN revision: 53129
2010-10-07 00:33:51 +00:00
Carsten Haitzler ac77353cfa lets set num to 0 shall we? :)
SVN revision: 53126
2010-10-06 23:54:06 +00:00
Massimo Maiurana 496dda51d4 updating portuguese and italian translations
SVN revision: 53105
2010-10-06 17:38:09 +00:00
Cedric BAIL 6b5c401b1f * ecore: fix typo.
SVN revision: 53098
2010-10-06 13:01:35 +00:00
Cedric BAIL d617b8574d * ecore: refcount send and received notify to prevent leak on
ecore_thread_cancel.


SVN revision: 53096
2010-10-06 11:48:45 +00:00
Cedric BAIL 05262d2120 * ecore: remove thread from the correct list.
SVN revision: 53029
2010-10-04 15:24:34 +00:00
Cedric BAIL f728fbf8f7 * ecore: fix build without X.
SVN revision: 53015
2010-10-04 09:35:06 +00:00
Carsten Haitzler f7ad965e20 ecore-dfb - double+triple too.
SVN revision: 53013
2010-10-04 09:17:59 +00:00
Carsten Haitzler 6893412d80 aaagh ecore_fb needs double/triple fix too.
SVN revision: 53012
2010-10-04 09:02:43 +00:00
Carsten Haitzler a77152c531 fix double/triple click
SVN revision: 53010
2010-10-04 07:58:06 +00:00
Carsten Haitzler 91466cf439 efl 1.0.0 beta.
SVN revision: 52992
2010-10-03 09:21:08 +00:00
Mike Blumenkrantz 2f5589d890 add DBG for successfully completing SSL verification. with this commit, I believe that the ssl api should be 100% functional.
SVN revision: 52988
2010-10-02 22:27:30 +00:00
Mike Blumenkrantz e8ee2a75f0 require peer verification when verify is called
SVN revision: 52987
2010-10-02 22:01:43 +00:00
Mike Blumenkrantz 134055d9d1 update to connect to www.verisign.com:443 by default, loading all certs in /etc/ssl/certs prior
SVN revision: 52986
2010-10-02 22:01:14 +00:00
Mike Blumenkrantz abad9a5eb3 clear out the _try series of functions because they're useless
SVN revision: 52985
2010-10-02 21:13:56 +00:00
Mike Blumenkrantz 01c2990b47 openssl fixes:
only enable CRL checking when CRLs are loaded
	output full ssl session info to DBG


SVN revision: 52982
2010-10-02 09:58:06 +00:00
Carsten Haitzler 201b13a221 NOOOOOOOOOOO spank disco-stu! spank. dont just dumbly shut warnings
up. read the code. its only because you HAPPEN to not have screensaver
support enabled that you happen to get the warning.



SVN revision: 52981
2010-10-02 09:32:45 +00:00
Mike Blumenkrantz 38f1d822a0 __UNUSED__
SVN revision: 52980
2010-10-02 09:15:22 +00:00
Mike Blumenkrantz 03d5ae91ca formatting, correctly set ->ssl_err when appropriate, add cert verification for openssl
SVN revision: 52979
2010-10-02 09:14:41 +00:00
Carsten Haitzler 44093c2bdc set client leader by default - support setting it explicitly from code
too. fix default win props too.



SVN revision: 52974
2010-10-02 01:56:23 +00:00
Mike Blumenkrantz 603831821f some DBG edits, fix case where ssl handshake completes and no more data is sent/received
SVN revision: 52972
2010-10-02 01:32:54 +00:00
Mike Blumenkrantz 2516eec5f8 fix openssl CRL loading
SVN revision: 52971
2010-10-02 01:32:05 +00:00
Carsten Haitzler a1cc721153 implement ecore_x_image to finish - put and convert done. actually no
need for convert from argb as that requires what evas already does
argb-> screen depth. use evas for that.



SVN revision: 52950
2010-10-01 12:31:22 +00:00
Carsten Haitzler 1e45be0a72 aaah bad. changed to free.
SVN revision: 52945
2010-10-01 07:38:36 +00:00
Howell Tam fcbc86aec9 From: Howell Tam <howell.tam@fluffyspider.com>
Subject: ecore_file_download.c patch

Leak fix. Free url_con.



SVN revision: 52944
2010-10-01 07:04:07 +00:00
Vincent Torri 1c1f20484e tab--
SVN revision: 52922
2010-09-30 07:35:00 +00:00
Vincent Torri 33ecb571b6 tab--
SVN revision: 52921
2010-09-30 07:31:11 +00:00
Vincent Torri 519007d376 tab--
SVN revision: 52920
2010-09-30 07:25:06 +00:00
Vincent Torri 586334710d tab--
SVN revision: 52919
2010-09-30 07:24:46 +00:00
Vincent Torri 16263f52cc tab--
SVN revision: 52918
2010-09-30 06:09:20 +00:00
Mike Blumenkrantz 0aaad2d41e add returns for later certificate checking
SVN revision: 52916
2010-09-30 01:53:23 +00:00
Mike Blumenkrantz 585fecac5b add fd flags for openssl
SVN revision: 52915
2010-09-30 01:50:58 +00:00
Mike Blumenkrantz ce529f9758 formatting
SVN revision: 52914
2010-09-30 01:01:41 +00:00
Mike Blumenkrantz a5d9f332a0 wow. just...wow
SVN revision: 52913
2010-09-30 00:45:48 +00:00
Mike Blumenkrantz e3ab6e3aeb I tried the lfelipe method: "hey, if fixing it seems to not be working, shouldn't you try to screw it up?"
it didn't work.


SVN revision: 52912
2010-09-30 00:01:25 +00:00
Mike Blumenkrantz 6990394b46 wow mike, you need to take a vacation. immediately.
change fd handler flags to be set when the handshake ISN'T finished


SVN revision: 52911
2010-09-29 23:56:31 +00:00
Mike Blumenkrantz 7cb095cc24 set fd handler flags properly from gnutls, update dbg info accordingly
reminder: do this for openssl later


SVN revision: 52910
2010-09-29 23:53:00 +00:00
Mike Blumenkrantz d82f8c771e update to set fd handler flags
SVN revision: 52909
2010-09-29 23:50:33 +00:00
Iván Briano e6aa360c21 As requested by T_UNIX, remove the mention of any git hash in the comment, as it doesn't seem to be valid for upstream.
SVN revision: 52908
2010-09-29 22:34:02 +00:00
Mike Blumenkrantz 66d5d4e048 forgot about old gnutls
SVN revision: 52907
2010-09-29 22:05:42 +00:00
Mike Blumenkrantz f799de1375 even more verbose debug output
SVN revision: 52906
2010-09-29 22:04:11 +00:00
Mike Blumenkrantz f6f6a5979a whoops, committed wrong version of this before
SVN revision: 52905
2010-09-29 21:37:24 +00:00