]> git.sur5r.net Git - i3/i3lock/log
i3/i3lock
12 years agodraw the unlock indicator in the middle of every screen
Michael Stapelberg [Wed, 4 Jan 2012 00:10:36 +0000 (00:10 +0000)]
draw the unlock indicator in the middle of every screen

12 years agoImplement Xinerama support (not used yet)
Michael Stapelberg [Tue, 3 Jan 2012 23:10:56 +0000 (23:10 +0000)]
Implement Xinerama support (not used yet)

12 years agoFix a few memory leaks
Michael Stapelberg [Tue, 3 Jan 2012 22:31:16 +0000 (22:31 +0000)]
Fix a few memory leaks

12 years agoProperly free timeouts, move one of the timeouts to unlock_indicator.c
Michael Stapelberg [Tue, 3 Jan 2012 22:18:33 +0000 (22:18 +0000)]
Properly free timeouts, move one of the timeouts to unlock_indicator.c

12 years agoremove the dead variable modeswitchmask
Michael Stapelberg [Tue, 3 Jan 2012 21:01:16 +0000 (21:01 +0000)]
remove the dead variable modeswitchmask

12 years agoProperly free the reply of xcb_get_geometry
Michael Stapelberg [Tue, 3 Jan 2012 21:01:05 +0000 (21:01 +0000)]
Properly free the reply of xcb_get_geometry

12 years agoRefactor the unlock indicator into its own source code file
Michael Stapelberg [Tue, 3 Jan 2012 20:56:05 +0000 (20:56 +0000)]
Refactor the unlock indicator into its own source code file

12 years agoFork after the window is visible, not before
Michael Stapelberg [Tue, 3 Jan 2012 20:19:17 +0000 (20:19 +0000)]
Fork after the window is visible, not before

12 years agochange ALL the copyrights!
Michael Stapelberg [Tue, 3 Jan 2012 18:20:37 +0000 (18:20 +0000)]
change ALL the copyrights!

12 years agoLock the password buffer in memory, clear it in RAM after verifying
Michael Stapelberg [Tue, 3 Jan 2012 16:17:58 +0000 (16:17 +0000)]
Lock the password buffer in memory, clear it in RAM after verifying

12 years agosupport ISO_Level5_Shift (Thanks roland)
Michael Stapelberg [Fri, 30 Dec 2011 02:13:24 +0000 (03:13 +0100)]
support ISO_Level5_Shift (Thanks roland)

12 years agoFix the timeouts for hiding the unlock indicator (Thanks Merovius)
Michael Stapelberg [Thu, 29 Dec 2011 01:56:28 +0000 (02:56 +0100)]
Fix the timeouts for hiding the unlock indicator (Thanks Merovius)

12 years agoProperly free X11 resources (fixes DoS bug) (Thanks Merovius)
Michael Stapelberg [Wed, 28 Dec 2011 22:05:02 +0000 (23:05 +0100)]
Properly free X11 resources (fixes DoS bug) (Thanks Merovius)

12 years agoImplement a visual unlock indicator
Michael Stapelberg [Wed, 28 Dec 2011 19:28:18 +0000 (20:28 +0100)]
Implement a visual unlock indicator

13 years agodebian: update packaging to use dpkg-buildflags, i3lock.manpages 2.2
Michael Stapelberg [Sun, 6 Nov 2011 14:21:08 +0000 (14:21 +0000)]
debian: update packaging to use dpkg-buildflags, i3lock.manpages

13 years agoMakefile: add 'dist' target
Michael Stapelberg [Sun, 6 Nov 2011 14:20:40 +0000 (14:20 +0000)]
Makefile: add 'dist' target

13 years agoProperly implement -h (fixes error message about unknown option)
Michael Stapelberg [Sun, 6 Nov 2011 14:11:20 +0000 (14:11 +0000)]
Properly implement -h (fixes error message about unknown option)

13 years agoGet rid of superfluous \n in --version
Michael Stapelberg [Sun, 6 Nov 2011 14:08:33 +0000 (14:08 +0000)]
Get rid of superfluous \n in --version

13 years agoupdate debian/changelog
Michael Stapelberg [Sun, 6 Nov 2011 14:02:42 +0000 (14:02 +0000)]
update debian/changelog

13 years agoBugfix: Properly detect the release of ISO_Level3_Shift (Thanks bacardi55)
Michael Stapelberg [Sun, 30 Oct 2011 13:22:50 +0000 (13:22 +0000)]
Bugfix: Properly detect the release of ISO_Level3_Shift (Thanks bacardi55)

