Commit Graph

8496 Commits

Author SHA1 Message Date
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 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 b7b24dc283 set name/class on comp selection win, ignore comp selection win 2014-01-14 20:28:57 -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 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 40e947db15 bugfix: store opacity in remembers like we do in the other remember edd 2014-01-01 15:39:35 -05:00
Mike Blumenkrantz e0df6b9095 bugfix: only set uid for eeze mounting of disks which are not native linux fstypes
T484
2013-12-31 14:12:24 -05:00
Carsten Haitzler 63a49e4dca comp - make message for missing gl a bit more helpful 2013-12-31 19:05:41 +09:00
Carsten Haitzler 00050ffca8 livethumb - fix problem where e canvas list didnt del the livethumb ee 2013-12-30 17:00:29 +09:00
Mike Blumenkrantz 28b157c385 bugfix: startup splash now updates the version number more reliably
e_init_show() sets its own strings now so they get set on existing objects instead of failing silently
2013-12-26 22:29:29 -05:00
Mike Blumenkrantz a00b8354b5 bugfix: infinite printing of SLEEP with release build
T690
2013-12-24 20:52:59 -05: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 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
Cedric BAIL 147f088efa gdb: detect that the file was generated properly.
This is a workaround kernel that prevent ptrace to another process.
2013-12-19 16:39:46 +09:00
Cedric BAIL fd271ba0c8 gdb: don't forget to turn on file logging to get anything useful. 2013-12-19 16:17:59 +09:00
Mike Blumenkrantz 292bcf6e81 only allow backlight to go to 0.1, not 0.0
on some backlight devices, 0.0 is completely off, which can render the system unusable.

T651
2013-12-17 11:22:56 -05:00
Shawn Lee 7c2d0c7bdd fix - enlightenment could be fell in infinite loop in e_border_focus_set().
Reviewers: seoz, zmike

CC: cedric, raster

Differential Revision: https://phab.enlightenment.org/D382
2013-12-15 13:33:00 -05:00
Mike Blumenkrantz 7435381907 only clip shelf object to zone if shelf is not a popup
T629
2013-12-13 09:09:56 -05:00
Mike Blumenkrantz ec484b1317 force unmount/eject on udisks2 filesystem removal, also remove undocumented fixme from seb
T432, T398
2013-12-12 10:43:30 -05:00
Mike Blumenkrantz 0c2d21558f fix a magnificent typo in my last commit 2013-12-10 15:37:57 -05:00
Mike Blumenkrantz a7d1a4588e only revert focus to a sticky window on desk flip if there's no other window to revert to
T625
2013-12-10 15:36:28 -05:00
Mike Blumenkrantz b0854dedd1 remove unused variable 2013-12-10 15:36:28 -05:00
Mike Blumenkrantz caa41d0c7c force hide of new shelves when not visible 2013-12-10 15:36:28 -05:00
Sebastian Dransfeld ae8a067e6d e: Check whether allocation succeeds
CID 1039865
2013-12-10 20:37:17 +01:00
Sebastian Dransfeld 06a85fca4d e: check for NULL value in parameter
CID 1040146
2013-12-10 20:35:45 +01:00
Sebastian Dransfeld e818c83322 e: ignore signals with no signal
A signal needs a name to be handled.

CID 1040147
2013-12-10 20:31:26 +01:00
Sebastian Dransfeld 43a4f21e06 e: double paranthesis as gcc suggests
Since we assign and check for true value in one operation, use double
paranthesis.
2013-12-10 20:30:15 +01:00
Sebastian Dransfeld 5820112ba3 e: remove un-needed NULL check.
bdname = params, which is already checked

CID 1039830, 1039831
2013-12-10 20:19:46 +01:00
Sebastian Dransfeld d5853ddc2c e: Check for error reading lid status 2013-12-10 20:15:21 +01:00