profile/ivi/edje.git
14 years agoset ecore_app arguments, edje external will use it to init elm_init()
barbieri [Mon, 29 Mar 2010 18:45:18 +0000 (18:45 +0000)]
set ecore_app arguments, edje external will use it to init elm_init()

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@47563 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoexport useful function.
barbieri [Mon, 29 Mar 2010 18:44:42 +0000 (18:44 +0000)]
export useful function.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@47562 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoMore safety removing stuff from lists
sachiel [Mon, 29 Mar 2010 07:13:35 +0000 (07:13 +0000)]
More safety removing stuff from lists

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@47554 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoUse safe macros to walk the lists when we may remove something from it
sachiel [Mon, 29 Mar 2010 07:03:36 +0000 (07:03 +0000)]
Use safe macros to walk the lists when we may remove something from it

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@47553 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoNew file.
rui [Sun, 28 Mar 2010 18:46:57 +0000 (18:46 +0000)]
New file.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@47535 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agonew program action PARAM_COPY, awesome crazy stuff! :-)
barbieri [Sat, 27 Mar 2010 01:26:10 +0000 (01:26 +0000)]
new program action PARAM_COPY, awesome crazy stuff! :-)

Edje got a new program action called PARAM_COPY in the form:

   action: PARAM_COPY "src_part" "src_param" "dst_part" "dst_param";

This will copy the parameter "src_param" from part "src_part" to
parameter "dst_param" of part "dst_part".

So far so good, why the "crazy" in the first line? Because this also:
  * do type conversion!
  * set properties of native parts, not just EXTERNAL!

The type conversion allows one to get an integer and display that in a
text property, or get an string and convert into a float.

The set of native parts is quite simple, basically a map of Edje.h
edje_object_part_*_set(). With that one can set the string to be used
by a TEXT, or set drag page/step/size/value! (page/step increments are
not supported at the moment, if it is worth, they may be supported in
future).

Sample EDC:

{{{

  // test.edc, compile with edje_cc and run with edje_player

   externals {
      external: "elm";
   }
   collections {
      group { name: "main";
         parts {
            part { name: "bg"; type: RECT;
               description { state: "default" 0.0;
                  color: 255 255 255 255;
               }
            }
            part { name: "entry"; type: EXTERNAL;
               source: "elm/scrolled_entry";
               description { state: "default" 0.0;
                  rel2.relative: 1.0 0.5;
               }
            }
            part { name: "display"; type: TEXT;
               description { state: "default" 0.0;
                  color: 0 128 0 255;
                  rel1.relative: 0.0 0.5;
                  text { font: "Sans"; size: 16; }
               }
            }
            programs {
               program {
                  signal: "changed";
                  source: "entry";
                  action: PARAM_COPY "entry" "text" "display" "text";
               }
            }
         }
      }
   }

}}}

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@47500 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agopassword mode - dont allow selections
raster [Fri, 26 Mar 2010 04:42:39 +0000 (04:42 +0000)]
password mode - dont allow selections

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@47466 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agofix markup insert to be the same as normal text entry code - except given
raster [Fri, 26 Mar 2010 04:22:30 +0000 (04:22 +0000)]
fix markup insert to be the same as normal text entry code - except given
text markup.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@47465 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoallow setting parameters from embryo!
barbieri [Thu, 25 Mar 2010 20:18:24 +0000 (20:18 +0000)]
allow setting parameters from embryo!

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@47459 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoEdje EXTERNAL API break, for good.
barbieri [Thu, 25 Mar 2010 18:05:42 +0000 (18:05 +0000)]
Edje EXTERNAL API break, for good.

I'm now introducing a couple of goodies to make externals more useful,
they are:

 * add: extra parameter with the part name. This may be used by
   external objects to emit signals in the name of that part.

 * param_set/param_get: set parameters at runtime, given their names
   and types. This avoids requiring users to get the actual object and
   call methods. This abstraction is also good because it let one uses
   Elementary without even linking to it ;-) (this have limits, like
   complex types are not supported).  Right now this is just exposed
   to C, but goal is to have it exposed in Embryo and Lua as well.

 * translate: new method to translate previously strings that are
   specified statically, such as the parameters names.

