platform/upstream/elementary.git
8 years agoelm - thumbscroll finger scrolling - make it far smoother
Carsten Haitzler (Rasterman) [Fri, 11 Sep 2015 14:24:51 +0000 (23:24 +0900)]
elm - thumbscroll finger scrolling - make it far smoother

smooth out scrolling and simplifyconfig as well as expose config apis
to configure it all and elm config ui sliders and checkboxes for
related config values etc. etc. - with this it is much smoother if you
use the default values, though latency is a bit worse. it looks nicer
though.

@feature

8 years agoelm - when focus goes back in to a window dont have scrollers jump
Carsten Haitzler (Rasterman) [Thu, 10 Sep 2015 11:04:23 +0000 (20:04 +0900)]
elm - when focus goes back in to a window dont have scrollers jump

there is an annoyance in elm that when focus goes back toa window it
restores focus to the last focused widget. if that widget happens to
be invisible in a scroller then this is really annoying as the
scrollers reset. this makes restoring optional. only if there is a
hilight object AND it's visible - then restore, otherwise don't and
revert focus to the window itself again.

@fix

8 years agoelm autofocus show - fix cases where focus is inside containers
Carsten Haitzler (Rasterman) [Thu, 10 Sep 2015 09:29:24 +0000 (18:29 +0900)]
elm autofocus show - fix cases where focus is inside containers

i found that the focus doesnt auto-show when focusing things inside
scrollers and so on. i had to add more points to trigger auto show.
this fixes that

@fix

8 years agocalendar: fix signal process timing issue when view update.
woochan lee [Tue, 8 Sep 2015 22:54:56 +0000 (00:54 +0200)]
calendar: fix signal process timing issue when view update.

Summary:
When the calendar view updated(Press next button to activated next month),
a lot of signals process(signal emitted) to calendar edc.

The signals which related with view update, should process in same loop.
If not, the view looks weird.

To ensure signals process same time, i called "edje_object_message_signal_process" after layout sizing eval called.

@fix

Reviewers: Hermet, cedric, woohyun

Subscribers: id213sin

Differential Revision: https://phab.enlightenment.org/D3019

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoelm theme - make sure key sounds are on input channel for muting config
Carsten Haitzler (Rasterman) [Wed, 9 Sep 2015 02:04:49 +0000 (11:04 +0900)]
elm theme - make sure key sounds are on input channel for muting config

@fix

8 years agoindex: rename elm_index_priority_set to elm_index_standard_priority_set
ChunEon Park [Tue, 8 Sep 2015 05:50:53 +0000 (14:50 +0900)]
index: rename elm_index_priority_set to elm_index_standard_priority_set

this change is also for consistency with elm_toolbar_standard_priority_set
conceptually the priority meaning here is same.

8 years agowin: fix FAKE window geometry updating + resize object adding
Mike Blumenkrantz [Mon, 7 Sep 2015 17:05:08 +0000 (13:05 -0400)]
win: fix FAKE window geometry updating + resize object adding

users of this will want the win to automatically match the geometry
of the ee in all cases

fix T2692

8 years agohoversel: rename api scroll_enabled_set to scrollable_set
ChunEon Park [Mon, 7 Sep 2015 11:41:34 +0000 (20:41 +0900)]
hoversel: rename api scroll_enabled_set to scrollable_set

modify api for consistency.
scrollable_set is more closed to other similar apis.

8 years agoupdate mailmap
Boris Faure [Sat, 5 Sep 2015 11:55:22 +0000 (13:55 +0200)]
update mailmap

8 years agobuild: ensure we do not fail clean if check-results.xml does not exist
Stefan Schmidt [Fri, 4 Sep 2015 12:57:50 +0000 (14:57 +0200)]
build: ensure we do not fail clean if check-results.xml does not exist

If we did not run make check this file would not exist and a clean would
fail over it. Using -f ignores this case.

8 years agoelm_test: Add test case for page scroller
Hosang Kim [Wed, 2 Sep 2015 07:16:04 +0000 (16:16 +0900)]
elm_test: Add test case for page scroller

Signed-off-by: Jean-Philippe Andre <jp.andre@samsung.com>
8 years agoelm_image: fix image preload issue
jiin.moon [Fri, 4 Sep 2015 04:39:26 +0000 (13:39 +0900)]
elm_image: fix image preload issue

Summary:
There are two issues about preload
1. elm_image_preload_disabled_set api does not work.
    Always returned before call the evas_object_image_preload()

2. image preload does not work at file_set time.
    If image's show property is not TRUE, do not call evas_object_image_preload() at file_set time.
    But there is no action when image's show property will be TRUE after call the file_set api.

