Commit graph

51 commits

Author SHA1 Message Date
mathias.gumz
a8e13c2c6e fix for #5, avoid beeing bypassed by disabling 'AllowClosedownGrabs' and 'AllowDeactivateGrabs'
--HG--
extra : convert_revision : svn%3Aeebe1cee-a9af-4fe4-bd26-ad572b19c5ab/trunk%4089
2009-02-25 06:50:43 +00:00
mathias.gumz
73882e869e fix for #17, setting PAM_TTY helps root
--HG--
extra : convert_revision : svn%3Aeebe1cee-a9af-4fe4-bd26-ad572b19c5ab/trunk%4087
2009-02-24 21:09:24 +00:00
mathias.gumz
84f236d537 introduced a 'check' mode (yellow frame)
--HG--
extra : convert_revision : svn%3Aeebe1cee-a9af-4fe4-bd26-ad572b19c5ab/trunk%4084
2008-10-08 06:33:38 +00:00
mathias.gumz
c3a84e4ccb fix for overlapping penalty from auth-backends (eg pam's 3s timeout on wrong passwd) and alock itself
--HG--
extra : convert_revision : svn%3Aeebe1cee-a9af-4fe4-bd26-ad572b19c5ab/trunk%4083
2008-10-07 16:37:33 +00:00
mathias.gumz
84c7f93dbc always 1s penalty
--HG--
extra : convert_revision : svn%3Aeebe1cee-a9af-4fe4-bd26-ad572b19c5ab/trunk%4082
2008-10-06 20:24:59 +00:00
mathias.gumz
940ff5c101 visual feedback working
--HG--
extra : convert_revision : svn%3Aeebe1cee-a9af-4fe4-bd26-ad572b19c5ab/trunk%4080
2008-10-06 20:04:18 +00:00
mathias.gumz
232dd601d9 fix initial state of visual feedback
--HG--
extra : convert_revision : svn%3Aeebe1cee-a9af-4fe4-bd26-ad572b19c5ab/trunk%4079
2008-10-05 15:56:59 +00:00
mathias.gumz
3586877dc0 first version with visual feedback (still rough)
--HG--
extra : convert_revision : svn%3Aeebe1cee-a9af-4fe4-bd26-ad572b19c5ab/trunk%4078
2008-10-04 11:14:58 +00:00
mathias.gumz
5e74642877 disallow running multiple instances on the same xserver at the same time
--HG--
extra : convert_revision : svn%3Aeebe1cee-a9af-4fe4-bd26-ad572b19c5ab/trunk%4077
2008-09-13 08:18:15 +00:00
mathias.gumz
0482eac2df minor fixes to scons
--HG--
extra : convert_revision : svn%3Aeebe1cee-a9af-4fe4-bd26-ad572b19c5ab/trunk%4076
2008-06-24 06:51:32 +00:00
mathias.gumz
382ac2a152 (f)printf formatstring issues fixed
--HG--
extra : convert_revision : svn%3Aeebe1cee-a9af-4fe4-bd26-ad572b19c5ab/trunk%4074
2008-06-24 06:22:35 +00:00
mathias.gumz
8c72bcdb97 * small fixes in SConstruct, typo
--HG--
extra : convert_revision : svn%3Aeebe1cee-a9af-4fe4-bd26-ad572b19c5ab/trunk%4065
2007-04-20 07:03:32 +00:00
mathias.gumz
ccca6f24dd * cosmetics (dates, ws, ordering, header cosmetics)
* mentioned code contributors in the docu (even the "passive"
  ones as openbsd etc)

--HG--
extra : convert_revision : svn%3Aeebe1cee-a9af-4fe4-bd26-ad572b19c5ab/trunk%4064
2007-03-17 18:45:36 +00:00
mathias.gumz
6da5b9b378 * GNUmakefile for gmake only (instead of Makefile)
* no -lpam_misc on FreeBSD
* no shadow.h on *BSD
* started TODO.txt

--HG--
rename : Makefile => GNUmakefile
rename : src/Makefile => src/GNUmakefile
extra : convert_revision : svn%3Aeebe1cee-a9af-4fe4-bd26-ad572b19c5ab/trunk%4063
2007-03-02 14:24:13 +00:00
mathias
a4b41f5458 --HG--
extra : convert_revision : svn%3Aeebe1cee-a9af-4fe4-bd26-ad572b19c5ab/trunk%4061
2006-12-16 09:45:49 +00:00
mathias
7ff31ef752 * fixed problem with configure/make, it didnt rebuilt fresh
after reconfiguring

--HG--
extra : convert_revision : svn%3Aeebe1cee-a9af-4fe4-bd26-ad572b19c5ab/trunk%4060
2006-10-25 19:12:30 +00:00
mathias
f34aea64bd * fixed #4, -bg image wasnt working, wrong loop
--HG--
extra : convert_revision : svn%3Aeebe1cee-a9af-4fe4-bd26-ad572b19c5ab/trunk%4059
2006-09-25 21:15:48 +00:00
mathias
690be9684e * added new auth method: wpool, hash-based authentification
* minor tweaks to buildsystem and standalones
  using the whirlpool hash algorithm

--HG--
extra : convert_revision : svn%3Aeebe1cee-a9af-4fe4-bd26-ad572b19c5ab/trunk%4057
2006-09-22 07:27:29 +00:00
mathias
9d3bbc2c2e * cosmetic issues on some files (fprintf, etc)
--HG--
extra : convert_revision : svn%3Aeebe1cee-a9af-4fe4-bd26-ad572b19c5ab/trunk%4056
2006-09-22 07:26:35 +00:00
mathias
c4548efce3 * fixed #3, builtsystem didnt use 'shadow'
--HG--
extra : convert_revision : svn%3Aeebe1cee-a9af-4fe4-bd26-ad572b19c5ab/trunk%4055
2006-09-19 21:54:40 +00:00
mathias
3ae04902d2 * cosmetic fixes
--HG--
extra : convert_revision : svn%3Aeebe1cee-a9af-4fe4-bd26-ad572b19c5ab/trunk%4051
2006-09-19 20:00:49 +00:00
mathias
a29e69cc08 * fight evil bashisms to make it work on fbsd
* little mods to src/Makefile (depfiles)

--HG--
extra : convert_revision : svn%3Aeebe1cee-a9af-4fe4-bd26-ad572b19c5ab/trunk%4049
2006-09-15 02:44:37 +00:00
mathias
e707f454ed * made the timeout function more clear
* only accept rlen < 50, dont increase it when it makes no sense
* minor splint based mods

--HG--
extra : convert_revision : svn%3Aeebe1cee-a9af-4fe4-bd26-ad572b19c5ab/trunk%4046
2006-09-11 21:31:18 +00:00
mathias
5deb0de590 * splint and -Wall fixes
--HG--
extra : convert_revision : svn%3Aeebe1cee-a9af-4fe4-bd26-ad572b19c5ab/trunk%4045
2006-09-07 22:03:31 +00:00
mathias
3857559d82 * modified alock.c to build correctly with gmake
* cosmetics to src/Makefile

--HG--
extra : convert_revision : svn%3Aeebe1cee-a9af-4fe4-bd26-ad572b19c5ab/trunk%4044
2006-09-07 18:04:42 +00:00
mathias
e0bbfcb637 * fixed gmake buildsystem, updated docs
--HG--
extra : convert_revision : svn%3Aeebe1cee-a9af-4fe4-bd26-ad572b19c5ab/trunk%4042
2006-06-01 00:28:30 +00:00
mathias
934e4ba05e * added configure / Makefile to avoid scons-dependancy
* fixes buildsystem

--HG--
extra : convert_revision : svn%3Aeebe1cee-a9af-4fe4-bd26-ad572b19c5ab/trunk%4041
2006-05-29 21:32:25 +00:00
mathias
83cf2e7a88 * lock all screens when X runs in multiscreen mode and display whatever the
-bg defines

--HG--
extra : convert_revision : svn%3Aeebe1cee-a9af-4fe4-bd26-ad572b19c5ab/trunk%4040
2006-05-05 00:41:21 +00:00
mathias
569a19488c * added sha256,sha384 and sha512
* updated docs

--HG--
extra : convert_revision : svn%3Aeebe1cee-a9af-4fe4-bd26-ad572b19c5ab/trunk%4039
2005-12-25 09:30:25 +00:00
mathias
5ea8c86f97 * wip
--HG--
extra : convert_revision : svn%3Aeebe1cee-a9af-4fe4-bd26-ad572b19c5ab/trunk%4038
2005-12-25 01:27:46 +00:00
mathias
4900a70c46 * renaming of bitmap-files, adding first alock-unique cursor
--HG--
extra : convert_revision : svn%3Aeebe1cee-a9af-4fe4-bd26-ad572b19c5ab/trunk%4035
2005-06-01 19:20:10 +00:00
mathias
37bb87fdff * added -cursor image:file=<filename>, uses xrender and xpm/imlib2
* minor tweaks in alock_util.c

--HG--
extra : convert_revision : svn%3Aeebe1cee-a9af-4fe4-bd26-ad572b19c5ab/trunk%4033
2005-06-01 10:06:15 +00:00
mathias
cb217d8034 * set copyright, license and svn:keyword Id to our files
* added the $Id$ tag

--HG--
extra : convert_revision : svn%3Aeebe1cee-a9af-4fe4-bd26-ad572b19c5ab/trunk%4031
2005-05-25 06:43:42 +00:00
mathias
24ad48e50c * solved problems install-problems: use at least scons 0.96.90
* minor tweaks to buildsystem:
    - added scons_alock.py to hold some routines we use
    - adjusting the permissions of created files

--HG--
extra : convert_revision : svn%3Aeebe1cee-a9af-4fe4-bd26-ad572b19c5ab/trunk%4030
2005-05-25 06:31:52 +00:00
mathias
c8a3e4fb82 * changed ui to -cursor xcursor:file=<filename>
--HG--
extra : convert_revision : svn%3Aeebe1cee-a9af-4fe4-bd26-ad572b19c5ab/trunk%4028
2005-05-23 23:43:55 +00:00
mathias
eee940c36c * more consistency in the ui, updated documentation
* added -auth md5:file=<filename>
* added -auth sha1:file=<filename>
* rename -cursor font to -cursor glyph

--HG--
extra : convert_revision : svn%3Aeebe1cee-a9af-4fe4-bd26-ad572b19c5ab/trunk%4027
2005-05-23 23:23:13 +00:00
mathias
809a804c97 forgotten file
--HG--
extra : convert_revision : svn%3Aeebe1cee-a9af-4fe4-bd26-ad572b19c5ab/trunk%4026
2005-05-23 13:28:50 +00:00
mathias
ef432da534 * little restructuring:
- mv bg_imlib2.c bg_image.c

--HG--
rename : src/bg_imlib2.c => src/bg_image.c
extra : convert_revision : svn%3Aeebe1cee-a9af-4fe4-bd26-ad572b19c5ab/trunk%4025
2005-05-23 13:10:43 +00:00
mathias
faca6bfcb0 * added -bg image:shade=<perc>
* added alock_utils.c, shared code goes to that file

--HG--
extra : convert_revision : svn%3Aeebe1cee-a9af-4fe4-bd26-ad572b19c5ab/trunk%4024
2005-05-23 13:06:27 +00:00
mathias
4c6b2c7955 * added -bg shade:
- shade=<perc> - percentage, 0 - 100
    - color=<color> - tint with <color>, default is "black"

--HG--
extra : convert_revision : svn%3Aeebe1cee-a9af-4fe4-bd26-ad572b19c5ab/trunk%4023
2005-05-20 21:44:52 +00:00
mathias
9bbfaa99ba * fix of little typo which lead to unresolved symbols
--HG--
extra : convert_revision : svn%3Aeebe1cee-a9af-4fe4-bd26-ad572b19c5ab/trunk%4021
2005-05-18 20:18:31 +00:00
mathias
e70cb21d01 * 'none' should always be first module, better default
--HG--
extra : convert_revision : svn%3Aeebe1cee-a9af-4fe4-bd26-ad572b19c5ab/trunk%4020
2005-05-18 10:46:40 +00:00
mathias
0320203c30 * fixed minor issues with defaults
--HG--
extra : convert_revision : svn%3Aeebe1cee-a9af-4fe4-bd26-ad572b19c5ab/trunk%4019
2005-05-18 10:42:52 +00:00
mathias
220620fa34 * added -bg image:
- name - name of the image
    - scale - scaling image
    - center - centering image
    - tile - tile image
    - color=<color> - use <color> as bg-color for centering
* -bg blank interpretes the color-option now

--HG--
extra : convert_revision : svn%3Aeebe1cee-a9af-4fe4-bd26-ad572b19c5ab/trunk%4014
2005-05-18 09:53:51 +00:00
mathias
6ac8241d2a * restructuring almost done, polished interface;
- working -bg, -auth and -cursor with all the submodules
    - cleaned -h
    - complete -flag - parsing
* added -cursor font:list and -cursor theme:list
* added -cursor none, doesnt change cursor

--HG--
extra : convert_revision : svn%3Aeebe1cee-a9af-4fe4-bd26-ad572b19c5ab/trunk%4013
2005-05-17 17:17:31 +00:00
mathias
58c2407413 * added -cursor font:<int> option, use <X11/cursorfont.h> for valid values
* reordering of the auth_modules

--HG--
extra : convert_revision : svn%3Aeebe1cee-a9af-4fe4-bd26-ad572b19c5ab/trunk%4010
2005-05-10 21:57:57 +00:00
mathias
336aa3b213 * changed project-name to 'alock':
+ simpler, better name
    + i want to dedicate it to my gf: anja
* minor fixes

--HG--
rename : aklock.1 => alock.1
rename : src/aklock.c => src/alock.c
rename : src/aklock.h => src/alock.h
rename : src/akcursors.c => src/cursors.c
extra : convert_revision : svn%3Aeebe1cee-a9af-4fe4-bd26-ad572b19c5ab/trunk%409
2005-05-09 07:27:07 +00:00
mathias
ec57a11c64 * changed the auth_md5.c - code to the openbsd-version (public domain)
* added auth_sha1.c - also from openbsd-codebase, also public domain
* added two stand-alone programs to calculate md5/sha1 hashs:
    + src/asha1 - reads from stdin, EOF ends
    + src/amd5 - reads from stdin, EOF ends
    (just in case your system DOESNT have md5/md5sum or sha1/sha1sum
* minor changes to aklock.c

--HG--
extra : convert_revision : svn%3Aeebe1cee-a9af-4fe4-bd26-ad572b19c5ab/trunk%408
2005-05-09 06:43:49 +00:00
mathias
e199e274c3 * big restructering + feature enhancements
+ added auth_<method>.c, each basic auth-method has now
      its own implementation-file
    + added -auth - flag:
        - list      - lists all available methods
        - none      - no auth, like -nolock
        - passwd    - standard login, possible shadowsupport
        - pam       - use pam for authentification
        - md5:hash  - provide a md5-hash for authentification
* support for 'shadow'-passwords is part of the passwd authmodule

--HG--
extra : convert_revision : svn%3Aeebe1cee-a9af-4fe4-bd26-ad572b19c5ab/trunk%407
2005-05-07 18:58:56 +00:00
mathias
c9b53228ec * discard all pending xevents after wrong password to prevent
strange folks for blocking the current session by filling
  the eventqueue with wrong authentification and thus block
  the real authentification (kind of denial of service :)
* added suuport to load / have different cursor-shapes
  + -cursor theme|xcursor:<filename>
* added support for xcursor
* restructuring
  + contrib/  -> for stuff coming from the "outside"
    contrib/xcursor-watch -> xcursor taken from 5532-BlueGlass-XCursors-3D-0.4.tar.bz2
  + src/

--HG--
extra : convert_revision : svn%3Aeebe1cee-a9af-4fe4-bd26-ad572b19c5ab/trunk%405
2005-05-05 23:13:53 +00:00