framework/uifw/edje.git
15 years agofix docs
sachiel [Tue, 1 Sep 2009 16:16:23 +0000 (16:16 +0000)]
fix docs

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@42159 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years ago * edje: Fix static build of edje.
cedric [Tue, 1 Sep 2009 10:02:40 +0000 (10:02 +0000)]
* edje: Fix static build of edje.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@42146 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoremove debug
caro [Sat, 29 Aug 2009 08:42:44 +0000 (08:42 +0000)]
remove debug

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@42086 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoremove debug
caro [Fri, 28 Aug 2009 05:49:40 +0000 (05:49 +0000)]
remove debug

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@42057 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoallow the user to chose in which directory the temporary file
caro [Tue, 25 Aug 2009 17:25:23 +0000 (17:25 +0000)]
allow the user to chose in which directory the temporary file
will be created. The logic is the following:

 * if the environment variable TMPDIR is set, use its value
 * if it is not set, take the directory passed with the
   -td option (see edje_cc help)
 * otherwise on Windows use a temporary dir and on other
   platform, use /tmp

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@41978 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agosmall cleanup
caro [Mon, 24 Aug 2009 17:20:33 +0000 (17:20 +0000)]
small cleanup

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@41958 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years ago * remove unused parameters (except in edje_lua.c, as i don't know the current status)
caro [Mon, 24 Aug 2009 16:40:42 +0000 (16:40 +0000)]
 * remove unused parameters (except in edje_lua.c, as i don't know the current status)
 * remove unused variables

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@41957 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agotypo
caro [Sun, 23 Aug 2009 15:37:20 +0000 (15:37 +0000)]
typo

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@41942 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years ago * Remove _strdup(). Useless unless we don't check the return value
davemds [Mon, 17 Aug 2009 21:28:40 +0000 (21:28 +0000)]
 * Remove _strdup(). Useless unless we don't check the return value

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@41850 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years ago * edje: Fix tween when comming from same state.
cedric [Mon, 17 Aug 2009 15:16:23 +0000 (15:16 +0000)]
* edje: Fix tween when comming from same state.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@41844 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years ago * Do not include edje_cc.h anymore :)
davemds [Mon, 17 Aug 2009 14:49:26 +0000 (14:49 +0000)]
 * Do not include edje_cc.h anymore :)

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@41843 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years ago * Do not use the 'Font' struct from edje_cc.h
davemds [Mon, 17 Aug 2009 14:26:31 +0000 (14:26 +0000)]
 * Do not use the 'Font' struct from edje_cc.h

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@41842 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years ago * Do not use SZ() macro from edje_cc.h
davemds [Mon, 17 Aug 2009 14:13:26 +0000 (14:13 +0000)]
 * Do not use SZ() macro from edje_cc.h

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@41841 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years ago * edje: Fix calc.
cedric [Mon, 17 Aug 2009 14:00:44 +0000 (14:00 +0000)]
* edje: Fix calc.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@41840 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years ago * rename mem_strdup() to not clash (in the case of a static build) with the one...
davemds [Mon, 17 Aug 2009 13:54:17 +0000 (13:54 +0000)]
 * rename mem_strdup() to not clash (in the case of a static build) with the one defined in bin/

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@41839 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years ago * edje: Remove warning, mainly due to lua merge.
cedric [Mon, 17 Aug 2009 11:32:56 +0000 (11:32 +0000)]
* edje: Remove warning, mainly due to lua merge.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@41838 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agodo not exit on lua errors! this would be righteously bad for apps using
raster [Sun, 16 Aug 2009 03:00:14 +0000 (03:00 +0000)]
do not exit on lua errors! this would be righteously bad for apps using
themes that happened to use lua...

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@41804 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoFrom: "Hanspeter Portner" <ventosus@airpost.net>
raster [Sun, 16 Aug 2009 02:34:02 +0000 (02:34 +0000)]
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 ;-)

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@41802 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years ago * edje: Make EDJE_CALC_CACHE on by default.
cedric [Fri, 14 Aug 2009 17:20:27 +0000 (17:20 +0000)]
* edje: Make EDJE_CALC_CACHE on by default.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@41772 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years ago * edje_calc: Major cleanup.
cedric [Fri, 14 Aug 2009 17:19:42 +0000 (17:19 +0000)]
* 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.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@41771 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years ago * edje_calc: Use 20 bytes less per Edje_Calc_Params.
cedric [Thu, 13 Aug 2009 16:28:17 +0000 (16:28 +0000)]
* edje_calc: Use 20 bytes less per Edje_Calc_Params.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@41745 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years ago * edje_calc: Cleanup calc structure.
cedric [Thu, 13 Aug 2009 16:13:49 +0000 (16:13 +0000)]
* edje_calc: Cleanup calc structure.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@41744 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years ago * eet: Fix prefix.
cedric [Thu, 13 Aug 2009 13:26:43 +0000 (13:26 +0000)]
* eet: Fix prefix.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@41735 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years ago * edje: Use new clean API from Eet.
cedric [Thu, 13 Aug 2009 12:53:12 +0000 (12:53 +0000)]
* edje: Use new clean API from Eet.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@41733 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoNULL sfont as it might be used earlier.
barbieri [Wed, 12 Aug 2009 17:57:34 +0000 (17:57 +0000)]
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.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@41714 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years ago * edje: Starting refactor of edje_recalc_single.
cedric [Wed, 12 Aug 2009 14:13:17 +0000 (14:13 +0000)]
 * edje: Starting refactor of edje_recalc_single.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@41706 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years ago * edje: Reverting to recalc_do in edje smart resize.