Four new functions got added to the Edje API:

 * edje_object_part_external_object_get() so we don't have to abuse
   edje_object_part_swallow_get()

 * edje_object_part_external_param_set() and
   edje_object_part_external_param_get() that call the external type's
   functions.

 * edje_external_param_type_str() to convert types to string and
   provide nicer debugs :-)

TODO:
  * expose external_param_set()/external_param_get() to Embryo and Lua.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@47456 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoconvert some printfs to eina error.
barbieri [Thu, 25 Mar 2010 17:30:59 +0000 (17:30 +0000)]
convert some printfs to eina error.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@47451 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoFix wrong names below<->above
tiago [Thu, 25 Mar 2010 16:41:46 +0000 (16:41 +0000)]
Fix wrong names below<->above

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@47446 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoDirty copy/paste to delete individual targets from a program
sachiel [Thu, 25 Mar 2010 11:19:46 +0000 (11:19 +0000)]
Dirty copy/paste to delete individual targets from a program

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@47444 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agofix entry delete.
raster [Thu, 25 Mar 2010 08:17:51 +0000 (08:17 +0000)]
fix entry delete.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@47443 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoabove and below get
tiago [Wed, 24 Mar 2010 19:21:03 +0000 (19:21 +0000)]
above and below get

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@47435 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoallows basic interaction from automated scripts and signal/message debug.
barbieri [Fri, 19 Mar 2010 19:04:50 +0000 (19:04 +0000)]
allows basic interaction from automated scripts and signal/message debug.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@47347 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoedje_player gets in.
barbieri [Fri, 19 Mar 2010 16:19:50 +0000 (16:19 +0000)]
edje_player gets in.

