framework/uifw/edje.git
14 years agofix evas_object_event_callback_del_full()
watchwolf [Mon, 26 Oct 2009 09:29:55 +0000 (09:29 +0000)]
fix evas_object_event_callback_del_full()

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

14 years agoprovide fast-path for re-swallow
raster [Mon, 26 Oct 2009 08:26:10 +0000 (08:26 +0000)]
provide fast-path for re-swallow

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

14 years agochange to del fulls just to be consistent
raster [Mon, 26 Oct 2009 07:28:51 +0000 (07:28 +0000)]
change to del fulls just to be consistent

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

14 years agowarning--
caro [Sun, 25 Oct 2009 12:17:05 +0000 (12:17 +0000)]
warning--

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

14 years ago * fix some warnings
caro [Sun, 25 Oct 2009 11:40:06 +0000 (11:40 +0000)]
 * fix some warnings
 * move variable declarations at the top of the bloc

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

14 years agounused parameters --
caro [Sun, 25 Oct 2009 11:24:55 +0000 (11:24 +0000)]
unused parameters --

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

14 years ago * include config.h in all source files
caro [Sun, 25 Oct 2009 11:19:12 +0000 (11:19 +0000)]
 * include config.h in all source files
 * declare alloca before the standard headers
 * include Evil.h for the declaration of realpath in edje_cc_prefix.c

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

14 years agoAdd function to copy a part description. Helps to get templates going
sachiel [Wed, 21 Oct 2009 06:19:02 +0000 (06:19 +0000)]
Add function to copy a part description. Helps to get templates going

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

14 years agolink to right header file in docs
raster [Wed, 14 Oct 2009 03:29:20 +0000 (03:29 +0000)]
link to right header file in docs

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

14 years agoadd declaration of alloca
caro [Tue, 13 Oct 2009 16:54:30 +0000 (16:54 +0000)]
add declaration of alloca

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

14 years ago * edje: Support back empty file.
cedric [Fri, 9 Oct 2009 08:51:03 +0000 (08:51 +0000)]
* edje: Support back empty file.

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

14 years agoadd logging in edje_main.c only for now. Could be extended
caro [Fri, 9 Oct 2009 05:41:05 +0000 (05:41 +0000)]
add logging in edje_main.c only for now. Could be extended
to other files later.

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

14 years agorename _edje_edd_setup() and _edje_edd_free() to respectively
caro [Fri, 9 Oct 2009 05:17:19 +0000 (05:17 +0000)]
rename _edje_edd_setup() and _edje_edd_free() to respectively
_edje_edd_init() and _edje_edd_shutdown() to follow standard
naming convention

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

14 years agoCheck if one of the dependencies fails in edje_init()
caro [Thu, 8 Oct 2009 21:58:32 +0000 (21:58 +0000)]
Check if one of the dependencies fails in edje_init()

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

14 years agofix tmp dir on Windows
caro [Thu, 8 Oct 2009 21:45:55 +0000 (21:45 +0000)]
fix tmp dir on Windows

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

14 years ago * simplify a bit edje_init() and edje_shutdown() a bit
caro [Thu, 8 Oct 2009 07:05:19 +0000 (07:05 +0000)]
 * simplify a bit edje_init() and edje_shutdown() a bit
 * change behavior of edje_shutdown() to make it more standard
 * move eet_shutdown()

the order still seems strange. I don't know if i can freely move
the init/shutdown functions

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

14 years agoand delete size change hints cb if unswallowed
raster [Thu, 8 Oct 2009 03:49:51 +0000 (03:49 +0000)]
and delete size change hints cb if unswallowed

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

14 years agoif a swallowed object shanges size hints.. re-fetch and calc!
raster [Thu, 8 Oct 2009 03:44:53 +0000 (03:44 +0000)]
if a swallowed object shanges size hints.. re-fetch and calc!

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

14 years ago * edje: Oops. Correct fix.
cedric [Wed, 7 Oct 2009 12:40:28 +0000 (12:40 +0000)]
* edje: Oops. Correct fix.

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

14 years ago * edje: Help windows users to be happy.
cedric [Wed, 7 Oct 2009 11:50:58 +0000 (11:50 +0000)]
* edje: Help windows users to be happy.

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

14 years ago * edje: Another round of llvm warning removal.
cedric [Wed, 7 Oct 2009 11:36:23 +0000 (11:36 +0000)]
* edje: Another round of llvm warning removal.

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

14 years ago * edje: Remove some potential bug detected by llvm and gcc.
cedric [Wed, 7 Oct 2009 10:55:48 +0000 (10:55 +0000)]
* edje: Remove some potential bug detected by llvm and gcc.

See: http://local.profusion.mobi:8081/~lfelipe/output-efl/

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

14 years agoa new vimball with updated syntax highlighting and omni-completion
urandom [Wed, 7 Oct 2009 08:24:17 +0000 (08:24 +0000)]
a new vimball with updated syntax highlighting and omni-completion

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

14 years ago * more quoting
caro [Tue, 6 Oct 2009 16:55:45 +0000 (16:55 +0000)]
 * more quoting
 * add silent rules (shave feature)
   see the description of AM_SILENT_RULES in:
   http://www.gnu.org/software/automake/manual/automake.html#Public-Macros

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

14 years ago * use Requires.private field in edje.pc if pkg-config 0.22 or later is installed...
caro [Fri, 2 Oct 2009 17:21:36 +0000 (17:21 +0000)]
 * use Requires.private field in edje.pc if pkg-config 0.22 or later is installed. We list in it the required packages needed to compile edje.
 * remove uneeded flags that are in Libs.private (those from the packages that are listed in Requires.private)

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

14 years agoFix documentation
caro [Tue, 29 Sep 2009 06:13:33 +0000 (06:13 +0000)]
Fix documentation

 * update Doxyfile file
 * fix end of groups
 * fix some warnings
 * fix link in head.html for Edje API ref

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

14 years agoedje_{,object}_color_class_get() and signals when color_classes are changed.
barbieri [Mon, 28 Sep 2009 17:23:02 +0000 (17:23 +0000)]
edje_{,object}_color_class_get() and signals when color_classes are changed.

Enable applications to retrieve current color class values as well as
emit edje signals when they are deleted or changed.

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

14 years agoedje docs now follow template
raster [Mon, 28 Sep 2009 09:25:35 +0000 (09:25 +0000)]
edje docs now follow template

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

14 years agoImprove documentation for Evas, Ecore, Edje and Elementary.
sachiel [Thu, 17 Sep 2009 22:38:35 +0000 (22:38 +0000)]
Improve documentation for Evas, Ecore, Edje and Elementary.

Work by:
 - Thiago R. Masaki (mostly)
 - Fabiano Fidencio
 - Gustavo Lima

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

14 years agoMove some defines to enum and expose them.
sachiel [Wed, 16 Sep 2009 03:37:28 +0000 (03:37 +0000)]
Move some defines to enum and expose them.
Move to Eina_Bool.
Return success for rename of group and part to the same name.

Patch by Tiago Rezende Campos Falcão

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

14 years agoalso remove text class members on object deletion
jeffdameth [Fri, 11 Sep 2009 00:48:57 +0000 (00:48 +0000)]
also remove text class members on object deletion

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

14 years agoFormatting.
devilhorns [Wed, 2 Sep 2009 15:48:34 +0000 (15:48 +0000)]
Formatting.

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

14 years agoremove excessive backspace
raster [Wed, 2 Sep 2009 12:49:09 +0000 (12:49 +0000)]
remove excessive backspace

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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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