Commit Graph

1021 Commits

Author SHA1 Message Date
Davide Andreoli 3161a3bcb9 * implement edje_edit_state_color_class_get/set
SVN revision: 36298
2008-09-28 22:23:43 +00:00
Davide Andreoli 1e6847bb21 * make color classes editable
SVN revision: 36295
2008-09-28 18:44:19 +00:00
Davide Andreoli 0815143253 * add the ability to rename a \'data\' object
* initial color_class support

SVN revision: 36281
2008-09-27 21:29:55 +00:00
Carsten Haitzler 2b9cecee4f asparagus!
SVN revision: 36234
2008-09-25 02:59:59 +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
Davide Andreoli e823ef746e * more work on edc export (thanks dieb)
SVN revision: 36189
2008-09-23 17:47:31 +00:00
Carsten Haitzler 0a0d491cc3 disabel start/stop emits for programs - there is a good point that they are
largely useless.



SVN revision: 36064
2008-09-18 01:48:17 +00:00
Gustavo Sverzut Barbieri fb44db2211 Revert edje_smart_calculate_v4_r2, it breaks e17 shelf resize.
Not ready yet, reverting...



SVN revision: 36031
2008-09-17 01:50:16 +00:00
Gustavo Sverzut Barbieri b85bedb940 Fix indentation levels.
SVN revision: 36028
2008-09-16 21:11:38 +00:00
Gustavo Sverzut Barbieri aef095031b bin_SCRIPTS does not distribute the file, must add to EXTRA_DIST
This is stupid, so is autofoo.



SVN revision: 36027
2008-09-16 20:21:11 +00:00
Gustavo Sverzut Barbieri d044a0245a More svn:ignore
SVN revision: 36026
2008-09-16 19:44:20 +00:00
Gustavo Sverzut Barbieri e1e7256359 s/save/export/g
SVN revision: 36025
2008-09-16 19:20:21 +00:00
Davide Andreoli 3a441393b7 * Expose state visible flag
SVN revision: 36023
2008-09-16 19:01:37 +00:00
Gustavo Sverzut Barbieri d45ae6945c Add script to export GIMP images to EDC
SVN revision: 36020
2008-09-16 18:01:39 +00:00
Gustavo Sverzut Barbieri f5e373abd7 Edje utilities: convert inkscape supported files to edc
SVN revision: 36008
2008-09-15 23:45:47 +00:00
Davide Andreoli bae73a2b60 * Add top level data editing functions
* Also change edje_cache.c to don\'t free the data list when creating the data_cache 

SVN revision: 35987
2008-09-14 22:30:15 +00:00
Cedric BAIL 5811041053 This patch reduce the usage of memset by edje_match function.
I did test this patch since three month in my apps and in E, and I didn't
notice anything going wrong with it. If you experience strange bug with
matching please report them.



SVN revision: 35945
2008-09-11 11:20:42 +00:00
Cedric BAIL fd5de88682 Only update Evas_Object geometry when they are visible. This should prevent
them from being put in the evas_render_update phase.

I did extensively test this patch since a few month and didn't notice any
bug with it in my apps, nor in E. But please report anything that goes wrong
for you after this version.



SVN revision: 35944
2008-09-11 11:18:33 +00:00
Cedric BAIL 35fca3f9dd Replace big serie of if, with a cleaner switch.
SVN revision: 35943
2008-09-11 11:15:39 +00:00
Cedric BAIL 060f30aa6e Make EDJE_PROGRAM_CACHE configurable with autotools (with small fix for make it run again).
SVN revision: 35942
2008-09-11 11:14:39 +00:00
Carsten Haitzler aaa724d23c ok still doesnt work - FASTFREEZE shoudl work.. but dont.
SVN revision: 35925
2008-09-10 07:17:24 +00:00
Carsten Haitzler 673efdedd5 fix scaling on edje_scale - works with smnall sizes now too. problem is
really i was chasing a freeze/thaw problem. something is up.



SVN revision: 35922
2008-09-10 06:39:57 +00:00
Gustavo Sverzut Barbieri 0a75de51f0 Revert edje calculate optimizations.
Edje is tricky, it's event processing is too weird and Cedric's
changes to make it work are not working as expected. Edje freezes
itself while processing signals, but in mouse down cb it forces
recalculate, which seems was previously ignored, but now they are not.

We should look at how to fix this and then re-apply this patch.



