1 2024-05-10 Jeremy Sowden <azazel@debian.org>
3 * wmclockmon-config/edit.c, wmclockmon-config/mainwindow.c:
4 replace deprecated `gtk_misc_set_alignment`
6 2024-05-10 Jeremy Sowden <azazel@debian.org>
8 * wmclockmon-config/mainwindow.c: replace deprecated `GtkTable`
10 2024-05-10 Jeremy Sowden <azazel@debian.org>
12 * wmclockmon-config/edit.c:
13 replace deprecated `gtk_dialog_get_action_area`
15 2024-05-10 Jeremy Sowden <azazel@debian.org>
17 * wmclockmon-cal/mainwindow.c, wmclockmon-config/edit.c,
18 wmclockmon-config/mainwindow.c: replace deprecated `gtk_[hv]box_new`
20 2024-05-10 Jeremy Sowden <azazel@debian.org>
22 * configure.ac: bump GTK dependency to 3.0
24 2024-05-10 Jeremy Sowden <azazel@debian.org>
26 * wmclockmon-cal/mainwindow.c:
27 remove obsolete `GTK_CALENDAR_WEEK_START_MONDAY`
29 2024-05-10 Jeremy Sowden <azazel@debian.org>
31 * wmclockmon-config/edit.c: replace deprecated `GtkCombo`
33 2024-05-10 Jeremy Sowden <azazel@debian.org>
35 * wmclockmon-config/actions.c, wmclockmon-config/mainwindow.c,
36 wmclockmon-config/mainwindow.h: replace deprecated `GtkCList`
38 2024-05-09 Jeremy Sowden <azazel@debian.org>
40 * wmclockmon-cal/mainwindow.c, wmclockmon-config/actions.c,
41 wmclockmon-config/edit.c, wmclockmon-config/edit.h,
42 wmclockmon-config/mainwindow.c, wmclockmon-config/mainwindow.h:
43 replace deprecated `gtk_signal_*`
45 2024-05-10 Jeremy Sowden <azazel@debian.org>
47 * wmclockmon-cal/mainwindow.c:
48 replace deprecated `gtk_calendar_display_options`
50 2024-05-10 Jeremy Sowden <azazel@debian.org>
52 * wmclockmon-cal/mainwindow.c, wmclockmon-config/mainwindow.c:
53 replace deprecated `gtk_container_border_width`
55 2024-05-10 Jeremy Sowden <azazel@debian.org>
57 * wmclockmon-cal/mainwindow.c, wmclockmon-config/mainwindow.c:
58 replace deprecated `gtk_widget_set_usize`
60 2024-05-08 Jeremy Sowden <azazel@debian.org>
62 * wmclockmon-cal/mainwindow.c: replace deprecated `gtk_label_get`
64 2024-05-09 Jeremy Sowden <azazel@debian.org>
66 * wmclockmon-cal/mainwindow.c, wmclockmon-config/edit.c:
67 wmclockmon-config/mainwindow.c:
68 replace deprecated `GTK_WIDGET_SET_FLAGS`
70 2024-05-09 Jeremy Sowden <azazel@debian.org>
72 * wmclockmon-config/actions.c, wmclockmon-config/edit.c:
73 replace direct member access with getter calls
74 2024-05-08 Jeremy Sowden <azazel@debian.org>
76 * wmclockmon-config/edit.c: add missing `const` qualifiers
78 2024-05-10 Jeremy Sowden <azazel@debian.org>
80 * wmclockmon-cal/mainwindow.c: remove `bzero` call
82 The function was superseded by `memset` aeons ago, and the call is
85 2024-05-10 Jeremy Sowden <azazel@debian.org>
87 * src/main.c, wmclockmon-cal/mainwindow.c, wmclockmon-config/tools.c:
88 handle fgets NULL returns and zero-length lines
90 2024-05-10 Jeremy Sowden <azazel@debian.org>
92 * src/main.c, wmclockmon-cal/main.c, wmclockmon-cal/main.h,
93 wmclockmon-cal/mainwindow.c, wmclockmon-cal/tools.c,
94 wmclockmon-cal/tools.h, wmclockmon-config/actions.c,
95 wmclockmon-config/actions.h, wmclockmon-config/main.c,
96 wmclockmon-config/tools.c, wmclockmon-config/tools.h:
97 fix pre-ANSI void-parameter function declarations
99 2024-05-10 Jeremy Sowden <azazel@debian.org>
101 * wmclockmon-config/edit.c, wmclockmon-config/edit.h:
102 fix function-pointer <-> void-pointer conversions
104 2024-05-08 Jeremy Sowden <azazel@debian.org>
106 * Makefile.am, Makefile.common.am, configure.ac:
107 m4/ax_c___attribute__.m4, src/Makefile.am,
108 wmclockmon-cal/mainwindow.c, wmclockmon-config/actions.c,
109 wmclockmon-config/edit.c, wmclockmon-config/mainwindow.c:
110 fix unused parameter warnings
112 2024-05-08 Jeremy Sowden <azazel@debian.org>
114 * src/main.c, wmclockmon-cal/tools.c, wmclockmon-config/tools.c:
115 drop `getuid()` error checks
117 It is always successful.
119 2024-05-08 Jeremy Sowden <azazel@debian.org>
121 * src/main.c: add missing initializers
123 2024-05-08 Jeremy Sowden <azazel@debian.org>
125 * src/main.c: fix buffer overrun
127 2024-05-08 Jeremy Sowden <azazel@debian.org>
129 * wmclockmon-config/actions.c, wmclockmon-config/tools.c: properly fix
130 allocating and freeing of `command`, `light_color` and the other
133 Instead of sometimes allocating memory and sometimes storing the
134 values return by `gtk_entry_get_text()`, always storing allocated
135 memory and unconditionally free it. Do this for all the entry
138 2024-05-08 Jeremy Sowden <azazel@debian.org>
140 * src/dockapp.c, src/main.c, wmclockmon-cal/mainwindow.c:
141 fix mismatched signedness
143 2024-05-08 Jeremy Sowden <azazel@debian.org>
145 * wmclockmon-cal/mainwindow.c: fix assignment
147 2024-05-08 Jeremy Sowden <azazel@debian.org>
149 * wmclockmon-config/actions.c: fix conditional
151 2024-05-08 Jeremy Sowden <azazel@debian.org>
153 * wmclockmon-cal/tools.c, wmclockmon-cal/tools.h:
154 wmclockmon-config/tools.c, wmclockmon-config/tools.h:
155 update `getbool` not to modify its argument
157 2024-05-08 Jeremy Sowden <azazel@debian.org>
159 * src/dockapp.c, src/main.c, wmclockmon-cal/mainwindow.c,
160 wmclockmon-cal/mainwindow.h, wmclockmon-cal/tools.c,
161 wmclockmon-cal/tools.h, wmclockmon-config/Makefile.am,
162 wmclockmon-config/actions.c, wmclockmon-config/dialogs.c,
163 wmclockmon-config/dialogs.h, wmclockmon-config/tools.c,
164 wmclockmon-config/tools.h: remove unused code
166 2024-05-19 Jeremy Sowden <jeremy@azazel.net>
168 * .gitignore, configure.ac: use `AC_CONFIG_AUX_DIR`
170 2024-05-08 Jeremy Sowden <azazel@debian.org>
172 * doc/Makefile.am: include sample config-files in dist tar-ball
174 2024-05-08 Jeremy Sowden <azazel@debian.org>
176 * BUGS, INSTALL, styles/Makefile.am: include styles in dist tar-ball
177 and install in `$(pkgdatadir)`
179 2024-05-08 Jeremy Sowden <azazel@debian.org>
181 * .gitignore, configure.ac: change compression for dist tar-ball
183 Ignore generated tar-balls.
185 2024-05-08 Jeremy Sowden <azazel@debian.org>
187 * Makefile.common.am, src/Makefile.am, wmclockmon-cal/Makefile.am:
188 wmclockmon-config/Makefile.am: simplify `INSTALL_PROGRAM` definitions
190 `AM_INSTALL_PROGRAM_FLAGS` is obsolete.
192 Define `INSTALL_PROGRAM` once.
194 2024-05-08 Jeremy Sowden <azazel@debian.org>
196 * configure.ac: use `AS_IF` and `AS_CASE`
198 2024-05-08 Jeremy Sowden <azazel@debian.org>
200 * configure.ac: use `AC_MSG_ERROR`
202 2024-05-08 Jeremy Sowden <azazel@debian.org>
204 * configure.ac: remove obsolete autoconf header checks
206 2024-05-08 Jeremy Sowden <azazel@debian.org>
208 * configure.ac: remove unused `AC_CANONINCAL_TARGET`
210 2024-05-08 Jeremy Sowden <azazel@debian.org>
212 * configure.ac: update automake macros
214 2024-05-08 Jeremy Sowden <azazel@debian.org>
216 * configure.ac: quote autoconf macro arguments
218 2024-05-08 Jeremy Sowden <azazel@debian.org>
220 * wmclockmon-cal/Makefile.am, wmclockmon-config/Makefile.am:
221 use `LDADD` for `gtk_LIBS`
223 2024-05-07 Jeremy Sowden <azazel@debian.org>
225 * src/Makefile.am, wmclockmon-cal/Makefile.am:
226 wmclockmon-config/Makefile.am: use `LDADD` for all app's
228 wmclockmon-cal and wmclockmon-config use the wrong prefixes, but no
229 prefixes are necessary, so remove them all.
231 2024-05-08 Jeremy Sowden <azazel@debian.org>
233 * configure.ac: remove unused `IGNORE_*` variables
235 2024-05-08 Jeremy Sowden <azazel@debian.org>
237 * configure.ac: remove unused `OS` variable
239 2024-05-08 Jeremy Sowden <azazel@debian.org>
241 * configure.ac: remove unnecessary `AC_SUBST` of `LIBS`
243 autoconf does this automatically.
245 2024-05-07 Jeremy Sowden <azazel@debian.org>
247 * configure.ac, src/Makefile.am, wmclockmon-cal/Makefile.am:
248 wmclockmon-config/Makefile.am: remove `--with-incs-from` and
251 They are superfluous, duplicating the use of `LDFLAGS` and
254 2024-05-08 Jeremy Sowden <azazel@debian.org>
256 * configure.ac: use `AS_HELP_STRING` for `--enable-debug` and fix typo'
258 2024-05-07 Jeremy Sowden <azazel@debian.org>
260 * Makefile.common.am, configure.ac, src/Makefile.am:
261 wmclockmon-cal/Makefile.am, wmclockmon-config/Makefile.am: rename
262 `DFLAGS` `debug_CFLAGS`
264 `DFLAGS` is used by autoconf for the D programming language. Add
265 it to `AM_CFLAGS`, not `CPPFLAGS`, because none of the flags is
266 for cpp, and `CPPFLAGS` should be reserved for the user anyway.
268 2024-05-07 Jeremy Sowden <azazel@debian.org>
270 * configure.ac, src/Makefile.am, wmclockmon-cal/Makefile.am,
271 wmclockmon-config/Makefile.am: use pkg-config for X libraries
273 2024-05-15 Jeremy Sowden <jeremy@azazel.net>
275 * autogen: add autogen script
277 2024-05-17 Jeremy Sowden <azazel@debian.org>
279 * .gitignore, src/.gitignore, wmclockmon-cal/.gitignore:
280 wmclockmon-config/.gitignore: ignore build and editor artefacts
282 2020-05-16 Jeremy Sowden <jeremy@azazel.net>
284 * src/main.c, wmclockmon-config/tools.c: fix memory-leaks reported
285 by Clang's static analyser
287 2020-05-14 Jeremy Sowden <jeremy@azazel.net>
289 * wmclockmon-cal/main.c, wmclockmon-cal/main.h,
290 wmclockmon-cal/mainwindow.c, wmclockmon-cal/mainwindow.h,
291 wmclockmon-config/edit.c, wmclockmon-config/edit.h,
292 wmclockmon-config/main.c, wmclockmon-config/mainwindow.c,
293 wmclockmon-config/mainwindow.h, wmclockmon-config/tools.c,
294 wmclockmon-config/variables.h: fix global variables causing linkage
297 A number of global variables are declared in headers with no
298 explicit linkage. This results in there being definitions of them
299 in multiple object files and causes linking to fail under gcc-10.
300 Add `extern` to the header declarations and separate declarations
301 with no linkage in files where they are assigned.
303 2016-02-16 Doug Torrance <dtorrance@piedmont.edu>
305 * wmclockmon-config/actions.c, wmclockmon-config/tools.c,
306 wmclockmon-config/variables.h: check whether memory has been allocated
309 Two strings, command and light_color, were always freed even
310 though they were only conditionally allocated. This could cause
311 "munmap_chunk(): invalid pointer" errors. We fix this by keeping
312 track of whether they have been allocated and only freeing if they
315 2016-01-28 Doug Torrance <dtorrance@piedmont.edu>
317 * doc/wmclockmon-config.1, doc/wmclockmon.1,
318 wmclockmon-config/configfile.h: fix typos pointed out by Lintian.
320 In particular, we had spelling-error-in-binary and
321 spelling-error-in-manpage warnings.
323 2016-01-28 Julien BLACHE <jblache@debian.org>
325 * configure.ac, wmclockmon-cal/Makefile.am, wmclockmon-cal/mainwindow.c,
326 wmclockmon-config/Makefile.am, wmclockmon-config/dialogs.c,
327 wmclockmon-config/edit.c, wmclockmon-config/mainwindow.c: build against
330 2016-01-27 Doug Torrance <dtorrance@piedmont.edu>
332 * src/Makefile.am, wmclockmon-cal/Makefile.am,
333 wmclockmon-config/Makefile.am: update autotools files
335 Define the DATADIR macro and make sure that the auxiliary programs
336 wmclockmon-cal and wmclockmon-config are built properly.
338 2024-05-07 Jeremy Sowden <azazel@debian.org>
340 * debian/changelog, debian/control, debian/copyright, debian/dirs:
341 debian/docs, debian/menu, debian/rules: remove Debian packaging
343 The upstream source includes some ancient Debian packaging. Get