Commit Graph

524 Commits

Author SHA1 Message Date
Iván Briano 953835bad8 Add 'api' keyword to parts and programs.
Not used yet, stay tuned.

Patch by Thiago Masaki


SVN revision: 44912
2010-01-05 19:26:18 +00:00
Cedric BAIL 31fca0780a * edje_cc: Fix edje_cc running without parameter.
SVN revision: 44756
2009-12-29 15:01:24 +00:00
Gustavo Sverzut Barbieri a85cc11943 better error reporting for edje_cc.
Instead of saying lots of possibilities that confuse users, check the
correct one and possibly give a hint.



SVN revision: 44669
2009-12-22 23:56:11 +00:00
Cedric BAIL 018a9dad66 * edje: Use Eina_Log.
Patch from Mathieu Taillefumier.


SVN revision: 44655
2009-12-22 13:46:00 +00:00
Gustavo Sverzut Barbieri ffdd35a843 add docs for image 'USER', that I didn't know about.
SVN revision: 44540
2009-12-18 12:34:07 +00:00
Carsten Haitzler 5b9e0b0ead fix return checks. broke compile!
SVN revision: 44523
2009-12-17 11:58:15 +00:00
Vincent Torri c7c66a652a add Sun Studio support when parsing edc files. Technically,
it means that e17 can run on OpenSolaris using Sun Studio
or gcc. It actually runs if temperature and battery modules
are disabled as they don't compile yet.

Also, the problem on Mac OS X problem with C++ comments
can be fixed (I think). See FIXME in that patch



SVN revision: 44519
2009-12-17 00:50:43 +00:00
Cedric BAIL 0209236d41 * edje_cc: Generate valid edje file when fixed point is enable.
SVN revision: 44332
2009-12-10 13:19:54 +00:00
Carsten Haitzler 4d42a6d2db warnings--
SVN revision: 44306
2009-12-09 05:46:02 +00:00
Carsten Haitzler 3ec78b10c3 edje_cc -> add % modulo to math eval and floor() and ceil()
SVN revision: 44301
2009-12-09 04:30:45 +00:00
Gustavo Sverzut Barbieri 6ab03e1d93 edje_decc: option to output to current directory.
SVN revision: 44133
2009-12-02 21:06:11 +00:00
Gustavo Sverzut Barbieri 6396f3fb00 edje_decc: -no-build-sh
Don't output build.sh



SVN revision: 44132
2009-12-02 21:00:57 +00:00
Iván Briano 9892926bdf Autoload modules for external widgets
Patch by Fabiano Fidencio


SVN revision: 43951
2009-11-24 17:55:11 +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
Iván Briano 22952844c4 and bring external back now that the file was added
SVN revision: 43306
2009-10-27 01:08:19 +00:00
Carsten Haitzler d3fd0c30cb REVERT! broke edje.
try again and dont forget to add edje_external.c! (and any others needing
adding)



SVN revision: 43304
2009-10-27 00:27:50 +00:00
Iván Briano 68756f92b2 External objects support by Brian 'rephorm' Mattern
Since we are on a freeze, the patch goes on updated to current svn, but without changing its API. After the freeze some things will be added, and some will change :)


SVN revision: 43302
2009-10-26 21:33:56 +00:00
Vincent Torri 10b4ebc4d4 * fix some warnings
* move variable declarations at the top of the bloc

SVN revision: 43265
2009-10-25 11:40:06 +00:00
Vincent Torri d3f076e73a unused parameters --
SVN revision: 43264
2009-10-25 11:24:55 +00:00
Vincent Torri 3c48d7e6d0 * 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

SVN revision: 43263
2009-10-25 11:19:12 +00:00
Cedric BAIL fd65247e8e * edje: Support back empty file.
SVN revision: 42981
2009-10-09 08:51:03 +00:00
Cedric BAIL c6267c9fb9 * edje: Oops. Correct fix.
SVN revision: 42937
2009-10-07 12:40:28 +00:00
Cedric BAIL 8ea901a753 * edje: Remove some potential bug detected by llvm and gcc.
See: http://local.profusion.mobi:8081/~lfelipe/output-efl/


SVN revision: 42930
2009-10-07 10:55:48 +00:00
Vincent Torri e4bea597c7 Fix documentation
* update Doxyfile file
 * fix end of groups
 * fix some warnings
 * fix link in head.html for Edje API ref


SVN revision: 42794
2009-09-29 06:13:33 +00:00
Vincent Torri d3d9560eb1 remove debug
SVN revision: 42086
2009-08-29 08:42:44 +00:00
Vincent Torri 1029babb26 remove debug
SVN revision: 42057
2009-08-28 05:49:40 +00:00
Vincent Torri 2a8d44f5a0 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


