Commit Graph

674 Commits

Author SHA1 Message Date
Carsten Haitzler f3c5abf999 aaah allow type to be set on group inherit or part inherit... you just
really shouldnt set it to a different type as its not very sensible.



SVN revision: 65534
2011-11-23 10:38:43 +00:00
Mike Blumenkrantz c164909d69 clarify group inherit error message
SVN revision: 65271
2011-11-15 16:19:09 +00:00
Carsten Haitzler a30c4242f6 disable multisense for edje 1.1
SVN revision: 65217
2011-11-15 03:01:03 +00:00
Jaehwan Kim f4ec79d7a2 Value stored to 'pc' is never read and 'el' must not be null.
SVN revision: 65166
2011-11-14 12:19:09 +00:00
Jaehwan Kim 5b927c3170 Value stored to 'pc' is never read
SVN revision: 65163
2011-11-14 11:23:23 +00:00
Jaehwan Kim c43b0e455c rel1.to: ""; fix build error.
Actually, if rel1.to_x is not used in the matched description of the parent group, rel1.to_x: ""; doesn't need to be used in the description of the child group.
Because its state is already default. But sometime we may want to use it explicitly. So I add this code in order to cover that case.


SVN revision: 65160
2011-11-14 11:04:37 +00:00
Iván Briano c912db8656 Some more fixes to the group inherit thing
SVN revision: 65037
2011-11-11 03:13:13 +00:00
Iván Briano bcce5db59a Break away if we already found a matching state
SVN revision: 65035
2011-11-11 00:43:23 +00:00
Mike Blumenkrantz d06a1d21a7 don't need to strlen here
SVN revision: 64856
2011-11-07 06:10:06 +00:00
Jaehwan Kim dbd8c61ae5 Add the ChnageLog and since 1.1.0
SVN revision: 64851
2011-11-07 04:36:53 +00:00
Carsten Haitzler 1782ada8ee add warning on decc
SVN revision: 64807
2011-11-06 09:27:28 +00:00
Carsten Haitzler 5bf58d3ef6 and be explicit.. unsigned.. INT!
SVN revision: 64754
2011-11-05 11:25:42 +00:00
Carsten Haitzler 86504a24d1 fix a few warnings i get on 64bit than didnt pop up on 32, revert edje
module load api break -back to eina_bool return. add some @sinces even
if there are no docs.



SVN revision: 64751
2011-11-04 23:19:14 +00:00
Prince Kumar Dubey 3cc8139906 From: Prince Kumar Dubey <prince.dubey@samsung.com>
From: Govindaraju S M <govi.sm@samsung.com>
Subject: edje multisense patch for sound sample, tone and haptic play

... This is the beginning of sound (and haptic) support in Edje - it
works, but only at certain basic sample playback levels. more will come.



SVN revision: 64731
2011-11-04 12:18:13 +00:00
Mike Blumenkrantz 583a69172f fix up docs a little
SVN revision: 64678
2011-11-03 06:00:28 +00:00
Jaehwan Kim 6afeb6b150 Add CURRENT option which edje object moves from current position.
Currently, when the part in edc move by transition, it moves from the
one of the states to another of the states even if it is ainimating.
We need it to move from current position, because the animation is not
natural and smooth. So I made the "CURRENT" option.


SVN revision: 64675
2011-11-03 04:43:00 +00:00
Jaehwan Kim 1d300f049b Revert to revision 64488 in order to split the code into new feature and indentation
SVN revision: 64633
2011-11-02 04:15:01 +00:00
Jaehwan Kim 39d27f8cbb Add CURRENT option which edje object moves from current position.
Currently, when the part in edc move by transition, it moves from the
one of the states to another of the states even if it is ainimating.
We need it to move from current position, because the animation is not
natural and smooth. So I made the "CURRENT" option.
And I removed the unnecessary tab for indentation.


SVN revision: 64545
2011-10-31 06:00:06 +00:00
Jaehwan Kim 98d6e21ec3 add the documentations about edje group inherit.
SVN revision: 64488
2011-10-28 09:01:38 +00:00
Jaehwan Kim bda33541cf From: Jaehwan Kim <jae.hwan.kim@samsung.com>
Subject: [E-devel] [Patch] change rel1.to to default when using group
inherit

