Commit graph

212 commits

Author SHA1 Message Date
Doug Torrance 413a212a2e wmacpi: Bump to version 2.2rc5.
Source obtained from http://sourceforge.net/projects/wmacpi/files/.

2009 August 10 2.2rc5
	Small Makefile fix to allow compiling on newer GCCs, supplied
	Michael Shigorin of ALT Linux.
2014-08-19 18:13:57 +01:00
Doug Torrance aa177b7402 wmacpi: Bump to version 2.2rc4.
Source obtained from http://sourceforge.net/projects/wmacpi/files/.

2008 November 14 2.2rc4
	Change the way that we sleep/wait for activity, to use select
	rather than a fixed-length sleep, supplied by Julien Blache of
	Debian:

	Hi,

	The attached patch for wmacpi makes it use select() instead of
	sleeping. It also adjusts the timeout of the select() call
	depending on the blink & scroll options.

	If scrolling is not activated, there's no reason to wake up
	10x/sec. If blinking is activated, waking up once per second is
	enough. If blinking is not activated, then we can wake up just to
	update the data and we're fine.

	With scrolling and blinking disabled, this saves a number of
	wakeups and helps battery life. Unfortunately there's another
	source of wakeups that's probably due to libdockapp that still
	makes 6 wakeups/seconds (in another thread it seems).

	With this patch wmacpi makes a best effort to match the sample
	rate set by the user, but that's hardly an issue I think.

	I haven't released this patch yet in Debian, so if you like it and
	want to roll out a release, feel free :) Otherwise I'll add it to
	the package soon.

	Thanks,

	JB.
2014-08-19 18:13:57 +01:00
Doug Torrance 61cad1c561 wmacpi: Bump to version 2.2rc3.
Source obtained from http://sourceforge.net/projects/wmacpi/files/.

2008 March 18 2.2rc3
	Some fixes for the sysfs interface support, supplied by
	jblache@debian.org:

	> Okay, I finally found time to make a new release including this
	> patch - 2.2rc2. It's up on my website now.

	I don't remember sending you the updated patch, as it turned out that
	you can have different attributes in sysfs depending on what the
	battery reports.

	The current version is attached.

	Thanks,

	JB.

Source obtained from http://sourceforge.net/projects/wmacpi/files/.
2014-08-19 18:13:57 +01:00
Doug Torrance ffd4b11477 wmacpi: Bump to version 2.2rc1.
Source obtained from http://sourceforge.net/projects/wmacpi/files/.

