Commit Graph

381 Commits

Author SHA1 Message Date
Leandro Pereira 7ee848bc33 edje: Make state index optional
This shouldn't break stuff, just make things easier.  Think of all that lost
time " 0.0".  Not anymore.  Not even in Embryo scripts.  Indexes should only
be provided when you need them (which is quite rare).

Note that if you use ``set_state("new state")'' in your Embryo scripts, the
produced .edj files will be incompatible with older versions of Edje.  This
backwards incompatibility only applies to Embryo scripts; edje_cc will
generate a ``0.0'' value if the index is omitted from state declarations and
programs.

Sachiel said this patch was OK; our benevolent release manager acked as
well. Blame them if this breaks stuff.

SVN revision: 73424
2012-07-06 18:34:50 +00:00
Carsten Haitzler 7b840947e0 fix reallyu minor thing - border_scale_by wasnt interpolated.
SVN revision: 73289
2012-07-04 14:45:13 +00:00
Cedric BAIL b5c65a71d2 edje: implement per part limit.
SVN revision: 72767
2012-06-24 13:23:37 +00:00
Cedric BAIL 5c7cfbacb5 edje: add accessibility flags and API.
Patch by Kim Shinwoo <kimcinoo.efl@gmail.com>


SVN revision: 72521
2012-06-20 07:29:47 +00:00
Cedric BAIL 1442bc1e74 edje: fix big oopsie.
NOTE: this should unbreak your use of E17 clock widget
and elm_list should still be fine.


SVN revision: 72097
2012-06-14 01:20:26 +00:00
Cedric BAIL 0fe4412879 edje: rename VIRTUAL into SPACER and also fix Edje_Edit and inspector.
SVN revision: 72058
2012-06-13 03:21:31 +00:00
Tom Hacohen cee70e9e33 Edje load: Although we don't use them that much, we have refcounts in evas.
Don't assume an evas_object_del has to delete the object.

SVN revision: 71895
2012-06-10 11:14:42 +00:00
Cedric BAIL b0e087b6bf edje: morning speed of edje. Theme can now be a little bit lighter and faster.
NOTE: VIRTUAL part are almost like rectangle except they don't create any object
on the canvas. This part can't be visible, nor have any color, nor be used as a
clip, nor receive any event.


SVN revision: 71674
2012-06-04 02:57:15 +00:00
Cedric BAIL 19cff8be60 edje: fix double opening of edje file.
NOTE: know issue, in elementary_config the size of the icon
change after a theme reload. I don't know what information is
lost between to reload. If someone can point at them, thanks.


SVN revision: 71235
2012-05-18 14:37:21 +00:00
Cedric BAIL 58f626e3ea edje: this was supposed to get in this time. grr.
SVN revision: 70892
2012-05-09 10:10:51 +00:00
Cedric BAIL b786fe1ced edje: automatically emit ['edje,change,file', 'edje'] when the file change on disk.
For the moment only edje_player use it. This means that when used with
edje_watch, you don't need any more to type any kind of command line
when you are testing value in your theme. As a side effect, this means
that their is a real use case to make edje_cc faster !



SVN revision: 70890
2012-05-09 09:16:52 +00:00
Cedric BAIL baffed6e81 edje: oops this shouldn't get in at this point.
SVN revision: 70886
2012-05-09 07:53:29 +00:00
Cedric BAIL cc3caf6172 edje: prevent segv when edje_object_signal_emit get nested and edje_object_signal_callback_{add,del} are called.
SVN revision: 70880
2012-05-09 07:09:59 +00:00
ChunEon Park 3037b4b4d4 edje - DBG print for the invalid part name
SVN revision: 69313
2012-03-14 04:02:45 +00:00
Cedric BAIL 6b3d9da609 edje: add automatic hints update to edje object and min: SOURCE to GROUP part.
NOTE: turning this feature on is costly. Do that only when you require it, really !


SVN revision: 69254
2012-03-12 15:28:58 +00:00
Cedric BAIL 7c4d6fbec8 edje: fix rotation with fixed point.
SVN revision: 69011
2012-03-07 18:21:28 +00:00
Tom Hacohen 97c02b6656 Edje entry: added edje_object_part_text_user_insert.
SVN revision: 68556
2012-02-29 15:57:53 +00:00
Jihoon Kim 8c9ee103cb Add edje_object_part_text_imf_context_get API.
This API can be used to get the input method context in entry.


SVN revision: 68385
2012-02-24 06:51:04 +00:00
Jihoon Kim ee82a4f6ac edje: revert r68306
SVN revision: 68307
2012-02-23 06:46:07 +00:00
Jihoon Kim c58edcd114 Add edje_object_part_text_imf_context_get API
This API can be used to get the input method context in entry.


