Commit Graph

14479 Commits

Author SHA1 Message Date
Mike Blumenkrantz 235c369adf feature: make desklock hookable, break out current desklock into module, move pam stuff to separate file
after this commit, the new-but-invisible module "lokker" (or other custom loaded module) is in charge of creating all graphics for the lock screen, and it will be added to the user's config. failure to load a lockscreen module will just result in a black screen

desklock subsystem now handles all the pre/post lock stuff while the modules themselves are responsible for creating visuals and calling auth functions to determine whether to unlock the screen
2014-01-14 20:28:59 -05:00
discomfitor cb956069d5 feature: revive personal desklock passwords
these were previously disabled because hashing a password was too much work (I guess?), but now they're back. config dialog has changed accordingly
2014-01-14 20:28:59 -05:00
discomfitor bf7a2e8c47 add blocker rects for desklock
add a black rect to cover the screen during desklock
2014-01-14 20:28:59 -05:00
discomfitor a31e8a70fb break out desklock into display server-able hooks
if we're running in a non-X environment, we can't very well expect that using X calls to hide/show windows for desklock is going to work as expected. now a compositor backend can add a pre or post desklock hook to hide/show its clients as necessary
2014-01-14 20:28:59 -05:00
discomfitor 3948c1c910 fix fileman stealing focus
desktop fileman should only receive focus if there is no client currently visible on the active desktop
2014-01-14 20:28:59 -05:00
discomfitor a6a93c05b4 feature: function for getting top visible client on current desk
this is a pretty useful function overall, and I found that I was duplicating its functionality in a number of places, so I broke it out
2014-01-14 20:28:59 -05:00
discomfitor 3047ce85b8 not sure if keep... add retries for failure x clients
if a client's X attributes fail to be fetched on the first attempt, it's possible that we might succeed on a second attempt, which would prevent us from losing a client
2014-01-14 20:28:59 -05:00
Mike Blumenkrantz ed4c98f9f5 feature: e_comp_shape_queue_block for blocking shape changes
in some cases, it may be desirable to block shape cutting for an amount of time to reduce cpu calculations. this should be set when performing any non-interactive compositor effects
2014-01-14 20:28:59 -05:00
Mike Blumenkrantz b3ea9e9e9d feature: break out e_moveresize_client_extents for calculating client step sizes
if using an external moveresize implementation, this function is very handy
2014-01-14 20:28:59 -05:00
discomfitor b67d94210a feature: add layer_block client flag to bypass any layer/stacking checks and "just do it" for cool effects
this flag allows a client's layer to be changed instantly with no protocol-level checks or work, allowing compositor effects to do their work more easily
2014-01-14 20:28:59 -05:00
discomfitor 9150cf6812 feature: allow moveresize visuals to be replaced
the existing moveresize popup infrastructure is very limiting in that it requires you to create a popup. if you don't want to create a popup, now you don't have to.
2014-01-14 20:28:58 -05:00
Mike Blumenkrantz b0c6366203 feature: allow desk flip animations to be handled completely externally
by exposing desk flip as a hookable api, it becomes easy to write custom flip effects such as in the external "desksanity" module
2014-01-14 20:28:58 -05:00
Mike Blumenkrantz bac43480ff move deskmirror test over a little 2014-01-14 20:28:58 -05:00
Mike Blumenkrantz c667f7612f feature: E16-style live pager returns! window-only drags currently a little broken
p16 is a pager replacement module which uses deskmirror to show you live views of each desktop. it has a separate theme and reuses a lot of pager code.

not sure if original pager should be kept, but it's still around for now.

pager and pager16 both provide the same gadget and cannot be loaded simultaneously
2014-01-14 20:28:58 -05:00
Mike Blumenkrantz b6e94d02ed don't recalc a gadcon on unpack if we're stopping, also don't recalc gadcons during stop when unpopulating
this caused a lot of slowdown, and even possible crashes, during restarts
2014-01-14 20:28:58 -05:00
Mike Blumenkrantz a5e52cbc2d add E_Win_Cb typedef
this is mostly cosmetic, but I thought it might be a little more descriptive?
2014-01-14 20:28:58 -05:00
Mike Blumenkrantz f637cbf08e deskmirror is now a fully-functional E api
* finish updating for E19 api

* fix visibility changing on sources

** use that shelf data item added in previous commit to detect shelf visibility

