framework/uifw/edje.git
13 years agoEdje text: Fix text cutting (esipsis) with non-english. evas_object_text_last_up_to_p...
tasn [Tue, 12 Oct 2010 12:22:43 +0000 (12:22 +0000)]
Edje text: Fix text cutting (esipsis) with non-english. evas_object_text_last_up_to_pos returns index, not byte-index.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@53304 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoAnother edje EXTERNAL example, this time make an elementary Anchorblock rotate around...
davemds [Mon, 11 Oct 2010 22:51:56 +0000 (22:51 +0000)]
Another edje EXTERNAL example, this time make an elementary Anchorblock rotate around in 3D.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@53279 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoAnd finally one funny (at least to code) edje example:
davemds [Mon, 11 Oct 2010 21:43:19 +0000 (21:43 +0000)]
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 ;)

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@53278 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoedje: Add get_part_id() to exported Embryo functions.
acidx [Mon, 11 Oct 2010 21:26:43 +0000 (21:26 +0000)]
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().

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@53277 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoshow group name when it is auto-discovered as well.
barbieri [Mon, 11 Oct 2010 15:10:34 +0000 (15:10 +0000)]
show group name when it is auto-discovered as well.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@53264 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agofocus objcet we play
raster [Mon, 11 Oct 2010 08:30:17 +0000 (08:30 +0000)]
focus objcet we play

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@53260 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agobah - removed snprintf.
raster [Mon, 11 Oct 2010 07:31:12 +0000 (07:31 +0000)]
bah - removed snprintf.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@53259 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agofix inlined fonts again.
raster [Mon, 11 Oct 2010 07:24:46 +0000 (07:24 +0000)]
fix inlined fonts again.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@53258 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoDisable search-engine in edje Doxy file. The search don't work and it add strange...
davemds [Sat, 9 Oct 2010 12:53:11 +0000 (12:53 +0000)]
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.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@53233 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years ago Put in edje examples the super cool edje-emotion-elementary
davemds [Fri, 8 Oct 2010 21:59:21 +0000 (21:59 +0000)]
 Put in edje examples the super cool edje-emotion-elementary
 videoplayer by Gustavo Barbieri.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@53214 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years ago Remove the doxy-inlined lua example in favor of a cleaner @include
davemds [Fri, 8 Oct 2010 21:14:31 +0000 (21:14 +0000)]
 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.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@53211 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoCopy the lua script-only example (by raster) from edje doxy to doc/examples.
