framework/uifw/edje.git
14 years agowarn usage of part swallow without swallow
barbieri [Wed, 2 Dec 2009 21:16:42 +0000 (21:16 +0000)]
warn usage of part swallow without swallow

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

14 years agoedje_decc: option to output to current directory.
barbieri [Wed, 2 Dec 2009 21:06:11 +0000 (21:06 +0000)]
edje_decc: option to output to current directory.

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

14 years agoedje_decc: -no-build-sh
barbieri [Wed, 2 Dec 2009 21:00:57 +0000 (21:00 +0000)]
edje_decc: -no-build-sh

Don't output build.sh

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

14 years agoand back to a pre-svn sonme after snap
raster [Wed, 2 Dec 2009 08:07:38 +0000 (08:07 +0000)]
and back to a pre-svn sonme after snap

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

14 years agoaaah bah - move to 05 not 04
raster [Wed, 2 Dec 2009 07:40:59 +0000 (07:40 +0000)]
aaah bah - move to 05 not 04

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

14 years agoasparagus - finally
raster [Wed, 2 Dec 2009 07:22:35 +0000 (07:22 +0000)]
asparagus - finally

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

14 years agobatch register/unregister of external types, faster and lighter on memory.
barbieri [Tue, 1 Dec 2009 17:58:17 +0000 (17:58 +0000)]
batch register/unregister of external types, faster and lighter on memory.

This is the recommended way to register a batch of types, it will not
do check (hash lookup) before adding and keys are added as "direct"
(not copied), thus lighter on memory.

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

14 years agoadd lots of cursor con trol api's
raster [Tue, 1 Dec 2009 11:02:46 +0000 (11:02 +0000)]
add lots of cursor con trol api's

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

14 years agoactually add stuff to the list
sachiel [Mon, 30 Nov 2009 20:06:26 +0000 (20:06 +0000)]
actually add stuff to the list

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

14 years agorestack swallowed objects too
sachiel [Fri, 27 Nov 2009 20:34:43 +0000 (20:34 +0000)]
restack swallowed objects too

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

14 years agoUpdate object when external parameters are set
sachiel [Fri, 27 Nov 2009 17:57:35 +0000 (17:57 +0000)]
Update object when external parameters are set

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

14 years agoDelete internal object when external part is removed
sachiel [Thu, 26 Nov 2009 18:03:40 +0000 (18:03 +0000)]
Delete internal object when external part is removed

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

14 years agocreate external in the right place
sachiel [Thu, 26 Nov 2009 17:38:43 +0000 (17:38 +0000)]
create external in the right place

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

14 years agoexternals {} in edje_edit, source generation and add module to the external_Type...
sachiel [Thu, 26 Nov 2009 17:01:31 +0000 (17:01 +0000)]
externals {} in edje_edit, source generation and add module to the external_Type api to keep track of who registers what

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

14 years agoMore macros and default values por external parameters.
sachiel [Wed, 25 Nov 2009 17:00:53 +0000 (17:00 +0000)]
More macros and default values por external parameters.
Add external parts in edje_edit

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

14 years agodont segv if theres no file
sachiel [Tue, 24 Nov 2009 21:08:52 +0000 (21:08 +0000)]
dont segv if theres no file

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

14 years agoAutoload modules for external widgets
sachiel [Tue, 24 Nov 2009 17:55:11 +0000 (17:55 +0000)]
Autoload modules for external widgets

Patch by Fabiano Fidencio

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

14 years agoEasier to use macros
sachiel [Mon, 23 Nov 2009 22:18:01 +0000 (22:18 +0000)]
Easier to use macros

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

14 years agoParameter information for external widgets
sachiel [Mon, 23 Nov 2009 20:21:22 +0000 (20:21 +0000)]
Parameter information for external widgets

This are used for things like editors to know what parameters
to manage for external stuff.

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

