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
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
Cedric BAIL
19463c7e24
edje: forgotten NEWS.
...
SVN revision: 80203
2012-12-05 02:21:17 +00:00
Cedric BAIL
6bdf5d371d
edje: make it compile on Solaris 11.
...
Patch by Robert David <robert.david.public@gmail.com>.
SVN revision: 80201
2012-12-05 02:07:51 +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
Vincent Torri
46d4358209
Ecore: add examples
...
SVN revision: 80097
2012-12-03 19:36:16 +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
Daniel Juyung Seo
c7f510561d
edje edc.vim: Added SPACER to contant.
...
SVN revision: 79984
2012-12-02 15:04:37 +00:00
Bruno Dilly
90e312173a
edje: update gitignore
...
SVN revision: 79918
2012-11-30 17:16:35 +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
Flavio Vinicius Alvares Ceolin
603239627c
examples:codegen: Removing the usage of externals
...
Avoiding a circular dependency edje -> elementary -> edje.
It was breaking the build system when option --enable-build-examples was given.
SVN revision: 79839
2012-11-29 15:52:50 +00:00
Bruno Dilly
951a95c984
edje: add very basic physics example
...
Just two bodies falling (a circle and a box) and colliding
to the floor.
bug: when edje is resized objects will be moved back to original
position.
SVN revision: 79794
2012-11-28 22:39:00 +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
c83a589e9e
edje edc.vim: Added PASSWORD to edc.vim syntax file.
...
SVN revision: 79771
2012-11-28 08:04:44 +00:00
Youness Alaoui
dde5848ab1
edje: Fix segfault when deleted part stays in the hash table
...
SVN revision: 79616
2012-11-23 23:15:48 +00:00
Bruno Dilly
af8b2ce2ce
edje: add example of messages handling (receiving /
...
sending)
All types!
SVN revision: 79589
2012-11-23 21:28:02 +00:00
Bruno Dilly
74bc2de752
edje examples: update edc examples list on makefile
...
It was outdated.
SVN revision: 79588
2012-11-23 21:27:38 +00:00
Bruno Dilly
a0bd3bc00f
edje player: support message sending
...
SVN revision: 79587
2012-11-23 21:27:28 +00:00
Bruno Dilly
7f9b327c16
edje player: fix typos / break big line of output
...
SVN revision: 79586
2012-11-23 21:27:17 +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
Rui Seabra
bf9ce78446
The previous commit was a slight fix on the efl spec for an error I made, its comment applies to this commit: adapt rpm specs to the new efl dependency instead of several independent dependencies.
...
SVN revision: 79419
2012-11-18 11:27:12 +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
Vincent Torri
80910393d6
merge: add evas tests and examples
...
SVN revision: 79300
2012-11-14 20:12:53 +00:00
Carsten Haitzler
121c87e091
improve readability of image find in edje. :)
...
SVN revision: 79107
2012-11-11 08:26:25 +00:00
Carsten Haitzler
23f5f378fe
remove a memcpy and strlen and just delcare (sure compiler places
...
bytes on stack for us as opposed to memcpy... let's assume it'll be as
good as memcpy or better :)).
SVN revision: 79106
2012-11-11 08:02:43 +00:00
Vincent Torri
216445552d
Edje fix installation of edje_recc on cygwin
...
Patch by Yaakov Selkowitz
SVN revision: 79103
2012-11-11 07:04:40 +00:00
Daniel Juyung Seo
156671674b
edje edje_codegen.c: Fixed 'may be used uninitialized' warnings.
...
SVN revision: 79008
2012-11-09 03:54:52 +00:00
Daniel Juyung Seo
99ce2c390e
edje edc.vim: Added minmul to edc vim keyword.
...
SVN revision: 78965
2012-11-07 08:49:42 +00:00
Jihoon Kim
6ba18e57d2
edje_entry: remove trailingspace
...
SVN revision: 78837
2012-11-02 08:15:58 +00:00
Jihoon Kim
d5609b7f62
edje_entry: fix typos
...
SVN revision: 78835
2012-11-02 08:14:50 +00:00
ChunEon Park
5614f76e31
edje -- fix tab space
...
SVN revision: 78819
2012-11-02 04:06:00 +00:00
ChunEon Park
2fbf887eda
edje - don't update map uv for proxy
...
SVN revision: 78818
2012-11-02 04:05:02 +00:00
ChunEon Park
3a99b1234e
edje/text - update text classes correctly if they are changed.
...
SVN revision: 78741
2012-11-01 06:18:10 +00:00
ChunEon Park
e12b7f2477
edje/util - clean the white spaces & trailings
...
SVN revision: 78740
2012-11-01 06:09:30 +00:00
Carsten Haitzler
1441df778c
fix: use max compression not default compression for edje_cc.
...
SVN revision: 78699
2012-10-31 11:06:17 +00:00
Igor Murzov
61bf192dcb
Fix typos: s/Ejde/Edje/g
...
Patch by: Igor Murzov <e-mail@date.by>
SVN revision: 78621
2012-10-29 21:53:39 +00:00
Daniel Zaoui
716b093d3e
Forgot since 1.8 to the new descriptions. Commit before Vincent kills me.
...
Signed-off-by: Daniel Zaoui <daniel.zaoui@samsung.com>
SVN revision: 78600
2012-10-29 07:34:19 +00:00
Daniel Zaoui
49abb98ae9
Added descriptions to Eo defines
...
Signed-off-by: Daniel Zaoui <daniel.zaoui@samsung.com>
SVN revision: 78599
2012-10-29 07:26:16 +00:00
Tom Hacohen
0b036b4782
Edje entry: Fix update of cursor with IMF and user_insert.
...
Was missing, now cursor updates like it should.
SVN revision: 78587
2012-10-28 13:29:01 +00:00