platform/upstream/enlightenment.git
9 years agofix crash when using e_comp_object_util_center_pos_get() with non comp_objects
Mike Blumenkrantz [Fri, 6 Mar 2015 22:59:43 +0000 (17:59 -0500)]
fix crash when using e_comp_object_util_center_pos_get() with non comp_objects

9 years agofix horizontal/vertical smart maximize
Mike Blumenkrantz [Fri, 6 Mar 2015 22:16:24 +0000 (17:16 -0500)]
fix horizontal/vertical smart maximize

fix T2170

9 years agouse current zone for shelf cfd setup
Mike Blumenkrantz [Fri, 6 Mar 2015 22:06:43 +0000 (17:06 -0500)]
use current zone for shelf cfd setup

fix T2168

9 years agoRevert "disable fileman popups in wl-only mode"
Mike Blumenkrantz [Fri, 6 Mar 2015 21:05:27 +0000 (16:05 -0500)]
Revert "disable fileman popups in wl-only mode"

This reverts commit e6c47e8d90e75182cffd1d8cbdbb9e3821a4dbf1.

these no longer crash so reenable them

9 years agoremove unnecessary wl client pixmap checks
Mike Blumenkrantz [Fri, 6 Mar 2015 21:02:49 +0000 (16:02 -0500)]
remove unnecessary wl client pixmap checks

these are direct object callbacks so they will only be triggered on wl clients

9 years agouse stderr messages when failing to init X compositor
Mike Blumenkrantz [Fri, 6 Mar 2015 20:00:52 +0000 (15:00 -0500)]
use stderr messages when failing to init X compositor

can't show error dialogs when we're about to exit, may as well print something useful

fix T2182

9 years agoexit immediately if any unrecognized arg is passed on startup
Mike Blumenkrantz [Fri, 6 Mar 2015 19:57:58 +0000 (14:57 -0500)]
exit immediately if any unrecognized arg is passed on startup

ref T2182

9 years agodisable wl clients in X
Mike Blumenkrantz [Fri, 6 Mar 2015 19:52:12 +0000 (14:52 -0500)]
disable wl clients in X

this is untested and undeveloped, no point in leaving it around to crash randomly

9 years agoFix stuck modifiers on client exit
Derek Foreman [Fri, 6 Mar 2015 18:08:24 +0000 (13:08 -0500)]
Fix stuck modifiers on client exit

Summary:
We still need to remove the active keys when focus_out happens, even
if the pixmap is already gone.  If we don't and a modifier was held
down during exit then the xkb state will have that modifier stuck
forever.

Reviewers: zmike, devilhorns

Subscribers: cedric

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

9 years agodon't require client mirror object existence to hide dead comp object mirrors
Mike Blumenkrantz [Thu, 5 Mar 2015 19:57:49 +0000 (14:57 -0500)]
don't require client mirror object existence to hide dead comp object mirrors

9 years agoonly hide comp object images for dead clients on smart hide
Mike Blumenkrantz [Thu, 5 Mar 2015 17:44:27 +0000 (12:44 -0500)]
only hide comp object images for dead clients on smart hide

9 years agoflag non-internal wl shm clients as dead and delete mirrors on hide
Mike Blumenkrantz [Thu, 5 Mar 2015 17:18:27 +0000 (12:18 -0500)]
flag non-internal wl shm clients as dead and delete mirrors on hide

no more crashing?

9 years agotrivial move comp object function
Mike Blumenkrantz [Thu, 5 Mar 2015 17:18:06 +0000 (12:18 -0500)]
trivial move comp object function

9 years agoadd E_Client->dead to mark clients that should immediately be removed from the compositor
Mike Blumenkrantz [Thu, 5 Mar 2015 17:16:53 +0000 (12:16 -0500)]
add E_Client->dead to mark clients that should immediately be removed from the compositor

theme_shadow was unused

