Commit Graph

9651 Commits

Author SHA1 Message Date
ChunEon Park fb8af1004c genlist: remove duplicated signal registration. 2014-12-29 22:34:45 +09:00
ChunEon Park 1f73409844 genlist: send an additional signal
send flip disabled signal when it's state is switched.
2014-12-29 22:27:28 +09:00
ChunEon Park cce9511130 genlist: send a signal internally.
send a signal so that item set it's style according to it's depth
2014-12-29 22:16:34 +09:00
Davide Andreoli 02b5c7065d Fileselector: beautify the search entry
Entry moved to the top-right corner and added the guide text
2014-12-29 13:47:31 +01:00
ChunEon Park 5b2493b7af genlist: send a disabled signal when the decorated item is unrealized. 2014-12-29 21:44:50 +09:00
Davide Andreoli 62fe9c4964 List: new signal: clicked,right with simple test
@feature
2014-12-29 12:18:04 +01:00
ChunEon Park b4fe364f1b genlist: code refactoring
declare/use const strings for internal signals
2014-12-29 19:50:39 +09:00
Davide Andreoli a6486bc1b6 Gengrid: new signal: clicked,right with proper test
@feature
2014-12-29 11:38:17 +01:00
Davide Andreoli 9988b752c7 Genlist: do not fire clicked,right while dragging in progress 2014-12-29 11:19:21 +01:00
ChunEon Park eb229ae0e2 genlist: add "scroll" smart call
@feature
2014-12-29 19:02:08 +09:00
Daniel Juyung Seo b54b7178ed test_transit: Cast integer to pointer correctly to support 64 bit system. 2014-12-27 22:25:24 +09:00
Amitesh Singh eb3d69a8ec test_glview: Refractored the shader/program log code.
Summary:
Added a function print_glerror_log to handle both shaders and programs
logs.

Test Plan: elementary_test -> glview

Reviewers: raster, jpeg, seoz

Reviewed By: seoz

Subscribers: anand.km, seoz

Differential Revision: https://phab.enlightenment.org/D1826
2014-12-27 22:12:30 +09:00
Davide Andreoli 69b6310954 Improve -clicked- detection code by accept only if the mouse do not move too much
Too much in this case is a fixed 4px. As fingers do not have a right button I think
that taking into account finger size is not needed here.

Also someone argued about the signal name is not really correct...
should I change it to somethig like: clicked,secondary ?
2014-12-26 18:46:28 +01:00
Davide Andreoli 536c5de134 Genlist: added the clicked,right event on items
@feature
2014-12-26 17:29:51 +01:00
Amitesh Singh fc1579020c list/genlist/gengrid: Fix memory leak.
Summary: @Fix

Reviewers: kimcinoo, SanghyeonLee, raster, seoz

Reviewed By: seoz

Subscribers: seoz

Differential Revision: https://phab.enlightenment.org/D1825
2014-12-26 20:22:57 +09:00
Daniel Juyung Seo 748f86feff gengrid: Enhance realized_items_get performance. 2014-12-26 18:45:29 +09:00
Daniel Juyung Seo d47a4adae4 gengrid, genlist, list, toolbar: Fix memory leak and enhance performance.
1. Fix memory leak by freeing eina_list.
2. Enhance performance by getting the item list when it is really
needed.

@fix
2014-12-26 18:41:48 +09:00
Daniel Juyung Seo 9b038471bf genlist: Return the correct pointer for object item.
No backport needed.
2014-12-26 14:36:36 +09:00
Daniel Juyung Seo 4e6ce7da7a gengrid: Add missing "moved" callback call on item reorder by key.
This is a gengrid version of de75e6c0e852a2664c0ed022a6f79d6f431f64a0.

@fix
2014-12-26 14:33:32 +09:00
Andrii Kroitor 8148de6e17 elm_genlist: add missing callback call
Summary:
Added missing "moved" callback call when reordering items with keyboard
"up" and "down" arrows

@fix

Reviewers: cedric, raster, seoz

Reviewed By: seoz

Subscribers: reutskiy.v.v

Differential Revision: https://phab.enlightenment.org/D1818
2014-12-26 14:23:42 +09:00
Andrii Kroitor c55e8ccac4 elm_toolbar: fix memory leak in _elm_toolbar_nearest_visible_item_get
@fix

Reviewers: cedric, seoz, Hermet, raster

Subscribers: reutskiy.v.v

Differential Revision: https://phab.enlightenment.org/D1822
2014-12-26 11:27:07 +09:00
ChunEon Park cf25180e0c transit: revise tween sample 2014-12-26 11:23:12 +09:00
Mike Blumenkrantz c201ec6c87 genlist should ignore no-select items when moving with the keyboard
@fix
2014-12-25 20:39:17 -05:00
Jee-Yong Um 30d8089ff5 elm_transit: Append Elm_Transit_Tween_Mode sample to elementary_test
Summary:
A sample for elm_transit_tween mode which can be executed via
"Effects"-"Transit Tween Mode" button in elementary_test

