Commit Graph

11313 Commits

Author SHA1 Message Date
Daniel Juyung Seo 03cdef2948 gitignore: Updated gitignore file. 2015-02-23 22:52:41 +09:00
Daniel Juyung Seo 5e4093babe multibuttonentry: Check return value of elm_layout_theme_set.
This fixes coverity CID 1086781.
2015-02-23 22:45:33 +09:00
Daniel Juyung Seo c2fd0e31a5 genlist: Add comments for elm,state,focused/unfocused signals. 2015-02-23 18:57:30 +09:00
Jee-Yong Um c0e8ebc971 elm_box: Fix miscalculated items' size issue in homogeneous box
Summary:
When box has expanded items (evas_object_size_hint_weight_set() with EVAS_HINT_EXPAND)
and homogeneous is set (elm_box_homogeneous_set() with EINA_TRUE),
there is a bug that it miscalculates its items size omitting padding size (space among items),
so the last item looks cropped or having smaller size than others.
This patch makes box calculate its items' size correctly.

T2033

Reviewers: Hermet, seoz

Subscribers: seoz, Hermet

Maniphest Tasks: T2033

Differential Revision: https://phab.enlightenment.org/D2016
2015-02-23 17:59:52 +09:00
woochan lee ebe640cc2d datetime: Fix elm_datetime_field_limit_set.
Summary:
If user sets the limit value using elm_datetime_field_limit_set() API, the filed value will be recalculated.
Even though the value changed in case, value changed signal didn't send to user before.
@fix

Reviewers: seoz, woohyun, Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D1980
2015-02-23 17:58:19 +09:00
SangHyeon Lee 594fe0c8a1 genlist/gengrid : Add upadating 'focus' state in item realized function.
Summary:
When an item is realized, select/disable/expand signal emission to the view object of an item was handled correctly,but there are no updating code for focus state.

@fix

Test Plan: tested by editing genlist/genlist item edc to react on elm,state,focused and move scroll signals to unrealized/realized item again.

Reviewers: raster, seoz

Reviewed By: seoz

Subscribers: eunue

Differential Revision: https://phab.enlightenment.org/D2024
2015-02-23 17:57:01 +09:00
woochan lee fb104a22ee elm_box.eo: Added @ingroup tag.
Summary: The API "elm_box_horizontal_get" missed @ingroup tag. so i added the tag for grouping when  doxygen making API documentation.

Reviewers: Hermet, JackDanielZ, Jaehyun, seoz

Reviewed By: seoz

Differential Revision: https://phab.enlightenment.org/D1966
2015-02-23 12:48:36 +09:00
Daniel Juyung Seo fcfc1179e9 examples: Fix build error due to the name change.
Sorry for the step by step fix.
Thanks for the report id213sin.
2015-02-23 12:41:35 +09:00
Daniel Juyung Seo 7c883c824f configure: Fix break due to name change. 2015-02-23 11:59:14 +09:00
Daniel Juyung Seo 5b9ea67768 performance: Fix typo perfomance -> performance. 2015-02-23 10:48:31 +09:00
Daniel Juyung Seo 992468c9cc performance: Cast strlen return with int. 2015-02-23 10:46:53 +09:00
Daniel Juyung Seo 263801f018 elm: Remove redundant finger size adjustment.
This is a successor of a54da8aab.
2015-02-23 08:43:47 +09:00
Jee-Yong Um 6d7b668dfe elm_panel: make "panel scrollable" work in elementary_test
Summary:
Thumbscroll is disabled in default configuration,
but "scrollable" feature in panel only works when thumbscroll is turned on.
To make "scrollable" work always in elementary test,
this patch enables thumbscroll temporarily regardless of configuration.
(configuration is restored when sample window is closed.)

Reviewers: Hermet, seoz

Subscribers: seoz, Hermet

Differential Revision: https://phab.enlightenment.org/D1983
2015-02-21 13:38:13 +09:00
kabeer khan 7cc6360aee elm_photocam: add API's to change photocam image orientation
Summary:
Added API's to rotate(90, 180, 270), flip(horizontal, vertical), transpose and transverse Photocam Image.

Signed-off-by: kabeer khan <kabeer.khan@samsung.com>

Reviewers: seoz, stephenmhouston, raster, cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-02-20 14:33:17 +01:00
kabeer khan 97cefca273 elm_image: changed orient_set code to use evas_object_image_orient_set API
Summary:
evas_image_orient_set is a newly added API to set orientation of evas image.
Using this API to set orientation of image widget.
Also removed Elm_Image_Orient enums and replaced it with Evas_Image_Orient enums.

Signed-off-by: kabeer khan <kabeer.khan@samsung.com>

Reviewers: raster, seoz, cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-02-20 14:31:12 +01:00
ChunEon Park e55e740b0a Revert "Revert "Revert "win INLINE_IMAGE test now crashes as expected when trying to use it in a non-useless manner"""
This reverts commit 83f94464f1743cfa55e6b39704c605978edcee19.

This is incorrect. both windows evas are different,
we cannot set the child window as the resize object.
2015-02-19 15:18:37 +09:00
Andy Williams 3e78cbb1a6 entry: Don't unlink empty files when saving @fix T2122.
Simmple fix where we now only unlink if the object we are saving is NULL.
A null terminated string being null is not an error case.
2015-02-18 08:46:05 +00:00
Mike Blumenkrantz 061f783923 Revert "Revert "win INLINE_IMAGE test now crashes as expected when trying to use it in a non-useless manner""
This reverts commit 72ef635ff3b8939509ecfb29ecf19e465b40e652.

changing a test so that it will not crash in a valid use case is not an appropriate fix.

ref T1973
2015-02-17 17:12:52 -05:00
Oleksandr Shcherbina 7a8942f74a elementary: example showing Evas_3D with elementary widgets and testing some of its feature.
Summary:
This small application for quick testing main features and changes in Evas 3D.
Main features: effects shadow, fog, measuring fps, load 3D model, panel for change
sets light and camera.

Reviewers: Hermet, raster, cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-02-17 15:26:54 +01:00
Daniel Juyung Seo 58c131d25d transit: Clean up internal variables and function names. 2015-02-17 09:09:33 +09:00
Jee-Yong Um f4bf91f7c7 elm_transit: Add elm_transit_go_in() API
Summary:
elm_transit_go() is executed immediately after it is called.
elm_transit_go_in() starts transit in given seconds.

@feature

Reviewers: Hermet, seoz

Reviewed By: seoz

