Commit Graph

1200 Commits

Author SHA1 Message Date
Davide Andreoli ed830d3fe7 * typo
SVN revision: 37822
2008-11-27 09:43:00 +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
Vincent Torri 6c764421aa typo
SVN revision: 37746
2008-11-22 10:47:17 +00:00
Carsten Haitzler 44c07b8fc9 middle mouse does a paste request now.. unix stylin'
SVN revision: 37705
2008-11-19 06:22:12 +00:00
Carsten Haitzler 965b3be9db fix selection get
SVN revision: 37703
2008-11-19 02:14:50 +00:00
Carsten Haitzler d5bc0e8546 add calls to select all/none
SVN revision: 37700
2008-11-18 08:45:27 +00:00
Carsten Haitzler ba0bf9010f and actually force styles to be assigned early.
SVN revision: 37695
2008-11-18 01:46:56 +00:00
Carsten Haitzler a867b99db0 make click below text put cursor at end
SVN revision: 37690
2008-11-17 06:17:09 +00:00
Carsten Haitzler 38f06f34e8 track subobjs (used by entry only for now) and emit signals to them too
SVN revision: 37688
2008-11-17 05:54:01 +00:00
kaethorn e20d52ab8b update doc package.
SVN revision: 37639
2008-11-14 23:06:04 +00:00
Sebastian Dransfeld b2fa64de52 Formatting
SVN revision: 37626
2008-11-14 17:35:05 +00:00
Gustavo Sverzut Barbieri 2d05e12a0a Oops! no change of version number.
SVN revision: 37621
2008-11-14 11:08:22 +00:00
Gustavo Sverzut Barbieri f53febde32 Edje postponed calculations.
This makes use of new Evas_Smart_Class calculate() callback to
postpone calculations until render time, possible saving lots of
calculations to happen.

It is another try, with Cedric's changes to force recalculations when
requried (ie: just before doing some edje_object_*_get()), let's see
if this one solve found issues.



SVN revision: 37620
2008-11-14 11:06:15 +00:00
Cedric BAIL 25f4acee01 This is a quick fix for edje match memory consuption. It is not the best
solution, but the fastest to implement without breaking edje file format.

So now, when a callback or a program don't use globbing charactere (*, ?,
[] and \), the match are put in a little rbtree instead of the big automate
matrix.

This patch could potentially break edje user, if you experience anything
strange with your edje file, please report.



SVN revision: 37577
2008-11-10 16:37:52 +00:00
Viktor Kojouharov 3489be1dda typo--
SVN revision: 37517
2008-11-05 21:36:23 +00:00
Gustavo Sverzut Barbieri 1b1896ec55 for some reason this was being NULL to me.
it was crashing on group changing.



