Commit Graph

2140 Commits

Author SHA1 Message Date
Carsten Haitzler 01c8e1637e more vkbd states
SVN revision: 44470
2009-12-15 06:38:16 +00:00
Carsten Haitzler b8aaad4810 quick - set accepts_input 1 on ee windows. that code neads cleaning up!
SVN revision: 44455
2009-12-14 23:56:56 +00:00
Christopher Michael d3fc8d4fa4 Add method to send illume_back and illume_close messages.
SVN revision: 44399
2009-12-12 00:46:54 +00:00
Christopher Michael 636cadeaca And set the other illume atoms in ecore_x_atoms.c
SVN revision: 44379
2009-12-11 20:07:34 +00:00
Christopher Michael 1a3eec2e91 Add way to trigger illume dual/single app mode via client messages.
(and fix some formatting)



SVN revision: 44378
2009-12-11 19:51:47 +00:00
Sebastian Dransfeld 0ac67f75e7 Remove unused variable
SVN revision: 44258
2009-12-07 21:04:02 +00:00
Sebastian Dransfeld 73cde2ffa2 Make clang happy
SVN revision: 44257
2009-12-07 21:01:26 +00:00
Christopher Michael 254915c86e Remove a bunch of wasted white space.
SVN revision: 44235
2009-12-07 03:06:50 +00:00
Christopher Michael 4811502558 Fix illume_conformant to return 0 if the atom is not setup on the xwin.
SVN revision: 44234
2009-12-07 02:04:23 +00:00
Vincent Torri ed3ac88827 Add data and error events in ecore_exe_win32.c.
There are still some problems with the win32 select loop, though

SVN revision: 44229
2009-12-06 19:25:48 +00:00
Christopher Michael b7d7d87d18 Add functions to make it easy to set an illume conformant window.
SVN revision: 44220
2009-12-06 17:31:04 +00:00
Vincent Torri 76983ea8f4 declare alloca
SVN revision: 44181
2009-12-04 08:55:46 +00:00
Cedric BAIL 7de1f120c2 * ecore_con: Add an alternative to getaddrinfo/fork by using c-ares.
For more information http://c-ares.haxx.se/


SVN revision: 44170
2009-12-03 10:26:40 +00:00
Carsten Haitzler 96b82e825b remove code that forceds fb 0 . let disp name do it
SVN revision: 44149
2009-12-03 02:23:25 +00:00
Carsten Haitzler 799b9b0fac asparagus - finally
SVN revision: 44113
2009-12-02 07:22:35 +00:00
Christopher Michael 414593cbca Add Atom for Illume Compliance.
SVN revision: 44110
2009-12-01 21:31:44 +00:00
Cedric BAIL 7ff9045aba * ecore_con_dns: Mark it deprecated as it should be gone since months now.
SVN revision: 44096
2009-12-01 14:31:16 +00:00
Rafael Antognolli 22e44c2b3b ecore_exe_send: Someone probably missed the const.
SVN revision: 44091
2009-12-01 13:33:05 +00:00
Cedric BAIL 2a3171f914 * ecore_con_info: Reduce malloc and memset.
SVN revision: 44050
2009-11-30 12:25:02 +00:00
Vincent Torri 3c0e3aa011 remove useless return
SVN revision: 44041
2009-11-29 11:14:28 +00:00
Vincent Torri 9a96d024a5 add the ecore_exe ADD and DEL events in the main loop
SVN revision: 44034
2009-11-28 08:52:42 +00:00
Cedric BAIL a8efb6d90d * ecore_con: Fix use of ecore_con_client_data_{get/set} with UDP and
MCAST connexion.

	Note: Please report any problem with Ecore_Con regarding UDP and
	MCAST after this patch.


SVN revision: 44014
2009-11-27 14:36:43 +00:00
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