Commit Graph

6939 Commits

Author SHA1 Message Date
Daniel Juyung Seo 3aa8d2a7fa elc_hoversel.c: add hover as a smart member of hoversel to fix hover child handle bug. 2013-04-03 13:19:07 +09:00
Daniel Juyung Seo 74b3eed5fd elm: print the error message inside elm_widget_sub_object_add().
1. Do not need to print the same error message from all the widget codes.
2. Even though elm_widget_sub_object_add() can be used internally, there should be no error message at all.
   Elm devs should fix it beforehand.
   So it looks ok to print the error message in elm_widget_sub_object_add() to force elm devs to fix it.
3. Got additional code cleanups.
2013-04-03 11:28:53 +09:00
Daniel Juyung Seo 615d05bfe5 elm: removed unnecessary multi blank lines. 2013-04-03 10:45:15 +09:00
Daniel Juyung Seo 3ebcf017e0 elm_widget_genlist.h: added doxygen comments about prev_viewport_w.
I followed existing char wrap policy but wrapping comments for the structure members doesn't look fancy :(
2013-04-03 10:42:51 +09:00
Daniel Juyung Seo f2b514f26b elc_hoversel.c: Fixed wrong sub object handling.
hover should be a sub object of hoversel.
2013-04-03 03:12:33 +09:00
Ryuan Choi 8b577874c2 elm_entry: Menu key does not work on elm_entry
This patch adds a behavior that open hoversel to choose copy/paste when pressed menu key.
2013-04-03 03:12:32 +09:00
Rafael Antognolli 0e226a356e elementary: Bring back the use of Evas framespace.
Use the evas_output_framespace_* functions to make objects inside the
framespace to get their respective offsets.
2013-04-02 14:42:37 -03:00
Daniel Juyung Seo 758bbce11d gengrid/genlist: removed relcount leftovers from commit 3f4c3e03c600c87782543cf08de886016f2c192e. 2013-04-02 12:44:27 +09:00
Daniel Juyung Seo 78098e65ad elc_ctxpopup.h: more documentation. 2013-04-02 11:22:06 +09:00
Carsten Haitzler 58014aad5a improve slider test to test more cases and not mess up 1 icon. 2013-04-01 22:24:35 +09:00
Carsten Haitzler 0ecc32f38d fix slider theme redo that loses indication show/hide state. 2013-04-01 22:24:35 +09:00
ChunEon Park 2e3fad1466 elementary - added convenient macros elm_object_translatable_part_text_set(), elm_object_item_translatable_part_text_get() 2013-04-01 21:38:50 +09:00
ChunEon Park 1d3d93741a elementary/widget - use Eina_Stringshare explicitly. 2013-04-01 20:50:25 +09:00
Jaehwan Kim 8db418c0a0 Add the repeat_events_set/get for blocking the events of content objects.
This feature is useful to the access.
2013-04-01 17:13:32 +09:00
Jaehwan Kim 3a218c0a52 Scroller decides whether the accelerator is on or not, depending on the velocity and the interval time of the flick event. 2013-04-01 14:05:51 +09:00
Ryuan Choi a1cc565feb Set resize_obj when ELEMENTARY_WEB is enabled.
This patch fixes that webview was not visible on 'web' of elementary_test.
2013-04-01 12:44:25 +09:00
Daniel Juyung Seo 8a4982b4ee box: Fixed formatting.
1. Removed unnecessary blanakeees.
2. Fixed 80 chars wrap.
3. Format like another efl codes.
2013-04-01 11:49:04 +09:00
Daniel Juyung Seo 4e434e75f2 diskselector: adopt more eo code. 2013-03-31 01:43:45 +09:00
Carsten Haitzler e1405e4304 From: Gustavo Sverzut Barbieri <barbieri@profusion.mobi>
Subject: [E-devel] [PATCH] Fix one direction at time scrolling

Would you check if the attached patch is right? It seems that the
negation
was incorrect, inhibiting the one-direction-at-time flag to take
effect as
if there is a scroll (x or y, or '1 || 1 == 1')  and it would be negated
evaluating to 0.

This flag should remove the annoying behavior of scroller inside
scroller
when you start dragging in one direction and then move slightly on the
other and it would affect both scrollers. My case is an horizontal panel
with 3 genlists side-by-side. If I start moving from one list to another
and my finger/mouse goes up/down, I don't want the lists to scroll.
Similarly if I'm scrolling the list (vertical) and then I slightly
move my
finger left/right I don't want the panel to change.

It is still annoying that one axis should be the double as the other.
I'd
say that only 50% more would do, suggestions?

