Commit Graph

8087 Commits

Author SHA1 Message Date
Ryuan Choi 0ccfc31ee1 fileselector: Fixed regression of rELM3d2ae6d25ddc
https://phab.enlightenment.org/T198

After rELM3d2ae6d25ddc, buttons are destroyed when ok_cancel_set(true) is
called twice.
Spotted by uartie.
2013-06-29 07:27:23 +09:00
Carsten Haitzler 76d57a059f update po's 2013-06-28 19:18:42 +09:00
Daniel Zaoui db3db8ba59 DnD: rotate the dragwin of the user icon according to the rotation of
the main win.
2013-06-28 11:15:59 +03:00
Cedric Bail a0f3716168 elementary: fix build without public Eo API turned on. 2013-06-28 10:23:14 +09:00
Ryuan Choi 27f6087892 Prefer eina_stringshare_strlen for shared strings 2013-06-27 19:24:18 +09:00
Daniel Willmann df2b8a24a0 elc_naviframe: Use ! instead of ?-operator in _resize_object_reset()
Shorter and easier to understand this way.

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-06-27 09:40:06 +01:00
Carsten Haitzler f0e4b05a86 elm config: fix all_flush to not delay as this causes odd behavior in feedback loops with x11 and property changes 2013-06-27 17:30:00 +09:00
WooHyun Jung 6535743497 elementary/elm_entry.c : Removed test log. 2013-06-27 17:09:35 +09:00
WooHyun Jung 7447477981 elementar/elm_entry.c : Just fixed memory leak by elm_entry_utf8_to_markup. 2013-06-27 16:30:54 +09:00
Ryuan Choi 989c343d16 fileselector : Fix Segfault in elementary file_selector_example when closed
https://phab.enlightenment.org/T133

list_itc and grid_itc are static variables, but they were managed by file_selector instance.
For example, they are allocated two times and first allocated classes are dangling
when two file selector are created.

This patch moves their init/deinit logic to constructor/destructor of file selector class.
2013-06-27 15:38:46 +09:00
Daniel Juyung Seo 43abefe26f elm_gesture_layer.c: fixed warnings. 2013-06-27 10:43:45 +09:00
Alex Wu d9414a6d5d elm_cnp: Fix building issue when not defined HAVE_ELEMENTARY_X
Put the static function that will be used both by wayland
and x11 at the common place.
2013-06-27 10:30:36 +09:00
Daniel Juyung Seo a4e8501ed6 examples: refactoring about elm_win_resize_object_add.
1. call evas_object_size_hint_weight_set() before calling elm_win_resize_object_add() as documented.
2. evas_object_size_hint_align_set() is not needed for elm_win_resize_object_add().
2013-06-27 08:27:48 +09:00
Daniel Willmann be9e031e07 elm_win: Cast Ecore_X_Illume_Indicator_State to Elm_Win_Indicator_Mode
Avoids a warning in clang

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-06-26 18:06:18 +01:00
Daniel Willmann 420bf76bc9 elm_entry: Explicitly cast Elm enums to their Edje counterparts
and vice versa. Avoids some warnings in clang and it helps see that
these are actually different types.

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-06-26 17:54:26 +01:00
Daniel Willmann a856be3c59 elc_naviframe.c: Correctly call _resize_object_reset()
Incorrect use of the ?-operator...

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-06-26 16:45:54 +01:00
Daniel Juyung Seo 1e6f58bd01 examples: refactoring. use elm_win_util_standard_add() for normal cases. season 4.
now it's done :)
2013-06-26 21:26:21 +09:00
Daniel Juyung Seo d372445a1b examples: refactoring. use elm_win_util_standard_add() for normal cases. season 3. 2013-06-26 21:26:21 +09:00
Daniel Zaoui 50218ec1ba DnD: move NULL check to a better place 2013-06-26 15:02:09 +03:00
Daniel Zaoui e49de4c97b Gesture Layer: support multiple callbacks per type/state.
elm_gesture_layer_cb_add/del functions have been added to provide this
functionality.
elm_gesture_layer_cb_set provided only one callback and so was
overriding the callback with the new one.

