156 Commits (43875c437b8224d917304046fc92fc4db62a0d98)

Author SHA1 Message Date
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
taiyu 5539fd89be #187 cleanup zombies properly using default
9 years ago
Drew DeVault 318e1be240 Fix warnings introduced by prior commit
9 years ago
Drew DeVault 8e25ce4e57 Fix build for debian stretch
9 years ago
Drew DeVault 1756a4f2da fclose /proc/modules when we're done with it
9 years ago
Drew DeVault 4ef60e7c09 Add check for nvidia module and warn user
9 years ago
Drew DeVault eb003689a3 Log sway version on startup
9 years ago
Luminarys 42de135c3a Added in better versioning info
9 years ago
taiyu 1fa7a91bfb move_container_to fixup
9 years ago
Luminarys 38cfdf99f4 Added in build version based on git hash
9 years ago
taiyu e121258426 longopt minor fix
9 years ago
Drew DeVault e78221e6a0 Prefix log events from wlc with [wlc]
9 years ago
Drew DeVault ac2034df99 Handle wlc log events
9 years ago
Drew DeVault 2a799a731f Remove wlc logging stuff
9 years ago
minus f26ed32e46 added sway_terminate to exit cleanly
9 years ago
minus 91c0877264 properly exit sway
9 years ago
minus 8981b48cd2 very basic IPC implementation
9 years ago
Drew DeVault 579fe70ed9 Add command line parsing
9 years ago
Drew DeVault 3f3d1ffee4 Rearrange main.c some more
9 years ago
Luminarys 7427ce8930 Switched config loading order to prevent root access w/wlc
9 years ago
Drew DeVault a092df52da Remove WLC_IDLE_TIME environment variable
9 years ago
Drew DeVault 6e8280e7fd Config errors should not be fatal
9 years ago
Drew DeVault 0ed6501aa4 Set WLC_IDLE_TIME to 0
9 years ago
Luminarys ea9efc884d Allowed for execd commands to be spawned after abort
9 years ago
Luminarys 2c9f5eca89 Fixes to workspace generation
9 years ago
Taiyu 5df5b00989 moved signal handling to main
9 years ago
Taiyu 0f387483fd moving stuff around
9 years ago
Luminarys a5b02791d4 Changed command handler to perform var subs on all cmd args
9 years ago
Drew DeVault 96d7ff1e19 Slightly better multihead support
9 years ago
Drew DeVault 54374d81b5 Fix some errors with config loading
9 years ago
Luminarys 508980e3ab Abstracted load_config
9 years ago
Luminarys c0ee2a6406 Added in reload and exec_always handling
9 years ago
Drew DeVault c741de8ca4 Override WLC_DIM by default
9 years ago
Drew DeVault b075b06478 Load config after xwayland is created
9 years ago
Drew DeVault 4924628ac2 Set DISPLAY to :1 automatically
9 years ago
Drew DeVault f97a48d5b7 Implement focus_follows_mouse
9 years ago
Drew DeVault a78b921803 Implement key bindings
9 years ago
Drew DeVault c7be30d912 Deny window resize requests
9 years ago
Drew DeVault 0427fddb5a Add logging and new windows into layout tree
9 years ago
Drew DeVault c102f18499 Add layout containers for new outputs
10 years ago