195 Commits (033061aee602a54f65340e2a300054d2790c22ea)

Author SHA1 Message Date
Ryan Dwyer 04489ff420 Separate root-related code
6 years ago
Brian Ashworth a7f7d4a488 Write to swaynag pipe fd directly on config errors
6 years ago
Brian Ashworth f9a6407111 Show swaynag on config errors
6 years ago
Ian Fan e8b179e313 ipc: add shutdown event
6 years ago
Brian Ashworth ec65286606 Fix deferred command handling
6 years ago
Ryan Dwyer a120d4c79f Make focus part of transactions
6 years ago
Drew DeVault b1afcc69fa Add extended debugging flags
6 years ago
emersion 63b4bf5000
Update for swaywm/wlroots#1126
6 years ago
Dominique Martinet 7ef08ffbe6 pango/cairo: set default font map to NULL to free it
6 years ago
Dominique Martinet b0918b1058 ipc-server: add display destroy listener and remove ipc_terminate
6 years ago
Dominique Martinet c092f1fe6a startup: move setenv WAYLAND_DISPLAY before config execs
6 years ago
Dominique Martinet 1b7f554474 log_kernel: s/fclose/pclose/ (for popen'd FILE)
7 years ago
Tobias Blass a5c091e302 Perform (partial) server initialization before dropping privileges.
7 years ago
Tobias Blass d6d292897f Remove suspicious unconditional return
7 years ago
Dominique Martinet 89ae1792b5 sway: run commands without waiting for Xwayland
7 years ago
Drew DeVault 603e0e42c5 Add debug tree view
7 years ago
Tony Crisci f7a20726fc temporarily add LD_LIBRARY_PATH stuff
7 years ago
Tony Crisci dc8c9fbeb6 Revert "Merge pull request #1653 from swaywm/revert-1647-refactor-tree"
7 years ago
Drew DeVault d0c7f66e95
Revert "Refactor tree"
7 years ago
Tony Crisci ed2cedb544 rename layout init
7 years ago
Tony Crisci 874f009866 move tree includes to their own directory
7 years ago
Dominique Martinet f5b33cb4b6 fix typos in comments/messages; add shutting down message
7 years ago
Calvin Lee 7196f59db0 Consolidate WLR and Sway logging
7 years ago
Tony Crisci 9fa70ce426 Merge branch 'wlroots' into feature/input
7 years ago
Tony Crisci 9eecbb5d8a xkb config
7 years ago
Tony Crisci 9333a7eb53 working xcursor
7 years ago
emersion aaae59026f
Add output config
7 years ago
emersion 90f7f1a0e6
Add minimal config subsystem
7 years ago
Tony Crisci 7152075681 log env after ipc init
7 years ago
Tony Crisci 9696f50eba remove nvidia support claim
7 years ago
Drew DeVault 7753a0ec75 Wire up IPC server
7 years ago
Drew DeVault db4fb1c85c Add outputs to the tree
7 years ago
Drew DeVault 733993a651 Move everything to sway/old/
7 years ago
Drew DeVault 7eafcc75f6 Initialize outputs from backend and add to tree
7 years ago
Drew DeVault 7c448b4081 Fire up the wlroots backend and run the event loop
7 years ago
Dan Robertson 88d042ec49
nvidia: Validate the nvidia_drm module options
7 years ago
azarus 5987f19eb2 Check for Raspberry Pi
7 years ago
johalun 7fef283044 FreeBSD fixes
8 years ago
Mykyta Holubakha 93cf21fb9a Terminate when both suid bit and filecaps are set
8 years ago
Mykyta Holubakha f736198c31 Initialise logging earlier
8 years ago
Sebastian Noack 173b338567 Add -DVERSION flag for release version numbers
8 years ago
Drew DeVault b3541d9dc5 Implement more thourough nvidia config check
8 years ago
Drew DeVault b036ad9b54 Downgrade nvidia proprietary driver warning
8 years ago
JerziKaminsky aa6bd85da1 Add libcap check to CMake
8 years ago
Drew DeVault 9aed9d9359 UnGNUify the codebase
8 years ago
Drew DeVault 407ebe9cd3 Move env logging to earlier than wlc_init
8 years ago
Drew DeVault 126ce571da Read configs from /etc/sway/security.d/*
8 years ago
Mykyta Holubakha 138bcd0cfa Unset LD_LIBRARY_PATH, unless specified
8 years ago
Mykyta Holubakha d9ba61d7e9 Log capability dropping
8 years ago
Mykyta Holubakha ea1313d80d Keep CAP_SYS_PTRACE with suid binary
8 years ago
Drew DeVault 1172566d4e Change how security config is loaded
8 years ago
Drew DeVault 4c6c65e70c Handle malloc failures from read_line
8 years ago
Greg V da26d69cb1 Fix build on FreeBSD
8 years ago
Drew DeVault 979878d8af Decrement expected_len
8 years ago
Drew DeVault cdecf3c495 Drop restart command from sanity check
8 years ago
Drew DeVault 8577095db7 Check for CAP_SYS_PTRACE
8 years ago
Drew DeVault a4e92ad272 Deal with LD_LIBRARY_PATH
8 years ago
Drew DeVault 10c2125040 Unset LD_PRELOAD on startup (before dropping root)
8 years ago
Drew DeVault 04fc10feeb Flesh out security_sanity_check
8 years ago
Drew DeVault dc4b57c868 Shut Clang up
8 years ago
Drew DeVault 5831f7ab68 Write example security config, start on code
8 years ago
Drew DeVault d3e55f88ec Log LD_LIBRARY_PATH
8 years ago
Drew DeVault 78b65e2317 Remove duplicate redhat-release line
8 years ago
Drew DeVault 7aef6e66ae Log uname -a on startup
8 years ago
Drew DeVault 6ad2186f0e Log contents of distro version files
8 years ago
Drew DeVault 0d6cbcacbe Log important env vars on startup
8 years ago
Patrick Sauter 153620aefe moved ipc_init above config file processing.
8 years ago
D.B 5e585f9603 Split setgid and setuid, add privilege check
8 years ago
Drew DeVault 416417a54c Reorganize includes
8 years ago
Daniel Lockyer c9d634414a sway/main.c: simplify free'ing by switching to the helper method
9 years ago
Drew DeVault 54c635ca16 Update to wlc 0.0.2
9 years ago
Mikkel Oscar Lyderik 71a5350b68 Implement include command
9 years ago
Mikkel Oscar Lyderik 938ff29b7b Gracefully exit when config is not found
9 years ago
Drew DeVault 06107bb44e Make the nvidia warning louder
9 years ago
Drew DeVault fd061d4dc4 Don't set WLC_DIM on startup
9 years ago
Drew DeVault 5c85c018b4 Update to new WLC API
9 years ago
Mikkel Oscar Lyderik 67bbcceba1 Free config before exiting sway.
9 years ago
Mikkel Oscar Lyderik 5e253fdd9a Correctly exit sway on errors.
9 years ago
Yacine Hmito c400ca8f88 Fix for when sway_abort doesn't exit
9 years ago
Yacine Hmito e239fbbd88 No options when using sway as IPC client
9 years ago
Yacine Hmito 179192e222 Removed p as a valid CLI option
9 years ago
crondog cd0eaf00da Prevent ipc from crashing sway
9 years ago
Cole Mickens 28081b7689 libinput
9 years ago
Mikkel Oscar Lyderik 2e0ef533f2 Init layout before checking config
9 years ago
Mikkel Oscar Lyderik 16b8c2e915 Handle SIGTERM sent to sway
9 years ago
Streetwalrus Einstein 774ffbe0d5 Detect proprietary AMD drivers too
9 years ago
Drew DeVault af80b12add Implement invoking `sway` as IPC client
9 years ago
Drew DeVault 25ad3181f5 Merge pull request #276 from sce/earlier_logging
9 years ago
S. Christoffer Eliesen c26a4b42cf main: Setup logging before wlc_init.
9 years ago
Christoph Gysin 923c3245ac Fix option parsing
9 years ago
Christoph Gysin 2f2e1f3fc7 sway: Add --help option that prints usage
9 years ago
Christoph Gysin e48a16ce5e sway: Print usage and exit on unknown options
9 years ago
Christoph Gysin 3ba33321de Use macros for exit values
9 years ago
S. Christoffer Eliesen 20cb390323 sway/main: Move wlc init to after args are handled.
9 years ago
Drew DeVault 27f03c705d Move IPC client into common, refactor IPC
9 years ago
Drew DeVault 82db2a57a9 Basic support for extensions in server and clients
9 years ago
S. Christoffer Eliesen f64b7e71d4 ipc: Store socketname in SWAYSOCK. Fixes `--get-socketpath`.
9 years ago
S. Christoffer Eliesen 3be11a08e6 main: Implement --get-socketpath switch.
9 years ago
taiyu 18f4905e62 #187, let init handle child processes
9 years ago
Drew DeVault 5bcecbb751 Revert "#187 cleanup zombies properly"
9 years ago