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