Commit Graph

131 Commits

Author SHA1 Message Date
Bruno Martins 9702b68d72 Remove cache implementation, to be discussed and done later 2019-06-13 11:08:25 -07:00
Bruno Martins 1832c417e6 Make Travis happy 2019-06-13 11:08:25 -07:00
Bruno Martins 148cfef572 Make Travis happy 2019-06-13 11:08:25 -07:00
Bruno Martins 31050952b6 Validator: add simple Result caching 2019-06-13 11:08:25 -07:00
Bruno Martins e0d422ffd9 Validator: fix path handling and tests Makefile 2019-06-13 11:08:25 -07:00
Bruno Martins 452f2379a1 Validator: use it in all remaining normative types 2019-06-13 11:08:25 -07:00
Bruno Martins e2d95128a3 Validator: add some documentation 2019-06-13 11:08:25 -07:00
Bruno Martins 3a178ea5c4 Use Validator API for ntattribute and ntndarrayattribute 2019-06-13 11:08:25 -07:00
Bruno Martins 24489f6535 NTField: remove is<Structure> check from its is* methods 2019-06-13 11:08:25 -07:00
Bruno Martins 28ca7ac1ab Validator: '{maybe,}has<fn>' becomes {maybe,}has<fn, T=Field> to allow for optional specific type checking 2019-06-13 11:08:25 -07:00
Bruno Martins 5a0b42fec7 Remove leftover 'once' declaration from ntndarray.h 2019-06-13 11:08:25 -07:00
Bruno Martins 35bf9dcb13 Revert changes in NTNDArray's builder: should be part of a separate PR 2019-06-13 11:08:25 -07:00
Bruno Martins f22b5d5b7b Completely rework Validator API 2019-06-13 11:08:25 -07:00
Bruno Martins 9923459c4b Formatting 2019-06-13 11:08:25 -07:00
Bruno Martins 50a7208174 Fix NTNDArray Validator 2019-06-13 11:08:25 -07:00
Bruno Martins 7e7949b1fa Rework Validator API, allow extra Union fields, add tests 2019-06-13 11:08:25 -07:00
Bruno Martins 76c00b78c9 Make Validator private 2019-06-13 11:08:25 -07:00
Bruno Martins 1676192dd1 Fix ifdef guard for shared symbols 2019-06-13 11:08:25 -07:00
Bruno Martins b76c91a885 Begin work on general NT validator 2019-06-13 11:08:25 -07:00
Andrew Johnson e803240fbf Update SHRLIB_VERSION 2019-03-20 13:57:00 -05:00
Michael Davidsaver fa23ddd370 NTTable::getColumnNames() wrong field 2019-03-12 17:42:36 -07:00
Andrew Johnson 80920ae0b0 Clean up warnings
Removed unused member variables 'bool dim'.
2018-01-04 17:16:34 -06:00
Michael Davidsaver 1f7667b22d drop prototype PVNTField::createAlarmLimit
not implemented.
2017-12-19 17:15:37 -06:00
Michael Davidsaver 2f4c0eea9d missing include 2017-12-12 09:43:25 -06:00
Michael Davidsaver 91c5136883 Test for missing "attribute" array in NTNDArray 2017-11-21 10:59:23 -06:00
Bruno Martins 4b0970ffcb Set tags to false inside reset. Fixes #11 2017-07-26 17:19:45 +02:00
Dave Hickin 048d6ef737 NTUnionBuilder: Add missing value() function
Add missing function NTUnionBuilder::value() to allow the union type of
the NTUnion's value field to be specified.
2016-09-09 18:07:59 +01:00
Dave Hickin 0ce3613acc SHRLIB: Set version to 5.2 2016-07-22 17:06:37 +01:00
Dave Hickin d13696f943 SHRLIB: Add ABI version (5.1) 2016-07-22 17:01:38 +01:00
Dave Hickin e6597bc2f0 Update source boilerplate for new LICENSE file 2016-07-22 16:56:01 +01:00
Dave Hickin ff4b88754f Add missing is_a(PVStructurePtr) implementations 2016-04-12 03:19:42 +01:00
Dave Hickin 6dd63a74a6 Make addTags() non-virtual 2016-02-16 08:32:27 +00:00
Michael Davidsaver 4f3f6784d4 adjust Makefiles 2016-02-09 19:25:37 -05:00
Michael Davidsaver cfe939ca7a Moves source and headers
src/nt/*.h   => src/pv/*.h
src/nt/*.cpp => src/*.cpp
test/nt/*.*  => test/*.*
2016-02-09 19:25:37 -05:00
Dave Hickin 3b645933f5 Javadoc corrections 2015-10-16 19:19:58 +01:00
Dave Hickin 5cca3a10ac Rename variable to match header. 2015-10-16 15:47:38 +01:00
Dave Hickin bab0d964ab Add missing implementation of NTScalarArray::value
Use value in unit tests instead of deprecated arrayValue.
2015-10-16 15:46:56 +01:00
Dave Hickin 51d4d270cd Multiple Doxygen improvements 2015-10-16 15:42:56 +01:00
Dave Hickin a1ac2f41b4 Doxygen fix 2015-10-09 11:44:36 +01:00
Dave Hickin 2bc01a482e Doxygen fixes 2015-09-05 07:34:18 +01:00
Dave Hickin a0a19bcfd9 Fix bug in NTUtils::is_a
Previous implementation matches <type-name>:1x.0 and <type-name>:1.0,
depending on the order of the arguments, e.g.
NTUtils::is_a("epics:nt/NTTable:11.0", "epics:nt/NTTable:1.0") returned
true. Fix this and add unit tests to cover this.
2015-09-04 09:39:27 +01:00
Dave Hickin 16b46448c0 License and copyright
Replaced references to "EPICS pvData" and "EPICS JavaIOC" with "this
software" in per-file copyright notice - consistent with other files.
Add BNL and DLS to copyright and legal disclaimers.
2015-09-04 09:24:54 +01:00
Dave Hickin db0d1e8f9e Fix for NTHistogram::isCompatible()
Correct null pointer check - logic was inverted
2015-09-04 00:33:06 +01:00
Dave Hickin 99f9e0429f Remove duplicate NTField 2015-09-03 14:10:08 +01:00
Dave Hickin 3dc852e2b7 Delete commented out code 2015-09-03 14:09:36 +01:00
Dave Hickin d9c3dfcf26 Use NTNDArrayAttribute in constructing NTNDArray
Use NTNDArrayAttribute wrapper to construct NTAttributes in NTNDArray.
Delete unused attribute string.
2015-09-03 14:08:56 +01:00
Matej Sekoranja 4f38e7904d fixed rtems/vxworks compilation 2015-09-01 21:12:47 +02:00
Matej Sekoranja ad03935c5b Merge pull request #4 from anjohnson/add-license-file
Add license and copyright files
2015-09-01 20:06:49 +02:00
Dave Hickin 649cd6800d Make isConnected optional in multi channel types 2015-09-01 15:55:21 +01:00
Dave Hickin 05a7a6923f Implement NTNDArray::isValid() 2015-09-01 15:53:52 +01:00