Commit Graph

8527 Commits

Author SHA1 Message Date
Jaeun Choi f49cb8000d bug fix: fixed memory leak
Summary:
The original code created an edje object temporarily for index calculation
and didn't delete it which caused memory leak. fixed it.

Test Plan: None

Reviewers: Hermet, seoz

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D246
2013-10-01 22:18:57 +09:00
Jean-Philippe Andre 6078f040fb elm_image: Fix preload for normal files
grmbl, elm_image must explicitely start preload or the
image will stay blank if evas_object_show() is called before
elm_image_file_set().
2013-10-01 19:09:52 +09:00
Jean-Philippe Andre fada635034 elm_image: Remove double callback on mouse_up
In case of MOUSE_UP event, both the hit rectangle and the
smart image object received the event, thus producing double
clicks.
2013-10-01 19:09:52 +09:00
Carsten Haitzler 6641cc792e genlist - fix homogenous to NOT go (un)realizing every item on queue 2013-10-01 12:54:28 +09:00
Carsten Haitzler d3861179f6 remove ifdef from glsl in glview shader - ifdefs not universally supported 2013-10-01 07:30:38 +09:00
Ryuan Choi 9368d61549 elc_fileselector: Add fileselector_double_tap_navigation_enable configuration
elm_filechooser used single tap not only for selection of file but also for
navigation of directory.
So it did not provide a way to select directory without navigation.

With fileselector_double_tap_navigation_enable option, single tap will be used
only for selection and double tap will be used for navigation of file or
directory.
2013-10-01 01:46:39 +09:00
Daniel Juyung Seo cec2f74648 elc_naviframe.c: Check value before dereferencing it.
This fixes coverity CID 1099698.
2013-09-30 22:16:34 +09:00
Daniel Juyung Seo e756f97dae elm: Longwaited trailing white space removal. Clean elm up! 2013-09-30 22:15:01 +09:00
Daniel Juyung Seo 3a9cb2398b elm_index.c: Internal refactoring. Removed unnecessary internal function parameters.
- _index_box_clear()
- _index_box_auto_fill()
2013-09-30 22:15:01 +09:00
Stefan Schmidt 7941941a13 elm_calendar: Fix wrong seconds per day also in comments.
Better fix it here as well before the 23.5h day spreads further
and we are getting all out of sync. :)
2013-09-30 13:34:09 +01:00
Mariusz Bialonczyk 24b6d01157 test_calendar: Fix number of seconds per day.
Previous seconds value for a day was 84600 (23:30) instead of 86400
(24:00).
The commit fixes it using constants.
2013-09-30 13:33:44 +01:00
WooHyun Jung ec5c1c7b3b elementary/naviframe.c : Because naviframe is focusable, it should set focus to itself when the new item is unfocusable. 2013-09-30 10:09:23 +09:00
ChunEon Park 8d74f6ba84 elementary/mapbuf: Dont' move the content to not be calculated. Mapbuf expects
the content is static object and it won't be updated by content position. This
actually reduces the mapbuf calculation time muchly in case of complex layout.
2013-09-29 18:57:10 +09:00
ChunEon Park ff91e90118 elementary/scroller - null set properly. 2013-09-27 22:27:38 +09:00
ChunEon Park 672eaa430e elementary/mapbuf - code refactoring.
reduce LOC
2013-09-27 21:58:31 +09:00
ChunEon Park c025526e2d elementary/mapbuf - refactoring mapbuf code.
Disable the map only once the mapbuf is disabled.
2013-09-27 21:55:59 +09:00
ChunEon Park 0c3ca99871 elementary/mapbuf - revert 1850e735698f926cad8303cfe96610b5c58410d1
This makes the mapbuf performance slow down before it enabled the mapbuf.

need more better way.
2013-09-27 21:52:10 +09:00
Stefan Schmidt e985332fe4 elm_panes: Remove whitespaces while ebing in the file 2013-09-27 09:45:08 +01:00
Stefan Schmidt 71decc342d elm_panes: Remove unused variable.
Leftover from 84cc92d2ad3482e7a1fc79ce2fb606c26ecbce26
2013-09-27 09:42:04 +01:00
ChunEon Park 1f68e7b3b0 panes - removed redundant code.
layout itself handles contents swallowing when theme is changed.
2013-09-27 15:28:57 +09:00
ChunEon Park 0bedba6f5f elementary/layout - fix the layout to swallow contents again when theme is changed. 2013-09-27 02:05:00 +09:00
ChunEon Park 99f85556a7 elementary/naviframe - don't delete the animator.
if it removed the pushing animator then the item will be left with invalid state.
2013-09-27 00:41:02 +09:00
Jean-Philippe Andre 39fe09b137 elm_image: Fix remote image loading
Fixes commit dcb8b54aee3a545a1:
 - elm_image: do not preload full image on file_set.

