Commit Graph

579 Commits

Author SHA1 Message Date
zimoch f5a5e7c5f7 more in-code documentation and STATIC_ASSERT check 2025-10-08 10:14:49 -05:00
zimoch 47c263112f calm down codacy 2025-10-08 10:14:49 -05:00
zimoch a781896e28 map for fields and more 2025-10-08 10:14:49 -05:00
zimoch 3600924f99 better guesses for wrong field names 2025-10-08 10:14:49 -05:00
Michael Davidsaver 271f20faa0 expand dbEvent synchronization
Changes method of waiting in db_flush_extra_labor_event(),
which also blocks if labor is pending.

Adds testMonitorSync()
2025-10-08 10:07:23 -05:00
Evan Daykin acd1aef2a0 Warn to stderr when discarding CPP modifier for outlink (#608)
* warn to stderr when un-setting inapplicable CPP flag on output links

* Warn and unset CP flag for output links

* use errlogprintf instead of fprintf for dbParseLink CP/CPP warning

* Pass source record name to dbParseLink for debug information when modifier is discarded

* make CP/CPP discard warning less verbose

* Include field name of affected record when warning of CP/CPP discard
2025-10-08 09:44:27 -05:00
Madeline Park 1cea3f1eed added prop(YES) annotations (#706)
All Base record types annotated with `prop(YES)` as appropriate.
2025-10-08 09:35:29 -05:00
zimoch 640ced41c3 increase number of dfanout outputs to 16
and add IVOA/IVOV fields
2025-08-13 10:02:58 -05:00
zimoch 5c77c842a4 test improvements: NAN, DBR strings, floating point format
* Allow testdbGetFieldEqual to check for NAN double and float values
 * Print DBR_xxx names instead of numbers
 * use %g instead of %e to format floating point values to improve readability
2025-08-13 10:02:58 -05:00
zimoch 79624b72e5 extend calc, calcout and sub records and calc expressions to inputs A - U
To accomodate for the increased number of inputs, the size of CALC and OCAL
fields has been doubled to 160 characters.
2025-08-13 09:47:40 -05:00
Andrew Johnson 15ed1643cd Convert xxxRecord to use typed dset
Fixes #574
2025-08-13 09:18:24 -05:00
Andrew Johnson f29137b985 Fixed POD file links into some epics-docs files
It seems the guides/*.html docs were moved in epics-docs.
A redirect was provided, but links into the middle of those
documents no longer pointed to the appropriate section.
2025-07-16 10:25:46 -05:00
Andrew Johnson 38c11d3afe Spellcheck, and added a Release Note entry 2025-07-16 10:25:46 -05:00
Andrew Johnson dc776b547a Update CALC expression documentation
Doxygen changes in postfix.h mostly formatting & adding tags.
Rec-ref changes regrouped the operators to match the order in
postfix.h, formatting, and added some missing operators.

Updated description of calcout.OEVT for named events.
2025-07-16 10:25:46 -05:00
Andrew Johnson 4dd01aa9b6 Updated the Event Record reference docs
Now covers named events, not numbers.
All links to other reference docs now work.
2025-07-16 10:25:46 -05:00
Michael Davidsaver def6cdb61f better error for dbPutString() to DBF_NOACCESS 2025-07-07 16:45:50 -07:00
Michael Davidsaver 2422e56d20 Improve "Ring buffer overflow" message 2025-07-07 16:13:07 -07:00
Michael Davidsaver c39f39cb93 improve message for missing INAM/SNAM
Include the requested function name
2025-07-07 16:13:07 -07:00
Simon Rose 94aa917f5d Ensure that dbgrp/dbglob use the same arguments 2025-06-20 16:00:37 -05:00
Simon Rose cca6db9d53 Rename arguments and clarify API docstring 2025-06-20 16:00:37 -05:00
Simon Rose f3c72ea38e Replace dbgrep by dbglob, leaving dbgrep as an alias 2025-06-20 16:00:37 -05:00
Simon Rose 144ab9074d Fix help message 2025-06-20 15:45:44 -05:00
Simon Rose b34465add6 Add support for EPICS_DB_INCLUDE_PATH
This allows dbLoadTemplate to search through either a custom-provided
list of paths, or through paths provided by the environment variable
EPICS_DB_INCLUDE_PATH.
2025-06-20 15:45:44 -05:00
Jerzy Jamroz 8752372af1 build: atInit module moved to libcom. 2025-06-20 15:42:47 -05:00
Jerzy Jamroz 41f19bd798 build: atInit build-in without the selection capability. 2025-06-20 15:42:47 -05:00
Jerzy Jamroz a89b12f9ef fix: free(item->cmd) not necessary due to the single allocation. 2025-06-20 15:42:47 -05:00
Jerzy Jamroz 132cc8b90a refactor: Introducing "__AT_INIT_LOG" consistency. 2025-06-20 15:42:47 -05:00
Jerzy Jamroz bdb3744e7e perf: mallocMustSucceed upgraded with the single allocation. 2025-06-20 15:42:47 -05:00
Jerzy Jamroz 124f7b9d9b refactor: afterInit changed to atInit. 2025-06-20 15:42:47 -05:00
Jerzy Jamroz 579c15e4f2 feat: afterInit ELLLIST implementation. 2025-06-20 15:42:47 -05:00
Jerzy Jamroz 326c8d588f feat: Refining the afterInit.
* Better error handling
* help message added
* version added
* afterInit=YES build var required to enable
2025-06-20 15:42:47 -05:00
Jerzy Jamroz 77140abe70 feat: afterInit integration to the IOC shell.
The command allows to define boot routines before the iocInit.
2025-06-20 15:42:47 -05:00
Andrew Johnson 94b37fafb6 Fix heading levels in filters documentation 2025-06-18 11:12:43 -05:00
Andrew Johnson 99682610a0 Fix header levels in some .dbd.pod files 2025-06-18 11:12:43 -05:00
zimoch 0223ee8465 add space for consistency 2025-06-18 10:15:34 -05:00
zimoch fe3ccfcafd ensure uft8 encoding in pod files 2025-06-18 10:15:34 -05:00
zimoch 37741efa38 allow =fields ranges in *.dbd.pod 2025-06-18 10:15:34 -05:00
zimoch 51b57e0043 beautify md table layouts by padding 2025-06-18 10:15:34 -05:00
Michael Davidsaver 333446e0fe dbDbLink: debug detect dbPutLink w/o locking
Cross-check ownership when lockset debug tracking is enabled.
2025-06-16 18:11:26 -07:00
Michael Davidsaver 8735a7b17c dbCa: fix db_process() w/o locking 2025-06-16 18:11:26 -07:00
Andrew Johnson c485055bd5 asSet* commands don't need DBD loaded 2025-06-04 09:52:44 -05:00
Andrew Johnson 35923b5085 Use "Invalid" instead of "Illegal" in error messages 2025-06-04 09:52:44 -05:00
Andrew Johnson 42e7cbc71d Add color to the softIoc verbose output 2025-06-04 09:52:44 -05:00
Andrew Johnson 8c6336014a Update & color error/warning messages from db/dbd parser 2025-06-04 09:52:44 -05:00
Timo Korhonen 0cbc4eb107 fixes in pod files to resolve issues in conversion to markdown. 2025-05-21 09:09:34 -05:00
ext-muir_j 5e1bd8956b Fix stringout doc typo: s/dirctly/directly/ 2025-04-24 11:20:44 -05:00
Andrew Johnson ad326751fa C23 needs a cast here 2025-04-17 10:04:54 -05:00
Freddie Akeroyd 7372b4e5bb Add fields argument to dbgrep() (#613)
This allows optionally printing out the value of one or more fields
for each record found.
2025-04-04 09:17:16 -05:00
Minijackson cad535a956 docs: include msi cli reference, use Sphinx cli features
This enables referring to e.g. {option}`msi -o` in the documentation,
and it will link to the correct location
2025-04-04 08:29:36 -05:00
Andrew Johnson 350570134e Changed dbServerStats() to count the server layers called 2025-03-19 11:03:46 -05:00