When using group inherit, if rel1.to is set in parent group, we cannot change the part name 
of rel1.to to default (the default is that dont have the part name) in child group.
So I changed edje_cc_out.c. After patching, we can change rel1.to to
default by using "". (ex > rel1.to: "";)



SVN revision: 64171
2011-10-19 09:41:17 +00:00
Carsten Haitzler 850ba388a2 oooh bad memory pointer handling as part of group inheritance (part
overriding) patches....!!!!! fix!



SVN revision: 64028
2011-10-13 00:09:04 +00:00
Carsten Haitzler f18d4de8d5 add border_scale_by that adds another scaling factor for border
scaling. use it as a way of super-sampling borders (eg use 0.5 to use
2x over-sampling, 0.25 for 4x oversapling etc.)



SVN revision: 63938
2011-10-10 05:53:02 +00:00
Mike McCormack 74c07498f9 edje: Add a --no-save option to edje_cc
Some people don't want to reveal their edc files...

Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 63937
2011-10-10 02:49:50 +00:00
Daniel Juyung Seo ec93b2a20a edje edje_cc_handlers.c: Fixed edje_cc bugs about data.item. Patch by Jaehwan Kim <jae.hwan.kim@samsung.com>
2011/9/30 Jaehwan Kim <jae.hwan.kim@samsung.com>:
>
> I found some bugs in edje_cc_handlers.c.
>
> One is about data.item. It is saved in hash list.
> When it is saved, I freed the memory of the key.
> But the memory is used. so I deleted the free(key).
>
> Second is it is possible in
st_collections_group_parts_part_description_state.
> So I changed the location of the conditional statement.
>
> Please apply this patch :)
>
> Jaehwan Kim.


SVN revision: 63822
2011-10-05 06:37:06 +00:00
Boris Faure 56c20bff47 edje: description.max can be -1
also add myself to AUTHORS

SVN revision: 63753
2011-10-02 21:07:54 +00:00
Daniel Juyung Seo 17881b57a4 edje edje_cc_handlers.c: Fixed indentation and error message.
SVN revision: 63693
2011-09-30 00:37:44 +00:00
Cedric BAIL db4c82bc46 edje: add group inheritance.
Patch by Jaehwan Kim <jae.hwan.kim@samsung.com>


SVN revision: 63648
2011-09-29 01:29:21 +00:00
Youness Alaoui df91f38ffb Edje: Use ecore_file_symlink rather than symlink
SVN revision: 63256
2011-09-07 06:58:48 +00:00
Cedric BAIL 686d473591 edje: add collection.group.limits.vertical and collection.group.limits.horizontal.
The goal is to provide an easy way to do the kind of effect you see in that video
around 00:36 : http://www.youtube.com/watch?v=KVoVLHh8CHc.
  At that time it was really difficult to do such thing and required a lot of
embryo code, we designed limit with Billiob to be able to do such kind of things
much more easily.

NOTE: so Billiob, now nothing stop you from releasing amsn2 ! ;-)


SVN revision: 62701
2011-08-22 21:44:49 +00:00
Tom Hacohen 43a9bc036b Edje: Fixed a couple of compilation warnings.
SVN revision: 62566
2011-08-18 11:41:04 +00:00
Cedric BAIL e076fec7c8 edje: at least advertise the fact that we do have PROXY part.
SVN revision: 62447
2011-08-14 16:12:13 +00:00
Boris Faure c76a60b0a5 edje/epp: cpp line control command is #line
SVN revision: 62381
2011-08-12 12:39:17 +00:00
Iván Briano fd222d9729 Inherit parts used by map too
SVN revision: 62145
2011-08-05 17:13:38 +00:00
Cedric BAIL a6ef9ac8ce edje: small error detection improvement.
SVN revision: 62086
2011-08-04 09:25:52 +00:00
Daniel Juyung Seo f926eb9285 edje edje_cc_handlers.c: Fixed documentation.
SVN revision: 61932
2011-08-01 05:06:49 +00:00
Tom Hacohen d6b2473668 Edje docs: Updated the 'tag' part of the Edc reference.
SVN revision: 61671
2011-07-25 08:26:03 +00:00
Cedric BAIL 7049b23a6f edje: forgotten dup.
SVN revision: 60554
2011-06-21 15:49:08 +00:00
Cedric BAIL 68b5402756 edje: make it possible to define part.description.max on only one axis.
SVN revision: 60546
2011-06-21 10:41:20 +00:00
Vincent Torri 3c4fd94e9d epp : use binary mode for (f)open()
SVN revision: 60463
2011-06-17 21:42:27 +00:00
Ulrich Eckhardt daabb017dc From: Ulrich Eckhardt <doomster@knuut.de>
Subject: [E-devel] Provide sensible errors for edje utilities

