Commit graph

946 commits

Author SHA1 Message Date
Steffen Schmidt 349ba688ea wmcliphist: unused functions and start as dockapp
-removed unused functions and simplified the source code.
-change the main function, whereby the program starts as dockapp on
Fluxbox and Openbox.
-attach a html-page "wmcliphist.html", in what the menu items of the
program are shortly described.

Signed-off-by: Carlos R. Mafra <crmafra@gmail.com>
2018-04-27 14:15:51 +01:00
Steffen Schmidt c8bafad24c wmcliphist: Fix a typo in the Makefile
Signed-off-by: Carlos R. Mafra <crmafra@gmail.com>
2018-04-27 14:15:41 +01:00
Doug Torrance 1acb15ed41 wmbattery: Fix typo in manpage. 2018-04-17 15:49:33 +01:00
Doug Torrance 67f91e7794 wmmon: Bump to version 1.4. 2018-04-11 00:07:09 +01:00
Doug Torrance 2a199f8b19 wmmon: Add support for larger load averages.
Previously, a green hint line was drawn on the CPU window for each
multiple of 1.  This meant as the load average approached 40 (the
height of the window), the window would gradually fill up entirely
with green.

To get around this, we switch to a yellow hint line for each
multiple of 10 once the load passes 10.  And then a red hint line
for each multiple of 100 once the load passes 100.

This fixes Debian bug #894801, reported by Pedro Gimeno
<debian.bts@personal.formauri.es>.
2018-04-11 00:07:03 +01:00
Doug Torrance bdfca9d3d0 wmmon: Only compute vertical position of hint lines once.
The system load monitor displays green hint lines at every 100 units once
load average rises above 100.

Previously, the vertical position of these lines was computed before
each and every pixel was drawn.  But since the horizontal position
isn't needed for this computation, we move it up a level to the
outer for loop.
2018-04-11 00:06:58 +01:00
Doug Torrance 7354c4df53 wmmon: Properly compute height of system load window.
Previously, we looped through the history and added 100 whenever we found
a larger value.  This has a number of problems.  In particular,
* We get a maximum possible value of 5500 (100 * the number of values in
  the history).  It is certainly possible to have a system load north of
  this on modern systems.
* If the system load in history were to jump by more than 100 in a single
  step, then we wouldn't be adding enough.  For example, suppose the
  system load in history is 175, and our height was previously computed
  to be 200.  Suppose the next value in history is 320.  We would add
  100 to get a new height of 300, which isn't sufficient to display the
  320.

The fix is simple -- replace the if statement with a while loop, i.e.,
continue adding 100 until we get a height that fits our value.
2018-04-11 00:06:49 +01:00
Panagiotis Dimopoulos d56480c377 Fix bugs. 2018-04-05 10:47:56 -04:00
Panagiotis Dimopoulos aba739e980 Update to version 1.1 2018-04-03 17:36:22 -04:00
Panagiotis Dimopoulos 9c9d1a22b0 Add wmArchUp 2018-03-29 17:52:27 -04:00
Doug Torrance 0075abd36f Remove trailing whitespace. 2018-01-08 16:08:44 -02:00
Doug Torrance cb7b362149 wmglobe: Update to version 1.3.
From https://github.com/d-torrance/dockapps/pull/6
2018-01-08 16:08:34 -02:00
Doug Torrance 23019d9278 wmbattery: Bump to version 2.51. 2017-11-06 16:36:06 +00:00
Doug Torrance 13d3321f14 wmbattery: Fix memory leak.
Patch by David Johnson <davijoh3@cisco.com> to fix Debian bug #816872 [1]:

> wmbattery appears to have a memory leak.  When invoked with "wmbattery -w 2"
> it is leaking approx 350KB/minute on my system.  Eventually it runs out of
> memory and is killed by kernel.

...

> I've concluded libupower-glib is just super leaky.  The below patch
> moves the upower API calls into a child process that doesn't exist for
> long to keep the leaks out of the main process.

> Tested against stretch versions, looks good.

[1] https://bugs.debian.org/816872
2017-11-06 16:36:06 +00:00
Doug Torrance 6434c272b3 cputnik: Add version 0.2.0 to repository.
From
http://pkgs.fedoraproject.org/repo/pkgs/cputnik/cputnik-0.2.0.tar.gz/54df4b3b22a06ac8e0913ee54d121c18/cputnik-0.2.0.tar.gz
2017-10-04 12:14:30 +01:00
Doug Torrance f19c572bd9 wmix: Bump to version 3.3. 2017-09-29 11:11:40 +01:00
Doug Torrance 0f7837265e wmix: Add desktop entry file. 2017-09-29 11:11:40 +01:00
Doug Torrance c10bfd74a2 wmix: Use autotools for build. 2017-09-29 11:11:40 +01:00
Doug Torrance 11ce862a69 wmapm: Use libdockapp for wmgeneral. 2017-09-18 13:21:40 +01:00
Doug Torrance 270081ce19 wmapm: Add version 3.1 to repository.
From
https://ftp.openbsd.org/pub/OpenBSD/distfiles/wmapm-3.1.tar.gz
2017-09-18 13:21:40 +01:00
Doug Torrance 100096f3eb Remove various hidden and backup files from git. 2017-09-15 13:29:43 +02:00
Doug Torrance 091467490f wmisdn: Add version 1.81 to repository.
From
https://web.archive.org/web/20040608222101/http://www.uni-bonn.de:80/~uzsymm/wmisdn/wmisdn-1.81.tgz
2017-09-13 22:29:14 +02:00
Doug Torrance 5bfe1b7d91 wmjiface: Add version 1.7cb to repository.
From
https://web.archive.org/web/20061013172449/http://www.voltar.org/dockapps/wmjiface-1.7cb.tgz
2017-09-13 22:29:14 +02:00
Doug Torrance 7bd8849eb9 fookb: Bump to version 4.0. 2017-09-10 08:57:41 +02:00
Doug Torrance 85810cae12 fookb: Update manpage.
In addition to accounting for the various changes in the new version, we
also rename from the deprecated 1x section to just 1 and get the
current version number from autoconf.
2017-09-10 08:57:41 +02:00
Doug Torrance c28b0dca1c fookb: Update INSTALL. 2017-09-10 08:57:41 +02:00
Doug Torrance b0182a1fec fookb: Remove out-of-date check.sh script and empty test/foo file. 2017-09-10 08:57:41 +02:00
Doug Torrance 5d66853c17 fookb: Add desktop entry file. 2017-09-10 08:57:41 +02:00
Doug Torrance 87d2d31e5d fookb: Remove --enable-wmaker compile-time option.
Now that we use libdockapp's --windowed option to allow users to choose
whether to run fookb as a dockapp or as a normal windowed application at
runtime, the --enable-wmaker option compile time option did very little.

