Commit Graph

7453 Commits

Author SHA1 Message Date
Jaehwan Kim 577166b06e Remove Warning 2013-06-30 15:30:06 +09:00
Jaehwan Kim de36ba66cf Fix the parameter. This is related to previous commit. 2013-06-30 15:15:08 +09:00
Jaehwan Kim d418b27b96 Add the elm_scrollable_interface_content_viewport_resize_cb_set.
When the viewport is resized, the enrolled function is called.
2013-06-30 14:42:34 +09:00
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
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
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 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
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 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
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 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
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
Gustavo Lima Chaves 8e644dd21e Fix elm_scroller_child_size_get() to work all scrollables.
My bad on this one, it was never made to act like so since my
new widget schema.
2013-06-13 18:09:04 -03:00
Stefan Schmidt c44bd02f0e elm_gesture_layer: Fix potential NULL pointer dereference.
If _pointer_even_make is false pe stays NULL and might get dereferenced
later. Instead we return now if _pointer_event_make fails.

Thanks to Tom for consulting with the gesture layer code.
2013-06-13 16:25:14 +01:00
Stefan Schmidt 3134a75de1 elm_web: Fix up various typos from URL conversion.
Ryuan please check if I adapted these correctly. And next time please
do a compile before pushing it. Spank :)

Thanks to Uartie for spotting it.
2013-06-13 15:45:33 +01:00
Ryuan Choi ff89b116db elm_web: Fix typo.
Thanks to ya-kov for reporting this.
2013-06-13 19:02:29 +09:00
ChunEon Park eaa94c2688 elementary/naviframe - oops, here more proper check. 2013-06-13 16:36:13 +09:00
ChunEon Park 5263213062 elemenatry/naviframe - keep the current view on top to have events and don't try to add member for the deleted dummy. 2013-06-13 15:46:16 +09:00
Ryuan Choi 1af4430e6a web/web2 : Deprecated uri. url will be used instead(2).
Sorry, I missed elm_web_legacy.h from previous commit.
In addition, updated ChangeLog and NEWS.
2013-06-13 13:56:16 +09:00
Ryuan Choi e11bbc24b5 web/web2 : Deprecated uri. url will be used instead.
ewebkit used uri and url as mixed for a long time.
But last year, ewebkit2 decide to use url for the consistency.

Below is discussion and webkit-efl bug about "uri vs url"
https://lists.webkit.org/pipermail/webkit-efl/2012-October/000312.html
https://bugs.webkit.org/show_bug.cgi?id=98643
2013-06-13 10:30:10 +09:00
ChunEon Park 7982138843 elementary/naviframe - more clean code 2013-06-12 22:28:40 +09:00
Carsten Haitzler fe97f8d508 add more test/example cases to genlist test. 2013-06-12 20:15:52 +09:00
Daniel Juyung Seo c7cfcc43f2 elc_fileselector.c: check null path before fileselector populate.
If no path was selected we don't need to populate fileselector.
This fixes https://phab.enlightenment.org/T132.
Thanks uartie for the report.
2013-06-12 15:03:49 +09:00
Daniel Juyung Seo e44d3427e1 fileselector_example.c: fix the compile command. 2013-06-12 14:23:13 +09:00
Daniel Juyung Seo e92b0c4121 elm_check.h: updated check documentation.
"on" and "off" text parts work only with "toggle" style of check.
This fixes https://phab.enlightenment.org/T154
Thanks brian.lovin for the report.
2013-06-12 14:14:25 +09:00
Daniel Juyung Seo 3c0c5a8724 test_popup.c: refactoring. added comments and empty lines for the readability. 2013-06-12 13:39:42 +09:00
Ryuan Choi c15ebf2e0e elm_web2: Implemented missing navigation and user-agent APIs. 2013-06-12 09:19:51 +09:00
Ryuan Choi 71a41a8c16 elm_web2: Fixed simple warning 2013-06-12 09:19:51 +09:00
Eduardo Lima (Etrunko) fffdaeb025 Split .gitignore into multiple files
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
2013-06-11 18:18:06 -03:00
ChunEon Park 3edbacc7d4 elementary/naviframe - it's not intended code. remove it. 2013-06-11 21:55:44 +09:00
Daniel Willmann c093a07541 els_tooltip: Only call ecore_x_pointer_xy_get() if we're in X
We don't want to call X functions (and segfault) if X is not actually
running.

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-06-11 12:48:52 +01:00
Daniel Willmann 363da34f27 els_tooltip.c: Initialize px and py to zero
px and py might not be set if X support is not compiled in and
ecore_x_pointer_xy_get() is not called. In that case make sure they are
not used uninitialized.

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-06-11 12:48:48 +01:00
Daniel Willmann 4d40f16f5e els_tooltip: Don't expect to have X running if support is compiled in
Refactor the code so common code is not duplicated inside the
if (transparent) and else blocks

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-06-11 11:27:23 +01:00
Ryuan Choi 54663d2970 colorselector: Remove srgb and lrgb from Elm_Colorselector_Smart_Data
They are always calculated before used so they can be removed from smart data.
2013-06-11 18:57:37 +09:00
ChunEon Park 2368f82e31 elementary/naviframe - Keep the smart members of the naviframe views whenever resize object is changed.
This prevents the dangling view objects of the naviframe and keep the layer consistency.
2013-06-11 18:08:10 +09:00
Stefan Schmidt 06c869eece elc_fileselector: Small formatting fix.
Spotted by devilhorns. Somehow I feel watched here. ;)
2013-06-11 08:48:20 +01:00
Ryuan Choi 215e935ea1 colorselector: Do not send "changed" signal twice when pressed color bar
Regardless of color selector mode, mouse down captured color.
This patch moves callbacks related to picker mode to _start_grab_pick_cb.
2013-06-11 12:22:08 +09:00
ChunEon Park a1d3265cad naviframe - keep the animator just one. 2013-06-11 12:20:10 +09:00
Stefan Schmidt 33eca6e2c0 elc_fileselector: Fix memory leak in _selected_set.
Using ecore_file_dir_get() like this will leak the returned string as we
have no way to control its free'ing. Better use a separate variable for it.
2013-06-10 15:47:54 +01:00
Stefan Schmidt 125938e968 elm_cnp: Fix memory leak in error path.
We allocate info->filename in all cases but missed a free in the error path.
2013-06-10 14:53:11 +01:00
Ryuan Choi 15883b69ce elm_colorselector: Refactored not to change RGBA values many times.
For example, colors_set changed RGBA five times (The first is in colors_set itself,
the others are in _hsl_to_rgb which called by _rectangle_redraw).

First, this patch splits _rectangle_redraw to 3 separate functions,
_update_colorbars, _update_hsla_from_colorbar and _update_ergb.
So only proper functions will be called instead of _rectangle_redraw.