SVN revision: 41978
2009-08-25 17:25:23 +00:00
Cedric BAIL 6c7f8ce84c * edje: Remove warning, mainly due to lua merge.
SVN revision: 41838
2009-08-17 11:32:56 +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 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
Gustavo Sverzut Barbieri 1d9af7284e typo--
SVN revision: 40999
2009-06-10 17:54:40 +00:00
Carsten Haitzler e6de097425 allow scale_hint to be added to items in edje
SVN revision: 40537
2009-05-07 13:30:18 +00:00
Carsten Haitzler 2afadb527b working on edje entry to allow more selection controls. not 100% done yet.
SVN revision: 39578
2009-03-19 13:36:10 +00:00
Viktor Kojouharov 0a544a09d3 'box.min' for the edje box
SVN revision: 39298
2009-02-28 19:38:35 +00:00
Cedric BAIL 6ab6dbca0d * edje: Remove snprintf("%i") for an eina itoa.
NOTE: When you just want to convert from an int to a string,
	better use eina for that.



SVN revision: 39213
2009-02-25 17:08:17 +00:00
Vincent Torri 052e867c7b missing header + move fcntl.h after sys/stat.h
SVN revision: 39093
2009-02-19 10:29:03 +00:00
Vincent Torri 1cd236068b * force open to allow read and write permission of the user
when creating or reading edj files


SVN revision: 39092
2009-02-19 10:13:28 +00:00
Carsten Haitzler c1af94ee4c in theory.. support middle solid/default/none changes in evas
SVN revision: 39001
2009-02-12 13:39:15 +00:00
Vincent Torri 812f1e185f add alloca declaration
SVN revision: 38977
2009-02-09 06:33:26 +00:00
Carsten Haitzler 5974b5a1fc fix prefix env vars to use edje_
SVN revision: 38448
2009-01-04 11:05:27 +00:00
Iván Briano 7f3dfc66f2 And finally, edje table goes in
SVN revision: 38204
2008-12-18 02:43:20 +00:00
Cedric BAIL e33474c92f Move to eina_hash. Nothing should break, but if you experience any unexpected behaviour
please ping me on #edevelop.



SVN revision: 38183
2008-12-17 14:26:47 +00:00
Carsten Haitzler 28c433974a olof patch - fix typo for password
SVN revision: 38034
2008-12-08 23:47:04 +00:00
Gustavo Sverzut Barbieri 2f8f874b20 Shut up a bunch of warnings and fix some real errors.
SVN revision: 37954
2008-12-06 03:08:17 +00:00
Carsten Haitzler 266594739f re-index aliases on override of part name too.
SVN revision: 37805
2008-11-25 23:18:04 +00:00
Iván Briano 0ee4d07727 Edje Box in. Have fun with it.
SVN revision: 37783
2008-11-24 05:15:15 +00:00
Viktor Kojouharov 3489be1dda typo--
SVN revision: 37517
2008-11-05 21:36:23 +00:00
Carsten Haitzler 60b4dab196 formatting.
SVN revision: 37425
2008-11-02 22:51:24 +00:00
Davide Andreoli 9c5fbd43a0 move 2 textblock functions out of the dragable doxy category
SVN revision: 37357
2008-10-31 15:13:50 +00:00
Vincent Torri f270fdb629 arg, missing config.h and too many EXTRA_DIST
SVN revision: 37160
2008-10-26 17:23:54 +00:00
Vincent Torri 9ba3147a09 * remove edje_main.h - useless now
* forget locale.h in edje_edit


SVN revision: 37159
2008-10-26 17:21:11 +00:00
Vincent Torri 0d8b00fdeb * move standard header files to source files
* remove gendoc


SVN revision: 37158
2008-10-26 17:18:19 +00:00
Vincent Torri 9d71cc15c7 autotools cleanups
* configure.ac re-organisation
 * don't compile edje binaries on windows ce
 * add doc rule to build documentation (hence gendo is removed,
   Doxyfile is moved to doc/ and edje.c.in is renamed doc/edje.dox.in)
   Next commit will fix completely the documentation
 * fix edje.pc.in