If it's right, would you please apply as my devenv is a mess right now
(working from virtualbox on a temp machine)
2013-03-30 13:18:26 +09:00
Daniel Juyung Seo 5290aaf26f diskselector: reuse evas pointer. 2013-03-30 02:53:22 +09:00
Daniel Juyung Seo 698bcf4478 Recommit the code which was removed by commit 3f4c3e03c600c87782543cf08de886016f2c192e 2013-03-29 23:03:29 +09:00
Tae-Hwan Kim abc94fb3da Because of relcount, genlist items cannot be deleted immediately.
If we use reverse relatvie lists, we can delete item immediately.
2013-03-29 22:23:38 +09:00
Daniel Juyung Seo 73f58db6cc ctxpopup: Fixed ctxpopup geometry when parent is an elm_win. Forwardport from elementary-1.7.
This is manual cherry-pick from discomfitor's elementary-1.7 patch due to the code base difference.
2013-03-29 21:29:24 +09:00
ChunEon Park a7cca7ba3f elementary/map - map supports language,changed 2013-03-29 20:53:11 +09:00
ChunEon Park 1933668ec7 elementary/list - correct line alignment for consistency. 2013-03-29 20:22:41 +09:00
ChunEon Park 2968b362cc elementary - + EINA_DEPRECATED 2013-03-29 18:42:18 +09:00
Daniel Juyung Seo 15c1c2d377 test_flipselector.c: simplified the sample code. 2013-03-27 21:03:21 +09:00
Jihoon Kim 1b8ad509fc Add APIs - elm_entry_input_panel_layout_variation_set/get 2013-03-27 17:34:19 +09:00
Daniel Juyung Seo fc241f5c41 elm_genlist.c: added {} pair for if statement + loop combination.
Special thanks to Tasn.
2013-03-27 02:46:35 +09:00
Daniel Juyung Seo 1a0e1fcbe4 gengrid/genlist/list.h: added more documentation for highlighted and unhighlighted smart callbacks. 2013-03-27 02:41:34 +09:00
Daniel Juyung Seo 4bf4a58461 elm_genlist.c: use macros for timers. 2013-03-27 02:33:01 +09:00
Daniel Juyung Seo 2155bb0fef elm_genlist.c: fixed formatting. 2013-03-27 01:17:29 +09:00
Daniel Juyung Seo 895610f3e6 genlist: more internal documentation. 2013-03-26 09:54:19 +09:00
Gustavo Lima Chaves aa6bac92f6 More code simplifying. 2013-03-25 17:56:22 -03:00
Lukasz Stanislawski 745b8d63f8 store: fix a crash occuring when elm_store_free function is invoked and a mem leak when genlist object is deleted.
Signed-off-by: Cedric BAIL <cedric.bail@samsung.com>
2013-03-25 12:29:21 +09:00
Carsten Haitzler 3fd2a7ccfa add toolbar to focus test... since it doesnt work. :) 2013-03-25 11:52:07 +09:00
Daniel Juyung Seo ea08079101 COPYING, elm_intro.h: updated copyright Date. 2013-03-23 22:58:45 +09:00
Carsten Haitzler 0e59b04fed fix scrollable to only query pan if there. 2013-03-23 13:27:43 +09:00
WooHyun Jung 0b6a408084 Add a simple example of elm_object_focus_next_set, and fixed wrong codes. 2013-03-23 10:45:44 +09:00
WooHyun Jung 71ec140693 elementary/win : Now elm_object_focus_next supports four more focus directions(up, down, right, and left). 2013-03-23 09:41:34 +09:00
WooHyun Jung 45388e4581 elementary/focus : Add four more focus direftions. ELM_FOCUS_UP, ELM_FOCUS_DOWN, ELM_FOCUS_RIGHT, and ELM_FOCUS_LEFT. These are for supporting elm_object_focus_next with four directions. And I added elm_object_focus_next_object_set(get). By setting focus next object manually, developer can set its own first candidate of focus next. Lastly I added elm_object_focused_object_get, for easy finding of current focused object in one object sub-tree. 2013-03-23 09:36:21 +09:00
Shinwoo Kim e8ab610b57 [access] do not call timer callback directly 2013-03-23 08:45:26 +09:00
Gustavo Lima Chaves 81c4926a0a Yet another giant, useless, if {} block gone. 2013-03-22 18:38:50 -03:00
ChunEon Park ddf7f65810 elementary/naviframe - Now item popping can be cancelled if user returns
the EINA_FALSE in the pop_cb().
2013-03-22 19:04:12 +09:00
Stefan Schmidt 9840d67f6a elm: No need for two set of parentheses in a simple comparison.
Seems this got copied around. Better fix it now before it widespreads more.
2013-03-22 08:44:15 +00:00
Cedric BAIL d7be2e6f55 elementary: make quicklaunch work again. 2013-03-22 14:45:09 +09:00
Cedric BAIL 77581f1c0a elementary: add infrastructure to track startup time.
Set ELM_FIRST_FRAME to :
* D or E: for exit
* A: for abort
* T: to display the time since entering main();
2013-03-22 14:45:09 +09:00
Gustavo Lima Chaves d26a894a26 Make some scrolling code more readable. 2013-03-21 15:32:36 -03:00
Tom Hacohen 1343040dcf Quicklaunch: Fixed unused and dead code warnings. 2013-03-21 13:35:45 +00:00
Tom Hacohen edd10f0954 Genlist: Fixed off by 1 errors.
Strncat writes at most n+1 chars, not n...
2013-03-21 13:34:15 +00:00
Tom Hacohen 04da23a84b clock: You shouldn't pass extra parameters to a printf function.
This is not good practice.
2013-03-21 13:30:51 +00:00
Jaehwan Kim 9636ed621c Remove warning in toolbar 2013-03-21 15:14:23 +09:00
Gustavo Lima Chaves ecd6ac9f92 Documenting all of scrollers smart callbacks. 2013-03-20 17:42:12 -03:00
Flavio Ceolin 9ea9e13c26 Genlist, gengrid: two new smart callbacks
Adding ones for mouse pressed and mouse released on items. The event
info for both callbacks are the items being pressed/released.
2013-03-20 13:39:51 -03:00
Carsten Haitzler 25721fa062 Fix elm box layout problem with max sizes. 2013-03-20 20:11:07 +09:00
Cedric BAIL 47e280d21b toolbar: fix icon size not being initalized. 2013-03-20 11:57:22 +09:00
Tom Hacohen 6612aa8189 Revert changes that slipped in (to elm_layout) that shouldn't have had. 2013-03-19 15:16:58 +00:00
Tom Hacohen 6a5ef51959 Fixed class called with do_super. 2013-03-19 10:48:43 +00:00
Jaehwan Kim 67bb9078f6 Fix the elm_shutdown bug in _elm_shutdown_config.
When the elm_shutdown is used after elm_config_all_flush, the segment fault occur.
It's why it uses ecore_x in _prop_all_update_cb after removing it.
2013-03-19 19:42:34 +09:00
Carsten Haitzler 7916fc6a88 printf - SHUSH! no debug! 2013-03-19 11:05:43 +09:00
Tom Hacohen d75cb616da Change usage of eo_do_super to the new prototype. 2013-03-18 16:15:12 +00:00
Daniel Willmann c9534bab25 toolbar: Use snprintf for elm,number,item buffer handling
Avoid potential buffer overflow

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-03-18 12:13:50 +00:00
Daniel Willmann c88d31d027 Free cwd so we don't leak
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-03-18 12:13:50 +00:00
WooHyun Jung c739dbe4f4 elementary/elm_win : Focus highlight should be reconfigured when theme is changed. 2013-03-18 18:44:19 +09:00
Shinwoo Kim 82053ab780 [layout][access] access object on a layout could not be a child of the layout eventhough it is a child actually, because the access object could not be swallowed. 2013-03-18 17:55:09 +09:00
Cedric BAIL 965a66fa32 progressbar: wheel need elm_progressbar_pulse_set(pb, EINA_TRUE) to spin. 2013-03-18 15:34:20 +09:00
Carsten Haitzler 3bd16c052b fix elm_cnp free to null out ptr. 2013-03-17 11:41:41 +09:00
Daniel Juyung Seo dbf44f699b elm_app.h: use addtogroup and make a separate doc for elm_app_info_set. 2013-03-16 22:30:35 +09:00
Daniel Juyung Seo 5a74e5a072 elm_app.h: added elm_app into doxygen entry. 2013-03-16 22:16:09 +09:00
Daniel Juyung Seo 1bfede5163 elm_main.c: fixed formatting. 2013-03-16 17:28:10 +09:00
Jaehwan Kim 5f8af66123 Add the smart signals in scroller. "scroll,left", "scroll,right", "scroll,up", "scroll,down". 2013-03-15 18:53:17 +09:00
Tae-Hwan Kim 6b37331246 "elm,state,reorder,mode_set" and "elm,state,reorder,mode_unset"
is used for changing items' look when elm_genlist_reorder_mode_set() is
called. Also, when decorate mode is enabled/disabled, these signal
should be sent properly.
2013-03-14 19:13:06 +09:00
Tae-Hwan Kim 263ad756ba Fix memory leaks: return value of elm_genlist_realized_items_get
should be freed
2013-03-13 20:25:12 +09:00
Carsten Haitzler d4bc61f941 allow for a special different single line entry scroller - needed for
dark theme fun. it falls back to a normal entry scroller if not found.
2013-03-13 20:24:09 +09:00
WooHyun Jung 2542b16b01 elementary/list : Fixed a bug in elm_list. Focus_next is needed only when access mode is enabled. 2013-03-13 14:05:00 +09:00
Daniel Juyung Seo f612734879 test flip,toolbar,tooltip: use EINA_FALSE for elm_toolbar_homogeneous_set() parameters. 2013-03-12 19:49:19 +09:00
WooHyun Jung 9cf2ef0752 elementary/elm_widget : Modifed the type of parameter to const Evas_Object*. 2013-03-11 22:20:20 +09:00
WooHyun Jung b6bd065d2e elementary/naviframe : Fixed a formatting. 2013-03-11 22:02:24 +09:00
Daniel Juyung Seo 7d0dcd5c12 elm gengrid,list,menu,segment_control,toolbar.h: updated documentation with regarding to elm_xxx_item_object_get().
More informative documentation about the returned actual object by elm_xxx_item_object_get().
2013-03-11 20:52:57 +09:00
Daniel Juyung Seo 554b936d07 elm icon,menu,toolbar.h: updated documentation related with icon path. 2013-03-11 20:44:27 +09:00
Daniel Juyung Seo 4a5f9459fe elm_entry.c: fixed formatting. 2013-03-11 20:11:50 +09:00
WooHyun Jung 2f204dd7ee elementary/naviframe : Don need to check whether current item has content or not. 2013-03-11 20:08:52 +09:00
Tom Hacohen 1eefdc8733 Entry: Fixed a bug with text appending.
The target buffer was not large enough.
2013-03-11 10:21:08 +00:00
WooHyun Jung 2cb1f66c54 elementary/naviframe : Naviframe is now supporting focus_direction. 2013-03-11 17:03:21 +09:00
WooHyun Jung cfe2ab206e elementary/naviframe : Fixed a bug that naviframe's focus_next didn't work after changing evenry item to elm_layout. 2013-03-11 16:38:45 +09:00
Daniel Juyung Seo a35926215d elm_focus.h: more informative documentation. 2013-03-10 00:47:40 +09:00
Carsten Haitzler c8ac271b79 only del cnp drop if removed from list. 2013-03-09 23:05:32 +09:00
Daniel Juyung Seo 78c042cdbe elm *.c: fixed formatting with EINA_LIST_FREE.
EINA_LIST_FREE (xxx) -> EINA_LIST_FREE(xxx)
2013-03-09 13:23:42 +09:00
ChunEon Park ac3ab1c465 elementary/naviframe - added FIXME: 2013-03-08 21:47:07 +09:00
ChunEon Park 059c0f7252 naviframe - missed delcaring the prototype in head of the file. 2013-03-08 21:15:29 +09:00
ChunEon Park 7e575bab38 naviframe - remove the back button callback if the button is unset on the naviframe 2013-03-08 21:13:25 +09:00
Daniel Juyung Seo 64bae3c5d5 elm test_gengrid.c: updated min_set document. 2013-03-08 18:00:09 +09:00
Jaehwan Kim e9313c9525 Fix the toolbar cannot be unselected when it's mode is ELM_OBJECT_SELECT_MODE_ALWAYS. 2013-03-08 17:21:38 +09:00
WooHyun Jung f6a73beb76 Add elm_widget_newest_focus_order_get function for fixing a bug in elm_win. After elm_win is created, if there is no manual focus setting, only elm_win should get focus when focus state is changed. 2013-03-08 16:23:34 +09:00
Shinwoo Kim 0d05c1aeb4 [access] do not try to give a highlight, if the object already has a highlight - use more proper line 2013-03-08 11:44:49 +09:00
Eduardo Lima (Etrunko) 5858baf6e0 Fix edje_cc verbosity if building with V=1
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
2013-03-07 18:05:53 -03:00
Daniel Juyung Seo 6cd68a82da elm bg_example_01.c: simplified example. 2013-03-08 03:16:55 +09:00
Daniel Juyung Seo 5408dc3060 elm anchorblock_example_01.c: removed deprecated widget example.
anchorview and anchorblock were removed 1 year ago.
2013-03-08 02:58:36 +09:00
Shinwoo Kim ea9fe742a0 [access][toolbar] use proper access activate callback 2013-03-07 21:33:26 +09:00
ChunEon Park 02cd629c71 elementary/naviframe - add elm_naviframe_item_pop_cb_set() 2013-03-07 21:28:03 +09:00
Shinwoo Kim 99ad5779de [access] do not highlight, if the object already has the highlight 2013-03-07 20:30:33 +09:00
Sung W. Park 8a140f3c5b Elementary elm_glview: call surface update when mode changes
When glview mode was set using elm_glview_mode_set() function, it
wasn't properly calling the surface_update function internally.
This can potentially cause the surface to be not updated to the latest
mode that was set by the user.  Also removed a call to the surface
update function that was unnecessary.
2013-03-07 19:24:06 +09:00
Jaehwan Kim c36769a9ae Add the config ELM_THUMBSCROLL_HOLD_THRESHOLD.
This is the number of pixels the range which can be scrolled, while the scroller is holed.
In case of mobile, this config is useful since the out of scroller area is too small.
2013-03-07 18:13:15 +09:00
Shinwoo Kim 491f47ae61 [access][win] unhighlight when window is unfocused 2013-03-07 16:59:51 +09:00
ChunEon Park b3fe605189 elementary - trivial change. 2013-03-06 21:50:14 +09:00
ChunEon Park 0f4de7563d elementary - move deprecated -> deprecated.h 2013-03-06 21:43:47 +09:00
ChunEon Park 90b4c2c8dc elementary - fixed typo 2013-03-06 21:34:44 +09:00
ChunEon Park 30ce1cf732 elementary/widget - added elm_object_item_signal_callback_add(), elm_object_item_signal_callback_del() 2013-03-06 21:33:13 +09:00
Jiyoun Park 3f7092477b elm_conform.c : Fix elm_conform didn't change indicator mode when create.
currently mode change func only check one of mode between indmod or indi opacity mode.
2013-03-06 15:36:36 +09:00
Jaehwan Kim 8ed79613c5 Add edje_object_message_signal_process before edje_object_size_min_restricted_calc.
If the min size is changed by edje signal in edc, the the function should be called before the calculation.