SVN revision: 35908
2008-09-09 23:41:42 +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
Gustavo Sverzut Barbieri 58a49c2f69 Add calculate callback to Evas_Smart_Class.
Some people is using it for some time now without problems, so I'm
adding it to SVN to get some broader use. Remember to recompile ALL
libraries that depend on Evas as it will change the
EVAS_SMART_CLASS_VERSION and old classes will fail to load.

This will also change Edje so it will postpone _edje_recalc() to
render time, calculate() callback, however some methods will force
early recalculation.



SVN revision: 35860
2008-09-07 01:25:49 +00:00
Cedric BAIL dec2f04734 Actually call eet_init/eet_shutdown and fix another potential memory leak.
SVN revision: 35615
2008-08-22 14:32:25 +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
Carsten Haitzler 0d3a45be0f ok. i think most binary files are now fixed.
SVN revision: 35525
2008-08-18 00:02:26 +00:00
Gustavo Sverzut Barbieri d428d6ec1d Add some consts to Edje's API.
Some methods do no change object internal state and can be marked as
read only. In parallel have infamous edje_object_part_object_get() to
return a read-only object, so it's even more clear that one should not
touch this object state (either a cast or a compiler warning if you do
that!)


SVN revision: 35485
2008-08-14 18:21:27 +00:00
Gustavo Sverzut Barbieri dbe1ac5aca Fix warnings about Edje's usage of Eet_Data_Descriptor_Class.
Couple of casts to shut up gcc.


SVN revision: 35484
2008-08-14 18:10:26 +00:00
Gustavo Sverzut Barbieri a85c8a5f2b Fix name incoherency: rename Edje->part to group.
It is very confusing to have "part" there and in the methods call,
because we want the group name, not part.


SVN revision: 35483
2008-08-14 18:04:43 +00:00
Davide Andreoli 3e51c8848b Fix Ticket #17 on Track ;)
SVN revision: 35330
2008-08-05 19:49:28 +00:00
Carsten Haitzler e84a969a69 fix string len problem
SVN revision: 35305
2008-08-02 01:33:39 +00:00
Davide Andreoli e87f1f0aca * work in progress for generate edc. thanks to dieb
SVN revision: 35261
2008-07-30 22:41:04 +00:00
Davide Andreoli cc645d82fe * create gradient using "use_rel = 1"
* remove some debug
 * fix some returns


SVN revision: 35116
2008-07-15 01:03:24 +00:00
Davide Andreoli 04249c53e6 * withspaces and similar
SVN revision: 35097
2008-07-13 14:29:18 +00:00
Davide Andreoli 092f491d09 * remove spectra_id functions in favor of standard 'get/set-by-name' functions
SVN revision: 35096
2008-07-13 14:18:17 +00:00
Davide Andreoli 464c92eece * fix compiler warnings
SVN revision: 35095
2008-07-13 13:55:43 +00:00
Davide Andreoli a8a954e525 * Added spectra API
* Added gradient API
 * Added fill API
 * Some small doxy fix


SVN revision: 35075
2008-07-12 12:48:35 +00:00
Davide Andreoli 0dbaf98253 * Add a link to the edje_edit API
SVN revision: 35074
2008-07-12 12:11:38 +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
Gustavo Sverzut Barbieri 0db98a4d3f We need to force signed chars when we need the signal.
The type "char" is not defined to have a sign or not, for performance
issue some platforms (ie: ARM) define it as unsigned. If we need to
rely on the sign, must say so.


SVN revision: 34924
2008-06-27 03:14:57 +00:00
Sebastian Dransfeld 4a54010498 Remove unused variable.
SVN revision: 34867
2008-06-19 12:47:04 +00:00
Sebastian Dransfeld 95693f1a1c Add return values.
SVN revision: 34866
2008-06-19 12:46:04 +00:00
Sebastian Dransfeld b55c00e17f Fix compiler warnings.
SVN revision: 34865
2008-06-19 12:39:58 +00:00
Davide Andreoli d0d0eee429 Initial work for writing edc source code
SVN revision: 34820
2008-06-14 01:13:16 +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 850cae173c doing some work on a test script object and actually making it work.
SVN revision: 34703
2008-05-30 15:29:39 +00:00
Carsten Haitzler 1c7b215135 printf--
SVN revision: 34702
2008-05-30 14:27:56 +00:00
Carsten Haitzler 15cd1238db start some serious work on script_only edje objects - for efficiency sake i'm
having an almost parallel codepath for script_only objects - they dont get to
use the older edje api calls for part defined objects. they will have a new
set of calls specifically for them. it's partly done - very little available
now, but will expand. lots of fixme's.


