Commit Graph

7740 Commits

Author SHA1 Message Date
Christopher Michael 0c64692d4e Patch from Victor <victor.scorpion@gmail.com> to fix typo in
edje_real_part_swallow.

Thanks :)



SVN revision: 41630
2009-08-07 09:06:04 +00:00
Gustavo Sverzut Barbieri 7526d8e309 be more clear in docs.
SVN revision: 41629
2009-08-07 01:35:16 +00:00
Gustavo Sverzut Barbieri 944be7e745 Bugfix eina_list_search_sorted_near_list() add sorted_insert.
eina_list_search_sorted_near_list() was broken and barfed at my face
during development of eina_list_sorted_insert(), so I rewrote it
following more traditional approach, also adding special cases for
head/tail remembering that random access in lists is not as fast as
array. I also simplified that code.

eina_list_sorted_insert() should be fast, O(log2 n) insert, with
special cases to insert already sorted arrays forwards or backwards,
however I believe that it's better to simply append/prepend in those
cases (if known).



SVN revision: 41625
2009-08-06 22:31:45 +00:00
Gustavo Sverzut Barbieri f86aa350c6 allow limit tests to run.
eina_suite TEST1 TEST2 ... is your friend ;-)



SVN revision: 41624
2009-08-06 22:22:56 +00:00
Gustavo Sverzut Barbieri 4f39f6861a API BREAK: eina_list_search_sorted_near_list() gets one more parameter.
This should not impact anybody, at least in SVN I got no hits for this
function.

The new parameter contains the result of the last call to func(), so
we can know if the node is smaller, bigger or exactly the requested
value and don't need to call func() on node to know for sure.



SVN revision: 41623
2009-08-06 19:01:47 +00:00
Gustavo Sverzut Barbieri 638e79b91e smarter eina_list_merge(), more tests.
eina_list_merge() now fixes the smallest list segment, not always the
right. Before if we joined a list 1 to 1000 segments we'd fix all the
1000 instead of the single at left.

Tests to make sure both code paths are being executed.



SVN revision: 41622
2009-08-06 18:35:53 +00:00
Gustavo Sverzut Barbieri 70a599936d oops, consider fixed_bitmap if it was built statically.
SVN revision: 41621
2009-08-06 18:08:14 +00:00
Gustavo Sverzut Barbieri aeef508b8a eina list docs.
* document undocumented functions.
 * note order of magnitude of each function, try to avoid users
   falling into traps.



SVN revision: 41619
2009-08-06 15:50:19 +00:00
Cedric BAIL e4d68c7fbe * evas: gl_common now use Eina_Rectangle_Pool.
SVN revision: 41607
2009-08-05 14:47:12 +00:00
Cedric BAIL 2bc76eab5a * eina_rectangle: Forgot to initialise one attribute.
SVN revision: 41606
2009-08-05 14:46:21 +00:00
Cedric BAIL 7db27df3c8 * ecore_thread: Fix the remaining comment from Vincent.
SVN revision: 41581
2009-08-04 09:13:49 +00:00
Daniel Kolesa 26bd9e8d46 Fixed generation of dist tarball in ethumb.
SVN revision: 41576
2009-08-04 07:34:52 +00:00
Cedric BAIL 13cea2628b * ecore_thread: Another dead lock spotted by Sachiel.
SVN revision: 41570
2009-08-03 14:09:09 +00:00
Cedric BAIL 9a056bed3a * ecore: Fix header check position according to Vincent Torri recommandation.
SVN revision: 41568
2009-08-03 11:50:07 +00:00
Cedric BAIL faf1a51fee * evas: Fix ticket #143 from Vincent Torri.
http://trac.enlightenment.org/e/ticket/143


SVN revision: 41565
2009-08-03 08:26:02 +00:00
Cedric BAIL e7f691a9f2 * ecore_thread: Prevent mutex lock, thanks to Sachiel.
SVN revision: 41564
2009-08-03 08:19:33 +00:00
Carsten Haitzler c3c692269a Ticket #372 - patch. fix.
SVN revision: 41563
2009-08-03 08:19:12 +00:00
Cedric BAIL 2bb8e5ad8e * ecore_thread_run: Add a facility to run heavy code in another thread
that still integrate cleanly with the EFL.

	ecore_thread_run need two callbacks :

	* func_heavy is called from another thread and should not use the
	EFL except Eina, but carefully.

	* func_end is called when func_heavy is done, but from inside ecore
	main loop, so you can at this point call every EFL functions without
	fear.

	Note :

	The system automatically detect how many CPU you have and will spread
	the load on all of them.

	You must not assume that the result will come in the same order you
	requested it. Depend on each CPU load and how heavy the function on it
	are.



