Michael Stapelberg
8a49effade
Merge pull request #13 from Airblader/feature-12
Only redraw the screen if the unlock indicator is actually used.
10 years ago
Ingo Bürk
b4c97bddf7
Only redraw the screen if the unlock indicator is actually used.
fixes #12
10 years ago
Michael Stapelberg
02f3d44dcf
Merge pull request #11 from Deiz/update-notices
Update copyright notices and get rid of ranges
10 years ago
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
10 years ago
Michael Stapelberg
cb1b06f351
Merge pull request #10 from Deiz/modifiers
List generic pressed modifiers on failure
10 years ago
Deiz
b4f6dae10e
List generic pressed modifiers on failure
10 years ago
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>
10 years ago
Michael Stapelberg
fe99346fb1
Merge pull request #9 from qfire/master
refresh pam credentials on successful authentication
10 years ago
James Cassidy
aaad9c0e7a
refresh pam credentials on successful authentication
10 years ago
Michael Stapelberg
de152b1f29
disable clang temporarily
10 years ago
Michael Stapelberg
8156de120a
commit missing .clang-format
10 years ago
Michael Stapelberg
a0bca728c9
add travis config
10 years ago
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.
10 years ago
Michael Stapelberg
783509b872
Merge pull request #6 from danielotero/master
Add support for Compose and dead-keys with libxkbcommon
10 years ago
Daniel Otero
86323f6e04
Update the key symbol if the composing ends.
10 years ago
Daniel Otero
9e48c74be1
Avoid handle a keysym if the compose state gets cancelled
This is the approach taken by libX11, and feels more consistent.
10 years ago
Daniel Otero
562e824246
Remove xkb_context initialization code from load_compose_table
xkb_context is guaranteed to be initializated from load_keymap.
10 years ago
Daniel Otero
ef3ef30400
Add support for Compose and dead-keys with libxkbcommon
10 years ago
Michael Stapelberg
3898f75672
Merge pull request #3 from stibi/whoami
getting current user with whoami like function rather than from env variable
10 years ago
Martin Stiborsky
665ce3e215
getpwuid call moved
10 years ago
Martin Stiborsky
6ffe86ca12
null check for getpwuid and pw_name
10 years ago
Martin Stiborsky
7d52029ae3
removed the whoami function, replaced with an inline getpwuid call
10 years ago
Martin Stiborsky
a3839aa69f
getting current user with whoami like function rather than from env variable
10 years ago
Michael Stapelberg
ec9a5f638b
Merge pull request #1 from koebi/master
added debug-flag to manpage
10 years ago
koebi
04859823ca
debugging outputs the password, so the manpage should mention that
10 years ago
koebi
9fa9802b26
added debug-flag to manpage
10 years ago
Michael Stapelberg
1dce3ad1c8
README is actually in markdown, so tell github that
10 years ago
Michael Stapelberg
7af3d0b7e4
make github the canonical i3lock repository
10 years ago
Neodyblue
8a630bec65
Ignore password validation is pam is in wrong state
This add a protection against wrong password spamming
10 years ago
koebi
0cbf483cb4
implemented logging the number of failed attempts
This closes #1243
11 years ago
Michael Stapelberg
7f450a52f6
Die when the X11 connection breaks during runtime (Thanks Eduan)
11 years ago
Michael Stapelberg
7bb152664f
update the changelog/readme for 2.6
11 years ago
Michael Stapelberg
4724d4abf0
remove obsolete xkb_state_update_key() calls (Thanks Ran)
11 years ago
Michael Stapelberg
1b89709ae7
listen for XKB events instead of the MappingNotify event (Thanks Ran)
11 years ago
Michael Stapelberg
7eb43aeabd
little cleanups thanks to Ran Benita’s review
11 years ago
Michael Stapelberg
0beb9a47b1
use libxkbcommon-x11 instead of libX11
11 years ago
Michael Stapelberg
6191590e5c
Scale the unlock indicator (for retina displays)
11 years ago
Vytautas Šaltenis
e2dd1543e9
Cleanup scattered timer calls to use macros
11 years ago
Vytautas Šaltenis
4ff1d7fc5c
Ignore empty passwd after repeated Enter keypress
When no ignore_empty_password flag is specified, but Enter key is held
down for some time, i3lock enters a finite, but hours-long loop
verifying empty password. Don't do that, skip empty password
verification if nothing was pressed after last Enter keypress.
Again, making the software cat-proof.
11 years ago
Vytautas Šaltenis
178b858116
Fix typo in manual
11 years ago
Vytautas Šaltenis
e5f86339bc
Fix typo
11 years ago
Vytautas Šaltenis
52541fb7ee
Discard half-entered passwd after some inactivity
When you start typing a password and then wander off, let's discard that
attempt after a few minutes of inactivity (and turn off the monitors if
dpms is on).
This is a real actual case of making the software cat-proof: when my cat
treads over the keyboard at night, I don't want the monitors to shine
for the rest of the night.
11 years ago
Vytautas Šaltenis
c7cd4cd3b5
Delay to turn off the screen after wrong passwd
Also add flag for number of seconds to wait for it.
When user cancels the password or enters a wrong one, i3lock will wait
for some time before putting the monitors back to sleep. By default it's
30 seconds, but this flag allows to control that.
11 years ago
TheKK
15ddf304be
Replace '1' with "EXIT_FAILURE"
11 years ago
Vytautas Šaltenis
2509c987d1
Extract start/stop timer code to reusable funcs
11 years ago
Vytautas Šaltenis
d91fdc368e
Extract if(dpms) calls to wrapper functions
11 years ago
Philippe Virouleau
6c34f6aa40
Turn on the screen on successful authentication
As described in ticket #1114 , the screen may be left turned off on successful
authentication. This commit fixes this behaviour by turning the screen back on
after the authentication.
Fixes #1114
11 years ago
Michael Stapelberg
ac8bbad523
Re-raise i3lock when obscured in a separate process
This is cleaner than commit a305e62
(running authentication in a
separate process) because we don’t lose the feature that X11 will buffer
KeyPresses for us while the process blocks on PAM. See
http://cr.i3wm.org/patch/305 for the amount of code (and new known bugs)
that would have to be introduced to make a305e62
work.
11 years ago
Michael Stapelberg
d7fd058f0c
Revert "Run authentification in different process"
This reverts commit a305e622a6
.
In the next commit, the same functionality will be achieved in a cleaner
way.
11 years ago
Michael Stapelberg
df760b6e9e
Revert "Bug fix: Call clear_input() when the password is wrong."
This reverts commit 33d953fbdf
,
in preparation for reverting commit a305e62
11 years ago