13 years agoIntroduce --debug and some debugging options related to the Mode_switch / ISO_Level3_...
Michael Stapelberg [Sat, 29 Oct 2011 22:28:11 +0000 (23:28 +0100)]
Introduce --debug and some debugging options related to the Mode_switch / ISO_Level3_Shift thing

13 years agoCorrectly handle Mode_switch/ISO_Level3_Shift (Thanks bacardi55)
Michael Stapelberg [Sat, 29 Oct 2011 22:23:41 +0000 (23:23 +0100)]
Correctly handle Mode_switch/ISO_Level3_Shift (Thanks bacardi55)

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)

13 years agoBugfix: Don’t re-grab pointer/keyboard on MappingNotify (Thanks wilmer)
Michael Stapelberg [Mon, 24 Oct 2011 20:18:43 +0000 (21:18 +0100)]
Bugfix: Don’t re-grab pointer/keyboard on MappingNotify (Thanks wilmer)

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 ;).

13 years agomanpage: mention arguments in OPTIONS section, too (Thanks TrickSTer)
Michael Stapelberg [Sun, 25 Sep 2011 12:34:26 +0000 (13:34 +0100)]
manpage: mention arguments in OPTIONS section, too (Thanks TrickSTer)

13 years agoThrow an error when specifying an invalid pointer argument (-p) (Thanks TrickSTer)
Michael Stapelberg [Sun, 25 Sep 2011 12:26:51 +0000 (13:26 +0100)]
Throw an error when specifying an invalid pointer argument (-p) (Thanks TrickSTer)

13 years agoFixed handle_screen_resize to build with NOLIBCAIRO enabled
Thorsten Töpper [Tue, 23 Aug 2011 23:22:17 +0000 (01:22 +0200)]
Fixed handle_screen_resize to build with NOLIBCAIRO enabled

13 years agohandle screen resolution images and redraw the lock window
Stefan Breunig [Sat, 6 Aug 2011 09:21:07 +0000 (11:21 +0200)]
handle screen resolution images and redraw the lock window

13 years agoupdate debian packaging, update copyright
Michael Stapelberg [Wed, 13 Jul 2011 15:06:46 +0000 (17:06 +0200)]
update debian packaging, update copyright

13 years agomakefile: respect and use CPPFLAGS / LIBS (Thanks Kacper)
Michael Stapelberg [Wed, 13 Jul 2011 14:56:27 +0000 (16:56 +0200)]
makefile: respect and use CPPFLAGS / LIBS (Thanks Kacper)

13 years agooptimization: render to pixmap which is used as background for the window
Michael Stapelberg [Sat, 2 Apr 2011 17:49:38 +0000 (19:49 +0200)]
optimization: render to pixmap which is used as background for the window

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.

13 years agoMark handle_visibility_notify and handle_mapping_notify as static
Michael Stapelberg [Sat, 2 Apr 2011 17:32:59 +0000 (19:32 +0200)]
Mark handle_visibility_notify and handle_mapping_notify as static

13 years agoupdate debian packaging
Michael Stapelberg [Sun, 13 Mar 2011 19:38:32 +0000 (20:38 +0100)]
update debian packaging

13 years agocleanup indention left-overs 2.1
Michael Stapelberg [Sun, 13 Mar 2011 19:24:25 +0000 (20:24 +0100)]
cleanup indention left-overs

13 years agobump copyright
Michael Stapelberg [Sun, 13 Mar 2011 19:23:39 +0000 (20:23 +0100)]
bump copyright

13 years agoHandle MappingNotify-events (Thanks Pascal)
Michael Stapelberg [Sun, 13 Mar 2011 18:31:08 +0000 (19:31 +0100)]
Handle MappingNotify-events (Thanks Pascal)

13 years agouse 'auth include login' instead of '@include login', the latter is debian-specific...
Michael Stapelberg [Sat, 22 Jan 2011 23:11:51 +0000 (00:11 +0100)]
use 'auth include login' instead of '@include login', the latter is debian-specific (Thanks mseed)

13 years agoadd i3lock.pam (installed as /etc/pam.d/i3lock) which includes 'login' (Thanks Семён)
Michael Stapelberg [Thu, 20 Jan 2011 09:36:03 +0000 (10:36 +0100)]
add i3lock.pam (installed as /etc/pam.d/i3lock) which includes 'login' (Thanks Семён)

13 years agoBugfix: correctly check for errors when connecting to X11
Michael Stapelberg [Sat, 15 Jan 2011 13:47:06 +0000 (14:47 +0100)]
Bugfix: correctly check for errors when connecting to X11

