Commit Graph

10746 Commits

Author SHA1 Message Date
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
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