Commit Graph

11053 Commits

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