davemds [Fri, 8 Oct 2010 20:14:14 +0000 (20:14 +0000)]
Copy the lua script-only example (by raster) from edje doxy to doc/examples.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@53203 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoAdd the first edje examples about the usage of EXTERNAL parts.
davemds [Fri, 8 Oct 2010 09:48:38 +0000 (09:48 +0000)]
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

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@53182 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agodont pretend to have these script only embryo calls anymore
raster [Fri, 8 Oct 2010 08:51:05 +0000 (08:51 +0000)]
dont pretend to have these script only embryo calls anymore

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@53181 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agobetter log.
barbieri [Fri, 8 Oct 2010 00:24:22 +0000 (00:24 +0000)]
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.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@53178 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoAdd a new embryo example to edje, it show the usage of program_run() and toggle buttons.
davemds [Thu, 7 Oct 2010 18:34:40 +0000 (18:34 +0000)]
Add a new embryo example to edje, it show the usage of program_run() and toggle buttons.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@53149 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoCheking if start.layout is set before using it.
sachiel [Thu, 7 Oct 2010 14:45:57 +0000 (14:45 +0000)]
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>

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@53144 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years ago * edje: remove not needed code and fix issue when removing child.
cedric [Thu, 7 Oct 2010 14:14:02 +0000 (14:14 +0000)]
* edje: remove not needed code and fix issue when removing child.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@53143 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoAdd a new embryo example in edje, it show the use of custom states. In the example...
davemds [Thu, 7 Oct 2010 00:03:54 +0000 (00:03 +0000)]
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.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@53127 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoUpdate edje examples to use embryo instead of lua. Inline lua scripting was removed...
davemds [Wed, 6 Oct 2010 23:03:28 +0000 (23:03 +0000)]
Update edje examples to use embryo instead of lua. Inline lua scripting was removed some time ago.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@53124 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEdje entry: Fixed the hack that was used in edje_entry for drawing anchors (the hack...
tasn [Wed, 6 Oct 2010 18:23:01 +0000 (18:23 +0000)]
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).

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@53107 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoedje: improve doc
billiob [Sun, 3 Oct 2010 21:21:58 +0000 (21:21 +0000)]
edje: improve doc

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@53004 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoefl 1.0.0 beta.
raster [Sun, 3 Oct 2010 09:21:08 +0000 (09:21 +0000)]
efl 1.0.0 beta.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@52992 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoadd big FIXME for fixme
discomfitor [Sat, 2 Oct 2010 08:22:48 +0000 (08:22 +0000)]
add big FIXME for fixme

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@52978 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agothis is the WRONG fix for compiled-in edj font issues. it does, however, temporarily...
discomfitor [Sat, 2 Oct 2010 07:42:01 +0000 (07:42 +0000)]
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

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@52977 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoactually hook in filter callbacks - have 2 types and pass in enum to
raster [Sat, 2 Oct 2010 03:34:00 +0000 (03:34 +0000)]
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.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@52975 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoFix animators, don't run the program twice.
sachiel [Fri, 1 Oct 2010 17:10:37 +0000 (17:10 +0000)]
Fix animators, don't run the program twice.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@52953 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoFix having api keyword in parts, that is, don't have edje_cc segfault if there is...
sachiel [Fri, 1 Oct 2010 16:49:31 +0000 (16:49 +0000)]
Fix having api keyword in parts, that is, don't have edje_cc segfault if there is one.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@52952 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoset EDJE_SELF_FEED_DEBUG if u want to know abotu self-feeding edje
raster [Fri, 1 Oct 2010 06:59:48 +0000 (06:59 +0000)]
set EDJE_SELF_FEED_DEBUG if u want to know abotu self-feeding edje
signals/messages

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@52943 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoproper error output from script running (embryo).
raster [Fri, 1 Oct 2010 06:53:16 +0000 (06:53 +0000)]
proper error output from script running (embryo).

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@52942 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoedje_cc: Don't dereference a NULL pointer on badly-formed .edj files.
acidx [Thu, 30 Sep 2010 21:37:49 +0000 (21:37 +0000)]
edje_cc: Don't dereference a NULL pointer on badly-formed .edj files.

(Should have been on r52931.)

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@52932 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoedje_cc: Bail out on descriptions without a state.
acidx [Thu, 30 Sep 2010 21:31:00 +0000 (21:31 +0000)]
edje_cc: Bail out on descriptions without a state.