14 years agoBetter path for modules and move variables to beginning of block
sachiel [Mon, 23 Nov 2009 19:50:54 +0000 (19:50 +0000)]
Better path for modules and move variables to beginning of block

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

14 years agoedje external module loader: just load modules once.
barbieri [Mon, 23 Nov 2009 18:47:31 +0000 (18:47 +0000)]
edje external module loader: just load modules once.

not tested, but should work.

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

14 years agoedje external support, part 1.
barbieri [Mon, 23 Nov 2009 15:03:19 +0000 (15:03 +0000)]
edje external support, part 1.

Patch by Fabiano Fidêncio <fidencio@profusion.mobi>

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

14 years agopatch from tasn: rtl fit.
raster [Sun, 22 Nov 2009 01:49:44 +0000 (01:49 +0000)]
patch from tasn: rtl fit.

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

14 years agoEdje_Edit
sachiel [Wed, 18 Nov 2009 00:27:49 +0000 (00:27 +0000)]
Edje_Edit
 - Watch for non-shared strings when copying states
 - Get/Set external parameters

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

15 years agoConstness and pass object around
sachiel [Fri, 13 Nov 2009 18:35:19 +0000 (18:35 +0000)]
Constness and pass object around

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

15 years agoconsistent return
sachiel [Thu, 12 Nov 2009 15:41:45 +0000 (15:41 +0000)]
consistent return

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

15 years agoFix linking issue when cross building from linux to windows
lmunch [Tue, 10 Nov 2009 16:58:36 +0000 (16:58 +0000)]
Fix linking issue when cross building from linux to windows

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

15 years agofix segv on obj del - didnt remove callbacks!
raster [Mon, 9 Nov 2009 23:47:42 +0000 (23:47 +0000)]
fix segv on obj del - didnt remove callbacks!

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

15 years agoRemove unused variables
englebass [Sun, 8 Nov 2009 20:26:51 +0000 (20:26 +0000)]
Remove unused variables

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

15 years agoUncomment label along with goto
englebass [Sun, 8 Nov 2009 20:26:36 +0000 (20:26 +0000)]
Uncomment label along with goto

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

15 years agofix dist/distcheck rule
caro [Fri, 6 Nov 2009 06:40:38 +0000 (06:40 +0000)]
fix dist/distcheck rule

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

15 years agoallow the amalgation stuff in edje
caro [Tue, 3 Nov 2009 09:27:59 +0000 (09:27 +0000)]
allow the amalgation stuff in edje

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

15 years ago * rename _edje_strbuf_append to _edje_strbuf_append1 and
caro [Tue, 3 Nov 2009 09:26:15 +0000 (09:26 +0000)]
 * rename _edje_strbuf_append to _edje_strbuf_append1 and
   _edje_strbuf_append2 in edje_util.c and edje_textblock_styles.c
   respectiveley (for amalgamation. See next commit)
 * fixes for vc++

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

15 years ago * edje: On size hints don't forget to invalidate real part cache.
cedric [Mon, 2 Nov 2009 10:18:14 +0000 (10:18 +0000)]
* edje: On size hints don't forget to invalidate real part cache.

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

15 years agoSome more stuff in externals, little api change there, may change some more later.
sachiel [Sat, 31 Oct 2009 18:07:08 +0000 (18:07 +0000)]
Some more stuff in externals, little api change there, may change some more later.

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

15 years agoand bring external back now that the file was added
sachiel [Tue, 27 Oct 2009 01:08:19 +0000 (01:08 +0000)]
and bring external back now that the file was added

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

15 years agoThey say missing files need to be added, they don't respawn like things in Quake
sachiel [Tue, 27 Oct 2009 00:55:51 +0000 (00:55 +0000)]
They say missing files need to be added, they don't respawn like things in Quake

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

15 years agoREVERT! broke edje.
raster [Tue, 27 Oct 2009 00:27:50 +0000 (00:27 +0000)]
REVERT! broke edje.

