framework/uifw/ecore.git
13 years agoecore: Reduce rendering latency in g_main_loop
mike_m [Wed, 27 Jul 2011 03:13:47 +0000 (03:13 +0000)]
ecore: Reduce rendering latency in g_main_loop

After a lot of hair pulling, and other debugging, it appears
that to make animation smooth on an embedded device, the
following things should happen in (quick) sequence:

1. update the loop time
2. call timers (which animates and updates the scene graph)
3. call idle enterers (which renders to the display)
4. call fd buf handlers (which flushes xlib stuff)

Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@61784 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoecore: Check timers when not idling also
mike_m [Wed, 27 Jul 2011 02:34:53 +0000 (02:34 +0000)]
ecore: Check timers when not idling also

Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@61782 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEcore_X: Xlib uses screen number, not screen object. Fix !! Bad DH,
devilhorns [Tue, 26 Jul 2011 13:17:52 +0000 (13:17 +0000)]
Ecore_X: Xlib uses screen number, not screen object. Fix !! Bad DH,
spank spank ;)

Thanks antognolli for the report :)

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@61760 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoFrom: Naruto TAKAHASHI <tnaruto@gmail.com>
raster [Tue, 26 Jul 2011 11:57:51 +0000 (11:57 +0000)]
From: Naruto TAKAHASHI <tnaruto@gmail.com>
Subject: Re: [E-devel] [Patch] Add XIM module for ecore_imf

I attach a patch for fixing some XIM module bugs.

  - fix showing previous preedit string bug.
  - delete compile warning(thanks JihoonKim)
  -  fix some sequence issue to send preedit changed event and commit
  event.(thanks JihoonKim)

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@61754 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agosegv if preedit str null!
raster [Tue, 26 Jul 2011 11:47:40 +0000 (11:47 +0000)]
segv if preedit str null!

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@61747 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEcore_Evas: Remove xlib (and xcb) specific calls for the software_x11
devilhorns [Tue, 26 Jul 2011 11:24:10 +0000 (11:24 +0000)]
Ecore_Evas: Remove xlib (and xcb) specific calls for the software_x11
and opengl_x11 engines and replace with ecore_x calls.

NB: I did not touch software_16 or software_8 so we cannot yet remove
the XLib linking wrt ecore_evas. I leave that exercise to 'the old
man' as per our convo this morning...but this does put us one step
closer ;)

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@61743 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEcore_X: Add some new api functions for getting default
devilhorns [Tue, 26 Jul 2011 11:19:55 +0000 (11:19 +0000)]
Ecore_X: Add some new api functions for getting default
Depth/Visual/Colormap of a given screen.

NB: Added these so that we can remove xlib specific calls in
ecore_evas and just generic ecore_x calls (so we are engine
independant).

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@61742 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agofix timer precision handling to do what it was meant to do to begin with
raster [Tue, 26 Jul 2011 07:01:55 +0000 (07:01 +0000)]
fix timer precision handling to do what it was meant to do to begin with

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@61730 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEcore_X: Add a missing function for getting the count of screens.
devilhorns [Tue, 26 Jul 2011 06:44:12 +0000 (06:44 +0000)]
Ecore_X: Add a missing function for getting the count of screens.
Bonus: Added doxy and the @since stuffs (for Tom) ;)

NB: Needed for changes to ecore_evas as that was using xlib
ScreenCount. This way we can just use ecore_x_screen_count_get and not
have to worry if we are xcb/xlib/etc.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@61728 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEcore_X: Oopsie, don't need those dbg statements anymore.
devilhorns [Tue, 26 Jul 2011 05:55:25 +0000 (05:55 +0000)]
Ecore_X: Oopsie, don't need those dbg statements anymore.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@61725 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEcore_X: Add start of XResource handling for xcb backend (NB: Nowhere
devilhorns [Tue, 26 Jul 2011 05:54:01 +0000 (05:54 +0000)]
Ecore_X: Add start of XResource handling for xcb backend (NB: Nowhere
near finished yet). Add working OpenGL for XCB engine.