This commit is related to 40dc2a25c72103c3b01620830e1bde964f96b2fa
2013-03-05 16:47:07 +09:00
Jaehwan Kim 621775dad2 Revert this commit to fix the problem by the other method.
Revert "Small bug. In some case, the box cannot be proper size."

This reverts commit ca95166f9a8cb7db8c1557d75f444d76772b2176.
2013-03-05 16:27:44 +09:00
Jaehwan Kim 962b965563 Typo. Sync a variable name with others 2013-03-05 14:49:29 +09:00
Jiyoun Park 66f1a89108 elm_conform : just change DBG message 2013-03-05 13:34:31 +09:00
Jiyoun Park 7f3e49828f Fix elm_conform didn't set size hint when keypad on
and check each window's property before zone property check
2013-03-05 12:44:46 +09:00
Daniel Juyung Seo 8d1effeb20 elm elm_gengrid.c: Optimize item count calculation when an item is appended. Patch by Junki Cho <jk0811.cho@samsung.com>
Do not need to calculate the list count when a gengrid item is appended.
Just use item_count which was already calculated.
2013-03-04 20:32:04 +09:00
Daniel Juyung Seo 72a9d8a913 elm elm_index.c: removed unnecessary calculation. 2013-03-04 20:32:04 +09:00
Daniel Juyung Seo ba0dc018f7 elm elm_index.c: fixed formatting. 2013-03-04 20:32:04 +09:00
WooHyun Jung 285ed82000 elm_win : Focus hightlight should not be shown on (0, 0). Thanks for Wonkuk Jung for reporting and fixing. 2013-03-04 20:16:35 +09:00
Jaeun Choi ae4a102102 elm_index: set selected item active in smart theme
This patch sets selected item's state active when theme is changed.
2013-03-04 17:55:48 +09:00
ChunEon Park 9c743a6097 elementary/widget - and should return when failed _elm_theme_object_set(); 2013-03-03 13:04:23 +09:00
ChunEon Park 5b6458423b elementary/widget - return correct value in theme_object_set()
becase of this, elm_layout_theme_set() and hoversel were broken.
2013-03-03 13:01:22 +09:00
Daniel Juyung Seo 8aef8ee700 elm elm_spinner.c: Removed unnecessary local variable.
Removed local variable "offset".
2013-03-03 00:40:07 +09:00
Daniel Juyung Seo f868609b5d elm elm_spinner.c/h: Use proper variable name. Add more comments.
1. drag_start_pos -> drag_start_val. This is a value not a position.
2. added comment for drag_start_val.
2013-03-03 00:38:35 +09:00
Daniel Juyung Seo e8d6527eda elm elm_spinner.c: Use more eo APIs.
edje_object_part_drag_value_get() -> eo_do(edje_obj_part_drag_value_get);
2013-03-02 23:37:51 +09:00
Gustavo Lima Chaves 312d0217a0 An internal layout error, on a widget set, is a CRITICAL error. 2013-03-01 23:04:31 -03:00
Rafael Antognolli 906fc3252f spinner: Fix initial value of the spinner.
The size should remain the same after the first mouse move and then be
adjusted accordingly.

