Commit Graph

158 Commits

Author SHA1 Message Date
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
Michael Davidsaver 90203c9b86 truncate when storing scalar numeric 2020-07-19 21:07:15 -07:00
Michael Davidsaver 06e26a0ec5 Value iteration take 3 2020-07-19 21:07:15 -07:00
Michael Davidsaver 0e972ecc71 more testshared 2020-07-19 21:07:15 -07:00
Michael Davidsaver 2381f28c73 allow unselection/clear of Union/Any 2020-07-19 21:07:15 -07:00
Michael Davidsaver f22715063c allow Union deref w/o field name 2020-07-19 21:07:15 -07:00
Michael Davidsaver 38c15e655f fix/test allocArray 2020-07-19 21:07:15 -07:00
Michael Davidsaver f2777e319b fix shared_array::convertTo() 2020-07-16 12:37:48 -07:00
Michael Davidsaver 290a2689fc add Value::lookup() 2020-07-16 12:37:48 -07:00
Michael Davidsaver bb7ac1e8e6 rework iteration, extend to Union 2020-07-16 12:37:48 -07:00
Michael Davidsaver b9e025a6dd Value::compareType() -> Value::equalType() 2020-07-03 20:54:47 -07:00
Michael Davidsaver 479f0f1f4d fix spelling in public headers 2020-07-03 20:54:47 -07:00
Michael Davidsaver 651d7d18fb test template methods of TypeDef 2020-06-29 07:36:23 -07:00
Michael Davidsaver 73314e5f35 add testnt 2020-06-25 17:26:02 -07:00
Michael Davidsaver 7a9d5cb6ab WIN32: SetErrorMode(0) 2020-06-16 16:39:00 -07:00
Michael Davidsaver 64d0505610 epicsEnvUnset compat 2020-06-11 09:56:29 -07:00
Michael Davidsaver d6156890f4 print array of quoted strings 2020-06-09 15:03:02 -07:00
Michael Davidsaver 92ea351ebf testrpc: fix race in cancel 2020-05-22 09:17:33 -07:00
Michael Davidsaver 2d075cbc1c testsock show errno 2020-05-22 09:17:22 -07:00
Michael Davidsaver a556e7e290 fix array of scalar xcode 2020-05-18 19:01:37 -07:00
Michael Davidsaver 609768a33d add client channel cache
Maintain unused channels for 20 seconds before closing.
2020-05-07 18:45:16 -07:00