Reviewers: Hermet

Subscribers: Hermet

Differential Revision: https://phab.enlightenment.org/D1817
2014-12-26 10:27:15 +09:00
jiin.moon c3397d302b image: fix clipped image issue if x or y is less than zero
Summary:
After applying clipping patch about image on outside,
the width or height of the image be decreased
if x or y of an image is less than zero.
The way to calculate width/height has changed.

This fixes a side effect added in 2839881f37ea85b3469d8fd37cfaa4f9d67458fa

Reviewers: Hermet

Differential Revision: https://phab.enlightenment.org/D1810
2014-12-24 14:10:05 +09:00
Jee-Yong Um 17552b42b8 elm_colorselector: Fix layout broken in ELM_COLORSELECTOR_ALL mode
Summary:
Fix layout broken in ELM_COLORSELECTOR_ALL mode
due to missing part for layout sizing evaluation

@fix

Reviewers: Hermet

Subscribers: Hermet

Differential Revision: https://phab.enlightenment.org/D1802
2014-12-23 09:50:52 +09:00
Jaehyun Cho ce0e47c917 elm_transit: Support rotation keeping current map effect.
Summary:
Support rotation keeping current map effect.

Reviewers: Hermet

Differential Revision: https://phab.enlightenment.org/D1806
2014-12-23 09:39:38 +09:00
Jaehyun Cho 6632c7cb30 elm_transit: Support zoom keeping current map effect.
Summary:
Support zoom keeping current map effect.

Reviewers: Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D1805
2014-12-23 09:37:11 +09:00
Jee-Yong Um 8357725dc3 elm_colorselector: fix not intended duplication
Summary:
When colorselector widget is added, there are two align set command on palette_box part,
but that for picker part is omitted.
Apply elm_box_align_set function to picker part correctly.

@fix

Reviewers: Hermet

Reviewed By: Hermet

Subscribers: Hermet

Differential Revision: https://phab.enlightenment.org/D1790
2014-12-19 14:28:15 +09:00
Daniel Juyung Seo 82eb0a210c image: Fix formatting for the latest commit 283988. 2014-12-19 02:36:16 +09:00
ChunEon Park ec9f950aa3 transit: revise sample 2014-12-18 20:11:36 +09:00
jiin.moon fe3bacf30a elm/image: Fix an unclipped issue about image bigger than object size
Summary:
When resizes an image
if "fill_inside" and "aspect_fixed" in Elm_Image_Data struct are "TRUE",
extra width or height go outside of the object area.
The width or height on outside will be clipped.
@fix

Reviewers: Hermet

Differential Revision: https://phab.enlightenment.org/D1794
2014-12-18 17:53:44 +09:00
Stefan Schmidt f7024e8830 modules: Make sure we have all linker flags setup for our modules.
We missed this here and test_mapo wanted eina_stringshare. Thanks to Andreas
Metzler for the report and initial patch.

@fix

Fix T1920
2014-12-18 08:58:52 +01:00
ChunEon Park b8887c6a1e transit: clean up beizer test code...
oh please, this must be the last touch!
2014-12-18 15:16:59 +09:00
ChunEon Park d2e2bd3f05 transit: print more detail control points message in the bezier sample 2014-12-18 14:51:30 +09:00
Jaehyun Cho a51561c999 elm_widget: Pass Elm_Object_Item *item as *event_info in item->del_func.
Summary:
Pass Elm_Object_Item *item instead of Elm_Widget_Item_Data *item as
         *event_info in item->del_func to let *event_info be used.
         @fix

Reviewers: Hermet

Differential Revision: https://phab.enlightenment.org/D1788
2014-12-18 14:42:45 +09:00
ChunEon Park 036bf49767 transit: adjust control point position range in the bezier sample 2014-12-18 14:37:39 +09:00
ChunEon Park 94e60a010e transit: add bezier curve tween mode example 2014-12-18 14:33:47 +09:00
Jee-Yong Um a3a42ea192 elm_label: Add an example handling "slide,end" signal
Summary:
Label widget example that handles "slide,end" signal
When each label ends its slide, it stops and makes next one slide.

Reviewers: Hermet

Subscribers: Hermet

Differential Revision: https://phab.enlightenment.org/D1787
2014-12-18 14:24:29 +09:00
Jee-Yong Um b87b699138 elm_label: Add "slide,end" signal emission
Summary:
In label styles providing slide fuctions (slide_[long|short|bounce])
"slide,end" signal is emitted, when every slide ends.

@fix

Reviewers: raster, Hermet

