Commit Graph

10614 Commits

Author SHA1 Message Date
Carsten Haitzler 19e8e05f8b 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
2015-09-02 19:34:06 +09:00
Carsten Haitzler cf3e5af90e 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
2015-09-02 19:20:04 +09:00
Davide Andreoli b20526c32e Genlist: add homogeneos mode to the tree test
show tree+homogeneous brackage, as explained in T2708
2015-09-01 20:08:42 +02:00
Davide Andreoli a7bcbeb1b4 Genlist test: cosmetics
* add separator comments between different tests
* keep function definitions on 2 lines
2015-09-01 19:34:43 +02:00
Daniel Zaoui 33d21ca560 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
2015-09-01 11:16:58 +03:00
Amitesh Singh 7caa6d6830 genlist: fix indentation & remove whitespaces 2015-09-01 08:45:38 +05:30
Jaehwan Kim 290e0a4ce5 gengrid: fix crash issue.
Sometimes the focused_item can be null.

@fix
2015-08-31 16:21:57 +09:00
WooHyun Jung 04aa8dc109 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
2015-08-31 16:15:55 +09:00
Hosang Kim 74bd15f5bf 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
2015-08-28 21:12:30 +09:00
Umesh Tanwar 01117dee6c 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
2015-08-28 20:40:43 +09:00
Andrii Kroitor a15f83cc49 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
2015-08-28 20:18:23 +09:00
Vaibhav Gupta 55b361bcc4 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
2015-08-28 20:03:35 +09:00
Shilpa Singh 6ec080c400 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
2015-08-28 19:52:17 +09:00
Shilpa Singh 6dc7d1b55f 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
2015-08-28 18:28:20 +09:00
Hosang Kim b4f525e140 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
2015-08-28 18:08:15 +09:00
Amitesh Singh 5483d064c7 test_gengrid: add item_select_on_focus_disabled option in gengrid2 test 2015-08-28 13:59:52 +05:30
Vivek Ellur 870565374a 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
2015-08-28 16:30:27 +09:00
Vivek Ellur f75903f81d 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
2015-08-28 16:16:37 +09:00
Vivek Ellur a26270b439 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
2015-08-28 16:14:31 +09:00
Vivek Ellur a75d307b01 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
2015-08-28 15:58:54 +09:00
Jee-Yong Um 44db6e1c38 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
2015-08-28 15:56:34 +09:00
woochan lee 08cb9b61fd 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
2015-08-28 15:51:16 +09:00
Vaibhav Gupta 261b0b5328 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
2015-08-28 12:04:49 +05:30
Amitesh Singh 3e6351541f gengrid: fix item looping in case of horizontal mode
This mistake is done in a8afaebf3109f1cb8e397e29
2015-08-28 10:34:52 +05:30
Carsten Haitzler d0e081395f elm win - fix to ensure smart calc is done before show
@fix
2015-08-28 12:20:36 +09:00
Carsten Haitzler b13127532c elm test EXPLODE! feature! explore widgets and their content!
hit ctrl+middle mouse on something...
2015-08-28 12:20:01 +09:00
Davide Andreoli 6df567fa17 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
2015-08-27 21:40:08 +02:00
Amitesh Singh 0a6e5c64d6 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
2015-08-26 22:38:37 +05:30
Amitesh Singh 44c8e28698 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
2015-08-26 21:04:36 +05:30
Vincent Torri 51451dc91b Add missing documentation of DirectDraw rendering 2015-08-26 16:25:15 +02:00
Amitesh Singh f0f2e7dcaf 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
2015-08-26 15:36:39 +05:30
Tom Hacohen 9d5aea4d81 Elm win: Fix according to the new behaviour of parent_set.
This new behaviour was introduced in
9c78ee0bf4.
2015-08-26 10:48:16 +01:00
Amitesh Singh d28822560e gengrid: add curly braces to avoid ambiguous 'if' 2015-08-26 14:38:44 +05:30
Seunghun Lee ea29a24327 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
2015-08-25 20:42:17 +09:00
Hosang Kim 176f2ba06a 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
2015-08-25 20:05:57 +09:00
Luciana Magno de Almeida 4517e70a5e 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++.
2015-08-25 03:42:34 -03:00
Felipe Magno de Almeida 8c5e840278 Added elm_general.eot file to EXTRA_DIST
Fixes distcheck
2015-08-25 02:37:42 -03:00
ChunEon Park 09b2d01a25 theme: mistypo in 2927b6a37990aec0aa9b325a4727bd11ec526986
c:\. not c:/
2015-08-25 14:07:30 +09:00
ChunEon Park b27d821b82 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
2015-08-25 13:10:33 +09:00
Amitesh Singh fe271ff8e6 scroller: fix memory leak on keys traversal
@fix
2015-08-25 09:35:05 +05:30
Jaehwan Kim bb6ac8852b scroller: fix the misstake. change && -> ||
@fix
2015-08-24 13:38:19 +09:00
Amitesh Singh 1e0b1325fb test_genlist: fix a typo 2015-08-21 09:32:45 +05:30
Seunghun Lee 10f5587cd9 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
2015-08-20 14:11:55 +09:00
Vaibhav Gupta 040a35aae5 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
2015-08-19 12:05:49 +05:30
Amitesh Singh 1cbeca359d genlist: remove unnecessary bracket 2015-08-19 10:11:53 +05:30
Carsten Haitzler 9118eaf19d elm popup - simplify if logic to be more compact and readable 2015-08-18 14:34:30 +09:00
Daniel Juyung Seo a21befa405 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.
2015-08-18 01:22:20 +09:00
Daniel Juyung Seo 3214aad129 test_table: Add variable padding config in the padding test. 2015-08-18 01:21:36 +09:00
Daniel Juyung Seo 6427c01671 popup: Fix wrong since version in the doc. 2015-08-18 00:32:09 +09:00
Daniel Juyung Seo 6c8356dcd9 spinner: Remove unnecessary temporary variable.
Follow elm_layout_theme_set usage convention.
2015-08-18 00:20:04 +09:00