Commit Graph

7913 Commits

Author SHA1 Message Date
Vincent Torri 2d97e95d2a clean a bit the hamster
SVN revision: 41869
2009-08-19 07:36:39 +00:00
Vincent Torri c45bf860da * remove uneeded semicolons
* fix and add doxygen doc


SVN revision: 41868
2009-08-19 07:09:24 +00:00
Vincent Torri 36be15fc55 don't suppose that gcc is the only compiler that can be used.
Check if -Wall and -fno-strict-aliasing are supported by the compiler


SVN revision: 41863
2009-08-18 20:04:19 +00:00
Cedric BAIL 0b7407905c * eina_rectangle: Add a local cache to rectangle creation.
SVN revision: 41856
2009-08-18 13:35:33 +00:00
Davide Andreoli dfac5a2a59 * Remove _strdup(). Useless unless we don't check the return value
SVN revision: 41850
2009-08-17 21:28:40 +00:00
Cedric BAIL 9abdbe30af * edje: Fix tween when comming from same state.
SVN revision: 41844
2009-08-17 15:16:23 +00:00
Davide Andreoli cb29b20245 * Do not include edje_cc.h anymore :)
SVN revision: 41843
2009-08-17 14:49:26 +00:00
Davide Andreoli 74565cec99 * Do not use the 'Font' struct from edje_cc.h
SVN revision: 41842
2009-08-17 14:26:31 +00:00
Davide Andreoli 8fa5f302d3 * Do not use SZ() macro from edje_cc.h
SVN revision: 41841
2009-08-17 14:13:26 +00:00
Cedric BAIL 06f76b1e87 * edje: Fix calc.
SVN revision: 41840
2009-08-17 14:00:44 +00:00
Davide Andreoli 061798f628 * rename mem_strdup() to not clash (in the case of a static build) with the one defined in bin/
SVN revision: 41839
2009-08-17 13:54:17 +00:00
Cedric BAIL 6c7f8ce84c * edje: Remove warning, mainly due to lua merge.
SVN revision: 41838
2009-08-17 11:32:56 +00:00
Carsten Haitzler 359df1c2b9 fix eet docs.
SVN revision: 41826
2009-08-17 01:51:56 +00:00
Mikhail Gusarov 226e4e5e16 From: Mikhail Gusarov <dottedmag@dottedmag.net>
Subject: [E-devel] [evas] Add RGBA -> grayscale 64 entries palette conversion

This is needed for E-Ink devices outta there. Names of new files,
configure.ac variables and macros are awful, suggestions are welcome.



SVN revision: 41825
2009-08-17 01:41:07 +00:00
Mikhail Gusarov 90f801d31c From: Mikhail Gusarov <dottedmag@dottedmag.net>
Those symbols appeared earlier than in 1.2.2, but debian/libeet1.symbols
was not updated, so there is no point to look at the actual minimal
versions of symbols.



SVN revision: 41824
2009-08-17 01:31:38 +00:00
Carsten Haitzler aff55d6fbb log.
SVN revision: 41814
2009-08-16 09:44:21 +00:00
Carsten Haitzler 65c50a0a4e fix - write empty chunks. need them for corner case. see comments.
SVN revision: 41810
2009-08-16 07:06:22 +00:00
Carsten Haitzler 2a06a861d5 do not exit on lua errors! this would be righteously bad for apps using
themes that happened to use lua...



SVN revision: 41804
2009-08-16 03:00:14 +00:00
Hanspeter Portner da75132793 From: "Hanspeter Portner" <ventosus@airpost.net>
This concerns Ticket #109: Add Lua support for Edje

It adds Lua as scripting facility to Edje, letting Embryo untouched.
It should be easier to use and be more flexible than Embryo, imho ;-)

---
The patch
---

Lua 5.1 is used in sandboxed mode. Lua byte code is not
platform/architecture independent, Lua code is saved as text in the Edje
container and parsed at load time, therefore.

The patch goes in two directions

1) Analogous to Embryo for scripting logic, messaging and custom states.
The same things are implemented as in Embryo:

    - messaging from and to C
        - manual creation of timers, animators, pollers for custom events /
            animations
                - manual manipulation of Edje parts by means of the public
                    edje_object_part_* and internal functions and custom states
                    
                        -> those routines are actually implemented as Lua
bindings to
    functions in Edje.h and Ecore.h
        -> the implementation is done in an object oriented way, so that the
            interface gives the feel of an object description language, pretty
                similar to EDC itself
                    -> combining custom states and custom animators allows
for fancy
    animations and transitions, e.g circular/spline translations or
        complex/conditional transitions, etc.
            -> this is just the same as Embryo does, but implemented in Lua, so
                nothing new here, actually
                
                2) Dynamic object creation and manipulation
                
                    - this interface stems from the 'script_only' objects in
Edje. Those
    objects are a kind of scriptable Edje counterparts to Evas_Smart
        objects. The infrastructure for Embryo is already there, but has
            never been used
                - I added this in Lua and added some first bindings to
experiment
    with
        - I thought it would be useful to allow for a limited dynamic
            creation of ui parts
                - We can create instances of groups from within the same Edje
                    container and use them just like the main Edje object as
stated in
    1)
        - And there are some stand-alone bindings to dynamically create
            Evas_Image, Evas_Table, Evas_Line, Evas_Polygon as examples
            
                -> this may be useful to decouple the program from the ui
even more,
    to be able to do things that have to be done in the program itself
        atm, but actually belong to the user interface, but need dynamic
            creation of objects or complex interactions
                -> those objects are manipulated manually with Lua bindings
