Commit Graph

406 Commits

Author SHA1 Message Date
Bruno Dilly c206188db4 edje: implement more description physics attributes
* Damping
 * Sleeping Threshold



SVN revision: 80501
2012-12-07 21:19:31 +00:00
Bruno Dilly 96df1ce1cd edje: support to get_state_val of map and perspective
stuff

Don't know why, it was supporting only set_state_val these parameters.
Also, fix a LIGNT->LIGHT typo



SVN revision: 80485
2012-12-07 18:44:24 +00:00
Bruno Dilly 476391343a edje: make it possible to change body attributes via
script

Support physics attributes on set_state_val and get_state_val
So custom_states can be created



SVN revision: 80484
2012-12-07 18:44:17 +00:00
Bruno Dilly 6550798518 edje: warn if loading a edj with physics
If a edj using physics is loaded for edje compiled with
physics disabled, it should warn the user.



SVN revision: 80472
2012-12-07 16:42:42 +00:00
Cedric BAIL 165ba39b2c edje: unbork amalgamation.
SVN revision: 80405
2012-12-07 02:04:44 +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
Aharon Hillel 4b801a124a Edje_pick Fix
Signed-off-by: Aharon Hillel <a.hillel@samsung.com>

SVN revision: 80305
2012-12-06 07:54:54 +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 3038f33e82 edje: parts with bodies aren't move at each recalc
Otherwise at each recalc they will be moved to initial position
again.



SVN revision: 80275
2012-12-05 19:29:33 +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
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 Willmann c5996880a6 edje: Add embryo function get_image_id
This makes it possible to change the image from an embryo script

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>

SVN revision: 79327
2012-11-15 09:31:08 +00:00
Daniel Zaoui fdd87314b2 Edje porting to Eo
Signed-off-by: Daniel Zaoui <daniel.zaoui@samsung.com>

SVN revision: 78305
2012-10-21 10:46:58 +00:00
Cedric BAIL 50451f9817 edje: fix visibility issue.
SVN revision: 78044
2012-10-16 09:43:26 +00:00
Cedric BAIL 4791a710f2 edje: reduce memory used per callback.
SVN revision: 76517
2012-09-12 11:16:57 +00:00
Carsten Haitzler a00b9084ea use less memory at runtime with real part structs. actual savings are
about 25%.



SVN revision: 76460
2012-09-11 13:14:51 +00:00
ChunEon Park 70624abbc2 edje - fixed typo
SVN revision: 76175
2012-09-05 08:08:20 +00:00
ChunEon Park ac5f55d3d1 edje - use Eina_Bool
SVN revision: 76163
2012-09-05 05:38:01 +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 26de40cb12 edje: fix a leak when propagating signal to GROUP part.
SVN revision: 75808
2012-08-29 05:50:14 +00:00
Carsten Haitzler ce1b9ca66d link to ecore-input and include. sorry. oops. :)
SVN revision: 75507
2012-08-21 15:04:36 +00:00
Cedric BAIL 40bfd3933f edje: improve speed of color class lookup by using an Eina_Hash.
SVN revision: 75034
2012-08-09 08:27:04 +00:00
Cedric BAIL f8f0a494c2 edje: cleanup and make limit per description work.
SVN revision: 73562
2012-07-11 10:50:30 +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
Carsten Haitzler 7b840947e0 fix reallyu minor thing - border_scale_by wasnt interpolated.
SVN revision: 73289
2012-07-04 14:45:13 +00:00
Cedric BAIL b5c65a71d2 edje: implement per part limit.
SVN revision: 72767
2012-06-24 13:23:37 +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 1442bc1e74 edje: fix big oopsie.
NOTE: this should unbreak your use of E17 clock widget
and elm_list should still be fine.


SVN revision: 72097
2012-06-14 01:20:26 +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
Tom Hacohen cee70e9e33 Edje load: Although we don't use them that much, we have refcounts in evas.
Don't assume an evas_object_del has to delete the object.

SVN revision: 71895
2012-06-10 11:14:42 +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
Cedric BAIL 19cff8be60 edje: fix double opening of edje file.
NOTE: know issue, in elementary_config the size of the icon
change after a theme reload. I don't know what information is
lost between to reload. If someone can point at them, thanks.


SVN revision: 71235
2012-05-18 14:37:21 +00:00
Cedric BAIL 58f626e3ea edje: this was supposed to get in this time. grr.
SVN revision: 70892
2012-05-09 10:10:51 +00:00
Cedric BAIL b786fe1ced edje: automatically emit ['edje,change,file', 'edje'] when the file change on disk.
For the moment only edje_player use it. This means that when used with
edje_watch, you don't need any more to type any kind of command line
when you are testing value in your theme. As a side effect, this means
that their is a real use case to make edje_cc faster !



SVN revision: 70890
2012-05-09 09:16:52 +00:00
Cedric BAIL baffed6e81 edje: oops this shouldn't get in at this point.
SVN revision: 70886
2012-05-09 07:53:29 +00:00
Cedric BAIL cc3caf6172 edje: prevent segv when edje_object_signal_emit get nested and edje_object_signal_callback_{add,del} are called.
SVN revision: 70880
2012-05-09 07:09:59 +00:00
ChunEon Park 3037b4b4d4 edje - DBG print for the invalid part name
SVN revision: 69313
2012-03-14 04:02:45 +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 7c4d6fbec8 edje: fix rotation with fixed point.
SVN revision: 69011
2012-03-07 18:21:28 +00:00
Tom Hacohen 97c02b6656 Edje entry: added edje_object_part_text_user_insert.
SVN revision: 68556
2012-02-29 15:57:53 +00:00
Jihoon Kim 8c9ee103cb Add edje_object_part_text_imf_context_get API.
This API can be used to get the input method context in entry.


SVN revision: 68385
2012-02-24 06:51:04 +00:00
Jihoon Kim ee82a4f6ac edje: revert r68306
SVN revision: 68307
2012-02-23 06:46:07 +00:00
Jihoon Kim c58edcd114 Add edje_object_part_text_imf_context_get API
This API can be used to get the input method context in entry.


SVN revision: 68306
2012-02-23 06:15:12 +00:00
Vincent Torri e9f9802c48 Edje: update declaration of alloca
SVN revision: 68107
2012-02-18 14:25:45 +00:00
Jihoon Kim e464a99326 edje/edje_entry:
add edje_object_part_text_input_panel_language_set/get
    edje_object_part_text_input_panel_imdata_set/get
    edje_object_part_text_input_panel_return_key_type_set/get
    edje_object_part_text_input_panel_return_key_disabled_set/get


SVN revision: 67966
2012-02-15 08:21:11 +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
Jihoon Kim 1e350bd45a add edje_object_part_text_prediction_allow_set/get.
These APIs can be used to set whether prediction feature is allowed or not.


SVN revision: 67889
2012-02-14 02:34:50 +00:00
Jihoon Kim e1668198af add edje_object_part_text_imf_context_reset that will use for reseting the input method context
SVN revision: 67881
2012-02-13 11:40:55 +00:00