dockapps.git
3 months agowmclockmon: update change-logmasterwmclockmon-1.0.0
Jeremy Sowden [Sat, 25 May 2024 15:59:31 +0000 (25 16:59 +0100)]
wmclockmon: update change-log

Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
3 months agowmclockmon: bump version to 1.0.0wmclockmom-1.0.0
Jeremy Sowden [Sat, 25 May 2024 15:59:30 +0000 (25 16:59 +0100)]
wmclockmon: bump version to 1.0.0

Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
3 months agowmclockmon: update maintainer address
Jeremy Sowden [Sat, 25 May 2024 15:59:29 +0000 (25 16:59 +0100)]
wmclockmon: update maintainer address

Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
3 months agowmclockmon: add wmaker-dev to AUTHORS and Thomas Nemeth to THANKS
Jeremy Sowden [Sat, 25 May 2024 15:59:28 +0000 (25 16:59 +0100)]
wmclockmon: add wmaker-dev to AUTHORS and Thomas Nemeth to THANKS

Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
3 months agowmclockmon: remove old BUGS file and add a note to the INSTALL file about the require...
Jeremy Sowden [Sat, 25 May 2024 15:59:27 +0000 (25 16:59 +0100)]
wmclockmon: remove old BUGS file and add a note to the INSTALL file about the requirement for the GTK development files

Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
3 months agowmclockmon: update debug flags to reflect what I've been using
Jeremy Sowden [Sat, 25 May 2024 15:59:26 +0000 (25 16:59 +0100)]
wmclockmon: update debug flags to reflect what I've been using

Signed-off-by: Jeremy Sowden <azazel@debian.org>
3 months agowmclockmon: update change-log
Jeremy Sowden [Tue, 21 May 2024 17:46:11 +0000 (21 18:46 +0100)]
wmclockmon: update change-log

Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
3 months agowmclockmon: replace deprecated `gtk_misc_set_alignment`
Jeremy Sowden [Tue, 21 May 2024 17:46:10 +0000 (21 18:46 +0100)]
wmclockmon: replace deprecated `gtk_misc_set_alignment`

Signed-off-by: Jeremy Sowden <azazel@debian.org>
3 months agowmclockmon: replace deprecated `GtkTable`
Jeremy Sowden [Tue, 21 May 2024 17:46:09 +0000 (21 18:46 +0100)]
wmclockmon: replace deprecated `GtkTable`

Signed-off-by: Jeremy Sowden <azazel@debian.org>
3 months agowmclockmon: replace deprecated `gtk_dialog_get_action_area`
Jeremy Sowden [Tue, 21 May 2024 17:46:08 +0000 (21 18:46 +0100)]
wmclockmon: replace deprecated `gtk_dialog_get_action_area`

Signed-off-by: Jeremy Sowden <azazel@debian.org>
3 months agowmclockmon: replace deprecated `gtk_[hv]box_new`
Jeremy Sowden [Tue, 21 May 2024 17:46:07 +0000 (21 18:46 +0100)]
wmclockmon: replace deprecated `gtk_[hv]box_new`

Signed-off-by: Jeremy Sowden <azazel@debian.org>
3 months agowmclockmon: bump GTK dependency to 3.0
Jeremy Sowden [Tue, 21 May 2024 17:46:06 +0000 (21 18:46 +0100)]
wmclockmon: bump GTK dependency to 3.0

Signed-off-by: Jeremy Sowden <azazel@debian.org>
3 months agowmclockmon: remove obsolete `GTK_CALENDAR_WEEK_START_MONDAY`
Jeremy Sowden [Tue, 21 May 2024 17:46:05 +0000 (21 18:46 +0100)]
wmclockmon: remove obsolete `GTK_CALENDAR_WEEK_START_MONDAY`

Signed-off-by: Jeremy Sowden <azazel@debian.org>
3 months agowmclockmon: replace deprecated `GtkCombo`
Jeremy Sowden [Tue, 21 May 2024 17:46:04 +0000 (21 18:46 +0100)]
wmclockmon: replace deprecated `GtkCombo`

