Debian Codegraph @

libgm2/ChangeLog

raw
1 2026-06-12 Release Manager
2
3 * GCC 15.3.0 released.
4
5 2025-08-08 Release Manager
6
7 * GCC 15.2.0 released.
8
9 2025-07-18 Gaius Mulley <[email protected]>
10
11 Backported from master:
12 2025-06-29 Gaius Mulley <[email protected]>
13
14 PR modula2/117203
15 * libm2iso/Makefile.am (M2DEFS): Add IOChanUtils.def.
16 (M2MODS): Add IOChanUtils.mod.
17 * libm2iso/Makefile.in: Regenerate.
18
19 2025-07-17 Gaius Mulley <[email protected]>
20
21 Backported from master:
22 2025-06-07 Gaius Mulley <[email protected]>
23
24 PR modula2/119650
25 PR modula2/117203
26 * libm2pim/Makefile.am (M2MODS): Add ARRAYOFCHAR,
27 CHAR.mod, StringFileSysOp.mod and String.mod.
28 (M2DEFS): Add ARRAYOFCHAR, CHAR.mod,
29 StringFileSysOp.mod and String.mod.
30 (libm2pim_la_SOURCES): Add CFileSysOp.c.
31 * libm2pim/Makefile.in: Regenerate.
32 * libm2pim/CFileSysOp.cc: New file.
33
34 2025-05-13 Gaius Mulley <[email protected]>
35
36 Backported from master:
37 2025-04-24 Gaius Mulley <[email protected]>
38
39 PR modula2/115276
40 * config.h.in: Regenerate.
41 * configure: Regenerate.
42 * configure.ac (AC_STRUCT_TIMEZONE): Add.
43 (AC_CHECK_MEMBER): Test for struct tm.tm_year.
44 (AC_CHECK_MEMBER): Test for struct tm.tm_mon.
45 (AC_CHECK_MEMBER): Test for struct tm.tm_mday.
46 (AC_CHECK_MEMBER): Test for struct tm.tm_hour.
47 (AC_CHECK_MEMBER): Test for struct tm.tm_min.
48 (AC_CHECK_MEMBER): Test for struct tm.tm_sec.
49 (AC_CHECK_MEMBER): Test for struct tm.tm_year.
50 (AC_CHECK_MEMBER): Test for struct tm.tm_yday.
51 (AC_CHECK_MEMBER): Test for struct tm.tm_wday.
52 (AC_CHECK_MEMBER): Test for struct tm.tm_isdst.
53 (AC_CHECK_MEMBER): Test for struct timeval.tv_sec.
54 (AC_CHECK_MEMBER): Test for struct timeval.tv_sec.
55 (AC_CHECK_MEMBER): Test for struct timeval.tv_usec.
56 * libm2iso/wraptime.cc (InitTimeval): Guard against lack
57 struct timeval and malloc.
58 (InitTimezone): Guard against lack of struct tm.tm_zone
59 and malloc.
60 (KillTimezone): Ditto.
61 (InitTimeval): Guard against lack of struct timeval
62 and malloc.
63 (KillTimeval): Guard against lack of malloc.
64 (settimeofday): Guard against lack of struct tm.tm_zone.
65 (GetFractions): Guard against lack of struct timeval.
66 (localtime_r): Ditto.
67 (GetYear): Guard against lack of struct tm.
68 (GetMonth): Ditto.
69 (GetDay): Ditto.
70 (GetHour): Ditto.
71 (GetMinute): Ditto.
72 (GetSecond): Ditto.
73 (GetSummerTime): Ditto.
74 (GetDST): Guards against lack of struct timezone.
75 (SetTimezone): Ditto.
76 (SetTimeval): Guard against lack of struct tm.
77
78 2025-04-25 Release Manager
79
80 * GCC 15.1.0 released.
81
82 2025-03-28 Gaius Mulley <[email protected]>
83
84 PR modula2/118045
85 * libm2iso/Makefile.am (libm2iso_la_LINK): Add -lm.
86 * libm2log/Makefile.am (libm2log_la_LINK): Ditto.
87 * libm2pim/Makefile.am (libm2pim_la_LINK): Ditto.
88 * libm2iso/Makefile.in: Regenerate.
89 * libm2log/Makefile.in: Regenerate.
90 * libm2pim/Makefile.in: Regenerate.
91
92 2025-03-20 Gaius Mulley <[email protected]>
93
94 * libm2iso/ErrnoCategory.cc (IsErrnoHard): Defend against
95 lack of ENOTBLK.
96 (UnAvailable): Ditto.
97 (GetOpenResults): Ditto.
98
99 2024-11-20 Gaius Mulley <[email protected]>
100
101 PR modula2/117703
102 * configure: Regenerate.
103 * configure.ac (libtool_VERSION): Bump to 20:0:0.
104
105 2024-05-29 Gaius Mulley <[email protected]>
106
107 PR modula2/115276
108 * config.h.in: Regenerate.
109 * configure: Regenerate.
110 * configure.ac: Use AC_HEADER_TIME.
111 * libm2iso/wraptime.cc (InitTM): Check HAVE_SYS_TIME_H
112 before using struct tm to obtain the size.
113
114 2024-05-02 Gaius Mulley <[email protected]>
115
116 * Makefile.in: Regenerate.
117 * libm2cor/Makefile.in: Ditto.
118 * libm2iso/Makefile.in: Ditto.
119 * libm2log/Makefile.in: Ditto.
120 * libm2min/Makefile.in: Ditto.
121 * libm2pim/Makefile.in: Ditto.
122 * aclocal.m4: Ditto.
123
124 2024-04-02 Jakub Jelinek <[email protected]>
125
126 * configure.host: Fix duplicated words; the the -> the.
127
128 2024-02-25 Gaius Mulley <[email protected]>
129
130 PR modula2/113749
131 * libm2pim/wrapc.cc: Include fcntl.h.
132 (SeekSet): New function.
133 (SeekEnd): Ditto.
134 (ReadOnly): Ditto.
135 (WriteOnly): Ditto.
136
137 2024-02-13 Rainer Orth <[email protected]>
138
139 * libm2iso/wraptime.cc [HAVE_STRUCT_TIMEZONE && HAVE_GETTIMEOFDAY]
140 (EXPORT(gettimeofday)): Cast tv to struct timeval *.
141 [HAVE_STRUCT_TIMEZONE && HAVE_SETTIMEOFDAY]
142 (EXPORT(settimeofday)): Likewise.
143
144 2024-02-12 Rainer Orth <[email protected]>
145
146 PR modula2/113888
147 * configure.ac (GM2_CHECK_LIB): Rename gettimeofday guard to
148 HAVE_GETTIMEOFDAY.
149 (GM_CHECK_LIB): Check for settimeofday.
150 (GM2_CHECK_LIB): Check for exp10, exp10f, exp10l in libm.
151 (AC_CHECK_DECLS): Check for getenv.
152 * configure, config.h.in: Regenerate.
153 * libm2pim/dtoa.cc: Rename <strings.h>, <string.h> guards to
154 HAVE_STRINGS_H, HAVE_STRING_H.
155 * libm2pim/ldtoa.cc: Likewise.
156
157 2024-01-18 Gaius Mulley <[email protected]>
158
159 PR modula2/111956
160 * Makefile.am (TARGET_LONGDOUBLE_ABI): Remove.
161 * Makefile.in: Regenerate.
162 * libm2cor/Makefile.am (TARGET_LONGDOUBLE_ABI): Remove.
163 * libm2cor/Makefile.in: Regenerate.
164 * libm2iso/Makefile.am (TARGET_LONGDOUBLE_ABI): Remove.
165 * libm2iso/Makefile.in: Regenerate.
166 * libm2log/Makefile.am (TARGET_LONGDOUBLE_ABI): Remove.
167 * libm2log/Makefile.in: Regenerate.
168 * libm2min/Makefile.am (TARGET_LONGDOUBLE_ABI): Remove.
169 * libm2min/Makefile.in: Regenerate.
170 * libm2pim/Makefile.am (TARGET_LONGDOUBLE_ABI): Remove.
171 * libm2pim/Makefile.in: Regenerate.
172
173 2024-01-05 Gaius Mulley <[email protected]>
174
175 * libm2iso/RTco.cc (initialized): Use bool instead of int.
176
177 2023-12-22 Christophe Lyon <[email protected]>
178
179 * Makefile.am: Allow overriding EXEPCT.
180 * Makefile.in: Regenerate.
181
182 2023-12-13 Gaius Mulley <[email protected]>
183
184 PR modula2/112921
185 * libm2iso/Makefile.am (M2DEFS): Add ConvStringShort.def,
186 ShortConv.def, ShortMath.def and ShortStr.def.
187 (M2MODS): Add ConvStringShort.mod,
188 ShortConv.mod, ShortMath.mod and ShortStr.mod.
189 * libm2iso/Makefile.in: Regenerate.
190
191 2023-12-12 Gaius Mulley <[email protected]>
192
193 * libm2iso/Makefile.am (libm2iso_la_M2FLAGS): Added line breaks.
194 * libm2iso/Makefile.in: Regenerate.
195 * libm2log/Makefile.am (libm2log_la_M2FLAGS): Added line breaks.
196 * libm2log/Makefile.in: Regenerate.
197 * libm2pim/Makefile.am (libm2pim_la_M2FLAGS): Added line breaks.
198 * libm2pim/Makefile.in: Regenerate.
199
200 2023-11-30 Gaius Mulley <[email protected]>
201
202 * configure: Regenerate.
203 * configure.ac:(libtool_VERSION): Bump to 19:0:0.
204
205 2023-11-13 Gaius Mulley <[email protected]>
206
207 PR modula2/110779
208 * Makefile.in: Regenerate.
209 * aclocal.m4: Regenerate.
210 * config.h.in: Regenerate.
211 * configure: Regenerate.
212 * configure.ac: Remove newline.
213 * libm2cor/Makefile.in: Regenerate.
214 * libm2iso/Makefile.in: Regenerate.
215 * libm2log/Makefile.in: Regenerate.
216 * libm2min/Makefile.in: Regenerate.
217 * libm2pim/Makefile.in: Regenerate.
218 * acinclude.m4: New file.
219 * configure.host: New file.
220
221 2023-10-27 Gaius Mulley <[email protected]>
222
223 PR modula2/112110
224 * libm2iso/wrapclock.cc (timezone): Return 0 if unable
225 to get the timezone from the tm struct.
226
227 2023-10-27 Gaius Mulley <[email protected]>
228
229 PR modula2/111530
230 * Makefile.in: Regenerate.
231 * aclocal.m4: Regenerate.
232 * config.h.in: Regenerate.
233 * configure: Regenerate.
234 * configure.ac (AC_CHECK_HEADERS): Include getopt.h.
235 (GM2_CHECK_LIB): getopt_long check.
236 (GM2_CHECK_LIB): getopt_long_only check.
237 * libm2cor/Makefile.in: Regenerate.
238 * libm2iso/Makefile.in: Regenerate.
239 * libm2log/Makefile.in: Regenerate.
240 * libm2min/Makefile.in: Regenerate.
241 * libm2pim/Makefile.in: Regenerate.
242 * libm2pim/cgetopt.cc: Re-write using conditional on configure
243 and long function code from libiberty/getopt.c.
244
245 2023-10-25 Gaius Mulley <[email protected]>
246
247 PR modula2/111955
248 * libm2pim/wrapc.cc (isnan): Export new function.
249 (isnanf): Export new function.
250 (isnanl): Export new function.
251
252 2023-10-22 Iain Sandoe <[email protected]>
253
254 * Makefile.am: Handle Darwin rpaths.
255 * Makefile.in: Regenerate.
256 * aclocal.m4: Regenerate.
257 * configure: Regenerate.
258 * configure.ac: Handle Darwin rpaths.
259 * libm2cor/Makefile.am: Handle Darwin rpaths.
260 * libm2cor/Makefile.in: Regenerate.
261 * libm2iso/Makefile.am: Handle Darwin rpaths.
262 * libm2iso/Makefile.in: Regenerate.
263 * libm2log/Makefile.am: Handle Darwin rpaths.
264 * libm2log/Makefile.in: Regenerate.
265 * libm2min/Makefile.am: Handle Darwin rpaths.
266 * libm2min/Makefile.in: Regenerate.
267 * libm2pim/Makefile.am: Handle Darwin rpaths.
268 * libm2pim/Makefile.in: Regenerate.
269
270 2023-09-29 Gaius Mulley <[email protected]>
271
272 * libm2iso/wrapclock.cc (longint_t): New declaration.
273 (GetTimespec): Replace types for sec and nano with
274 longint_t.
275 (SetTimespec): Replace types for sec and nano with
276 longint_t.
277
278 2023-09-19 Gaius Mulley <[email protected]>
279
280 * Makefile.am (TARGET_LONGDOUBLE_ABI): New variable set to
281 -mabi=ieeelongdouble if the target is powerpc64le.
282 (AM_MAKEFLAGS): Append TARGET_LONGDOUBLE_ABI.
283 * Makefile.in: Rebuild.
284 * libm2cor/Makefile.am (AM_MAKEFLAGS): Add CFLAGS_LONGDOUBLE and
285 TARGET_LONGDOUBLE_ABI.
286 (libm2cor_la_CFLAGS): Add TARGET_LONGDOUBLE_ABI.
287 (libm2cor_la_M2FLAGS): Add TARGET_LONGDOUBLE_ABI.
288 * libm2cor/Makefile.in: Rebuild.
289 * libm2iso/Makefile.am (AM_MAKEFLAGS): Add CFLAGS_LONGDOUBLE and
290 TARGET_LONGDOUBLE_ABI.
291 (libm2iso_la_CFLAGS): Add TARGET_LONGDOUBLE_ABI.
292 (libm2iso_la_M2FLAGS): Add TARGET_LONGDOUBLE_ABI.
293 * libm2iso/Makefile.in: Rebuild.
294 * libm2log/Makefile.am (AM_MAKEFLAGS): Add CFLAGS_LONGDOUBLE and
295 TARGET_LONGDOUBLE_ABI.
296 (libm2log_la_CFLAGS): Add TARGET_LONGDOUBLE_ABI.
297 (libm2log_la_M2FLAGS): Add TARGET_LONGDOUBLE_ABI.
298 * libm2log/Makefile.in: Rebuild.
299 * libm2min/Makefile.am (AM_MAKEFLAGS): Add CFLAGS_LONGDOUBLE and
300 TARGET_LONGDOUBLE_ABI.
301 (libm2min_la_CFLAGS): Add TARGET_LONGDOUBLE_ABI.
302 (libm2min_la_M2FLAGS): Add TARGET_LONGDOUBLE_ABI.
303 * libm2min/Makefile.in: Rebuild.
304 * libm2pim/Makefile.am (AM_MAKEFLAGS): Add CFLAGS_LONGDOUBLE and
305 TARGET_LONGDOUBLE_ABI.
306 (libm2pim_la_CFLAGS): Add TARGET_LONGDOUBLE_ABI.
307 (libm2pim_la_M2FLAGS): Add TARGET_LONGDOUBLE_ABI.
308 * libm2pim/Makefile.in: Rebuild.
309
310 2023-09-13 Gaius Mulley <[email protected]>
311
312 * libm2cor/Makefile.am (libm2cor_la_M2FLAGS): Add
313 -Wcase-enum.
314 * libm2cor/Makefile.in: Regenerate.
315 * libm2iso/Makefile.am (libm2iso_la_M2FLAGS): Add
316 -Wcase-enum.
317 * libm2iso/Makefile.in: Regenerate.
318 * libm2log/Makefile.am (libm2log_la_M2FLAGS): Add
319 -Wcase-enum.
320 * libm2log/Makefile.in: Regenerate.
321 * libm2pim/Makefile.am (libm2pim_la_M2FLAGS): Add
322 -Wcase-enum.
323 * libm2pim/Makefile.in: Regenerate.
324
325 2023-08-12 Gaius Mulley <[email protected]>
326
327 PR modula2/110779
328 * configure: Regenerate.
329 * configure.ac: Provide special case test for Darwin cross
330 configuration.
331 (GLIBCXX_CONFIGURE): New statement.
332 (GLIBCXX_CHECK_GETTIMEOFDAY): New statement.
333 (GLIBCXX_ENABLE_LIBSTDCXX_TIME): New statement.
334 * libm2iso/wrapclock.cc: New sys/time.h conditional include.
335 (sys/syscall.h): Conditional include.
336 (unistd.h): Conditional include.
337 (GetTimeRealtime): Re-implement.
338 (SetTimeRealtime): Re-implement.
339 (timezone): Re-implement.
340 (istimezone): New function.
341 (daylight): Re-implement.
342 (isdst): Re-implement.
343 (tzname): Re-implement.
344
345 2023-08-09 Gaius Mulley <[email protected]>
346
347 PR modula2/110779
348 * config.h.in: Regenerate.
349 * configure: Regenerate.
350 * configure.ac (AC_CACHE_CHECK): Check for tm_gmtoff field in
351 struct tm.
352 (GM2_CHECK_LIB): Check for daylight, timezone and tzname.
353 * libm2iso/wrapclock.cc (timezone): Guard against absence of
354 struct tm and tm_gmtoff.
355 (daylight): Check for daylight.
356 (timezone): Check for timezone.
357 (isdst): Check for isdst.
358 (tzname): Check for tzname.
359 (GetTimeRealtime): Check for struct timespec.
360 (SetTimeRealtime): Check for struct timespec.
361 (InitTimespec): Check for struct timespec.
362 (KillTimespec): Check for struct timespec.
363 (SetTimespec): Check for struct timespec.
364 (GetTimespec): Check for struct timespec.
365
366 2023-08-07 Nick Alcock <[email protected]>
367
368 * configure: Regenerate.
369
370 2023-08-07 Alexander von Gluck IV <[email protected]>
371
372 * configure: Regenerate.
373
374 2023-08-07 Nick Alcock <[email protected]>
375
376 * configure: Regenerate.
377
378 2023-08-07 Nick Alcock <[email protected]>
379
380 * configure: Regenerate.
381
382 2023-08-07 H.J. Lu <[email protected]>
383
384 * configure: Regenerate.
385
386 2023-08-07 H.J. Lu <[email protected]>
387
388 * configure: Regenerate.
389
390 2023-08-05 Gaius Mulley <[email protected]>
391
392 PR modula2/110779
393 * config.h.in: Regenerate.
394 * configure: Regenerate.
395 * configure.ac (GM2_CHECK_LIB): Check for clock_gettime
396 and clock_settime.
397 * libm2iso/Makefile.am (M2DEFS): Add wrapclock.def.
398 * libm2iso/Makefile.in: Regenerate.
399 * libm2iso/wraptime.cc: Replace HAVE_TIMEVAL with
400 HAVE_STRUCT_TIMEVAL.
401 * libm2iso/wrapclock.cc: New file.
402
403 2023-06-02 Thomas Schwinge <[email protected]>
404
405 * configure.ac (PERL): Remove.
406 * configure: Regenerate.
407 * Makefile.in: Likewise.
408 * libm2cor/Makefile.in: Likewise.
409 * libm2iso/Makefile.in: Likewise.
410 * libm2log/Makefile.in: Likewise.
411 * libm2min/Makefile.in: Likewise.
412 * libm2pim/Makefile.in: Likewise.
413
414 2023-05-16 Gaius Mulley <[email protected]>
415
416 PR modula2/109879
417 * Makefile.in: Regenerate.
418 * aclocal.m4: Regenerate.
419 * libm2cor/Makefile.in: Regenerate.
420 * libm2iso/Makefile.am (M2DEFS): Add TextUtil.def.
421 (M2MODS): Add TextUtil.mod.
422 * libm2iso/Makefile.in: Regenerate.
423 * libm2log/Makefile.in: Regenerate.
424 * libm2min/Makefile.in: Regenerate.
425 * libm2pim/Makefile.in: Regenerate.
426
427 2023-05-16 Gaius Mulley <[email protected]>
428
429 PR modula2/108344
430 * libm2cor/KeyBoardLEDs.cc (initialize_module): New function.
431 (SwitchScroll): Call initialize_module.
432 (SwitchNum): Call initialize_module.
433 (SwitchCaps): Call initialize_module.
434 (SwitchLEDs): Call initialize_module.
435 (M2EXPORT): Remove initialization code.
436
437 2023-05-13 Gaius Mulley <[email protected]>
438
439 * libm2cor/KeyBoardLEDs.cc (TRUE): Remove.
440 (FALSE): Remove.
441 (init): Replace TRUE with true.
442 * libm2iso/RTco.cc (TRUE): Remove.
443 (FALSE): Remove.
444 (initSem): Replace int with bool.
445 (init): Replace FALSE with false.
446 * libm2pim/sckt.cc (TRUE): Remove.
447 (FALSE): Remove.
448 * libm2pim/wrapc.cc: Replace TRUE with true
449 and FALSE with false.
450 (FALSE): Remove.
451 (TRUE): Remove.
452
453 2023-05-08 Thomas Schwinge <[email protected]>
454
455 * autogen.sh: Remove.
456
457 2023-05-08 Thomas Schwinge <[email protected]>
458
459 * autogen.sh: For 'aclocal', 'autoreconf', remove '-I .',
460 add '-I ..'.
461 * Makefile.am (ACLOCAL_AMFLAGS): Remove '-I .'.
462 * libm2cor/Makefile.am (ACLOCAL_AMFLAGS): Likewise.
463 * libm2iso/Makefile.am (ACLOCAL_AMFLAGS): Likewise.
464 * libm2log/Makefile.am (ACLOCAL_AMFLAGS): Likewise.
465 * libm2min/Makefile.am (ACLOCAL_AMFLAGS): Likewise.
466 * libm2pim/Makefile.am (ACLOCAL_AMFLAGS): Likewise.
467 * aclocal.m4: Regenerate.
468 * Makefile.in: Likewise.
469 * libm2cor/Makefile.in: Likewise.
470 * libm2iso/Makefile.in: Likewise.
471 * libm2log/Makefile.in: Likewise.
472 * libm2min/Makefile.in: Likewise.
473 * libm2pim/Makefile.in: Likewise.
474
475 2023-03-22 Gaius Mulley <[email protected]>
476
477 * libm2pim/Makefile.am (M2DEFS): Remove M2LINK.def.
478 * libm2pim/Makefile.in: Rebuild.
479
480 2023-03-16 Gaius Mulley <[email protected]>
481
482 * libm2cor/Makefile.am: Remove
483 * libm2cor/Makefile.in: Rebuild.
484 * libm2iso/RTco.cc (newSem): Halt parameters reordered.
485 (currentThread): Ditto.
486 (never): Ditto.
487 (defined): Ditto.
488 (initThread): Ditto.
489 * libm2iso/m2rts.h (m2iso_M2RTS_HaltC): Ditto.
490
491 2023-03-15 Gaius Mulley <[email protected]>
492
493 PR modula2/109125
494 * libm2pim/dtoa.cc (TRUE): Remove.
495 (FALSE): Remove. Replace int with bool.
496 * libm2pim/ldtoa.cc (TRUE): Remove.
497 (FALSE): Remove. Replace int with bool.
498
499 2023-03-14 Gaius Mulley <[email protected]>
500
501 PR modula2/109125
502 * libm2iso/ErrnoCategory.cc (FALSE): Remove.
503 (TRUE): Remove.
504 * libm2iso/wrapsock.c (TRUE): Remove.
505 (FALSE): Remove.
506 * libm2iso/wraptime.cc (TRUE): Remove.
507 (FALSE): Remove.
508 * libm2pim/cgetopt.cc: Replace int for bool for every BOOLEAN
509 parameter in the definition module.
510 * libm2pim/dtoa.cc: Ditto.
511 * libm2pim/ldtoa.cc: Ditto.
512 * libm2pim/termios.cc: Ditto.
513 (doSetUnset): Replace int for bool.
514
515 2023-02-27 Gaius Mulley <[email protected]>
516
517 PR modula2/108944
518 * libm2pim/sckt.cc (getLocalIP): Correct parameter order.
519
520 2023-02-25 Gaius Mulley <[email protected]>
521
522 PR modula2/108261
523 * libm2cor/KeyBoardLEDs.cc (EXPORT): New define.
524 (M2EXPORT): New define.
525 (M2LIBNAME): New define.
526 (KeyBoardLEDs_SwitchScroll): EXPORT.
527 (KeyBoardLEDs_SwitchNum): EXPORT.
528 (KeyBoardLEDs_SwitchCaps): EXPORT.
529 (KeyBoardLEDs_SwitchLeds): EXPORT.
530 (_M2_KeyBoardLEDs_init): M2EXPORT.
531 (_M2_KeyBoardLEDs_finish): M2EXPORT.
532 (_M2_KeyBoardLEDs_dep): M2EXPORT.
533 * libm2cor/Makefile.am (libm2cor_la_M2FLAGS): Define
534 path names.
535 * libm2cor/Makefile.in: Rebuild.
536 * libm2iso/ErrnoCategory.cc (EXPORT): New define.
537 (M2EXPORT): New define.
538 (M2LIBNAME): New define.
539 (ErrnoCategory_IsErrnoHard): EXPORT.
540 (ErrnoCategory_IsErrnoSoft): EXPORT.
541 (ErrnoCategory_UnAvailable): EXPORT.
542 (ErrnoCategory_GetOpenResults): EXPORT.
543 (_M2_ErrnoCategory_init): M2EXPORT.
544 (_M2_ErrnoCategory_fini): M2EXPORT.
545 (_M2_ErrnoCategory_dep): M2EXPORT.
546 (_M2_ErrnoCategory_ctor): M2EXPORT.
547 * libm2iso/Makefile.am (libm2iso_la_M2FLAGS): Define
548 path names.
549 * libm2iso/Makefile.in: Rebuild.
550 * libm2iso/RTco.cc (EXPORT): New define.
551 (M2EXPORT): New define.
552 (M2LIBNAME): New define.
553 (newSem): Add module libname prefix to HaltC.
554 (currentThread): Remove variable and replace with a function.
555 (never): Add module libname prefix to HaltC.
556 (initThread): Add module libname prefix to HaltC.
557 * libm2iso/m2rts.h (str): New define.
558 (M2RTS_RequestDependant): Change to the mangled name equivalent.
559 (M2RTS_RegisterModule): Change to the mangled name equivalent.
560 (m2iso_M2RTS_RequestDependant): Add libname parameter.
561 (m2iso_M2RTS_RegisterModule): Add libname parameter.
562 (m2pim_M2RTS_RegisterModule): Add libname parameter.
563 (_M2_M2RTS_init): Rename this...
564 (m2iso_M2_M2RTS_init): ...to this.
565 (M2RTS_ConstructModules): Change to the mangled name equivalent.
566 (M2RTS_Terminate): Change to the mangled name equivalent.
567 (M2RTS_DeconstructModules): Change to the mangled name equivalent.
568 (m2iso_M2RTS_ConstructModules): Add libname parameter.
569 (m2iso_M2RTS_Terminate): Add libname parameter.
570 (m2iso_M2RTS_DeconstructModules): Add libname parameter.
571 (M2RTS_HaltC): Rename this...
572 (m2iso_M2RTS_HaltC): ...to this.
573 * libm2iso/wrapsock.c (EXPORT): New define.
574 (IMPORT): New define.
575 (M2EXPORT): New define.
576 (M2LIBNAME): New define.
577 (m2iso_M2RTS_RequestDependant): Add prototype.
578 (wrapsock_clientOpen): EXPORT.
579 (wrapsock_clientOpenIP): EXPORT.
580 (wrapsock_getClientPortNo): EXPORT.
581 (wrapsock_getClientHostname): EXPORT.
582 (wrapsock_getClientSocketFd): EXPORT.
583 (wrapsock_getClientIP): EXPORT.
584 (wrapsock_getPushBackChar): EXPORT.
585 (wrapsock_setPushBackChar): EXPORT.
586 (wrapsock_getSizeOfClientInfo): EXPORT.
587 (_M2_wrapsock_init): M2EXPORT.
588 (_M2_wrapsock_fini): M2EXPORT.
589 (ctor): M2EXPORT. New function.
590 * libm2iso/wraptime.c: Rename to...
591 * libm2iso/wraptime.cc: ...this.
592 (EXPORT): New define.
593 (M2EXPORT): New define.
594 (M2LIBNAME): New define.
595 (wraptime_InitTimeval): EXPORT.
596 (wraptime_KillTimeval): EXPORT.
597 (wraptime_InitTimezone): EXPORT.
598 (wraptime_KillTimezone): EXPORT.
599 (wraptime_InitTM): EXPORT.
600 (wraptime_KillTM): EXPORT.
601 (wraptime_gettimeofday): EXPORT.
602 (wraptime_settimeofday): EXPORT.
603 (wraptime_GetFractions): EXPORT.
604 (wraptime_localtime_r): EXPORT.
605 (wraptime_GetYear): EXPORT.
606 (wraptime_GetMonth): EXPORT.
607 (wraptime_GetDay): EXPORT.
608 (wraptime_GetHour): EXPORT.
609 (wraptime_GetMinute): EXPORT.
610 (wraptime_GetSecond): EXPORT.
611 (wraptime_GetSummerTime): EXPORT.
612 (wraptime_GetDST): EXPORT.
613 (wraptime_SetTimezone): EXPORT.
614 (wraptime_SetTimeval): EXPORT.
615 (_M2_wraptime_init): M2EXPORT.
616 (_M2_wraptime_fini): M2EXPORT.
617 (ctor): M2EXPORT. New function.
618 * libm2log/Makefile.am (libm2log_la_M2FLAGS): Define
619 path names.
620 * libm2log/Makefile.in:
621 * libm2min/Makefile.am (libm2min_la_M2FLAGS): Define
622 path names.
623 * libm2min/Makefile.in:
624 * libm2pim/Makefile.am (libm2pim_la_M2FLAGS): Define
625 path names.
626 * libm2pim/Makefile.in:
627 * libm2pim/Selective.cc (EXPORT): New define.
628 (M2EXPORT): New define.
629 (M2LIBNAME): New define.
630 (Selective_Select): EXPORT.
631 (Selective_InitTime): EXPORT.
632 (Selective_GetTime): EXPORT.
633 (Selective_SetTime): EXPORT.
634 (Selective_KillTime): EXPORT.
635 (Selective_InitSet): EXPORT.
636 (Selective_KillSet): EXPORT.
637 (Selective_FdZero): EXPORT.
638 (Selective_FdSet): EXPORT.
639 (Selective_FdClr): EXPORT.
640 (Selective_FdIsSet): EXPORT.
641 (Selective_GetTimeOfDay): EXPORT.
642 (Selective_MaxFdsPlusOne): EXPORT.
643 (Selective_WriteCharRaw): EXPORT.
644 (Selective_ReadCharRaw): EXPORT.
645 (_M2_Selective_init): M2EXPORT.
646 (_M2_Selective_fini): M2EXPORT.
647 (_M2_Selective_dep): M2EXPORT.
648 (_M2_Selective_ctor): M2EXPORT.
649 * libm2pim/SysExceptions.cc (EXPORT): New define.
650 (M2EXPORT): New define.
651 (M2LIBNAME): New define.
652 (SysExceptions_InitExceptionHandlers): EXPORT.
653 (_M2_SysExceptions_init): M2EXPORT.
654 (_M2_SysExceptions_fini): M2EXPORT.
655 (_M2_SysExceptions_dep): M2EXPORT.
656 (_M2_SysExceptions_ctor): M2EXPORT.
657 * libm2pim/UnixArgs.cc (EXPORT): New define.
658 (M2EXPORT): New define.
659 (M2LIBNAME): New define.
660 (UnixArgs_GetArgC): EXPORT.
661 (UnixArgs_GetArgV): EXPORT.
662 (UnixArgs_GetEnvV): EXPORT.
663 (_M2_UnixArgs_init): M2EXPORT.
664 (_M2_UnixArgs_fini): M2EXPORT.
665 (_M2_UnixArgs_dep): M2EXPORT.
666 (_M2_UnixArgs_ctor): M2EXPORT.
667 * libm2pim/cgetopt.cc (EXPORT): New define.
668 (M2EXPORT): New define.
669 (M2LIBNAME): New define.
670 (cgetopt_getopt): EXPORT.
671 (cgetopt_getopt_long): EXPORT.
672 (cgetopt_getopt_long_only): EXPORT.
673 (cgetopt_InitOptions): EXPORT.
674 (cgetopt_KillOptions): EXPORT.
675 (cgetopt_SetOption): EXPORT.
676 (cgetopt_GetLongOptionArray): EXPORT.
677 (_M2_cgetopt_init): M2EXPORT.
678 (_M2_cgetopt_fini): M2EXPORT.
679 (_M2_cgetopt_dep): M2EXPORT.
680 (_M2_cgetopt_ctor): M2EXPORT.
681 * libm2pim/dtoa.cc (EXPORT): New define.
682 (M2EXPORT): New define.
683 (M2LIBNAME): New define.
684 (dtoa_strtod): EXPORT.
685 (dtoa_calcmaxsig): EXPORT.
686 (dtoa_calcdecimal): EXPORT.
687 (dtoa_calcsign): EXPORT.
688 (dtoa_dtoa): EXPORT.
689 (_M2_dtoa_init): M2EXPORT.
690 (_M2_dtoa_fini): M2EXPORT.
691 (_M2_dtoa_dep): M2EXPORT.
692 (_M2_dtoa_ctor): M2EXPORT.
693 * libm2pim/errno.cc (EXPORT): New define.
694 (M2EXPORT): New define.
695 (M2LIBNAME): New define.
696 (errno_geterrno): EXPORT.
697 (_M2_errno_init): M2EXPORT.
698 (_M2_errno_fini): M2EXPORT.
699 (_M2_errno_dep): M2EXPORT.
700 (_M2_errno_ctor): M2EXPORT.
701 * libm2pim/ldtoa.cc (EXPORT): New define.
702 (IMPORT): New define.
703 (M2EXPORT): New define.
704 (M2LIBNAME): New define.
705 (dtoa_calcmaxsig): EXPORT.
706 (dtoa_calcdecimal): EXPORT.
707 (dtoa_calcsign): EXPORT.
708 (ldtoa_strtold): EXPORT.
709 (ldtoa_ldtoa): EXPORT.
710 (_M2_ldtoa_init): M2EXPORT.
711 (_M2_ldtoa_fini): M2EXPORT.
712 (_M2_ldtoa_dep): M2EXPORT.
713 (_M2_ldtoa_ctor): M2EXPORT.
714 * libm2pim/sckt.cc (EXPORT): New define.
715 (M2EXPORT): New define.
716 (M2LIBNAME): New define.
717 (tcpServerEstablishPort): EXPORT.
718 (tcpServerEstablish): EXPORT.
719 (tcpServerAccept): EXPORT.
720 (tcpServerPortNo): EXPORT.
721 (tcpServerSocketFd): EXPORT.
722 (getLocalIP): EXPORT.
723 (tcpServerIP): EXPORT.
724 (tcpServerClientIP): EXPORT.
725 (tcpServerClientPortNo): EXPORT.
726 (tcpClientSocket): EXPORT.
727 (tcpClientSocketIP): EXPORT.
728 (tcpClientConnect): EXPORT.
729 (tcpClientPortNo): EXPORT.
730 (tcpClientSocketFd): EXPORT.
731 (tcpClientIP): EXPORT.
732 (_M2_sckt_init): M2EXPORT.
733 (_M2_sckt_finish): M2EXPORT.
734 (_M2_sckt_dep): M2EXPORT.
735 (_M2_sckt_ctor): M2EXPORT.
736 * libm2pim/termios.cc (EXPORT): New define.
737 (M2EXPORT): New define.
738 (M2LIBNAME): New define.
739 (_M2_termios_init): M2EXPORT.
740 (_M2_termios_fini): M2EXPORT.
741 (_M2_termios_dep): M2EXPORT.
742 (_M2_termios_ctor): M2EXPORT.
743 * libm2pim/wrapc.c (EXPORT): New define.
744 (M2EXPORT): New define.
745 (M2LIBNAME): New define.
746 (wrapc_strtime): EXPORT.
747 (wrapc_filesize): EXPORT.
748 (wrapc_filemtime): EXPORT.
749 (wrapc_fileinode): EXPORT.
750 (wrapc_getrand): EXPORT.
751 (wrapc_getusername): EXPORT.
752 (wrapc_getnameuidgid): EXPORT.
753 (wrapc_signbit): EXPORT.
754 (wrapc_signbitl): EXPORT.
755 (wrapc_signbitf): EXPORT.
756 (wrapc_isfinite): EXPORT.
757 (wrapc_isfinitel): EXPORT.
758 (wrapc_isfinitef): EXPORT.
759 (_M2_wrapc_init): M2EXPORT.
760 (_M2_wrapc_fini): M2EXPORT.
761 (_M2_wrapc_ctor): M2EXPORT.
762 * libm2pim/wrapc.cc: New file.
763
764 2023-02-19 Gaius Mulley <[email protected]>
765
766 PR testsuite/108835
767 * libm2iso/RTco.cc: Re-implementation using a single lock
768 mutex and inlined wait/signal implementation within
769 transfer.
770
771 2023-02-13 Gaius Mulley <[email protected]>
772
773 * libm2iso/RTco.cc (tprintf): Replace definition.
774
775 2023-02-01 Gaius Mulley <[email protected]>
776
777 PR modula2/108612
778 PR modula2/108551
779 * libm2cor/Makefile.am (libm2cor_la_M2FLAGS): Add -Wreturn-type
780 -fcase.
781 * libm2cor/Makefile.in: Rebuild.
782 * libm2iso/Makefile.am (libm2iso_la_M2FLAGS): Add -Wreturn-type
783 -fcase.
784 * libm2iso/Makefile.in: Rebuild.
785 * libm2log/Makefile.am (libm2log_la_M2FLAGS): Add -Wreturn-type
786 -fcase.
787 * libm2log/Makefile.in: Rebuild.
788 * libm2pim/Makefile.am (libm2pim_la_M2FLAGS): Add -Wreturn-type
789 -fcase.
790 * libm2pim/Makefile.in: Rebuild.
791
792 2023-01-31 Richard Biener <[email protected]>
793
794 PR modula2/108462
795 * libm2cor/Makefile.am: Remove static lib install from
796 install-data-local.
797 * libm2iso/Makefile.am: Likewise.
798 * libm2log/Makefile.am: Likewise.
799 * libm2min/Makefile.am: Likewise.
800 * libm2pim/Makefile.am: Likewise.
801 * libm2cor/Makefile.in: Regenerate.
802 * libm2iso/Makefile.in: Likewise.
803 * libm2log/Makefile.in: Likewise.
804 * libm2min/Makefile.in: Likewise.
805 * libm2pim/Makefile.in: Likewise.
806
807 2023-01-31 Gaius Mulley <[email protected]>
808
809 * libm2log/Makefile.am (VPATH): Replace gm2-libs-pim
810 with gm2-libs-log.
811 (libm2log_la_M2FLAGS): Replace gm2-libs-pim with
812 gm2-libs-log.
813 (install-data-local): Replace gm2-libs-pim with
814 gm2-libs-log.
815 * libm2log/Makefile.in: Rebuilt.
816
817 2023-01-26 Gaius Mulley <[email protected]>
818
819 * configure.ac (AM_INIT_AUTOMAKE): Specify 1.15.1.
820
821 2023-01-24 Co-Authored by: Iain Sandoe <[email protected]>
822
823 * libm2cor/Makefile.am (SYSTEM.def): Split path into
824 multiple -I components.
825 * libm2cor/Makefile.in: Rebuild.
826 * libm2min/Makefile.am (SYSTEM.def): Split path into
827 multiple -I components.
828 * libm2min/Makefile.in: Rebuild.
829 * libm2iso/Makefile.am (SYSTEM.def): Split path into
830 multiple -I components.
831 * libm2iso/Makefile.in: Rebuild.
832
833 2023-01-23 Richard Biener <[email protected]>
834
835 PR modula2/108144
836 * libm2cor/Makefile.am: Revert previous change, instead
837 drop the redundant $(MULTIDIR).
838 * libm2iso/Makefile.am: Likewise.
839 * libm2log/Makefile.am: Likewise.
840 * libm2min/Makefile.am: Likewise.
841 * libm2pim/Makefile.am: Likewise.
842 * libm2cor/Makefile.in: Regenerate.
843 * libm2iso/Makefile.in: Likewise.
844 * libm2log/Makefile.in: Likewise.
845 * libm2min/Makefile.in: Likewise.
846 * libm2pim/Makefile.in: Likewise.
847
848 2023-01-23 Richard Biener <[email protected]>
849
850 PR modula2/108144
851 * configure.ac: Apply config-ml.pl to the generated Makefiles.
852 Set multilib_arg, use AM_PROG_LIBTOOL.
853 * configure: Regenerate.
854 * Makefile.am (AM_MAKEFLAGS): Do not override MULTI* flags.
855 * Makefile.in: Regenerate.
856 * libm2cor/Makefile.am: Install to $(toolexeclibdir)$(M2LIBDIR)
857 rather than $(inst_libdir)/$(MULTIDIR)$(M2LIBDIR).
858 * libm2iso/Makefile.am: Likewise.
859 * libm2log/Makefile.am: Likewise.
860 * libm2min/Makefile.am: Likewise.
861 * libm2pim/Makefile.am: Likewise.
862 * libm2cor/Makefile.in: Regenerate.
863 * libm2iso/Makefile.in: Likewise.
864 * libm2log/Makefile.in: Likewise.
865 * libm2min/Makefile.in: Likewise.
866 * libm2pim/Makefile.in: Likewise.
867
868 2023-01-19 Richard Biener <[email protected]>
869
870 PR modula2/108144
871 * configure.ac: Add GCC_BASE_VER.
872 * configure: Re-generate.
873 * Makefile.am: Use @get_gcc_base_ver@ for gcc_version.
874 * libm2cor/Makefile.am: Likewise. Use gcc_version instead
875 of version.
876 * libm2iso/Makefile.am: Likewise.
877 * libm2log/Makefile.am: Likewise.
878 * libm2min/Makefile.am: Likewise.
879 * libm2pim/Makefile.am: Likewise.
880 * Makefile.in: Re-generate.
881 * libm2cor/Makefile.in: Likewise.
882 * libm2iso/Makefile.in: Likewise.
883 * libm2log/Makefile.in: Likewise.
884 * libm2min/Makefile.in: Likewise.
885 * libm2pim/Makefile.in: Likewise.
886
887 2023-01-17 Gaius Mulley <[email protected]>
888
889 * libm2iso/RTco.cc (_M2_RTco_fini): Call M2RTS_HaltC.
890 (newSem): Call M2RTS_HaltC.
891 (currentThread): Call M2RTS_HaltC.
892 (never): Call M2RTS_HaltC.
893 (defined): Call M2RTS_HaltC.
894 (initThread): Call M2RTS_HaltC.
895 (RTco_transfer): Call M2RTS_HaltC.
896 * libm2iso/m2rts.h (M2RTS_Halt): Provide parameter names.
897 (M2RTS_HaltC): New procedure declaration.
898
899 2023-01-06 v <[email protected]>
900
901 * configure: Regenerate.
902 * configure.ac (libtool_VERSION): Bump to 18:0:0.
903
904 2023-01-04 Iain Sandoe <[email protected]>
905
906 PR modula2/108183
907 * libm2cor/KeyBoardLEDs.cc (_M2_KeyBoardLEDs_ctor): Rework to use
908 an extern "C" function with 'constructor' attribute.
909 * libm2iso/ErrnoCategory.cc (_M2_ErrnoCategory_ctor): Likewise.
910 * libm2iso/RTco.cc (_M2_RTco_ctor): Likewise.
911 * libm2pim/Selective.cc (_M2_Selective_ctor): Likewise.
912 * libm2pim/SysExceptions.cc (_M2_SysExceptions_ctor): Likewise.
913 * libm2pim/UnixArgs.cc (_M2_UnixArgs_ctor): Likewise.
914 * libm2pim/cgetopt.cc (_M2_cgetopt_ctor): Likewise.
915 * libm2pim/dtoa.cc (_M2_dtoa_ctor): Likewise.
916 * libm2pim/errno.cc (_M2_errno_ctor): Likewise.
917 * libm2pim/ldtoa.cc (_M2_ldtoa_ctor): Likewise.
918 * libm2pim/sckt.cc (_M2_sckt_ctor): Likewise.
919 * libm2pim/termios.cc (_M2_termios_ctor): Likewise.
920 * libm2pim/wrapc.c: Add a new line to the file end.
921
922 2022-12-31 Iain Sandoe <[email protected]>
923
924 * configure: Regenerate.
925 * configure.ac: Make a conditional for configurations targeting
926 Darwin.
927 * libm2cor/Makefile.am: Use -undefined,dynamic_lookup on Darwin.
928 * libm2iso/Makefile.am: Likewise.
929 * libm2log/Makefile.am: Likewise.
930 * libm2pim/Makefile.am: Likewise
931 * libm2min/Makefile.am: Likewise
932 * libm2cor/Makefile.in: Regenerate.
933 * libm2iso/Makefile.in: Regenerate.
934 * libm2log/Makefile.in: Regenerate.
935 * libm2min/Makefile.in: Regenerate.
936 * libm2pim/Makefile.in: Regenerate.
937
938 2022-12-14 Gaius Mulley <[email protected]>
939
940 * Makefile.am: New file.
941 * autogen.sh: New file.
942 * config.h.in: New file.
943 * configure.ac: New file.
944 * libm2cor/KeyBoardLEDs.cc: New file.
945 * libm2cor/Makefile.am: New file.
946 * libm2iso/ChanConsts.h: New file.
947 * libm2iso/ErrnoCategory.cc: New file.
948 * libm2iso/Makefile.am: New file.
949 * libm2iso/RTco.cc: New file.
950 * libm2iso/m2rts.h: New file.
951 * libm2iso/wrapsock.c: New file.
952 * libm2iso/wraptime.c: New file.
953 * libm2log/Break.c: New file.
954 * libm2log/Makefile.am: New file.
955 * libm2min/Makefile.am: New file.
956 * libm2min/libc.c: New file.
957 * libm2pim/Makefile.am: New file.
958 * libm2pim/Selective.cc: New file.
959 * libm2pim/SysExceptions.cc: New file.
960 * libm2pim/UnixArgs.cc: New file.
961 * libm2pim/cgetopt.cc: New file.
962 * libm2pim/dtoa.cc: New file.
963 * libm2pim/errno.cc: New file.
964 * libm2pim/ldtoa.cc: New file.
965 * libm2pim/sckt.cc: New file.
966 * libm2pim/target.c: New file.
967 * libm2pim/termios.cc: New file.
968 * libm2pim/wrapc.c: New file.
969 * configure: Generated.
970 * libm2log/Makefile.in: Generated.
971 * libm2min/Makefile.in: Generated.
972 * libm2cor/Makefile.in: Generated.
973 * libm2pim/Makefile.in: Generated.
974 * libm2iso/Makefile.in: Generated.
975 * Makefile.in: New file.
976 * aclocal.m4: New file.