9 years agoforce non-internal wl clients to hide when gl is not available
Mike Blumenkrantz [Thu, 5 Mar 2015 16:59:29 +0000 (11:59 -0500)]
force non-internal wl clients to hide when gl is not available

9 years agohide comp object image on smart hide
Mike Blumenkrantz [Thu, 5 Mar 2015 16:56:26 +0000 (11:56 -0500)]
hide comp object image on smart hide

ensure that this is not being rendered anywhere at the time of hide

9 years agoRevert "when we get a request to close client app, defer resource deletion"
Mike Blumenkrantz [Thu, 5 Mar 2015 16:41:43 +0000 (11:41 -0500)]
Revert "when we get a request to close client app, defer resource deletion"

This reverts commit 1cf7c1f1511c446413fdc6fae35d17870bdd1c4e.

didn't fix the issue and obfuscated the code unnecessarily

9 years agore-setting same cursor object updates hotspot as expected
Mike Blumenkrantz [Thu, 5 Mar 2015 16:27:23 +0000 (11:27 -0500)]
re-setting same cursor object updates hotspot as expected

9 years agonever resize client clip object
Mike Blumenkrantz [Wed, 4 Mar 2015 22:07:39 +0000 (17:07 -0500)]
never resize client clip object

9 years agoset ec->fullscreen before applying fullscreen geometry
Mike Blumenkrantz [Wed, 4 Mar 2015 20:52:16 +0000 (15:52 -0500)]
set ec->fullscreen before applying fullscreen geometry

9 years agoreapply wl surface focus during commit when necessary
Mike Blumenkrantz [Wed, 4 Mar 2015 20:36:23 +0000 (15:36 -0500)]
reapply wl surface focus during commit when necessary

9 years agograb wl shell surface geom and use for adjusting resize operations upstream/0.19.99
Mike Blumenkrantz [Tue, 3 Mar 2015 21:48:25 +0000 (16:48 -0500)]
grab wl shell surface geom and use for adjusting resize operations

I think this still may not be 100% perfect,
but it's more like 95% perfect now instead of 50%

9 years agoenlightenment: Implement support for wl_data_device_interface "release" event
Chris Michael [Tue, 3 Mar 2015 16:59:52 +0000 (11:59 -0500)]
enlightenment: Implement support for wl_data_device_interface "release" event

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoenlightenment: Bump required Wayland version to 1.7.0
Chris Michael [Tue, 3 Mar 2015 16:59:02 +0000 (11:59 -0500)]
enlightenment: Bump required Wayland version to 1.7.0

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agodon't install SIGBUS handler if we are running wayland-only
Chris Michael [Tue, 3 Mar 2015 14:54:23 +0000 (09:54 -0500)]
don't install SIGBUS handler if we are running wayland-only

Wayland shm sets up a sigbus handler for catching invalid shm region
access. If we setup our sigbus handler here, then the wl-shm sigbus
handler will not function properly

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agowhen we get a request to close client app, defer resource deletion
Chris Michael [Mon, 2 Mar 2015 20:41:46 +0000 (15:41 -0500)]
when we get a request to close client app, defer resource deletion
until After close animation has been run

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoremove ec->awaiting_hide_event
Mike Blumenkrantz [Mon, 2 Mar 2015 19:27:29 +0000 (14:27 -0500)]
remove ec->awaiting_hide_event

no longer used

9 years agoimprove wl grab resize calcs
Mike Blumenkrantz [Sat, 28 Feb 2015 21:48:07 +0000 (16:48 -0500)]
improve wl grab resize calcs

9 years agoupdate+clamp wl surface client size to buffer size during commit
Mike Blumenkrantz [Sat, 28 Feb 2015 20:46:16 +0000 (15:46 -0500)]
update+clamp wl surface client size to buffer size during commit

this is the same as the X render loop behavior, just in a different place