Subscribers: seoz, Hermet

Differential Revision: https://phab.enlightenment.org/D1954
2015-02-17 08:34:46 +09:00
woochan lee 684013d25e multibuttonentry: Item selected callback called twice redundantly.
Summary:
_current_item_change() called at _item_select() internally.
it means _current_item_changed() called two times in vain.
so that's why item select callback called two times.
@fix

Test Plan:
1. Run elementary_test
2. Excute multibuttonentry sample.
3. Added some items and click the item area.
4. Select signal called two times.

Reviewers: Hermet, woohyun, JackDanielZ, seoz

Reviewed By: seoz

Differential Revision: https://phab.enlightenment.org/D1955
2015-02-14 22:56:05 +09:00
Hermet aa647b6a2c panes: improve doc. 2015-02-14 13:29:20 +09:00
Chris Michael aca4b39e9a elementary: Remove unused variable
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-02-13 09:44:05 -05:00
Daniel Kolesa d88843bccc els_tooltip: compiler portability (use full ternary operator) 2015-02-13 14:22:28 +00:00
Jaeun Choi dc4f231b71 popup: removed button style setting code in theme_apply
popup buttons are created by users
it's inappropriate to set button style in widget code

@fix
2015-02-13 21:28:05 +09:00
kabeer khan caca7d7204 elm_photo: sanitise file path
Summary:
Resolved FIXME deal with relative path by sanitising file path

Signed-off-by: kabeer khan <kabeer.khan@samsung.com>

Reviewers: stephenmhouston, cedric, seoz, devilhorns

Reviewed By: cedric, seoz, devilhorns

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1874
2015-02-13 16:26:05 +09:00
Carsten Haitzler 44556de7f9 elm scroller - add adnimated and accelerated wheel scroll
now when a whele event comes in, 1. the amount we scroll accelerates
based on time between wheel events (the faster wheel events come out,
the more accel), and 2. we animate to the new position providing a
smooth transition to the new spot rather than a jump. very visually
nice.

@feature
2015-02-13 13:14:07 +09:00
Daniel Juyung Seo a3200cc02c genlist: Fix elm_genlist_item_index_get.
The first item's index is 1 not 0.

@fix
2015-02-12 22:05:27 +09:00
Jaeun Choi 2fdfbd5aac gengrid: select the focused item on enter key input
there was no way to select an item with key input on ELM_ITEM_SELECT_ON_FOCUS_DISABLE mode.
this patch enables select and multi select with enter/space key input.

@fix
2015-02-12 19:15:57 +09:00
Jaeun Choi abf1693705 genlist: select the focused item on enter key input
there was no way to select an item with key input on ELM_ITEM_SELECT_ON_FOCUS_DISABLE mode.
this patch enables select and multi select with enter/space key input.

@fix
2015-02-12 17:53:55 +09:00
Jee-Yong Um aead3d5135 elm_toolbar: remove code duplication
Summary:
elm_coords_finger_size_adjust() is called twice.
It might not be intended.

Reviewers: Hermet, Jaehyun, seoz

Reviewed By: seoz

Subscribers: raster, seoz, Hermet

Differential Revision: https://phab.enlightenment.org/D1924
2015-02-11 16:49:25 +09:00
Carsten Haitzler 2310a69dab update po 2015-02-11 12:30:18 +09:00
Mike Blumenkrantz a8998c08dc comp theme now allows for modification of focus rect 2015-02-10 18:10:24 -05:00
Jaeun Choi bc7eb19133 Revert "gengrid: call "selected" callback on entey key input"
This reverts commit 0debdcf1ca166da1c083765bdb1542183fe96427.
2015-02-10 20:58:39 +09:00
Jaeun Choi 355768be53 gengrid: call "selected" callback on entey key input 2015-02-10 20:29:47 +09:00
Carsten Haitzler 4aab4fd356 elm engine - restore explicit use of ELM_ENGNE env var
this fixes a deprecation of elm engine done just before 1.13 release
that ends up breaking "make doc" and also will make ELM_ENGINE env var
stop working (the latter was intentional). but since this is relied on
for things like make doc - keep the env var and haveit set preferred
engine and let people migrate away from using the engine var EXCEPT
for things like the shot engine

@fix
2015-02-10 19:50:14 +09:00
Daniel Juyung Seo 25e9a4de40 datetime: Clean up datetime module codes. 2015-02-10 17:16:08 +09:00
Jaeun Choi f5f71a14e8 popup: passing right parameter to elm_layout_sizing_eval
pass popup object instead of main_layout to elm_layout_sizing_eval()
so that _elm_popup_elm_layout_sizing_eval is called

@fix
2015-02-10 16:01:23 +09:00
woochan lee cf07ba6b5d multibuttonentry: refactoring(makes button object Elm_Item_Object instead of edje object)
Summary:
There was no consistency with another widget which has item object, basically widgets has Elm_Object_Item object for own's item object.
but multibuttonentry used edje object for item object before.

Test Plan:
1. Run elementary test.
2. Execute multibuttonentry.
3. Doing variety action on multibuttonentry widget.(add, delete, key event, focus etc...)

Reviewers: seoz, woohyun, Jaehyun, Hermet, JackDanielZ

Subscribers: herdsman, cedric

Differential Revision: https://phab.enlightenment.org/D1864
2015-02-10 14:22:43 +09:00
Youngbok Shin a6f4ef80e4 panel: Remove error message from elm_panel_add API and _theme_apply func.
Summary:
elm_layout_content_set API calls _elm_panel_elm_container_content_set func.
The panel widget checks the given "parts" string is whether "elm.swallow.event" or not.
To avoid error message and set the given object to the "elm.swallow.event" internally,
the panel widget need to call *_content_set for "elm.swallow.event" part using eo_do_super.
@fix

Test Plan: elementary_test -> panel

Reviewers: seoz, woohyun, Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D1949
2015-02-10 13:41:13 +09:00
Stefan Schmidt 15e2ac4e7f configure: Switch to dev mode again. Merge window for 1.14 is open now. 2015-02-09 14:09:20 +01:00
Stefan Schmidt 5662b4622d release: Update NEWS and bump version for 1.13.0 release 2015-02-09 13:39:59 +01:00
Stefan Schmidt 0b945d38d9 elm_config: Avoid access of deleted item data.
This belongs to the fixes raster just did here. It was the only one I was able
to trigger after his fixes.