@fix

Reviewers: Hermet, jpeg

Differential Revision: https://phab.enlightenment.org/D2989

Signed-off-by: Jean-Philippe Andre <jp.andre@samsung.com>
8 years agoelm_web2: fix build break & warnings after migration to eo callbacks.
Lukasz Stanislawski [Thu, 3 Sep 2015 08:28:40 +0000 (10:28 +0200)]
elm_web2: fix build break & warnings after migration to eo callbacks.

8 years agoLabel test: split Slide and Ellipsis in two separate tests
Dave Andreoli [Wed, 2 Sep 2015 19:51:46 +0000 (21:51 +0200)]
Label test: split Slide and Ellipsis in two separate tests

this reveal the ellipsis + markup bug as explained in T2709

8 years agoLabel: add support for all the fancy tags already provided for entry
Dave Andreoli [Wed, 2 Sep 2015 18:35:22 +0000 (20:35 +0200)]
Label: add support for all the fancy tags already provided for entry

Comes with a simple test

@feature

NOTE FOR THEMERS: you must update your theme to support this!

8 years agoFileSelector Entry: fix behaviour for events
Yakov Goldberg [Wed, 2 Sep 2015 15:41:04 +0000 (18:41 +0300)]
FileSelector Entry: fix behaviour for events

Fix behaviour for changed, activated, press events.
Forwarders must be set on entry's original events,
so they will call corresponding fileselector entry's callbacks.

@fix

8 years agoelm map - fix crash on badly handled zoom timeout callback
Carsten Haitzler (Rasterman) [Wed, 2 Sep 2015 10:34:06 +0000 (19:34 +0900)]
elm map - fix crash on badly handled zoom timeout callback

if sd->obj is null then the a zoom timeout has a null data param and
that means we cant get sd data... so dont set up a zoom timeout unless
sd->obj is valid.

@fix

8 years agoelm map - fix module load craziness loading all elm modules
Carsten Haitzler (Rasterman) [Wed, 2 Sep 2015 10:20:04 +0000 (19:20 +0900)]
elm map - fix module load craziness loading all elm modules

so elm map loads every module it can find in a recursive dir walk of
all elm modules. this si nuts. this can accidentallly load OLD modules
and thats a recipe for disaster. so check module arch dir aagainst
module arch string to load the right version and be quiet if module
doesn thave the right symbols - it's the wrong module type.

@fix

8 years agoGenlist: add homogeneos mode to the tree test
Dave Andreoli [Tue, 1 Sep 2015 18:08:42 +0000 (20:08 +0200)]
Genlist: add homogeneos mode to the tree test

show tree+homogeneous brackage, as explained in T2708

8 years agoGenlist test: cosmetics
Dave Andreoli [Tue, 1 Sep 2015 17:34:43 +0000 (19:34 +0200)]
Genlist test: cosmetics

* add separator comments between different tests
* keep function definitions on 2 lines

8 years agoFileSelector: fix behaviour when the file is chosen
Daniel Zaoui [Tue, 1 Sep 2015 08:16:58 +0000 (11:16 +0300)]
FileSelector: fix behaviour when the file is chosen

The wrong event was sent on the Ok file selector button when the file is
chosen, leading to not update the upper layer.

@fix

8 years agogenlist: fix indentation & remove whitespaces
Amitesh Singh [Tue, 1 Sep 2015 03:15:38 +0000 (08:45 +0530)]
genlist: fix indentation & remove whitespaces

8 years agogengrid: fix crash issue.
Jaehwan Kim [Mon, 31 Aug 2015 07:21:26 +0000 (16:21 +0900)]
gengrid: fix crash issue.

Sometimes the focused_item can be null.

@fix

8 years agonaviframe: fix a focus issue when deleting the first item
WooHyun Jung [Mon, 31 Aug 2015 07:15:55 +0000 (16:15 +0900)]
naviframe: fix a focus issue when deleting the first item

Summary:
When the first item is deleted, focus should not be reverted back
to an object in the content of the item.

@fix

8 years agoscroller: fix page calculation logic when looping is enabled.
Hosang Kim [Fri, 28 Aug 2015 12:12:30 +0000 (21:12 +0900)]
scroller: fix page calculation logic when looping is enabled.

Test Plan:
1. elementary_test -> scroller
           2. Lopping in x axis
           3. click prev page or next page

Reviewers: SanghyeonLee, singh.amitesh, Hermet, seoz, cedric, raster, jaehwan

Differential Revision: https://phab.enlightenment.org/D2982