NB: wrt Opengl...Raster, this is the env var/dlsym version you
requested this morning ;)

NB: Basically what happens is, if you know you do not ever want/use
opengl, you can export ECORE_X_NO_XLIB env variable, and ecore_x will
use pure xcb to establish it's X connection. However, if you do use
OpenGL and this env var is not exported, then ecore_x(cb) will use
XOpenDisplay to init the connection.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@61724 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEcore_X: Remove 2 fixme's that were bogus, but add one new fixme note
devilhorns [Tue, 26 Jul 2011 02:31:13 +0000 (02:31 +0000)]
Ecore_X: Remove 2 fixme's that were bogus, but add one new fixme note

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@61723 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEcore_X: Remove fixme comment (correct as it sits).
devilhorns [Tue, 26 Jul 2011 02:21:59 +0000 (02:21 +0000)]
Ecore_X: Remove fixme comment (correct as it sits).

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@61722 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEcore_Evas: Use ecore_x function(s) for getting window attributes.
devilhorns [Mon, 25 Jul 2011 09:29:09 +0000 (09:29 +0000)]
Ecore_Evas: Use ecore_x function(s) for getting window attributes.
Some fixes for OpenGL wrt xcb (minor stuffs).

NB: We already use ecore_x for some things in here, so let's keep
duplicated code down to a minimum and resuse what we already have ;)

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@61676 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoecore-imf: Fix warnings
mike_m [Mon, 25 Jul 2011 07:16:54 +0000 (07:16 +0000)]
ecore-imf: Fix warnings

Signed-off-by: Naruto TAKAHASHI <tnaruto@gmail.com>
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@61665 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEcore_X: Fix CnP when using xcb backend.
devilhorns [Sun, 24 Jul 2011 22:19:00 +0000 (22:19 +0000)]
Ecore_X: Fix CnP when using xcb backend.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@61662 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoFix rpm build.
rui [Sun, 24 Jul 2011 15:36:22 +0000 (15:36 +0000)]
Fix rpm build.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@61652 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agolink xim module against ecore_x. This patch fixes compilation on mac os x
caro [Sun, 24 Jul 2011 00:23:34 +0000 (00:23 +0000)]
link xim module against ecore_x. This patch fixes compilation on mac os x

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@61625 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEcore_Evas: Use an easier check for If existing ecore_evas is already
devilhorns [Sat, 23 Jul 2011 17:37:04 +0000 (17:37 +0000)]
Ecore_Evas: Use an easier check for If existing ecore_evas is already
alpha. No need to do comparisons like this.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@61611 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agourl of ecore-con-url is now stringshared
discomfitor [Sat, 23 Jul 2011 03:17:57 +0000 (03:17 +0000)]
url of ecore-con-url is now stringshared

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@61607 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years ago+ecore_con_url_url_get
discomfitor [Sat, 23 Jul 2011 03:14:42 +0000 (03:14 +0000)]
+ecore_con_url_url_get

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@61606 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEcore_X: Add some doxy for newly added functions (to keep Tom happy),
devilhorns [Thu, 21 Jul 2011 14:05:27 +0000 (14:05 +0000)]
Ecore_X: Add some doxy for newly added functions (to keep Tom happy),
and fix some horrid formatting.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@61562 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEcore_X: Add a couple of missing functions to the xlib engine.
devilhorns [Thu, 21 Jul 2011 12:09:33 +0000 (12:09 +0000)]
Ecore_X: Add a couple of missing functions to the xlib engine.