9 years agosend different values to wl clients for configure when performing a resize action
Mike Blumenkrantz [Sat, 28 Feb 2015 20:43:12 +0000 (15:43 -0500)]
send different values to wl clients for configure when performing a resize action

the calculated values here seem to not be sufficiently accurate to manage a calculated resize.
instead, calc relative pointer coords and send them

 #barrel

9 years agoset output->scale to e_scale, and when we wl_output_send_scale
Chris Michael [Sat, 28 Feb 2015 16:36:42 +0000 (11:36 -0500)]
set output->scale to e_scale, and when we wl_output_send_scale
actually send output->scale

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agowayland: Make sure we're initializing output scale sensibly
Bryce Harrington [Sat, 28 Feb 2015 00:45:24 +0000 (19:45 -0500)]
wayland: Make sure we're initializing output scale sensibly

Summary:
By default the E_NEW() will create our output objects with a 0.0 scale,
which doesn't make any sense and if anything will lead to crashes.
Instead use a scale factor of 1.0.

When updating output details, if the scale setting is invalid then set
it to 1.0 as a sensible value.

Note this doesn't actually enable scaling, just helps make sure we're
not injecting invalid scale parameters from the start.

Reviewers: zmike, devilhorns, cedric

Subscribers: cedric

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

9 years agowayland: Refactor output initialization code
Bryce Harrington [Sat, 28 Feb 2015 00:23:11 +0000 (19:23 -0500)]
wayland: Refactor output initialization code

Summary:
The code to initialize outputs has duplicate stanzas for updating the
data members of the output structure.  This set of refactoring steps
shuffles things around to eliminate the redundant code.  I think this
also makes the code easier to follow too.

This also breaks out a new internal routine for looking up outputs by
id.  I suspect this will have general usefulness later.

Reviewers: devilhorns, cedric, zmike

Subscribers: cedric

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

9 years agoremove wl client resize idler, send ec->w/h instead of ec->client.w/h on resize
Mike Blumenkrantz [Fri, 27 Feb 2015 20:55:41 +0000 (15:55 -0500)]
remove wl client resize idler, send ec->w/h instead of ec->client.w/h on resize

this idler makes sense in X where there is a third party display server but not in wl

9 years agonoop when setting pointer object if re-setting same object
Mike Blumenkrantz [Fri, 27 Feb 2015 20:07:24 +0000 (15:07 -0500)]
noop when setting pointer object if re-setting same object

9 years agodisable fileman popups in wl-only mode
Mike Blumenkrantz [Fri, 27 Feb 2015 19:44:27 +0000 (14:44 -0500)]
disable fileman popups in wl-only mode

these crash for now and I'm annoyed

9 years agoremove missed use of E_COMP_WL_PIXMAP_CHECK macro
Chris Michael [Fri, 27 Feb 2015 15:59:59 +0000 (10:59 -0500)]
remove missed use of E_COMP_WL_PIXMAP_CHECK macro

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agowayland: Document the public API
Bryce Harrington [Fri, 27 Feb 2015 14:24:59 +0000 (09:24 -0500)]
wayland:  Document the public API

Summary: Add doxygen comments for public API members

Reviewers: zmike, cedric, devilhorns

Reviewed By: devilhorns

Subscribers: cedric

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

9 years agowayland: Eliminate extraneous E_COMP_WL_PIXMAP_CHECK macro
Bryce Harrington [Fri, 27 Feb 2015 14:21:55 +0000 (09:21 -0500)]
wayland: Eliminate extraneous E_COMP_WL_PIXMAP_CHECK macro

Summary:
Many of the functions in the compositor do some preliminary checks, to
ensure objects are valid and the right type.  Most of the checks follow
a consistent pattern, for example:

    if (!(ec = data)) return;
    if (e_object_is_del(E_OBJECT(ec))) return;
    if (ec->iconic) return;

This style makes it pretty straightforward to review the pre-conditions
of the function.