cedric [Wed, 12 Aug 2009 09:27:09 +0000 (09:27 +0000)]
* 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.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@41698 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years ago * edje: Oops, fix drag.
cedric [Tue, 11 Aug 2009 14:55:26 +0000 (14:55 +0000)]
* edje: Oops, fix drag.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@41691 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years ago * edje: Free the Edje_Real_Part_Drag.
cedric [Tue, 11 Aug 2009 13:07:46 +0000 (13:07 +0000)]
* edje: Free the Edje_Real_Part_Drag.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@41686 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years ago * edje: Make Edje_Real_Part_Drag a pointer. Win 100 bytes per states.
cedric [Tue, 11 Aug 2009 12:47:00 +0000 (12:47 +0000)]
* edje: Make Edje_Real_Part_Drag a pointer. Win 100 bytes per states.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@41685 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years ago * edje: More cleanup of Edje_Real_Part.
cedric [Tue, 11 Aug 2009 10:32:21 +0000 (10:32 +0000)]
* edje: More cleanup of Edje_Real_Part.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@41683 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years ago * edje: Cleanup drag part of Edje_Real_Part.
cedric [Tue, 11 Aug 2009 10:17:14 +0000 (10:17 +0000)]
* edje: Cleanup drag part of Edje_Real_Part.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@41682 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years ago * edje: Starting cleanup of Edje_Real_Part.
cedric [Tue, 11 Aug 2009 10:08:03 +0000 (10:08 +0000)]
* edje: Starting cleanup of Edje_Real_Part.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@41681 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years ago * edje_load: More cleanup.
cedric [Tue, 11 Aug 2009 10:06:37 +0000 (10:06 +0000)]
* edje_load: More cleanup.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@41680 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years ago * edje: Some cleanup, mainly removing dead code.
cedric [Tue, 11 Aug 2009 09:45:06 +0000 (09:45 +0000)]
* edje: Some cleanup, mainly removing dead code.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@41679 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years ago * edje: Fix memory count.
cedric [Mon, 10 Aug 2009 15:18:07 +0000 (15:18 +0000)]
* edje: Fix memory count.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@41664 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years ago * edje: Add a cache for _edje_part_recalc_single.
cedric [Mon, 10 Aug 2009 15:16:51 +0000 (15:16 +0000)]
* 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.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@41663 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years ago * edje: Oops, not the right one.
cedric [Mon, 10 Aug 2009 12:38:39 +0000 (12:38 +0000)]
* edje: Oops, not the right one.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@41658 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years ago * edje_recalc: Reduce use of stack.
cedric [Mon, 10 Aug 2009 11:52:46 +0000 (11:52 +0000)]
* edje_recalc: Reduce use of stack.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@41656 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years ago * edje: Delay edje_recalc on edje object resize.
cedric [Mon, 10 Aug 2009 11:33:36 +0000 (11:33 +0000)]
* edje: Delay edje_recalc on edje object resize.