8 years agoScroller: Scroll indicatin arrows should be enable if loop is set.
Umesh Tanwar [Fri, 28 Aug 2015 11:40:43 +0000 (20:40 +0900)]
Scroller: Scroll indicatin arrows should be enable if loop is set.

Summary:
When loop is set, the arrows on horizontal/vertical bar
should not be disabled. These arrows show the scrollable direction,
if enabled. Disabled arrows show no more scroll in that direction.

Signed-off-by: Umesh Tanwar <umesh.tanwar@samsung.com>
Merge branch 'master' of http://git.enlightenment.org/core/elementary

Test Plan: elementary_test -> scroller -> loop in x axis.

Reviewers: raster, Hermet, singh.amitesh

Subscribers: sachin.dev, SanghyeonLee, eagleeye

Differential Revision: https://phab.enlightenment.org/D2953

8 years agoelm_genlist: fix sub-items prepending
Andrii Kroitor [Fri, 28 Aug 2015 11:18:23 +0000 (20:18 +0900)]
elm_genlist: fix sub-items prepending

Summary:
fix sub-item position after prepending if parent item has no other
sub-items

Test Plan:
1. add genlist
2. add parent item
3. compare results of following actions:
 case 1: append sub-item "child1" and then prepend sub-item "child2"
 case 2: prepend sub-item "child2" and then append sub-item "child1"

ExR results are the same
CuR in case 2 sub-items are placed in wrong position

Reviewers: cedric, raster, reutskiy.v.v, SanghyeonLee, Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D2965

8 years agoGenlist: Dont select first item if its DISPLAY_ONLY
Vaibhav Gupta [Fri, 28 Aug 2015 11:03:35 +0000 (20:03 +0900)]
Genlist: Dont select first item if its DISPLAY_ONLY

Summary:
Updated genlist to select first item which is not in
DISPLAY_ONLY mode

@fix

Signed-off-by: Vaibhav Gupta <g.vaibhav1@samsung.com>
Test Plan:
Following is the test to verify:
1. Create a genlist
2. Make 1st item as ELM_OBJECT_SELECT_MODE_DISPLAY_ONLY
3. Now bring the focus to genlist by key down
4. It should bring focus on 2nd item and not 1st.

Reviewers: raster, Hermet, SanghyeonLee, singh.amitesh

Subscribers: sachin.dev

Differential Revision: https://phab.enlightenment.org/D2957

8 years agoElc_Multibuttonentry: Item resize issue on text set
Shilpa Singh [Fri, 28 Aug 2015 10:52:17 +0000 (19:52 +0900)]
Elc_Multibuttonentry: Item resize issue on text set

Summary:
When text is set on a multibuttonentry item, item does not resize
again based on text.

Signed-off By: Kumar Navneet <k.navneet@samsung.com>

@fix

Test Plan: Set long text to multibuttonentry item, after item is created and shown.

Reviewers: woohyun, CHAN, Hermet

Reviewed By: CHAN, Hermet

Subscribers: navnbeet

Differential Revision: https://phab.enlightenment.org/D2967

8 years agomultibuttonentry: Fix mbe clicked signal is not work.
woochan lee [Fri, 28 Aug 2015 10:40:27 +0000 (19:40 +0900)]
multibuttonentry: Fix mbe  clicked signal is not work.

Summary:
MBE clicked callback doesn't called when user click label, padding area of MBE.
Because of the MBE edc only has the SWALLOW part for internal box. never emit the signal for clicked.
So i added RECT part for bg of mbe.

@fix

Test Plan: Run elementary_test -> execute multibuttonentry sample.

Reviewers: seoz, woohyun, cedric, Hermet

Reviewed By: Hermet

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2821

8 years agoElc_Naviframe: When push is in progress, block pop until push is complete.
Shilpa Singh [Fri, 28 Aug 2015 09:28:19 +0000 (18:28 +0900)]
Elc_Naviframe: When push is in progress, block pop until push is complete.

Summary:
When push is in progress, block popping until
push is complete to allow animation to complete.

@fix

Reviewers: Hermet

Subscribers: subodh6129, shashank0990

Differential Revision: https://phab.enlightenment.org/D2966

8 years agoRevert "Elm_Interface_Scrollable: Improvement in looping behavior"
Hosang Kim [Fri, 28 Aug 2015 09:08:14 +0000 (18:08 +0900)]
Revert "Elm_Interface_Scrollable: Improvement in looping behavior"

Summary:
This reverts commit bba4c217f2ce4f032fca6298cc8b2fc6ff3d7c19.

"x and y position variable assumes values ranging from min to max " is right.
but in looping behavior, x and y are able to have value bigger than max or smaller than min.

@fix