Fixes #1403.

Patch by: "Brian J. Lovin" <brian.j.lovin@intel.com>
2013-03-01 15:24:05 -03:00
Shinwoo Kim 99f870ac39 [access] check whether a highlight object is NULL or not 2013-03-01 19:03:36 +09:00
Shinwoo Kim 2a10366721 [access] remove unnecessary lines 2013-03-01 18:58:25 +09:00
Daniel Juyung Seo 395e58265c elm elm_layout.c: fixed a document typo. 2013-03-01 00:18:58 +09:00
Jaehwan Kim 1d7fa5b040 Fix the standard of scrollbar-calculation from the scroller's x to pan's x. 2013-02-28 18:27:21 +09:00
ChunEon Park f316978d1c elementary/transit - removed white trailing 2013-02-28 18:17:24 +09:00
ChunEon Park 79fd0192d9 elementary/transit - added elm_transit_smooth_set(), elm_transit_smooth_get() 2013-02-28 17:21:07 +09:00
ChunEon Park b651a6efac elementary/image - fix doc. 2013-02-28 16:41:26 +09:00
Daniel Juyung Seo 957e805efe elm authors: synced elm_authors.h with AUTHORS. 2013-02-28 15:38:47 +09:00
Jaehwan Kim d58d971e6f Add the option about sending signals in content_pos_set.
When the scroller is resized, the signals("elm,action,scroll", "elm,edge,top" so on) shouldn't be sent,
because it's not a scroll-action. So in this case, the content_pos_set should be called without the signals.
2013-02-28 15:18:51 +09:00
Shinwoo Kim 0461e3d391 Merge branch 'master' of ssh://git.enlightenment.org/core/elementary 2013-02-27 21:05:41 +09:00
Carsten Haitzler 56d4729538 Change description:
Issue: Currently There is no possibility in entry to get currently
selected context menu item’s contents i.e., Label, icon etc:- due
to this issue a separate callback has to be added per item or the
item's contents has to be sent in data.

