Commit Graph

12308 Commits

Author SHA1 Message Date
Lukasz Stanislawski 0b1cfd791c bg: do not make background accessibility object. 2015-12-01 16:12:18 +01:00
Lukasz Stanislawski cf7323ef9a atspi: add type of accessibility object
Type API provides possibility to skip/ignore widgets in accessiblity
tree. It make sense to ignore object if it do not provide any valuable contextual
information for disabled users. Skipped objects are usually container objects
and are ommited in parent-child relationship.

@feature
2015-12-01 16:06:51 +01:00
Stefan Schmidt 8d92d32676 elm_font: correct argument order for calloc()
calloc() expects count first and the actual size to allocate as second
argument. Say Thank You to smatch for finding this issues for us.
2015-11-30 21:58:39 +01:00
Stefan Schmidt 337c51c946 test: correct argument order for calloc()
calloc() expects count first and the actual size to allocate as second
argument. Say Thank You to smatch for finding this issues for us.
2015-11-30 21:57:58 +01:00
Stefan Schmidt 3a4c2a9b45 test_gesture_layer: correct argument order for calloc()
calloc() expects count first and the actual size to allocate as second
argument. Say Thank You to smatch for finding this issues for us.
2015-11-30 16:24:58 +01:00
Stefan Schmidt d4e5c76b11 atspi: correct argument order for calloc()
calloc() expects count first and the actual size to allocate as second
argument. Say Thank You to smatch for finding this issues for us.
2015-11-30 16:24:58 +01:00
Stefan Schmidt e0148bb076 test_access: correct argument order for calloc()
calloc() expects count first and the actual size to allocate as second
argument. Say Thank You to smatch for finding this issues for us.
2015-11-30 16:24:58 +01:00
Chris Michael 5ee3227847 elementary: Fix test_colorclass function
The test_colorclass function (and prototype) were incorrect in that
they did not have the proper function parameters defined. This lead to
a warning when building elementary tests.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-11-30 09:54:03 -05:00
Daniel Hirt a77cee43d3 Entry: add markup cnp handlers
In Elm_Cnp, a markup data preparer was missing, which resulted
in _x11_notify_handler_targets not requesting
"application/x-elementary-markup" (requested "UTF8_STRING" instead) when
trying to paste markup text from one entry to another (or itself).

Also, there was a missing handling in the selection data callback for
ELM_SEL_FORMAT_MARKUP data format.

This fixes issues like not being able to paste "item" formats to the
entry widget.

@fix
2015-11-30 16:41:50 +02:00
Stefan Schmidt bc05cd81bd elm_widget: correct declaration of function with no parameters
We have to use void in a function declaration if we want no function
parameters. Using just empty parenthesis means the function takes an
unspecified number of parameters.

We had it correct for most declarations and this series fixes it for
the rest.

Thanks for the sparse semantic parser for pointing this out.
2015-11-26 17:51:50 +01:00
Stefan Schmidt b53aeeb3ee test: correct declaration of function with no parameters
We have to use void in a function declaration if we want no function
parameters. Using just empty parenthesis means the function takes an
unspecified number of parameters.

We had it correct for most declarations and this series fixes it for
the rest.

Thanks for the sparse semantic parser for pointing this out.
2015-11-26 17:51:50 +01:00
Stefan Schmidt 3698cd5375 elm_prefcs_cc: correct declaration of function with no parameters
We have to use void in a function declaration if we want no function
parameters. Using just empty parenthesis means the function takes an
unspecified number of parameters.

We had it correct for most declarations and this series fixes it for
the rest.