Signed-off-by: Jeremy Sowden <azazel@debian.org>
3 months agowmclockmon: replace deprecated `GtkCList`
Jeremy Sowden [Tue, 21 May 2024 17:46:03 +0000 (21 18:46 +0100)]
wmclockmon: replace deprecated `GtkCList`

Signed-off-by: Jeremy Sowden <azazel@debian.org>
3 months agowmclockmon: replace deprecated `gtk_signal_*`
Jeremy Sowden [Tue, 21 May 2024 17:46:02 +0000 (21 18:46 +0100)]
wmclockmon: replace deprecated `gtk_signal_*`

Signed-off-by: Jeremy Sowden <azazel@debian.org>
3 months agowmclockmon: replace deprecated `gtk_calendar_display_options`
Jeremy Sowden [Tue, 21 May 2024 17:46:01 +0000 (21 18:46 +0100)]
wmclockmon: replace deprecated `gtk_calendar_display_options`

Signed-off-by: Jeremy Sowden <azazel@debian.org>
3 months agowmclockmon: replace deprecated `gtk_container_border_width`
Jeremy Sowden [Tue, 21 May 2024 17:46:00 +0000 (21 18:46 +0100)]
wmclockmon: replace deprecated `gtk_container_border_width`

Signed-off-by: Jeremy Sowden <azazel@debian.org>
3 months agowmclockmon: replace deprecated `gtk_widget_set_usize`
Jeremy Sowden [Tue, 21 May 2024 17:45:59 +0000 (21 18:45 +0100)]
wmclockmon: replace deprecated `gtk_widget_set_usize`

Signed-off-by: Jeremy Sowden <azazel@debian.org>
3 months agowmclockmon: replace deprecated `gtk_label_get`
Jeremy Sowden [Tue, 21 May 2024 17:45:58 +0000 (21 18:45 +0100)]
wmclockmon: replace deprecated `gtk_label_get`

Signed-off-by: Jeremy Sowden <azazel@debian.org>
3 months agowmclockmon: replace deprecated `GTK_WIDGET_SET_FLAGS`
Jeremy Sowden [Tue, 21 May 2024 17:44:22 +0000 (21 18:44 +0100)]
wmclockmon: replace deprecated `GTK_WIDGET_SET_FLAGS`

Signed-off-by: Jeremy Sowden <azazel@debian.org>
3 months agowmclockmon: replace direct member access with getter calls
Jeremy Sowden [Tue, 21 May 2024 17:44:21 +0000 (21 18:44 +0100)]
wmclockmon: replace direct member access with getter calls

Signed-off-by: Jeremy Sowden <azazel@debian.org>
3 months agowmclockmon: update change-log
Jeremy Sowden [Tue, 21 May 2024 10:30:04 +0000 (21 11:30 +0100)]
wmclockmon: update change-log

Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
3 months agowmclockmon: add missing `const` qualifiers
Jeremy Sowden [Tue, 21 May 2024 10:30:03 +0000 (21 11:30 +0100)]
wmclockmon: add missing `const` qualifiers

Signed-off-by: Jeremy Sowden <azazel@debian.org>
3 months agowmclockmon: remove `bzero` call
Jeremy Sowden [Tue, 21 May 2024 10:30:02 +0000 (21 11:30 +0100)]
wmclockmon: remove `bzero` call

The function was superseded by `memset` aeons ago, and the call is not
necessary.

Signed-off-by: Jeremy Sowden <azazel@debian.org>
3 months agowmclockmon: handle fgets NULL returns and zero-length lines
Jeremy Sowden [Tue, 21 May 2024 10:30:01 +0000 (21 11:30 +0100)]
wmclockmon: handle fgets NULL returns and zero-length lines

