Commit Graph

19254 Commits

Author SHA1 Message Date
Leandro Dorileo 252643a33b EPhysics: add cloth support
This patch introduces the cloth support. Auxiliary API's for setting
full anchors, cloth nodes anchors and so on is also introduced. Few
other issues concerning soft body and cloth transform, has been worked
to fit the cloth support needs.


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



SVN revision: 77467
2012-10-04 22:40:16 +00:00
Leandro Dorileo 1cb8f6fc0c EPhysics: multi point deformation
This patch introduces support for multi point deformation mapping,
it's wrapped with an evas smart object to handle multiple slices.


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



SVN revision: 77466
2012-10-04 22:40:07 +00:00
Bruno Dilly da4c5234f2 ephysics: use new ELM_POLICY_EXIT
To make sure windows will be properly deleted at shutdown.



SVN revision: 77465
2012-10-04 22:39:59 +00:00
Bruno Dilly 7d994cc8e6 ephysics: don't try to lock on internal delete
SVN revision: 77464
2012-10-04 22:39:53 +00:00
Bruno Dilly 7fe038a1c8 ephysics: add test for materials
SVN revision: 77463
2012-10-04 22:39:47 +00:00
Bruno Dilly 0bdec67255 ephysics: support body material
Using material_set it will be easier to set density, friction
and restitution to a body, simulating properties of the selected
material.



SVN revision: 77462
2012-10-04 22:39:42 +00:00
Bruno Dilly f0b85f701d ephysics: add some material constants
Pre-defined values of some properties, as density, friction and
restitution.

Ricardo researched these values on the following sources:

http://www.matbase.com/
http://www.matweb.com/
http://physics.info/density/
http://www.bulletphysics.org/Bullet/phpBB3/viewtopic.php?f=9&t=616
http://www.woodweb.com/knowledge_base/Wood_Handbook.html
http://www.engineershandbook.com/Tables/frictioncoefficients.htm
http://www.engineeringtoolbox.com/friction-coefficients-d_778.html
http://hypertextbook.com/facts/2006/restitution.shtml

Since they diverge a lot, he calculated an average value.



SVN revision: 77461
2012-10-04 22:39:35 +00:00
Bruno Dilly 748cfbe2f4 ephysics: support density
SVN revision: 77460
2012-10-04 22:39:29 +00:00
Bruno Dilly b52d2ed85e ephysics: add define to infinite mass
Also check for invalid values on mass set.



SVN revision: 77459
2012-10-04 22:39:10 +00:00
Bruno Dilly 7b7bef6087 ephysics: delete all worlds on exit
sure, it won't work until externals init / shutdown mess is fixed.



SVN revision: 77458
2012-10-04 22:38:58 +00:00
Bruno Dilly 6181303ab5 ephysics: no need to delete all the bodies on test
data del

It's already done when deleting the world.



SVN revision: 77457
2012-10-04 22:38:17 +00:00
Bruno Dilly a3eda42485 ephysics: add a log domain usage counter
This way we assure eina log will be working until the last
thread ends.



SVN revision: 77456
2012-10-04 22:38:11 +00:00
Bruno Dilly 9668304291 ephysics: use multiple threads
Use a mainloop thread and one thread per world dedicated to simulation.

It's using ecore threads, out of the pool.

For now there are still some locks when trying to change physics
elements properties while a simulation is going on, but soon it will
have a queue of properties to be applied after a simulation step, so
it won't lock.



SVN revision: 77455
2012-10-04 22:38:06 +00:00
Leandro Dorileo cfdd39c2d7 ephysics: free overlap filter callback
This patch makes sure the overlap filter callback instance is removed
on world removal.


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



SVN revision: 77454
2012-10-04 22:38:00 +00:00
Ricardo de Almeida Gonzaga 62f7b42c3b ephysics: updated authors.
Patch by: Ricardo de Almeida Gonzaga <ricardo@profusion.mobi>



