Commit Graph

284 Commits

Author SHA1 Message Date
Bluezery 614904c073 From: Bluezery <ohpowel@gmail.com>
Subject: [E-devel] [Patch][edje] Prevent duplicated inherition of
"after"

When inherting group, "after" of "program" section is also inherited.
But duplicated name of "after" can be also inherited.
I think that multiple "after" can be used but duplicated should be
not.  because this seems to be useless.
Is there case that duplicated after usage is used?
Duplicated "target" is prevented.  I just copy those codes.



SVN revision: 80565
2012-12-10 06:37:00 +00:00
Carsten Haitzler 40c28df2a2 whitespace--
SVN revision: 80564
2012-12-10 06:27:38 +00:00
Bruno Dilly c206188db4 edje: implement more description physics attributes
* Damping
 * Sleeping Threshold



SVN revision: 80501
2012-12-07 21:19:31 +00:00
Cedric BAIL 165ba39b2c edje: unbork amalgamation.
SVN revision: 80405
2012-12-07 02:04:44 +00:00
Bruno Dilly 200ce279ab edje: support velocity family actions and scripts
SVN revision: 80397
2012-12-06 22:10:59 +00:00
Bruno Dilly e66a1e907d edje: cleanup actions swith on edje_cc_handler
SVN revision: 80387
2012-12-06 20:29:44 +00:00
Bruno Dilly 14cf9fe3f7 edje: support forces using programs / script
Implement actions:
  * PHYSICS_FORCE
  * PHYSICS_TORQUE
  * PHYSICS_FORCES_CLEAR

and embryo script functions:
  * physics_force
  * physics_torque
  * physics_forces_clear
  * physics_forces_get
  * physics_torques_get



SVN revision: 80381
2012-12-06 19:20:07 +00:00
Bruno Dilly 70068d16a3 edje: remove impulse member of edje program
Most of the programs related to physics will use 3 vector
components (double). Let's share them.



SVN revision: 80380
2012-12-06 19:19:53 +00:00
Bruno Dilly de5dac1a09 edje: use switch instead of N if-else with same commands
SVN revision: 80373
2012-12-06 16:59:07 +00:00
Bruno Dilly 9f3c938c9c edje: support torque impulse (action and embryo script)
SVN revision: 80372
2012-12-06 16:58:58 +00:00
Bruno Dilly ebf6290be7 edje: support new action: PHYSICS_IMPULSE
It will apply a central impulse over a body's part.



SVN revision: 80278
2012-12-05 19:30:08 +00:00
Bruno Dilly c6eac0ed78 edje: make it possible to not reset body position on
state changes

To make it possible, a flag was added: ignore_part_position.
Enabled by default, it will let part position be update
only by physics calculatios. If the body is intended to be
moved when state is changed, the flag must to be explicitely
disabled.
It is required otherwise all the states would inherit position
from "default" and reset body's position.



SVN revision: 80276
2012-12-05 19:29:54 +00:00
Bruno Dilly 68a34bdd34 edje: support basic body attributes - friction and
restitution




SVN revision: 80099
2012-12-03 19:47:52 +00:00
Bruno Dilly 9af2e7f69b edje: initial support to physics block inside
description

Only mass is set by now.



SVN revision: 80082
2012-12-03 16:36:32 +00:00
Jonas M. Gastal f8f3e53f77 Edje: Organize sub-blocks order on EPC ref doc
Author:    Ricardo de Almeida Gonzaga <ricardo@profusion.mobi>

SVN revision: 79907
2012-11-30 13:49:00 +00:00
Jonas M. Gastal e95cb8f584 Edje: Improve EDC reference doc index
Author:    Ricardo de Almeida Gonzaga <ricardo@profusion.mobi>

SVN revision: 79906
2012-11-30 13:48:56 +00:00
Bruno Dilly 5cca2ff0b1 edje: support adding physics worlds and bodies
Just an initial support, it's not possible to configure worlds
or bodies. Just adding it. Only possible customization is the
type of body.

It defines what's the collision shape and type (rigid / soft).
It can't be changed over time, so it's not on part's description.

It's expected that many cases won't be covered yet.