Signed-off-by: Jeremy Sowden <azazel@debian.org>
3 months agowmclockmon: fix pre-ANSI void-parameter function declarations
Jeremy Sowden [Tue, 21 May 2024 10:30:00 +0000 (21 11:30 +0100)]
wmclockmon: fix pre-ANSI void-parameter function declarations

Signed-off-by: Jeremy Sowden <azazel@debian.org>
3 months agowmclockmon: fix function-pointer <-> void-pointer conversions
Jeremy Sowden [Tue, 21 May 2024 10:29:59 +0000 (21 11:29 +0100)]
wmclockmon: fix function-pointer <-> void-pointer conversions

Signed-off-by: Jeremy Sowden <azazel@debian.org>
3 months agowmclockmon: fix unused parameter warnings
Jeremy Sowden [Tue, 21 May 2024 10:29:58 +0000 (21 11:29 +0100)]
wmclockmon: fix unused parameter warnings

Signed-off-by: Jeremy Sowden <azazel@debian.org>
3 months agowmclockmon: drop `getuid()` error checks
Jeremy Sowden [Tue, 21 May 2024 10:29:57 +0000 (21 11:29 +0100)]
wmclockmon: drop `getuid()` error checks

It is always successful.

Signed-off-by: Jeremy Sowden <azazel@debian.org>
3 months agowmclockmon: add missing initializers
Jeremy Sowden [Tue, 21 May 2024 10:29:56 +0000 (21 11:29 +0100)]
wmclockmon: add missing initializers

Signed-off-by: Jeremy Sowden <azazel@debian.org>
3 months agowmclockmon: fix buffer overrun
Jeremy Sowden [Tue, 21 May 2024 10:29:55 +0000 (21 11:29 +0100)]
wmclockmon: fix buffer overrun

Signed-off-by: Jeremy Sowden <azazel@debian.org>
3 months agowmclockmon: properly fix allocating and freeing of `command`, `light_color` and the...
Jeremy Sowden [Tue, 21 May 2024 10:29:54 +0000 (21 11:29 +0100)]
wmclockmon: properly fix allocating and freeing of `command`, `light_color` and the other GtkEntry strings

Instead of sometimes allocating memory and sometimes storing the values return
by `gtk_entry_get_text()`, always storing allocated memory and unconditionally
free it.

Do this for all the entry strings.

Fixes: 7f042fb7959f ("wmclockmon: check whether memory has been allocated before freeing.")
Signed-off-by: Jeremy Sowden <azazel@debian.org>
3 months agowmclockmon: fix mismatched signedness
Jeremy Sowden [Tue, 21 May 2024 10:29:53 +0000 (21 11:29 +0100)]
wmclockmon: fix mismatched signedness

Signed-off-by: Jeremy Sowden <azazel@debian.org>
3 months agowmclockmon: fix assignment
Jeremy Sowden [Tue, 21 May 2024 10:29:52 +0000 (21 11:29 +0100)]
wmclockmon: fix assignment

Signed-off-by: Jeremy Sowden <azazel@debian.org>
3 months agowmclockmon: fix conditional
Jeremy Sowden [Tue, 21 May 2024 10:29:51 +0000 (21 11:29 +0100)]
wmclockmon: fix conditional

Signed-off-by: Jeremy Sowden <azazel@debian.org>
3 months agowmclockmon: update `getbool` not to modify its argument
Jeremy Sowden [Tue, 21 May 2024 10:29:50 +0000 (21 11:29 +0100)]
wmclockmon: update `getbool` not to modify its argument

Signed-off-by: Jeremy Sowden <azazel@debian.org>
3 months agowmclockmon: remove unused code
Jeremy Sowden [Tue, 21 May 2024 10:29:49 +0000 (21 11:29 +0100)]
wmclockmon: remove unused code