NB: These are mainly for systray module so that it can be engine
independant in that it can just use ecore_x calls now, instead of
specific xlib stuff.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@61555 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoDiagrams for Ecore_Thread
sachiel [Tue, 19 Jul 2011 16:58:15 +0000 (16:58 +0000)]
Diagrams for Ecore_Thread

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@61507 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoecore/doc - Add some @htmlonly guards.
antognolli [Mon, 18 Jul 2011 18:26:35 +0000 (18:26 +0000)]
ecore/doc - Add some @htmlonly guards.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@61485 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEcore: copy images to latex doc dir so we can create PDF.
gastal [Mon, 18 Jul 2011 14:03:23 +0000 (14:03 +0000)]
Ecore: copy images to latex doc dir so we can create PDF.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@61480 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years ago0 byte sreads are not so important - try again next time.
raster [Mon, 18 Jul 2011 10:34:25 +0000 (10:34 +0000)]
0 byte sreads are not so important - try again next time.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@61477 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoecore: Make test more asserty
mike_m [Mon, 18 Jul 2011 00:20:00 +0000 (00:20 +0000)]
ecore: Make test more asserty

Following on from suggestion by Vincent Torri.

Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@61461 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoecore: Use ecore_pipe in ecore_test
mike_m [Mon, 18 Jul 2011 00:19:51 +0000 (00:19 +0000)]
ecore: Use ecore_pipe in ecore_test

Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@61460 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoecore: Put config.h first
mike_m [Mon, 18 Jul 2011 00:19:43 +0000 (00:19 +0000)]
ecore: Put config.h first

Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@61459 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoecore_con : fix compilation on Windows
caro [Sun, 17 Jul 2011 11:11:25 +0000 (11:11 +0000)]
ecore_con : fix compilation on Windows

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@61439 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEcore_X: Use Eina_Bool for unsigned char.
devilhorns [Sat, 16 Jul 2011 19:17:24 +0000 (19:17 +0000)]
Ecore_X: Use Eina_Bool for unsigned char.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@61431 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoswitch over all buffers to use binbufs
discomfitor [Sat, 16 Jul 2011 13:07:39 +0000 (13:07 +0000)]
switch over all buffers to use binbufs

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@61423 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoclean up ecore-con server example: HTTP requires a seperator (\r\n in this case)...
discomfitor [Sat, 16 Jul 2011 08:01:19 +0000 (08:01 +0000)]
clean up ecore-con server example: HTTP requires a seperator (\r\n in this case) following each header line and a double separator between headers and body. additionally, content-length must be EXACTLY the length of the body, and must not include trailing garbage.
snprintf use here is incorrect due to inconsistent behavior of snprintf, so we can lazily fall back to strlen since this is just a simple example

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@61421 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoecore: fix common misppellings
lucas [Fri, 15 Jul 2011 14:36:13 +0000 (14:36 +0000)]
ecore: fix common misppellings

Mispellings detected by codespell.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@61407 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEcore_X: Add a few more missing randr functions to xcb.
devilhorns [Fri, 15 Jul 2011 13:13:38 +0000 (13:13 +0000)]
Ecore_X: Add a few more missing randr functions to xcb.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@61399 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEcore_X: Add some more missing randr functions.
devilhorns [Fri, 15 Jul 2011 12:58:24 +0000 (12:58 +0000)]
Ecore_X: Add some more missing randr functions.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@61398 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEcore_X: Add a missing function for ecore_x_randr_modes_info_get. Add
devilhorns [Fri, 15 Jul 2011 12:20:52 +0000 (12:20 +0000)]
Ecore_X: Add a missing function for ecore_x_randr_modes_info_get. Add
a list of remaining ecore_xcb_randr functions to do.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@61397 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEcore_X: Remove unused file.
devilhorns [Thu, 14 Jul 2011 16:05:13 +0000 (16:05 +0000)]
Ecore_X: Remove unused file.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@61387 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEcore_X: Remove unused file.
devilhorns [Thu, 14 Jul 2011 16:04:26 +0000 (16:04 +0000)]
Ecore_X: Remove unused file.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@61386 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEcore: Add autofoo magic for building XCB-based ecore_x.
devilhorns [Thu, 14 Jul 2011 15:46:30 +0000 (15:46 +0000)]
Ecore: Add autofoo magic for building XCB-based ecore_x.

