Commit Graph

11288 Commits

Author SHA1 Message Date
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