aboutsummaryrefslogtreecommitdiff
path: root/swaylock
AgeCommit message (Collapse)AuthorLines
2017-12-17Adaptions for API change in json-c v0.130.15.1Björn Esser-2/+2
Lift restriction on json-c <= 0.12.1 ipc-server: Acquire ownership of referenced json_object properly When adding a referenced json_object with an unknown lifetime to another json_object, it must be done with a wrapped call to json_object_get() to acquire the ownership of that json_object.
2017-12-17Revert "Merge remote-tracking branch 'besser82/bugfix/json-c' into 0.15"Drew DeVault-2/+2
This reverts commit 1c4a086e7556475139960a25cb642f115d057c23, reversing changes made to 1263ea6497c732bfa1835eea4a8ffe2e6ea6e377.
2017-12-17Merge remote-tracking branch 'besser82/bugfix/json-c' into 0.15Drew DeVault-2/+2
2017-12-16Merge pull request #1519 from ggreer/clear-password-buffer-0.15Drew DeVault-30/+25
Swaylock: Clear password buffer after use.
2017-12-14Swaylock: Clear password buffer after use.Geoff Greer-30/+25
After a user enters or clears a password, try to overwrite the buffer containing it. That way it's not sitting around in RAM for something else to read later. Also, mlock() the password buffer so that it is never swapped out. This also replaces the dynamically allocated buffer with a static char[1024]. Any characters past that are discarded until the user hits enter or escape.
2017-12-14Adaptions for API change in json-c v0.13Björn Esser-2/+2
2017-12-13Fix `swaylock -f`Calvin Lee-25/+29
This commit makes swaylock poll the registry the first time in its fork in order for sway to recognize it and grant it lock privileges
2017-10-08Document swaylock -f, scratchpad showDrew DeVault-0/+4
2017-10-06Fix github links in docZuzana Svetlikova-1/+1
2017-08-09Clean up fallthrough issuesDrew DeVault-57/+51
2017-07-31Allow swaylock indicator size to be configurableCalvin Lee-10/+25
2017-07-04Make asciidoc (and man pages) optionalDrew DeVault-1/+3
And remove it from the build
2017-06-18Correct swaylock man page description of -i and -cAndrew Conrad-4/+5
2017-04-26Add -DVERSION flag for release version numbersSebastian Noack-5/+1
2017-03-10UnGNUify the codebaseDrew DeVault-2/+7
2017-02-25Correct typo in swaylock(1)Drew DeVault-1/+1
2017-02-25Improve swaylock manFabio Alessandro Locati-2/+3
2017-02-21Documentation and style fixes for swaylockCalvin Lee-100/+83
2017-02-21Feature for #1078: Configurable swaylock colorsCalvin Lee-37/+211
Colors are configured through the command line so that swaylock conforms to the i3lock fork 'github.com/chrjguill/i3lock-color'. Differences from it are that one letter options '-r' and '-s' are not implimentend because '-s' is already used by '--scaling' in swaylock. This commit also fixed whitespace in 'include/swaylock/swaylock.h' and changed `parse_color` in 'common/util.h' so that it can accept colors that do not start with a hash. This was done to keep compatability with the i3lock fork.
2016-12-27fix #971Zandr Martin-2/+2
2016-12-20Clear swaylock properly during re-renderDrew DeVault-0/+5
Fixes #999
2016-12-02Run config files through sed and install to /etcDrew DeVault-1/+1
2016-10-05Explicitly set cairo font to avoid wonky fallbackVasilij Schneidermann-0/+1
See also https://github.com/i3/i3lock/pull/89
2016-09-05Add client support for HiDPIDrew DeVault-24/+29
This adds HiDPI support to swaybar, swaybg, and swaylock.
2016-09-01Reorganize includesDrew DeVault-2/+1
2016-07-15Fix warning from unused daemon return valueDrew DeVault-1/+4
2016-07-13swaylock: Add -f option to detach from the controlling terminal, fixes #725David Eklov-1/+7
2016-06-26Bug fix: Add missing header file, unistd.hDavid Eklov-0/+1
Without unistd.h the following functions getuid, alarm and close are implicitly declared causing compilation to fail due to -Werror=implicit-function-declaration
2016-06-04make numpad enter key work in swaylockZandr Martin-2/+3
see issue #647
2016-06-04add documentation for client commandsZandr Martin-1/+1
2016-05-26add --no-unlock-indicator to swaylockZandr Martin-2/+12
2016-05-26clear swaylock password buffer with escZandr Martin-2/+3
for i3lock compatibility
2016-05-26clear password buffer with ctrl-u in swaylockZandr Martin-0/+34
also prevent screen redraws on modifier key presses
2016-04-28Fix missing include pathsTomáš Čech-1/+2
When headers were installed in more sofisticated places (but package config knows it right), it revealed missing paths in CMake configuration. Lets fix it.
2016-04-25swaylock: fix double freeKevin Hamacher-2/+1
2016-04-23swaylock: Fix swaylock.pamwdbw-2/+2
Change swaylock.pam to make it work on Debian-based systems also.
2016-04-10swaylock: Handle possible fail on password reallocMikkel Oscar Lyderik-2/+15
2016-04-03Improve swaylock event flushingKevin Hamacher-8/+10
2016-03-31swaylock: improve graphical feedbackKevin Hamacher-1/+2
2016-03-27Squash warning about uninitialized variableDrew DeVault-1/+1
2016-03-25Add graphical feedback to swaylock (#526)Kevin Hamacher-74/+216
2016-03-24Replace with in swaylockNuew-6/+5
2016-03-24Change 'display' to 'output' in swaylock error messages where necessaryNuew-4/+4
2016-03-24Change 'display' to 'output' in swaylock docs where necessaryNuew-9/+9
2016-03-24Add choice of display to --image.Nuew-37/+132
Additionally - Made background colors display when an image is enabled if a --color is specified. - Link CJson to swaylock. - Add the --socket option to swaylock.
2016-03-24swaylock: Interpret XKB_KEY_BackSpace as a deletion instead of a normal key.Julius Michaelis-0/+8
2016-03-23swaylock: Fix crash when unable to connect to wlMikkel Oscar Lyderik-1/+7
Prevent swaylock from crashing when it can't connect to wayland for whatever reason. i.e. XDG_RUNTIME_DIR not set. Fix #534
2016-03-21swaylock: Grow the password bufferGökberk Yaltıraklı-2/+9
2016-03-01add a manpage for swaylockAaron Ouellette-0/+48
2016-02-26Correctly exit sway on errors.Mikkel Oscar Lyderik-2/+2
Calling `exit` in sway_terminate prevents sway from correctly shutting down (freeing data, cleanly terminating the ipc server, etc.). A better way is to exit straight away if the failure occurs before `wlc_run` and use sway_abort as usual if it occur when wlc is running.