14 years agoadd XK_KP_Enter as synonym for XK_Return
Michael Stapelberg [Tue, 9 Nov 2010 18:35:16 +0000 (19:35 +0100)]
add XK_KP_Enter as synonym for XK_Return

14 years agoBugfix: Handle numpad keys correctly (Thanks Pascal)
Michael Stapelberg [Mon, 8 Nov 2010 13:39:53 +0000 (14:39 +0100)]
Bugfix: Handle numpad keys correctly (Thanks Pascal)

14 years agoBugfix: When entering 512 characters, you could use neither return nor backspace...
Michael Stapelberg [Sat, 6 Nov 2010 17:02:44 +0000 (18:02 +0100)]
Bugfix: When entering 512 characters, you could use neither return nor backspace (Thanks carl)

14 years agoAdd a hint to the error message 'unknown option' when compiled with NOLIBCAIRO
Michael Stapelberg [Wed, 6 Oct 2010 21:39:18 +0000 (23:39 +0200)]
Add a hint to the error message 'unknown option' when compiled with NOLIBCAIRO

14 years agoMake it possible to build i3lock without cairo.
Thorsten Töpper [Sat, 2 Oct 2010 19:50:50 +0000 (21:50 +0200)]
Make it possible to build i3lock without cairo.

14 years agocomment out debug output (Thanks Ciprian)
Michael Stapelberg [Thu, 9 Sep 2010 13:39:27 +0000 (15:39 +0200)]
comment out debug output (Thanks Ciprian)

14 years agodebian: change priority to optional
Michael Stapelberg [Sun, 5 Sep 2010 16:19:25 +0000 (18:19 +0200)]
debian: change priority to optional

14 years agoupdate debian packaging for i3lock 2.0 release
Michael Stapelberg [Sun, 5 Sep 2010 11:59:02 +0000 (13:59 +0200)]
update debian packaging for i3lock 2.0 release

14 years agoprint version number when invoked with -v 2.0
Michael Stapelberg [Fri, 23 Jul 2010 21:13:41 +0000 (23:13 +0200)]
print version number when invoked with -v

14 years agomanpage: add missing "specify" (Thanks xeen)
Michael Stapelberg [Tue, 20 Jul 2010 23:46:41 +0000 (01:46 +0200)]
manpage: add missing "specify" (Thanks xeen)

14 years agos/passwords/password (Thanks xeen)
Michael Stapelberg [Tue, 20 Jul 2010 23:45:11 +0000 (01:45 +0200)]
s/passwords/password (Thanks xeen)

14 years agoRe-implement tiling of image (-t)
Michael Stapelberg [Tue, 20 Jul 2010 21:44:58 +0000 (23:44 +0200)]
Re-implement tiling of image (-t)

14 years agoFix compilation warning by including cairo-xcb
Michael Stapelberg [Tue, 20 Jul 2010 21:09:09 +0000 (23:09 +0200)]
Fix compilation warning by including cairo-xcb

14 years agoMove static byte arrays to xcb.c (fixes compilation warnings)
Michael Stapelberg [Tue, 20 Jul 2010 21:06:54 +0000 (23:06 +0200)]
Move static byte arrays to xcb.c (fixes compilation warnings)

14 years agoPort the pointer-code to xcb
Axel Wagner [Mon, 19 Jul 2010 21:15:50 +0000 (23:15 +0200)]
Port the pointer-code to xcb

14 years agodisable debug output which reveals the password
Michael Stapelberg [Tue, 20 Jul 2010 19:18:53 +0000 (21:18 +0200)]
disable debug output which reveals the password

(full debug output will be disabled for the next release)

14 years agograbbing: make the retry loop much slower (waits up to half a second)
Michael Stapelberg [Tue, 20 Jul 2010 19:07:39 +0000 (21:07 +0200)]
grabbing: make the retry loop much slower (waits up to half a second)

This should fix a race condition where the Mod-key was not released
in time when starting i3lock using a key combination.

14 years agoBugfix: Correctly error out when unable to grab pointer/keyboard
Michael Stapelberg [Tue, 20 Jul 2010 18:52:58 +0000 (20:52 +0200)]
Bugfix: Correctly error out when unable to grab pointer/keyboard

14 years agoRaise the i3lock window upon visibility notifies
Michael Stapelberg [Tue, 20 Jul 2010 18:30:44 +0000 (20:30 +0200)]
Raise the i3lock window upon visibility notifies