SVN revision: 68306
2012-02-23 06:15:12 +00:00
Vincent Torri e9f9802c48 Edje: update declaration of alloca
SVN revision: 68107
2012-02-18 14:25:45 +00:00
Jihoon Kim e464a99326 edje/edje_entry:
add edje_object_part_text_input_panel_language_set/get
    edje_object_part_text_input_panel_imdata_set/get
    edje_object_part_text_input_panel_return_key_type_set/get
    edje_object_part_text_input_panel_return_key_disabled_set/get


SVN revision: 67966
2012-02-15 08:21:11 +00:00
Cedric BAIL 70c734ebdd edje: add broadcast_signal: bool.
This make it possible to completly disable signal broadcasting as this
new behaviour broke Edje 1.0 file. It's also now possible to use the
same group in different part in the same parent group without any issue.

I am tempted to backport this patch to 1.1 branch as it would make it
play nicely with file coming from Edje 1.0.

Another issue that this patch fix is that I did increment the minor version
as we really have add a lot of addition since Edje 1.1 and Edje file build
with trunk may not play well anymore on Edje 1.1.


SVN revision: 67936
2012-02-14 14:07:39 +00:00
Jihoon Kim 1e350bd45a add edje_object_part_text_prediction_allow_set/get.
These APIs can be used to set whether prediction feature is allowed or not.


SVN revision: 67889
2012-02-14 02:34:50 +00:00
Jihoon Kim e1668198af add edje_object_part_text_imf_context_reset that will use for reseting the input method context
SVN revision: 67881
2012-02-13 11:40:55 +00:00
Jihoon Kim f7ac08317c Add edje_object_part_text_input_panel_show/hide.
These APIs can be used in input panel manual control mode.


SVN revision: 67873
2012-02-13 06:34:47 +00:00
Cedric BAIL ed1558ff84 edje: filter means, we can't change any state when we check for match. Delay, we should.
SVN revision: 67763
2012-02-08 14:41:21 +00:00
WooHyun Jung af9f325325 [edje/markup filter] Add new API, edje_object_markup_filter_callback_add. When using
edje_object_text_insert_filter_callback_add, a filter function
should check the type(format, text, or markup) of text for correct
filtering. But in markup filter function(added by new API), text is
always markup so no need to check the type of text.


SVN revision: 67724
2012-02-07 08:49:56 +00:00
Cedric BAIL a4c58712c3 edje: add min: SOURCE, max: SOURCE.
SVN revision: 67555
2012-01-26 18:24:00 +00:00
Youness Alaoui c63f4cce09 Edje: Fix big-endian issue with aspect_preference being declared as an enum/int and read from file as a char
SVN revision: 67292
2012-01-18 06:16:01 +00:00
Carsten Haitzler 2264bfe0b7 wo... this turned out to be much more of a pain. minmul now works -
allows us to multiple a minimim size explicitly for min size calc so
we can do things like have content slide open/closed properly.



SVN revision: 67197
2012-01-14 02:29:13 +00:00
Cedric BAIL deb0057d7f edje: add EDJE_ASPECT_PREFER_SOURCE.
NOTE: this is a prototype, play with and report any issue to me.


SVN revision: 66937
2012-01-06 11:28:38 +00:00
Carsten Haitzler 545390e173 fix bad func protocype - it returned a duplicated string, not internal.
SVN revision: 66745
2012-01-02 11:32:06 +00:00
Cedric BAIL 7473d15aea edje: cleanup and more accurate evaluation of CURRENT.
SVN revision: 65642
2011-11-28 10:20:51 +00:00
Cedric BAIL af33528af8 edje: major cleanup of map calc in edje, now done inside Edje_Calc_Param.
NOTE: This was necessary for solving issue with the new CURRENT feature. I
don't like this massive change, but there is no way around. This patch is
only the first step, I will wait the full night before completly fixing
the issue with CURRENT.

WARNING: If this patch doesn't break svn, you must feel lucky and go play
money games. In all other case, please report any issue to the developper
mailing-list.


SVN revision: 65619
2011-11-27 23:55:37 +00:00
Carsten Haitzler 2c283ada65 fix awful event re-propagation between every part and parent and part
and.... u get the idea. this made an n^m list of messages... where n
was 3 of messages sent and m was # of child parts (42 of them)... this
caused a silly 3 of timers to be allocated... don't ask how many. in a
simple snapshot i saw 101mb of timers allocated... and i was just
starting... anyway - this makes the propagatiopn not propagate down
and then back up again... and it only needs 1 timer allocated to
handle a re-schedule of processing messages. not N. "leak" that was
just a massive memory spike) is now fixed.