Test Plan:
1. elementary_test -> scroller
           2. on Loop in X axis
           3. scrolling page to left.
           4. page is moved last page directly.

Reviewers: SanghyeonLee, tanwar.umesh07, raster, cedric, jaehwan, Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D2977

8 years agotest_gengrid: add item_select_on_focus_disabled option in gengrid2 test
Amitesh Singh [Fri, 28 Aug 2015 08:24:50 +0000 (13:54 +0530)]
test_gengrid: add item_select_on_focus_disabled option in gengrid2 test

8 years agoelementary: Port evas object smart callbacks to use eo event callbacks
Vivek Ellur [Fri, 28 Aug 2015 07:30:27 +0000 (16:30 +0900)]
elementary: Port evas object smart callbacks to use eo event callbacks

Summary:
Changed evas_object_smart_callback_add APIs to use eo_event_callback_add API

Signed-off-by: Vivek Ellur <vivek.ellur@samsung.com>
Reviewers: cedric, Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D2995

8 years agoelm_colorclass: Changed evas object smart callbacks to use eo event callbacks
Vivek Ellur [Fri, 28 Aug 2015 07:16:37 +0000 (16:16 +0900)]
elm_colorclass: Changed evas object smart callbacks to use eo event callbacks

Summary:
Replaced evas_object_smart_callback_add with eo_event_callback_add api

Signed-off-by: Vivek Ellur <vivek.ellur@samsung.com>
Reviewers: cedric, Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D2998

8 years agoelm_conform: Port evas smart callbacks to eo
Vivek Ellur [Fri, 28 Aug 2015 07:14:31 +0000 (16:14 +0900)]
elm_conform: Port evas smart callbacks to eo

Summary:
Changed evas_object_smart_callback_add functions to eo_event_callback_add functions

Signed-off-by: Vivek Ellur <vivek.ellur@samsung.com>
Reviewers: cedric, Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D2996

8 years agoelementary: Port evas smart callbacks to Eo callbacks
Vivek Ellur [Fri, 28 Aug 2015 06:58:54 +0000 (15:58 +0900)]
elementary: Port evas smart callbacks to Eo callbacks

Summary:
Changed evas_object_smart_callback_add to eo_event_callback_add functions

Signed-off-by: Vivek Ellur <vivek.ellur@samsung.com>
Reviewers: cedric, Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D2997

8 years agoelm_hover: Set min size hint for size and offset spacer before moving or resizing...
Jee-Yong Um [Fri, 28 Aug 2015 06:56:34 +0000 (15:56 +0900)]
elm_hover: Set min size hint for size and offset spacer before moving or resizing hover

Summary:
Size or offset spacer make hover be able to move its swallows to right positions.
In elm_layout_sizing_eval() for hover, moving and resizing spacers are done
after moving and resizing hover.
It causes in hover's move or resize callback, geometry can not be got correctly.

Reviewers: SanghyeonLee, Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D2999

8 years agomultibuttonentry: Use elm focus for items instead of evas focus.
woochan lee [Fri, 28 Aug 2015 06:49:58 +0000 (15:49 +0900)]
multibuttonentry: Use elm focus for items instead of evas focus.

Summary:
Item layout will be added in elm focus tree.
evas_object_focus_set is no meaning here for MBE operation.
So i changed focus API from "evas_object_focus_set()" to "elm_object_focus_set()"

elm_object_focus_allow_set() already called in item adding function.

@fix

Reviewers: Hermet, cedric

Differential Revision: https://phab.enlightenment.org/D2993

8 years agoGengrid: Fix wrong focus movement in _item_single_select_down
Vaibhav Gupta [Fri, 28 Aug 2015 06:34:49 +0000 (12:04 +0530)]
Gengrid: Fix wrong focus movement in _item_single_select_down

Summary:
The focus movement is wrong when down key press
is done of first item of last row, intsead of
taking the focus out, it moves the focus to next
item (right).

@fix

Signed-off-by: Vaibhav Gupta <g.vaibhav1@samsung.com>
Test Plan:
1. Launch elementary_test -> Gengrid 2 sample
2. Add a few items such that there are 2 items in last row
3. Do a down key press on 1st item of last row
4. Observe focus movement

Reviewers: raster, Hermet, SanghyeonLee, singh.amitesh

Subscribers: sachin.dev

Differential Revision: https://phab.enlightenment.org/D3001

8 years agogengrid: fix item looping in case of horizontal mode
Amitesh Singh [Fri, 28 Aug 2015 05:04:52 +0000 (10:34 +0530)]
gengrid: fix item looping in case of horizontal mode

This mistake is done in a8afaebf3109f1cb8e397e29

