Commit Graph

43 Commits

Author SHA1 Message Date
Andrew Johnson
02afb98f38 Reject NULL callback functions in ca_array_*_callback
Fixes lp:1369626
2014-09-17 10:21:07 -05:00
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
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
502620ee4e eliminated redundancy with original ca client API 2004-10-19 20:49:47 +00:00
Jeff Hill
0e1aa1c4bb new #include 2004-10-08 15:44:44 +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
7b7a07c667 fixes for bugs 133 and 134 in Mantis 2004-09-23 23:15:22 +00:00
Jeff Hill
5bf1789650 added fix for failure when nill access rights handler installed 2004-03-25 01:03:29 +00:00
Jeff Hill
b59586dc83 fixed ms warnings 2004-01-27 00:27:52 +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
f04fa5fdf3 many changes associated will disconnecting the channel but not disconnecting the circuit 2004-01-09 00:42:15 +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
6da98f4e5e moved conn cb change to be guarded by func in ca context class 2003-04-18 22:07:19 +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
dda1e0e2aa removed unused paramter tag 2002-10-29 19:00:46 +00:00
Jeff Hill
8dc8be9ad7 document ms compiler problems with placement delete 2002-10-24 18:12:03 +00:00
Jeff Hill
6026533aeb use placement new 2002-10-23 23:23:22 +00:00
Jeff Hill
761a87ea73 eliminate disconnect message from ca_task_exit 2002-09-11 20:54:40 +00:00
Janet B. Anderson
93b0bf478d Updated license comments. 2002-07-12 21:35:43 +00:00
Jeff Hill
969c748d1e changed the name of class oldCAC to ca_client_context 2002-07-10 00:32:27 +00:00
Jeff Hill
76bd95f7ae fixed maintenance of outstanding io count 2002-05-09 17:21:10 +00:00
Jeff Hill
ee3666f242 reordered init to eliminate gnu warning 2002-05-09 15:00:14 +00:00
Jeff Hill
48e23429cb moved io in progress counter to old interface 2002-05-08 23:33:37 +00:00
Jeff Hill
2e11e7aacd moved template instances to a separate file 2002-04-25 18:23:09 +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
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
8f85d2887c cosmetic 2002-02-06 02:23:17 +00:00
Ralph Lange
4bd3e02954 Changes for HP-UX 11 - first semi-stable version 2002-02-04 16:05:49 +00:00
Jeff Hill
7b1b2988d7 turn of ms already instantiated warning 2001-10-22 03:18:52 +00:00
Jeff Hill
f1d7722f80 use explicit template instantiation 2001-10-20 00:43:26 +00:00
Jeff Hill
29218a2a27 added priority parameter 2001-08-23 20:51:29 +00:00
Jeff Hill
e095b7feba fixed sun pro warnings 2001-07-16 16:59:37 +00:00
Jeff Hill
54949779a9 dont always use default exception handler 2001-06-04 23:18:08 +00:00
Jeff Hill
245bd5ab5e fixed gnu warnings 2001-05-23 00:48:41 +00:00
Jeff Hill
70de17474b large array changes 2001-05-22 02:02:10 +00:00
Jeff Hill
1e786e3d5a broke apart monolithic iocinf.h header file 2001-04-19 23:52:07 +00:00
Jeff Hill
332a7228a8 dont hold lock while calling callbacks 2001-04-16 22:38:38 +00:00
Jeff Hill
00ec5cbdeb changed loc of free list lock 2001-03-07 16:27:09 +00:00
Jeff Hill
a1fbe85e7b redesigned class hierarchy 2001-02-09 17:38:00 +00:00