Tom Hacohen
0579401cb3
Edje entry: Fixed the hack that was used in edje_entry for drawing anchors (the hack was there because of a bug in textblock which is now fixed).
...
SVN revision: 53107
2010-10-06 18:23:01 +00:00
Boris Faure
545ea3a1a4
edje: improve doc
...
SVN revision: 53004
2010-10-03 21:21:58 +00:00
Carsten Haitzler
91466cf439
efl 1.0.0 beta.
...
SVN revision: 52992
2010-10-03 09:21:08 +00:00
Mike Blumenkrantz
2c1c6f633d
add big FIXME for fixme
...
SVN revision: 52978
2010-10-02 08:22:48 +00:00
Mike Blumenkrantz
52ad489422
this is the WRONG fix for compiled-in edj font issues. it does, however, temporarily fix the problem until someone who knows what they're doing comes along
...
SVN revision: 52977
2010-10-02 07:42:01 +00:00
Carsten Haitzler
57d15d3ef8
actually hook in filter callbacks - have 2 types and pass in enum to
...
each as to what text they are seeing to filter. fix up other typdef
uses.
SVN revision: 52975
2010-10-02 03:34:00 +00:00
Iván Briano
be56560d7d
Fix animators, don't run the program twice.
...
SVN revision: 52953
2010-10-01 17:10:37 +00:00
Iván Briano
2233302716
Fix having api keyword in parts, that is, don't have edje_cc segfault if there is one.
...
SVN revision: 52952
2010-10-01 16:49:31 +00:00
Carsten Haitzler
f394a88dca
set EDJE_SELF_FEED_DEBUG if u want to know abotu self-feeding edje
...
signals/messages
SVN revision: 52943
2010-10-01 06:59:48 +00:00
Carsten Haitzler
3d87542724
proper error output from script running (embryo).
...
SVN revision: 52942
2010-10-01 06:53:16 +00:00
Leandro Pereira
9dc21add3a
edje_cc: Don't dereference a NULL pointer on badly-formed .edj files.
...
(Should have been on r52931.)
SVN revision: 52932
2010-09-30 21:37:49 +00:00
Leandro Pereira
fcfaebe1e3
edje_cc: Bail out on descriptions without a state.
...
Also, don't dereference a NULL pointer on badly-formed .edj files.
SVN revision: 52931
2010-09-30 21:31:00 +00:00
Leandro Pereira
0e7da3e783
edje_cc: Fix typos
...
SVN revision: 52930
2010-09-30 21:16:38 +00:00
Gustavo Sverzut Barbieri
d93ac79c38
Dynamic choices in edje EXTERNALS.
...
Sometimes the options can just be known during runtime, like available
video engines for emotion.
This goes in now as it will avoid further API breaks, so before Edje 1.0
SVN revision: 52874
2010-09-29 03:01:17 +00:00
Gustavo Sverzut Barbieri
d724381684
new flags to external parameters.
...
These are yet-another hint, they are not enforced as documentation
already said, yet they will be useful for tools (ie: editje) to
explain to users if parameter will be set only once, or provides no
getter and such.
This will save future ABI breaks, that's why I want it in 1.0 :-)
SVN revision: 52873
2010-09-29 02:42:50 +00:00
Gustavo Sverzut Barbieri
abc87fd449
Adding a transition layout animation for edje box.
...
Perform an animation when changing the layout from an edje box.
By: Otavio Pontes <otavio@profusion.mobi>
-------
Sample EDC:
{{{
collections {
group {
name: "main";
min: 500 500;
max: 500 500;
parts {
part {
name: "bg";
type: RECT;
description {
color: 255 255 255 255;
rel1 { relative: 0.0 0.0; }
rel2 { relative: 1.0 1.0; }
}
}
part {
name: "box1";
type: BOX;
description {
state: "default" 0.0;
box {
layout: vertical;
padding: 0 0;
}
rel1 {
relative: 0.0 0.0;
}
rel2 {
relative: 1.0 1.0;
}
}
description {
state: "default" 0.1;
inherit: "default" 0.0;
box {
padding: 10 10;
layout: horizontal;
}
}
description {
state: "default" 0.2;
inherit: "default" 0.0;
box {
layout: vertical;
}
rel1 {
relative: 0.0 0.0;
offset: 100 100;
}
rel2 {
relative: 1.0 1.0;
}
}
box {
items {
item {
name: "rect1";
type: GROUP;
source: "grp_rect1";
weight: 1.0 1.0;
align: -1 -1;
}
item {
name: "rect2";
type: GROUP;
source: "grp_rect2";
weight: 1.0 1.0;
align: -1 -1;
}
}
}
}
}
programs {
program {
name: "change_layout";
signal: "mouse,clicked,1";
source: "box1";
action: STATE_SET "default" 0.1;
target: "box1";
transition: LINEAR 5.0;
after: "change_back";
}
program {
name: "change_back";
action: STATE_SET "default" 0.2;
target: "box1";
transition: LINEAR 5.0;
}
}
}
group {
name: "grp_rect1";
parts {
part {
name: "r1";
type: RECT;
description {
state: "default" 0.0;
color: 255 0 0 255;
rel1 { relative: 0.0 0.0; }
rel2 { relative: 1.0 1.0; }
}
description {
state: "default" 0.1;
inherit: "default" 0.0;
color: 255 0 0 255;
}
}
}
}
group {
name: "grp_rect2";
parts {
part {
name: "r2";
type: RECT;
description {
state: "default" 0.0;
color: 0 255 0 255;
rel1 { relative: 0.0 0.0; }
rel2 { relative: 1.0 1.0; }
}
description {
state: "default" 0.1;
color: 0 0 255 255;
}
}
}
}
}
}}}
SVN revision: 52871
2010-09-29 00:28:54 +00:00
Christopher Michael
9916578131
And use Eina_Bool return values too.
...
SVN revision: 52833
2010-09-28 00:25:54 +00:00
Christopher Michael
b7b1a25c41
Fix edje entry callback to use Eina_Bool like ecore_imf is expecting.
...
SVN revision: 52832
2010-09-28 00:24:44 +00:00
Iván Briano
784ac71b15
Don't screw up script {} highlighting when there are several levels of {}
...
SVN revision: 52812
2010-09-27 21:12:09 +00:00
Vincent Torri
53081384df
cosmetic only: put files in alphabetic order.
...
SVN revision: 52737
2010-09-25 17:19:46 +00:00
Vincent Torri
1e1bb3b6a4
Put everything in edje_private. It should fix a compilation
...
bug on Windows
SVN revision: 52736
2010-09-25 17:10:33 +00:00
Carsten Haitzler
82470f073e
correctness!
...
SVN revision: 52618
2010-09-23 02:52:19 +00:00
Iván Briano
14187a92d3
Don't include Edje_Edit.h in edje_private.h and make it obvious at compile time that this API is not meant to be used outside of editors.
...
SVN revision: 52593
2010-09-22 14:52:23 +00:00
Carsten Haitzler
737556b8bb
more pi cleantyp -> typedef.
...
SVN revision: 52590
2010-09-22 13:35:47 +00:00
Carsten Haitzler
af2651748c
int -> enum.
...
SVN revision: 52589
2010-09-22 13:27:09 +00:00
Carsten Haitzler
7eb38a4063
comment++
...
SVN revision: 52587
2010-09-22 13:01:13 +00:00
Tom Hacohen
f1f122bd72
Edje entry: Fixed a lot of formatting issues. Patch by Jihoon Kim.
...
SVN revision: 52461
2010-09-19 08:08:17 +00:00
Carsten Haitzler
114d49883d
warnings--
...
warnings = 0
SVN revision: 52452
2010-09-19 03:04:17 +00:00
Carsten Haitzler
ead7329b42
warning--
...
(shuddup gcc)
SVN revision: 52433
2010-09-19 00:33:45 +00:00
Cedric BAIL
90858b58c1
* edje: remove unused variable.
...
SVN revision: 52364
2010-09-17 12:05:46 +00:00
Cedric BAIL
e01c8dacc2
* edje: prevent segv due to dead relative part.
...
SVN revision: 52347
2010-09-16 15:49:56 +00:00
Cedric BAIL
8102552b7a
* edje: cleanup aspect code and reduce memory presure.
...
SVN revision: 52304
2010-09-15 14:15:23 +00:00
Cedric BAIL
10356b8e50
* edje: turn it on again and go fix your theme :-)
...
SVN revision: 52303
2010-09-15 14:09:58 +00:00
Carsten Haitzler
c1c7e901f5
CEEEEEEEEEDRICCCCCCCCCCCCCCCC!
...
borked e conf panel. unbork. disable aspect.
SVN revision: 52273
2010-09-14 22:32:34 +00:00
Cedric BAIL
2e87895f67
* edje: remove use of flags as it was always set to FLAG_XY
...
in _edje_part_recalc_single.
SVN revision: 52245
2010-09-14 15:53:47 +00:00
Cedric BAIL
d1203fc0ca
* edje: fix edje use of aspect when constrained by min or max.
...
NOTE: If you have swallow or parts that where constrained by min and
max, and you used aspect on them, expect change on your layout.
SVN revision: 52244
2010-09-14 15:36:16 +00:00
Lucas De Marchi
e46b64199f
Don't check return value of alloca
...
alloca() doesn't return NULL on error, so do not check its return value.
SVN revision: 52199
2010-09-13 18:40:32 +00:00
Carsten Haitzler
2303255182
dont get item anchors so often!
...
SVN revision: 52187
2010-09-13 12:08:19 +00:00
Tom Hacohen
527a3f3579
Edje entry: Fixed a selection bug with IMF enabled and fix a couple of indentation issues, and a saftey check.
...
Patch by Jihoon Kim.
SVN revision: 52165
2010-09-12 08:15:35 +00:00
Lucas De Marchi
77d42e9cca
Simplify code by removing unneeded auxiliary variable
...
SVN revision: 52135
2010-09-10 11:25:26 +00:00
Lucas De Marchi
bd12ce52f7
Refactor function to return as early as possible
...
Instead of a looooooong 'if', return on the contrary.
SVN revision: 52134
2010-09-10 11:25:15 +00:00
Lucas De Marchi
fa4e9c4f18
Formatting
...
SVN revision: 52133
2010-09-10 11:25:05 +00:00
Lucas De Marchi
fe7cfb1e16
Refactor jumps
...
Instead of relying on the value of edf (and having to set it on all
places to NULL) jump to 'open' label on the only possible case of the
control flow.
SVN revision: 52132
2010-09-10 11:24:49 +00:00
Lucas De Marchi
31c1225bd7
Fix parameter order in help
...
Calling help in edje_player was showing the wrong order for sending a signal.
The right order is the same of the function edje_object_signal_emit()
SVN revision: 52105
2010-09-09 20:35:44 +00:00
Cedric BAIL
6e63db7303
* edje: cleanup collection early if the file is dangling.
...
SVN revision: 51991
2010-09-08 13:45:21 +00:00
Lucas De Marchi
3bec660090
Fix common misspellings
...
Following misspellings were fixed:
ammount->amount
arbitary->arbitrary
begining->beginning
carefull->careful
choosen->chosen
commited->committed
endig->ending
existance->existence
existant->existent
isnt->isn't
occured->occurred
postion->position
rougly->roughly
runing->running
shouldnt->shouldn't
soem->some
succesfully->successfully
succesful->successful
sucessful->successful
tranformed->transformed
usefull->useful
wehn->when
wich->which
SVN revision: 51988
2010-09-08 11:50:05 +00:00
Tom Hacohen
3e1ddfdbad
Edje entry: fix the usage of the new evas_textblock_cursor_geometry_get function.
...
SVN revision: 51980
2010-09-08 07:29:00 +00:00
Brett Nash
4bf9ee3df3
Merge branch 'elmdnd'
...
Conflicts:
trunk/TMP/st/elementary/.gitignore
SVN revision: 51935
2010-09-07 06:56:16 +00:00
Tom Hacohen
b12585ec57
Edje entry: started using the new evas_textblock_cursor_content_get.
...
SVN revision: 51899
2010-09-05 08:29:52 +00:00
Tom Hacohen
7258468265
Edje entry: Enabled Ecore_IMF.
...
Fixed formatting issues.
Fixed typos.
Fixed clearing of selection when pressing a key in a software keyboard.
Patch by Jihoon Kim and small adjustments by myself. Thanks a lot.
SVN revision: 51897
2010-09-05 07:20:47 +00:00
Carsten Haitzler
2d34d6d2a3
formatting fix + list walk optimisation.
...
SVN revision: 51874
2010-09-04 03:53:12 +00:00
Iván Briano
787a0d9c61
Don't put nulls in the list of programs, makes little sense.
...
SVN revision: 51863
2010-09-03 14:37:42 +00:00
Carsten Haitzler
76f750ea39
use new clipper flag
...
SVN revision: 51850
2010-09-03 00:07:52 +00:00
Tom Hacohen
87d2c74d3e
Edje entry: Fixed setting cursor on mouse click.
...
SVN revision: 51841
2010-09-02 13:52:14 +00:00
Tom Hacohen
ffe4d9bbe2
Edje entry: Started using evas_textblock_cursor_geometry_get for cursor position instead of char_geometry_get.
...
SVN revision: 51835
2010-09-02 11:50:52 +00:00
Iván Briano
d2ebce58b3
Eina Error messages in Edje Edit
...
This first commit only includes errors ocurred during group deletion
By: Thiago Ribeiro Masaki <masaki@profusion.mobi>
SVN revision: 51817
2010-09-01 17:15:52 +00:00
Gustavo Lima Chaves
7dd58ccc7a
A bit of doxy cleanliness here. More love needed, though.
...
SVN revision: 51791
2010-08-31 22:59:17 +00:00
Iván Briano
88f1723ccb
Avoiding access in NULL hash and little fixes.
...
If there isn't a font, the hash is NULL.
So, just check before to avoid problems.
Moreover, removing one line that had been lost in code generate of
fonts parts and moving it declaration for the right context
By: Fabiano Fidencio <fidencio@profusion.mobi>
SVN revision: 51786
2010-08-31 19:32:08 +00:00
Cedric BAIL
e687c13d1c
* edje: fix interpolation of text color during animation.
...
SVN revision: 51782
2010-08-31 13:30:11 +00:00
Vincent Torri
04b32dda5f
update Doxyfile to show more functions, types, etc...
...
The Doxyfile of the EFL need a complete review and update, I think
SVN revision: 51772
2010-08-31 05:02:16 +00:00
Iván Briano
b61db77029
Put fonts into the .edj file again.
...
SVN revision: 51684
2010-08-27 18:52:41 +00:00
Iván Briano
67dbaebcf6
Bring back (corrected) second check.
...
SVN revision: 51676
2010-08-27 12:20:58 +00:00
Lucas De Marchi
255b2cb870
Apply double_condition_check.cocci
...
The offending projects were:
E16/e/src/backgrounds.c | 10 ++++------
PROTO/eon/src/lib/layout/eon_stack.c | 4 +---
ecore/src/lib/ecore_win32/ecore_win32.c | 3 +--
ecore/src/lib/ecore_wince/ecore_wince.c | 3 +--
edje/src/lib/edje_edit.c | 3 +--
evas/src/lib/cache/evas_cache_image.c | 2 +-
exalt/src/lib/libexalt_private.c | 2 +-
This patch assumes code in these places were insane and the fix is to remove
one condition check. Most likely this is not true, but there's no automatic fix
for that.
Looking at the patch, it seems that some places should use "x" and "y" vars but
used just one of them and therefore they were caught by coccinelle.
SVN revision: 51666
2010-08-26 20:45:09 +00:00
Lucas De Marchi
d8002ff386
Revert and re-apply badnull patch
...
Revert previous patch generated by badnull.cocci script, and apply the new one.
The main difference is that assert and assert-like functions are not touched
anymore.
SVN revision: 51650
2010-08-26 01:34:13 +00:00
Tom Hacohen
293692f2ba
Edje entry: Fixed drawing of anchors.
...
SVN revision: 51647
2010-08-25 14:54:08 +00:00
Carsten Haitzler
fa19a2685b
evil after alloca
...
SVN revision: 51639
2010-08-25 10:38:15 +00:00
Carsten Haitzler
195960ebac
compile in windows again - i think. eapi hackery.
...
SVN revision: 51638
2010-08-25 10:37:08 +00:00
Cedric BAIL
800b1af09e
* edje: add file minor version field.
...
It will show a warning when loading file that may use feature from
newer edje (show up with EINA_LOG_LEVEL=2 in the env).
Please don't forget to increase it when you add feature to edje
file format without breaking backward compatibility.
SVN revision: 51636
2010-08-25 09:56:20 +00:00
Carsten Haitzler
f54f39eb39
alloca header fix for edje.
...
SVN revision: 51634
2010-08-25 09:25:36 +00:00
Carsten Haitzler
1d076da0c0
turn lots of if's into switch. should be more efficient (if compiler
...
isnt dumb)
SVN revision: 51623
2010-08-25 01:16:34 +00:00
Carsten Haitzler
5e36f9979b
nuke old obsolete lua stuff - except edje_lua.c. let it dangle with
...
the actual lua code in it entirely not being compiled just as reference until
it's killed off.
SVN revision: 51622
2010-08-25 01:09:44 +00:00
Cedric BAIL
b10e598f52
* edje: add back anonymous script.
...
SVN revision: 51617
2010-08-24 16:39:51 +00:00
Iván Briano
1959f2cfa7
Leak--
...
By Fidencio
SVN revision: 51616
2010-08-24 14:36:29 +00:00
Iván Briano
cf45f61885
Fixing return of edje_edit_fonts_list_get
...
The fuction was returning a private type (as
_Edje_Font_Directory_Entry) and an EAPI should *never*
return and private type.
By Fabiano Fidencio
SVN revision: 51615
2010-08-24 14:36:07 +00:00
Iván Briano
42b3ccd05a
Fixing {font,image}_del's ret when file not exist
...
When a file not exist, now, we're returning EINA_FALSE.
It's according with eina_hash_del()'s behavior.
By Fabiano Fidencio
SVN revision: 51614
2010-08-24 14:35:37 +00:00
Cedric BAIL
1f0b19c4b4
* edje: add back anonymous program support.
...
SVN revision: 51613
2010-08-24 14:17:17 +00:00
Cedric BAIL
5857b6030f
* edje: prevent segv when no param is given to edje_convert.
...
SVN revision: 51575
2010-08-23 14:44:04 +00:00
Lucas De Marchi
5a8a8c9014
Convert (hopefully) all comparisons to NULL
...
Apply badzero.cocci, badnull.coci and badnull2.cocci
This should convert all cases where there's a comparison to NULL to simpler
forms. This patch applies the following transformations:
code before patch ||code after patch
===============================================================
return a == NULL; return !a;
return a != NULL; return !!a;
func(a == NULL); func(!a);
func(a != NULL); func(!!a);
b = a == NULL; b = !a;
b = a != NULL; b = !!a;
b = a == NULL ? c : d; b = !a ? c : d;
b = a != NULL ? c : d; b = a ? c : d;
other cases:
a == NULL !a
a != NULL a
SVN revision: 51487
2010-08-21 13:52:25 +00:00
Cedric BAIL
7feeed5d8f
* edje: document undefined behaviour of edje_object_size_min_restricted_calc.
...
SVN revision: 51464
2010-08-20 09:20:48 +00:00
Christopher Michael
a74ed9abd8
Fix fat-finger copy-paste error. (Edje amalgamation would generate an
...
eina_amalgamation file).
SVN revision: 51399
2010-08-19 15:03:28 +00:00
Christopher Michael
251834fcd1
Add UNUSED where needed.
...
Cleanup some formatting.
SVN revision: 51398
2010-08-19 14:57:23 +00:00
Cedric BAIL
6b0ceb9b09
* edje: fix edje external module to be consistent with the rest of the efl.
...
SVN revision: 51296
2010-08-18 16:57:19 +00:00
Christopher Michael
8ef48b8537
Fix more 'may be used uninitialized' & 'unused variable' warnings.
...
SVN revision: 51295
2010-08-18 16:55:49 +00:00
Christopher Michael
6d945fbefe
Remove unused variable.
...
SVN revision: 51293
2010-08-18 16:51:27 +00:00
Christopher Michael
e8de81de74
Fix 'may be used uninitialized' warnings.
...
SVN revision: 51292
2010-08-18 16:51:10 +00:00
Iván Briano
eded23d2d0
Also change group name in the Edje smart data
...
SVN revision: 51279
2010-08-18 14:38:27 +00:00
Gustavo Lima Chaves
b3a4279383
Removing blank line and white space in gen-ed edc.
...
By Fidêncio.
SVN revision: 51268
2010-08-17 22:20:37 +00:00
Gustavo Lima Chaves
8f7a06e5ee
[PATCH 3/3] If the group is still in use it must not be deleted
...
SVN revision: 51257
2010-08-17 16:37:53 +00:00
Gustavo Lima Chaves
5a83ffea9a
[PATCH 2/3] group_del: the object was not being deleted from hash
...
In edje_edit_group_del, the object was not being removed from hash table
collection
SVN revision: 51256
2010-08-17 16:37:32 +00:00
Gustavo Lima Chaves
7a4e626074
[PATCH 1/3] checking if the pointer is null in edje_cache.c
...
SVN revision: 51255
2010-08-17 16:37:01 +00:00
Cedric BAIL
b0ddc29966
* edje: fix edje external module path.
...
SVN revision: 51251
2010-08-17 13:29:23 +00:00
Cedric BAIL
b6f316407f
* edje: less warnings by Albin Tonnerre.
...
SVN revision: 51249
2010-08-17 12:15:04 +00:00
Cedric BAIL
d55976760d
* edje: fix exported api by Albin Tonnerre.
...
SVN revision: 51248
2010-08-17 12:10:06 +00:00
Lucas De Marchi
80b44315f7
eina-0 is no more, check for the right package name
...
SVN revision: 51235
2010-08-17 03:59:29 +00:00
Carsten Haitzler
8a86d6b5c8
that was never meant to be there!
...
SVN revision: 51231
2010-08-16 21:22:42 +00:00
Carsten Haitzler
5c5bab8886
edje -> knocked off too for 1.0.0 alpha
...
SVN revision: 51177
2010-08-16 09:08:49 +00:00
Mike Blumenkrantz
bba476aa91
char* -> const char*
...
Patch by Fabiano "I'm smoking crack" Fidêncio
SVN revision: 51152
2010-08-16 03:50:27 +00:00
Carsten Haitzler
5187bf3585
fix up copyings likewise. nicely standardised templateish.
...
SVN revision: 51150
2010-08-16 03:00:16 +00:00
Carsten Haitzler
c657fd3904
and add to header too.
...
SVN revision: 51146
2010-08-16 02:04:46 +00:00
Carsten Haitzler
9b2549ecac
again - using internal symbols and NOT exporting them! bad!
...
SVN revision: 51145
2010-08-16 02:04:01 +00:00
Carsten Haitzler
7cd2be96f3
add back in copyright notice - how did that ever go away?
...
SVN revision: 51139
2010-08-15 21:53:24 +00:00
Cedric BAIL
1d1a36047b
* edje: remove edje_convert use in edje_cc.
...
SVN revision: 51134
2010-08-15 18:14:33 +00:00
Carsten Haitzler
480666910a
re-enable. valgrind happy now. hrrrm.
...
/ /
(o) (o)
..
~-~\.
SVN revision: 51110
2010-08-14 10:28:57 +00:00
Carsten Haitzler
966810eedb
ceeeeeeeeeeeeeeeeedric! :)
...
SVN revision: 51108
2010-08-14 04:03:33 +00:00
Iván Briano
f05fdb6085
Shuting up GCC warnings!
...
SVN revision: 51098
2010-08-13 20:40:27 +00:00
Iván Briano
9c3dabedc9
constifying (Edje_String)->str
...
SVN revision: 51097
2010-08-13 20:39:43 +00:00
Iván Briano
4d5915e787
Using edje_string_get in group's gen code
...
SVN revision: 51096
2010-08-13 20:38:57 +00:00
Iván Briano
8b2e29dc75
Use right key to find stuff in the eet file. By Fidencio
...
Store filename for the fonts when adding eith Edje_Edit. By Fidencio
Use the hash in edje_file to dump fonts with edje_decc, avoiding the
need for the fontmap, which should probably be taken out entirely later.
SVN revision: 51095
2010-08-13 20:07:12 +00:00
Cedric BAIL
6ccc46d500
* edje: finally fix all this eet mess.
...
SVN revision: 51087
2010-08-13 16:35:45 +00:00
Cedric BAIL
f5e69dcc73
* edje: last fix due to edje eet breakage.
...
SVN revision: 51086
2010-08-13 16:21:38 +00:00
Cedric BAIL
9d4ff894f1
* edje: fix eet change.
...
SVN revision: 51085
2010-08-13 16:06:50 +00:00
Cedric BAIL
4b3b130d17
* edje: fix eet api break.
...
SVN revision: 51081
2010-08-13 15:24:45 +00:00
Carsten Haitzler
550e1a7531
compiler wrong! fix!
...
SVN revision: 51068
2010-08-13 10:04:37 +00:00
Tiago Rezende Campos Falcao
00c8c7e257
Fixing Macro
...
Author: Thiago Ribeiro Masaki <masaki at profusion.mobi>
SVN revision: 51055
2010-08-12 18:24:48 +00:00
Iván Briano
419268e4f8
Fix usage of data_set/get/etc in Edje_Edit
...
SVN revision: 51052
2010-08-12 17:49:28 +00:00
Cedric BAIL
74fe3f6247
* edje: only link edje_convert with eina and eet.
...
SVN revision: 51051
2010-08-12 16:32:12 +00:00
Cedric BAIL
1b77b770fc
* edje: fix segv when converting old theme with gradient.
...
SVN revision: 51049
2010-08-12 15:29:00 +00:00
Cedric BAIL
c1436aac91
* edje: fix memory leak.
...
SVN revision: 51046
2010-08-12 15:05:56 +00:00
Cedric BAIL
2623367732
* edje: fix some memleak issue.
...
SVN revision: 51033
2010-08-12 12:58:54 +00:00
Cedric BAIL
d4bf64d1c2
* edje: move code around.
...
SVN revision: 51016
2010-08-11 18:29:41 +00:00
Tiago Rezende Campos Falcao
186b6905ce
Changing return type of state_{add,del}. By Fidencio
...
Now, returning Eina_Bool instead of void, makes more sense.
Author: Fabiano Fidencio <fidencio at profusion.mobi>
SVN revision: 51005
2010-08-11 16:23:50 +00:00
Tiago Rezende Campos Falcao
128482520c
Little improvements in gen code. By Fidencio
...
Avoiding that "normal" field of image and "font" field of text can be wrote as
NULL by edc generate.
Moreover, avoiding that defaults values are wrote with the default edc values.
ie:
- transition: LINEAR 0.00 (in a program)
- size: 0 (in a text)
Author: Fabiano Fidencio <fidencio at profusion.mobi>
SVN revision: 51004
2010-08-11 16:23:48 +00:00
Tiago Rezende Campos Falcao
7d79afff1c
Updating fnt collection to according with new edje. By Fidencio
...
Author: Fabiano Fidencio <fidencio at profusion.mobi>
SVN revision: 51003
2010-08-11 16:23:45 +00:00
Tiago Rezende Campos Falcao
1dd3fb5031
Updating img collection to according with new edje. By Fidencio.
...
Author: Fabiano Fidencio <fidencio at profusion.mobi>
SVN revision: 51002
2010-08-11 16:23:43 +00:00
Tiago Rezende Campos Falcao
acefc2a54c
Fixing bad indentation in glima's commit. By Fidencio
...
Author: Fabiano Fidencio <fidencio at profusion.mobi>
SVN revision: 51001
2010-08-11 16:23:40 +00:00
Iván Briano
b8b8381576
No need for path in font_directory, and use the right key to store/find them
...
SVN revision: 50999
2010-08-11 14:24:03 +00:00
Tiago Rezende Campos Falcao
3de5ea12d5
Code generation for data block
...
SVN revision: 50995
2010-08-11 12:51:41 +00:00
Tiago Rezende Campos Falcao
8e66149870
Code generation for collections and parts
...
SVN revision: 50994
2010-08-11 12:51:39 +00:00
Tiago Rezende Campos Falcao
9a5446f29a
Fix list of part types
...
SVN revision: 50993
2010-08-11 12:51:36 +00:00
Tom Hacohen
3f26549b17
Edje: Fixed going to the start of the line.
...
SVN revision: 50989
2010-08-11 09:40:21 +00:00
Iván Briano
5f6515790a
Properly store data values when changing them
...
SVN revision: 50976
2010-08-10 21:54:50 +00:00
Tiago Rezende Campos Falcao
51d0738c97
Adding checkers to data and font lists get
...
SVN revision: 50964
2010-08-10 14:25:10 +00:00
Tom Hacohen
f0a716f970
Edje: Fixed edje_object_part_text_cursor_content_get to handle non-english.
...
Thanks to Brian Wang for reporting.
SVN revision: 50953
2010-08-10 07:16:45 +00:00
Iván Briano
6d01819c7f
Check part types before casting descriptions
...
SVN revision: 50949
2010-08-09 23:09:24 +00:00
Gustavo Lima Chaves
ae5a95f108
Bad malloc here.
...
By Helen Mae.
SVN revision: 50947
2010-08-09 22:28:53 +00:00
Cedric BAIL
33af18dfd1
* edje: fix eapi declaration.
...
SVN revision: 50946
2010-08-09 22:21:36 +00:00
Carsten Haitzler
f0c303a5d7
bork cedric.. bork. accessing internal symbols/apis without exposing
...
them! you should check over this and probably provide a correct/formal
way to access them. for now EAPI quickly in.
SVN revision: 50945
2010-08-09 22:01:08 +00:00
Cedric BAIL
7d69e96bfe
* edje: use mempool for Edje_Part and Edje_Part_Description_*.
...
SVN revision: 50944
2010-08-09 21:08:08 +00:00
Cedric BAIL
ca93c6e5e4
* edje: fix version detection.
...
SVN revision: 50940
2010-08-09 18:31:25 +00:00
Cedric BAIL
f3894fdd27
* edje: add some error detection.
...
SVN revision: 50939
2010-08-09 18:22:48 +00:00
Cedric BAIL
415b06bf48
* edje: oops forgotten file.
...
SVN revision: 50937
2010-08-09 18:00:02 +00:00
Cedric BAIL
9ecc1354c6
* edje: new file format.
...
WARNING ! WARNING ! WARNING ! WARNING !
Old file format is not readable by edje directly. If you have old edje
file that you want to convert, use edje_convert. Their is no way back.
Recompile your file as soon as possible. Please report any issue you
spot as this is a huge and needed change.
SVN revision: 50936
2010-08-09 17:34:03 +00:00
Tom Hacohen
48180c9859
edje: Updated edje to conform with recent textblock changes.
...
'Return' now inserts a Paragraph Separator.
'Shift + Return' now inserts a New Line.
SVN revision: 50931
2010-08-09 16:25:45 +00:00
Gustavo Lima Chaves
e05e8b94e5
Safeguarding alloc-ed region againt trash.
...
This fixes external parts' state copies.
SVN revision: 50875
2010-08-06 22:03:32 +00:00
Gustavo Lima Chaves
8ea5943de6
Bad free() at state_copy().
...
By Fidêncio.
SVN revision: 50874
2010-08-06 21:21:16 +00:00
Gustavo Lima Chaves
bf4be4f0ec
More on fixing state copies at edje edit: do not overwrite state's name and value.
...
SVN revision: 50873
2010-08-06 21:18:58 +00:00
Gustavo Lima Chaves
4cc5508828
Switch case usage.
...
By Fidêncio.
SVN revision: 50872
2010-08-06 21:16:57 +00:00
Gustavo Lima Chaves
1fb4439d36
Macro undef-ing.
...
Patch by Fidêncio.
SVN revision: 50871
2010-08-06 21:15:29 +00:00
Jonathan Atton
6772fa343d
Edje: a signal can be sent in a item of a table.
...
SVN revision: 50870
2010-08-06 19:52:07 +00:00
Tiago Rezende Campos Falcao
5962065b2b
Fix part deletion in edje_edit with new edje data
...
SVN revision: 50869
2010-08-06 19:16:46 +00:00
Tiago Rezende Campos Falcao
a5f73d85c0
Decrement description counters in edje_collection_free_part_description_free
...
SVN revision: 50868
2010-08-06 19:16:43 +00:00
Cedric BAIL
0df8a2e7a8
* edje: move code around.
...
SVN revision: 50858
2010-08-06 11:07:47 +00:00
Cedric BAIL
24332dd3eb
* edje: typo.
...
SVN revision: 50857
2010-08-06 08:59:51 +00:00
Gustavo Lima Chaves
aebc93ba81
Oopsies at program code @ edje_edit.
...
Patch by Thiago Masaki.
SVN revision: 50845
2010-08-05 22:08:55 +00:00
Cedric BAIL
ec632e5788
* edje: fix edje image generation.
...
SVN revision: 50832
2010-08-05 10:00:16 +00:00
Lucas De Marchi
0a4617ae38
FORMATTING
...
* Remove vim modelines:
find . -name '*.[chx]' -exec sed -i '/\/\*$/ {N;N;/ \* vim:ts/d}' \{\} \;
find . -name '*.[chx]' -exec sed -i '/\/[\*\/] *vim:/d' \{\} \;
* Remove leading blank lines:
find . -name '*.[cxh]' -exec sed -i '/./,$!d'
If you use vim, use this in your .vimrc:
set ts=8 sw=3 sts=8 expandtab cino=>5n-3f0^-2{2(0W1st0
SVN revision: 50816
2010-08-04 16:57:32 +00:00
Cedric BAIL
c94ae93096
* edje: split programs type in different stack for later speed improvements.
...
SVN revision: 50810
2010-08-04 14:25:40 +00:00
Gustavo Lima Chaves
457525aa7d
Fixing typo.
...
Patch by Fidêncio.
SVN revision: 50791
2010-08-03 22:22:31 +00:00
Gustavo Lima Chaves
50190aeb22
Fixing bad realloc usage.
...
By Fabiano Fidêncio.
SVN revision: 50790
2010-08-03 22:15:02 +00:00
Gustavo Lima Chaves
da771758de
Wrong return value here.
...
SVN revision: 50778
2010-08-03 18:36:42 +00:00
Gustavo Lima Chaves
e378c6035d
Fixing wrong memory allocations.
...
SVN revision: 50769
2010-08-03 16:45:37 +00:00
Tiago Rezende Campos Falcao
87034f74ac
Call only once the eina_list_last(_edje_file_cache)
...
SVN revision: 50768
2010-08-03 14:27:47 +00:00
Cedric BAIL
74f7480e41
* edje: fix some issue during destruction of edje_part_description,
...
and move tweens to an array.
SVN revision: 50765
2010-08-03 12:58:31 +00:00
Gustavo Sverzut Barbieri
3994aee4d8
let's stop smoking crack while coding :-P
...
dudes, WTF is that look to check for numbers, then use atoi()??? Use
strtol() and let it do both in one pass. Also, just do these for part
types that make sense. The loop using child could result in unused
variables in lots of cases, returning the wrong value when not found.
SVN revision: 50757
2010-08-02 23:35:30 +00:00
Christopher Michael
a7049f1f16
Rename 'same named' macros.
...
NB - Please use different macro names in the future for stuff like this
(ie: not the same macro name in each file) as it spits nasty compiler
warnings when compiling w/ amalgamation.
SVN revision: 50748
2010-08-02 19:06:07 +00:00
Cedric BAIL
1ba6b50042
* edje: fix counting.
...
SVN revision: 50742
2010-08-02 12:41:28 +00:00
Jonathan Atton
6e1ada9850
Edje: now we can refer to the content of a external type
...
SVN revision: 50730
2010-08-01 17:27:31 +00:00
Mike Blumenkrantz
5c670876c0
verify that fopen succeeded
...
SVN revision: 50709
2010-07-31 05:24:47 +00:00
Mike Blumenkrantz
2174b972fc
new can of grandma's LEEK B GON
...
SVN revision: 50707
2010-07-31 05:17:56 +00:00
Mike Blumenkrantz
056cfca56f
const
...
SVN revision: 50706
2010-07-31 05:10:44 +00:00
Mike Blumenkrantz
31743ae6de
comment out unused variables
...
SVN revision: 50705
2010-07-31 05:01:54 +00:00
Mike Blumenkrantz
bb0b72558f
add lengthy comment to document an obvious bug that someone who knows the code should fix
...
FIX THIS!!!!!!!!!!!!!
SVN revision: 50704
2010-07-31 05:01:34 +00:00
Mike Blumenkrantz
f33f0139a6
move a couple variables into loops, reformat slightly to make obvious a redundant variable set
...
SVN revision: 50703
2010-07-31 05:00:42 +00:00
Mike Blumenkrantz
40a5ee431a
another case without a break
...
SVN revision: 50702
2010-07-31 04:58:32 +00:00
Mike Blumenkrantz
ae3e0ce5c5
comment a couple unused lines and add a break to a case instead of falling through to autoreturn NULL
...
SVN revision: 50701
2010-07-31 04:28:27 +00:00
Christopher Michael
55d0190185
Don't use the same macro name in each file, gives nasty compiler warnings when
...
using amalgamation.
SVN revision: 50696
2010-07-31 01:21:30 +00:00
Cedric BAIL
c897468e7e
* edje: more unitialized case handled.
...
SVN revision: 50685
2010-07-30 09:53:20 +00:00
Cedric BAIL
29893ac71c
* edje: fix rename of a part.
...
SVN revision: 50684
2010-07-30 09:08:37 +00:00
Cedric BAIL
50eb17c966
* edje: fix counting.
...
SVN revision: 50681
2010-07-30 08:29:13 +00:00
Cedric BAIL
e773bc9246
* edje: change memory layout that will become the new file format.
...
NOTE: I tried this change with all the apps and theme I had, but maybe
i missed some bug. Please report any strange behaviour.
SVN revision: 50641
2010-07-29 12:02:36 +00:00
Hugo Camboulive
e4b874d3c4
From: Hugo Camboulive <hugo.camboulive@gmail.com>
...
Subject: [E-devel] [E-Devel] [Patch] Edje Message - add the callback
recursively
When you send a message from an edje subgroup (part { type: GROUP
...}), the
message callback isn't called because it tries to reach
ed->message.func,
which is only defined for the top edje part.
This patches adds the callback and data to all the subgroups
recursively.
SVN revision: 50538
2010-07-27 10:08:40 +00:00
Cedric BAIL
a6b33190b0
* edje: fix fit code when string is empty.
...
SVN revision: 50537
2010-07-27 10:06:02 +00:00
Carsten Haitzler
1dbda53fe1
bah!
...
SVN revision: 50507
2010-07-26 07:24:17 +00:00
Carsten Haitzler
0cdb510001
fix up docs. edje player - 60fps
...
SVN revision: 50505
2010-07-26 06:52:36 +00:00
Christopher Michael
32d67b080a
Don't need 2 of the same variables.
...
SVN revision: 50473
2010-07-24 02:28:24 +00:00
Mike Blumenkrantz
5d5517868b
fix leak
...
SVN revision: 50469
2010-07-24 02:04:53 +00:00
Christopher Michael
e42fd65b80
Fix use of __UNUSED__ and fix some formatting.
...
SVN revision: 50437
2010-07-22 18:42:44 +00:00
Cedric BAIL
05a03bd60c
* edje: fix constness warning.
...
SVN revision: 50368
2010-07-19 16:41:19 +00:00
Cedric BAIL
793c66b5dc
* edje: last move of properties in the right structure.
...
SVN revision: 50284
2010-07-16 16:00:26 +00:00
Cedric BAIL
93ea3f4e52
* edje: move all structures outside of Edje_Part_Description.
...
SVN revision: 50283
2010-07-16 14:24:57 +00:00
Cedric BAIL
04ffefa9e5
* edje: move image specific properties to their own structure.
...
SVN revision: 50282
2010-07-16 14:13:38 +00:00
Cedric BAIL
83bb52f7c9
* edje: attempt to reduce code size by using more macro.
...
SVN revision: 50281
2010-07-16 13:58:35 +00:00
Cedric BAIL
8e1a7c28e6
* edje: jump to the right offset in the string.
...
SVN revision: 50280
2010-07-16 13:05:37 +00:00
Cedric BAIL
30d35eb1ba
* edje: start to split structure content.
...
SVN revision: 50279
2010-07-16 11:37:58 +00:00
Cedric BAIL
9685d5d369
* edje: count each type of description.
...
SVN revision: 50267
2010-07-15 13:38:07 +00:00
Carsten Haitzler
cebe53cd3d
final existing exposed api works. fixme time.
...
SVN revision: 50246
2010-07-14 08:07:26 +00:00
Carsten Haitzler
a6224e33b0
more edje lua api in.
...
SVN revision: 50245
2010-07-14 05:32:48 +00:00
Lucas De Marchi
2a84379ba9
Remove unneeded code with notnull.cocci script
...
The notnull.cocci script from Coccinelle finds places where you check if a
variable is NULL, but it's known not to be NULL. The check can be safely
removed. For example, this code would be caught by notnull:
if (!var) return;
if (var && var->fld) { ... }
It's needless to check again if var is not NULL because if it's in fact NULL,
it would have returned on the previous "if". This commit removes all the
trivial places where this pattern happens. Another patch will be generated for
the more complex cases.
SVN revision: 50241
2010-07-14 02:05:47 +00:00
Cedric BAIL
b49c2411bd
* edje: when gradient meet dodo. Yes, they are gone !
...
SVN revision: 50223
2010-07-13 15:47:19 +00:00
Tiago Rezende Campos Falcao
ab8cdf1979
EDC Snippets for vim snipmate
...
SVN revision: 50222
2010-07-13 13:58:37 +00:00
Carsten Haitzler
290e2bb6b7
fill in moar.
...
SVN revision: 50213
2010-07-13 06:47:18 +00:00
Carsten Haitzler
038e71b4ce
oooh lua... looking good.
...
SVN revision: 50212
2010-07-13 06:17:15 +00:00
Vincent Torri
82fa7e0fa0
don't install private headers
...
SVN revision: 50166
2010-07-09 20:24:49 +00:00
Gustavo Sverzut Barbieri
dcced661a2
fix amalgamation after lua2 changes.
...
BTW, if lua2 is the default, maybe we could remove the mess that is
the first version? SVN serves as history as well.
SVN revision: 50157
2010-07-09 14:24:14 +00:00
Carsten Haitzler
b4748494e2
start to fill in some object methods. empty for now
...
SVN revision: 50151
2010-07-09 07:52:53 +00:00
Christopher Michael
5cf875426f
Move Edje (and associated headers) to own dir.
...
SVN revision: 50146
2010-07-09 06:35:02 +00:00
Carsten Haitzler
9f2028be95
message worketh now too.
...
SVN revision: 50140
2010-07-09 05:57:17 +00:00
Carsten Haitzler
519ca3be8b
lua2 getting gooooooooooooooood. message method still needs work.
...
SVN revision: 50139
2010-07-09 05:12:35 +00:00
Carsten Haitzler
f723c133d7
more api. yo.
...
SVN revision: 50137
2010-07-09 00:46:42 +00:00
Carsten Haitzler
3f941f2e46
bah! i didnt mean to add this "make 2 of them" test to svn. remove.
...
SVN revision: 50097
2010-07-07 23:39:12 +00:00
Carsten Haitzler
bf32b545f3
notes, setjmp safety for panics.
...
SVN revision: 50092
2010-07-07 03:24:05 +00:00
Carsten Haitzler
ba9137e404
more time calls.
...
SVN revision: 50091
2010-07-07 02:40:46 +00:00
Carsten Haitzler
06dd419b4b
transition++
...
SVN revision: 50089
2010-07-07 00:58:34 +00:00
Carsten Haitzler
d26b1c46fd
animator works.
...
SVN revision: 50088
2010-07-07 00:19:39 +00:00
Carsten Haitzler
ec1bf49da9
lua2 stuff.
...
SVN revision: 50061
2010-07-06 09:35:34 +00:00
Iván Briano
b895f0c07f
Re-convert to old format on Edje_Edit when saving
...
SVN revision: 50016
2010-07-03 22:50:58 +00:00
Lucas De Marchi
622d0a901f
segv--
...
SVN revision: 50011
2010-07-03 15:48:01 +00:00
Rui Seabra
b4fe249fce
edje_convert.h wasn't included in make dist
...
SVN revision: 50010
2010-07-03 11:26:00 +00:00
Jonathan Atton
88c1bf3585
Fix research with Alias
...
SVN revision: 50003
2010-07-02 18:17:37 +00:00
Cedric BAIL
9560d51241
* edje: Add alias for part too. This should help designer to
...
provide the right part name and still use GROUP and BOX.
SVN revision: 50001
2010-07-02 16:56:42 +00:00
Cedric BAIL
ba95606159
* edje: prevent some segv in edje_cc and detect wrong edje file
...
before compiling them.
Patch by Rafael Fonseca <rfonseca@profusion.mobi>.
SVN revision: 49999
2010-07-02 15:37:37 +00:00
Carsten Haitzler
65ee259ada
code example wrong
...
SVN revision: 49957
2010-07-01 02:42:57 +00:00
Cedric BAIL
c2b8feda9e
* Edje: deprecate Gradient part by displaying an error message
...
on edje file load.
WARNING: THIS CODE WILL BE GONE IF NO ONE IS WILLING TO TAKE
MAINTAINER SHIP OF IT.
SVN revision: 49946
2010-06-30 09:49:15 +00:00
Cedric BAIL
4e30cb2411
* edje: move structure from Eina_List to array now that Eet support
...
them.
SVN revision: 49936
2010-06-29 13:48:03 +00:00
Cedric BAIL
5da985c981
* edje: add an cache for group exist test.
...
SVN revision: 49928
2010-06-28 17:18:47 +00:00
Cedric BAIL
e17a4089df
* edje: This is the first commit of a rewrite of edje file
...
internal representation.
The objectiv is to simplify code, consume less CPU and memory
without loosing feature. Please report any breakage when you
see them. It will take a few weeks before we change the file
layout, during that time the load time may increase.
SVN revision: 49922
2010-06-28 13:56:30 +00:00
Carsten Haitzler
89baaff057
and final post snap - next releasename
...
SVN revision: 49903
2010-06-27 14:06:10 +00:00
Carsten Haitzler
83b36be7a3
snap+release
...
SVN revision: 49899
2010-06-27 13:45:27 +00:00
Carsten Haitzler
ef41fb2d94
Snapshot edje
...
SVN revision: 49894
2010-06-27 13:32:53 +00:00
Vincent Torri
9a7760d37d
remove useless log domain
...
SVN revision: 49882
2010-06-26 19:41:41 +00:00
Vincent Torri
45ba76b16e
remove useless namespace
...
SVN revision: 49881
2010-06-26 19:41:04 +00:00
Vincent Torri
818fa06716
disable slave mode on Windows
...
SVN revision: 49879
2010-06-26 16:20:50 +00:00
Vincent Torri
29c8151341
missing "
...
SVN revision: 49862
2010-06-25 10:12:23 +00:00
Cedric BAIL
73ac5cdc95
* edje: remove warning due to API change in Ecore.
...
SVN revision: 49830
2010-06-24 16:16:50 +00:00
Vincent Torri
75d6f4ce18
fix test
...
SVN revision: 49823
2010-06-23 18:19:10 +00:00
Vincent Torri
c8caae0ae8
consider the case when lua has no .pc file
...
SVN revision: 49822
2010-06-23 18:17:14 +00:00
Tiago Rezende Campos Falcao
11ca8f8aa0
Extract the VBA file. And adding one metafile.
...
The metafile is for use with vim-addon-manager.
Read more in http://github.com/MarcWeber/vim-addon-manager/blob/master/doc/vim-addon-manager.txt
For future, merge with billiob's edc.vim.
SVN revision: 49799
2010-06-22 18:47:37 +00:00
Iván Briano
47a7d86e5c
Add scale set/get to Edje_Edit.
...
By: Iván Briano <ivan@profusion.mobi>
SVN revision: 49746
2010-06-18 22:08:05 +00:00
Iván Briano
fe6fe835a5
Fixing verify and set problems in externals types
...
Edje Edit was writing the info in the struct before verify if the value
can be set. New the verify works and the old value is recover if verify
fails.
By: Fabiano Fidencio <fidencio@profusion.mobi>
SVN revision: 49745
2010-06-18 22:07:54 +00:00
Cedric BAIL
a1bfc834d5
* configure.ac: take inept translation a little bit into account.
...
SVN revision: 49743
2010-06-18 14:45:42 +00:00
Vincent Torri
be2c84be5c
add delete_request callback to properly shut down the program
...
SVN revision: 49724
2010-06-17 06:27:53 +00:00
Iván Briano
8a0aee6c5c
Setters and getters functions to Api property of Parts and Programs
...
Now we can set and retrieve, name and descripition of the api
property, from Parts and Programs.
By: Thiago Ribeiro Masaki <masaki@profusion.mobi>
SVN revision: 49678
2010-06-15 01:51:46 +00:00
Cedric BAIL
4eadc13551
* edje: fix constness issue.
...
SVN revision: 49666
2010-06-14 14:38:58 +00:00
Cedric BAIL
0cd94dd382
* edje: remove debug printf.
...
SVN revision: 49616
2010-06-10 16:30:37 +00:00
Cedric BAIL
1ebbbd7d37
* edje: improve the way to target children of box and table.
...
You can now adress them with somethin like part[name]:subpart
or part[index]:subpart in all signal emit code and API that
require a part to be specified.
TODO: we need to add this index/name information when a signal
is emitted from a subpart.
SVN revision: 49614
2010-06-10 15:40:51 +00:00
Cedric BAIL
abdf415cc5
* edje: prevent uninitialized data to spread.
...
WARNING: I don't know why in the first it doesn't map correctly to
an object. So if someone with more knowledge on this piece of code
could give it a look.
SVN revision: 49613
2010-06-10 15:37:50 +00:00
Gustavo Sverzut Barbieri
ddb8c95fa9
SVN_REPO_PATH envvar during autoconf to use svnversion in there.
...
Some systems, like the Gentoo, copy the svn contents somewhere before
doing the autoconf, this may result in lack of .svn and thus minor
version "0".
This patch introduces the $SVN_REPO_PATH to say where the svn checkout
containing the ".svn" directory is.
SVN revision: 49594
2010-06-09 18:22:47 +00:00
Iván Briano
0b248559fb
Remove duplicated prototypes
...
SVN revision: 49591
2010-06-09 14:39:59 +00:00
Vincent Torri
1a1410895c
use correct enum variable (same value, though)
...
SVN revision: 49543
2010-06-06 19:26:12 +00:00
Carsten Haitzler
1520bad01b
restore after snap/release
...
SVN revision: 49540
2010-06-06 17:43:03 +00:00
Carsten Haitzler
75de3ef6d1
Snapshot edje
...
SVN revision: 49535
2010-06-06 17:26:51 +00:00
Carsten Haitzler
f0eee2d260
post-snap anr release.. reset svn back.. this time for real.
...
SVN revision: 49526
2010-06-06 17:17:52 +00:00
Carsten Haitzler
a49bd60501
Snapshot edje
...
SVN revision: 49518
2010-06-06 16:42:44 +00:00
Carsten Haitzler
25ff64e960
post release - move relname to pre-svn again.
...
SVN revision: 49506
2010-06-06 16:23:16 +00:00
Carsten Haitzler
2f3fcc0ccd
Snapshot edje
...
SVN revision: 49499
2010-06-06 16:08:10 +00:00
Fabiano Fidêncio
40563f8aef
From: Fabiano Fidêncio <fidencio@profusion.mobi>
...
Changing return of Eina_Bool functions that were not EINA_TRUE or
EINA_FALSE in Edje.
SVN revision: 49469
2010-06-05 13:07:08 +00:00
Vincent Torri
7851a9cc0e
fcntl is used, so evil is needed on Windows
...
SVN revision: 49456
2010-06-04 20:23:53 +00:00
Vincent Torri
8de402fabc
put efl headers after standard headers
...
SVN revision: 49452
2010-06-04 19:15:57 +00:00
Carsten Haitzler
2049cf563c
leake! fix!
...
SVN revision: 49445
2010-06-04 06:45:46 +00:00
Iván Briano
99c7285483
Move functions around and fix the style to match the rest.
...
SVN revision: 49437
2010-06-04 03:08:18 +00:00
Carsten Haitzler
a4769c42cb
change svnversion shell goop to nuke sed and just use tr to delete
...
unwanted goop.
SVN revision: 49429
2010-06-04 01:04:24 +00:00
Iván Briano
6600f0c43f
Let git-svn users get the right revision number to be used as version.
...
SVN revision: 49407
2010-06-03 07:40:54 +00:00
Cedric BAIL
95f157da9f
* edje: fix constness warning.
...
SVN revision: 49372
2010-06-01 14:35:19 +00:00
Cedric BAIL
83e505b5c6
* edje: Add image set support.
...
Ease support of Freedesktop multiple size image.
Sample:
-------
images {
..
set {
name: "image_name_used";
image {
image: "500x500.png" LOSSY 90;
size: 201 201 500 500;
}
image {
image: "200x200.png" COMP;
size: 51 51 200 200;
}
image {
image: "50x50.png" COMP;
size: 11 11 50 50;
}
image {
image: "10x10.png" COMP;
size: 0 0 10 10;
}
}
..
}
SVN revision: 49369
2010-06-01 13:31:07 +00:00
Carsten Haitzler
f1e19253e6
nopw svn revision works again.
...
SVN revision: 49344
2010-05-31 03:12:45 +00:00
Carsten Haitzler
17dfab359b
fix - if no svn tree, then it will pretend to be a release.
...
SVN revision: 49343
2010-05-31 01:59:22 +00:00
Carsten Haitzler
2136ee4451
edje -> version info
...
SVN revision: 49281
2010-05-29 08:05:11 +00:00
Carsten Haitzler
cc621a2685
not fully done string insert approval cb for entry
...
SVN revision: 49276
2010-05-29 06:40:56 +00:00
Bruno Dilly
66c015f3cc
Fix _edje_entry_cursor_end function.
...
This fix the issue with elementary cursor end set function.
The cursor is now after the last textblock node, and not before it, as
it was until now.
SVN revision: 49242
2010-05-27 22:18:37 +00:00
Bruno Dilly
5a34288bfb
Add '-h' argument to edje_decc and improve usage message.
...
SVN revision: 49221
2010-05-27 02:39:20 +00:00
Carsten Haitzler
a66404bfe2
ummmm edje wasnt processing the message queue. use jobs a little better.
...
SVN revision: 49204
2010-05-26 11:41:35 +00:00
Tiago Rezende Campos Falcao
9317ce25ac
INT_MAX need limits.h. By Raphael Kubo
...
SVN revision: 49117
2010-05-21 22:53:41 +00:00
kiwi
b55d9b91c3
preprocess the edc file on OpenBSD as on MacOS X.
...
NetBSD and FreeBSD might have the same issue
fixes handling of #define and comments in edc files, so e theme builds now on OpenBSD
SVN revision: 49113
2010-05-21 19:58:40 +00:00
kiwi
0bc9b1cf55
set EDJE_EXTERNAL_DOUBLE_UNSET to DBL_MAX instead of HUGE_MAX, so that it's a constant on OpenBSD.
...
set EDJE_EXTERNAL_INT_UNSET to INT_MAX for consistency.
that fixes compilation on OpenBSD and closes ticket #540
ok vtorri
SVN revision: 49112
2010-05-21 19:28:33 +00:00
Eduardo Felipe
023da4d5ba
From: Eduardo Felipe <eduardofelipe87@gmail.com>
...
Upon creating a timer, it's callback must return an int, otherwise it
would panic. The python bindings do the nicety of, if the callback
function returns nothing, automatically canceling the reschedule of
the timer.
This patch does the same for lua. It's a oneliner.
SVN revision: 49051
2010-05-20 04:48:17 +00:00
Michael Lauer
dc4449c764
edje: be more precise about the Lua version we are expecting
...
SVN revision: 48676
2010-05-08 10:54:40 +00:00
Boris Faure
625818de6e
edje: get parts in a part type BOX/TABLE
...
SVN revision: 48513
2010-05-01 17:13:38 +00:00
Boris Faure
5a4287896d
edje: wibble
...
SVN revision: 48509
2010-05-01 16:17:44 +00:00
Carsten Haitzler
9f030460b3
use part geom for map - better for text.. oh yeah.
...
SVN revision: 48498
2010-05-01 12:40:27 +00:00
Iván Briano
0346030c17
Always allow selections for entries when select_mode is default
...
SVN revision: 48434
2010-04-29 19:56:59 +00:00
Tiago Rezende Campos Falcao
266ac4bd99
update mtime when save
...
SVN revision: 48432
2010-04-29 18:52:59 +00:00
Tiago Rezende Campos Falcao
ea7c060805
Code Replication --
...
SVN revision: 48431
2010-04-29 18:52:55 +00:00
Iván Briano
843fb898ef
be friendly with the commonlispers who like to call init and shutdown more than once
...
SVN revision: 48409
2010-04-28 23:10:31 +00:00
Iván Briano
2f9b52fb1c
When changing source of a GROUP part, set/clean the swallowed_object, by Thiago Masaki
...
SVN revision: 48398
2010-04-28 18:40:05 +00:00
Iván Briano
53f05ae0e5
A bit more carefulness when deleting states.
...
SVN revision: 48352
2010-04-26 22:51:24 +00:00
Iván Briano
675bb06b45
Make program_del() a bit more straight forward while fixing the problems it had updating references.
...
SVN revision: 48350
2010-04-26 22:35:49 +00:00
Tiago Rezende Campos Falcao
a68f8e5529
Edje_edit font_del
...
SVN revision: 48339
2010-04-26 18:19:49 +00:00
Tiago Rezende Campos Falcao
f95de840fa
Edje_edit font_add with alias
...
SVN revision: 48338
2010-04-26 18:19:46 +00:00
Tiago Rezende Campos Falcao
023d8d6c15
Edje_edit image_del
...
SVN revision: 48337
2010-04-26 18:19:43 +00:00
Tiago Rezende Campos Falcao
1c1eee2805
Edje_edit image_add review
...
SVN revision: 48336
2010-04-26 18:19:39 +00:00
Carsten Haitzler
685fadf869
item provider callback... add!
...
SVN revision: 48329
2010-04-26 14:55:45 +00:00
Carsten Haitzler
2d349c2d7b
and dont mix anchors and items - for now. for now now way to "get" all the
...
items. mulling over how an item href name will map to having an evas object
attached/supplied (once there, its' easy to just control the object like href
objects, selection and cursor objects are).
SVN revision: 48311
2010-04-25 13:57:41 +00:00
Carsten Haitzler
39de4a6db7
support items... yo... mostly.
...
SVN revision: 48307
2010-04-25 13:06:58 +00:00
Carsten Haitzler
0dd3139705
apparently fbsd is unaware of expr substr...
...
SVN revision: 48276
2010-04-24 14:31:36 +00:00
Iván Briano
8b706a1786
Also use an edit object when generating the source.
...
SVN revision: 48231
2010-04-22 20:29:35 +00:00
Iván Briano
78ff22f2dc
Fix infinite loop when trying to group_del and group_add when id is zero.
...
By Thiago Masaki
SVN revision: 48228
2010-04-22 19:09:30 +00:00
Iván Briano
812b9ef672
Un/Clip swallowed objects too when setting clipper.
...
SVN revision: 48225
2010-04-22 18:13:21 +00:00
Iván Briano
f18163a403
Edje Edit: Now inherits the smart from Edje and has stuff of its own in there.
...
To use the Edje Edit API now you need to add the object to the canvas with edje_edit_object_add().
Normal edje functions will work as usual, but it's no longer possible to tamper with the standard objects internals.
Also, big reformat of Edje_Edit.h while fixing docs. Yes, monster commit.
SVN revision: 48220
2010-04-22 17:56:00 +00:00
Boris Faure
7dc9294519
edje: improve vim syntax file and become the maintainer
...
SVN revision: 48214
2010-04-21 21:00:40 +00:00
Rui Seabra
a13c11beaf
Apply the same fix MEJ did ( http://marc.info/?l=enlightenment-svn&m=127157420508183&w=3 ) to more specs
...
SVN revision: 48213
2010-04-21 20:55:23 +00:00
Cedric BAIL
7df0e78a6f
* edje: during removal the removed list is modified.
...
SVN revision: 48207
2010-04-21 16:36:55 +00:00
Iván Briano
661e7e8be2
Update references to groups when renaming or deleting one from the file.
...
Patch by Thiago Masaki
SVN revision: 48188
2010-04-20 22:12:15 +00:00
Iván Briano
1c63337989
Add after_del() function
...
SVN revision: 48177
2010-04-20 19:57:17 +00:00
Tiago Rezende Campos Falcao
ad8314a7ce
Removing ugly whitespaces
...
SVN revision: 48145
2010-04-19 20:37:40 +00:00
Tiago Rezende Campos Falcao
a3333361f5
Dont need recalc params in external description in part_recalc.
...
Others types, like TEXT/TEXTBLOCK/SWALLOW/GROUP (others?), are similar to Externals. And may can recalc some properties only in description_apply, not on every call to part_recalc.
Some generic boolean properties, like "visible", can be moved to description_appy too.
SVN revision: 48144
2010-04-19 20:37:35 +00:00
Tiago Rezende Campos Falcao
abc78c3d9a
Use external_params_set to update params
...
SVN revision: 48143
2010-04-19 20:37:32 +00:00
Tiago Rezende Campos Falcao
c1be10e587
Removing some warnings of edje
...
Remaining:
edje_lua.c:328: ‘_edje_lua_reg_count’ defined but not used
edje_lua.c:409: ‘_edje_lua_rawgetfield’ defined but not used
edje_lua.c:445: ‘_edje_lua_free_metatable’ defined but not used
edje_lua.c:2182: ‘_edje_lua_object_set_pointer_mode’ defined but not used
edje_lua.c:2190: ‘_edje_lua_object_set_precise_is_inside’ defined but not used
SVN revision: 48142
2010-04-19 20:37:28 +00:00
Gustavo Sverzut Barbieri
004df4045f
Get a table element with its coordinates.
...
By: Hugo Camboulive <hugo.camboulive@gmail.com>
SVN revision: 48088
2010-04-17 20:28:22 +00:00
Carsten Haitzler
d5f84085b5
and fix up.down arrow on intermediate lines with overflow
...
SVN revision: 48076
2010-04-17 16:19:28 +00:00
Carsten Haitzler
7700e78d19
char wrap - click to go to end works.
...
SVN revision: 48074
2010-04-17 15:50:27 +00:00
Tiago Rezende Campos Falcao
84e4660d68
Fix state_apply without animation.
...
Used in edje_edit_part_selected_state_set.
SVN revision: 48000
2010-04-14 16:34:06 +00:00
Tiago Rezende Campos Falcao
1cfae12558
Use eina.strbuf to generate the source code. Cedric suggestion
...
SVN revision: 47878
2010-04-09 16:05:17 +00:00
Tiago Rezende Campos Falcao
e99f2e77cb
Check source generation in save
...
SVN revision: 47842
2010-04-08 19:37:22 +00:00
Iván Briano
3c61844af1
Make the Edje Smart inheritable.
...
Pretty much moving some things around and extending the smart class
to allow overloading some common functions. Edje_Edit will make use
of this.
SVN revision: 47841
2010-04-08 19:21:54 +00:00
Iván Briano
1c53021214
Edje_Edit: Big Fat API Break.
...
All state functions now receive the value as a double, separate from
the state name.
Getting the list of states from the part still returns a list of strings
with everything together, but we'll change that soon too.
SVN revision: 47811
2010-04-07 17:04:49 +00:00
Tiago Rezende Campos Falcao
209a4ce236
Return FALSE when save fail
...
SVN revision: 47787
2010-04-06 18:18:53 +00:00
Carsten Haitzler
12012ef38a
ok tested - it. new lua disabled for now (not ready). old lua still there.
...
SVN revision: 47783
2010-04-06 11:32:09 +00:00
Carsten Haitzler
8babebf48e
an ongoing lua cleanup. existing lua is there and works for the most part.
...
but it could be much much much cleaner/better so i started a minimalist redo.
it's temporarily enabled right now. will disable soon to do in the background.
SVN revision: 47782
2010-04-06 11:26:32 +00:00
Tiago Rezende Campos Falcao
f824eac7ff
_edje_file_hash can't be NULL in open_new
...
SVN revision: 47763
2010-04-05 14:05:21 +00:00
Carsten Haitzler
77a55c3fd8
aaah well... 1. fix segv with edje_match stuff is deep child cleans up
...
pattersn - ref them.
2. edje lua... beating it into shape. slowly bit by bit.
SVN revision: 47685
2010-04-02 11:05:53 +00:00
Gustavo Sverzut Barbieri
f10ffca9c4
handle cases without default values and add missing functions.
...
SVN revision: 47640
2010-04-01 03:48:07 +00:00
Gustavo Sverzut Barbieri
fdedaedea0
fix stupid bug, my bad at copy and paste...
...
SVN revision: 47639
2010-04-01 03:47:04 +00:00
Gustavo Sverzut Barbieri
651070fc1d
new program action PARAM_SET, complements PARAM_COPY.
...
Sometimes you want to catch an action like "clicked" from elm/button
or "mouse,clicked,1" from a regular part and want to set a property
like "play" on some object. In this case there is no source property
to copy, so setting the destination makes sense. This was possible
with Embryo, and now it is with regular "program".
Sample EDC:
{{{
// test.edc, compile with edje_cc and run with edje_player
externals {
external: "elm";
}
collections {
group { name: "main";
parts {
part { name: "bg"; type: RECT;
description { state: "default" 0.0;
color: 255 255 255 255;
}
}
part { name: "button"; type: EXTERNAL;
source: "elm/button";
description { state: "default" 0.0;
rel2.relative: 1.0 0.5;
}
}
part { name: "display"; type: TEXT;
description { state: "default" 0.0;
color: 0 128 0 255;
rel1.relative: 0.0 0.5;
rel2.relative: 0.5 1.0;
text { font: "Sans"; size: 16; }
}
}
part { name: "entry"; type: EXTERNAL;
source: "elm/scrolled_entry";
description { state: "default" 0.0;
rel1.relative: 0.5 0.5;
params.bool: "editable" 0;
}
}
programs {
program {
signal: "clicked";
source: "button";
action: PARAM_SET "display" "text" "hello world!";
}
program {
signal: "clicked";
source: "button";
action: PARAM_SET "entry" "text" "bla!";
}
}
}
}
}
}}}
SVN revision: 47635
2010-03-31 20:48:51 +00:00
Carsten Haitzler
6b60d6d1ee
avoid errors - calling more lua calls afre the pcall failed... bad!
...
SVN revision: 47619
2010-03-31 10:02:51 +00:00
Gustavo Sverzut Barbieri
5f4784e49c
call me stupid, need to expose it... not in a good day :-/
...
SVN revision: 47574
2010-03-30 01:30:51 +00:00
Gustavo Sverzut Barbieri
3d206d92f6
oops, embryo limits names to 31 chars!
...
SVN revision: 47572
2010-03-30 00:39:14 +00:00
Gustavo Sverzut Barbieri
0b231e99ce
Add CHOICES to EXTERNAL support.
...
Choices are useful to represent enumerations and restricted set of
elements to user. Usually this is displayed in hoversel/comboboxes.
SVN revision: 47570
2010-03-29 21:51:40 +00:00
Gustavo Sverzut Barbieri
1bb3339188
another useful function
...
SVN revision: 47564
2010-03-29 19:32:45 +00:00
Gustavo Sverzut Barbieri
4981652e8c
set ecore_app arguments, edje external will use it to init elm_init()
...
SVN revision: 47563
2010-03-29 18:45:18 +00:00
Gustavo Sverzut Barbieri
acadc5e210
export useful function.
...
SVN revision: 47562
2010-03-29 18:44:42 +00:00
Iván Briano
a5c6fd883d
More safety removing stuff from lists
...
SVN revision: 47554
2010-03-29 07:13:35 +00:00
Iván Briano
202d3765cf
Use safe macros to walk the lists when we may remove something from it
...
SVN revision: 47553
2010-03-29 07:03:36 +00:00
Rui Seabra
b5c3618813
New file.
...
SVN revision: 47535
2010-03-28 18:46:57 +00:00
Gustavo Sverzut Barbieri
71d603c360
new program action PARAM_COPY, awesome crazy stuff! :-)
...
Edje got a new program action called PARAM_COPY in the form:
action: PARAM_COPY "src_part" "src_param" "dst_part" "dst_param";
This will copy the parameter "src_param" from part "src_part" to
parameter "dst_param" of part "dst_part".
So far so good, why the "crazy" in the first line? Because this also:
* do type conversion!
* set properties of native parts, not just EXTERNAL!
The type conversion allows one to get an integer and display that in a
text property, or get an string and convert into a float.
The set of native parts is quite simple, basically a map of Edje.h
edje_object_part_*_set(). With that one can set the string to be used
by a TEXT, or set drag page/step/size/value! (page/step increments are
not supported at the moment, if it is worth, they may be supported in
future).
Sample EDC:
{{{
// test.edc, compile with edje_cc and run with edje_player
externals {
external: "elm";
}
collections {
group { name: "main";
parts {
part { name: "bg"; type: RECT;
description { state: "default" 0.0;
color: 255 255 255 255;
}
}
part { name: "entry"; type: EXTERNAL;
source: "elm/scrolled_entry";
description { state: "default" 0.0;
rel2.relative: 1.0 0.5;
}
}
part { name: "display"; type: TEXT;
description { state: "default" 0.0;
color: 0 128 0 255;
rel1.relative: 0.0 0.5;
text { font: "Sans"; size: 16; }
}
}
programs {
program {
signal: "changed";
source: "entry";
action: PARAM_COPY "entry" "text" "display" "text";
}
}
}
}
}
}}}
SVN revision: 47500
2010-03-27 01:26:10 +00:00
Carsten Haitzler
66881b93ee
password mode - dont allow selections
...
SVN revision: 47466
2010-03-26 04:42:39 +00:00
Carsten Haitzler
a3281c13be
fix markup insert to be the same as normal text entry code - except given
...
text markup.
SVN revision: 47465
2010-03-26 04:22:30 +00:00
Gustavo Sverzut Barbieri
430d792e27
allow setting parameters from embryo!
...
SVN revision: 47459
2010-03-25 20:18:24 +00:00
Gustavo Sverzut Barbieri
cfecbc912b
Edje EXTERNAL API break, for good.
...
I'm now introducing a couple of goodies to make externals more useful,
they are:
* add: extra parameter with the part name. This may be used by
external objects to emit signals in the name of that part.
* param_set/param_get: set parameters at runtime, given their names
and types. This avoids requiring users to get the actual object and
call methods. This abstraction is also good because it let one uses
Elementary without even linking to it ;-) (this have limits, like
complex types are not supported). Right now this is just exposed
to C, but goal is to have it exposed in Embryo and Lua as well.
* translate: new method to translate previously strings that are
specified statically, such as the parameters names.
Four new functions got added to the Edje API:
* edje_object_part_external_object_get() so we don't have to abuse
edje_object_part_swallow_get()
* edje_object_part_external_param_set() and
edje_object_part_external_param_get() that call the external type's
functions.
* edje_external_param_type_str() to convert types to string and
provide nicer debugs :-)
TODO:
* expose external_param_set()/external_param_get() to Embryo and Lua.
SVN revision: 47456
2010-03-25 18:05:42 +00:00
Gustavo Sverzut Barbieri
49da44bf6f
convert some printfs to eina error.
...
SVN revision: 47451
2010-03-25 17:30:59 +00:00
Tiago Rezende Campos Falcao
ee58900290
Fix wrong names below<->above
...
SVN revision: 47446
2010-03-25 16:41:46 +00:00
Iván Briano
3f1e51e008
Dirty copy/paste to delete individual targets from a program
...
SVN revision: 47444
2010-03-25 11:19:46 +00:00
Carsten Haitzler
b0af679619
fix entry delete.
...
SVN revision: 47443
2010-03-25 08:17:51 +00:00
Tiago Rezende Campos Falcao
6556fa5273
above and below get
...
SVN revision: 47435
2010-03-24 19:21:03 +00:00
Gustavo Sverzut Barbieri
11b1398008
allows basic interaction from automated scripts and signal/message debug.
...
SVN revision: 47347
2010-03-19 19:04:50 +00:00
Gustavo Sverzut Barbieri
2cdac2a9bd
edje_player gets in.
...
I almost rewrote it to be cleaner and use more modern technologies
such as box and ecore_evas_object_associate.
SVN revision: 47343
2010-03-19 16:19:50 +00:00
Gustavo Sverzut Barbieri
71a3bb5cfe
copy edje_player, it will be changed to use Ecore_Getopt and then enabled in compile...
...
SVN revision: 47341
2010-03-19 13:23:24 +00:00
Vincent Torri
d1c0ea07fc
force gcc to use C preprocessor (otherwise the file extension (.edc) is
...
breaking that behavior)
SVN revision: 47338
2010-03-18 22:52:28 +00:00
Vincent Torri
a8e1557dbc
fix edje_cc on Mac OS X: c++ comments were not removed, so pass
...
gcc -E on the edc file a second time. As Linux gcc does not like
it, compile that part only on Mac OS X.
SVN revision: 47280
2010-03-16 05:49:13 +00:00
Carsten Haitzler
82fabb0f16
bug--
...
SVN revision: 47275
2010-03-16 04:10:03 +00:00
Carsten Haitzler
089e7842db
bug--
...
SVN revision: 47267
2010-03-16 00:57:04 +00:00
Carsten Haitzler
9ba5929163
bug--
...
SVN revision: 47232
2010-03-15 09:45:02 +00:00
Carsten Haitzler
e8906368d5
and emit signals on cursor changes etc.
...
SVN revision: 47231
2010-03-15 03:02:14 +00:00
Carsten Haitzler
6e66ed5a65
more bug --
...
SVN revision: 47202
2010-03-14 12:24:54 +00:00
Carsten Haitzler
9c495f390d
one more end of line cursor issue fixed.
...
SVN revision: 47175
2010-03-13 13:25:40 +00:00
Carsten Haitzler
557434639e
we have printf debugging right now - in the middle of chasing entry issues,
...
so keeep this in.
SVN revision: 47133
2010-03-11 14:28:44 +00:00
Carsten Haitzler
3492583ed4
also do imf stuff on cursor fiddling api's
...
SVN revision: 47132
2010-03-11 10:16:32 +00:00
Carsten Haitzler
d4d781227e
disable the extar newline stuff... seems to be ok without. i'm sure i put it
...
in for a reason... hrrrm..
SVN revision: 47129
2010-03-11 08:07:55 +00:00
Carsten Haitzler
cbde94b4e3
calls for entry users to use.
...
SVN revision: 47126
2010-03-11 06:34:20 +00:00
Carsten Haitzler
c20360eaea
aaaah there it is! fix 1 small bug - sel all in edje entry - more there. will
...
fix.
SVN revision: 47103
2010-03-10 13:32:49 +00:00
Davide Andreoli
aad74ff4ca
* Document mouse event callback system in LUA
...
SVN revision: 47063
2010-03-09 00:55:36 +00:00
Davide Andreoli
976ea97214
* Add a new basic lua example: Set part state from LUA. (and a small fix in the doxy)
...
SVN revision: 47054
2010-03-08 22:25:40 +00:00
Davide Andreoli
707cabbaf9
* More LUA doxy, now all the Classes,Methods and Attributes are documented (...at least listed). Still have some examples and some more info to write.
...
* fix the use of lua table in the example
SVN revision: 47048
2010-03-08 19:09:15 +00:00
Davide Andreoli
6185b64a11
Put examples in dist package
...
SVN revision: 46970
2010-03-07 23:10:21 +00:00
Davide Andreoli
ea7915a537
Put examples in dist package
...
SVN revision: 46956
2010-03-07 19:41:41 +00:00
Davide Andreoli
6bd9299cf7
Add the examples/ folder in edje/doc/ and put in the first 2 lua examples
...
SVN revision: 46955
2010-03-07 19:34:28 +00:00
Davide Andreoli
dbd7badb2f
* Add a doxy page for LUA scripting in edje documentation, not complete yet, but a good structure
...
SVN revision: 46954
2010-03-07 18:05:12 +00:00
Viktor Kojouharov
2ae2d6c7bc
docu typos
...
SVN revision: 46952
2010-03-07 15:53:46 +00:00
Viktor Kojouharov
804728fb77
updated vimball with complete syntax and improved completion
...
SVN revision: 46951
2010-03-07 15:53:02 +00:00
Gustavo Sverzut Barbieri
40a7b9aa38
color class lookup speedups by using stringshare properties.
...
with stringshare, we can just compare pointers instead of
strcmp. Since we'll need the stringshare later, this is a good
optimization.
SVN revision: 46925
2010-03-07 04:50:12 +00:00
Tiago Rezende Campos Falcao
d51e56f5a7
Reverting the previous commit, dont fix properly.
...
SVN revision: 46894
2010-03-05 18:22:17 +00:00
Gustavo Lima Chaves
2571227fc4
Sorry for assuming o bool return on that function.
...
Thanks for pointing out, JaMa.
SVN revision: 46893
2010-03-05 17:31:29 +00:00
Tiago Rezende Campos Falcao
c9cdddd683
Removing seg fault. By Fidencio
...
Author: Fabiano Fidencio <fidencio at profusion.mobi>
SVN revision: 46877
2010-03-04 20:40:59 +00:00
Tiago Rezende Campos Falcao
16b4338a5d
Adding edje_object_parts_extends_calc, to calc the geometry used by parts
...
SVN revision: 46876
2010-03-04 20:40:54 +00:00
Cedric BAIL
ae586e291e
* edje: Only register callback once for external.
...
SVN revision: 46868
2010-03-04 14:44:20 +00:00
Sebastian Dransfeld
f2273a3f51
use PATH_MAX to define buffer size
...
in snprintf on the buffer PATH_MAX is used, so also use it to define
buffer size
SVN revision: 46729
2010-03-01 19:05:37 +00:00
Mikhail Gusarov
b0b1fa40fa
edje: Document several puzzling Edje_External_Type callbacks
...
SVN revision: 46697
2010-03-01 14:41:49 +00:00
Gustavo Sverzut Barbieri
15ee9e8847
documentation improvements:
...
- quick access in the huuuuuuuge edcref
- block name is top-aligned to its example fragment
SVN revision: 46668
2010-02-28 19:25:10 +00:00
Gustavo Sverzut Barbieri
cc5e332525
remove warnings from edje binaries.
...
SVN revision: 46647
2010-02-28 16:14:50 +00:00
Gustavo Sverzut Barbieri
fcb71a4b3b
Edje now uses Eina_Bool where it should.
...
SVN revision: 46646
2010-02-28 15:57:17 +00:00
Gustavo Sverzut Barbieri
19a99eecab
Edje needs to detect files changed on disk before considering cache.
...
If file changed on disc (mtime), then make the reference dangling so
it is not reused anymore on subsequent open. If it is in cache, just
free it as it is not useful anymore.
This solves the following problem:
edje_object_file_set(ed, path, group);
ecore_file_cp(new_gen_file, path);
edje_object_file_set(ed, path, group); /* still uses the old one! */
By: Bruno Dilly <bdilly@profusion.mobi>
SVN revision: 46548
2010-02-27 03:47:04 +00:00
Gustavo Sverzut Barbieri
456f222a0f
[PATCH2/2] Improve edje documentation.
...
This reorder couple of functions so the generated documentation makes
sense.
By: Eduardo Felipe < eduardofelipe87@gmail.com>
SVN revision: 46541
2010-02-27 00:25:32 +00:00
Gustavo Sverzut Barbieri
46f0a73003
[PATCH1/2] Improve edje documentation.
...
This fixes the documentation, but they are still in the wrong order.
By: Eduardo Felipe <eduardofelipe87@gmail.com>
SVN revision: 46540
2010-02-27 00:15:41 +00:00
Gustavo Sverzut Barbieri
6e00c5f84a
update docs to say EINA_(TRUE|FALSE)
...
By: Lucas De Marchi
SVN revision: 46538
2010-02-26 23:59:47 +00:00
Christopher Michael
a4571eb6bb
Fix FALSE...should be EINA_FALSE.
...
SVN revision: 46504
2010-02-26 06:01:09 +00:00
Cedric BAIL
fc20b4541e
* edje: Use fixed point for tween too.
...
SVN revision: 46429
2010-02-24 15:37:16 +00:00
Cedric BAIL
41b6529e00
* edje: Fix typo preventing creation of multiple edje box layout.
...
SVN revision: 46425
2010-02-24 14:50:07 +00:00
Carsten Haitzler
beb1b3820c
oooh that was bad! oops. fix!
...
SVN revision: 46423
2010-02-24 05:47:23 +00:00
Cedric BAIL
3eaea2b9fa
* edje: Fix naming for amalgamation and make static functions
...
that should.
SVN revision: 46394
2010-02-23 15:55:04 +00:00
Cedric BAIL
51de26862a
* edje: Add more focus event in edje. A start for a focus layout work.
...
SVN revision: 46389
2010-02-23 13:39:19 +00:00
Carsten Haitzler
79b6821f90
fix moving edje obj aroudn with maps in it.
...
SVN revision: 46385
2010-02-23 08:37:30 +00:00
Carsten Haitzler
1ddbe5c5b1
ahhh and if parts are images.. use the right uv coords.
...
SVN revision: 46384
2010-02-23 07:56:59 +00:00
Carsten Haitzler
a952803f13
aaaah missing map smooth and alpha flags.
...
SVN revision: 46383
2010-02-23 05:45:24 +00:00
Rui Seabra
c8908d3ed4
Adjust for ver-pre-svn support
...
Add two missing files.
SVN revision: 46348
2010-02-21 18:40:56 +00:00
Carsten Haitzler
3243fb1170
add embryo to manipulate map stuff.
...
SVN revision: 46343
2010-02-21 10:55:45 +00:00
Carsten Haitzler
ea37c003f3
docs++
...
SVN revision: 46342
2010-02-21 09:39:58 +00:00
Carsten Haitzler
e89c590b0d
add border_scale option for images - image border will scale based on edje
...
scale factors. this is independant of scale: per part.
SVN revision: 46341
2010-02-21 06:53:44 +00:00
Cedric BAIL
d590d0dbb0
* edje: Fix a warning.
...
Please review as I am not sure why this code was written as the beginning.
SVN revision: 46318
2010-02-19 18:43:08 +00:00
Cedric BAIL
e4ee012951
* edje: Change filter_state to filter and give the possibility to
...
filter from another part than the event source.
SVN revision: 46316
2010-02-19 18:30:46 +00:00
Carsten Haitzler
e2bc27fb44
interp properly and make perspective api work.. untested yet...
...
SVN revision: 46302
2010-02-19 06:28:03 +00:00
Iván Briano
0b816d85e6
Forgot to copy image id
...
SVN revision: 46273
2010-02-18 14:05:58 +00:00
Gustavo Sverzut Barbieri
1ad4337878
proper shutdown of entries.
...
* must disconnect connected callbacks, particularly those to
canvas. The object we previously connect will die anyway, but
canvas continues alive, dispatching its
EVAS_CALLBACK_CANVAS_FOCUS_IN and EVAS_CALLBACK_CANVAS_FOCUS_OUT,
causing nasty segmentation faults!
* must call _edje_clean_objects() *AFTER* the entry is shut
down. Otherwise ed->evas will be NULL and
evas_event_callback_del_full() will fail. I left extra checks on
those, since this call will return the given data (in our case
"ed") and NULL when callback connection was not found.
* flag existence of entries and if they were already initalized and
shutdown before, avoid redoing such work.
This fixes a stupid crash that bugged editje for a while now.
SVN revision: 46263
2010-02-17 23:43:31 +00:00
Vincent Torri
a50bb3acf8
m4 quoting
...
SVN revision: 46258
2010-02-17 19:50:19 +00:00
Cedric BAIL
06f7da42f9
* edje: Fix fixed point use in map.
...
Note: ep->description_pos is a FLOAT_T.
SVN revision: 46245
2010-02-17 13:21:50 +00:00
Carsten Haitzler
3c71b10522
add back face cull option.
...
SVN revision: 46217
2010-02-16 16:36:16 +00:00
Carsten Haitzler
bf293931a1
map support in edje - first cut, missing features like back-face culling.
...
also no dependency tracking etc. etc.
SVN revision: 46216
2010-02-16 16:20:15 +00:00
Iván Briano
4419ccc84d
Move to new canvas callbacks signature
...
SVN revision: 46210
2010-02-16 13:43:44 +00:00
Carsten Haitzler
04ca0cb31e
fix freeze/thaw to use less ... cpu.
...
SVN revision: 46181
2010-02-15 06:40:58 +00:00
Gustavo Lima Chaves
50c346b37a
The former test was giving false positives.
...
SVN revision: 46113
2010-02-12 14:00:31 +00:00
Gustavo Sverzut Barbieri
97ebfc5f2b
proper error logging for _edje_lua_error()
...
ERR() should not be used there, because _edje_lua_error() is already
an error logging function. Instead we should call eina_log_print()
directly, handling the source of the error.
SVN revision: 46058
2010-02-10 20:23:27 +00:00
Gustavo Lima Chaves
62d9d8bc92
Preventing former strdup()-ed string to be eina_string_del()-ted.
...
SVN revision: 46053
2010-02-10 17:18:34 +00:00
김지훈
66df4d6c61
From: 김지훈 <jihoon48.kim@samsung.com>
...
This is edje_entry.c patch for supporting to switch the focus of ecore_imf
when the other window is clicked.
SVN revision: 46050
2010-02-10 15:12:35 +00:00
Cedric BAIL
397b718cf1
* edje: Add filter_state to program.
...
Patch from "Tristan <blunderer@gmail.com>".
SVN revision: 46048
2010-02-10 15:07:17 +00:00
Boris Faure
44de2046c0
edje: edc property is elipsis and not text_elipsis (update doc + vim syntax file)
...
SVN revision: 46031
2010-02-09 22:28:07 +00:00
Sebastian Dransfeld
5847c6f245
string_remove -> string_steal
...
Better naming
SVN revision: 46028
2010-02-09 21:06:27 +00:00
Sebastian Dransfeld
c4ac21cc74
Use eina_strbuf_reset to reduce realloc
...
SVN revision: 45953
2010-02-06 21:43:32 +00:00
Sebastian Dransfeld
fc5f097b7e
internal strbuf -> eina_strbuf
...
SVN revision: 45951
2010-02-06 21:43:12 +00:00
Sebastian Dransfeld
b7e2624123
internal strbuf -> eina_strbuf
...
SVN revision: 45948
2010-02-06 21:42:37 +00:00
Gustavo Lima Chaves
f61a15fba9
Group-level data edc blocks manipulation API for Edje_Edit.
...
SVN revision: 45903
2010-02-05 16:39:06 +00:00
Tiago Rezende Campos Falcao
edc00590b6
Mime-Type for edje files
...
SVN revision: 45878
2010-02-04 17:47:33 +00:00
Tiago Rezende Campos Falcao
2ab186175e
Save font filename in eet. By Masaki
...
Author: Thiago Ribeiro Masaki <masaki at profusion.mobi>
SVN revision: 45869
2010-02-04 14:34:06 +00:00
Boris Faure
48f439ee46
improve edc.vim
...
SVN revision: 45825
2010-02-03 00:13:47 +00:00
Vincent Torri
e2fe3d0f59
Fix init checks so that there is no more seg fault.
...
All that stuff should be cleaned, though.
SVN revision: 45780
2010-02-01 17:26:25 +00:00
Vincent Torri
b3a68cc3f7
edje_cc:
...
exit properly if eina_init() fails (like if
a mempool is not found), instead of a seg
fault.
SVN revision: 45759
2010-01-31 19:43:53 +00:00
Sebastian Dransfeld
79b1c3728a
Ecore_Str.h -> Eina
...
SVN revision: 45748
2010-01-30 22:29:31 +00:00
Iván Briano
e3554033a7
Edje_Edit API break.
...
Change group_del() to receive the name of the group to be deleted, and
change the function to not delete a group currently loaded. This causes
problems at the time of deleting the Evas_Object.
Also changed a bit the save() function and added save_all(), which saves
every group loaded, not only the one set to the object. This is mainly so
at the time of deleting a group, we can save the whole file and thus avoid
it getting out of sync with references if a group is deleted and the file
not saved afterwards.
SVN revision: 45720
2010-01-29 20:44:34 +00:00
Iván Briano
dbba97152d
Don't allow recursive clipping
...
SVN revision: 45672
2010-01-28 20:44:03 +00:00
Tiago Rezende Campos Falcao
b4e731abf7
Removing "GENERATE EDC SOURCE" print
...
SVN revision: 45659
2010-01-28 11:20:14 +00:00
Tiago Rezende Campos Falcao
4a34a3dd77
Fix group add references
...
SVN revision: 45647
2010-01-27 20:43:44 +00:00
Iván Briano
54c7294476
Move variable declarations to the top of the function and don't leak when saving files.
...
SVN revision: 45640
2010-01-27 20:10:57 +00:00
Boris Faure
93dc9bb769
edje: remove useless code (Composing is done in xlib, in ecore_x, you need
...
to compile ecore with --enable-xim)
SVN revision: 45605
2010-01-26 22:34:52 +00:00
Cedric BAIL
c92d5e37f9
* edje: Fix amalgamation without Ecore_Job.
...
SVN revision: 45597
2010-01-26 18:25:00 +00:00
Cedric BAIL
44193541f7
* ecore: Move ecore_job inside ecore.
...
Patch from Albin "Lutin" Tonnerre <albin.tonnerre@gmail.com>.
SVN revision: 45570
2010-01-25 21:59:21 +00:00
Tiago Rezende Campos Falcao
0e0534c564
Adding Module Name to Externals
...
SVN revision: 45565
2010-01-25 20:30:02 +00:00
Iván Briano
5e3f56bafc
Avoid crashing if there was no clipper set.
...
Oh, and the two exciting icon patches were by Fabiano Fidencio
SVN revision: 45453
2010-01-22 20:21:46 +00:00
Vincent Torri
6304974ff4
* fix a warning in an error message
...
* make some private functions as static
patch by Albin Tonnerre
SVN revision: 45429
2010-01-22 06:42:25 +00:00
Carsten Haitzler
f5fe48fe5d
fix from jihoon!
...
SVN revision: 45425
2010-01-22 04:39:50 +00:00
Sebastian Dransfeld
7c3f53b364
value can't be < 0 and > 255 at the same time
...
SVN revision: 45380
2010-01-21 08:08:02 +00:00
Boris Faure
5d8161e172
update edc.vim
...
SVN revision: 45346
2010-01-19 21:43:36 +00:00
Gustavo Lima Chaves
2cca9e9b62
Fixing program addition on edje_edit: data was missing for the globs.
...
On regressions, please contact me.
SVN revision: 45340
2010-01-19 20:14:14 +00:00
Sebastian Dransfeld
ef970dfb10
make clang happy
...
SVN revision: 45195
2010-01-15 20:01:42 +00:00
Sebastian Dransfeld
3a0af1226e
make clang happy
...
SVN revision: 45194
2010-01-15 19:57:17 +00:00
Vincent Torri
9540d8ad79
binaries can be disabled
...
SVN revision: 45170
2010-01-15 06:10:00 +00:00
Vincent Torri
d1632dfd52
use HUGE_VAL instead of a strange double/float numerical value
...
do I have to add -lm to Libs in edje.pc ?
SVN revision: 45119
2010-01-14 19:47:08 +00:00
Iván Briano
ad2988b7fd
Bunch of functions changed to return Eina_Bool.
...
More of this can be done, and some may even be too much, but I'm losing
perspective over it and either I'm inclined to move all of them or none
at all.
Reviews, comment, fixes and reverts are welcome.
SVN revision: 45115
2010-01-14 18:07:24 +00:00
Cedric BAIL
0d6cb5f95e
* edje: Fix edje drag with fixed point enabled.
...
SVN revision: 45060
2010-01-12 15:37:39 +00:00
Carsten Haitzler
61f893a3a0
fix docs! were wrong!
...
SVN revision: 45058
2010-01-12 07:05:30 +00:00
Carsten Haitzler
85bef8469a
patch from sehwan@samsung.com for small issues in evas/edje
...
SVN revision: 45056
2010-01-12 01:50:00 +00:00
Vincent Torri
6001fe5836
update efl_path_max.m4
...
SVN revision: 45038
2010-01-11 07:13:46 +00:00
Jorge Luis Zapata Muga
f3fb3dea17
+ [Eina] API change. eina_module_list_flush() -> eina_module_list_free()
...
as we are on the modules context not the array.
All the referenced projects are changed too. Remember that the list_free()
already calls the unload() on each module so no need to call list_unload()
SVN revision: 44978
2010-01-08 12:22:23 +00:00
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