If you have ephysics installed and don't want it, just use
--disable-ephysics. It shouldn't affect anything for cases
where ephysics is not installed.



SVN revision: 79793
2012-11-28 22:38:47 +00:00
Daniel Juyung Seo 69dff9f94a edje edje_cc_handlers.c: Fixed wrong documentation.
SVN revision: 79530
2012-11-22 04:02:05 +00:00
Michael BOUCHAUD 7b6807939e edje: fix group inherit with script
SVN revision: 76769
2012-09-17 16:37:50 +00:00
Cedric BAIL b3739ac5d6 edje: another O(1) lookup, but for alias of group.
This give a small 10% benefit on Tizen theme.


SVN revision: 76428
2012-09-11 04:10:13 +00:00
Carsten Haitzler 7a654b8f02 block-handle--! not needed/wanted in upstream
SVN revision: 76387
2012-09-10 09:51:31 +00:00
Cedric BAIL 1e25d7b701 edje: add nested part support to edc.
Blame Tasn and not the people he enslaved to get it out.
First patch by Aharon Hillel with some modification by myself.


SVN revision: 76127
2012-09-04 11:27:43 +00:00
Cedric BAIL 3da32a51aa edje: check the number of parameter for edc.
SVN revision: 75876
2012-08-30 11:28:07 +00:00
Alex Wu 0521b43310 edje: backward-compatible to "BLOCK_HANDLE" select_mode.
From: Alex Wu <zhiwen.wu@linux.intel.com>



SVN revision: 75783
2012-08-28 12:19:14 +00:00
Gustavo Sverzut Barbieri f1e077844e fix edje error reporting for once and for all.
edje error was a mess. First someone (maybe myself) added eina log,
then people changed it to be a mix with printf()... then they replaced
eina_log with printf() + colors so it would be less verbose.

It's fixed now! Using eina log infrastructure.

If all that is wanted is specific messages for edje_cc domain, do it
with a specific log print function (eina_log_print_cb_set()). I made
it produce messages in the format:

    <levelcolor><progname>: <levelprefix><message>

Where:
 - levelcolor is defined by eina_log (I hacked the win32 version,
   since no public api to resolve level to color).
 - levelprefix is "Error. " or "Warning. " to cope with traditional
   output.

If it does not look as you wanted, let me know before stuffing some
printf() again.

Bonus point: reduced 2 global variables (progname and verbose),
removed lots of code.



SVN revision: 74701
2012-07-31 22:42:03 +00:00
Daniel Juyung Seo 16335de91e edje edje_cc_handlers.c: Fixed typo pointed out by PrinceAMD-(Deon Thomas)
SVN revision: 74346
2012-07-24 07:15:22 +00:00
Carsten Haitzler 0be560e3b8 add docs -> rect parts only for clip_to
SVN revision: 73785
2012-07-13 02:53:30 +00:00
Daniel Juyung Seo 8fa585b3ae edje edje_cc_handlers.c: More documentation on image fill. Patch by
Anisse Astier <anisse@astier.eu>

SVN revision: 73548
2012-07-11 03:03:23 +00:00
Jerome Pinot 12d975147a edje: correct more typos in edc doc
SVN revision: 73525
2012-07-10 12:28:43 +00:00
Jerome Pinot 6602bbb182 edje: doc typo
val 2 and val 2 were on a boat, val 2 jumps out. Where is val 1?


SVN revision: 73523
2012-07-10 11:51:54 +00:00
Cedric BAIL f529ecfa32 edje: a little more doc for image set.
SVN revision: 73499
2012-07-09 10:26:56 +00:00
Daniel Juyung Seo bf4e5adf06 edje edje_cc_handlers.c: More description. Patch by Anisse Astier
<anisse@astier.eu>

On Mon, Jul 9, 2012 at 7:09 AM, Anisse Astier <anisse@astier.eu> wrote:
> Trying to make the description more explicit