Subscribers: raster, Hermet

Differential Revision: https://phab.enlightenment.org/D1782
2014-12-18 14:24:12 +09:00
ChunEon Park c8ca7e6ba9 transit: renamed to explicit examples. 2014-12-18 09:39:37 +09:00
ChunEon Park a26b6fcfc0 transit: fix warning (different types comparing)
added in 8a46bf160273ecda8eac5b60c8c445b5e5a046e3
2014-12-17 19:47:17 +09:00
jiin.moon a40fa2528b Transit: Support BEZIER CURVE
Summary:
Support BEZIER CURVE in elm transit
         @feature

Reviewers: seoz, raster, Hermet

Subscribers: raster, seoz

Differential Revision: https://phab.enlightenment.org/D1759
2014-12-17 19:35:13 +09:00
Daniel Juyung Seo 4a61d3955e genlist: Fix dereference before null check.
This fixes coverity CID 1258636.
No backport needed.
2014-12-16 23:54:13 +09:00
kabeer khan 8d4437b1f9 elm_list : Resolved TODO in elm_list.c and declared corresponding macros in elm_macros.h
Summary:
As mentioned in TODO replaced expressions in if statement with macros in elm_macros.

Signed-off-by: kabeer khan <kabeer.khan@samsung.com>

Reviewers: seoz, raster

Reviewed By: raster

Subscribers: raster

Differential Revision: https://phab.enlightenment.org/D1424
2014-12-16 20:01:04 +09:00
Kairong Yin f2cf41dc1c Fix T1525 New Append/Prepend Gengrid Item cannot be seen in viewport
Reviewers: seoz, raster

Differential Revision: https://phab.enlightenment.org/D1392
2014-12-16 19:49:54 +09:00
Carsten Haitzler 17f411f6be elm - fix warnings added in f99be3a1d6bdc63153598b592b5437c33da44bf0 2014-12-16 19:36:35 +09:00
Hosang Kim 7ca7e06253 gengrid: Fix mirroring issue about key event
Summary:
Originally, key "Left" is mapped elm_gengrid_item_prev_get. But when gengrid is mirrored, key "Left" should remap elm_gengrid_item_next_get.
So I add more condition for checking mirroring.

1. reverse Left and Right key event
2. fix _elm_gengrid_item_edge_check logic
3. fix _item_show_region logic

Test Plan: elementary_test -> gengrid

Reviewers: SanghyeonLee

Subscribers: seoz

Differential Revision: https://phab.enlightenment.org/D1381

Conflicts:
	src/lib/elm_gengrid.c
2014-12-16 19:34:39 +09:00
Jyotiprakash Sahoo 17419ec81c genlist: added reorder feature on key events
Summary: This feature allows user to reorder items using up/down keys.

Test Plan: elementary_test -to "Genlist Reorder Mode"

Reviewers: singh.amitesh, raster, seoz, SanghyeonLee

Differential Revision: https://phab.enlightenment.org/D1262

Conflicts:
	src/bin/test_genlist.c
	src/lib/elm_genlist_legacy.h
2014-12-16 18:20:32 +09:00
taehyub be15a0dc33 change elm_naviframe_itepm_pop_to api document
Summary:
Naviframe: modify elm_naviframe_item_pop_to api's document guide more specific to avoid confusion.

the elm_naviframe_item_pop_to api does not pop all items from the top to the target item.
It destory the items between the top and the target item, after that pop and destory the top item.
so, the descriptions of elm_naviframe_item_pop_to() is modified to avoid cunfusion like above.

Reviewers: Hermet, woohyun, seoz

Subscribers: seoz

Differential Revision: https://phab.enlightenment.org/D1780
2014-12-16 16:13:33 +09:00
woochan lee a5de98c5f6 test_check: deleted useless code.
Summary:
in this test sample, evas object size hint weight, align set API doesn't need to make view.
and line changed to code consistency.

Test Plan:
1. run elementary_test.
2. execution check test.
3. window resize.
   - some objects align to left side of window. in the other hands, some objects align to center of window.

Reviewers: seoz, Hermet

Differential Revision: https://phab.enlightenment.org/D1781
2014-12-16 16:10:37 +09:00
Chinmaya a5c8af0493 Gengrid: Focus highlight should move to nearest visible object.
Summary:
If item_loop is not enabled, the focus highlight should move to nearest visible object
with key events.

Test Plan: elementary_test -to "gengrid 2"

Reviewers: seoz, raster

Subscribers: sachin.dev, seoz