8 years agoelm win - fix to ensure smart calc is done before show
Carsten Haitzler (Rasterman) [Fri, 28 Aug 2015 03:20:36 +0000 (12:20 +0900)]
elm win - fix to ensure smart calc is done before show

@fix

8 years agoelm test EXPLODE! feature! explore widgets and their content!
Carsten Haitzler (Rasterman) [Thu, 27 Aug 2015 00:47:53 +0000 (09:47 +0900)]
elm test EXPLODE! feature! explore widgets and their content!

hit ctrl+middle mouse on something...

8 years agoGenlist: reset item tree expanded state when putting item in cache
Dave Andreoli [Thu, 27 Aug 2015 19:37:50 +0000 (21:37 +0200)]
Genlist: reset item tree expanded state when putting item in cache

Item expandend state need to be resetted (contracted) when the
item goes in the items cache, otherwise when the item will be reused
it will have unwanted state (expanded).

Quite visible in the "Genlist Tree and Decorate All Mode" test

@fix

8 years agoconfig: revert first_item_focus_on_first_focus_in to 0
Amitesh Singh [Thu, 27 Aug 2015 04:30:39 +0000 (10:00 +0530)]
config: revert first_item_focus_on_first_focus_in to 0

This fixes a behavioural change introduced in D1135.
Steps to reproduce:
1. elementary_test -> genlist/list/gengrid
2. scroll dragging the scroll-bar
3. an item nearest to viewport gets selected when you release the mouse button

Most of the time, we don't want item to be selected or focused on dragging
scroll-bar via mouse. Revert config flag to 0 to have old behaviour before D1135.

fixes: T2662
@fix

8 years agotoolbar: fix issue of focus not coming to item on mouse click
Amitesh Singh [Wed, 26 Aug 2015 17:00:02 +0000 (22:30 +0530)]
toolbar: fix issue of focus not coming to item on mouse click

resize object was not getting focused in case of mouse click.

Steps to reproduce:
1. elementary_test -to "toolbar focus".
2. set focus to toolbar item via mouse.
3. focus does not come to toolbar.

fixes T2697
@fix

8 years agogengrid: no need to loop in case of reorder mode is enabled
Amitesh Singh [Wed, 26 Aug 2015 15:13:39 +0000 (20:43 +0530)]
gengrid: no need to loop in case of reorder mode is enabled

There is no need to loop when reorder mode is enabled. This looks
ugly and nobody wants it. This fault was introduced in 7aaa5c8d0a4a5714b4f1bf79e

This patch also fixes following crash
   1. elementary_test -to "Gengrid 2".
   2. Enable all the options available.
   3. Do reorder of item via keys.
   4. Observe segv on reordering edge items.

@fix

8 years agoAdd missing documentation of DirectDraw rendering
Vincent Torri [Wed, 26 Aug 2015 14:19:46 +0000 (16:19 +0200)]
Add missing documentation of DirectDraw rendering

8 years agogengrid: fix item focus movement in case of horizontal mode
Amitesh Singh [Wed, 26 Aug 2015 10:05:47 +0000 (15:35 +0530)]
gengrid: fix item focus movement in case of horizontal mode

Steps to reproduce:
1. elementary -> gengrid focus
2. change mode to horizontal
3. set focus to one of item in 2nd column.
4. Press Left direction key
issue: focus moves out of gengrid.

@fix

8 years agoElm win: Fix according to the new behaviour of parent_set.
Tom Hacohen [Wed, 26 Aug 2015 09:48:16 +0000 (10:48 +0100)]
Elm win: Fix according to the new behaviour of parent_set.

This new behaviour was introduced in
9c78ee0bf4125c095e85f7fcf9921586cda64a52.

8 years agogengrid: add curly braces to avoid ambiguous 'if'
Amitesh Singh [Wed, 26 Aug 2015 09:04:58 +0000 (14:34 +0530)]
gengrid: add curly braces to avoid ambiguous 'if'

8 years agoelm_win: Initilize the variable 'preferred_rot' as a -1 before invoking _elm_win_xwin...
Seunghun Lee [Tue, 25 Aug 2015 11:41:18 +0000 (20:41 +0900)]
elm_win: Initilize the variable 'preferred_rot' as a -1 before invoking _elm_win_xwin_update() in _elm_win_finalize_internal().

Summary:
since the variable 'preferred_rot' is checked its validation in _elm_win_xwin_update(),
so, should be initialize it before invoking.

@fix

Reviewers: jypark, woohyun, Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D2987

8 years agoprogressbar: fix memory leak
Hosang Kim [Tue, 25 Aug 2015 11:05:57 +0000 (20:05 +0900)]
progressbar: fix memory leak

