Commit Graph

10757 Commits

Author SHA1 Message Date
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
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
Daniel Zaoui d1db1d81dc Elm Toolbar Item: Migrate to Eo 2014-11-12 12:03:56 +02:00
Daniel Zaoui fffa035895 Elm List Item: Migrate to Eo 2014-11-12 12:03:56 +02:00
Daniel Zaoui ae4c43d2ee Elm Gengrid Item: Migrate to Eo 2014-11-12 12:03:56 +02:00
Daniel Zaoui ca286ea1cb Elm Genlist Item: Migrate to Eo 2014-11-12 12:03:56 +02:00
Daniel Zaoui 15b23e94f9 Elm Naviframe Item: Migrate to Eo 2014-11-12 12:03:55 +02:00
Daniel Zaoui aaf2ecf9e9 Elm Multibuttonentry Item: Migrate to Eo 2014-11-12 12:03:55 +02:00
Daniel Zaoui 3db20f53ea Elm Index item: Migrate to Eo 2014-11-12 12:03:55 +02:00
Daniel Zaoui 1db002db3a Elm Ctxpopup item: Migrate to Eo 2014-11-12 12:03:55 +02:00