Last one in a row that fixes T2072.
2015-02-09 12:36:01 +01:00
Carsten Haitzler 5b69285f8a elm - list - fix invalid item data scope get
@fix
2015-02-09 20:25:44 +09:00
Carsten Haitzler 21a7a426a9 elm config - font selector - avoid accessing invalid data on deld items
@fix
2015-02-09 20:21:54 +09:00
Carsten Haitzler d9e54a4c96 elm list - fix access of deleted items in list when recursing
@fix
2015-02-09 18:20:45 +09:00
Youngbok Shin b48ab5e101 widgets: Apply default return value according to description in .eo or add description too.
Summary:
1) According to description in .eo file,
some APIs return not 0 when the given object is NULL or not proper object.
But, several APIs are not implemented as those description.
Now, they will return a value as description.
2) If there is no description about the return value when the API fail,
put description according to pair API or old version of elementary.
@fix

Reviewers: woohyun, Hermet, seoz

Differential Revision: https://phab.enlightenment.org/D1933
2015-02-09 13:09:05 +09:00
kabeer khan 2d7cb99e9b elm_widget: added evas smart callback descriptions
Summary:
Resolved FIXME filled all smart callbacks and also set it in the constructor

Signed-off-by: kabeer khan <kabeer.khan@samsung.com>

Reviewers: seoz

Differential Revision: https://phab.enlightenment.org/D1876
2015-02-09 10:40:29 +09:00
Daniel Juyung Seo f422f0ca69 test_genlist: Clean up reorder test case. 2015-02-09 10:34:06 +09:00
Igor Murzov 80f0908da3 Update russian translation 2015-02-07 15:17:53 +03:00
Carsten Haitzler 03dbbf034c elm - fix engine config mismatch with new perferred accel vs old engine
the elm config tool only lets you set accel preference. if you set
none, then the old engine config takes charge, but there is no way to
change/set this, so deprecate the old engine set and don't use it.
this accel preference has been around for a while, so use it now
instead.
2015-02-07 13:00:21 +09:00
Sung-Taek Hong 94e9434206 elm_slider: modified each slider have its indicator visible mode.
Summary: Added indicator_visible_mode to each slider in order not to make elm_config controlls every sliders.

Reviewers: Hermet, woohyun, seoz

Subscribers: seoz

Differential Revision: https://phab.enlightenment.org/D1887
2015-02-06 21:58:32 +09:00
Daniel Juyung Seo a2b97d4abb doc: Fix typos in documentations. 2015-02-06 15:15:44 +09:00
Daniel Juyung Seo 8a8e472bb3 win_example: Fix win example codes.
- return value in ecore event handler callback.
- remove unnecessary variable.
2015-02-06 15:11:36 +09:00
Youngbok Shin 2bd02ea54d win: fix an issue that profile is erased and set to NULL.
Summary:
When ecore_evas_window_profile_supported_get API return EINA_FALSE,
elm_win widget should not get profile from ecore_evas_window_profile_get API.
@fix

Reviewers: woohyun, Hermet, seoz

Reviewed By: seoz

Differential Revision: https://phab.enlightenment.org/D1943
2015-02-06 15:06:49 +09:00
Carsten Haitzler 40fd99e2d9 fix win center trap for elm to pass in h and v params
while this is technically an abi break, it should actually have no
real impact. it will have warnings - sure, but running existing code
will simply not see the extra parammeters on the stack and not use
them so it'll continue to work. if we removed paramms, we'd be in
pain. (same applies to params passed in registers).

this fixes T2031
2015-02-06 11:32:55 +09:00
Carsten Haitzler 299c604661 elm - win - dont use deprecated func - use new one.
cleanup to match efl 1.13 changes
2015-02-05 20:44:49 +09:00
Jee-Yong Um 190c2f93ef elm_label: Fixed label disappearing after theme changed
Summary:
There is a bug that text disappears when theme is changed after label shown.
This patch fixed it.

@fix

Reviewers: woohyun, Hermet, Jaehyun, seoz

Subscribers: Jaehyun, seoz

Differential Revision: https://phab.enlightenment.org/D1923
2015-02-05 20:41:16 +09:00
Shinwoo Kim 02693dbc02 [tooltip] use proper object to set tooltip layer
Summary:
tooltip could be hide by the other object which have lower layer than target object of tooltip.
the layer of content could be changed, when is set to the tooltip as a content.

@fix

Test Plan: check added test lines

Reviewers: cedric, jpeg, seoz, raster

Reviewed By: raster

Subscribers: singh.amitesh, stefan_schmidt, seoz

Differential Revision: https://phab.enlightenment.org/D1889
2015-02-05 20:02:45 +09:00
Jee-Yong Um 3e2e181bc3 elm_label: Fixed to prevent slide's autostart before calling elm_label_slide_go()
Summary:
Label should not start sliding before elm_label_slide_go() is called.
However, label starts sliding automatically,
because resize callback emits slide start signal.
This patch prevents label from sliding before calling elm_label_slide_go().

@fix

Reviewers: woohyun, Hermet, seoz

Subscribers: CHAN, woohyun

Differential Revision: https://phab.enlightenment.org/D1906
2015-02-04 19:26:06 +09:00
Jaehwan Kim 8ea2217bdd datetime_module: Fix build warning.
Include the elm_widget.h
2015-02-04 19:21:13 +09:00
Carsten Haitzler 270b83fdfa update po 2015-02-04 19:05:11 +09:00
Jaehwan Kim 4629240ad2 datetime module: include elm_widget_datetime.h instead of elm_priv.h
The external module can't include elm_priv.h.
So Elm_Datetime_Module_Data moves in elm_widget_datetime.h
2015-02-04 18:56:18 +09:00
Daniel Juyung Seo ccfc6df9ed NEWS: Pedantic change of capital letter in NEWS fi.e 2015-02-04 10:27:24 +09:00
Daniel Juyung Seo d4e4ed0e0b test_label: Cleanup label wrap test.
- remove unnecessary box.
- use ELM_SCALE_SIZE macro for a better scalability.
2015-02-04 10:16:59 +09:00
VBS 8570190563 Gengrid : Fix memory leak in elm_gengrid_realized_items_update
Summary:
Eina_List from elm_gengrid_realized_items_get must be freed by caller,
         but elm_gengrid_realized_items_update doesn't free Eina_List.
         So memory leak is happens.
@fix

Test Plan: Call elm_gengrid_realized_items_update repeatly and check memory share increase.

Reviewers: raster, seoz

