framework/uifw/edje.git
13 years agoedje AUTHORS += tiago
tiago [Wed, 17 Nov 2010 11:42:47 +0000 (11:42 +0000)]
edje AUTHORS += tiago

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

13 years agomissing consts...
barbieri [Tue, 16 Nov 2010 08:18:12 +0000 (08:18 +0000)]
missing consts...

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

13 years ago * efl: beta2 !
cedric [Fri, 12 Nov 2010 16:01:55 +0000 (16:01 +0000)]
* efl: beta2 !

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

13 years agoNew edje example
davemds [Thu, 11 Nov 2010 01:20:36 +0000 (01:20 +0000)]
New edje example

This example show how to toggle the state of a part using the 'filter'
param in edje programs.

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

13 years agoEdje entry: Fix support mouse down/up/move filter events.
tasn [Tue, 9 Nov 2010 13:36:52 +0000 (13:36 +0000)]
Edje entry: Fix support mouse down/up/move filter events.
Passing the correct data to _edje_entry_imf_event_delete_surrounding_cb and _edje_entry_imf_retrieve_surrounding_cb
Fix indentation.
Patch by Jihoon Kim.

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

13 years agofix valgrind complaint - definite bug waiting to happen there - remvoe
raster [Tue, 9 Nov 2010 09:44:39 +0000 (09:44 +0000)]
fix valgrind complaint - definite bug waiting to happen there - remvoe
the list item u are walking! bad!

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

13 years agojihoon authors++
raster [Tue, 9 Nov 2010 07:54:52 +0000 (07:54 +0000)]
jihoon authors++

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

13 years agoFrom: Jihoon Kim <jihoon48.kim@samsung.com>
raster [Tue, 9 Nov 2010 07:54:13 +0000 (07:54 +0000)]
From: Jihoon Kim <jihoon48.kim@samsung.com>

Entry widget has not processed the key event of keypad such as KP_Left,
KP_Right, KP_Home, KP_End, and so on.
In this patch, those key events is processed.

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

13 years agono more debian dir in our svn - debian now handles this tehmselves.
raster [Mon, 8 Nov 2010 05:49:24 +0000 (05:49 +0000)]
no more debian dir in our svn - debian now handles this tehmselves.

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

13 years ago * edje: disable some os related syscall in lua script.
cedric [Tue, 2 Nov 2010 13:43:54 +0000 (13:43 +0000)]
* edje: disable some os related syscall in lua script.

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

13 years agoAnd as discussed on IRC, for the sake of API consistency (and we'll eventually need...
sachiel [Fri, 29 Oct 2010 18:15:09 +0000 (18:15 +0000)]
And as discussed on IRC, for the sake of API consistency (and we'll eventually need it), also del_full() for the text filters.

And since I'm there, some documentation.

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

13 years agoB-B-B-B-BETA BREAKER!
sachiel [Fri, 29 Oct 2010 17:14:55 +0000 (17:14 +0000)]
B-B-B-B-BETA BREAKER!

As for Evas callbacks, let's have a del_full() version for the Edje signals.

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

13 years ago * edje: remove white space.
cedric [Mon, 25 Oct 2010 12:39:10 +0000 (12:39 +0000)]
* edje: remove white space.

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

13 years ago * edje: remove possible case of segv on low mem.
cedric [Mon, 25 Oct 2010 12:38:04 +0000 (12:38 +0000)]
* edje: remove possible case of segv on low mem.

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

13 years agoaaaah more bad cedric ... eh? :)
raster [Sat, 23 Oct 2010 03:51:12 +0000 (03:51 +0000)]
aaaah more bad cedric ... eh? :)

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

13 years agoEdje entry: Fixed _edje_entry_imf_event_delete_surrounding_cb to actually delete...
tasn [Thu, 21 Oct 2010 08:23:45 +0000 (08:23 +0000)]
Edje entry: Fixed _edje_entry_imf_event_delete_surrounding_cb to actually delete, which it wasn't doing. Patch by Jihoon Kim.

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

13 years agoAdd missing AUTHORS
bdilly [Wed, 20 Oct 2010 16:56:48 +0000 (16:56 +0000)]
Add missing AUTHORS

Description of changes / revisions (not all of them, I just picked some to
explain the names inclusions)

