Commit Graph

7893 Commits

Author SHA1 Message Date
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
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
ChunEon Park 698063a988 removed useless 2013-05-11 15:52:13 +09:00
Daniel Juyung Seo f010b62803 arcanist test 2013-05-11 15:50:29 +09:00
Daniel Juyung Seo 5eb56af867 arcanist test 2013-05-11 02:10:04 +09:00
Daniel Juyung Seo e0def53222 NEWS: fixed formatting 2013-05-11 01:32:19 +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
Carsten Haitzler 6f0fda2539 update po's 2013-05-06 17:32:00 +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