Differential Revision: https://phab.enlightenment.org/D1903
2015-02-04 08:30:07 +09:00
maxerba 2a3224cf5d Updating serbian translation 2015-02-03 21:07:45 +01:00
Stefan Schmidt 07496fdc04 release: Update NEWS and bump version for 1.13.0-beta3 release 2015-02-03 10:36:54 +01:00
Youngbok Shin 10fae20d33 elm_image: fix elm_image_memfile_set API fail when elm_image widget is not visible.
Summary:
It could success only when the widget was visible.
The API must return EINA_TRUE if buffer and size has no problem, not visiblity of widget.
@fix

Reviewers: Hermet, woohyun, jpeg

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-02-03 10:17:50 +01:00
Amitesh Singh ab50a85937 list/genlist/gengrid/toolbar: set focus/unfocus on item when focus is actually set on widget.
Summary: @Fix

Reviewers: raster, Hermet, seoz

Reviewed By: seoz

Subscribers: seoz

Differential Revision: https://phab.enlightenment.org/D1918
2015-02-03 15:48:36 +09:00
woochan lee 6e8f8629aa multibuttonentry: Delete duplicate running code.
Summary:
When layout clicked, "elm_widget_on_focus()" called with "entry_focus_in()" callback.
The "view update" and "focus set to entry" already call in those callbacks, so i deleted duplicate code and it also make focus issue when user click the entry to add item.
@fix

Test Plan:
Run elementary_test.

1. excute multibuttonentry.
2. click the entry area.
3. see the elm_widget_on_focus called twice.
   (layout callback function called view update -> elm_box_unpack called in view update ->
    entry lose focus -> on_focus_callback call again)

Reviewers: Hermet, seoz, Jaehyun_Cho, JackDanielZ

Differential Revision: https://phab.enlightenment.org/D1902
2015-02-03 11:38:21 +09:00
Youngbok Shin 82f1aebd01 win: Add default return value at elm_win_type_get API according to API description.
Summary: The API must return ELM_WIN_UNKNOWN (-1) when the given object is improper.

Test Plan: None.

Reviewers: woohyun, JackDanielZ, seoz

Differential Revision: https://phab.enlightenment.org/D1907
2015-01-30 11:04:24 +09:00
Daniel Juyung Seo 6ed274e003 test_label: Use meaningful test name for label test. 2015-01-30 09:10:43 +09:00
kabeer khan d87b5c0e41 Elm_Entry: Removed empty line and added error message
Summary:
Resolved FIXME in utf8_markup_save by adding error messages
for fopen and fputs command

Signed-off-by: kabeer khan <kabeer.khan@samsung.com>

Reviewers: devilhorns, seoz

Reviewed By: seoz

Differential Revision: https://phab.enlightenment.org/D1888
2015-01-30 08:02:21 +09:00
Daniel Juyung Seo c9c5463c7e NEWS: Clean up news file before release. 2015-01-30 07:35:16 +09:00
Daniel Juyung Seo 5cf335df94 test_panes: Remove unnecessary align/weight set for panes contents. 2015-01-29 15:28:08 +09:00
Stefan Schmidt b97dfcee87 edje_externals/elm_video: Fix bug where we override the rememberred position
This bug was there from the initial commit of elm_video. Classical
copy&andpaste bug.

CID: 1267207
2015-01-28 13:49:00 +01:00
Daniel Juyung Seo cca846099f panes: Fix elm_panes_fixed_set.
@fix
2015-01-27 13:16:28 +09:00
Stefan Schmidt d7e7701295 NEWS: Manually fix up a news entry 2015-01-26 15:02:55 +01:00
Stefan Schmidt 92e12e40c1 release: Update NEWS and bump version for 1.13.0-beta2 release 2015-01-26 13:09:54 +01:00
Davide Andreoli 3662d3c601 Icon: choose the fdo icon size using the evas obj geometry
Use the min between w and h of the evas object to
request the size in the icon theme. Fdo icon are always
square (1:1) so min seems correct.

Also improved the test to include a test that do
not relay on the size_hint_min of the icon.

Now in all the test I have done always the correct
fdo icon are used.
2015-01-25 18:31:59 +01:00
Davide Andreoli 38daa7553f Revert "Icon: use size_hint_min instead of image_size to know the wanted size"
This reverts commit 75176a789981bd6b1ef0bfcc95793c896b5bde07.

Was not the correct solution, as min_size can be smaller than
the real wanted size. Need to find another solution.

Thanks TAsn to spot this
2015-01-25 16:48:21 +01:00
Davide Andreoli 115037b221 Icon: use size_hint_min instead of image_size to know the wanted size
This @fix fdo icons to load the correct image for the requested size.

Whitout this the small images (16x16) was never used, because once a big
(64x64 for example) image was loaded, that size was used as min.

See the Icon Standard test for a better explanation
2015-01-25 15:48:41 +01:00
Davide Andreoli f1ab68d14d Icon: no more reimplement sizing_eval
The code there was trying to reload the icon to have an
image that should match the requested size, this was totally
wrong, the calculation was always resulting in an image bigger
than the needed.

It was also useless as this logic is yet handled in the resize
callback.
2015-01-25 15:39:43 +01:00
Davide Andreoli 2f6a3eb9a2 Improve Standard Icon test
You can now select the size of the icons in the list and
also added a single icon that you can resize.

The size of the icons is important as icon themes usually
provide different images for different sizes.

This test now spot out some errors in elm_icon wrt icon
sizing, will fix soon
2015-01-25 15:16:51 +01:00
Davide Andreoli 509f84b932 Add correct fdo name for the last added search icon 2015-01-23 21:44:15 +01:00
Stefan Schmidt 26131fedc4 elm_image: Add missing semi-colon to terminate line.
No compiler warning for this because the macro was terminated with it.
It still looks wrong without it and does no harm.
2015-01-23 12:45:33 +01:00
Stefan Schmidt 969f9c1970 elm_image: Fix memory leak in GETDAT macro.
Free data2 on error path.

CID: 1265609, 1265610, 1265611, 1265612
2015-01-23 12:43:49 +01:00
Stefan Schmidt a31628cb2e test_disable: Extend button array to fix memory corruption
We are accessing btn[3] in the code so we should make sure the array it big
enough for it.

CID: 1265613
2015-01-23 12:32:42 +01:00
Daniel Juyung Seo 16fc6785a9 transit: Fix read from pointer after free.
This fixes coverity CID 1265738.
2015-01-23 14:32:37 +09:00
Daniel Juyung Seo d9b9dcf1e6 test_win_state: Add elm_win_center() sample. 2015-01-23 14:29:15 +09:00
Mike Blumenkrantz 7c660b06dc win centering: unbork!
not centering on an axis does not mean that it needs to be moved to the screen origin.

