profile/ivi/ecore.git
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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/svn/e/trunk/ecore@49280 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agomore extern c outside typedefs etc.
raster [Sat, 29 May 2010 06:37:02 +0000 (06:37 +0000)]
more extern c outside typedefs etc.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@49273 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoadd ecore versioning
raster [Sat, 29 May 2010 06:28:25 +0000 (06:28 +0000)]
add ecore versioning

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@49271 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoReschedule timer_current in case of inner mainloop
lucas [Fri, 28 May 2010 02:31:02 +0000 (02:31 +0000)]
Reschedule timer_current in case of inner mainloop
Timers' list is and *ordered list*. Therefore, timers can be added
before timer_current in an inner mainloop. Reschedule timer_current in
this case before looping through timers' list.

Thanks to Barbieri for the insight.

The following test didn't work before and it's ok now (I'm adding it to
ecore_suite too).

static int _timer3(void *data)
{
printf("timer 3, do nothing\n");
return 0;
}

static int _timer2(void *data)
{
printf("timer 2, quit inner\n");
ecore_main_loop_quit();
return 0;
}

static int _timer1(void *data)
{
int *times = data;
(*times)++;
printf("BEGIN: inner\n");

ecore_timer_add(0.3, _timer2, NULL);
ecore_timer_add(0.1, _timer3, NULL);

ecore_main_loop_begin();
printf("END: inner\n");
ecore_main_loop_quit();

return 0;
}

int main(void)
{
int times = 0;

ecore_init();
ecore_timer_add(1.0, _timer1, &times);
printf("BEGIN: main\n");
ecore_main_loop_begin();
assert(times == 1);
printf("timer1 called %d times \n", times);
printf("END: main\n");
return 0;
}

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

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@49245 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoooh someone somewhere made the main event loop not work quite right.
raster [Wed, 26 May 2010 11:40:22 +0000 (11:40 +0000)]
ooh someone somewhere made the main event loop not work quite right.
fix if event purge happens to generate events.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@49203 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agobig patch from Samsung SAIT (Advanced research group) for async multi-frame
raster [Fri, 21 May 2010 07:10:45 +0000 (07:10 +0000)]
big patch from Samsung SAIT (Advanced research group) for async multi-frame
rendering. to turn on:

1.
configure with --enable-async-render
2.
export EVAS_RENDER_MODE=non-blocking

presto. necessitates some api swizzling (thus the expedite. ecore etc. changes)

the kind of results you get on a desktop:

http://www.rasterman.com/files/evas-async-vs-none.html

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@49087 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoFrom: Mike McCormack <mj.mccormack@samsung.com>
raster [Thu, 20 May 2010 05:06:22 +0000 (05:06 +0000)]
From: Mike McCormack <mj.mccormack@samsung.com>

"cd ecore && ./autogen.sh --enable-tests &&make && make check-local" was
failing.
Make sure to build ecore_suite before trying to run it.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@49053 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agooops typo.
raster [Thu, 20 May 2010 04:47:53 +0000 (04:47 +0000)]
oops typo.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@49050 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoFrom: Lukasz Wrzosek <l.wrzosek@samsung.com>
raster [Thu, 20 May 2010 03:53:54 +0000 (03:53 +0000)]
From: Lukasz Wrzosek <l.wrzosek@samsung.com>

