Gustavo Sverzut Barbieri
e2d7c998da
mark edje as dirty if box/table children changed.
...
This should help to fix bugs with systray.
SVN revision: 40408
2009-04-27 02:38:14 +00:00
Gustavo Sverzut Barbieri
d2a587c21f
recalculate table if it is dirty.
...
SVN revision: 40407
2009-04-27 02:36:56 +00:00
Carsten Haitzler
75e9c7fa98
fix calc - do not reset calc_only flag! it wanst set by the calc_do!
...
SVN revision: 40326
2009-04-23 12:42:53 +00:00
Carsten Haitzler
ce5a59b7e5
lutin... release soname patch. verbose svn soname used right now
...
SVN revision: 40131
2009-04-17 10:01:45 +00:00
Gustavo Sverzut Barbieri
ec987bd579
edje now handles escape/unescape automatically for textblock.
...
these two new calls will escape the unescaped text if required, will
unescape when get is called.
Also I fixed edje_object_part_text_get() on non-editable TEXTBLOCK,
now it will return the text with markup.
SVN revision: 40066
2009-04-14 23:53:25 +00:00
Carsten Haitzler
b3e8f31362
tentative change... it seems in rare conditions some programs end up doubled
...
and the stop prog doesnt clean out all instances - leaving 1 or more excess
instances to run. this should fix that.
SVN revision: 39827
2009-04-01 09:11:48 +00:00
Carsten Haitzler
338881b454
edje explicit selection mode is saner now. done - for now. workable.
...
SVN revision: 39628
2009-03-22 13:50:53 +00:00
Carsten Haitzler
4218f905f5
add more util calls for enty manipulation
...
SVN revision: 39600
2009-03-20 15:07:39 +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
Gustavo Sverzut Barbieri
bddbbbb8a5
Fix null dereference.
...
By Luis Felipe Strano, spotted by clang.
SVN revision: 39560
2009-03-18 21:27:38 +00:00
Gustavo Sverzut Barbieri
071ad5b4aa
minor optimizations to box recalculation.
...
just recalculate when required, and just mark as required when layout
really changes.
SVN revision: 39299
2009-02-28 20:04:55 +00:00
Viktor Kojouharov
0a544a09d3
'box.min' for the edje box
...
SVN revision: 39298
2009-02-28 19:38:35 +00:00
Carsten Haitzler
c2f8ca5ccd
fix copy & paste bug!
...
SVN revision: 39022
2009-02-15 02:55:56 +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
Carsten Haitzler
6f2cb19f03
fix some min size calc and aspect calc issues.
...
SVN revision: 38994
2009-02-11 11:48:15 +00:00
Chidambar Zinnoury
6b162f8fe0
Useless check as it has already been dome some lines above.
...
SVN revision: 38967
2009-02-07 15:45:50 +00:00
Gustavo Sverzut Barbieri
2e809f845f
Interpolate text font size.
...
Often requested for animations that want to grow or shrink text
quickly. This is a faster alternative to using geometry with rel1/rel2
and "text.fit: 1 1;" since it does not need to figure out which size
fits better into that object.
I tested and it does not seem to introduce any regression. Also
checked with scale and text_class variations.
SVN revision: 38958
2009-02-05 18:15:34 +00:00
Carsten Haitzler
b6f51da478
allow individual objects to have differing scaling factors (object scale
...
overrides edje global scale)
SVN revision: 38908
2009-02-03 05:07:58 +00:00
Carsten Haitzler
71bd02f251
changed signal on backspace
...
SVN revision: 38807
2009-01-27 06:17:35 +00:00
Iván Briano
0a51bac4a9
Reverting. Comment in code says it all
...
SVN revision: 38692
2009-01-21 23:30:50 +00:00
Gustavo Sverzut Barbieri
7ed9777f3c
Let's see if this edje forced recalc is really required.
...
SVN revision: 38689
2009-01-21 22:38:52 +00:00
Cedric BAIL
519296191d
Return success or not for table API.
...
SVN revision: 38381
2008-12-31 11:49:42 +00:00
Gustavo Sverzut Barbieri
b1f00aa9d5
edjeL convert error code to string.
...
SVN revision: 38268
2008-12-21 18:39:36 +00:00
Gustavo Sverzut Barbieri
15a2b2aaf2
force recalc after set_tween_state().
...
SVN revision: 38258
2008-12-21 02:17:31 +00:00
Vincent Torri
8b5ff6cb40
make compilation work on Windows XP
...
SVN revision: 38243
2008-12-20 13:18: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
136be96d28
Use small hash table insteed of bigger one. And move collection hash initialization a bit later.
...
SVN revision: 38186
2008-12-17 16:10:07 +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
Sebastian Dransfeld
28bf361096
Fix eina hash usage.
...
When using eina hash we need to create the hash if it does not exist.
SVN revision: 38172
2008-12-17 08:04:42 +00:00
Sebastian Dransfeld
4615291cc2
evas_hash -> eina_hash
...
SVN revision: 38157
2008-12-15 21:00:19 +00:00
Jaime Thomas
81c3548670
Actually, this is probably what was intended.
...
SVN revision: 38145
2008-12-14 17:09:46 +00:00
Jaime Thomas
364c05f124
Let mouse selections work again.
...
SVN revision: 38144
2008-12-14 17:07:51 +00:00
Gustavo Sverzut Barbieri
300c7b814c
try to avoid infinite recalc loop.
...
as reported, elicity triggers an infinite loop by calling
edje_object_part_geometry_get(), which in turns calls
_edje_recalc_do() which in turns calls the elicit code that requests
edje_object_part_geometry_get() and since it's still marked as
"dirty", it enters the loop...
the real fix is just the move of ed->dirty = 0; before calling
recalcs, but I also unmarked object as need_recalculate so we can even
avoid requesting object to recalculate from evas.
SVN revision: 38139
2008-12-14 16:30:29 +00:00
Cedric BAIL
2c668d6747
The for loop inside _edje_file_del is accessing Edje_Real_Part that could be
...
destroyed by _edje_cache_coll_unref. So moving the call to _edje_cache_coll_unref
after the last use of Edje_Real_Part should be better.
SVN revision: 38020
2008-12-08 14:23:26 +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
Gustavo Sverzut Barbieri
03fca99e56
Add safe Eina list walk function.
...
SVN revision: 37949
2008-12-06 02:13:01 +00:00
Gustavo Sverzut Barbieri
00fd3ccc3a
fix list iteration and removal inside edje box.
...
maybe we should add EINA_LIST_FOREACH_SAFE?
SVN revision: 37947
2008-12-06 01:44:01 +00:00
Gustavo Sverzut Barbieri
288a77ea18
Hopefully fix some problems with Edje fnmatch and callbacks.
...
* Fix buffer overflow with EDJE_PROGRAM_CACHE (not tested since I don't use it).
* break_prog should always unset walking_callbacks and do after-tasks.
* Fix list walking! ouch!!!
SVN revision: 37944
2008-12-05 22:32:04 +00:00
Carsten Haitzler
90d3729897
bad edje! leak! fix fix!
...
SVN revision: 37840
2008-11-28 13:54:21 +00:00
Davide Andreoli
ed830d3fe7
* typo
...
SVN revision: 37822
2008-11-27 09:43:00 +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
Sebastian Dransfeld
b2fa64de52
Formatting
...
SVN revision: 37626
2008-11-14 17:35:05 +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
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
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
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
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
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
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
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