also clamp to screen x,y, not 0,0
2015-01-22 22:37:00 -05:00
ChunEon Park 831efcf101 transit: fix crash issue.
This fixes the side effect that introduced from 1e06309be42fd2b5d0900b16da0178215c111681

Since transit has supported adding a map effect on the previous map status,
transit tried to access object-state map pointer.

but theses map pointer won't be valid if the transit keeps the last state
because it doesn't back up any object-state data.
2015-01-22 17:44:09 +09:00
Daniel Juyung Seo 04c7061152 test_gengrid: Dynamically allocate item data.
Do not waste unnecessary memory.
2015-01-22 07:39:34 +09:00
Daniel Juyung Seo bcbbf191ec test_colorselector: Clean up a little bit.
- Remove unnecessary data set.
- Use ELM_SCALE_SIZE on min set for a better scalability.

Yes this colorselector test needs a looooot of love.
2015-01-22 07:39:34 +09:00
Daniel Juyung Seo c982744473 colorselector: Remove unnecessary pointer redirection.
Elm_Colorselector_Data pointer is already there.
2015-01-22 07:39:34 +09:00
Daniel Juyung Seo c906be2307 test_icon: Clean up icon standard sample.
- Do not set unnecessary min size for the icons. Just follow list's item
size naturally.
- Do not free unnecessary list which was already freed by
EINA_LIST_FREE.
- Do not set align for the window resize object which is not required to
be set.
- Follow conventional way of pointer declaration.
2015-01-22 07:39:34 +09:00
Mike Blumenkrantz 0db8a01ab1 image now implements edje object size functions
Edje.Object.size_min.get;
      Edje.Object.size_max.get;
      Edje.Object.size_min_calc;
      Edje.Object.calc_force;

fixes all image-in-edje sizing issues/errors
2015-01-21 15:17:00 -05:00
Mike Blumenkrantz af7cfe1d6b image animation functions now work as expected for edje images 2015-01-21 15:17:00 -05:00
Mike Blumenkrantz 3ae96d6efb win_example now exits fullscreen on any key press...always
fix T516
2015-01-20 13:04:16 -05:00
Jaeun Choi b817a5ca26 Elm_Entry: set handler style according to current widget style
Previously, entry set handlers' style as default when they are created
and changed style on theme_apply function. But in usual scenario, users create
entry and set style before handlers are created, so when they are created
the style is set as default regardless of the style users already set.
This patch fixes it.

@fix
2015-01-20 10:32:06 +09:00
Stefan Schmidt f3825f83d4 release: Update NEWS and bump version for 1.13.0-beta1 release 2015-01-19 15:12:06 +01:00
Stefan Schmidt f30c5c1674 Revert "genlist: added reorder feature on key events"
This reverts commit f99be3a1d6bdc63153598b592b5437c33da44bf0.

The API is not ready to be released. Please see the thread on the e-devel
mailing list under this subject. This can get another try in the 1.14
release cycle.

Conflicts:
	src/lib/elm_genlist.c
2015-01-19 12:56:50 +01:00
ChunEon Park a51fdc0e15 genlist: fix incorrect grammar.
No allow attaching double definite articles.

Thanks vincent for reporting.
2015-01-19 17:30:51 +09:00
Jaehyun Cho 1d4da291bf elm_transit: Fix crash issue caused by multiple transit effects.
Summary:
Fix crach issue caused by multiple transit effects on a single object.
         This patch prevents deleting obj_data while the obj_data is still used by other transit objects.
         This fix is related to commits "Support zoom keeping current map effect."(60214e6a172e42303fdfc69ef3d1996b25132242)
         and "Support rotation keeping current map effect."(1e06309be42fd2b5d0900b16da0178215c111681).
         @fix

Reviewers: Hermet

Differential Revision: https://phab.enlightenment.org/D1878
2015-01-19 15:35:17 +09:00
ChunEon Park f87e3ccabd genlist: fix genlist multi-selected problem.
user request was ignored if they calls the genlist_item_selected_set(true)
to another item in an item selected callback. because genlist made
the selected item highlighted after user "selected" callback.

The behavior had been changed on my genlist refactoring,
so the behavior was actually just restored.

This issue resolves T2020
2015-01-19 15:33:06 +09:00
Jaehyun Cho 9df0e7202d elm_transit: Fix to support zoom rate zero.
Summary:
Fix to support zoom rate zero by using evas_map_util_zoom() instead of evas_map_util_3d_perspective().
@fix

Reviewers: Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D1877
2015-01-19 15:30:27 +09:00
WooHyun Jung c8f6d47e0f widget: elm_win can be unfocused only when its ecore_evas loses focus. 2015-01-17 16:29:46 +09:00
Stefan Schmidt 97d78edeaf configure: Fix typo in coverage option help text 2015-01-16 21:16:04 +01:00
Cedric BAIL c11cc5f47d tests: add coverage support.
And our current score is 19% functions coverage for Elementary.
2015-01-16 16:39:37 +01:00
Cedric BAIL f15d380f00 tests: actually run the main loop properly to be able to enter in idle state.
Note that the iterate function will never trigger the idler that are registered
in Ecore. That's by definition. I changed the code to actually use the full
main loop and trigger the change detection on idle enterer. That should be enough
for Elementary as all idler should logically affect the visual aspect of something
at some point and exit idle.

Thanks marcel-hollerbach@t-online.de for helping me debug this issue.
2015-01-16 14:31:57 +01:00
maxerba 801b65a4af Updating italian translation 2015-01-16 12:34:13 +01:00
ChunEon Park 09252cf55f genlist: code clean up
highlight item with one entry.
2015-01-15 23:01:00 +09:00
ChunEon Park d5abb68482 genlist: don't access item after removing it. 2015-01-15 22:43:14 +09:00
ChunEon Park 7a4cffb1d8 genlist: guard the item deletion problem.
this exceptional code prevents the deletion of the item
in the middle of the callback.
2015-01-15 22:42:46 +09:00
ChunEon Park 08772d8792 genlist: fix the access of the invalid items.
still, there were case item or genlist is cleared in the user callback.
don't access the cleared items if they are requested deletion.
2015-01-15 22:42:14 +09:00
Mike Blumenkrantz 8414d626d4 genlist needs to also highlight items on keyboard select
this should probably just happen in _item_select() to avoid future incidents