bdilly
Bruno Dilly <bdilly@profusion.mobi>
edbus -> r42081, r39884, r44581, r40463
python-elementary -> r52765, r52389
edje -> r46548, r49242
editje -> r52520

fidencio
Fabiano Fidêncio fidencio@profusion.mobi
elementary / python-elementary -> fix elm_<widget>_{icon,content}_set - r49706;
                                  add externals - r{47649,47647,47645}
edje / python-edje -> lot of work on edje_edit

glima
Gustavo Lima Chaves <glima@profusion.mobi>
elementary -> added widgets
edje -> lot of work on edje_edit

helen
Helen Fornazier <helen.fornazier@profusion.mobi>
elementary -> elementary key events on widgets
editje -> undo / redo

jprvita
João Paulo Rechi Vita <jprvita@profusion.mobi>
e_dbus-> r47399 , r47398, r47397, r47336, r47330

padovan
Gustavo F. Padovan <padovan@profusion.mobi>
e_dbus-> r46365-r46373, r47114-r47119

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

13 years agoEdje entry: Init preedit_len on focus out. Rename 'composition' to 'preedit' in the...
tasn [Wed, 20 Oct 2010 10:34:26 +0000 (10:34 +0000)]
Edje entry: Init preedit_len on focus out. Rename 'composition' to 'preedit' in the preedit handling. Patch by Jihoon Kim.

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

13 years ago fix "doc", also get_state() exists
davemds [Mon, 18 Oct 2010 00:09:07 +0000 (00:09 +0000)]
 fix "doc", also get_state() exists

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

13 years agodelete libtool copied files on maintainer-clean rule
caro [Sun, 17 Oct 2010 07:11:10 +0000 (07:11 +0000)]
delete libtool copied files on maintainer-clean rule

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

13 years agoThe daily edje example: EXTERNAL elm Panes.
davemds [Thu, 14 Oct 2010 09:21:12 +0000 (09:21 +0000)]
The daily edje example: EXTERNAL elm Panes.

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

13 years agoEdje entry: Fixed a memory leak. Removed an unwanted selection clear, and renamed...
tasn [Thu, 14 Oct 2010 07:50:32 +0000 (07:50 +0000)]
Edje entry: Fixed a memory leak. Removed an unwanted selection clear, and renamed preedit strings functions to have a more adequate name. - Patch by Jihoon Kim.

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

13 years agoThe daily edje example: EXTERNAL elementary checks in action.
davemds [Tue, 12 Oct 2010 21:41:02 +0000 (21:41 +0000)]
The daily edje example: EXTERNAL elementary checks in action.

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

13 years agoEdje entry: removed some unwanted commented out code.
tasn [Tue, 12 Oct 2010 14:13:22 +0000 (14:13 +0000)]
Edje entry: removed some unwanted commented out code.

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

13 years ago * edje: fix signal comming from aliased part.
cedric [Tue, 12 Oct 2010 13:26:18 +0000 (13:26 +0000)]
* edje: fix signal comming from aliased part.

I needed to bump minor file format version, but it will only
change behaviour for people using alias for part and they
couldn't use the signal emitted by them.

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

13 years agoEdje text: Fix text cutting (esipsis) with non-english. evas_object_text_last_up_to_p...
tasn [Tue, 12 Oct 2010 12:22:43 +0000 (12:22 +0000)]
Edje text: Fix text cutting (esipsis) with non-english. evas_object_text_last_up_to_pos returns index, not byte-index.

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

13 years agoAnother edje EXTERNAL example, this time make an elementary Anchorblock rotate around...
davemds [Mon, 11 Oct 2010 22:51:56 +0000 (22:51 +0000)]
Another edje EXTERNAL example, this time make an elementary Anchorblock rotate around in 3D.

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

13 years agoAnd finally one funny (at least to code) edje example:
davemds [Mon, 11 Oct 2010 21:43:19 +0000 (21:43 +0000)]
And finally one funny (at least to code) edje example:
a super-simple (but full featured) pong game, fully written in embryo,
in the style of the original game.

To run it, like all the other examples, just go in the doc/examples folder and do:
edje_cc embryo_pong.edc && edje_player embryo_pong.edj

Have fun ...beating the ""AI""  is really difficult ;)

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

