Commit Graph
870 Commits
Author SHA1 Message Date
Simon Rose 9b835a1fdb Add command to show errlog buffer contents 2026-10-13 10:21:59 +02:00
Simon Rose d3ff8dca3f Add commandline utility to resize buffer after being initialised 2026-10-13 10:21:35 +02:00
Simon Rose 53a3e4b694 Modify errorlog initialisation to add separate default value 2026-10-13 10:20:50 +02:00
Michael Davidsaver 68ff68cb31 epicsStrPrintEscaped() operate on unterminated string
see 3a2d225682
see f488765631
2026-10-13 10:18:56 +02:00
Michael Davidsaver 267b56d495 doc 2026-10-13 10:17:03 +02:00
zimoch d6df659acf Merge commit '631c8831b942ee5533a2f7016085dcef52c2f3ba' into PSI-7.0
Merge latest 7.0 until before records are modified
2026-10-13 10:15:50 +02:00
zimoch 15ba5ed863 Merge branch '7.0' into PSI-7.0 2026-09-28 09:39:12 +02: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
zimoch b5f73d8200 Merge branch '7.0' into PSI-7.0 2026-01-27 15:17:04 +01: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 76a89b8cee add function attributes __malloc__ and __alloc_size__ for gcc and clang 2026-01-09 12:05:08 +01:00
zimoch 9748cbd394 Fix gcc warning 'stringop-truncation' 2026-01-09 12:05:07 +01:00
zimoch 422182d672 allow testing deprecating functions without warnings 2026-01-09 12:05:07 +01:00
zimoch 80c708fdeb add function attributes __malloc__ and __alloc_size__ for gcc and clang 2026-01-07 09:59:31 -06:00
zimoch 3d95dece6b Merge 7.0.10 into PSI-7.0 2026-01-06 14:57:16 +01: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
Andrew Johnson 2e3938da6f Split PR-624 release notes
This removes the language specification and BNF descriptions from the
PR release notes (they're too long for that) to a separate document
in the libcom/src/as area. That should be combined into the chapter
on Access Security from the AppDevGuide someday.
2025-12-12 10:59:23 -06:00
Minijackson 4b6a6ddc7a iocsh.h: import documentation from AppDevGuide, minor tweaks
This imports the function-specifics that were documented in the
Application Developer's Guide, section "IOC Shell".

Other changes include:

- Removing unneeded "@typedef" and "@enum"
- Adding "()" and "@ref" for interlinking
- Removing duplicated documentation between
  iocsh & iocshLoad, and iocshCmd & iocshRun

Supports the PR:

https://github.com/epics-docs/epics-docs/pull/141
2025-12-08 12:14:56 -06:00
Michael Davidsaver baa4cb5495 doc and callbackSetQueueSize sanity check 2025-12-03 17:14:10 -08:00
Michael Davidsaver 7ae3e4c2df epicsTimerTest: assert timers not expiring early 2025-12-03 17:08:48 -08:00
Michael Davidsaver 01360b2a69 Avoid early expiration of timers on !RTOS 2025-12-03 17:08:48 -08:00
Michael Davidsaver 491d532170 doc epicsSnprintf()
Document that epicsSnprintf() adds a nil on success,
capacity permitting.

Note OS specific ambiguity on error.  Linux and MSVC
inject nil for most failures (bad format).
Not clear if vxworks/fioFormatV() does.

Not clear if long description of non-compliant
return value is still accurate.
2025-12-03 10:04:33 -06:00
Michael Davidsaver cc98ef8696 doc: epicsThread.h
Describe lifetime of epicsThreadId for a newly created thread.
2025-12-03 09:46:39 -06:00