If you start edje_player or edje_inspector with a path to a file that doesn't 
exist you get a bogus error message saying that the file doesn't contain any 
groups. The attached patch uses access() to check if the program can read the 
file, giving a sensible error message if not.

I have checked the other utilities there, too, and they work, with the 
exception of edje_external_inspector. I'm not sure how this one works at all, 
but it seems not to take a file but a list of modules, maybe someone with 
greater insight can take a look at that.

Going through things installed under bin, I'll take a look if those behave 
properly and create patches for those, too, if this one is okay.



SVN revision: 60338
2011-06-15 09:38:08 +00:00
Vincent Torri 36b21249d9 From: Vincent Torri <vtorri@univ-evry.fr>
Subject: [E-devel] Edje: using fdopen instead of fopen in edje_cc

On windows, using open() followed by fopen() does not work. Hence, in 
edje_cc, where mkstemp (which uses open) is followed by fopen, edje_cc 
fails.

Instead of fopen, we can use fdopen. I pasted a  patch below. Can you 
comment it (like, instead of keeping the filename in the function that
i  modified, why not using it for the fd?

(changes - closefd) removed from data_write_scripts() as fclose()
handles that)




SVN revision: 60299
2011-06-14 07:02:14 +00:00
Boris Faure e6119fa4d9 remove .cvsignore files
SVN revision: 60246
2011-06-12 21:38:37 +00:00
Christopher Michael 2cd2227cf3 Edje: Fix 'variable may be used uninitialized' warning.
SVN revision: 60197
2011-06-10 16:43:23 +00:00
Carsten Haitzler 93e020f7ea fix epp case for:
#define AA(x) x
#define BB(a,b) \
   AA(a+b)
BB(1,1)



SVN revision: 60173
2011-06-10 05:50:45 +00:00
Carsten Haitzler d02f25e1ff whover did table and box support forgot:
1. table to have min.h/v ability like box
2. to ACTUALLY implement box h/v (and well of course implement
tableh/v too)

this basically fixes this working at all and completes the feature to
table too.



SVN revision: 59960
2011-06-04 15:58:02 +00:00
Carsten Haitzler eda52d527f epp -> fix macro expansion error with:
#define B(y) y
#define C(x) B(+x)
C(9876543210)



SVN revision: 59868
2011-06-01 13:16:14 +00:00
Carsten Haitzler 41121f7379 make epp strip dos \r's from dos-like \r\n
SVN revision: 59799
2011-05-30 06:37:44 +00:00
Vincent Torri 105a261d5b Edje: fix Windows printf format
SVN revision: 59511
2011-05-18 16:11:31 +00:00
Carsten Haitzler 87ec659bc6 use the ecore pos map call for edje as opposed to do it yourself. this
also opens up new position mappings like factored accel/decel/sin,
divis, bounce and spring! :) documentation provided.



SVN revision: 59449
2011-05-16 13:16:34 +00:00
Raoul HECKY 1594c4d07e Fix embryo code creation. Add newline after each function. It avoid lines to be too long for embryo_cc.
SVN revision: 59448
2011-05-16 12:16:54 +00:00
Carsten Haitzler 51b25f8c52 use new eina prefix finder.
SVN revision: 58850
2011-04-24 07:36:15 +00:00
Carsten Haitzler bd0461b6d8 those env vars per bin/lib/data dir should expliccitly give the dir
SVN revision: 58847
2011-04-24 02:45:58 +00:00
Carsten Haitzler 0b0d51c5cf add text effect shadow direction support.
SVN revision: 58548
2011-04-11 12:08:03 +00:00
Carsten Haitzler 6d9bd1f9b7 and dont handle escape if in string
SVN revision: 58511
2011-04-09 02:59:28 +00:00
Carsten Haitzler 917a0ac7b2 if we find a \ inside a macro parameter... handle it as an escape and
skip it giving the next char verbatim.



