Commit Graph

2102 Commits

Author SHA1 Message Date
Mike Blumenkrantz c7d4e15087 edje now uses (and installs if not previously found) epp as its default C preprocessor, providing consistent output across all platforms and allowing edje_cc to run on windows (vtorri!!)
fallbacks exist to use old behavior if epp fails.


SVN revision: 57210
2011-02-21 08:04:44 +00:00
Carsten Haitzler 18f48360fc chlog++
SVN revision: 57200
2011-02-21 05:56:28 +00:00
WooHyun Jung 4274d39f03 From: WooHyun Jung <wh0705.jung@samsung.com>
Subject: RE: [E-devel] One bug in _edje_key_down_cb func (in
edje_entry.c)

I found one bug in _edje_key_down_cb func (in edje_entry.c)
 
When I input "Backspace" in an entry object,  _signal_cursor_chagned_func(in
elm_entry.c) is not called. 

This is because the following code in _edje_key_down_cb func (in edje_entry.c)
is not called. 
 
 if ((evas_textblock_cursor_compare(tc, en->cursor)) && (!cursor_changed))
    _edje_emit(ed, "cursor,changed", rp->part->name);
           
Why not called ? Because ~ evas_textblock_cursor_compare(tc, en->cursor)
returns 0.

(i.e. old cursor and current cursor have the same position information)
 
I think old cursor should keep its position without any updating. 
 
But in evas_textblock_cursor_char_delete() func, called by _backsapce func
(in edje_entry.c) - 

old cursor's postion is updated as the current position. 



SVN revision: 57199
2011-02-21 05:53:23 +00:00
Daniel Juyung Seo d125dcecb1 Edje edje_entry.c: Removed trailing whitespaces. Patch by Jihoon Kim <jihoon48.kim@samsung.com>
SVN revision: 57198
2011-02-21 01:48:41 +00:00
Carsten Haitzler 9430a1f89a add an ellipsis alias.
SVN revision: 57159
2011-02-19 12:37:12 +00:00
Daniel Juyung Seo 5372923677 dox.in update: elementary,evas,edje,ecore,eio,eet,eeze.
Sync authors in doc with AUTHORS.
Updated date to 2011.


SVN revision: 56926
2011-02-10 16:50:18 +00:00
Cedric BAIL 546dba4856 * edje: fix case with recursive alias.
With that patch Enki should be working well and all
	application using alias for part in edje should be fine
	too.


SVN revision: 56899
2011-02-10 12:27:15 +00:00
Cedric BAIL 80aae072ef * edje: fix invalid memory access by edje alias code.
Reported by Jonathan Atton "Watchwolf".


SVN revision: 56810
2011-02-08 14:11:47 +00:00
Tom Hacohen 0232df9168 Edje mirrored-mode: Fixed compilation warning.
SVN revision: 56672
2011-02-03 10:16:48 +00:00
Tom Hacohen 68943e9890 Edje text: Use the ellipsis char instead of 3 dots.
SVN revision: 56670
2011-02-03 08:55:40 +00:00
Cedric BAIL c69291f586 * edje: prevent unitialized text to go outside of this function.
SVN revision: 56650
2011-02-02 16:03:22 +00:00
Tom Hacohen 7404a67e5d Edje: Fixed the docs of mirrored mode to include starting version.
SVN revision: 56647
2011-02-02 09:03:43 +00:00
Tom Hacohen 5f9422e480 Edje: Updated changelog.
SVN revision: 56636
2011-02-01 13:26:54 +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
Carsten Haitzler e13a158ef4 (minor) don't need 2 struct members anymore. mem use--
SVN revision: 56622
2011-02-01 09:13:23 +00:00
Tom Hacohen b0531e0d36 Edje: Updated changelog.
SVN revision: 56549
2011-01-30 10:46:42 +00:00
Tom Hacohen b6d5d47482 Edje text: Added support for auto-alignment. Text alignment with x=-1.0 means auto.
SVN revision: 56548
2011-01-30 10:46:39 +00:00
Tom Hacohen b34172c91e Edje entry: Added cursor_mode to edje to toggle between UNDER (efl/terminal) and BEFORE (gtk/rest of the world) cursor modes.
SVN revision: 56547
2011-01-30 10:46:33 +00:00
Carsten Haitzler b79460db7f make edje externals interface version locked to edje major version
(and .0.0) so that externals work between versions. (until we break
major version). not a changelog thing as it doesnt materially change
anything from 1.0.0