Summary: when elm_progressbar_value_set is called, progress_status is always created.

Test Plan: elementary_test -> progressbar

Reviewers: woohyun, Hermet, cedric, raster

Differential Revision: https://phab.enlightenment.org/D2986

8 years agocxx: Added examples and tutorial for C++ binding
Luciana Magno de Almeida [Tue, 16 Dec 2014 21:04:43 +0000 (19:04 -0200)]
cxx: Added examples and tutorial for C++ binding

Summary:
Added the following examples:
* bg_cxx_example_01
* bg_cxx_example_02
* bubble_cxx_example_01
* button_cxx_example_00
* button_cxx_example_01
* calendar_cxx_example_01
* calendar_cxx_example_02
* calendar_cxx_example_03
* calendar_cxx_example_04
* calendar_cxx_example_05
* clock_cxx_example
* datetime_cxx_example
* glview_cxx_example_01
* hoversel_cxx_example_01
* icon_cxx_example_01
* location_cxx_example_01
* menu_cxx_example_01
* popup_cxx_example_01
* radio_cxx_example_01
* separator_cxx_example_01
* slider_cxx_example
* spinner_cxx_example
* table_cxx_example_01
* table_cxx_example_02
* thumb_cxx_example_01

Added documentation for the above examples, as well as how using lambdas
with C++ elm binding. How to use autohide feature and how to use the C++
wrappers to create windows, widgets and call Eo functions from them with
automatic C++ type conversion and how to use signals from C++.

8 years agoAdded elm_general.eot file to EXTRA_DIST
Felipe Magno de Almeida [Tue, 25 Aug 2015 05:37:42 +0000 (02:37 -0300)]
Added elm_general.eot file to EXTRA_DIST

Fixes distcheck

8 years agotheme: mistypo in 2927b6a37990aec0aa9b325a4727bd11ec526986
ChunEon Park [Tue, 25 Aug 2015 05:07:30 +0000 (14:07 +0900)]
theme: mistypo in 2927b6a37990aec0aa9b325a4727bd11ec526986

c:\. not c:/

8 years agotheme: fix theme file path parsing issue on windows.
ChunEon Park [Tue, 25 Aug 2015 04:10:33 +0000 (13:10 +0900)]
theme: fix theme file path parsing issue on windows.

':' is usually regarded as the delimetr for new theme path
but it uses to look up the drive, ie, c: on windows, on the other hand.
this patch fixes to determine wheter ':' is used for drive name or delimeter.

@fix

8 years agoscroller: fix memory leak on keys traversal
Amitesh Singh [Tue, 25 Aug 2015 04:05:05 +0000 (09:35 +0530)]
scroller: fix memory leak on keys traversal

@fix

8 years agoscroller: fix the misstake. change && -> ||
Jaehwan Kim [Mon, 24 Aug 2015 04:38:08 +0000 (13:38 +0900)]
scroller: fix the misstake. change && -> ||

@fix

8 years agotest_genlist: fix a typo
Amitesh Singh [Fri, 21 Aug 2015 04:02:45 +0000 (09:32 +0530)]
test_genlist: fix a typo

8 years agoelm_win: set wm rotation hints _elm_win_xwin_update().
Seunghun Lee [Thu, 20 Aug 2015 05:11:55 +0000 (14:11 +0900)]
elm_win: set wm rotation hints _elm_win_xwin_update().

Summary:
if app sets available rotations before invoking elm_win_alpha_set(),
wm rotation doesn't work.
this patch fixes it.

Test Plan: N/A

Reviewers: jypark

Reviewed By: jypark

Differential Revision: https://phab.enlightenment.org/D2946

8 years agotest_scroller: Fix item count variable
Vaibhav Gupta [Wed, 19 Aug 2015 06:35:49 +0000 (12:05 +0530)]
test_scroller: Fix item count variable

Summary:
Since the _count variable is static, the buttons which are added
to scroller, get text value ahead of previously added count, instead
of starting from 1 every time a new window is opened for the example.

Signed-off-by: Vaibhav Gupta <g.vaibhav1@samsung.com>
Test Plan:
Following is the test:
1. Open Scroller 3 sample
2. Add some items and note the "Item count value of added buttons
3. Close the sample
4. Re-open Scroller 3 sample, and again add some items
5. Observe the "Item count" text of added buttons.

Reviewers: raster, Hermet, singh.amitesh

Subscribers: sachin.dev

Differential Revision: https://phab.enlightenment.org/D2959

8 years agogenlist: remove unnecessary bracket
Amitesh Singh [Wed, 19 Aug 2015 04:41:53 +0000 (10:11 +0530)]
genlist: remove unnecessary bracket