SVN revision: 73478
2012-07-08 23:42:19 +00:00
Jerome Pinot ebcb3157bd edje: bad typo in example code
SVN revision: 73458
2012-07-08 06:45:00 +00:00
Leandro Pereira 7ee848bc33 edje: Make state index optional
This shouldn't break stuff, just make things easier.  Think of all that lost
time " 0.0".  Not anymore.  Not even in Embryo scripts.  Indexes should only
be provided when you need them (which is quite rare).

Note that if you use ``set_state("new state")'' in your Embryo scripts, the
produced .edj files will be incompatible with older versions of Edje.  This
backwards incompatibility only applies to Embryo scripts; edje_cc will
generate a ``0.0'' value if the index is omitted from state declarations and
programs.

Sachiel said this patch was OK; our benevolent release manager acked as
well. Blame them if this breaks stuff.

SVN revision: 73424
2012-07-06 18:34:50 +00:00
Cedric BAIL cab9a46afc edje: forgottten @since.
SVN revision: 72768
2012-06-24 13:46:43 +00:00
Cedric BAIL b5c65a71d2 edje: implement per part limit.
SVN revision: 72767
2012-06-24 13:23:37 +00:00
Michael BOUCHAUD 1f2939fef0 edje: improve use of aliases
SVN revision: 72732
2012-06-23 18:39:08 +00:00
Cedric BAIL 5c7cfbacb5 edje: add accessibility flags and API.
Patch by Kim Shinwoo <kimcinoo.efl@gmail.com>


SVN revision: 72521
2012-06-20 07:29:47 +00:00
Cedric BAIL 0fe4412879 edje: rename VIRTUAL into SPACER and also fix Edje_Edit and inspector.
SVN revision: 72058
2012-06-13 03:21:31 +00:00
Cedric BAIL b0e087b6bf edje: morning speed of edje. Theme can now be a little bit lighter and faster.
NOTE: VIRTUAL part are almost like rectangle except they don't create any object
on the canvas. This part can't be visible, nor have any color, nor be used as a
clip, nor receive any event.


SVN revision: 71674
2012-06-04 02:57:15 +00:00
Daniel Juyung Seo 1174b27e52 edje edje_cc_handlers.c: Fixed formatting while reading the code.
SVN revision: 71285
2012-05-21 13:23:11 +00:00
Hyoyoung Chang a8bd686bfb edje: add sample and tone of multisense to edje inheritance
SVN revision: 71229
2012-05-18 08:33:40 +00:00
Vincent Torri 1ee506ccf7 Edje : Small fixes for edje doxygen doc
Patch by Jérôme Pinot


SVN revision: 69815
2012-03-31 07:53:47 +00:00
Cedric BAIL 6b3d9da609 edje: add automatic hints update to edje object and min: SOURCE to GROUP part.
NOTE: turning this feature on is costly. Do that only when you require it, really !


SVN revision: 69254
2012-03-12 15:28:58 +00:00
Cedric BAIL 70c734ebdd edje: add broadcast_signal: bool.
This make it possible to completly disable signal broadcasting as this
new behaviour broke Edje 1.0 file. It's also now possible to use the
same group in different part in the same parent group without any issue.

I am tempted to backport this patch to 1.1 branch as it would make it
play nicely with file coming from Edje 1.0.

Another issue that this patch fix is that I did increment the minor version
as we really have add a lot of addition since Edje 1.1 and Edje file build
with trunk may not play well anymore on Edje 1.1.


SVN revision: 67936
2012-02-14 14:07:39 +00:00
Mike Blumenkrantz 252f6a04b3 fix breakage from r67537 with alias inheriting or somesuch
SVN revision: 67833
2012-02-10 20:34:18 +00:00
Cedric BAIL a4c58712c3 edje: add min: SOURCE, max: SOURCE.
SVN revision: 67555
2012-01-26 18:24:00 +00:00
Cedric BAIL 664e6939fb edje: fix use of inherit, overridding and alias.
SVN revision: 67537
2012-01-25 16:47:38 +00:00
Cedric BAIL 762126ef49 edje: rename variable to have a more miningfull name.
SVN revision: 67528
2012-01-25 10:11:02 +00:00
Cedric BAIL 0379b5c2da edje: cast the right type.
SVN revision: 67527
2012-01-25 09:53:38 +00:00