SVN revision: 37473
2008-11-05 16:08:39 +00:00
Carsten Haitzler 60b4dab196 formatting.
SVN revision: 37425
2008-11-02 22:51:24 +00:00
Davide Andreoli 6aaa2a7b35 * Arghh! Fix compilation... sorry
SVN revision: 37417
2008-11-02 15:02:40 +00:00
Davide Andreoli c1be5313b7 * Support text styles in edje_edit
SVN revision: 37415
2008-11-02 14:10:11 +00:00
Carsten Haitzler 68794e198b also use looptime
SVN revision: 37394
2008-11-02 02:43:43 +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
Massimiliano Calamelli 8de6e259f9 Completing the fixes in Edje doc
SVN revision: 37356
2008-10-31 13:16:57 +00:00
Vincent Torri b83543bd6a missing dots
SVN revision: 37331
2008-10-30 21:29:27 +00:00
Carsten Haitzler 5813cfd630 leak--
SVN revision: 37262
2008-10-28 04:58:39 +00:00
Davide Andreoli ed57d68446 remove some warnings
SVN revision: 37192
2008-10-27 04:10:31 +00:00
Vincent Torri ca3b1e5974 README.in does not exist
SVN revision: 37162
2008-10-26 17:31:14 +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 4945b420ea missing file
SVN revision: 37141
2008-10-26 12:05:33 +00:00
Vincent Torri a3c761f981 fix documentation
SVN revision: 37138
2008-10-26 12:02:28 +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 18c8160744 ret null - not nothing.
SVN revision: 37131
2008-10-26 11:04:53 +00:00
Gustavo Sverzut Barbieri 7f935e09c0 Set member_{add,del} to NULL.
SVN revision: 37087
2008-10-25 02:58:30 +00:00
Carsten Haitzler f14804f514 fix leak in entry anchors
SVN revision: 37083
2008-10-25 02:14:48 +00:00
Sebastian Dransfeld 71f14d8463 formatting
SVN revision: 37045
2008-10-24 07:08:08 +00:00
Carsten Haitzler 1d8a7e4dd3 allow you to get geom of anchors.
SVN revision: 37039
2008-10-24 00:44:26 +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
Carsten Haitzler dce5ba9fc8 use hold flags.
SVN revision: 36964
2008-10-22 11:59:59 +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 947b161c56 support password mode.
SVN revision: 36957
2008-10-22 08:57:49 +00:00
Carsten Haitzler 1cefba4012 fix last newline detection - dont keep adding them in!
SVN revision: 36950
2008-10-22 04:00:05 +00:00
Carsten Haitzler 154b2a5a94 printf--
SVN revision: 36905
2008-10-21 05:21:11 +00:00
Cedric BAIL ba9c2d3942 Use common eina convertion code.
SVN revision: 36841
2008-10-20 09:11:19 +00:00
Carsten Haitzler 195093cde5 fix edje smart move to update extra objs for entry.
SVN revision: 36753
2008-10-17 14:39:47 +00:00
Carsten Haitzler c74f8c820b add prototype.
SVN revision: 36743
2008-10-17 06:42:33 +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
Carsten Haitzler 560c836bef cleanup fixme's
SVN revision: 36739
2008-10-17 01:42:20 +00:00
Carsten Haitzler ad5a76df19 ok final known bug god for del. now.. anchors
SVN revision: 36738
2008-10-17 01:40:10 +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
Carsten Haitzler 92f5ecada5 and now make del work "more" correctly (not perfect)
SVN revision: 36734
2008-10-17 00:20:52 +00:00
Carsten Haitzler 4fb14a44c7 and fix entry some more...
SVN revision: 36733
2008-10-17 00:07:43 +00:00
Carsten Haitzler bb20ba07b4 fix insert from code to replace selection
SVN revision: 36723
2008-10-16 14:22:19 +00:00
Carsten Haitzler 0bc5d8fa1f 1 bizrre bug gone. 1 to go (random jumps to previosu format nodes on delete?)
SVN revision: 36721
2008-10-16 14:19:12 +00:00
Carsten Haitzler ab9c9c71d3 edje entry growing.
SVN revision: 36709
2008-10-16 09:17:44 +00:00
Carsten Haitzler 031c0d24ca set corsor to start on text set.
SVN revision: 36703
2008-10-16 02:11:02 +00:00
Carsten Haitzler 0b752a2143 actually use edje for selection and cursor now.
SVN revision: 36680
2008-10-15 15:15:06 +00:00
Cedric BAIL b489e1936b Switch evas_stringshare to eina_stringshare.
SVN revision: 36672
2008-10-15 14:11:11 +00:00
Carsten Haitzler af9a085880 and more entry support.
SVN revision: 36665
2008-10-15 09:58:25 +00:00
Carsten Haitzler 9c044c7904 more editing works
SVN revision: 36647
2008-10-14 04:35:17 +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 b5c61b17c1 and fix segv if things get key events...
SVN revision: 36615
2008-10-13 11:57:32 +00:00
Carsten Haitzler ce0d40cae7 editable textblocks... a start (definitely not there yet)
SVN revision: 36611
2008-10-13 09:19:04 +00:00
Carsten Haitzler 485e1c4218 fix drag event objects to work.
SVN revision: 36559
2008-10-10 01:46:02 +00:00
Davide Andreoli bc2268e0e0 * Support dragable parts
SVN revision: 36550
2008-10-09 14:38:22 +00:00
Davide Andreoli 8d2539445d * update TODO
SVN revision: 36539
2008-10-09 00:05:54 +00:00
Davide Andreoli 55d103da67 * ... and finally save the generated EDC back to the edje file
This means that file created with the editor can now be decompiled!!

But make attention because not every feature of edje is supported.
This means that (if you modify an existing file) you will lost some feature
while saving; like MACRO, inherit values, comments in the EDC code and some 
other smallies.
But if you have created the file with the editor all will be edje_decc well.

SVN revision: 36537
2008-10-09 00:04:18 +00:00
Davide Andreoli 7cef5ad68c * Support image_border_middle
SVN revision: 36506
2008-10-07 21:13:27 +00:00
Davide Andreoli 0ad6672332 * Add support for text Ellipsis and Fit
SVN revision: 36502
2008-10-07 16:01:56 +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
Carsten Haitzler 58841dae63 edje uses size min/max and aspect hints in evas - old extern blah calls
compatible and use the evas hints internally.



SVN revision: 36439
2008-10-05 03:37:37 +00:00
Davide Andreoli 33e0b66891 * more work on edc export
SVN revision: 36412
2008-10-03 00:20:19 +00:00
Carsten Haitzler 8aed008df3 fix a jitter with text fit if fit region tiny!
SVN revision: 36389
2008-10-02 04:01:54 +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
Peter Wehrfritz beaa909d45 configure.in -> configure.ac
SVN revision: 36364
2008-09-30 18:07:29 +00:00
Davide Andreoli 8e041f819a * And also export color_classes when saving edc
SVN revision: 36300
2008-09-28 22:45:47 +00:00
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
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 c3ec60a6c9 stop allowing self-feeding forever loops by adding jobs forever.
SVN revision: 33871
2008-03-01 04:59:38 +00:00
Gustavo Sverzut Barbieri 08bfdacdee Bugfix and refactor get of font based on text_class.
Edje tries to copy original style to font provided by text_class if
this have no style.

However code was supposing that text_class font always had more than
one occurrence, these separated with ',' and did not check if this is
not the case, so "e = strchr(',', tok);" was returning NULL and all
the math were using negative values.