ref T1986
2015-01-14 15:19:48 -05:00
Mike Blumenkrantz a102155889 Revert "genlist: fix a crash when deleting a item in selected callback."
This reverts commit c80b24baf815e35c160bf0dbe8ecae6ea247aef8.

this broke the selection callback completely and makes every genlist app unusable.

please, please, please, please, I'm seriously begging you hermet, do ANY amount of testing before making further genlist commits.
2015-01-14 14:41:50 -05:00
ChunEon Park 24c56e5a0a genlist: fix a crash when deleting a item in selected callback.
if user deletes the item in the callback,
current function(_item_select) would be corrupted.
just leave the callback call in the last of the function.
2015-01-14 23:30:43 +09:00
ChunEon Park 6aaca793a7 genilst: fix regression bug added in 0e7d521151ba93f3b5955caaf9b906e160ab6057
some logic of deleting item were duplicated.
this fixes fileselector crash issue.
2015-01-14 23:21:32 +09:00
Lukasz Stanislawski 06d6557d53 Do not explicite include atspi headers.
Summary: fixes make check failures on atspi tests.

Reviewers: cedric

Subscribers: seoz

Maniphest Tasks: T2001

Differential Revision: https://phab.enlightenment.org/D1870
2015-01-14 15:15:47 +01:00
ChunEon Park 9cd1e83c24 genlist: set missed item reference.
this missing would cause crash of the genlist when it's items are cleared.
2015-01-14 22:07:00 +09:00
ChunEon Park 3be81fa24c genlist: fix a crash of genlist group tree example.
don't corrupt list pointer.
we can clear items more simply.

Thanks ya-kov for reporting.
2015-01-14 22:04:26 +09:00
ChunEon Park 52e7a6b97f widget: set missing elm_widget_item_magic 2015-01-14 19:50:15 +09:00
Cedric BAIL 5010e1a82e photocam: force reload of image on file_set.
Thanks, bug reported by thierry@substanciel.fr .
2015-01-13 16:15:29 +01:00
Carsten Haitzler a89f3d267c elm image - fix image rotation in non-common cases
this fixes d6f4040d0c62c220f2339d2a57126fde43e85e19 for the non-common
path that normalizes then applies new orientation

@fix
2015-01-13 08:53:14 +09:00
Chris Michael 0da7ee96fc elementary: Fix dereference of null return value
Summary: This fixes Coverity CID1261370. strrchr can return NULL here,
so we need to check that 'p' is valid.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-12 12:04:19 -05:00
Stefan Schmidt 8ff91702fd release: Update NEWS and bump version for 1.13.0-alpha1 release 2015-01-12 14:11:43 +01:00
Tom Hacohen 12d383709d Elm win: Fix added internal parameter to the win constructor.
Internal hacks should not affect user facing API. This commit adds a new
API to do the internal hack. This is still bad, but it's much less than
what was there before.

This fixes the main issue introduced by commit:
63a5cdf0f8516c16a62233da0c2af0e10a13264b
2015-01-12 10:13:34 +00:00
Tom Hacohen a65c98c151 Elm win: Fix elm_win_fake()'s name to follow conventions. 2015-01-12 10:13:00 +00:00
Daniel Zaoui 689b4f3fc5 DnD: fix callbacks deletion for inline windows.
During deletion of a window, widgets considered as droppable targets
have to remove their DnD callbacks. To achieve this, elm_drop_target_del
is called from the DEL callback (destructor). This function has to
determine if X11 or Wayland is used. Since the parent is already unknown
at this stage, only checking the engine name can give this
information.
On a regular window, the engine name is related to the target display.

The problem happens when an inline window is used. The engine is a
buffer and no information is given regarding the target display.

The patch fixes it by checking the nature of the Ecore Evas parents. It
supports nested windows (inline inside inline... inside XWin).

@fix
2015-01-12 08:23:35 +02:00
Jee-Yong Um a83e01cad3 elm_colorselector: Fixed to make palette_box have proper height
Summary:
palette_box had stretched height exceeding its items size.
Now it will have proper height fitting to own items.

Reviewers: Hermet, Jaehyun, raster

Reviewed By: raster

Subscribers: raster, Hermet

Differential Revision: https://phab.enlightenment.org/D1840
2015-01-12 13:36:55 +09:00
Carsten Haitzler 94a00854b6 elm - fix build problem with examples - elocation api
this fixes build of location_example_01.c as per fix in D1863 but done
properly so people can't use elm  elocation unless they enable beta apis
2015-01-12 12:08:46 +09:00
VBS db5d4aff45 Scroller : Fix elm_scroller_last_page_get API wrong return value
Summary:
When first page is last page, elm_scroller_last_page_get need to return 0.
         But if pagesize is bigger then current content height or width, value will be returned -1.
         So fix this cases to return 0.

Test Plan: If set elm_scroller_page_set bigger then current content size, then issue is occurred.

Reviewers: seoz, jaehwan, raster

Reviewed By: raster

Subscribers: eagleeye

Differential Revision: https://phab.enlightenment.org/D1860
2015-01-12 11:51:42 +09:00
Carsten Haitzler 97e625c68c elm - elm image orientation api fix - major bug in implementation
@fix

The elm image orient_set api looks like it is a state, and it is
documented to SET the orietnation, but the code actually DOEs that
orientation when you set it. so docs and api name didnt match
functionality at all. this was bad an an oversight. you didn't notice
until you set orientation multiple times to an image. this fixes the
implementation to be as documented - a state that is applied and
remains that way until set to something else. setting to the same
orientation has no efect as with color, size, etc. etc. in evas.

you could look on this as an api break, but then either the docs
change AND api name changes to match the code, or code changes to
match the docs. we don't keep bug compatibility in efl and in this
case i'm making the call to break the behavior of a  function as it
was broken already with respect to name and docs.
2015-01-12 11:31:43 +09:00
ChunEon Park ab0e050102 genlist: recommit 1879cc39258c63c24f0abcff56558b1f1b60167a with correction. 2015-01-12 10:00:04 +09:00
Mike Blumenkrantz 79efce849d elm_table now supports alignment 2015-01-11 18:17:19 -05:00
Mike Blumenkrantz 65db0dc1cd fake win should not perform widget focus setting on canvas focus-in 2015-01-11 15:18:27 -05:00
Yakov Goldberg 89133c8f58 Revert "genlist: use eina bool"
This reverts commit 1879cc39258c63c24f0abcff56558b1f1b60167a.

  Hermet, please check this commit it makes Fileselector crash,
  looks like you inverted the values: 1 should be EINA_TRUE.
  I recommend you to use Exactness to run all the tests automatically.