SVN revision: 56396
2011-01-30 05:58:57 +00:00
Carsten Haitzler 1bd97ec119 geeze. get year right! spank
SVN revision: 56378
2011-01-29 13:24:22 +00:00
Carsten Haitzler 0cb7271e97 aaaah farg. forgot the changelogs. fix.
SVN revision: 56359
2011-01-29 03:54:33 +00:00
Carsten Haitzler 96caa0a63b svn goes to x.x.999.svnrev now. :)
SVN revision: 56355
2011-01-29 03:34:44 +00:00
Carsten Haitzler 4f5ec3a5bd 1.0 version magic. now leave these projects the hell alone in svn
until we have branches.



SVN revision: 56352
2011-01-29 03:05:22 +00:00
Cedric BAIL 45652e5da5 * edje: finally fix everything !
SVN revision: 56286
2011-01-24 13:29:17 +00:00
Carsten Haitzler 998ffa4094 fix test min AND max bool flags to work right again. :)
SVN revision: 56280
2011-01-24 10:35:34 +00:00
Carsten Haitzler e70188c5a2 "...PLEASE TEST ASAP AND REPORT TO ME: cedric.bail@free.fr !..."
you broke everything in e17 with this - evry apps window bottom half
is back now! i'll rever for now and let you re-apply the patch locally
and do some testing to find out what you broke with evry in trying to
fix this other bug. :)
  


SVN revision: 56259
2011-01-22 02:36:57 +00:00
Rui Seabra ad112f80bb Assorted fixes for building RPMS, probably a good thing that the release source archives can generate the rpms as expected.
SVN revision: 56257
2011-01-21 21:38:01 +00:00
Cedric BAIL 93d5b87e0a * edje: fix bug when targetting external, table and box items
reported by yoz and watchwolf.

	WARNING: IT SHOULD BE JUST A FIX, TRIED AND TESTED, BUT COULD
	BREAK YOUR APPS, PLEASE TEST ASAP AND REPORT TO ME:
	cedric.bail@free.fr !


SVN revision: 56241
2011-01-20 13:03:09 +00:00
Carsten Haitzler 7ea15062de warning--
SVN revision: 56184
2011-01-16 08:09:47 +00:00
Carsten Haitzler 2ba6051649 more return fixes. clang reports.
SVN revision: 56173
2011-01-16 04:13:37 +00:00
Carsten Haitzler 567d9037fe type part gradient shouldnt cause an abort! just ignore it!
SVN revision: 56172
2011-01-16 04:11:47 +00:00
Carsten Haitzler 05f1fe2820 more dead statement -> unused conversion.
SVN revision: 56171
2011-01-16 04:10:45 +00:00
Carsten Haitzler c3db629e55 more cases of default return etc.
SVN revision: 56170
2011-01-16 04:08:49 +00:00
Carsten Haitzler fa77855b53 more clang warnings-- (double returns as default case always returns
anyway - make it fall thru to default return)



SVN revision: 56169
2011-01-16 04:08:09 +00:00
Carsten Haitzler 953380ed93 disable dead code
SVN revision: 56168
2011-01-16 04:05:30 +00:00
Carsten Haitzler b118d95efd use unused instead of dead code to silence warnings
SVN revision: 56167
2011-01-16 04:00:50 +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 cf137667f4 use unused instead of dead code to get rid of warnings
SVN revision: 56165
2011-01-16 03:56:41 +00:00
Carsten Haitzler 6faa8b3554 warning--
SVN revision: 56164
2011-01-16 03:31:05 +00:00
Carsten Haitzler 94ce85a68f oops fix had a bug - fix. :)
SVN revision: 56163
2011-01-16 03:28:24 +00:00
Carsten Haitzler 9b5626015e space++
SVN revision: 56162
2011-01-16 03:25:15 +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
Carsten Haitzler c44d8d7668 fix some clang and ptential warnings
SVN revision: 56160
2011-01-16 02:14:45 +00:00
Carsten Haitzler 6e54a6d85c handle no partname in embryo api.
SVN revision: 56157
2011-01-16 02:01:28 +00:00
Carsten Haitzler 8c6932d5e9 prep for 1.0 -> edje_convert no longer needed/used. if you havent
converted by now... too late. thats pre 1.0 - history.



