framework/uifw/edje.git
13 years agoList and allow to fetch pre-processing errors when compiling Embryo scripts.
sachiel [Tue, 7 Dec 2010 19:06:53 +0000 (19:06 +0000)]
List and allow to fetch pre-processing errors when compiling Embryo scripts.

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

13 years agoNULL out focused part when clearing the remnants of a gone Edje
sachiel [Mon, 6 Dec 2010 13:50:51 +0000 (13:50 +0000)]
NULL out focused part when clearing the remnants of a gone Edje

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

13 years agoif we aren't looking for a glob... why do we go alloc a possible
raster [Mon, 6 Dec 2010 07:49:00 +0000 (07:49 +0000)]
if we aren't looking for a glob... why do we go alloc a possible
massive pattern match thing.. if you have a LOOOOOOOOOOT of collection
entries... that can be a big set.

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

13 years agomaybe fix del ref 0 string then add it back with same handle?
raster [Sun, 5 Dec 2010 03:12:34 +0000 (03:12 +0000)]
maybe fix del ref 0 string then add it back with same handle?

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

13 years ago * eina,eet,embryo,evas,ecore,edje,efreet,e_dbus,eeze: beta3 !
cedric [Sat, 4 Dec 2010 00:50:58 +0000 (00:50 +0000)]
* eina,eet,embryo,evas,ecore,edje,efreet,e_dbus,eeze: beta3 !

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

13 years ago * edje: SPANK ! SPANK ! SPANK !
cedric [Fri, 3 Dec 2010 18:21:56 +0000 (18:21 +0000)]
* edje: SPANK ! SPANK ! SPANK !

fprintf should always specify a format.

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

13 years ago * edje: remove c++ comment also.
cedric [Fri, 3 Dec 2010 17:55:02 +0000 (17:55 +0000)]
* edje: remove c++ comment also.

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

13 years ago * edje: improve portability and simplify code.
cedric [Fri, 3 Dec 2010 16:41:38 +0000 (16:41 +0000)]
* edje: improve portability and simplify code.

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

13 years agotwinkle twinkle little fix...
sachiel [Fri, 3 Dec 2010 14:00:04 +0000 (14:00 +0000)]
twinkle twinkle little fix...

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

13 years agoEdje_Edit has been taught the basics of Embryo scripting.
sachiel [Thu, 2 Dec 2010 18:20:34 +0000 (18:20 +0000)]
Edje_Edit has been taught the basics of Embryo scripting.

It is possible now to call a recompile of the script, which if it doesn't
fail, will also update the running Embryo VM. Saving the object, when opened
from a file compiled with a sufficiently new edje_cc (early this week, I think), will generate the source including the scripts in their right place.
It's still missing a proper report of errors during the script build, but that will come later.

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

13 years agoMake edje_cc store script source snippets (only embryo now) in the generated file.
sachiel [Tue, 30 Nov 2010 15:37:20 +0000 (15:37 +0000)]
Make edje_cc store script source snippets (only embryo now) in the generated file.

Yeah... yeah... we are on a freeze and we aren't supposed to be doing things like this, but it's not change anything other than allow edje_edit to know about scripts in order to not screw them up when modifying a file.

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

13 years ago * edje: the most simple and usefull case of alias convertion
cedric [Tue, 30 Nov 2010 13:09:03 +0000 (13:09 +0000)]
* edje: the most simple and usefull case of alias convertion
wasn't implemented at all. Should be working now, please test
all your code that relly on "part1:part2[index]:sig" behaviour.

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

13 years agoEdje entry: Fixed bug with preedit string. The text was committed to the current...
tasn [Tue, 30 Nov 2010 11:06:22 +0000 (11:06 +0000)]
Edje entry: Fixed bug with preedit string. The text was committed to the current cursor position instead of the preedit cursor position (which may be different if you click the mouse somewhere in the tetx). Patch by Jihoon Kim.

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

13 years ago Put myself as author in edje (as per all the edje_edit works)
davemds [Mon, 29 Nov 2010 23:05:50 +0000 (23:05 +0000)]
 Put myself as author in edje (as per all the edje_edit works)
 But the real reason for this commit is to test the little mod
 I have done on the commit script

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

13 years ago * edje: strcpy could only go wrong.
cedric [Fri, 26 Nov 2010 16:46:35 +0000 (16:46 +0000)]
* edje: strcpy could only go wrong.

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

13 years agooops, forgot some machine output.
barbieri [Thu, 25 Nov 2010 23:22:50 +0000 (23:22 +0000)]
oops, forgot some machine output.

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

13 years agowelcome edje_external_inspector.
barbieri [Thu, 25 Nov 2010 23:16:56 +0000 (23:16 +0000)]
welcome edje_external_inspector.