SVN revision: 37137
2008-10-26 11:55:57 +00:00
Carsten Haitzler f4b0bbe7b8 fix doc.
SVN revision: 37038
2008-10-24 00:43:24 +00:00
Carsten Haitzler 48f89d316a support repch - replacement char for passowrd mode. theme defines it now.
SVN revision: 37013
2008-10-23 05:38:06 +00:00
Cedric BAIL fa66dbf40a Remove Evas list from Edje and use Eina instead.
SVN revision: 36961
2008-10-22 11:34:42 +00:00
Carsten Haitzler 7428272b25 and support anchors now. fix up other nigglies. very solid now.
SVN revision: 36741
2008-10-17 06:40:46 +00:00
Andres Blanc 16fac846a9 edcref: a note about group overriding using names.
SVN revision: 36736
2008-10-17 01:05:02 +00:00
Andres Blanc 3d34d2782e small correction of the edc reference. (I really need to ad some sort of
index to this).


SVN revision: 36735
2008-10-17 00:41:14 +00:00
Cedric BAIL b489e1936b Switch evas_stringshare to eina_stringshare.
SVN revision: 36672
2008-10-15 14:11:11 +00:00
Cedric BAIL ab60bdaf87 Make edje depend on eina. No change in the code yet, so just fix your build system and no bug must show up.
SVN revision: 36623
2008-10-13 15:59:37 +00:00
Carsten Haitzler ce0d40cae7 editable textblocks... a start (definitely not there yet)
SVN revision: 36611
2008-10-13 09:19:04 +00:00
Davide Andreoli 270e803fb6 * More work on edc export... quite finished now :)
* Add gradient angle support to edje_edit
 * Some small doxy 

SVN revision: 36500
2008-10-07 14:11:11 +00:00
Davide Andreoli 57e19854bf * When you use \'confine\' on a draggie you must set a min size for the part!!
I have lost some time spotting this

SVN revision: 36388
2008-10-01 22:23:36 +00:00
Carsten Haitzler 96ad3331d8 allow groups if declared later to override (Replace) their prior declarations.
this basically allows u to #include some .edc then selectively override some
things in it u want changed.



SVN revision: 36204
2008-09-24 08:16:42 +00:00
Davide Andreoli 0a6fd34e84 * add doxy for programs in EDCREF
SVN revision: 36191
2008-09-23 19:25:01 +00:00
Carsten Haitzler 23e2c9e035 support an edje scaling factor. parts can selectively say "yes.. scale me!"
:)... this allows e etc. to adapt to massivelyt different dpi screens with
slickness that even svg can't get to... why? you scale just what NEEDS
scaling (text, button sizes, and other limiting elements). other bits like
borders, padding etc. can remain pixel-perfect and thus the look is amazing.
pixel-perfect drawing with scalable adapting.



SVN revision: 35895
2008-09-09 14:13:34 +00:00
Caio Marcelo de Oliveira Filho 0d378996c8 edje_cc_out.c: Create an error_and_abort() function and use it.
SVN revision: 35596
2008-08-21 03:58:11 +00:00
Caio Marcelo de Oliveira Filho 5d229801fd edje_cc_out.c: Splitting data_write_scripts() in smaller pieces.
Now we have one function for creating the script file and another for
compiling it.  Also tried to avoid lots of nesting by checking for
error conditions early and returning (or aborting).  Avoided messing
with the code logic.

SVN revision: 35595
2008-08-21 03:57:56 +00:00
Caio Marcelo de Oliveira Filho e2d17e6ddf edje_cc_out.c: Removing unused function declaration and definition.
SVN revision: 35594
2008-08-21 03:57:39 +00:00
Caio Marcelo de Oliveira Filho f2a0a0f216 edje_cc_out.c: Split data_write() in a bunch of smaller functions.
Just moved the code pieces from data_write(), which was huge, to
static functions.  Also made minor cleanups, initializing variables
during declaration.

SVN revision: 35593
2008-08-21 03:57:20 +00:00
Carsten Haitzler fd5ae24875 and compression was off four edje_sources in .dj files. back on!
SVN revision: 35547
2008-08-18 15:09:27 +00:00
Davide Andreoli c2f8f05b7b fix typo in doxy
SVN revision: 34996
2008-07-02 20:13:31 +00:00
doursse 074765d3aa open files in binary mode, to fix problems on Windows. Fix a constness
SVN revision: 34931
2008-06-28 09:11:48 +00:00
Sebastian Dransfeld 4a54010498 Remove unused variable.
SVN revision: 34867
2008-06-19 12:47:04 +00:00
doursse c5623c01b3 reorganize header files inclusion. Fix some problems when compiling on Windows
SVN revision: 34768
2008-06-07 10:06:14 +00:00
doursse e02cf13308 ecore-evas is needed only for the binaries
SVN revision: 34764
2008-06-07 08:03:52 +00:00
doursse 0cdcab6a5c forget to remove 2 calls
SVN revision: 34762
2008-06-06 18:52:19 +00:00
doursse 82fee3d58c evilize edje. Link against ecore_file only when needed. PATH_MAX and not MAX_PATH. Minor other fixes.
SVN revision: 34761
2008-06-06 18:31:49 +00:00
doursse 653692fa28 fix autotools stuff for Windows
SVN revision: 34712
2008-05-31 06:15:41 +00:00
Carsten Haitzler 43821d36e4 * add efreet garbage data check
* remove printfs that clutter output
* add efreet file type check - only parse regular files
* chekc mmap returns correctly for MAP_FAILED results
* edje has some stubs for adding script-only objecvts - but nothing useful
right now