WARNING: THIS MAY CAUSE RENDER GLITCH, IF YOU SEE ANYTHING STRANGE
PLEASE REPORT TO ME.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@41654 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years ago * edje: Group configure block together.
cedric [Mon, 10 Aug 2009 11:15:38 +0000 (11:15 +0000)]
* edje: Group configure block together.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@41653 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years ago * edje: Reduce sizeof (Edje_Calc_Params).
cedric [Mon, 10 Aug 2009 09:56:19 +0000 (09:56 +0000)]
* 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.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@41652 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoPatch from Victor <victor.scorpion@gmail.com> to fix typo in
devilhorns [Fri, 7 Aug 2009 09:06:04 +0000 (09:06 +0000)]
Patch from Victor <victor.scorpion@gmail.com> to fix typo in
edje_real_part_swallow.

Thanks :)

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@41630 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoback to pre ver's
raster [Wed, 29 Jul 2009 08:19:34 +0000 (08:19 +0000)]
back to pre ver's

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@41535 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoSNAPSHOT: svn-03
raster [Wed, 29 Jul 2009 08:03:25 +0000 (08:03 +0000)]
SNAPSHOT: svn-03

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@41532 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoAdd som m4 directory ignores.
kwo [Tue, 28 Jul 2009 18:21:25 +0000 (18:21 +0000)]
Add som m4 directory ignores.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@41528 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoedje: add first bunch of typedefs for previously anonymous callbacks
mickeyl [Sat, 18 Jul 2009 22:43:50 +0000 (22:43 +0000)]
edje: add first bunch of typedefs for previously anonymous callbacks

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@41424 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoCreated new function edje_edit_image_data_add().
antognolli [Mon, 13 Jul 2009 19:17:35 +0000 (19:17 +0000)]
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.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@41320 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agotypo
caro [Sat, 11 Jul 2009 06:07:11 +0000 (06:07 +0000)]
typo

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@41299 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agofix minor glitches with edje box.
barbieri [Fri, 10 Jul 2009 23:13:09 +0000 (23:13 +0000)]
fix minor glitches with edje box.

still missing:
  * box.max
  * proper handling of min/max, need to behave like text.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@41297 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoupdate m4 macros (mainly formatting)
caro [Sat, 27 Jun 2009 06:42:14 +0000 (06:42 +0000)]
update m4 macros (mainly formatting)

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@41212 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agomove adding of events if entry only if entry part exists.
raster [Thu, 18 Jun 2009 14:01:26 +0000 (14:01 +0000)]
move adding of events if entry only if entry part exists.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@41103 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years ago * edje: Remove last set of Evas_Hash, and move to Eina_Bool.
cedric [Wed, 17 Jun 2009 11:10:32 +0000 (11:10 +0000)]
* edje: Remove last set of Evas_Hash, and move to Eina_Bool.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@41068 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoback to svn soname
raster [Mon, 15 Jun 2009 06:29:43 +0000 (06:29 +0000)]
back to svn soname

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@41042 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agomake distcheck and... SNAP!
raster [Mon, 15 Jun 2009 05:32:49 +0000 (05:32 +0000)]
make distcheck and... SNAP!

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@41039 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agotypo--
barbieri [Wed, 10 Jun 2009 17:54:40 +0000 (17:54 +0000)]
typo--

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@40999 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agomirko - thanks. spotted a crahs when magic debug is disabled
raster [Wed, 3 Jun 2009 13:17:06 +0000 (13:17 +0000)]
mirko - thanks. spotted a crahs when magic debug is disabled

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@40875 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agofix debian rules files.
barbieri [Tue, 26 May 2009 17:34:53 +0000 (17:34 +0000)]
fix debian rules files.

 * fix the way AC_INIT macros are parsed to consider [] as well.
 * set both LDFLAGS and CFLAGS on the libs I use and I know support -fvisibility=hidden.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@40838 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoupdated docu
