Commit Graph

11668 Commits

Author SHA1 Message Date
Lukasz Stanislawski 7abf897ac0 atspi: more org.a11y.atspi.Window signals is broadcasted. 2015-05-11 15:48:49 +02:00
Vitor Sousa d9174d4bc0 elm_win: Move enums to elm_win.eo
Move enums from elm_win_common.h to elm_win.eo in order to make them
more accessible for bindings.

Moved the include for elm_win.eo.legacy.h to the top of elm_win_legacy.h
to allow the use of the generated types in the function declarations.
2015-05-07 16:00:03 -03:00
Vitor Sousa 06bfb7cb94 elm_win_standard: Add elm_win_standard class
This commit adds the Eolian class elm_win_standard.
It is basically a derivation from elm_win that creates a default background.

The intent is to replace the legacy functions elm_win_util_standard_add and
elm_win_util_dialog_add by functions accessible via Eo API functions such as
eo_add and eo_do.

To fully replace an elm_win_util_standard_add call, use:

  eo_add(ELM_WIN_STANDARD_CLASS, NULL,
         elm_obj_win_name_set("example"),
         elm_obj_win_type_set(ELM_WIN_BASIC),
         elm_obj_win_title_set("Example"));
2015-05-07 15:59:50 -03:00
Vitor Sousa 7d21b7beb1 elm_win: Replace elm_win_constructor by constructing properties
Removed the constructing method elm_obj_win_constructor.
Now "name" and "type" are properties that must be set at creation, like this:

  eo_add(ELM_WIN_CLASS, NULL,
         elm_obj_win_name_set("example"),
         elm_obj_win_type_set(ELM_WIN_BASIC));

Also, the "title" property can be set at creation now.
2015-05-07 13:55:27 -03:00
Daniel Kolesa fd06107d07 eolian: use the new property syntax 2015-05-07 17:32:53 +01:00
Jee-Yong Um 198f086feb elm_genlist: Emitting signal when content or text is set in genlist item
Summary:
There could be a demand for providing subtle different item styles
according to the existence of icon or text swallowed in genlist item.
For example, if icon exists, genlist item shows icon, or show rectangle
where icon should be placed.
One style can have various form with this signal.

Reviewers: Hermet

Subscribers: Hermet

Differential Revision: https://phab.enlightenment.org/D2348
2015-05-07 17:18:45 +09:00
maxerba 44f53930ee Updating spanish translation 2015-05-06 19:03:29 +02:00
Vitor Sousa a4e9658e70 elm_photocam: use Efl.File in Elm_Photocam
Summary:
Address the issue:
- Elm photocam and the file interface clash on file_set.
Specified in the page:

https://phab.enlightenment.org/w/efl_interfaces/

Reviewers: felipealmeida, tasn

Differential Revision: https://phab.enlightenment.org/D2351
2015-05-06 15:46:46 +01:00
Tom Hacohen 9639418c59 Win: Make animator,tick signal actually work.
This commit also updated one of the elementary test to show
the new one of doing it.

This lets users of the API just add a callback and automatically
get animation ticks. It's done per window, because update rate
may be different for different windows (think different screens).
2015-05-06 15:46:46 +01:00
Vitor Sousa 7b74f29445 Revised classes and interfaces in .eo files and added missing attributes
Summary:
Some newly implemented attributes are not present in several classes and
interfaces.

This patch:
- Adds some attributes (like @nullable, @optional, own, free) to several .eo files.
- Changes some eina types names to the equivalent eolian name (like "Eina_Bool" to "bool")
- Adds the element type of lists and iterators.

Reviewers: felipealmeida, tasn

Reviewed By: tasn

Differential Revision: https://phab.enlightenment.org/D2350
2015-05-06 15:46:46 +01:00
Tom Hacohen efc0d3ef35 Elm image: Use correct Eolian namespace syntax. 2015-05-06 15:46:46 +01:00
Tom Hacohen 8bbdeb3d93 Elm button: Use correct Eolian namespace syntax. 2015-05-06 15:46:45 +01:00
Tom Hacohen f627a65ea9 Most of elm: Use correct Eolian namespace syntax. 2015-05-06 15:46:45 +01:00
Tom Hacohen 63d1667b81 Elm bubble: Use correct Eolian namespace syntax. 2015-05-06 15:46:45 +01:00
Tom Hacohen c5ba34add2 Elm bg: Use correct Eolian namespace syntax. 2015-05-06 15:46:45 +01:00
Tom Hacohen 0316c2630f Elm box: Use correct Eolian namespace syntax. 2015-05-06 15:46:45 +01:00
Tom Hacohen f6cf792356 Elm container: Use correct Eolian namespace syntax. 2015-05-06 15:46:45 +01:00
Tom Hacohen 5fc6407cd1 Elm layout: Use correct Eolian namespace syntax. 2015-05-06 15:46:45 +01:00
Tom Hacohen 96a0528978 Elm actionslider: Use correct Eolian namespace syntax. 2015-05-06 15:46:45 +01:00
Tom Hacohen 97adfcc706 Elm access: Use correct Eolian namespace syntax. 2015-05-06 15:46:45 +01:00
Tom Hacohen 0b6bacd035 Elm widget+item: Use correct Eolian namespace syntax. 2015-05-06 15:46:45 +01:00
Chris Michael a224a5ac20 elementary: Remove unused variable
@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-05-06 10:40:33 -04:00
Stefan Schmidt f57ab7ef74 Revert "fileselector: Work around initial genlist size bug for release."
This reverts commit 64a4cf4c6847936f5074ad94bf9a8f2283609c3b.

