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