framework/uifw/ecore.git
14 years agoapi change to ecore_thread_pool_data_add, now has 4th argument "direct" to avoid...
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50442 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years ago+ecore_thread_pool_data_{add,find,del}: start of ecore_thread_pool api. these calls...
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50438 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years ago * ecore: add ecore_con_lookup for dns request retrieval.
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50425 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoshould probably make thread functions threadsafe. and compile.
discomfitor [Wed, 21 Jul 2010 08:33:25 +0000 (08:33 +0000)]
should probably make thread functions threadsafe. and compile.

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

14 years agofix some function variables and a cedric-requested rename
discomfitor [Wed, 21 Jul 2010 07:09:51 +0000 (07:09 +0000)]
fix some function variables and a cedric-requested rename

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

14 years agoman I fail at formatting
discomfitor [Wed, 21 Jul 2010 04:26:57 +0000 (04:26 +0000)]
man I fail at formatting

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

14 years ago+ecore_thread_total_get to return total number of pending jobs
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50405 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years ago+ecore_thread_max_reset, ecore_thread_avail_get for more thread functionality, also...
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50399 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years ago+ecore_thread_max_{set,get} to return/set the max number of threads ecore will attemp...
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50397 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agosome variable renames to make this easier to understand
discomfitor [Tue, 20 Jul 2010 09:40:53 +0000 (09:40 +0000)]
some variable renames to make this easier to understand

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

