Commit Graph

57703 Commits

Author SHA1 Message Date
Mike Blumenkrantz b851afcb13 elm_win: disable handling of auto_norender_withdrawn for fake wins
these wins are not to be trifled with.

fix T6377
2018-02-23 14:18:41 -05:00
Daniel Kolesa a11e70ab3c eolian: perform correct unit lookups in public API
This finally enables looking up things from the current unit
rather than from a backing storage in the Eolian state. This
also means that the benefits of having a unit system will
finally be visible.
2018-02-23 15:34:52 +01:00
Daniel Kolesa 39820fb5f5 eolian: simplify adding/refcounting objects 2018-02-23 15:25:55 +01:00
Daniel Kolesa 1a7dabeb74 eolian: proper in-unit storage for all declarations
This makes sure variables are stored as well as types within their
respective units. Also, declarations are now refcounted just like
any other Eolian object.
2018-02-23 15:25:55 +01:00
Carsten Haitzler 411e140eaf eina vpath - improve docs and add app.tmp and usr.tmp vpaths too
definitely kaes the docs better with lots of sample paths and some
indication of what these may map to in real life.
2018-02-23 16:26:30 +09:00
Lauro Moura bda5a0dd4a eina: Change assert_ptr_null to asset_ptr_eq(null)
Summary:
Again, ptr_null/nonnull were added in check 0.11, while we depend on
0.9.10.

Test Plan: Run make check

Reviewers: marcelhollerbach, cedric, felipealmeida

Reviewed By: felipealmeida

Differential Revision: https://phab.enlightenment.org/D5820
2018-02-22 20:42:21 -03:00
Lauro Moura 2fc4c91917 mono: Whitelist some interfaces and classes
Summary: Among them, IO interfaces are needed by the new efl.Task.

Test Plan: Run make check

Reviewers: felipealmeida

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D5821
2018-02-22 20:33:46 -03:00
Cedric Bail d57b9a7d14 eina: make eina_vpath_interface_app_set an internal function.
I am wondering if this one shouldn't even be a private one and
directly used by eina_prefix.
2018-02-22 15:26:28 -08:00
Cedric Bail b575c41676 eina: make eina_vpath_interface_user_set an internal API. 2018-02-22 14:57:36 -08:00
Cedric Bail 16f604f469 efl: fix warning due to vpath change. 2018-02-22 14:56:31 -08:00
Cedric Bail 288284585b edje: silence warning due to vpath change. 2018-02-22 14:55:55 -08:00
Cedric Bail a7c402b501 emotion: silence warning due to vpath change. 2018-02-22 14:55:31 -08:00
Mike Blumenkrantz 77b31ba023 evas event_grabber: fix child ordering when adding non-top children
another ref 0516cdc0f9

@fix
2018-02-22 15:42:40 -05:00
Mike Blumenkrantz cac28eeb7e efl-wl: send surface enter/leave based on compositor object visibility
this allows clients to conserve memory when the compositor is in a
hidden or obscured state

@feature
2018-02-22 13:00:04 -05:00
Mike Blumenkrantz 561bfbc55b evas: include legacy vg header instead of manually declaring typedef
fix T6720
2018-02-22 08:50:43 -05:00
Daniel Kolesa 26f0c56faf eolian: fix eina hash usage so it doesn't consume all your memory
This makes sure items are checked before being added, so that eina
hash doesn't get confused, add each item thousands of times and
run out of memory.
2018-02-22 11:19:23 +01:00
Daniel Kolesa 665b88204c eolian: store types/typedecls in units 2018-02-22 11:19:22 +01:00
Daniel Kolesa 7b5a73b967 eolian: add eolian_object_add wrapper 2018-02-22 11:19:22 +01:00
Marcel Hollerbach 8c7ba8c3a3 lets delete efl_vpath
Its not used anymore.

