Commit Graph

108 Commits

Author SHA1 Message Date
Jeff Hill johill@lanl.gov
e0bc071de3 merged in fix for https://bugs.launchpad.net/epics-base/+bug/1179642
also merged in removal of c++ support for old HPUX compiler
2013-05-16 12:33:31 -06:00
Michael Abbott
a0c0c55347 Client side support for automatic resizing arrays.
In this commit the channel access client is modified to allow a zero
size request in a caget or camonitor call.  This is passed through to
the corresponding CA_PROTO_READ_NOTIFY or CA_PROTO_EVENT__ADD message,
but only if the minor version of the protocol is >=13.

This commit also adds a new protocol test, CA_V413(), which detects a
server which claims to understand the new zero length request.

Finally, this commit prepares for a subtle change in the CA protocol.
A request for a zero length subscription or data request, which will
only be made for protocol version 4.13 and above, is interpreted as a
request for autosized data, where the intrinsic dynamic length of the
requested waveform should be returned.

With the synchronous ca_array_get() call there is no mechanism available
to pass back the size of the retrieved data if it is different from
the requested count, so the simplest thing is to ensure we don't
request autosizing data through this api.
2010-08-11 16:22:54 -05:00
Jeff Hill
794811b95a exp passed to assert must not change the state of the data structures 2009-08-24 17:03:17 +00:00
Jeff Hill
cde78f0b70 fixed a bug where the callback control gaurd was used from a different thread
than the one that created it
2007-01-11 21:45:58 +00:00
Jeff Hill
7b461161fc write request now goes directly to iiu 2006-11-18 00:41:56 +00:00
Jeff Hill
363199adfa fixed bug occurring when interfacing with EPICS 3.11 2005-11-22 00:11:16 +00:00
Jeff Hill
f5174ef94e fixed ca_host_name() returns name of the local host 2005-04-11 21:38:35 +00:00
Jeff Hill
c3f277dbc6 getName() and getHostName return string size 2004-10-19 20:46:55 +00:00
Jeff Hill
0e1aa1c4bb new #include 2004-10-08 15:44:44 +00:00
Jeff Hill
639d54fd91 fixed CA fails if channel is destroyed in disconnect handler 2004-10-04 23:28:54 +00:00
Jeff Hill
302cde41b0 removed CVS Id tokens as they cause never ending hassles when merging
in from branches
2004-10-04 18:55:40 +00:00
Jeff Hill
753ecff270 Changes to support communication with protocol revisions prior to 4.2 (EPICS 3.11) 2004-10-04 16:39:00 +00:00
Jeff Hill
620f8b74b7 fixed header file names 2004-09-24 00:22:21 +00:00
Jeff Hill
7b7a07c667 fixes for bugs 133 and 134 in Mantis 2004-09-23 23:15:22 +00:00
Jeff Hill
dd3d974bc7 o fixed clients that dont see server's beacon dont reconnect
o added config via EPICS_CA_MAX_SEARCH_PERIOD
o when successful search response arrives dont allow search period to get to long
o dont scan channels when searching to find lowest retry count as this doesnt change behavior and adds overhead
2004-09-03 21:12:38 +00:00
Jeff Hill
d0ca66c2e3 cancel outstanding IO when a channel becomes unresponsive 2004-06-17 23:31:30 +00:00
Jeff Hill
0999b6d923 fixed 1st monitor update not delivered when didnt change
when unresponsive
2004-06-14 21:49:39 +00:00
Jeff Hill
329172afc7 fixed logic surrounding subscription cancel
1) When channel is destroyed, but subscription not installed into a server
2) When subscription is destroyed, but has not been installed in server
2004-05-21 00:57:51 +00:00
Jeff Hill
a0e0cd7ef5 fixed channel uninstall message was not sent to server and other problems 2004-04-02 00:01:45 +00:00
Jeff Hill
16e182a89c new subscription member func preventing subscription from being installed twice 2004-03-22 18:38:29 +00:00
Ralph Lange
0da4a9df30 Cosmetic 2004-02-03 15:33:45 +00:00
Jeff Hill
c1e2dc29bd removed overly stringent assert 2004-02-02 20:13:15 +00:00
Jeff Hill
94a77fec91 fixed disconnect notify supressed when channel state is disconnected 2004-01-27 00:27:02 +00:00
Jeff Hill
bb05cea3c1 fixed solaris warnings 2004-01-23 19:55:11 +00:00
Jeff Hill
60a797048a many changes associated will disconnecting the channel but not disconnecting
the circuit
2004-01-15 01:42:49 +00:00
Jeff Hill
cde473e4d9 fixed names 2004-01-09 01:05:27 +00:00
Jeff Hill
f04fa5fdf3 many changes associated will disconnecting the channel but not disconnecting the circuit 2004-01-09 00:42:15 +00:00
Jeff Hill
0712df904b keep circuit open with disconnected channels attached if the circuit
becomes unresponsive
2003-10-23 22:45:54 +00:00
Jeff Hill
245cf129ff fixed disconnect callback when channel known to be disconnected 2003-09-10 17:09:25 +00:00
Robert Soliday
ce29455411 Minor changes added for Borland's C++ compiler on Linux 2003-08-01 19:13:39 +00:00
Jeff Hill
773c12becc improved disconnect search interval 2003-07-03 15:07:51 +00:00
Jeff Hill
a63da3e2a8 require guard when sending crate chan msg 2003-04-16 20:38:15 +00:00
Jeff Hill
2c21dd8737 receive watchdog delay diagnostic 2003-02-24 16:05:22 +00:00
Ralph Lange
d7fe8efef6 Suppressed HPUX warnings. 2002-11-07 17:18:27 +00:00
Jeff Hill
6e2262aecf fixed bogus undefined symbols with hpux compiler 2002-11-04 23:25:41 +00:00
Jeff Hill
223b7fbe2a removed unused paramter tag 2002-10-29 17:10:16 +00:00
Jeff Hill
8dc8be9ad7 document ms compiler problems with placement delete 2002-10-24 18:12:03 +00:00
Jeff Hill
8a0504616e dont allow ordinary delete 2002-10-23 23:32:30 +00:00
Jeff Hill
17e5a0b98d fixed visual c++ 6.0 build issues 2002-09-19 22:11:47 +00:00
Jeff Hill
abcbaeca9c use const for the channel name pointer 2002-09-11 20:51:14 +00:00
Janet B. Anderson
93b0bf478d Updated license comments. 2002-07-12 21:35:43 +00:00
Jeff Hill
692a72f46c o upgraded udp to use version and sequence numbers
o fixed race condition in search timer
2002-06-25 18:52:50 +00:00
Jeff Hill
0f58a2eb39 moved someof the functionality into the old interface 2002-05-09 00:28:40 +00:00
Jeff Hill
0680710841 cosmetic 2002-04-25 23:50:53 +00:00
Jeff Hill
87bc5a7243 many structural improvements 2002-04-25 18:35:40 +00:00
Jeff Hill
cdfa4b5363 avoid useless vc++ warning 2002-03-27 21:32:20 +00:00
Jeff Hill
a07be4ff1b template instantiation 2002-03-27 19:18:43 +00:00
Jeff Hill
9e19d72cb1 assume that new throws an exception 2002-03-25 16:27:47 +00:00
Jeff Hill
28ef90cb1b epicsAutoMutex has a new name, fixed free lists, and use c++ thread class,
and fixed dll symbol exports
2002-03-21 23:10:06 +00:00
Jeff Hill
d96fb9ac5d call epics builtin inline byte swapping 2002-02-06 23:41:53 +00:00