try again and dont forget to add edje_external.c! (and any others needing
adding)

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

15 years agoExternal objects support by Brian 'rephorm' Mattern
sachiel [Mon, 26 Oct 2009 21:33:56 +0000 (21:33 +0000)]
External objects support by Brian 'rephorm' Mattern

Since we are on a freeze, the patch goes on updated to current svn, but without changing its API. After the freeze some things will be added, and some will change :)

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

15 years agoEdje_Edit is too noisy.
sachiel [Mon, 26 Oct 2009 21:28:39 +0000 (21:28 +0000)]
Edje_Edit is too noisy.
Comment out some printf's. Needs moving to eina_log, but no time for
that now.

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

15 years agofix evas_object_event_callback_del_full()
watchwolf [Mon, 26 Oct 2009 09:29:55 +0000 (09:29 +0000)]
fix evas_object_event_callback_del_full()

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

15 years agoprovide fast-path for re-swallow
raster [Mon, 26 Oct 2009 08:26:10 +0000 (08:26 +0000)]
provide fast-path for re-swallow

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

15 years agochange to del fulls just to be consistent
raster [Mon, 26 Oct 2009 07:28:51 +0000 (07:28 +0000)]
change to del fulls just to be consistent

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

15 years agowarning--
caro [Sun, 25 Oct 2009 12:17:05 +0000 (12:17 +0000)]
warning--

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

15 years ago * fix some warnings
caro [Sun, 25 Oct 2009 11:40:06 +0000 (11:40 +0000)]
 * fix some warnings
 * move variable declarations at the top of the bloc

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

15 years agounused parameters --
caro [Sun, 25 Oct 2009 11:24:55 +0000 (11:24 +0000)]
unused parameters --

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

15 years ago * include config.h in all source files
caro [Sun, 25 Oct 2009 11:19:12 +0000 (11:19 +0000)]
 * include config.h in all source files
 * declare alloca before the standard headers
 * include Evil.h for the declaration of realpath in edje_cc_prefix.c

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

15 years agoAdd function to copy a part description. Helps to get templates going
sachiel [Wed, 21 Oct 2009 06:19:02 +0000 (06:19 +0000)]
Add function to copy a part description. Helps to get templates going

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

15 years agolink to right header file in docs
raster [Wed, 14 Oct 2009 03:29:20 +0000 (03:29 +0000)]
link to right header file in docs

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

15 years agoadd declaration of alloca
caro [Tue, 13 Oct 2009 16:54:30 +0000 (16:54 +0000)]
add declaration of alloca

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

15 years ago * edje: Support back empty file.
cedric [Fri, 9 Oct 2009 08:51:03 +0000 (08:51 +0000)]
* edje: Support back empty file.

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

15 years agoadd logging in edje_main.c only for now. Could be extended
caro [Fri, 9 Oct 2009 05:41:05 +0000 (05:41 +0000)]
add logging in edje_main.c only for now. Could be extended
to other files later.

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

15 years agorename _edje_edd_setup() and _edje_edd_free() to respectively
caro [Fri, 9 Oct 2009 05:17:19 +0000 (05:17 +0000)]
rename _edje_edd_setup() and _edje_edd_free() to respectively
_edje_edd_init() and _edje_edd_shutdown() to follow standard
naming convention

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

15 years agoCheck if one of the dependencies fails in edje_init()
caro [Thu, 8 Oct 2009 21:58:32 +0000 (21:58 +0000)]
Check if one of the dependencies fails in edje_init()

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

15 years agofix tmp dir on Windows
caro [Thu, 8 Oct 2009 21:45:55 +0000 (21:45 +0000)]
fix tmp dir on Windows

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

15 years ago * simplify a bit edje_init() and edje_shutdown() a bit
caro [Thu, 8 Oct 2009 07:05:19 +0000 (07:05 +0000)]
 * simplify a bit edje_init() and edje_shutdown() a bit
 * change behavior of edje_shutdown() to make it more standard
 * move eet_shutdown()

