134 Commits

Author SHA1 Message Date
f72c7e653c pvput: make sure we have valid values after all the checks 2021-03-09 10:56:40 -08:00
674264db3d pvput: when we accept a bare value with a "=" char, verify if the
".value" field is of type "string"
2021-03-09 10:56:40 -08:00
546de6fe32 pvput: When breaking down command line vales into field=value pairs,
verify if the "field" is a valid remote type. If not, tread it as a
bare value
2021-03-09 10:56:40 -08:00
55af545099 pvput: Move command line values break down logic to the Putter class
where we have access to the remote type
2021-03-09 10:56:40 -08:00
e2b733a78f Enable building of pvtools to all except vxWorks, RTEMS and iOS. 2021-01-26 17:23:17 -08:00
d17d44ba0c minor 2020-11-10 23:03:48 -08:00
40300a12cb replaced tabs with spaces 2020-04-15 08:17:03 -07:00
a597381f83 pvget -V show dependency versions 2020-01-16 16:25:51 -08:00
068fcf6ab6 pvput fix JSON mode
Broken by 50de6cc58e
2020-01-16 09:16:55 -08:00
9a02377b3d pvcall RPC can legally return NULL 2019-12-19 18:46:57 -08:00
e27de1bd28 Fix pvlist loop to query multiple servers 2019-10-28 16:12:23 -05:00
866b75a36d Tweak pvlist output to make it easier to cut/paste w/o picking up unwanted syntax 2019-09-25 18:35:19 -07:00
50de6cc58e remove 3.14 compatibility 2019-08-20 15:52:56 -07:00
64453e1f1a split client/server protocol version 2019-05-21 08:51:01 -07:00
1ea70a302b ignore protocol minor version 0
The change from 0 -> 1 included incompatible changes
to CMD_BEACON and several others.

Ignore any UDP messages (beacon or search),
and disconnect any TCP peers, with version==0.
2019-05-21 08:51:01 -07:00
32ba2f32d0 avoid deprecated ByteBuffer::getArray()
use identical, but not overloaded, getBuffer()
2019-05-19 14:09:38 -07:00
f9ac164ee7 Revert "try to fix downstream win32 linking"
This reverts commit 4f0c4c46a3.
2019-05-16 18:09:47 -07:00
4f0c4c46a3 try to fix downstream win32 linking 2019-05-16 14:03:45 -07:00
736e0c169a Merge branch 'auth'
* auth:
  fix osdGetRoles
  oops
  Add showauth executable
  getgrouplist() on OSX has different sig.
  auth fix mingw static
  fix search PeerInfo
  PeerInfo in pva/server.h and pva/sharedstate.h
  make PeerInfo available during search phase
  auth status void accidental success.
  minor doc
  always need to link with netapi32 now
  authorize with local group lookup
  Add osdGetRoles()
  authorization framework
  pvasr show PeerInfo
  redo security (aka. access control)
  remove asCheck

# Conflicts:
#	src/server/pv/responseHandlers.h
#	src/server/responseHandlers.cpp
2019-05-12 14:40:29 -07:00
b462d82b18 pvinfo show peerName 2019-03-17 19:30:49 -07:00
754a1d2b08 pvtools main() catch 2019-03-04 18:01:33 -08:00
936f8add27 pvcall fix array args 2019-02-21 08:52:55 -08:00
bfff9275bd always need to link with netapi32 now 2019-01-12 17:07:24 -08:00
728822b0e9 drop eget 2018-10-30 17:20:15 -07:00
a4e78916b7 pvtools: update options message 2018-10-30 17:20:15 -07:00
c2f386446a fix pvinfo 2018-10-30 17:20:15 -07:00
6dea9d90cc pvutils rework 2018-10-30 16:25:59 -07:00
9de8676a6f pvlist debugging 2018-10-18 15:18:00 -07:00
30f07f2fb6 Changing default request string to 'field()' 2018-10-02 20:29:02 -07:00
281447c909 pvtools: force flush cout
Apparently windows CRT doesn't have a timed flush.
2018-09-17 10:37:36 -07:00
2d5ba15095 pvlist replace getBroadcastAddresses() with discoverInterfaces() 2018-07-02 14:39:36 -07:00
f29ef3121e pvtools: compose pvutil_ostream
eliminate at least some of the odd-ness which is causing
build failures on hosted mingw.
2018-06-29 16:22:56 -07:00
7a523dd948 drop unused NOMINMAX 2018-05-18 15:20:26 -07:00
6ccca1ce58 const-ify string constants
yes really...
2018-05-18 10:12:34 -07:00
1adea89e77 pvtools: combine separator and fieldSeparator
both always have the same value anyway...
2018-04-24 08:33:25 -07:00
9c25057d80 pvtools: drop unnecessary accessors for global flags
These don't provide any encapsulation or validation...
2018-04-24 08:29:45 -07:00
a2b60771c2 pvget -m show time/alarm
MD: cleanups
2018-04-24 07:36:06 -07:00
af2adf9248 pvlist remove comma
some shells will include the trailing ',' in selection
when double clicking.  Users find this annoying.
2018-03-08 11:43:36 -05:00
74fbd22d40 pvput: fix enum_t
Need to get value.choices
2018-02-27 14:29:50 -08:00
d605eaca11 pvput avoid unnecessary iteration 2018-02-27 13:27:38 -08:00
d41d15d59e drop some dead code 2018-02-01 19:51:32 -08:00
b05ec689d0 pvget/pvinfo check for NULL channel 2018-01-31 11:51:13 -08:00
903d117485 pvAccessLog() add EPICS_PRINTF_STYLE()
and fixup incorrect specifiers
2017-12-28 10:49:54 -06:00
4e743f2d95 eget remove broken "-m" monitor mode 2017-11-28 17:54:25 -06:00
0161799c93 must zero osiSockAddr prior to use!
RTEMS depends on this or eg. bind()
will fail because comparison with
list of interface addresses is done
with memcmp()!
2017-11-28 17:54:25 -06:00
955c1896a1 pvget: always print Timeout 2017-11-27 20:10:33 -06:00
2a1ba9418e pvtools: make -V show version, -v show full structure 2017-10-06 14:36:27 +02:00
60c97c3e88 drop MBLIB 2017-10-05 11:10:27 +02:00
221b880a4f typo 2017-10-05 09:36:53 +02:00
cb9a154934 pvput: missing NULL check 2017-10-05 09:04:07 +02:00