]> git.sur5r.net Git - i3/i3lock/log
i3/i3lock
9 years agoRemove libxkbfile dependency from README.md/comments
Michael Stapelberg [Sat, 7 Nov 2015 13:51:02 +0000 (14:51 +0100)]
Remove libxkbfile dependency from README.md/comments

It has not been in use since commit 7eb43aeabd7a5eb71927520c427debb45eab05f2

9 years agouse trusty, install libxkbcommon-dev from wily
Michael Stapelberg [Fri, 6 Nov 2015 08:01:49 +0000 (09:01 +0100)]
use trusty, install libxkbcommon-dev from wily

9 years agotravis: install clang-format-3.5 from llvm repository
Michael Stapelberg [Fri, 6 Nov 2015 07:52:48 +0000 (08:52 +0100)]
travis: install clang-format-3.5 from llvm repository

Ubuntu utopic disappeared from archive.ubuntu.com, it’s EOL.

9 years agofix pam_securetty: set PAM_TTY to getenv("DISPLAY")
Michael Stapelberg [Thu, 5 Nov 2015 22:22:08 +0000 (23:22 +0100)]
fix pam_securetty: set PAM_TTY to getenv("DISPLAY")

fixes #43

9 years agoRemove DPMS support in favor of a wrapper script and xset(1).
Michael Stapelberg [Tue, 11 Aug 2015 19:50:42 +0000 (21:50 +0200)]
Remove DPMS support in favor of a wrapper script and xset(1).

fixes #32

9 years agoMerge pull request #24 from ixjlyons/timeout-doc
Michael Stapelberg [Fri, 3 Jul 2015 06:30:44 +0000 (23:30 -0700)]
Merge pull request #24 from ixjlyons/timeout-doc

Indicate that the --inactivity-timeout option takes an argument.

9 years agoIndicate that the --inactivity-timeout option takes an argument. 24/head
Kenneth Lyons [Thu, 2 Jul 2015 21:44:06 +0000 (14:44 -0700)]
Indicate that the --inactivity-timeout option takes an argument.

9 years agoupdate CHANGELOG 2.7
Michael Stapelberg [Wed, 20 May 2015 07:14:39 +0000 (09:14 +0200)]
update CHANGELOG

9 years agomakefile: s/README/README.md/
Michael Stapelberg [Wed, 20 May 2015 07:00:19 +0000 (09:00 +0200)]
makefile: s/README/README.md/

9 years agoMerge pull request #14 from ony/master
Michael Stapelberg [Mon, 27 Apr 2015 16:44:57 +0000 (09:44 -0700)]
Merge pull request #14 from ony/master

Make pkg-config configurable

9 years agoMake pkg-config configurable 14/head
Nikolay Orlyuk [Sun, 26 Apr 2015 18:57:47 +0000 (21:57 +0300)]
Make pkg-config configurable

9 years agoMerge pull request #13 from Airblader/feature-12
Michael Stapelberg [Fri, 24 Apr 2015 22:27:06 +0000 (00:27 +0200)]
Merge pull request #13 from Airblader/feature-12

Only redraw the screen if the unlock indicator is actually used.

9 years agoOnly redraw the screen if the unlock indicator is actually used. 13/head
Ingo Bürk [Fri, 24 Apr 2015 21:36:24 +0000 (23:36 +0200)]
Only redraw the screen if the unlock indicator is actually used.

fixes #12

9 years agoMerge pull request #11 from Deiz/update-notices
Michael Stapelberg [Tue, 21 Apr 2015 20:51:58 +0000 (22:51 +0200)]
Merge pull request #11 from Deiz/update-notices

Update copyright notices and get rid of ranges

9 years agoUpdate copyright notices and get rid of ranges 11/head
Deiz [Tue, 21 Apr 2015 15:47:51 +0000 (11:47 -0400)]
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

9 years agoMerge pull request #10 from Deiz/modifiers
Michael Stapelberg [Sun, 29 Mar 2015 20:59:39 +0000 (22:59 +0200)]
Merge pull request #10 from Deiz/modifiers