I almost rewrote it to be cleaner and use more modern technologies
such as box and ecore_evas_object_associate.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@47343 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agocopy edje_player, it will be changed to use Ecore_Getopt and then enabled in compile...
barbieri [Fri, 19 Mar 2010 13:23:24 +0000 (13:23 +0000)]
copy edje_player, it will be changed to use Ecore_Getopt and then enabled in compile...

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@47341 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoforce gcc to use C preprocessor (otherwise the file extension (.edc) is
caro [Thu, 18 Mar 2010 22:52:28 +0000 (22:52 +0000)]
force gcc to use C preprocessor (otherwise the file extension (.edc) is
breaking that behavior)

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@47338 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agofix edje_cc on Mac OS X: c++ comments were not removed, so pass
caro [Tue, 16 Mar 2010 05:49:13 +0000 (05:49 +0000)]
fix edje_cc on Mac OS X: c++ comments were not removed, so pass
gcc -E on the edc file a second time. As Linux gcc does not like
it, compile that part only on Mac OS X.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@47280 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agobug--
raster [Tue, 16 Mar 2010 04:10:03 +0000 (04:10 +0000)]
bug--

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@47275 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agobug--
raster [Tue, 16 Mar 2010 00:57:04 +0000 (00:57 +0000)]
bug--

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@47267 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agobug--
raster [Mon, 15 Mar 2010 09:45:02 +0000 (09:45 +0000)]
bug--

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@47232 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoand emit signals on cursor changes etc.
raster [Mon, 15 Mar 2010 03:02:14 +0000 (03:02 +0000)]
and emit signals on cursor changes etc.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@47231 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agomore bug --
raster [Sun, 14 Mar 2010 12:24:54 +0000 (12:24 +0000)]
more bug --

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@47202 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoone more end of line cursor issue fixed.
raster [Sat, 13 Mar 2010 13:25:40 +0000 (13:25 +0000)]
one more end of line cursor issue fixed.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@47175 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agowe have printf debugging right now - in the middle of chasing entry issues,
raster [Thu, 11 Mar 2010 14:28:44 +0000 (14:28 +0000)]
we have printf debugging right now - in the middle of chasing entry issues,
so keeep this in.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@47133 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoalso do imf stuff on cursor fiddling api's
raster [Thu, 11 Mar 2010 10:16:32 +0000 (10:16 +0000)]
also do imf stuff on cursor fiddling api's

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@47132 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agodisable the extar newline stuff... seems to be ok without. i'm sure i put it
raster [Thu, 11 Mar 2010 08:07:55 +0000 (08:07 +0000)]
disable the extar newline stuff... seems to be ok without. i'm sure i put it
in for a reason... hrrrm..

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@47129 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agocalls for entry users to use.
raster [Thu, 11 Mar 2010 06:34:20 +0000 (06:34 +0000)]
calls for entry users to use.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@47126 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoaaaah there it is! fix 1 small bug - sel all in edje entry - more there. will
raster [Wed, 10 Mar 2010 13:32:49 +0000 (13:32 +0000)]
aaaah there it is! fix 1 small bug - sel all in edje entry - more there. will
fix.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@47103 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years ago * Document mouse event callback system in LUA
davemds [Tue, 9 Mar 2010 00:55:36 +0000 (00:55 +0000)]
 * Document mouse event callback system in LUA

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@47063 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years ago * Add a new basic lua example: Set part state from LUA. (and a small fix in the...
davemds [Mon, 8 Mar 2010 22:25:40 +0000 (22:25 +0000)]
 * Add a new basic lua example: Set part state from  LUA. (and a small fix in the doxy)

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@47054 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years ago * More LUA doxy, now all the Classes,Methods and Attributes are documented (...at...
davemds [Mon, 8 Mar 2010 19:09:15 +0000 (19:09 +0000)]
 * More LUA doxy, now all the Classes,Methods and Attributes are documented (...at least listed). Still have some examples and some more info to write.
 * fix the use of lua table in the example

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@47048 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoPut examples in dist package
davemds [Sun, 7 Mar 2010 23:10:21 +0000 (23:10 +0000)]
Put examples in dist package

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@46970 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoPut examples in dist package
davemds [Sun, 7 Mar 2010 19:41:41 +0000 (19:41 +0000)]
Put examples in dist package

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@46956 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoAdd the examples/ folder in edje/doc/ and put in the first 2 lua examples
davemds [Sun, 7 Mar 2010 19:34:28 +0000 (19:34 +0000)]
Add the examples/ folder in edje/doc/ and put in the first 2 lua examples

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@46955 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years ago * Add a doxy page for LUA scripting in edje documentation, not complete yet, but...
davemds [Sun, 7 Mar 2010 18:05:12 +0000 (18:05 +0000)]
 * Add a doxy page for LUA scripting in edje documentation, not complete yet, but a good structure

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@46954 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agodocu typos
urandom [Sun, 7 Mar 2010 15:53:46 +0000 (15:53 +0000)]
docu typos

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@46952 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoupdated vimball with complete syntax and improved completion
urandom [Sun, 7 Mar 2010 15:53:02 +0000 (15:53 +0000)]
updated vimball with complete syntax and improved completion

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@46951 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agocolor class lookup speedups by using stringshare properties.
barbieri [Sun, 7 Mar 2010 04:50:12 +0000 (04:50 +0000)]
color class lookup speedups by using stringshare properties.

with stringshare, we can just compare pointers instead of
strcmp. Since we'll need the stringshare later, this is a good
optimization.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@46925 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoReverting the previous commit, dont fix properly.
tiago [Fri, 5 Mar 2010 18:22:17 +0000 (18:22 +0000)]
Reverting the previous commit, dont fix properly.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@46894 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoSorry for assuming o bool return on that function.
glima [Fri, 5 Mar 2010 17:31:29 +0000 (17:31 +0000)]
Sorry for assuming o bool return on that function.

Thanks for pointing out, JaMa.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@46893 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoRemoving seg fault. By Fidencio
tiago [Thu, 4 Mar 2010 20:40:59 +0000 (20:40 +0000)]
Removing seg fault. By Fidencio

Author:    Fabiano Fidencio <fidencio at profusion.mobi>

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@46877 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoAdding edje_object_parts_extends_calc, to calc the geometry used by parts
tiago [Thu, 4 Mar 2010 20:40:54 +0000 (20:40 +0000)]
Adding edje_object_parts_extends_calc, to calc the geometry used by parts

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@46876 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years ago * edje: Only register callback once for external.
cedric [Thu, 4 Mar 2010 14:44:20 +0000 (14:44 +0000)]
* edje: Only register callback once for external.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@46868 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agouse PATH_MAX to define buffer size
englebass [Mon, 1 Mar 2010 19:05:37 +0000 (19:05 +0000)]
use PATH_MAX to define buffer size

in snprintf on the buffer PATH_MAX is used, so also use it to define
buffer size

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@46729 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoedje: Document several puzzling Edje_External_Type callbacks
dottedmag [Mon, 1 Mar 2010 14:41:49 +0000 (14:41 +0000)]
edje: Document several puzzling Edje_External_Type callbacks

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@46697 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agodocumentation improvements:
barbieri [Sun, 28 Feb 2010 19:25:10 +0000 (19:25 +0000)]
documentation improvements:

 - quick access in the huuuuuuuge edcref
 - block name is top-aligned to its example fragment

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@46668 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoremove warnings from edje binaries.
barbieri [Sun, 28 Feb 2010 16:14:50 +0000 (16:14 +0000)]
remove warnings from edje binaries.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@46647 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoEdje now uses Eina_Bool where it should.
barbieri [Sun, 28 Feb 2010 15:57:17 +0000 (15:57 +0000)]
Edje now uses Eina_Bool where it should.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@46646 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoEdje needs to detect files changed on disk before considering cache.
barbieri [Sat, 27 Feb 2010 03:47:04 +0000 (03:47 +0000)]
Edje needs to detect files changed on disk before considering cache.

If file changed on disc (mtime), then make the reference dangling so
it is not reused anymore on subsequent open. If it is in cache, just
free it as it is not useful anymore.

This solves the following problem:

     edje_object_file_set(ed, path, group);
     ecore_file_cp(new_gen_file, path);
     edje_object_file_set(ed, path, group); /* still uses the old one! */

By: Bruno Dilly <bdilly@profusion.mobi>

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@46548 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years ago[PATCH2/2] Improve edje documentation.
barbieri [Sat, 27 Feb 2010 00:25:32 +0000 (00:25 +0000)]
[PATCH2/2] Improve edje documentation.

This reorder couple of functions so the generated documentation makes
sense.

By: Eduardo Felipe < eduardofelipe87@gmail.com>

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@46541 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years ago[PATCH1/2] Improve edje documentation.
barbieri [Sat, 27 Feb 2010 00:15:41 +0000 (00:15 +0000)]
[PATCH1/2] Improve edje documentation.

This fixes the documentation, but they are still in the wrong order.

By: Eduardo Felipe <eduardofelipe87@gmail.com>

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@46540 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoupdate docs to say EINA_(TRUE|FALSE)
barbieri [Fri, 26 Feb 2010 23:59:47 +0000 (23:59 +0000)]
update docs to say EINA_(TRUE|FALSE)

By: Lucas De Marchi

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@46538 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoFix FALSE...should be EINA_FALSE.
devilhorns [Fri, 26 Feb 2010 06:01:09 +0000 (06:01 +0000)]
Fix FALSE...should be EINA_FALSE.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@46504 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years ago * edje: Use fixed point for tween too.
cedric [Wed, 24 Feb 2010 15:37:16 +0000 (15:37 +0000)]
* edje: Use fixed point for tween too.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@46429 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years ago * edje: Fix typo preventing creation of multiple edje box layout.
cedric [Wed, 24 Feb 2010 14:50:07 +0000 (14:50 +0000)]
* edje: Fix typo preventing creation of multiple edje box layout.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@46425 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agooooh that was bad! oops. fix!
raster [Wed, 24 Feb 2010 05:47:23 +0000 (05:47 +0000)]
oooh that was bad! oops. fix!

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@46423 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years ago * edje: Fix naming for amalgamation and make static functions
cedric [Tue, 23 Feb 2010 15:55:04 +0000 (15:55 +0000)]
* edje: Fix naming for amalgamation and make static functions
that should.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@46394 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years ago * edje: Add more focus event in edje. A start for a focus layout work.
cedric [Tue, 23 Feb 2010 13:39:19 +0000 (13:39 +0000)]
* edje: Add more focus event in edje. A start for a focus layout work.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@46389 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agofix moving edje obj aroudn with maps in it.
raster [Tue, 23 Feb 2010 08:37:30 +0000 (08:37 +0000)]
fix moving edje obj aroudn with maps in it.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@46385 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoahhh and if parts are images.. use the right uv coords.
raster [Tue, 23 Feb 2010 07:56:59 +0000 (07:56 +0000)]
ahhh and if parts are images.. use the right uv coords.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@46384 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoaaaah missing map smooth and alpha flags.
raster [Tue, 23 Feb 2010 05:45:24 +0000 (05:45 +0000)]
aaaah missing map smooth and alpha flags.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@46383 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoAdjust for ver-pre-svn support
rui [Sun, 21 Feb 2010 18:40:56 +0000 (18:40 +0000)]
Adjust for ver-pre-svn support
Add two missing files.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@46348 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoadd embryo to manipulate map stuff.
raster [Sun, 21 Feb 2010 10:55:45 +0000 (10:55 +0000)]
add embryo to manipulate map stuff.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@46343 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agodocs++
raster [Sun, 21 Feb 2010 09:39:58 +0000 (09:39 +0000)]
docs++

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@46342 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoadd border_scale option for images - image border will scale based on edje
raster [Sun, 21 Feb 2010 06:53:44 +0000 (06:53 +0000)]
add border_scale option for images - image border will scale based on edje
scale factors. this is independant of scale: per part.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@46341 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years ago * edje: Fix a warning.
cedric [Fri, 19 Feb 2010 18:43:08 +0000 (18:43 +0000)]
* edje: Fix a warning.

Please review as I am not sure why this code was written as the beginning.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@46318 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years ago * edje: Change filter_state to filter and give the possibility to
cedric [Fri, 19 Feb 2010 18:30:46 +0000 (18:30 +0000)]
* edje: Change filter_state to filter and give the possibility to
filter from another part than the event source.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@46316 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agointerp properly and make perspective api work.. untested yet...
raster [Fri, 19 Feb 2010 06:28:03 +0000 (06:28 +0000)]
interp properly and make perspective api work.. untested yet...

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@46302 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoForgot to copy image id
sachiel [Thu, 18 Feb 2010 14:05:58 +0000 (14:05 +0000)]
Forgot to copy image id

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@46273 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoproper shutdown of entries.
barbieri [Wed, 17 Feb 2010 23:43:31 +0000 (23:43 +0000)]
proper shutdown of entries.

 * must disconnect connected callbacks, particularly those to
   canvas. The object we previously connect will die anyway, but
   canvas continues alive, dispatching its
   EVAS_CALLBACK_CANVAS_FOCUS_IN and EVAS_CALLBACK_CANVAS_FOCUS_OUT,
   causing nasty segmentation faults!

 * must call _edje_clean_objects() *AFTER* the entry is shut
   down. Otherwise ed->evas will be NULL and
   evas_event_callback_del_full() will fail. I left extra checks on
   those, since this call will return the given data (in our case
   "ed") and NULL when callback connection was not found.

 * flag existence of entries and if they were already initalized and
   shutdown before, avoid redoing such work.

This fixes a stupid crash that bugged editje for a while now.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@46263 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agom4 quoting
caro [Wed, 17 Feb 2010 19:50:19 +0000 (19:50 +0000)]
m4 quoting

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@46258 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years ago * edje: Fix fixed point use in map.
cedric [Wed, 17 Feb 2010 13:21:50 +0000 (13:21 +0000)]
* edje: Fix fixed point use in map.

Note: ep->description_pos is a FLOAT_T.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@46245 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoadd back face cull option.
raster [Tue, 16 Feb 2010 16:36:16 +0000 (16:36 +0000)]
add back face cull option.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@46217 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agomap support in edje - first cut, missing features like back-face culling.
raster [Tue, 16 Feb 2010 16:20:15 +0000 (16:20 +0000)]
map support in edje - first cut, missing features like back-face culling.
also no dependency tracking etc. etc.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@46216 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoMove to new canvas callbacks signature
sachiel [Tue, 16 Feb 2010 13:43:44 +0000 (13:43 +0000)]
Move to new canvas callbacks signature

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@46210 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agofix freeze/thaw to use less ... cpu.
raster [Mon, 15 Feb 2010 06:40:58 +0000 (06:40 +0000)]
fix freeze/thaw to use less ... cpu.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@46181 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoThe former test was giving false positives.
glima [Fri, 12 Feb 2010 14:00:31 +0000 (14:00 +0000)]
The former test was giving false positives.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@46113 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoproper error logging for _edje_lua_error()
barbieri [Wed, 10 Feb 2010 20:23:27 +0000 (20:23 +0000)]
proper error logging for _edje_lua_error()

ERR() should not be used there, because _edje_lua_error() is already
an error logging function. Instead we should call eina_log_print()
directly, handling the source of the error.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@46058 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoPreventing former strdup()-ed string to be eina_string_del()-ted.
glima [Wed, 10 Feb 2010 17:18:34 +0000 (17:18 +0000)]
Preventing former strdup()-ed string to be eina_string_del()-ted.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@46053 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoFrom: 김지훈 <jihoon48.kim@samsung.com>
raster [Wed, 10 Feb 2010 15:12:35 +0000 (15:12 +0000)]
From: 김지훈 <jihoon48.kim@samsung.com>

This is edje_entry.c patch for supporting to switch the focus of ecore_imf
when the other window is clicked.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@46050 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years ago * edje: Add filter_state to program.
cedric [Wed, 10 Feb 2010 15:07:17 +0000 (15:07 +0000)]
* edje: Add filter_state to program.

Patch from "Tristan <blunderer@gmail.com>".

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@46048 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoedje: edc property is elipsis and not text_elipsis (update doc + vim syntax file)
billiob [Tue, 9 Feb 2010 22:28:07 +0000 (22:28 +0000)]
edje: edc property is elipsis and not text_elipsis (update doc + vim syntax file)

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@46031 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agostring_remove -> string_steal
englebass [Tue, 9 Feb 2010 21:06:27 +0000 (21:06 +0000)]
string_remove -> string_steal

Better naming

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@46028 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoUse eina_strbuf_reset to reduce realloc
englebass [Sat, 6 Feb 2010 21:43:32 +0000 (21:43 +0000)]
Use eina_strbuf_reset to reduce realloc

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@45953 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agointernal strbuf -> eina_strbuf
englebass [Sat, 6 Feb 2010 21:43:12 +0000 (21:43 +0000)]
internal strbuf -> eina_strbuf

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@45951 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agointernal strbuf -> eina_strbuf
englebass [Sat, 6 Feb 2010 21:42:37 +0000 (21:42 +0000)]
internal strbuf -> eina_strbuf

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@45948 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoGroup-level data edc blocks manipulation API for Edje_Edit.
glima [Fri, 5 Feb 2010 16:39:06 +0000 (16:39 +0000)]
Group-level data edc blocks manipulation API for Edje_Edit.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@45903 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoMime-Type for edje files
tiago [Thu, 4 Feb 2010 17:47:33 +0000 (17:47 +0000)]
Mime-Type for edje files

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@45878 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoSave font filename in eet. By Masaki
tiago [Thu, 4 Feb 2010 14:34:06 +0000 (14:34 +0000)]
Save font filename in eet. By Masaki

Author:    Thiago Ribeiro Masaki <masaki at profusion.mobi>

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@45869 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoimprove edc.vim
billiob [Wed, 3 Feb 2010 00:13:47 +0000 (00:13 +0000)]
improve edc.vim

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@45825 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoFix init checks so that there is no more seg fault.
caro [Mon, 1 Feb 2010 17:26:25 +0000 (17:26 +0000)]
Fix init checks so that there is no more seg fault.
All that stuff should be cleaned, though.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@45780 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoedje_cc:
caro [Sun, 31 Jan 2010 19:43:53 +0000 (19:43 +0000)]
edje_cc:

exit properly if eina_init() fails (like if
a mempool is not found), instead of a seg
fault.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@45759 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoEcore_Str.h -> Eina
englebass [Sat, 30 Jan 2010 22:29:31 +0000 (22:29 +0000)]
Ecore_Str.h -> Eina

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@45748 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoEdje_Edit API break.
sachiel [Fri, 29 Jan 2010 20:44:34 +0000 (20:44 +0000)]
Edje_Edit API break.

Change group_del() to receive the name of the group to be deleted, and
change the function to not delete a group currently loaded. This causes
problems at the time of deleting the Evas_Object.
Also changed a bit the save() function and added save_all(), which saves
every group loaded, not only the one set to the object. This is mainly so
at the time of deleting a group, we can save the whole file and thus avoid
it getting out of sync with references if a group is deleted and the file
not saved afterwards.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@45720 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoDon't allow recursive clipping
sachiel [Thu, 28 Jan 2010 20:44:03 +0000 (20:44 +0000)]
Don't allow recursive clipping

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@45672 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoRemoving "GENERATE EDC SOURCE" print
tiago [Thu, 28 Jan 2010 11:20:14 +0000 (11:20 +0000)]
Removing "GENERATE EDC SOURCE" print

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@45659 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoFix group add references
tiago [Wed, 27 Jan 2010 20:43:44 +0000 (20:43 +0000)]
Fix group add references

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@45647 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33