SVN revision: 56156
2011-01-16 01:57:46 +00:00
Carsten Haitzler eeae28d198 ummm... also remove unused vars if u are going to remove the other
unused code.



SVN revision: 56154
2011-01-16 01:57:06 +00:00
Mike Blumenkrantz 20a92cd4f7 avoid trying to fwrite to an unopened file
SVN revision: 56140
2011-01-15 19:53:11 +00:00
Mike Blumenkrantz 9e6ff792cd revert last, must have been high
SVN revision: 56139
2011-01-15 19:47:02 +00:00
Mike Blumenkrantz 767b0c52ad more correctly shut gcc warnings up
SVN revision: 56138
2011-01-15 19:46:13 +00:00
Mike Blumenkrantz 2c0ef4b08a #if0 out some unimplemented stuff
SVN revision: 56137
2011-01-15 19:44:17 +00:00
Carsten Haitzler 29f40fc1fa ooh silly! remove the list item, not head! as intended. fix.
SVN revision: 55979
2011-01-07 10:52:19 +00:00
Carsten Haitzler 148a945f5c 1. fix potential bug in processing messages on a specific object where
it could be deleted by callbacks
2. fix edje message process to only process messages from that obj - a
bit complex as we need restart stuff too to handle the list becoming
invalid.



SVN revision: 55973
2011-01-07 08:07:32 +00:00
Vincent Torri e45c5749fc add guards in config.h to avoid multiple inclusions
SVN revision: 55946
2011-01-06 18:45:09 +00:00
Vincent Torri 588c29451b better include of headers
SVN revision: 55820
2011-01-03 08:11:36 +00:00
Vincent Torri 49815da5c9 fix a bit doxy
SVN revision: 55819
2011-01-03 08:10:33 +00:00
Vincent Torri 55f5a79ec1 update MAINTAINERCLEANFILES
SVN revision: 55818
2011-01-03 08:10:00 +00:00
Iván Briano f64f4930e9 FOCUS_OBJECT takes a part as target
SVN revision: 55556
2010-12-14 17:18:31 +00:00
Vincent Torri b600427f5d gaurd ecore_imf functions
SVN revision: 55550
2010-12-14 07:05:52 +00:00
Vincent Torri 19a8a07a63 missing one _Bool -> Eina_Bool
SVN revision: 55549
2010-12-14 06:20:55 +00:00
Vincent Torri c69cd7ec27 use size_t when it does not hurt
SVN revision: 55548
2010-12-14 06:19:30 +00:00
Vincent Torri aad53ed90d do not include some headers if vc++ is used
SVN revision: 55547
2010-12-14 05:56:46 +00:00
Vincent Torri 5d0305be13 use Eina_Bool instead of _Bool for consistency
SVN revision: 55546
2010-12-14 05:49:46 +00:00
Vincent Torri 3aedf59c9b declare variables at the beginning of the block
SVN revision: 55545
2010-12-14 05:42:25 +00:00
Vincent Torri 8f3ad6ed15 DSO problem: math functions are used in edje_cc
SVN revision: 55443
2010-12-10 07:59:48 +00:00
Vincent Torri 532a1655ef forgot ecore for the DSO problem
SVN revision: 55442
2010-12-10 07:15:25 +00:00
Sebastian Dransfeld 35c165d2e4 Fix me as author
SVN revision: 55438
2010-12-10 06:05:35 +00:00
Vincent Torri 78a75afd7b first step toward DSO solution. see ticket #644
SVN revision: 55431
2010-12-09 18:39:08 +00:00
Rui Seabra a4fd22d431 Update edje spec to current state of affairs.
SVN revision: 55379
2010-12-08 17:08:14 +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
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 540b51cf69 maybe fix del ref 0 string then add it back with same handle?
SVN revision: 55264
2010-12-05 03:12:34 +00:00
Cedric BAIL 602241b004 * eina,eet,embryo,evas,ecore,edje,efreet,e_dbus,eeze: beta3 !
SVN revision: 55238
2010-12-04 00:50:58 +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
Cedric BAIL d5d953a533 * edje: remove c++ comment also.
SVN revision: 55209
2010-12-03 17:55:02 +00:00
Cedric BAIL 561114732b * edje: improve portability and simplify code.
SVN revision: 55198
2010-12-03 16:41:38 +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 3f6ada804f Make edje_cc store script source snippets (only embryo now) in the generated file.
Yeah... yeah... we are on a freeze and we aren't supposed to be doing things like this, but it's not change anything other than allow edje_edit to know about scripts in order to not screw them up when modifying a file.