2007 July 14 2.2rc1
	Major changes to command line handling and to the way we use
	libdockapp, courtesy of Patrice Dumas. This should hopefully fix
	several long-standing bugs with non-wmaker window managers (in
	particular Debian bugs #280495 and 293546).

	Updated to support newer kernels that no longer support
	/proc/acpi/info - thanks to Samuel Ortiz.

	Fixed a longstanding issue with redrawing - thanks to Vito
	Caputo.

	This version changes a number of command line options (little used
	ones, but they're still incompatible changes) due to the
	libdockapp work. In particular, -w becomes -x, -v becomes -V (and
	takes an argument rather than being repeated), and -V becomes -v
	(thanks to libdockapp grabbing -h, -v and -w for itself). Also,
	long options are now supported for everything in wmacpi (but not
	acpi, since it doesn't use libdockapp for command line parsing).
2014-08-19 18:13:57 +01:00
Doug Torrance ea8b68a3ce wmacpi: Bump to version 2.2a1.
Source obtained from http://sourceforge.net/projects/wmacpi/files/.

2007 January 10 2.2a1
	Added a patch from Patrice Dumas to support newer versions of
	libdockapp.

	Updated email address in AUTHORS and manpages.
2014-08-19 18:13:57 +01:00
Doug Torrance 82eb5a6035 wmacpi: Bump to version 2.1.
Source obtained from http://sourceforge.net/projects/wmacpi/files/.

2005 February 2 2.1
	Finalised libdockapp-0.5.0 port - no changes from 2.1rc1.
2014-08-19 18:13:57 +01:00
Doug Torrance be98421494 wmacpi: Bump to version 2.1rc1.
Source obtained from http://sourceforge.net/projects/wmacpi/files/.

2005 Jan 5 2.1rc1
	Typo fix in the manpage.

	Ported to libdockapp-0.5.0 - all this needed was changing the
	type of the dockapp width and height to unsigned short.
2014-08-19 18:13:57 +01:00
Doug Torrance 2eeca91cc0 wmacpi: Bump to version 2.0.
Source obtained from http://sourceforge.net/projects/wmacpi/files/.

2004 October 24 2.0
	Upped version number to 2.0.

	Small typo fixes.

	wmacpi 2.0 goes gold . . .
2014-08-19 18:13:57 +01:00
Doug Torrance f52c697212 wmacpi: Bump to version 2.0rc1.
Source obtained from http://sourceforge.net/projects/wmacpi/files/.

2004 September 28 2.0rc1
	Added support for switching to capacity mode automatically, on
	detecting dodgy reports from the battery.

	Added support for capacity mode on charging, with automatic
	enabling as per discharging.

	Various cleanups.

	Hopefully last release before the final 2.0.
2014-08-19 18:13:57 +01:00
Doug Torrance 6014b452cb wmacpi: Bump to version 1.99r7.
Source obtained from http://sourceforge.net/projects/wmacpi/files/.

2004 August 18 1.99r7
	Implemented the libdockapp port - this seems to close Debian bug
	#227819, but it hasn't received sufficient testing.

	Implemented a capacity mode for calculating time remaining (as
	opposed to the normal current rate mode) - this mode samples the
	remaining capacity of the battery and notes the time at which it
	was sampled, and uses a history of samples to estimate the rate of
	drain on the battery. From there it calculates a value for time
	remaining.

	Also, various cleanups have gone in:

	* a reworking of the scrolling code

	* generic battery number support (rather than just
	using two pixmaps, one for b1 and one for b2)

	* stopped the battery glyph from blinking when running on AC
2014-08-19 18:13:57 +01:00
Doug Torrance dd9ef3519f wmacpi: Bump to version 1.99r6.
Source obtained from http://sourceforge.net/projects/wmacpi/files/.

2004 July 19 1.99r6
	Fix for Debian bug #250792 - the parser for the acpi files was
	too stupid to deal with error conditions. I've now added some
	basic checking to make it handle the error that caused the bug
	report, but I'll need to add more later.
2014-08-19 18:13:57 +01:00
Doug Torrance 38bd883523 wmacpi: Bump to version 1.99r5.
Source obtained from http://sourceforge.net/projects/wmacpi/files/.

2004 April 23 1.99r5
	Collected fixes for the collected fixes below . . .

	* Manpage fixes, to reflect the reality of the current code.

	* Code cleanups, to make a few things more sensible. Most notably,
	the interface for setting the samplerate has changed so that it's
	no longer inverted and illogical - you now say how many times you
	want to sample per minute.

	* Fixed an issue with initialisation - I'd moved the power_init()
	call below the options parsing code, without dealing with the -m
	option properly. The end result was that if you told it to monitor
	a battery number, it would fail saying the battery didn't exist. I
	moved the check for this out of the options parsing and after the
	power_init() call.

	* Fixed a leaking file descriptor in init_ac_adapters.

	* Implemented a way to handle changing batteries - reinitialise
	the battery info periodically. I don't know of a better way to do
	that, since we'd have to do all that parsing anyway to find out if
	it had changed . . .

	libdockapp is waiting, but I think that's the only change left
	without more bug repots . . .
2014-08-19 18:13:57 +01:00
Doug Torrance e5eb888b1f wmacpi: Bump to version 1.99r4.
Source obtained from http://sourceforge.net/projects/wmacpi/files/.

2004 April 15 1.99r4
	Collected fixes for various small issues.

	* Fixed a problem with placement of the window when using the
	click to place mode - turned out to be a sizehints problem.

	* Some fixes to the manpage.

	* Reenabled the CLI build by default - the Debian patches can
	handle disabling it themselves.

	* Added a way to disable the scrolling message, since some users
	find this annoying.

	I've left the big changes that are needed (like using libdockapp,
	in the hope that it'll solve the docking problems) until later, so
	that I can get these smaller fixes out. Hopefully soon . . .
2014-08-19 18:13:57 +01:00
Doug Torrance 9c6f407b38 wmacpi: Bump to version 1.99r3.
Source obtained from http://sourceforge.net/projects/wmacpi/files/.

2004 January 12 1.99r3
	. . . and a fix for a fix that didn't fix it . . .
2014-08-19 18:13:57 +01:00
Doug Torrance 2de3883e99 wmacpi: Bump to version 1.99r2.
Source obtained from http://sourceforge.net/projects/wmacpi/files/.

2004 January 12 1.99r2
	Some cleanups and bugfixes found by the wonderful Debian users.

	It's finally in testing!
2014-08-19 18:13:57 +01:00
Doug Torrance e5b50109b6 wmacpi: Bump to version 1.99r1.
Source obtained from http://sourceforge.net/projects/wmacpi/files/.
2014-08-19 18:13:57 +01:00
Doug Torrance 6961aed640 wmacpi: Bump to version 1.99.
Source obtained from http://sourceforge.net/projects/wmacpi/files/.

2003 November 23 1.99
	Finally claimed the wmacpi name as my own . . .

	Renamed wmacpi-ng and acpi-ng, renamed the header files, fixed up
	the makefile.

	For the Debian package, also made compilation of the command line
	tool optional, defaulting to not building it. This is because
	after the renaming, my acpi clashes with the acpi package that's
	already in Debian. The command line functionality is now
	accessible via the -w option to wmacpi.

	This is wmacpi 1.99, so that I can have a release packaged and in
	Debian before going to 2.0, so that any bugs that are left can be
	found by all the extra users.
2014-08-19 18:13:56 +01:00
Doug Torrance 310714058f wmacpi: Bump to wmacpi-ng version 0.99.
Source obtained from http://sourceforge.net/projects/wmacpi/files/.

2003 September 26 0.99
	Fix the last of the old wmacpi code oddities (specifically, the
	APMInfo struct, which was a completely inappropriate name given we
	no longer deal with APM, and because of the various code
	refactoring).

	I think this is probably as good as I can make it without getting
	more feedback and the like, so I'm going to make this version
	0.99, preliminary to either wmacpi-ng 1.0 or wmacpi 2.0 (depending
	which direction I go with that).
2014-08-19 18:13:56 +01:00
Doug Torrance df54026a62 wmacpi: Bump to wmacpi-ng version 0.92.
Source obtained from http://sourceforge.net/projects/wmacpi/files/.

2003 September 23 0.92
	Fix a few more bugs, and include an option to allow the user to
	specify how often to sample the ACPI data - some BIOSes disable
	all interrupts while reading from the battery, which apparently
	causes some interactivity issues. I have no idea why reading once
	every three seconds (which is our default), but there've been some
	complaints.
2014-08-19 18:13:56 +01:00
Doug Torrance 61ea0840d6 wmacpi: Bump to wmacpi-ng version 0.90.
Source obtained from http://sourceforge.net/projects/wmacpi/files/.

2003 July 16 0.90
	Make the time display show '--:--' instead of '00:00' when the
	time remaining is 0 - I think this is reasonable, since it'll only
	get into this state when the present rate value is 0. This only
	happens when the battery is fully charged and neither discharging
	or charging, or when the battery is completely drained. In any of
	these states the time remaining is of very little interest, so we
	don't lose anything. We also get to handle the (sadly, very
	common) case where the ACPI subsystem doesn't report sane values
	for the things we depend on.
2014-08-19 18:13:56 +01:00
Doug Torrance a68f78f034 wmacpi: Bump to wmacpi-ng version 0.50.
Source obtained from http://sourceforge.net/projects/wmacpi/files/.

2003 July 6 0.50
	Finally got rid of that annoying button - that space now contains
	a 'B 1' or 'B 2' (only those two at present, since I'm too lazy to
	fix it so that the number is generic. It should work fine for
	anyone who doesn't have a freakish system with more than two
	batteries . . .)

	A few more code cleanups.
2014-08-19 18:13:56 +01:00
Doug Torrance 9fcd703e60 Add script to generate dockapps website database.
This script is run in the root directory of the dockapps repo to generate the
file used by the Window Maker website to store all of the information in the
dockapps section.  Note that this file will then be submitted to the whome repo.
2014-08-13 12:05:33 +01:00
Rodolfo García Peñas (kix) db4f9a0307 wmbatteries: Remove unneded files
This patch removes files not used in wmbatteries repo.
2014-08-12 18:51:01 +01:00
Rodolfo García Peñas (kix) 6adf44ca1a wmnotify: Remove svn folder
This patch removes the old svn folder.
2014-08-12 18:51:01 +01:00
Rodolfo García Peñas (kix) 2c429729d6 wmacpiload: Avoid warning in configure.ac
This patch removes the warning about extra values in AM_INIT_AUTOMAKE.
2014-08-12 18:51:01 +01:00
Rodolfo García Peñas (kix) a5dd70c29d wmacpiload: Avoid warning in Makefile.am
This patch remove the warning about the old keywords "CPPFLAGS" and "INCLUDES"
using AM_CPPFLAGS.
2014-08-12 18:51:01 +01:00
Rodolfo García Peñas (kix) 347c42f0a1 wmacpiload: New autogen.sh file
This patch includes the autogen.sh file.
2014-08-12 18:51:01 +01:00
Rodolfo García Peñas (kix) 1bbb8751b0 wmacpiload: Removed unneed files
This patch removes these files:

- .xvpics/*: Images for xv, not used.
- *.o: Compiler object files.
- wmacpiload and battest: Binary files.
2014-08-12 18:51:01 +01:00
Doug Torrance 665b8f777a wmmixer-alsa: Add to repository.
Previously, wmmixer-alsa existed as an object in the repository named
wmmixer-alsa-0.6.  However, it was not a directory and contained no files.
This patch removes this object and adds the source to wmmixer-alsa.  It was
obtained by extracting wmmixer-alsa-0.6.tar.gz from the source rpm found at
http://ftp.cc.uoc.gr/mirrors/linux/pld/pool/w/wmmixer-alsa/.
2014-08-06 13:23:10 -06:00
Doug Torrance 07b53ba34e wmifinfo: Restore FSF address update.
This patch restores the updated FSF address from commit 792a5d which was
removed when version 0.7 was introduced in commit f93842.
2014-08-06 13:23:10 -06:00
Doug Torrance 8d7e817de2 wmifinfo: bump to version 0.9. 2014-07-29 08:03:37 -06:00
Doug Torrance c2861235bc wmifinfo: bump to version 0.8. 2014-07-29 08:03:37 -06:00
Doug Torrance f938426084 wmifinfo: bump to version 0.7. 2014-07-29 08:03:37 -06:00
Christophe CURIS 36febff3d5 wmix: increased version number to 3.2 after the recent changes
Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
2014-06-07 21:27:27 +01:00
Christophe CURIS d37962fd46 wmix: do not count space padding in channel short name when comparing names for exclusion
The names for channels provided by <sys/soundcard.h> have a padding with
space when their name is shorter than 6 characters, and this cause
excluding them difficult.
The new comparison code makes sure this padding is properly handled during
the match search.

Took the opportunity to bring light changes to try to improve the
readability of the channel listing code.

Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
2014-06-07 21:27:27 +01:00
Christophe CURIS ccff1cf409 wmix: allow to choose device and exclude channels from the config file
Because that's the kind of option that could deserve to be saved in the
file. A device specified on the command line will take precedence; the
list of channel to exclude will be merged.

Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
2014-06-07 21:27:27 +01:00
Christophe CURIS 67548f3b6a wmix: added an option to disable grabbing the volume control keys
There may be some case where user would like to fall back to the original
behaviour, for example if grabbing these keys could get in conflict with
other applications.

Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
2014-06-07 21:27:27 +01:00
Christophe CURIS d83b160217 wmix: added error catch for XGrabKey on multimedia keys
If another application has already set a grab on these keys then the call
would fail (BadAccess) and wmix stop. With the X error handler, we can
display a warning to user and continue anyway.

Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
2014-06-07 21:27:27 +01:00
Christophe CURIS 4379368290 wmix: added function to handle Multimedia keys related to volume
We can handle the keys AudioRaiseVolume, AudioLowerVolume and AudioMute,
so we ask the X server to send the key press event for them to us and
update the volume appropriately.

Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
2014-06-07 21:27:27 +01:00
Christophe CURIS 3e2d8a730a wmix: always display the version information when verbose is asked
Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
2014-06-07 21:27:27 +01:00
Christophe CURIS d7add56750 wmix: release memory for startup-only configuration stuff after startup
A number of configuration options are useful only during the startup, so it
is possible to free them when ready.

Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
2014-06-07 21:27:27 +01:00
Christophe CURIS b1fcdb1552 wmix: added appropriate message and fall back if user's color for OSD failed
It is generally not considered a good behaviour to leave user puzzled on
non-working request. With a little message at least he will know where to
look at.

Signed-off-by: Christophe CURIS <christophe.curis@free.fr>

Conflicts:
	wmix/config.c
2014-06-07 21:27:27 +01:00
Christophe CURIS 546bc1e49b wmix: rewrote parser of config file to report problems to user
The original parser would not say anything if the user had misspelled
something in the file which can be annoying. Now the parser will report
warnings for everything not understood with a message trying to be more
helpful to debug and fix.

Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
2014-06-07 21:27:27 +01:00
Christophe CURIS 5b46b380e6 wmix: changed command line parsing code to report properly incorrect options
The original code did not abort when an invalid option was provided
or if there was non-options arguments on the command line.
The new code will report all problems found and stop to have the user
fix his command. It also remove some unnecessary pointer checks.

Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
2014-06-07 21:27:27 +01:00
Christophe CURIS 676fc13cb2 wmix: be more verbose about the configuration file in use
If the config file was set by user with '-f', it would be a good idea to
report him if we're not able to load it.
Took opportunity to report to user that the config file is loaded if he
asked for verbose operations, so he can see if the default file loaded
is the one he expected.

Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
2014-06-07 21:27:27 +01:00
Christophe CURIS b394e0bdba wmix: moved the initialisation of the config to the related file
Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
2014-06-07 21:27:27 +01:00
Christophe CURIS eb8be92aa8 wmix: moved parsing of Command-Line options to the config handling file
Took opportunity to re-order them alphabetically so they are easier to
work with, both for devs and for users.

Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
2014-06-07 21:27:27 +01:00
Christophe CURIS 4c1bae53c4 wmix: created new file config.c to contain configuration related stuff
Management of the configuration is split in many places, the goal is to
regroup stuff together, starting with the loading from file stuff.

Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
2014-06-07 21:27:27 +01:00
Christophe CURIS e2dc01bdc0 wmix: create the PID file only after successful initialisation
The PID file was created at the early beginning, but wmix can abort later
if something is not ok. It is better to create it at the end, so it will
be created only if wmix will actually be running.

Took the opportunity to move the code to a dedicated function to keep main
simple, and added a check to fix possible crash on startup if environment
variable $HOME does not exist.

Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
2014-06-07 21:27:27 +01:00
Christophe CURIS 8eae1880b9 wmix: removed unused variable because a pixmap's mask is not used
The bitmap mask associated to the Led image on the knob was not used,
probably because the visual gain is negligible compared to the added
complexity to handle it.
So, as compiler warned about it, remove the variable.

Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
2014-06-07 21:27:27 +01:00