8 years agoelm popup - simplify if logic to be more compact and readable
Carsten Haitzler (Rasterman) [Tue, 18 Aug 2015 05:34:30 +0000 (14:34 +0900)]
elm popup - simplify if logic to be more compact and readable

8 years agopopup: Exceptionally set since as 1.15.1
Daniel Juyung Seo [Mon, 17 Aug 2015 16:22:14 +0000 (01:22 +0900)]
popup: Exceptionally set since as 1.15.1

This is exceptionall case.
This was not pushed to 1.15 but has to be pushed to 1.15.1 due to a
significant popup bug.

8 years agotest_table: Add variable padding config in the padding test.
Daniel Juyung Seo [Mon, 17 Aug 2015 16:21:36 +0000 (01:21 +0900)]
test_table: Add variable padding config in the padding test.

8 years agopopup: Fix wrong since version in the doc.
Daniel Juyung Seo [Mon, 17 Aug 2015 15:32:09 +0000 (00:32 +0900)]
popup: Fix wrong since version in the doc.

8 years agospinner: Remove unnecessary temporary variable.
Daniel Juyung Seo [Mon, 17 Aug 2015 15:20:02 +0000 (00:20 +0900)]
spinner: Remove unnecessary temporary variable.

Follow elm_layout_theme_set usage convention.

8 years agomultibuttonentry: check return value from elm_layout_theme_set
Stefan Schmidt [Mon, 17 Aug 2015 11:32:14 +0000 (13:32 +0200)]
multibuttonentry: check return value from elm_layout_theme_set

CID: 1294253

8 years agoEntry: fix cursor repositioning on theme_apply
Daniel Hirt [Mon, 17 Aug 2015 05:34:21 +0000 (08:34 +0300)]
Entry: fix cursor repositioning on theme_apply

Summary:
The original code did not consider the case where the text will be
reapplied by chunks. The repositioning of the cursor should be postponed
to when the idler work is done, or not required at all.
Fixes T2646.
@fix

Reviewers: NikaWhite

Reviewed By: NikaWhite

Maniphest Tasks: T2646

Differential Revision: https://phab.enlightenment.org/D2952

8 years agoelm theme - add a blank focus style if you want invisible focus
Carsten Haitzler (Rasterman) [Mon, 17 Aug 2015 01:48:47 +0000 (10:48 +0900)]
elm theme - add a blank focus style if you want invisible focus

in some cases you may want a widget to focus but not to get a blue
hilightaround it - thus provide a blank focus style just for this.

@feature

8 years agopopup: fix content_area resize in case of custom theme
Amitesh Singh [Sat, 15 Aug 2015 18:53:44 +0000 (00:23 +0530)]
popup: fix content_area resize in case of custom theme

Send elm,scroll,enable/disable signals in theme_apply.
It is a fix of 0891ac5cfc2710d0c89034
Thanks to Dave for reporting this issue.

8 years agolist: fix crash while setting nearest item in viewport
Amitesh Singh [Sat, 15 Aug 2015 17:16:51 +0000 (22:46 +0530)]
list: fix crash while setting nearest item in viewport

This is an example of classic code copy and paste mistake.
Probably inspired from similar code in genlist/gengrid.
We were actually deleting the other items (except selected one) in
viewport in _elm_list_nearest_visible_item_get() which results into crash
while deleting the list object.

@fix

Resolves: T2662

8 years agopopup: make scroller optional in popup
Amitesh Singh [Sat, 15 Aug 2015 15:32:33 +0000 (21:02 +0530)]
popup: make scroller optional in popup

Summary:
@feature

Resolves: T2651

Test Plan:
1. elementary_test -to "popup"
2. Enable/disable checkbox named "Enable popup scoller"

Reviewers: raster, herb, herdsman, SanghyeonLee, tasn, simotek, cedric, jeffhoogland

Subscribers: seoz

Differential Revision: https://phab.enlightenment.org/D2945

8 years agoview_list: small optimization reducing memory consumption using Eo_Event array of...
Cedric BAIL [Sat, 15 Aug 2015 10:43:05 +0000 (12:43 +0200)]
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.

8 years agofocus: add the comment about focus origin property.
Jaehwan Kim [Fri, 14 Aug 2015 14:59:06 +0000 (23:59 +0900)]
focus: add the comment about focus origin property.

8 years agoelm_gengrid:Added Eolian changes in gengrid reorder Api
Anand [Fri, 14 Aug 2015 06:21:02 +0000 (09:21 +0300)]
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

8 years agoGengrid: Set focus after item looping
Yeshwanth Reddivari [Fri, 14 Aug 2015 05:50:30 +0000 (11:20 +0530)]
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