I’ve prepared basic patch to add support for custom malloc/free functions for
buffer management. (with changes to api from raster to addd void *data param
to alloc/free callbacks and naming and ordering changes).

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@49044 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoadded functions for changing/getting a poller's poll interval: ecore_poller_poller_in...
discomfitor [Wed, 19 May 2010 09:16:37 +0000 (09:16 +0000)]
added functions for changing/getting a poller's poll interval: ecore_poller_poller_interval_(set|get) along with dox for them
surprisingly enough they seem to work!

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@49002 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoecore_file_download(): Call the completion_cb (with error status) when a download...
davemds [Tue, 18 May 2010 23:06:07 +0000 (23:06 +0000)]
ecore_file_download(): Call the completion_cb (with error status) when a download is aborted

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@48988 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoformatting cleanups.
raster [Tue, 18 May 2010 08:01:06 +0000 (08:01 +0000)]
formatting cleanups.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@48970 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agodata passed in wrong order! fix.
raster [Tue, 18 May 2010 06:59:59 +0000 (06:59 +0000)]
data passed in wrong order! fix.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@48964 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoFix typos ;)
devilhorns [Tue, 18 May 2010 04:13:13 +0000 (04:13 +0000)]
Fix typos ;)

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@48958 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agohandle info_set failures.
raster [Tue, 18 May 2010 03:50:17 +0000 (03:50 +0000)]
handle info_set failures.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@48957 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoCEEEEEEEEEEEEEEEEEEEEEEEEDRIC! *spank*
raster [Sun, 16 May 2010 03:04:18 +0000 (03:04 +0000)]
CEEEEEEEEEEEEEEEEEEEEEEEEDRIC! *spank*

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@48907 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years ago * redirection of stdout and stderr (with libc or win32 apps) is working
caro [Sat, 15 May 2010 18:38:01 +0000 (18:38 +0000)]
 * redirection of stdout and stderr (with libc or win32 apps) is working
 * there is though a problem in the win32 select function: the _del
   callback is always sent before _data or _error callback

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@48897 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agomore netwm window types - they were missed!
raster [Sat, 15 May 2010 05:38:21 +0000 (05:38 +0000)]
more netwm window types - they were missed!

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@48884 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoecore_con: remove unused variable
englebass [Thu, 13 May 2010 20:24:16 +0000 (20:24 +0000)]
ecore_con: remove unused variable

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@48821 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agofix the Windows select function:
caro [Thu, 13 May 2010 08:10:17 +0000 (08:10 +0000)]
fix the Windows select function:
 * On Windows, the values returned by pipe() are sockets.
   Hence they can be huge. Iterate over the list of "fds"
   instead of the max value
 * In the loop which iterates over the win32 handlers,
   we never go to the next element, so infinite loop...

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@48807 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agothe extension of shared lib is not needed anymore in ecore
caro [Thu, 13 May 2010 08:07:20 +0000 (08:07 +0000)]
the extension of shared lib is not needed anymore in ecore

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@48806 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoFix build on RHEL5. Please provide feedback for these changes as I
mej [Wed, 12 May 2010 18:19:11 +0000 (18:19 +0000)]
Fix build on RHEL5.  Please provide feedback for these changes as I
realize they may have impact on other platforms/distros.  But this is
what ended up working on RHEL, unlike what Vincent was given by the
automake developer mailing list. :/

If this breaks, please discuss on the ML rather than simply
reverting.  We need to work toward a cooperative resolution.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@48783 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoFix 'return' with a value in function returning void.
devilhorns [Tue, 11 May 2010 14:01:42 +0000 (14:01 +0000)]
Fix 'return' with a value in function returning void.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@48754 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoonly do auth stuff if there in curl.
raster [Tue, 11 May 2010 12:10:29 +0000 (12:10 +0000)]
only do auth stuff if there in curl.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@48749 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoThis commit implements http auth support; in order to avoid exposing too much of...
rui [Sun, 9 May 2010 15:06:06 +0000 (15:06 +0000)]
This commit implements http auth support; in order to avoid exposing too much of curl's internal workings, I opted to have a safety parameter in order to choose between CURLAUTH_ANY and CURLAUTH_ANYSAFE.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@48715 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years ago * fix comment
caro [Sun, 9 May 2010 06:03:46 +0000 (06:03 +0000)]
 * fix comment
 * do consistent test (though it is useless)

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@48708 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agotry right #ifdef
raster [Sun, 9 May 2010 05:51:10 +0000 (05:51 +0000)]
try right #ifdef

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@48707 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agosupport new gl enigne rotate ability from ecore-evas
raster [Sun, 9 May 2010 05:15:55 +0000 (05:15 +0000)]
support new gl enigne rotate ability from ecore-evas

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@48705 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoadded fuction to send httposts created with curl formadd.
jeffdameth [Thu, 6 May 2010 20:18:39 +0000 (20:18 +0000)]
added fuction to send httposts created with curl formadd.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@48651 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years ago * ecore: make it possible to easily freeze/thaw animator.
cedric [Mon, 3 May 2010 16:21:39 +0000 (16:21 +0000)]
* ecore: make it possible to easily freeze/thaw animator.

NOTE: logic could be optimised as in some case we could just stop
the timer also.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@48580 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33