barbieri [Wed, 9 Jun 2010 18:22:47 +0000 (18:22 +0000)]
SVN_REPO_PATH envvar during autoconf to use svnversion in there.
Some systems, like the Gentoo, copy the svn contents somewhere before
doing the autoconf, this may result in lack of .svn and thus minor
version "0".
This patch introduces the $SVN_REPO_PATH to say where the svn checkout
containing the ".svn" directory is.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@49594
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
sachiel [Wed, 9 Jun 2010 14:39:59 +0000 (14:39 +0000)]
Remove duplicated prototypes
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@49591
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Sun, 6 Jun 2010 19:26:12 +0000 (19:26 +0000)]
use correct enum variable (same value, though)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@49543
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sun, 6 Jun 2010 17:43:03 +0000 (17:43 +0000)]
restore after snap/release
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@49540
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sun, 6 Jun 2010 17:26:51 +0000 (17:26 +0000)]
Snapshot edje
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@49535
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sun, 6 Jun 2010 17:17:52 +0000 (17:17 +0000)]
post-snap anr release.. reset svn back.. this time for real.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@49526
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sun, 6 Jun 2010 16:42:44 +0000 (16:42 +0000)]
Snapshot edje
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@49518
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sun, 6 Jun 2010 16:23:16 +0000 (16:23 +0000)]
post release - move relname to pre-svn again.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@49506
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sun, 6 Jun 2010 16:08:10 +0000 (16:08 +0000)]
Snapshot edje
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@49499
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sat, 5 Jun 2010 13:07:08 +0000 (13:07 +0000)]
From: Fabiano FidĂȘncio <fidencio@profusion.mobi>
Changing return of Eina_Bool functions that were not EINA_TRUE or
EINA_FALSE in Edje.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@49469
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Fri, 4 Jun 2010 20:23:53 +0000 (20:23 +0000)]
fcntl is used, so evil is needed on Windows
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@49456
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Fri, 4 Jun 2010 19:15:57 +0000 (19:15 +0000)]
put efl headers after standard headers
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@49452
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Fri, 4 Jun 2010 06:45:46 +0000 (06:45 +0000)]
leake! fix!
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@49445
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
sachiel [Fri, 4 Jun 2010 03:08:18 +0000 (03:08 +0000)]
Move functions around and fix the style to match the rest.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@49437
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Fri, 4 Jun 2010 01:04:24 +0000 (01:04 +0000)]
change svnversion shell goop to nuke sed and just use tr to delete
unwanted goop.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@49429
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
sachiel [Thu, 3 Jun 2010 07:40:54 +0000 (07:40 +0000)]
Let git-svn users get the right revision number to be used as version.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@49407
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Tue, 1 Jun 2010 14:35:19 +0000 (14:35 +0000)]
* edje: fix constness warning.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@49372
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Tue, 1 Jun 2010 13:31:07 +0000 (13:31 +0000)]
* edje: Add image set support.
Ease support of Freedesktop multiple size image.
Sample:
-------
images {
..
set {
name: "image_name_used";
image {
image: "500x500.png" LOSSY 90;
size: 201 201 500 500;
}
image {
image: "200x200.png" COMP;
size: 51 51 200 200;
}
image {
image: "50x50.png" COMP;
size: 11 11 50 50;
}
image {
image: "10x10.png" COMP;
size: 0 0 10 10;
}
}
..
}
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@49369
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Mon, 31 May 2010 03:12:45 +0000 (03:12 +0000)]
nopw svn revision works again.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@49344
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Mon, 31 May 2010 01:59:22 +0000 (01:59 +0000)]
fix - if no svn tree, then it will pretend to be a release.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@49343
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sat, 29 May 2010 08:05:11 +0000 (08:05 +0000)]
edje -> version info
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@49281
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sat, 29 May 2010 06:40:56 +0000 (06:40 +0000)]
not fully done string insert approval cb for entry
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@49276
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
bdilly [Thu, 27 May 2010 22:18:37 +0000 (22:18 +0000)]
Fix _edje_entry_cursor_end function.
This fix the issue with elementary cursor end set function.
The cursor is now after the last textblock node, and not before it, as
it was until now.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@49242
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
bdilly [Thu, 27 May 2010 02:39:20 +0000 (02:39 +0000)]
Add '-h' argument to edje_decc and improve usage message.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@49221
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Wed, 26 May 2010 11:41:35 +0000 (11:41 +0000)]
ummmm edje wasnt processing the message queue. use jobs a little better.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@49204
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tiago [Fri, 21 May 2010 22:53:41 +0000 (22:53 +0000)]
INT_MAX need limits.h. By Raphael Kubo
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@49117
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
kiwi [Fri, 21 May 2010 19:58:40 +0000 (19:58 +0000)]
preprocess the edc file on OpenBSD as on MacOS X.
NetBSD and FreeBSD might have the same issue
fixes handling of #define and comments in edc files, so e theme builds now on OpenBSD
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@49113
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
kiwi [Fri, 21 May 2010 19:28:33 +0000 (19:28 +0000)]
set EDJE_EXTERNAL_DOUBLE_UNSET to DBL_MAX instead of HUGE_MAX, so that it's a constant on OpenBSD.
set EDJE_EXTERNAL_INT_UNSET to INT_MAX for consistency.
that fixes compilation on OpenBSD and closes ticket #540
ok vtorri
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@49112
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Thu, 20 May 2010 04:48:17 +0000 (04:48 +0000)]
From: Eduardo Felipe <eduardofelipe87@gmail.com>
Upon creating a timer, it's callback must return an int, otherwise it
would panic. The python bindings do the nicety of, if the callback
function returns nothing, automatically canceling the reschedule of
the timer.
This patch does the same for lua. It's a oneliner.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@49051
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
mickeyl [Sat, 8 May 2010 10:54:40 +0000 (10:54 +0000)]
edje: be more precise about the Lua version we are expecting
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@48676
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
billiob [Sat, 1 May 2010 17:13:38 +0000 (17:13 +0000)]
edje: get parts in a part type BOX/TABLE
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@48513
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
billiob [Sat, 1 May 2010 16:17:44 +0000 (16:17 +0000)]
edje: wibble
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@48509
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sat, 1 May 2010 12:40:27 +0000 (12:40 +0000)]
use part geom for map - better for text.. oh yeah.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@48498
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
sachiel [Thu, 29 Apr 2010 19:56:59 +0000 (19:56 +0000)]
Always allow selections for entries when select_mode is default
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@48434
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tiago [Thu, 29 Apr 2010 18:52:59 +0000 (18:52 +0000)]
update mtime when save
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@48432
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tiago [Thu, 29 Apr 2010 18:52:55 +0000 (18:52 +0000)]
Code Replication --
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@48431
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
sachiel [Wed, 28 Apr 2010 23:10:31 +0000 (23:10 +0000)]
be friendly with the commonlispers who like to call init and shutdown more than once
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@48409
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
sachiel [Wed, 28 Apr 2010 18:40:05 +0000 (18:40 +0000)]
When changing source of a GROUP part, set/clean the swallowed_object, by Thiago Masaki
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@48398
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
sachiel [Mon, 26 Apr 2010 22:51:24 +0000 (22:51 +0000)]
A bit more carefulness when deleting states.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@48352
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
sachiel [Mon, 26 Apr 2010 22:35:49 +0000 (22:35 +0000)]
Make program_del() a bit more straight forward while fixing the problems it had updating references.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@48350
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tiago [Mon, 26 Apr 2010 18:19:49 +0000 (18:19 +0000)]
Edje_edit font_del
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@48339
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tiago [Mon, 26 Apr 2010 18:19:46 +0000 (18:19 +0000)]
Edje_edit font_add with alias
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@48338
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tiago [Mon, 26 Apr 2010 18:19:43 +0000 (18:19 +0000)]
Edje_edit image_del
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@48337
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tiago [Mon, 26 Apr 2010 18:19:39 +0000 (18:19 +0000)]
Edje_edit image_add review
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@48336
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Mon, 26 Apr 2010 14:55:45 +0000 (14:55 +0000)]
item provider callback... add!
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@48329
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sun, 25 Apr 2010 13:57:41 +0000 (13:57 +0000)]
and dont mix anchors and items - for now. for now now way to "get" all the
items. mulling over how an item href name will map to having an evas object
attached/supplied (once there, its' easy to just control the object like href
objects, selection and cursor objects are).
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@48311
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sun, 25 Apr 2010 13:06:58 +0000 (13:06 +0000)]
support items... yo... mostly.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@48307
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sat, 24 Apr 2010 14:31:36 +0000 (14:31 +0000)]
apparently fbsd is unaware of expr substr...
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@48276
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
sachiel [Thu, 22 Apr 2010 20:29:35 +0000 (20:29 +0000)]
Also use an edit object when generating the source.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@48231
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
sachiel [Thu, 22 Apr 2010 19:09:30 +0000 (19:09 +0000)]
Fix infinite loop when trying to group_del and group_add when id is zero.
By Thiago Masaki
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@48228
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
sachiel [Thu, 22 Apr 2010 18:13:21 +0000 (18:13 +0000)]
Un/Clip swallowed objects too when setting clipper.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@48225
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
sachiel [Thu, 22 Apr 2010 17:56:00 +0000 (17:56 +0000)]
Edje Edit: Now inherits the smart from Edje and has stuff of its own in there.
To use the Edje Edit API now you need to add the object to the canvas with edje_edit_object_add().
Normal edje functions will work as usual, but it's no longer possible to tamper with the standard objects internals.
Also, big reformat of Edje_Edit.h while fixing docs. Yes, monster commit.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@48220
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
billiob [Wed, 21 Apr 2010 21:00:40 +0000 (21:00 +0000)]
edje: improve vim syntax file and become the maintainer
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@48214
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
rui [Wed, 21 Apr 2010 20:55:23 +0000 (20:55 +0000)]
Apply the same fix MEJ did ( marc.info/?l=enlightenment-svn&m=
127157420508183&w=3 ) to more specs
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@48213
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Wed, 21 Apr 2010 16:36:55 +0000 (16:36 +0000)]
* edje: during removal the removed list is modified.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@48207
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
sachiel [Tue, 20 Apr 2010 22:12:15 +0000 (22:12 +0000)]
Update references to groups when renaming or deleting one from the file.
Patch by Thiago Masaki
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@48188
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
sachiel [Tue, 20 Apr 2010 19:57:17 +0000 (19:57 +0000)]
Add after_del() function
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@48177
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tiago [Mon, 19 Apr 2010 20:37:40 +0000 (20:37 +0000)]
Removing ugly whitespaces
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@48145
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tiago [Mon, 19 Apr 2010 20:37:35 +0000 (20:37 +0000)]
Dont need recalc params in external description in part_recalc.
Others types, like TEXT/TEXTBLOCK/SWALLOW/GROUP (others?), are similar to Externals. And may can recalc some properties only in description_apply, not on every call to part_recalc.
Some generic boolean properties, like "visible", can be moved to description_appy too.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@48144
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tiago [Mon, 19 Apr 2010 20:37:32 +0000 (20:37 +0000)]
Use external_params_set to update params
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@48143
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tiago [Mon, 19 Apr 2010 20:37:28 +0000 (20:37 +0000)]
Removing some warnings of edje
Remaining:
edje_lua.c:328: â_edje_lua_reg_countâ defined but not used
edje_lua.c:409: â_edje_lua_rawgetfieldâ defined but not used
edje_lua.c:445: â_edje_lua_free_metatableâ defined but not used
edje_lua.c:2182: â_edje_lua_object_set_pointer_modeâ defined but not used
edje_lua.c:2190: â_edje_lua_object_set_precise_is_insideâ defined but not used
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@48142
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Sat, 17 Apr 2010 20:28:22 +0000 (20:28 +0000)]
Get a table element with its coordinates.
By: Hugo Camboulive <hugo.camboulive@gmail.com>
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@48088
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sat, 17 Apr 2010 16:19:28 +0000 (16:19 +0000)]
and fix up.down arrow on intermediate lines with overflow
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@48076
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sat, 17 Apr 2010 15:50:27 +0000 (15:50 +0000)]
char wrap - click to go to end works.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@48074
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tiago [Wed, 14 Apr 2010 16:34:06 +0000 (16:34 +0000)]
Fix state_apply without animation.
Used in edje_edit_part_selected_state_set.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@48000
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tiago [Fri, 9 Apr 2010 16:05:17 +0000 (16:05 +0000)]
Use eina.strbuf to generate the source code. Cedric suggestion
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@47878
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tiago [Thu, 8 Apr 2010 19:37:22 +0000 (19:37 +0000)]
Check source generation in save
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@47842
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
sachiel [Thu, 8 Apr 2010 19:21:54 +0000 (19:21 +0000)]
Make the Edje Smart inheritable.
Pretty much moving some things around and extending the smart class
to allow overloading some common functions. Edje_Edit will make use
of this.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@47841
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
sachiel [Wed, 7 Apr 2010 17:04:49 +0000 (17:04 +0000)]
Edje_Edit: Big Fat API Break.
All state functions now receive the value as a double, separate from
the state name.
Getting the list of states from the part still returns a list of strings
with everything together, but we'll change that soon too.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@47811
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tiago [Tue, 6 Apr 2010 18:18:53 +0000 (18:18 +0000)]
Return FALSE when save fail
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@47787
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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