Commit Graph

11154 Commits

Author SHA1 Message Date
shilpa.singh 92deae574a elm_widget: elm_object_disabled_set API fix
Summary:
When elm_object_disabled_set API is called on any widget, All the
subobjects of the widget also has to be disabled issue fix.
@fix

Test Plan:
Call the API elm_object_disabled_set on any container widget like box,
layout etc:-, fix can be tested with test_box.c and test_layout.c test
codes.

Reviewers: Hermet, seoz, raster

Subscribers: govi, rajeshps

Differential Revision: https://phab.enlightenment.org/D1778
2015-01-08 16:06:35 +09:00
Jee-Yong Um 4ade3552db elm_image: Fixed to have exact size using elm_image_fill_outside_set()
Summary:
There was a problem that image is stretched over its size
when elm_image_fill_outside_set() is applied.
This patch fixed that.

@fix

Reviewers: Hermet

Subscribers: Hermet

Differential Revision: https://phab.enlightenment.org/D1854
2015-01-08 15:47:24 +09:00
ChunEon Park a87021aba0 genlist: fix crash issue.
"selected" list has the eo list, not elm_gen_item.

this is side effect caused while on refactoring genlist.
2015-01-08 11:13:02 +09:00
Nibha Sharma 60e70654ea elm_font: Fixed resource leak in function elm_font_available_hash_add
Summary: @Fix

Reviewers: raster, singh.amitesh, seoz, kimcinoo, Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D1849
2015-01-08 10:46:05 +09:00
ChunEon Park 7e0f1587cd theme: fix misprint in popup style alias name
@fix

Reviewers: cedric, raster, seoz

Subscribers: reutskiy.v.v

Projects: #elementary

Differential Revision: https://phab.enlightenment.org/D1848
2015-01-08 10:35:00 +09:00
Carsten Haitzler 80c7f3bd74 elm filesel - fix eio access of widget data after de in eio threads
@fix
2015-01-07 19:34:15 +09:00
ChunEon Park b92ba5eeaa genlist: add more arguments validation checks 2015-01-07 18:12:33 +09:00
Carsten Haitzler b0e3cfd52e elm progressbar - fix invalid access to freed units string
@fix
2015-01-07 17:23:29 +09:00
Marcel Hollerbach e265fead91 fileselector: added a search icon
Summary:
fileselector: redirect keystrokes to the searchbar

Keystrokes like a-z A-Z 0-9 are redirected to the searchbar, so you dont
need to click arround to search files in the fileselector.

The search icon is from ApB (Apostolos B.), thx for that! :)

@feature Improved the searchbar

Reviewers: raster, seoz

Subscribers: ryuan.choi, cedric, seoz

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

Conflicts:
	src/lib/elc_fileselector.c
2015-01-07 17:23:29 +09:00
ChunEon Park accdefce6f genlist: + parent validation check 2015-01-07 15:49:19 +09:00
ChunEon Park 2dd465215e genlist: code refactoring.
type check than boolean(to be removed)
2015-01-07 15:20:45 +09:00
ChunEon Park 4e8f373b7c genlist: use simple macro 2015-01-07 15:18:01 +09:00
ChunEon Park 34732967eb genlist: null check++ 2015-01-07 14:39:34 +09:00
ChunEon Park 115bfee81f genlist: clean up missing resources in genlist_clear() 2015-01-07 14:38:25 +09:00
ChunEon Park b34df7d58c genlist: cancel multi selected items.
cancel multi selected items if the multi-select mode is canceled.

@fix
2015-01-07 14:10:18 +09:00
ChunEon Park 625a299e4a colorselector: memory leak fix in _color_bars_add
Summary:
this function is called at least twice: in _smart_add and every time _theme_apply is called.
so we need either correctly free sd->cb_data or reuse it

@fix

Reviewers: seoz, cedric, raster, Hermet

Subscribers: reutskiy.v.v

Projects: #elementary

Differential Revision: https://phab.enlightenment.org/D1841
2015-01-07 11:42:08 +09:00
Nak-Gyeong Kim 2e64b49bd2 elm_segment_control: Fix elm_object_item_text_set bug.
Summary:
Cause : When part name is NULL, edje_object_part_text_escaped_set is not called.
Measure : Add code for each conditions.

@fix

Reviewers: Hermet

Subscribers: Hermet

Differential Revision: https://phab.enlightenment.org/D1847
2015-01-07 11:22:07 +09:00
woochan lee acf58903b4 elm_diskselector.c: idle enterer add condition changed.
Summary:
The idle enterer added even after deleted sd for diskselector.
it makes crash.

@fix

Test Plan:
1. Run elementary_test
2. Execution diskselector.
3. Close diskselector sample window.
4. Crash occured.

Reviewers: Hermet, seoz, Jaehyun