andreas [Sun, 24 May 2009 08:24:32 +0000 (08:24 +0000)]
updated docu

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@40808 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agorevertg big R to L patches because they break cursors and selection.... BACK
raster [Fri, 22 May 2009 21:12:32 +0000 (21:12 +0000)]
revertg big R to L patches because they break cursors and selection.... BACK
boy BACK!

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@40783 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agotasn's rtl pathes and improvements... continued!
raster [Mon, 18 May 2009 06:08:15 +0000 (06:08 +0000)]
tasn's rtl pathes and improvements... continued!

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@40715 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agounderquoted parameters
caro [Fri, 15 May 2009 08:35:18 +0000 (08:35 +0000)]
underquoted parameters

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@40661 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoupdate efl_doxygen.m4
caro [Fri, 15 May 2009 08:33:32 +0000 (08:33 +0000)]
update efl_doxygen.m4

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@40660 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoPut the closing parenthesis just after the last closing bracket.
caro [Fri, 15 May 2009 06:39:05 +0000 (06:39 +0000)]
Put the closing parenthesis just after the last closing bracket.
Putting it the next line adds a line feed to the value of the
variable. Yes, m4 is an horror

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@40648 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years ago * include Ecore_IMF.h before Edje.h so that EAPI
caro [Thu, 14 May 2009 18:36:01 +0000 (18:36 +0000)]
 * include Ecore_IMF.h before Edje.h so that EAPI
   is correctly defined on Windows. Paatch by Klaus Rechert
 * useless include of eina_stringshare.h as it is included by Eina.h

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@40646 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agofix input method composition plus fuxes to match textblock
raster [Thu, 14 May 2009 12:53:56 +0000 (12:53 +0000)]
fix input method composition plus fuxes to match textblock

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@40641 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agotoo many 'yes'.
caro [Thu, 14 May 2009 06:58:00 +0000 (06:58 +0000)]
too many 'yes'.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@40636 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years ago * fix build when ecore_imf is not available. Patch by Lars Munch
caro [Wed, 13 May 2009 22:11:06 +0000 (22:11 +0000)]
 * fix build when ecore_imf is not available. Patch by Lars Munch
 * formatting

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@40632 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agodon't use the release stuff for Windows CE
caro [Wed, 13 May 2009 18:58:15 +0000 (18:58 +0000)]
don't use the release stuff for Windows CE

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@40630 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoecore_imf input method support for edjeentry - on-screen kbds only at the
raster [Wed, 13 May 2009 13:29:30 +0000 (13:29 +0000)]
ecore_imf input method support for edjeentry - on-screen kbds only at the
moment. will fix for kbd input. no ecore_imf module tho... yet

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@40619 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agocomments - man is that struct big!
raster [Mon, 11 May 2009 13:10:38 +0000 (13:10 +0000)]
comments - man is that struct big!

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@40589 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoallow scale_hint to be added to items in edje
raster [Thu, 7 May 2009 13:30:18 +0000 (13:30 +0000)]
allow scale_hint to be added to items in edje

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@40537 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agouse more rediculously big double
raster [Wed, 6 May 2009 12:41:23 +0000 (12:41 +0000)]
use more rediculously big double

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@40525 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoFixed debian stuff everywhere.
quaker [Mon, 4 May 2009 17:36:48 +0000 (17:36 +0000)]
Fixed debian stuff everywhere.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@40505 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoAdded libtool as Build-Depends to everything that uses
rbelem [Sun, 3 May 2009 14:32:23 +0000 (14:32 +0000)]
Added libtool as Build-Depends to everything that uses
DEB_CONFIGURE_SCRIPT := ./autogen.sh

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@40500 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agouse alloca+memcpy instead of strdupa.
barbieri [Sat, 2 May 2009 23:22:07 +0000 (23:22 +0000)]
use alloca+memcpy instead of strdupa.

