6689c9ce1f
Allow testing deprecated functions without causing compiler warnings
2025-12-03 16:47:55 -08:00
Michael Davidsaver
0b424a71ec
isprint() wants value in range [-1, 255]
...
The MSVC impl. assert()s this
2022-11-26 10:52:03 -08:00
Michael Davidsaver
a647c8b174
printJSON() use yajl_gen
2022-01-19 10:27:09 -08:00
Michael Davidsaver
07b79693af
Deprecate/remove unused buffer alignment tools
...
ByteBuffer::align() does not work as expected
on some RTEMS targets where malloc() returns
buffers aligned only to 4 bytes.
SerializableControl::alignBuffer() and
DeserializableControl::alignData() are implemented,
but never called, in this module and pvAccessCPP.
ByteBuffer::align() is only needed to implement
these two methods.
Leave non-pure virtual stubs to assist in migration.
2020-11-14 11:07:15 -08:00
Michael Davidsaver
4ef9e18ac6
enable RTEMS CI testing
2020-11-13 20:51:23 -08:00
Michael Davidsaver
320cc3c60b
shared_vector_convert<>() fix convert of empty array
...
Empty arrays can be untyped, but this doesn't matter.
2020-09-29 15:52:49 -07:00
Michael Davidsaver
2e775ef2fb
drop THROW_BASE_EXCEPTION_CAUSE()
2020-06-17 14:08:14 -07:00
Michael Davidsaver
f17d2bbca1
add maybeQuote()
...
Something for the *NIX gurus
to light their pipes with.
2020-06-17 14:08:14 -07:00
1038182a16
removed empty lines at end of file
2020-04-15 07:53:22 -07:00
60091bfe56
removed spaces at end of line
2020-04-15 07:53:22 -07:00
f4de6dd9b1
replaced tabs with spaces
2020-04-15 07:53:22 -07:00
Michael Davidsaver
94eff54fa9
Revert "Properly declare isnan() in C++ testcode"
...
This reverts commit 07b75e4543 .
std:: qualified names not portable until c++11
epicsMath.h changed to ensure that unqualified
names continue to work.
2019-12-19 18:50:33 -08:00
Michael Davidsaver
3a5cfba4e1
catch exception by ref
2019-12-13 09:32:42 -08:00
Ralph Lange
07b75e4543
Properly declare isnan() in C++ testcode
2019-12-11 13:29:27 +01:00
Michael Davidsaver
0ad253c6f0
Remove Base 3.14 compatibility
2019-09-23 10:14:55 -07:00
Michael Davidsaver
95ff606ba1
quiet (un)signed comparison warning
2019-05-16 10:17:56 -07:00
Michael Davidsaver
5525119778
test ByteBuffer array operations
2019-04-08 09:46:20 -07:00
Michael Davidsaver
6410600205
testByteBuffer cleanup
2019-04-08 09:46:16 -07:00
Michael Davidsaver
a5d44745d1
cleanup testSharedVector
...
"using namespace" considered harmful...
2019-04-08 09:46:07 -07:00
Michael Davidsaver
7d68d177d7
printer.cpp update time format
2018-10-30 17:02:22 -07:00
Michael Davidsaver
9b20505dcd
stream() remove comma in NTTable
2018-10-30 14:33:15 -07:00
Michael Davidsaver
5f93e292b2
testprinter fix plan
2018-10-29 13:12:01 -07:00
Michael Davidsaver
edd3e20f3c
format NTEnum
2018-10-29 13:12:01 -07:00
Michael Davidsaver
90cffa60d6
format NTTable as CSV
2018-10-29 13:12:01 -07:00
Michael Davidsaver
fa731bf6c3
helper to escape while printing strings
2018-10-29 13:12:01 -07:00
Michael Davidsaver
818fce324c
Add PVStructure::stream()
2018-10-29 13:12:01 -07:00
Michael Davidsaver
0406a2f614
Field de-duplication
...
add a global cache of Field instances to
allow O(0) comparison of types.
2018-07-06 12:01:14 -07:00
Michael Davidsaver
f1553cc90e
Move NOMINMAX to configure/CONFIG_SITE
...
The macro must be defined before MS system headers are
included.
This rev. remove #define NOMINMAX from public headers,
but no public headers use min()/max() and this was
never the correct way to use this macro as by convention
library headers are included after system headers,
which is too late to have an effect.
2018-05-28 11:24:49 -07:00
Michael Davidsaver
9ecdb80534
anyscalar.h: remove unnecesary vcast
...
what was I thinking...
2018-04-08 15:53:21 -07:00
Michael Davidsaver
e973422ee1
anyscalar.h: add ctor from type code and void*
...
also helper bufferUnsafe() to get storage pointer
or c_str().
2018-04-08 15:53:21 -07:00
Michael Davidsaver
8093c25b72
typeCast.h: allow cast from C string to numeric w/o copy
...
also re-enable compile test of string to int64 which
was disabled for some reason...
2018-04-08 15:53:21 -07:00
Michael Davidsaver
fe413af177
timerTest: redo to avoid time related false positives
2018-04-02 09:34:15 -07:00
Michael Davidsaver
06dbf96b65
missing test count
2018-03-12 09:11:44 -07:00
Michael Davidsaver
cd3ead0028
testThread drop dead code
2018-01-05 11:14:59 -08:00
Michael Davidsaver
a239b95ca1
remove previously deprecated executor.h, queue.h and timerFunction.h
2018-01-05 11:14:59 -08:00
Michael Davidsaver
09574c0e82
sharedVector more c++11
...
support std::move() and construct
from initializer list.
2018-01-05 11:14:59 -08:00
Michael Davidsaver
cb7e4e858b
clear some warnings
2018-01-04 11:52:19 -08:00
Michael Davidsaver
c590204cf9
add epics::auto_ptr<T> and epics::swap()
...
Avoid the flood of auto_ptr deprecation warnings
in the common cases of using auto_ptr
to automatically delete.
2017-11-06 12:30:40 -06:00
Michael Davidsaver
284e49c807
add EPICS_NOT_COPYABLE()
...
More localize (my preference), and avoids
warning spam with windows builds.
2017-11-06 11:29:59 -06:00
Michael Davidsaver
51cbe538e8
handle yajl 2.1.0 API changes
2017-10-31 19:34:30 -05:00
Michael Davidsaver
0d12464e30
add AnyScalar
2017-09-29 17:22:43 -05:00
Michael Davidsaver
111f7bd15e
parseJSON() track modified fields
2017-09-07 11:53:54 -05:00
Michael Davidsaver
787af8de18
BitSet building convenience
...
Allow set()/clear()/flip() to be chained.
Support c++11 initializer lists.
2017-09-07 11:49:07 -05:00
Michael Davidsaver
db6ebfe71b
parseJSON() assign union with scalar value
2017-09-06 18:34:00 -05:00
Michael Davidsaver
34896560ea
add reftrack.h
...
Add global Reference Counter tracker
2017-08-30 11:11:47 -05:00
Michael Davidsaver
87fa150ced
3.14 compat
2017-07-13 19:14:52 +02:00
Michael Davidsaver
4cfdb8233f
more import/export
2017-07-13 18:49:32 +02:00
Michael Davidsaver
ee4fdf3f39
json print/parse from/to PVStructure
2017-07-13 18:02:10 +02:00
Michael Davidsaver
a8c5d1095d
remove MessageQueue
2017-07-12 13:07:36 +02:00
Michael Davidsaver
0de3c089d2
testByteBuffer always test both byte orders
2017-07-07 11:21:00 +02:00