Differential Revision: https://phab.enlightenment.org/D1843
2015-01-07 11:16:38 +09:00
Mike Blumenkrantz e157619f61 win INLINE_IMAGE test now crashes as expected when trying to use it in a non-useless manner
ref T1973
2015-01-06 16:53:59 -05:00
Mike Blumenkrantz 799171a0c8 elm_image now inherits edje signal emit
@feature
2015-01-06 15:19:26 -05:00
Stephen Houston 9ba9877060 thumb: Make sure to stop pulse animation on thumbs that failed to generate 2015-01-06 13:49:55 -06:00
ChunEon Park 57bf376c91 genlist: refactor code.
select/unselect items by using common select function.
2015-01-06 20:20:19 +09:00
Carsten Haitzler 4c4ae5faf6 theme - more efm icons from appb
fixes T1582
2015-01-06 18:48:50 +09:00
ChunEon Park 0e939442d0 genlist: use macro as possible. 2015-01-06 15:50:30 +09:00
ChunEon Park 1b2401849a gelnist: unswallow makes sense. not smart member del. 2015-01-06 15:46:35 +09:00
Chris Michael 4be7250569 elementary: Fix issue with event data causing an invalid free
Summary: Since we end up calling free on the event->data parameter
after a drop is completed, we should actually be allocating a string
for this data (to be free'd later). This also fixes an issue where the
event length was not being set.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-05 13:48:45 -05:00
Chris Michael 4a07808590 elementary: Fix return values to use Eina_Bool
Summary: This function is expecting Eina_Bool as the return value, not
ints so let's use EINA_FALSE here.

NB: this just fixes a copy/paste issue

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-05 12:17:03 -05:00
Chris Michael 5f325de444 elementary: Fix DnD to work again in wayland
Summary: In order for ecore_wl to start a drag, we need to send the
parent window of the object being dragged. Previous code was not
getting the parent window properly.

NB: This patch also fixes an issue where the data being sent to the
drop callback was being incorrectly sent.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-05 12:05:50 -05:00
ChunEon Park fa6e06a450 genlist: keep the item class as given argument. 2015-01-05 22:17:12 +09:00
ChunEon Park b79e3e4ffa genlist: Fix genlist index get bug
Because not all item block have "max_items_per_block" number of items in it's block.
So the calculation is not correct when items are added & removed in each block.

Anyhow, we need more efficient way for this API because genlist uses inlinst.
2015-01-05 20:43:58 +09:00
ChunEon Park 3695c3c0b3 genlist: add some comment in code. 2015-01-05 20:21:26 +09:00
ChunEon Park a898ca295f genlist: use macro as possible. 2015-01-05 15:56:27 +09:00
ChunEon Park a831b625b9 genlist: use ELM_NEW 2015-01-05 15:55:39 +09:00
ChunEon Park e608c88448 genilst: unselect items if the genlist select mode is display only or none.
make it behavior same with elm_genlist_item_select_mode_set()

@fix
2015-01-05 15:42:22 +09:00
ChunEon Park a0b170c2a3 genlist: unselect item if the select mode is display only or none.
@fix
2015-01-05 15:37:41 +09:00
ChunEon Park 28ac4ffe65 ggenlist: code refactoring.
don't do anything if same mode is applied.
2015-01-05 15:03:37 +09:00
Davide Andreoli 9981b19303 Improve win dialog test to also include a test for standard_win 2015-01-04 15:38:51 +01:00
Daniel Hirt e3baf4d3c1 Elm_Entry: Fix dropped text data insertion
Fixes bad drag&drop into entry widgets, since the drop callback
assumed that the dropped text ends with a NULL character.

How to reproduce:
1. Open 'elementary_test -to Entry'
2. Open some application (e.g. Firefox)
3. Select some (preferably short) text, and drag&drop it to the entry
widget. This sometimes pastes additional corrupted text (better try
with a 1-3 characters text).

@fix
2015-01-04 14:14:54 +02:00
Davide Andreoli d4f5df772d Added the elm_win_util_dialog_add() API function
This new @feature is just a convenient way to create dialogs, It
mimic the elm_win_util_standard_add() function but crete a
standard dialog, with background and the parent set.

WinDialog test changed to use the new function.
2015-01-03 14:13:35 +01:00
Davide Andreoli 62ef7d3465 Icon: added documentation for the new fdo icon names 2015-01-03 12:49:21 +01:00
ChunEon Park f3efe45e5e genlist: remove useless deco texts. 2015-01-02 20:18:24 +09:00
ChunEon Park 30a74e27da genlist: + null check 2015-01-02 20:04:55 +09:00
ChunEon Park 2ede0112bd genlist: code refactoring
refactor _item_content_realize() prototype to keep the consistency with state,text_realize()
2015-01-02 19:59:39 +09:00
ChunEon Park e89125754e genlist: code refactoring.
apply facade at _view_inflate() for simple item realization.
2015-01-02 19:45:48 +09:00
ChunEon Park a1b36ae6ee genlist: code refactoring.
remove contents_obj but use contents instead.
2015-01-02 19:04:34 +09:00
ChunEon Park 4cdcfac116 genlist: code refactoring.
remove target states strings in the widget item.
2015-01-02 17:34:05 +09:00
ChunEon Park 1470572cef genlist: code refactoring.
just clean up code. no logic change.
2015-01-02 16:54:01 +09:00
ChunEon Park a41e9d8044 genlist: refactoring code.
removed invalid content string free call.
and renamed flip_content_objs -> flip_contents.
2015-01-02 16:48:29 +09:00
ChunEon Park 60202b7f0a genlist: code refactoring.
remove contents string list that doesn't needed to keep in widget data.

next code refactoring based on this patch will be coming.
2015-01-02 16:17:16 +09:00
ChunEon Park 67e4baf1df genlist: exceptional handling.
just be hidden if contents are failed to swallow.
2015-01-02 12:14:41 +09:00