the order still seems strange. I don't know if i can freely move
the init/shutdown functions

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

15 years agoand delete size change hints cb if unswallowed
raster [Thu, 8 Oct 2009 03:49:51 +0000 (03:49 +0000)]
and delete size change hints cb if unswallowed

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

15 years agoif a swallowed object shanges size hints.. re-fetch and calc!
raster [Thu, 8 Oct 2009 03:44:53 +0000 (03:44 +0000)]
if a swallowed object shanges size hints.. re-fetch and calc!

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

15 years ago * edje: Oops. Correct fix.
cedric [Wed, 7 Oct 2009 12:40:28 +0000 (12:40 +0000)]
* edje: Oops. Correct fix.

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

15 years ago * edje: Help windows users to be happy.
cedric [Wed, 7 Oct 2009 11:50:58 +0000 (11:50 +0000)]
* edje: Help windows users to be happy.

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

15 years ago * edje: Another round of llvm warning removal.
cedric [Wed, 7 Oct 2009 11:36:23 +0000 (11:36 +0000)]
* edje: Another round of llvm warning removal.

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

15 years ago * edje: Remove some potential bug detected by llvm and gcc.
cedric [Wed, 7 Oct 2009 10:55:48 +0000 (10:55 +0000)]
* edje: Remove some potential bug detected by llvm and gcc.

See: http://local.profusion.mobi:8081/~lfelipe/output-efl/

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

15 years agoa new vimball with updated syntax highlighting and omni-completion
urandom [Wed, 7 Oct 2009 08:24:17 +0000 (08:24 +0000)]
a new vimball with updated syntax highlighting and omni-completion

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

15 years ago * more quoting
caro [Tue, 6 Oct 2009 16:55:45 +0000 (16:55 +0000)]
 * more quoting
 * add silent rules (shave feature)
   see the description of AM_SILENT_RULES in:
   http://www.gnu.org/software/automake/manual/automake.html#Public-Macros

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

15 years ago * use Requires.private field in edje.pc if pkg-config 0.22 or later is installed...
caro [Fri, 2 Oct 2009 17:21:36 +0000 (17:21 +0000)]
 * use Requires.private field in edje.pc if pkg-config 0.22 or later is installed. We list in it the required packages needed to compile edje.
 * remove uneeded flags that are in Libs.private (those from the packages that are listed in Requires.private)

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

15 years agoFix documentation
caro [Tue, 29 Sep 2009 06:13:33 +0000 (06:13 +0000)]
Fix documentation

 * update Doxyfile file
 * fix end of groups
 * fix some warnings
 * fix link in head.html for Edje API ref

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

15 years agoedje_{,object}_color_class_get() and signals when color_classes are changed.
barbieri [Mon, 28 Sep 2009 17:23:02 +0000 (17:23 +0000)]
edje_{,object}_color_class_get() and signals when color_classes are changed.

Enable applications to retrieve current color class values as well as
emit edje signals when they are deleted or changed.

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

15 years agoedje docs now follow template
raster [Mon, 28 Sep 2009 09:25:35 +0000 (09:25 +0000)]
edje docs now follow template

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

15 years agoImprove documentation for Evas, Ecore, Edje and Elementary.
sachiel [Thu, 17 Sep 2009 22:38:35 +0000 (22:38 +0000)]
Improve documentation for Evas, Ecore, Edje and Elementary.

Work by:
 - Thiago R. Masaki (mostly)
 - Fabiano Fidencio
 - Gustavo Lima

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

15 years agoMove some defines to enum and expose them.
sachiel [Wed, 16 Sep 2009 03:37:28 +0000 (03:37 +0000)]
Move some defines to enum and expose them.
Move to Eina_Bool.
Return success for rename of group and part to the same name.