For ABI compatibility, some rules were needed:
- when set function is called with NULL, all the callbacks of the state will be
removed (old behavior respect)
- try to use set or add/del exclusively with a preference to the new
APIs. This is because of the first rule and because it will be more correct.
- if you remove a callback, only one instance of this callback of this
type/state for this gesture will be removed, by comparing func and data.
It means that if you register twice the same callback/data, it will be added
twice and you will have to remove also twice too.
2013-06-26 14:37:52 +03:00
Daniel Juyung Seo 61dd0ba0ba hoversel_example_01.c: refactoring example.
Make the button text description clear. It was ambigous what will happen if we press the buttons and hoversel items.
This fixes T181 issue. https://phab.enlightenment.org/T181
2013-06-26 16:24:53 +09:00
Daniel Juyung Seo 1e4ee8a6e5 examples: refactoring. use elm_win_util_standard_add() for normal cases. season 2. 2013-06-26 15:34:38 +09:00
Daniel Juyung Seo 53a3c18c5b examples: refactoring. use elm_win_util_standard_add() for normal cases. 2013-06-26 15:16:08 +09:00
Ryuan Choi 64371a5981 elementary_config: Fix possible leak when ELM_EFREET is enabled 2013-06-26 12:52:33 +09:00
Doug Newgard 5451fe2cb6 fix up png's with bad color profiles. 2013-06-26 12:30:44 +09:00
Daniel Juyung Seo 3ac4fbf883 list.edc: do not fix h_item_odd's TEXT part horizontally.
This fixes T186 issue.
https://phab.enlightenment.org/T186
2013-06-26 11:09:21 +09:00
Daniel Juyung Seo c5486ca5d3 list_example_02.c: remove box. box is not needed in this example. 2013-06-26 11:02:44 +09:00
Daniel Juyung Seo fc08fd6bc6 src/examples: use delete,request callback only when it's really needed. this can be covered by elm_policy_set and elm_win_autodel_set easily. 2013-06-26 10:54:58 +09:00
Daniel Juyung Seo be02a7fd65 test_ctxpopup.c: code cleanup. 2013-06-26 09:35:55 +09:00
Daniel Juyung Seo eb41a56d85 ctxpopup_example01.c: delete ctxpopup object when it's dismissed. 2013-06-26 09:35:26 +09:00
Ryuan Choi c6190fa7bb elm_font: Remove unnecessary realloc 2013-06-25 19:37:57 +09:00
Daniel Zaoui aea9b1d262 Gesture Layer: Add API to set the finger size for taps.
The default value is the one stored in elm_config.
2013-06-25 10:43:04 +03:00
Aharon Hillel dcab3545cf Gesture Layer: fix to improve fingers taps registration
Signed-off-by: Aharon Hillel <a.hillel@samsung.com>
2013-06-25 10:42:39 +03:00
Daniel Juyung Seo 1b1e1f99e3 edje_externals/elm_web.c, doc/widgets/wiget_preview_web.c: applied api changes elm_web_uri -> elm_web_url. 2013-06-25 12:05:57 +09:00
Daniel Juyung Seo 376ebbadb2 examples: fixed warnings. 2013-06-25 12:05:43 +09:00
Daniel Juyung Seo bcd0f81381 elm_image_legacy.h: updated elm_image_file_set() documentation for animated gif image. 2013-06-25 11:20:25 +09:00
Daniel Juyung Seo 59c5970c72 elm_image.c: eo refactoring. place internal functions into a better place. 2013-06-25 11:15:15 +09:00
Ryuan Choi 68d45c3689 Update ChangeLog and NEWS for below commit. 2013-06-25 08:38:14 +09:00
Ryuan Choi 0bda4b1918 elm_notify: Fix crash when timeout is zero
Because _timer_init() can be called multiple times,
sd->timer should be cleard if we will not add new timer

This fixes https://phab.enlightenment.org/T178
Thanks brian.lovin for the report.
2013-06-25 08:18:25 +09:00
Ryuan Choi fec9eab52c fileselector: Fix possible leak of _buttons_ok_cancel_set
When called _buttons_ok_cancel_set(true) two times,
buttons are created without release.
2013-06-25 06:08:18 +09:00
Ryuan Choi ce69eac081 fileselector: Added @since 1.8 for new APIs
4c7285d add new APIs but missed "@since 1.8"
Spotted by Hermet.
2013-06-24 20:09:26 +09:00
Ryuan Choi 2cfa0ce7db file selector:Add support mime type filter 2013-06-24 15:42:51 +09:00
Ryuan Choi 8ad4a7f904 ChangeLog: fix ChangeLog spacing
http://en.wikipedia.org/wiki/Changelog mentioned,
Note that between the date and the name, and again between the name and
the email address, there are two spaces each.
2013-06-24 15:07:50 +09:00
Ryuan Choi 1a7ffeded0 ChangeLog: removed <<<<< HEAD, someone merged wrong. 2013-06-24 14:42:47 +09:00
ChunEon Park cdae0e4064 elementary/ctxpopup - more clean code. 2013-06-24 09:54:16 +09:00
Carsten Haitzler f6ba63b7dc fix style test for genlist -> media-preview not media_preview. 2013-06-23 23:18:13 +09:00
Carsten Haitzler 153f5d9de2 genlist - fix some stacking issues when selecting items with group headers
stacking become a lot more complex when re-order mode was added, group
headers and more, so simple raise/lower wasn't enough, so this adds 2
stacking markers (rectangles) and objects are stacked above or below
these 2 markers. that basically provides 4 possible stacking slots
that are easy to address, and if you also still raise/lower you get 6
slots. use these markers for stacking so items go into a fixed
stacking layer when they stack around.
2013-06-23 15:17:39 +09:00
ChunEon Park 72f639543c elementary/ctxpopup - apply current ctxpopup style to the internal list. 2013-06-23 02:23:23 +09:00
ChunEon Park 4d1c98968a elementary/ctxpopup - my fault. should be kept for animation. 2013-06-22 16:37:38 +09:00
ChunEon Park 8de8bedc2a elementary/ctxpopup - removed unnecesay edc groups 2013-06-22 16:06:02 +09:00