Also, don't dereference a NULL pointer on badly-formed .edj files.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@52931 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoedje_cc: Fix typos
acidx [Thu, 30 Sep 2010 21:16:38 +0000 (21:16 +0000)]
edje_cc: Fix typos

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@52930 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoDynamic choices in edje EXTERNALS.
barbieri [Wed, 29 Sep 2010 03:01:17 +0000 (03:01 +0000)]
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

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@52874 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agonew flags to external parameters.
barbieri [Wed, 29 Sep 2010 02:42:50 +0000 (02:42 +0000)]
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 :-)

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@52873 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoAdding a transition layout animation for edje box.
barbieri [Wed, 29 Sep 2010 00:28:54 +0000 (00:28 +0000)]
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;
            }
         }
      }
   }
}

}}}

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@52871 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoAnd use Eina_Bool return values too.
devilhorns [Tue, 28 Sep 2010 00:25:54 +0000 (00:25 +0000)]
And use Eina_Bool return values too.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@52833 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoFix edje entry callback to use Eina_Bool like ecore_imf is expecting.
devilhorns [Tue, 28 Sep 2010 00:24:44 +0000 (00:24 +0000)]
Fix edje entry callback to use Eina_Bool like ecore_imf is expecting.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@52832 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoDon't screw up script {} highlighting when there are several levels of {}
sachiel [Mon, 27 Sep 2010 21:12:09 +0000 (21:12 +0000)]
Don't screw up script {} highlighting when there are several levels of {}

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@52812 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agocosmetic only: put files in alphabetic order.
caro [Sat, 25 Sep 2010 17:19:46 +0000 (17:19 +0000)]
cosmetic only: put files in alphabetic order.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@52737 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoPut everything in edje_private. It should fix a compilation
caro [Sat, 25 Sep 2010 17:10:33 +0000 (17:10 +0000)]
Put everything in edje_private. It should fix a compilation
bug on Windows

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@52736 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agocorrectness!
raster [Thu, 23 Sep 2010 02:52:19 +0000 (02:52 +0000)]
correctness!

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@52618 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoDon't include Edje_Edit.h in edje_private.h and make it obvious at compile time that...
sachiel [Wed, 22 Sep 2010 14:52:23 +0000 (14:52 +0000)]
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.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@52593 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agomore pi cleantyp -> typedef.
raster [Wed, 22 Sep 2010 13:35:47 +0000 (13:35 +0000)]
more pi cleantyp -> typedef.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@52590 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoint -> enum.
raster [Wed, 22 Sep 2010 13:27:09 +0000 (13:27 +0000)]
int -> enum.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@52589 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agocomment++
raster [Wed, 22 Sep 2010 13:01:13 +0000 (13:01 +0000)]
comment++

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@52587 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoignore auto-generated file.
barbieri [Sun, 19 Sep 2010 20:36:15 +0000 (20:36 +0000)]
ignore auto-generated file.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@52476 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEdje entry: Fixed a lot of formatting issues. Patch by Jihoon Kim.
tasn [Sun, 19 Sep 2010 08:08:17 +0000 (08:08 +0000)]
Edje entry: Fixed a lot of formatting issues. Patch by Jihoon Kim.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@52461 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agowarnings--
raster [Sun, 19 Sep 2010 03:04:17 +0000 (03:04 +0000)]
warnings--
warnings = 0

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@52452 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agowarning--
raster [Sun, 19 Sep 2010 00:33:45 +0000 (00:33 +0000)]
warning--
(shuddup gcc)

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@52433 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years ago * edje: remove unused variable.
cedric [Fri, 17 Sep 2010 12:05:46 +0000 (12:05 +0000)]
* edje: remove unused variable.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@52364 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years ago * edje: prevent segv due to dead relative part.
cedric [Thu, 16 Sep 2010 15:49:56 +0000 (15:49 +0000)]
* edje: prevent segv due to dead relative part.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@52347 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years ago * edje: cleanup aspect code and reduce memory presure.
cedric [Wed, 15 Sep 2010 14:15:23 +0000 (14:15 +0000)]
* edje: cleanup aspect code and reduce memory presure.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@52304 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years ago * edje: turn it on again and go fix your theme :-)
cedric [Wed, 15 Sep 2010 14:09:58 +0000 (14:09 +0000)]
* edje: turn it on again and go fix your theme :-)

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@52303 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoCEEEEEEEEEDRICCCCCCCCCCCCCCCC!
raster [Tue, 14 Sep 2010 22:32:34 +0000 (22:32 +0000)]
CEEEEEEEEEDRICCCCCCCCCCCCCCCC!
  borked e conf panel. unbork. disable aspect.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@52273 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years ago * edje: remove use of flags as it was always set to FLAG_XY
