Vincent Torri
f4e1c3a9b9
* add a _del function for win32 HANDLEs
...
* delete HANDLES when asked
* minor fixes in the win32 code
SVN revision: 43939
2009-11-23 23:09:48 +00:00
Vincent Torri
76fd6276a6
the handler must return 1 otherwise it is destroyed after the first call
...
SVN revision: 43938
2009-11-23 23:05:00 +00:00
Cedric BAIL
5175806e0c
* ecore: Fix some easy error in ecore_evas_quartz. But much more
...
is needed to make it correctly work.
SVN revision: 43922
2009-11-23 13:32:05 +00:00
Vincent Torri
9cc34d070a
define ecore_file_dowbload_abort when ecore_con is not available
...
(that is : it does nothing :)
SVN revision: 43916
2009-11-23 09:05:02 +00:00
Christopher Michael
1cf4a25eed
minor formatting.
...
SVN revision: 43855
2009-11-21 01:34:49 +00:00
Cedric BAIL
1d16f186fb
* ecore_con: Add support for TCP_NODELAY.
...
SVN revision: 43818
2009-11-20 10:58:19 +00:00
Cedric BAIL
d78f1d48cf
* ecore_con_url: When download was broken in the middle, you could
...
have a status of 200 without all data being downloaded. This should
fix this case.
SVN revision: 43805
2009-11-19 18:45:51 +00:00
Jonathan Atton
43115643e8
Ecore : cleanup
...
SVN revision: 43691
2009-11-14 14:06:58 +00:00
Jonathan Atton
3f3f79cd88
Ecore : Fix ecore con destroy
...
SVN revision: 43689
2009-11-14 13:43:38 +00:00
Gustavo Sverzut Barbieri
85111dfe87
do not run cleanup all the time and avoid bug of walking list from
...
inside list.
if l->next was also deleted by _ecore_main_fd_handlers_cleanup(), then
we had a crash :-(
SVN revision: 43676
2009-11-13 20:34:51 +00:00
Cedric BAIL
bd1bef6e2f
* ecore_con_url: The fd could change for a same url. So destroy it and recreat.
...
SVN revision: 43670
2009-11-13 18:12:09 +00:00
Jonathan Atton
8d55d3f443
Ecore : ecore_dowload return the job and we can canceled it.
...
SVN revision: 43668
2009-11-13 17:51:52 +00:00
Cedric BAIL
060153934a
* ecore: Fix ecore_timer_freeze during timer execution.
...
SVN revision: 43667
2009-11-13 17:37:43 +00:00
Cedric BAIL
c91bb90bf2
* ecore: Fix destruction of frozen timer, by not delaying their destruction.
...
SVN revision: 43665
2009-11-13 16:57:12 +00:00
Lars Munch
caf672636d
ecore_exe is currently not supported on WinCE
...
SVN revision: 43629
2009-11-12 15:15:57 +00:00
Vincent Torri
1b7b929a09
* link correctly ecore against pthread
...
* use the efl_pthread.m4 macro
* add configure output for pthread support in ecore
SVN revision: 43627
2009-11-11 23:43:58 +00:00
Vincent Torri
a2f8b6a526
Add Windows directory monitoring to ecore_file. It was tough.
...
A lot of thanks to Lars Munch for his great help
SVN revision: 43617
2009-11-11 17:45:55 +00:00
Mikhail Gusarov
a704b35961
Use proper index to select mask in _ecore_xcb_key_mask_get
...
SVN revision: 43607
2009-11-10 22:15:00 +00:00
Lars Munch
6abf0b9ac4
Fix linking issue when cross building from linux to windows
...
SVN revision: 43603
2009-11-10 16:58:20 +00:00
Vincent Torri
5ac53f41b8
fix compilation on windows OS
...
SVN revision: 43562
2009-11-08 23:37:20 +00:00
Vincent Torri
520c12f976
* ecore_exe_win32: manage ADD and DEL events. It works more or
...
less, but that Windows stuff is a bit like voodoo magic
* Ecore.h : we can use the Ecore_Exe events on Windows, now (at
least ADD and DEL, but the others will follow)
SVN revision: 43549
2009-11-08 22:19:30 +00:00
Vincent Torri
a206a8b183
fix compilation when no pthread is available
...
Cedric: returning false in ecore_thread_cancel is good ?
SVN revision: 43548
2009-11-08 22:16:17 +00:00
Vincent Torri
a6713c7af1
Fixes for the Win32 port:
...
* if ecore_events are in the queue, timeout 0 is passed and
MsgWaitForMultipleObjects returns immediately, which can
lead to problems. If timeout is 0, we do nothing (that is,
we wait for the ecore_events to finish first)
* manage the case when MsgWaitForMultipleObjects returns WAIT_FAILED
SVN revision: 43547
2009-11-08 22:14:48 +00:00
Vincent Torri
c13cc572f4
fix compilation on BSD systems
...
SVN revision: 43515
2009-11-07 19:10:08 +00:00
Vincent Torri
ae64144bc5
use static buffer
...
SVN revision: 43510
2009-11-07 07:09:06 +00:00
Vincent Torri
9db696ae0d
strdupa does not exist on BSD. Use simply strdup
...
SVN revision: 43509
2009-11-07 05:58:01 +00:00
Cedric BAIL
6310f0ef55
* ecore_thread: Add possibility to cancel Ecore_Thread.
...
WARNING: THIS BREAK API AND ABI !!!
SVN revision: 43501
2009-11-06 22:15:04 +00:00
Gustavo Sverzut Barbieri
e014cd7d72
ecore_getopt: missing dummy initializer.
...
not real problem, but shut up warnings.
SVN revision: 43382
2009-10-31 22:56:28 +00:00
Cedric BAIL
eb9bb2f832
* ecore_con_url: Fix bug using curl multi and basename.
...
SVN revision: 43357
2009-10-30 21:36:31 +00:00
Carsten Haitzler
765e981041
keep this as printf.
...
SVN revision: 43349
2009-10-30 13:08:54 +00:00
Daniel Kolesa
2b81de7c58
Ecore_Getopt: Do not mark internal stuff as translatable.
...
SVN revision: 43317
2009-10-27 18:36:54 +00:00
Vincent Torri
b513258cb1
fd_set is also in sys/select.h on OpenBSD
...
SVN revision: 43269
2009-10-25 14:48:12 +00:00
Carsten Haitzler
06b3646593
fix build!
...
SVN revision: 43260
2009-10-25 10:11:59 +00:00
Vincent Torri
fba68aef80
* add some todo
...
* after creating a child process, wait until it is really
running
SVN revision: 43256
2009-10-25 08:23:28 +00:00
Vincent Torri
f5fec31eb9
wait on HANDLES in the select loop on Windows.
...
SVN revision: 43253
2009-10-25 07:07:48 +00:00
Vincent Torri
2e25a97c11
on Windows, pipe_read (recv) and pipe_write (send) does not
...
use errno, and the returned result is managed a bit
differently than on unix
SVN revision: 43252
2009-10-25 07:02:03 +00:00
Vincent Torri
ba758fdd47
return immediatly if the title is NULL
...
SVN revision: 43247
2009-10-24 09:58:46 +00:00
Vincent Torri
198b55badb
return immediatly if we set NULL for the title of a window
...
i don't know what to do for ecore_x_icccm_name_class_set().
Should i return immediatly if one of the name or class is NULL ?
SVN revision: 43246
2009-10-24 09:48:33 +00:00
Vincent Torri
95709a3ef1
strdup() name and class only if they are not NULL
...
SVN revision: 43243
2009-10-24 06:59:30 +00:00
Cedric BAIL
2298aa7960
* ecore_evas: Add support for quartz backend in ecore_evas_new.
...
SVN revision: 43231
2009-10-23 15:00:50 +00:00
Cedric BAIL
2829dfc366
* ecore_con_url: Workaround progress callback called by curl after
...
destruction of the Ecore_Con_Url object.
SVN revision: 43228
2009-10-23 13:33:40 +00:00
Cedric BAIL
298147556b
* ecore_cocoa: Improve Mac OS X support.
...
SVN revision: 43196
2009-10-22 11:08:01 +00:00
Cedric BAIL
33fc62e73f
* ecore_evas: Fix typo.
...
SVN revision: 43185
2009-10-21 14:55:44 +00:00
Cedric BAIL
4953e0f5f6
* ecore: Add all header to package, will fix Quartz build with next package.
...
SVN revision: 43181
2009-10-21 13:42:10 +00:00
Vincent Torri
64d7bf0c71
events is an array of HANDLE's, not an array of pointers of HANDLE's
...
SVN revision: 43162
2009-10-20 10:46:05 +00:00
Vincent Torri
9a0797198d
too much INFO changed in INF...
...
SVN revision: 43139
2009-10-18 04:24:57 +00:00
Vincent Torri
a5ccd2516a
wrong log domain name
...
SVN revision: 43138
2009-10-18 04:24:02 +00:00
Vincent Torri
15d338f766
warnings--
...
SVN revision: 43114
2009-10-16 09:25:08 +00:00
Vincent Torri
9c3260b0db
put windows.h inside _WIN32 guards...
...
SVN revision: 43113
2009-10-16 09:23:34 +00:00
Vincent Torri
b7bd2998c4
ecore_exe for Windows.
...
Not complete yet but it executes a command and kills it
TODO: pipes
SVN revision: 43112
2009-10-16 09:17:26 +00:00
Vincent Torri
e59c99485c
formatting
...
SVN revision: 43111
2009-10-16 08:29:55 +00:00
Vincent Torri
1d7020335a
* add vi header
...
* include Ecore.h after stdlib.h so that pid_t is defined on windows
SVN revision: 43092
2009-10-15 06:26:01 +00:00
Vincent Torri
297e9817df
allow the compilation of ecore_file without ecore_con
...
SVN revision: 43075
2009-10-14 17:29:13 +00:00
Vincent Torri
3d9ecdf79e
fix compilation on Windows CE
...
SVN revision: 43057
2009-10-13 17:35:08 +00:00
Vincent Torri
4072d0b23d
* check the returned value of the _init() functions
...
* simplify a bit the init/shutdown functions
SVN revision: 42995
2009-10-10 05:28:43 +00:00
Vincent Torri
7680ac9922
* simplify a bit and fix init/shutdown functions
...
* rename logging macros
SVN revision: 42993
2009-10-10 03:45:35 +00:00
Vincent Torri
d6c7cc65d9
* simplify a bit and fix init/shutdown functions
...
* rename logging macros
SVN revision: 42992
2009-10-10 03:45:06 +00:00
Vincent Torri
43d3c84907
no need for ref count in ecore_thread init/shutdown functions
...
SVN revision: 42991
2009-10-10 03:24:56 +00:00
Vincent Torri
1bb00c3afe
remove unused variable
...
SVN revision: 42945
2009-10-07 18:38:08 +00:00
Cedric BAIL
380cc70ccc
* ecore_con: Reduce risk of segv.
...
SVN revision: 42934
2009-10-07 11:59:26 +00:00
Vincent Torri
0864234087
no more ecore data needed in ecore_sdl
...
SVN revision: 42870
2009-10-03 15:51:54 +00:00
Vincent Torri
918fdb530f
clean ecore_config Makefile.am
...
SVN revision: 42868
2009-10-03 14:58:28 +00:00
Vincent Torri
832b0ee18f
too much \n in einal log macros
...
SVN revision: 42854
2009-10-02 04:40:46 +00:00
Vincent Torri
c06f58dc3f
logify ecore_evas. Patch by Mathieu Taillefumier (a bit modified)
...
SVN revision: 42852
2009-10-02 04:35:04 +00:00
Vincent Torri
4cccce6dfe
query sync counter. Round trip to fix, though
...
SVN revision: 42835
2009-10-01 09:03:23 +00:00
Carsten Haitzler
5a9e8df882
from jeffdameth: query sync counter
...
SVN revision: 42833
2009-10-01 08:43:54 +00:00
Vincent Torri
160d5c97b2
send last timestamp as time.
...
SVN revision: 42832
2009-10-01 08:30:24 +00:00
Carsten Haitzler
b38556b7b9
send last timestamp as time.
...
SVN revision: 42831
2009-10-01 08:23:00 +00:00
Gustavo Sverzut Barbieri
728841b576
welcome glib main loop integration support.
...
that's it, it's here... tested and works fine, please try with your
favorite gmainloop dependent library and report problems. Suggestions:
* GConf to access Gnome and its applications settings.
* GtkSettings to access other properties of Gnome and its applications.
* GUPnP (okay, we have EUPnP, but they have more features so far)
* Rygel, based on GUPnP.
* Libsoup, SOAP and HTTP access, useful for web access and required
by other libraries.
* Mojito, by Moblin, access to various web2.0 services like flickr,
picasa, twitter...
And last but not least, this enables Flash plugin on WebKit-EFL and
may enable us to get Google Gadgets sooner (before someone writes a
proper EFL backend).
Support is auto-detected at compile time but can be disabled with
--disable-glib. Runtime support is not enabled by default (so
compiling with it will just link yet another library), one needs to
call ecore_main_loop_glib_integrate() to do so.
Thanks to INdT folks that provided the initial implementation. I
rewrote it to make it correct, but the idea was good.
SVN revision: 42825
2009-10-01 03:56:38 +00:00
Vincent Torri
e069ea2fa1
Fix timestamps unit. Allow cinetic animation in elementary lists
...
SVN revision: 42774
2009-09-28 17:36:43 +00:00
Vincent Torri
3a0ee809e3
remove \n in logging messages
...
SVN revision: 42738
2009-09-27 03:56:12 +00:00
Vincent Torri
9f26b75b44
Use LTLIBINTL instead of LIBINTL
...
SVN revision: 42711
2009-09-26 13:05:20 +00:00
Mikhail Gusarov
8b293c2209
Fix memory corruption in ecore_xcb_window.c::ecore_x_window_children_get
...
Function allocated reply->children_len bytes, and then copied
sizeof(Ecore_X_Window) * reply->childen_len bytes into the buffer, leading
to memory corruption.
SVN revision: 42624
2009-09-22 18:18:28 +00:00
Iván Briano
6cf87428a4
Improve documentation for Evas, Ecore, Edje and Elementary.
...
Work by:
- Thiago R. Masaki (mostly)
- Fabiano Fidencio
- Gustavo Lima
SVN revision: 42551
2009-09-17 22:38:22 +00:00
Vincent Torri
df88395e4f
* fix logging for Windows XP and CE port
...
by adding namespace to logging macros
* formatting and warning cleanup
SVN revision: 42341
2009-09-08 05:39:09 +00:00
Peter Wehrfritz
809cfd97ff
eina_stringshare_init -> eina_init, dito shutdown
...
SVN revision: 42328
2009-09-07 16:32:26 +00:00
Vincent Torri
e6891b228c
formatting
...
SVN revision: 42275
2009-09-05 08:52:41 +00:00
Vincent Torri
1dd8436cd4
add Mathieu Taillefumier's patch for eina logging,
...
with small modifications and fixing
ecore_evas_win32 does not build, though. I think that
if we add log support in evas, all the macro must have
different names, because of all the _private.h headers
that are included in all source files (that's the problem
with win32). I'll fix ecore_evas_win32 build later. Or
someone can do it if he wants :-)
SVN revision: 42274
2009-09-05 08:39:34 +00:00
Vincent Torri
d8acbfc6f6
rename ecore_thread_init and ecore_thread_shutdown to fit usual private function names
...
SVN revision: 42240
2009-09-04 05:49:54 +00:00
Carsten Haitzler
d6cdd8131b
1. ecore-evas doesnt disable draws to fully obscured windows if compositoir
...
is there
2. static atom for compositor check
3. stop filterng out mouse moves for better scroll momentum checks
SVN revision: 42182
2009-09-02 12:48:56 +00:00
Vincent Torri
af6cde97d3
fix gettext stuff
...
to disable it, pass to configure --disable-nls
SVN revision: 42166
2009-09-01 17:27:23 +00:00
Gustavo Sverzut Barbieri
ba79d71f95
have ecore+gettext stuff to actually compile.
...
SVN revision: 42157
2009-09-01 14:46:16 +00:00
Gustavo Sverzut Barbieri
21e66eec2b
some parts I missed before.
...
SVN revision: 42156
2009-09-01 14:35:59 +00:00
Daniel Kolesa
2f319b9a5c
Gettext support in Ecore_Getopt. Thanks to k-s :)
...
SVN revision: 42155
2009-09-01 14:15:37 +00:00
Vincent Torri
2d11ac918c
fix number of events
...
SVN revision: 42114
2009-08-30 21:41:51 +00:00
Vincent Torri
17cb74c23f
don't try to remove monitors if non has been added before
...
SVN revision: 42087
2009-08-29 08:44:05 +00:00
dieb
e6b9bea5d8
Add missing prototype for ecore_con_url_response_headers_get().
...
SVN revision: 42048
2009-08-27 21:21:43 +00:00
Vincent Torri
654330e183
warnings--
...
SVN revision: 42018
2009-08-26 15:43:45 +00:00
Vincent Torri
77a9dab5eb
fix warnings
...
SVN revision: 42016
2009-08-26 15:36:01 +00:00
Vincent Torri
ebf35949a6
* fix potential bugs
...
* fix warnings
* make the code a bit more readable
SVN revision: 42015
2009-08-26 15:34:49 +00:00
Vincent Torri
0bd66ee195
fix warnings
...
SVN revision: 42014
2009-08-26 15:32:23 +00:00
Lars Munch
023b8909af
Added missing pthread guard
...
Patch from Vincent Torri
SVN revision: 42005
2009-08-26 05:59:56 +00:00
Vincent Torri
e005dd2479
* fix compilation when curl is not available
...
* small formatting
SVN revision: 41968
2009-08-25 06:45:35 +00:00
Cedric BAIL
05549684f7
* ecore_con_url: Remove debug.
...
SVN revision: 41954
2009-08-24 13:25:51 +00:00
Cedric BAIL
8d908436c6
* ecore_con_url: Add a way to retrieve request response headers.
...
Patch from Andre Dieb <andre.martins@ee.ufcg.edu.br>.
SVN revision: 41951
2009-08-24 09:41:07 +00:00
Christopher Michael
581556e6d2
Patch from Andre Dieb to remove a debug statement.
...
Fix formatting also.
SVN revision: 41919
2009-08-21 19:47:04 +00:00
Lars Munch
2e7e9169e7
Fix building without pthread support
...
SVN revision: 41880
2009-08-20 06:09:15 +00:00
Cedric BAIL
09012c96bb
* ecore_con_url: Fix mem leak.
...
SVN revision: 41758
2009-08-14 11:33:33 +00:00
Cedric BAIL
b559c260fa
* Ecore_Con: Revert r41742.
...
Note: It's not a good idea to initialize curl, if you just
want to do some ecore_con network or ipc. Better let them
initialize separatly.
SVN revision: 41743
2009-08-13 15:42:30 +00:00
Gustavo Sverzut Barbieri
33b9d1b2ed
init ecore_con_url.
...
By: Andre Dieb <andre.martins@ee.ufcg.edu.br>
SVN revision: 41742
2009-08-13 15:26:29 +00:00
Carsten Haitzler
447051bf3c
dont use #ifdeffed out calls
...
SVN revision: 41726
2009-08-13 00:30:59 +00:00
Carsten Haitzler
26d8a50642
formatting!
...
SVN revision: 41725
2009-08-13 00:27:53 +00:00
Cedric BAIL
caf64d8849
* ecore_con: Add broadcast support from Atton Jonathan.
...
SVN revision: 41701
2009-08-12 11:24:33 +00:00
Cedric BAIL
c7f13ac781
* ecore_con_url: Patch from Andre Dieb with a few modification.
...
SVN revision: 41699
2009-08-12 09:47:04 +00:00
Cedric BAIL
7db27df3c8
* ecore_thread: Fix the remaining comment from Vincent.
...
SVN revision: 41581
2009-08-04 09:13:49 +00:00
Cedric BAIL
13cea2628b
* ecore_thread: Another dead lock spotted by Sachiel.
...
SVN revision: 41570
2009-08-03 14:09:09 +00:00
Cedric BAIL
e7f691a9f2
* ecore_thread: Prevent mutex lock, thanks to Sachiel.
...
SVN revision: 41564
2009-08-03 08:19:33 +00:00
Cedric BAIL
2bb8e5ad8e
* ecore_thread_run: Add a facility to run heavy code in another thread
...
that still integrate cleanly with the EFL.
ecore_thread_run need two callbacks :
* func_heavy is called from another thread and should not use the
EFL except Eina, but carefully.
* func_end is called when func_heavy is done, but from inside ecore
main loop, so you can at this point call every EFL functions without
fear.
Note :
The system automatically detect how many CPU you have and will spread
the load on all of them.
You must not assume that the result will come in the same order you
requested it. Depend on each CPU load and how heavy the function on it
are.
SVN revision: 41555
2009-07-31 17:06:11 +00:00
Vincent Torri
413a216c55
oups, missing sys/
...
SVN revision: 41525
2009-07-28 09:58:12 +00:00
Vincent Torri
fe763e0fe0
fix compilation of programs using ecore on FreeBSD
...
SVN revision: 41524
2009-07-28 09:57:24 +00:00
Kim Woelders
1db0b28f52
The functions ecore_x_window_prop_card32_list_get, ecore_x_window_prop_xid_get, and ecore_x_window_prop_xid_list_get were buggy.
...
The original intention was that if the property is absent or not of extected type (or invalid window) they should return -1, otherwise they should return the number of elements in the property, 0 if none.
Unfortunately they all returned 0 if the property does not exist. Also, ecore_x_window_prop_xid_list_get retuned 0 if the property exists, has no elements, but has wrong type (should be -1).
These issues should be fixed now but this may cause problems in any code that relied on the incorrect behavior.
SVN revision: 41418
2009-07-18 10:27:51 +00:00
Carsten Haitzler
a2b75fa66c
free list
...
SVN revision: 41411
2009-07-18 09:35:22 +00:00
Gustavo Sverzut Barbieri
4a2bd500e3
remove gcc -Wextra warnings
...
SVN revision: 41369
2009-07-16 21:42:02 +00:00
Gustavo Sverzut Barbieri
00d15b298a
do not remove sub-evases from ecore_evases list.
...
they are not there, they're listed inside sub_ecore_evas of parent instead.
SVN revision: 41368
2009-07-16 21:39:48 +00:00
Gustavo Sverzut Barbieri
6103d8db01
oops, fix case of timers never being fired while we have idlers.
...
To reach this case, have a timer that would not be fired on
_ecore_main_loop_iterate_internal(), for example it's not ready yet
(just_added==1), system would get into this inner loop and would never
stop, since there is timer expired now (next_time == 0.0), if we go to
start_loop it would just get into the same loop, not dispatching and
timers.
Python test 04-idler.py triggered that problem.
SVN revision: 41342
2009-07-15 00:11:04 +00:00
Vincent Torri
7807fa64a0
rename 'x11' to 'xlib' for software x11 based engines when it makes sense
...
SVN revision: 41330
2009-07-14 21:18:27 +00:00
Vincent Torri
3c7680e6cb
* add ecore_x_atom_name_get() API (will be used by ewl)
...
* move atom related functions from ecore_x.c to ecore_x_atom.c
SVN revision: 41283
2009-07-09 04:55:11 +00:00
Vincent Torri
88e6e10da1
Rework the Windows message loop and the managing of sockets
...
sent by ecore_pipe. The programs based on Ecore on Windows
do not take 100% of the cpu power anymore.
Patch by Lars Munch, modified by me (formatting + guards)
SVN revision: 41179
2009-06-24 06:14:07 +00:00
Cedric BAIL
0c9aead634
Evas_Rectangle are gone. We now use Eina_Rectangle and memory pool is
...
shared accross the application.
SVN revision: 41170
2009-06-23 13:57:27 +00:00
Cedric BAIL
cfd40e9cc4
* ecore_evas: Fix ecore_evas_gl_x11_new usage.
...
SVN revision: 41167
2009-06-23 09:55:47 +00:00
Lars Munch
9b521201d0
Fix a few more Ecore_List2 to Eina_Inlist conversion typos.
...
ecore_evas_x.c is just changed for consistency.
SVN revision: 41085
2009-06-17 16:08:26 +00:00
Lars Munch
6b25cf2ad9
Fix typo in Ecore_List2 to Eina_Inlist conversion
...
SVN revision: 41078
2009-06-17 13:14:02 +00:00
Cedric BAIL
19ce6dce92
* ecore: Fix a segv during ecore_shutdown.
...
SVN revision: 41075
2009-06-17 12:38:15 +00:00
Cedric BAIL
d5757de0c9
* ecore: Remove Ecore_List2 at all.
...
SVN revision: 41074
2009-06-17 11:47:28 +00:00
Cedric BAIL
eb543607a3
* ecore: Remove Ecore_List2 from ecore_evas.
...
SVN revision: 41073
2009-06-17 11:42:02 +00:00
Cedric BAIL
79291ef06b
* ecore: Remove Ecore_List2 from ecore_file.
...
SVN revision: 41072
2009-06-17 11:41:12 +00:00
Cedric BAIL
429fc4b4f8
* ecore: Remove Ecore_List2 from ecore_con.
...
SVN revision: 41071
2009-06-17 11:40:30 +00:00
Cedric BAIL
8e392a0742
* ecore: Remove user of Ecore_List2 from ecore events.
...
SVN revision: 41070
2009-06-17 11:39:37 +00:00
Cedric BAIL
3ff7c2300d
* ecore: Fix ecore_evas_x uninitialised variable.
...
SVN revision: 41069
2009-06-17 11:13:11 +00:00
Gustavo Sverzut Barbieri
d89cf04e8d
fix nasty warnings of -Wextra
...
SVN revision: 41066
2009-06-17 01:41:54 +00:00
Gustavo Sverzut Barbieri
fbcbf0a2ec
Add file required by NetBSD.
...
SVN revision: 41017
2009-06-12 15:23:32 +00:00
Carsten Haitzler
4672d36251
fix artifacts on window rotation
...
SVN revision: 41010
2009-06-12 05:32:01 +00:00
Vincent Torri
20108eea57
Add Region API to ecore_x (Xlib using Region and XCB using pixman).
...
This allow to use the same code in ecore_evas for Xlib and XCB
SVN revision: 40959
2009-06-08 06:34:20 +00:00
Gustavo Sverzut Barbieri
369a502a28
fix nasty bug of timers not being re-evaluated on rare case.
...
If there are no other main loop activity than a idlers and one idler
adds a timer, the new (and unique) timer would be ignored since it's
flagged as "just_added" and thus next iteration will not consider it,
possible entering an infinite wait as it could be the only thing to do
in main loop.
Antognolli found this nasty bug while handling timeout-and-die in
Ethumb, where the "disconnect" event is dispatched by EDBus from idler
and it was adding a timer to shutdown the daemon after a while without
clients.
By: Rafael Antognolli <antognolli@profusion.mobi>
SVN revision: 40923
2009-06-06 22:31:34 +00:00
Vincent Torri
87b0ca2ab1
add rotation support for the gdi engine
...
SVN revision: 40916
2009-06-06 06:54:34 +00:00
Vincent Torri
a8490456b6
explicitely update the window
...
SVN revision: 40905
2009-06-05 17:14:56 +00:00
Iván Briano
d8ae422259
Upper case
...
SVN revision: 40853
2009-05-29 18:53:50 +00:00
Gustavo Sverzut Barbieri
0664a8fd5e
Avoid getting stuck into ecore main loop dispatchers.
...
The old way we could run endless with the following case:
int my_buggy_idler(void *data) {
ecore_idler_add(my_buggy_idler, NULL);
return 0;
}
since it would append to that list, then the list would never end.
Now we just dispatch up to the last know idler, then go back to
regular processing, if nothing happens we'll be back to dispatch
again.
I tested it here and works fine, but might show issues with ecore
enterers/exiters of some applications that rely on the old (broken)
behavior.
SVN revision: 40847
2009-05-29 16:33:00 +00:00
Vincent Torri
f94a0f29a2
* on Windows, pipe() creates sockets and not file descriptoes,
...
hence we must use closesocket() to close a socket instead of
close(). In addition, we should improve the closing of the
socket (see http://tangentsoft.net/wskfaq/newbie.html#howclose )
* use PIPE_FD_INVALID for invalid fd / socket
* use PIPE_FD_ERROR for invalid result when sending / receiving
data on fd / sockets
next step is to manage correctly errno on Windows with WSAGetLastError()
(see http://tangentsoft.net/wskfaq/articles/bsd-compatibility.html )
SVN revision: 40846
2009-05-29 14:32:57 +00:00
Vincent Torri
6e36366dbc
fix BackSpace value
...
SVN revision: 40804
2009-05-23 21:54:27 +00:00
Carsten Haitzler
fe6f78829e
add includes
...
SVN revision: 40794
2009-05-23 12:17:27 +00:00
Lars Munch
931e90579f
Add support for extended keys on win32
...
Based on patch by Vincent Torri.
SVN revision: 40769
2009-05-22 08:50:16 +00:00
Lars Munch
b4c1f5d17a
Remove unused variables
...
SVN revision: 40768
2009-05-22 08:21:38 +00:00
Vincent Torri
21b7802cf6
libtool is too stupid. Some versions seem to not
...
use correctly .la files. Add Evil libraries when
linking
Patch by Lars Munch
SVN revision: 40766
2009-05-22 05:43:43 +00:00
Vincent Torri
765cfdf3a0
There is no numerical keypad on Windows CE
...
Patch by Lars Munch
SVN revision: 40765
2009-05-22 05:38:53 +00:00
Vincent Torri
b72ca778cc
Ignore some f-keys on Windows CE.
...
Patch by Lars Munch
SVN revision: 40761
2009-05-21 16:08:49 +00:00
Carsten Haitzler
68129ccab5
dfb has been broken since rev 39505! <- cedric!
...
SVN revision: 40733
2009-05-19 06:18:00 +00:00
Vincent Torri
72e17e3589
fix some warnings
...
SVN revision: 40719
2009-05-18 06:33:28 +00:00
Vincent Torri
fab9a2ca4d
the mouse_in event has strangely been removed. It's back, now
...
SVN revision: 40718
2009-05-18 06:19:23 +00:00
Vincent Torri
a19eb31bed
use ecore_input
...
SVN revision: 40717
2009-05-18 06:18:36 +00:00
Carsten Haitzler
dc09494b26
hmm why wasnt this committed?
...
SVN revision: 40535
2009-05-07 13:27:59 +00:00
Vincent Torri
4065fdd4f5
API BREAK
...
fix consistentness of ecore_x API. Rename some _del functions to _free ones.
See ticket #302
SVN revision: 40532
2009-05-07 08:35:00 +00:00
Andreas Volz
f73ad689da
added xlib implementation for ecore_x_default_screen_get
...
SVN revision: 40511
2009-05-05 18:50:29 +00:00
Massimiliano Calamelli
9dd0697b54
Place the ECORE_XSS #endif in the right place, otherwise ecore fails to buils if there is no screensaver extension
...
SVN revision: 40503
2009-05-03 21:26:08 +00:00
Gustavo Sverzut Barbieri
a5428a4ca3
no idea why this flag is required, but doing like others do...
...
SVN revision: 40493
2009-05-02 23:41:09 +00:00
Gustavo Sverzut Barbieri
79631a6f0f
xrandr1.3 support: first steps (events).
...
starting to implement xrandr 1.3 support, now we support all events
and their fields.
This commit also fix way that extensions register their ids and
base. The way it was, ids was being added to the last event id, that
was wrong! Fortunately, those that were wrong had just one event and
always added "0", making no harm.
SVN revision: 40492
2009-05-02 23:34:29 +00:00
Gustavo Sverzut Barbieri
96511aeea4
proper cleanup of ecoren_con_server after ecore_events.
...
ecore_events are asynchronous and can be dispatched after the server
is deleted (ecore_con_server_del()). In this case, server will flag
"delete_me" and avoid doing double-free. When the event is dispatched
and the server is deleted, we still need to free resources and so we
need to call _ecore_con_server_free(). But we cannot do that by means
of ecore_con_server_del() since it will check "delete_me" flag and
will return.
This patch calls _ecore_con_server_free() directly when events are
dispatched and server is deleted. It fixes problems with
forecasts/weather modules exhausting file descriptors, a long standing
issue that bring problems with pam/desklock authentication.
Thanks to manio to point out #305 and testing.
SVN revision: 40490
2009-05-02 20:12:41 +00:00
Gustavo Sverzut Barbieri
4fd5d0c794
free getaddrinfo() results and avoid leaks in ecore_con.
...
This was affecting ecore_con users, specially modules that keep
polling the network, like forecasts or weather.
patch by manio, see bug #305 .
SVN revision: 40488
2009-05-02 19:02:09 +00:00
Vincent Torri
90993a4272
fix the borderless_set function by removing the frame around the window
...
SVN revision: 40462
2009-04-29 17:50:44 +00:00
Mike Frysinger
5016400f63
fix printf format warnings (int vs size_t) and curl usage warning (curl_easy_getinfo tromps on a pointer to a long, not an int)
...
SVN revision: 40430
2009-04-28 05:26:22 +00:00
Mike Frysinger
b980d9477e
fix typo in long_has_neither_32_nor_64_bits prototype
...
SVN revision: 40429
2009-04-28 05:14:11 +00:00
Jaime Thomas
22ec9fd53b
Add a function to retrieve the timer interval.
...
SVN revision: 40404
2009-04-26 17:16:33 +00:00
Vincent Torri
c01d945c99
missing use of ecore_x_drawable_rectangle_fill()
...
SVN revision: 40360
2009-04-25 07:53:28 +00:00
Vincent Torri
2fd6df87f8
use ecore_x_drawable_rectangle_fill().
...
SVN revision: 40359
2009-04-25 07:16:59 +00:00
Vincent Torri
90061cb121
add to the API the function ecore_x_drawable_rectangle_fill() that
...
fills a rectangle on the specified drawable. It will be used in ecore_evas
to factorize the code.
SVN revision: 40358
2009-04-25 07:16:26 +00:00
Vincent Torri
e9bacbe619
* formatting in ecore_evas_win32.c
...
* fix fullscreen_set() and borderless_set() functions in ecore_win32
* change SetWindowLong() to SetWindowLongPtr() as it is deprecated
* better error management when dealing with SetWindowLongPtr()
* remove useless SendMessage() calls
* other minor fixes
SVN revision: 40354
2009-04-24 19:37:09 +00:00
Vincent Torri
00098e2458
fix cast
...
SVN revision: 40337
2009-04-23 18:43:12 +00:00
Lars Munch
47840ee7a0
From: Lars Munch <lars@segv.dk>
...
thx, but you committed rev 1 of the patch. I send out an updated patch
since the function naming did not follow "e" style. Attached patch
renames the functions accordingly. Please apply.
SVN revision: 40322
2009-04-23 07:08:50 +00:00
Vincent Torri
d24bc9ea4b
better fix for -no-undefined
...
SVN revision: 40316
2009-04-23 03:56:31 +00:00
Vincent Torri
38fe5f2884
add GDI evas engine support
...
SVN revision: 40311
2009-04-23 03:24:16 +00:00
Carsten Haitzler
7f1bde6cf4
From: lars@segv.dk (Lars Munch)
...
Hi
This patch adds two new functions, ecore_pipe_close_read and
ecore_pipe_close_write, to ecore_pipe. The purpose it to enable
ecore_pipe to be used together with fork (see example below).
The patch also handles if the read or write end of the pipe closes.
SVN revision: 40305
2009-04-23 01:38:55 +00:00
booleanlabel
3068e9bd4f
From: booleanlabel@gmail.com
...
cygwin fixes.
SVN revision: 40302
2009-04-23 01:09:26 +00:00
Massimiliano Calamelli
80d145c896
NetBSD requires <sys/resource.h>
...
SVN revision: 40299
2009-04-22 23:48:49 +00:00
Jaime Thomas
1d112a3ba1
Typo.
...
SVN revision: 40298
2009-04-22 22:09:40 +00:00
Vincent Torri
4aea12e286
free the events sent by the X server
...
SVN revision: 40271
2009-04-21 17:42:25 +00:00
Carsten Haitzler
99db224656
cleanup on shutdown better!
...
SVN revision: 40241
2009-04-19 20:40:01 +00:00
Lars Munch
bb74cf5f48
ecore-evas-fb: This patch fixes a bug in ecore_evas_fb.c introduced by the big eina
...
list conversion. The bug resulted in no input devices where added when
using framebuffer. This patch also cleans up some related NULL
checks that are not needed any more.
Signed-off-by: Lars Munch <lars@segv.dk>
SVN revision: 40224
2009-04-19 15:47:32 +00:00
Vincent Torri
8801b817ea
typo
...
SVN revision: 40217
2009-04-19 08:39:09 +00:00
Vincent Torri
b7f578680c
fix ecore_input use
...
SVN revision: 40216
2009-04-19 08:37:50 +00:00
Vincent Torri
ead9bbaf36
fix default values of z and direction
...
SVN revision: 40215
2009-04-19 08:37:08 +00:00
Vincent Torri
aef319dc5f
more fixes
...
SVN revision: 40211
2009-04-19 07:16:11 +00:00
Vincent Torri
bfb89c4857
missing guards--
...
SVN revision: 40209
2009-04-19 06:46:02 +00:00
Vincent Torri
aaa733d25b
* fix warnings
...
* add missing guards
* add missing QueryVersion check for the screensaver extension
SVN revision: 40207
2009-04-19 06:36:47 +00:00
Christopher Michael
a807d836e6
Remove annoying printf messages when downloading something via ecore.
...
SVN revision: 40175
2009-04-18 17:16:03 +00:00
Vincent Torri
f0612cc992
Typo reported by Cedric Ollivier, thanks !
...
SVN revision: 40163
2009-04-18 12:08:56 +00:00
Gustavo Sverzut Barbieri
0f8b812d0c
fix bad sed by someone else.
...
SVN revision: 40139
2009-04-17 16:02:07 +00:00
Carsten Haitzler
ce5a59b7e5
lutin... release soname patch. verbose svn soname used right now
...
SVN revision: 40131
2009-04-17 10:01:45 +00:00
Carsten Haitzler
5a740af16d
fix ecore-evas-fb fullscreen!
...
SVN revision: 40125
2009-04-17 01:53:37 +00:00
Vincent Torri
5738461f90
specify the supported windows version
...
SVN revision: 40119
2009-04-16 21:28:30 +00:00
Gustavo Sverzut Barbieri
babc8d254f
export way to handle raw xlib/xcb events.
...
Patch by Kenneth Christiansen, xcb by me and untested.
SVN revision: 40113
2009-04-16 17:29:00 +00:00
Gustavo Sverzut Barbieri
aaf395c68f
warning--
...
SVN revision: 40112
2009-04-16 17:17:36 +00:00
Vincent Torri
591fd731f1
fix compilation on Windows
...
SVN revision: 40111
2009-04-16 17:12:40 +00:00
Gustavo Sverzut Barbieri
852c598be4
Be able to change select() function used by main loop.
...
Patch by Kenneth Christiansen, used to integrate with GLib and other
main loops.
SVN revision: 40110
2009-04-16 15:44:26 +00:00
Vincent Torri
8292408792
missing ecore_input changes
...
SVN revision: 40096
2009-04-15 20:03:08 +00:00
Vincent Torri
398c77ed17
fix seg fault. Patch by Nicolas Aguirre
...
SVN revision: 40081
2009-04-15 11:41:35 +00:00
Vincent Torri
377e89ae28
init and shutdown ecore_event_evas
...
SVN revision: 40078
2009-04-15 09:41:26 +00:00
Vincent Torri
f8646c4d9c
use ecore_input for the windows xp code
...
SVN revision: 40054
2009-04-14 20:04:16 +00:00
Vincent Torri
4e20818f7c
remove useless structures
...
SVN revision: 40052
2009-04-14 19:20:06 +00:00
Rafael Antognolli
6129f4d71b
New ecore_getopt callback to parse geometry size (WxH).
...
SVN revision: 40025
2009-04-13 20:29:57 +00:00
Gustavo Sverzut Barbieri
5a69e7cfe5
useful function to join strings using separator.
...
SVN revision: 40010
2009-04-13 00:05:43 +00:00
Vincent Torri
764a5550fa
fix compilation on linux after having fixed compilation on windows...
...
sorry
SVN revision: 39992
2009-04-11 17:20:29 +00:00
Vincent Torri
3ae0534f12
useless global variables
...
SVN revision: 39986
2009-04-11 14:03:42 +00:00
Vincent Torri
166c8b63df
the header files are a mess in ecore and, unfortunately, the order matters, especially on Windows
...
SVN revision: 39985
2009-04-11 13:56:18 +00:00
Vincent Torri
99b44984bd
fix compilation on Windows
...
SVN revision: 39984
2009-04-11 13:46:09 +00:00
Vincent Torri
5efbc4e310
remove useless ecore_evas_x_**_subwindow_get() functions
...
SVN revision: 39979
2009-04-11 12:17:14 +00:00
Vincent Torri
c2a3c26379
* unused parameters --
...
* llvm report --
SVN revision: 39977
2009-04-11 10:31:42 +00:00
Gustavo Sverzut Barbieri
0af63168e5
debug--, sorry.
...
SVN revision: 39968
2009-04-11 07:12:13 +00:00
Gustavo Sverzut Barbieri
51bc45acb4
remove nasty warning.
...
SVN revision: 39967
2009-04-11 07:11:16 +00:00
Gustavo Sverzut Barbieri
eab4fea030
move batch directory creation to ecore_file.
...
as suggested by raster, this could be abstracted into ecore-file and
other applications could use it as well.
SVN revision: 39965
2009-04-11 07:10:12 +00:00
Gustavo Sverzut Barbieri
33183982b0
minor optimizations to ecore_file_mkpath()
...
* check if path is already valid, not doing further work if that's the case;
* less stats;
* check error of ecore_file_mkdir();
* better usage of 'ss' string.
SVN revision: 39964
2009-04-11 06:33:00 +00:00
Gustavo Sverzut Barbieri
4467ac1c39
batch directory creation, part 1.
...
SVN revision: 39961
2009-04-11 06:13:02 +00:00
Gustavo Sverzut Barbieri
c08930433c
remove unused file
...
SVN revision: 39960
2009-04-11 06:02:10 +00:00
Carsten Haitzler
aa740325f6
andre dieb: patch to fix ebadf handling.
...
SVN revision: 39932
2009-04-10 12:48:25 +00:00
Vincent Torri
f7d7e4e74a
API BREAK
...
for consistentness, ecore_***_window_del is renamed
ecore_***_window_free
SVN revision: 39918
2009-04-10 08:46:41 +00:00
Vincent Torri
2045310c43
* (should) fix the compilation on Mac OS X (ecore_input)
...
* better check of Cocoa.h
Patch by Andrew Wiliams and myself.
As I had to modify the patch so that it compiles on linux, could
the Mac OS X users check if the compilation is fine ?
Next steps:
* change the name 'quartz' to 'cocoa'
* add in ecore_cocoa all the needed functions to be used in ecore_evas
(windows management, cursors, events, etc...) so that ecore_evas_cocoa.c
does not contain objective c code anymore
SVN revision: 39915
2009-04-10 06:31:58 +00:00
Gustavo Sverzut Barbieri
56516f66e2
remove more debug code left by cedric.
...
SVN revision: 39913
2009-04-09 21:31:29 +00:00
Stafford Mitchell Horne
3eb42f9fc2
Actually use the correct build flag
...
SVN revision: 39729
2009-03-26 16:08:45 +00:00
Stafford Mitchell Horne
749e8b1e74
Fix build issues
...
* Fix warning with mouse move callback
* If Xrender is disabled, dont build Xrender_Xlib support (caused build failure)
SVN revision: 39713
2009-03-25 15:20:07 +00:00
Viktor Kojouharov
180d492816
add more to the composite api
...
SVN revision: 39700
2009-03-24 21:31:05 +00:00
Viktor Kojouharov
a23cf08162
name window pixmap function in composite
...
SVN revision: 39674
2009-03-24 10:41:36 +00:00
Vincent Torri
e402cd49eb
use the new merged xrender engine
...
SVN revision: 39667
2009-03-24 07:53:31 +00:00
Vincent Torri
3e94ac52b6
* API BREAK: ecore_gc_new can create now a graphic context
...
with all the values that the X protocol allows. See
documentation for more info about its use
* use it in ecore_evas
SVN revision: 39654
2009-03-23 13:28:59 +00:00
Carsten Haitzler
d38a2a9488
new timer add func - avoids more gettimeofday calls.
...
SVN revision: 39638
2009-03-23 02:13:50 +00:00
Gustavo Sverzut Barbieri
354b23a12e
Make ecore_x_selection a bit more generic, at least on event reporting.
...
SVN revision: 39633
2009-03-22 18:19:17 +00:00
Vincent Torri
36bbb31389
Fix compilation on OpenBSD (ticket #252 ). Patch by eumel
...
SVN revision: 39625
2009-03-22 13:30:52 +00:00
Vincent Torri
98fb9f9826
remove trailing spaces
...
SVN revision: 39624
2009-03-22 13:27:24 +00:00
Vincent Torri
6c0dbf9f50
remove trailing spaces
...
SVN revision: 39620
2009-03-22 11:31:54 +00:00
Vincent Torri
a4e10df2c8
include config.h so that __UNUSED__ is defined
...
SVN revision: 39619
2009-03-22 11:31:11 +00:00
Vincent Torri
91c7e2c0d2
fix test
...
SVN revision: 39618
2009-03-22 09:56:43 +00:00
Vincent Torri
462198ea40
* add guards around config.h
...
* formatting
SVN revision: 39617
2009-03-22 07:22:06 +00:00
Vincent Torri
e1986575b3
fix EAPI value on Windows
...
SVN revision: 39616
2009-03-22 07:19:07 +00:00
Vincent Torri
d5f0588c67
as the XCB and Xlib software engines have merged, the
...
"software_xcb" render method does not exist anymore.
SVN revision: 39612
2009-03-21 20:32:02 +00:00
Vincent Torri
b3c2562b52
fix some key values for the keyboard events
...
SVN revision: 39611
2009-03-21 20:08:51 +00:00
Carsten Haitzler
4ee9e854d5
fix build problem.. how did this get in - 2 funcs of the same name, one
...
static.. one not?
SVN revision: 39604
2009-03-21 00:39:02 +00:00
Cedric BAIL
e344bb0f7f
* Ecore_Input: Fix build order.
...
SVN revision: 39584
2009-03-19 16:41:35 +00:00
Cedric BAIL
6f5a990e36
* Ecore_Input: Remove all stuff linked with ecore_evas.
...
SVN revision: 39581
2009-03-19 13:58:15 +00:00
Cedric BAIL
2bf2c79957
* Ecore_Input: Make it generic.
...
SVN revision: 39577
2009-03-19 13:06:16 +00:00
Viktor Kojouharov
ca0470e59f
make this build again
...
SVN revision: 39576
2009-03-19 12:36:19 +00:00
Vincent Torri
8eb538126c
remove trailing spaces
...
SVN revision: 39574
2009-03-19 07:59:59 +00:00
Vincent Torri
ff17c26102
* add ecore_wince include directory (though i don't think that it
...
will be necessary once ecore_input will be abstracted)
* allow the built of ecore_input DLL on Windows OS (XP and CE)
* remove useless dependency, as libecore_.la is in the _LIBADD
variable)
* files in EXTRA_DIST are already installed, no need for them
to be in EXTRA_DIST
patch by Lars Munch
SVN revision: 39573
2009-03-19 07:49:12 +00:00
Vincent Torri
7248a5bacd
too many ecore_input in SUBDIRS
...
SVN revision: 39571
2009-03-19 07:29:28 +00:00
Gustavo Sverzut Barbieri
a8838b698e
constness++ and warnings--
...
SVN revision: 39563
2009-03-18 23:51:35 +00:00
Vincent Torri
1ed8721fa2
typo--
...
SVN revision: 39556
2009-03-18 17:23:11 +00:00
Cedric BAIL
9f3aac0837
* ecore_evas: Fix typo preventing live preview to work and add
...
sub_ecore_evas to SDL backend.
SVN revision: 39555
2009-03-18 17:12:52 +00:00
Vincent Torri
08bbf2f99f
remove useless libs flags (the link is done with the corresponding .la files)
...
SVN revision: 39553
2009-03-18 17:01:23 +00:00
Sebastian Dransfeld
2849d938ff
include Ecore.h for ecore_main_fd_handler_active_set
...
SVN revision: 39544
2009-03-18 08:38:43 +00:00
Sebastian Dransfeld
f388ddcd53
ECORE_X_MODIFIER_* are now internal to ecore_x.
...
SVN revision: 39543
2009-03-18 08:29:59 +00:00
Cedric BAIL
a11beb0a96
* ecore_xcb: Fix key grab too.
...
SVN revision: 39518
2009-03-17 13:34:40 +00:00
Cedric BAIL
bff5617109
* ecore_x: Unbreak E17 use of ALT modifier. Bindings should work again.
...
SVN revision: 39517
2009-03-17 13:23:04 +00:00
Cedric BAIL
c21896a948
* ecore_x_atoms: Refix spotted by Peter.
...
SVN revision: 39507
2009-03-16 17:33:30 +00:00