ref T5314
2018-02-22 09:35:02 +01:00
Marcel Hollerbach c4f33c67a8 move from efl.vpath to eina_vpath
The usages from efl.vpath are moved to to eina_vpath
2018-02-22 09:26:55 +01:00
Marcel Hollerbach 7165003bc6 introduce eina_vpath!
Its the successor of efl.vpath, the api is synchronous, and supports
addtional vpath paths, new apis cal always be added to use them.
2018-02-22 09:26:55 +01:00
Derek Foreman 0a66978041 ee_wayland: Fix ecore_wl2 refcounting breakage on some failures
If we have a blacklisted gl implementation then we'll create a canvas,
it'll fail to be useful, and we'll free it - which calls
ecore_wl2_shutdown(), but then we'll also call ecore_wl2_shutdown()
a second time further down the failure path.

Take a bonus reference before freeing the failed canvas to keep refcounts
sane.
2018-02-21 16:42:08 -06:00
Cedric Bail 635448a0a9 evas: readjust pushed engine geometry without the output offset. 2018-02-21 11:55:25 -08:00
Mike Blumenkrantz bbbdfbecc4 Efl.Gesture: rename to Efl.Canvas.Gesture
most C api remains unchanged

ref T6714
ref T6716
2018-02-21 14:43:37 -05:00
Mike Blumenkrantz a0a80fc74a Efl.Animator: rename to Efl.Canvas.Animator
most C api remains unchanged

ref T6714
ref T6716
2018-02-21 14:06:43 -05:00
Mike Blumenkrantz 7eb0375c0e efl_vg: namespace moves
efl.vg -> efl.canvas.vg.node
efl.vg.* -> efl.canvas.vg.*