to the
    corresponding edje_object_* and evas_object_* functions
    
    ---
    Discussion points
    ---
    
    Both stuff in 1) & 2) is functioning, but needs testing, feedback,
    improvements, ...
    
    Stuff in 1) can already fully replace Embryo scripting with Lua
    scripting. There still is space for improvements/additions, though.
    
    Of the stuff in 2), I think it may only make sense to add the dynamic
    creation of groups defined in the same Edje container.  Dynamic creation
    of other Evas_Objects makes not much sense, as most of them can already
    be used as Edje parts and be manipulated with custom states (apart from
    polygons and lines) and it would make the whole theming potentially more
    programing-like and much more susceptible for errors, etc.
    
    Would this be useful, or drop it all?
    
    The scripting should be there just for logic, conditionals, custom
    states and animations, not for a whole dynamic canvas, imho.
    
    There is a patch around with EXTERNAL Edje parts. Seems to be a better,
    faster, more secure way to extend Edje with custom objects.
    
    There would be the possibility of precompiling Lua code at compile time
    (edje_cc) for faster loading, but we would have to patch and run our own
    Lua version.
    The Lua parser is pretty fast, though, and using
    byte-converted/endianness-swapped byte-code does only pay off for Lua
    chunks of some kilo lines.
    Byte code also occupies much more space than text in the final Edje
    container, as it includes debug symbols.
    
    ---
    
    Cedric and Vincent told me, that the plan was to replace Embryo totally
    by Lua before the official release of Edje at the end of the year? So it
    would make sense to bring Lua to svn soon and look how it fits in, test,
    debug, adapt it further to the themers needs, decide on its final shape,
    GATHER SOME PEOPLE TO HELP ;-)
    
    ---
    
    The Lua enhanced Edje is in sync with svn and can be get directly here
       git clone git://repo.or.cz/edje_lua.git
          cd edje_lua
             git checkout -b lua_patch origin/lua_patch
             
             or apply the attached patch
             
             There are also some examples to show the usage of the things
mentioned
above
    - showcase.edj: shows usage of custom animators, custom states,
        messaging and the script_only object
            - test.edj: test cases of script usage and bindings (custom states,
                custom transitions, tween_states, animators, timers,
object_parts),
    but most of it are experimental script_only objects
    
    http://didgmo.sourceforge.net/showcase.edj
    http://didgmo.sourceforge.net/test.edj
    
    The source of showcase.edc is attached, too, to just have a glimpse at
    Lua inside of EDC
    
    ---
    
    So, what do you guys think?
    
    Thanks and sry for the looong mail, hehe ;-)



SVN revision: 41802
2009-08-16 02:34:02 +00:00
Gustavo Sverzut Barbieri 425ebc47f5 improve docs and simplify macro, by kubo.
Kubo just found that docs could be improved and macro could be
simplified during his learning of EFL. Big bonus he did the
improvements =)



SVN revision: 41799
2009-08-16 00:47:23 +00:00
Gustavo Sverzut Barbieri cbbb575f69 have his full name, as he likes it =)
SVN revision: 41798
2009-08-16 00:37:38 +00:00
Rafael Antognolli af554298cd Bugfix on directfb engine:
* cleaning dirty rectangles on dfb surfaces now is done correctly.



SVN revision: 41777
2009-08-14 20:36:49 +00:00
Cedric BAIL b2d4ead502 * evas: Garbage is back for opaque window without background object.
SVN revision: 41773
2009-08-14 17:48:49 +00:00
Cedric BAIL 56674aeb99 * edje: Make EDJE_CALC_CACHE on by default.
SVN revision: 41772
2009-08-14 17:20:27 +00:00
Cedric BAIL 7df190d264 * edje_calc: Major cleanup.
- Edje_Real_Part use less memory.
		- Edje_Real_Part and Edje_Real_Part_State now use a mempool.
		- When both param1 and param2 are the same, only recalc param1.
		- Don't compute Edje_Real_Part more than one time per edje_recalc_do.



SVN revision: 41771
2009-08-14 17:19:42 +00:00
Cedric BAIL 3d6840cd1a * evas: Fix two render bugs :
- Forgot to reset clip before drawing cleanup rect.
		- Always draw a rect to reset the background, just
		choose a correct color.

	Note: This will slow down software_x11 engine, as this engine
	always do memset, so it does it twice. Before only the alpha
	case was impacted, now both case are. Need time to fix it. If
	someone has, don't hesitate :-) You can use elementary windows
	state test, to see if thing is going correctly or not.

	For the record, SDL engine has a score around 500 under X11 on
	my computer, where the X11 engine does only have a score around
	450.


SVN revision: 41770
2009-08-14 17:17:01 +00:00
Cedric BAIL 443fe5fc8e * evas: gl_x11 window can't support alpha, as drawing rect with
alpha=0 is not possible.


SVN revision: 41769
2009-08-14 17:11:08 +00:00
Cedric BAIL 67418404d0 * eet: Make macro EET_EINA_*_DATA_DESCRIPTOR_CLASS_SET usable in if
statement.

        Patch from Raphael Kubo.


SVN revision: 41763
2009-08-14 14:30:56 +00:00
Cedric BAIL c634e07770 * eina: Fix typo.
SVN revision: 41762
2009-08-14 14:22:25 +00:00
Cedric BAIL 09012c96bb * ecore_con_url: Fix mem leak.
SVN revision: 41758
2009-08-14 11:33:33 +00:00
Cedric BAIL d894444135 * edje_calc: Use 20 bytes less per Edje_Calc_Params.
SVN revision: 41745
2009-08-13 16:28:17 +00:00
Cedric BAIL eff22017dc * edje_calc: Cleanup calc structure.
SVN revision: 41744
2009-08-13 16:13:49 +00:00
Cedric BAIL b559c260fa * Ecore_Con: Revert r41742.
Note: It's not a good idea to initialize curl, if you just
	want to do some ecore_con network or ipc. Better let them
	initialize separatly.


SVN revision: 41743
2009-08-13 15:42:30 +00:00
Gustavo Sverzut Barbieri 33b9d1b2ed init ecore_con_url.
By: Andre Dieb <andre.martins@ee.ufcg.edu.br>


SVN revision: 41742
2009-08-13 15:26:29 +00:00
Gustavo Sverzut Barbieri 96001ff1a1 fix evas box flow layouts to consider padding.
By: Fabiano Fidêncio <fidencio@profusion.mobi>