* fix sizing (but not scaling :() and positioning of sources

* also fix stacking
2014-01-14 20:28:58 -05:00
Mike Blumenkrantz d307214c8d check for efreet desktop if EITHER icccm name/class is set
allows wayland clients, which only set class here, to find their desktop
2014-01-14 20:28:58 -05:00
Mike Blumenkrantz 6bc7662459 add e_exec instances for wl clients if they set surface class: works for terminology
creating phony e_exec instances based on name/class allows wayland clients to show up normally in ibar
2014-01-14 20:28:58 -05:00
Mike Blumenkrantz dcdf4bb9f9 don't delete pointers when changing settings, just update size
this fixes a case where cursors would be permanently broken (along with the world) when changing cursor settings
2014-01-14 20:28:58 -05:00
Mike Blumenkrantz 5737103d67 wl pointers done-ish
pointers in E now come in two flavors, one for each protocol that we currently support. each is created from the owner compositor backend:

X pointers still work as usual

Wayland pointers are actually surfaces that we dump image data into periodically to render them as evas images

some small amounts of hack is necessary to make this work, namely blocking X pointers when a Wayland one is in use if we're running a multi-protocol compositor
2014-01-14 20:28:58 -05:00
Mike Blumenkrantz fa32b5e708 add wl_fb output module
adds a probably-working wayland framebuffer output module

Additional authors:
Chris Michael <cp.michael@samsung.com>

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-01-14 20:28:58 -05:00
Mike Blumenkrantz a70e936be1 add E_WL_FORCE environment variable to force loading of an output module during init
variable takes the name of the output module s/wl_// ; example: E_WL_FORCE=x11

this module allows easy loading of a wayland output module to override any detection which may occur by force-loading the module during startup

in a later commit, an actual output detection mechanism needs to be added to run through all the possible output modes
2014-01-14 20:28:58 -05:00
Mike Blumenkrantz c268302e67 add wl_x11 output module
this is the first of the wayland output modules, and it is extremely simple as a result of the compositor rewrite. for any other wayland output modules, it should be enough to simply create an ecore_evas canvas and do startup in this way.
2014-01-14 20:28:57 -05:00
Mike Blumenkrantz 12d7405a0f huge wl fixup (wayland clients actually working again)
* try to clear up build system for separating out ecore-x

* add #ifdefs for lots of ecore-x stuff

* break out some internal e wl functions for reuse in api

* store wl surface buffers as an inlist

* add protocol-specific client compositor data

** move lots of X client attributes here

* add pixmap type checks to a number of X-specific things, such as grabinput, to block them for non-X clients

* rearrange startup order to work with wayland

* move X screensaver code to e_comp_x

* flag modules still requiring X with -DNEED_X
2014-01-14 20:28:57 -05:00
Mike Blumenkrantz a9627e84f5 remove a bunch of unnecessary ecore-x calls from modules 2014-01-14 20:28:57 -05:00
Mike Blumenkrantz 4d07ec2c00 remove black_ecore_evas
this was used in illume, which is now dead.
2014-01-14 20:28:57 -05:00
Mike Blumenkrantz 81bb88896e make backlight wayland-friendly 2014-01-14 20:28:57 -05:00
Mike Blumenkrantz 7c580030db make e_hints more wayland-friendly 2014-01-14 20:28:57 -05:00
Mike Blumenkrantz 0beaea217a remove awful LAYOUT client hook 2014-01-14 20:28:57 -05:00
Mike Blumenkrantz 1be76d599c disable illume building, blacklist illume modules
illume 100% requires X, thus illume is dead. replacements are semi-underway.
2014-01-14 20:28:57 -05:00
Mike Blumenkrantz 1b22c40555 move e_util_icon_save to e_desktop_editor for better waylanding 2014-01-14 20:28:57 -05:00
Mike Blumenkrantz c2be19c093 feature: comp config is no longer a module
given that compositing is always enabled and that it's crucial to be able to change these settings, potentially having them unavailable is not a great way to live
2014-01-14 20:28:57 -05:00
Mike Blumenkrantz 8be0ce31d7 ignore evry clipboard win 2014-01-14 20:28:57 -05:00
Mike Blumenkrantz b7b24dc283 set name/class on comp selection win, ignore comp selection win 2014-01-14 20:28:57 -05:00
Mike Blumenkrantz f88bfbdda1 set name/class on evry clipboard 2014-01-14 20:28:56 -05:00
Mike Blumenkrantz cd3cfd139a use input window for evry clipboard 2014-01-14 20:28:56 -05:00
Mike Blumenkrantz 98f1a9f036 feature: E_FIRST_FRAME env variable
requested by cedric for profiling, works just like similar elm variable
2014-01-14 20:28:56 -05:00
Mike Blumenkrantz 8b6d217e0c set shelf data on shelf comp object
probably good practice to set object data to comp objects? this makes it easier to use with deskmirror
2014-01-14 20:23:06 -05:00
Mike Blumenkrantz 86656e4df9 compositor rewrite / charlie-foxtrot situation
huge fustercluck commit because there wasn't really a way to separate out the changes. better to just rip it all out at once.

* compositor and window management completely rewritten. this was the goal for E19, but it pretty much required everything existing to be scrapped since it wasn't optimized, streamlined, or sensible. now instead of having the compositor strapped to the window manager like an outboard motor, it's housed more like an automobile engine.

** various comp structs have been merged into other places (eg. E_Comp_Zone is now just part of E_Zone where applicable), leading to a large deduplication of attributes

** awful E_Comp_Win is totally dead, having been replaced with e_comp_object smart objects which work just like normal canvas objects

** protocol-specific window management and compositor functionality is now kept exclusively in backend files

** e_pixmap api provides generic client finding and rendering api

** screen/xinerama screens are now provided directly by compositor on startup and re-set on change

** e_comp_render_update finally replaced with eina_tiler

** wayland compositor no longer creates X windows

** compositor e_layout removed entirely

* e_container is gone. this was made unnecessary in E18, but I kept it to avoid having too much code churn in one release. its sole purpose was to catch some events and handle window stacking, both of which are now just done by the compositor infra

* e_manager is just for screensaver and keybind stuff now, possibly remove later?

* e_border is gone along with a lot of its api. e_client has replaced it, and e_client has been rewritten completely; some parts may be similar, but the design now relies upon having a functional compositor

** window configuration/focus functions are all removed. all windows are now managed solely with evas_object_X functions on the "frame" member of a client, just as any other canvas object can be managed.

*** do NOT set interceptors on a client's comp_object. seriously.

* startup order rewritten: compositor now starts much earlier, other things just use attrs and members of the compositor

* ecore_x_pointer_xy_get usage replaced with ecore_evas_pointer_xy_get

* e_popup is totally gone, existing usage replaced by e_comp_object_util_add where applicable, otherwise just placed normally on the canvas

* deskmirror is (more) broken for now

* illume is totally fucked

* Ecore_X_Window replaced with Ecore_Window in most cases

* edge binding XWindows replaced with regular canvas objects

* some E_Win functionality has changed such that delete callbacks are now correctly called in ALL cases. various dialogs have been updated to not crash as a result

comp files and descriptions:

e_comp.c - overall compositor functions, rendering/update loop, shape cutting

e_comp_x.c - X window management and compositor functionality

e_comp_wl.c - Wayland surface management and compositor functionality

e_comp_canvas.c - general compositor canvas functions and utilities

e_comp_object.c - E_Client->frame member for managing clients as Evas_Objects, utility functions for adding objects to the compositor rendering systems

additional authors: ivan.briano@intel.com

feature: new compositor

removal: e_border, e_container, e_popup
2014-01-14 20:22:02 -05:00
Mike Blumenkrantz 7f0c849a27 print E_IPC_SOCKET value during startup 2014-01-14 20:22:02 -05:00
Mike Blumenkrantz 33ae9d51e6 feature: add E_MODULE_SRC_PATH for setting current module src path without needing to install modules
this is a useful feature when working on and debugging modules so that contamination of the running system can be avoided
2014-01-14 20:22:01 -05:00
Mike Blumenkrantz e3c85ec4da feature: use non-recursive makefiles for entire build system
this is the correct way to write a build system. one toplevel Makefile.am with the rest of the directories having include Makefile.mk files.

additional authors:

Iván Briano <ivan.briano@intel.com>
2014-01-14 20:22:01 -05:00
Mike Blumenkrantz 4c9123c9b4 fix weird pulse crash when sink name is NULL (wtf?) 2014-01-14 20:22:01 -05:00
Mike Blumenkrantz 52329d170e bad shape debugging! no enabling in git! 2014-01-10 13:26:37 -05:00
Mike Blumenkrantz d9291fffe1 send (un)focused signals to entry scrollframes
T745
2014-01-10 11:14:13 -05:00
Carsten Haitzler 72735615c7 resolve unhandled null shape pointer
in some cases cw->shape is checked, others not. chekc in all cases.
this should fix T742
2014-01-10 15:24:43 +09:00
Mike Blumenkrantz a0b07b9df7 fix ibar mouse in/out animations
previous operation resulted in repeated show/hide signals which looked bad.

going to have to investigate timer settings on this, current behavior, while a step in the right direction, seems unusable for me with the mismatch of no delay to show, LOOOOOOONG delay to hide
2014-01-05 23:51:47 -05:00
Mike Blumenkrantz 11c6db8e74 reword ibar mouseover config option for easier reading/translation 2014-01-05 23:51:32 -05:00
Carsten Haitzler 86f4dc82d5 ibar - add option to show icon menu on mousover 2014-01-06 13:19:56 +09:00