Commit Graph
1494 Commits
Author SHA1 Message Date
ronaldomercado 2d8a6f91a9 Use consistent language for string termination (#806)
Avoid hyphen, prefer space: "null terminated"
2026-03-18 10:45:25 -05:00
Irie Railton f4ccf7bc8c iocsh command dbCreateRecord (#812)
* skeleton for implementation of dbCreateRecord iocsh exposure

* Add functionality of dbCreateRecordCallFunc
Includes adding dependancy to iocInit.h and a new error type in dbStaticLib.h

* Fix error message for case when adding record to IOC post init

* add new error message for when no record name is passed and check for empty strings

* add release note for dbCreateRecord IOC shell command

* fix issues from codeql in release notes

* fix documentation md based on codacy styling
2026-03-10 12:48:05 -05:00
Andrew Johnson e271752158 Added -d option to caRepeater, sets debug level
Added debug messages for client verification.

With -d the repeater shows client events, e.g.

  $ caRepeater -d
  CA Repeater: Attached and initialized
  New client on port 60307
  Verified 1 active clients
  New client on port 52541
  Verified 2 active clients
  Client on port 60307 refused message
  Deleted client on port 60307
  Client on port 52541 refused message
  Deleted client on port 52541
  ^C

Running "caRepeater -dd" also shows beacon forwarding and
individual client verification:

  $ caRepeater -dd
  CA Repeater: Attached and initialized
  New client on port 49968
  Client on port 49968 is alive
  Verified 1 active clients
  Sent to port 49968
  Sent to port 49968
  Sent to port 49968
  New client on port 65377
  Sent to port 49968
  Client on port 49968 is alive
  Client on port 65377 is alive
  Verified 2 active clients
  Sent to port 49968
  Sent to port 65377
  Sent to port 49968
  Sent to port 65377
  Client on port 49968 refused message
  Deleted client on port 49968
  Sent to port 65377
  Sent to port 65377
  Client on port 65377 refused message
  Deleted client on port 65377
  ^C
2026-03-10 12:42:18 -05:00
Andrew Johnson 01e1073163 Fix editorconfig failure 2026-03-10 12:42:18 -05:00
ReBarsotti-HZB 5b23dcb466 Added Doxygen annotations to iocInit.h (#804)
Doxygen annotations for iocInit.h
2026-03-05 11:43:14 -06:00
ronaldomercado c7b899dca3 Annotate dbbase (#815)
* add doxygen tags

* add dbBase to be processed by sphinx
2026-03-03 18:13:52 -06: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
Michael Davidsaver 717d69e1fc dbCa: iocInit wait for local CA links to connect 2026-02-27 13:01:27 +00:00
Michael Davidsaver c41210c008 whitespace 2026-02-27 11:45:42 +00:00
ReBarsotti-HZB 976ef26381 Added Doxygen annotations to dbLock.h 2026-02-27 11:28:00 +00:00
ReBarsotti-HZB 06ec85be80 Added @file to dbExtractArray
File was already annotated but missing the @file declaration.
2026-02-27 11:25:15 +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 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