Commit Graph

1419 Commits

Author SHA1 Message Date
David Walter Seikel b71734ffdf Rearrange the source code. No functional changes.
SVN revision: 65094
2011-11-12 10:42:56 +00:00
David Walter Seikel 3aba54fd04 More boiler, less plate.
SVN revision: 65086
2011-11-12 04:11:25 +00:00
David Walter Seikel d995ed6c58 Oops, fixor the bools.
SVN revision: 65085
2011-11-12 02:31:09 +00:00
David Walter Seikel a6c3bf6305 Generic functions for grabbing arguments, possibly out of a table,
and returning a table of results.

This replaces a whole host of specialised functions, and gives some flexibility.

As promised, I did not forget about the const castings, they went away as expected.


SVN revision: 65084
2011-11-12 02:23:33 +00:00
David Walter Seikel 7081c47b6e Add some inheritance.
SVN revision: 65079
2011-11-11 21:32:15 +00:00
David Walter Seikel d8abb0f237 Sandbox the edje file setting.
Patch up the argument getting for image setting.
Still not sandboxing the image setting, that's a pain.


SVN revision: 65072
2011-11-11 18:11:10 +00:00
David Walter Seikel 6d9f0ed3dc Actually return the map source.
SVN revision: 65070
2011-11-11 16:34:14 +00:00
David Walter Seikel 6838b5ac07 More generic method of checking the type of userdata object sent to us by lua.
SVN revision: 65068
2011-11-11 16:23:06 +00:00
David Walter Seikel 1c3344d1d1 Actually implement the 5 param version of map:populate.
Plus - let another TODO sneak in.


SVN revision: 65026
2011-11-10 16:59:21 +00:00
Carsten Haitzler e3b7c9b551 try init and shut down remix outside of thread.
SVN revision: 65002
2011-11-10 05:18:43 +00:00
David Walter Seikel 93ff9b01fd Remove something that is never used.
SVN revision: 64969
2011-11-09 04:44:31 +00:00
David Walter Seikel d95ddbfe79 typo -= 2
SVN revision: 64864
2011-11-07 10:18:31 +00:00
David Walter Seikel 98a10bd761 Oops, this one was wrong.
SVN revision: 64860
2011-11-07 08:55:03 +00:00
David Walter Seikel 38853023d5 The other half of the lua map API.
Also fix up some warnings pointed out by Mike Blumenkrantz.

I'm using the "I committed this from my USA server to sneak it past the deadline" excuse.  :-P



SVN revision: 64857
2011-11-07 07:02:02 +00:00
David Walter Seikel 2a0069118b Half of evas map API Added to lua.
The rest is commented, so you can see what the API will look like.
Needs more testing, and the other half.



SVN revision: 64822
2011-11-06 14:59:44 +00:00
David Walter Seikel be0358a4f1 Finally committing my edje lua additions after a long chat with raster on IRC.
Not everything discussed is in this commit, but that will come later today.



SVN revision: 64803
2011-11-06 09:00:21 +00:00
Carsten Haitzler 192139c55e dont use shadow lua obj w,h as it means text objects dont force their
size right and u need extra calls to get them. fix.



SVN revision: 64793
2011-11-06 04:44:13 +00:00
Carsten Haitzler ae70ed142a warning-- on edje when compiled without mulitsense
SVN revision: 64763
2011-11-05 14:03:28 +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
Iván Briano 78662c6674 Clarify the need (or not) to free data values returned.
SVN revision: 64739
2011-11-04 16:26:41 +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
Tom Hacohen a6b8ad17af Edje text: Remove identical if paths, one is enough.
Thanks to David Seikel.

SVN revision: 64689
2011-11-03 12:37:07 +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
Bruno Dilly 06fcb0725b Edje: minor - Fix swallow part error msg
SVN revision: 64416
2011-10-26 19:49:09 +00:00
Carsten Haitzler 371874381b and actually always apply border_scale_by directly as-is even if
border_scale is not set.



SVN revision: 63944
2011-10-10 07:58:14 +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
WooHyun Jung 006c18a7e1 edje/edje_entry : When CURSOR_MODE_BEFORE, the width of cursor edje
object should be considered.