SVN revision: 34699
2008-05-30 11:20:49 +00:00
doursse 0fe68f24fc * move the declaration of variables at the begnning of the blocks
* minor formatting


SVN revision: 34695
2008-05-30 08:00:25 +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 0d624dcb94 lars get button mask call for edje embryo added
SVN revision: 34611
2008-05-19 04:38:40 +00:00
Carsten Haitzler e92406d330 patch from rafael to hook in funcs to embryo
SVN revision: 34603
2008-05-19 02:50:38 +00:00
Carsten Haitzler 6982d7fb37 pass make distcheck and a snapshot asparagus release - been a while
SVN revision: 34600
2008-05-19 00:07:12 +00:00
Carsten Haitzler 14e2187305 get rid of 0 byte alloc
SVN revision: 34440
2008-05-03 05:33:26 +00:00
kaethorn ace1e213d7 Merge with Debian files from PkgE.
SVN revision: 34393
2008-04-28 15:09:40 +00:00
Carsten Haitzler dde62f1882 add another constraint-aware min calc
SVN revision: 34297
2008-04-17 10:22:57 +00:00
Carsten Haitzler 6dd6b76c0a fix valgrind warning in match code
SVN revision: 34284
2008-04-17 01:13:48 +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
Carsten Haitzler 0e4c0eb8ec cedric small speedups patches for edje back in - minus the ones that break
things. (0004).


SVN revision: 34234
2008-04-10 08:58:19 +00:00
Carsten Haitzler 4d54b4aaa6 adriano';s edje text fit patch
SVN revision: 34206
2008-04-06 02:08:21 +00:00
Caio Marcelo de Oliveira Filho f674fc975b Fix mouse_in/out flag checking.
If we have event_flags and they match any bit in ignore_flags, return.


SVN revision: 34185
2008-04-04 00:07:07 +00:00
Carsten Haitzler ff6fb2e3bf actually. these patches broke illume! aaak! revert.!
SVN revision: 34180
2008-04-03 19:27:53 +00:00
Carsten Haitzler a11b5c4769 deps lists/ debugging too...
SVN revision: 34177
2008-04-03 18:47:14 +00:00
Carsten Haitzler 13809fe5bd oops fix logic. done.
SVN revision: 34175
2008-04-03 18:22:22 +00:00
Carsten Haitzler 48deca9592 1. cedrics patches for speedups. they breka nothing.
2. fix mouse in/out and other event flags stuff again.


SVN revision: 34174
2008-04-03 18:18:36 +00:00
Caio Marcelo de Oliveira Filho 2e568d779f edje-mode.el: add ignore_flags and a small fix.
SVN revision: 34171
2008-04-02 01:50:09 +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
Carsten Haitzler 368f148fef use hold event and emit hold,on and hold,off
SVN revision: 34161
2008-03-31 21:38:51 +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
Sebastian Dransfeld 56b68a7ba4 formatting
SVN revision: 34016
2008-03-13 19:08:14 +00:00
Sebastian Dransfeld 3340fba2fb formatting
SVN revision: 34015
2008-03-13 19:01:53 +00:00
Sebastian Dransfeld 1ca9a3d4a5 Fix compiler warnings
SVN revision: 34013
2008-03-13 16:01:35 +00:00
Sebastian Dransfeld 00065fd407 Add const
SVN revision: 34011
2008-03-13 06:38:16 +00:00
Carsten Haitzler f08234a968 improve build includes.
SVN revision: 33997
2008-03-12 16:32:35 +00:00
Sebastian Dransfeld 9c2e6dcd43 formatting
SVN revision: 33991
2008-03-12 09:48:04 +00:00
Davide Andreoli f9e5ad5282 * fixed strings free
SVN revision: 33961
2008-03-08 23:11:32 +00:00
Davide Andreoli fad0d39cdc Add the 2 missing files
SVN revision: 33947
2008-03-06 19:48:11 +00:00
Carsten Haitzler b65d63440f add cedrics dict check patch
SVN revision: 33946
2008-03-06 17:52:59 +00:00
Gustavo Sverzut Barbieri c623cbc753 Add missing escape of textblock style font.
SVN revision: 33907
2008-03-03 16:10:22 +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 8a3e188813 leak--
SVN revision: 33893
2008-03-02 02:47:36 +00:00
Carsten Haitzler 7564343804 fix segv - cant access file after its been freed...
SVN revision: 33892
2008-03-02 02:34:23 +00:00