Differential Revision: https://phab.enlightenment.org/D1261
2014-12-16 12:22:59 +09:00
Daniel Juyung Seo 400e451f8f win: Add more description for automatic switch to alpha window by theme.
This is a documentation for e07061c5d5a9b1ec79278da82208ad486937b873.
2014-12-16 02:09:16 +09:00
Daniel Juyung Seo ec63fe3ef2 win: Rename the internal variable to avoid confusion.
layout -> edje to explicitly say this is an edje object.
This avoids confusion between elm_layout and edje_object, thus makes
less human mistakes.
2014-12-16 02:03:22 +09:00
Daniel Juyung Seo fe9bd5ae58 win: Support runtime alpha window switch on theme change.
Once the window alpha is on, it would not go back to non-alpha window
automatically.

- non-alpha theme -> alpha theme: switch to alpha window
- alpha theme -> non-alpha theme: stay in alpha window

@feature
2014-12-16 01:57:24 +09:00
Daniel Juyung Seo b1531e71c7 win: Support elm_win style change and runtime theme change.
@feature
2014-12-16 01:45:59 +09:00
Daniel Juyung Seo 74176d08e8 table: Refactor internal codes to keep consistency. 2014-12-16 00:43:31 +09:00
Daniel Juyung Seo b97c0d5934 win: Fix wrong return value of window theme apply.
@fix
2014-12-16 00:40:42 +09:00
woochan lee 29ba5cd8da test_external.edc: pulse value have to be true for put in pulsing mode.
Summary: pulsing mode doen't work even though called elm_progressbar_pulse function in code , if pulse value is not true.

Test Plan:
1. run elementary_test
2. execution ExtProgressBar sample.
3. click 3rd button to start progressbar.

@fix

Reviewers: seoz, Hermet, woohyun, cedric

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1770
2014-12-15 21:14:30 +09:00
Daniel Juyung Seo c71a074a60 entry: Make documentation less confusing.
Entry can be used in different meanings. Use 'str' instead of 'entry' to
explicitly show the exact meaning of a parameter.
2014-12-15 20:59:10 +09:00
Sanjeev BA 00cbb2a2e2 Multibutton entry - handle parent object null case.
Reviewers: seoz, Hermet

Subscribers: Hermet, seoz

Maniphest Tasks: T1379

Differential Revision: https://phab.enlightenment.org/D1254
2014-12-15 17:47:06 +09:00
Carsten Haitzler 69dc603bdb elm - layout - allow elm.txt or elm.text.* parts to signal...
based on D1234 from Bora, but improved.
2014-12-15 17:35:01 +09:00
Anand efe737b3b8 List: Focus highlight when loop is enable
Summary:
Implemented focus highlight feature in list for vertical and horizontal looping
@feature

Test Plan: elementary_test->"List Focus" & "List Focus Horizontal"

Reviewers: singh.amitesh, nirajkr, seoz, eagleeye, raster

Subscribers: sachin.dev

Differential Revision: https://phab.enlightenment.org/D1216

Conflicts:
	src/lib/elm_list.c
2014-12-15 17:24:36 +09:00
Daniel Zaoui e8084e322c DnD: fix callbacks call on many DnD operations.
A leave callback is invoked on the drop target of the previous DnD
operation, leading to inconsistency for applications.
The state of the dropable target was not resetted during drop.
This patch fixes that.
2014-12-14 15:49:50 +02:00
Daniel Juyung Seo e7726d8f01 test_genlist: Remove unused value.
This fixes coverity CID 1258428.
2014-12-14 12:07:06 +09:00
Daniel Juyung Seo 14e79451c2 genlist: Fix genlist crash issue when clearing genlist on item focus callback.
This fixes "genlist focus" test sample's crash issue.

@fix
2014-12-14 04:19:42 +09:00
Daniel Juyung Seo 56bc2bddcb test_genlist: Refactor genlist focus test.
- Add more sample items.
- Clear genlist on focus callback only for the specified item.
- Fix broken item index handling
- Remove unnecessary app data structure members.
- Free unused item class.
2014-12-14 04:13:13 +09:00
ChunEon Park b647f1350f win: set config engine on higher priority than DISPLAY env var
DISPLAY environment variable may set regardless of Elementary/EFL.
Mostly user has no way to switch their intent engine such as "buffer"

Guarantee work application engine with their intended engine first.

@fix
2014-12-12 21:56:26 +09:00
Cedric BAIL 58a7fa23c5 elm_win: make it possible to specify alpha window in the theme directly. 2014-12-11 06:45:14 +01:00
woochan lee 9648692037 elm_notify: added the notify's edje of popup smart member
Summary:
Summary: after popup layout refactoring, the popup object cant get evas event.

when popup using notify object block layout object will be covered with edje object.
it breaks evas smart member relationship.

Test Plan:
Test Plan:
1. added popup object.
2. key down event callback add for popup object.
3. run the elementary_test.
4. input some key on popup and check whether the registered function is executed or not.

Reviewers: eunue, Hermet, seoz