List generic pressed modifiers on failure

9 years agoList generic pressed modifiers on failure 10/head
Deiz [Thu, 26 Mar 2015 07:06:18 +0000 (03:06 -0400)]
List generic pressed modifiers on failure

9 years agoAdd capslock and numlock indicators
Alexandre Boeglin [Wed, 11 Feb 2015 19:52:07 +0000 (20:52 +0100)]
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>
9 years agoMerge pull request #9 from qfire/master
Michael Stapelberg [Fri, 27 Mar 2015 07:31:58 +0000 (08:31 +0100)]
Merge pull request #9 from qfire/master

refresh pam credentials on successful authentication

9 years agorefresh pam credentials on successful authentication 9/head
James Cassidy [Thu, 26 Mar 2015 13:26:48 +0000 (09:26 -0400)]
refresh pam credentials on successful authentication

9 years agodisable clang temporarily
Michael Stapelberg [Tue, 17 Mar 2015 08:00:15 +0000 (09:00 +0100)]
disable clang temporarily

9 years agocommit missing .clang-format
Michael Stapelberg [Tue, 17 Mar 2015 07:50:50 +0000 (08:50 +0100)]
commit missing .clang-format

9 years agoadd travis config
Michael Stapelberg [Tue, 17 Mar 2015 07:42:49 +0000 (08:42 +0100)]
add travis config

