Commit Graph

244 Commits

Author SHA1 Message Date
Daniel Zaoui 05031a3631 Fix for elementary_codegen and edje_codegen
Signed-off-by: Daniel Zaoui <daniel.zaoui@samsung.com>

SVN revision: 78436
2012-10-25 09:56:31 +00:00
Daniel Zaoui 4eb9ea7587 Fix for amalgamation.
Signed-off-by: Daniel Zaoui <daniel.zaoui@samsung.com>

SVN revision: 78325
2012-10-22 09:36:23 +00:00
Daniel Zaoui bdc4de91cd Fix edje_edit. Didn't see that the base of the Edje_edit is not a
pointer. Changed it to satisfy Eo requirements.

Signed-off-by: Daniel Zaoui <daniel.zaoui@samsung.com>

SVN revision: 78306
2012-10-21 13:35:16 +00:00
Daniel Zaoui fdd87314b2 Edje porting to Eo
Signed-off-by: Daniel Zaoui <daniel.zaoui@samsung.com>

SVN revision: 78305
2012-10-21 10:46:58 +00:00
Carsten Haitzler a00b9084ea use less memory at runtime with real part structs. actual savings are
about 25%.



SVN revision: 76460
2012-09-11 13:14:51 +00:00
Flavio Ceolin 7457f675ff edje_edit: Closing the opened eet_file
Closing the file openned in the functions _edje_edit_smart_file_set.
It balances the reference count and avoids the message that the file
is still opened.

Patch by: Flavio Ceolin <flavio.ceolin@profusion.mobi>



SVN revision: 76149
2012-09-04 21:43:32 +00:00
Cedric BAIL 1e25d7b701 edje: add nested part support to edc.
Blame Tasn and not the people he enslaved to get it out.
First patch by Aharon Hillel with some modification by myself.


SVN revision: 76127
2012-09-04 11:27:43 +00:00
Carsten Haitzler 4745ddac37 tone down memprool size chunks.
SVN revision: 72251
2012-06-17 01:44:00 +00:00
Cedric BAIL 0fe4412879 edje: rename VIRTUAL into SPACER and also fix Edje_Edit and inspector.
SVN revision: 72058
2012-06-13 03:21:31 +00:00
Tom Hacohen 61134f1e6b Edje: Fixed a lot of warnings.
SVN revision: 67324
2012-01-19 08:17:12 +00:00
Tom Hacohen 544dfc53b3 Edje: Fixed a couple of warnings that really don't indicate issues.
Global shadow warnings are annoying and thus will be ignored at the moment,
There are other issues as well though, for example, not using cpp_token_file.
I don't know if that's intended or not, so I won't just suppress the warning.

SVN revision: 67242
2012-01-16 12:34:13 +00:00
Cedric BAIL 236aec5bec edje: move away from fopen in favor of Eina_File.
SVN revision: 67135
2012-01-12 11:08:19 +00:00
Sebastian Dransfeld 08559f2c8b edje: Fix shadow warnings
SVN revision: 62563
2011-08-18 10:59:34 +00:00
Cedric BAIL e8ec9f6c50 edje: update hints after loading GROUP.
SVN revision: 60026
2011-06-07 07:43:32 +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 c4bc2c6435 edje: limited support of proxy for edje inspector and edje edit.
SVN revision: 57727
2011-03-13 15:41:12 +00:00
Carsten Haitzler 7ea15062de warning--
SVN revision: 56184
2011-01-16 08:09:47 +00:00
Carsten Haitzler 953380ed93 disable dead code
SVN revision: 56168
2011-01-16 04:05:30 +00:00
Carsten Haitzler 650bfd0923 clang found an issue with freeing custom states. fix.
SVN revision: 56166
2011-01-16 03:59:53 +00:00
Carsten Haitzler 94ce85a68f oops fix had a bug - fix. :)
SVN revision: 56163
2011-01-16 03:28:24 +00:00
Carsten Haitzler 52a44ac2b7 fix leak - eet_list arrya return must be freed.
SVN revision: 56161
2011-01-16 02:46:34 +00:00
Iván Briano 45e2237dcf List and allow to fetch pre-processing errors when compiling Embryo scripts.
SVN revision: 55359
2010-12-07 19:06:53 +00:00
Cedric BAIL 5ef394f0bd * edje: SPANK ! SPANK ! SPANK !
fprintf should always specify a format.


SVN revision: 55213
2010-12-03 18:21:56 +00:00
Iván Briano 76b47e14d2 twinkle twinkle little fix...
SVN revision: 55185
2010-12-03 14:00:04 +00:00
Iván Briano aac41d6ff0 Edje_Edit has been taught the basics of Embryo scripting.
It is possible now to call a recompile of the script, which if it doesn't
fail, will also update the running Embryo VM. Saving the object, when opened
from a file compiled with a sufficiently new edje_cc (early this week, I think), will generate the source including the scripts in their right place.
It's still missing a proper report of errors during the script build, but that will come later.


SVN revision: 55160
2010-12-02 18:20:34 +00:00
Iván Briano 111f4b85ad Use mempools to create parts
SVN revision: 54933
2010-11-24 15:26:54 +00:00
Gustavo Sverzut Barbieri 999737f657 add missing edit method: edje_edit_font_path_get()
SVN revision: 54836
2010-11-22 22:07:41 +00:00
Gustavo Sverzut Barbieri e4d70b8f89 missing consts...
SVN revision: 54578
2010-11-16 08:18:12 +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
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
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
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
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
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
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
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
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
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
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
Cedric BAIL 1d1a36047b * edje: remove edje_convert use in edje_cc.
SVN revision: 51134
2010-08-15 18:14:33 +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