Commit Graph

19886 Commits

Author SHA1 Message Date
Leandro Dorileo 2e8fcf0a23 EPhysics: fix issues with rotation
We must convert degrees to radians wherever operating with angles.


SVN revision: 80718
2012-12-11 21:11:07 +00:00
Leandro Dorileo 44a9b9a350 EPhysics: add ephysics_body_sphere_add() API
SVN revision: 80717
2012-12-11 21:11:00 +00:00
Leandro Dorileo c90d6c5842 EPhysics: ephysics_body_circle_add() becomes ephysics_body_cylinder_add()
SVN revision: 80716
2012-12-11 21:10:53 +00:00
Bruno Dilly 2903b1f122 ephysics: scan-build cleanup
SVN revision: 80714
2012-12-11 20:48:31 +00:00
Bruno Dilly 6891e9a0e8 ephysics: warn if try to use functions not implemented
by clothes




SVN revision: 80713
2012-12-11 20:48:24 +00:00
José Roberto de Souza 3909a4ba36 edbus: Dont create proxy of FDO.Instropectable
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 80712
2012-12-11 19:52:24 +00:00
José Roberto de Souza cb2b967570 edbus: Dont create proxy of FDO.Peer
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 80711
2012-12-11 19:52:20 +00:00
José Roberto de Souza 7c8e5cd193 edbus: Fix typo in object manager
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 80710
2012-12-11 19:52:15 +00:00
José Roberto de Souza 4f05ef66e5 edbus: Dont create proxy of Object Manager on edbus_object_managed_objects_get()
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 80709
2012-12-11 19:52:11 +00:00
José Roberto de Souza d3a279ff56 edbus: Only one ref of Properties interface in each object
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 80708
2012-12-11 19:52:06 +00:00
Lucas De Marchi cbc0a8311a edbus: Better naming for FDO proxy in connection
Patch by: Lucas De Marchi <lucas.de.marchi@gmail.com>



SVN revision: 80707
2012-12-11 19:52:02 +00:00
José Roberto de Souza d05347bb91 edbus: Keep only one reference of object and proxy of dbus daemon interface per connection
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 80706
2012-12-11 19:51:38 +00:00
Lucas De Marchi 07e21b19c8 edbus: simplify returning new ref of obj/proxy
Patch by: Lucas De Marchi <lucas.de.marchi@gmail.com>



SVN revision: 80705
2012-12-11 19:51:34 +00:00
José Roberto de Souza 85192f5045 edbus: Add ref to object and proxy in edbus_object/proxy_get
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 80704
2012-12-11 19:51:29 +00:00
José Roberto de Souza 4b874afdd9 edbus: Fix typo on doc of edbus_message_arguments_get
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 80703
2012-12-11 19:51:25 +00:00
José Roberto de Souza 150a4a5c41 edbus: Add object method call
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 80702
2012-12-11 19:51:20 +00:00
José Roberto de Souza 3dd67bbc2f edbus: Add missing break in edbus_message_from_eina_value
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 80701
2012-12-11 19:51:16 +00:00
José Roberto de Souza 2391dcf481 edbus: Add example for reading str array inside a variant using eina_value
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 80700
2012-12-11 19:51:12 +00:00
José Roberto de Souza 3a4cbf1e4c edbus: Change some function parameters to const
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 80699
2012-12-11 19:51:02 +00:00
José Roberto de Souza 9308434937 edbus: Signal property changed after a successful property-set in complex server example
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 80698
2012-12-11 19:50:58 +00:00
José Roberto de Souza 55cd1268b3 edbus: Fix signature check in edbus_message_iter_fixed_array_get()
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 80697
2012-12-11 19:50:53 +00:00
José Roberto de Souza 851fcb14ff edbus: Add Variant to Property set function
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 80696
2012-12-11 19:50:49 +00:00
José Roberto de Souza 53f9a1cafc edbus: Add proxy to Proxy_Event_Property_Changed
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 80695
2012-12-11 19:50:45 +00:00
José Roberto de Souza cb6aab3513 edbus: Remove signal_handler_del over a already freed signal
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 80694
2012-12-11 19:50:40 +00:00
José Roberto de Souza 80adffbdb0 edbus: Add Disconnected event in connection
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 80693
2012-12-11 19:50:29 +00:00
José Roberto de Souza 1956b12fa0 edbus: Remove unnecessary connection events
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 80692
2012-12-11 19:50:25 +00:00
José Roberto de Souza 3c8076fa53 edbus: Add edbus_private_connection_get()
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 80691
2012-12-11 19:50:20 +00:00
José Roberto de Souza 848788e65b edbus: Refactor examples
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 80690
2012-12-11 19:50:16 +00:00
José Roberto de Souza 3134ba4ad0 edbus: Support '(' and '{' in edbus_message_iter_get_and_next()
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 80689
2012-12-11 19:50:11 +00:00
José Roberto de Souza 5a49f65f6f edbus: Allow to monitor unique id in edbus_name_owner_changed_callback_add
This allows to monitor when a client exits. Clients in general don't
register a name in the bus and in some cases it's even not allowed to do
(for example an agent talking to bluetoothd, that runs in system bus).

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



