Skip to content

Commit 2893d4c

Browse files
committed
Release version 0.2.6
1 parent 32449b2 commit 2893d4c

File tree

11 files changed

+76
-28
lines changed

11 files changed

+76
-28
lines changed

ChangeLog

+7
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
Tue May 2 21:28:16 EEST 2006 - Theodoros V. Kalamatianos <[email protected]>
2+
* Release 0.2.6
3+
* Updated the copyright notices
4+
* Various minor fixes
5+
* Updated the ToDo list, dropping several items
6+
* Minor documentation updates
7+
18
Mon Mar 13 23:38:59 EET 2006 - Theodoros V. Kalamatianos <[email protected]>
29
* Release 0.2.5
310
* Added the `set()' and `unset()' attributes to manipulate the internal

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#
22
# actkbd - A keyboard shortcut daemon
33
#
4-
# Copyright (c) 2005 Theodoros V. Kalamatianos <[email protected]>
4+
# Copyright (c) 2005-2006 Theodoros V. Kalamatianos <[email protected]>
55
#
66
# This program is free software; you can redistribute it and/or modify it
77
# under the terms of the GNU General Public License version 2 as published by

NEWS

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
0.2.5:
2-
* Added the `set()' and `unset()' attributes to manipulate the internal
3-
state mask of actkbd
4-
* Documentation updates
5-
* Minor code clean-ups
1+
0.2.6:
2+
* Updated the copyright notices
3+
* Various minor fixes
4+
* Updated the ToDo list, dropping several items
5+
* Minor documentation updates

README

+5
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,11 @@ perform some common actions (e.g. eject the CD-ROM or change the volume) without
3232
having to call external commands. Currently, though, actkbd can only execute
3333
external commands, as the supported attributes only serve configuration purposes.
3434

35+
Please keep in mind that the manual creation of a configuration file can be very
36+
complex, especially if some of the more advanced features are required. Unless
37+
you enjoy mind games, you might wish to stick to the more simple configuration
38+
rules...
39+
3540

3641

3742
2. Platforms

TODO

+40-13
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,17 @@
1+
1. Items in the ToDo list:
2+
13
* Find out what happens if the keyboard device suddenly disappears - I have
24
to find a USB keyboard to test this. Make sure we handle this gracefully -
35
no a SIGSEGV is NOT graceful.
46

57
* Perform some testing on non-IA32 platforms, especially on 64-bit and
68
big-endian CPUs - some external feedback is welcome.
79

8-
* Check/Implement support for linux-2.4 kernels. I can't even remember whether
9-
those had a proper event interface...
10-
1110
* Implement the module subsystem. Modules to control sound mixers e.t.c. could
1211
be built.
1312
UPDATE: The attribute infrastructure introduced in actkbd-0.2.0 is the core
1413
of the module subsystem. Now we are just missing the modules...
1514

16-
* Use select() to handle multiple keyboards, instead of just the first one,
17-
and get a USB keyboard to test it.
18-
19-
* Dynamically attach to new keyboards - the select() infrastrusture is a
20-
prerequisite for this - can we do this without periodically reading the
21-
/proc/bus/input/devices file ? Perhaps, with some help from hotplug...
22-
23-
* Per-keyboard configuration - this may never be implemented since it would
24-
complicate the code. Perhaps a hotplug script could handle this better.
25-
2615
* Support additional platforms. To do this, alternatives to linux.c must be
2716
written and the build system must become smarter (autotools ?). I would
2817
also need maintainers for any platform apart from Linux, since I do not
@@ -42,3 +31,41 @@
4231
language...
4332

4433
* Autotools ?
34+
35+
* Research and update the documentation with information on how to couple actkbd
36+
with the hotplug subsystem, so that multiple keyboards can be supported. Any
37+
takers ?
38+
39+
40+
41+
2. Features that will probably never be added:
42+
43+
* Check/Implement support for linux-2.4 kernels. I can't even remember whether
44+
those had a proper event interface...
45+
RATIONALE: If someone still uses a linux-2.4 kernel, well, here's one more
46+
reason to upgrade :-). linux-2.4 will probably not run on my development
47+
system anyway...
48+
49+
* Multiple keyboard support.
50+
RATIONALE: After careful consideration, it was determined that using a single
51+
daemon to handle multiple, possibly very different, keyboards is not a
52+
very good idea. The one prominent category of people that regularly use
53+
multiple keyboards, namely the laptop owners, will usually need totally
54+
different configuration settings for each keyboard, as the external one
55+
will have many more keys and might be missing others (the WLAN switch
56+
comes to mind). It would be simpler and much more efficient to setup the
57+
hotplug scripts to launch multiple actkbd instances, each with its own
58+
configuration file.
59+
60+
* Use select() to handle multiple keyboards, instead of just the first one,
61+
and get a USB keyboard to test it.
62+
RATIONALE: Multiple keyboard support will not be added at all, so...
63+
64+
* Dynamically attach to new keyboards - the select() infrastrusture is a
65+
prerequisite for this - can we do this without periodically reading the
66+
/proc/bus/input/devices file ? Perhaps, with some help from hotplug...
67+
RATIONALE: Multiple keyboard support will not be added at all, so...
68+
69+
* Per-keyboard configuration - this may never be implemented since it would
70+
complicate the code. Perhaps a hotplug script could handle this better.
71+
RATIONALE: Multiple keyboard support will not be added at all, so...