In particular, it used a config file in ~/GNUstep/Defaults and it printed
a warning message when users used large icon files.

We now use the ~/.fookb config file in all instances and always print the
warning message.
2017-09-10 08:57:41 +02:00
Doug Torrance bc767d15bb fookb: Use libdockapp instead of X resource manager for command line options. 2017-09-10 08:57:41 +02:00
Doug Torrance 0448b4965d fookb: Port to libdockapp.
In addition to the obvious simplification to the code by removing all the
window creation stuff, this also allows us to let users pick whether they
want to run fookb as a dockapp or as a normal windowed application at
runtime using libdockapp's --windowed command line option.  Previously,
this was done during build using configure's --enable-wmaker option.
2017-09-10 08:57:41 +02:00
Doug Torrance b8ce2c9cd2 fookb: Fix error handling when reading XPM files.
Previously, we would try and read the width and height of images read from
an XPM file *before* doing any error handling to determine whether we
successfully read the file in the first place.  If there had been an error,
then there would be a segfault.
2017-09-10 08:57:41 +02:00
Doug Torrance 279eb3c3fe Remove trailing whitespace. 2017-09-10 08:57:41 +02:00
Doug Torrance acacf6d0b9 fookb: Make WUtil required instead of optional. 2017-09-10 08:57:41 +02:00
Doug Torrance 9a66c7d460 fookb: Rename VERSION to more standard ChangeLog. 2017-09-10 08:57:41 +02:00
Doug Torrance f33317e016 fookb: Use automake 2017-09-10 08:57:41 +02:00
Doug Torrance 24d0d1fa03 fookb: Use pkg-config to check for libraries. 2017-09-10 08:57:41 +02:00
Doug Torrance 641543542c fookb: Rename configure.in -> configure.ac. 2017-09-10 08:57:41 +02:00
Doug Torrance f7acc7bc1f fookb: Remove generated configure script. 2017-09-10 08:57:41 +02:00
Doug Torrance c3e92fef4c fookb: Add version 3.1 to repository.
From
https://web.archive.org/web/20140622071149/http://only.mawhrin.net/~alexey/fookb/fookb-3.1.tar.gz
2017-09-10 08:57:41 +02:00
Doug Torrance 1891366919 libdockapp: Add DAMakeShapeFromData() and DAMakeShapeFromFile() functions.
libdockapp supports shaped dockapps with the DASetShape() function, but this
function requires as input a bitmap.  Previously, there was no support for
creating such a bitmap from XBM data without using Xlib directly.

We add two functions, DAMakeShapeFromData(), which is a wrapper around
XCreateBitmapFromData and allows developers to #include XBM data, and
DAMakeShapeFromFile(), which is a wrapper around XReadBitmapfile and
lets developers specify the path to an XBM file.
2017-08-31 08:32:04 +02:00
Doug Torrance 3281a28c2f buttonmaker: Remove Anjuta and backup files from git. 2017-08-30 09:49:50 +02:00
Doug Torrance 049da591a0 buttonmaker: Add version 0.1 to repository. 2017-08-30 09:49:50 +02:00
Doug Torrance ebae7f641b libdockapp: Make DAParseArguments() optional.
Some dockapps may want to handle command line options themselves, so we
make this function optional.

Previously, if this function was skipped, then a segfault would result when
trying to access the _daContext global while first creating the dockapp
window.

Now we check if _daContext has been initialized first, and if not, we
initialize it.
2017-08-30 09:49:11 +02:00
Doug Torrance 0167a6b2a8 wmmixer: Bump to version 1.8. 2017-08-29 09:02:43 +02:00
Doug Torrance df64de4622 wmmixer: Update documentation. 2017-08-29 09:02:43 +02:00
Doug Torrance 4e96637a16 wmmixer: Add desktop entry file. 2017-08-29 09:02:43 +02:00
Doug Torrance 9d489b799e wmmixer: Use autotools for build. 2017-08-29 09:02:43 +02:00
Doug Torrance fa41f8df6c wmmixer: Remove debian directory from git. 2017-08-29 09:02:43 +02:00
Doug Torrance 04958a8308 wmressel: Bump to version 0.9. 2017-08-27 21:56:47 +02:00