SVN revision: 77453
2012-10-04 22:37:54 +00:00
Ricardo de Almeida Gonzaga 45c3c60ea3 ephysics: add some references to technical terms.
Patch by: Ricardo de Almeida Gonzaga <ricardo@profusion.mobi>



SVN revision: 77452
2012-10-04 22:37:47 +00:00
Ricardo de Almeida Gonzaga fcea4e820a ephysics: add a new example doc: EPhysics Logo -
ephysics_logo.c



Patch by: Ricardo de Almeida Gonzaga <ricardo@profusion.mobi>



SVN revision: 77451
2012-10-04 22:37:40 +00:00
Ricardo de Almeida Gonzaga bd9c06c5f5 ephysics: add a new example doc: Rotating Forever -
test_rotating_forever.c



Patch by: Ricardo de Almeida Gonzaga <ricardo@profusion.mobi>



SVN revision: 77450
2012-10-04 22:37:25 +00:00
Vincent Torri 079b6c94c3 Eet: Update lz4 code to rev. 77. This fix compilation on NetBSD 5.0
SVN revision: 77449
2012-10-04 17:25:48 +00:00
Vincent Torri 1c96844922 Eina: backport rev. 77445
SVN revision: 77446
2012-10-04 17:16:18 +00:00
Vincent Torri 607eb7d0de Ecore_con: update ecore_con_eet headers. Should make it compiling on Windows (not tested)
SVN revision: 77444
2012-10-04 17:04:38 +00:00
Stefan Schmidt 383af77fce ecore_con: No need to check for the for the same flag two times.
I did not do changelog, news or backport here as it has zero effect on the
functionality. Just makes the code easier to udnerstand and read. If you think
it needs to be done neverless howl and let me know what you actually want in
it. :)

SVN revision: 77441
2012-10-04 14:56:22 +00:00
Christopher Michael 3b0804e195 Remove unused variables.
SVN revision: 77425
2012-10-04 10:43:07 +00:00
Cedric BAIL 1000f350e3 efl: backport Igor's eina patch.
SVN revision: 77415
2012-10-04 09:31:46 +00:00
Mike Blumenkrantz c3fd0444b1 fix some efreet docs
SVN revision: 77412
2012-10-04 08:55:51 +00:00
Cedric BAIL 3d8678ab86 ecore: add ecore_x_input_raw_select and friends.
SVN revision: 77404
2012-10-04 05:56:59 +00:00
Christopher Michael 67fa000e09 Ecore: Update ChangeLog for Daniel's patch.
SVN revision: 77402
2012-10-04 05:51:12 +00:00
Christopher Michael 492eb02253 Ecore_X (xcb): Patch from Daniel Willmann to fix the type used for
calloc of randr_output_change event.



SVN revision: 77401
2012-10-04 05:49:28 +00:00
Cedric BAIL add842257d eio: Fix possible memory corruption in eio_eet_data_read_cipher()
Patch by Daniel Willmann <d.willmann@samsung.com>


SVN revision: 77392
2012-10-04 01:46:03 +00:00
Cedric BAIL d6f61a6b4f eina: Fixes typo and removes redundant duplicate code.
Patch by Igor Murzov <e-mail@date.by>


SVN revision: 77391
2012-10-04 01:42:15 +00:00
Eduardo Lima (Etrunko) eb12c75f33 Wayland_SHM: Remove unused 'debug' field
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>



SVN revision: 77376
2012-10-03 16:31:04 +00:00
Eduardo Lima (Etrunko) c76d15436b Wayland_SHM: Remove unecessary initialization
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>



SVN revision: 77375
2012-10-03 16:30:45 +00:00
Eduardo Lima (Etrunko) 4c750dfd37 Ecore_Evas: Cleanup unused function prototypes
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>



SVN revision: 77374
2012-10-03 16:30:37 +00:00
Eduardo Lima (Etrunko) 536114dd46 Ecore_Evas: Fix Wayland engine includes
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>



