Commit Graph

12325 Commits

Author SHA1 Message Date
Chris Michael 94996d6952 elementary: Update ecore wayland window geometry
As Elementary handles the window border theme, we can more accurately
set ecore_wl2 window geometry from here. The window geometry is
defined as the "visible bounds" from the user's perspective, so the
values we set here should come from the theme.

@fix

ref T2919

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-07 15:34:19 -05:00
Yeshwanth Reddivari c5c228d5be Theme: label - Add fixed to silent warnings.
Summary:
Fix the edje calc error message.
ERR<41630>:edje lib/edje/edje_util.c:3465 _edje_object_size_min_restricted_calc()
file /usr/local/share/elementary/themes/default.edj, group
elm/label/base/slide_short has a non-fixed part 'elm.text'.
Adding 'fixed: 1 1;' to source EDC may help. Continuing discarding faulty part.

Test case:
elementary_test -to 'label slide' --> change sliding speed

Reviewers: cedric, singh.amitesh, herdsman, jpeg

Subscribers: mvsovani, alok25, sachin.dev

Differential Revision: https://phab.enlightenment.org/D3399
2015-12-07 18:25:15 +09:00
Mike Blumenkrantz 6081148d32 elm border: also change shadow program signal name... 2015-12-04 13:53:31 -05:00
Mike Blumenkrantz cd075d0d73 elm border: change shadow toggle program signal source e -> elm
@fix
2015-12-04 13:49:57 -05:00
Chris Michael 605823be21 elementary: Don't call ecore_wl2_shutdown unless we have a display
During _elm_config_sub_shutdown we were explicitly calling
ecore_wl2_shutdown. We should only be doing this if we are actually in
a wayland environment.

@fix

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
2015-12-04 10:48:45 -05:00
Vincent Torri 7728ab47c0 cursor: add cursor support on Windows.
@feature

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-12-03 11:44:16 -08:00
Vincent Torri 333ff6d481 win32: call ecore_win32 shutdown as part of the shutdown subsystem.
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-12-03 11:38:11 -08:00
Vincent Torri 8042bc82d3 cnp: add Copy & Paste support for Windows
It needs the clipboard management in Ecore_Win32

@feature

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-12-03 11:36:50 -08:00
Jean Guyomarc'h aa93516e5f elementary_test: fix memory leak
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-12-03 11:06:37 -08:00
Jean Guyomarc'h 469f90bc67 priv: centralized and safe inclusion of Ecore_Cocoa.h
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-12-03 11:06:16 -08:00
Jean Guyomarc'h 9c8dcc5b7d win: add Cocoa support for elm_win_window_id_get() API
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-12-03 11:05:58 -08:00
Jean Guyomarc'h 8c8e811b29 win: use EINA_UNUSED instead of void casting.
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-12-03 11:04:58 -08:00
Jean Guyomarc'h 1ef5874225 cnp: cocoa support for copy and paste (text only).
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-12-03 11:04:42 -08:00
Jean Guyomarc'h 20e7090f0f cursor: add support for Cocoa system cursors.
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-12-03 11:04:28 -08:00
Jean Guyomarc'h 073beec9ff config: add error messages when profile or config could not be saved.
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-12-03 11:04:10 -08:00
Nicolas Aguirre 7408bc7bfa cocoa: call ecore_cocoa_init as part of the init process.
This mimic what x and wayland do. This is need if you want
that ecore_event was inited early.

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-12-03 11:03:55 -08:00
Chris Michael bc6184479f elementary: Remove misuse of EINA_UNUSED
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 10:22:37 -05:00
Chris Michael 436e9e91f8 elementary: Port elementary config code to use Ecore_Wl2 library
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 10:22:37 -05:00
Chris Michael 7519a39736 elementary: Port elementary copy/paste code to use Ecore_Wl2 library
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 10:22:37 -05:00
Chris Michael 7e1ca56236 elementary: Port elementary window code to use Ecore_Wl2
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 10:22:37 -05:00
Chris Michael 67033e85ba elementary: Port elementary cursor code to use ecore_wl2 library
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 10:22:37 -05:00
Chris Michael b3af99a3ea elementary: Include header for Ecore_Wl2 and add external display
variable

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 10:22:37 -05:00
Chris Michael d33b27af9e elementary: Use ecore_wl2 library for elementary
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-03 10:22:37 -05:00
Daniel Hirt 929cb0ad45 Entry: add "selection,reset" state
This change will hide the cursor once there is an actual change, and
there is a difference between the selection cursors. If there is no
difference, then it is better to show the cursor again.
2015-12-03 10:10:47 +02:00
woochan lee 70a888cc03 spinner: prevent scrolling when longpress timer enabled.
Summary:
Spinner on scroller case.

Scroll should be freeze when spinner button in long press state.
If not, the scolling will be started after delete longpress timer.

Like a other widgets, scroll not allowing is correct action for this.

@fix

Reviewers: jaehwan, Hermet, eagleeye, cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-12-02 14:56:40 -08:00
Shilpa Singh e69eeef28c elm: set language to edje when elm_language_set is called.
Summary:
Application set language using elm_language_set and when elm_language_set is called
language should be set to edje as well

@fix

Test Plan:
Call elm_language_set and check language should be set to
edje as well.

Reviewers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-12-02 14:55:12 -08:00
Lukasz Stanislawski ea4f743551 menu: enhance accessibility support 2015-12-02 12:04:56 +01:00
Lukasz Stanislawski ce286ab6e1 box: skip box in accessibility tree by default 2015-12-02 11:56:45 +01:00
Lukasz Stanislawski d1baa35b1a atspi: always use widget's subobj as accessible children
Patch fixes issue when widgets could be orphaned in accessibility tree
due to overloaded accessible_children_get methods in widgets returning
Elm_Object_Items. Widgets like genlist, gengrid, list and toolbar returned
only items as its accessibility children so if some widget was attached
directly to those widgets (like ctxpopup/popup) it become orphaned
in accessibility tree.
2015-12-02 11:43:58 +01:00
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