Andrew Johnson
36f23f3aec
lnkDebug fix: Initialize child link's precord pointer
2018-06-03 10:46:29 -05:00
Andrew Johnson
bcfdc8d368
lnkStateTest: set testPlan
2018-06-02 23:59:14 -05:00
Andrew Johnson
c6c25ab43d
New src/std/link/test directory with tests for the state link type
2018-06-02 23:28:20 -05:00
Andrew Johnson
89b9e240b0
Link types: Remove debug tracing now provided by debug link type
2018-06-01 23:43:39 -05:00
Andrew Johnson
8cdcaf5a87
dbJLink: Restore the jlink::debug flag, add debug and trace link types
2018-06-01 23:32:48 -05:00
Andrew Johnson
fd30989f63
Add jlif::start_child() method
2018-06-01 23:23:54 -05:00
Andrew Johnson
3b89515664
dbJLink: Pass the correct dbfType to child links
...
API change for link types that support child links, they must now
indicate whether a child link is an input, output or forward link
by the return value from their parse_start_map() method. The original
jlif_key_child_link enumeration has been replaced by 3 new values:
jlif_key_child_inlink, jlif_key_child_outlink and jlif_key_child_fwdlink
Previously we were passing the dbfType of the record link field to all
child links within it, which was wrong.
2018-05-14 23:43:13 -05:00
Andrew Johnson
c2c32e5876
lnkState: Mark as non-volatile, remove lset::isConnected() method
2018-03-31 15:48:58 +01:00
Andrew Johnson
97ea68d40c
Added DBF_OUTLINK support to lnkCalc
...
New out key specifying a child link to put the calculated result to.
2018-03-09 22:42:59 -06:00
Andrew Johnson
20404003bf
More timestamp support for lnkCalc
...
Link now remembers the last timestamp read if a timestamp input
was nominated, and implements getTimestamp() to return this.
Also displays the timestamp value in the report output.
2018-03-05 20:55:57 -06:00
Andrew Johnson
1fa5d9d3b6
Cleanup warnings in lnkConst.c
2018-03-05 20:55:57 -06:00
Andrew Johnson
5e394e4928
dbJLink: Handle NULL returned by jlif::alloc() better
...
It might not mean out-of-memory, adjust error message.
Add OOM and dbfType error checks to all jlif::alloc() routines.
Change all IFDEBUG() in JLink types to use exported global variables.
This allows debug messages to be output from the jlif::alloc()
routines, since the jlink field isn't set when they're called.
2018-03-05 20:55:57 -06:00
Andrew Johnson
c0d4835e66
lnkState: Add support for inverting the flag data
...
Determine the truthiness of put data in its original data type.
Adjust the link documentation to cover these changes.
2018-03-05 20:55:56 -06:00
Andrew Johnson
8ae34ba01d
Add a "state" link type using the dbState API
...
Includes documentation in links.dbd.pod
2018-03-05 20:55:56 -06:00
Andrew Johnson
98f656fc96
Remove duplicate variables from lnkCalc.c
2018-03-05 20:55:56 -06:00
Andrew Johnson
1458f8640e
Merge 3.15 into 3.16
2018-03-04 15:58:26 -06:00
Andrew Johnson
98930eebc4
strcpy() -> strncpy() changes from Bruce Hill
...
Also added some additional static assertions for string field sizes.
2018-03-03 00:12:59 -06:00
Andrew Johnson
506be838af
Merge 3.15 into 3.16
2018-01-21 00:45:38 -06:00
Andrew Johnson
ddbdcf9462
rec/test: Add missing filename to DBDDEPENDS_FILES
2018-01-21 00:44:10 -06:00
Andrew Johnson
1daab5fb35
Add soft-channel tests for local dbCa links, both input and output
...
Update test descriptions.
Renamed records to match their group number.
103 more tests, but some could fail on a busy system...
2018-01-18 23:16:42 -06:00
Andrew Johnson
c28a360357
Merge changes from 3.15 branch into 3.16
2017-11-15 22:20:42 -06:00
Andrew Johnson
baf997193e
Merge aSubRecord fixes from 3.14 into 3.15
2017-11-15 21:15:51 -06:00
Andrew Johnson
9a0eacd67e
More tests in rec/test/softTest
2017-10-31 12:54:03 -05:00
Andrew Johnson
c94c1b47d8
More debug printf()s in lnkConst
2017-10-31 12:52:46 -05:00
Andrew Johnson
5f1435c775
Merge yajl-2.1.0 branch into 3.16
2017-10-30 16:14:35 -05:00
Andrew Johnson
e3c9d5900e
Added timestamp support to the lnkCalc link type.
2017-10-18 15:39:22 -05:00
Michael Davidsaver
c036fd056b
missing test files
2017-09-15 17:10:04 -05:00
Andrew Johnson
1fe3e9e772
Add dummy putValue methods to const link types
...
Includes a new softTest program to detect regressions.
Resolves http://www.aps.anl.gov/epics/core-talk/2017/msg00503.php
2017-09-07 13:48:39 -05:00
Andrew Johnson
736b81e044
Merge changes from 3.15 branch
...
Includes separate fix for alarm severity regression.
2017-09-02 23:52:22 -05:00
Andrew Johnson
2e4634853c
Don't inherit alarm severity from self-referential links
...
This behavior was present in 3.14 and got lost in my link changes.
Includes a new regression test to detect the broken behavior.
2017-09-02 23:35:07 -05:00
Andrew Johnson
fb9e55a76e
Fix scalar link initialization from hex constants
...
Partially fixes LP: #1699445
Includes regression tests, with TODO for arrays which are still broken
and need a full JSON5 parser to fix.
2017-06-22 18:45:10 -05:00
Andrew Johnson
9d4a90ac34
Fix link initialization from hex constants
...
Fixes LP: #1699445
Includes regression tests (some of which will fail on 3.16)
2017-06-22 14:29:04 -05:00
Andrew Johnson
cc0dacedb5
Merge changes from 3.15 branch into 3.16
2017-06-20 15:54:35 -05:00
Andrew Johnson
411a60c32d
Add missing link libraries
2017-06-16 12:44:10 -05:00
Andrew Johnson
4c6b570a46
Permit trailing commas in JSON maps & arrays
...
Handled in both dbYacc and yajl parsers.
Adds tests to linkInitTest.
2017-06-05 12:49:26 -05:00
Andrew Johnson
7980d78908
Add tests for 64-bit constant link initializers
2017-06-04 00:40:53 -05:00
Andrew Johnson
80fa616a86
Convert lnkConst to 64 bit integers
2017-06-04 00:40:53 -05:00
Andrew Johnson
117e294ec6
Set asynSoftTest plan
2017-05-27 21:59:44 -05:00
Andrew Johnson
afdb6af0c7
Fix buffer size issue in devI64inSoftCallback
2017-05-27 21:56:10 -05:00
Andrew Johnson
b97f04464c
Add asyncSoftTest to record test harness
2017-05-27 21:45:46 -05:00
Andrew Johnson
b2473f939f
Rename asyncSoft main routine
2017-05-27 21:41:37 -05:00
Andrew Johnson
c05fa4ddb7
Add tests for Async Soft Channel devices
2017-05-27 20:57:42 -05:00
Andrew Johnson
c8fcfbea9f
Convert all Async Soft Channel input devices to use link support
2017-05-27 20:35:53 -05:00
Andrew Johnson
07aa712b07
Convert int64out Async Soft Channel device to use link support
2017-05-27 20:33:38 -05:00
Andrew Johnson
7efba21d1f
Fix 32-bit issue in linkInitTest.c
2017-05-24 16:41:34 -04:00
Andrew Johnson
c22c94a3aa
Convert devI64inSoft for Link Support
...
Includes tests to make sure it actually works
2017-05-24 00:20:38 -04:00
Andrew Johnson
542353aedb
Fix aai constant initialization
...
The aai record is "special" and does things its own way.
These changes let it support {const:[...]} initialization without
breaking regular input link types which could be initialized twice
without the new DBLINK_FLAG_INITIALIZED guard in dbInitLink().
Also adds tests for this, and for similar links for waveform.
2017-05-23 23:51:26 -04:00
Michael Davidsaver
bbd9ba0b6d
std/filters: fix filters test harness
2017-05-05 20:15:03 -04:00
Michael Davidsaver
fcd443a026
missing test spec
2017-05-05 17:14:15 -04:00
Michael Davidsaver
02809de380
fix long long constants
2017-05-04 21:13:07 -04:00