Fix: This patch fixes this problem by sending item pointer as
event_info and providing APIs to access the item pointer. This fix is
very useful for applications which add their own context menu items to
entry's context menu.

Signed-off by: Shilpa Singh(shilpa.singh@samsung.com)
2013-02-27 21:06:05 +09:00
Shinwoo Kim 8f57043b25 [access][popup] fix elm_object_style_set(); issue: it removes previous part object 2013-02-27 21:03:13 +09:00
Jaeun Choi 8e6ff77250 This patch adds omit feature to elm_index.
If you enable omit mode when having too many items,
some items in the middle are omitted and the index can be displayed
from the top to the bottom.

* not support horizontal mode
* enabled when at least 3 items can be displayed (first and last items
are not omitted)
* not work when having too many items
2013-02-26 22:52:15 +09:00
ChunEon Park 2204559573 elementary/widget - use eo 2013-02-26 17:42:34 +09:00
ChunEon Park 74559f5547 elementary/widget,theme - simpler code. 2013-02-26 13:46:27 +09:00
Tae-Hwan Kim efe3f7c6b6 push bluezery's patch. approved. 2013-02-26 13:42:28 +09:00
ChunEon Park fb472f97b1 elementary - only support sending signals when orientation mode is changed.
it's enough right now.

need to consider more about theme change.
2013-02-26 13:26:22 +09:00
Carsten Haitzler 13a895de77 Fix 1byte invalid read & do memset, rewind if needed.
Summary:
1. because eina_simple_xml_parse uses char *, buf should be null
terminated.  So I use memset.
2. Because NULL is needed at the end, I add one more byte.
fread read exact bytes and has no NULL.
3. If buf is failed to alloc (very rarely case), it is not need to rewind and memset.