NB: IF you are going to try this, build evas with
`--enable-software-xcb` AND build ecore with `--enable-ecore-x-xcb
--disable-ecore-evas-opengl-x11`.

NB: OpenGL does NOT work with the xcb stuff yet. E itself does NOT
work with this yet either (still have to commit those changes).

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@61385 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEcore: Add 'makekeys' utility (used for compiling new xcb stuff)
devilhorns [Thu, 14 Jul 2011 15:43:49 +0000 (15:43 +0000)]
Ecore: Add 'makekeys' utility (used for compiling new xcb stuff)
provides a lookup table for xlookupstring (as xcb does not have a function for this).

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@61382 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEcore: Remove whitespace in Makefile.am
devilhorns [Thu, 14 Jul 2011 15:42:02 +0000 (15:42 +0000)]
Ecore: Remove whitespace in Makefile.am

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@61381 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEcore_Input: Add Shift_Lock variable for Ecore_Event.
devilhorns [Thu, 14 Jul 2011 15:41:36 +0000 (15:41 +0000)]
Ecore_Input: Add Shift_Lock variable for Ecore_Event.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@61380 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEcore_Evas: Fixes for working with the xcb engine. Fix some
devilhorns [Thu, 14 Jul 2011 15:40:53 +0000 (15:40 +0000)]
Ecore_Evas: Fixes for working with the xcb engine. Fix some
formatting. Fix dst_rect being uninitialized. Remove 'prefetch &
fetch' calls as they are not used in the new xcb stuffs.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@61379 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEcore_Input_Evas: Add missing Shift_Lock modifier.
devilhorns [Thu, 14 Jul 2011 15:38:09 +0000 (15:38 +0000)]
Ecore_Input_Evas: Add missing Shift_Lock modifier.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@61378 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEcore_X: Add missing shift_lock modifier. Remove unused _ecore_x_ic
devilhorns [Thu, 14 Jul 2011 15:37:04 +0000 (15:37 +0000)]
Ecore_X: Add missing shift_lock modifier. Remove unused _ecore_x_ic
variable. Add atom for VisualID (for systray module).

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@61377 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEcore_X: Add new xcb code (still not 100% complete tho).
devilhorns [Thu, 14 Jul 2011 15:35:42 +0000 (15:35 +0000)]
Ecore_X: Add new xcb code (still not 100% complete tho).

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@61376 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEcore: Add myself to Authors (for incoming xcb stuffs).
devilhorns [Thu, 14 Jul 2011 15:31:24 +0000 (15:31 +0000)]
Ecore: Add myself to Authors (for incoming xcb stuffs).

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@61375 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoecore/ecore_con - Add some sequence diagrams.
antognolli [Wed, 13 Jul 2011 19:04:27 +0000 (19:04 +0000)]
ecore/ecore_con - Add some sequence diagrams.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@61351 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoecore/ecore_con - Add minimal http server and url cookies examples.
antognolli [Wed, 13 Jul 2011 19:04:17 +0000 (19:04 +0000)]
ecore/ecore_con - Add minimal http server and url cookies examples.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@61350 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoecore/ecore_con - Move more documentation to Ecore_Con.h.
antognolli [Wed, 13 Jul 2011 19:04:10 +0000 (19:04 +0000)]
ecore/ecore_con - Move more documentation to Ecore_Con.h.
Cookie related function documentation is moved, and some additional
comments were added to ecore_con_url_cookies_file_add and
ecore_con_url_cookies_jar_file_set.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@61349 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoecore/ecore_con - Brief description for the client and server groups.
antognolli [Tue, 12 Jul 2011 14:37:32 +0000 (14:37 +0000)]
ecore/ecore_con - Brief description for the client and server groups.
Also improve the documentation of some functions.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@61298 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoecore/ecore_con - Ecore_Con examples (server and client).
antognolli [Tue, 12 Jul 2011 14:37:22 +0000 (14:37 +0000)]
ecore/ecore_con - Ecore_Con examples (server and client).

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@61297 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoecore/ecore_con - Update documentation of server/client timeout_set().
antognolli [Tue, 12 Jul 2011 14:37:14 +0000 (14:37 +0000)]
ecore/ecore_con - Update documentation of server/client timeout_set().

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@61296 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoecore/ecore_con - Constify return of ecore_con_server_clients_get().
antognolli [Tue, 12 Jul 2011 14:37:08 +0000 (14:37 +0000)]
ecore/ecore_con - Constify return of ecore_con_server_clients_get().
We can't change the returned list, since it's not a copy but the
internal list itself.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@61295 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoecore/ecore_con - Move more function documentation to Ecore_Con.h
antognolli [Tue, 12 Jul 2011 14:36:58 +0000 (14:36 +0000)]
ecore/ecore_con - Move more function documentation to Ecore_Con.h
Some small fixes were also made to these docs.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@61294 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoSome example for Ecore_Thread
sachiel [Tue, 12 Jul 2011 13:38:25 +0000 (13:38 +0000)]
Some example for Ecore_Thread