2015-01-11 16:59:50 +02:00
ChunEon Park 95494c3a98 genlist: remove unnecessary null check. 2015-01-10 17:47:14 +09:00
ChunEon Park 42dc29b87b genlist: revert 6f177e5db01553276058235a81cbfcc9b2cd4e23
this broke decoration item text. reverted.
2015-01-10 17:27:48 +09:00
ChunEon Park 8e2647ea16 genlist: send decoration active signal to view item.
emit signal to view item to do something additional.
2015-01-10 16:58:45 +09:00
ChunEon Park 8cd8ea50cb genlist: fix regression bug. (T1986)
newly added in 2955ebc5dd01fbfb5a3286b724c8a40915864ad8
2015-01-10 16:44:38 +09:00
Mike Blumenkrantz c66c698e43 ELM_WIN_FAKE types should allow focus callbacks on windows 2015-01-10 01:36:27 -05:00
Mike Blumenkrantz 7bebf6b3f8 entry now finds its window object more effectively for cnp init 2015-01-10 00:48:33 -05:00
Mike Blumenkrantz 28872897b5 +elm_win_fake(), ELM_WIN_FAKE type
this is a giant hack to provide widget parenting in e. do not use this function, do not use this type, do not even read the related documentation.

@feature
2015-01-10 00:36:17 -05:00
ChunEon Park 20a933e044 genlist: code refactoring.
clean up decorate_item_realize() function.

use macro and remove old debug code.
no actual logical change.
2015-01-10 14:14:57 +09:00
ChunEon Park 2f66bfc417 genlist: clean up genlist_smart_del() func.
removed unnecessary calls.
2015-01-09 23:27:33 +09:00
ChunEon Park fd5e859149 widget: remove redundant internal macros
we don't need these macros anymore since eo has introduced.
2015-01-09 23:04:39 +09:00
Jean Guyomarc'h ab0a1bda94 Do not call ecore_x_init() when not using X display.
Summary:
On some systems (e.g. OS X), both Apple's windows manager and X11 can cohabit,
therefore we need to check for the DISPLAY environment variable only when ELM_DISPLAY
is not specified.

Reviewers: cedric, devilhorns, seoz, raster

Reviewed By: raster

Differential Revision: https://phab.enlightenment.org/D1721
2015-01-09 14:41:04 +09:00
Mike Blumenkrantz 49b60d746c client frame client clip should be relative to client during clip, not border
ref T1930
2015-01-08 18:18:25 -05:00
ChunEon Park 91d42b500d genlist: if the item was selected, then skip item_select() procedure. 2015-01-08 23:58:11 +09:00
ChunEon Park 54b221703b genlist: simple code clean up
no logic change.
2015-01-08 23:54:37 +09:00
ChunEon Park 8c5231ca80 genlist: use eina bool 2015-01-08 23:41:29 +09:00
ChunEon Park 5cdcdf5c71 genilst: descriptive comment++ 2015-01-08 23:37:06 +09:00
ChunEon Park e7ab25d3ce genlist: remove internal callback usage.
there were multiple ports for item procedures.
one port is enough.
2015-01-08 23:23:44 +09:00
ChunEon Park a045ca8289 genilst: get rid of lazy deletion.
delete genlist item directly.
instead, remove the bunch of code that was related to lazy deletion.

we can success, if we clean up the resources and callback calls properly.
here i only found item focus callback that (may) required the lazy deletion.
2015-01-08 23:07:39 +09:00
Stefan Schmidt 9494c4cbad theme: Add newly added icons to EXTRA_DIST to make sure they end up in the tarball
We need to list the icons here to let autotools know we want them int the release
tarballs.
2015-01-08 13:55:22 +01:00
Daniel Zaoui e281a68932 Revert "win INLINE_IMAGE test now crashes as expected when trying to use it in a non-useless manner"
This reverts commit fd71874024d14e5374aef93eae7d4cfbc0ea4521.

As the commit message says, the test crashes now. The ticket 1973 is
related to that issue.
Now, I understand there could be a bug inside inline stuff but it doesn't
mean that you have to push it and screw up all the test. You could just
attach a patch to the ticket and that's all folks!
2015-01-08 14:27:57 +02:00
ChunEon Park 59b32785e1 genlist: send signal to deco_all_view additionally. 2015-01-08 19:50:52 +09:00
ChunEon Park 293c5dbb13 genlist: +warning 2015-01-08 19:49:39 +09:00
ChunEon Park 6a92dc4058 genlist: make up lack of behaviors in item_disable 2015-01-08 19:47:14 +09:00
ChunEon Park 51cca32085 genlist: replace to internal call 2015-01-08 19:45:17 +09:00
vivek aa41261430 elm_win: Fixed the issue of updating ecore_wl_window location
Summary:
@Fix

Signed-off-by: vivek <vivek.ellur@samsung.com>

Reviewers: devilhorns

Differential Revision: https://phab.enlightenment.org/D1856
2015-01-08 19:46:52 +09:00
VBS fdfde0d5e0 Gengrid: fix gengrid reorder animation bug
Summary: When gengrid reordering by thumb scroll, some items disapear on screan.

Test Plan:
1. Enabled thumb scroll in elm config
           2. Launch gengrid test in elementary_test
           3. Check reorder mode enabled
           4. Try to move reordering item to upon or lower area by thumb scrolling,
              items disapear.

Reviewers: seoz, raster

Reviewed By: raster

Subscribers: bluezery

Differential Revision: https://phab.enlightenment.org/D1852
2015-01-08 19:36:19 +09:00
Shinwoo Kim e649486e58 [spinner] use strncmp, not strcmp to support styles starting with vertical
Summary: Use strncpm, not strcmp to support styles starting with vertical

Test Plan: Define spinner style which has 'vertcial' as a prefix

Reviewers: raster, cedric, seoz, woohyun, jaehwan, Hermet, jpeg

Subscribers: seoz

Differential Revision: https://phab.enlightenment.org/D1839
2015-01-08 18:54:30 +09:00
ChunEon Park 6f293dcf5f genlist: +parent validation check 2015-01-08 18:10:12 +09:00
ChunEon Park 94f530fca9 genlist: code refactoring.
there are 2 variables that has same purpose.
cut off one dependency.
2015-01-08 17:55:11 +09:00
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
Mike Blumenkrantz 8265a01c2a box layout should not silently fail when size is less than min size hint
this broke box display in any case where the user had manually changed size hints, eg. when using box align