Test Plan: Use valgrind and elm_map_name_add API

Reviewers: tasn, bluezery

Reviewed By: raster

CC: seoz

Differential Revision: https://phab.enlightenment.org/D10
2013-02-25 12:00:07 +09:00
Carsten Haitzler 0756536437 add lable to anchor button disabled test. 2013-02-24 13:53:38 +09:00
Carsten Haitzler e740e4ca74 add test cases to button test. 2013-02-24 12:12:13 +09:00
Carsten Haitzler c2082c1973 fix 64bit complaint for elm cnp (harmless other than warning noise). 2013-02-24 12:11:24 +09:00
Carsten Haitzler 10bc37e9ca better check for awarenes setting.
SVN revision: 84300
2013-02-22 09:24:49 +00:00
Carsten Haitzler 1c66b0cf99 quick fix > 1 win for dnd! :)
SVN revision: 84299
2013-02-22 09:21:21 +00:00
Carsten Haitzler 6ff515ea60 update docs.
SVN revision: 84298
2013-02-22 08:50:07 +00:00
Carsten Haitzler 30cc0a85c8 allow dealing with dnd actions and status at src.
SVN revision: 84296
2013-02-22 08:49:08 +00:00
Daniel Juyung Seo d8815d2ff2 elm elm_index.c: removed unnecessary type casting.
SVN revision: 84292
2013-02-22 01:41:04 +00:00
Carsten Haitzler 3091ccc3f6 flesh out a lot more of dnd support in elm and add apis to set up dnd
targets for objects as well as initiate a dnd.



