Commit Graph

19654 Commits

Author SHA1 Message Date
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
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
Alex Wu 11cb458f48 From: Alex Wu <zhiwen.wu@linux.intel.com>
Every touch down event should be converted into mouse in +
mouse button. So we should let every mouse in event go in the
_ecore_evas_wl_common_cb_mouse_in(), instead of preventing it by
"if (!ee->in)". Besides that, the coordinates carried by mouse in
event should be set to Evas_Public_Data::pointer by calling
_ecore_evas_mouse_move_process().

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 79818
2012-11-29 07:46:14 +00:00
Vincent Torri 830858b9f7 Ecore: more __UNUSED__ fixes
SVN revision: 79812
2012-11-29 06:43:44 +00:00
Vincent Torri 4c78e106c3 Ecore_SDL: make it compile on Windows
SVN revision: 79810
2012-11-29 06:34:36 +00:00
Jihoon Kim ca82ba2695 ibusimmodule: fix coding style
SVN revision: 79797
2012-11-29 02:28:08 +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
Bruno Dilly f3946716d8 ephysics: don't try to set bad body geometry when adding
boundaries

If render geometry is not set yet, it will try to set a bad geometry
for the boundary boxes.
In this case, let these bodies with default size and only resize them
when render geometry is set.



SVN revision: 79791
2012-11-28 21:47:58 +00:00
Bruno Dilly 1a1890fabb ephysics: add improve dbg msgs
To help me debuging it while I'm working on Edje.



SVN revision: 79790
2012-11-28 21:47:47 +00:00
Bruno Dilly 704173e539 ephysics: don't allow a body to be scaled to 0 in any
axis

In this case it will be considered inactive and things
won't work as expected.