14 years ago+ecore_thread_active_get, ecore_thread_pending_get, ecore_thread_pending_long_get...
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50375 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agomake some comments that were so close to being real doxy blocks into doxy blocks...
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50373 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agonote: '/*' is not how you begin a doxygen code block
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50372 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoRemove useless if statement. Regardless if count is greater than 1, we
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50369 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoCreate interface to system bell
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50290 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoRemove duplicate if (This is already checked a few lines above, so not
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50272 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoRemove unneeded code with notnull.cocci script
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50242 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoRemove unneeded code with notnull.cocci script
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50241 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoadd pixmap set/get for comp.
raster [Tue, 13 Jul 2010 23:31:16 +0000 (23:31 +0000)]
add pixmap set/get for comp.

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

14 years agoFix accounting safeness logic introduced at rev. 50158.
antognolli [Mon, 12 Jul 2010 17:59:48 +0000 (17:59 +0000)]
Fix accounting safeness logic introduced at rev. 50158.

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

14 years agoChanges accounting safeness logic introduced at rev. 50158.
glima [Mon, 12 Jul 2010 17:20:14 +0000 (17:20 +0000)]
Changes accounting safeness logic introduced at rev. 50158.

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

14 years ago * ecore: fix build without thread.
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50200 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agofix flags/libs used.
raster [Mon, 12 Jul 2010 01:00:52 +0000 (01:00 +0000)]
fix flags/libs used.

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

14 years agomore correct dso fix.
raster [Sun, 11 Jul 2010 23:59:06 +0000 (23:59 +0000)]
more correct dso fix.

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

14 years agoupdating french translation
maxerba [Sun, 11 Jul 2010 08:11:07 +0000 (08:11 +0000)]
updating french translation

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

14 years agofix warnings
caro [Sat, 10 Jul 2010 11:09:40 +0000 (11:09 +0000)]
fix warnings

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

14 years agofix spaces
caro [Sat, 10 Jul 2010 11:08:20 +0000 (11:08 +0000)]
fix spaces

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

14 years agobe loud about deleting timers, idlers and events more than once.
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50158 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoMove Ecore.h (and associated headers) to own dir.
devilhorns [Fri, 9 Jul 2010 06:23:19 +0000 (06:23 +0000)]
Move Ecore.h (and associated headers) to own dir.

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

14 years agohmm seems not kosher
raster [Thu, 8 Jul 2010 06:53:06 +0000 (06:53 +0000)]
hmm seems not kosher

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

14 years agoFinish fixing int => Eina_Bool
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50052 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoOld bug: Don't suffer from buffer overflow in readlink.
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50040 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoFix a couple of missed Eina_Bool conversions
mekius [Sat, 3 Jul 2010 03:07:28 +0000 (03:07 +0000)]
Fix a couple of missed Eina_Bool conversions

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

14 years ago * eina: rename ecore_file_ls_iterator to eina_file_ls.
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50002 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years ago * ecore: for the 50 000 commits, why not adding some docs ?
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50000 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years ago * ecore: add ecore_file_ls_iterator.
cedric [Fri, 2 Jul 2010 15:25:22 +0000 (15:25 +0000)]
* ecore: add ecore_file_ls_iterator.

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

14 years ago * ecore: fix long run thread, now that I have a nice user.
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@49994 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoFix callback signatures
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@49985 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoCommit ecore_evas_ecore_evases get
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@49983 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years ago * ecore: add ecore_long_run facility with notify to main loop.
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@49948 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoand final post snap - next releasename
raster [Sun, 27 Jun 2010 14:06:10 +0000 (14:06 +0000)]
and final post snap - next releasename

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

14 years agosnap+release
raster [Sun, 27 Jun 2010 13:45:27 +0000 (13:45 +0000)]
snap+release

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

14 years agoSnapshot ecore
raster [Sun, 27 Jun 2010 13:32:45 +0000 (13:32 +0000)]
Snapshot ecore

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

14 years agofix returned type of callbacks
caro [Sat, 26 Jun 2010 15:38:50 +0000 (15:38 +0000)]
fix returned type of callbacks

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

14 years agofix returned type of callbacks
caro [Sat, 26 Jun 2010 15:35:30 +0000 (15:35 +0000)]
fix returned type of callbacks

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

14 years ago * ecore: Ecore callback really should return Eina_Bool.
cedric [Thu, 24 Jun 2010 16:15:56 +0000 (16:15 +0000)]
* ecore: Ecore callback really should return Eina_Bool.

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

14 years agofix linking with mingw
caro [Wed, 23 Jun 2010 15:49:50 +0000 (15:49 +0000)]
fix linking with mingw

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

14 years ago/me has done ecore-related thingies.
nash [Wed, 23 Jun 2010 08:53:54 +0000 (08:53 +0000)]
/me has done ecore-related thingies.

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

14 years agoPass original data to targest selections
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@49811 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agouseless file
caro [Sun, 20 Jun 2010 06:49:15 +0000 (06:49 +0000)]
useless file

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

14 years ago * configure.ac: take inept translation a little bit into account.
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@49743 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agodon't always add po/ subdir
caro [Fri, 18 Jun 2010 06:43:33 +0000 (06:43 +0000)]
don't always add po/ subdir

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

14 years agoAllow ecore to be built on systems that do not have gettext (again).
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@49738 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agofix icccm
caro [Tue, 15 Jun 2010 23:45:45 +0000 (23:45 +0000)]
fix icccm

Patch by Alexander Kerner

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

14 years agofix for double free, occured while processing a buffered event twice.
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@49690 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agowrong symbol
caro [Mon, 14 Jun 2010 20:44:44 +0000 (20:44 +0000)]
wrong symbol

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

14 years agoformatting
caro [Mon, 14 Jun 2010 19:34:14 +0000 (19:34 +0000)]
formatting

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

14 years agofix compilation
caro [Mon, 14 Jun 2010 19:32:24 +0000 (19:32 +0000)]
fix compilation

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

14 years agofix selection compilation
caro [Mon, 14 Jun 2010 19:22:45 +0000 (19:22 +0000)]
fix selection compilation

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

14 years agoadd the missing functions
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@49669 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agofix code.
caro [Mon, 14 Jun 2010 19:19:30 +0000 (19:19 +0000)]
fix code.

Patch by Mikhail Gusarov

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

14 years agoXCB used to provide iterators for requests returning
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@49667 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years ago * ecore: return Eina_Bool instead of int when it make sense.
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@49611 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoSVN_REPO_PATH envvar during autoconf to use svnversion in there.
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@49594 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoEcore_x_selection convert is now a little richer.
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@49586 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoMakefile not makefile.
raster [Wed, 9 Jun 2010 01:48:24 +0000 (01:48 +0000)]
Makefile not makefile.

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

14 years agoand the remaining revert. To be sure that the commit is
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@49582 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agorevert, as autopoint is buggy
caro [Tue, 8 Jun 2010 23:23:59 +0000 (23:23 +0000)]
revert, as autopoint is buggy

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

14 years agoallows ecore to setup and compile even if gettext is not installed
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@49578 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agofix cedric b0rk
raster [Tue, 8 Jun 2010 11:31:15 +0000 (11:31 +0000)]
fix cedric b0rk

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

14 years ago * ecore_con: close connection when other side end it.
cedric [Tue, 8 Jun 2010 11:08:43 +0000 (11:08 +0000)]
* ecore_con: close connection when other side end it.

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

14 years agoquick - limit # of tries for reading... this means 1000% cpu usage...
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@49566 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agooff! shhh!
raster [Tue, 8 Jun 2010 08:05:30 +0000 (08:05 +0000)]
off! shhh!

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

14 years agoMinor tweak: Include stdio if logging enabled (ugly, but it is for debug)
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@49564 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years ago * ecore_con: with AF_UNSPEC, c-ares will prefer IPv4 address
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@49552 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years ago * ecore_con: improve error detection.
cedric [Mon, 7 Jun 2010 13:05:49 +0000 (13:05 +0000)]
* ecore_con: improve error detection.

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

14 years agorestore after snap/release
raster [Sun, 6 Jun 2010 17:43:03 +0000 (17:43 +0000)]
restore after snap/release

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

14 years agoSnapshot ecore
raster [Sun, 6 Jun 2010 17:26:43 +0000 (17:26 +0000)]
Snapshot ecore

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

14 years agopost-snap anr release.. reset svn back.. this time for real.
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@49526 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoSnapshot ecore
raster [Sun, 6 Jun 2010 16:42:36 +0000 (16:42 +0000)]
Snapshot ecore

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

14 years agopost release - move relname to pre-svn again.
raster [Sun, 6 Jun 2010 16:23:16 +0000 (16:23 +0000)]
post release - move relname to pre-svn again.

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

14 years agoSnapshot ecore
raster [Sun, 6 Jun 2010 16:08:02 +0000 (16:08 +0000)]
Snapshot ecore

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

14 years agobe mroe explicit on keeping im handle.
raster [Fri, 4 Jun 2010 06:36:54 +0000 (06:36 +0000)]
be mroe explicit on keeping im handle.

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

14 years agoformatting.
raster [Fri, 4 Jun 2010 04:53:10 +0000 (04:53 +0000)]
formatting.

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

14 years agoformatting.
raster [Fri, 4 Jun 2010 04:45:53 +0000 (04:45 +0000)]
formatting.

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

14 years agodidnt set right ptr to null
raster [Fri, 4 Jun 2010 04:18:50 +0000 (04:18 +0000)]
didnt set right ptr to null

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

14 years agohousekeeping++
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@49436 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoFix current event pointer when walking filters
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@49435 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoFix semantics of event->delete_me
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@49434 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agochange svnversion shell goop to nuke sed and just use tr to delete
raster [Fri, 4 Jun 2010 01:04:24 +0000 (01:04 +0000)]
change svnversion shell goop to nuke sed and just use tr to delete
unwanted goop.

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

14 years agoset magic to none later - and set props to null after freeing each -
raster [Thu, 3 Jun 2010 12:33:27 +0000 (12:33 +0000)]
set magic to none later - and set props to null after freeing each -
in case del callbacks on objects access ee.

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

14 years agoLet git-svn users get the right revision number to be used as version.
sachiel [Thu, 3 Jun 2010 07:40:54 +0000 (07:40 +0000)]
Let git-svn users get the right revision number to be used as version.

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

14 years agoFix ecore_events for recursive main loops
lucas [Wed, 2 Jun 2010 06:20:18 +0000 (06:20 +0000)]
Fix ecore_events for recursive main loops
This fixes the following scenario:
1) An event handler starts another main loop
2) The new main loop processes all the remaining event_handlers of this
event and the remaining events
3) New events are added to the events list
4) A new iteration occurs

