profile/ivi/edje.git
14 years ago * edje: remove warning due to API change in Ecore.
cedric [Thu, 24 Jun 2010 16:16:50 +0000 (16:16 +0000)]
* edje: remove warning due to API change in Ecore.

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

14 years agofix test
caro [Wed, 23 Jun 2010 18:19:10 +0000 (18:19 +0000)]
fix test

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

14 years agoconsider the case when lua has no .pc file
caro [Wed, 23 Jun 2010 18:17:14 +0000 (18:17 +0000)]
consider the case when lua has no .pc file

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

14 years agoExtract the VBA file. And adding one metafile.
tiago [Tue, 22 Jun 2010 18:47:37 +0000 (18:47 +0000)]
Extract the VBA file. And adding one metafile.

The metafile is for use with vim-addon-manager.
Read more in http://github.com/MarcWeber/vim-addon-manager/blob/master/doc/vim-addon-manager.txt

For future, merge with billiob's edc.vim.

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

14 years agoAdd scale set/get to Edje_Edit.
sachiel [Fri, 18 Jun 2010 22:08:05 +0000 (22:08 +0000)]
Add scale set/get to Edje_Edit.

By: Iván Briano <ivan@profusion.mobi>

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

14 years agoFixing verify and set problems in externals types
sachiel [Fri, 18 Jun 2010 22:07:54 +0000 (22:07 +0000)]
Fixing verify and set problems in externals types
Edje Edit was writing the info in the struct before verify if the value
can be set. New the verify works and the old value is recover if verify
fails.

By: Fabiano Fidencio <fidencio@profusion.mobi>

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

14 years ago * configure.ac: take inept translation a little bit into account.
cedric [Fri, 18 Jun 2010 14:45:42 +0000 (14:45 +0000)]
    * configure.ac: take inept translation a little bit into account.

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

14 years agoadd delete_request callback to properly shut down the program
caro [Thu, 17 Jun 2010 06:27:53 +0000 (06:27 +0000)]
add delete_request callback to properly shut down the program

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

14 years agoSetters and getters functions to Api property of Parts and Programs
sachiel [Tue, 15 Jun 2010 01:51:46 +0000 (01:51 +0000)]
Setters and getters functions to Api property of Parts and Programs
Now we can set and retrieve, name and descripition of the api
property, from Parts and Programs.

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

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

14 years ago * edje: fix constness issue.
cedric [Mon, 14 Jun 2010 14:38:58 +0000 (14:38 +0000)]
* edje: fix constness issue.

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

14 years ago * edje: remove debug printf.
cedric [Thu, 10 Jun 2010 16:30:37 +0000 (16:30 +0000)]
* edje: remove debug printf.

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

14 years ago * edje: improve the way to target children of box and table.
cedric [Thu, 10 Jun 2010 15:40:51 +0000 (15:40 +0000)]
* edje: improve the way to target children of box and table.

You can now adress them with somethin like part[name]:subpart
or part[index]:subpart in all signal emit code and API that
require a part to be specified.

TODO: we need to add this index/name information when a signal
is emitted from a subpart.

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

14 years ago * edje: prevent uninitialized data to spread.
cedric [Thu, 10 Jun 2010 15:37:50 +0000 (15:37 +0000)]
* edje: prevent uninitialized data to spread.

WARNING: I don't know why in the first it doesn't map correctly to
an object. So if someone with more knowledge on this piece of code
could give it a look.

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

14 years agoSVN_REPO_PATH envvar during autoconf to use svnversion in there.
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: http://svn.enlightenment.org/svn/e/trunk/edje@49594 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoRemove duplicated prototypes
sachiel [Wed, 9 Jun 2010 14:39:59 +0000 (14:39 +0000)]
Remove duplicated prototypes

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

14 years agouse correct enum variable (same value, though)
caro [Sun, 6 Jun 2010 19:26:12 +0000 (19:26 +0000)]
use correct enum variable (same value, though)

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

14 years agorestore after snap/release
raster [Sun, 6 Jun 2010 17:43:03 +0000 (17:43 +0000)]
restore after snap/release

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