@fix
2014-12-31 15:32:29 -05:00
ChunEon Park 2dd05e1580 genlist: free selected items when genlist is cleared. 2014-12-31 19:55:09 +09:00
ChunEon Park ff9de8bea8 genlist: send reorder signal to decoration item and views.
Previous logic was too much stick to special case for *tizen*
let decide item styles in theme as possible.

This might break reorder group item ui, but it won't be critical.
because tizen ui only depeneded on the scenario and they don't use them anymore.

This will be much better for multiple scenario in the future.
2014-12-31 19:10:40 +09:00
ChunEon Park 4f1b1bcb9f genlist: let group item set reorder style as it needs.
we don't need to limit the group item it's reorder style.
2014-12-31 18:59:28 +09:00
woochan lee c45739d0bf test_gengrid.c: Fixed Item_Data array size for prevent buffer overflow.
Summary:
Item_Data size set as 144 before. but test_gengrid_speed function called create_gengrid function with 5000 items.
it makes crash.

@fix

Test Plan:
1. run elementary_test.
2. click Gengrid update Speed.
3. crash.

Reviewers: seoz, Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D1834
2014-12-31 17:38:28 +09:00
Amitesh Singh 2ba1640a00 test_glview_simple: opimize draw code.
Summary:
There is no need to call glVertexAttribPointer &
glEnableVertexAttribArray() while rendering.

Reviewers: seoz, jpeg, Hermet

Reviewed By: Hermet

Subscribers: seoz

Differential Revision: https://phab.enlightenment.org/D1827
2014-12-31 17:33:32 +09:00
Davide Andreoli 19d6ed361c Icon theme: added standard freedesktop names.
OK, this  commit try to fix the mess we have done with icon names in elm.
I just added standard names to icons yet existing in the elm theme, the
old name are, of course, preserved. But I marked them as -deprecated-.

Also added a new test: Icon Standard. It show all the icon that have standard
fdo names. This can be really usefull for user that need to choose icons to use.

I put some guidelines comment in the icons.edc files, I hope people will follow
the rules from now on... or will recive my personal spanking :D

I will work on those icons more in the next days: will add the new names to
elm docs, will try to match better fdo icon names, and maybe also add some
new icons...

Suggestions are always welcome.
@feature (maybe)
2014-12-30 23:03:12 +01:00
Daniel Juyung Seo 8db407f89c Revert "gesture_layer: Remove unnecessary value assignment."
This reverts commit d389a44b42d482414d1bfb2f4d0ccebbda510d7b.

Tasn said this value needs to be used. Let's fix it correctly later.
Thanks Tom.
2014-12-31 01:05:11 +09:00
Daniel Juyung Seo 27a8502959 gesture_layer: Remove unnecessary value assignment.
This fixes coverity CID 1261280.
But this is not critical.
2014-12-31 00:13:01 +09:00
ChunEon Park 66d78a4512 genlist: + warning msg for user notice
don't unrealize reordering item.
2014-12-30 17:56:24 +09:00
ChunEon Park 7dc5c3863c genlist: use convenient macro. 2014-12-30 17:36:14 +09:00
ChunEon Park 0e5b3f32d5 Revert "genlist: return as possible as soon."
This reverts commit ef56ed167206612f146d2c70f5b35a7bcd62c4c6.

This caused logic change. should not be changed.
2014-12-30 15:44:46 +09:00
ChunEon Park 10ac198400 Revert "genlist: return as possible as soon"
This reverts commit 1e6736c3a13d58c4e1a01d7e23983c721051be08.

This caused logic. should not be changed.
2014-12-30 15:43:20 +09:00
ChunEon Park 65de16477c genlist: return as possible as soon 2014-12-30 15:32:41 +09:00
Jee-Yong Um c890310c01 elm_colorselector: Fixed to get proper min size with picker only mode
Summary:
Fixed to make colorselector have proper min size
when colorselector is in ELM_COLORSELECTOR_PICKER mode

@fix

Reviewers: Hermet

Subscribers: Hermet

Differential Revision: https://phab.enlightenment.org/D1832
2014-12-30 13:11:50 +09:00
ChunEon Park f86dbe4854 genlist: removed unnecessary check 2014-12-30 11:17:46 +09:00
Daniel Juyung Seo f14fa87c84 genlist: Fix internal comments. 2014-12-30 01:31:43 +09:00
Daniel Juyung Seo 6d13e4e2bf test_genlist: Add clicked,right test case. 2014-12-30 00:35:24 +09:00
ChunEon Park f9cc9863a3 genlist: return as possible as soon. 2014-12-29 22:58:38 +09:00
ChunEon Park f2b7e575f0 genlist: clean up code.
repositioned function and remove unnecessary prototype declaration.
2014-12-29 22:51:39 +09:00
ChunEon Park fb8af1004c genlist: remove duplicated signal registration. 2014-12-29 22:34:45 +09:00
ChunEon Park 1f73409844 genlist: send an additional signal
send flip disabled signal when it's state is switched.
2014-12-29 22:27:28 +09:00
ChunEon Park cce9511130 genlist: send a signal internally.
send a signal so that item set it's style according to it's depth
2014-12-29 22:16:34 +09:00
Davide Andreoli 02b5c7065d Fileselector: beautify the search entry
Entry moved to the top-right corner and added the guide text
2014-12-29 13:47:31 +01:00
ChunEon Park 5b2493b7af genlist: send a disabled signal when the decorated item is unrealized. 2014-12-29 21:44:50 +09:00
Davide Andreoli 40f50c0a55 Hover and derivates: dismiss with every mouse buttons, not only 1 2014-12-29 12:45:43 +01:00
Davide Andreoli 62fe9c4964 List: new signal: clicked,right with simple test
@feature
2014-12-29 12:18:04 +01:00
ChunEon Park b4fe364f1b genlist: code refactoring
declare/use const strings for internal signals
2014-12-29 19:50:39 +09:00
Davide Andreoli a6486bc1b6 Gengrid: new signal: clicked,right with proper test
@feature
2014-12-29 11:38:17 +01:00
Davide Andreoli 9988b752c7 Genlist: do not fire clicked,right while dragging in progress 2014-12-29 11:19:21 +01:00
ChunEon Park eb229ae0e2 genlist: add "scroll" smart call
@feature
2014-12-29 19:02:08 +09:00