The one exception is the check to see if an object is a wayland pixmap;
this is implemented as a C macro.

     E_COMP_WL_PIXMAP_CHECK;

The name of the macro is descriptive enough, but it conceals what is
actually being checked.  I think that it is clearer and fits better with
the style of the rest of the pre-condition checks for this check to just
be shown as regular C code:

     if (e_pixmap_type_get(ec->pixmap) != E_PIXMAP_TYPE_WL) return;

Reviewers: zmike, cedric, devilhorns

Reviewed By: devilhorns

Subscribers: cedric

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

9 years agowayland: Fix missing check on E_NEW return
Bryce Harrington [Fri, 27 Feb 2015 14:18:27 +0000 (09:18 -0500)]
wayland: Fix missing check on E_NEW return

Summary:
All other E_NEW calls in this file check the return value, except this
one place.  In this function, other calls are being checked for NULL and
handled so this one should as well.  The other handlers in this function
follow the style of issuing an error message, freeing objects, and
returning false; we don't need to free anything so just do the error
message and return.

Reviewers: zmike, cedric, devilhorns

Subscribers: cedric

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

9 years agoupdate wl xdg states on maximize/fullscreen events
Mike Blumenkrantz [Fri, 27 Feb 2015 03:32:14 +0000 (22:32 -0500)]
update wl xdg states on maximize/fullscreen events

9 years agodon't send wl mouse button events when client's menu is active
Mike Blumenkrantz [Fri, 27 Feb 2015 02:55:34 +0000 (21:55 -0500)]
don't send wl mouse button events when client's menu is active

9 years agounify wl comp mouse button callback checks
Mike Blumenkrantz [Fri, 27 Feb 2015 02:54:17 +0000 (21:54 -0500)]
unify wl comp mouse button callback checks

9 years agowayland: Whitespace cleanup
Bryce Harrington [Thu, 26 Feb 2015 21:42:27 +0000 (16:42 -0500)]
wayland: Whitespace cleanup

Summary: Cosmetic

Reviewers: zmike

Subscribers: cedric

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

9 years agoreject ignored clients from client mouse event functions
Mike Blumenkrantz [Thu, 26 Feb 2015 21:16:53 +0000 (16:16 -0500)]
reject ignored clients from client mouse event functions

9 years agofix compile issue due to output change and fixup subsurface creation to match new...
Chris Michael [Wed, 25 Feb 2015 19:17:14 +0000 (14:17 -0500)]
fix compile issue due to output change and fixup subsurface creation to match new "state" paradigm

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoImplement buffer_reference to fix client resizing issue
Chris Michael [Wed, 25 Feb 2015 18:14:30 +0000 (13:14 -0500)]
Implement buffer_reference to fix client resizing issue

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoadjust wayland compositor scale when we adjust e_scale
Chris Michael [Wed, 25 Feb 2015 18:13:10 +0000 (13:13 -0500)]
adjust wayland compositor scale when we adjust e_scale

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoadd a surface_state structure to E_Comp_Wl_Client_Data
Chris Michael [Thu, 19 Feb 2015 21:33:09 +0000 (16:33 -0500)]
add a surface_state structure to E_Comp_Wl_Client_Data

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoclamp to parent height, not parent y co-ordinate.
Derek Foreman [Thu, 26 Feb 2015 20:27:52 +0000 (15:27 -0500)]
clamp to parent height, not parent y co-ordinate.

Summary:
Clamping to Y makes pop ups get shifted up if a window is
near the top of the screen.

Reviewers: devilhorns, zmike

Subscribers: cedric

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

9 years agoDon't crash when an error pop-up occurs before the compositor is set up.
Derek Foreman [Thu, 26 Feb 2015 19:43:10 +0000 (14:43 -0500)]
Don't crash when an error pop-up occurs before the compositor is set up.

Reviewers: devilhorns, zmike

Subscribers: cedric

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

