Michael Davidsaver
7e18b8cff0
asDump* quote UAG and HAG entries
2026-06-07 16:35:25 -07:00
Simon Rose
d1705d46f2
Refactor tests and add test that errlogInit() can be run more than once
2026-05-27 09:50:20 -05:00
Simon Rose
5122fabf74
Add error/warning ANSI prefixes to error/warning messages
2026-05-27 09:50:20 -05:00
Simon Rose
c0117c4b1d
Add unrelease for errloginit2 change
2026-05-27 09:50:20 -05:00
Simon Rose
cb5c540c4e
Block resizes from listener callbacks
2026-05-27 09:50:20 -05:00
Simon Rose
8834727b5b
Lock buffer size changes while running thread
2026-05-27 09:50:20 -05:00
Simon Rose
70e34a7a2e
Call errlogClampConfig only a single time
2026-05-27 09:50:20 -05:00
Simon Rose
73b89cbcd9
Move frees out of mutex lock
2026-05-27 09:50:20 -05:00
Simon Rose
a3d76ef8fb
Stop flushing the errorlog during init
2026-05-27 09:50:20 -05:00
Simon Rose
bf5e39976f
Change initial errlogprintfs to printfs
...
RTEMS performs a few early errlogPrintf calls. This initialises
the errlog buffers to some default values blocking certain tests
from re-initialising the error log later.
2026-05-27 09:50:20 -05:00
Simon Rose
68763a9ae9
Remove errlogBufResize in favour of allowing errlogInit[2] to be called repeatedly
2026-05-27 09:50:20 -05:00
Simon Rose
f7c74a04b1
Add warning if errorlog configuration has been clamped
2026-05-27 09:50:20 -05:00
Simon Rose
3b7a5b5106
Make the maximum message size dependent on the buffer size
2026-05-27 09:50:20 -05:00
Simon Rose
b334ec80bb
Update the error log functionality to avoid losing writes
2026-05-27 09:50:20 -05:00
Simon Rose
bb5f12b2fa
Add command to show errlog buffer contents
2026-05-27 09:50:20 -05:00
Simon Rose
a03d1fbe45
Add commandline utility to resize buffer after being initialised
2026-05-27 09:50:20 -05:00
Simon Rose
6b80b0cfb9
Modify errorlog initialisation to add separate default value
2026-05-27 09:50:20 -05:00
Michael Davidsaver
2f20e78e43
epicsStrPrintEscaped() operate on unterminated string
...
see 3a2d225682
see f488765631
2026-05-14 08:44:38 -07:00
Michael Davidsaver
b761beaf0c
doc
2026-04-10 19:47:56 -07:00
Freddie Akeroyd
631c8831b9
Fix number of tests
2026-04-01 08:37:29 -07:00
Freddie Akeroyd
acf53d31ee
Add test case
2026-04-01 08:37:29 -07:00
Freddie Akeroyd
fb09dc0df9
Fix memory overwrite in macParseDefns
2026-04-01 08:37:29 -07:00
Andrew Johnson
05c27e453c
Color the keywords in macLib errors
2026-04-01 10:26:47 -05:00
Andrew Johnson
1c9ef94818
Fix the bug reported in #834 , but behaves differently
...
Adds tests and checks for unterminated macros,
which are now reported but not expanded.
2026-04-01 10:26:47 -05:00
Evan Daykin
77a3b8110f
use (s)rand() to generate RNDM calc values with a system clock nanosecond seed
2026-04-01 10:16:34 -05:00
Érico Nogueira
6ef94d744f
Use deterministic timezones in epicsTimeZoneTest
...
The DST characteristics of the POSIX EST5EDT and CST6CDT timezones
depend on whether the implementation uses the built-in POSIX definition
or reads an updated version from the tzdata files, and for POSIX
timezones, there is no specified behavior [1].
To avoid any plaform-specific behavior, we can specify the desired DST
ourselves. We used the timezone values available in
configure/CONFIG_SITE_ENV, which already included DST information, and
means the tests are consistent with our own usage.
[1] https://www.openwall.com/lists/musl/2024/03/05/2
2026-04-01 10:13:56 -05:00
Michael Davidsaver
e181517de1
readline history, clear before append
...
read_history() appends to the global history array.
Clear before each read to prevent duplication.
2026-04-01 10:01:54 -05:00
Michael Davidsaver
4dfd5c7694
skip readline interactive setup when not interactive
2026-04-01 10:01:54 -05:00
ronaldomercado
2d8a6f91a9
Use consistent language for string termination ( #806 )
...
Avoid hyphen, prefer space: "null terminated"
2026-03-18 10:45:25 -05:00
Michael Davidsaver
d44ddf441a
configure: ensure output file only updated on success
...
eg. After running "false > $@", the output file modification
time will be updated. So a despite failure, a repeated
"make" will not re-run.
Handle this by accumulating output to "$@.tmp", then
move to $@ as a final step.
2026-02-27 16:17:53 +00:00
Andrew Johnson
b5df3e002a
Various non-functional fixes/changes
...
Fix EditorConfig failure in modules/libcom/RTEMS/epicsNtp.c
Add dbDefs to Sphinx API index, move devLib to libcom
Rename internal CA enum tag to fix Doxygen complaint
Set Clang's minimum MacOS version for aarch64 CPUs
2026-02-18 11:23:50 -06:00
zimoch
db693d4930
enable trim_trailing_whitespace
2026-02-18 10:34:08 -06:00
zimoch
cd36c03da4
Enforce consistent space indent style
2026-02-18 10:34:08 -06:00
zimoch
8c9dd71f6e
Fix gcc warning 'stringop-truncation'
2026-02-18 10:06:26 -06:00
zimoch
e66bb87909
document change in epicsThreadGetCPUs
2026-02-18 09:50:03 -06:00
zimoch
556de06ff2
avoid overreporting available CPUs
2026-02-18 09:50:03 -06:00
Bruce Hill
08c8f5fd1b
Minor comment fix in libcom/src/env/RULES
2026-02-04 09:50:44 -06:00
Heinz Junkes
d3e414cbec
udp socket functions with timeout
2026-01-21 10:04:48 -06:00
Michael Davidsaver
839e7f4959
move dbUnitTest discussion to dbUnitTest.h
2026-01-21 09:55:13 -06:00
Michael Davidsaver
d724461f1c
doc: remove @page directions
...
readthedocs build does not include these.
2026-01-21 09:55:13 -06:00
zimoch
80c708fdeb
add function attributes __malloc__ and __alloc_size__ for gcc and clang
2026-01-07 09:59:31 -06:00
zimoch
12c56ffc95
upcast int to size_t to prevent overflow
2025-12-17 16:34:58 -08:00
zimoch
2bd148ab37
add comment why cast is needed
2025-12-17 16:34:58 -08:00
zimoch
209e1f9587
remove some unnecessary casts to (const char*) too
2025-12-17 16:34:58 -08:00
zimoch
6d85a36397
remove needless pointer casts
2025-12-17 16:34:58 -08:00
zimoch
85347172c6
fix clang warning missing-braces
...
../fdManagerTest.cpp:76:29: warning: suggest braces around initialization of subobject [-Wmissing-braces]
76 | osiSockAddr addr = {0};
| ^
| {}
2025-12-15 16:17:56 -08:00
zimoch
22347af170
use c++ style output to avoid porability problems with printf format
2025-12-15 16:15:15 -08:00
zimoch
c811ce218e
fix format warning on mingw
...
Since we use gnu_printf format on mingw, the windows "I" modifier
is no longer recognized by the format checker. Use "ll" instead.
Meanwhile, MSVC understands that as well.
2025-12-15 16:15:15 -08:00
Andrew Johnson
3f24e1800e
Replace UNRELEASED => 7.0.10
2025-12-15 16:39:00 -06:00
Andrew Johnson
87f5e4b699
Various fixes to the new-notes files
2025-12-12 12:41:41 -06:00