Commit Graph

17447 Commits

Author SHA1 Message Date
Mike Blumenkrantz 37b11d932d check for efreet desktop if EITHER icccm name/class is set
allows wayland clients, which only set class here, to find their desktop
2013-12-23 18:36:33 -05:00
Mike Blumenkrantz b2969cb880 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
2013-12-23 18:36:33 -05:00
Mike Blumenkrantz 099b250275 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
2013-12-23 18:36:33 -05:00
Mike Blumenkrantz 2ec808f9d8 wl pointers done
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
2013-12-23 18:36:33 -05:00
Mike Blumenkrantz b3bd012cec feature: 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>
2013-12-23 18:36:33 -05:00
Mike Blumenkrantz 8e5e2fc2ef feature: 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
2013-12-23 18:36:33 -05:00
Mike Blumenkrantz 87b16dad61 feature: 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.
2013-12-23 18:36:33 -05:00
Mike Blumenkrantz f714dbf7e4 nosquash: 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
2013-12-23 18:36:33 -05:00
Mike Blumenkrantz 8c97314cd2 nosquash: remove a bunch of unnecessary ecore-x calls from modules 2013-12-23 18:36:33 -05:00
Mike Blumenkrantz fbfcb526ad nosquash: remove black_ecore_evas
this was used in illume, which is now dead.
2013-12-23 18:36:33 -05:00
Mike Blumenkrantz 9f2c63a6bf nosquash: make backlight wayland-friendly 2013-12-23 18:36:33 -05:00
Mike Blumenkrantz e7108dd1df nosquash: make e_hints more wayland-friendly 2013-12-23 18:36:33 -05:00
Mike Blumenkrantz 625d2706d4 remove awful LAYOUT client hook 2013-12-23 18:36:33 -05:00
Mike Blumenkrantz 7cb9f39c5b nosquash: disable illume building, blacklist illume modules
illume 100% requires X, thus illume is dead. replacements are semi-underway.
2013-12-23 18:36:33 -05:00
Mike Blumenkrantz 52d27d9ecd nosquash: move e_util_icon_save to e_desktop_editor for better waylanding 2013-12-23 18:36:33 -05:00
Mike Blumenkrantz af0464a8c6 feature: add E_THEME_OVERRIDE to specify an edje file to use as the override for the default theme
similar to E_MODULE_SRC_PATH, this allows editing a theme without contaminating the current system
2013-12-23 18:36:33 -05:00
Mike Blumenkrantz 8c218fd28e 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 be
2013-12-23 18:36:33 -05:00
Mike Blumenkrantz 711bc1b2a5 ignore evry clipboard win 2013-12-23 18:36:33 -05:00
Mike Blumenkrantz 6999e7a0df set name/class on comp selection win, ignore comp selection win 2013-12-23 18:36:32 -05:00
Mike Blumenkrantz bf0aee21f3 set name/class on evry clipboard 2013-12-23 18:36:32 -05:00
Mike Blumenkrantz 7d3ab68335 use input window for evry clipboard 2013-12-23 18:36:32 -05:00
Mike Blumenkrantz 95522343df feature: E_FIRST_FRAME env variable
requested by cedric for profiling, works just like similar elm variable
2013-12-23 18:36:32 -05:00
Mike Blumenkrantz 29d792094f feature: add source-able script to set some helpful vars for running e19 directly from the git directory without installing anything 2013-12-23 18:36:32 -05:00
Mike Blumenkrantz d32e08064a nosquash: set shelf data on shelf comp object
probably good practice to set object data to comp objects? anyway, this makes it easier to use with deskmirror
2013-12-23 18:36:32 -05:00
Mike Blumenkrantz af9486c4c2 update config for v14 2013-12-23 18:36:32 -05:00
Mike Blumenkrantz f90e76db81 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

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
2013-12-23 18:36:32 -05:00
Mike Blumenkrantz 62a847e86f print E_IPC_SOCKET value during startup 2013-12-23 18:36:32 -05:00
Mike Blumenkrantz b49aac025e 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
2013-12-23 18:36:32 -05:00
Mike Blumenkrantz b997165ce9 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>
2013-12-23 18:36:32 -05:00
Mike Blumenkrantz 529d1eb68d update standard config for v12 2013-12-23 18:36:31 -05:00
Mike Blumenkrantz db8e211134 fix weird pulse crash when sink name is NULL (wtf?) 2013-12-23 18:36:31 -05:00
Mike Blumenkrantz 2a01f4b3cb bugfix: delete mixer's pulse exe handler after it's started so desklock doesn't break 2013-12-23 14:02:06 -05:00
Mike Blumenkrantz 7475d4032d E18.0 release 2013-12-21 17:08:47 -05:00
Mike Blumenkrantz fb2db25056 remove cl/news entries about conf2 2013-12-21 17:08:39 -05:00
Mike Blumenkrantz be6351f15e fix mixer regression which broke non-pulseaudio support 2013-12-21 09:26:57 -05:00
Igor Murzov ea1ae87962 Update russian translation 2013-12-21 03:58:18 +04:00
Igor Murzov 5e840d4b5c Add more messages to the pot 2013-12-21 03:14:36 +04:00
Mike Blumenkrantz bd6bbdd5f4 only set mouse-in focus if target window is not already the focused window
T483 again
2013-12-20 15:50:16 -05:00
Mike Blumenkrantz 1868f28480 mailmap myself 2013-12-19 18:22:48 -05:00
maxerba 4bbdeeb6b7 updating italian translation 2013-12-19 22:44:30 +01:00
maxerba 6b17d616d3 updating galician translation 2013-12-19 21:20:45 +01:00
Mike Blumenkrantz d216853252 when rolling back an efm_op task, also remove children tasks
this simplifies/fixes the case where copying directories and canceling the operation would not correctly propagate the cancel to subtasks (contents of the directory)

T680
2013-12-19 14:56:34 -05:00
Mike Blumenkrantz c2c9c3ab72 propagate parent tasks when creating work tasks from scan tasks 2013-12-19 14:55:53 -05:00
Mike Blumenkrantz b93c035176 set efm_op parent tasks when creating new scan tasks for a directory 2013-12-19 14:55:23 -05:00
Mike Blumenkrantz f9c16ba1ce separately calling eina_init after ecore_init in e_fm_op? wtfffffffffffffffffffffffffffffffff 2013-12-19 14:18:02 -05:00
Mike Blumenkrantz f6ec2c6f60 set ecore_app_no_system_modules in various system utilities 2013-12-19 14:14:48 -05:00
Mike Blumenkrantz d4fe53e2ce check smart data on efm rename dialog delete 2013-12-19 13:56:38 -05:00
Mike Blumenkrantz 428d2adb00 errr...new desklock variable is meant to be !checked to see if the user has ever successfully unlocked 2013-12-19 11:00:28 -05:00
Mike Blumenkrantz cc9c130c24 clean up desklock showing on startup, add env var for checking unlocked state
desklock's layer is below the start splash layer, so this can just be shown any time regardless of whether it's enabled. security++

previously the fact that e was restarting could break out of desklocked startup due to how the env variables were set. now there is a new variable which only gets set when the screen is locked which will force lock on startup even during restarts

T681
2013-12-19 10:55:56 -05:00
Cedric BAIL 56d9c12676 gdb: test for bad kernel behavior. 2013-12-19 17:11:13 +09:00