Differential Revision: https://phab.enlightenment.org/D1706
2014-12-11 00:00:21 +09:00
woochan lee fd0fb71fd0 elm_widget_progressbar.c: added description of Progressbar data
Summary: added description.

Reviewers: Hermet, woohyun, seoz

Reviewed By: seoz

Differential Revision: https://phab.enlightenment.org/D1709
2014-12-10 23:46:19 +09:00
Daniel Juyung Seo 24011adab4 example/sphere_hunter: Clean up source code.
- Remove shadow variable.
- Don't call elm_init() twice. It is called automatically when you use
ELM_MAIN() macro.
- Don't set weight/align to swallowed objects.
- Set weight first before adding the object to window's resize object.
- Show window after creating all of its content.
2014-12-10 16:31:16 +09:00
ChunEon Park 2980fad1c0 config: improve doc. 2014-12-10 15:39:12 +09:00
ChunEon Park 7a0a26caa3 elementary/config: improve doc. 2014-12-10 15:07:11 +09:00
Cedric BAIL 7b5976b963 .gitignore: ignore new example. 2014-12-10 06:06:50 +01:00
Cedric BAIL e59b5b8342 autotools: build Sphere Hunter with the rest of the examples. 2014-12-10 06:06:17 +01:00
Cedric BAIL 3378828d7f sphere_hunter: remove warning. 2014-12-10 06:05:08 +01:00
Cedric BAIL cc95ab08f6 autotools: fix indentation. 2014-12-10 03:57:02 +01:00
se.osadchy f03ce34072 [Elementary/example]: Add new 3D game - Sphere Hunter.
Summary: This example shows the just using elementary with evas 3D.

Reviewers: cedric, raster, Hermet

