Commit Graph

711 Commits

Author SHA1 Message Date
9748cbd394 Fix gcc warning 'stringop-truncation' 2026-01-09 12:05:07 +01:00
3d95dece6b Merge 7.0.10 into PSI-7.0 2026-01-06 14:57:16 +01: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
6d85a36397 remove needless pointer casts 2025-12-17 16:34:58 -08:00
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
Andrew Johnson
3f24e1800e Replace UNRELEASED => 7.0.10 2025-12-15 16:39:00 -06:00
Edmund Blomley
7d6ef32502 Docs: Mention that pva is supported for JSON links 2025-12-12 18:05:08 -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
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
1f4b39cd08 ascheck cleanup 2025-11-23 14:03:47 -08:00
Jerzy Jamroz
84b4a5f63c 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-19 10:47:23 -06:00
88bfd6f378 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-05 10:11:06 -06:00
Jerzy Jamroz
d58d1420b8 docs: clarify Drive Limits behavior in aoRecord 2025-11-05 09:36:49 -06:00
Michael Davidsaver
3f382f6b68 Revert "dbCa: iocInit wait for local CA links to connect"
This reverts commit a46bd5ae88.
2025-10-17 14:51:46 -07:00
Michael Davidsaver
a46bd5ae88 dbCa: iocInit wait for local CA links to connect 2025-10-14 19:45:15 -07: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
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
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