14 years agomake event loop simpler (Thanks to Jamey Sharp)
Michael Stapelberg [Tue, 20 Jul 2010 18:13:40 +0000 (20:13 +0200)]
make event loop simpler (Thanks to Jamey Sharp)

As explained in Jamey’s post on the XCB mailing list, the event
loop can/should be written in a more simple way than it was before
in xcb-event. See:
<AANLkTinhIM320wUjSeHkBTVk4ysBuiSZkvfs8pMLVykO@mail.gmail.com>
or
http://lists.freedesktop.org/archives/xcb/2010-July/006292.html

14 years agoerr, xcb_image is not actually used
Michael Stapelberg [Fri, 16 Jul 2010 23:08:30 +0000 (01:08 +0200)]
err, xcb_image is not actually used

14 years agos/arry/array
Michael Stapelberg [Fri, 16 Jul 2010 18:59:09 +0000 (20:59 +0200)]
s/arry/array

14 years agomanpage: PNG instead of XPM
Michael Stapelberg [Fri, 16 Jul 2010 18:55:20 +0000 (20:55 +0200)]
manpage: PNG instead of XPM

14 years agomanpage: s/tile/tiling
Michael Stapelberg [Fri, 16 Jul 2010 18:36:11 +0000 (20:36 +0200)]
manpage: s/tile/tiling

14 years agodebian: add missing libxcb-image0-dev
Michael Stapelberg [Fri, 16 Jul 2010 16:27:04 +0000 (18:27 +0200)]
debian: add missing libxcb-image0-dev

14 years agodebian: update packaging
Michael Stapelberg [Fri, 16 Jul 2010 16:22:33 +0000 (18:22 +0200)]
debian: update packaging

14 years agoFix errors in i3lock.1
Michael Stapelberg [Fri, 16 Jul 2010 16:15:31 +0000 (18:15 +0200)]
Fix errors in i3lock.1

14 years agoMention pkg-config as requirement
Michael Stapelberg [Fri, 16 Jul 2010 16:00:26 +0000 (18:00 +0200)]
Mention pkg-config as requirement

14 years agoUpdate manpage
Michael Stapelberg [Fri, 16 Jul 2010 15:56:15 +0000 (17:56 +0200)]
Update manpage

14 years agoUpdate README
Michael Stapelberg [Fri, 16 Jul 2010 15:47:42 +0000 (17:47 +0200)]
Update README

14 years agoremove config.mk, no longer necessary
Michael Stapelberg [Fri, 16 Jul 2010 15:42:17 +0000 (17:42 +0200)]
remove config.mk, no longer necessary

14 years agoInitial commit of the XCB rewrite of i3lock
Michael Stapelberg [Fri, 16 Jul 2010 15:35:51 +0000 (17:35 +0200)]
Initial commit of the XCB rewrite of i3lock

Changes:
- Uses XCB instead of Xlib (like i3), thus cleaner/faster code
- Uses cairo to load PNG images (*much* faster than XPM)

14 years agoImplement showing the default X- or a hardcoded Windows-Mousecursor.
Axel Wagner [Fri, 2 Jul 2010 22:24:50 +0000 (00:24 +0200)]
Implement showing the default X- or a hardcoded Windows-Mousecursor.

14 years agoSkip keypresses without entering a password, they cause a delay
Michael Stapelberg [Thu, 10 Dec 2009 19:24:58 +0000 (20:24 +0100)]
Skip keypresses without entering a password, they cause a delay

When suspending your system to RAM, a race-condition can occur which
causes many enter keypresses to be sent. These effectively delay
your login by 3 seconds times 50 times (or so), so we just skip empty
passwords. If your password is empty, you don’t need to lock your
screen anyway.

15 years agoDon’t strip when building, the distro’s build systems handle this
Michael Stapelberg [Fri, 16 Oct 2009 19:30:27 +0000 (21:30 +0200)]
Don’t strip when building, the distro’s build systems handle this

15 years agoDocument dependency on libpam in README
Michael Stapelberg [Wed, 19 Aug 2009 19:34:51 +0000 (21:34 +0200)]
Document dependency on libpam in README

15 years agoSome small cleanups
Michael Stapelberg [Sun, 2 Aug 2009 19:47:39 +0000 (21:47 +0200)]
Some small cleanups

15 years agoadding option to enable tiling of images
Jan-Erik Rediger [Sun, 2 Aug 2009 17:59:16 +0000 (19:59 +0200)]
adding option to enable tiling of images

