profile/ivi/ecore.git
14 years agouncrustify so T_UNIX will stop nagging me! :)
discomfitor [Wed, 28 Jul 2010 05:23:42 +0000 (05:23 +0000)]
uncrustify so T_UNIX will stop nagging me! :)

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

14 years agoFrom: Alexander Kerner <alexander.kerner@googlemail.com>
raster [Wed, 28 Jul 2010 00:17:40 +0000 (00:17 +0000)]
From: Alexander Kerner <alexander.kerner@googlemail.com>
Subject: [E-devel] 8bpp xcb evas engine

Hi all,

I've implemented the 8bpp grayscale evas engine. It is based on the 16bpp
engine. It would be nice if someone could review the code and maybe commit
into svn. The patches against evas and ecore are attached.

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

14 years agoFrom: Naruto TAKAHASHI <tnaruto@gmail.com>
raster [Tue, 27 Jul 2010 10:29:58 +0000 (10:29 +0000)]
From: Naruto TAKAHASHI <tnaruto@gmail.com>
Subject: [E-devel] [PATCH] ecore_con_url_httpauth_set()

Hi all,

I attach a tiny Patch for ecore_con_url_httpauth_set().

CURLOPT_USERNAME and CURLOPT_PASSWORD is declared in enum, so those
options isn't able to be used #ifdef macro's argument.

This patch checks that LIBCURLVERSION_NUM is 0x071301(v7.19.1) and
over.  Because CURLOPT_USERNAME and CURLOPT_PASSWORD was added at
7.19.1.

thanks to confirm this patch.

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

14 years agoFix up a little formatting (wrt wrapping).
devilhorns [Tue, 27 Jul 2010 06:33:47 +0000 (06:33 +0000)]
Fix up a little formatting (wrt wrapping).

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

14 years agoadd full ssl certificate support to ecore_con: call ecore_con_ssl_cert_add("/path...
discomfitor [Tue, 27 Jul 2010 06:30:27 +0000 (06:30 +0000)]
add full ssl certificate support to ecore_con: call ecore_con_ssl_cert_add("/path/to/cert.pem") and then create the server object with the ECORE_CON_LOAD_CERT flag
also may have accidentally ruined the formatting on a couple files and started an hour-long discussion over efl formatting scripts to conceal the fact that I used uncrustify to reformat everything

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

14 years agofix threadless compile
discomfitor [Tue, 27 Jul 2010 03:59:04 +0000 (03:59 +0000)]
fix threadless compile

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

14 years agodoxy
discomfitor [Tue, 27 Jul 2010 01:05:13 +0000 (01:05 +0000)]
doxy

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

14 years agobig doxy update
discomfitor [Tue, 27 Jul 2010 01:00:24 +0000 (01:00 +0000)]
big doxy update

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

14 years agodoxy fixes grrrrrrrrrrrrrrrrrrrrrr
discomfitor [Tue, 27 Jul 2010 00:10:40 +0000 (00:10 +0000)]
doxy fixes grrrrrrrrrrrrrrrrrrrrrr

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

14 years agoecore_thread_cancel is now nullsafe, returning EINA_TRUE
discomfitor [Mon, 26 Jul 2010 20:41:54 +0000 (20:41 +0000)]
ecore_thread_cancel is now nullsafe, returning EINA_TRUE

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

14 years agofix fixme: free error strings on ssl shutdown
discomfitor [Mon, 26 Jul 2010 20:05:50 +0000 (20:05 +0000)]
fix fixme: free error strings on ssl shutdown

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

14 years agorename function typedefs
discomfitor [Mon, 26 Jul 2010 07:19:27 +0000 (07:19 +0000)]
rename function typedefs

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

14 years agowhoops
discomfitor [Mon, 26 Jul 2010 05:47:33 +0000 (05:47 +0000)]
whoops

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

14 years agoadd typedefs for ecore thread function types because I'm tired of typing them out
discomfitor [Mon, 26 Jul 2010 04:20:18 +0000 (04:20 +0000)]
add typedefs for ecore thread function types because I'm tired of typing them out

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

14 years agofix longstanding leak
discomfitor [Sat, 24 Jul 2010 02:05:35 +0000 (02:05 +0000)]
fix longstanding leak

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

14 years agocorrectly init some variables that I missed somehow. I blame Sachiel.
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

14 years agoshut up eina
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

14 years agofix leak in thread_shutdown, use lots of mutexes and conditionals instead of sleeps...
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

14 years agowhoops
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

14 years ago+ecore_thread_{global,pool}_data_wait, to allow waiting for data in the global or...
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

14 years agoadd threadsafe global data to threads, allowing for communication between threads...
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

14 years agorename mutex
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

14 years agofix doxy
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

14 years agoremove unnecessary mutexes, expand pthread self member to short_run threads, make...
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

14 years agoshutup libtool on convenience libs
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

14 years ago+ecore_thread_pool_data_modify_or_add
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

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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: http://svn.enlightenment.org/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: 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