Second, SIG_CHANGED will be called when RGBA was only changed.
2013-06-10 16:38:35 +09:00
Daniel Juyung Seo e4c5d37ccc diskselector, icon, map, progressbar: no @since for smart callback just use since or it will cause line break in the doxygen documentation. 2013-06-10 14:54:08 +09:00
Chris Michael 7e198bf9c1 Add Elementary_Wayland flags & libs to test building
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-10 06:48:26 +01:00
Daniel Juyung Seo a5066a5747 panel, video, web, web2: added focused, unfocused smart callback documentation. 2013-06-10 14:37:47 +09:00
Daniel Juyung Seo 6cf684f02a elm: added more "focused" and "unfocused" documentations.
genlist, hover, index, list, map, photocam, progressbar, radio, scroller, slider, slideshow, spinner, toolbar, win.
2013-06-10 14:13:55 +09:00
Daniel Juyung Seo f1b685897d elm: do not declare SIG_FUCSED/SIG_UNFOCUSED if the const char is not used more than once.
ctxpopup, fileselector_button, naviframe, player, popup, bubble, button, calendar, check, clock, colorselector, datetime, diskselector, flipselector, gengrid.
2013-06-10 14:13:55 +09:00
Daniel Juyung Seo 37822734cc elm: fixed focused and unfocused documentation.
1. ctxpopup, fileselector_entry, naviframe, popup, bubble, button, calendar, check, clock, colorselector, datetime, diskselector, flipselector, gengrid.
2. since 1.8
2013-06-10 14:13:55 +09:00
Daniel Juyung Seo 1d0521337c elm_panel.c: call elm_widget_can_focus_set() just once in smart add. 2013-06-10 14:13:55 +09:00
ChunEon Park 5eb167c922 elementary/conformant - remove the keyboard area in the conformant if the keyboard state is off. 2013-06-10 13:33:00 +09:00
Ryuan Choi c6ee22e312 Add myself in AUTHORS and elm_authors.h 2013-06-10 11:29:44 +09:00
Daniel Juyung Seo 8cf2c8a422 calendar, check, clock, colorselector, datetime, diskselector, flipselector, gengrid: added "focused" and "unfocused" documentations. 2013-06-09 18:55:42 +09:00
Daniel Juyung Seo 7b71bd1973 ctxpopup, fileselector_button, naviframe, player, popup, bubble, button: added "focused" and "unfocused" documentations. 2013-06-09 18:54:43 +09:00
Daniel Juyung Seo 3c7fb77167 elc_ctxpopup.h: more and better ctxpopup documentation for smart callbacks.
1. put numbers for the dismissed smart callback emit cases.
2. added missing language,changed smart callback documentation for ctxpopup.
2013-06-09 18:06:14 +09:00
Daniel Juyung Seo d7483ee627 elm_general.h: better documentation. 2013-06-09 18:01:21 +09:00
Daniel Juyung Seo 46d08b10f8 datetime, lable: use SIG_LANG_CHANGED instead of SIG_LANGUAGE_CHANGED for consistency. 2013-06-09 17:56:30 +09:00
Daniel Juyung Seo 99ed8edb84 elm_widget_toolbar.h: more internal toolbar documentation. 2013-06-09 17:47:39 +09:00
Daniel Juyung Seo d8057c52eb documentation: fixed a typo. 2013-06-09 17:14:31 +09:00
Daniel Juyung Seo ed24ca26d4 elm_widget.h: more widget documentation. 2013-06-09 17:13:07 +09:00
Daniel Juyung Seo 9353cdeac8 elm_widget.h: update elm_wdg_on_focus documentation. 2013-06-09 16:54:26 +09:00
Daniel Juyung Seo 253e6369e4 elm_widget.c: handle focus fail case. 2013-06-09 16:54:00 +09:00
ChunEon Park d260935270 elementary/naviframe - don't ignore the subtitle case 2013-06-08 18:13:26 +09:00
ChunEon Park 16bcf540b2 elementary/naviframe - return as soon as possible 2013-06-08 18:11:09 +09:00
ChunEon Park 8c7b28b4ed elementary/naviframe - try to read the titles only when title is set and title_area is visible 2013-06-08 18:10:17 +09:00
ChunEon Park 76465a7fdd elementary/naviframe - no! don't have the keyboard dependenccy with naviframe. 2013-06-08 17:40:39 +09:00
Carsten Haitzler 0c13ec5ced part of the entry magnifier feature set from thiep. still more to go. 2013-06-07 17:17:30 +09:00
Daniel Juyung Seo d878787b02 elm_win.c: changed EINA_LOG_INFO to INF to use elementary log domain. 2013-06-07 13:47:58 +09:00
Ryuan Choi 091498f4cc elm_clock: Removed unnecessary check routine
Small refactoring.
2013-06-07 13:01:33 +09:00
Boris Faure bda98e9dd3 fix compilation 2013-06-06 21:20:20 +02:00
Rafael Antognolli 678c41b289 elm/scrollable: Fix count of mouse move events.
It should use just the events that really happened (after the mouse move
starting timestamp).
2013-06-06 14:24:37 -03:00
Rafael Antognolli cc19e3948d elm/scrollable: Avoid division by zero during scroll.
When several mouse move events arrive with the same timestamps, the
calculation done to get an average of movement will try to divide things
by zero. This fix will make it ignore this calculation and just go back
to assuming that there's only one last move event.

Such behavior can happen on wayland backend, when using the X11 backend
for Weston, since it will process several X events in one loop iteration
and send all of them with the same timestamp.
2013-06-06 14:24:37 -03:00
Rafael Antognolli 14cc29a188 elm/scrollable: Fix typo that came with ELM_FREE_FUNC. 2013-06-06 14:24:37 -03:00
Daniel Juyung Seo 8bfdbd2ba6 elm: all the focusable widget now emits "focused" and "unfocused" smart callbacks.
1. documentations, NEWS, and ChangeLog will be updated later after some more test.
2. need to check entry.
2013-06-07 01:13:37 +09:00
Daniel Juyung Seo 93fb6bcde9 elm_entry.c: put focused and unfocused together for the readability. 2013-06-07 00:35:53 +09:00
Ryuan Choi ee4ba61327 elm_clock : The step of hour decimal in editing mode should be 12 not to touch hour unit. 2013-06-06 07:54:51 +09:00
Chris Michael dd2e663651 Initialize 'win' to NULL and only return a window id if we have a
valid 'win'

Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-06-05 18:21:55 +01:00
Chris Michael 04ff986be5 Check for valid savedtypes imgfile before trying to use it.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-05 12:57:10 +01:00
ChunEon Park bfc63634c1 elementary/naviframe - fix the naviframe to recover the focus when top item is deleted 2013-06-05 16:31:49 +09:00
Shinwoo Kim 4ec80b4e9f Revert "[Access] Add new API to register a part on an object item as an access object."
This reverts commit 741243b645248223527ef834ed0dc10622a0ffd3.
2013-06-05 15:05:58 +09:00
Daniel Juyung Seo cc77713da3 gengrid/genlist: added index,update smartcallback documentation. 2013-06-05 14:50:34 +09:00
Daniel Juyung Seo d0d4afd590 elm: refactoring. no printf in the library. use eina log instead. 2013-06-05 14:40:03 +09:00
Ryuan Choi 287f3cee1c elm_colorselector: Update color bar when color was picked by color picker. 2013-06-05 09:11:16 +09:00
Tae-Hwan Kim 9aaf2f5587 [Access] Add new API to register a part on an object item as an access object.
Author: bluezery
2013-06-04 19:34:18 +09:00
Leif Middelschulte d031934ff4 Fix segfault related to strdup.
Summary: This patch fixes a segfault that happens when you create a flipselector theme without an "elm.top" part.