SVN revision: 58510
2011-04-09 02:49:19 +00:00
Carsten Haitzler a3d58eaddf provide better parser output on error.
SVN revision: 58508
2011-04-09 02:35:01 +00:00
Carsten Haitzler 56b3584912 wrn--
SVN revision: 58471
2011-04-08 05:53:49 +00:00
Carsten Haitzler 9d89abb915 edje_cc now only will use epp. makes for consistent output on all
platforms since we ship our own cpp.. err.. epp. :)



SVN revision: 58315
2011-04-04 08:30:02 +00:00
Carsten Haitzler 3620950f7c fix expansions in macors starting with - losing the - :) jeff! :)
happiness?



SVN revision: 58177
2011-03-29 11:56:51 +00:00
Carsten Haitzler 2d58f21d30 provide edje_player with the ability to set scale factor on cmd-line
and use keys to control it during display.



SVN revision: 58170
2011-03-29 03:27:23 +00:00
Christopher Michael 0651665be0 Edje: Revert those changes ... seems to break edj building for some
reason...



SVN revision: 58078
2011-03-24 22:15:07 +00:00
Christopher Michael 49bc9d8ee1 Edje:EPP: Comment out unused goto line. Fix (some) formatting (but
needs more fixing as the formatting in this is just horrible).



SVN revision: 58074
2011-03-24 20:25:17 +00:00
Vincent Torri e0ff04b83e Edje: Fix epp binary detection on Windows
SVN revision: 57961
2011-03-22 07:30:57 +00:00
Vincent Torri eeb6d1dcc6 fix compilation of epp on Windows, plus minor formatting
SVN revision: 57947
2011-03-21 23:04:35 +00:00
Boris Faure 7b2fb4cba2 epp: fix line numbering
SVN revision: 57936
2011-03-21 15:55:06 +00:00
Carsten Haitzler 1768db6934 epp output -> dont add extra spaces for macros! damnit! :)
SVN revision: 57929
2011-03-21 09:22:27 +00:00
Carsten Haitzler 40df8b5428 remove old code not used anymore
SVN revision: 57928
2011-03-21 03:00:33 +00:00
Carsten Haitzler 7f35e847f5 use proper prefix finding for epp.
SVN revision: 57927
2011-03-21 02:47:23 +00:00
Carsten Haitzler b7cf738b7f edje_decc only use edje_cc.
SVN revision: 57891
2011-03-19 07:20:33 +00:00
Mike Blumenkrantz eacea7d679 use return 0 on success exit
SVN revision: 57855
2011-03-18 18:58:12 +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
Cedric BAIL c8874ff8bd edje: oops, fix stupid edje_cc bug preventing compilation of most theme.
SVN revision: 57699
2011-03-11 23:03:46 +00:00
Cedric BAIL d0810de637 edje: add PROXY part.
example:

collections {
   group {
      name: "main";
      parts {
         part {
            name: "sub1";
            type: GROUP;
            source: "sub1";

            description {
               rel1.relative: 0.5 0.5;
               rel2.relative: 1.0 1.0;
            }
         }

         part {
            name: "pro2";
            type: PROXY;

            description {
               rel1.relative: 0.0 0.5;
               rel2.relative: 0.5 1.0;
               source: "sub1";
               color: 255 0 0 128;

               map {
                  on: 1;
                  smooth: 1;
                  rotation {
                     z: 30;
                  }
               }
            }
         }
      }
   }

   group {
      name: "sub1";
      parts {
         part {
            name: "rect";
            type: RECT;

            description {
               rel1.relative: 0.0 0.0;
               rel2.relative: 0.5 0.5;
               color: 255 0 0 255;

               map {
                  on: 1;
                  smooth: 1;
                  rotation {
                     z: -30;
                  }
               }
            }
         }

         part {
            name: "pro1";
            type: PROXY;

            description {
               rel1.relative: 0.5 0.0;
               rel2.relative: 1.0 0.7;
               color: 128 128 0 128;
               source: rect;
            }
         }
      }
   }
}