Differential Revision: https://phab.enlightenment.org/D1755
2014-12-10 03:53:40 +01:00
Carsten Haitzler f8e8f02d4a elm - UNBREAK BUILD! (#undef... SOMETHING) 2014-12-08 10:23:10 +09:00
Mike Blumenkrantz b3282f5922 tooltips in windows make more attempts to not overlap with pointer
this prevents (in most cases) a race condition where the pointer will continually trigger a show-hide-show loop due to slow X message processing
2014-12-07 20:10:40 -05:00
Mike Blumenkrantz 1e79ddfabb tooltip now calcs position more effectively during ADJUST(FLIP) 2014-12-07 20:10:40 -05:00
Mike Blumenkrantz e39f30ae4a tooltip windows now show themselves offscreen to force size calc before appearing
this improves initial tooltip placement and prevents tooltip warping due to incremental size recalcs after show
2014-12-07 20:10:40 -05:00
Mike Blumenkrantz f9a7f07bac tooltip windows now set shape input rect in elm_win
this fixes a longstanding race condition where tooltip windowss could exist with a shape rectangle due to race conditions between applying window properties (eg. alpha) and reapplying the input rect
2014-12-07 20:10:40 -05:00
Daniel Juyung Seo c3963d06f5 widget: Add/Fix internal documentations. 2014-12-07 15:55:44 +09:00
Daniel Juyung Seo b8e4341c78 slider: Clean up of the previous slider patch.
- This is a first clean up of 65240b5327e5ab1eb8f77835b4729444fe1f02df
- Fix wrong version for since tag.
- Fix indentation and remove trailing whitespaces.
- Make the code more readable.
- Remove a unused variable.
2014-11-29 23:28:14 +09:00
Wonguk Jeong 122403ea44 elm_cnp: decode escaped ASCII-encoded URI for dnd
Summary:
encoded URI is pasted in terminology on dnd with file which has blank in name
ex. Test Blank.avi -> Test%20Blank.avi

Therefore, decode it when we extract file uris from uri list by using efreet.
by the way, copy and paste code likely needs refactoring..

Reviewers: raster, cedric

Subscribers: billiob, seoz

Differential Revision: https://phab.enlightenment.org/D1384
2014-11-29 16:06:50 +09:00
Anil Kumar Nahak 6d1d6dec7c Slider: Added APIs to set/get slider's indicator visibility mode.
Summary:
elm_config_slider_indicator_visible_mode_set
elm_config_slider_indicator_visible_mode_get

The patch will enable the slider's indicator to get

visible always
visible on focus
visible never
visible on slider value change

Reviewers: raster, seoz

Subscribers: sachin.dev

Differential Revision: https://phab.enlightenment.org/D1558
2014-11-29 15:56:45 +09:00
Lukasz Stanislawski d390ddf08d elm config: add key bindings for elm_actionslider
Allow changing value of actionslider with keyboard. Make actionslider
focusable widget.

@feature

Conflicts:
	config/default/base.src.in
	config/mobile/base.src.in
	config/standard/base.src.in
2014-11-29 15:34:08 +09:00
Daniel Juyung Seo 7f9c8f3d76 test_win_state: Add win lower and deiconify samples. 2014-11-28 23:08:36 +09:00
Jaehyun Cho f689b5e05f elm_transit: Apply evas_map_util_object_move_sync_set() to transit
Summary:
Apply evas_map_util_object_move_sync_set() to transit to keep map transformation after object move

please update efl library because evas_map_util_object_move_sync_set()'s been newly added.

Reviewers: Hermet, cedric

Differential Revision: https://phab.enlightenment.org/D1685
2014-11-28 13:36:20 +09:00
Daniel Juyung Seo 1144058032 test_3d: Set indicator format explictly.
Indicator text is not visible if one does not set the indicator format.
This fixes T1867.
2014-11-26 20:47:58 +09:00
Daniel Juyung Seo fafd60b842 config: Refactor scrolling configuration dialog.
- Group thumb scroll configurations with frame.
- Move thumb scroll acceleration config below thumb scroll config.
2014-11-26 09:50:43 +09:00
Daniel Juyung Seo 7af14b914a test_photocam: Enhance photocam test.
- Remove wrong global variable usage. This becomes problematic when
you run multiple photocam test instances.
- Fix formatting.
- Add more comments.
2014-11-26 09:40:38 +09:00
Daniel Juyung Seo 3feb282c86 test_photocam: Remove unnecessary data set. 2014-11-26 09:22:23 +09:00
Anand 1a7d1e5f97 config: Fixed null return.
Reviewers: cedric, singh.amitesh, seoz

Differential Revision: https://phab.enlightenment.org/D1663
2014-11-26 07:35:04 +09:00
Daniel Juyung Seo dae6d34f39 test_menu: Fix wrong parent set.
Set elementary widget as an elementary widget's parent on its
creation.
2014-11-25 22:17:46 +09:00
Daniel Juyung Seo 726c17b399 widget: Add error message when the parent parameter was set wrongly.
This helps application developers debug their apps easier.
2014-11-25 22:09:58 +09:00
Daniel Juyung Seo cead9c0ba2 index, list, menu: Optimize eo item usage.
Remove unnecessary pointer reference.
2014-11-25 21:55:39 +09:00
Daniel Juyung Seo e31df3372c gengrid, genlist: Optimize eo item usage.
Remove unnecessary pointer reference.
2014-11-25 21:55:14 +09:00
Daniel Juyung Seo 288189ede6 diskselector, flipselector: Optimize eo item usage.
Remove unnecessary pointer reference.
2014-11-25 21:54:54 +09:00
Daniel Juyung Seo fb4b67afb5 hoversel, popup, colorselector: Optimize eo item usage.
Remove unnecessary pointer reference.
2014-11-25 21:54:26 +09:00
Daniel Juyung Seo 9b9a0267b7 list: Optimize eo item usage.
Remove unnecessary pointer reference.
2014-11-24 17:40:28 +09:00
Daniel Juyung Seo d31b51eccc list: Fix wrong eo item porting.
Fix egitu crash issue :)
Special thanks to davemds for letting me know python gdb
usage.
2014-11-24 17:40:28 +09:00
ChunEon Park b91715ec3f didn't intend puhing this patch.
Revert "elm_notify: added the notify's edje of popup smart member"

This reverts commit cecbeb18ac29755f5163dc7860942c045f6ba3e4.
2014-11-24 16:59:27 +09:00
ChunEon Park 667111c1e5 test/evasmap3d: let better quality as default. 2014-11-24 16:50:31 +09:00
woochan lee 8458f6da2c elm_notify: added the notify's edje of popup smart member
Summary: after popup layout refactoring, the popup object cant get evas event.

Test Plan:
1. added popup object.
2. key down event callback add for popup object.
3. run the elementary_test.
4. input some key on popup and check whether the registered function is executed or not.

Reviewers: seoz, eunue, Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D1688
2014-11-24 16:50:31 +09:00
Daniel Juyung Seo 805590526e test_notify,popup: Add key event reacting examples.
There is a bug in notify. This test reveals the bugs :)
2014-11-24 15:29:41 +09:00
zmike 0c933506a8 widget tooltip creation should also pass the eo item to the callback
ref T1859
2014-11-23 11:30:30 -05:00
Daniel Juyung Seo add8ef22a6 test_slider: Fix wrong slider description. 2014-11-23 20:42:10 +09:00
Daniel Zaoui dfc3f7ac30 Genlist: Fix previous commit.
The items of an item is a list of Elm_Object_Item and not of Elm_Gen_Item.
Sorry @zmike ;-)

Fixes T1859