SVN revision: 65571
2011-11-24 11:51:11 +00:00
Cedric BAIL 239796713d edje: remove various warning.
SVN revision: 65438
2011-11-20 14:09:17 +00:00
Carsten Haitzler 4e97f85876 fix inconsistency with propagating signals and messages. now messages
AND signals should propagate to children the SAME WAY - that means
children you added explicitly in the edje file and not form c code get
propagated to.



SVN revision: 65384
2011-11-18 10:35:38 +00:00
Carsten Haitzler 86504a24d1 fix a few warnings i get on 64bit than didnt pop up on 32, revert edje
module load api break -back to eina_bool return. add some @sinces even
if there are no docs.



SVN revision: 64751
2011-11-04 23:19:14 +00:00
Prince Kumar Dubey 3cc8139906 From: Prince Kumar Dubey <prince.dubey@samsung.com>
From: Govindaraju S M <govi.sm@samsung.com>
Subject: edje multisense patch for sound sample, tone and haptic play

... This is the beginning of sound (and haptic) support in Edje - it
works, but only at certain basic sample playback levels. more will come.



SVN revision: 64731
2011-11-04 12:18:13 +00:00
Jaehwan Kim 6afeb6b150 Add CURRENT option which edje object moves from current position.
Currently, when the part in edc move by transition, it moves from the
one of the states to another of the states even if it is ainimating.
We need it to move from current position, because the animation is not
natural and smooth. So I made the "CURRENT" option.


SVN revision: 64675
2011-11-03 04:43:00 +00:00
Jaehwan Kim 1d300f049b Revert to revision 64488 in order to split the code into new feature and indentation
SVN revision: 64633
2011-11-02 04:15:01 +00:00
Jaehwan Kim 39d27f8cbb Add CURRENT option which edje object moves from current position.
Currently, when the part in edc move by transition, it moves from the
one of the states to another of the states even if it is ainimating.
We need it to move from current position, because the animation is not
natural and smooth. So I made the "CURRENT" option.
And I removed the unnecessary tab for indentation.


SVN revision: 64545
2011-10-31 06:00:06 +00:00
Carsten Haitzler d708501443 From: Jihoon Kim [mailto:jihoon48.kim@samsung.com]
elm_entry_autocapital_type_set API is high level API to call ecore_imf_context_autocapital_type_set.
Application programmer can choose the type of autocapitalization such as
WORD, SENTENCE, ALLCHARACTER through this API.

elm_entry_input_panel_enabled_set API is for setting whether input panel
(virtual keyboard) should be appeared when entry has a focus or pressed.
It can be used by dialer or calculator application programmer because those
application prefer to use its keypad NOT virtual keyboard supported by system.
They want to use entry to show the cursor for providing the cursor handling
method but don't want to appear system keyboard.



SVN revision: 64423
2011-10-27 05:42:41 +00:00
Carsten Haitzler f18d4de8d5 add border_scale_by that adds another scaling factor for border
scaling. use it as a way of super-sampling borders (eg use 0.5 to use
2x over-sampling, 0.25 for 4x oversapling etc.)



SVN revision: 63938
2011-10-10 05:53:02 +00:00
Tom Hacohen 2c12f4b0a7 Edje signals: Add the ability to provide extra data for signals.
SVN revision: 63771
2011-10-03 12:30:32 +00:00
Jihoon Kim 94561e19eb From: Jihoon Kim <jihoon48.kim@samsung.com>
Subject: [E-devel] [PATCH] add elm_entry_input_panel_layout_set API

elm_entry_input_panel_layout_set API is high level API to call
ecore_imf_context_input_panel_layout_set (through edje).
This API will be used to set layout of input panel (such as URL, Email,
Number layout...) by application programmer.

Would you please review this patch?
Please let me know if I have to do more.



SVN revision: 62782
2011-08-25 07:25:37 +00:00
Cedric BAIL 686d473591 edje: add collection.group.limits.vertical and collection.group.limits.horizontal.
The goal is to provide an easy way to do the kind of effect you see in that video
around 00:36 : http://www.youtube.com/watch?v=KVoVLHh8CHc.
  At that time it was really difficult to do such thing and required a lot of
embryo code, we designed limit with Billiob to be able to do such kind of things
much more easily.

NOTE: so Billiob, now nothing stop you from releasing amsn2 ! ;-)


SVN revision: 62701
2011-08-22 21:44:49 +00:00
Carsten Haitzler 8af403fcff fix edje_shutdown being calle3d before all edje object are deleted -
keep edje internal data around until all refs to edje are gone from
objects, then shtudown the core.



SVN revision: 61984
2011-08-02 07:23:05 +00:00
Jihoon Kim 94cf5e7829 From: Jihoon Kim <jihoon48.kim@samsung.com>
Subject: Re: [E-devel] [Patch] Add XIM module for ecore_imf

Patch to set the right window ID for IMF access from Edje



SVN revision: 61756
2011-07-26 12:04:27 +00:00