9 years agoclang-format -i **/*.[ch]
Michael Stapelberg [Mon, 16 Mar 2015 17:47:16 +0000 (18:47 +0100)]
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.

9 years agoMerge pull request #6 from danielotero/master
Michael Stapelberg [Thu, 12 Feb 2015 22:08:35 +0000 (23:08 +0100)]
Merge pull request #6 from danielotero/master

Add support for Compose and dead-keys with libxkbcommon

9 years agoUpdate the key symbol if the composing ends. 6/head
Daniel Otero [Thu, 12 Feb 2015 20:38:37 +0000 (21:38 +0100)]
Update the key symbol if the composing ends.

9 years agoAvoid handle a keysym if the compose state gets cancelled
Daniel Otero [Thu, 12 Feb 2015 10:22:58 +0000 (11:22 +0100)]
Avoid handle a keysym if the compose state gets cancelled

This is the approach taken by libX11, and feels more consistent.

9 years agoRemove xkb_context initialization code from load_compose_table
Daniel Otero [Thu, 12 Feb 2015 10:12:38 +0000 (11:12 +0100)]
Remove xkb_context initialization code from load_compose_table

xkb_context is guaranteed to be initializated from load_keymap.

9 years agoAdd support for Compose and dead-keys with libxkbcommon
Daniel Otero [Wed, 11 Feb 2015 23:37:23 +0000 (00:37 +0100)]
Add support for Compose and dead-keys with libxkbcommon

9 years agoMerge pull request #3 from stibi/whoami
Michael Stapelberg [Tue, 6 Jan 2015 07:34:35 +0000 (08:34 +0100)]
Merge pull request #3 from stibi/whoami

getting current user with whoami like function rather than from env variable

9 years agogetpwuid call moved 3/head
Martin Stiborsky [Mon, 5 Jan 2015 23:02:23 +0000 (00:02 +0100)]
getpwuid call moved

9 years agonull check for getpwuid and pw_name
Martin Stiborsky [Mon, 5 Jan 2015 21:54:32 +0000 (22:54 +0100)]
null check for getpwuid and pw_name

9 years agoremoved the whoami function, replaced with an inline getpwuid call
Martin Stiborsky [Mon, 5 Jan 2015 18:54:48 +0000 (19:54 +0100)]
removed the whoami function, replaced with an inline getpwuid call

9 years agogetting current user with whoami like function rather than from env variable
Martin Stiborsky [Mon, 5 Jan 2015 10:46:11 +0000 (11:46 +0100)]
getting current user with whoami like function rather than from env variable

9 years agoMerge pull request #1 from koebi/master
Michael Stapelberg [Sat, 27 Dec 2014 21:21:33 +0000 (22:21 +0100)]
Merge pull request #1 from koebi/master

added debug-flag to manpage

9 years agodebugging outputs the password, so the manpage should mention that 1/head
koebi [Sat, 27 Dec 2014 21:19:07 +0000 (22:19 +0100)]
debugging outputs the password, so the manpage should mention that

9 years agoadded debug-flag to manpage
koebi [Sat, 27 Dec 2014 20:54:41 +0000 (21:54 +0100)]
added debug-flag to manpage

9 years agoREADME is actually in markdown, so tell github that
Michael Stapelberg [Fri, 26 Dec 2014 20:03:12 +0000 (21:03 +0100)]
README is actually in markdown, so tell github that

9 years agomake github the canonical i3lock repository
Michael Stapelberg [Fri, 26 Dec 2014 20:02:58 +0000 (21:02 +0100)]
make github the canonical i3lock repository

10 years agoIgnore password validation is pam is in wrong state
Neodyblue [Mon, 13 Oct 2014 10:39:13 +0000 (11:39 +0100)]
Ignore password validation is pam is in wrong state

This add a protection against wrong password spamming

10 years agoimplemented logging the number of failed attempts
koebi [Thu, 24 Jul 2014 20:32:07 +0000 (22:32 +0200)]
implemented logging the number of failed attempts

This closes #1243

10 years agoDie when the X11 connection breaks during runtime (Thanks Eduan)
Michael Stapelberg [Thu, 21 Aug 2014 07:34:03 +0000 (09:34 +0200)]
Die when the X11 connection breaks during runtime (Thanks Eduan)

10 years agoupdate the changelog/readme for 2.6 2.6
Michael Stapelberg [Fri, 18 Jul 2014 18:21:09 +0000 (20:21 +0200)]
update the changelog/readme for 2.6

10 years agoremove obsolete xkb_state_update_key() calls (Thanks Ran)
Michael Stapelberg [Sat, 18 Jan 2014 20:12:59 +0000 (21:12 +0100)]
remove obsolete xkb_state_update_key() calls (Thanks Ran)

10 years agolisten for XKB events instead of the MappingNotify event (Thanks Ran)
Michael Stapelberg [Sat, 18 Jan 2014 18:40:11 +0000 (19:40 +0100)]
listen for XKB events instead of the MappingNotify event (Thanks Ran)

10 years agolittle cleanups thanks to Ran Benita’s review
Michael Stapelberg [Sat, 18 Jan 2014 18:20:58 +0000 (19:20 +0100)]
little cleanups thanks to Ran Benita’s review

10 years agouse libxkbcommon-x11 instead of libX11
Michael Stapelberg [Sat, 18 Jan 2014 16:13:59 +0000 (17:13 +0100)]
use libxkbcommon-x11 instead of libX11

10 years agoScale the unlock indicator (for retina displays)
Michael Stapelberg [Fri, 2 May 2014 17:57:22 +0000 (19:57 +0200)]
Scale the unlock indicator (for retina displays)

10 years agoCleanup scattered timer calls to use macros
Vytautas Šaltenis [Sun, 23 Mar 2014 17:14:09 +0000 (19:14 +0200)]
Cleanup scattered timer calls to use macros

10 years agoIgnore empty passwd after repeated Enter keypress
Vytautas Šaltenis [Mon, 10 Mar 2014 20:02:27 +0000 (22:02 +0200)]
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.

10 years agoFix typo in manual
Vytautas Šaltenis [Tue, 18 Mar 2014 20:40:17 +0000 (22:40 +0200)]
Fix typo in manual

10 years agoFix typo
Vytautas Šaltenis [Thu, 6 Mar 2014 21:16:43 +0000 (23:16 +0200)]
Fix typo

10 years agoDiscard half-entered passwd after some inactivity
Vytautas Šaltenis [Thu, 6 Mar 2014 21:06:28 +0000 (23:06 +0200)]
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.

10 years agoDelay to turn off the screen after wrong passwd
Vytautas Šaltenis [Thu, 6 Mar 2014 20:55:37 +0000 (22:55 +0200)]
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.

10 years agoReplace '1' with "EXIT_FAILURE"
TheKK [Sun, 16 Mar 2014 13:54:42 +0000 (21:54 +0800)]
Replace '1' with "EXIT_FAILURE"

10 years agoExtract start/stop timer code to reusable funcs
Vytautas Šaltenis [Thu, 6 Mar 2014 20:22:02 +0000 (22:22 +0200)]
Extract start/stop timer code to reusable funcs

10 years agoExtract if(dpms) calls to wrapper functions
Vytautas Šaltenis [Sun, 2 Mar 2014 21:53:42 +0000 (23:53 +0200)]
Extract if(dpms) calls to wrapper functions

11 years agoTurn on the screen on successful authentication
Philippe Virouleau [Sun, 10 Nov 2013 22:12:46 +0000 (23:12 +0100)]
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 agoRe-raise i3lock when obscured in a separate process
Michael Stapelberg [Sun, 10 Nov 2013 19:40:52 +0000 (20:40 +0100)]
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 agoRevert "Run authentification in different process"
Michael Stapelberg [Sun, 10 Nov 2013 19:03:53 +0000 (20:03 +0100)]
Revert "Run authentification in different process"

This reverts commit a305e622a6cad3f9ba267d6810fee54b7c7c86c3.

In the next commit, the same functionality will be achieved in a cleaner
way.

11 years agoRevert "Bug fix: Call clear_input() when the password is wrong."
Michael Stapelberg [Sun, 10 Nov 2013 19:03:48 +0000 (20:03 +0100)]
Revert "Bug fix: Call clear_input() when the password is wrong."

This reverts commit 33d953fbdf4f8630e919643974f32ce6793c7c2b,
in preparation for reverting commit a305e62

11 years agoBug fix: Call clear_input() when the password is wrong.
oblique [Thu, 17 Oct 2013 10:35:33 +0000 (13:35 +0300)]
Bug fix: Call clear_input() when the password is wrong.

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

11 years agoRun authentification in different process
koebi [Sat, 7 Sep 2013 17:41:16 +0000 (19:41 +0200)]
Run authentification in different process

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

11 years agoSmall improvements to manual page.
Vincent Bernat [Sat, 31 Aug 2013 12:00:16 +0000 (14:00 +0200)]
Small improvements to manual page.

Use a bulleted list for the IMPROVEMENTS section. Fix some
grammar. Remove the use of "fuck" which may offend some people.

11 years agoBugfix: update the initial keyboard modifier state (Thanks lee, Ran)
Michael Stapelberg [Sun, 1 Sep 2013 08:01:38 +0000 (10:01 +0200)]
Bugfix: update the initial keyboard modifier state (Thanks lee, Ran)

This should make the numpad work correctly.

11 years agoAdd -e to --help
Michael Stapelberg [Sat, 31 Aug 2013 18:42:06 +0000 (20:42 +0200)]
Add -e to --help

11 years agoAdd `-e` option to not validate empty password.
Vincent Bernat [Mon, 26 Aug 2013 21:39:38 +0000 (23:39 +0200)]
Add `-e` option to not validate empty password.

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.

11 years agoUse cairo_status_to_string for descriptive errors.
Bas Pape [Tue, 30 Jul 2013 18:03:19 +0000 (20:03 +0200)]
Use cairo_status_to_string for descriptive errors.

11 years agoadd xcb-atom to pkg-config calls 2.5
Michael Stapelberg [Sun, 9 Jun 2013 09:44:57 +0000 (11:44 +0200)]
add xcb-atom to pkg-config calls

11 years agoupdate changelog for 2.5
Michael Stapelberg [Sun, 9 Jun 2013 09:13:39 +0000 (11:13 +0200)]
update changelog for 2.5

11 years agoSet window name
Axel Wagner [Tue, 9 Apr 2013 16:31:25 +0000 (18:31 +0200)]
Set window name

11 years agoFix centering the indicator in the no-xinerama case
Sebastian Ullrich [Thu, 28 Mar 2013 23:46:22 +0000 (00:46 +0100)]
Fix centering the indicator in the no-xinerama case

11 years agofix ctrl-u handling
Michael Stapelberg [Fri, 29 Mar 2013 09:13:01 +0000 (10:13 +0100)]
fix ctrl-u handling

11 years agoFix resetting the password after failed authentications
Sebastian Ullrich [Thu, 28 Mar 2013 23:43:43 +0000 (00:43 +0100)]
Fix resetting the password after failed authentications

This has been broken by commit 661344.

11 years agoAdd ctrl+u password reset
Philip Dexter [Sat, 23 Mar 2013 16:33:56 +0000 (12:33 -0400)]
Add ctrl+u password reset

11 years agoUse ev_loop_fork after fork, this fix forking on kqueue based OSes
Baptiste Daroussin [Wed, 20 Mar 2013 16:48:21 +0000 (17:48 +0100)]
Use ev_loop_fork after fork, this fix forking on kqueue based OSes

11 years agoREADME: refer to cr.i3wm.org for patches
Michael Stapelberg [Sun, 10 Feb 2013 14:18:54 +0000 (15:18 +0100)]
README: refer to cr.i3wm.org for patches

11 years agoLimit the debug print to the actual password size
Quentin Glidic [Thu, 7 Feb 2013 16:14:53 +0000 (17:14 +0100)]
Limit the debug print to the actual password size

Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
12 years agoRGB color notation is 3-byte hexadecimal
Vivien Didelot [Thu, 6 Dec 2012 05:38:45 +0000 (00:38 -0500)]
RGB color notation is 3-byte hexadecimal

Signed-off-by: Vivien Didelot <vivien.didelot@gmail.com>
12 years agoAllow passwordless PAM conversations (e.g. fingerprint)
Moritz Augsburger [Sat, 3 Nov 2012 10:32:07 +0000 (10:32 +0000)]
Allow passwordless PAM conversations (e.g. fingerprint)

12 years agoAllow XKB_KEY_XF86ScreenSaver as synonm for enter
Moritz Augsburger [Sat, 3 Nov 2012 10:31:29 +0000 (10:31 +0000)]
Allow XKB_KEY_XF86ScreenSaver as synonm for enter

This keysym is generated on convertible tablets by pressing a hardware
lock/unlock button.

12 years agoremove support for NOLIBCAIRO, cairo-xcb is widespread by now
Michael Stapelberg [Fri, 26 Oct 2012 18:42:26 +0000 (20:42 +0200)]
remove support for NOLIBCAIRO, cairo-xcb is widespread by now

12 years agoREADME: remove unhelpful comment about pkg-config
Michael Stapelberg [Fri, 26 Oct 2012 18:40:20 +0000 (20:40 +0200)]
README: remove unhelpful comment about pkg-config

12 years agouse libxkbcommon for input handling
Michael Stapelberg [Fri, 26 Oct 2012 18:24:55 +0000 (20:24 +0200)]
use libxkbcommon for input handling

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

12 years agobugfix: free(reply) to avoid memory leak
Michael Stapelberg [Fri, 26 Oct 2012 18:21:53 +0000 (20:21 +0200)]
bugfix: free(reply) to avoid memory leak

12 years agos/pam_message/pam_response/ (Thanks Tucos)
Michael Stapelberg [Mon, 15 Oct 2012 20:39:49 +0000 (22:39 +0200)]
s/pam_message/pam_response/ (Thanks Tucos)

The previous code didn’t cause any issues since both types (currently!)
have the same size.

12 years agopromote the "could not load image" message from debug to normal
Michael Stapelberg [Wed, 26 Sep 2012 09:21:48 +0000 (11:21 +0200)]
promote the "could not load image" message from debug to normal

12 years agoonly use mlock() on Linux, FreeBSD (for example) requires root
Michael Stapelberg [Wed, 22 Aug 2012 18:49:10 +0000 (20:49 +0200)]
only use mlock() on Linux, FreeBSD (for example) requires root

12 years agogetopt_long returns int, don't cast to char.
Fernando Tarlá Cardoso Lemos [Fri, 29 Jun 2012 13:30:39 +0000 (10:30 -0300)]
getopt_long returns int, don't cast to char.

On ARM, casting -1 to char turns it into something else. Fixes
argument parsing on ARM. Thanks Chipaca for reporting.

12 years agoupdate changelog for 2.4.1 2.4.1
Michael Stapelberg [Sat, 2 Jun 2012 12:45:12 +0000 (14:45 +0200)]
update changelog for 2.4.1

12 years agoskip shift when getting the modifier mask (Thanks SardemFF7)
Michael Stapelberg [Wed, 30 May 2012 14:53:16 +0000 (16:53 +0200)]
skip shift when getting the modifier mask (Thanks SardemFF7)

12 years agorevert shift lock handling (broke uppercase letters)
Michael Stapelberg [Wed, 30 May 2012 14:08:12 +0000 (16:08 +0200)]
revert shift lock handling (broke uppercase letters)

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.

12 years agoBugfix: Correctly center unlock indicator after reconfiguring screens (Thanks xn)
Michael Stapelberg [Sat, 19 May 2012 19:13:03 +0000 (21:13 +0200)]
Bugfix: Correctly center unlock indicator after reconfiguring screens (Thanks xn)

Fixes: #712
12 years agoremove debian/
Michael Stapelberg [Sat, 7 Apr 2012 22:23:46 +0000 (00:23 +0200)]
remove debian/

The Debian packaging is now hosted on Debian servers at
git://git.debian.org/users/stapelberg/i3lock.git

This makes life easier for Debian people. It makes life harder
for you if you want to build a Debian package of the current
git version. Here is how you could do that now:

Build a tarball of the current git version:
mkdir ../i3lock-dpkg
VERSION=i3lock-$(git describe --tags)
git archive --prefix=$VERSION/ --output=../i3lock-dpkg/$VERSION.tar.bz2 HEAD

get the packaging:
cd ../i3lock-dpkg
gbp-clone git://git.debian.org/users/stapelberg/i3lock.git
cd i3lock
git-import-orig ../$VERSION.tar.bz2
dpkg-buildpackage

12 years agoadd .gitignore
Michael Stapelberg [Sat, 7 Apr 2012 17:41:12 +0000 (19:41 +0200)]
add .gitignore

12 years agoadd CHANGELOG file 2.4
Michael Stapelberg [Sun, 1 Apr 2012 11:10:50 +0000 (13:10 +0200)]
add CHANGELOG file

12 years agoUse (void) instead of () for functions without args (Thanks fernandotcl)
Michael Stapelberg [Sun, 1 Apr 2012 10:28:28 +0000 (12:28 +0200)]
Use (void) instead of () for functions without args (Thanks fernandotcl)

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.

12 years agoBugfix: fallback when the image cannot be loaded
Michael Stapelberg [Wed, 28 Mar 2012 18:59:17 +0000 (20:59 +0200)]
Bugfix: fallback when the image cannot be loaded

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.

12 years agoOnly output text when in debug mode (fixes problems with xautolock)
Michael Stapelberg [Mon, 26 Mar 2012 17:54:47 +0000 (19:54 +0200)]
Only output text when in debug mode (fixes problems with xautolock)

12 years agoBugfix: Fix background color when using cairo (Thanks Pascal)
Michael Stapelberg [Mon, 26 Mar 2012 16:59:41 +0000 (18:59 +0200)]
Bugfix: Fix background color when using cairo (Thanks Pascal)