Thanks for the sparse semantic parser for pointing this out.
2015-11-26 17:51:50 +01:00
Lukasz Stanislawski da7bb272c5 atspi: remove useless "GetDefaultAttributeSet" method
This method exists in atspi spec, however is not implemented
in libatspi library. Drop it for now as it seems useless.
2015-11-26 09:07:09 +01:00
Mike Blumenkrantz c2f1673ac9 comp base: allow mouse events to propagate through comp base -> wallpaper
@fix
2015-11-25 12:36:03 -05:00
Lukasz Stanislawski 450d154fd0 atspi: fix default text attribute signature 2015-11-25 14:06:53 +01:00
Amitesh Singh 387206a151 notify: remove duplicate call of _sizing_eval.
we are already calling _sizing_eval() inside _calc().
2015-11-24 16:30:42 +05:30
Aditya Raj dc91c42346 Popup Example: Fix size calculation issue in popup
Summary:
The function evas_object_resize(win, 480, 800) was being called after evas_object_show(popup)
so size calculations of popup were going wrong(height was 0).
It should be called before creating popup as win is parent of popup,
This fix needs to be done only here as in other cases window is already present before creating popup
but here both are being created for exmaple purposes.

Signed-off-by: Aditya Raj <aditya1.raj@samsung.com>

Reviewers: singh.amitesh, raster

Subscribers: jpeg, tanwar.umesh07, sachin.dev

Differential Revision: https://phab.enlightenment.org/D3360
2015-11-24 13:27:53 +09:00
Mike Blumenkrantz 6325a30a3a table: implement Evas.Object_Smart.calculate
this allows tables to be manually calculated

ref T2836
2015-11-23 12:28:47 -05:00
Mike Blumenkrantz 49b286c473 ibar: stop mouse-in animation after current animation completes
previously, mousing out of an icon during the pulse animation would
instantly stop the animation. this looks strange and is quite noticeable
when mousing through a bar
2015-11-23 12:28:47 -05:00
indefini 64467c0c32 Entry focus region : if single line, show the whole object.
Summary:
If the entry is a single line, rather than return the cursor height,
it is better to return the height of the object.

Reviewers: herdsman, tasn

Differential Revision: https://phab.enlightenment.org/D3169
2015-11-23 16:44:57 +00:00
Jee-Yong Um a5908fc856 theme: add DBG() message when style is set to default (fallback)
Summary:
When _elm_theme_set() failed to set given style, it sets style
as "default".
However, setting style to "default" can be unintended behavior,
so developer should have the chance to get to know fallback.

Reviewers: cedric

Reviewed By: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-11-23 08:45:33 +01:00
woochan lee f21ebbcf04 datetime: fix field arrange code for dynamically field sequence change case.
Summary:
This is for support dynamically field sequence changing case

for example
User sets datetime format as "%d/%b/%y" first.
Then change the format dynamically in runtime to "%I:%M %p"

Previous format datetime items still there.
It breaks view(object dulicated on same geometry)

@fix

Test Plan:
Run datetime sample.
Add changed callback.
Change format in changed callback function.
Check the bug state.

Reviewers: jaehwan, id213sin, Hermet, cedric

Reviewed By: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-11-23 08:45:33 +01:00
woochan lee f0e3e97ff6 multibuttonentry: internal entry cnp mode set as "ELM_CNP_MODE_PLAINTEXT".
Summary:
To prevent pasted markup text in entry.
User want tags removed text when paste text into entry.

@fix

Reviewers: jaehwan, Hermet, cedric

Reviewed By: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-11-23 08:45:33 +01:00
woochan lee bccb4efe1c multibuttonentry: change default format count.
Summary:
There is no need ellipsis, space as well before "%d".
The "%d" will show the actual invisible item count.

@fix

Reviewers: jaehwan, Hermet, cedric

Reviewed By: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-11-23 08:45:33 +01:00
Lukasz Stanislawski 74626eafd2 atspi: typo fix 2015-11-21 16:19:53 +01:00
Lukasz Stanislawski 1f3aa9be36 atspi: support key modifers in bridge.
@feature
2015-11-21 14:01:54 +01:00
Lukasz Stanislawski ccc4cefdab atspi: move root object creation to atspi class. 2015-11-20 12:27:19 +01:00
Amitesh Singh fc6de45f4a notify: fix hide animation
This feature has been added long time ago but it never worked before.
I delayed the parent object hide call when hide signal is present
in theme.

Test:
1. elementary_test -to notify
2. Click Left and wait for timer to expire
3. Click Left and click "close" button on notify. Now hide animation
happens when notify hides.

