Commit Graph

8069 Commits

Author SHA1 Message Date
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
ChunEon Park 36ad1cc0e8 ctxpopup - block mouse events when ctxpopup is on dismiss. 2013-06-22 15:21:00 +09:00
Carsten Haitzler ee51f840ad exit if window cresation failes in tests. 2013-06-22 12:42:59 +09:00
Thiep Ha d062cc2004 [Elm_Entry] Show magnifier when selection handlers are pressed or moved.
Show magnifier when selection handlers are pressed or moved.
This patch is depended on D171 patch.

Conflicts:

	ChangeLog
	NEWS
2013-06-22 12:37:15 +09:00
Thiep Ha ca66c7cc6c When mouse moves in longpress state, the cursor should be moved along
with magnifier.

Conflicts:

	ChangeLog
2013-06-22 12:26:37 +09:00
ChunEon Park e506cb9f11 elementary/ctxpopup - + no-dimmed style 2013-06-21 18:54:16 +09:00
Jaehwan Kim cb8c288f42 Fix elm_scroller_page_show bug. It have to save the wanted values to show the wanted page. 2013-06-19 23:31:36 +09:00
Daniel Juyung Seo f282bf9239 po: updated po files. 2013-06-19 02:28:57 +09:00
Daniel Juyung Seo a7082cfb73 naviframe_example.c: added very simple naviframe example. 2013-06-19 02:02:17 +09:00
Daniel Juyung Seo 6ae4796cd1 genlist_example_0x.c: clean up sample codes.
1. use elm_win_util_standard_add in normal case. don't need to create the bg manually.
2. size hint align is not needed for window resize object.
2013-06-19 01:25:32 +09:00
Jaehwan Kim a9bd591af9 In case of scroll in scroll, the child scroller have to bounce if parents don't have a bounce. 2013-06-18 16:28:06 +09:00
Daniel Juyung Seo a070c90ca1 elm_layout_legacy.h: added missing ingroup for layout documentation. 2013-06-18 03:15:50 +09:00
Gustavo Lima Chaves 515b1ec64a Better logic for elm_scroller_current_page_get() while scrolling/dragging.
We still report the topmost/leftmost page, but DURING animations we
return which of the competing pages on the top, left edge get the
majority of their regions in the viewport.
2013-06-17 13:23:45 -03:00
Daniel Juyung Seo 8e8f98ce93 src/examples/.gitignore: updated git ignore. 2013-06-16 22:28:46 +09:00
Daniel Juyung Seo 85e220a1e3 index.doxy: add App to infrastructure documentation list. 2013-06-16 22:25:26 +09:00
ChunEon Park 5488d7c1b4 elementary/naviframe - dont' be popped if the event is freezed and popping is going on. 2013-06-16 19:57:19 +09:00
Daniel Juyung Seo 64a8f6608e elm_genlist.h: added missing " in the documentation. 2013-06-15 23:48:44 +09:00
Ryuan Choi 5ae1e19911 elm_main : Do not release strings which eina_prefix returns
The getter functions of eina_prefix just returns internal string.
So they should not be released in application side.
2013-06-15 13:02:25 +09:00
Ryuan Choi c3e0b5fc7c Fix build break on example
I got a below break while building example.

/usr/bin/ld: location_example_01.o: undefined reference to symbol 'elocation_address_free'
/usr/bin/ld: note: 'elocation_address_free' is defined in DSO /usr/elocal/lib/libelocation.so.0 so try adding it to the linker command line
/usr/elocal/lib/libelocation.so.0: could not read symbols: Invalid operation
2013-06-14 09:25:38 +09:00