cedric [Tue, 14 Sep 2010 15:53:47 +0000 (15:53 +0000)]
* edje: remove use of flags as it was always set to FLAG_XY
in _edje_part_recalc_single.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@52245 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years ago * edje: fix edje use of aspect when constrained by min or max.
cedric [Tue, 14 Sep 2010 15:36:16 +0000 (15:36 +0000)]
* 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.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@52244 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoDon't check return value of alloca
lucas [Mon, 13 Sep 2010 18:40:32 +0000 (18:40 +0000)]
Don't check return value of alloca
alloca() doesn't return NULL on error, so do not check its return value.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@52199 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agodont get item anchors so often!
raster [Mon, 13 Sep 2010 12:08:19 +0000 (12:08 +0000)]
dont get item anchors so often!

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@52187 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEdje entry: Fixed a selection bug with IMF enabled and fix a couple of indentation...
tasn [Sun, 12 Sep 2010 08:15:35 +0000 (08:15 +0000)]
Edje entry: Fixed a selection bug with IMF enabled and fix a couple of indentation issues, and a saftey check.
Patch by Jihoon Kim.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@52165 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoSimplify code by removing unneeded auxiliary variable
lucas [Fri, 10 Sep 2010 11:25:26 +0000 (11:25 +0000)]
Simplify code by removing unneeded auxiliary variable

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@52135 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoRefactor function to return as early as possible
lucas [Fri, 10 Sep 2010 11:25:15 +0000 (11:25 +0000)]
Refactor function to return as early as possible
Instead of a looooooong 'if', return on the contrary.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@52134 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoFormatting
lucas [Fri, 10 Sep 2010 11:25:05 +0000 (11:25 +0000)]
Formatting

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@52133 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoRefactor jumps
lucas [Fri, 10 Sep 2010 11:24:49 +0000 (11:24 +0000)]
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.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@52132 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoFix parameter order in help
lucas [Thu, 9 Sep 2010 20:35:44 +0000 (20:35 +0000)]
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()

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@52105 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years ago * edje: cleanup collection early if the file is dangling.
cedric [Wed, 8 Sep 2010 13:45:21 +0000 (13:45 +0000)]
* edje: cleanup collection early if the file is dangling.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@51991 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoFix common misspellings
lucas [Wed, 8 Sep 2010 11:50:05 +0000 (11:50 +0000)]
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

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@51988 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEdje entry: fix the usage of the new evas_textblock_cursor_geometry_get function.
tasn [Wed, 8 Sep 2010 07:29:00 +0000 (07:29 +0000)]
Edje entry: fix the usage of the new evas_textblock_cursor_geometry_get function.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@51980 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoMerge branch 'elmdnd'
nash [Tue, 7 Sep 2010 06:56:16 +0000 (06:56 +0000)]
Merge branch 'elmdnd'

Conflicts:
trunk/TMP/st/elementary/.gitignore

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@51935 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEdje entry: started using the new evas_textblock_cursor_content_get.
tasn [Sun, 5 Sep 2010 08:29:52 +0000 (08:29 +0000)]
Edje entry: started using the new evas_textblock_cursor_content_get.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@51899 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEdje entry: Enabled Ecore_IMF.
tasn [Sun, 5 Sep 2010 07:20:47 +0000 (07:20 +0000)]
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.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@51897 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoformatting fix + list walk optimisation.
raster [Sat, 4 Sep 2010 03:53:12 +0000 (03:53 +0000)]
formatting fix + list walk optimisation.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@51874 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoDon't put nulls in the list of programs, makes little sense.
sachiel [Fri, 3 Sep 2010 14:37:42 +0000 (14:37 +0000)]
Don't put nulls in the list of programs, makes little sense.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@51863 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agouse new clipper flag
raster [Fri, 3 Sep 2010 00:07:52 +0000 (00:07 +0000)]
use new clipper flag

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@51850 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEdje entry: Fixed setting cursor on mouse click.
tasn [Thu, 2 Sep 2010 13:52:14 +0000 (13:52 +0000)]
Edje entry: Fixed setting cursor on mouse click.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@51841 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEdje entry: Started using evas_textblock_cursor_geometry_get for cursor position...
tasn [Thu, 2 Sep 2010 11:50:52 +0000 (11:50 +0000)]
Edje entry: Started using evas_textblock_cursor_geometry_get for cursor position instead of char_geometry_get.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@51835 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEina Error messages in Edje Edit
sachiel [Wed, 1 Sep 2010 17:15:52 +0000 (17:15 +0000)]
Eina Error messages in Edje Edit
This first commit only includes errors ocurred during group deletion