Signed-off-by: Jeremy Sowden <azazel@debian.org>
4 months agowmclockmon: update change-log
Jeremy Sowden [Sun, 19 May 2024 20:50:42 +0000 (19 21:50 +0100)]
wmclockmon: update change-log

Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
4 months agowmclockmon: use `AC_CONFIG_AUX_DIR`
Jeremy Sowden [Sun, 19 May 2024 20:50:41 +0000 (19 21:50 +0100)]
wmclockmon: use `AC_CONFIG_AUX_DIR`

Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
4 months agowmclockmon: include sample config-files in dist tar-ball
Jeremy Sowden [Sun, 19 May 2024 20:50:40 +0000 (19 21:50 +0100)]
wmclockmon: include sample config-files in dist tar-ball

Signed-off-by: Jeremy Sowden <azazel@debian.org>
4 months agowmclockmon: include styles in dist tar-ball and install in `$(pkgdatadir)`
Jeremy Sowden [Sun, 19 May 2024 20:50:39 +0000 (19 21:50 +0100)]
wmclockmon: include styles in dist tar-ball and install in `$(pkgdatadir)`

Signed-off-by: Jeremy Sowden <azazel@debian.org>
4 months agowmclockmon: change compression for dist tar-ball
Jeremy Sowden [Sun, 19 May 2024 20:50:38 +0000 (19 21:50 +0100)]
wmclockmon: change compression for dist tar-ball

Ignore generated tar-balls.

Signed-off-by: Jeremy Sowden <azazel@debian.org>
4 months agowmclockmon: simplify `INSTALL_PROGRAM` definitions
Jeremy Sowden [Sun, 19 May 2024 20:50:37 +0000 (19 21:50 +0100)]
wmclockmon: simplify `INSTALL_PROGRAM` definitions

`AM_INSTALL_PROGRAM_FLAGS` is obsolete.

Define `INSTALL_PROGRAM` once.

Signed-off-by: Jeremy Sowden <azazel@debian.org>
4 months agowmclockmon: use `AS_IF` and `AS_CASE`
Jeremy Sowden [Sun, 19 May 2024 20:50:36 +0000 (19 21:50 +0100)]
wmclockmon: use `AS_IF` and `AS_CASE`

Signed-off-by: Jeremy Sowden <azazel@debian.org>
4 months agowmclockmon: use `AC_MSG_ERROR`
Jeremy Sowden [Sun, 19 May 2024 20:50:35 +0000 (19 21:50 +0100)]
wmclockmon: use `AC_MSG_ERROR`

Signed-off-by: Jeremy Sowden <azazel@debian.org>
4 months agowmclockmon: remove obsolete autoconf header checks
Jeremy Sowden [Sun, 19 May 2024 20:50:34 +0000 (19 21:50 +0100)]
wmclockmon: remove obsolete autoconf header checks

Signed-off-by: Jeremy Sowden <azazel@debian.org>
4 months agowmclockmon: remove unused `AC_CANONINCAL_TARGET`
Jeremy Sowden [Sun, 19 May 2024 20:50:33 +0000 (19 21:50 +0100)]
wmclockmon: remove unused `AC_CANONINCAL_TARGET`

Signed-off-by: Jeremy Sowden <azazel@debian.org>
4 months agowmclockmon: update automake macros
Jeremy Sowden [Sun, 19 May 2024 20:50:32 +0000 (19 21:50 +0100)]
wmclockmon: update automake macros

Signed-off-by: Jeremy Sowden <azazel@debian.org>
4 months agowmclockmon: quote autoconf macro arguments
Jeremy Sowden [Sun, 19 May 2024 20:50:31 +0000 (19 21:50 +0100)]
wmclockmon: quote autoconf macro arguments

Signed-off-by: Jeremy Sowden <azazel@debian.org>
4 months agowmclockmon: use `LDADD` for `gtk_LIBS`
Jeremy Sowden [Sun, 19 May 2024 20:50:30 +0000 (19 21:50 +0100)]
wmclockmon: use `LDADD` for `gtk_LIBS`

Signed-off-by: Jeremy Sowden <azazel@debian.org>
4 months agowmclockmon: use `LDADD` for all app's
Jeremy Sowden [Sun, 19 May 2024 20:50:29 +0000 (19 21:50 +0100)]
wmclockmon: use `LDADD` for all app's

