Commit Graph

19697 Commits

Author SHA1 Message Date
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
Bruno Dilly f9293909d9 ephysics: add event WORLD_UPDATE
SVN revision: 80274
2012-12-05 19:27:53 +00:00
Vincent Torri 1a2daa057d add eio example and fix ecore_fb linking
SVN revision: 80273
2012-12-05 18:10:43 +00:00
Leandro Dorileo 3604cc2f4f EPhysics: avoid unused parameter warnings
Avoid *unused parameter* warnings on bullet API due to virtual functions.

--This line, and those below, will be ignored--


SVN revision: 80251
2012-12-05 13:50:39 +00:00
Leandro Dorileo 2975811327 EPhysics: flip page test improvements
--This line, and those below, will be ignored--


SVN revision: 80250
2012-12-05 13:50:30 +00:00
Leandro Dorileo 4640e5cdca EPhysics: soft body drag coefficient
Add API for handling with soft body drag coefficient.

--This line, and those below, will be ignored--


SVN revision: 80249
2012-12-05 13:50:20 +00:00
Leandro Dorileo d435db2931 EPhysics: fix soft body velocity and stop implementation
+ velocity
Handle cloth cases on velocity functions and consider both rigid
and soft body whenever touching velocities + stoping a body.

+ activation
Activate the body when setting angular velocity.

--This line, and those below, will be ignored--


SVN revision: 80248
2012-12-05 13:50:08 +00:00
Stefan Schmidt ac6cadd8dc eeze/doc: Be a bit more verbose in the entry section of eeze_sensor
SVN revision: 80244
2012-12-05 13:42:37 +00:00
Massimo Maiurana edbf3d90c1 updating esperanto translations
SVN revision: 80224
2012-12-05 09:46:19 +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
Vincent Torri 81c86b19f6 merge: eio + fix compilation on windows + minor fixes + po files
don't move eio to IN-EFL right now


SVN revision: 80180
2012-12-04 17:40:58 +00:00
Rafael Antognolli 778bf8473f emotion/generic/vlc: Only send frame size when it's not zero.
SVN revision: 80117
2012-12-04 00:45:47 +00:00
Gustavo Sverzut Barbieri e295ed8662 add changelog/news about new dependency.
SVN revision: 80109
2012-12-03 21:29:52 +00:00
Leandro Dorileo 7df4546acf EPhysics: soft button improvements
Use a bigger image to soft button tests, add light on/off button,
use of anchor hardness API.

--This line, and those below, will be ignored--


SVN revision: 80108
2012-12-03 21:29:42 +00:00
Leandro Dorileo d449396bed EPhysics: anchor hardness api and small fixes
This patch introduces a separeted API for handling with anchor hardness,
and fixes small problems with pose and soft body impulses.

--This line, and those below, will be ignored--


SVN revision: 80107
2012-12-03 21:29:30 +00:00
Leandro Dorileo ff57aea853 EPhysics: fix y orientation issues
Fix a small issue on y orientation on triangles_inside_get and soft body
impulse.

--This line, and those below, will be ignored--


SVN revision: 80106
2012-12-03 21:29:21 +00:00
Leandro Dorileo 4a1a773d27 EPhysics: force body update on light/perspective changes
If light configuration has been changed or perspective changed or simply
enabled/disabled force inactive bodies to update.

--This line, and those below, will be ignored--


SVN revision: 80105
2012-12-03 21:29:03 +00:00
Leandro Dorileo f481315a26 EPhysics: fix soft body rotation_set
--This line, and those below, will be ignored--


SVN revision: 80104
2012-12-03 21:28:52 +00:00
José Roberto de Souza 154041e62e ethumb: Port to edbus v2
Patch by: José Roberto de Souza <zehortigoza@profusion.mobi>



SVN revision: 80103
2012-12-03 21:27:40 +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 ced8d4f56d ephysics: fix debug msgs at some functions
Broken in r77467



SVN revision: 80098
2012-12-03 19:47:18 +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
Carsten Haitzler 6facaf0695 lets ensure that efreet never returns a null lang - it falls bak to
lang being "C" :)



SVN revision: 80074
2012-12-03 14:49:54 +00:00
Stefan Schmidt a94b021f17 eeze: Also give the eeze_sensor_test example a bit more comments.
SVN revision: 80073
2012-12-03 14:45:19 +00:00
Stefan Schmidt a3269e66fe eeze/doc: Notes about init and shutdown of the sensor subsystem.
Make both functions and EAPI as well. Not needed if the general eeze_init
is called though. Note that in the docs.