SVN revision: 57694
2011-03-11 17:46:29 +00:00
Cedric BAIL 0f3157854f edje: let's release the hand brake and run faster !
SVN revision: 57411
2011-02-28 13:25:46 +00:00
Tom Hacohen 7bf5ba8a7b Edje text: Added size_range to limit the font size range.
This lets you limit the allowed sizes of the TEXT part (font sizes) to
a specific range. This is especially useful in combination with the
"fit" property.

SVN revision: 57395
2011-02-27 18:09:03 +00:00
Mike Blumenkrantz d60c6a85da Subject: Re: [E-devel] E SVN: discomfitor trunk/edje/src/bin
Date: Wed, 23 Feb 2011 20:25:38 +0100 (CET)

On Wed, 23 Feb 2011, Mike Blumenkrantz wrote:
> vtorri! help!!!! :(  

try the attached patch

Vincent


SVN revision: 57284
2011-02-23 20:30:14 +00:00
Mike Blumenkrantz 5677e35855 whoops
SVN revision: 57272
2011-02-23 19:07:13 +00:00
Mike Blumenkrantz 4c8d7c1268 fix install dir
SVN revision: 57254
2011-02-23 06:32:20 +00:00
Mike Blumenkrantz 299e2d9208 edje: change epp installdir
SVN revision: 57252
2011-02-23 02:51:32 +00:00
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 9430a1f89a add an ellipsis alias.
SVN revision: 57159
2011-02-19 12:37:12 +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
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 2ba6051649 more return fixes. clang reports.
SVN revision: 56173
2011-01-16 04:13:37 +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 9b5626015e space++
SVN revision: 56162
2011-01-16 03:25:15 +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
Vincent Torri 588c29451b better include of headers
SVN revision: 55820
2011-01-03 08:11:36 +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 8f3ad6ed15 DSO problem: math functions are used in edje_cc
SVN revision: 55443
2010-12-10 07:59:48 +00:00
Vincent Torri 78a75afd7b first step toward DSO solution. see ticket #644
SVN revision: 55431
2010-12-09 18:39:08 +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 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
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
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 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
Cedric BAIL 26ba1c03e3 * edje: fix signal comming from aliased part.
I needed to bump minor file format version, but it will only
	change behaviour for people using alias for part and they
	couldn't use the signal emitted by them.


SVN revision: 53305
2010-10-12 13:26:18 +00:00
Gustavo Sverzut Barbieri 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
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
Boris Faure 545ea3a1a4 edje: improve doc
SVN revision: 53004
2010-10-03 21:21:58 +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
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
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
Carsten Haitzler ead7329b42 warning--
(shuddup gcc)



SVN revision: 52433
2010-09-19 00:33:45 +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
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 b61db77029 Put fonts into the .edj file again.
SVN revision: 51684
2010-08-27 18:52:41 +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 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
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 1d1a36047b * edje: remove edje_convert use in edje_cc.
SVN revision: 51134
2010-08-15 18:14:33 +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 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
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
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
Cedric BAIL ca93c6e5e4 * edje: fix version detection.
SVN revision: 50940
2010-08-09 18:31:25 +00:00
Cedric BAIL f3894fdd27 * edje: add some error detection.
SVN revision: 50939
2010-08-09 18:22:48 +00:00
Cedric BAIL 415b06bf48 * edje: oops forgotten file.
SVN revision: 50937
2010-08-09 18:00:02 +00:00
Cedric BAIL 9ecc1354c6 * edje: new file format.
WARNING ! WARNING ! WARNING ! WARNING !
	Old file format is not readable by edje directly. If you have old edje
	file that you want to convert, use edje_convert. Their is no way back.

	Recompile your file as soon as possible. Please report any issue you
	spot as this is a huge and needed change.



SVN revision: 50936
2010-08-09 17:34:03 +00:00
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
Mike Blumenkrantz 5c670876c0 verify that fopen succeeded
SVN revision: 50709
2010-07-31 05:24:47 +00:00
Mike Blumenkrantz 056cfca56f const
SVN revision: 50706
2010-07-31 05:10:44 +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
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
Carsten Haitzler 0cdb510001 fix up docs. edje player - 60fps
SVN revision: 50505
2010-07-26 06:52:36 +00:00
Cedric BAIL 793c66b5dc * edje: last move of properties in the right structure.
SVN revision: 50284
2010-07-16 16:00:26 +00:00
Cedric BAIL 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