wmclockmon-cal and wmclockmon-config use the wrong prefixes, but no prefixes
are necessary, so remove them all.

Signed-off-by: Jeremy Sowden <azazel@debian.org>
4 months agowmclockmon: remove unused `IGNORE_*` variables
Jeremy Sowden [Sun, 19 May 2024 20:50:28 +0000 (19 21:50 +0100)]
wmclockmon: remove unused `IGNORE_*` variables

Signed-off-by: Jeremy Sowden <azazel@debian.org>
4 months agowmclockmon: remove unused `OS` variable
Jeremy Sowden [Sun, 19 May 2024 20:50:27 +0000 (19 21:50 +0100)]
wmclockmon: remove unused `OS` variable

Signed-off-by: Jeremy Sowden <azazel@debian.org>
4 months agowmclockmon: remove unnecessary `AC_SUBST` of `LIBS`
Jeremy Sowden [Sun, 19 May 2024 20:50:26 +0000 (19 21:50 +0100)]
wmclockmon: remove unnecessary `AC_SUBST` of `LIBS`

autoconf does this automatically.

Signed-off-by: Jeremy Sowden <azazel@debian.org>
4 months agowmclockmon: remove `--with-incs-from` and `--with-libs-from`
Jeremy Sowden [Sun, 19 May 2024 20:50:25 +0000 (19 21:50 +0100)]
wmclockmon: remove `--with-incs-from` and `--with-libs-from`

They are superfluous, duplicating the use of `LDFLAGS` and `CPPFLAGS`.

Signed-off-by: Jeremy Sowden <azazel@debian.org>
4 months agowmclockmon: use `AS_HELP_STRING` for `--enable-debug` and fix typo'
Jeremy Sowden [Sun, 19 May 2024 20:50:24 +0000 (19 21:50 +0100)]
wmclockmon: use `AS_HELP_STRING` for `--enable-debug` and fix typo'

Signed-off-by: Jeremy Sowden <azazel@debian.org>
4 months agowmclockmon: rename `DFLAGS` `debug_CFLAGS`
Jeremy Sowden [Sun, 19 May 2024 20:50:23 +0000 (19 21:50 +0100)]
wmclockmon: rename `DFLAGS` `debug_CFLAGS`

`DFLAGS` is used by autoconf for the D programming language.

Add it to `AM_CFLAGS`, not `CPPFLAGS`, because none of the flags is for
cpp, and `CPPFLAGS` should be reserved for the user anyway.

Signed-off-by: Jeremy Sowden <azazel@debian.org>
4 months agowmclockmon: use pkg-config for X libraries
Jeremy Sowden [Sun, 19 May 2024 20:50:22 +0000 (19 21:50 +0100)]
wmclockmon: use pkg-config for X libraries

Signed-off-by: Jeremy Sowden <azazel@debian.org>
4 months agowmclockmon: add autogen script
Jeremy Sowden [Sun, 19 May 2024 20:50:21 +0000 (19 21:50 +0100)]
wmclockmon: add autogen script

Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
4 months agowmclockmon: ignore build and editor artefacts
Jeremy Sowden [Sun, 19 May 2024 20:50:20 +0000 (19 21:50 +0100)]
wmclockmon: ignore build and editor artefacts

Signed-off-by: Jeremy Sowden <azazel@debian.org>
4 months agowmclockmon: update change-log
Jeremy Sowden [Sun, 19 May 2024 16:24:17 +0000 (19 17:24 +0100)]
wmclockmon: update change-log

Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
4 months agowmclockmon: fix memory-leaks reported by Clang's static analyser
Jeremy Sowden [Sun, 19 May 2024 16:24:16 +0000 (19 17:24 +0100)]
wmclockmon: fix memory-leaks reported by Clang's static analyser

4 months agowmclockmon: fix global variables causing linkage failure
Jeremy Sowden [Sun, 19 May 2024 16:24:15 +0000 (19 17:24 +0100)]
wmclockmon: fix global variables causing linkage failure