8 years agocnp: redo wayland drop to nul terminate for text_uri drops and free on every drop
Mike Blumenkrantz [Thu, 13 Aug 2015 19:45:19 +0000 (15:45 -0400)]
cnp: redo wayland drop to nul terminate for text_uri drops and free on every drop

@fix

8 years agowin: declare elm_win_wm_rotation_available_rotations_set
Jérémy Zurcher [Thu, 13 Aug 2015 19:41:27 +0000 (21:41 +0200)]
win: declare elm_win_wm_rotation_available_rotations_set

this should not have been removed in a0fdbad

8 years agocnp: only nul terminate wayland drops for text type drops
Mike Blumenkrantz [Thu, 13 Aug 2015 19:27:14 +0000 (15:27 -0400)]
cnp: only nul terminate wayland drops for text type drops

also move data allocation into block where dropping is guaranteed

@fix

8 years agocnp: end wayland drag on allocation failure
Mike Blumenkrantz [Thu, 13 Aug 2015 19:18:55 +0000 (15:18 -0400)]
cnp: end wayland drag on allocation failure

@fix

8 years agocnp: pass wayland drop event size to handler, do not nul terminate drop data
Mike Blumenkrantz [Thu, 13 Aug 2015 19:10:52 +0000 (15:10 -0400)]
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

8 years agocnp: fix wayland drop format selection
Mike Blumenkrantz [Thu, 13 Aug 2015 18:51:17 +0000 (14:51 -0400)]
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

8 years agocnp: initialize Elm_Selection_Data.action for wayland drops
Mike Blumenkrantz [Thu, 13 Aug 2015 18:49:28 +0000 (14:49 -0400)]
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

8 years agocnp: init wayland dnd handlers upon creating the first drop target
Mike Blumenkrantz [Thu, 13 Aug 2015 18:48:35 +0000 (14:48 -0400)]
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

8 years agowin: convert docs
Daniel Kolesa [Thu, 13 Aug 2015 15:46:57 +0000 (16:46 +0100)]
win: convert docs

With this, documentation conversion in elm is complete.

8 years agogengrid: convert docs
Daniel Kolesa [Thu, 13 Aug 2015 15:05:38 +0000 (16:05 +0100)]
gengrid: convert docs

8 years agolayout: convert docs
Daniel Kolesa [Thu, 13 Aug 2015 13:21:49 +0000 (14:21 +0100)]
layout: convert docs

8 years agoelm theme - conformant - fix to have proper min size of conformant
Carsten Haitzler (Rasterman) [Thu, 13 Aug 2015 10:26:52 +0000 (19:26 +0900)]
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

8 years agofocus: item focus moves by geometry.
Jaehwan Kim [Thu, 13 Aug 2015 04:45:21 +0000 (13:45 +0900)]
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

8 years agotest_gengrid: change the min size of gengrid
Jaehwan Kim [Thu, 13 Aug 2015 04:32:43 +0000 (13:32 +0900)]
test_gengrid: change the min size of gengrid

8 years agoentry: fix since tag for entry_input_panel_show_on_demand_set()
Amitesh Singh [Wed, 12 Aug 2015 18:13:29 +0000 (23:43 +0530)]
entry: fix since tag for entry_input_panel_show_on_demand_set()

8 years agomap: convert docs
Daniel Kolesa [Wed, 12 Aug 2015 16:12:16 +0000 (17:12 +0100)]
map: convert docs

8 years agoelementary: Fix Copy and Paste test to actually paste clipboard text
Chris Michael [Wed, 12 Aug 2015 14:18:41 +0000 (10:18 -0400)]
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>
8 years agodatetime: convert docs
Daniel Kolesa [Wed, 12 Aug 2015 12:45:30 +0000 (13:45 +0100)]
datetime: convert docs

8 years agoweb: convert docs
Daniel Kolesa [Wed, 12 Aug 2015 11:45:31 +0000 (12:45 +0100)]
web: convert docs

8 years agogenlist_item: convert docs
Daniel Kolesa [Wed, 12 Aug 2015 11:22:14 +0000 (12:22 +0100)]
genlist_item: convert docs

8 years agofocus: add the focus region show mode
Jaehwan Kim [Wed, 12 Aug 2015 08:25:15 +0000 (17:25 +0900)]
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

8 years agoFix docs for elm_object_tooltip_orient_set
Dave Andreoli [Wed, 12 Aug 2015 07:15:09 +0000 (09:15 +0200)]
Fix docs for elm_object_tooltip_orient_set

The function is not visible in docs,
this should make it visible