Reviewers: cedric

Reviewed By: cedric

Differential Revision: https://phab.enlightenment.org/D156
2013-06-04 12:09:47 +02:00
Ryuan Choi 152deb9a9a elm table: Fixed wrong description and argument name about packing API 2013-06-04 16:50:03 +09:00
Shinwoo Kim 5c6b745ea7 elm_gesture_layer.c: add EVAS_CALLBACK_DEL to the target object. The target object could be deleted before deletion of the gesture layer. 2013-06-03 20:48:15 +09:00
Daniel Zaoui b59ce96e86 Elementary/DnD: fix creation of dragwin.
It seems that the order of show and move for a window is important.
2013-06-03 09:56:18 +03:00
WooHyun Jung 9cd0a65523 elementary/elc_popup : Popup should get focus when elm_object_focus_set is tried on it even though there is no focusalbe child in it. 2013-05-31 16:22:28 +09:00
Daniel Juyung Seo 94894ad8ec elm_gengrid/genlist.h: flourish documentation for 'moved' smart callback. 2013-05-31 14:53:55 +09:00
Daniel Juyung Seo fcf5059148 elm_interface_scrollable.c: initialize more local variables spotted by valgrind. 2013-05-30 23:52:08 +09:00
WooHyun Jung 9c690eb61a elementary/elc_ctxpopup : When content is not internal elm_list, focus direction should be controlled inside ctxpopup. 2013-05-30 15:24:32 +09:00
ChunEon Park 0817e697c0 elementary/mapbuf - removed white trailing 2013-05-30 02:37:35 +09:00
ChunEon Park fe7118ec67 elementary/mapbuf - fix the mapbuf to be enabled before it's content is entirely rendered.
This will fix the bad-cases that content is not updated properly if they are changed outside of the viewport
2013-05-30 02:31:38 +09:00
Daniel Juyung Seo 43cbb2e43e elm_priv.h: ELM_SAFE_FREE adoption.
I splited ELM_SAFE_FREE refactoring patches. One commit per each file as recommended.
For the detail, please refer 3072dab12f12fe83fb5a628d15efd5cded11787f.

THE LAST COMMIT OF ELM_SAFE_FREE STREAM.
I double checked all of my previous commits but if there is any issue, please contact me on irc #edevelop with SeoZ or SeoZ[galaxyS3].
Thanks.
2013-05-29 21:12:52 +09:00
Daniel Juyung Seo 416981aecc elu_ews_wm.c: ELM_SAFE_FREE adoption.
I splited ELM_SAFE_FREE refactoring patches. One commit per each file as recommended.
For the detail, please refer 3072dab12f12fe83fb5a628d15efd5cded11787f.
2013-05-29 21:12:22 +09:00
Daniel Juyung Seo 8ea7760db4 els_tooltip.c: ELM_SAFE_FREE adoption.
I splited ELM_SAFE_FREE refactoring patches. One commit per each file as recommended.
For the detail, please refer 3072dab12f12fe83fb5a628d15efd5cded11787f.
2013-05-29 21:12:04 +09:00
Daniel Juyung Seo cb691fc983 elm_win.c: ELM_SAFE_FREE adoption.
I splited ELM_SAFE_FREE refactoring patches. One commit per each file as recommended.
For the detail, please refer 3072dab12f12fe83fb5a628d15efd5cded11787f.
2013-05-29 21:11:46 +09:00
Daniel Juyung Seo 1a2cc11167 elm_web.c: ELM_SAFE_FREE adoption.
I splited ELM_SAFE_FREE refactoring patches. One commit per each file as recommended.
For the detail, please refer 3072dab12f12fe83fb5a628d15efd5cded11787f.
2013-05-29 21:10:45 +09:00
Daniel Juyung Seo 2d8d13a26c elm_video.c: ELM_SAFE_FREE adoption.
I splited ELM_SAFE_FREE refactoring patches. One commit per each file as recommended.
For the detail, please refer 3072dab12f12fe83fb5a628d15efd5cded11787f.
2013-05-29 21:10:05 +09:00
Daniel Juyung Seo 72879a226f elm_transit.c: ELM_SAFE_FREE adoption.
I splited ELM_SAFE_FREE refactoring patches. One commit per each file as recommended.
For the detail, please refer 3072dab12f12fe83fb5a628d15efd5cded11787f.
2013-05-29 21:09:21 +09:00
Daniel Juyung Seo 4355c54715 elm_toolbar.c: ELM_SAFE_FREE adoption.
I splited ELM_SAFE_FREE refactoring patches. One commit per each file as recommended.
For the detail, please refer 3072dab12f12fe83fb5a628d15efd5cded11787f.
2013-05-29 21:08:50 +09:00
Daniel Juyung Seo 29a3cb3105 elm_thumb.c: ELM_SAFE_FREE adoption.
I splited ELM_SAFE_FREE refactoring patches. One commit per each file as recommended.
For the detail, please refer 3072dab12f12fe83fb5a628d15efd5cded11787f.
2013-05-29 21:08:22 +09:00
Daniel Juyung Seo 90f4afc682 elm_theme.c: ELM_SAFE_FREE adoption.
I splited ELM_SAFE_FREE refactoring patches. One commit per each file as recommended.
For the detail, please refer 3072dab12f12fe83fb5a628d15efd5cded11787f.
2013-05-29 21:08:05 +09:00
Daniel Juyung Seo c2747996da elm_store.c: ELM_SAFE_FREE adoption.
I splited ELM_SAFE_FREE refactoring patches. One commit per each file as recommended.
For the detail, please refer 3072dab12f12fe83fb5a628d15efd5cded11787f.
2013-05-29 21:07:52 +09:00
Daniel Juyung Seo 2f5ef21462 elm_spinner.c: ELM_SAFE_FREE adoption.
I splited ELM_SAFE_FREE refactoring patches. One commit per each file as recommended.
For the detail, please refer 3072dab12f12fe83fb5a628d15efd5cded11787f.
2013-05-29 21:07:24 +09:00
Daniel Juyung Seo 6ce1fcccfa elm_slideshow.c: ELM_SAFE_FREE adoption.
I splited ELM_SAFE_FREE refactoring patches. One commit per each file as recommended.
For the detail, please refer 3072dab12f12fe83fb5a628d15efd5cded11787f.
2013-05-29 21:06:48 +09:00
Daniel Juyung Seo cbde4c55ca elm_slider.c: ELM_SAFE_FREE adoption.
I splited ELM_SAFE_FREE refactoring patches. One commit per each file as recommended.
For the detail, please refer 3072dab12f12fe83fb5a628d15efd5cded11787f.
2013-05-29 21:06:22 +09:00
Daniel Juyung Seo 8723a085e0 elm_photocam.c: ELM_SAFE_FREE adoption.
I splited ELM_SAFE_FREE refactoring patches. One commit per each file as recommended.
For the detail, please refer 3072dab12f12fe83fb5a628d15efd5cded11787f.
2013-05-29 21:05:37 +09:00
Daniel Juyung Seo e4e2c38e48 elm_photo.c: ELM_SAFE_FREE adoption.
I splited ELM_SAFE_FREE refactoring patches. One commit per each file as recommended.
For the detail, please refer 3072dab12f12fe83fb5a628d15efd5cded11787f.
2013-05-29 21:05:09 +09:00
Daniel Juyung Seo 82dd59fba5 elm_notify.c: ELM_SAFE_FREE adoption.
I splited ELM_SAFE_FREE refactoring patches. One commit per each file as recommended.
For the detail, please refer 3072dab12f12fe83fb5a628d15efd5cded11787f.
2013-05-29 21:04:49 +09:00
Daniel Juyung Seo 14a50de4d1 elm_module.c: ELM_SAFE_FREE adoption.
I splited ELM_SAFE_FREE refactoring patches. One commit per each file as recommended.
For the detail, please refer 3072dab12f12fe83fb5a628d15efd5cded11787f.
2013-05-29 21:04:40 +09:00
Daniel Juyung Seo e5e105342f elm_mapbuf.c: ELM_SAFE_FREE adoption.
I splited ELM_SAFE_FREE refactoring patches. One commit per each file as recommended.
For the detail, please refer 3072dab12f12fe83fb5a628d15efd5cded11787f.
2013-05-29 21:04:07 +09:00
Daniel Juyung Seo fce66c4296 elm_map.c: ELM_SAFE_FREE adoption.
I splited ELM_SAFE_FREE refactoring patches. One commit per each file as recommended.
For the detail, please refer 3072dab12f12fe83fb5a628d15efd5cded11787f.
2013-05-29 21:03:51 +09:00
Daniel Juyung Seo f7449d9ea5 elm_main.c: ELM_SAFE_FREE adoption.
I splited ELM_SAFE_FREE refactoring patches. One commit per each file as recommended.
For the detail, please refer 3072dab12f12fe83fb5a628d15efd5cded11787f.