Another fix has been added in this commit, related to relative items.
2014-11-23 09:18:42 +02:00
Daniel Zaoui 0f28743080 Genlist: Fix API return value.
elm_genlist_item_subitems_get has to return a list of Elm_Object_Item.
Because of the porting of the genlist item to Eo, this function returns
a list of Elm_Gen_Item.

Thanks to zmike and seoz for catching this.

Fixes T1859
2014-11-22 09:40:37 +02:00
Vitalii Vorobiov ae38b2efa9 DBUS Menu: fixing SIGSEV and SIGBUS when trying to use dbus.
Summary:
Using of dbus menu causes a weird exception that looks
like this (for example in function elm_win_main_menu_get(Evas_Object *win)):
> EINA: Data at address 0x0 is invalid. Replacing with zero page.
> mmap: Operation not permitted
> ERR<22270>:eina_mmap lib/eina/eina_mmap.c:110 _eina_mmap_safe_sigbus()
> Failed to mmap() /dev/zero in place of page. SIGBUS!!!
> Aborted (core dumped)

This issue appears because there is a lot of places where Elm_Object_Item is
used, but it should be Elm_Menu_Item_Data.

This issue could be reproduced with elementary_test:
1. run elementary test with dbus enabled.
2. find "Systray Item" button and click on it.
3. get SIGSEV in your console.

@fix

Reviewers: cedric, raster, seoz, Hermet

Reviewed By: Hermet

Subscribers: reutskiy.v.v

Differential Revision: https://phab.enlightenment.org/D1681
2014-11-22 11:08:36 +09:00
Daniel Juyung Seo 78fea1b7f5 win: Fix and clean up doxygen documentation. 2014-11-22 00:38:45 +09:00
Daniel Juyung Seo b1808e5ad7 thumb, toolbar, web: Fix and clean up doxygen documentation. 2014-11-22 00:38:45 +09:00
Daniel Juyung Seo 92cc579a25 scroller, slider, slideshow: Fix and clean up doxygen documentation. 2014-11-22 00:38:44 +09:00
Daniel Juyung Seo a4f4fdc936 panel, prefs, progressbar: Fix and clean up doxygen documentation. 2014-11-22 00:38:44 +09:00
Daniel Juyung Seo 720855f2ad layout, list, map: Fix and clean up doxygen documentation. 2014-11-22 00:38:44 +09:00
Daniel Juyung Seo a19d5c2c21 icon, image, label: Fix and clean up doxygen documentation. 2014-11-22 00:38:44 +09:00
Daniel Juyung Seo ff6416e6c3 gesture_layer, glview, hover: Fix and clean up doxygen documentation. 2014-11-22 00:38:44 +09:00
Daniel Juyung Seo 2a39c2f53e colorselector, entry, flip: Fix and clean up doxygen documentation. 2014-11-22 00:38:44 +09:00
Daniel Juyung Seo 864e1263a8 clock, datetime, dayselector: Fix and clean up doxygen documentation. 2014-11-22 00:38:44 +09:00
Daniel Juyung Seo e23421f2e9 box, bubble, calendar: Fix and clean up doxygen documentation. 2014-11-22 00:38:44 +09:00
Daniel Juyung Seo 0b820975b6 actionslider, app, bg: Fix and clean up doxygen documentation. 2014-11-22 00:38:44 +09:00
Amitesh Singh 2b40551740 multibuttonentry: use !strcmp() instead for comparison.
Reviewers: seoz

Subscribers: seoz

Differential Revision: https://phab.enlightenment.org/D1680
2014-11-21 13:38:12 +09:00
Daniel Juyung Seo 188297c5af test_genlist: Add elm_genlist_item_subitems_get sample. 2014-11-21 12:21:45 +09:00
Hosang Kim 008f37e18e Scroller: Add step size set API
Summary:
Application do not change step size because only interface API is existed.

@feature

Test Plan: elementary_test -> scroller -> change step size

Reviewers: seoz, Hermet

Differential Revision: https://phab.enlightenment.org/D1677
2014-11-20 20:29:41 +09:00
ChunEon Park d2e026db57 transit: free the map resource.
@fix

