Commit Graph

54250 Commits

Author SHA1 Message Date
Daniel Hirt 6033323e5c Canvas text: fix default format feature
Now that we can set the default parameters, there's no need to push
another one when having a style tag.

This fixes T5585.
2017-06-19 10:15:05 +03:00
Woochan Lee d6140f3854 test_multibuttonentry: Fix name of smart event for expand state changed.
Summary: There is no name of event for "shrink,state,changed"

Reviewers: jpeg, cedric, woohyun

Subscribers: cedric, jpeg

Differential Revision: https://phab.enlightenment.org/D4969
2017-06-19 15:14:20 +09:00
Woochan Lee 3805544a32 multibuttonentry: Fix expand state changed callback called many times.
Summary:
The expand state changed callback has been called when layout property changed and other reason.
Even expand state is not changed.

So we need to check the current view state to call expand changed callback.
(We can't prevent calling the _shrink_mode_set() function. It needs to call the re-arrange internal items.)

Test Plan:
elemenatay_test - multibuttonentry.

Check the shrink, expand state.

Reviewers: jpeg, cedric, woohyun

Reviewed By: jpeg

Subscribers: cedric, jpeg

Differential Revision: https://phab.enlightenment.org/D4970
2017-06-19 15:14:20 +09:00
Bryce Harrington 08f04b1496 ecore_evas: Document remaining new/get calls for misc. backends
Summary:
This completes the documentation for Ecore_Evas for all (non-deprecated)
APIs.

Note that ecore_evas_software_16_ddraw_new, ecore_evas_direct3d_new,
ecore_evas_gl_glew_new, and ecore_evas_sdl16_new are left undocumented
because while they're not declared as deprecated their implementations
are either missing or marked as obsolete or legacy.  I suspect a few of
the remaining routines are likely also obsolete but I added
documentation anyway.

Reviewers: cedric

Subscribers: jpeg

Differential Revision: https://phab.enlightenment.org/D4972
2017-06-19 15:14:20 +09:00
Jeeyong Um 864e854fa9 example: Add missing definition to invoke EO API 2017-06-19 13:19:30 +09:00
Felipe Magno de Almeida c40ecb6282 eolian-cxx: Add constructor with default argument
Fixes compilation error in clang. T5588
2017-06-18 20:02:10 -03:00
Andy Williams 800ac197f8 elementary: fix typos and warnings in my menu changes 2017-06-18 16:17:09 +01:00
Lauro Moura 1634c14169 eolian: function pointers
First steps toward explicit function pointer support in eolian.

To declare a function pointer type, use the following syntax, similar to
a regular eolian method declaration.

function FunctionName {
  params {
    ...
  }
  return: Return type
}
2017-06-18 12:09:22 -03:00
Felipe Magno de Almeida 0fcee227aa eolian-cxx: Fix C++ generation errors with handle opaque types 2017-06-18 11:31:43 -03:00
Andy Williams 81d01cfbd0 elementary: Balance menu operations with an open method 2017-06-17 18:00:34 +01:00
Andy Williams 53065309b8 elm_code: Fix select-all column calculations 2017-06-17 17:59:40 +01:00
Sanjeev BA ed201d7f30 Add support for select all with ctrl-a
Summary: Signed-off-by: Sanjeev BA <iamsanjeev@gmail.com>

Test Plan: Test with edi.

Reviewers: ajwillia.ms, jpeg, cedric

Reviewed By: ajwillia.ms

Differential Revision: https://phab.enlightenment.org/D4971
2017-06-17 17:42:18 +01:00
Mike Blumenkrantz 4bf13c5c0c evas: add null checks for textblock stuff
this prevents a crash when starting verne but should be reverted when
a more appropriate fix can be put in place

ref T5585
2017-06-16 15:01:42 -04:00
Mike Blumenkrantz a4fcc0595e theme: set NOGRAB on all border event rects when e22 signal received
these are used in signal bindings and it's possible that a "resize" rect
could be set to trigger a move operation
2017-06-16 14:03:27 -04:00
Mike Blumenkrantz c408215a24 build: add flag to disable elua
build times are already insanely long, every little bit helps

@feature
2017-06-16 13:31:29 -04:00
Jean-Philippe Andre dc9ebdd706 evas: Always send mouse,move after mouse,in to objects
Fixes T5582
2017-06-16 12:49:33 -04:00
Mike Blumenkrantz a3d0af0069 ecore-drm2: add ecore_drm2_output_subpixel_get()
@feature
2017-06-16 12:23:08 -04:00
Mike Blumenkrantz ad0aae8f8d elput: remove keymap mmap+event
this was originally intended to allow some code to be moved out of the
compositor, but the idea turned out to be unfeasible since multiple
display backends need to be supported and not all related components
will provide similar functionality
2017-06-16 12:23:08 -04:00
Mike Blumenkrantz cad9d8fb55 evas: store current pointer state to dummy seat data if seat detaches
ensure the pointer state is maintained when devices are removed and added
2017-06-16 12:23:08 -04:00
Mike Blumenkrantz e3126bd23f evas: create dummy seat data for wl/drm outputs, store some pointer data
with async device init, it's possible for mouse in/out/move events to be added
by an application before the pointer devices are created. these are independent
of devices, so store the state and apply when pointer devices are added

fix T5531
2017-06-16 12:23:08 -04:00
Mike Blumenkrantz 7ca2da0f5d evas: change _evas_pointer_data_add() to return created pointer data 2017-06-16 12:23:08 -04:00
Mike Blumenkrantz 8dd12d2cfa evas: redo Evas_Pointer_Data/Seat to be inlist-based
simplify many internal lookups of pointer data and make hierarchy reflect
logical device hierarchy
2017-06-16 12:23:07 -04:00
Mike Blumenkrantz db06108f0d ecore-evas: block buffer canvas events during deletion
internal evas is destroyed before engine delete function is called,
so do not refeed events received during this time

@fix
2017-06-16 12:23:07 -04:00
Mike Blumenkrantz b6b0b1b5b2 efreet: don't raise ERR on empty file in efreet_xml_new()
this is not an error, there is nothing to parse

@fix
2017-06-16 12:23:07 -04:00
Mike Blumenkrantz abe4c8d772 evas: only feed canvas out/in when changing default pointer if pointer is in
ref 6775b23212
2017-06-16 12:23:07 -04:00
Mike Blumenkrantz 43b6c2eeb1 ecore-evas: use pointer device with mouse move events instead of seat 2017-06-16 12:23:07 -04:00
Mike Blumenkrantz 4921d26fc8 evas: add seat-based focus interceptor
@feature
2017-06-16 12:23:07 -04:00
Mike Blumenkrantz deb18460c4 evas: unify more complex conditional clauses in evas_events.c
no functional changes
2017-06-16 12:23:07 -04:00
Mike Blumenkrantz 6178b2a9d6 evas: unify complex repeated conditional clauses in evas_events.c
this code is unreadable

no functional changes
2017-06-16 12:23:07 -04:00
Carsten Haitzler 9ba57061ba readme - fix docs url. 2017-06-16 18:41:08 +09:00
Amitesh Singh 0851d568a1 Efl.Ui.Progressbar: rename data get macros. 2017-06-16 16:32:46 +09:00
Amitesh Singh 5df92c2a52 Efl.Ui.Check: rename data get macros 2017-06-16 16:32:37 +09:00
Amitesh Singh 0cc52f423b Efl.Ui.Slider: rename data get macros 2017-06-16 16:32:29 +09:00
Chris Michael 632d6018d5 Revert "ecore-wl2: Add API to support setting window stack mode"
This commit reverts support for added API functions inside Ecore_Wl2
to support setting window stacking mode as per IRC discussion with
Cedric

This reverts commit 1359fc9e5f.
2017-06-15 13:09:34 -04:00
Chris Michael 09375bf5b5 Revert "ecore-evas-wayland: Add support for setting window stack mode"
This commit reverts support for setting window stacking mode from
ecore_evas_wayland as per IRC dicussion with cedric

This reverts commit a3cf0d3a54.
2017-06-15 13:08:39 -04:00
Chris Michael a3cf0d3a54 ecore-evas-wayland: Add support for setting window stack mode
This patch adds support for updating ecore_wl2_window stack mode when
the ecore_evas_layer_set is called.

"#divergence"

@feature

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2017-06-15 11:39:27 -04:00
Chris Michael 1359fc9e5f ecore-wl2: Add API to support setting window stack mode
Small patch to add support for setting stack mode on a given window

"#divergence"

@feature

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2017-06-15 11:34:50 -04:00
Chris Michael e3abac30f1 ecore-wl2: Add API to get/set if a window is in floating mode
Small patch to add API functions which allow getting/setting if a
window is in floating mode

"#divergence"

@feature

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2017-06-15 11:07:48 -04:00
Chris Michael bdcf798dba ecore-wl2: Add API to set window role
Small patch to add support for setting a window role on a given window

"#divergence"

@feature

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2017-06-15 10:54:30 -04:00
Chris Michael 8b29ae7609 ecore-evas-wayland: Add support for focus_skip_set
This patch adds support for ecore_evas_focus_skip_set in the wayland
engine.

"#divergence"

@feature

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2017-06-15 10:42:28 -04:00
Chris Michael 689d77daf6 ecore-wl2: Add API to get if a window should ignore focus events
Small patch to add an API function which can be used to find out if a
given window is set to skip focus events.

"#divergence"

@feature

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2017-06-15 10:35:45 -04:00
Chris Michael 9b76c284c9 ecore-wl2: Add API to set if a window should skip focus
Small patch to add an API function which can be called to set if a
window should skip focus.

"#divergence"

@feature

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2017-06-15 10:32:25 -04:00
Jaehyun Cho 1ea5135673 elm_panes: Refactoring of focus_next
To handle ELM_FOCUS_UP/DOWN/RIGHT/LEFT in focus_next, refactoring is
done.
2017-06-15 21:51:35 +09:00
Jean-Philippe Andre 1af62db8f8 evas: Fix mouse events in inlined windows
There is a mismatch between seat & pointer.
See @zmike's comments in T5515. Having both seat and pointer
devices as different devices leads to these kinds of issues.
Really annoying.

Ref T5515
2017-06-15 20:30:25 +09:00
Jean-Philippe Andre a1141d8378 evas: Fix compilation with DDD_DO
This enables some insane debugging for input events inside evas.
Also, declutter the code by always providing the "spaces" variable.
Obviously this is not enabled :)
2017-06-15 20:28:24 +09:00
Jihoon Kim 0f74d5ed99 ecore_imf: fix wrong doxygen 2017-06-15 19:07:34 +09:00
Jean-Philippe Andre 2834aee39e evas: Fix crash when window can not be created
Example, without any running wayland compositor:
   ELM_DISPLAY=wl runsomeapp

elm_win runs efl_constructor() during finalize() which is wrong
and leads to this kind of inconsistencies. Urgh.
2017-06-15 17:54:45 +09:00
Jean-Philippe Andre a173efd0a9 cnp: Fix copy & paste in inwin inside wayland
Scenario:
  ELM_DISPLAY=wl elementary_test -to "Window Inline"

Copy & paste some stuff between entries inside the inwins and
also in a standard window.
2017-06-15 17:35:44 +09:00
Jean-Philippe Andre e4d47ed3a5 cnp: Avoid CRI message about wayland in X
Test scenario:
  elementary_test -to "Window Inline"
  Click on an entry, select some text (maybe with the keyboard)

There was a CRI message inside _ecore_evas_interface_get because
ecore_evas_wayland2_window_get() was called on an X11 ecore_evas
(not wayland).

The function was supposed to return NULL here.
2017-06-15 17:35:44 +09:00
Jean-Philippe Andre 6bfbeff47e widget: Move mirrored_automatic to Efl.Ui.Base
This is, unlike what some of the documentation says, a public
API on elm_object. Let's place it along mirrored for consistency,
even if edje object will not implement it.

Ref T5363
2017-06-15 17:35:44 +09:00