9 years agowayland: Refactor out common mouse handling code
Bryce Harrington [Thu, 26 Feb 2015 03:00:11 +0000 (22:00 -0500)]
wayland:  Refactor out common mouse handling code

Summary:
These two functions are nearly identical so move much of the common code
into a helper function.

Reviewers: cedric, devilhorns, zmike

Subscribers: cedric

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

9 years agopre-escape all notification body texts before display or merge
Mike Blumenkrantz [Thu, 26 Feb 2015 01:05:43 +0000 (20:05 -0500)]
pre-escape all notification body texts before display or merge

this fixes notification merging again

ref T2053

9 years agobuild: allow building in pure Wayland mode (no xcb, no ecore-x)
Manuel Bachmann [Wed, 25 Feb 2015 08:15:41 +0000 (09:15 +0100)]
build: allow building in pure Wayland mode (no xcb, no ecore-x)

Summary:
We should be building Enlightenement with "--enable-wayland-only"
even if xcb, ecore-x... are not present. The Evas wayland-shm
engine will then be a prerequisite, though.

E_Alert being too much X11-oriented, let us disable it completely
before it is ported.

Also, do not require the X11 rendering engines at runtime.

Reviewers: stefan, devilhorns

Reviewed By: devilhorns

Subscribers: stefan_schmidt, stefan

Projects: #enlightenment-git

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

9 years agoe - menus - fix submenu popup direction when zones are not at 0 y
Carsten Haitzler (Rasterman) [Wed, 25 Feb 2015 06:55:08 +0000 (15:55 +0900)]
e - menus - fix submenu popup direction when zones are not at 0 y

9 years agoe - menus - fix autoscroll on zones not at 0 y...
Carsten Haitzler (Rasterman) [Wed, 25 Feb 2015 06:31:00 +0000 (15:31 +0900)]
e - menus - fix autoscroll on zones not at 0 y...

9 years agocosmetic: Whitespace cleanup of wayland client files
Bryce Harrington [Tue, 24 Feb 2015 22:34:20 +0000 (17:34 -0500)]
cosmetic:  Whitespace cleanup of wayland client files

Summary:
cosmetic: Cleanup whitespace for wayland compositor

There is excess trailing whitespace in several of the files for the
wayland implementation.  These patches attempt to apply the spacing
rules for Enlightenment as documented at:
https://phab.enlightenment.org/w/coding_convention/

The whitespace rules are applied using the following emacs tabbing
settings:

 (defun start-efl-c-mode ()
  "C mode with adjusted defaults for use with Enlightenment
  development."
  (interactive)
  (c-mode)
  (c-set-style "gnu")
  (setq tab-width 8)
  (setq indent-tabs-mode nil)
  (setq c-basic-offset 3)
  (setq defun-block-intro 3)
  (setq statement-block-intro 3)
  (setq case-label 1)
  (setq statement-case-intro 3)
 )

This patchset also eliminates all tabs in favor of whitespace, as per
the coding style rules.

Reviewers: zmike, cedric, devilhorns

Subscribers: cedric

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

9 years agoremove unused variable
Chris Michael [Tue, 24 Feb 2015 20:36:34 +0000 (15:36 -0500)]
remove unused variable

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoappend E_Comp_Wl_Output to compositor's output list during output_init
Chris Michael [Tue, 24 Feb 2015 20:27:48 +0000 (15:27 -0500)]
append E_Comp_Wl_Output to compositor's output list during output_init
call

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agodon't remove E_Comp_Wl_Output on unbind as this Could lead to nasty
Chris Michael [Tue, 24 Feb 2015 20:17:07 +0000 (15:17 -0500)]
don't remove E_Comp_Wl_Output on unbind as this Could lead to nasty
crashes if a second client tries to bind wl_output

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoFix wl_output tracking in wayland compositor
Derek Foreman [Tue, 24 Feb 2015 20:10:37 +0000 (15:10 -0500)]
Fix wl_output tracking in wayland compositor

