Thiep Ha [Thu, 11 Jun 2015 10:05:52 +0000 (12:05 +0200)]
widget: Add null check
Summary: Adding NULL checking when allocate memory.
Reviewers: Hermet, seoz, cedric
Reviewed By: cedric
Differential Revision: https://phab.enlightenment.org/D2663
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Thiep Ha [Thu, 11 Jun 2015 10:05:10 +0000 (12:05 +0200)]
transit: add NULL check for memory allocation.
Summary: Adding Null checking when allocate memory.
Reviewers: Hermet, seoz
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D2662
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
maxerba [Thu, 11 Jun 2015 12:20:06 +0000 (14:20 +0200)]
Updating italian translation
Lukasz Stanislawski [Thu, 11 Jun 2015 08:57:23 +0000 (10:57 +0200)]
list: add atspi SELECTABLE state to elm_list items.
Shinwoo Kim [Tue, 9 Jun 2015 13:05:58 +0000 (14:05 +0100)]
[layout] support mirrored set for layout which is using elm_layout_file_set()
Summary: mirroed mode does not work, if layout uses elm_layout_file_set().
Test Plan:
the following is test code.
[test.edc]
collections {
group {
name: "layout/test";
parts {
part {
name: "bg";
type: RECT;
description {
state: "default" 0.0;
color: 255 255 0 100;
}
}
part {
name: "test.rect";
type: RECT;
description {
state: "default" 0.0;
color: 255 0 0 255;
rel1.to: bg;
rel1.relative: 0.2 0.1;
rel2.to: bg;
rel2.relative: 0.5 0.2;
}
}
} /* parts */
} /* group */
} /* collections */
[test.c]
//Compile with:
//gcc -g test.c -o test `pkg-config --cflags --libs elementary`
#include <Elementary.h>
#include <Ecore_X.h>
static void
_bt_click(void *data, Evas_Object *obj, void *event_info)
{
Eina_Bool mirrored;
Evas_Object *layout;
layout = data;
mirrored = elm_config_mirrored_get();
mirrored = !mirrored;
printf("mirred: %d\n", mirrored);
elm_config_mirrored_set(mirrored);
}
EAPI_MAIN int
elm_main(int argc, char **argv)
{
Evas_Object *win, *box, *layout, *bt, *check;
char buf[PATH_MAX];
elm_app_info_set(elm_main, "elementary", "./test.edj");
elm_policy_set(ELM_POLICY_QUIT, ELM_POLICY_QUIT_LAST_WINDOW_CLOSED);
win = elm_win_add(NULL, "Layout", ELM_WIN_BASIC);
elm_win_autodel_set(win, EINA_TRUE);
box = elm_box_add(win);
evas_object_size_hint_weight_set(box, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
elm_win_resize_object_add(win, box);
evas_object_show(box);
// Adding layout and filling it with widgets
layout = elm_layout_add(win);
evas_object_size_hint_weight_set(layout, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
evas_object_size_hint_align_set(layout, EVAS_HINT_FILL, EVAS_HINT_FILL);
snprintf(buf, sizeof(buf), "./test.edj");
elm_layout_file_set(layout, buf, "layout/test");
elm_box_pack_end(box, layout);
evas_object_show(layout);
bt = elm_button_add(win);
elm_object_text_set(bt, "mirrored");
evas_object_size_hint_weight_set(bt, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
evas_object_size_hint_align_set(bt, EVAS_HINT_FILL, EVAS_HINT_FILL);
evas_object_smart_callback_add(bt, "clicked", _bt_click, layout);
elm_box_pack_end(box, bt);
evas_object_show(bt);
check = elm_check_add(win);
elm_object_text_set(check, "test");
evas_object_size_hint_weight_set(check, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
evas_object_size_hint_align_set(check, EVAS_HINT_FILL, EVAS_HINT_FILL);
elm_box_pack_end(box, check);
evas_object_show(check);
evas_object_resize(win, 500, 500);
evas_object_show(win);
elm_run();
elm_shutdown();
return 0;
}
ELM_MAIN()
Reviewers: seoz, raster, tasn, Hermet
Subscribers: seoz, cedric
Differential Revision: https://phab.enlightenment.org/D2142
Carsten Haitzler (Rasterman) [Tue, 9 Jun 2015 07:43:38 +0000 (16:43 +0900)]
fix list item mode change on elm list
@fix
Carsten Haitzler (Rasterman) [Tue, 9 Jun 2015 07:25:24 +0000 (16:25 +0900)]
elm list - theme - make compress moder work again
someone.. somewhere along the way.. likely a long time ago.. broke
compress mode. likely the addition of the ellipsis value as an
ellipsis position or something related to that broke compatibility,
as this used to work. be that as it may... finding out just where is
virtually impossible, so fix it the simpler way - add elipsis values
Mike Blumenkrantz [Mon, 8 Jun 2015 18:29:04 +0000 (14:29 -0400)]
pager16: add signals for toggling content visibility
Mike Blumenkrantz [Mon, 8 Jun 2015 18:26:15 +0000 (14:26 -0400)]
shelf: use spacer for content sizing, toggle content visibility
Mike Blumenkrantz [Mon, 8 Jun 2015 16:35:54 +0000 (12:35 -0400)]
shelf: use constant rects for eventing
Stefan Schmidt [Mon, 8 Jun 2015 15:20:45 +0000 (17:20 +0200)]
test_win_keygrab: Better use strncpy when copying into fixed size buffer.
We should never copy more than PATH_MAX.
CID: 1298016
Carsten Haitzler (Rasterman) [Sun, 7 Jun 2015 02:22:31 +0000 (11:22 +0900)]
elm theme - toolbar - adjust padding for the toolbar to not look so bad
therw was always a small 2 pixel padding inside the toolbar. it just
looks bad for toolbar so expand out to boundary of toolbar
Lukasz Stanislawski [Fri, 5 Jun 2015 13:59:46 +0000 (15:59 +0200)]
atspi: fix popup role and signal emission
Amitesh Singh [Thu, 4 Jun 2015 09:25:25 +0000 (10:25 +0100)]
tooltip: fix tooltip multi line text issue
Summary:
This is fixed by removing wrap=word from tooltip style.
Resolves: T2034
@fix
Test Plan:
1. elementary_test -> tooltip
2. click "unlock tooltip visibility"
3. check tooltip text. full text is not visible.
Reviewers: seoz, raster, Hermet, cedric, tasn
Reviewed By: tasn
Subscribers: seoz
Differential Revision: https://phab.enlightenment.org/D2606
Lukasz Stanislawski [Wed, 3 Jun 2015 15:36:42 +0000 (17:36 +0200)]
entry: improve at-spi2 accessibility support
* return guide text instead of content
* mask passwords
* set proper at-spi roles when entry enables password mode.
Lukasz Stanislawski [Wed, 3 Jun 2015 14:58:23 +0000 (16:58 +0200)]
atspi: fix signal name
taehyub [Wed, 3 Jun 2015 12:30:49 +0000 (21:30 +0900)]
interface scrollerable: modify the loop_v condition in _elm_scroll_momentum_animator() function
Summary:
change the 'sid->loop_v' condition to '!sid->loop_v' to delete momentum animator
when the vertical scroller reached the end of the content
@fix
Reviewers: raster, Hermet, woohyun
Subscribers: CHAN
Differential Revision: https://phab.enlightenment.org/D2609
Vaibhav Gupta [Wed, 3 Jun 2015 12:19:32 +0000 (21:19 +0900)]
Gengrid: Fix typo in API Documentation.
Summary: Signed-off-by: Vaibhav Gupta <g.vaibhav1@samsung.com>
Reviewers: raster, Hermet
Reviewed By: Hermet
Subscribers: sachin.dev, singh.amitesh
Differential Revision: https://phab.enlightenment.org/D2619
Vaibhav Gupta [Wed, 3 Jun 2015 12:17:49 +0000 (21:17 +0900)]
Genlist: Fix typo in API Documentation
Summary: Signed-off-by: Vaibhav Gupta <g.vaibhav1@samsung.com>
Reviewers: raster, Hermet
Reviewed By: Hermet
Subscribers: sachin.dev, singh.amitesh
Differential Revision: https://phab.enlightenment.org/D2620
shilpa.singh [Wed, 3 Jun 2015 09:41:13 +0000 (10:41 +0100)]
Elm: Add context,open signal in elm_entry.
Summary:
When context,open signal is sent from elm_entry before showing context
menu, dynamic addition of context menu items to entry becomes easier.
@feature
Test Plan:
Run elementary_test
Launch Entry Scrolled test
Right Click on Multiline Markup entry
Reviewers: tasn
Reviewed By: tasn
Subscribers: subodh6129, poornima.srinivasan
Differential Revision: https://phab.enlightenment.org/D2580
Jaehyun Cho [Tue, 2 Jun 2015 10:25:39 +0000 (19:25 +0900)]
examples: Replace setenv() with elm_config_accel_preference_set().
Replace environment value set with elm_config_accel_preference_set.
Jaehyun Cho [Tue, 2 Jun 2015 07:43:20 +0000 (16:43 +0900)]
examples: Replace preferred engine "opengl_x11" with accel preference "3d".
Replace preferred engine "opengl_x11" with accel preference "3d".
Daniel Zaoui [Tue, 2 Jun 2015 05:46:55 +0000 (08:46 +0300)]
Focus: add and fix comments
WooHyun Jung [Tue, 2 Jun 2015 04:48:09 +0000 (13:48 +0900)]
missed from prvious commit
WooHyun Jung [Tue, 2 Jun 2015 04:42:00 +0000 (13:42 +0900)]
elm_focus: added new focus move policy and elm_object_focus_move_policy_set/get
New focus move policy, ELM_FOCUS_MOVE_POLICY_KEY_ONLY, is added.
If you set this policy as base focus move policy, objects cannot steal
focus by using mouse click or mouse in. Only keyboard input (such as Left,
Right, Up, Down, ...) can make focus be moved.
Additaionally, an object can have its own focus move policy by using
elm_object_focus_move_policy_set API.
@feature
Tom Hacohen [Mon, 1 Jun 2015 14:01:57 +0000 (15:01 +0100)]
Elm widget: Fix some Eolian warnings.
ChunEon Park [Fri, 29 May 2015 03:32:02 +0000 (12:32 +0900)]
Revert "Spinner: Add changed callback call when spinner value set."
This reverts commit
8278dff6a742c391f7c04c3de1033574d818dbb6.
This is not good for scenarios and will break the compatibility.
Thanks to David for reporting.
Mike Blumenkrantz [Fri, 29 May 2015 01:34:25 +0000 (21:34 -0400)]
tooltip: fix positioning when tooltip is affixed to a window object
@fix
Mike Blumenkrantz [Thu, 28 May 2015 19:35:35 +0000 (15:35 -0400)]
glview: preserved changed state when altering render mode
fixes the case where glview is marked changed and then the render policy
is modified prior to the render callback executing
@fix
Tom Hacohen [Thu, 28 May 2015 16:47:49 +0000 (17:47 +0100)]
Adjust according to Eo changes.
Mike Blumenkrantz [Thu, 28 May 2015 15:58:46 +0000 (11:58 -0400)]
gengrid/genlist: decrement item counter before triggering item del callback
@fix
SangHyeon Lee [Thu, 28 May 2015 14:07:27 +0000 (23:07 +0900)]
Gengrid: fix mirroring bug in gengrid widget.
Summary:
Below bugs are exist in gengrid widget when use horizontal mode and mirrored set.
1. Gengrid item is placed wrong position when mirrored set.
Current calulation for mirroring in _item_place only consider pan object positions.
if widget is mirrored, item should be placed opposited position so object x position must be
consider in mirroring calculation also.
2. Gengrid scroll(pan) minimum size is returned wrong value when mirroed set.
As the result of 1's calculation present oposite position of items, so align also reversed when mirrored.
but current gengrid didn't change align x so minimum size is return wrong value
and scroller expanded wrong direction.
@fix
Test Plan:
1. run elementary_test and set mirroring On
2. run Gengrid2 in elementary_test
3. see how items are placed by push append button repeatly.
4. see scroller shows correct position and items.
5. change usr/bin/test_gengrid.c to set another align value on gengrid and test again.
Reviewers: raster, seoz, Hermet, jaehwan
Subscribers: Jaehyun, anand.km, eagleeye, singh.amitesh
Differential Revision: https://phab.enlightenment.org/D2553
woochan lee [Thu, 28 May 2015 11:39:32 +0000 (20:39 +0900)]
Spinner: Add changed callback call when spinner value set.
Summary:
There is a code to compare value is changed.
1256: if (sd->val == val) return;
Even value changed the value changed callback didn't called before.
Reviewers: woohyun, shilpasingh, Hermet
Reviewed By: shilpasingh, Hermet
Differential Revision: https://phab.enlightenment.org/D2560
Amitesh Singh [Thu, 28 May 2015 10:59:22 +0000 (19:59 +0900)]
genlist: do a proper clean up in clear().
Summary: Signed-off-by: Amitesh Singh <amitesh.sh@samsung.com>
Reviewers: raster, Hermet
Subscribers: seoz, sachin.dev
Differential Revision: https://phab.enlightenment.org/D2588
ChunEon Park [Thu, 28 May 2015 08:41:49 +0000 (17:41 +0900)]
clipper: removed.
we've discussed and concluded it's unncessary.
Carsten Haitzler (Rasterman) [Thu, 28 May 2015 05:58:47 +0000 (14:58 +0900)]
elm - fix profile handling if ELM_PROFILE is set - dont listen to x msg
@fix
don't listen to x profile set msg if ELM_PROFILE env var is used -
this overrides.
Carsten Haitzler (Rasterman) [Thu, 28 May 2015 03:27:59 +0000 (12:27 +0900)]
elm = fix window norender handling
this delays norender and throttle handling to allow for quick
show/hide etc. changes an app may make so to not jump state so often.
this also fixes an issue wqhere config may change leaving all windows
in norender mode.
Daniel Juyung Seo [Wed, 27 May 2015 17:05:14 +0000 (02:05 +0900)]
po/ko: Updated Korean translation.
Daniel Juyung Seo [Wed, 27 May 2015 16:49:29 +0000 (01:49 +0900)]
examples/evas3d: Use correct variable type for a return value.
Carsten Haitzler (Rasterman) [Wed, 27 May 2015 11:21:30 +0000 (20:21 +0900)]
elm theme - remove commented out efm icon lines so as not to confus people
Lukasz Stanislawski [Wed, 27 May 2015 06:23:17 +0000 (08:23 +0200)]
gengrid: implement Atspi_Selection interface
Allow to select and deselect gengrid items by Assistive Technology
Clients through org.a11y.atspi.Selection dbus interface.
Anand [Tue, 26 May 2015 16:43:09 +0000 (18:43 +0200)]
test_glview: remove warning while compiling the elementary package
Summary:
test_glview.c: In function ‘_print_gl_log’:
test_glview.c:347:10: warning: declaration of ‘log’ shadows a global declaration [-Wshadow]
Reviewers: JackDanielZ
Differential Revision: https://phab.enlightenment.org/D2577
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Lukasz Stanislawski [Tue, 26 May 2015 14:28:35 +0000 (16:28 +0200)]
toolbar: implement Atspi_Selection interface
Allow to select and deselect toolbar items by Assistive Technology
Clients through org.a11y.atspi.Selection dbus interface.
Lukasz Stanislawski [Tue, 26 May 2015 13:34:52 +0000 (15:34 +0200)]
genlist: implement Atspi_Selection interface
Allow to select and deselect genlist items by Assistive Technology
Clients through org.a11y.atspi.Selection dbus interface.
Carsten Haitzler (Rasterman) [Tue, 26 May 2015 03:14:55 +0000 (12:14 +0900)]
theme - efm - redo folder to stand out more amongst all the file icons
the paper with earmarked corner and dir in it just doesn't stand out.
too plain and so you can't tell dirs from other files easily at all.
replace with a more normal foler icon that now stands out.
Carsten Haitzler (Rasterman) [Mon, 25 May 2015 02:51:55 +0000 (11:51 +0900)]
update po's
Carsten Haitzler (Rasterman) [Mon, 25 May 2015 02:50:53 +0000 (11:50 +0900)]
theme - add more efm basic file type icons
Icons by ApB - see T1582 - fixes T1582
not really a bug ... just more icons. :)
Umesh Tanwar [Fri, 22 May 2015 05:33:10 +0000 (14:33 +0900)]
Genlist: support of ELM_OBJECT_SELECT_MODE_DISPLAY_ONLY mode of genlist item for ELM_ITEM_SELECT_ON_FOCUS_DISABLE config variable.
Summary:
When environment variable ELM_ITEM_SELECT_ON_FOCUS_DISABLE is set
_item_focused_next() function doesn't support for ELM_OBJECT_SELECT_MODE_DISPLAY_ONLY mode.
Signed-off-by: Umesh Tanwar <umesh.tanwar@samsung.com>
@fix
Reviewers: raster, Hermet
Subscribers: singh.amitesh, sachin.dev
Differential Revision: https://phab.enlightenment.org/D2464
Carsten Haitzler (Rasterman) [Fri, 22 May 2015 03:12:36 +0000 (12:12 +0900)]
elm config - init wl if env vars indicate we should
this ensures event id's are initted and more if we are in wl mode like
in x11 mode
@fix
Amitesh Singh [Thu, 21 May 2015 18:42:24 +0000 (03:42 +0900)]
test_genlist: Fix warnings while running "Genlist Textblock".
Summary:
'Genlist Textblock' uses message style which does not have elm.swallow.icon
part.
Signed-off-by: Amitesh Singh <amitesh.sh@samsung.com>
Test Plan: elementary_test -to "Genlist Textblock"
Reviewers: raster, Hermet, JackDanielZ
Subscribers: seoz, sachin.dev
Differential Revision: https://phab.enlightenment.org/D2546
Thiep Ha [Thu, 21 May 2015 18:35:47 +0000 (03:35 +0900)]
fileselector button: correct window parent finding
Summary:
Fileselector button fails to run in inwin mode.
It is caused by incorrect window parent finding.
This patch corrects the window parent finding.
@fix
Test Plan:
run FileSelector Button, toggle Inwin mode option to on,
eo gives error and nothing is shown.
Reviewers: Hermet, seoz
Reviewed By: seoz
Differential Revision: https://phab.enlightenment.org/D2552
Vaibhav Gupta [Thu, 21 May 2015 09:02:00 +0000 (18:02 +0900)]
Gengrid: Updated gengrid to select the last item.
Summary:
Updated gengrid to move item selection in 'vertical' mode to the last
item, when currently selected item is not in the last row. As per the
original behaviour, on moving down from such an item, it takes the
focus out of the gengrid widget. Now it is updated to go to the last
item (in last row), and then on further pressing down, focus comes
out of gengrid.
This is something similar to what happens in other UI systems like in
Ubuntu and Windows, when pressing down on (n-1)th row, the last item
in the nth row gets focused.
Signed-off-by: Vaibhav Gupta <g.vaibhav1@samsung.com>
Reviewers: Hermet, SanghyeonLee, raster
Reviewed By: raster
Subscribers: sachin.dev, singh.amitesh
Differential Revision: https://phab.enlightenment.org/D2418
Daniel Zaoui [Thu, 21 May 2015 07:00:11 +0000 (10:00 +0300)]
Fix make clean
The problem was that eo files were deleted during make clean.
Aleksey Karmanov [Thu, 21 May 2015 01:22:23 +0000 (10:22 +0900)]
elm_genlist: fix implementation of genlist tooltip functions
Summary:
elm_genlist_item_tooltip_style_get
elm_genlist_item_tooltip_window_mode_get
@fix
Reviewers: artem.popov, myoungwoon, Hermet
Reviewed By: Hermet
Differential Revision: https://phab.enlightenment.org/D2530
Dave Andreoli [Wed, 20 May 2015 19:31:53 +0000 (21:31 +0200)]
Immediatly change the cursor if changed from inside the widget
@fix elm_object_cursor_set() to work also when used with the mouse pointer
yet inside the widget, otherwise you need to mouseout/mousein to actually see
the new setted cursor.
Please give a short review on this one, maybe there is a simpler way to check
if the pointer is inside the widget...
Also added a button in the cursor test for this use case
Daniel Kolesa [Wed, 20 May 2015 16:54:54 +0000 (17:54 +0100)]
eo: remove occurences of @const_get/@const_set
Tom Hacohen [Wed, 20 May 2015 15:31:04 +0000 (16:31 +0100)]
Fix usage of the now removed eo_error_set().
This API has been removed from Eo.
Daniel Zaoui [Wed, 20 May 2015 11:15:49 +0000 (14:15 +0300)]
Adapt Eo classes to use new Eolian types
Daniel Zaoui [Wed, 20 May 2015 11:15:23 +0000 (14:15 +0300)]
Move elm_general types to Eolian format
Daniel Zaoui [Mon, 18 May 2015 06:44:27 +0000 (09:44 +0300)]
Eolian: support of eot file
Tom Hacohen [Tue, 19 May 2015 12:34:07 +0000 (13:34 +0100)]
Adjust usage of eo_constructor() according to recent changes.
Lukasz Stanislawski [Tue, 19 May 2015 11:33:19 +0000 (13:33 +0200)]
atspi: improve way of setting ATSPI SHOWING state
After this patch calculation of the atspi SHOWING state takes into
account also viewport of any parent implementing ELM_INTERFACE_SCROLLABLE.
Daniel Zaoui [Wed, 20 May 2015 06:09:46 +0000 (09:09 +0300)]
test/scroller: apply coding style.
ChunEon Park [Tue, 19 May 2015 13:00:18 +0000 (22:00 +0900)]
scroller: add example for resizing scroll's content area.
Summary:
When content is resized, scrollbar's position is not updated.
Add bar position update after bar size is changed.
This is sample for resizing issue.
Test Plan: elementary_test -> scroller3
Reviewers: jaehwan, woohyun, seoz, raster, Hermet
Reviewed By: Hermet
Subscribers: raster
Differential Revision: https://phab.enlightenment.org/D2291
Jaehyun Cho [Tue, 19 May 2015 12:32:10 +0000 (21:32 +0900)]
elm_win: Set initial withdrawn state from win's ecore_evas property.
Summary:
For instance, ecore_evas sets initial withdrawn state EINA_FALSE if elm_engine is "buffer".
Therefore, the initial withdrawn state is derived from ecore_evas property.
@fix
Reviewers: raster, Hermet
Reviewed By: Hermet
Differential Revision: https://phab.enlightenment.org/D2435
Amitesh Singh [Tue, 19 May 2015 12:24:35 +0000 (21:24 +0900)]
hoversel: Added item_focus_set/item_focus_get.
Summary: @feature
Reviewers: seoz, Hermet, raster
Subscribers: seoz, sachin.dev
Differential Revision: https://phab.enlightenment.org/D2436
Conflicts:
src/lib/elm_hoversel_item.eo
Amitesh Singh [Tue, 19 May 2015 12:21:06 +0000 (21:21 +0900)]
ctxpopup: Added item_focus_set/item_focus_get.
Summary: @feature
Reviewers: raster, Hermet
Reviewed By: Hermet
Subscribers: seoz, sachin.dev
Differential Revision: https://phab.enlightenment.org/D2439
Conflicts:
src/lib/elm_ctxpopup_item.eo
Thiep Ha [Tue, 19 May 2015 12:13:55 +0000 (21:13 +0900)]
entry: update selection handlers when entry is resized
Summary:
When entry is resized, selection handlers are not updated,
it causes selection handlers to be placed in wrong position.
This patch fixes it.
@fix
Reviewers: woohyun, seoz, herdsman, Hermet
Reviewed By: Hermet
Differential Revision: https://phab.enlightenment.org/D2487
kumar navneet [Tue, 19 May 2015 12:09:38 +0000 (21:09 +0900)]
Patch to fix accessibility issue in coloselector item.
Summary:
Issue: accessibility not working in colorselector item
Soln: Fixed accessibility issue
Signed-off By: Kumar Navneet <k.navneet@samsung.com>
Signed-off By: Shilpa Singh <shilpa.singh@samsung.com>
Test Plan: export ELM_ACCESS_MODE=1, run elementary test and test color selector palette item.
Reviewers: cedric, Hermet, shilpasingh, raster
Reviewed By: shilpasingh
Subscribers: govi, poornima.srinivasan
Differential Revision: https://phab.enlightenment.org/D2496
Amitesh Singh [Tue, 19 May 2015 12:06:21 +0000 (21:06 +0900)]
test_hover.c: remove "transparent" hover style set.
Summary: This hover style does not exist anymore in default theme.
Reviewers: seoz, raster, Hermet
Subscribers: seoz, sachin.dev
Differential Revision: https://phab.enlightenment.org/D2513
Amitesh Singh [Tue, 19 May 2015 12:02:55 +0000 (21:02 +0900)]
slider: use theme of object for popup.
Summary:
@fix
Signed-off-by: Amitesh Singh <amitesh.sh@samsung.com>
Reviewers: raster, Hermet, JackDanielZ
Subscribers: sachin.dev, seoz
Differential Revision: https://phab.enlightenment.org/D2542
shilpa.singh [Tue, 19 May 2015 11:56:48 +0000 (20:56 +0900)]
[Elm_ColorSelector]: Unnecessary widget creations, code execution avoided.
Summary:
Issue: Too many widgets get created during smart add itself, even if
not necessary, adding to the launch time.
Solution:
Create widgets based on mode, check for modes in generic functions
like smart theme, focus etc:-
Test Plan: elementary_test can be used to test colorselector demo.
Reviewers: cedric, raster, Hermet
Subscribers: rajeshps, govi, poornima.srinivasan
Differential Revision: https://phab.enlightenment.org/D2532
Woochan Lee [Tue, 19 May 2015 11:27:19 +0000 (20:27 +0900)]
multibuttonentry: Delete unused data in edc.
Summary: The "closed_height" is not using in code.
Reviewers: raster, Hermet
Reviewed By: Hermet
Differential Revision: https://phab.enlightenment.org/D2535
Amitesh Singh [Tue, 19 May 2015 09:09:50 +0000 (18:09 +0900)]
tooltip: set the correct style of label.
Summary:
check theme of tooltip label by
$clouseau elementary_test -to "tooltip"
tooltipi label theme was elm/label/base/default but we want theme
"elm/label/base/tooltip/default" to be set instead.
@fix
Test Plan: $clouseau elementary_test -to "tooltip"
Reviewers: raster, Hermet
Subscribers: seoz, sachin.dev
Differential Revision: https://phab.enlightenment.org/D2509
Daniel Kolesa [Mon, 18 May 2015 15:27:18 +0000 (16:27 +0100)]
eo: Eina_Bool -> bool
Daniel Kolesa [Mon, 18 May 2015 15:16:08 +0000 (16:16 +0100)]
eo: sync with eolian syntax changes
This change is being done as part of the changes started by
EFL revision
058a9c9d88b4532ff859f3d7a82e15ea64a94be3.
Amitesh Singh [Mon, 18 May 2015 11:29:37 +0000 (20:29 +0900)]
genlist: track viewport size changes and re-eval items when it resizes
Summary:
This uses new Evas Callback type EVAS_CALLBACK_CANVAS_VIEWPORT_RESIZE
to listen to view port size changes.
Reviewers: Hermet, cedric, raster
Reviewed By: raster
Subscribers: SanghyeonLee, seoz
Differential Revision: https://phab.enlightenment.org/D2527
Amitesh Singh [Mon, 18 May 2015 10:31:27 +0000 (13:31 +0300)]
entry: No need to free ptr returned by _elm_util_mkup_to_text
Summary:
This is revision over D2459
Signed-off-by: Amitesh Singh <amitesh.sh@samsung.com>
Reviewers: raster, Hermet, JackDanielZ
Subscribers: seoz, sachin.dev
Differential Revision: https://phab.enlightenment.org/D2461
ChunEon Park [Mon, 18 May 2015 08:15:09 +0000 (17:15 +0900)]
widget: more fix wrt item data.
widget item data is no more used.
use eo item data instead.
@fix.
Jee-Yong Um [Mon, 18 May 2015 08:09:19 +0000 (17:09 +0900)]
elm_object_item: fix the issue that del_cb doens't get item data as its parameter
Summary:
elm_object_item_del_cb_set() can set delete callback that is called on item deletion.
Del_cb, Evas_Smart_Cb, has void pointer for item data as its first parameter.
However, getting item data is broken.
@fix
Reviewers: Hermet
Reviewed By: Hermet
Subscribers: Hermet
Differential Revision: https://phab.enlightenment.org/D2524
Daniel Zaoui [Sun, 17 May 2015 11:59:06 +0000 (14:59 +0300)]
SlideShow: Fix double invocation of ItemClass delete function
When closing the application, the delete function given by the user in
the Item Class was called twice. During the clear process, the function
was called for every built item and then during the item destruction.
This patch fixes this behaviour by calling the user function only during
the item destruction.
Another fix has been added. It zero'es the built list pointer inside the
item. Without this fix, the item points to a list node that is already
freed and can lead during widget deletion to an invalid access inside
the list.
@fix T2394
Amitesh Singh [Mon, 18 May 2015 05:25:12 +0000 (08:25 +0300)]
label: Fix memory leak.
Summary:
Fix memory leak when txt is NULL.
@fix
Reviewers: raster, seoz, Hermet, JackDanielZ
Reviewed By: JackDanielZ
Subscribers: JackDanielZ, seoz, sachin.dev
Differential Revision: https://phab.enlightenment.org/D2460
ChunEon Park [Mon, 18 May 2015 04:56:09 +0000 (13:56 +0900)]
clipper: hide the region_set()/get() APIs.
Provide the simple api as possible.
ChunEon Park [Mon, 18 May 2015 04:30:43 +0000 (13:30 +0900)]
fix makedist break.
clipper.eo was missed in include list.
Yakov Goldberg [Sun, 17 May 2015 15:47:10 +0000 (18:47 +0300)]
elm_toolbar: fixing Eolian comment markup
Yakov Goldberg [Sun, 17 May 2015 12:02:03 +0000 (15:02 +0300)]
elm_toolbar: Move enums to elm_toolbar.eo
Move enums from elm_toolbar_common.h to elm_tollbar.eo in order to make
them more accessible for bindings.
Yakov Goldberg [Sun, 17 May 2015 10:33:36 +0000 (13:33 +0300)]
elm_flip: Move enums to elm_flip.eo
Move enums from elm_flip_common.h to elm_flip.eo in order to make them
more accessible for bindings. Delete elm_flip_common.h.
Yakov Goldberg [Wed, 13 May 2015 16:26:12 +0000 (19:26 +0300)]
elm_scroller: Move enums to elm_scroller.eo
Move enums from elm_scroller_common.h to elm_scroller.eo in order to make them
more accessible for bindings. Delete elm_scroller_common.h.
Moved the include for elm_scroller.eo.legacy.h to the top of elm_scroller_legacy.h
to allow the use of the generated types in the function declarations.
Yakov Goldberg [Wed, 13 May 2015 14:27:04 +0000 (17:27 +0300)]
elm_panel: Move enums to elm_panel.eo
Move enums from elm_panel_common.h to elm_panel.eo in order to make them
more accessible for bindings.
Yakov Goldberg [Sun, 17 May 2015 12:31:02 +0000 (15:31 +0300)]
elm.win.eo: fixed typo
Change param type name according to eo file: Elm.Win.Keygrab_Mode
ChunEon Park [Fri, 15 May 2015 14:31:07 +0000 (23:31 +0900)]
clipper: improve doc.
jiin.moon [Fri, 15 May 2015 14:09:41 +0000 (23:09 +0900)]
elementary: Create new widget for image masking
Summary:
For now, if apply image mask to smart obejct, masking does not work except to implement in edc file.
@feature
Reviewers: Jaehyun_Cho, Jaehyun, jpeg, raster, cedric, Hermet
Subscribers: raster, jpeg, cedric
Projects: #elementary
Differential Revision: https://phab.enlightenment.org/D2055
Amitesh Singh [Fri, 15 May 2015 10:17:01 +0000 (19:17 +0900)]
theme: return false if elm_object_style_set() failed to set requested style.
Summary:
elm_object_style_set(obj, "XXXX"); should return FALSE if XXXX style does not exist.
Although it does set default style if "XXXX" style does not exist.
@fix
Reviewers: raster, Hermet
Subscribers: seoz, sachin.dev
Differential Revision: https://phab.enlightenment.org/D2511
taehyub [Fri, 15 May 2015 06:10:34 +0000 (15:10 +0900)]
elc_popup: add scroller into popup content area
Summary:
When popup has a content which is larger than window size, popup is to be larger than window.
so, scroller is added into popup content area.
Test Plan:
1. Making "elementary_test - popup" window smaller than popup content size.
2. Excute "popup-center-title + genlist content + 1 button" in "elementary_test popup"
After applying this patch.
3. popup content shows with scroller.
Reviewers: Hermet, seoz, woohyun, raster
Subscribers: raster
Differential Revision: https://phab.enlightenment.org/D2216
Carsten Haitzler (Rasterman) [Fri, 15 May 2015 03:36:45 +0000 (12:36 +0900)]
elm - tests - fix const warnings with new eina home get func
Amitesh Singh [Fri, 15 May 2015 03:34:11 +0000 (12:34 +0900)]
layout: Flush layout resize object's edje signals on focus/unfocus.
Summary: @Fix
Reviewers: cedric, seoz, raster
Reviewed By: raster
Subscribers: kimcinoo, seoz
Differential Revision: https://phab.enlightenment.org/D1913
Carsten Haitzler (Rasterman) [Fri, 15 May 2015 02:26:47 +0000 (11:26 +0900)]
elm notify patch submit - rebase lost my fix? fix now in extra commit
somehow a git rebase lost a fix. i don't know how. put back.
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