actkbd.c

+12-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* actkbd - A keyboard shortcut daemon
33
*
4-
* Copyright (c) 2005 Theodoros V. Kalamatianos <[email protected]>
4+
* Copyright (c) 2005-2006 Theodoros V. Kalamatianos <[email protected]>
55
*
66
* This program is free software; you can redistribute it and/or modify it
77
* under the terms of the GNU General Public License version 2 as published by
@@ -249,7 +249,16 @@ int main(int argc, char **argv) {
249249
if (help)
250250
return usage();
251251
if (version) {
252-
lprintf("actkbd Version %s\n", VERSION);
252+
lprintf(
253+
"actkbd Version %s\n\n"
254+
"Copyright (c) 2005-2006 Theodoros V. Kalamatianos <[email protected]>\n\n"
255+
"This program is free software; you can redistribute it and/or modify it\n"
256+
"under the terms of the GNU General Public License version 2 as published by\n"
257+
"the Free Software Foundation.\n\n"
258+
"This program is distributed in the hope that it will be useful, but WITHOUT\n"
259+
"ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n"
260+
"FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.\n"
261+
, VERSION);
253262
return OK;
254263
}
255264
if (quiet && !detach) {
@@ -291,7 +300,7 @@ int main(int argc, char **argv) {
291300
case 0:
292301
break;
293302
default:
294-
lprintf("%s: fork() error: %s", argv[0], strerror(errno));
303+
lprintf("%s: fork() error: %s\n", argv[0], strerror(errno));
295304
return FORKERR;
296305
}
297306
lprintf("actkbd %s launched for %s\n", VERSION, device);

actkbd.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* actkbd - A keyboard shortcut daemon
33
*
4-
* Copyright (c) 2005 Theodoros V. Kalamatianos <[email protected]>
4+
* Copyright (c) 2005-2006 Theodoros V. Kalamatianos <[email protected]>
55
*
66
* This program is free software; you can redistribute it and/or modify it
77
* under the terms of the GNU General Public License version 2 as published by

config.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* actkbd - A keyboard shortcut daemon
33
*
4-
* Copyright (c) 2005 Theodoros V. Kalamatianos <[email protected]>
4+
* Copyright (c) 2005-2006 Theodoros V. Kalamatianos <[email protected]>
55
*
66
* This program is free software; you can redistribute it and/or modify it
77
* under the terms of the GNU General Public License version 2 as published by

linux.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* actkbd - A keyboard shortcut daemon
33
*
4-
* Copyright (c) 2005 Theodoros V. Kalamatianos <[email protected]>
4+
* Copyright (c) 2005-2006 Theodoros V. Kalamatianos <[email protected]>
55
*
66
* This program is free software; you can redistribute it and/or modify it
77
* under the terms of the GNU General Public License version 2 as published by

mask.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* actkbd - A keyboard shortcut daemon
33
*
4-
* Copyright (c) 2005 Theodoros V. Kalamatianos <[email protected]>
4+
* Copyright (c) 2005-2006 Theodoros V. Kalamatianos <[email protected]>
55
*
66
* This program is free software; you can redistribute it and/or modify it
77
* under the terms of the GNU General Public License version 2 as published by

version.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
/*
22
* actkbd - A keyboard shortcut daemon
33
*
4-
* Copyright (c) 2005 Theodoros V. Kalamatianos <[email protected]>
4+
* Copyright (c) 2005-2006 Theodoros V. Kalamatianos <[email protected]>
55
*
66
* This program is free software; you can redistribute it and/or modify it
77
* under the terms of the GNU General Public License version 2 as published by
88
* the Free Software Foundation.
99
*/
1010

11-
#define VERSION "0.2.5"
11+
#define VERSION "0.2.6"

0 commit comments

Comments
 (0)