Prior behavior was that on (4) the events already processed were
triggered again. The code added to ecore_suite shows a test case,
similar to the one that is fixed now for modal dialogs on WebKit-EFL. I
preferred to let the INF() messages in order to be easy to copy, paste
and debug outside of the suite if anyone wants to. When the number of
tests grows more, we might want to separate them in different files.

By: Lucas De Marchi <lucas.demarchi@profusion.mobi>

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

14 years agonopw svn revision works again.
raster [Mon, 31 May 2010 03:12:45 +0000 (03:12 +0000)]
nopw svn revision works again.

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

14 years agofix - if no svn tree, then it will pretend to be a release.
raster [Mon, 31 May 2010 01:59:22 +0000 (01:59 +0000)]
fix - if no svn tree, then it will pretend to be a release.

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

14 years agomake other defines in ecore the same.
raster [Sat, 29 May 2010 13:59:42 +0000 (13:59 +0000)]
make other defines in ecore the same.

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

14 years agobah. VMIN conflicts with system header defines ... termin.h
raster [Sat, 29 May 2010 13:56:21 +0000 (13:56 +0000)]
bah. VMIN conflicts with system header defines ... termin.h

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

14 years agoproto wrong. fix.
raster [Sat, 29 May 2010 13:49:43 +0000 (13:49 +0000)]
proto wrong. fix.

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

14 years agowanring: shadddaaap
raster [Sat, 29 May 2010 13:43:48 +0000 (13:43 +0000)]
wanring: shadddaaap

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

14 years agorelanem - consistent
raster [Sat, 29 May 2010 07:57:59 +0000 (07:57 +0000)]
relanem - consistent

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