Commit Graph

400 Commits

Author SHA1 Message Date
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
zimoch 6d85a36397 remove needless pointer casts 2025-12-17 16:34:58 -08:00
Andrew Johnson 3f24e1800e Replace UNRELEASED => 7.0.10 2025-12-15 16:39:00 -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
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 1f4b39cd08 ascheck cleanup 2025-11-23 14:03:47 -08:00
zimoch 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
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
zimoch 54ca2cb595 support menus and devsups 2025-10-08 10:14:49 -05:00
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
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
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
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 99682610a0 Fix header levels in some .dbd.pod files 2025-06-18 11:12:43 -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 35923b5085 Use "Invalid" instead of "Illegal" in error messages 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
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
Andrew Johnson 72f3e75c8d Add summary stat's calculation 2025-03-19 11:03:46 -05:00
Andrew Johnson 90f97a7037 Release notes; HAS_DBSERVER_STATS in dbServer.h 2025-03-19 11:03:46 -05:00