SVN revision: 63806
2011-10-04 11:40:52 +00:00
Tom Hacohen 2729248566 Edje entry: Emit signals on range del and add info to changed,user.
Info added includes: cursor position of the action, content related to the
action, and the action that happened (added/removed).
Also fixed tab insertion to delete the current selection.

SVN revision: 63773
2011-10-03 12:30:40 +00:00
Tom Hacohen 2477b1a048 Edje entry: Do the cheaper if first.
SVN revision: 63772
2011-10-03 12:30:37 +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
WooHyun Jung 75646ae276 edje/edje_entry : fixed small bugs and warnings
SVN revision: 63766
2011-10-03 08:02:07 +00:00
Jihoon Kim 97f7d95201 From: Jihoon Kim <jihoon48.kim@samsung.com>
Subject: [E-devel] [PATCH] update cursor location when the position of
entry is changed


The cursor location information should be transferred when the position of
entry is changed.

For example, an entry can be moved by comformant, rotate event.

The transferred cursor location is used for letting candidate word window
move the appropriate position.



SVN revision: 63660
2011-09-29 09:02:31 +00:00
Cedric BAIL 881244542d edje: refactor code.
SVN revision: 63620
2011-09-27 06:16:34 +00:00
Christopher Michael 4ac5e88875 Edje: if _edje_fetch fails and we are returning from here, then no need to
fetch evas_object_evas_get. Use eina_stringshare_replace rather than
del & add. Fix a little formatting.



SVN revision: 63533
2011-09-22 07:19:50 +00:00
Vincent Torri 662871b057 add tests and coverage support
SVN revision: 63394
2011-09-14 19:02:07 +00:00
Mike Blumenkrantz deb39b3bf0 you lied to me, cnp!
SVN revision: 63320
2011-09-10 23:56:50 +00:00
Mike Blumenkrantz a8ff30dea4 null check for color_class_list
SVN revision: 63319
2011-09-10 20:39:24 +00:00
ChunEon Park 4e2320b17e edje - reverted embryo debug prints.
they can be used to get outside of the managable control.



SVN revision: 63281
2011-09-08 04:58:00 +00:00
ChunEon Park 5cac38f5d9 edje - added print_int print_float print_str funcs for debugging in embryo script
SVN revision: 63275
2011-09-07 20:43:40 +00:00
Tom Hacohen 110898bd67 Revert "Edje entry: Start using the new tb_range_formats_get."
This reverts commit 62260

Unfortunately the textblock function doesn't work as well as expected.

SVN revision: 63192
2011-09-05 12:07:31 +00:00
Cedric BAIL 5b83e0a288 edje: less useless call to eina_stringshare_add/del.
NOTE: edje is getting slow this day, please be carefull
when you add code to make it clean and fast. We soon
will require to go after some of this issue. Need to see
why application doing nothing are using 7% of my CPU
(mostly in edje).


SVN revision: 62993
2011-08-30 15:21:44 +00:00
Carsten Haitzler 4dbff7d352 typo--
SVN revision: 62790
2011-08-25 08:54:12 +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
Gustavo Lima Chaves 73aa354e05 [edje] Putting edc examples in src/examples dir, so that
docs find them as well.



SVN revision: 62754
2011-08-24 16:31:11 +00:00
Daniel Juyung Seo f915dca8ae edje edje_calc.c: Removed warnings.
SVN revision: 62729
2011-08-23 16:44:36 +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
Gustavo Sverzut Barbieri cc1d1f95c6 change text's single recalc to use apply version.
Original _edje_part_recalc_single_text() was not working as
expected since it was not doing size fit, range, ellipsis and so
on.

The purpose of this function compared with
_edje_text_recalc_apply() is to be faster, not calling Evas update
functions. However for text this is quite difficult given that to
fit we need to set the font, size, style, etc. If it was done
correctly, we'd save some calls to move and some color sets,
however those shouldn't matter much in the overall picture.

I've changed this to force applying the value, it should be more
correct and not so slow. The previous code is kept below for
reference but should be removed before next release!




SVN revision: 62640
2011-08-21 01:38:17 +00:00