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: http://svn.enlightenment.org/svn/e/trunk/ecore@61298
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
antognolli [Tue, 12 Jul 2011 14:37:22 +0000 (14:37 +0000)]
ecore/ecore_con - Ecore_Con examples (server and client).
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@61297
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: http://svn.enlightenment.org/svn/e/trunk/ecore@61296
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: http://svn.enlightenment.org/svn/e/trunk/ecore@61295
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: http://svn.enlightenment.org/svn/e/trunk/ecore@61294
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: http://svn.enlightenment.org/svn/e/trunk/ecore@61293
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: http://svn.enlightenment.org/svn/e/trunk/ecore@61292
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: http://svn.enlightenment.org/svn/e/trunk/ecore@61286
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: http://svn.enlightenment.org/svn/e/trunk/ecore@61285
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: http://svn.enlightenment.org/svn/e/trunk/ecore@61284
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: http://svn.enlightenment.org/svn/e/trunk/ecore@61283
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: http://svn.enlightenment.org/svn/e/trunk/ecore@61282
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: http://svn.enlightenment.org/svn/e/trunk/ecore@61281
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: http://svn.enlightenment.org/svn/e/trunk/ecore@61269
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: http://svn.enlightenment.org/svn/e/trunk/ecore@61268
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: http://svn.enlightenment.org/svn/e/trunk/ecore@61267
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: http://svn.enlightenment.org/svn/e/trunk/ecore@61266
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: http://svn.enlightenment.org/svn/e/trunk/ecore@61260
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: http://svn.enlightenment.org/svn/e/trunk/ecore@61259
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: http://svn.enlightenment.org/svn/e/trunk/ecore@61258
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: http://svn.enlightenment.org/svn/e/trunk/ecore@61257
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
antognolli [Mon, 11 Jul 2011 17:22:31 +0000 (17:22 +0000)]
ecore/examples - Fix DSO build (linking example against Evas).
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@61255
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: http://svn.enlightenment.org/svn/e/trunk/ecore@61224
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: http://svn.enlightenment.org/svn/e/trunk/ecore@61218
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: http://svn.enlightenment.org/svn/e/trunk/ecore@61217
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: http://svn.enlightenment.org/svn/e/trunk/ecore@61199
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
sachiel [Sat, 9 Jul 2011 18:19:23 +0000 (18:19 +0000)]
keep'em consistent
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@61175
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: http://svn.enlightenment.org/svn/e/trunk/ecore@61161
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: http://svn.enlightenment.org/svn/e/trunk/ecore@61160
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: http://svn.enlightenment.org/svn/e/trunk/ecore@61159
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: http://svn.enlightenment.org/svn/e/trunk/ecore@61152
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: http://svn.enlightenment.org/svn/e/trunk/ecore@61151
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: http://svn.enlightenment.org/svn/e/trunk/ecore@61150
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: http://svn.enlightenment.org/svn/e/trunk/ecore@61149
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: http://svn.enlightenment.org/svn/e/trunk/ecore@61147
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: http://svn.enlightenment.org/svn/e/trunk/ecore@61146
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: http://svn.enlightenment.org/svn/e/trunk/ecore@61145
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: http://svn.enlightenment.org/svn/e/trunk/ecore@61144
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: http://svn.enlightenment.org/svn/e/trunk/ecore@61143
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
gastal [Thu, 7 Jul 2011 18:57:10 +0000 (18:57 +0000)]
Ecore: Ecore_Animator example.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@61131
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
gastal [Thu, 7 Jul 2011 18:56:57 +0000 (18:56 +0000)]
Ecore: Improved ecore_animator documentation.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@61130
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: http://svn.enlightenment.org/svn/e/trunk/ecore@61129
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: http://svn.enlightenment.org/svn/e/trunk/ecore@61128
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: http://svn.enlightenment.org/svn/e/trunk/ecore@61127
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: http://svn.enlightenment.org/svn/e/trunk/ecore@61114
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: http://svn.enlightenment.org/svn/e/trunk/ecore@61112
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: http://svn.enlightenment.org/svn/e/trunk/ecore@61111
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: http://svn.enlightenment.org/svn/e/trunk/ecore@61110
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
mike_m [Thu, 7 Jul 2011 10:11:13 +0000 (10:11 +0000)]
ecore: Fix thread check for quicklaunch
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@61109
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Thu, 7 Jul 2011 09:37:55 +0000 (09:37 +0000)]
typo fix!
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@61108
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Thu, 7 Jul 2011 06:23:46 +0000 (06:23 +0000)]
From: Jihoon Kim <jihoon48.kim@samsung.com>
Subject: [E-devel] [PATCH] add ecore_imf_context_cursor_location_set API
In this patch, it will add ecore_imf_context_cursor_location_set API in
Ecore_IMF.
The cursor location can be used to determine the position of candidate
word window in immodule.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@61105
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
seoz [Thu, 7 Jul 2011 04:58:34 +0000 (04:58 +0000)]
edje/ecore/eina: Updated documentaton for version number.
I did this manually. But it'll be good if someone can automate this.
It's a painful for busy developers.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@61104
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
bdilly [Wed, 6 Jul 2011 20:56:55 +0000 (20:56 +0000)]
Ecore File Download: don't mess with Ecore_Con event status
For some reason it was passing !ev->status instead of ev->status
to completion_cb, so all the information that should be provided
(200, 400 or 404 error, ...) was becoming 0.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@61099
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
sachiel [Wed, 6 Jul 2011 18:08:21 +0000 (18:08 +0000)]
Expand Ecore_Thread docs.
Thanks cedric for technical advice.
Thanks discomfitor for helping when English vanished.
Thanks myself for keeping both of them busy so they don't break SVN *too* much.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@61095
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
mike_m [Wed, 6 Jul 2011 10:54:30 +0000 (10:54 +0000)]
ecore: Remove most #ifdef HAVE_EPOLL blocks
Replace with if statements and stub epoll calls, and let the
compiler optimize out the stub code.
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@61081
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
mike_m [Wed, 6 Jul 2011 10:54:20 +0000 (10:54 +0000)]
ecore: Remove most HAVE_TIMERFD_CREATE ifdefs
Introduce stub timerfd_create and timerfd_settime functions
so ifdefs can be removed.
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@61080
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
mike_m [Wed, 6 Jul 2011 10:54:11 +0000 (10:54 +0000)]
ecore: Use timerfd with g_main_loop
glib only allows millisecond resolution in g_main_loop.
To avoid this limitation, use timerfd to wake up the main loop.
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@61079
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Wed, 6 Jul 2011 10:21:16 +0000 (10:21 +0000)]
provide alpha set call for buffer canvas in ecore-evas. new feature
related to elm shot engine.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@61077
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
antognolli [Tue, 5 Jul 2011 13:09:57 +0000 (13:09 +0000)]
ecore/ecore_con - improved documentation and added example.
Just ecore_con_init, shutdown and lookup documented for now.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@61050
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
mike_m [Tue, 5 Jul 2011 11:13:47 +0000 (11:13 +0000)]
ecore: Minor changes to documentation of ecore_con_url_fd_set
Signed-off-By: Sanjeev BA <as2902.b@samsung.com>
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@61043
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
mike_m [Tue, 5 Jul 2011 11:13:39 +0000 (11:13 +0000)]
ecore: Only dispatch if we have something to do
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@61042
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
mike_m [Tue, 5 Jul 2011 11:13:29 +0000 (11:13 +0000)]
ecore: Add basic thread checks
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@61041
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
mike_m [Tue, 5 Jul 2011 11:13:20 +0000 (11:13 +0000)]
ecore: Add function to check we're the main loop thread
Rearrange the the order of startup to avoid triggering
the thread checks in ecore_event_type_new().
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@61040
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Tue, 5 Jul 2011 04:08:01 +0000 (04:08 +0000)]
diable fix_hz - little need for that these days. i almost forgot that
this existed!
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@61030
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
mike_m [Tue, 5 Jul 2011 02:32:07 +0000 (02:32 +0000)]
ecore: Sleep at least until the next timeout
The g_main_loop was spinning waiting for timers that were
almost ready. The spinning was due to waking up from
the g_main_loop too early, and then having nothing to do.
To solve this, round the timeout up to the nearest millisecond,
so that when the main loop wakes, the timer will definitely be
ready.
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@61028
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
mike_m [Tue, 5 Jul 2011 02:31:58 +0000 (02:31 +0000)]
ecore: Remove excessively verbose logging
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@61027
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Tue, 5 Jul 2011 00:06:27 +0000 (00:06 +0000)]
unify more event handling, fix a little formatting
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@61025
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
antognolli [Mon, 4 Jul 2011 20:04:18 +0000 (20:04 +0000)]
ecore/ecore_con - Make ecore_con_lookup() work with ipv4 too
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@61021
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
antognolli [Mon, 4 Jul 2011 18:31:23 +0000 (18:31 +0000)]
ecore/fd_handler - Add detailed description to this group.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@61016
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
antognolli [Mon, 4 Jul 2011 18:31:13 +0000 (18:31 +0000)]
ecore/events - add detailed description to this group.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@61015
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
antognolli [Mon, 4 Jul 2011 18:31:02 +0000 (18:31 +0000)]
ecore - add and fix links to examples on each module description.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@61014
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Fri, 1 Jul 2011 00:04:06 +0000 (00:04 +0000)]
Fix epoll delete fd handling in child process - #796
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@60895
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
gastal [Thu, 30 Jun 2011 18:10:30 +0000 (18:10 +0000)]
Ecore: ecore_pipe documentation.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@60878
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
devilhorns [Wed, 29 Jun 2011 19:40:20 +0000 (19:40 +0000)]
Ecore: Ecore_X: Add missing EAPI for ecore_x_dnd_source_action_get
function.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@60834
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
antognolli [Wed, 29 Jun 2011 18:15:36 +0000 (18:15 +0000)]
ecore/timer - Document ecore_timer_freeze and ecore_timer_thaw.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@60830
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
antognolli [Wed, 29 Jun 2011 18:07:34 +0000 (18:07 +0000)]
ecore/poller - Add a poller example and its explanation.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@60829
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
antognolli [Wed, 29 Jun 2011 18:07:23 +0000 (18:07 +0000)]
ecore/time - Rename example to avoid mismatch.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@60828
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
antognolli [Wed, 29 Jun 2011 18:07:08 +0000 (18:07 +0000)]
ecore/timer - Add a commented example.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@60827
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Wed, 29 Jun 2011 08:24:13 +0000 (08:24 +0000)]
ecore: forgotten eina_threads_init/shutdown.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@60801
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
sachiel [Wed, 29 Jun 2011 02:32:37 +0000 (02:32 +0000)]
It doesn't look like this matters, so let's fix the build.
And if it does matter, I hope it breaks something from cedric. One femur, for example. Or both.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@60789
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Tue, 28 Jun 2011 15:53:19 +0000 (15:53 +0000)]
ecore: do count threads only in the main loop.
NOTE: for an unknow reason I always get the wrong number
of threads when doing the computation from the thread.
Even if I use volatile and mutex. So to avoid that move
that stuff in the main loop. It increase the complexity
of the code, but at least it work.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@60767
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
antognolli [Tue, 28 Jun 2011 15:05:29 +0000 (15:05 +0000)]
ecore/fd_handler - Add an example.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@60766
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
antognolli [Tue, 28 Jun 2011 15:05:09 +0000 (15:05 +0000)]
ecore/fd_handler - Fix prepare_callback_set and improve its doc.
Now they can be set even if the list is empty (sorry discomfitor,
removing your optimization and making it O(n) again, back from O(0)).
Also notice that due to the already existing check, if a prepare
callback was already set to a fd handler, it can't be changed, so I
added that to the docs.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@60765
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
antognolli [Tue, 28 Jun 2011 15:03:58 +0000 (15:03 +0000)]
ecore/fd_handler - Rename fd_handler example that uses gnutls.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@60764
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Tue, 28 Jun 2011 14:53:34 +0000 (14:53 +0000)]
ecore: actually limit the number of pipe in the cache.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@60763
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Tue, 28 Jun 2011 12:34:52 +0000 (12:34 +0000)]
add ecore_throttle
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@60756
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
antognolli [Mon, 27 Jun 2011 19:58:53 +0000 (19:58 +0000)]
ecore/events - constify data parameter of event_handler_data_set.
Make this function and ecore_event_handler_add be consistent about it.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@60741
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
antognolli [Mon, 27 Jun 2011 19:42:28 +0000 (19:42 +0000)]
ecore/event_handler - Improve documentation and add an example.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@60740
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Sat, 25 Jun 2011 08:39:07 +0000 (08:39 +0000)]
apparently SSL_set_verify with SSL_VERIFY_PEER is NOT sufficient for validating a certificate as its man page implies. good thing the correct way is properly docu...right. openssl. riiiiiiiiiggghhht.
+ecore_con_ssl_server_verify_basic for checking a cert against its hostname
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@60673
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
antognolli [Wed, 22 Jun 2011 22:56:36 +0000 (22:56 +0000)]
ecore/idler - Fix wrong explanation!
Event callbacks don't stop being called by returning false, but won't
allow other callbacks to handle that event.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@60611
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
antognolli [Wed, 22 Jun 2011 20:54:32 +0000 (20:54 +0000)]
ecore/job - Improve documentation and add an example.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@60608
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
antognolli [Wed, 22 Jun 2011 18:29:38 +0000 (18:29 +0000)]
ecore/idler - Improve documentation and add an example.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@60602
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
antognolli [Wed, 22 Jun 2011 15:01:55 +0000 (15:01 +0000)]
ecore/doc - Move some examples to examples.dox
Also remove references to examples that don't exist anymore.
More examples are going to be explained, and removing them from Ecore.h
will improve the readability of that file. This is the same that was
done to Elementary.
I'm going to move all the examples reference to this file, and should
have them being pointed by functions that use them too.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@60598
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
antognolli [Wed, 22 Jun 2011 15:00:44 +0000 (15:00 +0000)]
ecore/main_loop - Improve documentation of some functions.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@60597
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
antognolli [Tue, 21 Jun 2011 17:15:54 +0000 (17:15 +0000)]
ecore/time - Add an example to use the ecore_time_* functions.
It exemplifies the difference between ecore_time_get(), ecore_time_unix_get()
and ecore_loop_time_get(). A description of this example is also provided.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@60557
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
antognolli [Tue, 21 Jun 2011 17:14:19 +0000 (17:14 +0000)]
ecore/examples - Add support for building and installing examples.
Also move them from ecore/examples to ecore/src/examples, to match the other
libraries organization.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@60556
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Mon, 20 Jun 2011 07:17:24 +0000 (07:17 +0000)]
From: Jihoon Kim <jihoon48.kim@samsung.com>
Subject: [E-devel] [PATCH] Add Ecore_IMF API to set the attirbute of
input panel
For supporting virtual keyboard, I'd like to add
ecore_imf_context_input_panel_enabled_set/get APIs. The detail description of
each API is included in the patch file as doxygen format.
If input panel is in 'enabled' status, the immodule will request to
show the input panel automatically When the input widget such as entry is
clicked or has focus. In some case, application programmers want to control
the input panel manually (not automatically), so I implement this API.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@60504
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Mon, 20 Jun 2011 06:58:33 +0000 (06:58 +0000)]
From: Ulrich Eckhardt <doomster@knuut.de>
Subject: [E-devel] XRender engine causes ecore build failure
while building ecore. The problem is that this engine was removed from evas
but not yet completely from ecore. I was on IRC with Vincent Torri (vtorri)
and Daniel Juyung Seo (SeoZ) and the consensus was to remove the code for the
XRender engines, both the Xlib and XCB versions.
There is a switch over the different engine types, where there are still a few
places left where XRender is handled, grep for "xrender" or "XRENDER" and you
will find them. The question is whether to just return NULL in order to signal
that this engine is not supported or to remove the whole thing. The latter
could break binary compatibility, therefore I left those stubs in.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@60502
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Fri, 17 Jun 2011 21:49:47 +0000 (21:49 +0000)]
Ecore : ecore_evas : use correct temporary directory on Windows
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@60468
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Fri, 17 Jun 2011 21:45:21 +0000 (21:45 +0000)]
Ecore: remove wrong cast
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@60467
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33