elementary_test "Image Remote" was not working anymore because
the image was never loaded after download.
2013-09-26 18:57:16 +09:00
Ryuan Choi 6e07a4c457 elc_fileselector: support ui-mirroring for files_grid.
All fileselector widgets support ui-mirroring except files_grid.
2013-09-26 17:43:19 +09:00
Cedric Bail f2b0d4568d elementary: cast an uintptr_t when pushing stuff into a pointer. 2013-09-26 16:35:11 +09:00
Cedric Bail 8bdce4f119 elm_app: _close and some friends are defined on windows, so prefixed. 2013-09-26 16:35:11 +09:00
ChunEon Park 7399e14cf2 elementary/mapbuf - resize content only when mapbuf is resized. 2013-09-26 16:25:48 +09:00
Ryuan Choi ea5a6f7345 elc_fileselector: restore name_entry.
(file)name_entry was removed after r82105 but it is necessary.
name_entry can keep the selected file/folder name(s for multiple selection)
or new file/folder name for save.
Instead, path_entry will focus only navigation with anchor.

I renamed it to name_entry because it can keep both file name and folder name.

you can see more information at
http://sourceforge.net/mailarchive/message.php?msg_id=31441811
2013-09-26 07:10:32 +09:00
Jean-Philippe Andre cdf8137da7 elm_image: do not preload full image on file_set. 2013-09-25 18:39:42 +09:00
Stefan Schmidt eaa024b5b9 tests: Add images into the tarball to fix distcheck 2013-09-25 09:07:40 +01:00
Cedric Bail fa2ce3c547 elm_widget: fix widget signal callback memory leak.
Thanks to bluezery D228 for pointing out the issue.
2013-09-25 16:41:12 +09:00
Cedric Bail 29af5e1e43 elementary: update to new eo_parent_get/set API. 2013-09-25 13:34:27 +09:00
Daniel Juyung Seo 9785020b1f elm_widget.c: added comments for very confusable code. 2013-09-25 03:36:03 +09:00
Daniel Juyung Seo 4c24d2bf72 elm_spinner: refactoring internal codes.
1. use more ELM_SAFE_FREE macro.
2. use more descriptive names for internal timer variables.
2013-09-24 23:57:19 +09:00
Daniel Juyung Seo 8c2cd689c8 po: updated po files. 2013-09-24 02:46:34 +09:00
Amitesh Singh da658b3ba7 focus: Added glow effect example on a button. 2013-09-24 02:42:21 +09:00
Daniel Juyung Seo 4be5acb7fe test_hover.c: added hover test case to move hover object as we wish.
hover acts like elm_menu but it has all the hover features such as:
1. positioning: left, top-left, top, top-right, right, bottom-right, bottom, bottom-left, middle
2. content: one can set any object object as hover content

"transparent" style is added to dark theme.
2013-09-23 16:15:48 +09:00
Daniel Juyung Seo 22998b5622 test_map.c: fixed indentation. it was wrong even before my last commit. 2013-09-21 20:28:40 +09:00
Daniel Juyung Seo d20dffdf9e test_map.c: show longitude/latitude information about the current mouse position. 2013-09-21 20:24:31 +09:00
Daniel Juyung Seo f88c1c8f2f elm_menu: added elm_menu_item_subitems_clear. 2013-09-21 20:22:10 +09:00
Daniel Juyung Seo a7cd873410 elm_menu: added "dismissed" smart callback for dismiss action.
- "clicked" smart callback was used for dismiss action.
- "clicked" should be removed in EFL 2.0. Updated "EFL 2.0 TODO" wiki page.
- Updated ChangeLog and NEWS.
- Added sample code to elementary_test.
- Updated documentation.
2013-09-21 19:45:12 +09:00
Daniel Juyung Seo 42f3e07308 elm_menu.c: adopted new signal macro for menu. 2013-09-21 19:42:52 +09:00
Daniel Juyung Seo 2eb7cb4eb7 elm_menu.h: added @c for signal, content part, and text part names. 2013-09-21 19:39:11 +09:00
Daniel Juyung Seo 2bb42d6e33 elm_menu.c: use hover's dismissed callback instead of clicked callback for menu dismiss. 2013-09-21 19:32:34 +09:00
Daniel Juyung Seo 3005d87c97 elm_hover: added "dismissed" smart callback for dismiss action.
- "clicked" smart callback was used for dismiss action.
- "clicked" should be removed in EFL 2.0. Updated "EFL 2.0 TODO" wiki page.
- Updated ChangeLog and NEWS.
- Added sample code to elementary_test.
- Updated documentation.
2013-09-21 19:30:04 +09:00
Daniel Juyung Seo bea0320461 ChangeLog: fixed a typo. 2013-09-21 19:26:44 +09:00
Daniel Juyung Seo 9dc431462e elm_hover.c: adopted new signal macro before adding a new callback. 2013-09-21 19:20:52 +09:00
Daniel Juyung Seo d5d93d0597 test_hover.c: use elm_win_util_standard_add API and remove unnecessary bg min/max set. 2013-09-21 19:13:32 +09:00
Daniel Juyung Seo 3ff5f57346 elm_menu.c: use local variable for code readability. 2013-09-21 19:00:56 +09:00
Daniel Juyung Seo 4d8823af96 test_map.c: changed mouse down event local variable name down -> ev for consistency. 2013-09-21 18:39:35 +09:00