WooHyun Jung
27d51db839
We can change the focusable state of elm_layout by calling elm_object_focus_allow_set from application side.
2013-07-11 17:47:25 +09:00
Daniel Juyung Seo
dbbe13e7ca
elm_authors.h: synchronize elm_authors.h with AUTHORS.
2013-07-11 12:54:54 +09:00
Tae-Hwan Kim
7471612475
theme: free all theme resources when elementary is shutdown.
2013-07-11 11:34:46 +09:00
Youngbok Shin
d7b9aa66b1
[entry] Fix non-scrollable entry did not comply focus_highlight data.
...
elm_entry checked focus_highlight data only if entry is scrollable.
Now elm_entry will check focus_highlight data on any style of entries.
2013-07-09 18:47:45 +09:00
Youngbok Shin
368810690c
Entry: _elm_entry_smart_signali calls edje_object_message_signal_process for processing the pending messages.
...
_elm_entry_smart_signali calls edje_object_message_signal_process for processing the pending messages.
Because Edje can’t changes size or position of parts immediately when it receive a signal without this.
2013-07-09 18:31:22 +09:00
Youngbok Shin
c17f88ace3
entry: Fix elm_entry_end_visible_set checked wrong content.
...
the elm_entry_end_visible_set checked elm.swallow.icon.
It should checked elm.swallow.end.
2013-07-09 16:57:17 +09:00
Daniel Juyung Seo
a4ad57f627
elm_config.c: set the default value for thumbscroll flick distance tolerance when the value equals to zero.
2013-07-09 14:07:21 +09:00
Daniel Juyung Seo
1735270a05
config.c: add more comments for the readability.
2013-07-09 13:36:19 +09:00
Carsten Haitzler
11d57a21f6
add disabled list items for horizontal lists in test
2013-07-07 10:56:36 +09:00
Ryuan Choi
1ef1afbae2
elementary_test : Fixed my fault.
...
Valgrind complains invalid read of size 1
2013-07-06 20:58:03 +09:00
Daniel Juyung Seo
47a73ea391
test_access.c: added an instruction how to run the test.
2013-07-06 16:41:25 +09:00
Daniel Juyung Seo
dcfaceccc0
test_access.c: refactoring.
...
1. removed unnecessary align hint set.
2. changed code sequence more logically.
3. use ECORE_CALLBACK_PASS_ON instead of EINA_TRUE for ecore event callback function.
2013-07-06 16:35:29 +09:00
Ryuan Choi
573d1bef88
elementary_test: elementary_test should be more kind to execute specific test
...
I frequently mistake test name because of spaces like "fileselector"
In this case, nothing appeared and nothing is complained.
For lazy developer like me, this patch makes elementary_test ignore spaces.
In addition, elementary_test will complain and exit if wrong test name is given.
2013-07-06 15:51:22 +09:00
Shinwoo Kim
e35f12deaa
[access] add elm_access_highlight_next_set, export elm_widget_focus_region_show
2013-07-06 14:41:00 +09:00
Daniel Juyung Seo
76657cf05c
config.c: just free the list.
...
This fixes 'unused pointer value' warning which was spotted by coverity. CID 1039983.
2013-07-06 13:28:02 +09:00
Daniel Juyung Seo
b0e946684a
elm_disselector.c: removed redundant code.
...
This fixes 'dereference before null check' issue which was spotted by coverity. CID 1040001.
2013-07-06 13:01:55 +09:00
Daniel Juyung Seo
23d6d17695
elm_genlist.c: refactoring. use correct parameters.
2013-07-06 13:00:39 +09:00
Daniel Juyung Seo
d66e2ed136
elm_genlist.c: do not check null. it should not be a null and it was already dereferenced.
...
This fixes 'dereference before null check' issue which was spotted by coverity. CID 1040000.
2013-07-06 12:56:58 +09:00
Daniel Juyung Seo
14c7bf8039
elm_gengrid/genlist.c: removed logically dead code. NULL is already checked.
...
This fixes 'Logically dead code' warning which was spotted by coverity.
CID 1040038, 1040040, 1040036, 1040037.
2013-07-06 12:49:54 +09:00
Daniel Juyung Seo
3be4bf95ce
elm_gesture_layer.c: removed unnecessary assignment.
...
This fixes 'unused pointer value' warning which was spotted by coverity. CID 1039974.
2013-07-06 12:46:07 +09:00
Daniel Juyung Seo
2160622fc5
elm_prefs.c: used strncpy for the fixed size array copy.
...
This fixes 'copy into fixed size buffer' issue which was spotted by coverity. CID 1039998.
2013-07-06 12:33:52 +09:00
Daniel Juyung Seo
7bbcf8a271
elm_toolbar.c: check reorder_from at the start of _items_change. reorder_from is used here and there.
...
this fixes dereference before null issue which was spotted by coverity. CID 1039999.
2013-07-06 12:26:59 +09:00
Daniel Juyung Seo
2d8238b9f2
elm_web.c: removed unnecessary assignment.
...
this fixes dereference after null check warning which was spotted by coverity. CID 1040033.
2013-07-06 12:22:26 +09:00
Daniel Juyung Seo
2540d5770a
els_pan: remove unused code. pan was migrated to scrollable interface.
2013-07-06 12:20:01 +09:00
Daniel Juyung Seo
df0383a45a
elm_config.c: fixed dereference before null check issue which was spotted by coverity. CID 1040002.
...
efd->text_class should be a null.
2013-07-06 12:14:02 +09:00
Daniel Juyung Seo
b45be2b9b7
elm_colorselector.c: removed dead default in switch code which was spotted by coverity. CID 1040039.
2013-07-06 12:10:16 +09:00
Daniel Juyung Seo
cc9a5b3f06
elc_multibuttonentry.c: fixed dereference null return value issue which was spotted by coverity. CID 1040023.
...
elm_widget_item_new() can return NULL on error so it's better to check NULL.
2013-07-06 12:07:51 +09:00
Daniel Juyung Seo
3771cda12d
test_panel.c: fixed derefence null return value from getenv issue which was spotted by coverity. CID 1040025.
2013-07-06 12:05:36 +09:00
Daniel Juyung Seo
0e2b1b03ba
test_fileselector_entry.c: fixed unchecked return value warning which was spotted by coverity. CID 1040043.
2013-07-06 11:59:07 +09:00
Daniel Juyung Seo
3ce65ada92
test_config.c: comparing array against 0 is useless. compare the first value instead.
...
This was spotted by coverity CID 1040027.
2013-07-06 11:55:51 +09:00
Daniel Juyung Seo
5954ce1419
test_external.c: removed duplicated calls.
...
This removes unused pointer value warning which was spotted by coverity.
CID 1039977.
2013-07-06 03:13:50 +09:00
Daniel Juyung Seo
9ef0df6010
test_naviframe_complex.c: removed unused pointer value which was spotted by coverity. CID 1039976.
2013-07-06 03:12:44 +09:00
Daniel Juyung Seo
5ca3ca7124
test_ctxpopup.c: Use normal internal function instead of macro.
...
This fixes unused pointer value warning which was spotted by coverity.
CID 1039978 ~ 1039981.
2013-07-06 03:06:02 +09:00
Ryuan Choi
560f7184b4
quicklaunch: Fixed double close issue spotted by coverity. CID1039972.
2013-07-05 23:40:53 +09:00
Daniel Juyung Seo
2af97e24a0
elm_sys_notify.c: fixed memory illegal access issue spotted by coverity. CID 1039984.
2013-07-05 19:09:22 +09:00
Daniel Juyung Seo
7714e068c7
elm_entry.c: fixed uninitialized variable issue spotted by coverity. CID 1039985.
2013-07-05 19:05:29 +09:00
Daniel Juyung Seo
a4d654896b
elm_cnp.c: fixed uninitialized variable warning spotted by coverity.
...
CID 1039986, 1039987.
2013-07-05 19:05:29 +09:00
Shinwoo Kim
0853e304e6
[access] set a module api to NULL in shutdown(); because _elm_module_unload(); could access m->api and try to free();
2013-07-05 19:04:36 +09:00
Daniel Juyung Seo
43b4b6ce18
test_gengrid.c: fixed memory leak spotted by coverity.
...
CID 1040015, 1040014, 1040013, 1040011, 1040010.
2013-07-05 18:31:38 +09:00
Daniel Juyung Seo
955a3712fa
test_access.c: fixed memory leak spotted by coverity. CID 1040017, 1040018.
2013-07-05 18:00:31 +09:00
Daniel Juyung Seo
74682ebb4e
elm_cnp.c: fixed use after free spotted by coverity CID 1039969.
2013-07-05 17:35:29 +09:00
Thiep Ha
7686648e12
Fix horizontal list size issue in desktop mode (T179)
...
Issue: horizontal list does not show correctly in desktop mode.
- The way to reproduce isssue is discribled in Task T179.
- We can also reproduce issue by runnin Ctxpopup at horizontal mode in elmentary test with standard profile.
2013-07-05 02:58:16 +09:00
Daniel Zaoui
76719a836b
Gesture Layer: implementation of 'tap + longpressed' sequence
...
Callbacks can be set:
- at the start of the sequence, i.e at the start of the single tap
- at the end of the sequence, i.e when mouse up occurs on long press
- when longpress is detected, i.e when mouse is still down during
longpress
2013-07-04 14:47:10 +03:00
Aharon Hillel
3b26991959
Gesture Layer: cancel timer on delete.
...
We need to cancel any running timers when GLayer is deleted.
2013-07-04 10:38:42 +03:00
Daniel Juyung Seo
47fd3f6a24
elm_entry.c: more ELM_FREE_FUNC for entry.
2013-07-04 15:03:18 +09:00
Carsten Haitzler
f4896a6ae6
ethumb - stop requesting ethumbd to start again every time it dies
2013-07-04 08:39:00 +09:00
Aharon Hillel
f2b02d0680
Gesture Layer: changed order in cleanup func.
...
Changed the order when GLayer is deleted. First we cancel all Gestures,
then we handle any event forwarding.
2013-07-03 13:57:22 +03:00
Aharon Hillel
13da4a3a80
Gesture Layer: fix crash during deletion.
...
if target object is deleted before GLayer is deleted, we get a crash
from _event_history_clear.
Setting target to NULL on delete, then testing it before reporting state
takes care of this problem.
2013-07-03 13:57:22 +03:00
Jaehwan Kim
fab1a003fc
viewport_size_get func doesn't need any more in that code.
2013-07-03 19:31:12 +09:00
Jaehwan Kim
1c40d6cbab
If the flick distance is more than thumbscroll_flick_distance_tolerance, it become same with thumbscroll_flick_distance_tolerance.
2013-07-03 19:25:24 +09:00
Jaehwan Kim
504f59f174
Change the method to calculate a distance which be scrolled from linear to sine curve.
...
And add the configuration thumbscroll_flick_distance_tolerance. It's the max flick distance.
2013-07-03 18:43:19 +09:00
Hosang Kim
32affd3725
added callback call "scroll", "scroll,anim,start", "scroll,anim,stop", "scroll,drag,start", "scroll,drag,stop"
...
in toolar widget.
2013-07-03 13:57:17 +09:00
Daniel Juyung Seo
71341d5005
elm_win.c: added comments for internal functions.
...
_elm_win_resize_objects_eval()
_window_layout_stack()
2013-07-03 13:20:01 +09:00
Thiep Ha
dbfd56f98e
[Entry] Avoid showing multiple popups on one entry.
...
Multiple popups (anchor hover and hoversel) are showing in following cases:
- Run elementary_test with Mobile profile --> Entry Anchor
+ click on anchor to show hover, then press menu key
+ right click on anchor
2013-07-03 13:13:11 +09:00
Daniel Juyung Seo
758d01ef99
elm_entry.c: removed unnecessary line.
2013-07-03 13:13:11 +09:00
Daniel Juyung Seo
19cec53fff
elm_widget_entry.h: added more comment for entry + formatting fix.
2013-07-03 13:13:11 +09:00
Daniel Juyung Seo
65771f8b22
test_entry_anchor*.c: refactoring.
...
1. use proper local variable for entry. av -> en
2. use proper window name.
3. use proper callback function name.
4. use proper callback function prototype.
2013-07-03 13:13:11 +09:00
Hosang Kim
cbc70b32fe
[config] fixed wrong function name for scroller config
...
Should call elm_config_scroll_thumbscroll_hold_threshold_get but this line calls elm_config_scroll_thumbscroll_threshold_get.
2013-07-02 22:51:01 +09:00
Carsten Haitzler
651214b722
put a lot more hysterisis on drag detects in genlist...
2013-07-02 19:33:00 +09:00
Jaehwan Kim
c25006bd20
Fix the timing which the content_viewport_resize callback is called.
...
It is proper when the EVAS_CALLBACK_RESIZE is called instead of _pan_smart_resize.
When the _pan_smart_resize is called, the geometry of an object is not changed.
So the widget use the signal can miss-calculate the size.
2013-07-01 20:17:30 +09:00
ChunEon Park
66a489a14d
elementary/naviframe - If the current item is added as the resize object, the previous will be canceled.
...
Now, keep the smart members always.
2013-06-30 17:42:59 +09:00
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