Carsten Haitzler
8ddf9df17b
fix propagation to child groups - seems we had src set to null that i
...
didnt catch when i added it at the end.
SVN revision: 65403
2011-11-19 04:23:27 +00:00
Carsten Haitzler
e5667ae16b
fix edje object leak if child obj file set fails!!!
...
SVN revision: 65402
2011-11-19 04:16:32 +00:00
Carsten Haitzler
2966d44f67
fix looping message passing from children back to parent then back to
...
child, parent etc. due to changes in propagation code.
SVN revision: 65398
2011-11-19 03:24:37 +00:00
Carsten Haitzler
4e97f85876
fix inconsistency with propagating signals and messages. now messages
...
AND signals should propagate to children the SAME WAY - that means
children you added explicitly in the edje file and not form c code get
propagated to.
SVN revision: 65384
2011-11-18 10:35:38 +00:00
Carsten Haitzler
132dd78a10
formatting fix
...
SVN revision: 65369
2011-11-18 07:18:19 +00:00
Prince Kumar Dubey
3cc8139906
From: Prince Kumar Dubey <prince.dubey@samsung.com>
...
From: Govindaraju S M <govi.sm@samsung.com>
Subject: edje multisense patch for sound sample, tone and haptic play
... This is the beginning of sound (and haptic) support in Edje - it
works, but only at certain basic sample playback levels. more will come.
SVN revision: 64731
2011-11-04 12:18:13 +00:00
Christopher Michael
4ac5e88875
Edje: if _edje_fetch fails and we are returning from here, then no need to
...
fetch evas_object_evas_get. Use eina_stringshare_replace rather than
del & add. Fix a little formatting.
SVN revision: 63533
2011-09-22 07:19:50 +00:00
Sebastian Dransfeld
08559f2c8b
edje: Fix shadow warnings
...
SVN revision: 62563
2011-08-18 10:59:34 +00:00
Cedric BAIL
2ca0489fc5
edje: give more info when needed.
...
Typicall case being with elementary not taking theme
into account due to misspelling.
SVN revision: 60599
2011-06-22 15:59:15 +00:00
Cedric BAIL
e8ec9f6c50
edje: update hints after loading GROUP.
...
SVN revision: 60026
2011-06-07 07:43:32 +00:00
Cedric BAIL
993b27c50f
edje: set parent earlier.
...
SVN revision: 59996
2011-06-06 17:29:07 +00:00
Cedric BAIL
9c22d6a9e9
edje: parent link should be properly set before instantiating sub object.
...
SVN revision: 59989
2011-06-06 13:10:54 +00:00
Carsten Haitzler
66aef5074f
add use of freeze+thaw for improvement in out-there scenarios.
...
SVN revision: 59730
2011-05-27 10:32:53 +00:00
Carsten Haitzler
5829d373c9
doxy -> .h
...
SVN revision: 58478
2011-04-08 07:45:46 +00:00
Brett Nash
6894af9d5e
Edje: (trivial) Put the clipper/evas pointer in the base structure.
...
I say trivial in the sense it has no functional changes, however it's a large
patch. Recommendation from Gustavo.
SVN revision: 58080
2011-03-25 03:21:07 +00:00
Cedric BAIL
d0810de637
edje: add PROXY part.
...
example:
collections {
group {
name: "main";
parts {
part {
name: "sub1";
type: GROUP;
source: "sub1";
description {
rel1.relative: 0.5 0.5;
rel2.relative: 1.0 1.0;
}
}
part {
name: "pro2";
type: PROXY;
description {
rel1.relative: 0.0 0.5;
rel2.relative: 0.5 1.0;
source: "sub1";
color: 255 0 0 128;
map {
on: 1;
smooth: 1;
rotation {
z: 30;
}
}
}
}
}
}
group {
name: "sub1";
parts {
part {
name: "rect";
type: RECT;
description {
rel1.relative: 0.0 0.0;
rel2.relative: 0.5 0.5;
color: 255 0 0 255;
map {
on: 1;
smooth: 1;
rotation {
z: -30;
}
}
}
}
part {
name: "pro1";
type: PROXY;
description {
rel1.relative: 0.5 0.0;
rel2.relative: 1.0 0.7;
color: 128 128 0 128;
source: rect;
}
}
}
}
}
SVN revision: 57694
2011-03-11 17:46:29 +00:00
Cedric BAIL
c54cc95085
edje: fix signal comming from box/table part.
...
Thanks to the report by Jonathan "Watchwolf" Atton.
SVN revision: 57299
2011-02-24 14:41:08 +00:00
Tom Hacohen
5e33a75553
Edje: Added mirrored mode. Mirrored mode is used for UI-mirroring. It lets you mirror edje objects automatically (it also sends signals to the .edc code so you can do tweaks if you want), no need to create a special theme just for rtl layouts.
...
This is controlled by the two added API functions.
The changes in Elementary that utilize these functions will be committed soon.
SVN revision: 56635
2011-02-01 13:26:49 +00:00
Vincent Torri
c69cd7ec27
use size_t when it does not hurt
...
SVN revision: 55548
2010-12-14 06:19:30 +00:00
Iván Briano
014d9e424c
NULL out focused part when clearing the remnants of a gone Edje
...
SVN revision: 55330
2010-12-06 13:50:51 +00:00
Carsten Haitzler
4a55d2bda4
if we aren't looking for a glob... why do we go alloc a possible
...
massive pattern match thing.. if you have a LOOOOOOOOOOT of collection
entries... that can be a big set.
SVN revision: 55316
2010-12-06 07:49:00 +00:00
Carsten Haitzler
7c835c0efb
aaaah more bad cedric ... eh? :)
...
SVN revision: 53794
2010-10-23 03:51:12 +00:00
Cedric BAIL
26ba1c03e3
* edje: fix signal comming from aliased part.
...
I needed to bump minor file format version, but it will only
change behaviour for people using alias for part and they
couldn't use the signal emitted by them.
SVN revision: 53305
2010-10-12 13:26:18 +00:00
Gustavo Sverzut Barbieri
7ac13f931f
better log.
...
* lower case domain names;
* binaries use their own color (EDJE_CC_DEFAULT_LOG_COLOR)
* log messages do not take multiple lines, it's annoying. The colors
should call your attention already.
* the ever annoying "did you forgot fixed: 1 1;" message that used to
consume 3 lines is now bit more descriptive and uses a single line.
SVN revision: 53178
2010-10-08 00:24:22 +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
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
af2651748c
int -> enum.
...
SVN revision: 52589
2010-09-22 13:27:09 +00:00
Cedric BAIL
e01c8dacc2
* edje: prevent segv due to dead relative part.
...
SVN revision: 52347
2010-09-16 15:49:56 +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
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
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
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
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
7d69e96bfe
* edje: use mempool for Edje_Part and Edje_Part_Description_*.
...
SVN revision: 50944
2010-08-09 21:08:08 +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
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
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
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
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
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
83bb52f7c9
* edje: attempt to reduce code size by using more macro.
...
SVN revision: 50281
2010-07-16 13:58:35 +00:00
Cedric BAIL
30d35eb1ba
* edje: start to split structure content.
...
SVN revision: 50279
2010-07-16 11:37:58 +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
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