Christopher Michael
8d02656dc5
Ecore_X_Image: Add missing LOGFN for ecore_x_image_put.
...
SVN revision: 57134
2011-02-17 20:11:20 +00:00
Christopher Michael
d2dc1f438b
Ecore_X_Image: Add trap for potential missing XImage.
...
if Ecore_X_Image-->XImage does not exist, we call
_ecore_x_image_shm_create to create it via shm, BUT that function
can return a NULL XImage if shm is not supported, so we need to check
the return of that, else we are calling XShmPutImage with no XImage.
(NB: This should probably be backported to 1.0...if someone could
handle that please ?)
SVN revision: 57130
2011-02-17 18:38:56 +00:00
Cedric BAIL
ff6e1d950e
ecore: oops, forgotten return.
...
SVN revision: 57088
2011-02-16 12:46:24 +00:00
Cedric BAIL
16cd7939ff
ecore: Add ecore_file_download_full patch by Sangho Park <gouache95@gmail.com>
...
SVN revision: 57087
2011-02-16 12:44:34 +00:00
Mike Blumenkrantz
d704222f1c
only log error events for actual errors
...
SVN revision: 57065
2011-02-15 20:17:48 +00:00
Mike Blumenkrantz
0f1cd8b482
add more descriptive error messages for epoll flag mod failure
...
SVN revision: 57063
2011-02-15 19:51:06 +00:00
Mike Blumenkrantz
276eccb1bf
+ecore_con_client_port_get
...
SVN revision: 56950
2011-02-11 07:38:27 +00:00
Mike Blumenkrantz
84cd9199de
avoid double printing errors
...
SVN revision: 56934
2011-02-10 19:22:30 +00:00
Mike Blumenkrantz
8c9577dc2a
rewrite all event handler code to be unified, always increment server event count for client events (previously was only incremented on some events randomly)
...
SVN revision: 56933
2011-02-10 19:17:30 +00:00
Mike Blumenkrantz
daafddb571
implement full event-driven error messaging api for all non-curl ecore_con
...
docs are in the header, happy birthday cedric
SVN revision: 56894
2011-02-10 08:49:23 +00:00
Mike Blumenkrantz
54baacb790
added some more possibly useless safety checks to ecore_con_ares
...
SVN revision: 56892
2011-02-10 07:50:20 +00:00
Sebastian Dransfeld
bd1b8e9985
renmae variable to prevent name clash
...
SVN revision: 56856
2011-02-09 17:10:00 +00:00
Mike McCormack
d909b912b4
From: Mike McCormack <mj.mccormack@samsung.com>
...
Subject: [E-devel] [PATCH] Remove SIGRT stuff
Unused, and doesn't work as it stands. Delete...
SVN revision: 56641
2011-02-02 01:27:24 +00:00
Carsten Haitzler
f55fa9619c
revert mike's patch - creates endless stream of complaints/badness.
...
SVN revision: 56626
2011-02-01 10:21:22 +00:00
Mike McCormack
7443e3ecb5
From: Mike McCormack <mj.mccormack@samsung.com>
...
Subject: Re: [E-devel] [PATCH] Handle ecore signals with a pipe
This removes a race condition in the main loop where
a signal could come after the signal check, and before
entering the select loop, possibly resulting in a hang.
In practice, this hang wouldn't be seen due to other activity
in the main loop.
SVN revision: 56613
2011-02-01 05:56:15 +00:00
Davide Andreoli
ecf4379680
ok, sorry, there was a reason: shutting up gcc warnings. spank myself :P
...
SVN revision: 56612
2011-01-31 18:57:13 +00:00
Davide Andreoli
080b978c88
:/ setting a const char * param to NULL ?? and after the return ?? :O
...
random spank
SVN revision: 56611
2011-01-31 18:48:50 +00:00
Davide Andreoli
b84bd07b90
tab--
...
SVN revision: 56610
2011-01-31 17:29:24 +00:00
Carsten Haitzler
75b46faa61
fix sync to send done messges but not wait for sync counter with gl
...
engine.
SVN revision: 56563
2011-01-31 06:21:57 +00:00
Rui Seabra
02b46306bf
Fix error message and mark previous change in ChangeLog
...
SVN revision: 56391
2011-01-29 23:15:17 +00:00
Rui Seabra
bc85d09f19
Support https and support some add some debugging messages. Also removed that FIXME as it's implemented in the case of linking with curl.
...
SVN revision: 56390
2011-01-29 22:46:23 +00:00
Mike McCormack
56b1e2dcc4
From: Mike McCormack <mj.mccormack@samsung.com>
...
Subject: [E-devel] [PATCH] ecore main loop "fd_handlers_to_call" list optimization
Date: Thu, 02 Dec 2010 15:22:13 +0900
Hi All,
Rather than using malloc'ed list entries in the mail loop, use a single linked in-place list.
This avoid lots of mallocs and frees as the main loop iterates.
thanks,
Mike
SVN revision: 56368
2011-01-29 05:34:00 +00:00
Carsten Haitzler
6819161c96
provide enums for progress return.
...
SVN revision: 56350
2011-01-29 02:48:03 +00:00
Carsten Haitzler
8c75bff8c9
,++ in docs
...
SVN revision: 56343
2011-01-28 14:38:53 +00:00
Vincent Torri
6ef596d4d5
Use memcpy instead of strndup() as we know the length of the string.
...
Also fixes compilation on Mac OS X where strndup() is not defined.
SVN revision: 56341
2011-01-28 09:17:54 +00:00
Carsten Haitzler
5459ecbcee
fix documentation so vtorri can write a correct example :)
...
SVN revision: 56340
2011-01-28 03:00:48 +00:00
Carsten Haitzler
51c7fa56c0
re-enable progress callbacks.
...
SVN revision: 56339
2011-01-28 02:46:27 +00:00
Carsten Haitzler
a450497a08
ecore_con_url_get needs no args.
...
SVN revision: 56338
2011-01-28 02:24:24 +00:00
Davide Andreoli
9893be7b25
typo in doxy
...
SVN revision: 56334
2011-01-27 21:48:51 +00:00
Mike Blumenkrantz
4cb086f57b
fix doc typo
...
SVN revision: 56330
2011-01-27 20:40:02 +00:00
Vincent Torri
d7ab1f34f3
typo
...
SVN revision: 56328
2011-01-27 19:06:39 +00:00
Carsten Haitzler
6d83a46b76
exe none enum++
...
SVN revision: 56315
2011-01-27 03:30:42 +00:00
Mike Blumenkrantz
17930e3b31
fix segv
...
SVN revision: 56314
2011-01-27 03:23:05 +00:00
Mike Blumenkrantz
9bfc56caf3
unsigned int : 1 -> Eina_Bool : 1
...
SVN revision: 56310
2011-01-26 18:38:13 +00:00
Mike Blumenkrantz
8ac00624a3
add @file for doxy
...
SVN revision: 56309
2011-01-26 18:23:45 +00:00
Mike McCormack
67c261a8af
From: Mike McCormack <mj.mccormack@samsung.com>
...
ecore_config code may end up closing stdin, due to assuming 0 is a valid fd.
I know this code is deprecated, and it's being kept around "for reference".
Either:
A) this bug should still be fixed so bad code is not copied elsewhere
OR
B) ecore_config should be deleted so bad code is not copied elsewhere
thanks,
Mike
SVN revision: 56275
2011-01-24 01:59:09 +00:00
Mike McCormack
e7c983aaec
From: Mike McCormack <mj.mccormack@samsung.com>
...
The ecore_fb keyboard code may end up closing stdin.
The attached patch fixes this bug.
thanks,
Mike
SVN revision: 56274
2011-01-24 01:58:08 +00:00
Vincent Torri
f2c3d976f8
use typedef type for ecore_main_loop_select_func_get() API
...
SVN revision: 56261
2011-01-22 10:11:14 +00:00
Carsten Haitzler
dca85251b0
dns async lookup fix - if u del svr before dns lookup done
...
SVN revision: 56254
2011-01-21 10:01:04 +00:00
Cedric BAIL
d2d54ecad6
* ecore: SO_REUSEADDR in all case.
...
Patch thanks to Raoul Hecky < raoul.hecky at gmail.com >
SVN revision: 56253
2011-01-21 09:45:38 +00:00
Carsten Haitzler
cea2587c3b
dont call pipe handler if its deleted
...
SVN revision: 56251
2011-01-21 06:25:36 +00:00
Mike Blumenkrantz
c8b8806b29
more descriptive error messages when epoll fails
...
@mike_m: should we replace this with strerror_r implementation?
SVN revision: 56247
2011-01-20 22:37:57 +00:00
Mike Blumenkrantz
88a8651acb
I think someone meant to set it like this originally but was confused by the double negative.
...
ecore_con_url no longer shows progress bars
SVN revision: 56239
2011-01-20 09:27:19 +00:00
Carsten Haitzler
d95d5b5a82
missing IN_MODIFY!
...
SVN revision: 56210
2011-01-18 08:43:27 +00:00
Vincent Torri
da5549086a
add space key support on Windows
...
SVN revision: 56196
2011-01-16 18:48:08 +00:00
Carsten Haitzler
9f51fd635d
warning--
...
SVN revision: 56185
2011-01-16 08:10:50 +00:00
Carsten Haitzler
0247870d6e
BAD DISCOMFITOR! BROKE ecore_exe!
...
SVN revision: 56110
2011-01-14 11:58:58 +00:00
Carsten Haitzler
79a249e476
oh and i didnt realise - gl enigne can avoid sync as its swap based :)
...
SVN revision: 56108
2011-01-14 10:35:59 +00:00
Carsten Haitzler
cf7eca75f8
fix oh so many warnings and potential errors - scan report.
...
SVN revision: 56104
2011-01-14 07:03:33 +00:00
Carsten Haitzler
267968f64a
fix possible ptr deref bug waiting to happen if crtc_info is null.
...
SVN revision: 56091
2011-01-14 05:47:38 +00:00
Mike Blumenkrantz
c5b6b33530
avoid undefined array access
...
SVN revision: 56086
2011-01-14 03:11:00 +00:00
Mike Blumenkrantz
fe6de9181b
remove redundant line
...
SVN revision: 56085
2011-01-14 02:57:52 +00:00
Mike Blumenkrantz
6a9d1ed0c8
avoid null deref
...
SVN revision: 56084
2011-01-14 02:57:07 +00:00
Mike Blumenkrantz
13c0840cd2
avoid passing NULL to memcpy
...
SVN revision: 56083
2011-01-14 02:35:59 +00:00
Mike Blumenkrantz
dac94cd03a
if alloca fails you're screwed anyway, so not much point checking for it
...
SVN revision: 56082
2011-01-14 02:32:45 +00:00
Mike Blumenkrantz
86b9bc8479
avoid passing NULL to exec functions
...
SVN revision: 56081
2011-01-14 02:25:55 +00:00
Carsten Haitzler
5844d77a0a
geez! i used the wrong atom for pixmap prop! fix fix fix! it worked
...
only because copy and paste had get AND set use the same atom!
SVN revision: 56041
2011-01-11 06:14:04 +00:00
Mike Blumenkrantz
3ed55a28d8
null variables at start
...
SVN revision: 56031
2011-01-11 00:51:23 +00:00
Mike Blumenkrantz
86daaaaa3d
handle ares timeout more gracefully
...
SVN revision: 56025
2011-01-10 14:41:34 +00:00
Carsten Haitzler
6502ea96ea
hve to revert these commits. they hve created a whole chunk of 64bit
...
crashes on linux. this is REALLY bad. so remove these changes now.
SVN revision: 55981
2011-01-07 15:56:54 +00:00
Vincent Torri
7a078d0c76
use configure-time headers checks instead of compiler ones
...
SVN revision: 55975
2011-01-07 08:51:17 +00:00
Vincent Torri
bd6ce4a5e4
whitespace--
...
SVN revision: 55974
2011-01-07 08:18:19 +00:00
Mike Blumenkrantz
989a3f0693
avoid closing stdout (fd0)
...
SVN revision: 55959
2011-01-06 22:35:31 +00:00
Mike Blumenkrantz
828dce5677
complete rewrite of c-ares fd handling: fixes an instance of ticket #637 and also integrates with main loop much more nicely
...
SVN revision: 55958
2011-01-06 22:32:25 +00:00
Vincent Torri
89b5e3fa75
Windows CE clean up
...
SVN revision: 55955
2011-01-06 19:35:51 +00:00
Vincent Torri
658a9a8c05
AC_SYS_LARGEFILE defines _FILE_OFFSET_BITS
...
SVN revision: 55943
2011-01-06 18:39:55 +00:00
Eduardo de Barros Lima
adff898079
Add basic cookie support to Ecore_Con_Url.
...
This commit adds some simple wrapper functions for libcurl
cookie-related code to Ecore_Con_Url.
It is now possible to enable the cookie engine, clear cookies and
dump/load them from files.
Cookies in both HTTP header-style and cookie-jar are supported.
Patch by Raphael Kubo da Costa <kubo@profusion.mobi>
SVN revision: 55934
2011-01-06 16:10:38 +00:00
Carsten Haitzler
b60120b26b
ok rafael/rui - i've deprecated send and made a get and post call that
...
will explicitly do a get or a post. send is still there (deprecated)
and it just does what it did before - it guesses effectively. please
comment. :)
SVN revision: 55926
2011-01-06 06:33:25 +00:00
Mike Blumenkrantz
5c041c8421
remove dummy close() calls
...
SVN revision: 55924
2011-01-06 04:00:39 +00:00
Vincent Torri
27dddc444b
order of .la (cosmetic)
...
SVN revision: 55843
2011-01-04 12:49:17 +00:00
Mike Blumenkrantz
cde9f435f7
some updates to ecore_fd_valid: add dummy closes to track with strace (sup k-s) and switch sleep() to pause()
...
SVN revision: 55838
2011-01-04 06:58:34 +00:00
Carsten Haitzler
e8056f8f83
just in case - check if malloc fails.
...
SVN revision: 55837
2011-01-04 06:10:31 +00:00
Carsten Haitzler
039fe1e4bf
wtf? why a ! ... ??? that was wrong-ish.
...
SVN revision: 55802
2011-01-03 01:29:37 +00:00
Mike Blumenkrantz
677b5d0c73
this adds a small helper function for use in finding cases where the epoll fd gets deleted and calls it after each fdh function
...
if epoll support is not enabled, the function does nothing
this will be removed prior to actual release, but will be very useful in finding the last epoll bugs until then
SVN revision: 55791
2011-01-01 03:07:58 +00:00
Carsten Haitzler
1046621d6a
and we were missing vsync set support in ecore-evas, but had indirect
...
support. fix.
SVN revision: 55755
2010-12-26 10:17:31 +00:00
Mike McCormack
27c7fdcc2e
From: Mike McCormack <mj.mccormack@samsung.com>
...
Date: Mon, 20 Dec 2010 17:47:19 +0900
Subject: [PATCH] Deleting the same fdh twice is an error
SVN revision: 55676
2010-12-20 22:52:41 +00:00
Carsten Haitzler
2f564887ec
formatting
...
SVN revision: 55624
2010-12-18 01:47:29 +00:00
Sebastian Dransfeld
df817afd9a
only check errno if num < 0
...
SVN revision: 55611
2010-12-17 12:09:14 +00:00
Mike Blumenkrantz
14751dc4a1
add notes to prevent future breaking of ecore_con_ssl
...
SVN revision: 55606
2010-12-17 09:02:44 +00:00
Sebastian Dransfeld
3ce611e057
formatting
...
SVN revision: 55605
2010-12-17 08:48:36 +00:00
Sebastian Dransfeld
a8780986e8
don't accept 0 return
...
SVN revision: 55604
2010-12-17 08:44:53 +00:00
Sebastian Dransfeld
9a6b8adfec
only emit ECORE_CON_EVENT_SERVER_DATA when data
...
SVN revision: 55602
2010-12-17 08:15:52 +00:00
Cedric BAIL
ae9917c9f2
* ecore: SPANK ! SPANK ! SPANK !
...
The value of errno is only know when the result of a syscall
tell you to look at it. And don't set errno, that's a bad idea !
SVN revision: 55594
2010-12-16 13:16:40 +00:00
Cedric BAIL
8a4ad8c102
* ecore: fix obvious bug. But Ecore_Con with UDP session is
...
completly broken and no time to fix it.
Try elixir sample code:
http://code.google.com/p/freebox-elixir/source/browse/#svn%2Ftrunk%2Fexemples%2Fecore_con_udp
SVN revision: 55593
2010-12-16 13:08:49 +00:00
Carsten Haitzler
d19ff43b6e
if data is NULL for curl... make postfieldsize 0.
...
SVN revision: 55583
2010-12-16 08:35:29 +00:00
Carsten Haitzler
daafe9ee79
no - dont do http:// - then englebass is right need to do ftp://,
...
imap:// file:// .... the list never ends. the docs do explicitly say
its a hostname, NOT a url.
SVN revision: 55580
2010-12-16 08:07:10 +00:00
Mike Blumenkrantz
5af9081342
finally fix stupid ssl read bug for long transfers! also added a couple more error checks and reordered things to read a little better
...
SVN revision: 55577
2010-12-16 07:43:48 +00:00
Mike Blumenkrantz
913852ba34
validate name better, fix super frustrating bug where connections would inexplicably die if prefixed with http[s]://
...
SVN revision: 55573
2010-12-16 05:13:29 +00:00
Mike McCormack
7f5c026041
From: Mike McCormack <mj.mccormack@samsung.com>
...
Subject: [E-devel] [PATCH 4/4] ecore_fb: Zero is a valid fd value
SVN revision: 55572
2010-12-16 04:40:14 +00:00
Mike McCormack
c9b693655c
From: Mike McCormack <mj.mccormack@samsung.com>
...
Subject: [E-devel] [PATCH 3/4] ecore_con: Always close fd after remove
fdh from main loop
SVN revision: 55571
2010-12-16 04:39:38 +00:00
Mike McCormack
bdf1b4b330
From: Mike McCormack <mj.mccormack@samsung.com>
...
Subject: [E-devel] [PATCH 1/4] ecore_con: Always close fd after remove
fdh from main loop
SVN revision: 55570
2010-12-16 04:38:37 +00:00
Rui Seabra
5315577722
http auth was implemented way back in r48715 (one less item in FIXMEs).
...
SVN revision: 55557
2010-12-14 22:30:53 +00:00
Carsten Haitzler
a9028c4d63
discomfitor... SPANK! REVERT REVERT REVERT! i've been sitting in a
...
text console for a while because of this. and when dr. evil sits in a
text console for a while... he gets angry. when dr. evil gets angry,
mr. bigglesworth gets upset... and when mr. migglesworth gets upset...
PEOPLE DIE!
/me aims some sharks with laser beams @ discomfitor
(run e17 under valgrind. find out).
SVN revision: 55531
2010-12-13 07:26:21 +00:00
Vincent Torri
22d572c56a
fix potential problem with Windows 64 bits API.
...
SVN revision: 55528
2010-12-12 23:09:24 +00:00
Vincent Torri
202d5b65f4
use '#pragma message' instead of '#warning' when vc++ is used
...
SVN revision: 55527
2010-12-12 22:49:01 +00:00
Vincent Torri
27a9f2f86e
declare variables at the beginning of the block
...
SVN revision: 55526
2010-12-12 22:46:39 +00:00
Mike Blumenkrantz
75fee3c938
forgot a null check
...
SVN revision: 55522
2010-12-12 20:38:27 +00:00
Vincent Torri
b467360e80
change the size of the buffer
...
SVN revision: 55519
2010-12-12 18:09:35 +00:00
Mike Blumenkrantz
dd8fe515a3
fix usage of ecore_con functions to avoid magic failures: SOMEONE WHO KNOWS THIS CODE PLEASE DOUBLE CHECK FAILURE CASE RETURN VALUES
...
SVN revision: 55512
2010-12-12 14:41:04 +00:00
Mike Blumenkrantz
ee1d0dbc23
use more explicit error checks
...
SVN revision: 55498
2010-12-11 16:51:29 +00:00