13 years agoedje: Add get_part_id() to exported Embryo functions.
acidx [Mon, 11 Oct 2010 21:26:43 +0000 (21:26 +0000)]
edje: Add get_part_id() to exported Embryo functions.

This allows one to calculate a part number in runtime and and use it with
other functions, like get_state() and set_state().

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

13 years agoshow group name when it is auto-discovered as well.
barbieri [Mon, 11 Oct 2010 15:10:34 +0000 (15:10 +0000)]
show group name when it is auto-discovered as well.

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

13 years agofocus objcet we play
raster [Mon, 11 Oct 2010 08:30:17 +0000 (08:30 +0000)]
focus objcet we play

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

13 years agobah - removed snprintf.
raster [Mon, 11 Oct 2010 07:31:12 +0000 (07:31 +0000)]
bah - removed snprintf.

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

13 years agofix inlined fonts again.
raster [Mon, 11 Oct 2010 07:24:46 +0000 (07:24 +0000)]
fix inlined fonts again.

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

13 years agoDisable search-engine in edje Doxy file. The search don't work and it add strange...
davemds [Sat, 9 Oct 2010 12:53:11 +0000 (12:53 +0000)]
Disable search-engine in edje Doxy file. The search don't work and it add strange(not working) menu on the bottom of each page.
This remove the unwanted menu.

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

13 years ago Put in edje examples the super cool edje-emotion-elementary
davemds [Fri, 8 Oct 2010 21:59:21 +0000 (21:59 +0000)]
 Put in edje examples the super cool edje-emotion-elementary
 videoplayer by Gustavo Barbieri.

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

13 years ago Remove the doxy-inlined lua example in favor of a cleaner @include
davemds [Fri, 8 Oct 2010 21:14:31 +0000 (21:14 +0000)]
 Remove the doxy-inlined lua example in favor of a cleaner @include
 from the examples/ folder.
 Also expose all the examples to doxygen, you can now browse
 them all from the generated docs.

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

13 years agoCopy the lua script-only example (by raster) from edje doxy to doc/examples.
davemds [Fri, 8 Oct 2010 20:14:14 +0000 (20:14 +0000)]
Copy the lua script-only example (by raster) from edje doxy to doc/examples.

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

13 years agoAdd the first edje examples about the usage of EXTERNAL parts.
davemds [Fri, 8 Oct 2010 09:48:38 +0000 (09:48 +0000)]
Add the first edje examples about the usage of EXTERNAL parts.
This example show 5 buttons that you can click to perform some
simple actions, like changing the label or the icon of the buttons.

The example also spot a bug: external buttons with label AND icon
have layout issue. Standard icons are not visible at all while custom
icons don't get the size calculated correctly.
Buttons with only the icon work well instead.
Can someone look at this?

Thanks
DaveMDS

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

13 years agodont pretend to have these script only embryo calls anymore
raster [Fri, 8 Oct 2010 08:51:05 +0000 (08:51 +0000)]
dont pretend to have these script only embryo calls anymore

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

13 years agobetter log.
barbieri [Fri, 8 Oct 2010 00:24:22 +0000 (00:24 +0000)]
better log.

 * lower case domain names;

 * binaries use their own color (EDJE_CC_DEFAULT_LOG_COLOR)

 * log messages do not take multiple lines, it's annoying. The colors
   should call your attention already.

 * the ever annoying "did you forgot fixed: 1 1;" message that used to
   consume 3 lines is now bit more descriptive and uses a single line.

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

13 years agoAdd a new embryo example to edje, it show the usage of program_run() and toggle buttons.
davemds [Thu, 7 Oct 2010 18:34:40 +0000 (18:34 +0000)]
Add a new embryo example to edje, it show the usage of program_run() and toggle buttons.

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

13 years agoCheking if start.layout is set before using it.
sachiel [Thu, 7 Oct 2010 14:45:57 +0000 (14:45 +0000)]
Cheking if start.layout is set before using it.
When evas_object_show is called with a elm_layout object before resizing
it the layout function is called before edje calc function, so the start
layout is not yet set.

By: Otavio Pontes <otavio@profusion.mobi>

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