SVN revision: 80072
2012-12-03 14:45:14 +00:00
Stefan Schmidt 1f5820514e eeze/docs: Make sure we do not do a explicit link to ecore here.
SVN revision: 80071
2012-12-03 14:45:10 +00:00
Stefan Schmidt a423b298b8 eeze: Give the eeze_sensor doxygen an overhaul.
Wrap at 80 chars, fix some typos and add more descriptions.

SVN revision: 80070
2012-12-03 14:44:33 +00:00
José Roberto de Souza 4ec1d6c4bb edbus: Implement edbus_object_event_callback_add()
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 80058
2012-12-03 12:09:53 +00:00
Lucas De Marchi 7c533e08c5 edbus: remove static from var
This is not needed. Let it on stack.



SVN revision: 80057
2012-12-03 12:09:43 +00:00
Cedric BAIL d39d7438c5 ecore: is now IN-EFL.
SVN revision: 80004
2012-12-03 04:02:58 +00:00
Vincent Torri 3b016183f9 merge: missing some informations changes about ecore
SVN revision: 79996
2012-12-02 22:41:16 +00:00
Vincent Torri 7d6010b12c merge: add escape ecore, fix several bugs
SVN revision: 79995
2012-12-02 22:35:45 +00:00
Bruno Dilly 53fc441d54 emotion: update gitignore
SVN revision: 79992
2012-12-02 22:22:00 +00:00
Bruno Dilly 5ee0923d0c emotion: fix build warning without eeze
SVN revision: 79991
2012-12-02 22:21:47 +00:00
Massimo Maiurana e7a7c3b44c updating greek translations
SVN revision: 79985
2012-12-02 18:09: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
Leandro Dorileo bf451a024a EPhysics: density field in material struct, int -> double
--This line, and those below, will be ignored--


SVN revision: 79851
2012-11-29 18:55:10 +00:00
Leandro Dorileo 40e3df1121 EPhysics: constraint removal
Delete the constraints a body belongs to on body removal and avoid
bullet to segfault.

--This line, and those below, will be ignored--


SVN revision: 79850
2012-11-29 18:54:36 +00:00
Leandro Dorileo 9e76f59766 EPhysics: add hinge test
Add a test to simulate a hinge constraint using the generic constraint
API's.

--This line, and those below, will be ignored--


SVN revision: 79849
2012-11-29 18:53:56 +00:00
Leandro Dorileo 0b558bc80c EPhysics: generic constraint
This patch changes how constraints are created and configured, now we
use a bullet generic implementation which let us operate on the 6
degrees of freedom(linear and angular ones).

We have used 6dof for slider constraint but now we assume 2 types of
constraints, single body - simply ephysics_constraint_add(body) - and a linked
one - ephysics_constraint_linked_add(body1, body2) used to constrain 2 bodies
linked together.

Having said that we introduce the following changes:

+ migrate p2p constraint to 6Dof

We want to have a constraint api generic enouth to allow many different
constraint behaviour, 6Dof was picked to do that, so p2p needs a migration.

+ move ephysics_constraint_slider_* functions

Since the whole constraint infra-sctructure is being migrated to 6Dof the
linear and angular limit functions - previously used only by slider constraint -
now looks more generic enough to be used by constraint in general.

+ add constraint anchor API

Instead of telling the anchoring positioning in the constraint creating we have
set it's default value to the the middle os the body and if the user wants to change
it call ephysics_constraint_anchor_set and reset it.

The ephysics_constraint_anchor_set() considers the canvas coordinate instead of using
the body orientation. So now one can tell a constraints anchor is set to 100, 10, 0
in the canvas coordinate system and not (body_center.x - 20, body_center.y - 5, body_center.z - 1).

+ constraint migrate the bt_constraint

Since we're working only with 6Dof constraints it is reasonable to change the constraints
bt_constraint field to btGeneric6DofConstraint.

+ add 3 axes to constraints

Now constraints API knows about x, y and z axes - linear and angular limiting, anchor
setting and the constraint creation functions are fully supported.

+ constraint calls are renamed

The constraint calls were renamed so ephysics_constraint_p2p_add() now is known as
ephysics_constraint_linked_add() and ephysics_constraint_slider_add() became
ephysics_constraint_add() where the first one is meant for constrain 2 bodies and
the second one for single body constraints.

--This line, and those below, will be ignored--


SVN revision: 79848
2012-11-29 18:51:51 +00:00