@fix
2015-11-20 16:53:12 +05:30
Amitesh Singh 77cf67c283 notify: fix broken timeout feature in elm_notify
Add missing signal "elm,action,hide,finished" in notify theme
and hide the notify object when hide is finished.

fixes T2853
@fix
2015-11-20 14:27:45 +05:30
Lukasz Stanislawski 00cc3d22f3 atspi: unprotect subset of methods
Unprotect methods which are ment to be a part of public API.
This methods were initially unprotected, however it looks like
during eo refactoring @protect tags were added by mistake.

@fix
2015-11-18 16:36:28 +01:00
Youngbok Shin ebbc66a25c gengrid: Prevent duplicated selected function calls when item is unselected in the function.
Summary:
If item is unselected in a selected function,
selected function will be called once more from _elm_gengrid_elm_widget_on_focus.
It is happened when elm_gengrid object has no focus and one of item is selected by mouse up event.
To fix this issue, we need to set focus to item and keep the address of selected item before calling selected function.
@fix

Test Plan:
1. Install & Run efbb (Escape From Booty Bay: https://git.enlightenment.org/games/efbb.git/)
2. Select a level in the main menu. (It is using elm_gengrid).
3. See duplicated target images.

Reviewers: cedric, SanghyeonLee

Reviewed By: SanghyeonLee

Differential Revision: https://phab.enlightenment.org/D3323
2015-11-18 19:39:13 +09:00
Subodh Kumar 7f8973ede6 Elm entry: Keep cursor at inserted position after dnd.
Summary:
Keep cursor at inserted position after dnd.

For good user experience, after dnd users expect
the cursor should be at the last inserted position.

@feature

Test Plan: NA

Reviewers: thiepha, herdsman, cedric, tasn

Subscribers: shilpasingh

Differential Revision: https://phab.enlightenment.org/D3267
2015-11-18 11:57:49 +09:00
Mike Blumenkrantz 332f1cd626 win: only perform maximize frame state updating during ecore-evas callback
running this during csd button activation leads to state mismatches when
maximize is not triggered from the csd button

@fix
2015-11-17 18:20:04 -05:00
Daniel Zaoui fd3d6488f6 Clouseau: handle case when the library is not installed
Eina module errors are printed on the screen when the library is not
installed in the system and Clouseau debug is enabled.

The module pointer is not NULL checked, leading to an error message when trying
to load this NULL module.

@fix
2015-11-12 08:39:46 +02:00
Stefan Schmidt 3580978391 elm_prefs: mark some local symbols static and align thus with their declaration 2015-11-11 17:47:57 +01:00
Stefan Schmidt 0ea4c7b13c elm_prefs: remove some unused functions 2015-11-11 17:45:13 +01:00
Stefan Schmidt 160d740fc3 elm_transit: mark some local symbols static 2015-11-11 17:31:48 +01:00
Stefan Schmidt 6a7423b6ae elm_map: mark some local symbols static 2015-11-11 17:27:29 +01:00
Stefan Schmidt b8b2d6288b elm_main: mark some local symbols static 2015-11-11 17:23:59 +01:00
shashank.p 38191397a7 Genlist: Fixed a possible crash in filter iterator and a typo.
Summary:
1. If the sd->items list is empty any time and container_get is used on filter iterator, it will lead to crash. Solution is to not rely on sd->items and maintain a pointer to container when iterator is created.

2. There was a typo while filter feature was added earlier. Fixed it

@fix

Test Plan: NA

Reviewers: SanghyeonLee

Reviewed By: SanghyeonLee

Subscribers: rajeshps, shilpasingh

Differential Revision: https://phab.enlightenment.org/D3319
2015-11-11 15:30:58 +09:00
godly.talias 087529298b hoversel: add item disabling support.
Summary:
Hoversel items can be disabled using elm_object_item_disabled_set
@feature

Test Plan: elementary_test

Reviewers: prince.dubey, shilpasingh, raster, Hermet, conr2d, cedric

Subscribers: poornima.srinivasan, rajeshps

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-11-10 15:15:31 -08:00
Hosang Kim 100ca86669 slider: fix slider focus bug
Summary: when slider is focused and slider's indicator mode is not ELM_SLIDER_INDICATOR_VISIBLE_MODE_ON_FOCUS, slider's indicator popup blinked.

Test Plan: elementary_test -> slider -> focus out -> click slider again

Reviewers: seoz, cedric, raster, Hermet, woohyun, CHAN, id213sin

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-11-10 14:31:06 -08:00
woochan lee 78dc004d14 spinner: code clean up for readability.
Summary: Line change by meaningful paragraph.

Test Plan: N/A

Reviewers: Hermet, cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-11-09 16:29:07 -08:00
woochan lee ac4b0bc789 spinner: add entry filter for accepted only digits and "."
Summary:
When spinner activated with entry, user can input any characters in entry.
It degrades the usability.

Add filter for only can input numbers and "." for case of decimal point existing.

I will add entry filter for limit size as well after this commit.
This spinner features may help for app developer and users too.

@feature

Test Plan:
Run elementary_test
Test various spinner format for check this.

Reviewers: Hermet, cedric

Subscribers: id213sin, shilpasingh

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-11-09 16:28:22 -08:00
Jean Guyomarc'h cd6ddbdb3f segment_control: fix variable affectation
Summary:
When an Elm_Segment_Control object is created, the constructor calls
the smart_add() behind the scenes. It then calls _update_list() which
calls _position_items(), with the sd->obj unset (because it was set
after calling super constructors). This led to a CRI() (and therefore
to a backtrace) on the creation of each Elm_Segment_Control.

@fix

Test Plan: elementary_test

Reviewers: stefan_schmidt, cedric, raster

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-11-09 16:13:19 -08:00
Subodh Kumar d0497272d1 hoversel: refactor a bit to avoid code duplication.
Summary:
Avoid code duplication

Two dismissal signals at two different places
created some confusion and also code is duplicated.
Also removed some extra space.

Test Plan: NA

Reviewers: cedric

Differential Revision: https://phab.enlightenment.org/D3269
2015-11-09 16:06:26 -08:00
shashank.p 1e2b58a8c8 genlist: modified first/last/prev/next get API for filtered list.
Summary: elm_genlist_first_item_get(), elm_genlist_last_item_get(), elm_genlist_item_prev_get(), elm_genlist_item_next_get() should return the next filtered item if filter is applied on the genlist.

Test Plan: test_genlist.c => Genlist Filter demo updated

Reviewers: shilpasingh, cedric, SanghyeonLee

Subscribers: divyesh, rajeshps

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-11-09 16:03:08 -08:00
Shinwoo Kim 278ceaa12e conform: retry connect to indicator when confrom fails connect.
Summary:
An application starts before the indicator has. In this case,
the application should try to connect again with the indicator.

Test Plan:
1. Start an application without the indicator service.
2. Start the indicator service.

Reviewers: raster, Hermet, woohyun, jaehwan, cedric

Subscribers: seoz

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-11-09 16:00:19 -08:00
Shilpa Singh f1f1ed290c naviframe: subtitle,show signal not sent
Summary:
1. When subtitle is set using actual part name "elm.text.subtitle",
subtitle,show signal is not sent issue fix.
2. Remove unnecessary checks, maintain code readability.

@fix

Test Plan:
Set text using edc part name elm.text.subtitle

Reviewers: Hermet, cedric

Reviewed By: cedric

Subscribers: shashank0990

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-11-09 14:34:40 -08:00
woochan lee 41bfc98606 index: internal item's edje object handling logic changed to improve performance.
Summary:
The box_clear, box_fill internal functions called when almost every internal chage happend.
(resize, theme apply, item append, item delete etc...)
Then those APIs delete/create item's edje object for all of the items.

It's very not good action for performance.
So, i changed this just edje object box unpack/pack instead of delete/create.

@fix

Test Plan:
Working test on elementary_test
and Call all of the index APIs for check this change.

Reviewers: Hermet, cedric

Reviewed By: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-11-09 12:37:09 -08:00