Commit Graph

837 Commits

Author SHA1 Message Date
Jerzy Jamroz
3c7f759d86 Doc: Fix array field descriptions
* fix(aao, aai): change VAL field type from DOUBLE[] to FTVL[]

* fix(aSub): change 'Input Value Fields' type from FT[A–U] to FT[A–U][NOA–NOU]

* fix(aSub): change 'Output Value Fields' type from FTV[A–U] to FTV[A–U][NOVA–NOVU]

* fix(waveform): change VAL field type from FTVL to FTVL[NELM]

* fix(aai): remove 'analog' from the record name

* fix(aao): remove 'analog' from the record name

* fix(aai,aao): remove 'Analog' from the record names
2025-11-28 11:51:42 +01:00
18d61eda06 Allow hex and octal strings in dbPut and dbGet
Setting EPICS_DB_CONVERT_DECIMAL_ONLY to YES/yes change the dbPut() and dbGet()
string to integer conversions to the original decimal only policy.
2025-11-28 11:51:41 +01:00
4da9e78de1 Revert subRecord extension to 21 inputs
This partially reverts commit 79624b72e5

The change breaks existing binaries for sub record functions.

Re-apply when upgrading to 7.0.10
2025-10-29 09:31:00 +01:00
1918aebf97 Merge branch '7.0' 2025-10-10 10:33:50 +02:00
DW
a2e01c2929 fix: stdint.h is not available before vw6.9 2025-10-08 18:40:04 -07:00
Andrew Johnson
280aa0b399 Initialize error strings before any database errors occur 2025-10-08 16:11:15 -05:00
Andrew Johnson
9af7ff3b3f Don't duplicate dbLoadRecords() error message 2025-10-08 16:10:00 -05:00
54ca2cb595 support menus and devsups 2025-10-08 10:14:49 -05:00
f5a5e7c5f7 more in-code documentation and STATIC_ASSERT check 2025-10-08 10:14:49 -05:00
47c263112f calm down codacy 2025-10-08 10:14:49 -05:00
a781896e28 map for fields and more 2025-10-08 10:14:49 -05:00
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
Simon Rose
187801c2e6 Fix MSI tests when INSTALL_LOCATION is set 2025-08-27 09:40:24 -05:00
c3c492d2cd test IVOA in dfanout 2025-08-13 10:02:58 -05:00
bff913e4d1 test new dfanout outputs 2025-08-13 10:02:58 -05:00
4c40b9f4bb make dfanoutTest processing synchronous 2025-08-13 10:02:58 -05:00
640ced41c3 increase number of dfanout outputs to 16
and add IVOA/IVOV fields
2025-08-13 10:02:58 -05:00
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
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
MarcoMontevechi
ff1fb82ef2 Add dfanout test (#660)
Add dfanout record unit tests

Authored-by: marcofilho <marco.filho@ess.eu>
2025-07-30 10:12:58 -05:00
46f046c751 allow hex and octal strings in dbPut
Setting EPICS_DB_CONVERT_DECIMAL_ONLY turns dbPut/dbGet
string to integer conversions back the the old decimal only
policy.
2025-07-29 17:55:05 +02:00
60277e0980 extend dfanout record to 16 outputs 2025-07-29 17:55:05 +02:00
3b846dda9a Revert "extend sub record to inputs A-U"
This reverts commit 6196554b17.

This commit would break backward compatibility.
Postpone until 7.0.10.
2025-07-29 17:54:56 +02: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
15cbbe074f Merge remote-tracking branch 'github/dfanout_IVOA' into PSI-7.0 2025-07-14 10:56:53 +02:00
3bb6433fe6 Merge remote-tracking branch 'remotes/github/extend_calc' into PSI-7.0 2025-07-14 10:55:06 +02:00
0f29b34f68 Merge branch '7.0' into PSI-7.0 2025-07-14 10:49:20 +02:00
427c3b4de1 fix missed documentation update 2025-07-14 09:55:47 +02:00
525cddc43f fix calc link documentation 2025-07-14 09:32:44 +02:00
65cc904262 fix calc link range check 2025-07-14 09:32:44 +02:00
6196554b17 extend sub record to inputs A-U 2025-07-14 09:32:44 +02:00
04a59727ec make CALC/OCAL fields twice as long 2025-07-14 09:32:44 +02:00
9921a8ae19 extend calc records and expressions to inputs A-U 2025-07-14 09:32:44 +02:00
243a18ee43 add IVOA to dfanout 2025-07-10 18:18:46 +02: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
43afae523e Remove dbltExpand test
This is an older manual test to compare dbLoadTemplate to compare to
msi's output. However, it does not link properly with dbCore due to
the rewriting of dbLoadRecords, so it is being removed.
2025-06-20 15:45:44 -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