Vitalii Vorobiov [Fri, 15 May 2015 02:02:47 +0000 (11:02 +0900)]
Elm_Notify: adding elm_object_part_text_set/get functionality
Summary:
Currently elm_notify doesn't allow to set or get text if
user's style contain some text parts and he need to set text into them.
Reviewers: cedric, seoz
Subscribers: raster, stefan_schmidt, reutskiy.v.v
Differential Revision: https://phab.enlightenment.org/D1333
Cedric BAIL [Thu, 14 May 2015 19:26:44 +0000 (21:26 +0200)]
elementary: use portable way to get tmp and home environment.
ChunEon Park [Thu, 14 May 2015 13:21:05 +0000 (22:21 +0900)]
genlist: fix to return item style correctly.
Since the genlist items can be unrealized,
they own the tooltip strings in their item field.
Also, the tooltip string should be returned with it.
@fix
Daniel Kolesa [Thu, 14 May 2015 10:27:32 +0000 (11:27 +0100)]
eo: fix according to latest eolian changes
Lukasz Stanislawski [Wed, 13 May 2015 13:37:47 +0000 (15:37 +0200)]
atspi: add ACTIVE state to elm_win
Lukasz Stanislawski [Wed, 13 May 2015 09:38:20 +0000 (11:38 +0200)]
atspi: set FOCUSABLE state only when widget has no focusable children
AT-SPI2 specification states that active window can have only one widget
with FOCUSED state. This differs from elementary design which assumes
that whole elementary widget tree branch is focused.
Patch assumes that if a widget have no focusable children and can have
focus it can be marked as FOCUSABLE on atspi bus.
Lukasz Stanislawski [Wed, 13 May 2015 08:12:27 +0000 (10:12 +0200)]
atspi: do not return ELM_ATSPI_STATE_ACTIVE when widget is enabled.
According to atspi specification ATSPI_STATE_ACTIVE is reserved
only for windows having keyboard focus.
Lukasz Stanislawski [Wed, 13 May 2015 07:57:16 +0000 (09:57 +0200)]
atspi: handle state change notifications in on_focus function
Ji-Youn Park [Wed, 13 May 2015 11:57:36 +0000 (20:57 +0900)]
elm_win: Add elm win key grab. If keyrouter support several keygrab mode, apps can use it.
Daniel Kolesa [Tue, 12 May 2015 15:25:13 +0000 (16:25 +0100)]
eo: sync with latest Eolian changes and introduce a harmless temporary hack
Lukasz Stanislawski [Tue, 12 May 2015 13:30:52 +0000 (15:30 +0200)]
atspi: add component interface to elm_widget_item objects.
Lukasz Stanislawski [Tue, 12 May 2015 13:23:21 +0000 (15:23 +0200)]
atspi: fix accessible_at_point method to match specification.
Daniel Kolesa [Mon, 11 May 2015 14:25:29 +0000 (15:25 +0100)]
eo: fix up the remaining doc comments
Daniel Kolesa [Mon, 11 May 2015 14:11:28 +0000 (15:11 +0100)]
elm_widget_item: fix doc comments
Lukasz Stanislawski [Wed, 29 Apr 2015 13:08:57 +0000 (15:08 +0200)]
atspi: more org.a11y.atspi.Window signals is broadcasted.
Vitor Sousa [Mon, 4 May 2015 21:33:17 +0000 (18:33 -0300)]
elm_win: Move enums to elm_win.eo
Move enums from elm_win_common.h to elm_win.eo in order to make them
more accessible for bindings.
Moved the include for elm_win.eo.legacy.h to the top of elm_win_legacy.h
to allow the use of the generated types in the function declarations.
Vitor Sousa [Fri, 17 Apr 2015 22:28:51 +0000 (19:28 -0300)]
elm_win_standard: Add elm_win_standard class
This commit adds the Eolian class elm_win_standard.
It is basically a derivation from elm_win that creates a default background.
The intent is to replace the legacy functions elm_win_util_standard_add and
elm_win_util_dialog_add by functions accessible via Eo API functions such as
eo_add and eo_do.
To fully replace an elm_win_util_standard_add call, use:
eo_add(ELM_WIN_STANDARD_CLASS, NULL,
elm_obj_win_name_set("example"),
elm_obj_win_type_set(ELM_WIN_BASIC),
elm_obj_win_title_set("Example"));
Vitor Sousa [Fri, 17 Apr 2015 22:10:11 +0000 (19:10 -0300)]
elm_win: Replace elm_win_constructor by constructing properties
Removed the constructing method elm_obj_win_constructor.
Now "name" and "type" are properties that must be set at creation, like this:
eo_add(ELM_WIN_CLASS, NULL,
elm_obj_win_name_set("example"),
elm_obj_win_type_set(ELM_WIN_BASIC));
Also, the "title" property can be set at creation now.
Daniel Kolesa [Thu, 7 May 2015 16:32:53 +0000 (17:32 +0100)]
eolian: use the new property syntax
Jee-Yong Um [Thu, 7 May 2015 07:21:57 +0000 (16:21 +0900)]
elm_genlist: Emitting signal when content or text is set in genlist item
Summary:
There could be a demand for providing subtle different item styles
according to the existence of icon or text swallowed in genlist item.
For example, if icon exists, genlist item shows icon, or show rectangle
where icon should be placed.
One style can have various form with this signal.
Reviewers: Hermet
Subscribers: Hermet
Differential Revision: https://phab.enlightenment.org/D2348
maxerba [Wed, 6 May 2015 17:03:29 +0000 (19:03 +0200)]
Updating spanish translation
Vitor Sousa [Tue, 5 May 2015 12:16:19 +0000 (13:16 +0100)]
elm_photocam: use Efl.File in Elm_Photocam
Summary:
Address the issue:
- Elm photocam and the file interface clash on file_set.
Specified in the page:
https://phab.enlightenment.org/w/efl_interfaces/
Reviewers: felipealmeida, tasn
Differential Revision: https://phab.enlightenment.org/D2351
Tom Hacohen [Thu, 30 Apr 2015 12:58:26 +0000 (13:58 +0100)]
Win: Make animator,tick signal actually work.
This commit also updated one of the elementary test to show
the new one of doing it.
This lets users of the API just add a callback and automatically
get animation ticks. It's done per window, because update rate
may be different for different windows (think different screens).
Vitor Sousa [Thu, 23 Apr 2015 10:46:48 +0000 (11:46 +0100)]
Revised classes and interfaces in .eo files and added missing attributes
Summary:
Some newly implemented attributes are not present in several classes and
interfaces.
This patch:
- Adds some attributes (like @nullable, @optional, own, free) to several .eo files.
- Changes some eina types names to the equivalent eolian name (like "Eina_Bool" to "bool")
- Adds the element type of lists and iterators.
Reviewers: felipealmeida, tasn
Reviewed By: tasn
Differential Revision: https://phab.enlightenment.org/D2350
Tom Hacohen [Wed, 22 Apr 2015 11:55:13 +0000 (12:55 +0100)]
Elm image: Use correct Eolian namespace syntax.
Tom Hacohen [Wed, 22 Apr 2015 11:53:19 +0000 (12:53 +0100)]
Elm button: Use correct Eolian namespace syntax.
Tom Hacohen [Wed, 22 Apr 2015 11:43:05 +0000 (12:43 +0100)]
Most of elm: Use correct Eolian namespace syntax.
Tom Hacohen [Wed, 22 Apr 2015 11:42:35 +0000 (12:42 +0100)]
Elm bubble: Use correct Eolian namespace syntax.
Tom Hacohen [Wed, 22 Apr 2015 11:42:21 +0000 (12:42 +0100)]
Elm bg: Use correct Eolian namespace syntax.
Tom Hacohen [Wed, 22 Apr 2015 11:40:38 +0000 (12:40 +0100)]
Elm box: Use correct Eolian namespace syntax.
Tom Hacohen [Wed, 22 Apr 2015 11:38:51 +0000 (12:38 +0100)]
Elm container: Use correct Eolian namespace syntax.
Tom Hacohen [Wed, 22 Apr 2015 11:37:40 +0000 (12:37 +0100)]
Elm layout: Use correct Eolian namespace syntax.
Tom Hacohen [Wed, 22 Apr 2015 11:36:32 +0000 (12:36 +0100)]
Elm actionslider: Use correct Eolian namespace syntax.
Tom Hacohen [Wed, 22 Apr 2015 11:35:56 +0000 (12:35 +0100)]
Elm access: Use correct Eolian namespace syntax.
Tom Hacohen [Wed, 22 Apr 2015 11:33:10 +0000 (12:33 +0100)]
Elm widget+item: Use correct Eolian namespace syntax.
Chris Michael [Wed, 6 May 2015 13:24:11 +0000 (09:24 -0400)]
elementary: Remove unused variable
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Stefan Schmidt [Wed, 6 May 2015 14:14:28 +0000 (16:14 +0200)]
Revert "fileselector: Work around initial genlist size bug for release."
This reverts commit
64a4cf4c6847936f5074ad94bf9a8f2283609c3b.
Was only a workaround for the release. Needs proper fixing in the 1.15 cycle now.
Stefan Schmidt [Wed, 6 May 2015 14:00:13 +0000 (16:00 +0200)]
configure: Switch to dev mode again. Merge window for 1.15 is open now.
Stefan Schmidt [Wed, 6 May 2015 13:30:02 +0000 (15:30 +0200)]
release: Update NEWS and bump version for 1.14.0 release
Stefan Schmidt [Wed, 6 May 2015 12:14:33 +0000 (14:14 +0200)]
fileselector: Work around initial genlist size bug for release.
Jupp, its a dirty hack but it helps to work around the problem for now and
get the release out. I will revert it in master after the release and we
keep the bug open until this is fixed and hopefully backported.
ref T2367
Cedric BAIL [Wed, 6 May 2015 12:25:15 +0000 (14:25 +0200)]
naviframe: fix poping top item continuously to empty the naviframe stack.
This should be a proper fix for T1717. Idea is that we build a list of operation
that needs to be deferred in order (including pop and push) so that we are sure
we can pop and push in any order without the need to wait for any event.
Cedric BAIL [Tue, 5 May 2015 16:13:12 +0000 (18:13 +0200)]
naviframe: add a test for checking expected behavior or item_pop.
Lukasz Stanislawski [Mon, 4 May 2015 09:45:06 +0000 (11:45 +0200)]
gengrid: fix mem leak occuring when getting name from atspi interface
Dave Andreoli [Mon, 4 May 2015 00:16:33 +0000 (02:16 +0200)]
Fix slideshow smart events event_info
Changed all the callback_call to pass the correct Elm_Object_Item
(Eo) pointer, was passing Elm_Slideshow_Item_Data instead.
@fix
Also updated the test
Sung-Taek Hong [Fri, 1 May 2015 05:34:11 +0000 (14:34 +0900)]
map: fix scale calculation error
Summary:
As the map shows the nearer to the equator,
the scale of the map should be smaller.
In elm_map, the opposite happens because
meters per pixel was miscalculated.
Thus, calculation is corrected
http://wiki.openstreetmap.org/wiki/Slippy_map_tilenames#Resolution_and_Scale
@fix
Reviewers: seoz, woohyun, Hermet
Differential Revision: https://phab.enlightenment.org/D2426
Umesh Tanwar [Fri, 1 May 2015 05:33:18 +0000 (14:33 +0900)]
Genlist: rectification in _item_focused_next()
Summary:
If current item is disabled, next item should be
taken.
Signed-off-by: Umesh Tanwar <umesh.tanwar@samsung.com>
@fix
Reviewers: raster, Hermet
Subscribers: singh.amitesh, sachin.dev
Differential Revision: https://phab.enlightenment.org/D2458
Amitesh Singh [Fri, 1 May 2015 05:32:34 +0000 (14:32 +0900)]
entry: Fix memory leak.
Summary:
This fixes memory leak in case of txt is NULL
@Fix
Signed-off-by: Amitesh Singh <amitesh.sh@samsung.com>
Reviewers: seoz, raster, Hermet
Subscribers: seoz, sachin.dev
Differential Revision: https://phab.enlightenment.org/D2459
Umesh Tanwar [Fri, 1 May 2015 03:05:07 +0000 (12:05 +0900)]
Genlist: fix multiselect for ELM_OBJECT_SELECT_MODE_DISPLAY_ONLY select_mode
Summary:
fix the _item_multi_select_down() function for
ELM_OBJECT_SELECT_MODE_DISPLAY_ONLY select_mode.
_item_multi_select_up is right, but _item_multi_select_down is wrong.
So fixed this.
Signed-off-by: Umesh Tanwar <umesh.tanwar@samsung.com>
@fix
Reviewers: Hermet, raster
Reviewed By: raster
Subscribers: sachin.dev, singh.amitesh
Differential Revision: https://phab.enlightenment.org/D2452
Cedric BAIL [Wed, 29 Apr 2015 08:30:18 +0000 (10:30 +0200)]
win: remove dead code.
pointer.ee was never set. This lead to some useless ERR discovered by klasyc, thanks.
Amitesh Singh [Tue, 28 Apr 2015 09:44:07 +0000 (11:44 +0200)]
slider: remove duplicated lines in slider test.
Reviewers: seoz, raster, Hermet
Reviewed By: Hermet
Subscribers: cedric, seoz
Differential Revision: https://phab.enlightenment.org/D2389
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
kabeer khan [Tue, 28 Apr 2015 09:42:55 +0000 (11:42 +0200)]
photocam: update photocam example to demonstrate photocam orientation.
Summary: Signed-off-by: kabeer khan <kabeer.khan@samsung.com>
Reviewers: cedric, raster
Differential Revision: https://phab.enlightenment.org/D2421
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
kabeer khan [Tue, 28 Apr 2015 09:38:50 +0000 (11:38 +0200)]
Revert "elm_photocam: Limiting image reload in zoom in/out"
Summary:
After discussion with DaveMDS, D2402 is a wrong fix and must be reverted.
This reverts commit
a7978f931a4b67820b6b65758ce6f362c1ebec70.
Reviewers: cedric, DaveMDS
Subscribers: jpeg
Differential Revision: https://phab.enlightenment.org/D2437
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Stefan Schmidt [Mon, 27 Apr 2015 12:49:00 +0000 (14:49 +0200)]
release: Update NEWS and bump version for 1.14.0-beta3 release
Hosang Kim [Mon, 27 Apr 2015 04:55:10 +0000 (13:55 +0900)]
Fix scrollbar position issue when content is resized.
Summary:
When content is resized, scrollbar's position is not updated.
Add bar position update after bar size is changed.
Test Plan: elementary_test -> scroller3
Reviewers: seoz, jaehwan, woohyun, cedric, raster, kimcinoo, Hermet
Reviewed By: Hermet
Differential Revision: https://phab.enlightenment.org/D2419
Andrii Kroitor [Mon, 27 Apr 2015 01:53:28 +0000 (10:53 +0900)]
elm_toolbar: fix memory leaks
Summary:
incorrect evas_object_box_children_get usage: returned list must be freed
@fix
Reviewers: cedric, seoz, raster, reutskiy.v.v, Hermet
Differential Revision: https://phab.enlightenment.org/D2412
Vitalii Vorobiov [Mon, 27 Apr 2015 01:47:22 +0000 (10:47 +0900)]
elm_multibuttonentry: fix label position and size defects
Summary:
1.) Fixing defective label position.
Whenever user create multibuttonentry and set some text into label,
label will be shown at zero point (0,0) of MultiButtonEntry parent.
But then, after clicking on any button of MBE object, label position forced to
be recalculated and changes it's position.
2.) Fixing wrong size when label is not used.
When label is not being used, buttons shift by few pixels,
and it looks like if label is actually there, which is wrong.
@fix
Reviewers: cedric, seoz, raster, reutskiy.v.v, Hermet
Reviewed By: Hermet
Subscribers: NikaWhite
Differential Revision: https://phab.enlightenment.org/D2416
Cedric BAIL [Sat, 25 Apr 2015 18:08:39 +0000 (20:08 +0200)]
theme: fix typo, thanks arrowdodger.
Woochan Lee [Fri, 24 Apr 2015 07:27:15 +0000 (16:27 +0900)]
spinner: Fix entry not inactive even gets an enter key cb.
Summary:
The entry inactive signal emitted when finish spinner value set.
but the active signal emitted after that. so it makes weird view state.
The function 'key_action_toggle()' called twice. (for entry, spinner)
event propagate called this func twice and its make this issue.
This patch makes to ignore toggle event when entry is not visible.
T2262
Test Plan:
Run elementary_test, execute spinner widget sample.
Click the first spinner.
Input something on entry.
Press enter key.
Check the issue.
Reviewers: raster, Hermet
Subscribers: kuuko
Differential Revision: https://phab.enlightenment.org/D2411
Woochan Lee [Fri, 24 Apr 2015 07:22:07 +0000 (16:22 +0900)]
test_naviframe_complex.c: naviframe prev button auto pushed set as false.
Summary:
There is a invisible prev button. but it can get a focus and delete the current naviframe item.
Its not intend to added here i think, so i add a function that not add prev button automatically.
Test Plan:
Run elementary_test -> Naviframe Complex
Move focus use arrow key button and input enter key on prev button.
Click the View list, check the ERR msgs.
Reviewers: Jaehyun, Hermet
Reviewed By: Hermet
Differential Revision: https://phab.enlightenment.org/D2420
Vitalii Vorobiov [Thu, 23 Apr 2015 02:05:31 +0000 (11:05 +0900)]
elm_multibuttonentry: change theme_set API to provide full widget theming
Summary:
While setting theme currently changes style and theme to all button and
whole multibuttonentry object, it doesn't change few other parts of this object.
Part are, for examples, "guidetext", "label" and "closedbutton".
Fixing this sad mistake leads to be able to create different styles for such
wonderful widget.
@fix
Reviewers: cedric, seoz, raster, reutskiy.v.v, Hermet
Reviewed By: Hermet
Subscribers: NikaWhite
Differential Revision: https://phab.enlightenment.org/D2407
Stefan Schmidt [Wed, 22 Apr 2015 15:08:59 +0000 (17:08 +0200)]
tests/elm_test_image: Give a proper path to test images
../../ does not always work. VPATH builds like distcheck have a different
dir layout.
ref T2028
Tom Hacohen [Wed, 22 Apr 2015 12:33:40 +0000 (13:33 +0100)]
Test gengrid: use the gengrid enum, and not the genlist one.
They are probably in sync, but this is just wrong.
Especially if people copy/paste this.
Tom Hacohen [Wed, 22 Apr 2015 12:31:10 +0000 (13:31 +0100)]
Spinner: use fabs for floating point absolute value.
Tom Hacohen [Wed, 22 Apr 2015 12:29:21 +0000 (13:29 +0100)]
Gesture layer: fabs->abs for int parameters.
Clear more correct clang warnings.
kabeer khan [Wed, 22 Apr 2015 08:05:51 +0000 (17:05 +0900)]
elm_photocam: Limiting image reload in zoom in/out
Summary:
Reloading image in zoom in/out only if its previous orientation was changed
@fix
Signed-off-by: kabeer khan <kabeer.khan@samsung.com>
Reviewers: jpeg, raster, cedric
Differential Revision: https://phab.enlightenment.org/D2402
Vaibhav Gupta [Wed, 22 Apr 2015 07:06:14 +0000 (16:06 +0900)]
Genlist: Fix for memory leak
Summary:
Fix memory leak in
API _elm_genlist_item_elm_interface_atspi_accessible_name_get()
added free after _elm_util_mkup_to_text.
@fix
Reviewers: raster, singh.amitesh, Hermet
Reviewed By: Hermet
Subscribers: sachin.dev, singh.amitesh
Differential Revision: https://phab.enlightenment.org/D2390
Jee-Yong Um [Wed, 22 Apr 2015 06:53:12 +0000 (15:53 +0900)]
elm_transit: Add missing "EAPI" prefix for elm_transit_smooth_get()
Summary: Add "EAPI" prefix for elm_transit_smooth_get() in elm_transit.h
Reviewers: Hermet
Reviewed By: Hermet
Differential Revision: https://phab.enlightenment.org/D2396
Youngbok Shin [Wed, 22 Apr 2015 06:46:43 +0000 (15:46 +0900)]
entry: Fix elm_entry_input_panel_layout_get API to return ELM_INPUT_PANEL_LAYOUT_INVALID when it fails.
Summary:
Even if the given Evas_Object is NULL, API returns ELM_INPUT_PANEL_LAYOUT_NORMAL.
But, ELM_INPUT_PANEL_LAYOUT_INVALID seems proper in that case.
Test Plan:
Call the following API with NULL.
elm_entry_input_panel_layout_get(NULL);
Reviewers: woohyun, Hermet, eunue
Reviewed By: eunue
Differential Revision: https://phab.enlightenment.org/D2404
kabeer khan [Wed, 22 Apr 2015 04:24:19 +0000 (13:24 +0900)]
elm_photocam: Fixed T2337, zoom in/out rotated photocam image
Summary:
Currently zoom in/out rotated or flipped image was causing lost of orientation
and aspect of image is also changed. Fixed that by reloading image on pan_obj on zoom
@fix
Signed-off-by: kabeer khan <kabeer.khan@samsung.com>
Reviewers: DaveMDS, jpeg, cedric, raster
Subscribers: jpeg
Differential Revision: https://phab.enlightenment.org/D2381
Amitesh Singh [Wed, 22 Apr 2015 02:41:41 +0000 (11:41 +0900)]
interface scroll: handle wanted x coordinates in case of mirroring.
Summary:
In case of mirror enabled, wanted x should come from _elm_scroll_x_mirrored_get().
This defect is visible in case of some fancy effects on scroller (map).
@Fix
Reviewers: raster, Hermet
Subscribers: herdsman, sachin.dev, kimcinoo, eagleeye, seoz
Differential Revision: https://phab.enlightenment.org/D2363
Mike Blumenkrantz [Tue, 21 Apr 2015 19:24:41 +0000 (15:24 -0400)]
colorclass: move header behind EFL_BETA_API_SUPPORT
may end up iterating a bit more on this, don't want to be stuck with api
Jaeun Choi [Tue, 21 Apr 2015 06:43:04 +0000 (15:43 +0900)]
elm_segment_control: mark default return value in eolian API
elm_segment_control_item_index_get should return -1 when input parameter is NULL.
@fix
Jaeun Choi [Tue, 21 Apr 2015 05:30:41 +0000 (14:30 +0900)]
elm: add safety check
when insert a new item before/after an item, the relative item should not be NULL.
this patch fixes naviframe, gengrid, genlist, list, and toolbar.
@fix
Amitesh Singh [Tue, 21 Apr 2015 02:58:32 +0000 (11:58 +0900)]
multibuttonentry: This fixes item,clicked cb broken issue.
Summary: This fixes T2334.
Test Plan: elementary_test -> multibuttonentry
Reviewers: raster, Hermet
Reviewed By: Hermet
Subscribers: DaveMDS, seoz, sachin.dev
Maniphest Tasks: T2334
Differential Revision: https://phab.enlightenment.org/D2379
ChunEon Park [Tue, 21 Apr 2015 02:54:07 +0000 (11:54 +0900)]
doc: improve ambigious doc descriptions.
even descriptions weren't matched each other.
Amitesh Singh [Tue, 21 Apr 2015 02:39:50 +0000 (11:39 +0900)]
intf scroller: Added wheel_disable_set/get API descriptions.
Reviewers: herdsman, raster, Hermet
Reviewed By: Hermet
Subscribers: seoz
Differential Revision: https://phab.enlightenment.org/D2384
Stefan Schmidt [Mon, 20 Apr 2015 10:38:33 +0000 (12:38 +0200)]
release: Update NEWS and bump version for 1.14.0-beta2 release
Tom Hacohen [Mon, 20 Apr 2015 09:18:42 +0000 (10:18 +0100)]
Elm win: Add a warning to wl_id_get func.
As discussed on IRC, users of this API should be warned, as it's
almost always a bad idea.
ChunEon Park [Mon, 20 Apr 2015 05:24:10 +0000 (14:24 +0900)]
Revert "checkbox: Adding third state (Indeterminate) support in checkbox"
This reverts commit
d0507e117acd5bbfdecf4c43f1d338c00802af44.
oops this patch wasn't intended.
Andrii Kroitor [Mon, 20 Apr 2015 05:17:20 +0000 (14:17 +0900)]
elm_clock: fix theme apply
Summary:
theme change was delayed untill some other change (i.e. mode change, clock update)
@fix
Test Plan:
1. create new style "test" for elm_clock
2. add this style to theme
3. compare results of following modifications of src/examples/clock_example.c:
```
/* am/pm */
ck = elm_clock_add(win);
elm_object_style_set(ck, "test"); //style is applied before ap_pm set
elm_clock_show_am_pm_set(ck, EINA_TRUE);
```
and
```
/* am/pm */
ck = elm_clock_add(win);
elm_clock_show_am_pm_set(ck, EINA_TRUE);
elm_object_style_set(ck, "test"); //style is applied after ap_pm set
```
ExR: style is applied in both cases
Result without this patch: style is applied only in first case
Reviewers: cedric, seoz, raster, reutskiy.v.v, Hermet
Reviewed By: Hermet
Differential Revision: https://phab.enlightenment.org/D2349
Shobhit [Fri, 17 Apr 2015 08:11:28 +0000 (17:11 +0900)]
checkbox: Adding third state (Indeterminate) support in checkbox
Summary:
Checkbox should support a third state "indeterminate" along with "Checked" and "Unchecked"
This third state is a state of checkbox which is shown when checkbox is neither Checked nor Unchecked.
- Added this new feature on the basis of a boolean variable's value.
- By default this boolean variable is disabled and checkbox will treat like old way.
- While adding this, I kept in mind, that applications which are already using checkbox, should not be affected, so I used 0=False=Unchecked, 1=True=Checked, and 2=Indeterminate
- Also added an example check_example_o2.c, which is using checkbox with both ways, using boolean, and using enum.
- Now also values can be set using boolean values, but it will give a type casting warning. As a boolean doen't support third state, so I used an enum int like.
- Added APIs to enable disable third state mode. elm_check_three_state_mode_set(check_obj, bool_val), and elm_check_three_state_mode_get(check_obj)
- Modified old APIs which were setting or getting states of checkbox.
- Added a state in theme of checkbox, with third state image.
Reviewers: seoz, raster, Sergeant_Whitespace, Hermet
Subscribers: Hermet, Sergeant_Whitespace, sachin.dev
Differential Revision: https://phab.enlightenment.org/D2249
Andrii Kroitor [Fri, 17 Apr 2015 07:52:03 +0000 (16:52 +0900)]
elm_slider: fix theme apply
Summary:
using theme of the object instead of default for subparts.
@fix
Reviewers: cedric, seoz, Hermet, raster, reutskiy.v.v
Differential Revision: https://phab.enlightenment.org/D2370
ChunEon Park [Fri, 17 Apr 2015 07:37:06 +0000 (16:37 +0900)]
multibuttonentry: update longpress signal case.
Since the signal name was changed, usage should be also updated.
ChunEon Park [Fri, 17 Apr 2015 07:32:04 +0000 (16:32 +0900)]
multibuttonentry: changed longpress callback name.
contextually, the longpress triggered by item.
so the name should be item,longpressed
thank Davide Andreoli for reporting.
Mike Blumenkrantz [Thu, 16 Apr 2015 15:58:30 +0000 (11:58 -0400)]
win: add note for (mis)users of elm_win_window_id_get()
this function has a very small use case. if you are outside of this use case,
use a different function.
Chris Michael [Thu, 16 Apr 2015 15:49:41 +0000 (11:49 -0400)]
Revert "elementary: Fix elm_win_window_id_get for wayland"
This reverts commit
257452f46d344b64d611aa555a8aacdd509a492e.
Have to revert this as it breaks E compositor functionality wrt pixmap id.
Chris Michael [Thu, 16 Apr 2015 15:07:17 +0000 (11:07 -0400)]
elementary: Fix elm_win_window_id_get for wayland
Summary: This fixed the elm_win_window_id_get function when running in
wayland to return the ecore_wl_window_id rather than the surface id.
This change is necessary so that anyone calling this function can use
the return value in ecore_wayland function calls.
NB: Thanks to Hermet for pointing this out ! :)
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Stefan Schmidt [Thu, 16 Apr 2015 14:05:02 +0000 (16:05 +0200)]
elm_color_class: Avoid resource leak
We would leak ecc here when we return so we need to free it before.
CID: 1294249
Daniel Kolesa [Thu, 16 Apr 2015 13:24:49 +0000 (14:24 +0100)]
mailmap: update q66
Lukasz Stanislawski [Thu, 16 Apr 2015 11:30:43 +0000 (13:30 +0200)]
atspi: add missing signals array sentiel.
@fix
Stefan Schmidt [Wed, 15 Apr 2015 09:35:27 +0000 (11:35 +0200)]
build: Make sure we remove check-results.xml during cleanup
This file gets created durign a make check run. We need to remove it manually
as it is not tracked otherwise.
Carsten Haitzler (Rasterman) [Wed, 15 Apr 2015 02:03:12 +0000 (11:03 +0900)]
elm - fix repeat event fix - thanks dave
this fixes
2d64175722db124b1e4be6c735503f29e4453015 which was a fix to
elm image always repeating - which it shouldn't
Mike Blumenkrantz [Wed, 15 Apr 2015 00:28:07 +0000 (20:28 -0400)]
toolbar: fix conditional compiler warning in horizontal_set
Dave Andreoli [Tue, 14 Apr 2015 20:19:18 +0000 (22:19 +0200)]
Add missing file_get legacy definition for Video and Layout
was missed from commit:
e5cda41c889f98b6f3f5f63b909f595a7a656cc0
ChunEon Park [Tue, 14 Apr 2015 13:20:22 +0000 (22:20 +0900)]
radio: update doc
Jean-Philippe Andre [Tue, 14 Apr 2015 11:52:38 +0000 (20:52 +0900)]
elm_glview: make_current(NULL, NULL) before delete
The surface and context should not be current when deleted.
Evas GL would work just fine but since it deletes the surface
and context immediately upon request, those should not be
current.
This is a slightly different behaviour from EGL.
Jaeun Choi [Tue, 14 Apr 2015 10:20:16 +0000 (19:20 +0900)]
elm_gengrid: mark cursor_engine_only in data and update state when realized
@fix
Andrii Kroitor [Tue, 14 Apr 2015 02:16:41 +0000 (11:16 +0900)]
spinner: fix entry style in non 'button_layout' mode
Summary:
entry should receive style in both modes
@fix
Reviewers: cedric, seoz, raster, reutskiy.v.v, Sergeant_Whitespace, Hermet
Reviewed By: reutskiy.v.v, Sergeant_Whitespace
Subscribers: Sergeant_Whitespace, reutskiy.v.v
Differential Revision: https://phab.enlightenment.org/D2265
Mike Blumenkrantz [Mon, 13 Apr 2015 17:05:40 +0000 (13:05 -0400)]
colorclass: only perform remote actions if current editor is remote
should fix case of editing local + remote simultaneously
Mike Blumenkrantz [Mon, 13 Apr 2015 17:00:57 +0000 (13:00 -0400)]
colorclass: add reset signal for correctly managing remote colorclass resets
previously this would just perform teh reset locally, which was not intended