SVN revision: 34689
2008-05-29 02:00:04 +00:00
Carsten Haitzler 661971e309 remove old pc.in
SVN revision: 34262
2008-04-13 12:39:14 +00:00
Carsten Haitzler 0afa61a56a santiago's embryo swallow patchs.
SVN revision: 34249
2008-04-11 23:36:35 +00:00
Caio Marcelo de Oliveira Filho ea56c61eba Edje: adding support for ignore_flags.
Parts can choose to ignore Events with certain flags in event_flags. The default value is
to accept all events. The syntax for this is specifying in the part:

    ignore_flags: ON_HOLD;

I've tried to update Edje_Edit bits also.


SVN revision: 34170
2008-04-01 21:33:17 +00:00
Caio Marcelo de Oliveira Filho a43c7ca786 Edje: missing va_ends.
SVN revision: 34169
2008-04-01 21:30:54 +00:00
Caio Marcelo de Oliveira Filho 20df0987d1 Edje: support for parsing flag-style values (and combinantions of them) in edje_cc.
For example:

    field: FLAG_A FLAG_B FLAG_C;   // at least one flag is needed

And we can assign a bit for each FLAG_*, the result would be the OR between all of them.
Refactored a bit of parse_enum to re-use code there.


SVN revision: 34168
2008-04-01 21:28:28 +00:00
Andres Blanc e515418737 included missing parts of the reference
SVN revision: 34145
2008-03-29 16:13:57 +00:00
doursse 8e386e3f73 remove trailing spaces
SVN revision: 34101
2008-03-24 08:22:01 +00:00
doursse ede49fdfb0 include correctly alloca.h and use ecore_file_mkpath instead of the local implementation
SVN revision: 34100
2008-03-24 08:09:06 +00:00
Andres Blanc a7f4024a29 I wasted quite some time thanks for ignoring this detail.
SVN revision: 34029
2008-03-15 00:51:45 +00:00
Carsten Haitzler f08234a968 improve build includes.
SVN revision: 33997
2008-03-12 16:32:35 +00:00
Carsten Haitzler 68a7734f67 disable compression for now on sources - this breaks edje_decc.
we need to resolve the bug where u can't read compressed sources anymore... :/


SVN revision: 33895
2008-03-02 05:39:51 +00:00
Carsten Haitzler e076a78519 cedric's eet and edje patches to use eet dictionaries for strings.
SVN revision: 33873
2008-03-01 06:38:09 +00:00
Carsten Haitzler 033737bdd9 edje data file patches in - not fill though.
SVN revision: 33543
2008-01-21 01:03:04 +00:00
doursse 33d11c8035 fix typo in symlink (win32)
SVN revision: 33469
2008-01-13 09:09:42 +00:00
Carsten Haitzler 0ceaf246a2 terminate strings properly?
SVN revision: 32900
2007-11-27 10:50:35 +00:00
doursse 5b257881d7 update win32 port : use correct temp dir value and correct open function according to the compiler
SVN revision: 32882
2007-11-25 16:22:58 +00:00
Sebastian Dransfeld bc6caea1f9 Edje reference patch two (from dresb)
SVN revision: 32849
2007-11-23 16:43:03 +00:00
Sebastian Dransfeld a71e255ede Edje reference patch one (from dresb)
SVN revision: 32848
2007-11-23 16:40:38 +00:00
doursse f936cbea25 * add mail in AC_INIT
* remove Makefile.in when cleaning
 * INCLUDES -> AM_CPPFLAGS
 * minor cleaning


SVN revision: 32342
2007-11-04 09:53:29 +00:00
doursse d6dd187899 configure improvements:
* add libtool versioning from the package version (from raster's
   management of package version)
 * replace AM_PROG_LIBTOOL(deprecated) by AC_PROG_LIBTOOL
 * remove AM_ENABLE_SHARED as shared lib is built by default
 * add AC_LIBTOOL_WIN32_DLL for libraries ported to Windows (tm)
 * remove the libtool checks of c++ and fortran compilers
 * remove PACKAGE_*_DIR from configure.in and define them in
   Makefile.am as bindir and al. are expanded in them.

