Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-12-06 | RGB color notation is 3-byte hexadecimal | Vivien Didelot | |
Signed-off-by: Vivien Didelot <vivien.didelot@gmail.com> | |||
2012-11-04 | Allow passwordless PAM conversations (e.g. fingerprint) | Moritz Augsburger | |
2012-11-04 | Allow XKB_KEY_XF86ScreenSaver as synonm for enter | Moritz Augsburger | |
This keysym is generated on convertible tablets by pressing a hardware lock/unlock button. | |||
2012-10-26 | remove support for NOLIBCAIRO, cairo-xcb is widespread by now | Michael Stapelberg | |
2012-10-26 | use libxkbcommon for input handling | Michael Stapelberg | |
Thanks to Ran Benita and Daniel Stone (the libxkbcommon authors) for answering my questions and reviewing this code. With this commit, input handling should be more correct with using less code (in i3lock, that is). | |||
2012-10-15 | s/pam_message/pam_response/ (Thanks Tucos) | Michael Stapelberg | |
The previous code didn’t cause any issues since both types (currently!) have the same size. | |||
2012-09-26 | promote the "could not load image" message from debug to normal | Michael Stapelberg | |
2012-08-22 | only use mlock() on Linux, FreeBSD (for example) requires root | Michael Stapelberg | |
2012-06-29 | getopt_long returns int, don't cast to char. | Fernando Tarlá Cardoso Lemos | |
On ARM, casting -1 to char turns it into something else. Fixes argument parsing on ARM. Thanks Chipaca for reporting. | |||
2012-05-30 | revert shift lock handling (broke uppercase letters) | Michael Stapelberg | |
With some layouts, this broke uppercase letters in your passwords. I think that explicit shiftlock handling is unnecessary. X11 seems to do it on its own. Here is what leads me to that conclusion: $ setxkbmap de $ xmodmap -e 'keycode 66 = Shift_Lock' $ xev Now enter a character, say "a", then press CapsLk (which is now Shift_Lock), then press "a" again. The event state is 0x1, thereby undistinguishable from normal shift. | |||
2012-05-19 | Bugfix: Correctly center unlock indicator after reconfiguring screens ↵ | Michael Stapelberg | |
(Thanks xn) Fixes: #712 | |||
2012-04-01 | Use (void) instead of () for functions without args (Thanks fernandotcl) | Michael Stapelberg | |
See also: http://article.gmane.org/gmane.linux.kernel/1268792 The C compiler will handle (void) as "no arguments" and () as "variadic function" (equivalent to (...)) which might lead to subtle errors, such as the one which was fixed with commit 0ea64ae4. | |||
2012-03-28 | Bugfix: fallback when the image cannot be loaded | Michael Stapelberg | |
If the specified file does not exist or is invalid, previously, the unlock indicator wouldn’t show up at all, because the invalid surface was still used. With this commit, i3lock will react like if you didn’t specify an image at all. | |||
2012-03-26 | Only output text when in debug mode (fixes problems with xautolock) | Michael Stapelberg | |
2012-03-10 | Properly handle Caps Lock (Thanks Damien) | Michael Stapelberg | |
2012-01-05 | Bugfix: Check for waiting X11 events before entering the event loop | Michael Stapelberg | |
2012-01-05 | Change the unlock indicator properly after pressing the 'escape' key | Michael Stapelberg | |
2012-01-03 | Implement Xinerama support (not used yet) | Michael Stapelberg | |
2012-01-03 | Properly free timeouts, move one of the timeouts to unlock_indicator.c | Michael Stapelberg | |
2012-01-03 | remove the dead variable modeswitchmask | Michael Stapelberg | |
2012-01-03 | Properly free the reply of xcb_get_geometry | Michael Stapelberg | |
2012-01-03 | Refactor the unlock indicator into its own source code file | Michael Stapelberg | |
2012-01-03 | Fork after the window is visible, not before | Michael Stapelberg | |
2012-01-03 | change ALL the copyrights! | Michael Stapelberg | |
2012-01-03 | Lock the password buffer in memory, clear it in RAM after verifying | Michael Stapelberg | |
2011-12-30 | support ISO_Level5_Shift (Thanks roland) | Michael Stapelberg | |
2011-12-29 | Fix the timeouts for hiding the unlock indicator (Thanks Merovius) | Michael Stapelberg | |
2011-12-28 | Properly free X11 resources (fixes DoS bug) (Thanks Merovius) | Michael Stapelberg | |
2011-12-28 | Implement a visual unlock indicator | Michael Stapelberg | |
2011-11-06 | Properly implement -h (fixes error message about unknown option) | Michael Stapelberg | |
2011-11-06 | Get rid of superfluous \n in --version | Michael Stapelberg | |
2011-10-30 | Bugfix: Properly detect the release of ISO_Level3_Shift (Thanks bacardi55) | Michael Stapelberg | |
2011-10-29 | Introduce --debug and some debugging options related to the Mode_switch / ↵ | Michael Stapelberg | |
ISO_Level3_Shift thing | |||
2011-10-29 | Correctly handle Mode_switch/ISO_Level3_Shift (Thanks bacardi55) | Michael Stapelberg | |
I tested this with the following experiment: $ setxkbmap 'us(intl)' $ xmodmap ~/configfiles/midna/Xmodmap $ xmodmap -e 'keycode 38 = a A adiaeresis Adiaeresis o O' $ xmodmap -e 'keycode 49 = ISO_Level3_Shift ISO_Level3_Shift ISO_Level3_Shift ISO_Level3_Shift' Then, Mode_switch + a yields ä, but ` + a yields o. In i3lock, these were swapped (Mode_switch + a yielded o, while ä was not reachable at all). The comment in the code explains it (See http://code.stapelberg.de/git/configfiles for the Xmodmap) | |||
2011-10-24 | Bugfix: Don’t re-grab pointer/keyboard on MappingNotify (Thanks wilmer) | Michael Stapelberg | |
This fixes bug http://bugs.i3wm.org/545, where characters (of your password) would rarely slip through when entering your password (especially) after resuming your notebook from suspend to RAM. The reason is that when resuming, X triggers one or more MappingNotify events. At the same time, CPU load is high. This leads to a race-condition between the ungrab and re-grab in which i3lock temporarily does not grab the keyboard. One way to fix this is using xcb_grab_server() before and xcb_ungrab_server() after the ungrab/re-grab. However, I think we actually don’t need to ungrab/re-grab at all. I seem to have put that code in here by mistake – in i3, we re-grab after MappingNotify, but there we only grab specific keys. In i3lock, we grab the whole pointer/keyboard, so there should be no need. If I’m incorrect and this breaks some subtle use-cases for people with strange layout setup, at least we can properly document on why we need it, after we put it back in ;). | |||
2011-09-25 | Throw an error when specifying an invalid pointer argument (-p) (Thanks ↵ | Michael Stapelberg | |
TrickSTer) | |||
2011-08-24 | Fixed handle_screen_resize to build with NOLIBCAIRO enabled | Thorsten Töpper | |
2011-08-17 | handle screen resolution images and redraw the lock window | Stefan Breunig | |
2011-04-02 | optimization: render to pixmap which is used as background for the window | Michael Stapelberg | |
Before this commit, the background color (white by default) was visible for about 100ms until the image was drawn. This flickering is now eliminated. Also, we don’t need to handle Expose-events anymore, as X11 will use the window’s background pixmap automatically. | |||
2011-04-02 | Mark handle_visibility_notify and handle_mapping_notify as static | Michael Stapelberg | |
2011-03-13 | cleanup indention left-overs | Michael Stapelberg | |
2011-03-13 | bump copyright | Michael Stapelberg | |
2011-03-13 | Handle MappingNotify-events (Thanks Pascal) | Michael Stapelberg | |
2011-01-15 | Bugfix: correctly check for errors when connecting to X11 | Michael Stapelberg | |
2010-11-09 | add XK_KP_Enter as synonym for XK_Return | Michael Stapelberg | |
2010-11-08 | Bugfix: Handle numpad keys correctly (Thanks Pascal) | Michael Stapelberg | |
2010-11-06 | Bugfix: When entering 512 characters, you could use neither return nor ↵ | Michael Stapelberg | |
backspace (Thanks carl) | |||
2010-10-06 | Add a hint to the error message 'unknown option' when compiled with NOLIBCAIRO | Michael Stapelberg | |
2010-10-06 | Make it possible to build i3lock without cairo. | Thorsten Töpper | |
2010-09-09 | comment out debug output (Thanks Ciprian) | Michael Stapelberg | |