Was only a workaround for the release. Needs proper fixing in the 1.15 cycle now.
2015-05-06 16:14:28 +02:00
Stefan Schmidt aa1f0566ed configure: Switch to dev mode again. Merge window for 1.15 is open now. 2015-05-06 16:00:13 +02:00
Stefan Schmidt 14bd99bd40 release: Update NEWS and bump version for 1.14.0 release 2015-05-06 15:30:02 +02:00
Stefan Schmidt deee7a231a fileselector: Work around initial genlist size bug for release.
Jupp, its a dirty hack but it helps to work around the problem for now and
get the release out. I will revert it in master after the release and we
keep the bug open until this is fixed and hopefully backported.

ref T2367
2015-05-06 14:34:32 +02:00
Cedric BAIL 35723cd7d4 naviframe: fix poping top item continuously to empty the naviframe stack.
This should be a proper fix for T1717. Idea is that we build a list of operation
that needs to be deferred in order (including pop and push) so that we are sure
we can pop and push in any order without the need to wait for any event.
2015-05-06 14:25:15 +02:00
Cedric BAIL 51386942a0 naviframe: add a test for checking expected behavior or item_pop. 2015-05-05 18:13:12 +02:00
Lukasz Stanislawski f299be8712 gengrid: fix mem leak occuring when getting name from atspi interface 2015-05-04 11:46:05 +02:00
Davide Andreoli b25a0a3ea3 Fix slideshow smart events event_info
Changed all the callback_call to pass the correct Elm_Object_Item
(Eo) pointer, was passing Elm_Slideshow_Item_Data instead.

@fix

Also updated the test
2015-05-04 02:16:33 +02:00
Sung-Taek Hong 058fbcca59 map: fix scale calculation error
Summary:
As the map shows the nearer to the equator,
the scale of the map should be smaller.

In elm_map, the opposite happens because
meters per pixel was miscalculated.
Thus, calculation is corrected
http://wiki.openstreetmap.org/wiki/Slippy_map_tilenames#Resolution_and_Scale
@fix

Reviewers: seoz, woohyun, Hermet

Differential Revision: https://phab.enlightenment.org/D2426
2015-05-01 14:34:11 +09:00
Umesh Tanwar fb54e83a55 Genlist: rectification in _item_focused_next()
Summary:
If current item is disabled, next item should be
taken.

Signed-off-by: Umesh Tanwar <umesh.tanwar@samsung.com>

@fix

Reviewers: raster, Hermet

Subscribers: singh.amitesh, sachin.dev

Differential Revision: https://phab.enlightenment.org/D2458
2015-05-01 14:33:18 +09:00
Amitesh Singh f2be5189c9 entry: Fix memory leak.
Summary:
This fixes memory leak in case of txt is NULL

@Fix

Signed-off-by: Amitesh Singh <amitesh.sh@samsung.com>

Reviewers: seoz, raster, Hermet

Subscribers: seoz, sachin.dev

Differential Revision: https://phab.enlightenment.org/D2459
2015-05-01 14:32:34 +09:00
Umesh Tanwar 3253568481 Genlist: fix multiselect for ELM_OBJECT_SELECT_MODE_DISPLAY_ONLY select_mode
Summary:
fix the _item_multi_select_down() function for
ELM_OBJECT_SELECT_MODE_DISPLAY_ONLY select_mode.
_item_multi_select_up is right, but _item_multi_select_down is wrong.
So fixed this.

Signed-off-by: Umesh Tanwar <umesh.tanwar@samsung.com>

@fix

Reviewers: Hermet, raster

Reviewed By: raster

Subscribers: sachin.dev, singh.amitesh

Differential Revision: https://phab.enlightenment.org/D2452
2015-05-01 12:05:07 +09:00
Cedric BAIL 3ffb541827 win: remove dead code.
pointer.ee was never set. This lead to some useless ERR discovered by klasyc, thanks.
2015-04-29 10:30:18 +02:00
Amitesh Singh 9399c492b2 slider: remove duplicated lines in slider test.
Reviewers: seoz, raster, Hermet

Reviewed By: Hermet

Subscribers: cedric, seoz

Differential Revision: https://phab.enlightenment.org/D2389

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-04-28 14:11:55 +02:00
kabeer khan 5d0614ba61 photocam: update photocam example to demonstrate photocam orientation.
Summary: Signed-off-by: kabeer khan <kabeer.khan@samsung.com>