please report any problem that these changes can add


SVN revision: 31999
2007-10-07 08:02:53 +00:00
Gustavo Sverzut Barbieri 89472b5bfc Fix edje_cc/edje_decc linkage in --as-needed mode
Requested by Pavlov Konstantin.


SVN revision: 31826
2007-09-26 18:22:34 +00:00
Sebastian Dransfeld 5b85440817 Don't segfault on empty file.
SVN revision: 31721
2007-09-15 08:46:34 +00:00
doursse 266887d1e5 implement a symlink function for Windows
SVN revision: 31658
2007-09-08 18:36:22 +00:00
doursse 97645159f8 Ecore_X and Ecore_Fb are not used
SVN revision: 31554
2007-08-27 11:52:04 +00:00
doursse 31618541b7 _O_BINARY exists only on windows
SVN revision: 31553
2007-08-27 11:28:30 +00:00
doursse 8a6ac30215 fix edje_cc on windows, remove some trailing spaces
SVN revision: 31549
2007-08-27 09:32:17 +00:00
doursse acdefc2be4 revert that change
SVN revision: 31519
2007-08-26 12:59:24 +00:00
doursse 2e7692e45e make edje binaries compile and allow the creation of the edje shared lib on windows. Remove some trailing spaces
SVN revision: 31517
2007-08-26 12:54:51 +00:00
Carsten Haitzler 07032e8edf handle USER images properly
SVN revision: 31253
2007-08-12 02:48:13 +00:00
Gustavo Sverzut Barbieri eda1f13b33 Support for selectable pointer_mode.
Evas now support objects that do not grab mouse down event (NOGRAB) aside
with the default (AUTOGRAB). API is meant to be extensible.


SVN revision: 30950
2007-07-24 14:20:07 +00:00
Carsten Haitzler d6f9cc797e adrunko's precise event patch
SVN revision: 30939
2007-07-23 14:22:57 +00:00
Carsten Haitzler 902b6c40bb formattign and allocs...
SVN revision: 30925
2007-07-21 05:06:39 +00:00
Gustavo Sverzut Barbieri 233ecdf481 Fix escaping by remembering state, allows "\\" to be used as text.
Thanks to rephorm for hints, dj2 and mekius for review.


SVN revision: 30769
2007-07-11 20:47:28 +00:00
Gustavo Sverzut Barbieri 0e45d25776 Avoid doing math inside strings (quoted text), so I'm now enable to have part.description.text.text starting with "(".
Patch originally by rephorm.
Tested and minor changes by barbieri.


SVN revision: 30768
2007-07-11 15:33:03 +00:00
Peter Wehrfritz 4a9f47a386 sorry I forgot to commit this part of the patch
SVN revision: 30635
2007-07-07 11:07:42 +00:00
rephorm 982ad090be add cedric bail's fill.type patch.
you can now include "type: TILE;" in the fill block to tile an image part at the size of its image data


SVN revision: 30624
2007-07-06 22:36:40 +00:00
Carsten Haitzler 0d99270bc9 less stack for the parser - scratchbox hates the big stack usage :)
SVN revision: 30364
2007-06-17 06:51:42 +00:00
rephorm d4a055585b Add GROUP Parts to edje.
These can be used to automatically swallow in another group from the same file.

Parts within child groups can be referred to by a ':' separated 'full path' of
part names. Any API functions that take a part name will now accept a full path
also.

Signals emitted by child objects will be repeated up to the parents with the
source changed to be the path relative to the receiving object.  E.g in the
example below, a mouse moving over the lower light green rectangle would result
in the parent object recieving a "mouse,move" signal with source "bot:inner".

**** NEW RESTRICTION ****  part names should no longer include a ':' character.
This is not yet enforced by edje_cc, but will cause the part to be inaccessible
from the API.

Example EDC:

collections {
  group {
    name: "parent";
    parts {
      part {
        name: "top";
        type: GROUP;
        source: "child";
        description {
          state: "default" 0.0;
          rel2.relative: 1 0.5;
        }
      }
      part {
        name: "bot";
        type: GROUP;
        source: "child";
        description {
          state: "default" 0.0;
          rel1.relative: 0 0.5;
        }
      }
    }
  }
  group {
    name: "child";
    parts {
      part {
        name: "base";
        type: RECT;
        description {
          state: "default" 0.0;
          color: 160 208 8 255;
        }
      }
      part {
        name: "inner";
        type: RECT;
        description {
          state: "default" 0.0;
          rel1.offset: 10 10;
          rel2.offset: -11 -11;
          color: 210 228 76 255;
        }
      }
    }
  }
}