SVN revision: 55088
2010-11-30 15:37:20 +00:00
Cedric BAIL d3e3b86e29 * edje: the most simple and usefull case of alias convertion
wasn't implemented at all. Should be working now, please test
	all your code that relly on "part1:part2[index]:sig" behaviour.


SVN revision: 55086
2010-11-30 13:09:03 +00:00
Tom Hacohen d3b5301bbd Edje entry: Fixed bug with preedit string. The text was committed to the current cursor position instead of the preedit cursor position (which may be different if you click the mouse somewhere in the tetx). Patch by Jihoon Kim.
SVN revision: 55080
2010-11-30 11:06:22 +00:00
Davide Andreoli 4664ec794f Put myself as author in edje (as per all the edje_edit works)
But the real reason for this commit is to test the little mod
 I have done on the commit script



SVN revision: 55073
2010-11-29 23:05:50 +00:00
Cedric BAIL 756df73df7 * edje: strcpy could only go wrong.
SVN revision: 55020
2010-11-26 16:46:35 +00:00
Gustavo Sverzut Barbieri 32c3f22f70 oops, forgot some machine output.
SVN revision: 55000
2010-11-25 23:22:50 +00:00
Gustavo Sverzut Barbieri 038b682a04 welcome edje_external_inspector.
this tool is similar to edje_inspector as it uses similar command line
and output formats, but instead of acting upon EDJ compiled files, it
will use edje EXTERNAL module providers (/usr/lib/edje/modules/*),
being able to list modules and their registered types.

it is quite useful to know which parameters are exposed, their types
and default value (--detail=terse) and also mode information such as
flags, min/max/step/accepted/denied and other valuable information
(--detail=all).

as usual it accepts globs to filter input. example usage:

{{{
shell$ edje_external_inspector -t '*anch*'
module {
   name: "elm";
   friendly_name: "Elementary";
   types {
      type {
         name: "elm/anchorblock";
         params {
            string: "style" "default";
            string: "text" "some text";
         }
      }
      type {
         name: "elm/anchorview";
         params {
            string: "style" "default";
            string: "text" "some text";
         }
      }
   }
}

shell$ edje_external_inspector --type='*anch*'
module {
   name: "elm";
   friendly_name: "Elementary";
   types {
      type {
         name: "elm/anchorblock";
         params {
            string: "style" "default";
            string: "text" "some text";
         }
      }
      type {
         name: "elm/anchorview";
         params {
            string: "style" "default";
            string: "text" "some text";
         }
      }
   }
}

shell$ edje_external_inspector --detail=all 'emo*'
module {
   name: "emotion";
   friendly_name: "Emotion";
   types {
      type {
         name: "emotion";
         label: "Emotion";
         params {
            choice: "engine" "xine"; /* flags: REGULAR, choices: "xine" "gstreamer" */
            string: "file"; /* flags: REGULAR */
            bool: "play" "0"; /* flags: REGULAR, false_str: "false", true_str: "true" */
            double: "position" "0"; /* flags: REGULAR */
            bool: "smooth_scale" "0"; /* flags: REGULAR, false_str: "false", true_str: "true" */
            double: "audio_volume" "0.9"; /* flags: REGULAR */
            bool: "audio_mute" "0"; /* flags: REGULAR, false_str: "false", true_str: "true" */
            int: "audio_channel" "0"; /* flags: REGULAR */
            bool: "video_mute" "0"; /* flags: REGULAR, false_str: "false", true_str: "true" */
            int: "video_channel" "0"; /* flags: REGULAR */
            bool: "spu_mute" "0"; /* flags: REGULAR, false_str: "false", true_str: "true" */
            int: "spu_channel" "0"; /* flags: REGULAR */
            int: "chapter" "0"; /* flags: REGULAR */
            double: "play_speed" "1"; /* flags: REGULAR */
            double: "play_length" "0"; /* flags: REGULAR */
         }
      }
   }
}
}}}



