Commit Graph

345 Commits (main)

Author SHA1 Message Date
Ingo Bürk 8293749cfb Merge pull request #132 from stapelberg/fix-version
Fix version
2017-06-18 18:32:46 +02:00
Michael Stapelberg a0abccf8f3 Makefile: fix I3LOCK_VERSION replacement
fixes #129
2017-06-18 17:56:05 +02:00
Michael Stapelberg 90c24c3a28 update I3LOCK_VERSION (forgotten at release time) 2017-06-18 17:55:56 +02:00
Michael Stapelberg 5ab19daa5c update CHANGELOG 2017-05-26 09:49:44 +02:00
Ingo Bürk 7cf393fb7e Merge pull request #125 from jasperla/mlock
Restore intended behaviour and don't use mlock(2) on OpenBSD.
2017-05-06 12:25:11 +02:00
Jasper Lievisse Adriaanse ea65a5292d Restore intended behaviour and don't use mlock(2) on OpenBSD. 2017-04-17 21:06:19 +02:00
Michael Stapelberg 0bed914e8e Merge pull request #123 from jasperla/bsdauth
Add support for bsd_auth(3) as authentication backend
2017-04-17 17:00:39 +02:00
Jasper Lievisse Adriaanse 68fc2e8b5f Use bsd_auth(3) instead of PAM on OpenBSD
Also apply two security measures for OpenBSD:
- use explicit_bzero(3)
- mlock(2) works for non-root users too
2017-04-17 15:06:59 +02:00
Jasper Lievisse Adriaanse 15973d1f52 Move all PAM code behind UES_PAM and enable that by default. 2017-04-15 09:49:41 +02:00
Jasper Lievisse Adriaanse c1de117825 Rename all PAM-independant variables/comments.
there is nothing PAM-specific about pam_state or pam_state_t. therefore
rename them to be authenticator independant.
2017-04-15 09:44:09 +02:00
Ingo Bürk 512c10f1dd Merge pull request #122 from jasperla/dpms
Remove last traces of DPMS
2017-04-15 03:56:24 +02:00
Jasper Lievisse Adriaanse 5aff9594aa Remove last traces of DPMS 2017-04-14 20:00:23 +02:00
martin 80d4452ec6 Fix covering of composited notifications (#96)
Use the XComposite extension to get the composite overlay window,
instead of just using the normal root window. This ensures that
composited windows are covered.
2017-03-26 09:01:23 -04:00
Bownairo 9c8ae8b5d1 Change input slices to be exactly pi/3 in size instead of slightly more (#107) 2017-01-10 09:01:19 +01:00
Nicolò Balzarotti 7504e16527 Add Enter on C-m (#103) 2016-11-09 13:23:01 -08:00
eplanet d2130092cf Display error message when locking failed (#99)
To give a feedback for when the pointer couldn't be grabbed,
displaying an error message before exiting.
2016-10-11 13:40:51 -07:00
eplanet 1c97a84847 Displaying locking message when grabbing the pointer/keyboard. (#88)
Display "locking…" message when grabbing the pointer/keyboard,
after at least 250 ms of unfruitful attempts. If grabbing
eventually fails, application will not fork and return 1.
2016-09-27 18:39:52 -07:00
Diogo Ferreira fd2215b0f0 i3lock: Stop leaking the image_path dup. (#93) 2016-09-13 21:59:54 +02:00
koebi 17b7b77893 unlock automatically after authentication failure (#90)
This will make i3 unlock automatically after authentication failure and
correct input without pressing <Enter> again after the "wrong"-indicator
is gone.
2016-09-04 18:22:49 +02:00
Vasilij Schneidermann 893aff1bd0 Set font face (#89) 2016-08-18 11:53:19 -07:00
eplanet 0d111aaede Added version files for release tarball. Fixes #40 (#86) 2016-08-13 13:46:35 -07:00
Florian Zipperle cca7d4e6c3 Removed obsolete inactivity timeout (#84)
* Removed obsolete inactivity timeout
2016-07-20 07:50:07 +01:00
Michael Stapelberg 679fb57acc i3lock.1: use signal names without SIG prefix (Thanks rodfersou)
see #32
2016-06-20 19:46:38 +02:00
Michael Stapelberg 619c791a20 update CHANGELOG 2016-06-04 19:26:57 +02:00
Michael Stapelberg ce1c5cecc0 clang-format-3.5
Not sure why travis didn’t warn about this on the PR. The only reference
to the PR I can find is https://travis-ci.org/i3/i3lock/builds/130470377
2016-06-03 17:46:29 +02:00
Michael Stapelberg a5c6b2653e add CONTRIBUTING.md
…so that people know we don’t want to extend i3lock’s image handling.

related to #81, #68, #31
2016-06-03 17:28:43 +02:00
Christoph Ruegge 463d38fed6 Add support for `xss-lock --transfer-sleep-lock' (#75)
Add support for `xss-lock --transfer-sleep-lock'
2016-05-25 22:21:12 +02:00
martin 402254b575 Flush xcb connection after opening fullscreen window (#74)
We need to ensure that the window handle is valid, i. e. the window is
actually created and accessible, before returning.

This is necessary because we immediately fork after returning, and the
child process opens its own X11 connection and expects the window handle
to be valid.

Fixes #46
2016-05-25 22:19:17 +02:00
Karl Tarbe 9a7604bb35 Allow CTRL+J as enter and CTRL+H as backspace (#72)
fixes #71
2016-04-30 11:25:51 +01:00
Michael Stapelberg 59705b05b5 Show unlock indicator if password was entered during PAM verification
fixes #51
2015-12-25 22:10:06 +01:00
Michael Stapelberg 0bdc0c644d Eat XKB_KEY_Delete and XKB_KEY_KP_Delete (Thanks bebehei)
fixes #50
2015-12-25 15:44:46 +01:00
Michael Stapelberg cc73d88aea Remove libxkbfile dependency from README.md/comments
It has not been in use since commit 7eb43aeabd
2015-11-07 14:51:02 +01:00
Michael Stapelberg b181e3137b use trusty, install libxkbcommon-dev from wily 2015-11-07 14:50:36 +01:00
Michael Stapelberg d15cb5978e travis: install clang-format-3.5 from llvm repository
Ubuntu utopic disappeared from archive.ubuntu.com, it’s EOL.
2015-11-06 08:52:48 +01:00
Michael Stapelberg 688d49d5b8 fix pam_securetty: set PAM_TTY to getenv("DISPLAY")
fixes #43
2015-11-05 23:22:08 +01:00
Michael Stapelberg 929e541fb7 Remove DPMS support in favor of a wrapper script and xset(1).
fixes #32
2015-08-11 21:50:42 +02:00
Michael Stapelberg c5bb1d55e0 Merge pull request #24 from ixjlyons/timeout-doc
Indicate that the --inactivity-timeout option takes an argument.
2015-07-02 23:30:44 -07:00
Kenneth Lyons d91c20a9f2 Indicate that the --inactivity-timeout option takes an argument. 2015-07-02 14:45:30 -07:00
Michael Stapelberg 105a86dc57 update CHANGELOG 2015-05-20 09:14:39 +02:00
Michael Stapelberg 5b7ee05581 makefile: s/README/README.md/ 2015-05-20 09:00:19 +02:00
Michael Stapelberg a0ac8cd87d Merge pull request #14 from ony/master
Make pkg-config configurable
2015-04-27 09:44:57 -07:00
Nikolay Orlyuk a02789367c Make pkg-config configurable 2015-04-27 17:46:27 +03:00
Michael Stapelberg 8a49effade Merge pull request #13 from Airblader/feature-12
Only redraw the screen if the unlock indicator is actually used.
2015-04-25 00:27:06 +02:00
Ingo Bürk b4c97bddf7 Only redraw the screen if the unlock indicator is actually used.
fixes #12
2015-04-24 23:36:24 +02:00
Michael Stapelberg 02f3d44dcf Merge pull request #11 from Deiz/update-notices
Update copyright notices and get rid of ranges
2015-04-21 22:51:58 +02:00
Deiz dda29f93a1 Update copyright notices and get rid of ranges
The script used to make these changes can be found at:

   https://gist.github.com/Deiz/32322020f76d23e2bf8f
2015-04-21 11:53:09 -04:00
Michael Stapelberg cb1b06f351 Merge pull request #10 from Deiz/modifiers
List generic pressed modifiers on failure
2015-03-29 22:59:39 +02:00
Deiz b4f6dae10e List generic pressed modifiers on failure 2015-03-29 16:22:31 -04:00
Alexandre Boeglin a9ecf1e0c9 Add capslock and numlock indicators
When the unlock indicator warns the user that a password was typed
wrong, it now also reports the state of the capslock and numlock
modifiers.

Signed-off-by: Alexandre Boeglin <alex@boeglin.org>
2015-03-28 14:50:05 -04:00
Michael Stapelberg fe99346fb1 Merge pull request #9 from qfire/master
refresh pam credentials on successful authentication
2015-03-27 08:31:58 +01:00