Patch by Tiago Rezende Campos Falcão

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

15 years agoalso remove text class members on object deletion
jeffdameth [Fri, 11 Sep 2009 00:48:57 +0000 (00:48 +0000)]
also remove text class members on object deletion

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

15 years agoFormatting.
devilhorns [Wed, 2 Sep 2009 15:48:34 +0000 (15:48 +0000)]
Formatting.

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

15 years agoremove excessive backspace
raster [Wed, 2 Sep 2009 12:49:09 +0000 (12:49 +0000)]
remove excessive backspace

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

15 years agofix docs
sachiel [Tue, 1 Sep 2009 16:16:23 +0000 (16:16 +0000)]
fix docs

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

15 years ago * edje: Fix static build of edje.
cedric [Tue, 1 Sep 2009 10:02:40 +0000 (10:02 +0000)]
* edje: Fix static build of edje.

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

15 years agoremove debug
caro [Sat, 29 Aug 2009 08:42:44 +0000 (08:42 +0000)]
remove debug

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

15 years agoremove debug
caro [Fri, 28 Aug 2009 05:49:40 +0000 (05:49 +0000)]
remove debug

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

15 years agoallow the user to chose in which directory the temporary file
caro [Tue, 25 Aug 2009 17:25:23 +0000 (17:25 +0000)]
allow the user to chose in which directory the temporary file
will be created. The logic is the following:

 * if the environment variable TMPDIR is set, use its value
 * if it is not set, take the directory passed with the
   -td option (see edje_cc help)
 * otherwise on Windows use a temporary dir and on other
   platform, use /tmp

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

15 years agosmall cleanup
caro [Mon, 24 Aug 2009 17:20:33 +0000 (17:20 +0000)]
small cleanup

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

15 years ago * remove unused parameters (except in edje_lua.c, as i don't know the current status)
caro [Mon, 24 Aug 2009 16:40:42 +0000 (16:40 +0000)]
 * remove unused parameters (except in edje_lua.c, as i don't know the current status)
 * remove unused variables

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

15 years agotypo
caro [Sun, 23 Aug 2009 15:37:20 +0000 (15:37 +0000)]
typo

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

15 years ago * Remove _strdup(). Useless unless we don't check the return value
davemds [Mon, 17 Aug 2009 21:28:40 +0000 (21:28 +0000)]
 * Remove _strdup(). Useless unless we don't check the return value

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

15 years ago * edje: Fix tween when comming from same state.
cedric [Mon, 17 Aug 2009 15:16:23 +0000 (15:16 +0000)]
* edje: Fix tween when comming from same state.

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

15 years ago * Do not include edje_cc.h anymore :)
davemds [Mon, 17 Aug 2009 14:49:26 +0000 (14:49 +0000)]
 * Do not include edje_cc.h anymore :)

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

15 years ago * Do not use the 'Font' struct from edje_cc.h
davemds [Mon, 17 Aug 2009 14:26:31 +0000 (14:26 +0000)]
 * Do not use the 'Font' struct from edje_cc.h

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

15 years ago * Do not use SZ() macro from edje_cc.h
davemds [Mon, 17 Aug 2009 14:13:26 +0000 (14:13 +0000)]
 * Do not use SZ() macro from edje_cc.h

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

15 years ago * edje: Fix calc.
cedric [Mon, 17 Aug 2009 14:00:44 +0000 (14:00 +0000)]
* edje: Fix calc.

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

15 years ago * rename mem_strdup() to not clash (in the case of a static build) with the one...
davemds [Mon, 17 Aug 2009 13:54:17 +0000 (13:54 +0000)]
 * rename mem_strdup() to not clash (in the case of a static build) with the one defined in bin/

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

15 years ago * edje: Remove warning, mainly due to lua merge.
cedric [Mon, 17 Aug 2009 11:32:56 +0000 (11:32 +0000)]
* edje: Remove warning, mainly due to lua merge.

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

