Commit Graph

8180 Commits

Author SHA1 Message Date
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
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
Doug Newgard 40208cf37c PKGBUILD cleanup
pkgdesc should not include the name of the package (was misspelled anyway)
Licenses were wrong, LGPL2.1, not LGPL2 and missing CCPL
Doesn't need to provide itself or elementary-svn
Shouldn't override user selected options, if they manually add !strip,
!docs, or !zipman, that should be respected unless there's a specific
reason the option needs to be as specified
Shouldn't override user build flags, if they manaually change -g or
-O2, that should be respected unless there's a specific reason that
exact build flag is required.
Doesn't need to disable-static, there are none anyway
make doc should be run in the build function
Don't need to rm -rf $pkgdir/usr, each package function has it's own
$pkgdir and they are all cleared each time makepkg is run
All paths which include a variable should be quoted
Should not put another copy of LGPL2.1 on the system, it's in common
for a reason
2013-06-13 14:25:50 +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
Eduardo Lima (Etrunko) eeff5f2a84 Document .gitignore split
This is taken verbatim from the linux kernel .gitignore

Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
2013-06-12 14:28:10 -03: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
Carsten Haitzler e7211af79c update po's 2013-06-12 17:22:26 +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 25bb4d5a35 ChangeLog: fix ChangeLog spacing. it was b0rked at some point. 2013-06-10 14:54:08 +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 8add3238c2 ChangeLog/NEWS: updated changelog and news for focused and unfocused smartcallback addition. 2013-06-10 14:42:01 +09: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 4beba6926a po: update po. 2013-06-09 17:15:11 +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 1db93983ae configure.ac: display enable debug build option. 2013-06-09 17:12:39 +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 d33d3c30ff fix desc on pkgbuild 2013-06-07 20:53:37 +09:00
Carsten Haitzler e6f0c578e4 add pkgbuild 2013-06-07 20:40:28 +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
Daniel Juyung Seo e2a52ad07b actionslider.edc: support disabled state. 2013-06-05 11:16:43 +09:00
Daniel Juyung Seo 5c13855416 actionslider.edc: make actionslider scalable. 2013-06-05 10:55:40 +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
Alex-P. Natsios b0fd75c82b A few configure.ac microfixes.
Grammar fixes for a few dep/reqs error messages
Grammar fixes for the rest of dep/reqs error msgs
fixed placement of : in echoed line about wayland
bumped required version of stuff to 1.7.99
2013-06-05 01:42:41 +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
Daniel Juyung Seo ae7d3aa22e edc: refactoring. put group and group name in the same line. 2013-05-31 17:24:13 +09: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
maxerba d4a181fb1c updating esperanto translation 2013-05-24 21:41:00 +02: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 f2ce520e21 entry.edc: Reduced entry hander size. It was too big compared with other widgets. 2013-05-23 18:40:10 +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
Thiep Ha 7c70300e1e Add selection handlers to entry 2013-05-21 09:17:26 +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
Doug Newgard 901c037aa7 Elementary: Minor cleanup of eldbus in configure.ac.
Just realigns things and corrects names and versions.
2013-05-20 20:38:44 +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
Carsten Haitzler 56b5974327 update po's 2013-05-16 15:40:14 +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
Ryuan Choi f296eed13e elm_entry: Do not paste multiple lines in single line entry 2013-05-15 17:45:48 +01: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