Commit Graph

12091 Commits

Author SHA1 Message Date
Cedric BAIL bd6aed3783 view_list: small optimization reducing memory consumption using Eo_Event array of callbacks.
Now that smart callback have been converted to Eo_Event to, there is a lot of place in
our code base where we can do this easy memory optimization.
2015-08-15 12:43:05 +02:00
Jaehwan Kim 3ea0d46fe8 focus: add the comment about focus origin property. 2015-08-14 23:59:06 +09:00
Anand e69b0fb210 elm_gengrid:Added Eolian changes in gengrid reorder Api
Summary:
Modified gengrid reorder Api's(elm_gengrid_reorder_mode_start, elm_gengrid_reorder_mode_stop,
elm_gengrid_reorder_type_set) in Eolian format.

Test Plan: elementry_test->gengrid->gengrid_focus

Reviewers: seoz, raster, Hermet, JackDanielZ

Subscribers: cedric, JackDanielZ, mvsovani, singh.amitesh, sachin.dev

Differential Revision: https://phab.enlightenment.org/D2510
2015-08-14 09:40:18 +03:00
Yeshwanth Reddivari 7251a154f9 Gengrid: Set focus after item looping
Summary:
After item looping, Gengrid item was getting selected.
So, checked for item_select_on_focus_disable flag and
accordingly set focus state or selected state of Gengrid item.

@fix

Signed-off-by: Yeshwanth Reddivari <r.yeshwanth@samsung.com>

Reviewers: raster, Hermet, singh.amitesh, SanghyeonLee

Subscribers: sachin.dev

Differential Revision: https://phab.enlightenment.org/D2937
2015-08-14 11:20:30 +05:30
Mike Blumenkrantz 5c4ab5d971 cnp: redo wayland drop to nul terminate for text_uri drops and free on every drop
@fix
2015-08-13 15:46:14 -04:00
Jérémy Zurcher f1e9d33bb6 win: declare elm_win_wm_rotation_available_rotations_set
this should not have been removed in a0fdbad
2015-08-13 21:44:25 +02:00
Mike Blumenkrantz 8478b6b84a cnp: only nul terminate wayland drops for text type drops
also move data allocation into block where dropping is guaranteed

@fix
2015-08-13 15:27:14 -04:00
Mike Blumenkrantz a598a75444 cnp: end wayland drag on allocation failure
@fix
2015-08-13 15:18:55 -04:00
Mike Blumenkrantz b46ef28fda cnp: pass wayland drop event size to handler, do not nul terminate drop data
performing strlen() on potential non-string data is not recommended and can
even lead to crashes. nul terminating non-string data is pointless and enables
bad application behavior such as calling strlen() on potentially non-string data

@fix
2015-08-13 15:10:52 -04:00
Mike Blumenkrantz 3096e62408 cnp: fix wayland drop format selection
previously the drop format was chosen in a manner unrelated to what
the offered format was, leading to applications receiving either the correct
data with the wrong format, the wrong data with the wrong format, or
the wrong data with the correct format. by comparing the drop handler
types with the offered type and ensuring that there is a match, the
correctness of the format that the application receives is more reliable

@fix
2015-08-13 14:53:52 -04:00
Mike Blumenkrantz 2ace38aba0 cnp: initialize Elm_Selection_Data.action for wayland drops
wayland drops are probably always copy, though there's no real functional
equivalent for the x11 meaning of this

@fix
2015-08-13 14:53:52 -04:00
Mike Blumenkrantz d343487f94 cnp: init wayland dnd handlers upon creating the first drop target
previously this would only init when the app was initiating the drag,
which would result in an app being unable to receive drags

@fix
2015-08-13 14:53:52 -04:00
Daniel Kolesa e69bd0ec1b win: convert docs
With this, documentation conversion in elm is complete.
2015-08-13 16:46:57 +01:00
Daniel Kolesa 84fcf40c56 gengrid: convert docs 2015-08-13 16:05:38 +01:00
Daniel Kolesa cddca56dc1 layout: convert docs 2015-08-13 14:21:49 +01:00
Carsten Haitzler 86e4264c3b elm theme - conformant - fix to have proper min size of conformant
conformant would ignore min size of content (and propagate min size
to paent widget - eg window). this was just wrong. remove fixed here
(also align is useless as that is a default).

@fix
2015-08-13 19:29:37 +09:00
Jaehwan Kim 1bc01460c4 focus: item focus moves by geometry.
In the widget code, focus origin is added. It can know
the focus movement is originated by which action.
The widgets can choose the item focus moves to last focused item
or geometrically nearby item by focus origin.
In gengrid, focus moves to last focused item if focus origin is
ELM_FOCUS_REVERT. It moves to nearby item if focus origin is from
ELM_FOCUS_UP to ELM_FOCUS_LEFT.

TODO: widgets have items should add the direction feature if it
want the focus to move to nearby item.