15 years agodo not exit on lua errors! this would be righteously bad for apps using
raster [Sun, 16 Aug 2009 03:00:14 +0000 (03:00 +0000)]
do not exit on lua errors! this would be righteously bad for apps using
themes that happened to use lua...

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

15 years agoFrom: "Hanspeter Portner" <ventosus@airpost.net>
raster [Sun, 16 Aug 2009 02:34:02 +0000 (02:34 +0000)]
From: "Hanspeter Portner" <ventosus@airpost.net>

This concerns Ticket #109: Add Lua support for Edje

It adds Lua as scripting facility to Edje, letting Embryo untouched.
It should be easier to use and be more flexible than Embryo, imho ;-)

---
The patch
---

Lua 5.1 is used in sandboxed mode. Lua byte code is not
platform/architecture independent, Lua code is saved as text in the Edje
container and parsed at load time, therefore.

The patch goes in two directions

1) Analogous to Embryo for scripting logic, messaging and custom states.
The same things are implemented as in Embryo:

    - messaging from and to C
        - manual creation of timers, animators, pollers for custom events /
            animations
                - manual manipulation of Edje parts by means of the public
                    edje_object_part_* and internal functions and custom states

                        -> those routines are actually implemented as Lua
bindings to
    functions in Edje.h and Ecore.h
        -> the implementation is done in an object oriented way, so that the
            interface gives the feel of an object description language, pretty
                similar to EDC itself
                    -> combining custom states and custom animators allows
for fancy
    animations and transitions, e.g circular/spline translations or
        complex/conditional transitions, etc.
            -> this is just the same as Embryo does, but implemented in Lua, so
                nothing new here, actually

                2) Dynamic object creation and manipulation

                    - this interface stems from the 'script_only' objects in
Edje. Those
    objects are a kind of scriptable Edje counterparts to Evas_Smart
        objects. The infrastructure for Embryo is already there, but has
            never been used
                - I added this in Lua and added some first bindings to
experiment
    with
        - I thought it would be useful to allow for a limited dynamic
            creation of ui parts
                - We can create instances of groups from within the same Edje
                    container and use them just like the main Edje object as
stated in
    1)
        - And there are some stand-alone bindings to dynamically create
            Evas_Image, Evas_Table, Evas_Line, Evas_Polygon as examples

                -> this may be useful to decouple the program from the ui
even more,
    to be able to do things that have to be done in the program itself
        atm, but actually belong to the user interface, but need dynamic
            creation of objects or complex interactions
                -> those objects are manipulated manually with Lua bindings
to the
    corresponding edje_object_* and evas_object_* functions

    ---
    Discussion points
    ---

    Both stuff in 1) & 2) is functioning, but needs testing, feedback,
    improvements, ...

    Stuff in 1) can already fully replace Embryo scripting with Lua
    scripting. There still is space for improvements/additions, though.

    Of the stuff in 2), I think it may only make sense to add the dynamic
    creation of groups defined in the same Edje container.  Dynamic creation
    of other Evas_Objects makes not much sense, as most of them can already
    be used as Edje parts and be manipulated with custom states (apart from
    polygons and lines) and it would make the whole theming potentially more
    programing-like and much more susceptible for errors, etc.

    Would this be useful, or drop it all?

    The scripting should be there just for logic, conditionals, custom
    states and animations, not for a whole dynamic canvas, imho.

    There is a patch around with EXTERNAL Edje parts. Seems to be a better,
    faster, more secure way to extend Edje with custom objects.

    There would be the possibility of precompiling Lua code at compile time
    (edje_cc) for faster loading, but we would have to patch and run our own
    Lua version.
    The Lua parser is pretty fast, though, and using
    byte-converted/endianness-swapped byte-code does only pay off for Lua
    chunks of some kilo lines.
    Byte code also occupies much more space than text in the final Edje
    container, as it includes debug symbols.

    ---

    Cedric and Vincent told me, that the plan was to replace Embryo totally
    by Lua before the official release of Edje at the end of the year? So it
    would make sense to bring Lua to svn soon and look how it fits in, test,
    debug, adapt it further to the themers needs, decide on its final shape,
    GATHER SOME PEOPLE TO HELP ;-)

    ---

    The Lua enhanced Edje is in sync with svn and can be get directly here
       git clone git://repo.or.cz/edje_lua.git
          cd edje_lua
             git checkout -b lua_patch origin/lua_patch

             or apply the attached patch

             There are also some examples to show the usage of the things