Submitted-By-Off: Seung-Wan Woo <s-w.woo@samsung.com>
2014-11-20 09:16:55 +09:00
Daniel Juyung Seo 7fc83c54b5 genlist: Fix build warning for uninitialized variable.
elm_genlist.c:1916:15: warning: 'eo_it' may be used uninitialized in
this function [-Wuninitialized]
2014-11-19 19:53:40 +09:00
Daniel Juyung Seo 4406302421 elm: Modify document for APIs.
Retrieve -> Get as the API says.
This is not a critical change but was done due to the consistency.
2014-11-19 19:51:57 +09:00
Daniel Juyung Seo 202232523b segment_control: Fix shadow declaration build warning.
warning: declaration of 'select' shadows a global declaration [-Wshadow]
2014-11-14 15:30:08 +09:00
Daniel Juyung Seo e9fbc706ac bg: Flourish bg documentations and comments. 2014-11-14 15:27:54 +09:00
Daniel Juyung Seo fc41978cc2 panel, segment_control: Use ev->canvas instead of ev->output.
Even they are same it is recommended to use ev->canvas as it was
actually intended for that purpose.
2014-11-14 15:19:23 +09:00
Daniel Juyung Seo 757eea9588 elm: Remove unnecessary elm_shutdown() while using ELM_MAIN().
elm_shutdown() is automatically called when you use ELM_MAIN() since
elementary 1.12.
2014-11-14 14:17:54 +09:00
Daniel Juyung Seo 07bb653dd4 label: Add more comments for the unclear internal data. 2014-11-13 09:45:45 +09:00
Andrii Kroitor 81bd6ed6e1 elm_box: inappropriate size_hint_align value usage fix
Summary:
size_hint_align was used instead of evas_box's internal value for aligning
of internal items. Because of that layout functions of elm_box and evas_box
were incompatable
Fixed elm_box, els_box layout and widgets that used this behaviour.

@fix

Test Plan:
Run "elementary_test". All buttons should be left-aligned
"elm_box_align_set(tbx2, 0.0, 0.5);" (test.c:332)

Reviewers: cedric, Hermet, stefan_schmidt, seoz

Reviewed By: seoz

Subscribers: shilpasingh, reutskiy.v.v

Differential Revision: https://phab.enlightenment.org/D1512
2014-11-13 00:14:57 +09:00
Daniel Juyung Seo 2f20ed2fcc test: Use ELM_SCALE_SIZE instead of elm_config_scale_get().
Newly introduced macro ELM_SCALE_SIZE at 1.12 makes your app more
scalable.
2014-11-13 00:08:42 +09:00
Daniel Juyung Seo 49fae24f74 test_progressbar: Fix weight/align size hints.
Also put weight set first. It is easier to understand logically.
2014-11-13 00:00:19 +09:00
woochan lee aec1bec0b9 test_progressbar: stop btn callback fixed, unnecessary code deleted
Reviewers: Hermet, seoz

Reviewed By: seoz

Differential Revision: https://phab.enlightenment.org/D1664
2014-11-12 23:42:20 +09:00
Daniel Zaoui 7e396432ef Object Items: replace most of del_pre functions with destructor.
This change is not simple because Elementary has not been built from the
first day to work with Eo. Code had to be adapted to fit the new design.

The del_pre that have not been replaced yet can return FALSE and
prevent deletion. For these classes, code modification has to be deeper
and will be done later.
2014-11-12 12:03:58 +02:00
Daniel Zaoui 05225b162e Object Items: remove data variable from widget item.
Now, data is stored in Eo layer via eo_key_data_set/get.

Two macros have been added to facilitate access.
2014-11-12 12:03:58 +02:00
Daniel Zaoui 9d50d391a0 Object Items: Adapt del callback to Eo.
Because of widget item design, it is hard to make it fit to Eo as it
should be:
- _eo_del_cb should have the callback pointer as data but pre_notify
function forces its storage into the item data because we need to be
able to call the cb before del is really triggered.
- only one cb is supported for an item, meaning replacing it would mean
we have to save the function pointer inside the item, delete the
callback with the previous function as data and then add the new
callback. Instead of it, we just add our own wrapper as Eo callback that
will invoke the function pointer stored in the item data.
2014-11-12 12:03:58 +02:00
Daniel Zaoui ef03bc098e Object Items: remove legacy APIs.
They are now generated by Eolian.
2014-11-12 12:03:58 +02:00
Daniel Zaoui b01d01528a Object Items: remove casts that are no more needed.
It includes casts to Eo, Elm_Object_Item and to specific items data.
This belongs to the cleaning phase of the object items porting to Eo.
2014-11-12 12:03:57 +02:00
Daniel Zaoui 81becebfa6 Object Items: remove temporary files used for the porting to Eo. 2014-11-12 12:03:57 +02:00
Daniel Zaoui 4618dab968 Object Items: remove old inheritance mechanism. 2014-11-12 12:03:57 +02:00
Daniel Zaoui 5f62b784a3 Object Items: Elm_Object_Item becomes Eo 2014-11-12 12:03:57 +02:00
Daniel Zaoui 56bb6d71c2 Object Items: remove last invocations to elm_widget_item_ APIs 2014-11-12 12:03:56 +02:00
Daniel Zaoui f0ede508f8 Elm Popup Item: Migrate to Eo 2014-11-12 12:03:56 +02:00
Daniel Zaoui 99971686d3 Elm DiskSelector Item: Migrate to Eo 2014-11-12 12:03:56 +02:00