Commit Graph

1775 Commits

Author SHA1 Message Date
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 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
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
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
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
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
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
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 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
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
Christopher Michael ff70ee29df Edje: Fix warning: comparison between signed and unsigned integer
expressions

Signed-off-by: Christopher Michael <cpmichael1@comcast.net>

SVN revision: 78580
2012-10-28 10:21:22 +00:00
Michael BOUCHAUD 6b8370eb78 edje: oops ^^
SVN revision: 78532
2012-10-26 13:17:20 +00:00
Michael BOUCHAUD 56f5ad6e4b edje: fix scale set on box and table
SVN revision: 78517
2012-10-26 10:15:35 +00:00
Daniel Zaoui 05031a3631 Fix for elementary_codegen and edje_codegen
Signed-off-by: Daniel Zaoui <daniel.zaoui@samsung.com>

SVN revision: 78436
2012-10-25 09:56:31 +00:00
Christopher Michael ca5ce36b69 Edje: Fix uninitialized variable warning.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 78357
2012-10-23 06:16:13 +00:00
Christopher Michael 74419525cf Edje: Makes no sense to call evas_object_evas_get Again when we
previously called it a few lines above.

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

SVN revision: 78356
2012-10-23 06:16:08 +00:00
Daniel Zaoui 4eb9ea7587 Fix for amalgamation.
Signed-off-by: Daniel Zaoui <daniel.zaoui@samsung.com>

SVN revision: 78325
2012-10-22 09:36:23 +00:00
Daniel Zaoui bdc4de91cd Fix edje_edit. Didn't see that the base of the Edje_edit is not a
pointer. Changed it to satisfy Eo requirements.

Signed-off-by: Daniel Zaoui <daniel.zaoui@samsung.com>

SVN revision: 78306
2012-10-21 13:35:16 +00:00
Daniel Zaoui fdd87314b2 Edje porting to Eo
Signed-off-by: Daniel Zaoui <daniel.zaoui@samsung.com>

SVN revision: 78305
2012-10-21 10:46:58 +00:00
Cedric BAIL 50451f9817 edje: fix visibility issue.
SVN revision: 78044
2012-10-16 09:43:26 +00:00
WooHyun Jung 311ea71f36 edje/edje_entry : Add more tags(preedit_sub1~4) for supporting a
variety of preediting states.


SVN revision: 77731
2012-10-10 09:15:16 +00:00
KoziarekBeata 698265a251 From: KoziarekBeata <b.koziarek@samsung.com>
Subject: [E-devel] [Edje][Patch] Patch with NULL checks for some
functions in edje_entry file

This patch contains NULL checks  for some functions in edje_entry file.

Lack of these NULL checks after calling these function causes
segmentation faults.



SVN revision: 77719
2012-10-10 08:06:27 +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
Michael BOUCHAUD bf3ef11a5f edje: and force calc on sub objects
SVN revision: 77142
2012-09-27 09:36:01 +00:00
Michael BOUCHAUD f4d71a30e4 edje: fix scale_set in sub group
SVN revision: 77137
2012-09-27 09:11:21 +00:00
Jonas M. Gastal fd794e2a54 edje: Fix doc for edje_object_part_text_user_insert.
SVN revision: 77064
2012-09-25 19:53:21 +00:00
Jonas M. Gastal 2344d772f7 edje: include cache functions in General Group in documentation.
Author:    Lucas Joia <lucasjoia@profusion.mobi>

SVN revision: 77063
2012-09-25 19:52:15 +00:00
Jonas M. Gastal 69d4a6f031 edje: put #define EDJE_EXTERNAL_TYPE_ABI_VERSION outside the struct.
reason: that way it appears in documentation.

Author:    Lucas Joia <lucasjoia@profusion.mobi>

SVN revision: 77062
2012-09-25 19:51:09 +00:00
Jonas M. Gastal 6a6009203e edje: Text Entry Group created in documentation.
Author:    Lucas Joia <lucasjoia@profusion.mobi>

SVN revision: 77061
2012-09-25 19:50:03 +00:00
Jonas M. Gastal 67da2e5199 edje: Text Selection Group created in documentation.
Author:    Lucas Joia <lucasjoia@profusion.mobi>

SVN revision: 77060
2012-09-25 19:48:57 +00:00
Jonas M. Gastal 390b4da629 edje: Text Cursor Group created in documentation.
Author:    Lucas Joia <lucasjoia@profusion.mobi>

SVN revision: 77059
2012-09-25 19:47:50 +00:00
Jonas M. Gastal bed4fbee01 edje: Part Text top level group created in documentation.
Author:    Lucas Joia <lucasjoia@profusion.mobi>

SVN revision: 77058
2012-09-25 19:46:44 +00:00
Jonas M. Gastal df12bc32b6 edje: fix refs to Edje_Object_Part group in documentation.
Author:    Lucas Joia <lucasjoia@profusion.mobi>

SVN revision: 77057
2012-09-25 19:45:38 +00:00
Jonas M. Gastal 032e16f35a edje: include edje_box_layout_register to Box group in documentation.
Author:    Lucas Joia <lucasjoia@profusion.mobi>

SVN revision: 77056
2012-09-25 19:44:32 +00:00