ref T6714
2018-02-21 14:04:59 -05:00
Cedric Bail 4959286c29 evas: add output coordinate debug. 2018-02-21 09:39:04 -08:00
Daniel Kolesa 76b9f4c224 eolian: prepare for proper unit API by merging unit hashes
Eolian now properly merges all unit hashes (e.g. unit A has
children B and C, hashes of B and C are merged into A's hashes
in order to be able to look up B and C's contents via A) and
maintains a (potentially cyclic) children graph.

Not everything is yet added into all hashes, but at least the
building blocks are there.
2018-02-21 17:09:08 +01:00
Carsten Haitzler 885ea03230 ecore - osx - build where clearenv doesnt exist
osx was uncivilied .... it didn't have a nice clearenv. fixed that now
and do it the not so nice way and juat set environ to NULL
2018-02-22 00:15:57 +09:00
Carsten Haitzler d262ff447e ecore - fd handler - dont set legacy flag on null fdhandlers
now passes make check again.
2018-02-21 19:05:48 +09:00
Carsten Haitzler 8c62e2a817 ecore - fd handlers - only delete legacy eo objects in handlers
if its a non-legacy loop handler that also binds an fd handler
internally (the 2 things are linked as a pair) then on loop del, dont
del the objet as the obj del should handle things elsehwere.
2018-02-21 16:56:38 +09:00
Carsten Haitzler 47ff2d8126 ecore - start work on efl task/exe/thread
this is  astart of the work for having a common task class/interface
between loops, threads ane exe's so the i/o is all symmetric and works
the same way between all of them as well as similarly for launching
and knowing when the exit etc. etc.

this is not final and not perfect, but it's a start. comments of
course welcome
2018-02-21 16:56:38 +09:00
Carsten Haitzler d7a22256b6 ecore - loop handler - fix wakeup to reslect active flag mask
loop handlers only cared what callbacks were attached, and didnt also
account for the read/write/error mask flags too. fix that.

@fix
2018-02-21 16:56:38 +09:00
Carsten Haitzler 468b2b380c ecore - fix fd handlers to also set read/write/err flags on hup's
odd - i found ecore fd handlers basically ignored hangups from the
other end so we never knew if the other end went or not... crazy. now
we at least have all the read/write/error flags on and the next read
should fail indicating the broken pipe etc. ...

@fix
2018-02-21 16:56:38 +09:00
Mike Blumenkrantz 8555a22972 elm_list: revert some accidental changes
ref f8e93775c0

fix T6712
2018-02-20 10:56:14 -05:00
Marcel Hollerbach d9ae0657e8 efl_ui_focus_manager: do not call on a NULL object 2018-02-20 16:48:42 +01:00
Marcel Hollerbach ea6a4e1a60 efl_ui_focus_manager_calc: unset manager to make touching sure
when there is only one object in a manager, and this object has a
redirect manager, then right now nothing will happen and nothing will be
called on the redirect manager.

With this patch the redirect manager will be unset when the manager
cannot give a correct candidate.
2018-02-20 16:48:42 +01:00
Yeongjong Lee e031867354 efl_ui_focus_manager_calc: fallback to use root if the focus stack is empty
Summary: this patch fixes T6664

Test Plan:
1. elementary_test -to focus
2. click Disable button
3. check whether you can move focus using key event.

Reviewers: bu5hm4n

Reviewed By: bu5hm4n

Subscribers: cedric

Maniphest Tasks: T6664

Differential Revision: https://phab.enlightenment.org/D5813
2018-02-20 16:48:42 +01:00
YeongJong Lee f6777aa4ac efl_ui_focus_manager_calc: search redirect_entry if there is no candidate
Summary:
redirect is out of the focus stack. we need to find redirect_entry after last
node of redirect manager instead of focus stack.

Test Plan:
1. elementary_test -to focus
2. move focus using tab key
3. check that there is focus cycle

Reviewers: bu5hm4n

Reviewed By: bu5hm4n

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D5811
2018-02-20 16:48:42 +01:00
Chris Michael 124c7535bb ecore-drm2: Fix typo when comparing output relative mode
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2018-02-20 09:40:14 -05:00
Chris Michael f877f6c09f ecore-drm2: Account for output relative mode when getting cloned value
As an output may have it's relative mode set to clone from the E randr
dialog, we should account for that also when returning output cloned
mode.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2018-02-20 08:53:59 -05:00
Stefan Schmidt a2a29f6ec1 build: disable gz compression for release tarballs
We have been using gz as a fallback for a long time. By now every system
unpacking the efl tarballs should be capable of using xz. Having only
one file will not onyl save space but also ease the release handling.
2018-02-19 16:16:17 +01:00
Myoungwoon Roy, Kim 1308fe5338 ecore-evas: Replace ecore_wl_dpi_get with ecore_wl2_output_dpi_get
Summary: This patch replaces ecore_wl_dpi_get with ecore_wl2_output_dpi_get using Ecore_Wl2_Output

Test Plan: Execute test suite

Reviewers: cedric, raster, jpeg, stefan_schmidt, Jaehyun_Cho, devilhorns

Reviewed By: devilhorns

Differential Revision: https://phab.enlightenment.org/D5804
2018-02-19 06:40:03 -05:00
Marcel Hollerbach b0f989b699 elc_popup: revert changes that accidently sneaked in.
I must have done some ammend error ... sorry

thx daveMDS for spotting it!
2018-02-18 14:00:03 +01:00
Davide Andreoli 0af53f4bc6 Pyolian: improve a bit the namespace generation
I still think that namespaces should be directly exposed by eolian.
Currently pyolian provide a namespace implementation but it's
hard to get it right, and it should be really shared between
all eolian users.
2018-02-18 09:35:53 +01:00
Marcel Hollerbach bfbe038921 elm_web: this testcase now also works 2018-02-17 21:22:49 +01:00
Marcel Hollerbach 53a3d2403c elm_web: web should NEVER be NULL
if there is no real engine, then atleast none should be created.
2018-02-17 21:17:59 +01:00
Marcel Hollerbach 881fddc7a3 elm_config: save the backend string as stringshare
the string might be on the stack ...

The same as in the previous commit, that path was never really tested,
caused by the fact that the *none* engine was not even running
2018-02-17 21:17:59 +01:00
Marcel Hollerbach 8aa4df37c3 elm: fix test case for elm_web
This is a funny story:
elm_web loads modules for getting a actual elm.web object. However, when
elementary was merged into EFL someone (... :)) forgot to change the
path that is used to load intree modules, so elm.web.none was never
actaully tested ... :)

But thx to the wonderfull legacy patch its super simple to fix this :)
2018-02-17 21:17:59 +01:00
Marcel Hollerbach e360312678 edje: use new bs static lib 2018-02-17 21:17:58 +01:00