SVN revision: 30087
2007-05-27 05:28:07 +00:00
tilman c38e060fb2 hooked up the 'alternate font metrics stuff' in edje_cc.
SVN revision: 29280
2007-03-31 10:53:22 +00:00
tilman 731a6622f9 fixed some const char*/char* confusion.
SVN revision: 29279
2007-03-31 10:33:24 +00:00
tilman e0ed9aef1a use pkg-config to detect ecore
SVN revision: 28854
2007-03-21 15:36:26 +00:00
tilman d39dbeefa2 switched edje over to pkg-config. almost. ecore is still detected by ecore-config, cause that one's gonna be pain.
SVN revision: 28842
2007-03-21 02:52:41 +00:00
Carsten Haitzler e10fb8599e solve the edje_decc file thing
SVN revision: 28525
2007-03-02 07:24:32 +00:00
Carsten Haitzler 1cfed3e3c0 and actually allow "USER" images (ie don't encode them into the .edj - use an
external path to them)


SVN revision: 27156
2006-11-17 14:47:30 +00:00
Carsten Haitzler 935c00fdb1 remove even more
SVN revision: 26833
2006-10-28 09:28:10 +00:00
Carsten Haitzler f25731b240 remove...
SVN revision: 26832
2006-10-28 09:22:49 +00:00
Carsten Haitzler 9e61a142a6 removing...
SVN revision: 26831
2006-10-28 09:19:56 +00:00
rephorm 980a64d58a add group aliases.
use as follows:

group {
  name: "primary_name";
  alias: "another_name";
  alias: "one_more_name";
}

then you can refer to the group by any of these names.


SVN revision: 26546
2006-10-12 05:35:14 +00:00
Carsten Haitzler 54184c2c37 add max text size for text objects - object wont get bigger than its text
contents. useful for some things.


SVN revision: 26439
2006-10-09 06:01:13 +00:00
Carsten Haitzler 8c93e825a8 same as previous commit.
SVN revision: 26236
2006-09-30 10:18:37 +00:00
rephorm 82a42879bb allow rel1.relative: 0 0; notation
set defaults


SVN revision: 24976
2006-08-21 03:14:09 +00:00
rephorm 46b3c5f1a0 add linear gradient specific fill options
used (inside a part description) as follows:

Horizontal from left to right filling entire part:

  gradient {
    spectrum: "black_to_white";
    rel1 {
      relative: 0 0.5;
      offset: 0 0;
    }
    rel2 {
      relative: 1 0.5;
      offset: -1 0;
    }
  }

Diagonal from top left to bottom right:


  gradient {
    spectrum: "black_to_white";
    rel1 {
      relative: 0 0;
      offset: 0 0;
    }
    rel2 {
      relative: 1 1;
      offset: -1 -1;
    }
  }

If either rel1 or rel2 is present in the gradient block of a linear gradient, these will override any angle/origin/size specified in the fill block ('spread' is still honored).


SVN revision: 24975
2006-08-21 03:00:01 +00:00
Carsten Haitzler fb4772a769 fix escape handling in quotes! :)
SVN revision: 24641
2006-08-13 10:37:04 +00:00
sebastid 57a4117e2d Remove unused variable.
SVN revision: 24598
2006-08-12 14:40:59 +00:00
sebastid 6163e51220 Fix warnings
SVN revision: 24415
2006-08-06 01:45:45 +00:00
sebastid 5dc6a1479f filename is const
SVN revision: 24414
2006-08-06 01:35:56 +00:00
rephorm 6f000216b2 don't check spectra if we don't have any... (fix segv)
SVN revision: 24392
2006-08-04 18:40:31 +00:00
rephorm bcd6f83784 add some validation to spectra
SVN revision: 24385
2006-08-04 08:55:05 +00:00
rephorm 8cda88c2e6 Add initial support for edje gradients. See data/src/gradient.edc for an example.
SVN revision: 24361
2006-08-02 10:52:44 +00:00
Carsten Haitzler 49bd390565 some prefix fixes for env vars
SVN revision: 24104
2006-07-21 15:55:54 +00:00
Carsten Haitzler 30cad4260b fix bin/lib prefix - pass as -D
SVN revision: 23874
2006-07-13 16:35:46 +00:00
Carsten Haitzler a06238ce46 edje prefix fixes - oops - was broken
build fixes for exec prefix settings