SVN revision: 54999
2010-11-25 23:16:56 +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 bc143bf7ad oops, and the configure.ac
SVN revision: 54848
2010-11-22 23:27:14 +00:00
Gustavo Sverzut Barbieri d964e8e5cb welcome edje_inspector.
This tool inspects a binary EDJ file and dumps group names, part
names, parts, programs, externals, images, fonts and global data of
it. The output is in both human readable (edc-like) and machine
readable (easily parseable with shell scripts).

It allows filtering of groups, parts and programs names using glob
expressions (fnmatch). Also allows filtering of parts/prgrams that are
marked with "api:".

My idea is to later change elementary-generator to use this tool and
generate code for any Edje file, generating stub code for windows and
layouts marked with names "elm/win/*" and "elm/layoyt/application/*",
exposing parts marked as "api:". It would be much more helpful and
extensible than the current generator that is based on pre-defined C
code.



SVN revision: 54846
2010-11-22 23:24:44 +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 1c9b6a174b keep the same order so eet serialization works properly.
Fonts should be the same as Edje_Font_Directory_Entry as it's
serialized using the same eet descriptor, so the fields should match
their order.



SVN revision: 54835
2010-11-22 22:05:03 +00:00
Carsten Haitzler c928276a8f fix clicked when on hold set.
SVN revision: 54757
2010-11-21 06:28:13 +00:00
Andreas Volz f6b5aa850a allow to edje_object_part_external_param_set/edje_object_part_external_param_get with internal objects too. Currently implemented support for EDJE_PART_TYPE_TEXT and EDJE_PART_TYPE_TEXTBLOCK and param "text".
SVN revision: 54727
2010-11-19 22:50:33 +00:00
Tiago Rezende Campos Falcao 1df384f24a Fix snippets
SVN revision: 54629
2010-11-17 11:42:50 +00:00
Tiago Rezende Campos Falcao 6d8654c994 edje AUTHORS += tiago
SVN revision: 54628
2010-11-17 11:42:47 +00:00
Gustavo Sverzut Barbieri e4d70b8f89 missing consts...
SVN revision: 54578
2010-11-16 08:18:12 +00:00
Cedric BAIL 70e488feff * efl: beta2 !
SVN revision: 54507
2010-11-12 16:01:55 +00:00
Davide Andreoli ec49cb2f00 New edje example
This example show how to toggle the state of a part using the 'filter'
param in edje programs.



SVN revision: 54448
2010-11-11 01:20:36 +00:00
Tom Hacohen 2f30d52b93 Edje entry: Fix support mouse down/up/move filter events.
Passing the correct data to _edje_entry_imf_event_delete_surrounding_cb and _edje_entry_imf_retrieve_surrounding_cb
Fix indentation.
Patch by Jihoon Kim.

SVN revision: 54365
2010-11-09 13:36:52 +00:00
Carsten Haitzler 125e86c661 fix valgrind complaint - definite bug waiting to happen there - remvoe
the list item u are walking! bad!



SVN revision: 54361
2010-11-09 09:44:39 +00:00
Carsten Haitzler 8ff9905dec jihoon authors++
SVN revision: 54360
2010-11-09 07:54:52 +00:00
Jihoon Kim a69afcfb91 From: Jihoon Kim <jihoon48.kim@samsung.com>
Entry widget has not processed the key event of keypad such as KP_Left,
KP_Right, KP_Home, KP_End, and so on.
In this patch, those key events is processed.



