Commit Graph
178 Commits
Author SHA1 Message Date
Michael Davidsaver f8cdcd4f91 RTEMS5/libbsd support 2021-06-27 10:17:14 -07:00
Michael Davidsaver e287ce5a58 data: Value in/out from enum{} 2021-06-27 10:17:14 -07:00
Michael Davidsaver a32f82ca35 unittest: harden string comparison
std::string::compare((char*)nullptr) crashes circa gcc 4.8
in call to strlen(nullptr).
2021-06-27 10:17:14 -07:00
Michael Davidsaver d33672a859 extend testdata 2021-06-27 10:17:14 -07:00
Michael Davidsaver 4ea98d61f6 test GUID printing 2021-06-27 10:17:13 -07:00
Michael Davidsaver c76c2806f3 add MPSCFIFO 2021-06-27 10:17:13 -07:00
Michael Davidsaver bb341e0e3e client: test bad pvRequest 2021-06-27 10:17:13 -07:00
Michael Davidsaver 3dd4dd6a66 client: different onInit() for monitor 2021-06-27 10:17:13 -07:00
Michael Davidsaver cd990fb459 reExecGet/Put() 2021-06-27 10:17:13 -07:00
Michael Davidsaver 708fbc8062 client: add *Builder::syncCancel(bool)
Option for asynchronous cancel (eg. implicitly through ~Operation).
2021-06-27 10:17:13 -07:00
Michael Davidsaver bcc46f0389 workaround limitations of moving std::function<void()> 2021-06-27 10:17:13 -07:00
Michael Davidsaver bd6fb00dd5 evhelper external/internal 2021-06-27 10:17:13 -07:00
Michael Davidsaver 8eac7c9941 client: relax exec() synchronization for connect() 2021-06-27 10:17:13 -07:00
Michael Davidsaver ccda2bd51e test client/server Report 2021-06-27 10:17:13 -07:00
Michael Davidsaver c15285c272 testutil show PVXS_VERSION 2021-06-27 10:17:13 -07:00
Michael Davidsaver dbed32309e add osdGetRoles() 2021-06-27 10:17:13 -07:00
Michael Davidsaver 904dff1c37 start testutil 2021-06-08 09:45:49 -07:00
Michael Davidsaver fb9f356457 client reExec() for Get 2021-06-08 09:45:49 -07:00
Michael Davidsaver 2972bd8205 client: add onInit hook 2021-06-08 09:45:49 -07:00
Michael Davidsaver 564b9ec2cc client: add Context::connect()
A means of manually (pre)populating
the channel cache.
2021-06-08 09:45:49 -07:00
Michael Davidsaver cbcd3ce105 log: avoid direct use of stderr 2021-05-06 08:46:27 -07:00
Michael Davidsaver d3979fb56d test log config from environment 2021-05-06 08:46:27 -07:00
Michael Davidsaver 3dcf2f59fe fix logger_level_set() 2021-05-06 08:46:27 -07:00
Michael Davidsaver 6c3e5b693c add NTEnum 2021-05-04 16:46:41 -07:00
Michael Davidsaver f88733d7c6 shared_array: fix assembly from void*
CaptureBase<void> not valid
2021-05-04 16:46:41 -07:00
Michael Davidsaver 4a86694605 missing includes 2021-04-18 18:07:56 -07:00
Michael Davidsaver 78940d5530 config remove duplicates from address lists 2021-04-17 10:51:29 -07:00
Michael Davidsaver 3a55005609 nt: add TimeStamp and Alarm
Add helpers for common time and alarm sub-structures
2021-04-15 07:36:28 -07:00
Michael Davidsaver b7640016a6 add test1000
Test concurrent GET of 1000 PVs
2021-01-28 07:44:32 -08:00
Michael Davidsaver 76764cf978 xcode: capture file:line of fault() 2021-01-12 11:32:10 -08:00
Michael Davidsaver 0356eee740 decode "null" string
PVD encoding distinguishes between 'null' and '""'
(a residual java-ism).  Decode both as an empty string.
2021-01-12 11:32:08 -08:00
Michael Davidsaver c159b9da1e test request2mask() w/ non-existant fields 2021-01-07 11:07:24 -08:00
Michael Davidsaver d1072426db oops
testing the wrong op
2020-12-31 12:58:15 -08:00
Michael Davidsaver 47882d759d add target_information()
Print from: pvxinfo -D
and new iocsh iocsh pvxs_target_info()
2020-12-13 18:13:24 -08:00
Michael Davidsaver 02a4bd719e Implement IOCsh pvxsr() 2020-09-08 14:23:22 -07:00
Michael Davidsaver 6bbcf8aebb add iochooks and pvxsIoc library 2020-09-08 13:59:44 -07:00
Michael Davidsaver ba44131704 allow assign to union (fixes clone()) 2020-08-18 13:01:58 -07:00
Michael Davidsaver 8c55bf7de7 SharedPV monitor discard empty updates 2020-08-10 12:09:55 -07:00
Michael Davidsaver 9192ba3c33 test shuffle 2020-08-10 12:09:55 -07:00
Michael Davidsaver 6a46e44da9 fix SharedPV onLastDisconnect when not open() 2020-08-10 12:09:55 -07:00
Michael Davidsaver 67843eb392 more config 2020-08-10 12:09:55 -07:00
Michael Davidsaver 47594c9528 more testpvreq 2020-08-10 12:09:55 -07:00
Michael Davidsaver 33b6f362db client: Handle orphaned Operations
Allow Operation instances to outlive
the Context through which they were
created.
2020-08-10 12:09:55 -07:00
Michael Davidsaver 2d475eed74 Add Context::request() builder 2020-07-26 20:46:12 -07:00
Michael Davidsaver ce80e8897b Pass SharedPV& to onFirstConnect()/onLastDisconnect()
For consistency among the on*() callbacks.
2020-07-26 20:46:12 -07:00
Michael Davidsaver 24f3478c98 post() with const ref.
Added "safety" of passing move-able reference
is an illusion since no use_count()==1 test
is done.  Instead extra (shallow) copies
were made for each subscriber.

Instead.  Pass const reference, redefine
MonitorControlOp::post() to transfer ownership,
and make only a single copy in SharedPV::post().
2020-07-26 20:46:12 -07:00
Michael Davidsaver 7debb1fae3 update Config handling
rename from_env() -> fromEnv()
add fromDefs()
2020-07-26 20:46:12 -07:00
Michael Davidsaver c282d94621 testdata MSVC TODO 2020-07-22 11:26:41 -07:00
Michael Davidsaver f4576d4c33 Include input string when reporting parsing error (as NoConvert) 2020-07-22 11:14:57 -07:00
Michael Davidsaver 5210b7041d fix TypeDef amend 2020-07-22 11:14:57 -07:00