@feature
2015-08-13 13:58:04 +09:00
Jaehwan Kim 085734310a test_gengrid: change the min size of gengrid 2015-08-13 13:33:50 +09:00
Amitesh Singh 19fa47b95f entry: fix since tag for entry_input_panel_show_on_demand_set() 2015-08-12 23:43:29 +05:30
Daniel Kolesa 8786685991 map: convert docs 2015-08-12 17:12:24 +01:00
Chris Michael a9ede4a9fd elementary: Fix Copy and Paste test to actually paste clipboard text
Summary: The Elm Copy and Paste test was not actually pasting the
copied text into the entry when the Paste button was clicked. This
patch fixes that issue.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-08-12 10:18:41 -04:00
Daniel Kolesa 01b523d944 datetime: convert docs 2015-08-12 13:45:30 +01:00
Daniel Kolesa 83fca6423b web: convert docs 2015-08-12 12:45:31 +01:00
Daniel Kolesa 6d805b731e genlist_item: convert docs 2015-08-12 12:22:14 +01:00
Jaehwan Kim b3a86fc230 focus: add the focus region show mode
When the focus is move to the object in scroller, it is scrolled
to show the focus region as a widget.
If the focus region want to be shown as an item,
set the mode ELM_FOCUS_REGION_SHOW_ITEM.
If then, it will be scrolled as an item.
TODO: Widgets have items are added on_focus_region function.

@feature
2015-08-12 17:30:44 +09:00
Davide Andreoli 0aa54f3756 Fix docs for elm_object_tooltip_orient_set
The function is not visible in docs,
this should make it visible
2015-08-12 09:17:56 +02:00
Jaehwan Kim e9afa67f2b gengird: change focus move mechanism in gengrid.
This commit is related to 4d553d2bcf2157053433994ca3facb56bd670da9.
It doesn't work if item_select_on_focus_disable is 1.
So _item_focus_down is changed like _item_single_select_down.

@fix
2015-08-12 11:09:17 +09:00
Daniel Kolesa 25eb9e69ee slider: convert docs 2015-08-11 16:57:08 +01:00
Daniel Kolesa 37e81db584 toolbar_item: convert docs 2015-08-11 15:27:06 +01:00
Tom Hacohen 0ebe02213b Toolbar: migrate docs. 2015-08-11 14:46:55 +01:00
Jyotiprakash Sahoo 078185b2cb gengrid: extends D2418 to horizontal mode.
Summary:
do not return yet in case of edge items if looping
is disabled. try to select/focus last item.

Signed-off-by: Jyotiprakash Sahoo <jp.sahoo@samsung.com>

@fix

Test Plan: elementary_test -> Gengrid 2

Reviewers: raster, singh.amitesh, cedric, SanghyeonLee

Reviewed By: SanghyeonLee

Differential Revision: https://phab.enlightenment.org/D2865
2015-08-11 22:10:09 +09:00
Jaehwan Kim a905e7a33b scroller: fix the focus move bug in scroller.
When the focused object is out of the viewport and the key direction
is only the direction focus is out, it should find the next focus.

@fix
2015-08-11 20:53:14 +09:00
Tom Hacohen d2339321e4 Interface scrollable: migrate docs. 2015-08-11 12:48:37 +01:00
Tom Hacohen 3d6524d8bf List: migrate docs. 2015-08-11 09:02:09 +01:00
Tom Hacohen 3925b5cfd5 Multibutton entry: migrate docs. 2015-08-11 08:35:55 +01:00
Mike Blumenkrantz 31a5766018 cnp test: add callback to print info when paste button is clicked 2015-08-10 16:22:23 -04:00
Mike Blumenkrantz 1092fe5363 cnp: add docs for Elm_Selection_Data members 2015-08-10 16:22:23 -04:00
Tom Hacohen 391addedee Image: migrate docs. 2015-08-10 18:37:13 +01:00
Tom Hacohen 0437f1137c Prefs: migrate docs. 2015-08-10 15:00:27 +01:00
Tom Hacohen de3682a7d0 Spinner: migrate docs. 2015-08-10 14:17:49 +01:00
Tom Hacohen c6b0b53afd Genlist: migrate one missing doc string. 2015-08-10 12:51:51 +01:00
Tom Hacohen 48142c11e2 Gengrid item: migrate docs. 2015-08-10 12:51:00 +01:00
Stefan Schmidt 03dc4d511d build: Exclude some more files from coverage as they are not in the correct path
These files come from some modules in src/modules while we set out base dir to
src/lib. In result these files are search for in src/lib and not found. In the
long term we want to find out how to collect them as well but for now a working
coverage is already good.

Overall coverage rate:
  lines......: 18.1% (12596 of 69412 lines)
  functions..: 18.6% (1766 of 9500 functions)

Will work on getting these run by jenkins once it is back.
2015-08-10 13:00:00 +02:00
Davide Andreoli b937433374 Add a new (failing) test for table padding
This test expose a bug in table as explained in T2655
2015-08-09 18:59:14 +02:00
Davide Andreoli fd95ba8362 Add a no-wrap mode to the "Entry Style Default" test
I'm trying to reproduce an issue, not spotted by this,
but can still be usefull.
2015-08-08 17:08:45 +02:00
Daniel Kolesa 74ae853fd4 glview: convert docs 2015-08-07 15:55:01 +01:00
Tom Hacohen fe7b26ab54 Progressbar: migrate docs. 2015-08-07 15:49:14 +01:00
Daniel Kolesa 9a46fbfc23 genlist: convert docs 2015-08-07 15:47:40 +01:00
Tom Hacohen c6c22e2f07 Segment control: migrate docs. 2015-08-07 15:36:47 +01:00
Tom Hacohen f308423f1a Index: migrate docs. 2015-08-07 15:19:21 +01:00