raster [Tue, 6 Apr 2010 11:32:09 +0000 (11:32 +0000)]
ok tested - it. new lua disabled for now (not ready). old lua still there.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@47783
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Tue, 6 Apr 2010 11:26:32 +0000 (11:26 +0000)]
an ongoing lua cleanup. existing lua is there and works for the most part.
but it could be much much much cleaner/better so i started a minimalist redo.
it's temporarily enabled right now. will disable soon to do in the background.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@47782
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tiago [Mon, 5 Apr 2010 14:05:21 +0000 (14:05 +0000)]
_edje_file_hash can't be NULL in open_new
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@47763
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Fri, 2 Apr 2010 11:05:53 +0000 (11:05 +0000)]
aaah well... 1. fix segv with edje_match stuff is deep child cleans up
pattersn - ref them.
2. edje lua... beating it into shape. slowly bit by bit.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@47685
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Thu, 1 Apr 2010 03:48:07 +0000 (03:48 +0000)]
handle cases without default values and add missing functions.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@47640
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Thu, 1 Apr 2010 03:47:04 +0000 (03:47 +0000)]
fix stupid bug, my bad at copy and paste...
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@47639
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Wed, 31 Mar 2010 20:48:51 +0000 (20:48 +0000)]
new program action PARAM_SET, complements PARAM_COPY.
Sometimes you want to catch an action like "clicked" from elm/button
or "mouse,clicked,1" from a regular part and want to set a property
like "play" on some object. In this case there is no source property
to copy, so setting the destination makes sense. This was possible
with Embryo, and now it is with regular "program".
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: "button"; type: EXTERNAL;
source: "elm/button";
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;
rel2.relative: 0.5 1.0;
text { font: "Sans"; size: 16; }
}
}
part { name: "entry"; type: EXTERNAL;
source: "elm/scrolled_entry";
description { state: "default" 0.0;
rel1.relative: 0.5 0.5;
params.bool: "editable" 0;
}
}
programs {
program {
signal: "clicked";
source: "button";
action: PARAM_SET "display" "text" "hello world!";
}
program {
signal: "clicked";
source: "button";
action: PARAM_SET "entry" "text" "bla!";
}
}
}
}
}
}}}
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@47635
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Wed, 31 Mar 2010 10:02:51 +0000 (10:02 +0000)]
avoid errors - calling more lua calls afre the pcall failed... bad!
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@47619
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Tue, 30 Mar 2010 01:30:51 +0000 (01:30 +0000)]
call me stupid, need to expose it... not in a good day :-/
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@47574
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Tue, 30 Mar 2010 00:39:14 +0000 (00:39 +0000)]
oops, embryo limits names to 31 chars!
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@47572
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Mon, 29 Mar 2010 21:51:40 +0000 (21:51 +0000)]
Add CHOICES to EXTERNAL support.
Choices are useful to represent enumerations and restricted set of
elements to user. Usually this is displayed in hoversel/comboboxes.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@47570
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Mon, 29 Mar 2010 19:32:45 +0000 (19:32 +0000)]
another useful function
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@47564
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@47563
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Mon, 29 Mar 2010 18:44:42 +0000 (18:44 +0000)]
export useful function.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@47562
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
sachiel [Mon, 29 Mar 2010 07:13:35 +0000 (07:13 +0000)]
More safety removing stuff from lists
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@47554
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@47553
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
rui [Sun, 28 Mar 2010 18:46:57 +0000 (18:46 +0000)]
New file.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@47535
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@47500
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Fri, 26 Mar 2010 04:42:39 +0000 (04:42 +0000)]
password mode - dont allow selections
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@47466
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@47465
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Thu, 25 Mar 2010 20:18:24 +0000 (20:18 +0000)]
allow setting parameters from embryo!
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@47459
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@47456
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Thu, 25 Mar 2010 17:30:59 +0000 (17:30 +0000)]
convert some printfs to eina error.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@47451
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tiago [Thu, 25 Mar 2010 16:41:46 +0000 (16:41 +0000)]
Fix wrong names below<->above
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@47446
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@47444
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Thu, 25 Mar 2010 08:17:51 +0000 (08:17 +0000)]
fix entry delete.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@47443
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tiago [Wed, 24 Mar 2010 19:21:03 +0000 (19:21 +0000)]
above and below get
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@47435
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@47347
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@47343
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@47341
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@47338
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@47280
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Tue, 16 Mar 2010 04:10:03 +0000 (04:10 +0000)]
bug--
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@47275
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Tue, 16 Mar 2010 00:57:04 +0000 (00:57 +0000)]
bug--
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@47267
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Mon, 15 Mar 2010 09:45:02 +0000 (09:45 +0000)]
bug--
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@47232
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Mon, 15 Mar 2010 03:02:14 +0000 (03:02 +0000)]
and emit signals on cursor changes etc.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@47231
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sun, 14 Mar 2010 12:24:54 +0000 (12:24 +0000)]
more bug --
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@47202
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sat, 13 Mar 2010 13:25:40 +0000 (13:25 +0000)]
one more end of line cursor issue fixed.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@47175
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@47133
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Thu, 11 Mar 2010 10:16:32 +0000 (10:16 +0000)]
also do imf stuff on cursor fiddling api's
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@47132
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@47129
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Thu, 11 Mar 2010 06:34:20 +0000 (06:34 +0000)]
calls for entry users to use.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@47126
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@47103
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
davemds [Tue, 9 Mar 2010 00:55:36 +0000 (00:55 +0000)]
* Document mouse event callback system in LUA
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@47063
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@47054
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@47048
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
davemds [Sun, 7 Mar 2010 23:10:21 +0000 (23:10 +0000)]
Put examples in dist package
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@46970
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
davemds [Sun, 7 Mar 2010 19:41:41 +0000 (19:41 +0000)]
Put examples in dist package
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@46956
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@46955
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@46954
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
urandom [Sun, 7 Mar 2010 15:53:46 +0000 (15:53 +0000)]
docu typos
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@46952
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
urandom [Sun, 7 Mar 2010 15:53:02 +0000 (15:53 +0000)]
updated vimball with complete syntax and improved completion
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@46951
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@46925
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tiago [Fri, 5 Mar 2010 18:22:17 +0000 (18:22 +0000)]
Reverting the previous commit, dont fix properly.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@46894
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@46893
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@46877
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@46876
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Thu, 4 Mar 2010 14:44:20 +0000 (14:44 +0000)]
* edje: Only register callback once for external.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@46868
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@46729
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
dottedmag [Mon, 1 Mar 2010 14:41:49 +0000 (14:41 +0000)]
edje: Document several puzzling Edje_External_Type callbacks
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@46697
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@46668
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Sun, 28 Feb 2010 16:14:50 +0000 (16:14 +0000)]
remove warnings from edje binaries.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@46647
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Sun, 28 Feb 2010 15:57:17 +0000 (15:57 +0000)]
Edje now uses Eina_Bool where it should.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@46646
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@46548
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@46541
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@46540
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@46538
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
devilhorns [Fri, 26 Feb 2010 06:01:09 +0000 (06:01 +0000)]
Fix FALSE...should be EINA_FALSE.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@46504
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Wed, 24 Feb 2010 15:37:16 +0000 (15:37 +0000)]
* edje: Use fixed point for tween too.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@46429
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@46425
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Wed, 24 Feb 2010 05:47:23 +0000 (05:47 +0000)]
oooh that was bad! oops. fix!
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@46423
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@46394
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@46389
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Tue, 23 Feb 2010 08:37:30 +0000 (08:37 +0000)]
fix moving edje obj aroudn with maps in it.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@46385
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@46384
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Tue, 23 Feb 2010 05:45:24 +0000 (05:45 +0000)]
aaaah missing map smooth and alpha flags.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@46383
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@46348
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sun, 21 Feb 2010 10:55:45 +0000 (10:55 +0000)]
add embryo to manipulate map stuff.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@46343
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sun, 21 Feb 2010 09:39:58 +0000 (09:39 +0000)]
docs++
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@46342
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@46341
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@46318
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@46316
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Fri, 19 Feb 2010 06:28:03 +0000 (06:28 +0000)]
interp properly and make perspective api work.. untested yet...
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@46302
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
sachiel [Thu, 18 Feb 2010 14:05:58 +0000 (14:05 +0000)]
Forgot to copy image id
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@46273
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@46263
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Wed, 17 Feb 2010 19:50:19 +0000 (19:50 +0000)]
m4 quoting
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@46258
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@46245
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Tue, 16 Feb 2010 16:36:16 +0000 (16:36 +0000)]
add back face cull option.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@46217
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@46216
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
sachiel [Tue, 16 Feb 2010 13:43:44 +0000 (13:43 +0000)]
Move to new canvas callbacks signature
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@46210
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Mon, 15 Feb 2010 06:40:58 +0000 (06:40 +0000)]
fix freeze/thaw to use less ... cpu.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@46181
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
glima [Fri, 12 Feb 2010 14:00:31 +0000 (14:00 +0000)]
The former test was giving false positives.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@46113
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@46058
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@46053
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@46050
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@46048
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@46031
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Tue, 9 Feb 2010 21:06:27 +0000 (21:06 +0000)]
string_remove -> string_steal
Better naming
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@46028
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Sat, 6 Feb 2010 21:43:32 +0000 (21:43 +0000)]
Use eina_strbuf_reset to reduce realloc
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@45953
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Sat, 6 Feb 2010 21:43:12 +0000 (21:43 +0000)]
internal strbuf -> eina_strbuf
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@45951
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33