Commit Graph

1592 Commits

Author SHA1 Message Date
Andrew Johnson
eacfbeeea8 Building testCa requires src/ca 2018-05-27 15:42:31 -05:00
Marty Kraimer
bbb2ad3de8 Merge pull request #1 from anjohnson/master
Changes to your pvAccess/testCa code

Andrew,

Thanks
2018-05-27 06:31:48 -04:00
Andrew Johnson
2cddd3359e testCa: Replace duplicated test code with a subroutine
Also uses testAbort() instead of throwing in the event of a problem.
2018-05-27 01:25:25 -04:00
Andrew Johnson
c57b135235 testCa: Configure CA to search localhost only 2018-05-27 01:14:47 -04:00
Andrew Johnson
db15689e1c testCa: Use the softIoc's built-in exit subrecord 2018-05-27 00:33:18 -04:00
Andrew Johnson
872004f75f testCa: Run IOC using dbUnitTest API where possible
Essential for VxWorks and RTEMS which don't support system().
Build embedded IOC tests only against Base-3.15 and later.
2018-05-27 00:31:32 -04:00
Andrew Johnson
3e0748d488 testCa: Adjust test output
The DEBUG flag must be 0 when running under a test harness to
remove extraneous output which can confuse the output parser.
This commit also converts some throws into tests, and adds
more test diagnostic messages.
2018-05-26 13:23:04 -04:00
Andrew Johnson
d155487dda testCa: Remove extraneous bi record, fix bo.OUT link 2018-05-26 13:13:28 -04:00
mrkraimer
08290b4a99 Merge https://github.com/epics-base/pvAccessCPP 2018-05-23 15:18:30 -04:00
Michael Davidsaver
12e7b7864b fix s_channelNameToProvider hack
Move from global to ServerContext, apply lock, and
properly test if no provider has claimed, eg an attempt
at unadvertised PV (still wouldn't work, but at least
wouldn't crash).
2018-05-18 17:04:07 -07:00
Michael Davidsaver
7a523dd948 drop unused NOMINMAX 2018-05-18 15:20:26 -07:00
Michael Davidsaver
ba41fa6d62 notes 2018-05-18 15:17:27 -07:00
Michael Davidsaver
ce19199edd cleanup 2018-05-18 11:58:35 -07:00
Michael Davidsaver
6ccca1ce58 const-ify string constants
yes really...
2018-05-18 10:12:34 -07:00
Michael Davidsaver
6abfe9d196 server: cleanup handling of vector of providers
avoid keeping extra refs.  situation is confusing
enough as it is.
2018-05-18 08:53:52 -07:00
Michael Davidsaver
bd88e35448 client.h update doc 2018-05-16 09:14:49 -07:00
mrkraimer
9b305e5e2b try to make travis BRBASE builds succeed 2018-05-15 09:11:05 -04:00
mrkraimer
5bc12317e4 more info if ioc not started 2018-05-12 12:00:56 -04:00
mrkraimer
00c56ed12e another attempt to get RTEMS to build 2018-05-11 13:20:29 -04:00
mrkraimer
ded28bbd3b try to get more travis build to work 2018-05-11 11:00:10 -04:00
mrkraimer
911108a554 attempt to make RTEMS work 2018-05-11 06:57:28 -04:00
mrkraimer
0558972157 added more tests; added path for softIoc; 2018-05-10 07:03:00 -04:00
mrkraimer
90a75d9974 moved ca tests from testApp to testCa 2018-05-09 10:49:32 -04:00
mrkraimer
eafe9021a7 add tests for provider ca 2018-05-07 16:03:56 -04:00
mrkraimer
3c4679ae38 Merge https://github.com/epics-base/pvAccessCPP 2018-05-03 08:30:06 -04:00
Michael Davidsaver
51fdd506d0 update release notes 6.1.0-pre1 2018-04-24 13:50:59 -07:00
Michael Davidsaver
a75720120c client: call ChannelSearchManager::cancel() 2018-04-24 12:33:54 -07:00
Michael Davidsaver
1adea89e77 pvtools: combine separator and fieldSeparator
both always have the same value anyway...
2018-04-24 08:33:25 -07:00
Michael Davidsaver
9c25057d80 pvtools: drop unnecessary accessors for global flags
These don't provide any encapsulation or validation...
2018-04-24 08:29:45 -07:00
Andrew C. Starritt
a2b60771c2 pvget -m show time/alarm
MD: cleanups
2018-04-24 07:36:06 -07:00
Michael Davidsaver
7cf78d5b9b client.h add ClientProvider::name() 2018-04-20 15:22:57 -07:00
Michael Davidsaver
3d85852c93 attempt to fix dllimport issue 2018-04-18 09:01:11 -07:00
mrkraimer
1e5f44d26e major changes to dbdToPv 2018-04-13 10:06:44 -04:00
Michael Davidsaver
61d43e498d client.h std::ostream printing 2018-04-10 16:19:03 -07:00
Michael Davidsaver
0d40464541 client.h: expose reset()
can also be accomplished with assignment from empty.

op = pvac::Operation()
2018-04-10 15:17:18 -07:00
Michael Davidsaver
0c6fe2c1c6 client.h: add validity test for all handles 2018-04-08 16:04:36 -07:00
Michael Davidsaver
ff5d51b221 server: shorter name for Timer thread 2018-04-04 20:55:57 -07:00
Michael Davidsaver
1e0523b7b9 client context. Prevent transport dtor under channel mutex.
m_channelMutex is locked recursively, so places like
disconnect(bool,bool) which purport to unlock for the
Transport detory actually don't as they are called
with m_channelMutex already locked.

Make a rather ugly hack of saving a ref to m_channel
at the various entry point.
2018-04-04 19:25:04 -07:00
Michael Davidsaver
c9c8fb369a client context explicitly close() timer queue 2018-04-04 18:53:22 -07:00
Michael Davidsaver
d4822f141c simplify InternalClientContextImpl::destroy()
Collapse internalDestroy() into destroy()
2018-04-04 18:50:58 -07:00
Michael Davidsaver
128d4b67f9 simplify InternalChannelImpl::destroy()
Collapse channel destroy(bool) and destroyChannel() into destroy()
2018-04-04 18:48:48 -07:00
Michael Davidsaver
e97354db61 client context collapse channel createChannel() into searchResponse() 2018-04-04 18:44:11 -07:00
Michael Davidsaver
bab32c332a codec: notes on thread self dtor 2018-04-04 18:40:46 -07:00
Michael Davidsaver
54bb30fd86 reftrack BlockingUDPTransport 2018-04-04 18:31:12 -07:00
Michael Davidsaver
a8e26123c7 minor doc 2018-04-04 18:31:12 -07:00
Michael Davidsaver
7f5eb1de4d BlockingClientTCPTransportCodec collapse closedNotifyClients() into internalClose() 2018-04-04 18:31:12 -07:00
Michael Davidsaver
0eabf10005 codec: drop unused _shutdownEvent
using epicsThread::exitWait() instead
2018-04-04 18:31:12 -07:00
Michael Davidsaver
192955e7b5 client context: don't call cancel()
it doesn't do anything!
2018-04-04 14:55:41 -07:00
Michael Davidsaver
83a941c070 channelSearchManager minor 2018-04-04 14:53:52 -07:00
Michael Davidsaver
18491f6eb3 const-ify AbstractClientResponseHandler::_context 2018-04-04 10:12:44 -07:00