15 years agoUpdate debian changelog
Michael Stapelberg [Sun, 2 Aug 2009 17:58:30 +0000 (19:58 +0200)]
Update debian changelog

15 years agoSkip leading # signs for the color, fix input validation
Michael Stapelberg [Sun, 2 Aug 2009 17:50:30 +0000 (19:50 +0200)]
Skip leading # signs for the color, fix input validation

15 years agoadding option to choose background color
Jan-Erik Rediger [Fri, 31 Jul 2009 19:35:40 +0000 (21:35 +0200)]
adding option to choose background color

15 years agoDocument the new option in the manpage
Michael Stapelberg [Sat, 27 Jun 2009 21:06:44 +0000 (23:06 +0200)]
Document the new option in the manpage

15 years agodebian: add build dependency
Michael Stapelberg [Sat, 27 Jun 2009 20:56:44 +0000 (22:56 +0200)]
debian: add build dependency

15 years agoHandle error codes when loading the pixmap
Michael Stapelberg [Sat, 27 Jun 2009 20:35:59 +0000 (22:35 +0200)]
Handle error codes when loading the pixmap

15 years agoi3lock now can use xpm images as background
Jan-Erik Rediger [Fri, 19 Jun 2009 22:52:55 +0000 (00:52 +0200)]
i3lock now can use xpm images as background

15 years agodebian: change Priority to extra (makes more sense)
Michael Stapelberg [Sun, 21 Jun 2009 15:08:47 +0000 (17:08 +0200)]
debian: change Priority to extra (makes more sense)

15 years agodebian: update changelog, control. We can finally drop the suid bit :-) 1.0
Michael Stapelberg [Sun, 10 May 2009 11:04:45 +0000 (13:04 +0200)]
debian: update changelog, control. We can finally drop the suid bit :-)

15 years agoImplement options for forking, beeping and DPMS. Bump version to 1.0.
Michael Stapelberg [Sun, 10 May 2009 10:48:16 +0000 (12:48 +0200)]
Implement options for forking, beeping and DPMS. Bump version to 1.0.

15 years agoImplement PAM support (and retab! the file)
Michael Stapelberg [Sun, 10 May 2009 10:22:41 +0000 (12:22 +0200)]
Implement PAM support (and retab! the file)

15 years agodebian: change maintainer address
Michael Stapelberg [Fri, 1 May 2009 18:37:01 +0000 (20:37 +0200)]
debian: change maintainer address

15 years agoDebian: Change maintainer email address, set DM-Upload-Allowed field
Michael Stapelberg [Thu, 30 Apr 2009 13:18:34 +0000 (15:18 +0200)]
Debian: Change maintainer email address, set DM-Upload-Allowed field

15 years agoDebian package: Close ITP, depend on ${misc:Depends}
Michael Stapelberg [Sun, 29 Mar 2009 16:46:18 +0000 (18:46 +0200)]
Debian package: Close ITP, depend on ${misc:Depends}

15 years agoExclude usr/bin/i3lock from dh_fixperms to not kill the setuid root bit
Michael Stapelberg [Wed, 11 Mar 2009 23:40:00 +0000 (00:40 +0100)]
Exclude usr/bin/i3lock from dh_fixperms to not kill the setuid root bit

15 years agoFix spelling errors
Michael Stapelberg [Wed, 11 Mar 2009 23:19:42 +0000 (00:19 +0100)]
Fix spelling errors

15 years agoRemove misc:depends, remove obsolete comment
Michael Stapelberg [Wed, 11 Mar 2009 22:56:56 +0000 (23:56 +0100)]
Remove misc:depends, remove obsolete comment

15 years agoUpdate changelog
Michael Stapelberg [Wed, 11 Mar 2009 22:53:48 +0000 (23:53 +0100)]
Update changelog

15 years agoForgot one instance of slock in Makefile
Michael Stapelberg [Wed, 11 Mar 2009 22:49:32 +0000 (23:49 +0100)]
Forgot one instance of slock in Makefile

15 years agoAdd a manpage and install it, update debian description
Michael Stapelberg [Wed, 11 Mar 2009 22:44:39 +0000 (23:44 +0100)]
Add a manpage and install it, update debian description

15 years agoAdd debian/
Michael Stapelberg [Wed, 11 Mar 2009 22:29:37 +0000 (23:29 +0100)]
Add debian/

15 years agoInitial import of i3lock 0.9
Michael Stapelberg [Wed, 11 Mar 2009 21:17:00 +0000 (22:17 +0100)]
Initial import of i3lock 0.9