SVN revision: 54359
2010-11-09 07:54:13 +00:00
Carsten Haitzler 6e83e8a37c no more debian dir in our svn - debian now handles this tehmselves.
SVN revision: 54290
2010-11-08 05:49:24 +00:00
Cedric BAIL c45e906f7f * edje: disable some os related syscall in lua script.
SVN revision: 54102
2010-11-02 13:43:54 +00:00
Iván Briano 3d6e44bd91 And as discussed on IRC, for the sake of API consistency (and we'll eventually need it), also del_full() for the text filters.
And since I'm there, some documentation.


SVN revision: 54003
2010-10-29 18:15:09 +00:00
Iván Briano db43f575ef B-B-B-B-BETA BREAKER!
As for Evas callbacks, let's have a del_full() version for the Edje signals.


SVN revision: 53997
2010-10-29 17:14:55 +00:00
Cedric BAIL 2ee5adb4f8 * edje: remove white space.
SVN revision: 53864
2010-10-25 12:39:10 +00:00
Cedric BAIL b086f94813 * edje: remove possible case of segv on low mem.
SVN revision: 53863
2010-10-25 12:38:04 +00:00
Carsten Haitzler 7c835c0efb aaaah more bad cedric ... eh? :)
SVN revision: 53794
2010-10-23 03:51:12 +00:00
Tom Hacohen aecc018012 Edje entry: Fixed _edje_entry_imf_event_delete_surrounding_cb to actually delete, which it wasn't doing. Patch by Jihoon Kim.
SVN revision: 53709
2010-10-21 08:23:45 +00:00
Bruno Dilly 65f3d3f4c8 Add missing AUTHORS
Description of changes / revisions (not all of them, I just picked some to
explain the names inclusions)

bdilly
Bruno Dilly <bdilly@profusion.mobi>
edbus -> r42081, r39884, r44581, r40463
python-elementary -> r52765, r52389
edje -> r46548, r49242
editje -> r52520

fidencio
Fabiano Fidêncio fidencio@profusion.mobi
elementary / python-elementary -> fix elm_<widget>_{icon,content}_set - r49706;
                                  add externals - r{47649,47647,47645}
edje / python-edje -> lot of work on edje_edit

glima
Gustavo Lima Chaves <glima@profusion.mobi>
elementary -> added widgets
edje -> lot of work on edje_edit

helen
Helen Fornazier <helen.fornazier@profusion.mobi>
elementary -> elementary key events on widgets
editje -> undo / redo

jprvita
João Paulo Rechi Vita <jprvita@profusion.mobi>
e_dbus-> r47399 , r47398, r47397, r47336, r47330

padovan
Gustavo F. Padovan <padovan@profusion.mobi>
e_dbus-> r46365-r46373, r47114-r47119



SVN revision: 53682
2010-10-20 16:56:48 +00:00
Tom Hacohen 7c586714ef Edje entry: Init preedit_len on focus out. Rename 'composition' to 'preedit' in the preedit handling. Patch by Jihoon Kim.
SVN revision: 53651
2010-10-20 10:34:26 +00:00
Davide Andreoli de610ab738 fix "doc", also get_state() exists
SVN revision: 53549
2010-10-18 00:09:07 +00:00
Vincent Torri 7f7561c8a2 delete libtool copied files on maintainer-clean rule
SVN revision: 53512
2010-10-17 07:11:10 +00:00
Davide Andreoli 740e1626a2 The daily edje example: EXTERNAL elm Panes.
SVN revision: 53391
2010-10-14 09:21:12 +00:00
Tom Hacohen 958b6c7569 Edje entry: Fixed a memory leak. Removed an unwanted selection clear, and renamed preedit strings functions to have a more adequate name. - Patch by Jihoon Kim.
SVN revision: 53390
2010-10-14 07:50:32 +00:00
Davide Andreoli a9c4cd5be7 The daily edje example: EXTERNAL elementary checks in action.
SVN revision: 53316
2010-10-12 21:41:02 +00:00
Tom Hacohen 96185ffaf5 Edje entry: removed some unwanted commented out code.
SVN revision: 53306
2010-10-12 14:13:22 +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
Tom Hacohen ed83a01ea0 Edje text: Fix text cutting (esipsis) with non-english. evas_object_text_last_up_to_pos returns index, not byte-index.
SVN revision: 53304
2010-10-12 12:22:43 +00:00
Davide Andreoli 6eb28124cb Another edje EXTERNAL example, this time make an elementary Anchorblock rotate around in 3D.
SVN revision: 53279
2010-10-11 22:51:56 +00:00
Davide Andreoli 9908fe0298 And finally one funny (at least to code) edje example:
a super-simple (but full featured) pong game, fully written in embryo,
in the style of the original game.

