Jihoon Kim
109f07a72e
edje: ecore_imf_context_cursor_position_set don't need to be called when the object is moved
...
SVN revision: 81540
2012-12-21 11:39:36 +00:00
Jihoon Kim
af7efb7ad0
edje_entry: check NULL parameter
...
SVN revision: 81418
2012-12-20 05:07:23 +00:00
Jihoon Kim
5db9286ed2
edje_entry: NULL checking should be processed before accessing
...
SVN revision: 81417
2012-12-20 02:28:12 +00:00
Leandro Dorileo
3a22bb3d5b
Edje: delete real part object after swallows got handled
...
Case the real part object(rp->object) is an smart object it start to delete
the whole smart object hierarchy and a child object may be a swallow of this
real part. So just delete the rp->object after swallows got handled.
SVN revision: 81403
2012-12-19 20:09:41 +00:00
WooHyun Jung
ba8b15bcff
[edje/edje_entry] Before cursor is moved by mouse_down, imf_context_reset should be called with current cursor position.
...
SVN revision: 81209
2012-12-18 07:13:58 +00:00
Jihoon Kim
4ebd335973
edje: ecore_imf cursor infomation update is not necessary in focus-out event
...
SVN revision: 81201
2012-12-18 05:11:09 +00:00
Eduardo de Barros Lima
70622f2b98
Fix documentation
...
SVN revision: 81181
2012-12-17 19:57:11 +00:00
Mike Blumenkrantz
297cd971ab
fix some NULL derefs in tb part recalc, also a typo which probably broke sizing
...
SVN revision: 80935
2012-12-14 11:41:27 +00:00
Jihoon Kim
bafa56598b
edje: Return plain text in retrive surrounding text callback of entry
...
SVN revision: 80825
2012-12-13 11:35:41 +00:00
Cedric BAIL
1a542bcf8b
edje: don't expose private variable in our public API.
...
SVN revision: 80793
2012-12-13 05:30:54 +00:00
Cedric BAIL
5e76bb821f
edje: use Evas to compute Ellipsis.
...
Patch with help from Tom Hacohen.
SVN revision: 80764
2012-12-12 14:07:28 +00:00
Bruno Dilly
3013d17b29
edje: update physics to handle ephysics API breakage
...
SVN revision: 80725
2012-12-11 21:30:38 +00:00
Bruno Dilly
42b7ef900b
edje: handle z-axis body attributes
...
SVN revision: 80678
2012-12-11 18:52:35 +00:00
Bruno Dilly
1f87c5e933
edje: random code cleanup
...
Some stuff spotted by scan-build
SVN revision: 80676
2012-12-11 17:38:20 +00:00
Bruno Dilly
b1ae408585
edje: add group.physics block
...
For now, implements wold's gravity, rate, depth and z.
More can be added later on demand.
SVN revision: 80675
2012-12-11 17:10:33 +00:00
Bruno Dilly
c982de65d3
edje: support faces for 3d effects
...
SVN revision: 80658
2012-12-11 14:09:03 +00:00
Cedric BAIL
c0ac1daafd
edje: use more eo_do.
...
SVN revision: 80643
2012-12-11 10:50:51 +00:00
Bruno Dilly
12cdbca681
edje: enable / disable movements per axis
...
With the movement_freedom block it's possible to allow
rotation on axis x and y (not default), for example.
Backface cull support is added in this commit too.
SVN revision: 80616
2012-12-10 17:46:44 +00:00
Bruno Dilly
6b40542d58
edje: support body's rotation
...
It's going as an action / script instead of an attribute
because it wouldn't fit well as a description.
Rotation can be modified by many circustancies, keeping
as state wouldn't make sense.
SVN revision: 80610
2012-12-10 15:37:08 +00:00
Bruno Dilly
c4832ceda5
edje: add soft body stuff
...
SVN revision: 80609
2012-12-10 14:19:03 +00:00
Bruno Dilly
3de757a6d5
edje: add flag to set parts to be lighted
...
Won't be visible until world's light is implemented
SVN revision: 80605
2012-12-10 12:51:53 +00:00
Bruno Dilly
9bd842922e
edje: fix typo and avoid misleading ifdefs on edje_calc
...
SVN revision: 80604
2012-12-10 12:24:15 +00:00
Bruno Dilly
75ceec585a
edje: make it possible to set body's material
...
And density as well.
SVN revision: 80600
2012-12-10 11:47:22 +00:00
Bruno Dilly
f96d02f8b3
edje: unb0rk physics support after more eo stuff gets in
...
It was taking too long to cedric b0rk it =)
SVN revision: 80597
2012-12-10 11:31:27 +00:00
Carsten Haitzler
f74c3dae75
lets not add all sorts of null object access fun!
...
SVN revision: 80523
2012-12-08 15:19:00 +00:00
Cedric BAIL
48638e3ca0
edje: use eo more.
...
SVN revision: 80519
2012-12-08 09:21:10 +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
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
bc9821c1ff
edje: modify some embryo forces func names for
...
consistency
Since embryo functions names are verb_subject, not subject_verb.
So forces_clear -> clear_forces ...
SVN revision: 80398
2012-12-06 22:11:10 +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
10ed77919c
edje: refactor usage of ephysics functions
...
Most of the actions will be applied to a body using 3 components
(x, y, z). Refactor code around it to avoid duplication, since
basically what changes is the ephysics function to be called.
Also, it will make next actions implementations less error prone.
SVN revision: 80388
2012-12-06 20:29:50 +00:00
Bruno Dilly
9654cf13f0
edje: clean header: remove random blank lines and indent
...
Remove blocks of blank lines and fix perspective part indenting
SVN revision: 80382
2012-12-06 19:37:07 +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
9f3c938c9c
edje: support torque impulse (action and embryo script)
...
SVN revision: 80372
2012-12-06 16:58:58 +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
8783eb70bb
edje: support applying impulse via script
...
SVN revision: 80279
2012-12-05 21:09:18 +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
31d4de28f3
edje: keep real part geometry updated
...
Using a callback for body and world update events for that.
It will make it possible to set parts to be relative
to parts that have a physics body.
SVN revision: 80277
2012-12-05 19:30:00 +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
Eduardo Lima (Etrunko)
5081d36996
New embryo function: get_program_id
...
It is now you can run programs with names generated dinamically. Say that you
have 10 programs indexed somehow. You can now call them using the following snippet:
script {
new program_id[15], i;
for (i = 0; i < 10; i++) {
snprintf(program_id, 15, "my_program_%d", i+1);
run_program(get_program_id(program_id));
}
}
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
SVN revision: 80199
2012-12-04 20:21:59 +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
Stefan Schmidt
1a67ae19a4
edje: Remove unused var which was introduced very recently.
...
SVN revision: 79330
2012-11-15 09:58:32 +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