Commit Graph
1483 Commits
Author SHA1 Message Date
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 fe39a007d8 Allow percentages for callbackParallelThreads count 2026-02-18 09:50:03 -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
Jakub Wlodek 4fe5f75387 Fixing minor memory leak when dbPutConvertJSON call fails 2026-02-08 08:15:44 -08:00
Simon Rose 7e3255ff8e Add release notes and macros to (generated) header files 2026-02-04 10:15:24 -06:00
Henrique Silva 51c5b8f1ee Post NORD update event during record process for subArray 2026-02-04 10:15:24 -06:00
Henrique Silva 64011ba0f3 Remove NORD post event from subArray device support layer 2026-02-04 10:15:24 -06:00
Henrique Silva 5d1f572cea Remove NORD post event from device support layer
Fixes #280
This event will only be posted in the record support layer, specifically
in the process function.
2026-02-04 10:15:24 -06:00
Henrique Silva aff74638bd Post NORD update event during record process for aai and aao
Applying the same change as #263 did for waveform records
2026-02-04 10:15:24 -06:00
Bruce Hill 08c8f5fd1b Minor comment fix in libcom/src/env/RULES 2026-02-04 09:50:44 -06:00
Bruce Hill fc8319ad10 Use NUM_TIME_EVENTS instead of hard constants for dbScan.c event code. 2026-02-04 09:50:44 -06:00
Hugo Slepicka 005e36258d Add error number to rsrv mcast loopback error msg. 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 84d4627987 more doc dbEvent.h 2026-01-21 09:55:13 -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
Michael Davidsaver b2ed8bb98d doc dbEvent.h 2026-01-07 09:54:41 -06:00
Michael Davidsaver 71e4635d34 fix testdbCaWaitForEvent()
sync with CA context thread(s) as well as dbCa worker.
2026-01-01 19:07:10 -08:00
Andrew Johnson bbc4c6358e Update modules/* submodules to HEAD 2026-01-01 15:24:23 -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 ef2260f433 gcc < 5 does not know #pragma GCC diagnostic push
But it also does not know warning -Wformat-security.
2025-12-15 16:16:53 -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 cabbc44bf9 Update git submodules for release 2025-12-15 15:46:04 -06:00
Edmund Blomley 7d6ef32502 Docs: Mention that pva is supported for JSON links 2025-12-12 18:05:08 -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 c2140ad0f3 doc clarify callbackRequestDelayed() timer allocation 2025-12-03 18:09:10 -08:00
Michael Davidsaver 186106cd33 process doc comments in callback.h
Also change doxygen annotation style from '\' to '@'
2025-12-03 17:23:11 -08: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
Michael Davidsaver 1910478297 Ensure pthreadInfo->tid initialized for both creator and new thread 2025-12-03 09:46:39 -06:00
Michael Davidsaver 214b5d935b posix: correct race and mis-count in epicsThreadCreateOpt()
Corrects two issues.  012139638d
added a dec-ref in the status==EPERM path, but neglected to
add a matching inc-ref.  So if a joinable pthread_create()
actually errored with EPERM, then no reference is left for the
joiner.

Secondly, and far more suble, is a data race if pthread_create()
succeeds in starting a new thread, which ends and free()'s
pthreadInfo before pthread_create() writes pthreadInfo->tid .
2025-12-03 09:46:39 -06:00
zimoch 90a727c901 Fix spelling errors
Most errors found with:

codespell -L cach,thst,odly,aslo,parm,parms,inpu,ges,prset,pevent,ptd,pring,valu,noo,noe,ned,inout,ro,siz,froms,nd,fo,singl,sart,multy,tthe,allong,ment,inate,nodel,tring,alse,ture,thi,wille,numer

Some more manually found (its -> it's)

c++20: Do not use apostrophe (e.g. can't) in unquoted #error message
2025-12-01 19:00:04 -08:00
Michael Davidsaver 45e3e58a1f asLib: fix generic lexer/parser 2025-11-23 14:03:47 -08:00
Michael Davidsaver 1f4b39cd08 ascheck cleanup 2025-11-23 14:03:47 -08:00