To run it, like all the other examples, just go in the doc/examples folder and do:
edje_cc embryo_pong.edc && edje_player embryo_pong.edj

Have fun ...beating the ""AI""  is really difficult ;)


SVN revision: 53278
2010-10-11 21:43:19 +00:00
Leandro Pereira dd5b79eff6 edje: Add get_part_id() to exported Embryo functions.
This allows one to calculate a part number in runtime and and use it with
other functions, like get_state() and set_state().



SVN revision: 53277
2010-10-11 21:26:43 +00:00
Gustavo Sverzut Barbieri 15f8b5101d show group name when it is auto-discovered as well.
SVN revision: 53264
2010-10-11 15:10:34 +00:00
Carsten Haitzler 997acfa3a5 focus objcet we play
SVN revision: 53260
2010-10-11 08:30:17 +00:00
Carsten Haitzler e95ad0f97c bah - removed snprintf.
SVN revision: 53259
2010-10-11 07:31:12 +00:00
Carsten Haitzler f1ec894769 fix inlined fonts again.
SVN revision: 53258
2010-10-11 07:24:46 +00:00
Davide Andreoli a704be1219 Disable search-engine in edje Doxy file. The search don't work and it add strange(not working) menu on the bottom of each page.
This remove the unwanted menu.

SVN revision: 53233
2010-10-09 12:53:11 +00:00
Davide Andreoli 1f34fa16e7 Put in edje examples the super cool edje-emotion-elementary
videoplayer by Gustavo Barbieri.



SVN revision: 53214
2010-10-08 21:59:21 +00:00
Davide Andreoli 80e0de0e19 Remove the doxy-inlined lua example in favor of a cleaner @include
from the examples/ folder.
 Also expose all the examples to doxygen, you can now browse
 them all from the generated docs.




SVN revision: 53211
2010-10-08 21:14:31 +00:00
Davide Andreoli d50b2efd9c Copy the lua script-only example (by raster) from edje doxy to doc/examples.
SVN revision: 53203
2010-10-08 20:14:14 +00:00
Davide Andreoli 994d9518ec Add the first edje examples about the usage of EXTERNAL parts.
This example show 5 buttons that you can click to perform some
simple actions, like changing the label or the icon of the buttons.

The example also spot a bug: external buttons with label AND icon
have layout issue. Standard icons are not visible at all while custom
icons don't get the size calculated correctly.
Buttons with only the icon work well instead.
Can someone look at this?

Thanks
DaveMDS

SVN revision: 53182
2010-10-08 09:48:38 +00:00
Carsten Haitzler a3b68b3e0e dont pretend to have these script only embryo calls anymore
SVN revision: 53181
2010-10-08 08:51:05 +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
Davide Andreoli 57af528062 Add a new embryo example to edje, it show the usage of program_run() and toggle buttons.
SVN revision: 53149
2010-10-07 18:34:40 +00:00
Iván Briano 631aa54545 Cheking if start.layout is set before using it.
When evas_object_show is called with a elm_layout object before resizing
it the layout function is called before edje calc function, so the start
layout is not yet set.

By: Otavio Pontes <otavio@profusion.mobi>



SVN revision: 53144
2010-10-07 14:45:57 +00:00
Cedric BAIL b61340ea1a * edje: remove not needed code and fix issue when removing child.
SVN revision: 53143
2010-10-07 14:14:02 +00:00
Davide Andreoli f9b1969034 Add a new embryo example in edje, it show the use of custom states. In the example you can rotate a red rect in 3 dimension by clicking on the 3 labels.
SVN revision: 53127
2010-10-07 00:03:54 +00:00
Davide Andreoli fe9962a3be Update edje examples to use embryo instead of lua. Inline lua scripting was removed some time ago.
SVN revision: 53124
2010-10-06 23:03:28 +00:00
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