By: Thiago Ribeiro Masaki <masaki@profusion.mobi>

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@51817 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoA bit of doxy cleanliness here. More love needed, though.
glima [Tue, 31 Aug 2010 22:59:17 +0000 (22:59 +0000)]
A bit of doxy cleanliness here. More love needed, though.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@51791 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoAvoiding access in NULL hash and little fixes.
sachiel [Tue, 31 Aug 2010 19:32:08 +0000 (19:32 +0000)]
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>

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@51786 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years ago * edje: fix interpolation of text color during animation.
cedric [Tue, 31 Aug 2010 13:30:11 +0000 (13:30 +0000)]
* edje: fix interpolation of text color during animation.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@51782 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoupdate Doxyfile to show more functions, types, etc...
caro [Tue, 31 Aug 2010 05:02:16 +0000 (05:02 +0000)]
update Doxyfile to show more functions, types, etc...
The Doxyfile of the EFL need a complete review and update, I think

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@51772 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoPut fonts into the .edj file again.
sachiel [Fri, 27 Aug 2010 18:52:41 +0000 (18:52 +0000)]
Put fonts into the .edj file again.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@51684 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoBring back (corrected) second check.
sachiel [Fri, 27 Aug 2010 12:20:58 +0000 (12:20 +0000)]
Bring back (corrected) second check.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@51676 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoApply double_condition_check.cocci
lucas [Thu, 26 Aug 2010 20:45:09 +0000 (20:45 +0000)]
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.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@51666 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoRevert and re-apply badnull patch
lucas [Thu, 26 Aug 2010 01:34:13 +0000 (01:34 +0000)]
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.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@51650 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEdje entry: Fixed drawing of anchors.
tasn [Wed, 25 Aug 2010 14:54:08 +0000 (14:54 +0000)]
Edje entry: Fixed drawing of anchors.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@51647 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoevil after alloca
raster [Wed, 25 Aug 2010 10:38:15 +0000 (10:38 +0000)]
evil after alloca

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@51639 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agocompile in windows again - i think. eapi hackery.
raster [Wed, 25 Aug 2010 10:37:08 +0000 (10:37 +0000)]
compile in windows again - i think. eapi hackery.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@51638 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years ago * edje: add file minor version field.
cedric [Wed, 25 Aug 2010 09:56:20 +0000 (09:56 +0000)]
* 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.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@51636 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoalloca header fix for edje.
raster [Wed, 25 Aug 2010 09:25:36 +0000 (09:25 +0000)]
alloca header fix for edje.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@51634 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoturn lots of if's into switch. should be more efficient (if compiler
raster [Wed, 25 Aug 2010 01:16:34 +0000 (01:16 +0000)]
turn lots of if's into switch. should be more efficient (if compiler
isnt dumb)

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@51623 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agonuke old obsolete lua stuff - except edje_lua.c. let it dangle with
raster [Wed, 25 Aug 2010 01:09:44 +0000 (01:09 +0000)]
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.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@51622 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years ago * edje: add back anonymous script.
cedric [Tue, 24 Aug 2010 16:39:51 +0000 (16:39 +0000)]
* edje: add back anonymous script.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@51617 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoLeak--
sachiel [Tue, 24 Aug 2010 14:36:29 +0000 (14:36 +0000)]
Leak--

By Fidencio

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@51616 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoFixing return of edje_edit_fonts_list_get
sachiel [Tue, 24 Aug 2010 14:36:07 +0000 (14:36 +0000)]
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

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@51615 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoFixing {font,image}_del's ret when file not exist
sachiel [Tue, 24 Aug 2010 14:35:37 +0000 (14:35 +0000)]
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

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@51614 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years ago * edje: add back anonymous program support.
cedric [Tue, 24 Aug 2010 14:17:17 +0000 (14:17 +0000)]
* edje: add back anonymous program support.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@51613 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years ago * edje: prevent segv when no param is given to edje_convert.
cedric [Mon, 23 Aug 2010 14:44:04 +0000 (14:44 +0000)]
* edje: prevent segv when no param is given to edje_convert.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@51575 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoConvert (hopefully) all comparisons to NULL
lucas [Sat, 21 Aug 2010 13:52:25 +0000 (13:52 +0000)]
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

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@51487 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years ago * edje: document undefined behaviour of edje_object_size_min_restricted_calc.
cedric [Fri, 20 Aug 2010 09:20:48 +0000 (09:20 +0000)]
* edje: document undefined behaviour of edje_object_size_min_restricted_calc.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@51464 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33