13 years ago * edje: remove not needed code and fix issue when removing child.
cedric [Thu, 7 Oct 2010 14:14:02 +0000 (14:14 +0000)]
* edje: remove not needed code and fix issue when removing child.

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

13 years agoAdd a new embryo example in edje, it show the use of custom states. In the example...
davemds [Thu, 7 Oct 2010 00:03:54 +0000 (00:03 +0000)]
Add a new embryo example in edje, it show the use of custom states. In the example you can rotate a red rect in 3 dimension by clicking on the 3 labels.

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

13 years agoUpdate edje examples to use embryo instead of lua. Inline lua scripting was removed...
davemds [Wed, 6 Oct 2010 23:03:28 +0000 (23:03 +0000)]
Update edje examples to use embryo instead of lua. Inline lua scripting was removed some time ago.

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

13 years agoEdje entry: Fixed the hack that was used in edje_entry for drawing anchors (the hack...
tasn [Wed, 6 Oct 2010 18:23:01 +0000 (18:23 +0000)]
Edje entry: Fixed the hack that was used in edje_entry for drawing anchors (the hack was there because of a bug in textblock which is now fixed).

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

13 years agoedje: improve doc
billiob [Sun, 3 Oct 2010 21:21:58 +0000 (21:21 +0000)]
edje: improve doc

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

13 years agoefl 1.0.0 beta.
raster [Sun, 3 Oct 2010 09:21:08 +0000 (09:21 +0000)]
efl 1.0.0 beta.

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

13 years agoadd big FIXME for fixme
discomfitor [Sat, 2 Oct 2010 08:22:48 +0000 (08:22 +0000)]
add big FIXME for fixme

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

13 years agothis is the WRONG fix for compiled-in edj font issues. it does, however, temporarily...
discomfitor [Sat, 2 Oct 2010 07:42:01 +0000 (07:42 +0000)]
this is the WRONG fix for compiled-in edj font issues.  it does, however, temporarily fix the problem until someone who knows what they're doing comes along

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

13 years agoactually hook in filter callbacks - have 2 types and pass in enum to
raster [Sat, 2 Oct 2010 03:34:00 +0000 (03:34 +0000)]
actually hook in filter callbacks - have 2 types and pass in enum to
each as to what text they are seeing to filter. fix up other typdef
uses.

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

13 years agoFix animators, don't run the program twice.
sachiel [Fri, 1 Oct 2010 17:10:37 +0000 (17:10 +0000)]
Fix animators, don't run the program twice.

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

13 years agoFix having api keyword in parts, that is, don't have edje_cc segfault if there is...
sachiel [Fri, 1 Oct 2010 16:49:31 +0000 (16:49 +0000)]
Fix having api keyword in parts, that is, don't have edje_cc segfault if there is one.

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

13 years agoset EDJE_SELF_FEED_DEBUG if u want to know abotu self-feeding edje
raster [Fri, 1 Oct 2010 06:59:48 +0000 (06:59 +0000)]
set EDJE_SELF_FEED_DEBUG if u want to know abotu self-feeding edje
signals/messages

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

13 years agoproper error output from script running (embryo).
raster [Fri, 1 Oct 2010 06:53:16 +0000 (06:53 +0000)]
proper error output from script running (embryo).

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

13 years agoedje_cc: Don't dereference a NULL pointer on badly-formed .edj files.
acidx [Thu, 30 Sep 2010 21:37:49 +0000 (21:37 +0000)]
edje_cc: Don't dereference a NULL pointer on badly-formed .edj files.

(Should have been on r52931.)

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

13 years agoedje_cc: Bail out on descriptions without a state.
acidx [Thu, 30 Sep 2010 21:31:00 +0000 (21:31 +0000)]
edje_cc: Bail out on descriptions without a state.

Also, don't dereference a NULL pointer on badly-formed .edj files.

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

13 years agoedje_cc: Fix typos
acidx [Thu, 30 Sep 2010 21:16:38 +0000 (21:16 +0000)]
edje_cc: Fix typos

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

13 years agoDynamic choices in edje EXTERNALS.
barbieri [Wed, 29 Sep 2010 03:01:17 +0000 (03:01 +0000)]
Dynamic choices in edje EXTERNALS.

Sometimes the options can just be known during runtime, like available
video engines for emotion.

This goes in now as it will avoid further API breaks, so before Edje 1.0

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

13 years agonew flags to external parameters.
barbieri [Wed, 29 Sep 2010 02:42:50 +0000 (02:42 +0000)]
new flags to external parameters.

These are yet-another hint, they are not enforced as documentation
already said, yet they will be useful for tools (ie: editje) to
explain to users if parameter will be set only once, or provides no
getter and such.

This will save future ABI breaks, that's why I want it in 1.0 :-)

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

13 years agoAdding a transition layout animation for edje box.
barbieri [Wed, 29 Sep 2010 00:28:54 +0000 (00:28 +0000)]
Adding a transition layout animation for edje box.

Perform an animation when changing the layout from an edje box.

By: Otavio Pontes <otavio@profusion.mobi>

-------

Sample EDC:

{{{

collections {
   group {
      name: "main";
      min: 500 500;
      max: 500 500;
      parts {
         part {
            name: "bg";
            type: RECT;
            description {
               color: 255 255 255 255;
               rel1 { relative: 0.0 0.0; }
               rel2 { relative: 1.0 1.0; }
            }
         }
         part {
            name: "box1";
            type: BOX;
            description {
               state: "default" 0.0;
               box {
                  layout: vertical;
                  padding: 0 0;
               }
               rel1 {
                  relative: 0.0 0.0;
               }
               rel2 {
                  relative: 1.0 1.0;
               }
            }
            description {
               state: "default" 0.1;
               inherit: "default" 0.0;
               box {
                  padding: 10 10;
                  layout: horizontal;
               }
            }
            description {
               state: "default" 0.2;
               inherit: "default" 0.0;
               box {
                  layout: vertical;
               }
               rel1 {
                  relative: 0.0 0.0;
                  offset: 100 100;
               }
               rel2 {
                  relative: 1.0 1.0;
               }
            }
            box {
               items {
                  item {
                     name: "rect1";
                     type: GROUP;
                     source: "grp_rect1";
                     weight: 1.0 1.0;
                     align: -1 -1;
                  }
                  item {
                     name: "rect2";
                     type: GROUP;
                     source: "grp_rect2";
                     weight: 1.0 1.0;
                     align: -1 -1;
                  }
               }
            }
         }
      }
      programs {
         program {
            name: "change_layout";
            signal: "mouse,clicked,1";
            source: "box1";
            action: STATE_SET "default" 0.1;
            target: "box1";
            transition: LINEAR 5.0;
            after: "change_back";
         }
         program {
            name: "change_back";
            action: STATE_SET "default" 0.2;
            target: "box1";
            transition: LINEAR 5.0;
         }
     }
   }
   group {
      name: "grp_rect1";
      parts {
         part {
            name: "r1";
            type: RECT;
            description {
               state: "default" 0.0;
               color: 255 0 0 255;
               rel1 { relative: 0.0 0.0; }
               rel2 { relative: 1.0 1.0; }
            }
            description {
               state: "default" 0.1;
               inherit: "default" 0.0;
               color: 255 0 0 255;
            }
         }
      }
   }
   group {
      name: "grp_rect2";
      parts {
         part {
            name: "r2";
            type: RECT;
            description {
               state: "default" 0.0;
               color: 0 255 0 255;
               rel1 { relative: 0.0 0.0; }
               rel2 { relative: 1.0 1.0; }
            }
            description {
               state: "default" 0.1;
               color: 0 0 255 255;
            }
         }
      }
   }
}

}}}

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

13 years agoAnd use Eina_Bool return values too.
devilhorns [Tue, 28 Sep 2010 00:25:54 +0000 (00:25 +0000)]
And use Eina_Bool return values too.

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

13 years agoFix edje entry callback to use Eina_Bool like ecore_imf is expecting.
devilhorns [Tue, 28 Sep 2010 00:24:44 +0000 (00:24 +0000)]
Fix edje entry callback to use Eina_Bool like ecore_imf is expecting.

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

13 years agoDon't screw up script {} highlighting when there are several levels of {}
sachiel [Mon, 27 Sep 2010 21:12:09 +0000 (21:12 +0000)]
Don't screw up script {} highlighting when there are several levels of {}

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

13 years agocosmetic only: put files in alphabetic order.
caro [Sat, 25 Sep 2010 17:19:46 +0000 (17:19 +0000)]
cosmetic only: put files in alphabetic order.

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

13 years agoPut everything in edje_private. It should fix a compilation
caro [Sat, 25 Sep 2010 17:10:33 +0000 (17:10 +0000)]
Put everything in edje_private. It should fix a compilation
bug on Windows

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

13 years agocorrectness!
raster [Thu, 23 Sep 2010 02:52:19 +0000 (02:52 +0000)]
correctness!

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

13 years agoDon't include Edje_Edit.h in edje_private.h and make it obvious at compile time that...
sachiel [Wed, 22 Sep 2010 14:52:23 +0000 (14:52 +0000)]
Don't include Edje_Edit.h in edje_private.h and make it obvious at compile time that this API is not meant to be used outside of editors.

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

13 years agomore pi cleantyp -> typedef.
raster [Wed, 22 Sep 2010 13:35:47 +0000 (13:35 +0000)]
more pi cleantyp -> typedef.

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

13 years agoint -> enum.
raster [Wed, 22 Sep 2010 13:27:09 +0000 (13:27 +0000)]
int -> enum.

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

13 years agocomment++
raster [Wed, 22 Sep 2010 13:01:13 +0000 (13:01 +0000)]
comment++

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

13 years agoignore auto-generated file.
barbieri [Sun, 19 Sep 2010 20:36:15 +0000 (20:36 +0000)]
ignore auto-generated file.

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

13 years agoEdje entry: Fixed a lot of formatting issues. Patch by Jihoon Kim.
tasn [Sun, 19 Sep 2010 08:08:17 +0000 (08:08 +0000)]
Edje entry: Fixed a lot of formatting issues. Patch by Jihoon Kim.

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

13 years agowarnings--
raster [Sun, 19 Sep 2010 03:04:17 +0000 (03:04 +0000)]
warnings--
warnings = 0

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

13 years agowarning--
raster [Sun, 19 Sep 2010 00:33:45 +0000 (00:33 +0000)]
warning--
(shuddup gcc)

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

13 years ago * edje: remove unused variable.
cedric [Fri, 17 Sep 2010 12:05:46 +0000 (12:05 +0000)]
* edje: remove unused variable.

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

13 years ago * edje: prevent segv due to dead relative part.
cedric [Thu, 16 Sep 2010 15:49:56 +0000 (15:49 +0000)]
* edje: prevent segv due to dead relative part.

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

13 years ago * edje: cleanup aspect code and reduce memory presure.
cedric [Wed, 15 Sep 2010 14:15:23 +0000 (14:15 +0000)]
* edje: cleanup aspect code and reduce memory presure.

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

13 years ago * edje: turn it on again and go fix your theme :-)
cedric [Wed, 15 Sep 2010 14:09:58 +0000 (14:09 +0000)]
* edje: turn it on again and go fix your theme :-)

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

