Commit Graph

10725 Commits

Author SHA1 Message Date
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
Daniel Zaoui 0308cb0993 Elm Menu Item: Migrate to Eo 2014-11-12 12:03:55 +02:00
Daniel Zaoui c12cdc1af5 Elm Flipselector Item: Migrate to Eo 2014-11-12 12:03:55 +02:00
Daniel Zaoui 574a41dc22 Elm Slideshow Item: Migrate to Eo 2014-11-12 12:03:55 +02:00
Daniel Zaoui a6d6a7beeb Elm Segment Control Item: Migrate to Eo 2014-11-12 12:03:55 +02:00
Daniel Zaoui 4f67061872 Elm Hoversel Item: Migrate to Eo 2014-11-12 12:03:54 +02:00
Daniel Zaoui 1a56647934 Elm Dayselector Item: Migrate to Eo 2014-11-12 12:03:54 +02:00
Daniel Zaoui e1d7009ff3 Elm Colorselector Item: Migrate to Eo 2014-11-12 11:56:02 +02:00
Daniel Zaoui a9b13f7633 Elm Widget Item: Migrate to Eo
Since we want to support legacy inheritance mechanism, code is not
finished and will have to be cleaned when all the items are ported.
2014-11-12 11:52:10 +02:00
Stefan Schmidt f23b105ef9 build: Remove bzip2 tarballs from distcheck
When adding xz as third compression format in May 2014 I mentioned that I'm
going to remove bzip2 in favor of xz in 1.12.
I heard no complains but I left it in for 1.12. With 1.13 starting its time
to remove it. From now on it will be only gz and xz compressed tarballs.
2014-11-11 10:51:04 +01:00
Mike Blumenkrantz bae7104b14 config font hinting api added
needed for e's internal use, not sure if worth exposing since there's an env variable

@feature
2014-11-10 16:02:28 -05:00
Stefan Schmidt 0cac1c97cb configure: Switch to dev mode again. Merge window for 1.13 is open now. 2014-11-10 14:01:38 +01:00
Stefan Schmidt a0847f1947 release: Update NEWS and bump version for 1.12.0 release 2014-11-10 12:36:11 +01:00
ChunEon Park 6ba886cb1c example/evasmap3d: change to simpler call. 2014-11-10 20:15:16 +09:00
Youngbok Shin 40bc9198aa label: Reset sd->lastw as '-1' in some elm_label APIs for ensure the sizing_eval.
Summary:
In some cases, elm_label doesn't calculate its min size if it is not resized from outside.
It is happened when only elm_label used with elm_label_line_wrap_set API.
The following APIs can change min size of the widget, so we can't skip the sizing_eval func.

elm_label_line_wrap_set
elm_label_line_width_set
elm_object_text_set -> _elm_label_elm_layout_text_set will be called.

@fix

Test Plan:
I put a change to test_notify.c for test.
elementary_test notify
-> click "top" button. -> You can't see elm_label without the patch.

Reviewers: woohyun, tasn, seoz

Reviewed By: seoz

Subscribers: herdsman

Differential Revision: https://phab.enlightenment.org/D1652
2014-11-10 14:06:32 +09:00
Daniel Juyung Seo 34375b9113 macro: Fix wrong macro braces.
This causes unwanted result. Fit it.
2014-11-10 14:05:58 +09:00
Daniel Juyung Seo eb80ceecba news: Clean up news file for the release.
- Realign the lines.
- Make the description consistent and more meaningful.
2014-11-09 18:46:46 +09:00
Daniel Juyung Seo 0645ba436d test_box: Add box align test sample.
This shows how elm_box_align_set() works.
2014-11-09 18:36:29 +09:00
shilpa.singh 9cb07eb5fa elm_box_align_set API fix
Summary:
Issue: elm_box_align_set APIs not working well
Solution: hint_set should not be called instead evas box align APIs
have to be used

@fix

Test Plan:
elementary test demo first page, though align is set as 0.0
0.5 it always shows as 0.5

Reviewers: Hermet, raster, seoz

Subscribers: rajeshps, govi

Differential Revision: https://phab.enlightenment.org/D1622
2014-11-09 18:02:37 +09:00
Daniel Juyung Seo d883aa2499 test_box: Remove unnecessary object resize.
- Do not resize window's resize object manually.
- Do not resize box's children objects manually.
2014-11-09 16:05:01 +09:00
Carsten Haitzler a76e34bcfd update po files 2014-11-07 14:19:38 +09:00
Daniel Juyung Seo 4b6aedce69 gitignore: Add more temp files. 2014-11-07 02:24:08 +09:00
Amitesh Singh 08237a1000 widget: fix the typo. Use win object instead.
Summary: @fix

Reviewers: seoz, raster

Subscribers: seoz

Differential Revision: https://phab.enlightenment.org/D1645
2014-11-07 02:23:30 +09:00
Daniel Juyung Seo 90f62df551 widget: Remove duplicated declarations and clean up them more. 2014-11-07 02:21:02 +09:00
Daniel Juyung Seo f9ec18f586 genlist: Remove unnecessary callbacks when item loop is disabled.
@fix
2014-11-07 02:20:21 +09:00
Tae-Hwan Kim 2afae8dff2 elm_general: Add '*' explicitly for function pointer parameter
Reviewers: raster, cedric, huchi, Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D1637
2014-11-05 15:01:15 +09:00
Stefan Schmidt 5baab8c4e3 release: Update NEWS and bump version for 1.12.0-beta2 release 2014-11-03 13:01:45 +01:00
Cedric BAIL 3a9dee52fa elementary: report time correctly when benchmarking time to first frame. 2014-11-03 06:38:48 +01:00
artem.popov 341160133b elm_widget: fix segfaults for _elm_widget_item_style_set/get
Summary:
Changing of styles for widget items isn't realized yet. This fix should
be presented to avoid segfaults when elm_object_item_style_set/get is calling
@fix

Reviewers: seoz, raster, cedric, Hermet

Reviewed By: Hermet

Subscribers: bluezery

Differential Revision: https://phab.enlightenment.org/D1595
2014-10-31 15:24:43 +09:00
ChunEon Park e253be4521 panel: add error messages for user information. 2014-10-31 15:19:35 +09:00
Kateryna Fesyna 69c9b0ecde Elm_Panel: forbid changing of content of "elm.swallow.event" part
Summary:
Because the "elm.swallow.event" part is used for internal needs of Panel widget
setting up or unsetting content of this part can break the behavior of this widget.
Due to the fact that this part is invisible and does not have any use cases for user
it seems acceptable to forbid changing of its content.

@fix

Reviewers: cedric, seoz, raster, Hermet

Reviewed By: Hermet

Subscribers: reutskiy.v.v

Differential Revision: https://phab.enlightenment.org/D1587
2014-10-31 15:16:14 +09:00
Daniel Juyung Seo b94db6c8f8 check: Fix wrong signal source names. 2014-10-30 21:06:37 +09:00
woochanlee dd354b8dc5 check: deleted typo.
Summary: deleted typo.

Reviewers: seoz, Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D1613
2014-10-30 19:39:19 +09:00