SVN revision: 80687
2012-12-11 19:50:06 +00:00
José Roberto de Souza 00e6dac1ac edbus: Fix bug found in refactored banshee example
Refactor edbus_signal_handler_add() so internal signal handlers don't
set the connection free callback. This fixes the bug in which
EDBus_Connection was freeing the signal handler of EDBus_Conenction_Name

==22814== Invalid read of size 4
==22814==    at 0x40564B0: edbus_signal_handler_del (edbus_signal_handler.c:278)
==22814==    by 0x4040E65: _edbus_connection_name_unref (edbus_core.c:507)
==22814==    by 0x404106B: edbus_connection_name_owner_monitor (edbus_core.c:520)
==22814==    by 0x4055F63: _edbus_signal_handler_clean (edbus_signal_handler.c:217)
==22814==    by 0x40564F8: edbus_signal_handler_del (edbus_signal_handler.c:279)
==22814==    by 0x4043088: _edbus_connection_unref (edbus_core.c:1045)
==22814==    by 0x404352F: edbus_connection_unref (edbus_core.c:1105)
==22814==    by 0x80498AA: main (banshee.c:233)
==22814==  Address 0x44bea48 is 0 bytes inside a block of size 72 free'd
==22814==    at 0x402C06C: free (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==22814==    by 0x4056118: _edbus_signal_handler_del (edbus_signal_handler.c:249)
==22814==    by 0x4056401: edbus_signal_handler_unref (edbus_signal_handler.c:272)
==22814==    by 0x4056503: edbus_signal_handler_del (edbus_signal_handler.c:280)
==22814==    by 0x4043088: _edbus_connection_unref (edbus_core.c:1045)
==22814==    by 0x404352F: edbus_connection_unref (edbus_core.c:1105)
==22814==    by 0x80498AA: main (banshee.c:233)
==22814==
CRI<22814>: src/lib/edbus_signal_handler.c:278 edbus_signal_handler_del() *** Eina Magic Check Failed !!!
    Input handle has already been freed!
    *** NAUGHTY PROGRAMMER!!!
    *** SPANK SPANK SPANK!!!
    *** Now go fix your code. Tut tut tut!

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



SVN revision: 80686
2012-12-11 19:50:01 +00:00
José Roberto de Souza bafc3adf76 edbus: Refactor banshee example
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 80685
2012-12-11 19:49:57 +00:00
José Roberto de Souza 4327109500 edbus: Refactor edbus_connection_name
Simplifications on "monitor" of NameOwnerChanged
Life cycle tied with refcount, objs, and name_owner_changed list.

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



SVN revision: 80684
2012-12-11 19:49:46 +00:00
José Roberto de Souza d5dab6de7b edbus: Handle 'unref signal handler inside of own callback' with ref and unref
This way is much simpler and doesn't generate many events when main loop
is quit inside of a signal handler callback.

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



SVN revision: 80683
2012-12-11 19:49:42 +00:00
José Roberto de Souza 7115dfa939 edbus: Use edbus_connection_name_get() instead of try find and alloc
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 80682
2012-12-11 19:49:37 +00:00
José Roberto de Souza 00c5b00c7d edbus: Add EINA_ARG_NONNULL and EINA_WARN_UNUSED_RESULT to API
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 80681
2012-12-11 19:49:33 +00:00
José Roberto de Souza 146db396e4 edbus: Implement edbus_object_managed_objects_get()
Also removed edbus_object_interfaces_added_callback_add/del() because we already
have object events for that.

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



SVN revision: 80680
2012-12-11 19:49:27 +00:00
Bruno Dilly 72bd0b445e edje: add headers explaining all the physics examples.
SVN revision: 80679
2012-12-11 18:52:46 +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
Stefan Schmidt 945a413b8c eeze/sensor: Improve unit test coverage for eeze_sensor.
Mostly error cases and error paths stuff.

SVN revision: 80673
2012-12-11 16:48:49 +00:00
Stefan Schmidt c12b96f055 eeze:/sensor: These are motions event types we can't read from.
SVN revision: 80672
2012-12-11 16:48:46 +00:00
Stefan Schmidt 1e8dc19715 eeze/sensor: Break out from the read if the sensor object is NULL
Better handle this error case. Spotted by some unit tests updates.

SVN revision: 80671
2012-12-11 16:48:43 +00:00
Stefan Schmidt 083434f695 eeze: Make sure we use the modules from the current build for make check.
Befoe this we always used the installed modules from the system. That is often
fine but there are cases we would need the local. un-installed, modules. The
coverage check is a example. The system modules normally don't had the options
for coverage enabled and thus would not produce anything for the modules.

Default still stays as it was. You would need to set an env var to use the
local modules.

SVN revision: 80670
2012-12-11 16:48:39 +00:00
Bruno Dilly 78f6d52949 edje: line on log cb shadows line declared on header
SVN revision: 80669
2012-12-11 15:55:13 +00:00
Bruno Dilly 2a0a84b2f1 edje: add subsections for description.physics blocks
improve edc reference index



SVN revision: 80668
2012-12-11 15:55:07 +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
Cedric BAIL 8d7f3111c8 edje: we do need Eo, so all Efl from trunk is necessary.
SVN revision: 80642
2012-12-11 10:49:53 +00:00
Bruno Dilly 8758e77f79 ephysics: handle evas object visibitily on default update
SVN revision: 80624
2012-12-10 21:58:06 +00:00
Bruno Dilly 0ca0b36df1 edje: short description for physics block
SVN revision: 80617
2012-12-10 17:46:55 +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
Leandro Dorileo 8f8cf756ee EPHysics: introduce a generic resize_cb for soft body faces
Introduce a generic resize_cb for soft body faces and fix the
"not pre-resized evas object issue" for multi faces implementation as well.

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


SVN revision: 80615
2012-12-10 17:15:27 +00:00
Leandro Dorileo 0941fad05f EPhysics: fix issues with resizing cloth
--This line, and those below, will be ignored--


SVN revision: 80614
2012-12-10 17:15:18 +00:00
Leandro Dorileo d56bd9c189 EPHysics: change the location of _ephysics_body_geometry_set
--This line, and those below, will be ignored--


SVN revision: 80613
2012-12-10 17:15:11 +00:00
Leandro Dorileo 8fed4fff45 EPhysics: fix issues identified by edje support
Add slices as member of obj smart parent - when it's the case -
so we can restack it when the received evas object is member of a
smart object.

Resize the evas object on ephysics_body_evas_object_set to w=1,
h=1 when its initial/original size is 0, this prevents errors on
evas_object_image_source_set().

Reset the soft body transform on resize - put it back to its
prior position - the one before scaling.

On body_move do not consider the moving of anchored rigid body
enough, move the soft body vertices as well.

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


SVN revision: 80612
2012-12-10 17:15:05 +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 60afa64421 edje: update edc.vim with physics words
SVN revision: 80602
2012-12-10 11:48:30 +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
Bluezery 614904c073 From: Bluezery <ohpowel@gmail.com>
Subject: [E-devel] [Patch][edje] Prevent duplicated inherition of
"after"

When inherting group, "after" of "program" section is also inherited.
But duplicated name of "after" can be also inherited.
I think that multiple "after" can be used but duplicated should be
not.  because this seems to be useless.
Is there case that duplicated after usage is used?
Duplicated "target" is prevented.  I just copy those codes.



SVN revision: 80565
2012-12-10 06:37:00 +00:00
Carsten Haitzler 40c28df2a2 whitespace--
SVN revision: 80564
2012-12-10 06:27:38 +00:00
Daniel Juyung Seo e56fb75809 edje edje_pick.c: Removed unused variable.
SVN revision: 80563
2012-12-10 05:53:30 +00:00
Rui Seabra 717f492b1a Remove explicit ecore dependencies from the rpm specs of edje, e, eeze, empower and ephoto, as well as the extra modules template.
SVN revision: 80547
2012-12-09 10:56:20 +00:00
Rui Seabra 388c242119 Removed explicit eio dependency from edje's and ephoto's rpm specs as it's in EFL now.
SVN revision: 80546
2012-12-09 10:46:34 +00:00
Massimo Maiurana 86feff504f updating various translations
SVN revision: 80532
2012-12-08 18:35:53 +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
Bruno Dilly daa5b3bdad edje: constify Edje_Font on edje_pick
warning--



SVN revision: 80471
2012-12-07 16:42:32 +00:00
Sebastian Dransfeld 17242f006a efreet: trigger build event if no daemon
Since e waits for this event, trigger it if no daemon so e works without
it.

SVN revision: 80447
2012-12-07 13:25:14 +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 e66a1e907d edje: cleanup actions swith on edje_cc_handler
SVN revision: 80387
2012-12-06 20:29:44 +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 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
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
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