mentioned
above
    - showcase.edj: shows usage of custom animators, custom states,
        messaging and the script_only object
            - test.edj: test cases of script usage and bindings (custom states,
                custom transitions, tween_states, animators, timers,
object_parts),
    but most of it are experimental script_only objects

    http://didgmo.sourceforge.net/showcase.edj
    http://didgmo.sourceforge.net/test.edj

    The source of showcase.edc is attached, too, to just have a glimpse at
    Lua inside of EDC

    ---

    So, what do you guys think?

    Thanks and sry for the looong mail, hehe ;-)

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

15 years ago * edje: Make EDJE_CALC_CACHE on by default.
cedric [Fri, 14 Aug 2009 17:20:27 +0000 (17:20 +0000)]
* edje: Make EDJE_CALC_CACHE on by default.

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

15 years ago * edje_calc: Major cleanup.
cedric [Fri, 14 Aug 2009 17:19:42 +0000 (17:19 +0000)]
* edje_calc: Major cleanup.
- Edje_Real_Part use less memory.
- Edje_Real_Part and Edje_Real_Part_State now use a mempool.
- When both param1 and param2 are the same, only recalc param1.
- Don't compute Edje_Real_Part more than one time per edje_recalc_do.

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

15 years ago * edje_calc: Use 20 bytes less per Edje_Calc_Params.
cedric [Thu, 13 Aug 2009 16:28:17 +0000 (16:28 +0000)]
* edje_calc: Use 20 bytes less per Edje_Calc_Params.

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

15 years ago * edje_calc: Cleanup calc structure.
cedric [Thu, 13 Aug 2009 16:13:49 +0000 (16:13 +0000)]
* edje_calc: Cleanup calc structure.

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

15 years ago * eet: Fix prefix.
cedric [Thu, 13 Aug 2009 13:26:43 +0000 (13:26 +0000)]
* eet: Fix prefix.

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

15 years ago * edje: Use new clean API from Eet.
cedric [Thu, 13 Aug 2009 12:53:12 +0000 (12:53 +0000)]
* edje: Use new clean API from Eet.

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

15 years agoNULL sfont as it might be used earlier.
barbieri [Wed, 12 Aug 2009 17:57:34 +0000 (17:57 +0000)]
NULL sfont as it might be used earlier.

if sfont=something was given to _edje_text_class_font_get(), sfont
might be untouched there and old pointer was being freed, resulting in
double free. So make sure we're using the correct pointer there.

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

15 years ago * edje: Starting refactor of edje_recalc_single.
cedric [Wed, 12 Aug 2009 14:13:17 +0000 (14:13 +0000)]
 * edje: Starting refactor of edje_recalc_single.

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

15 years ago * edje: Reverting to recalc_do in edje smart resize.
cedric [Wed, 12 Aug 2009 09:27:09 +0000 (09:27 +0000)]
* edje: Reverting to recalc_do in edje smart resize.

Note: A bug spotted in layout of box is the reason of this revert. From
my understanding, layout require some property on the object to be
correctly set. This is done during edje_recalc_single on the part. The
layout fonction of evas would be called just after the resize. If we
didn't do an edje_recalc_do, but an edje_recalc, the call to
edje_recalc_single will be delayed and the layout property will not be
set correctly.

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