SVN revision: 77373
2012-10-03 16:30:28 +00:00
Mike Blumenkrantz 8501f2111a probably the best commit I'll ever make: evas_object_del() now takes NULL parameter without bitching
SVN revision: 77344
2012-10-03 06:59:20 +00:00
Cedric BAIL 94978e3079 ecore: Fix memory allocation size in ecore_thread_feedback()
Patch by Daniel Willmann <d.willmann@samsung.com>


SVN revision: 77340
2012-10-03 05:55:32 +00:00
Lucas De Marchi 63e697d752 edbus: Improve doc of name_owner_changed_callback_add()
Explain the reason for the extra flag on this function.



SVN revision: 77339
2012-10-02 21:42:02 +00:00
José Roberto de Souza de5d201e7e edbus: Add flag to name_owner_changed_callback_add to
allow initial call

Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 77338
2012-10-02 21:41:58 +00:00
José Roberto de Souza c2e818bd3f edbus: Call callback if already have a unique id when
another callback is added

Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 77337
2012-10-02 21:41:53 +00:00
Luis Felipe Strano Moraes 4be3f1e204 edbus: Fix typos
Patch by: Luis Felipe Strano Moraes <luis.strano@gmail.com>



SVN revision: 77335
2012-10-02 21:02:16 +00:00
Flavio Vinicius Alvares Ceolin 2bb2e95271 edje_codegen: Fixing a small problem with programs
Generating code even when there is no signal and/or source
in a program with SIGNAL_EMIT action.



SVN revision: 77330
2012-10-02 17:37:48 +00:00
Stefan Schmidt 27e48050d4 edje_entry: Fix mem leak and get rid of useless calloc here.
We could leak here if the next condition is true. And more important we calloc
in just 6 lines below again. From the log it seems this was just not catched
in a rewrite of this part of the code.

SVN revision: 77319
2012-10-02 12:53:54 +00:00
Stefan Schmidt cea45580e0 eeze/sensor: Remove handle_get() test for Eeze_Sensor as it gone from the code.
SVN revision: 77318
2012-10-02 12:53:48 +00:00
Christopher Michael 5824001bef Ecore_X (xcb): Revert previous screensaver commit.
NB: I was misinformed...apparently it did Not cut down the usage.



SVN revision: 77312
2012-10-02 12:13:32 +00:00
Christopher Michael f209467e08 Ecore_X: We don't need to listen for Cycle events here. These raise
when the screensaver cycle interval passes. That is not what we are
interested in here. We only need to know when the screensaver
activates/deactivates.

NB: This cuts cpu usage down incredibly when screensavers are set with
a short timeout.



SVN revision: 77310
2012-10-02 12:08:58 +00:00
Stefan Schmidt 7032a54a09 eeze/sensor: Fix big memleak that happened on every eeze use.
Really free the list with sensor modules when shutting down. No idea how I
dropped that as I found it in one old local version I had. Thanks to Mike
for the notice and valgrind for the tooling.

Also make sure we don't corrupt the list before we can free it.

SVN revision: 77291
2012-10-02 08:47:54 +00:00
Stefan Schmidt 13110e7610 eeze/sensor: Free the hash table on shutdown. Leak--
Some bigger leak is still going on there with the module unloading. I swear that
was all non-leaking before. I had valgrind on it. :)

SVN revision: 77290
2012-10-02 08:47:50 +00:00
Stefan Schmidt 0d2fcf9837 eeze/sensor: Update documentation.
Updating the docs in the header as well as some more comments in the code itself.

SVN revision: 77289
2012-10-02 08:47:45 +00:00
Christopher Michael 0f04d5bbfd Evas: Minor doxy fix.
SVN revision: 77257
2012-10-01 09:25:12 +00:00
Daniel Juyung Seo e430627e7e ethumb ethumb.c: Fixed indentation.
SVN revision: 77233
2012-10-01 04:43:39 +00:00