framework/uifw/edje.git
14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 years agoFix fat-finger copy-paste error. (Edje amalgamation would generate an
devilhorns [Thu, 19 Aug 2010 15:03:28 +0000 (15:03 +0000)]
Fix fat-finger copy-paste error. (Edje amalgamation would generate an
eina_amalgamation file).

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

14 years agoAdd UNUSED where needed.
devilhorns [Thu, 19 Aug 2010 14:57:23 +0000 (14:57 +0000)]
Add UNUSED where needed.
Cleanup some formatting.

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

14 years ago * edje: fix edje external module to be consistent with the rest of the efl.
cedric [Wed, 18 Aug 2010 16:57:19 +0000 (16:57 +0000)]
* edje: fix edje external module to be consistent with the rest of the efl.

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

14 years agoFix more 'may be used uninitialized' & 'unused variable' warnings.
devilhorns [Wed, 18 Aug 2010 16:55:49 +0000 (16:55 +0000)]
Fix more 'may be used uninitialized' & 'unused variable' warnings.

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

14 years agoRemove unused variable.
devilhorns [Wed, 18 Aug 2010 16:51:27 +0000 (16:51 +0000)]
Remove unused variable.

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

14 years agoFix 'may be used uninitialized' warnings.
devilhorns [Wed, 18 Aug 2010 16:51:10 +0000 (16:51 +0000)]
Fix 'may be used uninitialized' warnings.

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

14 years agoAlso change group name in the Edje smart data
sachiel [Wed, 18 Aug 2010 14:38:27 +0000 (14:38 +0000)]
Also change group name in the Edje smart data

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

14 years agoRemoving blank line and white space in gen-ed edc.
glima [Tue, 17 Aug 2010 22:20:37 +0000 (22:20 +0000)]
Removing blank line and white space in gen-ed edc.

By FidĂȘncio.

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

14 years ago[PATCH 3/3] If the group is still in use it must not be deleted
glima [Tue, 17 Aug 2010 16:37:53 +0000 (16:37 +0000)]
[PATCH 3/3] If the group is still in use it must not be deleted

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

14 years ago[PATCH 2/3] group_del: the object was not being deleted from hash
glima [Tue, 17 Aug 2010 16:37:32 +0000 (16:37 +0000)]
[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

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

14 years ago[PATCH 1/3] checking if the pointer is null in edje_cache.c
glima [Tue, 17 Aug 2010 16:37:01 +0000 (16:37 +0000)]
[PATCH 1/3] checking if the pointer is null in edje_cache.c

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

14 years ago * edje: fix edje external module path.
cedric [Tue, 17 Aug 2010 13:29:23 +0000 (13:29 +0000)]
* edje: fix edje external module path.

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

14 years ago * edje: less warnings by Albin Tonnerre.
cedric [Tue, 17 Aug 2010 12:15:04 +0000 (12:15 +0000)]
* edje: less warnings by Albin Tonnerre.

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

14 years ago * edje: fix exported api by Albin Tonnerre.
cedric [Tue, 17 Aug 2010 12:10:06 +0000 (12:10 +0000)]
* edje: fix exported api by Albin Tonnerre.

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

14 years agoeina-0 is no more, check for the right package name
lucas [Tue, 17 Aug 2010 03:59:29 +0000 (03:59 +0000)]
eina-0 is no more, check for the right package name

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

14 years agothat was never meant to be there!
raster [Mon, 16 Aug 2010 21:22:42 +0000 (21:22 +0000)]
that was never meant to be there!

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

14 years agoedje -> knocked off too for 1.0.0 alpha
raster [Mon, 16 Aug 2010 09:08:49 +0000 (09:08 +0000)]
edje -> knocked off too for 1.0.0 alpha

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

14 years agochar* -> const char*
discomfitor [Mon, 16 Aug 2010 03:50:27 +0000 (03:50 +0000)]
char* -> const char*

Patch by Fabiano "I'm smoking crack" FidĂȘncio

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

14 years agofix up copyings likewise. nicely standardised templateish.
raster [Mon, 16 Aug 2010 03:00:16 +0000 (03:00 +0000)]
fix up copyings likewise. nicely standardised templateish.

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

14 years agoand add to header too.
raster [Mon, 16 Aug 2010 02:04:46 +0000 (02:04 +0000)]
and add to header too.

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

14 years agoagain - using internal symbols and NOT exporting them! bad!
raster [Mon, 16 Aug 2010 02:04:01 +0000 (02:04 +0000)]
again - using internal symbols and NOT exporting them! bad!

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

14 years agoadd back in copyright notice - how did that ever go away?
raster [Sun, 15 Aug 2010 21:53:24 +0000 (21:53 +0000)]
add back in copyright notice - how did that ever go away?

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

14 years ago * edje: remove edje_convert use in edje_cc.
cedric [Sun, 15 Aug 2010 18:14:33 +0000 (18:14 +0000)]
* edje: remove edje_convert use in edje_cc.

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

14 years agore-enable. valgrind happy now. hrrrm.
raster [Sat, 14 Aug 2010 10:28:57 +0000 (10:28 +0000)]
re-enable. valgrind happy now. hrrrm.

/    /
(o)  (o)
   ..

  ~-~\.

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

14 years agoceeeeeeeeeeeeeeeeedric! :)
raster [Sat, 14 Aug 2010 04:03:33 +0000 (04:03 +0000)]
ceeeeeeeeeeeeeeeeedric! :)

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

14 years agoShuting up GCC warnings!
sachiel [Fri, 13 Aug 2010 20:40:27 +0000 (20:40 +0000)]
Shuting up GCC warnings!

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

14 years agoconstifying (Edje_String)->str
sachiel [Fri, 13 Aug 2010 20:39:43 +0000 (20:39 +0000)]
constifying (Edje_String)->str

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

14 years agoUsing edje_string_get in group's gen code
sachiel [Fri, 13 Aug 2010 20:38:57 +0000 (20:38 +0000)]
Using edje_string_get in group's gen code

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