Commit Graph

2859 Commits

Author SHA1 Message Date
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
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
Bruno Dilly 68a34bdd34 edje: support basic body attributes - friction and
restitution




SVN revision: 80099
2012-12-03 19:47:52 +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
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
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
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
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
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
Bruno Dilly af8b2ce2ce edje: add example of messages handling (receiving /
sending)

All types!



SVN revision: 79589
2012-11-23 21:28:02 +00:00
Bruno Dilly 74bc2de752 edje examples: update edc examples list on makefile
It was outdated.



SVN revision: 79588
2012-11-23 21:27:38 +00:00
Bruno Dilly a0bd3bc00f edje player: support message sending
SVN revision: 79587
2012-11-23 21:27:28 +00:00
Bruno Dilly 7f9b327c16 edje player: fix typos / break big line of output
SVN revision: 79586
2012-11-23 21:27:17 +00:00
Daniel Juyung Seo 69dff9f94a edje edje_cc_handlers.c: Fixed wrong documentation.
SVN revision: 79530
2012-11-22 04:02:05 +00:00
Rui Seabra bf9ce78446 The previous commit was a slight fix on the efl spec for an error I made, its comment applies to this commit: adapt rpm specs to the new efl dependency instead of several independent dependencies.
SVN revision: 79419
2012-11-18 11:27:12 +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
Vincent Torri 80910393d6 merge: add evas tests and examples
SVN revision: 79300
2012-11-14 20:12:53 +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
Vincent Torri 216445552d Edje fix installation of edje_recc on cygwin
Patch by Yaakov Selkowitz


SVN revision: 79103
2012-11-11 07:04:40 +00:00
Daniel Juyung Seo 156671674b edje edje_codegen.c: Fixed 'may be used uninitialized' warnings.
SVN revision: 79008
2012-11-09 03:54:52 +00:00
Daniel Juyung Seo 99ce2c390e edje edc.vim: Added minmul to edc vim keyword.
SVN revision: 78965
2012-11-07 08:49:42 +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 5614f76e31 edje -- fix tab space
SVN revision: 78819
2012-11-02 04:06:00 +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
Carsten Haitzler 1441df778c fix: use max compression not default compression for edje_cc.
SVN revision: 78699
2012-10-31 11:06:17 +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
Cedric BAIL 53292d89ca edje: let edje_cc warning get through edje_watch.
SVN revision: 78498
2012-10-26 04:29:58 +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
Daniel Zaoui d372006da4 Compilation fixes
Signed-off-by: Daniel Zaoui <daniel.zaoui@samsung.com>

SVN revision: 78435
2012-10-25 09:56:27 +00:00
Gustavo Sverzut Barbieri 3519c6e92e oops... thanks stefan and build bot.
I don't have eo here, so I can't test newer edje... not even compile :-P