for these guys that insist in using doomed systems like solaris or
bsd, god save them ;-)

Patch by vtorri.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@40491 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoAllow sending signals to GROUP sub-parts.
barbieri [Sat, 2 May 2009 20:05:53 +0000 (20:05 +0000)]
Allow sending signals to GROUP sub-parts.

Today signals emitted inside GROUP sub-parts are delivered to parent
group as "part-name:original-source". This is good and allow edje
groups to be reused. But no counter part to send events to inside
sub-groups existed.

This patch allows one to send a signal "signal" to inside a part
"part" that is of type GROUP by prepending signal emission with part name:

    emission: "part:signal"
    source: "source"

this is the same as:

   o = edje_object_part_swallow_get(ed);
   edje_object_signal_emit(o, "signal", "source");

but can be done all in themes, no need to go to application c/c++/python.

Based on patch by Pieter, see mail list.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@40489 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agofix corner case with edje - where u check for existens of parts in a edje but
raster [Mon, 27 Apr 2009 02:41:33 +0000 (02:41 +0000)]
fix corner case with edje - where u check for existens of parts in a edje but
never use a single object from it.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@40410 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agomark edje as dirty if box/table children changed.
barbieri [Mon, 27 Apr 2009 02:38:14 +0000 (02:38 +0000)]
mark edje as dirty if box/table children changed.