13 years agoCEEEEEEEEEDRICCCCCCCCCCCCCCCC!
raster [Tue, 14 Sep 2010 22:32:34 +0000 (22:32 +0000)]
CEEEEEEEEEDRICCCCCCCCCCCCCCCC!
  borked e conf panel. unbork. disable aspect.

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

13 years ago * edje: remove use of flags as it was always set to FLAG_XY
cedric [Tue, 14 Sep 2010 15:53:47 +0000 (15:53 +0000)]
* edje: remove use of flags as it was always set to FLAG_XY
in _edje_part_recalc_single.

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

13 years ago * edje: fix edje use of aspect when constrained by min or max.
cedric [Tue, 14 Sep 2010 15:36:16 +0000 (15:36 +0000)]
* edje: fix edje use of aspect when constrained by min or max.

NOTE: If you have swallow or parts that where constrained by min and
max, and you used aspect on them, expect change on your layout.

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

13 years agoDon't check return value of alloca
lucas [Mon, 13 Sep 2010 18:40:32 +0000 (18:40 +0000)]
Don't check return value of alloca
alloca() doesn't return NULL on error, so do not check its return value.

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

13 years agodont get item anchors so often!
raster [Mon, 13 Sep 2010 12:08:19 +0000 (12:08 +0000)]
dont get item anchors so often!

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