SVN revision: 41739
2009-08-13 15:01:49 +00:00
Carsten Haitzler c1acd83e1e beware "class"! those c++ compiler can compile c... but they like to think
class is special... ESPECIALLY IN HEADERS used by c++ apps.



SVN revision: 41738
2009-08-13 14:47:10 +00:00
Cedric BAIL 05edf17dd4 * eet: Oops. Fix init order.
SVN revision: 41736
2009-08-13 13:57:22 +00:00
Cedric BAIL 2cf15dc335 * eet: Fix prefix.
SVN revision: 41735
2009-08-13 13:26:43 +00:00
Cedric BAIL bc5dda9c0c * edje: Use new clean API from Eet.
SVN revision: 41733
2009-08-13 12:53:12 +00:00
Cedric BAIL 1e0baaab60 * eet: Cleanup Eet_Data_Descriptor API.
- Provide two functions with a better name (Still need more doc).
	- Deprecating old eet_data_descriptor*_new.
	- Provide helper function for eet when using eina data type.


SVN revision: 41732
2009-08-13 12:52:41 +00:00
Carsten Haitzler 819c572d1c amazing time hamsters!
SVN revision: 41728
2009-08-13 01:26:08 +00:00
Carsten Haitzler d0c5158f5b eina hamster++
<dieb_> weird, undefined refernce to eina_cpu_count
<raster> you have no cpus!
<dieb_> dammit!
<Sachiel> try eina_hamster_count
<dieb_> lo
<raster> oh god
<raster> now u did it
<raster> i have to add that
<dieb_> heheheh



SVN revision: 41727
2009-08-13 00:47:55 +00:00
Carsten Haitzler 447051bf3c dont use #ifdeffed out calls
SVN revision: 41726
2009-08-13 00:30:59 +00:00
Carsten Haitzler 26d8a50642 formatting!
SVN revision: 41725
2009-08-13 00:27:53 +00:00
Gustavo Sverzut Barbieri 4a514076ad NULL sfont as it might be used earlier.
if sfont=something was given to _edje_text_class_font_get(), sfont
might be untouched there and old pointer was being freed, resulting in
double free. So make sure we're using the correct pointer there.



SVN revision: 41714
2009-08-12 17:57:34 +00:00
Gustavo Sverzut Barbieri 09bb18e727 need to set trailing NULL as it will not be done automatically.
SVN revision: 41708
2009-08-12 16:02:32 +00:00
Cedric BAIL 3fe43bff2c * edje: Starting refactor of edje_recalc_single.
SVN revision: 41706
2009-08-12 14:13:17 +00:00
Cedric BAIL caf64d8849 * ecore_con: Add broadcast support from Atton Jonathan.
SVN revision: 41701
2009-08-12 11:24:33 +00:00
Cedric BAIL c7f13ac781 * ecore_con_url: Patch from Andre Dieb with a few modification.
SVN revision: 41699
2009-08-12 09:47:04 +00:00
Cedric BAIL 3d5a09f6e8 * edje: Reverting to recalc_do in edje smart resize.
Note: A bug spotted in layout of box is the reason of this revert. From
	my understanding, layout require some property on the object to be
	correctly set. This is done during edje_recalc_single on the part. The
	layout fonction of evas would be called just after the resize. If we
	didn't do an edje_recalc_do, but an edje_recalc, the call to
	edje_recalc_single will be delayed and the layout property will not be
	set correctly.


SVN revision: 41698
2009-08-12 09:27:09 +00:00
Cedric BAIL e713c62730 * eina_stringshare: We should use "unsigned char", because suncc think that char is signed.
SVN revision: 41697
2009-08-12 09:02:09 +00:00
Cedric BAIL 8170df024a * edje: Oops, fix drag.
SVN revision: 41691
2009-08-11 14:55:26 +00:00
Cedric BAIL 2ba87c1129 * eina: Fix SunPro compiler.
SVN revision: 41690
2009-08-11 14:14:42 +00:00
Cedric BAIL ae1d5b38bb * eina: eina_cpu_count should be multiplatform.
SVN revision: 41689
2009-08-11 14:11:36 +00:00
Cedric BAIL b69abd204f * edje: Free the Edje_Real_Part_Drag.
SVN revision: 41686
2009-08-11 13:07:46 +00:00
Cedric BAIL d16bbd3953 * edje: Make Edje_Real_Part_Drag a pointer. Win 100 bytes per states.
SVN revision: 41685
2009-08-11 12:47:00 +00:00
Cedric BAIL 9807d2e4c8 * edje: More cleanup of Edje_Real_Part.
SVN revision: 41683
2009-08-11 10:32:21 +00:00
Cedric BAIL 7047c5f561 * edje: Cleanup drag part of Edje_Real_Part.
SVN revision: 41682
2009-08-11 10:17:14 +00:00
Cedric BAIL 16111c4867 * edje: Starting cleanup of Edje_Real_Part.
SVN revision: 41681
2009-08-11 10:08:03 +00:00
Cedric BAIL b6a228e3eb * edje_load: More cleanup.
SVN revision: 41680
2009-08-11 10:06:37 +00:00
Cedric BAIL 922939d832 * edje: Some cleanup, mainly removing dead code.
SVN revision: 41679
2009-08-11 09:45:06 +00:00
Cedric BAIL 280010f404 * edje: Fix memory count.
SVN revision: 41664
2009-08-10 15:18:07 +00:00
Cedric BAIL 7f9a41a824 * edje: Add a cache for _edje_part_recalc_single.
WARNING: THIS CAN CAUSE RENDERING GLITCH AND OTHER WEIRD BEHAVIOUR WITH
	YOUR EDJE FILE. PLEASE REPORT ANY ALIEN STUFF.

	Note: This patch cache the result of _edje_part_recalc_single, until
	any relative part are moved, the object is resized or some property
	are changed (like during text set or color class set).

	Note: Be carefull when you call edje_object_size_min_restricted_calc,
	it's really an inderect heavy user of _edje_part_recalc_single and
	I wasn't able to bring it down.

	Note: This patch use more RAM, around 480 bytes per Edje state, so I
	don't recommand using it on a Desktop with a lot of CPU power.