In this commit, I used ELM_SAFE_FREE even inside shutdown function.
2013-05-29 21:00:40 +09:00
Daniel Juyung Seo 1c1da31da3 elm_list.c: ELM_SAFE_FREE adoption.
I splited ELM_SAFE_FREE refactoring patches. One commit per each file as recommended.
For the detail, please refer 3072dab12f12fe83fb5a628d15efd5cded11787f.
2013-05-29 21:00:12 +09:00
Daniel Juyung Seo 4cea5af2dc elm_interface_scrollable.c: ELM_SAFE_FREE adoption.
I splited ELM_SAFE_FREE refactoring patches. One commit per each file as recommended.
For the detail, please refer 3072dab12f12fe83fb5a628d15efd5cded11787f.
2013-05-29 20:58:29 +09:00
Daniel Juyung Seo c024dee61c elm_index.c: ELM_SAFE_FREE adoption.
I splited ELM_SAFE_FREE refactoring patches. One commit per each file as recommended.
For the detail, please refer 3072dab12f12fe83fb5a628d15efd5cded11787f.
2013-05-29 20:57:58 +09:00
Daniel Juyung Seo 9a7bbbf3be elm_image.c: ELM_SAFE_FREE adoption.
I splited ELM_SAFE_FREE refactoring patches. One commit per each file as recommended.
For the detail, please refer 3072dab12f12fe83fb5a628d15efd5cded11787f.
2013-05-29 20:56:07 +09:00
Daniel Juyung Seo 7154e2c916 elm_icon.c: ELM_SAFE_FREE adoption.
I splited ELM_SAFE_FREE refactoring patches. One commit per each file as recommended.
For the detail, please refer 3072dab12f12fe83fb5a628d15efd5cded11787f.
2013-05-29 20:55:19 +09:00
Daniel Juyung Seo 37511fda1d elm_gesture_layer.c: ELM_SAFE_FREE adoption.
I splited ELM_SAFE_FREE refactoring patches. One commit per each file as recommended.
For the detail, please refer 3072dab12f12fe83fb5a628d15efd5cded11787f.
2013-05-29 20:54:30 +09:00
Daniel Juyung Seo e533e0e9c8 elm_genlist.c: ELM_SAFE_FREE adoption.
I splited ELM_SAFE_FREE refactoring patches. One commit per each file as recommended.
For the detail, please refer 3072dab12f12fe83fb5a628d15efd5cded11787f.
2013-05-29 20:54:11 +09:00
Daniel Juyung Seo 4738e0d6ae elm_gengrid.c: ELM_SAFE_FREE adoption.
I splited ELM_SAFE_FREE refactoring patches. One commit per each file as recommended.
For the detail, please refer 3072dab12f12fe83fb5a628d15efd5cded11787f.
2013-05-29 20:53:13 +09:00
Daniel Juyung Seo df2b288846 elm_flipselector.c: ELM_SAFE_FREE adoption.
I splited ELM_SAFE_FREE refactoring patches. One commit per each file as recommended.
For the detail, please refer 3072dab12f12fe83fb5a628d15efd5cded11787f.
2013-05-29 20:52:32 +09:00
Daniel Juyung Seo 2bbc41d4ae elm_flip.c: ELM_SAFE_FREE adoption.
I splited ELM_SAFE_FREE refactoring patches. One commit per each file as recommended.
For the detail, please refer 3072dab12f12fe83fb5a628d15efd5cded11787f.
2013-05-29 20:52:16 +09:00
Daniel Juyung Seo 742fa688d8 elm_entry.c: ELM_SAFE_FREE adoption.
I splited ELM_SAFE_FREE refactoring patches. One commit per each file as recommended.
For the detail, please refer 3072dab12f12fe83fb5a628d15efd5cded11787f.
2013-05-29 20:51:06 +09:00
Daniel Juyung Seo b54fb12f8b elm_conform.c: ELM_SAFE_FREE adoption.
I splited ELM_SAFE_FREE refactoring patches. One commit per each file as recommended.
For the detail, please refer 3072dab12f12fe83fb5a628d15efd5cded11787f.
2013-05-29 20:50:14 +09:00
Daniel Juyung Seo 6f65981864 elm_config.c: ELM_SAFE_FREE adoption.
I splited ELM_SAFE_FREE refactoring patches. One commit per each file as recommended.
For the detail, please refer 3072dab12f12fe83fb5a628d15efd5cded11787f.
2013-05-29 20:49:54 +09:00
Daniel Juyung Seo 1045cab8a7 elm_colorselector.c: ELM_SAFE_FREE adoption.
I splited ELM_SAFE_FREE refactoring patches. One commit per each file as recommended.
For the detail, please refer 3072dab12f12fe83fb5a628d15efd5cded11787f.
2013-05-29 20:47:36 +09:00
Daniel Juyung Seo 652ad1417f elm_cnp.c: ELM_SAFE_FREE adoption.
I splited ELM_SAFE_FREE refactoring patches. One commit per each file as recommended.
For the detail, please refer 3072dab12f12fe83fb5a628d15efd5cded11787f.
2013-05-29 20:47:08 +09:00
Daniel Juyung Seo 70988bc471 elm_priv.h: ELM_SAFE_FREE adoption.
I splited ELM_SAFE_FREE refactoring patches. One commit per each file as recommended.
For the detail, please refer 3072dab12f12fe83fb5a628d15efd5cded11787f.
2013-05-29 20:44:39 +09:00
Daniel Juyung Seo 602b04c578 elm_clock.c: ELM_SAFE_FREE adoption.
I splited ELM_SAFE_FREE refactoring patches. One commit per each file as recommended.
For the detail, please refer 3072dab12f12fe83fb5a628d15efd5cded11787f.
2013-05-29 20:44:08 +09:00
Daniel Juyung Seo d567f121ff elm_calendar.c: ELM_SAFE_FREE adoption for calendar.
I splited ELM_SAFE_FREE refactoring patches. One commit per each file as recommended.
For the detail, please refer 3072dab12f12fe83fb5a628d15efd5cded11787f.
2013-05-29 20:41:37 +09:00
Daniel Juyung Seo a9e5a2bf63 elm_button.c: ELM_SAFE_FREE adoption for button.
I splited ELM_SAFE_FREE refactoring patches. One commit per each file as recommended.
For the detail, please refer 3072dab12f12fe83fb5a628d15efd5cded11787f.
2013-05-29 20:41:01 +09:00
Daniel Juyung Seo 6320433058 elm_box.c: ELM_SAFE_FREE adoption for box.
I splited ELM_SAFE_FREE refactoring patches. One commit per each file as recommended.
For the detail, please refer 3072dab12f12fe83fb5a628d15efd5cded11787f.
2013-05-29 20:40:06 +09:00
Daniel Juyung Seo 7eef2d1892 elm_bg.c: ELM_SAFE_FREE adoption for bg.
I splited ELM_SAFE_FREE refactoring patches. One commit per each file as recommended.
For the detail, please refer 3072dab12f12fe83fb5a628d15efd5cded11787f.
2013-05-29 20:22:54 +09:00
Daniel Juyung Seo b0f793baa7 elm_access.c: ELM_SAFE_FREE adoption for access.
I splited ELM_SAFE_FREE refactoring patches. One commit per each file as recommended.
For the detail, please refer 3072dab12f12fe83fb5a628d15efd5cded11787f.
2013-05-29 20:22:16 +09:00
Daniel Juyung Seo 9e3517fbcd elc_popup.c: ELM_SAFE_FREE adoption for popup.
I splited ELM_SAFE_FREE refactoring patches. One commit per each file as recommended.
For the detail, please refer 3072dab12f12fe83fb5a628d15efd5cded11787f.
2013-05-29 20:20:58 +09:00
Daniel Juyung Seo 6ac249e370 elc_player: ELM_SAFE_FREE adoption.
1. ELM_FREE_FUNC -> ELM_SAFE_FREE
2. There were a lot of suggestions and consideration in the mailing list.
ELM_SAFE_FREE will be used only when it checks the pointer, deletes it, and initializes it to NULL.

