Commit Graph

8106 Commits

Author SHA1 Message Date
Daniel Zaoui aea9b1d262 Gesture Layer: Add API to set the finger size for taps.
The default value is the one stored in elm_config.
2013-06-25 10:43:04 +03:00
Aharon Hillel dcab3545cf Gesture Layer: fix to improve fingers taps registration
Signed-off-by: Aharon Hillel <a.hillel@samsung.com>
2013-06-25 10:42:39 +03:00
Daniel Juyung Seo 1b1e1f99e3 edje_externals/elm_web.c, doc/widgets/wiget_preview_web.c: applied api changes elm_web_uri -> elm_web_url. 2013-06-25 12:05:57 +09:00
Daniel Juyung Seo 376ebbadb2 examples: fixed warnings. 2013-06-25 12:05:43 +09:00
Daniel Juyung Seo bcd0f81381 elm_image_legacy.h: updated elm_image_file_set() documentation for animated gif image. 2013-06-25 11:20:25 +09:00
Daniel Juyung Seo 59c5970c72 elm_image.c: eo refactoring. place internal functions into a better place. 2013-06-25 11:15:15 +09:00
Ryuan Choi 68d45c3689 Update ChangeLog and NEWS for below commit. 2013-06-25 08:38:14 +09:00
Ryuan Choi 0bda4b1918 elm_notify: Fix crash when timeout is zero
Because _timer_init() can be called multiple times,
sd->timer should be cleard if we will not add new timer

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

Conflicts:

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

Conflicts:

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

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