A number of global variables are declared in headers with no explicit linkage.
This results in there being definitions of them in multiple object files and
causes linking to fail under gcc-10.

Add `extern` to the header declarations and separate declarations with no
linkage in files where they are assigned.

4 months agowmclockmon: check whether memory has been allocated before freeing.
Doug Torrance [Sun, 19 May 2024 16:24:14 +0000 (19 17:24 +0100)]
wmclockmon: check whether memory has been allocated before freeing.

Two strings, command and light_color, were always freed even though they
were only conditionally allocated.  This could cause "munmap_chunk(): invalid
pointer" errors.  We fix this by keeping track of whether they have been
allocated and only freeing if they have.

4 months agowmclockmon: fix typos pointed out by Lintian.
Doug Torrance [Sun, 19 May 2024 16:24:13 +0000 (19 17:24 +0100)]
wmclockmon: fix typos pointed out by Lintian.

In particular, we had spelling-error-in-binary and spelling-error-in-manpage
warnings.

4 months agowmclockmon: build against GTK+ 2.0.
Julien BLACHE [Sun, 19 May 2024 16:24:12 +0000 (19 17:24 +0100)]
wmclockmon: build against GTK+ 2.0.

Link: https://bugs.debian.org/437442
Link: https://bugs.debian.org/641335
Co-developed-by: Doug Torrance <dtorrance@piedmont.edu>
4 months agowmclockmon: update autotools files
Doug Torrance [Sun, 19 May 2024 16:24:11 +0000 (19 17:24 +0100)]
wmclockmon: update autotools files

Define the DATADIR macro and make sure that the auxiliary
programs wmclockmon-cal and wmclockmon-config are built properly.

4 months agowmclockmon: remove Debian packaging
Jeremy Sowden [Sun, 19 May 2024 16:24:10 +0000 (19 17:24 +0100)]
wmclockmon: remove Debian packaging

The upstream source includes some ancient Debian packaging.
Get rid of it.

Signed-off-by: Jeremy Sowden <azazel@debian.org>
4 months agowmclockmon: remove generated autotools files
Jeremy Sowden [Sun, 19 May 2024 16:24:09 +0000 (19 17:24 +0100)]
wmclockmon: remove generated autotools files

Signed-off-by: Jeremy Sowden <azazel@debian.org>
4 months agowmclockmon: import version 0.8.1
Jeremy Sowden [Sun, 19 May 2024 16:24:08 +0000 (19 17:24 +0100)]
wmclockmon: import version 0.8.1

4 months agowmclockmon: import version 0.8.0
Doug Torrance [Sun, 19 May 2024 16:24:07 +0000 (19 17:24 +0100)]
wmclockmon: import version 0.8.0

4 months agowmbiff: bump to 0.4.37wmbiff-0.4.37
Jeremy Sowden [Thu, 16 May 2024 11:46:08 +0000 (16 12:46 +0100)]
wmbiff: bump to 0.4.37

Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
4 months agowmbiff: fix generation of XPM's from separate build-directory
Jeremy Sowden [Thu, 16 May 2024 11:46:07 +0000 (16 12:46 +0100)]
wmbiff: fix generation of XPM's from separate build-directory

Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
4 months agowmbiff: fix `print_info` prototypes in test sources
Jeremy Sowden [Thu, 16 May 2024 11:46:06 +0000 (16 12:46 +0100)]
wmbiff: fix `print_info` prototypes in test sources

They should match the real `print_info` in gnutls-common.c.

Make sure all stubbed functions are declared in headers and those headers
are included where the functions are definitions.

Reported-by: Eli Schwartz <eschwartz93@gmail.com>
Link: https://bugs.gentoo.org/864855
Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
4 months agowmbiff: `noinst_PROGRAMS` -> `check_PROGRAMS`
Jeremy Sowden [Thu, 16 May 2024 11:46:05 +0000 (16 12:46 +0100)]
wmbiff: `noinst_PROGRAMS` -> `check_PROGRAMS`