Reviewers: cedric, raster

Differential Revision: https://phab.enlightenment.org/D2421

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-04-28 14:11:55 +02:00
kabeer khan 06e02ad88d Revert "elm_photocam: Limiting image reload in zoom in/out"
Summary:
After discussion with DaveMDS, D2402 is a wrong fix and must be reverted.
This reverts commit a7978f931a4b67820b6b65758ce6f362c1ebec70.

Reviewers: cedric, DaveMDS

Subscribers: jpeg

Differential Revision: https://phab.enlightenment.org/D2437

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-04-28 14:11:55 +02:00
Stefan Schmidt 19a47f81cd release: Update NEWS and bump version for 1.14.0-beta3 release 2015-04-27 14:49:00 +02:00
Hosang Kim 900aebec53 Fix scrollbar position issue when content is resized.
Summary:
When content is resized, scrollbar's position is not updated.
Add bar position update after bar size is changed.

Test Plan: elementary_test -> scroller3

Reviewers: seoz, jaehwan, woohyun, cedric, raster, kimcinoo, Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D2419
2015-04-27 13:55:10 +09:00
Andrii Kroitor 39ed1a812b elm_toolbar: fix memory leaks
Summary:
incorrect evas_object_box_children_get usage: returned list must be freed

@fix

Reviewers: cedric, seoz, raster, reutskiy.v.v, Hermet

Differential Revision: https://phab.enlightenment.org/D2412
2015-04-27 10:53:28 +09:00
Vitalii Vorobiov 1cdbbcde90 elm_multibuttonentry: fix label position and size defects
Summary:
1.) Fixing defective label position.
Whenever user create multibuttonentry and set some text into label,
label will be shown at zero point (0,0) of MultiButtonEntry parent.
But then, after clicking on any button of MBE object, label position forced to
be recalculated and changes it's position.

2.) Fixing wrong size when label is not used.
When label is not being used, buttons shift by few pixels,
and it looks like if label is actually there, which is wrong.

@fix

Reviewers: cedric, seoz, raster, reutskiy.v.v, Hermet

Reviewed By: Hermet

Subscribers: NikaWhite

Differential Revision: https://phab.enlightenment.org/D2416
2015-04-27 10:47:22 +09:00
Cedric BAIL adcfd71d70 theme: fix typo, thanks arrowdodger. 2015-04-25 20:08:39 +02:00
Woochan Lee 4c9e2fa452 spinner: Fix entry not inactive even gets an enter key cb.
Summary:
 The entry inactive signal emitted when finish spinner value set.
but the active signal emitted after that. so it makes weird view state.

 The function 'key_action_toggle()' called twice. (for entry, spinner)
event propagate called this func twice and its make this issue.

This patch makes to ignore toggle event when entry is not visible.
T2262

Test Plan:
Run elementary_test, execute spinner widget sample.

Click the first spinner.
Input something on entry.
Press enter key.
Check the issue.

Reviewers: raster, Hermet

Subscribers: kuuko

Differential Revision: https://phab.enlightenment.org/D2411
2015-04-24 16:27:15 +09:00
Woochan Lee 5b91ca2a3d test_naviframe_complex.c: naviframe prev button auto pushed set as false.
Summary:
There is a invisible prev button. but it can get a focus and delete the current naviframe item.
Its not intend to added here i think, so i add a function that not add prev button automatically.

Test Plan:
Run elementary_test -> Naviframe Complex
Move focus use arrow key button and input enter key on prev button.
Click the View list, check the ERR msgs.

Reviewers: Jaehyun, Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D2420
2015-04-24 16:22:07 +09:00
Vitalii Vorobiov 4e1e187fdb elm_multibuttonentry: change theme_set API to provide full widget theming
Summary:
While setting theme currently changes style and theme to all button and
whole multibuttonentry object, it doesn't change few other parts of this object.
Part are, for examples, "guidetext", "label" and "closedbutton".

Fixing this sad mistake leads to be able to create different styles for such
wonderful widget.

@fix

Reviewers: cedric, seoz, raster, reutskiy.v.v, Hermet

Reviewed By: Hermet

Subscribers: NikaWhite

Differential Revision: https://phab.enlightenment.org/D2407
2015-04-23 11:05:31 +09:00
Stefan Schmidt 146a7b63e2 tests/elm_test_image: Give a proper path to test images
../../ does not always work. VPATH builds like distcheck have a different
dir layout.

ref T2028
2015-04-22 17:24:42 +02:00
Tom Hacohen a6e84dac81 Test gengrid: use the gengrid enum, and not the genlist one.
They are probably in sync, but this is just wrong.
Especially if people copy/paste this.
2015-04-22 13:33:40 +01:00
Tom Hacohen 01dd3cc845 Spinner: use fabs for floating point absolute value. 2015-04-22 13:31:21 +01:00
Tom Hacohen aefb1eef81 Gesture layer: fabs->abs for int parameters.
Clear more correct clang warnings.
2015-04-22 13:31:17 +01:00