Commit Graph

10767 Commits

Author SHA1 Message Date
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
Brian 'morlenxus' Miculcy 0c3e37d53f theme/e/shelf: Add a translucent style.
This adds a translucent style for e shelf.
@feature
2014-11-20 16:45:05 +01: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
Igor Murzov 0d493615ab Update russian translation 2014-11-15 14:05:37 +03: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 3559ee2f44 bg.edc: Add bg widget style information. 2014-11-14 14:50:17 +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