test_wmbiff and test_tlscomm are intended to be run by `make check`.

Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
4 months agowmbiff: update gnutls pkg-config configuration
Jeremy Sowden [Thu, 16 May 2024 11:46:04 +0000 (16 12:46 +0100)]
wmbiff: update gnutls pkg-config configuration

Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
4 months agowmbiff: use pkg-config to find libgcrypt
Jeremy Sowden [Thu, 16 May 2024 11:46:03 +0000 (16 12:46 +0100)]
wmbiff: use pkg-config to find libgcrypt

Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
4 months agowmbiff: improve formatting of Makefile.am
Jeremy Sowden [Thu, 16 May 2024 11:46:02 +0000 (16 12:46 +0100)]
wmbiff: improve formatting of Makefile.am

Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
11 months agoMake AddMouseRegion's index unsigned
Michael Tautschnig [Tue, 10 Oct 2023 15:09:06 +0000 (10 15:09 +0000)]
Make AddMouseRegion's index unsigned

This was previously already done for wmbiff/wmgeneral: the index
argument is used as an index into an array, and is always only tested to
be below the upper bound. Passing in a negative value would pass that
test, and would result in an out-of-bounds access. All dockapps appear
to get that right, but libdockapp could see this violated by a (future)
user.

11 months agoTemperature.app: fix temperature data URL
Riza Dindir [Sun, 1 Oct 2023 13:01:54 +0000 (1 14:01 +0100)]
Temperature.app: fix temperature data URL

Hello All,

I am new to Window Maker. I wanted to install the Temperature.app dockapp
and found out that the ftp address that retrieves temperature data is
invalid. Investigating further I found that noaa has changed the address. I
have created a patch and am attaching it to this email.

I did not create a pull request, It wanted me to create a fork off of the
dockapps repository.

Maybe someone might find the dockapp useful and might use it.

Regards
Riza

13 months agoFix building with clang 16
Brahmajit Das [Sat, 29 Jul 2023 18:59:44 +0000 (30 00:29 +0530)]
Fix building with clang 16

From Clang 16 (and GCC 13) -Wimplicit-function-declaration has been
turned on by default. This resutls in warnings such as

song_hash.c: In function ‘insert_song’:
song_hash.c:22:39: warning: implicit declaration of function ‘malloc’ [-Wimplicit-function-declaration]
   22 |         new_elt = (struct hash_elt *) malloc(sizeof(struct hash_elt));
      |                                       ^~~~~~

This patch should fix these warnings. The warnings can be reproceded by
both recent version of Clang and GCC.

First discovered on Gentoo Linux: https://bugs.gentoo.org/882321

Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com>
15 months agowmusic: bump version to 2.1.1 and update change-log
Jeremy Sowden [Sat, 17 Jun 2023 15:45:08 +0000 (17 16:45 +0100)]
wmusic: bump version to 2.1.1 and update change-log

Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
15 months agowmusic: fix overflow when calculating remaing track time
Jeremy Sowden [Sat, 17 Jun 2023 15:45:07 +0000 (17 16:45 +0100)]
wmusic: fix overflow when calculating remaing track time

Track position and length are 64-bit integer quantities scaled in
microseconds, so use appropriate types.

Link: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1038264
Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
15 months agowmusic: divide time once in `DrawTime`.
Jeremy Sowden [Sat, 17 Jun 2023 15:45:06 +0000 (17 16:45 +0100)]
wmusic: divide time once in `DrawTime`.

Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
15 months agowmusic: use appropriate variable names for track positions
Jeremy Sowden [Sat, 17 Jun 2023 15:45:05 +0000 (17 16:45 +0100)]
wmusic: use appropriate variable names for track positions

Currently track posiions are called "time".

Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
15 months agowmusic: use appropriate variables and function names for track numbers
Jeremy Sowden [Sat, 17 Jun 2023 15:45:04 +0000 (17 16:45 +0100)]
wmusic: use appropriate variables and function names for track numbers