SVN revision: 41555
2009-07-31 17:06:11 +00:00
Cedric BAIL 5784d74daa * eina: Add eina_cpu_count.
SVN revision: 41543
2009-07-30 16:45:15 +00:00
Christopher Michael cecbfe7618 Do not return a value if the function returns void.
SVN revision: 41537
2009-07-29 18:34:27 +00:00
Carsten Haitzler 1ea1c629cb back to pre ver's
SVN revision: 41535
2009-07-29 08:19:34 +00:00
Carsten Haitzler 6db38393cd SNAPSHOT: svn-03
SVN revision: 41532
2009-07-29 08:03:25 +00:00
Carsten Haitzler a1b1beed52 RELEASE: eet 1.2.2
SVN revision: 41531
2009-07-29 07:54:14 +00:00
Gustavo Sverzut Barbieri 7ca620ce73 unbreak static savers, cedric pay attention to seds!
SVN revision: 41529
2009-07-28 23:48:27 +00:00
Iván Briano 0269d38187 Fix build of loaders
SVN revision: 41527
2009-07-28 17:59:26 +00:00
Vincent Torri 39809967cb clean dist rule
SVN revision: 41526
2009-07-28 11:50:22 +00:00
Vincent Torri 413a216c55 oups, missing sys/
SVN revision: 41525
2009-07-28 09:58:12 +00:00
Vincent Torri fe763e0fe0 fix compilation of programs using ecore on FreeBSD
SVN revision: 41524
2009-07-28 09:57:24 +00:00
Vincent Torri 12751954d1 remove uneeded declaration (to be symetric with xcb code)
SVN revision: 41523
2009-07-28 09:55:08 +00:00
Gustavo Sverzut Barbieri d64634e725 unbreak xrender, opengl and software-16 engines.
ecore_evas_xlib_deps does not exist anymore, using have_ecore_x_xlib,
change if i'm wrong (software-x11 uses just have_ecore_x).



SVN revision: 41493
2009-07-25 04:52:34 +00:00
Cedric BAIL 470b2756ba Oops, forgot changelog.
SVN revision: 41483
2009-07-23 12:33:02 +00:00
Cedric BAIL fe553249ef * eet: Fix initialization for system that don't support SECMEN.
Note that I don't like this solution, but I didn't see any better one.


SVN revision: 41481
2009-07-23 09:53:44 +00:00
Iván Briano 835c6fd150 Fix requirements for ecore-file
SVN revision: 41474
2009-07-22 14:26:28 +00:00
Cedric BAIL e75b89d50c * eina: Handle NULL in eina_list_search_sorted_near_list.
SVN revision: 41467
2009-07-21 15:21:46 +00:00
Daniel Kolesa 1ef8e96d05 Add data/images/border-0.jpg in ethumb to EXTRA_DIST so it will be included when creating tarballs.
SVN revision: 41462
2009-07-21 06:01:57 +00:00
Gustavo Sverzut Barbieri 14105484aa Eina rectangle missing list init.
Rectangle needs the list module for the pool_new() function. Patch
also adds a check for initialization error on the unit test.

By: Andre Dieb


SVN revision: 41460
2009-07-21 01:55:31 +00:00
Cedric BAIL 940b7b0740 * evas: Return Eina_Bool when it make sense.
SVN revision: 41458
2009-07-20 15:33:10 +00:00
Daniel Kolesa b58ac165cf Fix build of ethumb on some machines..
SVN revision: 41457
2009-07-20 15:20:25 +00:00
Michael Lauer e1bb8c38ad edje: add first bunch of typedefs for previously anonymous callbacks
SVN revision: 41424
2009-07-18 22:43:50 +00:00
Michael Lauer 565a623f26 evas: add first bunch of typedefs for previously anonymous callbacks
SVN revision: 41423
2009-07-18 22:43:18 +00:00
Gustavo Sverzut Barbieri 25ac55ae09 update rectangle test to new API.
Guys, when you change API, please change it everywhere and then run tests!

By: Andre Dieb


SVN revision: 41421
2009-07-18 15:58:44 +00:00
Kim Woelders 1db0b28f52 The functions ecore_x_window_prop_card32_list_get, ecore_x_window_prop_xid_get, and ecore_x_window_prop_xid_list_get were buggy.
The original intention was that if the property is absent or not of extected type (or invalid window) they should return -1, otherwise they should return the number of elements in the property, 0 if none.

Unfortunately they all returned 0 if the property does not exist. Also, ecore_x_window_prop_xid_list_get retuned 0 if the property exists, has no elements, but has wrong type (should be -1).

These issues should be fixed now but this may cause problems in any code that relied on the incorrect behavior.



SVN revision: 41418
2009-07-18 10:27:51 +00:00
Carsten Haitzler a2b75fa66c free list
SVN revision: 41411
2009-07-18 09:35:22 +00:00
Gustavo Sverzut Barbieri 37d5bd6ead add item to fix callback type names and remove done items.
SVN revision: 41402
2009-07-17 15:33:49 +00:00
Gustavo Sverzut Barbieri 980d778e39 ethumbd_client.
do the same as ethumb, but uses ethumbd for doing it. Yet another
sample on ethumb usage.



SVN revision: 41401
2009-07-17 15:29:44 +00:00
Gustavo Sverzut Barbieri 7acfd6d648 fix theme/frame parsing to not leak and be simpler.
we don't need to allocate memory, copy, modify and free (free was
missing!), we can just give stringshare the length to use.



SVN revision: 41398
2009-07-17 14:48:03 +00:00
Gustavo Sverzut Barbieri 6aa85b1cf9 indent.
SVN revision: 41397
2009-07-17 14:44:11 +00:00
Gustavo Sverzut Barbieri df0ea7a123 public header files should include global headers, not local.
SVN revision: 41395
2009-07-17 14:27:17 +00:00
Gustavo Sverzut Barbieri 386972f2f0 match API rename, it's module flush now.
SVN revision: 41394
2009-07-17 14:24:08 +00:00
Cedric BAIL b02de756a6 * eina: Rename eina_module_list_delete to eina_module_list_flush.
SVN revision: 41385
2009-07-17 11:13:38 +00:00