SVN revision: 41663
2009-08-10 15:16:51 +00:00
Cedric BAIL ee729dd97f * edje: Oops, not the right one.
SVN revision: 41658
2009-08-10 12:38:39 +00:00
Cedric BAIL db0247c644 * edje_recalc: Reduce use of stack.
SVN revision: 41656
2009-08-10 11:52:46 +00:00
Cedric BAIL b1de7da564 * edje: Delay edje_recalc on edje object resize.
WARNING: THIS MAY CAUSE RENDER GLITCH, IF YOU SEE ANYTHING STRANGE
	PLEASE REPORT TO ME.


SVN revision: 41654
2009-08-10 11:33:36 +00:00
Cedric BAIL 0f752e491c * edje: Group configure block together.
SVN revision: 41653
2009-08-10 11:15:38 +00:00
Cedric BAIL 854f360739 * edje: Reduce sizeof (Edje_Calc_Params).
Note: It doesn't really impact edje memory foot print yet. But in
	the plan to do a computation cache inside edje, this structure
	will be used a lot (I am planning to do this feature at some point,
	but no ETA yet, and be reassured it will be optionnal so we can
	choose between CPU load or memory load).

	Note: As I was looking for similar area of improvements,
	Edje_Part_Description could really use an union to reduce it's size,
	but as we load this structure directly from an Eet file, we need
	union in Eet first. And this should be part of a comming Edje file
	format break.



SVN revision: 41652
2009-08-10 09:56:19 +00:00
Christopher Michael 53f359573e Fix placement of __UNUSED__
SVN revision: 41650
2009-08-09 19:07:03 +00:00
Christopher Michael a29767c572 Formatting
SVN revision: 41648
2009-08-09 16:41:51 +00:00
Christopher Michael 9261a4d24b Just Formatting. NO code changes.
SVN revision: 41636
2009-08-07 21:38:36 +00:00
Christopher Michael c508b00c24 evas_object_resize patch to move evas_object_recalc_clippees. This makes
evas_object_resize behave more like evas_object_move.

NB's added in case this causes glitches in corner cases



SVN revision: 41635
2009-08-07 20:35:30 +00:00
Rafael Antognolli a67732bb88 Fixed check at the start of eina_list_accessor_get_at.
SVN revision: 41634
2009-08-07 20:28:05 +00:00
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
Rafael Antognolli ffe70c5e07 Fix some memory handling issues:
* Ethumb_Client now calls free_data on clear() and queue_remove().
* disconnect() doesn't call clear() anymore.
* disconnect() free pending calls correctly.



SVN revision: 41377
2009-07-17 04:28:41 +00:00
Gustavo Sverzut Barbieri 658d39dac8 emotion supports mov, make template edje more efficient.
* add .mov as supported extension.
 * disable mouse events and smooth scale, hint scale as dynamic.



SVN revision: 41375
2009-07-16 23:13:16 +00:00
Gustavo Sverzut Barbieri ebcc27e426 improve tool usage.
-Q, -V, -D: change debug levels, always forget about EINA_ERROR_LEVEL :-P

 print message with status, if it failed, was generated or already exists.



SVN revision: 41374
2009-07-16 22:55:05 +00:00
Gustavo Sverzut Barbieri 2d2dfb7485 improve debug support on module loading.
SVN revision: 41373
2009-07-16 22:53:38 +00:00
Gustavo Sverzut Barbieri 51e81f52ef fix symbol visibility in plugins.
ethumb_plugin_get() must be visible, _module_init/shutdown do not.

also add some __UNUSED__ attribute to shut up -Wextra



SVN revision: 41372
2009-07-16 22:13:36 +00:00
Gustavo Sverzut Barbieri b803f43e91 Export EAPI otherwise plugins will not get symbols.
SVN revision: 41371
2009-07-16 22:06:40 +00:00
Gustavo Sverzut Barbieri 473f5ea563 remove -Wextra warnings.
SVN revision: 41370
2009-07-16 21:49:14 +00:00
Gustavo Sverzut Barbieri 4a2bd500e3 remove gcc -Wextra warnings
SVN revision: 41369
2009-07-16 21:42:02 +00:00
Gustavo Sverzut Barbieri 00d15b298a do not remove sub-evases from ecore_evases list.
they are not there, they're listed inside sub_ecore_evas of parent instead.



SVN revision: 41368
2009-07-16 21:39:48 +00:00
Cedric BAIL 6ca987941f * eina: Fix declaration according to Vincent Torri review.
SVN revision: 41359
2009-07-16 12:09:29 +00:00
Carsten Haitzler 01062bf98b cast. c++ doesn't like the implied void * -> struct * cast.
SVN revision: 41358
2009-07-16 03:04:56 +00:00
Cedric BAIL a477424685 * eina: Expose an helper for memory pool as Eina_Trash data type.
SVN revision: 41350
2009-07-15 13:13:52 +00:00
Gustavo Sverzut Barbieri 2051b9b76c svn:ignore + TODO
SVN revision: 41348
2009-07-15 05:02:37 +00:00
Gustavo Sverzut Barbieri c6b4e69225 zero pointers before failing.
SVN revision: 41347
2009-07-15 04:44:15 +00:00
Rafael Antognolli 0e694f4e18 Fix ethumb file URI generation.
It's now escaping invalid chars to its hex representation.



SVN revision: 41345
2009-07-15 04:18:05 +00:00
Gustavo Sverzut Barbieri 6103d8db01 oops, fix case of timers never being fired while we have idlers.
To reach this case, have a timer that would not be fired on
_ecore_main_loop_iterate_internal(), for example it's not ready yet
(just_added==1), system would get into this inner loop and would never
stop, since there is timer expired now (next_time == 0.0), if we go to
start_loop it would just get into the same loop, not dispatching and
timers.

Python test 04-idler.py triggered that problem.