ex)
if (timer)
  {
     ecore_timer_del(timer);
     timer = NULL;
  }
=>
ELM_SAFE_FREE(timer, ecore_timer_del);

My first aim was to remove many human mistakes but it looks like people want more optimized code in a code level.
So this macro will be used only for reducing 5 lines of code into 1 line.
Otherwise, I will just call xxx_del() manually.

3. ELM_SAFE_FREE can be used for other del or free functions such as ecore_job_del, ecore_animator_del, eina_stringshare_del, free, ...
2013-05-29 20:11:47 +09:00
Daniel Juyung Seo 5e6538eda1 test_icon_desktops.c: print out more useful information. 2013-05-29 00:38:11 +09:00
Daniel Juyung Seo 55a14655a2 elm_widget.c: formatting fix.
I am surprised that one space can annoy me.
2013-05-29 00:38:11 +09:00
Chris Michael e78ddf7a40 Add code to make Wayland Drag-n-Drop work in elementary client apps now.
NB: Handle with care ... code is still a bit experimental

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-28 12:01:24 +01:00
Chris Michael 6f82959191 Add elm_drag_action_set support for wayland and start on
elm_drag_start support.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-28 12:01:24 +01:00
Chris Michael 91a9693c79 Add elm drag item container support for wayland
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-28 12:01:24 +01:00
Chris Michael f69ec73e4b Add elm drop target support for wayland.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-28 11:50:51 +01:00
Seunggyun Kim 1bcd211857 Current elm_config has _elm_config->glayer_long_tap_start_timeout and _elm_config->glayer_double_tap_timeout variable but there is no api related to those.
Apps like setting want to change gesture tap timeout value on runtime.

