discomfitor [Fri, 23 Jul 2010 22:28:18 +0000 (22:28 +0000)]
correctly init some variables that I missed somehow. I blame Sachiel.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@50465
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Fri, 23 Jul 2010 17:52:50 +0000 (17:52 +0000)]
shut up eina
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@50460
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Fri, 23 Jul 2010 17:30:21 +0000 (17:30 +0000)]
fix leak in thread_shutdown, use lots of mutexes and conditionals instead of sleeps to wait in data_wait functions
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@50459
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Fri, 23 Jul 2010 16:40:40 +0000 (16:40 +0000)]
whoops
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@50455
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Fri, 23 Jul 2010 16:24:35 +0000 (16:24 +0000)]
+ecore_thread_{global,pool}_data_wait, to allow waiting for data in the global or pool data contexts and simulate g_async_queue in a less mutexy fashion
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@50454
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Fri, 23 Jul 2010 15:33:22 +0000 (15:33 +0000)]
add threadsafe global data to threads, allowing for communication between threads and other threads and threads and main loop
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@50453
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Fri, 23 Jul 2010 13:35:14 +0000 (13:35 +0000)]
rename mutex
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@50451
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Fri, 23 Jul 2010 13:12:42 +0000 (13:12 +0000)]
fix doxy
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@50450
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Fri, 23 Jul 2010 13:08:38 +0000 (13:08 +0000)]
remove unnecessary mutexes, expand pthread self member to short_run threads, make thread pool data work on short_run threads, ecore_thread_pool_data_modify_or_add -> ecore_thread_pool_data_set
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@50449
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Fri, 23 Jul 2010 04:20:24 +0000 (04:20 +0000)]
shutup libtool on convenience libs
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@50444
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Fri, 23 Jul 2010 04:17:41 +0000 (04:17 +0000)]
+ecore_thread_pool_data_modify_or_add
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@50443
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Fri, 23 Jul 2010 03:39:52 +0000 (03:39 +0000)]
api change to ecore_thread_pool_data_add, now has 4th argument "direct" to avoid copying key value if desired
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@50442
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Thu, 22 Jul 2010 20:28:34 +0000 (20:28 +0000)]
+ecore_thread_pool_data_{add,find,del}: start of ecore_thread_pool api. these calls are used from heavy_run to manage data within a thread pool. more to come
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@50438
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Thu, 22 Jul 2010 11:32:55 +0000 (11:32 +0000)]
* ecore: add ecore_con_lookup for dns request retrieval.
NOTE: ecore_con_info_get is now private has it can't be used outside of Ecore_Con.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@50425
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Wed, 21 Jul 2010 08:33:25 +0000 (08:33 +0000)]
should probably make thread functions threadsafe. and compile.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@50411
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Wed, 21 Jul 2010 07:09:51 +0000 (07:09 +0000)]
fix some function variables and a cedric-requested rename
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@50409
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Wed, 21 Jul 2010 04:26:57 +0000 (04:26 +0000)]
man I fail at formatting
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@50406
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Wed, 21 Jul 2010 04:03:40 +0000 (04:03 +0000)]
+ecore_thread_total_get to return total number of pending jobs
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@50405
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Wed, 21 Jul 2010 02:12:10 +0000 (02:12 +0000)]
+ecore_thread_max_reset, ecore_thread_avail_get for more thread functionality, also fix formatting
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@50399
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Wed, 21 Jul 2010 01:04:28 +0000 (01:04 +0000)]
+ecore_thread_max_{set,get} to return/set the max number of threads ecore will attempt to run simultaneously
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@50397
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Tue, 20 Jul 2010 09:40:53 +0000 (09:40 +0000)]
some variable renames to make this easier to understand
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@50376
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Tue, 20 Jul 2010 09:40:18 +0000 (09:40 +0000)]
+ecore_thread_active_get, ecore_thread_pending_get, ecore_thread_pending_long_get to retrieve number of threads present with given status
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@50375
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Tue, 20 Jul 2010 05:32:29 +0000 (05:32 +0000)]
make some comments that were so close to being real doxy blocks into doxy blocks. come on guys. let's see some doxy hustle!
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@50373
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Tue, 20 Jul 2010 05:25:02 +0000 (05:25 +0000)]
note: '/*' is not how you begin a doxygen code block
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@50372
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
devilhorns [Mon, 19 Jul 2010 18:16:56 +0000 (18:16 +0000)]
Remove useless if statement. Regardless if count is greater than 1, we
were still returning the count anyway.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@50369
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
lucas [Fri, 16 Jul 2010 20:54:18 +0000 (20:54 +0000)]
Create interface to system bell
Only the xlib implementation is done. It's calling XBell() to alert user.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@50290
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
devilhorns [Thu, 15 Jul 2010 20:52:29 +0000 (20:52 +0000)]
Remove duplicate if (This is already checked a few lines above, so not
needed).
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@50272
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
lucas [Wed, 14 Jul 2010 02:20:30 +0000 (02:20 +0000)]
Remove unneeded code with notnull.cocci script
This continues previous commit with more complex places, where it required
more than just removing some "ifs".
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@50242
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
lucas [Wed, 14 Jul 2010 02:05:47 +0000 (02:05 +0000)]
Remove unneeded code with notnull.cocci script
The notnull.cocci script from Coccinelle finds places where you check if a
variable is NULL, but it's known not to be NULL. The check can be safely
removed. For example, this code would be caught by notnull:
if (!var) return;
if (var && var->fld) { ... }
It's needless to check again if var is not NULL because if it's in fact NULL,
it would have returned on the previous "if". This commit removes all the
trivial places where this pattern happens. Another patch will be generated for
the more complex cases.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@50241
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Tue, 13 Jul 2010 23:31:16 +0000 (23:31 +0000)]
add pixmap set/get for comp.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@50238
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
antognolli [Mon, 12 Jul 2010 17:59:48 +0000 (17:59 +0000)]
Fix accounting safeness logic introduced at rev. 50158.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@50202
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
glima [Mon, 12 Jul 2010 17:20:14 +0000 (17:20 +0000)]
Changes accounting safeness logic introduced at rev. 50158.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@50201
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Mon, 12 Jul 2010 14:39:06 +0000 (14:39 +0000)]
* ecore: fix build without thread.
NOTE: if you build ecore without pthread support, you really should know
that it is a bad idea. Only people without pthread support on their
device/C library should disable it.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@50200
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Mon, 12 Jul 2010 01:00:52 +0000 (01:00 +0000)]
fix flags/libs used.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@50189
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sun, 11 Jul 2010 23:59:06 +0000 (23:59 +0000)]
more correct dso fix.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@50186
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
maxerba [Sun, 11 Jul 2010 08:11:07 +0000 (08:11 +0000)]
updating french translation
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@50178
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Sat, 10 Jul 2010 11:09:40 +0000 (11:09 +0000)]
fix warnings
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@50174
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Sat, 10 Jul 2010 11:08:20 +0000 (11:08 +0000)]
fix spaces
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@50173
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Fri, 9 Jul 2010 14:52:45 +0000 (14:52 +0000)]
be loud about deleting timers, idlers and events more than once.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@50158
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
devilhorns [Fri, 9 Jul 2010 06:23:19 +0000 (06:23 +0000)]
Move Ecore.h (and associated headers) to own dir.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@50142
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Thu, 8 Jul 2010 06:53:06 +0000 (06:53 +0000)]
hmm seems not kosher
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@50122
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
lucas [Tue, 6 Jul 2010 00:08:52 +0000 (00:08 +0000)]
Finish fixing int => Eina_Bool
A buggy standard.h caused some parser errors in the previous committed
patch generated by Coccinelle. This commit find the other places.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@50052
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
nash [Mon, 5 Jul 2010 04:11:53 +0000 (04:11 +0000)]
Old bug: Don't suffer from buffer overflow in readlink.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@50040
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
mekius [Sat, 3 Jul 2010 03:07:28 +0000 (03:07 +0000)]
Fix a couple of missed Eina_Bool conversions
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@50007
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Fri, 2 Jul 2010 17:23:05 +0000 (17:23 +0000)]
* eina: rename ecore_file_ls_iterator to eina_file_ls.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@50002
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Fri, 2 Jul 2010 16:01:21 +0000 (16:01 +0000)]
* ecore: for the 50 000 commits, why not adding some docs ?
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@50000
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Fri, 2 Jul 2010 15:25:22 +0000 (15:25 +0000)]
* ecore: add ecore_file_ls_iterator.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@49997
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Fri, 2 Jul 2010 11:15:20 +0000 (11:15 +0000)]
* ecore: fix long run thread, now that I have a nice user.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@49994
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
lucas [Fri, 2 Jul 2010 01:38:05 +0000 (01:38 +0000)]
Fix callback signatures
The change from returning int to Eina_Bool left several call sites with
warnings because they were not updated. Here they are fixed by using
Coccinelle, a tool that allows us to automate tasks like that. This
commit was generated from the following semantic patch:
virtual org
@r1@
identifier fn!=NULL, fn2;
expression E1, E2, E3;
@@
(
ecore_event_handler_add(E1, fn, ...)
|
ecore_event_filter_add(E1, fn, ...)
|
ecore_idler_add(fn, ...)
|
ecore_idle_enterer_add(E1, fn, ...)
|
ecore_idle_enterer_before_add(E1, fn, ...)
|
ecore_idle_exiter_add(E1, fn, ...)
|
ecore_main_fd_handler_add(E1, E2, fn, E3, fn2, ...)
|
ecore_main_win32_handler_add(E1, fn, ...)
|
ecore_timer_add(E1, fn, ...)
|
ecore_timer_loop_add(E1, fn, ...)
|
ecore_animator_add(fn, ...)
|
ecore_poller_add(E1, E2, fn, ...)
)
@r2@
identifier r1.fn;
identifier ret;
typedef Eina_Bool;
position p;
@@
- int
+ Eina_Bool
fn@p(...) {
<...
(
- return 1;
+ return EINA_TRUE;
|
- return 0;
+ return EINA_FALSE;
|
- int
+ Eina_Bool
ret;
...
return <+...ret...+>;
|
return ...;
)
...>
}
@r3@
identifier r1.fn2;
identifier ret;
position p;
@@
- int
+ Eina_Bool
fn2@p(...) {
...
(
- return 1;
+ return EINA_TRUE;
|
- return 0;
+ return EINA_FALSE;
|
- int
+ Eina_Bool
ret;
...
return <+...ret...+>;
|
return ...;
)
...
}
@r4@
identifier r1.fn;
@@
- int
+ Eina_Bool
fn(...);
@r5@
identifier r1.fn2;
@@
- int
+ Eina_Bool
fn2(...);
@script:python depends on org@
p << r2.p;
f << r1.fn;
@@
import sys
msg="WARNING: wrong callback %s! ( %s:%s )" % (f, p[0].file,p[0].line)
print >> sys.stderr, msg
@script:python depends on org@
p << r3.p;
f << r1.fn2;
@@
import sys
msg="WARNING: wrong callback %s! ( %s:%s )" % (f, p[0].file,p[0].line)
print >> sys.stderr, msg
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@49985
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
nash [Fri, 2 Jul 2010 00:32:56 +0000 (00:32 +0000)]
Commit ecore_evas_ecore_evases get
Coming soon:
ecore_ecore_evas_evas_get
evas_ecore_ecore_evas_get
get_ecore_evas_ecore_evas_name_gen()
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@49983
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Wed, 30 Jun 2010 13:25:28 +0000 (13:25 +0000)]
* ecore: add ecore_long_run facility with notify to main loop.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@49948
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sun, 27 Jun 2010 14:06:10 +0000 (14:06 +0000)]
and final post snap - next releasename
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@49903
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sun, 27 Jun 2010 13:45:27 +0000 (13:45 +0000)]
snap+release
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@49899
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sun, 27 Jun 2010 13:32:45 +0000 (13:32 +0000)]
Snapshot ecore
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@49892
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Sat, 26 Jun 2010 15:38:50 +0000 (15:38 +0000)]
fix returned type of callbacks
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@49878
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Sat, 26 Jun 2010 15:35:30 +0000 (15:35 +0000)]
fix returned type of callbacks
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@49877
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Thu, 24 Jun 2010 16:15:56 +0000 (16:15 +0000)]
* ecore: Ecore callback really should return Eina_Bool.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@49829
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Wed, 23 Jun 2010 15:49:50 +0000 (15:49 +0000)]
fix linking with mingw
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@49817
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
nash [Wed, 23 Jun 2010 08:53:54 +0000 (08:53 +0000)]
/me has done ecore-related thingies.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@49815
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
nash [Wed, 23 Jun 2010 08:01:43 +0000 (08:01 +0000)]
Pass original data to targest selections
Users of targets may well want the atoms anyway.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@49811
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Sun, 20 Jun 2010 06:49:15 +0000 (06:49 +0000)]
useless file
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@49766
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Fri, 18 Jun 2010 14:45:42 +0000 (14:45 +0000)]
* configure.ac: take inept translation a little bit into account.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@49743
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Fri, 18 Jun 2010 06:43:33 +0000 (06:43 +0000)]
don't always add po/ subdir
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@49739
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Fri, 18 Jun 2010 06:36:21 +0000 (06:36 +0000)]
Allow ecore to be built on systems that do not have gettext (again).
The problem in the previous commit was that AM_GNU_GETTEXT and
AM_GNU_GETTEXT_VERSION must begin a line (autopoint searches lines
beginning by them).
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@49738
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Tue, 15 Jun 2010 23:45:45 +0000 (23:45 +0000)]
fix icccm
Patch by Alexander Kerner
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@49691
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Tue, 15 Jun 2010 22:37:07 +0000 (22:37 +0000)]
fix for double free, occured while processing a buffered event twice.
patch by Alexander Kerner
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@49690
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Mon, 14 Jun 2010 20:44:44 +0000 (20:44 +0000)]
wrong symbol
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@49674
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Mon, 14 Jun 2010 19:34:14 +0000 (19:34 +0000)]
formatting
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@49672
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Mon, 14 Jun 2010 19:32:24 +0000 (19:32 +0000)]
fix compilation
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@49671
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Mon, 14 Jun 2010 19:22:45 +0000 (19:22 +0000)]
fix selection compilation
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@49670
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Mon, 14 Jun 2010 19:21:11 +0000 (19:21 +0000)]
add the missing functions
ecore_x_sync_counter_new()
ecore_x_sync_counter_free()
ecore_x_sync_counter_inc()
ecore_x_sync_counter_val_wait()
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@49669
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Mon, 14 Jun 2010 19:19:30 +0000 (19:19 +0000)]
fix code.
Patch by Mikhail Gusarov
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@49668
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Mon, 14 Jun 2010 19:17:49 +0000 (19:17 +0000)]
XCB used to provide iterators for requests returning
list of values. Recent versions dropped it and return
arrays instead. Adapt code to use arrays unconditionally
(arrays were present in earlier libxcb versions).
Patch by Mikhail Gusarov
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@49667
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Thu, 10 Jun 2010 11:57:12 +0000 (11:57 +0000)]
* ecore: return Eina_Bool instead of int when it make sense.
Patch from Nicolas Aguirre.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@49611
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Wed, 9 Jun 2010 18:22:47 +0000 (18:22 +0000)]
SVN_REPO_PATH envvar during autoconf to use svnversion in there.
Some systems, like the Gentoo, copy the svn contents somewhere before
doing the autoconf, this may result in lack of .svn and thus minor
version "0".
This patch introduces the $SVN_REPO_PATH to say where the svn checkout
containing the ".svn" directory is.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@49594
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
nash [Wed, 9 Jun 2010 09:40:37 +0000 (09:40 +0000)]
Ecore_x_selection convert is now a little richer.
Allows implementation of proper X cut & paste by an applicaiton, exisitng code
should not be affected (may need an recompile).
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@49586
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Wed, 9 Jun 2010 01:48:24 +0000 (01:48 +0000)]
Makefile not makefile.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@49583
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Tue, 8 Jun 2010 23:28:36 +0000 (23:28 +0000)]
and the remaining revert. To be sure that the commit is
correct, don't forget to save the file. It can help...
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@49582
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Tue, 8 Jun 2010 23:23:59 +0000 (23:23 +0000)]
revert, as autopoint is buggy
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@49581
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Tue, 8 Jun 2010 18:06:56 +0000 (18:06 +0000)]
allows ecore to setup and compile even if gettext is not installed
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@49578
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Tue, 8 Jun 2010 11:31:15 +0000 (11:31 +0000)]
fix cedric b0rk
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@49569
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Tue, 8 Jun 2010 11:08:43 +0000 (11:08 +0000)]
* ecore_con: close connection when other side end it.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@49567
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Tue, 8 Jun 2010 11:02:57 +0000 (11:02 +0000)]
quick - limit # of tries for reading... this means 1000% cpu usage...
but at least things dont hang.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@49566
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Tue, 8 Jun 2010 08:05:30 +0000 (08:05 +0000)]
off! shhh!
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@49565
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
nash [Tue, 8 Jun 2010 07:20:12 +0000 (07:20 +0000)]
Minor tweak: Include stdio if logging enabled (ugly, but it is for debug)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@49564
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Mon, 7 Jun 2010 13:08:19 +0000 (13:08 +0000)]
* ecore_con: with AF_UNSPEC, c-ares will prefer IPv4 address
when IPv4 and IPv6 exist, if you ask AF_INET6, it will first
try IPv6 before falling back to IPv4 address.
So now ecore_con_ares will prefer IPv6 if available.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@49552
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Mon, 7 Jun 2010 13:05:49 +0000 (13:05 +0000)]
* ecore_con: improve error detection.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@49551
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sun, 6 Jun 2010 17:43:03 +0000 (17:43 +0000)]
restore after snap/release
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@49540
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sun, 6 Jun 2010 17:26:43 +0000 (17:26 +0000)]
Snapshot ecore
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@49533
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sun, 6 Jun 2010 17:17:52 +0000 (17:17 +0000)]
post-snap anr release.. reset svn back.. this time for real.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@49526
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sun, 6 Jun 2010 16:42:36 +0000 (16:42 +0000)]
Snapshot ecore
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@49516
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sun, 6 Jun 2010 16:23:16 +0000 (16:23 +0000)]
post release - move relname to pre-svn again.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@49506
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sun, 6 Jun 2010 16:08:02 +0000 (16:08 +0000)]
Snapshot ecore
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@49497
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Fri, 4 Jun 2010 06:36:54 +0000 (06:36 +0000)]
be mroe explicit on keeping im handle.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@49444
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Fri, 4 Jun 2010 04:53:10 +0000 (04:53 +0000)]
formatting.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@49441
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Fri, 4 Jun 2010 04:45:53 +0000 (04:45 +0000)]
formatting.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@49440
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Fri, 4 Jun 2010 04:18:50 +0000 (04:18 +0000)]
didnt set right ptr to null
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@49439
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
lucas [Fri, 4 Jun 2010 02:47:00 +0000 (02:47 +0000)]
housekeeping++
* process filters in their own function
* remove commented printf
* remove trailing white space
* lower indentation needed by breaking loop instead of a big if
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@49436
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
lucas [Fri, 4 Jun 2010 02:45:47 +0000 (02:45 +0000)]
Fix current event pointer when walking filters
When walking the filters' list, using event_current might screw a
recursive main loop that had to process filters *and* events on the
first iteration. Thus, use a new pointer to mark the current event being
treated when walking filters' list.
Tests for this one is difficult. I'll try to think about a test later.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@49435
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
lucas [Fri, 4 Jun 2010 02:45:20 +0000 (02:45 +0000)]
Fix semantics of event->delete_me
* _ecore_event_purge_deleted() purges only events marked with
delete_me
* _ecore_events_exist() walks the events list to control that
at least one event with delete_me == 0 exists
Tests coming in a separate patch.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@49434
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33