It has some issues that need debugging, I'm not sure if Ecore_Thread doesn't
like having stuff done before the main loop is running and valgrind was also
complaining about some invalid reads in ecore_thread.c, but at least the
example is there for people to look at and report problems, things not clear
or just about anything that may come up from it.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@61293 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoFix some double frees. The hash frees the data itself.
sachiel [Tue, 12 Jul 2011 13:36:19 +0000 (13:36 +0000)]
Fix some double frees. The hash frees the data itself.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@61292 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoecore: Enable timers in glib dispatch
mike_m [Tue, 12 Jul 2011 11:57:12 +0000 (11:57 +0000)]
ecore: Enable timers in glib dispatch

Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@61286 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoecore: Make g_main_loop call idle enterers last
mike_m [Tue, 12 Jul 2011 11:57:03 +0000 (11:57 +0000)]
ecore: Make g_main_loop call idle enterers last

Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@61285 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoecore: Run timers at end of glib loop
mike_m [Tue, 12 Jul 2011 11:56:54 +0000 (11:56 +0000)]
ecore: Run timers at end of glib loop

This reduces the time between calculating the scene
and rendering it, making scrolling smoother.

Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@61284 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoecore: Fix warnings when epoll is disabled
mike_m [Tue, 12 Jul 2011 11:56:45 +0000 (11:56 +0000)]
ecore: Fix warnings when epoll is disabled

Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@61283 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoecore: Only check timers if we need to
mike_m [Tue, 12 Jul 2011 11:56:36 +0000 (11:56 +0000)]
ecore: Only check timers if we need to

Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@61282 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoecore: Remove redundant variable
mike_m [Tue, 12 Jul 2011 11:56:24 +0000 (11:56 +0000)]
ecore: Remove redundant variable

Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@61281 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoecore: Set source priority to high
mike_m [Tue, 12 Jul 2011 06:11:23 +0000 (06:11 +0000)]
ecore: Set source priority to high

Will only make a difference if there are other gsources.

Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@61269 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoecore: Wake main loop immediately on zero sleep
mike_m [Tue, 12 Jul 2011 06:11:14 +0000 (06:11 +0000)]
ecore: Wake main loop immediately on zero sleep

Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@61268 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoecore-imf: Place braces consistently
mike_m [Tue, 12 Jul 2011 06:11:04 +0000 (06:11 +0000)]
ecore-imf: Place braces consistently

Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@61267 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoecore-imf: Fix build in no XIM case
mike_m [Tue, 12 Jul 2011 06:10:54 +0000 (06:10 +0000)]
ecore-imf: Fix build in no XIM case