So I added below APIs.
elm_config_glayer_long_tap_start_timeout_set/get
elm_config_glayer_double_tap_timeout_set/get
2013-05-28 19:11:14 +09:00
Carsten Haitzler 7a69eb2163 fix xdg config changes (not enabled yet but changes added segv). 2013-05-28 15:19:33 +09:00
Carsten Haitzler 643c9cff24 allow xdg dir usage if you add -DDOXDG to CFLAGS. 2013-05-28 12:31:59 +09:00
Jihoon Kim e9692aa769 Add ELM_INPUT_PANEL_LAYOUT_DATETIME 2013-05-27 16:20:18 +09:00
Tae-Hwan Kim 10a212a709 [list] Add signal emit hook.
Add signal emit hook same as genlist.
2013-05-27 13:25:18 +09:00
Daniel Juyung Seo 82ecdfbb25 elm popup,flipselector: removed unnecessary type casting and type check. 2013-05-27 01:20:05 +09:00
Daniel Zaoui a40bed2a38 Elementary: Fix scroller APIs to be usable by all the widgets using the
scrollable interface.
2013-05-24 16:31:25 +03:00
ChunEon Park 71bee6ddeb elementary/widget - plase update display mode whenever sub object is set 2013-05-24 18:34:37 +09:00
ChunEon Park 86f7d566c6 elementary/widget - removed elm_widgetdisplay_mode_get().
since INHERIT_MODE is removed and it' doesn't need to care here anymore.
2013-05-24 18:25:16 +09:00
Daniel Juyung Seo ef8701a173 elm: more ELM_FREE_FUNC cleanups. 2013-05-24 00:58:38 +09:00
Daniel Juyung Seo 07911ab648 test_colorselector.c: refactoring.
1. intuitive smart callback names.
2. better printf contents.
3. avoid unnecessary casting.
4. use a proper space.
2013-05-23 19:11:57 +09:00
Ryuan Choi cbe6ae16b0 elm_colorselector: Can't receive "changed" signal when clicked color palette.
As document mentioned, "changed" should be emitted when the color value is changed.
So, this patch emits "changed" signal when color value is really changed.
In addition, fixed some formatting issue of test_colorselector.
2013-05-23 18:47:07 +09:00
Daniel Juyung Seo b28104166a elm_colorselector.c: fixed my mistake :( 2013-05-23 17:27:09 +09:00
Daniel Juyung Seo a6376e31b1 elm_colorselector.c: Set the colorselector color first before calling "color,item,selected" callback.
Special thanks to Ryuan Choi. This was detected while reviewing his patch.
2013-05-23 17:24:13 +09:00
Daniel Juyung Seo d2ec066da5 elm_web.c: fixed typo. special thanks to ryuan choi. 2013-05-23 16:39:58 +09:00
Daniel Juyung Seo 5f053bf79a elm: refactoring. use more ELM_FREE_FUNC. 2013-05-23 15:54:49 +09:00
Hosang Kim 5eda949b8f [toolbar] fixed code for verification(ecore_job_add)
make a pair for job event, check the event is alive before adding event.
2013-05-22 16:55:23 +09:00
Daniel Juyung Seo 893a36be40 elm_priv.h: space-- 2013-05-22 13:10:32 +09:00
Rafael Antognolli 34af955495 elm/framespace: Get the framespace from the theme.
Additionally, if the frame object can't be created (no theme group
available), do not use it. This will enable us to have a borderless
elm theme.
2013-05-21 16:32:48 -03:00
Daniel Juyung Seo ac25946a19 elm: introduce ELM_FREE_FUNC for code quality enhancement.
There are pros and cons but this
1. reduces human mistakes.
2. enhances readability.
3. enhances code quality.
4. removes future bug.
5. was adopted from enlightenment.

This is not all. I will work on enhancing elementary more and more.
2013-05-22 02:24:02 +09:00
Chris Michael d62689ca06 Set a sensible size for the dnd test window.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-21 11:00:02 +01:00
Daniel Juyung Seo e1e24cdeab test_icon_desktops.c: use elm_genlist_item_class_new/free() apis. 2013-05-21 16:12:52 +09:00
Tom Hacohen 09589956a6 elm_config_clouseau_enable_* -> elm_config_clouseau_enabled_*.
Thanks to SeoZ for reporting this.
2013-05-20 17:38:00 +01:00
Daniel Juyung Seo 2d7b273b7c elm_diskselector.c: fixed potential bug of diskselector.
set the variable to NULL after freeing the list.
2013-05-21 01:25:08 +09:00
Tom Hacohen de1c965029 Made clouseau_enable an elm_config option.
You can now just use elementary_config to enable and disable clouseau on
run-time.
2013-05-20 14:46:44 +01:00
ChunEon Park 1e9ef8aa5b elemenatry/naviframe - don't pop the view if the freeze_event is enabled and some views are alreadying popping. 2013-05-20 20:43:22 +09:00
ChunEon Park 7c652d8a77 elementary/ews_wm - prevent to add a duplicated animator. 2013-05-20 19:17:57 +09:00
ChunEon Park 7f7cc5ad39 elementary/win - prevent to add the timer multiple times. 2013-05-20 19:09:13 +09:00
Carsten Haitzler 6ead754e7e have glview test inset view a bit and allow testing of direct vs indirect... so glview is never at 0,0... 2013-05-20 13:00:11 +09:00
Gustavo Lima Chaves d8be9d6cf1 Scroller can me made to snap to pages on scrolling now. 2013-05-17 15:37:37 -03:00
Ivan Briano 86b4ab8276 Process messages after using the state_get of genlist items
This allows to make these states change the minimum size of the item
without the list calculating everything wrong.
2013-05-16 19:28:17 -03:00
Youngbok Shin e847b65e2f entry: elm_entry_markup_filter_remove() has a problem when internally defined filters are used. fixed.
When we call elm_entry_markup_filter_remove() with internally defined filter callbacks,
it doesn't work. So we need a one of pointer for saving the address of data.

10 Elm_Entry_Filter_Limit_Size lim;
11 lim.max_char_count = 20;
12 lim.max_byte_count = 0;
13 elm_entry_markup_filter_append(en, elm_entry_filter_limit_size,
&lim);
14
15 elm_entry_markup_filter_remove(en, elm_entry_filter_limit_size,
&lim);
16 lim.max_char_count = 50;
17 lim.max_byte_count = 0;
18 elm_entry_markup_filter_append(en, elm_entry_filter_limit_size,
&lim);

In this code, we expect to see the filter of entry will be renewed.
But elm_entry_markup_filter_remove() doesn't work.
Because, markup_filter does not hold the address of data when we use
the filter callback which is defined in elm_entry.c