SVN revision: 23845
2006-07-11 09:43:26 +00:00
Carsten Haitzler f41aec9158 edje is now also prefix aware.
SVN revision: 23821
2006-07-10 18:55:23 +00:00
Carsten Haitzler 0f757ee21a edje_decc works properly with default theme (as long as u rememeber to pass
-DE17_PROFILE=SLOW_PC" so #defines get fixed


SVN revision: 22847
2006-05-23 03:23:31 +00:00
Christopher Michael 44e09d9e74 Fix typo spotted by odium :)
SVN revision: 21189
2006-03-11 15:34:46 +00:00
tsauerbeck 9f701ace3f support empty includes
SVN revision: 20438
2006-02-13 18:20:26 +00:00
rephorm adb75e5097 Require that groups have a name.
SVN revision: 20094
2006-01-29 06:05:16 +00:00
Carsten Haitzler 1f5e929fd1 handle more returns with more info
SVN revision: 19987
2006-01-23 15:13:44 +00:00
Christopher Michael 50d3d7649f Fix typo
SVN revision: 19901
2006-01-19 12:12:46 +00:00
rephorm 0b56671b3e color class blocks in edje.
this allows you to specify the default color for any parts using color_classes in a given file.

this color will be overridden by edje_color_class_set()
which will in turn be overridden by edje_object_color_class_set()

note. if you specify a color (color: ...) in a part description that also has a color_class, the cc will be multiplied against the color -- generally not what you want.

also, as a tip, the gimp's 'multiply' blend mode is almost exactly the same as evas/edje's coloring.


example:

...
part {
  name: "colored";
  type: RECT;
  description {
    state: "default" 0.0;
    color_class: "bg_color";
    /* note: no color: set here */
  }
}
...
color_classes {
  color_class {
    name: "bg_color";
    color: 229 239 255 255;
  }
}


SVN revision: 19707
2006-01-11 03:19:45 +00:00
Carsten Haitzler 7554f8ee36 actually make symbol hiding work!
SVN revision: 19314
2005-12-27 17:17:31 +00:00
rbdpngn 7d614c0570 Use the second updated patch for the cpp problem. Originally submitted by Romu
on #edevelop.


SVN revision: 19224
2005-12-22 04:20:42 +00:00
Carsten Haitzler 62799c9e70 different cpp invokation attempt
SVN revision: 19196
2005-12-21 04:29:16 +00:00
Carsten Haitzler 6fbd81ed4c handle no name part.
SVN revision: 18995
2005-12-13 15:11:21 +00:00
Carsten Haitzler 1d9245b3f6 edje no longer needs imlib2.
SVN revision: 18425
2005-11-11 06:49:57 +00:00
Carsten Haitzler 36db7b296f add elipsis direct control
SVN revision: 18326
2005-11-06 03:32:01 +00:00
technikolor a908b18cfc Don\'t assume cpp and gcc are always in /usr/bin... absolute paths removed
SVN revision: 18130
2005-10-30 07:42:48 +00:00
Carsten Haitzler bfaabe266e asparagus - again. lots fo leak fixes and other fixes have been happening, so
i think an asparagus is a good idea - sorry package config people. :)


SVN revision: 17340
2005-10-09 04:22:19 +00:00
Carsten Haitzler ce7d10f13b allow for xr engine for testing/display of edjes
SVN revision: 17338
2005-10-09 03:07:58 +00:00
Carsten Haitzler 3d95663afe allow correct values for fill offset - too rtestrictive
SVN revision: 16781
2005-09-20 08:33:35 +00:00
Carsten Haitzler 2c69e593a8 hmm - make min size calculation mroe accurate and handle corner cases...
SVN revision: 16760
2005-09-19 06:51:49 +00:00
Carsten Haitzler 0c99214fb0 allow more tags for textblock obj's
SVN revision: 16744
2005-09-18 05:37:06 +00:00
Carsten Haitzler 3ac48d63ae and edje started supporting.... TEXTBLOCK2!!!!!
see e_logo.edc for an example. :)