Fixes:

ecore_imf_xim.c: In function 'ecore_imf_xim_shutdown':
ecore_imf_xim.c:608:11: error: 'open_ims' undeclared (first use in this function)
ecore_imf_xim.c:608:11: note: each undeclared identifier is reported only once for each function it appears

Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@61266 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoecore-x: Use Evas CFLAGS to build XIM support
mike_m [Tue, 12 Jul 2011 02:26:48 +0000 (02:26 +0000)]
ecore-x: Use Evas CFLAGS to build XIM support

Signed-off-by: Mike McCormack <mikem@ring3k.org>
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@61260 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoecore-x: Add XIM module for ecore_imf
mike_m [Tue, 12 Jul 2011 02:26:39 +0000 (02:26 +0000)]
ecore-x: Add XIM module for ecore_imf

Signed-off-by: Naruto TAKAHASHI <tnaruto@gmail.com>
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@61259 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoecore-x: Add immodules directory
mike_m [Tue, 12 Jul 2011 02:26:29 +0000 (02:26 +0000)]
ecore-x: Add immodules directory

Signed-off-by: Naruto TAKAHASHI <tnaruto@gmail.com>
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@61258 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoecore-x: Remove XIM
mike_m [Tue, 12 Jul 2011 02:26:19 +0000 (02:26 +0000)]
ecore-x: Remove XIM

Signed-off-by: Naruto TAKAHASHI <tnaruto@gmail.com>
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@61257 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoecore/examples - Fix DSO build (linking example against Evas).
antognolli [Mon, 11 Jul 2011 17:22:31 +0000 (17:22 +0000)]
ecore/examples - Fix DSO build (linking example against Evas).

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@61255 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoecore: Fix logic bug in g_main_loop
mike_m [Mon, 11 Jul 2011 02:51:37 +0000 (02:51 +0000)]
ecore: Fix logic bug in g_main_loop

Want to use timerfd if either seconds or nanoseconds is non-zero.

Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@61224 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoecore: Ignore new binary ecore_test
mike_m [Mon, 11 Jul 2011 01:21:59 +0000 (01:21 +0000)]
ecore: Ignore new binary ecore_test

Signed-off-by: Mike McCormack <mikem@ring3k.org>
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@61218 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoecore: Comment missing example
mike_m [Mon, 11 Jul 2011 01:21:49 +0000 (01:21 +0000)]
ecore: Comment missing example

This is causing problems for autogen.sh