14 years agoSnapshot edje
raster [Sun, 6 Jun 2010 17:26:51 +0000 (17:26 +0000)]
Snapshot edje

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

14 years agopost-snap anr release.. reset svn back.. this time for real.
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: http://svn.enlightenment.org/svn/e/trunk/edje@49526 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoSnapshot edje
raster [Sun, 6 Jun 2010 16:42:44 +0000 (16:42 +0000)]
Snapshot edje

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

14 years agopost release - move relname to pre-svn again.
raster [Sun, 6 Jun 2010 16:23:16 +0000 (16:23 +0000)]
post release - move relname to pre-svn again.

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

14 years agoSnapshot edje
raster [Sun, 6 Jun 2010 16:08:10 +0000 (16:08 +0000)]
Snapshot edje

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

14 years agoFrom: Fabiano Fidêncio <fidencio@profusion.mobi>
Fabiano Fidêncio [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: http://svn.enlightenment.org/svn/e/trunk/edje@49469 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agofcntl is used, so evil is needed on Windows
caro [Fri, 4 Jun 2010 20:23:53 +0000 (20:23 +0000)]
fcntl is used, so evil is needed on Windows

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

14 years agoput efl headers after standard headers
caro [Fri, 4 Jun 2010 19:15:57 +0000 (19:15 +0000)]
put efl headers after standard headers

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

14 years agoleake! fix!
raster [Fri, 4 Jun 2010 06:45:46 +0000 (06:45 +0000)]
leake! fix!

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

14 years agoMove functions around and fix the style to match the rest.
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: http://svn.enlightenment.org/svn/e/trunk/edje@49437 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agochange svnversion shell goop to nuke sed and just use tr to delete
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: http://svn.enlightenment.org/svn/e/trunk/edje@49429 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoLet git-svn users get the right revision number to be used as version.
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: http://svn.enlightenment.org/svn/e/trunk/edje@49407 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years ago * edje: fix constness warning.
cedric [Tue, 1 Jun 2010 14:35:19 +0000 (14:35 +0000)]
* edje: fix constness warning.

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

14 years ago * edje: Add image set support.
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: http://svn.enlightenment.org/svn/e/trunk/edje@49369 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agonopw svn revision works again.
raster [Mon, 31 May 2010 03:12:45 +0000 (03:12 +0000)]
nopw svn revision works again.

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

14 years agofix - if no svn tree, then it will pretend to be a release.
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: http://svn.enlightenment.org/svn/e/trunk/edje@49343 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoedje -> version info
raster [Sat, 29 May 2010 08:05:11 +0000 (08:05 +0000)]
edje -> version info

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

14 years agonot fully done string insert approval cb for entry
raster [Sat, 29 May 2010 06:40:56 +0000 (06:40 +0000)]
not fully done string insert approval cb for entry

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

14 years agoFix _edje_entry_cursor_end function.
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: http://svn.enlightenment.org/svn/e/trunk/edje@49242 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoAdd '-h' argument to edje_decc and improve usage message.
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: http://svn.enlightenment.org/svn/e/trunk/edje@49221 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoummmm edje wasnt processing the message queue. use jobs a little better.
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: http://svn.enlightenment.org/svn/e/trunk/edje@49204 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoINT_MAX need limits.h. By Raphael Kubo
tiago [Fri, 21 May 2010 22:53:41 +0000 (22:53 +0000)]
INT_MAX need limits.h. By Raphael Kubo

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

14 years agopreprocess the edc file on OpenBSD as on MacOS X.
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: http://svn.enlightenment.org/svn/e/trunk/edje@49113 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoset EDJE_EXTERNAL_DOUBLE_UNSET to DBL_MAX instead of HUGE_MAX, so that it's a constan...
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: http://svn.enlightenment.org/svn/e/trunk/edje@49112 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoFrom: Eduardo Felipe <eduardofelipe87@gmail.com>
Eduardo Felipe [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: http://svn.enlightenment.org/svn/e/trunk/edje@49051 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoedje: be more precise about the Lua version we are expecting
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: http://svn.enlightenment.org/svn/e/trunk/edje@48676 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoedje: get parts in a part type BOX/TABLE
billiob [Sat, 1 May 2010 17:13:38 +0000 (17:13 +0000)]
edje: get parts in a part type BOX/TABLE

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

14 years agoedje: wibble
billiob [Sat, 1 May 2010 16:17:44 +0000 (16:17 +0000)]
edje: wibble

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

14 years agouse part geom for map - better for text.. oh yeah.
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: http://svn.enlightenment.org/svn/e/trunk/edje@48498 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoAlways allow selections for entries when select_mode is default
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: http://svn.enlightenment.org/svn/e/trunk/edje@48434 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoupdate mtime when save
tiago [Thu, 29 Apr 2010 18:52:59 +0000 (18:52 +0000)]
update mtime when save

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

14 years agoCode Replication --
tiago [Thu, 29 Apr 2010 18:52:55 +0000 (18:52 +0000)]
Code Replication --

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

14 years agobe friendly with the commonlispers who like to call init and shutdown more than once
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: http://svn.enlightenment.org/svn/e/trunk/edje@48409 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoWhen changing source of a GROUP part, set/clean the swallowed_object, by Thiago Masaki
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: http://svn.enlightenment.org/svn/e/trunk/edje@48398 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoA bit more carefulness when deleting states.
sachiel [Mon, 26 Apr 2010 22:51:24 +0000 (22:51 +0000)]
A bit more carefulness when deleting states.

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

14 years agoMake program_del() a bit more straight forward while fixing the problems it had updat...
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: http://svn.enlightenment.org/svn/e/trunk/edje@48350 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoEdje_edit font_del
tiago [Mon, 26 Apr 2010 18:19:49 +0000 (18:19 +0000)]
Edje_edit font_del

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

14 years agoEdje_edit font_add with alias
tiago [Mon, 26 Apr 2010 18:19:46 +0000 (18:19 +0000)]
Edje_edit font_add with alias

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

14 years agoEdje_edit image_del
tiago [Mon, 26 Apr 2010 18:19:43 +0000 (18:19 +0000)]
Edje_edit image_del

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

14 years agoEdje_edit image_add review
tiago [Mon, 26 Apr 2010 18:19:39 +0000 (18:19 +0000)]
Edje_edit image_add review

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

14 years agoitem provider callback... add!
raster [Mon, 26 Apr 2010 14:55:45 +0000 (14:55 +0000)]
item provider callback... add!

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

14 years agoand dont mix anchors and items - for now. for now now way to "get" all the
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: http://svn.enlightenment.org/svn/e/trunk/edje@48311 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agosupport items... yo... mostly.
raster [Sun, 25 Apr 2010 13:06:58 +0000 (13:06 +0000)]
support items... yo... mostly.

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

14 years agoapparently fbsd is unaware of expr substr...
raster [Sat, 24 Apr 2010 14:31:36 +0000 (14:31 +0000)]
apparently fbsd is unaware of expr substr...

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

14 years agoAlso use an edit object when generating the source.
sachiel [Thu, 22 Apr 2010 20:29:35 +0000 (20:29 +0000)]
Also use an edit object when generating the source.

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

14 years agoFix infinite loop when trying to group_del and group_add when id is zero.
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: http://svn.enlightenment.org/svn/e/trunk/edje@48228 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoUn/Clip swallowed objects too when setting clipper.
sachiel [Thu, 22 Apr 2010 18:13:21 +0000 (18:13 +0000)]
Un/Clip swallowed objects too when setting clipper.

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

14 years agoEdje Edit: Now inherits the smart from Edje and has stuff of its own in there.
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: http://svn.enlightenment.org/svn/e/trunk/edje@48220 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoedje: improve vim syntax file and become the maintainer
billiob [Wed, 21 Apr 2010 21:00:40 +0000 (21:00 +0000)]
edje: improve vim syntax file and become the maintainer

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

14 years agoApply the same fix MEJ did ( http://marc.info/?l=enlightenment-svn&m=127157420508183...
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: http://svn.enlightenment.org/svn/e/trunk/edje@48213 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years ago * edje: during removal the removed list is modified.
cedric [Wed, 21 Apr 2010 16:36:55 +0000 (16:36 +0000)]
* edje: during removal the removed list is modified.

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

14 years agoUpdate references to groups when renaming or deleting one from the file.
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: http://svn.enlightenment.org/svn/e/trunk/edje@48188 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoAdd after_del() function
sachiel [Tue, 20 Apr 2010 19:57:17 +0000 (19:57 +0000)]
Add after_del() function

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

14 years agoRemoving ugly whitespaces
tiago [Mon, 19 Apr 2010 20:37:40 +0000 (20:37 +0000)]
Removing ugly whitespaces

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

14 years agoDont need recalc params in external description in part_recalc.
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: http://svn.enlightenment.org/svn/e/trunk/edje@48144 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoUse external_params_set to update params
tiago [Mon, 19 Apr 2010 20:37:32 +0000 (20:37 +0000)]
Use external_params_set to update params

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

14 years agoRemoving some warnings of edje
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: http://svn.enlightenment.org/svn/e/trunk/edje@48142 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoGet a table element with its coordinates.
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: http://svn.enlightenment.org/svn/e/trunk/edje@48088 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoand fix up.down arrow on intermediate lines with overflow
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: http://svn.enlightenment.org/svn/e/trunk/edje@48076 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agochar wrap - click to go to end works.
raster [Sat, 17 Apr 2010 15:50:27 +0000 (15:50 +0000)]
char wrap - click to go to end works.

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

14 years agoFix state_apply without animation.
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: http://svn.enlightenment.org/svn/e/trunk/edje@48000 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoUse eina.strbuf to generate the source code. Cedric suggestion
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: http://svn.enlightenment.org/svn/e/trunk/edje@47878 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoCheck source generation in save
tiago [Thu, 8 Apr 2010 19:37:22 +0000 (19:37 +0000)]
Check source generation in save

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

14 years agoMake the Edje Smart inheritable.
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: http://svn.enlightenment.org/svn/e/trunk/edje@47841 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoEdje_Edit: Big Fat API Break.
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: http://svn.enlightenment.org/svn/e/trunk/edje@47811 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoReturn FALSE when save fail
tiago [Tue, 6 Apr 2010 18:18:53 +0000 (18:18 +0000)]
Return FALSE when save fail

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

14 years agook tested - it. new lua disabled for now (not ready). old lua still there.
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: http://svn.enlightenment.org/svn/e/trunk/edje@47783 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoan ongoing lua cleanup. existing lua is there and works for the most part.
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: http://svn.enlightenment.org/svn/e/trunk/edje@47782 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years ago_edje_file_hash can't be NULL in open_new
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: http://svn.enlightenment.org/svn/e/trunk/edje@47763 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoaaah well... 1. fix segv with edje_match stuff is deep child cleans up
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: http://svn.enlightenment.org/svn/e/trunk/edje@47685 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agohandle cases without default values and add missing functions.
barbieri [Thu, 1 Apr 2010 03:48:07 +0000 (03:48 +0000)]
handle cases without default values and add missing functions.

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

14 years agofix stupid bug, my bad at copy and paste...
barbieri [Thu, 1 Apr 2010 03:47:04 +0000 (03:47 +0000)]
fix stupid bug, my bad at copy and paste...

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

14 years agonew program action PARAM_SET, complements PARAM_COPY.
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: http://svn.enlightenment.org/svn/e/trunk/edje@47635 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoavoid errors - calling more lua calls afre the pcall failed... bad!
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: http://svn.enlightenment.org/svn/e/trunk/edje@47619 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agocall me stupid, need to expose it... not in a good day :-/
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: http://svn.enlightenment.org/svn/e/trunk/edje@47574 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agooops, embryo limits names to 31 chars!
barbieri [Tue, 30 Mar 2010 00:39:14 +0000 (00:39 +0000)]
oops, embryo limits names to 31 chars!

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

14 years agoAdd CHOICES to EXTERNAL support.
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: http://svn.enlightenment.org/svn/e/trunk/edje@47570 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoanother useful function
barbieri [Mon, 29 Mar 2010 19:32:45 +0000 (19:32 +0000)]
another useful function

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

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