Summary:
We should keep a list of resources per output to propagate wl_output
changes to each client that bound an output.

The output list now contains all outputs, not just bound ones.

Reviewers: devilhorns, zmike

Subscribers: cedric

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

9 years agoCode cleanup and check for OOM condition with wl_array_add
Bryce Harrington [Tue, 24 Feb 2015 19:47:56 +0000 (14:47 -0500)]
Code cleanup and check for OOM condition with wl_array_add

Summary:
wayland: Check wl_array_add return for OOM condition
cosmetic: Make error return check syntax consistent with rest of code
wayland: Reuse use_adj to track child-forced adjust
wayland: Refactor to collapse if chain
wayland: Refactor _e_comp_wl_client_priority_adjust to collapse if chain
 + This uses early returns to unwrap a couple if clauses to make the code a bit less nesty.
wayland: Refactor if statements for consistency with rest of file

Reviewers: cedric, zmike, devilhorns

Subscribers: devilhorns, cedric

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

9 years agocreate wl_outputs when in wayland-only mode
Chris Michael [Tue, 24 Feb 2015 18:27:56 +0000 (13:27 -0500)]
create wl_outputs when in wayland-only mode

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoFix T2131 (crash when creating wl_outputs)
Chris Michael [Tue, 24 Feb 2015 18:25:22 +0000 (13:25 -0500)]
Fix T2131 (crash when creating wl_outputs)

This fixes the crash and creates outputs based on e_randr
configuration (when in wayland-client mode).

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoadd E_Comp_Wl_Output structure and function prototype to create outputs
Chris Michael [Tue, 24 Feb 2015 18:24:56 +0000 (13:24 -0500)]
add E_Comp_Wl_Output structure and function prototype to create outputs

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoefm - make dir listing far faster - no file magic content and dont sync
Carsten Haitzler (Rasterman) [Tue, 24 Feb 2015 09:36:31 +0000 (18:36 +0900)]
efm - make dir listing far faster - no file magic content and dont sync

this speed sup dir listing in efm drastically. first the e fm back end
uses an io thread that just spools through everything fast and sends
it over the mainloop to then send by ipc to e.

and on the e side we no longer use the heavy file internal magic using
api calls that wander all over a file for magic numbers - this is
insanely slow and brings listing to a crawl.

9 years agofix border frame color classes to be configured as solids, not text
Mike Blumenkrantz [Mon, 23 Feb 2015 22:54:09 +0000 (17:54 -0500)]
fix border frame color classes to be configured as solids, not text

fix T1637

9 years agodon't clamp bgpreview vsize if bgpreview is a fullscreen overlay
Mike Blumenkrantz [Mon, 23 Feb 2015 22:31:52 +0000 (17:31 -0500)]
don't clamp bgpreview vsize if bgpreview is a fullscreen overlay

9 years agofix appindicator icon loading when using IconThemePath key
Mike Blumenkrantz [Mon, 23 Feb 2015 22:22:51 +0000 (17:22 -0500)]
fix appindicator icon loading when using IconThemePath key

fix T1888

9 years agoset default text for edgebindings caption when no bindings exist
Mike Blumenkrantz [Mon, 23 Feb 2015 21:53:20 +0000 (16:53 -0500)]
set default text for edgebindings caption when no bindings exist

9 years agofix dialog sizing when icon setting fails
Mike Blumenkrantz [Mon, 23 Feb 2015 21:48:09 +0000 (16:48 -0500)]
fix dialog sizing when icon setting fails

9 years agoremove unnecessary icon setting and fix sizing in edgebindings
Mike Blumenkrantz [Mon, 23 Feb 2015 21:43:59 +0000 (16:43 -0500)]
remove unnecessary icon setting and fix sizing in edgebindings

ref T2144

