summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-03-16clang-format -i **/*.[ch]Michael Stapelberg
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-02-12Merge pull request #6 from danielotero/masterMichael Stapelberg
Add support for Compose and dead-keys with libxkbcommon
2015-02-12Update the key symbol if the composing ends.Daniel Otero
2015-02-12Avoid handle a keysym if the compose state gets cancelledDaniel Otero
This is the approach taken by libX11, and feels more consistent.
2015-02-12Remove xkb_context initialization code from load_compose_tableDaniel Otero
xkb_context is guaranteed to be initializated from load_keymap.
2015-02-12Add support for Compose and dead-keys with libxkbcommonDaniel Otero
2015-01-06Merge pull request #3 from stibi/whoamiMichael Stapelberg
getting current user with whoami like function rather than from env variable
2015-01-06getpwuid call movedMartin Stiborsky
2015-01-05null check for getpwuid and pw_nameMartin Stiborsky
2015-01-05removed the whoami function, replaced with an inline getpwuid callMartin Stiborsky
2015-01-05getting current user with whoami like function rather than from env variableMartin Stiborsky
2014-12-27Merge pull request #1 from koebi/masterMichael Stapelberg
added debug-flag to manpage
2014-12-27debugging outputs the password, so the manpage should mention thatkoebi
2014-12-27added debug-flag to manpagekoebi
2014-12-26README is actually in markdown, so tell github thatMichael Stapelberg
2014-12-26make github the canonical i3lock repositoryMichael Stapelberg
2014-10-13Ignore password validation is pam is in wrong stateNeodyblue
This add a protection against wrong password spamming
2014-08-24implemented logging the number of failed attemptskoebi
This closes #1243
2014-08-21Die when the X11 connection breaks during runtime (Thanks Eduan)Michael Stapelberg
2014-07-18update the changelog/readme for 2.6Michael Stapelberg
2014-06-21remove obsolete xkb_state_update_key() calls (Thanks Ran)Michael Stapelberg
2014-06-21listen for XKB events instead of the MappingNotify event (Thanks Ran)Michael Stapelberg
2014-06-21little cleanups thanks to Ran Benita’s reviewMichael Stapelberg
2014-06-21use libxkbcommon-x11 instead of libX11Michael Stapelberg
2014-05-02Scale the unlock indicator (for retina displays)Michael Stapelberg
2014-03-23Cleanup scattered timer calls to use macrosVytautas Šaltenis
2014-03-23Ignore empty passwd after repeated Enter keypressVytautas Šaltenis
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.
2014-03-23Fix typo in manualVytautas Šaltenis
2014-03-23Fix typoVytautas Šaltenis
2014-03-23Discard half-entered passwd after some inactivityVytautas Šaltenis
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.
2014-03-23Delay to turn off the screen after wrong passwdVytautas Šaltenis
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.
2014-03-16Replace '1' with "EXIT_FAILURE"TheKK
2014-03-11Extract start/stop timer code to reusable funcsVytautas Šaltenis
2014-03-11Extract if(dpms) calls to wrapper functionsVytautas Šaltenis
2013-11-12Turn on the screen on successful authenticationPhilippe Virouleau
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
2013-11-10Re-raise i3lock when obscured in a separate processMichael Stapelberg
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.
2013-11-10Revert "Run authentification in different process"Michael Stapelberg
This reverts commit a305e622a6cad3f9ba267d6810fee54b7c7c86c3. In the next commit, the same functionality will be achieved in a cleaner way.
2013-11-10Revert "Bug fix: Call clear_input() when the password is wrong."Michael Stapelberg
This reverts commit 33d953fbdf4f8630e919643974f32ce6793c7c2b, in preparation for reverting commit a305e62
2013-10-20Bug fix: Call clear_input() when the password is wrong.oblique
clear_input() calls start_clear_indicator_timeout() to clear the indicator after 1 second. This had as a result the screen to be cleared when the "verifying…" message was showed, so the "wrong!" message didn't show up when the password was wrong. First bad commit: a305e62
2013-09-19Run authentification in different processkoebi
When having i3bar in “hide” mode, it could previously be brought up while the authentication was running. This is not 100% fixed with this change, but a lot better, as the normal “raise i3lock to the top” behavior is not blocked now anymore. fixes #895
2013-09-09Small improvements to manual page.Vincent Bernat
Use a bulleted list for the IMPROVEMENTS section. Fix some grammar. Remove the use of "fuck" which may offend some people.
2013-09-01Bugfix: update the initial keyboard modifier state (Thanks lee, Ran)Michael Stapelberg
This should make the numpad work correctly.
2013-08-31Add -e to --helpMichael Stapelberg
2013-08-31Add `-e` option to not validate empty password.Vincent Bernat
When the XF86ScreenSaver key is used to put a laptop to sleep (or to trigger the screensaver), the key may "bounce" on resume. This is annoying as i3lock will try to validate several empty passwords and wait several seconds before accepting a legit password. Some users may want to validate an empty password: PAM may rely on other sources to unlock the screen, like the presence of a token or the proximity of some Bluetooth device. Hence, we don't forbid this possibility and provide an command-line option for users not willing to validate empty passwords.
2013-07-30Use cairo_status_to_string for descriptive errors.Bas Pape
2013-06-09add xcb-atom to pkg-config callsMichael Stapelberg
2013-06-09update changelog for 2.5Michael Stapelberg
2013-04-11Set window nameAxel Wagner
2013-03-29Fix centering the indicator in the no-xinerama caseSebastian Ullrich
2013-03-29fix ctrl-u handlingMichael Stapelberg