SVN revision: 41342
2009-07-15 00:11:04 +00:00
Vincent Torri 7807fa64a0 rename 'x11' to 'xlib' for software x11 based engines when it makes sense
SVN revision: 41330
2009-07-14 21:18:27 +00:00
Vincent Torri da292c1f29 * rename 'x11' to 'xlib' when it makes sense
* allow the build of evas without xlib installed (for OpenInkpot guys)
 * add big fat warning when at least a module is linked statically (try it !)

more patches will follow now (ecore, e, rage and ewl)
I let pyton and c++ bindings maintainer to do the rename


SVN revision: 41329
2009-07-14 21:16:08 +00:00
Gustavo Sverzut Barbieri a772d03b40 inlist: docs, docs docs
SVN revision: 41328
2009-07-14 15:32:21 +00:00
Gustavo Sverzut Barbieri a6f46561e7 add missing stddef.h, required by offsetof()
SVN revision: 41327
2009-07-14 15:32:01 +00:00
Gustavo Sverzut Barbieri 9af4d08f79 one more safety check: do not remove element if it's not in any list.
This is the best we can do, but what should be done is to check if
element is really from that list.



SVN revision: 41326
2009-07-14 14:00:59 +00:00
Rafael Antognolli 26a3abe8ef Making ethumb_client_connect always call the connected_cb.
Now the callback is called even when it fails to create a get_name_owner
request.



SVN revision: 41323
2009-07-13 22:08:00 +00:00
Rafael Antognolli 31fc2b0dfa Added support to creating animated thumbnails from videos.
These thumbnails are generated using an edje template. Each thumbnail is
an edje file, that has a group called "movie/thumb"
The thumbnail can be animated by receiving a signal "animate" or "animate_loop"
(the last one being a loop animation that calls itself when finished), and
the animate_loop program can be stopped by receiving a signal "animate_stop".
The transition time is set based on the time of the animation (that is set
by the call ethumb_video_time_set()).



SVN revision: 41322
2009-07-13 19:38:17 +00:00
Rafael Antognolli 2dd7e38b96 Changing boolean flags to Eina_Bool.
SVN revision: 41321
2009-07-13 19:24:20 +00:00
Rafael Antognolli d147af24e3 Created new function edje_edit_image_data_add().
Now it's possible to add an image that is already inside the eet (with a
default key name) to the edje image collection.



SVN revision: 41320
2009-07-13 19:17:35 +00:00
Gustavo Sverzut Barbieri 05f61cd086 fix uninitialized problems reported by valgrind.
SVN revision: 41316
2009-07-12 16:11:58 +00:00
Gustavo Sverzut Barbieri 29c44e5234 Improve docs in Eet.h
By: Hanspeter Portner


SVN revision: 41307
2009-07-11 14:34:54 +00:00
Gustavo Sverzut Barbieri 4faa46cab3 Efreet_Mime: bugfix for magic matching.
Efreet_Mime did not match last set of magics for given mime-type due to
missing check after the loop. This bug was partially masked by the
problem fixed in my previous patch.

By: Mikhail Gusarov


SVN revision: 41305
2009-07-11 14:26:53 +00:00
Gustavo Sverzut Barbieri 9aef9f5eca Efreet_Mime: fix subrules with non-zero depth.
Hello,

I've fixed a bug in parsing magic file in Efreet_Mime: if some magic
rule has a subrule with non-zero depth, then the 0 depth is used instead
for subrule. This led to nonsense like all .xml documents matched as
application/docbook+xml.

By: Mikhail Gusarov


SVN revision: 41304
2009-07-11 14:23:36 +00:00
Vincent Torri 84be18a101 typo
SVN revision: 41299
2009-07-11 06:07:11 +00:00
Gustavo Sverzut Barbieri 5959578954 fix minor glitches with edje box.
still missing:
  * box.max
  * proper handling of min/max, need to behave like text.



SVN revision: 41297
2009-07-10 23:13:09 +00:00
Carsten Haitzler d6a6cc63e8 cserve for evas now has a threaded loader - much better when multiple clients
aare hammering it with load requests



SVN revision: 41293
2009-07-10 06:52:09 +00:00
Mikhail Gusarov d6af88ef6c patch from: Mikhail Gusarov <dottedmag@dottedmag.net>
evas_common_font_utf8_get_prev currently works correctly only on an
ASCII symbols. For non-ASCII it just returns random garbage somehow
constructed from a string.

Attached patch makes it work according to the comment at the start.



SVN revision: 41292
2009-07-10 06:06:37 +00:00
Rafael Antognolli 8106bf6d44 Added ETHUMB_THUMB_EET as a format flag.
SVN revision: 41289
2009-07-09 19:47:51 +00:00
Rafael Antognolli 6a060751f8 Providing more API to plugins.
- Now it's possible to access the ecore_evas used to generate the
thumbnails (and use functions like ecore_evas_buffer_pixels_get() ont it);
- Functions to calculate aspect and fill area using the aspect ratio as
argument are also provided.