SVN revision: 84282
2013-02-21 13:21:08 +00:00
ChunEon Park 458faf56a3 elementary/popup - removed duplicated strings.
SVN revision: 84279
2013-02-21 11:44:49 +00:00
Jaehwan Kim f04933d80c Small bug in scroller when the page is set.
SVN revision: 84277
2013-02-21 09:36:14 +00:00
ChunEon Park ee1daa1eec elementary/naviframe - guarantee that new pushed item to be the top layer in a naviframe.
SVN revision: 84276
2013-02-21 08:40:09 +00:00
ChunEon Park 97c6cc2d81 elementary/button,label,bg - i have no idea but elm_layout_theme_set() should be called in smart_add().
this fixes the hoversel.



SVN revision: 84275
2013-02-21 05:57:05 +00:00
ChunEon Park 6941e2aca4 elementary/hoversel - renamed internal variable.
SVN revision: 84274
2013-02-21 04:46:28 +00:00
ChunEon Park 73bd086b53 elementary/widget - missed return there.
thanks glima for spotting it.



SVN revision: 84270
2013-02-21 03:42:04 +00:00
ChunEon Park b17a158181 elementary/naviframe - remove del callback function before deleting the object.
SVN revision: 84269
2013-02-21 02:55:02 +00:00
Carsten Haitzler 21338a73a3 more work on fixing cnp... still more to go. debug on.
SVN revision: 84260
2013-02-20 09:41:06 +00:00
Carsten Haitzler aec477530d fix gl engine opt + pulse.
SVN revision: 84249
2013-02-20 03:08:33 +00:00
Jihoon Kim 11ca192805 elm: fix typo in naviframe document
SVN revision: 84246
2013-02-20 02:33:02 +00:00
Shinwoo Kim bf0ff25e5d [ctxpopup] proper restacking, previous restack callback makes the bg be top of the ctxpopup.
SVN revision: 84245
2013-02-20 02:30:04 +00:00
Tom Hacohen 1cc1651f6c Elm win: Fixed an OBVIOUS gcc warning.
SVN revision: 84242
2013-02-19 16:26:11 +00:00
Tom Hacohen 912eac55ce Elm layout: Expose some clouseau information.
SVN revision: 84241
2013-02-19 16:23:27 +00:00
Carsten Haitzler 3faccb1149 much better.. dnd actually works now.. doesnmt get stuck etc... need
to GRAB mouse etc... still not all there yet. cant dnd within ones own
window yet. that's NEXT



SVN revision: 84235
2013-02-19 12:10:02 +00:00
Carsten Haitzler b266a4c86c some cleanups missing from previous commit.
SVN revision: 84106
2013-02-19 10:48:37 +00:00
Carsten Haitzler eca7d3d879 this is messing woith internal apis in elm - but drop target delc was
wrong, and internally it didnt handle mime types properly. no one
really used/tested this much... because it wasnt available for use
really :). so fix up.



SVN revision: 84103
2013-02-19 10:14:35 +00:00
Stefan Schmidt 7129201160 elm_map: Free allocated buffer in all cases.
Very well spotted from Hermet. My original fix only free'ed the buffer
in the case fread failed, but apperently we we always leaked this buffer.

Make sure we free it in all cases.

SVN revision: 84087
2013-02-19 09:04:45 +00:00
ChunEon Park 0a71cd2727 elementary/widget - revised orientation mode code.
now if applying the orientation style is failed, it tries to apply the original style. if it fails again then default theme.

also it fixed a logic error when theme changed is happened.

It will try to apply the original style if the orientation style is invalid on theme changing.




SVN revision: 84082
2013-02-19 08:22:15 +00:00
ChunEon Park ff3150ee09 elemenatry/photocam - oopss sorry my fault.
SVN revision: 84081
2013-02-19 08:10:34 +00:00
ChunEon Park f8b3da532a elemenatry/photocam - reverted 84074
SVN revision: 84075
2013-02-19 08:05:50 +00:00
ChunEon Park 6af1925282 elementary/photocam - removed unused
SVN revision: 84074
2013-02-19 08:00:49 +00:00
Shinwoo Kim 14a0ba6ea3 [focus][popup] fix focus related bugs
1. if user just hides the popup, the focus tree is broken. it is caused by elm_object_content_unset(notify);
   popup calls elm_object_content_set(notify, popup); in the _on_show(); it would be terrible.
   there would be a structual problem, but it is hart to figure out.

2. _elm_popup_smart_focus_direction(); calls notify's focus_direction(); and it calls popup's one again.
   there is circular dependency between notify and popup.



SVN revision: 84073
2013-02-19 06:51:19 +00:00
Jaehwan Kim c3a9687a33 typo
SVN revision: 84072
2013-02-19 05:06:11 +00:00
ChunEon Park fe09ea60c8 elemenatry - fixed typo
SVN revision: 84037
2013-02-18 06:07:12 +00:00
ChunEon Park 0d5a0dc6e6 elemenatry/widget - --printf
SVN revision: 84036
2013-02-18 05:15:53 +00:00
ChunEon Park 8c475fe1ab elementary/theme - Missed this in privouse commit.
Add watcher only edje_object_file is applied successfully.