13 years agoEdje entry: Fixed a selection bug with IMF enabled and fix a couple of indentation...
tasn [Sun, 12 Sep 2010 08:15:35 +0000 (08:15 +0000)]
Edje entry: Fixed a selection bug with IMF enabled and fix a couple of indentation issues, and a saftey check.
Patch by Jihoon Kim.

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

13 years agoSimplify code by removing unneeded auxiliary variable
lucas [Fri, 10 Sep 2010 11:25:26 +0000 (11:25 +0000)]
Simplify code by removing unneeded auxiliary variable

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

13 years agoRefactor function to return as early as possible
lucas [Fri, 10 Sep 2010 11:25:15 +0000 (11:25 +0000)]
Refactor function to return as early as possible
Instead of a looooooong 'if', return on the contrary.

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

13 years agoFormatting
lucas [Fri, 10 Sep 2010 11:25:05 +0000 (11:25 +0000)]
Formatting

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

13 years agoRefactor jumps
lucas [Fri, 10 Sep 2010 11:24:49 +0000 (11:24 +0000)]
Refactor jumps
Instead of relying on the value of edf (and having to set it on all
places to NULL) jump to 'open' label on the only possible case of the
control flow.

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

13 years agoFix parameter order in help
lucas [Thu, 9 Sep 2010 20:35:44 +0000 (20:35 +0000)]
Fix parameter order in help