this tool is similar to edje_inspector as it uses similar command line
and output formats, but instead of acting upon EDJ compiled files, it
will use edje EXTERNAL module providers (/usr/lib/edje/modules/*),
being able to list modules and their registered types.

it is quite useful to know which parameters are exposed, their types
and default value (--detail=terse) and also mode information such as
flags, min/max/step/accepted/denied and other valuable information
(--detail=all).

as usual it accepts globs to filter input. example usage:

{{{
shell$ edje_external_inspector -t '*anch*'
module {
   name: "elm";
   friendly_name: "Elementary";
   types {
      type {
         name: "elm/anchorblock";
         params {
            string: "style" "default";
            string: "text" "some text";
         }
      }
      type {
         name: "elm/anchorview";
         params {
            string: "style" "default";
            string: "text" "some text";
         }
      }
   }
}

shell$ edje_external_inspector --type='*anch*'
module {
   name: "elm";
   friendly_name: "Elementary";
   types {
      type {
         name: "elm/anchorblock";
         params {
            string: "style" "default";
            string: "text" "some text";
         }
      }
      type {
         name: "elm/anchorview";
         params {
            string: "style" "default";
            string: "text" "some text";
         }
      }
   }
}

shell$ edje_external_inspector --detail=all 'emo*'
module {
   name: "emotion";
   friendly_name: "Emotion";
   types {
      type {
         name: "emotion";
         label: "Emotion";
         params {
            choice: "engine" "xine"; /* flags: REGULAR, choices: "xine" "gstreamer" */
            string: "file"; /* flags: REGULAR */
            bool: "play" "0"; /* flags: REGULAR, false_str: "false", true_str: "true" */
            double: "position" "0"; /* flags: REGULAR */
            bool: "smooth_scale" "0"; /* flags: REGULAR, false_str: "false", true_str: "true" */
            double: "audio_volume" "0.9"; /* flags: REGULAR */
            bool: "audio_mute" "0"; /* flags: REGULAR, false_str: "false", true_str: "true" */
            int: "audio_channel" "0"; /* flags: REGULAR */
            bool: "video_mute" "0"; /* flags: REGULAR, false_str: "false", true_str: "true" */
            int: "video_channel" "0"; /* flags: REGULAR */
            bool: "spu_mute" "0"; /* flags: REGULAR, false_str: "false", true_str: "true" */
            int: "spu_channel" "0"; /* flags: REGULAR */
            int: "chapter" "0"; /* flags: REGULAR */
            double: "play_speed" "1"; /* flags: REGULAR */
            double: "play_length" "0"; /* flags: REGULAR */
         }
      }
   }
}
}}}

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

13 years agoUse mempools to create parts
sachiel [Wed, 24 Nov 2010 15:26:54 +0000 (15:26 +0000)]
Use mempools to create parts

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

13 years agooops, and the configure.ac
barbieri [Mon, 22 Nov 2010 23:27:14 +0000 (23:27 +0000)]
oops, and the configure.ac

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

13 years agowelcome edje_inspector.
barbieri [Mon, 22 Nov 2010 23:24:44 +0000 (23:24 +0000)]
welcome edje_inspector.

This tool inspects a binary EDJ file and dumps group names, part
names, parts, programs, externals, images, fonts and global data of
it. The output is in both human readable (edc-like) and machine
readable (easily parseable with shell scripts).

It allows filtering of groups, parts and programs names using glob
expressions (fnmatch). Also allows filtering of parts/prgrams that are
marked with "api:".

My idea is to later change elementary-generator to use this tool and
generate code for any Edje file, generating stub code for windows and
layouts marked with names "elm/win/*" and "elm/layoyt/application/*",
exposing parts marked as "api:". It would be much more helpful and
extensible than the current generator that is based on pre-defined C
code.

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

13 years agoadd missing edit method: edje_edit_font_path_get()
barbieri [Mon, 22 Nov 2010 22:07:41 +0000 (22:07 +0000)]
add missing edit method: edje_edit_font_path_get()

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

13 years agokeep the same order so eet serialization works properly.
barbieri [Mon, 22 Nov 2010 22:05:03 +0000 (22:05 +0000)]
keep the same order so eet serialization works properly.

Fonts should be the same as Edje_Font_Directory_Entry as it's
serialized using the same eet descriptor, so the fields should match
their order.

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

13 years agofix clicked when on hold set.
raster [Sun, 21 Nov 2010 06:28:13 +0000 (06:28 +0000)]
fix clicked when on hold set.

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

13 years agoallow to edje_object_part_external_param_set/edje_object_part_external_param_get...
andreas [Fri, 19 Nov 2010 22:50:33 +0000 (22:50 +0000)]
allow to edje_object_part_external_param_set/edje_object_part_external_param_get with internal objects too. Currently implemented support for EDJE_PART_TYPE_TEXT and EDJE_PART_TYPE_TEXTBLOCK and param "text".

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

13 years agoFix snippets
tiago [Wed, 17 Nov 2010 11:42:50 +0000 (11:42 +0000)]
Fix snippets

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

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