_filter_new() in elm_entry.c
You can see that _filter_new allocates new pointer and names as lim2.
lim2 is saved in data of _Elm_Entry_Markup_Filter. So the address of
data doesn't equal to the input data.
2013-05-16 18:10:13 +09:00
Ryuan Choi 97f0333f1d Fix crash when clicked 'Sorted insert' of elementary_test "gengrid 2" 2013-05-16 15:01:51 +09:00
Flavio Ceolin d53cc519ff Welcome a new smart callback for scrollables -- page,changed. 2013-05-15 18:57:15 -03:00
Stefan Schmidt b9252891a7 elm_cnp: One semicolon is enough. 2013-05-14 15:52:49 +01:00
Youngbok Shin a68f086008 elm_entry : Fix ctxpopup can't be called again in the mobile mode entry. 2013-05-14 14:06:21 +01:00
Daniel Zaoui 441a95662d Elementary: fix elm_thumb by giving the object as data of the callback.
The callbacks were expecting the object itself when they were receiving
the data of this object.
2013-05-14 09:50:31 +03:00
Chris Michael 3638d83a8c Add more missing guards for building elm without X support
(wayland-only).
Fix some utterly Horrible formatting too while I was here.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-14 07:05:56 +01:00
Tom Hacohen 2607181fb0 Fixed bad theming. elm_widget_theme_object_set is for edje objects. 2013-05-13 14:36:23 +01:00
Chris Michael 76eb5c8a1b Add missing HAVE_ELEMENTARY_X guards.
NB: Fixes ticket T107: Building elementary with only wayland support.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-13 12:20:13 +01:00
Tom Hacohen 123596ee5b Added basic clouseau auto-start support.
If the ELM_CLOUSEAU env var is set to 1 elm auto-starts clouseau.
Next step would be integrating it into the elm config and making it
toggle-able on run-time.
2013-05-13 11:09:06 +01:00
WooHyun Jung bb3e1ab36e elementary/elm_entry : Fixed wrong typo. 2013-05-13 09:00:50 +09:00
Yossi Kantor 2e1eacd0ba elementary: Focus improvement for elm_genlist and elm_list
Summary:
This patch applies automatic focus feature to elm_genlist and elm_list
containers.
Currently (prior to this patch), focusable widgets inside list items of both
containers receive focus by an explicit mouse click over them, and lose focus
when focus goes to someone else in the window.
This change also adds the ability to:
- focus by default on the first-from-right focusable widget upon items selection
- lose the focus when another item is selected (focused or not)
- move focus between focusable widgets inside the same item by left and right
arrow keys accordingly (up and down keys when elm_list is in horizontal mode)

Focus is supported for horizontal and vertical lists.

Tests have been added for genlists and lists to check focus feature.
2013-05-12 15:32:33 +03:00
Daniel Juyung Seo f010b62803 arcanist test 2013-05-11 15:50:29 +09:00
cabelitos 52597125f7 Adding a new scroller API, to block its movements (by user input).
With this new API the user can block movements on X axis, Y Axis or
both. I was left with no option but to come up with this, side by side
with elm_object_scroll_freeze_push(), elm_object_scroll_hold_push()
and elm_object_scroll_lock_x_set() (or
elm_object_scroll_lock_y_set()), once all of these will act on *parent
and/or child* widgets too, making those useless for any pratical use
of scroll blocking. Here's a sane, new option, enjoy it.
2013-05-10 11:07:10 -03:00
Daniel Juyung Seo 9c28b4409e elm_gengrid.c: initialized local variable.
This needs to be re-visited.
I am also looking at you, JackDanielz.
2013-05-10 22:38:33 +09:00
Mike Blumenkrantz 40924d8994 if you see some blatantly wrong old code below the #ifdef block you're working on, fix it ffs!
I'M LOOKING AT YOU, JACKDANIELZ
2013-05-10 13:37:30 +01:00
Carsten Haitzler df9f486bdb toolbar needs to be able to adjust better to layout
as part of 1.8 review... elm toolbar really should add some signals so
theme can adjust better.
2013-05-10 16:53:34 +09:00
Daniel Zaoui ac01929f37 Elementary: Drag & Drop feature for items containers
New APIs have been added to facilitate DnD for genlist, gengrid and list
widgets.
Tests have been added in the new section DnD to play with that.
2013-05-09 13:57:31 +03:00
Seunggyun Kim 6d980a03e7 elm_gesture_layer: fix ecore_timer remaining bug. 2013-05-09 13:28:45 +09:00
Rafael Antognolli 4cb1b57483 elm/wayland: Engine fullscreen must be set first.
Before removing the framespace and frame object, set the window to
fullscreen, so its geometry will be saved taking into account the frame
size.