Calling help in edje_player was showing the wrong order for sending a signal.
The right order is the same of the function edje_object_signal_emit()

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

13 years ago * edje: cleanup collection early if the file is dangling.
cedric [Wed, 8 Sep 2010 13:45:21 +0000 (13:45 +0000)]
* edje: cleanup collection early if the file is dangling.

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

13 years agoFix common misspellings
lucas [Wed, 8 Sep 2010 11:50:05 +0000 (11:50 +0000)]
Fix common misspellings

Following misspellings were fixed:

ammount->amount
arbitary->arbitrary
begining->beginning
carefull->careful
choosen->chosen
commited->committed
endig->ending
existance->existence
existant->existent
isnt->isn't
occured->occurred
postion->position
rougly->roughly
runing->running
shouldnt->shouldn't
soem->some
succesfully->successfully
succesful->successful
sucessful->successful
tranformed->transformed
usefull->useful
wehn->when
wich->which

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

13 years agoEdje entry: fix the usage of the new evas_textblock_cursor_geometry_get function.
tasn [Wed, 8 Sep 2010 07:29:00 +0000 (07:29 +0000)]
Edje entry: fix the usage of the new evas_textblock_cursor_geometry_get function.

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

13 years agoMerge branch 'elmdnd'
nash [Tue, 7 Sep 2010 06:56:16 +0000 (06:56 +0000)]
Merge branch 'elmdnd'

Conflicts:
trunk/TMP/st/elementary/.gitignore

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

13 years agoEdje entry: started using the new evas_textblock_cursor_content_get.
tasn [Sun, 5 Sep 2010 08:29:52 +0000 (08:29 +0000)]
Edje entry: started using the new evas_textblock_cursor_content_get.

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

13 years agoEdje entry: Enabled Ecore_IMF.
tasn [Sun, 5 Sep 2010 07:20:47 +0000 (07:20 +0000)]
Edje entry: Enabled Ecore_IMF.
Fixed formatting issues.
Fixed typos.
Fixed clearing of selection when pressing a key in a software keyboard.
Patch by Jihoon Kim and small adjustments by myself. Thanks a lot.

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

13 years agoformatting fix + list walk optimisation.
raster [Sat, 4 Sep 2010 03:53:12 +0000 (03:53 +0000)]
formatting fix + list walk optimisation.

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

13 years agoDon't put nulls in the list of programs, makes little sense.
sachiel [Fri, 3 Sep 2010 14:37:42 +0000 (14:37 +0000)]
Don't put nulls in the list of programs, makes little sense.

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

13 years agouse new clipper flag
raster [Fri, 3 Sep 2010 00:07:52 +0000 (00:07 +0000)]
use new clipper flag

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

13 years agoEdje entry: Fixed setting cursor on mouse click.
tasn [Thu, 2 Sep 2010 13:52:14 +0000 (13:52 +0000)]
Edje entry: Fixed setting cursor on mouse click.

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