lucas [Thu, 5 Aug 2010 13:50:47 +0000 (13:50 +0000)]
init/shutdown ecore in ecore_x_init
2 simple rules:
1) init what you use
2) shutdown what you init
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50836
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
lucas [Thu, 5 Aug 2010 13:48:43 +0000 (13:48 +0000)]
Fix return value
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50835
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
lucas [Thu, 5 Aug 2010 02:25:50 +0000 (02:25 +0000)]
Add missing ecore_{init,shutdown} to bell test
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50829
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
lucas [Wed, 4 Aug 2010 16:57:32 +0000 (16:57 +0000)]
FORMATTING
* Remove vim modelines:
find . -name '*.[chx]' -exec sed -i '/\/\*$/ {N;N;/ \* vim:ts/d}' \{\} \;
find . -name '*.[chx]' -exec sed -i '/\/[\*\/] *vim:/d' \{\} \;
* Remove leading blank lines:
find . -name '*.[cxh]' -exec sed -i '/./,$!d'
If you use vim, use this in your .vimrc:
set ts=8 sw=3 sts=8 expandtab cino=>5n-3f0^-2{2(0W1st0
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50816
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
captainigloo [Wed, 4 Aug 2010 16:17:53 +0000 (16:17 +0000)]
uncrustify ecore directfb
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50815
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
captainigloo [Wed, 4 Aug 2010 16:12:12 +0000 (16:12 +0000)]
Use english messages for error log.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50814
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Wed, 4 Aug 2010 02:55:20 +0000 (02:55 +0000)]
convert all function pointers to typedefs, add doxy stubs for typedefs.
note: I've chosen to consolidate typedefs where possible to simplify things
my time is limited this week, so feel free to expand on the doxy stubs I've added if you know what they do
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50803
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Tue, 3 Aug 2010 09:02:27 +0000 (09:02 +0000)]
support calls++
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50760
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Mon, 2 Aug 2010 19:36:37 +0000 (19:36 +0000)]
fix random value generator.
SPANK SPANK SPANK!!!
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50750
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Mon, 2 Aug 2010 18:54:27 +0000 (18:54 +0000)]
re-reformat
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50747
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Mon, 2 Aug 2010 17:47:49 +0000 (17:47 +0000)]
re-uncrustify
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50745
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Fri, 30 Jul 2010 20:33:32 +0000 (20:33 +0000)]
return void* for data functions; depend on user not to be stupid (hahahahahah)
fix doxy to display correctly and be accurate once again
TODO: add functions to rwlock global data while threads are modifying it?
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50692
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Fri, 30 Jul 2010 17:03:34 +0000 (17:03 +0000)]
rrrrrrrrrrrrrr stupid enum!
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50689
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Fri, 30 Jul 2010 15:57:19 +0000 (15:57 +0000)]
grrrrr this enum is really starting to piss me off
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50688
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Fri, 30 Jul 2010 15:56:18 +0000 (15:56 +0000)]
remove ecore_thread_pool_data_wait, make thread data struct private again, return void* on _set(), fix global_wait to not mutex longer than wait time when no data added
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50687
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
lucas [Fri, 30 Jul 2010 11:34:08 +0000 (11:34 +0000)]
Spell: rememebr => remember
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50686
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Fri, 30 Jul 2010 08:52:18 +0000 (08:52 +0000)]
add data freeing support to ecore thread data api
TO FUTURE MIKE: you were too tired to update the doxy last night and instead of writing the doxy updates you fell asleeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50682
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Fri, 30 Jul 2010 06:47:59 +0000 (06:47 +0000)]
ssl cert cleanups: round 3
fix bitmask detection and refcount more correctly
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50679
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Fri, 30 Jul 2010 02:57:39 +0000 (02:57 +0000)]
doc++
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50673
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Fri, 30 Jul 2010 02:50:50 +0000 (02:50 +0000)]
fix close before fd handler del's
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50670
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Fri, 30 Jul 2010 02:44:43 +0000 (02:44 +0000)]
del x fd handler before close.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50669
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Fri, 30 Jul 2010 02:42:47 +0000 (02:42 +0000)]
clean up epoll stuff a little bit. 32 events now.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50668
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Fri, 30 Jul 2010 02:42:17 +0000 (02:42 +0000)]
close after del fd handler
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50667
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Fri, 30 Jul 2010 00:35:57 +0000 (00:35 +0000)]
formatting ewwww
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50665
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Fri, 30 Jul 2010 00:27:02 +0000 (00:27 +0000)]
fix valgrind unittied buffer bitches
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50664
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Thu, 29 Jul 2010 23:42:32 +0000 (23:42 +0000)]
dropping my life to fix previously broken mess so people will stop complaining
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50663
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Thu, 29 Jul 2010 12:29:19 +0000 (12:29 +0000)]
* ecore: fix comment.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50642
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Thu, 29 Jul 2010 08:13:58 +0000 (08:13 +0000)]
typos are frustratinnnnnnnnnnggggggggggggggggggggggggggggggggggggggg
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50637
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Thu, 29 Jul 2010 05:43:20 +0000 (05:43 +0000)]
bad mike!. fix.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50634
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Thu, 29 Jul 2010 01:42:43 +0000 (01:42 +0000)]
correctly use & to detect server type instead of ==
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50630
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Thu, 29 Jul 2010 01:28:18 +0000 (01:28 +0000)]
more doxy than anyone will EVER need. EVER.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50629
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Thu, 29 Jul 2010 01:28:03 +0000 (01:28 +0000)]
redo some comments
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50628
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Thu, 29 Jul 2010 00:27:15 +0000 (00:27 +0000)]
reorder functions, redo doxy, make a not so obvious null pointer more obvious for future readers
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50627
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Thu, 29 Jul 2010 00:13:56 +0000 (00:13 +0000)]
prevent crafty users from breaking build if they define USE_OPENSSL and USE_GNUTLS
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50626
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Thu, 29 Jul 2010 00:13:25 +0000 (00:13 +0000)]
ac_path_generic.m4 from eet, prevent users from trying to build with both gnutls and openssl since this is broken
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50625
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Thu, 29 Jul 2010 00:12:27 +0000 (00:12 +0000)]
these functions return a const char *, so they should actually return a const char *
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50624
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Wed, 28 Jul 2010 22:32:39 +0000 (22:32 +0000)]
these functions return a const char *, so they should actually return a const char *
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50622
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Wed, 28 Jul 2010 22:23:14 +0000 (22:23 +0000)]
forgot to put some doxy in groups
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50620
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Wed, 28 Jul 2010 20:03:28 +0000 (20:03 +0000)]
ssl uh-oh
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50612
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Wed, 28 Jul 2010 19:58:57 +0000 (19:58 +0000)]
fix for people who compile without ssl/tls support
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50611
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Wed, 28 Jul 2010 18:27:47 +0000 (18:27 +0000)]
remove unused and null init a pointer
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50604
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Wed, 28 Jul 2010 18:25:46 +0000 (18:25 +0000)]
fix cert support, split functions for client/server
note: crl checking and cert verification do not currently function
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50603
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Wed, 28 Jul 2010 17:35:31 +0000 (17:35 +0000)]
formatting again
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50599
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Wed, 28 Jul 2010 06:08:35 +0000 (06:08 +0000)]
epoll <- blame mike if it breaks. :)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50585
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Wed, 28 Jul 2010 05:23:42 +0000 (05:23 +0000)]
uncrustify so T_UNIX will stop nagging me! :)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50583
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50561
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50539
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
devilhorns [Tue, 27 Jul 2010 06:33:47 +0000 (06:33 +0000)]
Fix up a little formatting (wrt wrapping).
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50531
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50529
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Tue, 27 Jul 2010 03:59:04 +0000 (03:59 +0000)]
fix threadless compile
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50528
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Tue, 27 Jul 2010 01:05:13 +0000 (01:05 +0000)]
doxy
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50527
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Tue, 27 Jul 2010 01:00:24 +0000 (01:00 +0000)]
big doxy update
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50526
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Tue, 27 Jul 2010 00:10:40 +0000 (00:10 +0000)]
doxy fixes grrrrrrrrrrrrrrrrrrrrrr
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50525
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Mon, 26 Jul 2010 20:41:54 +0000 (20:41 +0000)]
ecore_thread_cancel is now nullsafe, returning EINA_TRUE
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50523
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Mon, 26 Jul 2010 20:05:50 +0000 (20:05 +0000)]
fix fixme: free error strings on ssl shutdown
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50516
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Mon, 26 Jul 2010 07:19:27 +0000 (07:19 +0000)]
rename function typedefs
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50506
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Mon, 26 Jul 2010 05:47:33 +0000 (05:47 +0000)]
whoops
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50504
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50499
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Sat, 24 Jul 2010 02:05:35 +0000 (02:05 +0000)]
fix longstanding leak
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50470
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50465
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Fri, 23 Jul 2010 17:52:50 +0000 (17:52 +0000)]
shut up eina
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50460
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Fri, 23 Jul 2010 17:30:21 +0000 (17:30 +0000)]
fix leak in thread_shutdown, use lots of mutexes and conditionals instead of sleeps to wait in data_wait functions
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50459
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Fri, 23 Jul 2010 16:40:40 +0000 (16:40 +0000)]
whoops
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50455
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Fri, 23 Jul 2010 16:24:35 +0000 (16:24 +0000)]
+ecore_thread_{global,pool}_data_wait, to allow waiting for data in the global or pool data contexts and simulate g_async_queue in a less mutexy fashion
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50454
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Fri, 23 Jul 2010 15:33:22 +0000 (15:33 +0000)]
add threadsafe global data to threads, allowing for communication between threads and other threads and threads and main loop
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50453
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Fri, 23 Jul 2010 13:35:14 +0000 (13:35 +0000)]
rename mutex
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50451
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Fri, 23 Jul 2010 13:12:42 +0000 (13:12 +0000)]
fix doxy
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50450
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Fri, 23 Jul 2010 13:08:38 +0000 (13:08 +0000)]
remove unnecessary mutexes, expand pthread self member to short_run threads, make thread pool data work on short_run threads, ecore_thread_pool_data_modify_or_add -> ecore_thread_pool_data_set
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50449
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Fri, 23 Jul 2010 04:20:24 +0000 (04:20 +0000)]
shutup libtool on convenience libs
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50444
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Fri, 23 Jul 2010 04:17:41 +0000 (04:17 +0000)]
+ecore_thread_pool_data_modify_or_add
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50443
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Fri, 23 Jul 2010 03:39:52 +0000 (03:39 +0000)]
api change to ecore_thread_pool_data_add, now has 4th argument "direct" to avoid copying key value if desired
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50442
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Thu, 22 Jul 2010 20:28:34 +0000 (20:28 +0000)]
+ecore_thread_pool_data_{add,find,del}: start of ecore_thread_pool api. these calls are used from heavy_run to manage data within a thread pool. more to come
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50438
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Thu, 22 Jul 2010 11:32:55 +0000 (11:32 +0000)]
* ecore: add ecore_con_lookup for dns request retrieval.
NOTE: ecore_con_info_get is now private has it can't be used outside of Ecore_Con.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50425
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Wed, 21 Jul 2010 08:33:25 +0000 (08:33 +0000)]
should probably make thread functions threadsafe. and compile.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50411
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Wed, 21 Jul 2010 07:09:51 +0000 (07:09 +0000)]
fix some function variables and a cedric-requested rename
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50409
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Wed, 21 Jul 2010 04:26:57 +0000 (04:26 +0000)]
man I fail at formatting
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50406
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Wed, 21 Jul 2010 04:03:40 +0000 (04:03 +0000)]
+ecore_thread_total_get to return total number of pending jobs
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50405
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Wed, 21 Jul 2010 02:12:10 +0000 (02:12 +0000)]
+ecore_thread_max_reset, ecore_thread_avail_get for more thread functionality, also fix formatting
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50399
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Wed, 21 Jul 2010 01:04:28 +0000 (01:04 +0000)]
+ecore_thread_max_{set,get} to return/set the max number of threads ecore will attempt to run simultaneously
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50397
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Tue, 20 Jul 2010 09:40:53 +0000 (09:40 +0000)]
some variable renames to make this easier to understand
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50376
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Tue, 20 Jul 2010 09:40:18 +0000 (09:40 +0000)]
+ecore_thread_active_get, ecore_thread_pending_get, ecore_thread_pending_long_get to retrieve number of threads present with given status
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50375
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Tue, 20 Jul 2010 05:32:29 +0000 (05:32 +0000)]
make some comments that were so close to being real doxy blocks into doxy blocks. come on guys. let's see some doxy hustle!
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50373
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Tue, 20 Jul 2010 05:25:02 +0000 (05:25 +0000)]
note: '/*' is not how you begin a doxygen code block
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50372
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
devilhorns [Mon, 19 Jul 2010 18:16:56 +0000 (18:16 +0000)]
Remove useless if statement. Regardless if count is greater than 1, we
were still returning the count anyway.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50369
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
lucas [Fri, 16 Jul 2010 20:54:18 +0000 (20:54 +0000)]
Create interface to system bell
Only the xlib implementation is done. It's calling XBell() to alert user.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50290
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
devilhorns [Thu, 15 Jul 2010 20:52:29 +0000 (20:52 +0000)]
Remove duplicate if (This is already checked a few lines above, so not
needed).
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50272
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
lucas [Wed, 14 Jul 2010 02:20:30 +0000 (02:20 +0000)]
Remove unneeded code with notnull.cocci script
This continues previous commit with more complex places, where it required
more than just removing some "ifs".
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50242
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
lucas [Wed, 14 Jul 2010 02:05:47 +0000 (02:05 +0000)]
Remove unneeded code with notnull.cocci script
The notnull.cocci script from Coccinelle finds places where you check if a
variable is NULL, but it's known not to be NULL. The check can be safely
removed. For example, this code would be caught by notnull:
if (!var) return;
if (var && var->fld) { ... }
It's needless to check again if var is not NULL because if it's in fact NULL,
it would have returned on the previous "if". This commit removes all the
trivial places where this pattern happens. Another patch will be generated for
the more complex cases.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50241
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Tue, 13 Jul 2010 23:31:16 +0000 (23:31 +0000)]
add pixmap set/get for comp.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50238
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
antognolli [Mon, 12 Jul 2010 17:59:48 +0000 (17:59 +0000)]
Fix accounting safeness logic introduced at rev. 50158.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50202
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
glima [Mon, 12 Jul 2010 17:20:14 +0000 (17:20 +0000)]
Changes accounting safeness logic introduced at rev. 50158.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50201
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Mon, 12 Jul 2010 14:39:06 +0000 (14:39 +0000)]
* ecore: fix build without thread.
NOTE: if you build ecore without pthread support, you really should know
that it is a bad idea. Only people without pthread support on their
device/C library should disable it.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50200
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Mon, 12 Jul 2010 01:00:52 +0000 (01:00 +0000)]
fix flags/libs used.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50189
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sun, 11 Jul 2010 23:59:06 +0000 (23:59 +0000)]
more correct dso fix.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50186
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
maxerba [Sun, 11 Jul 2010 08:11:07 +0000 (08:11 +0000)]
updating french translation
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50178
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Sat, 10 Jul 2010 11:09:40 +0000 (11:09 +0000)]
fix warnings
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50174
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Sat, 10 Jul 2010 11:08:20 +0000 (11:08 +0000)]
fix spaces
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50173
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Fri, 9 Jul 2010 14:52:45 +0000 (14:52 +0000)]
be loud about deleting timers, idlers and events more than once.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50158
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
devilhorns [Fri, 9 Jul 2010 06:23:19 +0000 (06:23 +0000)]
Move Ecore.h (and associated headers) to own dir.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50142
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Thu, 8 Jul 2010 06:53:06 +0000 (06:53 +0000)]
hmm seems not kosher
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@50122
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33