The fix now does the proper checking, avoid one useless alloca() and
the respective copy, also doing the copies with memcpy() since sizes
are already known.

Refactory was done to make code simpler and also avoid having it
copied 3 times.


SVN revision: 33869
2008-02-29 21:43:55 +00:00
Gustavo Sverzut Barbieri da7eabb809 Just update dragable parameters if part is dragable.
SVN revision: 33867
2008-02-29 03:39:31 +00:00
Gustavo Sverzut Barbieri 621d8f73af Optimize interpolation.
Check if values actually differ before interpolating them, this will
avoid useless math for (x1 - (x1 - x2) * p) when x1 and x2 are equal.

Also don't interpolate values that doesn't make sense to the part,
like color2 and color3 for non-text.

TODO: Refactor edje part description into more object-oriented
fashion, with a struct with just the common parts followed by an union
of structs for special objects, these would contain specific bits for
each part type. This would save us a bit of memory and then we can
more easily refactor code isolating common and specific parts, making
code smaller and easier to handle.


SVN revision: 33861
2008-02-27 19:03:19 +00:00
Gustavo Sverzut Barbieri b5d880093f Avoid using anonymous for often used structs.
My last patch fixed the compile problem, but really, we should use the
same struct for things that look/work the same, like rectangle,
position, etc.

This new patch brings that change back and add some named structs
(also typedef'ed so it conforms to E naming schema).

This commit just changes the header and adds an example of
benefit. Later I'll provide a more intrusive patch that reorganize
structures to make even better use of this.


SVN revision: 33860
2008-02-27 16:03:23 +00:00
Gustavo Sverzut Barbieri 09148d57c4 Fix my introduced bug in cedric's patch.
SVN revision: 33859
2008-02-27 15:21:16 +00:00
Gustavo Sverzut Barbieri 0d9ff479d2 Avoid useless huge implicit memcpy.
The "simple" block:

   p3 = p1;

was doing an implicity memcpy() responsible for about 1% of processing
time when no animation happens.

Patch by Cedric BAIL.


SVN revision: 33858
2008-02-27 14:27:10 +00:00
Gustavo Sverzut Barbieri 9abfa8f70a Cleanup of last patches and revert my patching mistakes.
Last 2 patches were swapped, I applied them in the wrong order and
missed the rejections, my bad.

I fixed it and also did some cleanup, looks better now.


SVN revision: 33855
2008-02-26 20:12:00 +00:00
Gustavo Sverzut Barbieri c48465c86a Fix a memory leak on edje destruction.
Patch by Cedric BAIL.


SVN revision: 33854
2008-02-26 19:06:33 +00:00
Gustavo Sverzut Barbieri 30b26c0937 Cleanup for possible memory leak.
Patch by Cedric BAIL.


SVN revision: 33853
2008-02-26 18:41:44 +00:00
Gustavo Sverzut Barbieri 833e075b9a Delay patterns destruction until patterns is not used anymore.
Patch by Cedric BAIL.


SVN revision: 33850
2008-02-26 17:56:51 +00:00
Christopher Michael a77a6eb18c Fix evas_hash_foreach functions for recent evas changes.
Fix some formatting issues.


SVN revision: 33809
2008-02-22 10:42:50 +00:00
Gustavo Sverzut Barbieri 435dfe2a2a Reduce memory allocation for edje match.
Just allocate and build the match automate for callbacks and programs
only when required. On load for programs and when callbacks list has
been updated.

Patch by Cedric BAIL. (with minor fixes to use TABS where context was using)


SVN revision: 33804
2008-02-21 18:48:36 +00:00
Gustavo Sverzut Barbieri e618b1d188 Cleanup edje calc and fixes textblock "visible" use.
Patch by Cedric BAIL, with minor formating/style fixes.


SVN revision: 33803
2008-02-21 18:35:27 +00:00
Horms 8c554f1977 edje: include autogen.sh in distribution tar ball
autogen.sh is really ought to be included in the distribution.
For starters its used in the debian build process.


SVN revision: 33782
2008-02-18 07:48:41 +00:00
Horms 5ac42d953d Add build-dependancy on pkg-config
As aclocal may be called via autogen.sh during the Debian build process
add an explicit build dependancy on pkg-config which includes
/usr/share/aclocal/pkg.m4 which provides the PKG_CHECK_MODULES macro.


SVN revision: 33781
2008-02-18 07:44:11 +00:00
Christopher Michael 6fd085f0aa Fix formatting ugliness.
Add 'const' to evas_hash_foreach functions as per recent Evas changes.


SVN revision: 33748
2008-02-15 19:30:12 +00:00
Carsten Haitzler 92e084f9ca asparagus! also pass distcheck and have common autofoo init that is
consistent for package, version etc.


SVN revision: 33602
2008-01-25 03:35:49 +00:00
kaethorn b83098328e remove duplicate line.
SVN revision: 33588
2008-01-24 20:55:30 +00:00
Carsten Haitzler 033737bdd9 edje data file patches in - not fill though.
SVN revision: 33543
2008-01-21 01:03:04 +00:00