Currently track numbers are referred to as "position".

Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
18 months agowmressel: fix refresh rate check and add interlace mode detection
David Maciejak [Sat, 18 Mar 2023 14:09:01 +0000 (18 22:09 +0800)]
wmressel: fix refresh rate check and add interlace mode detection

Interlace video mode was not supported and the refresh rate check using
only dotclock was inaccurate, which was selecting multiple current modes
and freezing the app.

19 months agoFixed build error on missing libiconv
David Robertsson [Sun, 12 Feb 2023 17:34:23 +0000 (12 18:34 +0100)]
Fixed build error on missing libiconv

ld error.
Error discovered while building in Freebsd 13.1. Uncertain if change
will cause problems on other platforms.

19 months agoUpdated deps error info
David Robertsson [Fri, 10 Feb 2023 12:55:19 +0000 (10 13:55 +0100)]
Updated deps error info

information to user updated with working link

19 months agoMakefile cleanup - wmSMPmon
David Robertsson [Thu, 2 Feb 2023 19:34:36 +0000 (2 20:34 +0100)]
Makefile cleanup - wmSMPmon

Disregard previous patch - forgot to update comment in makefile.
Related to issue #43.
Next on the list.

19 months agoChanged path for man-file installation
David Robertsson [Thu, 2 Feb 2023 17:17:13 +0000 (2 18:17 +0100)]
Changed path for man-file installation

Fixes problem with washerDryer / make install - broken path for man-pages
Changed path to what seems to make more sense.
Perhaps another approach might be to programmaticly examine manpath.
At the same time, if multiple paths are available a new problem presents itself.

19 months agoFixed make install/uninstall
David Robertsson [Thu, 2 Feb 2023 17:16:29 +0000 (2 18:16 +0100)]
Fixed make install/uninstall

washerDryer dockapp
related to issue #43
Next on the list created by d-torrance

19 months agoUpdate README - Download link out of date.
David Robertsson [Thu, 2 Feb 2023 13:38:40 +0000 (2 14:38 +0100)]
Update README - Download link out of date.

Changed to current

19 months agowmcalclockkbd: Move variable definitions from xutil.h -> xutil.c
Torrance, Douglas [Tue, 24 Jan 2023 02:39:44 +0000 (24 02:39 +0000)]
wmcalclockkbd: Move variable definitions from xutil.h -> xutil.c

Otherwise we get "multiple definition" linking errors when compiling
with "-fno-common", which has been the default since GCC 10.

19 months agowmarchup: Add X11 linker flags
Torrance, Douglas [Mon, 23 Jan 2023 01:58:08 +0000 (23 01:58 +0000)]
wmarchup: Add X11 linker flags

Otherwise, we get an "undefined reference" error during linking.

19 months agowmarchup: Fix path to libdockapp header
Torrance, Douglas [Mon, 23 Jan 2023 01:58:08 +0000 (23 01:58 +0000)]
wmarchup: Fix path to libdockapp header

19 months agobuttonmaker: Link against libdockapp instead of vendored wmgeneral
Torrance, Douglas [Sun, 22 Jan 2023 05:05:26 +0000 (22 05:05 +0000)]
buttonmaker: Link against libdockapp instead of vendored wmgeneral

19 months agocputnik: Drop "file_types" variable name for enum.
Torrance, Douglas [Sun, 22 Jan 2023 00:52:44 +0000 (22 00:52 +0000)]
cputnik: Drop "file_types" variable name for enum.

It was causing a "multiple definition" linking error.  This could be
fixed using "static", but then we get an "unused variable" warning.
The F_* macros it defines are used, however.

19 months agocputnik: Update "make install" to support prefix/DESTDIR variables
Torrance, Douglas [Sun, 22 Jan 2023 00:52:44 +0000 (22 00:52 +0000)]
cputnik: Update "make install" to support prefix/DESTDIR variables

Also other variables as recommended by GNU make docs.