Commit Graph

453 Commits

Author SHA1 Message Date
Matej Sekoranja
74028c9640 testRAII added 2016-05-19 14:53:16 +02:00
Andrew Johnson
0884a199b3 Adjust time-stamp comparison to be approximately 1 second.
Also found another time-stamp comparison test, similar changes there.
2016-04-21 15:34:39 -05:00
Andrew Johnson
6e0b772880 Improve test robustness (was failing on a Mac VM)
Store and compare the complete time-stamp, not just the seconds field.
2016-04-21 11:13:19 -05:00
Matej Sekoranja
6dc9b0f96f replaced LGPL wildcard matcher w/ simplistic epics-base version 2016-04-14 11:31:32 +02:00
Andrew Johnson
9a8644033d Prevent redefinition of NOMINMAX
While this protection is not strictly necessary here, if someone
does a cut-and-paste into a header file it should be included.
2016-04-06 15:22:11 -05:00
Andrew Johnson
962e139c1a Don't use %z modifier, not portable. 2016-04-06 11:40:16 -05:00
Andrew Johnson
d76d7faab6 Prevent redefinition warning on MinGW 2016-04-06 11:33:59 -05:00
Andrew Johnson
8fdf0d7411 Use lower-case header filenames for MinGW cross-compilation 2016-04-06 10:59:22 -05:00
Matej Sekoranja
04a90c4780 c++11 compilation issues
references #28
2016-03-23 22:04:09 +01:00
Michael Davidsaver
15449dde6b used aliased names for Monitor* 2016-03-18 15:01:48 -04:00
Matej Sekoranja
5279d247ca general indent beautification 2016-03-10 23:36:16 +01:00
Matej Sekoranja
b1539df759 remote client context: context-provider relationship removed, unnecessary dangling transport creation (server on multiple NIFs) 2016-03-08 22:25:21 +01:00
Matej Sekoranja
9b6fdaaaff rtems: reference to 'Thread' is ambiguous 2016-03-03 00:29:54 +01:00
Matej Sekoranja
a27df1f8f4 rtems: reference to 'Configuration' is ambiguous 2016-03-02 23:50:00 +01:00
Matej Sekoranja
27a292d7f2 vxWorks test build fix 2016-03-02 23:41:30 +01:00
Matej Sekoranja
d380e4c367 VxWorks compilation fixes 2016-03-02 15:01:14 +01:00
Matej Sekoranja
56b6279035 manual merge 2016-03-02 13:34:05 +01:00
Matej Sekoranja
0db4a9a342 udp transport initialization refactoring (deduplication) 2016-03-02 12:37:58 +01:00
Matej Sekoranja
87fa71070d automatic broadcast port 2016-03-02 11:08:58 +01:00
Matej Sekoranja
19031af095 added testClientFactory test 2016-03-01 08:22:05 +01:00
Matej Sekoranja
9be026efc7 allow EPICS_PVAS_INTF_ADDR_LIST=127.0.0.1, tests pass now 2016-02-25 10:37:44 +01:00
Michael Davidsaver
069555a524 remove use of throw() specifier 2016-02-10 12:06:35 -05:00
Matej Sekoranja
125822d18f one instance of responseHandler per context 2015-12-17 09:12:33 +01:00
Matej Sekoranja
a692546170 ServerChannelRequesterImpl::getRequesterName() returns client's address 2015-12-16 23:30:53 +01:00
Matej Sekoranja
91b5cc707d fixed testChannelAccess 2015-12-16 13:52:56 +01:00
Matej Sekoranja
22d6db2818 fixed testServer 2015-12-16 12:00:20 +01:00
Michael Davidsaver
b64e99c680 todo: attempt to fix testChannelAccess 2015-12-14 17:04:58 -05:00
Michael Davidsaver
c0ee432598 Allow ChannelProviderFactory::newInstance to accept a Configuration
Deprecate ChannelProvider::configure(), which doesn't do much and
is incompatible with the idea of shared context.

A lot of down-stream mess related to the confused relationship
between InternalClientContextImpl and InternalClientContextImpl::ChannelProviderImpl.
This is changed to compose the provider within the context
and use a nested shared_ptr so that references to the provider
are really references to the context.

This brings the ownership semantic in line with what the API
suggests, and what other providers implement.
2015-12-14 17:04:57 -05:00
Michael Davidsaver
b9dd9e8e6c getRemoteName()
Cache the TCP peer address as a string and pass it to createChannel().
2015-12-14 17:04:57 -05:00
Michael Davidsaver
4a1bfff40f Remove clearSendQueue
Use BreakTransport exception instead
2015-12-14 16:59:55 -05:00
Michael Davidsaver
730d30fe54 AbstractCodec use fair_queue 2015-12-14 16:59:55 -05:00
Michael Davidsaver
db86e47659 add fair_queue 2015-12-14 16:59:55 -05:00
Michael Davidsaver
3eb7775493 introduce ConfigurationBuilder 2015-12-14 14:25:20 -05:00
Michael Davidsaver
7a2e25f79c rewrite Properties
let's be rid of some egregiously bad C++ code...
2015-12-14 14:24:40 -05:00
Michael Davidsaver
9b43a07b47 configurationTest now uses htons, needs winsock dll 2015-11-24 20:22:37 -05:00
Michael Davidsaver
87af5b308f config get socket address
revamp configurationTest
2015-11-23 16:41:31 -05:00
Matej Sekoranja
55328e4a53 merge 2015-10-15 21:18:56 +02:00
Dave Hickin
0af5599457 Remove calls of deprecated getScalarArrayField 2015-07-24 15:00:25 +01:00
Matej Sekoranja
7c7ff7babc Merge pull request #8 from anjohnson/mbOptional
Make microbench library & header optional
2015-07-14 10:34:08 +02:00
Andrew Johnson
98224b0d01 Make microbench library & header optional
Requires similar changes in pvaSrv, and in pvCommonCPP if you're
actually using the microbench code.
2015-07-13 10:50:55 -05:00
Michael Davidsaver
ef46931276 use getSubField 2015-06-22 15:04:44 -04:00
Matej Sekoranja
b381d84e64 cancel(), done(), ackAny param 2015-05-06 11:08:23 +02:00
Matej Sekoranja
197f763452 pipeline support 2015-04-29 15:17:54 -04:00
Matej Sekoranja
ecaba2dcfb testCodec test fixed 2015-02-18 12:49:26 +01:00
Matej Sekoranja
c8c0498cdf using new copy API 2015-02-18 10:03:18 +01:00
Matej Sekoranja
4e474a75fd async RPC service and example 2015-02-08 22:46:05 +01:00
dhickin
a58054d59d Correct compressed field value of testServer NTNDArray. 2015-01-10 17:43:35 +00:00
Matej Sekoranja
9aab7420b4 vxworks warnings 2014-11-26 13:52:15 +01:00
Matej Sekoranja
8541ffa5e9 rtems/vxworks compiler warnings 2014-11-26 13:15:46 +01:00
Matej Sekoranja
e67e8153ef EPCIS 3.15 compilation warnings removed 2014-11-26 11:09:11 +01:00