SVN revision: 78413
2012-10-24 21:51:59 +00:00
Stefan Schmidt cedf5d0cf9 Doxyfile.in: Remove obsolte doxygen tags from all our Doxyfile.in files.
Doygen tells us:
warning: Tag `SHOW_DIRECTORIES' at line 507 of file Doxyfile has become obsolete.
To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u"
warning: Tag `HTML_ALIGN_MEMBERS' at line 879 of file Doxyfile has become obsolete.
To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u"
warning: Tag `USE_INLINE_TREES' at line 1065 of file Doxyfile has become obsolete.
To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u"

So we are nice and remove them. A yay for the day where we have amerged tree and
not two dozens of Doxyfile.in files floating around.

SVN revision: 78409
2012-10-24 19:50:29 +00:00
Gustavo Sverzut Barbieri 0647d5d54c abort if cannot create /tmp file for cpp (epp).
one user complained that if /tmp wasn't writable (...?) it would keep
going but would abort with a message that his #define were not being
replaced, which is strange.

at the end the reason was it did not abort on mkstemp() failure.



SVN revision: 78408
2012-10-24 19:04:01 +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
Daniel Juyung Seo b8297e6823 edje .gitignore: updated .gitignore.
SVN revision: 78110
2012-10-17 10:09:39 +00:00
Cedric BAIL 50451f9817 edje: fix visibility issue.
SVN revision: 78044
2012-10-16 09:43:26 +00:00
ChunEon Park 4c8e4957e7 [E-devel] [patch][edje] redefinition of typedef 'Edje_Pick_Data'
dear all, hello

the attached patch is for removing redefinition of typedef
'Edje_Pick_Data'. that's it. :-)

cordially,
shinwoo kim.

Signed-Off-By:Kim Shinwoo <kimcinoo.efl@gmail.com>



SVN revision: 78040
2012-10-16 08:49:03 +00:00
Cedric BAIL ff3b6058d8 edje: add edje_pick.
Patch by Aharon Hillel <a.hillel@samsung.com>.

The purpose of edje_pick is to let people build their own theme
by picking interesting group from other theme.

There is still many fixme left in the code, so consider this alpha.
Expect Aharon to send patch to remove them very soon.


SVN revision: 78038
2012-10-16 07:33:54 +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
Sebastian Dransfeld 83e1c68da5 edje: remove unused variable
SVN revision: 77623
2012-10-09 08:28:07 +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
Mike McCormack 70c99a039e Update git ignore files
Signed-off-by: Mike McCormack <mikem@atratus.org>

SVN revision: 77217
2012-09-29 12:19:09 +00:00
Flavio Vinicius Alvares Ceolin 5bb2df9101 edje_codegen: Adding support for drag
Adding the necessary api to work with draggable parts.



SVN revision: 77174
2012-09-27 21:09:53 +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
Jonas M. Gastal 5f448b1e8f edje: Part Swallow Group created in documentation.
Author:    Lucas Joia <lucasjoia@profusion.mobi>

SVN revision: 77055
2012-09-25 19:43:24 +00:00
Jonas M. Gastal 80a162d319 edje: Part Drag Group created in documentation.
Author:    Lucas Joia <lucasjoia@profusion.mobi>

SVN revision: 77054
2012-09-25 19:42:16 +00:00
Flavio Vinicius Alvares Ceolin 675d863dc3 edje_codegen: Making the example uses the externals code
SVN revision: 76992
2012-09-21 17:34:09 +00:00
Flavio Vinicius Alvares Ceolin 8214538527 edje_codegen: Adding support for externals
Generating functions to manipulate the parameters of
an external part.



SVN revision: 76991
2012-09-21 17:32:34 +00:00
Jonas M. Gastal 456890e18a edje: Part Box Group created in documentation.
Author:    Lucas Joia <lucasjoia@profusion.mobi>

SVN revision: 76990
2012-09-21 17:21:03 +00:00
Jonas M. Gastal 7d92cdf160 edje: Part Table Group created in documentation.
Author:    Lucas Joia <lucasjoia@profusion.mobi>

SVN revision: 76989
2012-09-21 17:21:00 +00:00
Jonas M. Gastal 8a6ce6e76d edje: Part top level group created in documentation.
Author:    Lucas Joia <lucasjoia@profusion.mobi>

SVN revision: 76988
2012-09-21 17:20:58 +00:00
Jonas M. Gastal ba23c2b0a9 edje: Object Scale Group created in documentation.
Author:    Lucas Joia <lucasjoia@profusion.mobi>

SVN revision: 76987
2012-09-21 17:20:55 +00:00
Jonas M. Gastal 15bdd45e16 edje: Color and Text Class groups created in documentation.
Author:    Lucas Joia <lucasjoia@profusion.mobi>

SVN revision: 76986
2012-09-21 17:20:53 +00:00
Jonas M. Gastal bf8048e899 edje: Object Perspective Group created in documentation.
Author:    Lucas Joia <lucasjoia@profusion.mobi>

SVN revision: 76985
2012-09-21 17:20:50 +00:00