Commit Graph

32 Commits

Author SHA1 Message Date
zimoch 6d85a36397 remove needless pointer casts 2025-12-17 16:34:58 -08: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
Jure Varlec d0cf47cd6f Propagate AMSG through MSS links
MS and MSI links do not propagate STAT and therefore do not propagate
AMSG, either. CA, CP and CPP links also do not propagate AMSG, but the
reason is technical: the message is not available over Channel Access.
2024-12-11 09:38:02 -06:00
zimoch dac620a708 loop safe wrapper for dbGet added 2024-12-11 09:31:49 -06:00
Michael Davidsaver f6e8a75026 Fix DB link to DBF_MENU as DBF_STRING 2021-08-29 07:32:36 -07:00
Michael Davidsaver 3f4432b7bd review cleanup 2021-04-05 10:31:25 -07:00
Michael Davidsaver b94afaa045 UTAG uint64 2021-04-05 10:31:25 -07:00
Michael Davidsaver 12f1818b39 propagate utag w/ links (including TSEL)
add lset::getTimestampTag()
2021-04-05 10:31:25 -07:00
Michael Davidsaver 5143c71a43 add lset::getAlarmMsg() 2021-04-05 10:31:25 -07:00
Michael Davidsaver 0f428ea334 use DBCORE_API
git ls-files modules/database/src/ioc|egrep '\.[hc]p*$' | xargs sed -i \
 -e 's|epicsShareFunc|DBCORE_API|g' \
 -e 's|epicsShareClass|DBCORE_API|g' \
 -e 's|epicsShareExtern|DBCORE_API extern|g' \
 -e 's|epicsShareDef\s*||g' \
 -e 's|shareLib\.h|dbCoreAPI.h|g' \
 -e 's|epicsShareAPI|epicsStdCall|g' \
 -e '/#define\s*epicsExportSharedSymbols/d'
2021-04-01 10:57:19 -07:00
zimoch 6b5abf76c8 do not handle empty arrays (undefined behavior) 2020-10-30 17:07:09 -05:00
zimoch 3b3261c877 Revert "new error code for empty arrays"
This reverts commit d51b5513fda5ca7c6058990396d315cfff81cbfe.

Conflicts:
	modules/database/src/ioc/db/dbAccess.c
	modules/database/src/ioc/db/dbDbLink.c
2020-10-30 17:07:09 -05:00
zimoch 14b9ac3277 remove unnecessary check 2020-10-30 17:07:09 -05:00
zimoch 5d808b7c02 new error code for empty arrays 2020-10-30 17:07:09 -05:00
zimoch afdf34b791 clean up code structure 2020-10-30 17:07:09 -05:00
zimoch 8f5be5f0ad removed unnecessary recGblSetSevr call 2020-10-30 17:07:09 -05:00
zimoch 0ee36388cb unused variable removed 2020-10-30 17:07:09 -05:00
zimoch c51c83b1d5 Revert "fix crash in PINI: use local db_field_log"
This reverts commit a590151accb1d187562c515a48e013244dd98a45.

Conflicts:
	modules/database/src/ioc/db/dbDbLink.c
2020-10-30 17:07:09 -05:00
zimoch 39c8d5619a bugfix: dbGet should not crash because of empty array requests 2020-10-30 17:07:09 -05:00
zimoch e0dfb6cff8 fix crash in PINI: use local db_field_log 2020-10-30 17:07:09 -05:00
zimoch 3627c38a57 don't crash when filter results in 0 elements 2020-10-30 17:07:09 -05:00
zimoch 17a8dbc2d7 apply filters in dbDbGetValue 2020-10-30 17:07:09 -05:00
zimoch b1f445925d use dbChannel in link instead of DBADDR 2020-10-30 17:07:09 -05:00
Andrew Johnson 3c99391d93 Added SPDX License ID to all EPICS-original source files
In some cases the license-identification header was missing,
so I added that as well. Replaced the remaining headers that
specifically identified "Versions 3.13.7 and higher".

Makefiles and the build system were deliberately excluded.
2020-08-03 11:53:01 -05:00
Michael Davidsaver e6810a4224 processTarget() remove unnecessary NULL test
psrc and pdst will always be non-NULL
2020-02-12 11:16:33 +00:00
Michael Davidsaver 0f75e0aa7f RPRO/PUTF log instead of assert() 2019-03-13 17:57:41 -07:00
Michael Davidsaver d3feb1e2f9 RPRO/PUTF rename 2019-02-04 16:37:20 -08:00
Michael Davidsaver 62c11c22c9 RPRO/PUTF also handle self link case 2019-02-02 15:34:59 -08:00
Michael Davidsaver e860617389 fix RPRO/PUTF regression 2019-01-31 20:16:09 -08:00
Michael Davidsaver bc7ee94e2c Remove Warning: 'blah.PUTF' found true with PACT false 2019-01-03 20:34:12 -08:00
Andrew Johnson 2efe56c6d1 Merge 3.16 (after 3.16.2-rc1) into 7.0 2018-10-26 17:04:53 -05:00
Ralph Lange 568c405165 Move all under modules/database 2018-06-19 11:31:13 +02:00