SVN revision: 84035
2013-02-18 05:15:17 +00:00
ChunEon Park ade43adfd9 elementary/widgets - if the orient mode is changed, apply a default only if the style doesn't applied anything. other wise, use the preivouse one.
SVN revision: 84034
2013-02-18 05:13:58 +00:00
Mike Blumenkrantz 6fcab85ab0 forwardport previous entry commit for blocking blank hoversels
SVN revision: 84023
2013-02-17 14:36:00 +00:00
Mike Blumenkrantz 822f4e8429 ignore tab key focus changes in elm_win if ctrl/alt is pressed: the trunk version
SVN revision: 84021
2013-02-17 14:19:53 +00:00
Cedric BAIL 1aaa6e41e1 elementary: as previously stated sizeof (long) != sizeof (void*)
SVN revision: 84014
2013-02-17 03:53:02 +00:00
ChunEon Park f801eec4d2 elementary/naviframe - fix some trivial bugs.
SVN revision: 83998
2013-02-16 14:33:16 +00:00
ChunEon Park a69c304b39 elementary/naviframe - removed duplicated strings.
SVN revision: 83992
2013-02-16 14:16:50 +00:00
ChunEon Park 500fa3f34b elementary/widget - ++FIXME
SVN revision: 83991
2013-02-16 13:54:52 +00:00
ChunEon Park 844b5805ff elementary/widget - don't handle tthe resize objects in widget infrastructure. Acutally these resize objects are sub objects so we don't need to care them separately. This caused overhead in some cases(ie, theme change)
SVN revision: 83990
2013-02-16 13:39:59 +00:00
Davide Andreoli 1f92ae407d elm external actionslider: missing param declaration
SVN revision: 83988
2013-02-16 13:01:31 +00:00
ChunEon Park 46f7abc6df elementary/naviframe - don't call the parent smart_theme. Actually navifram itself is nothing to do about theme.
SVN revision: 83986
2013-02-16 12:33:52 +00:00
ChunEon Park e91c97418c elementary/naviframe - improve the naviframe to not apply it's items style multiple time when theme or styles are changed.
SVN revision: 83985
2013-02-16 12:08:42 +00:00
Davide Andreoli 0bdf6191ea elm external clock: another type error. Big SPANK to who write and commit code without testing!!
SVN revision: 83984
2013-02-16 12:06:30 +00:00
Davide Andreoli 298fd8e16b elm external slider: min and max are double not string
SVN revision: 83982
2013-02-16 11:24:05 +00:00
ChunEon Park 9256895f98 elementary/widget, naviframe, popup, label, button
let elm_wdg_orientation_set() have return value and call the elm_wdg_theme() inside.

since every widgets tend to do same task with smart_theme() when it's orient mode is changed.



SVN revision: 83981
2013-02-16 11:11:25 +00:00
Cedric BAIL f6207619b3 elementary: Use eina_file_stat_ls() when listing profiles
The eina_file_stat_ls() function should be used instead of
eina_file_direct_ls() in _elm_config_profiles_list() - since it checks
for file types.

Patch by "Paulo C. A. Cavalcanti Jr" <paulo.cavalcanti@intel.com>


SVN revision: 83979
2013-02-16 10:25:42 +00:00
ChunEon Park f9734b72e0 elementary/popup - a workaround code to prevent a popup lost it's parent.
Terrible. Should be totally rewritten.



SVN revision: 83975
2013-02-16 08:52:10 +00:00
Daniel Juyung Seo 541ce8f603 elm panes: fixed unclear horizontal mode description.
SVN revision: 83974
2013-02-16 08:43:48 +00:00
Daniel Juyung Seo fd804d6153 elm elm_panes.c: fixed wrong eo description.
SVN revision: 83969
2013-02-16 06:07:22 +00:00
Daniel Juyung Seo 61348fd4d9 elm panes: fixed wrong signal name.
elm.panes.fixed/unfixed -> elm,panes,fixed/unfixed.
whoever added this signal should be spanked.
I left the signal emission from the code due to backward compatibility.
So there is no theme api break.
We should remove the previous one when we start EFL 2.0.

SVN revision: 83967
2013-02-16 05:37:44 +00:00
Daniel Juyung Seo 0bd279221f elm elm_panes.h: fixed wrong documentation about elm_panes_fixed_set/get.
SVN revision: 83966
2013-02-16 05:37:40 +00:00
Daniel Juyung Seo 9fd0cb4708 elm test_panes.c, panes_example.c: refactoring. use the panes in a better way.
1. do not use unnecessary global variable.
2. remember the last left pane size and set it later when double clicked again.
3. do not call elm_panes_content_left_size_get() twice.

SVN revision: 83963
2013-02-15 19:32:05 +00:00