SVN revision: 79789
2012-11-28 21:47:30 +00:00
Vincent Torri a4cfabdc2a Ecore: fix some variable names
SVN revision: 79787
2012-11-28 19:30:46 +00:00
Vincent Torri b2e83f35ae Ecore_SDL : remove shadow var
SVN revision: 79786
2012-11-28 19:24:07 +00:00
Bruno Dilly 34fa1349ba ephysics: random doc fixes
SVN revision: 79781
2012-11-28 12:55:53 +00:00
Bruno Dilly d9f2439c5d ephysics: TODO - add "auto" mode of slicing clothes suggested by Raster
SVN revision: 79780
2012-11-28 12:54:23 +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
Cedric BAIL 61600e76c7 ecore: typo.
SVN revision: 79769
2012-11-28 08:01:19 +00:00
Vincent Torri 53d90c7040 Ecore_DirectFB: warning--
SVN revision: 79768
2012-11-28 07:38:09 +00:00
Vincent Torri 5dd5f3f6c5 Ecore_Ipc: remove useless includes
SVN revision: 79767
2012-11-28 07:30:30 +00:00
Cedric BAIL 8e1c6b2bb3 ecore: fix bugs reported and identified by Aharone and Daniel.
SVN revision: 79766
2012-11-28 07:27:45 +00:00
Massimo Maiurana 3ca4079e07 updating esperanto translations
SVN revision: 79760
2012-11-27 22:20:03 +00:00
Rafael Antognolli 2cd49de668 ethumb: Fix license on ethumbd.c too.
It was intended to be LGPL-2.1 too. Bad copy & paste :-(

SVN revision: 79756
2012-11-27 20:53:33 +00:00
Rafael Antognolli 8ac3152e89 Ethumb: Fix license reporting on executables's --version output.
SVN revision: 79748
2012-11-27 15:37:56 +00:00
Cedric BAIL a94c9b785a ecore: fix ecore_evas_sdl window size.
Patch by Alexey Yakovenko <wakeroid@gmail.com> fixing ticket #1790.


SVN revision: 79734
2012-11-27 06:39:46 +00:00
Rafael Antognolli 79e00d2786 Ecore_Evas: Initialize event structs before sending them.
Event structs used for IPC must be correctly initialized, since they are
not aligned. This fixes some warnings reported by valgrind.

SVN revision: 79726
2012-11-26 21:44:34 +00:00
Sebastian Dransfeld c823b3fe29 efreet: update language for daemon
SVN revision: 79721
2012-11-26 16:07:55 +00:00
Daniel Juyung Seo de02fe4438 ecore Ecore_Evas.h: Removed non-existing APIs' descriptions.
SVN revision: 79656
2012-11-25 17:04:15 +00:00
Carsten Haitzler f5c127ff34 one mroe eo_data_Get protection.
SVN revision: 79650
2012-11-25 10:38:12 +00:00
Vincent Torri 3a67711840 Ecore: __UNUSED__ --> EINA_UNUSED
SVN revision: 79649
2012-11-25 09:55:32 +00:00
Vincent Torri 1205ecd5da ecore: remove useless variables
SVN revision: 79648
2012-11-25 09:50:53 +00:00
Sebastian Dransfeld 07ee75ee5b efreet: add missing file
SVN revision: 79632
2012-11-24 10:55:45 +00:00
Sebastian Dransfeld 92b5baaea4 efreet: fix alloca
SVN revision: 79629
2012-11-24 06:43:00 +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
Vincent Torri 7eed9b718a Ecore: fix Solaris build
SVN revision: 79614
2012-11-23 22:44:43 +00:00
Vincent Torri 47a3d97885 Ecore: fix alloca declaration
SVN revision: 79613
2012-11-23 22:38:23 +00:00
Vincent Torri a79a4408e4 Eio: Fix alloca declaration and remove useless autotools Windows stuff
SVN revision: 79612
2012-11-23 22:09:43 +00:00
Vincent Torri a943f063bc ecore, eio : revert alloca commits (and other solaris math commits, i know)
SVN revision: 79610
2012-11-23 21:55:46 +00:00
Leandro Dorileo 14a4767f24 EPhysics: add a soft ellipsoid test
A test to rotate a soft ellipsoid to demonstrate the multi face implementation.


Patch by: Leandro Dorileo <dorileo@profusion.mobi>



SVN revision: 79609
2012-11-23 21:52:25 +00:00
Leandro Dorileo ffecc4ac0f EPhysics: soft button test
A new test with a soft button deforming while clicking on it.


Patch by: Leandro Dorileo <dorileo@profusion.mobi>



SVN revision: 79608
2012-11-23 21:52:18 +00:00
Leandro Dorileo 1a1adc1a5f EPhysics: soft body operations on triangles list
This patch introduces API to get a list of triangles inside an
area and another to apply impulse - also - in a list of triangles.


Patch by: Leandro Dorileo <dorileo@profusion.mobi>



SVN revision: 79607
2012-11-23 21:52:08 +00:00
Leandro Dorileo 889ba8d307 EPhysics: fix soft body resize
When resizing a soft body move the anchored rigid body to the
center of it.


Patch by: Leandro Dorileo <dorileo@profusion.mobi>



SVN revision: 79606
2012-11-23 21:52:02 +00:00
Leandro Dorileo f4ce94ee18 EPhysics: avoid slices double deletion
This patch avoids slices double deletion case ecore evas deletes the
slices evas objects before ephysics has actually shutdown and/or simulation
thread hasn't been canceled.


Patch by: Leandro Dorileo <dorileo@profusion.mobi>



SVN revision: 79605
2012-11-23 21:51:53 +00:00
Leandro Dorileo ecd61b29af EPhysics: add api to get the slice index based on its
evas object



Patch by: Leandro Dorileo <dorileo@profusion.mobi>



SVN revision: 79604
2012-11-23 21:51:44 +00:00
Leandro Dorileo 0e3e700e52 EPhysics: add soft ellipsoid and multi face
implementation

This patch introduces the ellipsoid soft body and its multi face
implementation.


Patch by: Leandro Dorileo <dorileo@profusion.mobi>



SVN revision: 79603
2012-11-23 21:51:38 +00:00