This should help to fix bugs with systray.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@40408 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agorecalculate table if it is dirty.
barbieri [Mon, 27 Apr 2009 02:36:56 +0000 (02:36 +0000)]
recalculate table if it is dirty.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@40407 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoMerge branch 'debian-fixes'
rbelem [Fri, 24 Apr 2009 05:29:12 +0000 (05:29 +0000)]
Merge branch 'debian-fixes'

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@40345 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years ago1. fixed exalt-client module load, 2. fixed edje DEB_SOURCE_VERSION(thx to sur5r)
quaker [Thu, 23 Apr 2009 19:22:39 +0000 (19:22 +0000)]
1. fixed exalt-client module load, 2. fixed edje DEB_SOURCE_VERSION(thx to sur5r)

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@40340 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoFixed typo in edje debian/control, thx to sur5r
quaker [Thu, 23 Apr 2009 18:28:16 +0000 (18:28 +0000)]
Fixed typo in edje debian/control, thx to sur5r

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@40336 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoAdded libedje-bin to depends of libedje-dev.
quaker [Thu, 23 Apr 2009 17:07:28 +0000 (17:07 +0000)]
Added libedje-bin to depends of libedje-dev.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@40331 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agofix calc - do not reset calc_only flag! it wanst set by the calc_do!
raster [Thu, 23 Apr 2009 12:42:53 +0000 (12:42 +0000)]
fix calc - do not reset calc_only flag! it wanst set by the calc_do!

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@40326 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agomove to uses no []'s as it works for me, but for belem... inconsistent []'s
raster [Thu, 23 Apr 2009 00:32:53 +0000 (00:32 +0000)]
move to uses no []'s as it works for me, but for belem... inconsistent []'s
doesnt work.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@40300 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoUpdated debian stuff
quaker [Wed, 22 Apr 2009 17:33:22 +0000 (17:33 +0000)]
Updated debian stuff

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@40296 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoA little change to edje debian stuff changelog
quaker [Wed, 22 Apr 2009 16:38:11 +0000 (16:38 +0000)]
A little change to edje debian stuff changelog

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@40293 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoUpdated debian stuff for core EFL. Changed debian stuff of others to work with core...
quaker [Wed, 22 Apr 2009 16:37:17 +0000 (16:37 +0000)]
Updated debian stuff for core EFL. Changed debian stuff of others to work with core EFL updates.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@40292 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoand incriment to next rev.
raster [Wed, 22 Apr 2009 14:08:21 +0000 (14:08 +0000)]
and incriment to next rev.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@40285 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agosnapworth quality - distchecked. sonames bumped. rev's bumped. tarballs
raster [Wed, 22 Apr 2009 14:07:05 +0000 (14:07 +0000)]
snapworth quality - distchecked. sonames bumped. rev's bumped. tarballs
uploaded.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@40284 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoUpdated changelogs for packages which will go into repository.
quaker [Tue, 21 Apr 2009 17:39:20 +0000 (17:39 +0000)]
Updated changelogs for packages which will go into repository.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@40270 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years ago1. embryo shoudl have soname
raster [Tue, 21 Apr 2009 14:17:42 +0000 (14:17 +0000)]
1. embryo shoudl have soname
2. yes local.conf slipped in - ignore
3. added soname version release to module arch dirs
4. adapted extra-modules to use the revision in arch
5. made e17 also have a release rev
6. dummy release stuff in eet - wont use it as its already released.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@40267 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agofix distcheck on couple packages, problems with EXTRA_DIST
barbieri [Mon, 20 Apr 2009 13:38:49 +0000 (13:38 +0000)]
fix distcheck on couple packages, problems with EXTRA_DIST

Do NOT include dirs in EXTRA_DIST (embryo, eet, ecore, evas, edje,
efreet) as it will include .svn directories!

EXTRA_DIST does not take a glob as ETK did, use $(wildcard glob) to
expand it.

And do not forget about adding extra files to EXTRA_DIST (wizard) and
DIST_SUBDIRS (fileman_opinfo).

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@40247 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoMerged with pkgE
quaker [Sun, 19 Apr 2009 16:22:00 +0000 (16:22 +0000)]
Merged with pkgE

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@40226 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoPrepared for merge with pkgE debian stuff
quaker [Sun, 19 Apr 2009 16:18:41 +0000 (16:18 +0000)]
Prepared for merge with pkgE debian stuff

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@40225 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agolutin... release soname patch. verbose svn soname used right now
raster [Fri, 17 Apr 2009 10:01:45 +0000 (10:01 +0000)]
lutin... release soname patch. verbose svn soname used right now

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@40131 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoedje now handles escape/unescape automatically for textblock.
barbieri [Tue, 14 Apr 2009 23:53:25 +0000 (23:53 +0000)]
edje now handles escape/unescape automatically for textblock.

these two new calls will escape the unescaped text if required, will
unescape when get is called.

Also I fixed edje_object_part_text_get() on non-editable TEXTBLOCK,
now it will return the text with markup.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@40066 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoUpdated debian stuff(grew Standards-Version, updated python-ecore rules file)
quaker [Tue, 14 Apr 2009 17:21:19 +0000 (17:21 +0000)]
Updated debian stuff(grew Standards-Version, updated python-ecore rules file)

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@40043 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agotentative change... it seems in rare conditions some programs end up doubled
raster [Wed, 1 Apr 2009 09:11:48 +0000 (09:11 +0000)]
tentative change... it seems in rare conditions some programs end up doubled
and the stop prog doesnt clean out all instances - leaving 1 or more excess
instances to run. this should fix that.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@39827 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33