This is required because Ecore_Evas does not control the frame object
and frame size, it's all controlled by the application (Elementary, in
this case).
2013-05-08 18:45:02 -03:00
WooHyun Jung a603b93252 Revert commit:3654d6e28137cfaf72444d5c5e26b651fabac89e. When stealing focus from another widget, Checking visibility of parent widget is wrong :( 2013-05-08 21:08:44 +09:00
Daniel Juyung Seo fdcd40f6fb test_genlist.c: use elm_genlist_item_class_free in a better way. 2013-05-08 20:52:37 +09:00
Daniel Juyung Seo 840b147bd8 test_genlist.c: fixed formatting. 2013-05-08 20:52:37 +09:00
Shinwoo Kim 036a17ed34 [naviframe][access] use access info callback for prev button to say "Close Keyboard". 2013-05-08 18:01:30 +09:00
Carsten Haitzler 4d3220bd4c elm cnp bugs waiting to happen - not 0 terminating cnp strings in some
cases.
2013-05-08 12:50:09 +09:00
WooHyun Jung 0b88a969c1 elementary/elm_widget : Fixed wrong logic when setting parent's child_can_focus as EINA_TRUE. 2013-05-07 20:41:32 +09:00
Tae-Hwan Kim e6afe0c33d [Genlist] Fix bug when error abort is enabled. 2013-05-07 19:41:15 +09:00
Daniel Juyung Seo 503e6ecfc5 elm_widget.c: fixed comments. 2013-05-07 19:40:04 +09:00
WooHyun Jung 8058042b6e elementary/elm_widget : Focus cannot be stolen when one of parents is invisible or disabled. 2013-05-07 19:15:44 +09:00
Rafael Antognolli 9768137b79 elm/wayland: Implement borderless_set for wayland.
Also add a checkbox to the "Window States" test of elementary_test.
2013-05-06 20:08:58 -03:00
WooHyun Jung 267462dd00 elementary/elm_entry.c : Just changed lines for the sequence of alphbet. 2013-05-06 21:01:50 +09:00
WooHyun Jung 7e9ef0f10d elementary/elm_entry.c : Add elm_entry smart callback, named text,set,done. This smart callback will be useful when long text has been set and developer want to know the timing of setting whole text to the entry. 2013-05-06 20:42:34 +09:00
Daniel Juyung Seo e73df135de config.c, elm_genlist_common.h: fixed typos from comments and documentation. 2013-05-06 20:25:01 +09:00
WooHyun Jung 350fa0366a elementary/elm_entry.c : Filter_accept should consider meanless tags and should not remove it. Thanks YoungBok Shin. 2013-05-06 15:51:54 +09:00
Ryuan Choi 80c2c653a2 elm_clock : elm_clock_first_interval_set only set first_interval to 1 or 0. 2013-05-04 11:41:14 +09:00
Daniel Juyung Seo 39e3c91a02 config.c: refactoring. changed thumbscroll evas_object_data names to ts for consistency. 2013-05-03 23:23:35 +09:00
Daniel Juyung Seo b799d3f38a config.c: fixed wrong evas_object_data names for scrollers. 2013-05-03 23:20:55 +09:00
Daniel Juyung Seo 204816e393 config: fixed recently added scroll configuration setup issue.
thumbscroll_min_friction and thumbscroll friction standard were added recently.
So with the previous elementary configuration those values became zero which is not valid.
Now elementary checks whether the value is zero and set the correct default value.
2013-05-03 22:56:05 +09:00
Shinwoo Kim 4a568d2bff [access][genlist] do not append NULL to genlist focus list 2013-05-03 20:01:58 +09:00
Shinwoo Kim 3630715e62 [access][gengrid] fix: gengrid does not work under the accessibility 2013-05-03 19:53:56 +09:00
Shinwoo Kim 875502e821 [access] enhance test lines 2013-05-03 19:50:08 +09:00
Cedric Bail 1323fcc062 elm_win: fix typo leading to segv. 2013-05-03 19:23:53 +09:00
Cedric Bail c929b33052 elementary: properly sanitize headers order. 2013-05-03 16:07:06 +09:00
Cedric Bail eec22b17a2 mapbuf: improve automatic logic. 2013-05-03 16:07:06 +09:00
Cedric Bail 749e806ec4 mapbuf: correctly get the viewport size. 2013-05-03 16:07:06 +09:00
Cedric BAIL e08c1fee5d main: use eina_log_timing. 2013-05-03 16:07:06 +09:00
Shinwoo Kim 3b7a41e931 [access] add test lines 2013-05-03 15:37:39 +09:00
Jaehwan Kim 3c2f4710e7 Add missed codes.
This is related to the commit "The momentum animation time is changed as the amount of flick."
2013-05-03 12:59:53 +09:00
Daniel Juyung Seo 2edf9256fc elm_genlist: refactoring. code clean up.
introduced ELM_GENLIST_DATA_GET_FROM_ITEM and made sources so much cleaner.
2013-05-03 03:14:37 +09:00
Daniel Juyung Seo 3ff54223b1 elm_genlist.c: fixed comment typo. 2013-05-03 03:14:37 +09:00
Tae-Hwan Kim ec047e2f92 genlist: fixed dangling _calc_job bug.
Before calling _calc_job directly, the job should be removed.
Because dangling job can be remained.
2013-05-03 02:10:55 +09:00
ChunEon Park fc807ab7f6 ctxpopup - Don't be dead even if a ctxpopup item callback function is null. 2013-05-02 20:25:42 +09:00
WooHyun Jung 6b4f912a4c elementary/elc_naviframe.c : When new item is pushed, previous top object should clear its focus state before adding as a sub-object to naviframe. 2013-05-02 19:55:22 +09:00
WooHyun Jung ff97c5019e * elm_entry_filter_accept_set function not can recognize tags. 2013-05-02 14:49:45 +09:00
Daniel Juyung Seo dcf935745e elm_win.c: fixed unused warning when it does not use wayland. 2013-05-01 22:52:01 +09:00
Daniel Zaoui 187d6bf8de Elementary: replace eo_data_get for objects data referencing. 2013-05-01 11:04:09 +03:00
Ryuan Choi 5685b1607b elm cursor: theme_search means opposition to engine_only.
theme_search_enabled API was introduced instead of engine_only API,
but the meaning is opposition.
2013-05-01 16:39:51 +09:00
Jaehwan Kim 4ff2af7335 The momentum animation time is changed as the amount of flick. 2013-04-30 22:06:28 +09:00
ChunEon Park fb78d7dbd3 elementary/layout - layout supports "language,changed" callback 2013-04-30 18:47:38 +09:00
Jaehwan Kim 0bde066596 Add the config elm_scroll_smooth_start_enable.
There's no tick when scroller starts scroll if it's set.
2013-04-30 16:48:18 +09:00
Carsten Haitzler 1f82ec7a4a Revert "Really run elm_shutdown in the ELM_MAIN macro."
This reverts commit 65a09abb94728e08eceaf08faf4146e1d35724e7.

This does break abi. debate as to if this should hsve been done in the
macro or not is another matter.. but changing this does break
abi/behaviour.
2013-04-30 12:21:12 +09:00
Tom Hacohen 6ce9a41290 Really run elm_shutdown in the ELM_MAIN macro.
Previous commit failed to actually do it.
2013-04-29 17:25:35 +01:00
Daniel Juyung Seo 7edc0d056e elm_toolbar.c: refactoring. reuse api return value. 2013-04-30 00:50:35 +09:00
Rafael Antognolli 6371404c13 elm/wayland: Move the frame object to -fx, -fy.
It is not a special object anymore, and does not need special handling.
Just move it to the correct position, since the canvas 0,0 point now has
an offset.
2013-04-29 11:31:02 -03:00
Tom Hacohen 531ee1bbc3 Run elm_shutdown in the ELM_MAIN macro. 2013-04-29 15:36:09 +01:00
Daniel Zaoui e2d0e6a99a Elementary: Split headers for widgets.
Layout, Mapbug, List, Notify, Photo, Scroller, Toolbar and Win.
Fixes for Doxygen.
2013-04-29 15:42:08 +03:00
ChunEon Park 8e85586ebe elementary/toolbar - fix toolbar item clip problem on reordering items. 2013-04-29 18:35:32 +09:00
Daniel Zaoui f03db69f8f Elementary: Split headers for Gengrid, genlist, grid, image and index 2013-04-28 15:25:28 +03:00
Daniel Zaoui 8804b1bed4 Elementary: Lost APIs have resurrected. 2013-04-28 14:43:28 +03:00
Daniel Zaoui 3b6fa4e0a2 Elementary: Split headers for Map, Menu, Panel, Panes, Photocam, Plug,
Prefs, ProgressBar, Radio. Route, Segment Control, Separator, Slider,
   Slideshow, Spinner, Systray, Table, Thumb, Video, Web.
2013-04-28 13:55:41 +03:00
Daniel Zaoui 0ca5c025aa Elementary: header split for DateTime, DaySelector, DiskSelector, Entry,
Flip, Flip Selector, Frame, Gesture Layer, GLView, Hover, Icon,
   Inwin, Label.
2013-04-28 12:06:08 +03:00
Daniel Zaoui 9e713bc791 Elementary: oups... forgot to include the new files in the installation.
Spank on me!!!
2013-04-28 11:38:57 +03:00
Daniel Zaoui bc7feadb88 Elementary: Conform header split. 2013-04-28 09:57:48 +03:00
Daniel Zaoui 052c1fb386 Elementary: Color Selector header split. 2013-04-28 09:56:42 +03:00
Daniel Zaoui 33ce377c11 Elementary: Clock header split. 2013-04-28 09:54:26 +03:00
Daniel Zaoui ae1fbe06dd Elementary: Check header split. 2013-04-28 09:50:23 +03:00
Daniel Zaoui 3731229c9f Elementary: Calendar header split. 2013-04-28 09:49:52 +03:00
Daniel Zaoui daddfcdab6 Elementary: Bubble header split. 2013-04-28 09:47:05 +03:00