Signed-off-by: Mike McCormack <mikem@ring3k.org>
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@61217 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoFix ancient typo, and make them all consistant.
onefang [Sun, 10 Jul 2011 12:02:53 +0000 (12:02 +0000)]
Fix ancient typo, and make them all consistant.
Google tells me it's a fairly common miss spelling in USA, and a male singing group.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@61199 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agokeep'em consistent
sachiel [Sat, 9 Jul 2011 18:19:23 +0000 (18:19 +0000)]
keep'em consistent

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@61175 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoecore/ecore_con - add more reference doc to some functions.
antognolli [Fri, 8 Jul 2011 18:06:19 +0000 (18:06 +0000)]
ecore/ecore_con - add more reference doc to some functions.
Also add description to the examples.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@61161 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoecore/ecore_con - Add simple examples of ecore_con_url usage.
antognolli [Fri, 8 Jul 2011 18:06:12 +0000 (18:06 +0000)]
ecore/ecore_con - Add simple examples of ecore_con_url usage.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@61160 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoecore/ecore_con - Move documentation from .c to .h.
antognolli [Fri, 8 Jul 2011 18:06:04 +0000 (18:06 +0000)]
ecore/ecore_con - Move documentation from .c to .h.
This only affects ecore_con_url_* for now.
Also add docs to the structures used by ecore_con_url, and move them to
the Ecore_Con_Url_Group.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@61159 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoecore: Don't come out of idle because due to idlers
mike_m [Fri, 8 Jul 2011 10:26:24 +0000 (10:26 +0000)]
ecore: Don't come out of idle because due to idlers

Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@61152 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoecore: Check signals in glib prepare only
mike_m [Fri, 8 Jul 2011 10:26:14 +0000 (10:26 +0000)]
ecore: Check signals in glib prepare only

Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@61151 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoecore: Check for pending before entering g_main_loop
mike_m [Fri, 8 Jul 2011 08:07:40 +0000 (08:07 +0000)]
ecore: Check for pending before entering g_main_loop

Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@61150 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoecore: Only check timers on zero time left
mike_m [Fri, 8 Jul 2011 08:07:29 +0000 (08:07 +0000)]
ecore: Only check timers on zero time left

Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@61149 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoecore: Fix unused variable warnings
mike_m [Fri, 8 Jul 2011 06:38:56 +0000 (06:38 +0000)]
ecore: Fix unused variable warnings

Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@61147 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoecore: Build with -Wall -W by default
mike_m [Fri, 8 Jul 2011 06:38:47 +0000 (06:38 +0000)]
ecore: Build with -Wall -W by default

Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@61146 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoecore: Add test for timers created from idlers
mike_m [Fri, 8 Jul 2011 06:38:38 +0000 (06:38 +0000)]
ecore: Add test for timers created from idlers

Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@61145 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoecore: Add a main loop test
mike_m [Fri, 8 Jul 2011 06:38:28 +0000 (06:38 +0000)]
ecore: Add a main loop test

Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@61144 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoecore: Remove redundant if statement
mike_m [Fri, 8 Jul 2011 06:38:18 +0000 (06:38 +0000)]
ecore: Remove redundant if statement

Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@61143 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEcore: Ecore_Animator example.
gastal [Thu, 7 Jul 2011 18:57:10 +0000 (18:57 +0000)]
Ecore: Ecore_Animator example.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@61131 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEcore: Improved ecore_animator documentation.
gastal [Thu, 7 Jul 2011 18:56:57 +0000 (18:56 +0000)]
Ecore: Improved ecore_animator documentation.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@61130 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoLittle errors no one cares about, but make thread-less case work as expected
sachiel [Thu, 7 Jul 2011 18:39:25 +0000 (18:39 +0000)]
Little errors no one cares about, but make thread-less case work as expected

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@61129 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoecore/ecore_con - If argument is EINA_FALSE, set the value to 0!
antognolli [Thu, 7 Jul 2011 18:34:20 +0000 (18:34 +0000)]
ecore/ecore_con - If argument is EINA_FALSE, set the value to 0!

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@61128 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoecore/ecore_con - Set timer pointers to NULL when exiting them.
antognolli [Thu, 7 Jul 2011 18:18:53 +0000 (18:18 +0000)]
ecore/ecore_con - Set timer pointers to NULL when exiting them.
Otherwise this will lead to errors when some code does:
if (cl->until_deletion)
    ecore_timer_del(cl->until_deletion);

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@61127 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoecore-imf: Add APIs for virtual keyboard support
mike_m [Thu, 7 Jul 2011 11:55:05 +0000 (11:55 +0000)]
ecore-imf: Add APIs for virtual keyboard support

Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@61114 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoecore: Remove unnecessary debugging output
mike_m [Thu, 7 Jul 2011 11:37:12 +0000 (11:37 +0000)]
ecore: Remove unnecessary debugging output

Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@61112 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoecore: Make sure signals break from the main loop
mike_m [Thu, 7 Jul 2011 11:37:02 +0000 (11:37 +0000)]
ecore: Make sure signals break from the main loop

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@61111 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoecore: Update translations
mike_m [Thu, 7 Jul 2011 10:11:26 +0000 (10:11 +0000)]
ecore: Update translations

Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@61110 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33