SVN revision: 41288
2009-07-09 19:42:18 +00:00
Rafael Antognolli 116c7d3266 Fixed wrong usage of dbus.
This was also the problem causing ethumb generated callback on the client
library always return with success=1 (see ticket #337).



SVN revision: 41287
2009-07-09 19:26:16 +00:00
Rafael Antognolli f9b765ec1c Added support to set quality and compress level.
SVN revision: 41286
2009-07-09 19:16:02 +00:00
Rafael Antognolli 5dc0fa41ef Added support to free_data callbacks.
Some functions that require callbacks and data passed to them now can
receive a free_data callback as argument too.



SVN revision: 41285
2009-07-09 19:14:29 +00:00
Rafael Antognolli 8f9dc79021 Fixed wrong usage of eina_list_remove_list on Ethumb_Client.
SVN revision: 41284
2009-07-09 19:11:57 +00:00
Vincent Torri 3c7680e6cb * add ecore_x_atom_name_get() API (will be used by ewl)
* move atom related functions from ecore_x.c to ecore_x_atom.c


SVN revision: 41283
2009-07-09 04:55:11 +00:00
Cedric BAIL 3dfa5693f9 * eet: Update ChangeLog.
SVN revision: 41280
2009-07-08 15:13:03 +00:00
Cedric BAIL 0a6ef8bbde * eet: Reorder gcry init so that it's correctly taken into account by gcry.
SVN revision: 41279
2009-07-08 14:43:20 +00:00
Cedric BAIL 729eaf324c * eina: Remove recursion from eina_rectangle.
SVN revision: 41263
2009-07-07 11:24:44 +00:00
Cedric BAIL 7a94d9de85 * evas: Try all known modules when testing an unknown file.
SVN revision: 41262
2009-07-07 11:07:43 +00:00
Vincent Torri 7e475a152c missing ;
SVN revision: 41259
2009-07-06 21:48:11 +00:00
Cedric BAIL 0e2a57f8c8 * eet: Fix compilation when disabling signature, with gnutls enabled.
SVN revision: 41256
2009-07-06 13:25:29 +00:00
Cedric BAIL dbaeb5eaba * eina: Partial fix for ticket #286.
SVN revision: 41241
2009-07-03 12:39:32 +00:00
Lars Munch 0b02e8f8a3 On windows use evil's dladdr implementation so you dont have to set
EINA_MODULES_MEMPOOL_DIR and EVAS_MODULES_DIR in the windows environment.



SVN revision: 41230
2009-07-02 07:45:01 +00:00
Cedric BAIL 1676145494 * evas: Reduce code duplication.
SVN revision: 41228
2009-07-01 14:05:04 +00:00
Vincent Torri 07d7e5ce66 * remove the mention of the static link check in configure ouput
* add a (ecologic) warning at the end of configure if a module is
   statically linked to eina


SVN revision: 41226
2009-06-30 16:18:41 +00:00
Vincent Torri c803ed44d3 fix++
SVN revision: 41222
2009-06-29 06:44:35 +00:00
Vincent Torri 7a3b2110bf * more doc
* check the returned value of eina_error_init() in eina_module_init()


SVN revision: 41218
2009-06-28 06:29:11 +00:00
Vincent Torri 13fbd02091 Reorganize a bit the configure.ac file, and add 2 macros for
dithering and scaler


SVN revision: 41216
2009-06-27 13:07:00 +00:00
Vincent Torri 19b6892b94 remove useless Windows CE stuff, as it must be done on the
executable, and not the library.


SVN revision: 41214
2009-06-27 07:00:39 +00:00
Vincent Torri 390f94bcfd update m4 macros (mainly formatting)
SVN revision: 41212
2009-06-27 06:42:14 +00:00
Cedric BAIL a7f2974e13 * evas: break engine API !!!
Improvements: Now evas rendering loop is the one responsible to
	initialize the surface to 0 correctly (taking into account surface
	alpha and object opacity). This will reduce the number of memset
	we do.

	Note: Current software_x11 (xlib and xcb) are buggy. They are
	copying too much data when the surface use a mask. That's why
	two memset are left in their code. They could be removed, but
	we should fix the surface we copy on change (look at mxob user
	and evas_software_xlib_x_output_buffer_paste).


SVN revision: 41206
2009-06-26 13:26:52 +00:00
Cedric BAIL 7e62952adf * evas: Fix broken evas_software_16 static module support.
SVN revision: 41205
2009-06-26 13:15:32 +00:00
Vincent Torri c5ed7f0de4 * fix typo
* move option of e17 benchmark to its correct place


SVN revision: 41204
2009-06-26 07:52:56 +00:00
Vincent Torri b38a118162 * use a m4 macro for checking benchmark libraries and
check the libraries only if benchmarking is enabled
 * add extra dist files to be able to configure eina
   with autogen.sh and also add .spec files


SVN revision: 41203
2009-06-26 07:20:15 +00:00
Vincent Torri c94a92a174 * Remove the use of HAVE___ATTRIBUTE__ (which is defined at
configure time) in an exported header. Use only macros
   defined by the compilers, which is sufficient and simpler.
 * Add missing EINA_DEPRECATED in some cases.


SVN revision: 41199
2009-06-25 19:58:05 +00:00
Vincent Torri 4d5e99df01 add minimum supported version for Windows CE and XP
SVN revision: 41198
2009-06-25 19:55:06 +00:00
Carsten Haitzler e420003d7e add a zero of cpu.. just in case.
SVN revision: 41195
2009-06-25 14:59:12 +00:00
Cedric BAIL f60c798f1d * eina: Fix rectangle merge.
SVN revision: 41193
2009-06-25 10:58:16 +00:00
Vincent Torri 4c09519e99 remove trailing spaces
SVN revision: 41191
2009-06-25 04:20:34 +00:00
Vincent Torri ebc20c2236 API BREAK: fix Eina API so that it is more consistent with the other EFL
what is modified:

eina_counter_add -> eina_counter_new
eina_counter_delete -> eina_counter_free
eina_lalloc_delete -> eina_lalloc_free
eina_mempool_new -> eina_mempool_add
eina_mempool_delete -> eina_mempool_del
eina_mempool_alloc -> eina_mempool_malloc
eina_tiler_del -> eina_tiler_free

It remains some questions: have the following API a good name:

eina_module_list_delete
eina_list_free
eina_rbtree_delete

(see ticket #286)

If you find any problem, please report in that thread


SVN revision: 41187
2009-06-24 16:56:49 +00:00
Cedric BAIL 3b384b323c * eina: Faster Eina_Rectangle_Pool (should be used by OpenGL engine).
SVN revision: 41185
2009-06-24 13:38:25 +00:00
Cedric BAIL 8a363fec23 * eet: SUN compiler don't like ; at the end of this macro.
SVN revision: 41184
2009-06-24 12:56:16 +00:00
Cedric BAIL 746302ad53 * eina: Make eina benchmark more configurable.
SVN revision: 41183
2009-06-24 12:48:33 +00:00
Vincent Torri 26d2cf2101 add Lars and myself
SVN revision: 41180
2009-06-24 06:21:15 +00:00
Vincent Torri 88e6e10da1 Rework the Windows message loop and the managing of sockets
sent by ecore_pipe. The programs based on Ecore on Windows
do not take 100% of the cpu power anymore.

Patch by Lars Munch, modified by me (formatting + guards)


SVN revision: 41179
2009-06-24 06:14:07 +00:00
Cedric BAIL 0c9aead634 Evas_Rectangle are gone. We now use Eina_Rectangle and memory pool is
shared accross the application.


SVN revision: 41170
2009-06-23 13:57:27 +00:00
Cedric BAIL 42e610f81b * evas: Reduce malloc/free done by Fribidi use in evas.
Note: More could be done to improve this situation.


SVN revision: 41169
2009-06-23 13:51:41 +00:00
Cedric BAIL cfd40e9cc4 * ecore_evas: Fix ecore_evas_gl_x11_new usage.
SVN revision: 41167
2009-06-23 09:55:47 +00:00
Vincent Torri 9110d8d574 fix a bit the documentation, but there are still
a lot of doc to write...


SVN revision: 41164
2009-06-22 20:03:58 +00:00
Vincent Torri 3ecc808ae2 remove documentation on how to build eina with static mempools
SVN revision: 41161
2009-06-22 17:38:56 +00:00
Vincent Torri ddc06185d2 Remove the static options of configure and add
a way to select it with --enable-foo by passing
'static'. Use at your own risks.

If I've messed something up, please report in that thread


SVN revision: 41160
2009-06-22 17:35:31 +00:00
Cedric BAIL b8e164fb01 * eina_rectangle: Fix typo.
SVN revision: 41158
2009-06-22 13:46:05 +00:00
Cedric BAIL 5c5cb1fdb1 * eina: Add a benchmark for eina_rectangle_pool.
SVN revision: 41157
2009-06-22 13:24:13 +00:00
Cedric BAIL 4fa66bcae9 * eina: Evas_Data are gone so unactivate benchmark.
SVN revision: 41156
2009-06-22 13:20:29 +00:00
Cedric BAIL af1e7f5dc9 * eina: Fix API naming for eina_rectangle and add a global allocator.
SVN revision: 41155
2009-06-22 13:16:51 +00:00
Gustavo Sverzut Barbieri eac66d4e5a proper cleanup of efreet_desktop_command.
Efreet API is BRAIN NUTS, some stuff you're supposed to release (list)
and others are up to the callback to release.

Okay, I broke e17 trying to fix efreet tests. API is so inconsistent
that its own test was wrong. I'm reverting my change and fix the test,
but this is bad.



SVN revision: 41133
2009-06-20 19:07:31 +00:00
Gustavo Sverzut Barbieri 4eb71900a2 and rename static linkage as well.
SVN revision: 41131
2009-06-20 16:31:15 +00:00
Vincent Torri b9d313774f * Allow some tests to pass on Windows. Just for the fun
* More important, allow to manage correctly the icons with
   efreet on Windows. It works with Tango (and ewl, now)


SVN revision: 41130
2009-06-20 16:18:17 +00:00
Vincent Torri ddee121285 i forgot to rename file...
SVN revision: 41126
2009-06-20 10:17:37 +00:00
Gustavo Sverzut Barbieri b5f6c61c94 free array as well.
SVN revision: 41124
2009-06-20 07:36:30 +00:00
Gustavo Sverzut Barbieri 1c0ca5dfbb fix memory leak introduced with recent layer destruction.
also rename evas_layer_free() to evas_layer_free_objects() as what it
do now, make _evas_layer_free() as static and use it both cases.



SVN revision: 41123
2009-06-20 07:17:40 +00:00
Vincent Torri 324fd7b2ca do not segv when no pallete in xcb engine too.
SVN revision: 41122
2009-06-20 06:53:48 +00:00
Gustavo Sverzut Barbieri 44d66495ca more valgrind fixes on efreet.
SVN revision: 41121
2009-06-20 06:50:01 +00:00
Vincent Torri 8021f6beeb formatting
SVN revision: 41120
2009-06-20 06:47:03 +00:00
Vincent Torri 8909bb6b69 * All memory pools can be enabled / disabled
* Allow to pass 'static' to configure memory pools
 * Add fixed_bitmap in the possible statically linked memory pools

For example:

./configure --enable-chained-pool=static --disable-fixed-bitmap


SVN revision: 41119
2009-06-20 06:42:32 +00:00
Gustavo Sverzut Barbieri 0567fd7bf2 improve sched_getaffinity() usage.
* handle error code and print out error message, this should remove
   invalid access traces from valgrind.

 * give "0" as pid to get self affinity, this is documented in the man
   page.



SVN revision: 41118
2009-06-20 06:34:20 +00:00
Gustavo Sverzut Barbieri 3871aed422 free some leaks reported by valgrind in src/bin tests.
SVN revision: 41117
2009-06-20 06:19:48 +00:00
Gustavo Sverzut Barbieri 728b003fee do not segv when no pallete.
spotted this bug when I disabled all converters in a config mistake :-)



SVN revision: 41116
2009-06-20 05:55:37 +00:00
Gustavo Sverzut Barbieri ebeee4b5ce we use lists, need to init/shutdown eina_list or we get segvs.
SVN revision: 41115
2009-06-20 05:53:26 +00:00
Cedric BAIL eb488748c6 * evas: Fix a few typo preventing a full static build.
SVN revision: 41114
2009-06-19 16:40:21 +00:00
Gustavo Sverzut Barbieri adf5c3553e use new stringshared hash, pointer was being misused since api is confusing.
The pointer type is really confusing, it was expecting pointer to
pointer what is really weird.

Cedric just added a stringshared variant that should be as fast
(removing the strcmp()) and is the api one would expect.

This fix a long standing bug I introduced (sorry!) when added the
cache, but it was bit hard to hit as if you didn't find a collision
you'd be adding to cache and never finding it. But I recently started
to use icons on desktop and for some weird reason the PDF icons
started to show in TAR :-P



SVN revision: 41113
2009-06-19 15:00:38 +00:00
Cedric BAIL 7a18ab5ebc * eina: Add an eina_hash_stringshare_new.
SVN revision: 41112
2009-06-19 14:44:23 +00:00
Cedric BAIL 43ff8f4c9d * evas: Fix typo.
SVN revision: 41104
2009-06-18 14:30:29 +00:00
Carsten Haitzler 02fef22de9 move adding of events if entry only if entry part exists.
SVN revision: 41103
2009-06-18 14:01:26 +00:00
Cedric BAIL 5d0a773fef * evas: Use Eina hash improvements.
SVN revision: 41101
2009-06-18 12:14:29 +00:00
Cedric BAIL bba26ef811 * eina: Improve eina hash manipulation for int.
- Faster int key comparison.
	- Key Length callback could now be NULL and 0 will be assumed.


SVN revision: 41100
2009-06-18 12:08:52 +00:00
Lars Munch f850d6cb0d Fix wince engine module name
SVN revision: 41099
2009-06-18 10:21:09 +00:00
Cedric BAIL d331f73b55 * emotion: Remove Evas_Bool.
SVN revision: 41097
2009-06-18 08:01:23 +00:00
Lars Munch 8804249862 The data directory is not there anymore
SVN revision: 41095
2009-06-18 05:01:11 +00:00
Lars Munch 7bcbe02a3e Use correct module extension on cygwin
Patch from: booleanlabel at gmail dot com. Thanks.



SVN revision: 41094
2009-06-18 04:06:34 +00:00
Gustavo Sverzut Barbieri 37b3a62cde remove last trace of Evas_List, it's gone dude!
SVN revision: 41089
2009-06-17 18:12:55 +00:00
Lars Munch 9b521201d0 Fix a few more Ecore_List2 to Eina_Inlist conversion typos.
ecore_evas_x.c is just changed for consistency.



SVN revision: 41085
2009-06-17 16:08:26 +00:00
Vincent Torri 54b27e4edc * DATADIR is used in a Windows directory. Use PACKAGE_DATA_DIR instead
* useless Evil.h inclusion


SVN revision: 41084
2009-06-17 16:07:29 +00:00
Cedric BAIL 010621dd4a * evas: Remove Evas data type. You should now use Eina.
SVN revision: 41083
2009-06-17 15:46:27 +00:00
Cedric BAIL 3ec50d3bdc * efreet: Forgot to update AUTHORS with Albin.
SVN revision: 41079
2009-06-17 13:17:02 +00:00
Lars Munch 6b25cf2ad9 Fix typo in Ecore_List2 to Eina_Inlist conversion
SVN revision: 41078
2009-06-17 13:14:02 +00:00
Lars Munch b4c12e8efe Rename public to definition as public is a reserved word in c++
SVN revision: 41077
2009-06-17 13:10:00 +00:00
Cedric BAIL 3f064e8818 * AUTHORS: Update to reflect new contribution from Albin.
SVN revision: 41076
2009-06-17 12:41:48 +00:00
Cedric BAIL 19ce6dce92 * ecore: Fix a segv during ecore_shutdown.
SVN revision: 41075
2009-06-17 12:38:15 +00:00
Cedric BAIL d5757de0c9 * ecore: Remove Ecore_List2 at all.
SVN revision: 41074
2009-06-17 11:47:28 +00:00
Cedric BAIL eb543607a3 * ecore: Remove Ecore_List2 from ecore_evas.
SVN revision: 41073
2009-06-17 11:42:02 +00:00
Cedric BAIL 79291ef06b * ecore: Remove Ecore_List2 from ecore_file.
SVN revision: 41072
2009-06-17 11:41:12 +00:00
Cedric BAIL 429fc4b4f8 * ecore: Remove Ecore_List2 from ecore_con.
SVN revision: 41071
2009-06-17 11:40:30 +00:00
Cedric BAIL 8e392a0742 * ecore: Remove user of Ecore_List2 from ecore events.
SVN revision: 41070
2009-06-17 11:39:37 +00:00
Cedric BAIL 3ff7c2300d * ecore: Fix ecore_evas_x uninitialised variable.
SVN revision: 41069
2009-06-17 11:13:11 +00:00
Cedric BAIL b405fecf1e * edje: Remove last set of Evas_Hash, and move to Eina_Bool.
SVN revision: 41068
2009-06-17 11:10:32 +00:00
Cedric BAIL 6d0ee81526 * evas: Remove Evas_Bool.
SVN revision: 41067
2009-06-17 10:01:52 +00:00
Gustavo Sverzut Barbieri d89cf04e8d fix nasty warnings of -Wextra
SVN revision: 41066
2009-06-17 01:41:54 +00:00
Gustavo Sverzut Barbieri 3c6e35dd10 be explicit about SUBDIRS and DIST_SUBDIRS, fix maintainer-clean.
automake was "smart enough" to include in DIST_SUBDIRS even when 'if'
clause didn't add it to SUBDIRS, that was causing modules like XPM be
added twice, resulting maintainer-clean to double-clean the directory
(one from src/modules/loaders and other from src/lib), failing on the
second time.



SVN revision: 41060
2009-06-16 19:03:28 +00:00
Gustavo Sverzut Barbieri 6760437fdd do not add duplicate search paths to module loader.
usually libevas.so/../evas/modules is the same as libdir/evas/modules,
so avoid adding it twice.


SVN revision: 41059
2009-06-16 15:02:57 +00:00
Gustavo Sverzut Barbieri a7a2419ac3 add missing EAPI to now external visible methods.
SVN revision: 41058
2009-06-16 15:01:26 +00:00
Gustavo Sverzut Barbieri 32ff1f0aa4 better error setting and reporting in module loading.
* just set error codes if we know the error.
 * debug dlopen() error using EINA_ERROR_PDBG()



SVN revision: 41057
2009-06-16 14:59:09 +00:00