Commit Graph

68 Commits

Author SHA1 Message Date
Cedric BAIL 74fe3f6247 * edje: only link edje_convert with eina and eet.
SVN revision: 51051
2010-08-12 16:32:12 +00:00
Cedric BAIL 9ecc1354c6 * edje: new file format.
WARNING ! WARNING ! WARNING ! WARNING !
	Old file format is not readable by edje directly. If you have old edje
	file that you want to convert, use edje_convert. Their is no way back.

	Recompile your file as soon as possible. Please report any issue you
	spot as this is a huge and needed change.



SVN revision: 50936
2010-08-09 17:34:03 +00:00
Christopher Michael 5cf875426f Move Edje (and associated headers) to own dir.
SVN revision: 50146
2010-07-09 06:35:02 +00:00
Carsten Haitzler 89baaff057 and final post snap - next releasename
SVN revision: 49903
2010-06-27 14:06:10 +00:00
Carsten Haitzler 83b36be7a3 snap+release
SVN revision: 49899
2010-06-27 13:45:27 +00:00
Carsten Haitzler ef41fb2d94 Snapshot edje
SVN revision: 49894
2010-06-27 13:32:53 +00:00
Vincent Torri 29c8151341 missing "
SVN revision: 49862
2010-06-25 10:12:23 +00:00
Vincent Torri 75d6f4ce18 fix test
SVN revision: 49823
2010-06-23 18:19:10 +00:00
Vincent Torri c8caae0ae8 consider the case when lua has no .pc file
SVN revision: 49822
2010-06-23 18:17:14 +00:00
Cedric BAIL a1bfc834d5 * configure.ac: take inept translation a little bit into account.
SVN revision: 49743
2010-06-18 14:45:42 +00:00
Gustavo Sverzut Barbieri ddb8c95fa9 SVN_REPO_PATH envvar during autoconf to use svnversion in there.
Some systems, like the Gentoo, copy the svn contents somewhere before
doing the autoconf, this may result in lack of .svn and thus minor
version "0".

This patch introduces the $SVN_REPO_PATH to say where the svn checkout
containing the ".svn" directory is.



SVN revision: 49594
2010-06-09 18:22:47 +00:00
Carsten Haitzler 1520bad01b restore after snap/release
SVN revision: 49540
2010-06-06 17:43:03 +00:00
Carsten Haitzler 75de3ef6d1 Snapshot edje
SVN revision: 49535
2010-06-06 17:26:51 +00:00
Carsten Haitzler f0eee2d260 post-snap anr release.. reset svn back.. this time for real.
SVN revision: 49526
2010-06-06 17:17:52 +00:00
Carsten Haitzler a49bd60501 Snapshot edje
SVN revision: 49518
2010-06-06 16:42:44 +00:00
Carsten Haitzler 25ff64e960 post release - move relname to pre-svn again.
SVN revision: 49506
2010-06-06 16:23:16 +00:00
Carsten Haitzler 2f3fcc0ccd Snapshot edje
SVN revision: 49499
2010-06-06 16:08:10 +00:00
Carsten Haitzler a4769c42cb change svnversion shell goop to nuke sed and just use tr to delete
unwanted goop.



SVN revision: 49429
2010-06-04 01:04:24 +00:00
Iván Briano 6600f0c43f Let git-svn users get the right revision number to be used as version.
SVN revision: 49407
2010-06-03 07:40:54 +00:00
Carsten Haitzler f1e19253e6 nopw svn revision works again.
SVN revision: 49344
2010-05-31 03:12:45 +00:00
Carsten Haitzler 17dfab359b fix - if no svn tree, then it will pretend to be a release.
SVN revision: 49343
2010-05-31 01:59:22 +00:00
Carsten Haitzler 2136ee4451 edje -> version info
SVN revision: 49281
2010-05-29 08:05:11 +00:00
Michael Lauer dc4449c764 edje: be more precise about the Lua version we are expecting
SVN revision: 48676
2010-05-08 10:54:40 +00:00
Gustavo Sverzut Barbieri 2cdac2a9bd edje_player gets in.
I almost rewrote it to be cleaner and use more modern technologies
such as box and ecore_evas_object_associate.



