Commit Graph

10898 Commits

Author SHA1 Message Date
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 972e25c676 datetime: Fix edc sizing issue by putting fixed: 1 1.
Datetime edc is wrongly designed. Setting heuristic min value for the part is bad :(
This is a hotfix for the following error message when there is a button
for AMPM.

group elm/datetime/base/default has a non-fixed part 'field3'. Adding
'fixed: 1 1;' to source EDC may help. Continuing discarding faulty part.

@fix
2014-12-05 02:26:23 +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
Stefan Schmidt d3fe5eaf1a README: Update version number to latest.
Spotted by Lionel Orry. Thanks!
2014-11-27 09:00:18 +01: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
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
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
ChunEon Park bdaf008d02 elementary_test/3d: improve sample.
since the previous cube hide the progressbar control,
user couldn't control it.

So make it cube transparency and pass events to progressbar.
2014-10-30 17:26:49 +09:00
ChunEon Park c38da29ec3 elementary_test/3d: remove dead code. 2014-10-30 17:22:43 +09:00
ChunEon Park 28bd64170e elementary_test: support --help command line. 2014-10-30 17:02:29 +09:00
Cedric BAIL 3eadbd522f quicklaunch: initialize edje earlier.
We do trigger an edje theme open during the first stage of quicklaunch as part of
config init apparently. So we better init or we will endup with some really bad
memory corruption.
2014-10-30 07:24:08 +01:00
Carsten Haitzler e73b596fc7 elm win - start wins in withdrawn state
this matches 5954289c6c commit on efl -
fixes initial window state so you can detetc when it is shown and
normal.

@fix
2014-10-29 19:35:47 +09:00
Thiep Ha ada2b6abec entry/test: make scrollable entries visible
Summary:
Two scrollable entries' size is too small to view.
This patch expands window size to have suitable size for entries.

@fix

Reviewers: Hermet, seoz, woohyun, tasn

Reviewed By: tasn

Differential Revision: https://phab.enlightenment.org/D1597
2014-10-29 08:37:38 +00:00
Ryuan Choi 4855fa3f71 fileselector: Do not call _populate directly in APIs
Summary:
User application may call some fileselector APIs to configure fileselector instance.
And some of them may call _populate but only last request is needed.
However, T1663 raises that last request might be rejected with expansion option and
multiple requests of _populate.
It's because expansion mode do not allow next _populate until previous one is finished.

So, this patch fixes it via scheduling _populate instead of calling _populate() directly in APIs.

@fix

Maniphest Tasks: T1663
2014-10-29 12:57:31 +09:00
Stefan Schmidt 5f0384d094 release: Update NEWS and bump version for 1.12.0-beta1 release 2014-10-27 13:01:08 +01:00
Stefan Schmidt 76cab0d22c release: Update NEWS and bump version for 1.12.0-alpha1 release 2014-10-21 17:07:08 +02:00
Adrien Nader d5952c875a doc: add API docs in elm_interface_scrollable.
This adds
- gravity_set
- gravity_get
- bounce_allow_set
- bounce_allow_get
- movement_block_set
- movement_block_get
- policy_get
- policy_set
- content_region_get
- content_region_set
- page_size_set
- page_size_get
- page_snap_allow_set
- page_snap_allow_get
- single_direction_get
- single_direction_set
- last_page_get
- current_page_get
- content_size_get

- scroll_up_cb
- hbar_drag_cb
- drag_start_cb
- scroll_left_cb
- vbar_press_cb
- hbar_press_cb
- hbar_unpress_cb
- drag_stop_cb
- page_change_cb
- animate_start_cb
- scroll_down_cb
- scroll_cb
- animate_stop_cb
- scroll_right_cb
- edge_left_cb
- vbar_drag_cb
- vbar_unpress_cb
- edge_bottom_cb
- edge_top_cb

- page_show
- region_bring_in
- page_bring_in
- content_region_show
- content_min_limit
2014-10-20 18:42:21 +02:00
Adrien Nader b5d0f91a9b doc: add API docs in button, container, image, store, general.
This adds API docs for:

- elm_button_admits_autorepeat_get

- elm_container_content_swallow_list_get
-               content_get
-               content_set
-               content_unset

- elm_image_resize_down_set
-           resize_down_get
-           resize_up_set
-           resize_up_get
-           scale_set
-           scale_get
-           fill_inside_set
-           fill_inside_get
-           sizing_eval

Light documentation for enum Elm_Object_Select_Mode, enum
Elm_Object_Multi_Select_Mode and Elm_Store_Item_Mapping_Type.
2014-10-20 18:42:21 +02:00
Adrien Nader bfd57b3d84 doc: fix mismatched variable names between prototypes and doxygen comments.
Several APIs are marked as not documented simply because the doxygen
documentation mentions a parameter named "foo" while the spelling in the
prototype is something like "fooh". An example correction is
  - * @param fsize Finger size
  + * @param sz Finger size

Nothing very complicated and there are also a couple typo fixes I noticed
while going over the files.
2014-10-20 18:42:21 +02:00
Tom Hacohen b12c544d21 Elm cnp: Fix infinite loop on drop target deletions in some cases.
In some cases, like having a drop target inside an inwin (looks like it
can be other containers too) can cause an infinite loop (as described in
the report). The reason for that is that while the drop target was added
when there was an X window available, the X window ws now gone, so the
non X path was being called which didn't have the code to remove the
item from the list being iterated. Yes, definition of spaghetti and
false assumptions.
Elm dnd/cnp need a massive overhaul, they are disgusting.

See the ticket for more information on the issue.

Fixes T1702
2014-10-20 17:24:07 +01:00
Jean-Philippe Andre 78f6a0048c GLView: Add legacy bindings for the new functions
rotation_get and evas_gl_get should have legacy bindings as well
2014-10-20 12:16:43 +09:00
Jean-Philippe Andre cdb6490b70 GLView: Add constructor for GLES 1.1 context glview
This also adds the legacy bindings

@feature
2014-10-20 12:16:43 +09:00
Jean-Philippe Andre 5b60f2f7ac GLView: cosmetic changes 2014-10-20 12:16:43 +09:00
Jean-Philippe Andre 37cb18740c GLView: Add support for client-side rotation
See recent changes in Evas GL for reference.

This also introduces the EO function rotation_get()

@feature
2014-10-20 12:16:43 +09:00
Jean-Philippe Andre d0241ad4c9 GLView: Add more configuration flags for the surface
This adds precise DEPTH, STENCIL and MSAA configurations.

@feature
2014-10-20 12:16:43 +09:00
Jean-Philippe Andre 5bcc39398f GLView: Clean up the native surface during deletion 2014-10-20 12:16:42 +09:00
Jean-Philippe Andre 706d2a28aa GLView: Add API to get the Evas_GL
Before screaming "don't expose this", here's the reasoning:
There will be a few new APIs in evas-gl (support pbuffer, ...)
that require a pointer to the Evas_GL to be called. So, instead
of exposing each and every one of these evas gl functions in
a dummy wrapper in elm_glview, we just give access to the real
pointer.
GLView will always be a wrapper around evas_gl, because that's
what it is by definition.
2014-10-20 12:16:41 +09:00
Amitesh Singh 797e75bb4f widget: fix seg fault when ts is NULL.
Summary:
if translatable is FALSE and _translate_string_data_get returns NULL, ts
would be NULL which results into crash.

@fix

Reviewers: seoz, raster, Hermet

Reviewed By: Hermet

Subscribers: seoz

Differential Revision: https://phab.enlightenment.org/D1543
2014-10-19 14:56:15 +09:00
Lukasz Stanislawski 2ca1f8a75a atspi: properly include at-spi headers.
Summary:
Change requested by TAsn. Previuosly AT-SPI headers were kept private
and included directly into elementary source code. From now on,
AT-SPI headers can be included from Elementary.h public header, however
will be marked as beta APIs.

Commit includes following changes:
* include all atspi headers into new elm_interfaces.h header.
* marking all at-spi interfaces methods/properties as @protected.
* wrap all common headers with EFL_BETA_API_SUPPORT.
* make some common APIs visible in lib, by adding EAPI attribute
  (if someone decides to use beta APIs).

Test Plan: out-off tree build with gcc, g++

Reviewers: tasn

Reviewed By: tasn

Subscribers: seoz, q66, kuuko

Maniphest Tasks: T1721

Differential Revision: https://phab.enlightenment.org/D1528
2014-10-17 16:57:26 +01:00
Jihoon Kim ada335eedf entry: Describe input panel numberonly variations 2014-10-17 21:45:02 +09:00
Jihoon Kim fc06420d21 entry: Add input panel normal and password variations 2014-10-17 21:44:11 +09:00
ChunEon Park 37c850bba7 mapbuf: updated doc.
it's been under stablization for a long time and only "movement" is proved in performance improvement.
2014-10-17 19:42:43 +09:00
o.shcherbina 92f5ba1bfb win: fix segfaults (wrong checking)
Summary:
There were wrong checkings in elm_win_size_base_get and
elm_win_size_step_get
@fix

Reviewers: seoz, Hermet

Differential Revision: https://phab.enlightenment.org/D1533
2014-10-14 01:07:36 +09:00
woochanlee 2f7460acfb bg: fix the _elm_bg_elm_layout_sizing_eval bug.
Summary:
Since the sd->image is swallowed to the edje object, it's position and size will be managed by edje smart object.
in the bg side, it doesn't need to care the position and size of the image.

@fix

Reviewers: Hermet

Differential Revision: https://phab.enlightenment.org/D1525
2014-10-11 00:19:27 +09:00