SVN revision: 16698
2005-09-12 09:43:49 +00:00
sebastid 42f2fbb8b6 Add string.h for strcmp()
SVN revision: 16579
2005-09-05 16:26:58 +00:00
sebastid e3ad2acd61 Add missing headers, and define MIN
SVN revision: 16552
2005-09-05 10:46:04 +00:00
sebastid 4195c6b63c We need the embryo includedir to build the binaries.
SVN revision: 16499
2005-09-03 22:15:07 +00:00
sebastid d17fd0bed3 Use AC_PATH_GENERIC, it's a nice macro!
SVN revision: 16491
2005-09-03 18:52:10 +00:00
Carsten Haitzler 074dfd7638 max size respecting yo
SVN revision: 16265
2005-08-22 05:32:22 +00:00
Carsten Haitzler 757bfe0070 oops -- &&
SVN revision: 16080
2005-08-09 07:18:10 +00:00
Carsten Haitzler 8885e181b0 dont segv on prog with no name (illegal anyway)
SVN revision: 16079
2005-08-09 07:16:48 +00:00
Mike Frysinger 499341aa3f EXTRA_SCRIPTS cant be substituted, so revert that change
SVN revision: 16011
2005-08-03 00:39:59 +00:00
Mike Frysinger 7d48cfada7 fix multiple definition of EXTRA_DIST
SVN revision: 16009
2005-08-03 00:35:12 +00:00
Kim Woelders b25f5c9e75 Quiet.
SVN revision: 15939
2005-07-29 16:41:05 +00:00
Carsten Haitzler 24e1406536 pavel's patch. :)
SVN revision: 15905
2005-07-26 13:59:03 +00:00
tsauerbeck 9565d47963 evil hack to find include statements not at the beginning of the line, too
SVN revision: 15117
2005-06-04 09:17:14 +00:00
tsauerbeck 63b3408040 don't die if embryo_cc brabbles about warnings in the embryo code
SVN revision: 14503
2005-04-29 18:46:41 +00:00
tsauerbeck 957c89d4a2 quit on 'q'
SVN revision: 14318
2005-04-24 09:13:26 +00:00
tsauerbeck f06dec0f74 sanitize border scaling middle something logic. if the property needs to set to 'true' to be disabled, we better name it that way. this breaks eet compatibility, but since the previous commit is still young, i don't increment the version ids
SVN revision: 14048
2005-03-31 17:26:31 +00:00
Carsten Haitzler 62b9246441 support unfilled centers...
SVN revision: 14038
2005-03-31 11:40:05 +00:00
tsauerbeck ad5e015627 the default extension for Edje EET files is 'edj' now
SVN revision: 13855
2005-03-22 19:29:06 +00:00
tsauerbeck cdbe6efc98 warning fixes
SVN revision: 13818
2005-03-20 21:56:40 +00:00
Carsten Haitzler 7d7ac615c8 -fb too
SVN revision: 13772
2005-03-18 01:08:32 +00:00
Carsten Haitzler 206a27cce5 help update
SVN revision: 13771
2005-03-18 01:06:37 +00:00
tsauerbeck 1e5f844d17 use proper long-option names
SVN revision: 13759
2005-03-16 19:44:53 +00:00
tsauerbeck 4ee218c3cc don't hardcode the root filename for decompilation
SVN revision: 13758
2005-03-16 19:40:25 +00:00
tsauerbeck 3b5686906b use proper english ;)
SVN revision: 13756
2005-03-16 18:52:34 +00:00
tsauerbeck bc8470ccd9 tell the user not to trust the build scripts that are generated generated by edje_decc
SVN revision: 13755
2005-03-16 18:46:47 +00:00
tsauerbeck 057ae3dfa5 Decompiler improvements: Edjes now contain a 'compiler' entry, which is set to the executable that's used to compile an Edje. edje_decc does some sanity checking on this string, to prevent exploitation.
SVN revision: 13754
2005-03-16 18:39:39 +00:00
tsauerbeck 768533d73f output EET file can now be specified by -o, too. use that mode in build.sh
SVN revision: 13753
2005-03-16 17:51:52 +00:00
tsauerbeck ef57cf80b3 moved the include directory
SVN revision: 13496
2005-02-24 15:34:43 +00:00
tsauerbeck cf1af057cc fix exit status in case of an error
SVN revision: 13415
2005-02-17 19:49:54 +00:00
azundris c423c82614 * don't depend on edb, we're not using it
SVN revision: 13079
2005-01-24 13:02:41 +00:00
Carsten Haitzler 314d82cc04 fil! not filename! :)
SVN revision: 12882
2005-01-11 02:54:07 +00:00
Carsten Haitzler c7c6f53e78 oops arg order... fix.
SVN revision: 12862
2005-01-10 06:15:00 +00:00
Carsten Haitzler 45bc169845 finx dir of input file, strip off file to find dir component and -I that when
running cpp..


SVN revision: 12861
2005-01-10 05:51:14 +00:00
Carsten Haitzler 5a31d2e725 an edje thumbnailer executable... :) requires up to date ecore and evas
having a buffer engine...

have fun :)


SVN revision: 12841
2005-01-09 09:50:16 +00:00
tsauerbeck 6edb7557c3 removed support for the (so far deprecated) description.border keyword
SVN revision: 12593
2004-12-26 22:36:45 +00:00
tsauerbeck deafa61660 switched to floating-point math. yell if you think this causes trouble.
SVN revision: 12550
2004-12-22 14:41:12 +00:00