9 years agoFixed tense in presentation mode notifications.
Yomi [Mon, 23 Feb 2015 20:26:00 +0000 (15:26 -0500)]
Fixed tense in presentation mode notifications.

Summary: Fixed tense in presentation mode notifications.

Reviewers: zmike

Subscribers: cedric

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

9 years ago Bugfix: e backlight: use saner default values.
Chidambar Zinnoury [Wed, 18 Feb 2015 21:56:24 +0000 (22:56 +0100)]
 Bugfix: e backlight: use saner default values.

 The brightness scale goes from 0 (well, 1) to 100: 0.1 thus seems too low a step, 10 being better and is actually already used.

9 years agoe - actions - smart suspend/hibernate - also dont do when on mains power
Carsten Haitzler (Rasterman) [Sun, 22 Feb 2015 08:50:12 +0000 (17:50 +0900)]
e - actions - smart suspend/hibernate - also dont do when on mains power

9 years agorandr2 - handle missing clone src and walk back config only structs
Carsten Haitzler (Rasterman) [Sun, 15 Feb 2015 23:40:47 +0000 (08:40 +0900)]
randr2 - handle missing clone src and walk back config only structs

9 years agodo not reapply focus on canvas object ungrab/close for pointer-focus enthusiasts
Mike Blumenkrantz [Fri, 20 Feb 2015 14:55:20 +0000 (09:55 -0500)]
do not reapply focus on canvas object ungrab/close for pointer-focus enthusiasts

9 years agochange output_bind function name
Chris Michael [Thu, 19 Feb 2015 22:02:46 +0000 (17:02 -0500)]
change output_bind function name

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agofix some formatting ugliness
Chris Michael [Thu, 19 Feb 2015 22:02:04 +0000 (17:02 -0500)]
fix some formatting ugliness

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agofix compiler warning about pointer targets differ in signedness
Chris Michael [Thu, 19 Feb 2015 22:00:24 +0000 (17:00 -0500)]
fix compiler warning about pointer targets differ in signedness

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoupdate wayland README file to remove build confusion
Chris Michael [Thu, 19 Feb 2015 21:51:52 +0000 (16:51 -0500)]
update wayland README file to remove build confusion

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoProvide wl_output events on hotplug
Derek Foreman [Thu, 19 Feb 2015 19:49:21 +0000 (14:49 -0500)]
Provide wl_output events on hotplug

Summary:
Clients that have bound wl_output now receive wl_output events on hotplug

NOTE: We don't handle removal yet

Reviewers: devilhorns, zmike

Reviewed By: devilhorns, zmike

Subscribers: cedric

Maniphest Tasks: T2131

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

9 years agoProvide wl_output interface to clients
Derek Foreman [Thu, 19 Feb 2015 19:49:01 +0000 (14:49 -0500)]
Provide wl_output interface to clients

Reviewers: devilhorns, zmike

Reviewed By: devilhorns, zmike

Subscribers: cedric

Maniphest Tasks: T2131

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

9 years agorename extremely frustratingly-named E_Screen_Limits enum and members
Mike Blumenkrantz [Wed, 18 Feb 2015 23:34:29 +0000 (18:34 -0500)]
rename extremely frustratingly-named E_Screen_Limits enum and members

this came in a patch that I take full responsibility for not adequately reviewing at the time.
the names are confusing and counterintuitive, and it does not properly include the client namespace.

9 years agoclamp client size to screen when client limit policy does not allow offscreen
Mike Blumenkrantz [Wed, 18 Feb 2015 23:26:16 +0000 (18:26 -0500)]
clamp client size to screen when client limit policy does not allow offscreen

fix T1779

9 years agofix crashing when changing desklock settings and using pin/personal auth
Mike Blumenkrantz [Wed, 18 Feb 2015 22:07:39 +0000 (17:07 -0500)]
fix crashing when changing desklock settings and using pin/personal auth

