Commit Graph

220 Commits (a5c6b2653ecaf55a293a3eb93bb7bb8db4afec7b)

Author SHA1 Message Date
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
James Cassidy aaad9c0e7a refresh pam credentials on successful authentication 2015-03-26 09:26:48 -04:00
Michael Stapelberg de152b1f29 disable clang temporarily 2015-03-17 09:00:15 +01:00
Michael Stapelberg 8156de120a commit missing .clang-format 2015-03-17 08:50:50 +01:00
Michael Stapelberg a0bca728c9 add travis config 2015-03-17 08:42:49 +01:00
Michael Stapelberg 68b78a7f57 clang-format -i **/*.[ch]
From here on, we’ll use clang-format to automatically format the source.

This has worked well in i3, so we are introducing it for i3lock.
2015-03-16 18:47:16 +01:00
Michael Stapelberg 783509b872 Merge pull request #6 from danielotero/master
Add support for Compose and dead-keys with libxkbcommon
2015-02-12 23:08:35 +01:00
Daniel Otero 86323f6e04 Update the key symbol if the composing ends. 2015-02-12 21:38:37 +01:00
Daniel Otero 9e48c74be1 Avoid handle a keysym if the compose state gets cancelled
This is the approach taken by libX11, and feels more consistent.
2015-02-12 11:22:58 +01:00
Daniel Otero 562e824246 Remove xkb_context initialization code from load_compose_table
xkb_context is guaranteed to be initializated from load_keymap.
2015-02-12 11:12:38 +01:00
Daniel Otero ef3ef30400 Add support for Compose and dead-keys with libxkbcommon 2015-02-12 00:37:23 +01:00
Michael Stapelberg 3898f75672 Merge pull request #3 from stibi/whoami
getting current user with whoami like function rather than from env variable
2015-01-06 08:34:35 +01:00
Martin Stiborsky 665ce3e215 getpwuid call moved 2015-01-06 00:02:23 +01:00
Martin Stiborsky 6ffe86ca12 null check for getpwuid and pw_name 2015-01-05 22:54:32 +01:00
Martin Stiborsky 7d52029ae3 removed the whoami function, replaced with an inline getpwuid call 2015-01-05 19:54:48 +01:00
Martin Stiborsky a3839aa69f getting current user with whoami like function rather than from env variable 2015-01-05 11:46:11 +01:00
Michael Stapelberg ec9a5f638b Merge pull request #1 from koebi/master
added debug-flag to manpage
2014-12-27 22:21:33 +01:00
koebi 04859823ca debugging outputs the password, so the manpage should mention that 2014-12-27 22:19:07 +01:00
koebi 9fa9802b26 added debug-flag to manpage 2014-12-27 21:54:41 +01:00
Michael Stapelberg 1dce3ad1c8 README is actually in markdown, so tell github that 2014-12-26 21:03:12 +01:00
Michael Stapelberg 7af3d0b7e4 make github the canonical i3lock repository 2014-12-26 21:02:58 +01:00
Neodyblue 8a630bec65 Ignore password validation is pam is in wrong state
This add a protection against wrong password spamming
2014-10-13 17:53:49 +02:00
koebi 0cbf483cb4 implemented logging the number of failed attempts
This closes #1243
2014-08-24 23:27:00 +02:00
Michael Stapelberg 7f450a52f6 Die when the X11 connection breaks during runtime (Thanks Eduan) 2014-08-21 09:34:03 +02:00
Michael Stapelberg 7bb152664f update the changelog/readme for 2.6 2014-07-18 20:24:53 +02:00
Michael Stapelberg 4724d4abf0 remove obsolete xkb_state_update_key() calls (Thanks Ran) 2014-06-21 16:32:18 +02:00