SVN revision: 47343
2010-03-19 16:19:50 +00:00
Vincent Torri a50bb3acf8 m4 quoting
SVN revision: 46258
2010-02-17 19:50:19 +00:00
Cedric BAIL 44193541f7 * ecore: Move ecore_job inside ecore.
Patch from Albin "Lutin" Tonnerre <albin.tonnerre@gmail.com>.


SVN revision: 45570
2010-01-25 21:59:21 +00:00
Vincent Torri 9540d8ad79 binaries can be disabled
SVN revision: 45170
2010-01-15 06:10:00 +00:00
Vincent Torri 9294b588df edje: bump eet version
SVN revision: 44893
2010-01-04 20:49:22 +00:00
Gustavo Sverzut Barbieri 826ecfdccc check for PATH_MAX and define it if not available (ie: Hurd)
By: Albin Tonnerre (Lutin)



SVN revision: 44656
2009-12-22 13:55:15 +00:00
Vincent Torri bca91fb4c2 more portable way to get the sufix of a shared library name
SVN revision: 44573
2009-12-19 12:05:20 +00:00
Vincent Torri 7461405c76 improve configure output
SVN revision: 44362
2009-12-11 10:56:14 +00:00
Cedric BAIL b32c9a3eae * edje: Add Fixed Point Math support to Edje.
You can try it by passing --enable-fixed-point to the configure. It
	will produce an ABI/API compatible Edje library that use internally
	Eina_F32p32 instead of double. It will load Eina_F32p32 instead of
	double from eet file (thanks to eet ability to convert them on the
	fly), so edje file are compatible between fixed point and floating
	point version.

	This patch touch almost all internal calc of Edje, I did test it with
	elementary_test, enlightenment and all my test apps, but it could
	certainly break some of your preferred Edje file. If you see any
	unexpected behaviour please report them to me as soon as possible.

	Note: For devs, I put few macros in edje_private.h that should now
	be used when doing calc in Edje, please use them so that Fixed Point
	doesn't break in the futur.


SVN revision: 44323
2009-12-09 15:44:54 +00:00
Carsten Haitzler c15a501be8 baack to normal pre- release name now
SVN revision: 44146
2009-12-02 22:50:36 +00:00
Carsten Haitzler fce5dfd209 quick make svnrev that has right release names
SVN revision: 44140
2009-12-02 22:19:53 +00:00
Carsten Haitzler e62d6e6dd2 and back to a pre-svn sonme after snap
SVN revision: 44118
2009-12-02 08:07:38 +00:00
Carsten Haitzler 566f8b2656 aaah bah - move to 05 not 04
SVN revision: 44116
2009-12-02 07:40:59 +00:00
Carsten Haitzler 799b9b0fac asparagus - finally
SVN revision: 44113
2009-12-02 07:22:35 +00:00
Gustavo Sverzut Barbieri d40d8d123d edje external support, part 1.
Patch by Fabiano Fidêncio <fidencio@profusion.mobi>



SVN revision: 43927
2009-11-23 15:03:19 +00:00
Vincent Torri a6210fef9a allow the amalgation stuff in edje
SVN revision: 43429
2009-11-03 09:27:59 +00:00
Vincent Torri 2212cd97af * 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



SVN revision: 42910
2009-10-06 16:55:45 +00:00
Vincent Torri 4821f141a7 * 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) 


SVN revision: 42861
2009-10-02 17:21:36 +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
Cedric BAIL 56674aeb99 * edje: Make EDJE_CALC_CACHE on by default.
SVN revision: 41772
2009-08-14 17:20:27 +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 0f752e491c * edje: Group configure block together.
SVN revision: 41653
2009-08-10 11:15:38 +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 9394f73104 back to svn soname
SVN revision: 41042
2009-06-15 06:29:43 +00:00
Carsten Haitzler e81db0f5a3 make distcheck and... SNAP!
SVN revision: 41039
2009-06-15 05:32:49 +00:00
Vincent Torri 4d4477a8a3 underquoted parameters
SVN revision: 40661
2009-05-15 08:35:18 +00:00