Commit Graph

7012 Commits

Author SHA1 Message Date
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