9 years agoescape notification popup text...always
Mike Blumenkrantz [Wed, 18 Feb 2015 21:50:26 +0000 (16:50 -0500)]
escape notification popup text...always

fix T2053

9 years agodon't send unfocused signal to override clients
Mike Blumenkrantz [Wed, 18 Feb 2015 21:35:10 +0000 (16:35 -0500)]
don't send unfocused signal to override clients

fix T2099

9 years agouse direct path for setting icons in util theme set function when icon is a path
Mike Blumenkrantz [Wed, 18 Feb 2015 21:11:45 +0000 (16:11 -0500)]
use direct path for setting icons in util theme set function when icon is a path

fix T1888

9 years agoAllow building without ptrace
Tom Hacohen [Wed, 18 Feb 2015 12:36:20 +0000 (12:36 +0000)]
Allow building without ptrace

Summary: Building without ptrace (on OSes which do not support it, like OpenBSD) did not work, because the fallback code had small typos.

Reviewers: devilhorns

Projects: #enlightenment-git

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

9 years agocpufreq: freebsd fixes
Daniel Kolesa [Wed, 18 Feb 2015 11:07:56 +0000 (11:07 +0000)]
cpufreq: freebsd fixes

This fixes a sysctlbyname lookup and adds a stub for the "pstate"
command. Based on a patch contributed by Dmitry Luhtionov.

@fix

9 years agoblock linear desk flips that would wrap if desk flip wrapping is disabled
Mike Blumenkrantz [Tue, 17 Feb 2015 23:54:39 +0000 (18:54 -0500)]
block linear desk flips that would wrap if desk flip wrapping is disabled

fix T1948

9 years agodon't revert X focus during nocomp
Mike Blumenkrantz [Tue, 17 Feb 2015 23:42:47 +0000 (18:42 -0500)]
don't revert X focus during nocomp

9 years agouse elm scroller for xkb options
Mike Blumenkrantz [Tue, 17 Feb 2015 23:16:54 +0000 (18:16 -0500)]
use elm scroller for xkb options

fix T2007

9 years agorevert some comp object debugging bits that snuck into another commit
Mike Blumenkrantz [Tue, 17 Feb 2015 22:21:37 +0000 (17:21 -0500)]
revert some comp object debugging bits that snuck into another commit

9 years agoIbar: Emit the given origin to the Ibar Icon.
Marcel Hollerbach [Tue, 17 Feb 2015 22:16:50 +0000 (17:16 -0500)]
Ibar: Emit the given origin to the Ibar Icon.

Summary:
This fixes T1828.

The theme also would have to support this!

Reviewers: zmike

Subscribers: myoungwoon, cedric

Maniphest Tasks: T1828

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

9 years agoenlightenment: Fix building for wayland-only
Chris Michael [Tue, 17 Feb 2015 15:46:19 +0000 (10:46 -0500)]
enlightenment: Fix building for wayland-only

We don't have e_randr2 calls for wayland yet, so ifdef those out if we
are building for wayland only

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoadd MIN define for non-linux systems
Vincent Torri [Sun, 15 Feb 2015 22:53:47 +0000 (17:53 -0500)]
add MIN define for non-linux systems

9 years agoactions - add smart suspend + hibernate actions for laptop usage
Carsten Haitzler (Rasterman) [Sun, 15 Feb 2015 01:48:47 +0000 (10:48 +0900)]
actions - add smart suspend + hibernate actions for laptop usage

this adds 2 actions that only suspend a laptop (or hibernate) if there
are no external screens enabled. if there is no lid screen eg like a
desktop, then it will still go on as usual.

9 years agoRevert "fix dbus unit installation with DESTDIR"
Mike Blumenkrantz [Fri, 13 Feb 2015 21:46:52 +0000 (16:46 -0500)]
Revert "fix dbus unit installation with DESTDIR"

This reverts commit 3afaafe506d0f8c2ee95934cff6224cbc00ee35d.

broken test machine = broken commits :(