Commit Graph

227 Commits

Author SHA1 Message Date
Dave Hickin
56286872b1 Correct get of display.limitLow 2016-05-18 11:38:23 +01:00
Dave Hickin
5d992aee1a Keep NT id if optional field of DBR match not requested 2016-05-17 10:34:31 +01:00
Dave Hickin
362f3c02d7 Return requested fields in caProvider
caProvider matches to closest DBR type. Strip out unrequested fields
and only return requested parts of structure fields. Includes enums.
Check fields are non-null rather than throwing. Check labels non-null to
handle requests for choices field without index.

Fixes #42. Covers most cases of #41.
2016-05-17 10:33:24 +01:00
Matej Sekoranja
4e264f2295 win32: moved osiSockAttach() call before loadConfiguration
should fix #45
2016-04-26 20:48:27 +02:00
mrkraimer
a9e3f274c0 remove dead code 2016-04-19 15:10:41 -04:00
mrkraimer
998bf8ac67 PVAServerRegister:: allow providerList, do not use epicsAtExit 2016-04-19 10:07:58 -04:00
Andrew Johnson
0f61408a28 Minor clean-up after issue #43 fix. 2016-04-14 11:36:14 -05:00
Matej Sekoranja
6dc9b0f96f replaced LGPL wildcard matcher w/ simplistic epics-base version 2016-04-14 11:31:32 +02:00
Andrew Johnson
6698bb86fb Additional includes needed for MSVC 2016-04-06 17:02:03 -05:00
Andrew Johnson
b928ea4aab Fix oops when MB turned off. 2016-04-06 16:21:06 -05:00
Andrew Johnson
9a8644033d Prevent redefinition of NOMINMAX
While this protection is not strictly necessary here, if someone
does a cut-and-paste into a header file it should be included.
2016-04-06 15:22:11 -05:00
Andrew Johnson
0ad8ece840 Define and use GETPID() macro 2016-04-06 15:19:35 -05:00
Andrew Johnson
f2f14dc5a7 Link with pvMB when requested 2016-04-06 10:59:23 -05:00
Andrew Johnson
e28fd6129e Remove need to undef epicsExportSharedSymbols
This approach works OK, but makes it much harder to find files
that have mistakes in them since they can cause other functions
to get the wrong import/export setting.
2016-04-06 10:59:23 -05:00
Andrew Johnson
1e031bf393 Reorder some include lines
Order should be
    Compiler, OS, Base, pvData, pvAccess
This makes it much easier to get the epicsExport stuff right.
2016-04-06 10:59:23 -05:00
Andrew Johnson
01dce98a6c Add copyright notice 2016-04-06 10:59:23 -05:00
Andrew Johnson
7ccb64eea6 Fix includes on wrong side of epicsExportSharedSymbols 2016-04-06 10:59:23 -05:00
Andrew Johnson
12d68fe209 Add epicsExportSharedSymbols, move some includes 2016-04-06 10:59:22 -05:00
Andrew Johnson
7ed5f8b4bf Wrong keyword, use epicsShareFunc 2016-04-06 10:59:22 -05:00
Matej Sekoranja
02656af922 "monitor reconnect of different type channel" fix
In addition Monitor::release method checks if structure is of the right
type.
References #40.
2016-04-06 14:00:17 +02:00
Matej Sekoranja
2f73b206bb destroy channel: missing 4 bytes request 2016-03-30 09:11:21 +02:00
Andrew Johnson
5ffdb89450 Lower-case windows header filename for MinGW builds 2016-03-29 17:18:00 -05:00
Matej Sekoranja
b70c1d69a8 ChannelProviderFactoryImpl static destruction fixed
references #37
2016-03-23 23:15:29 +01:00
Matej Sekoranja
04a90c4780 c++11 compilation issues
references #28
2016-03-23 22:04:09 +01:00
Matej Sekoranja
85e881fbcd send udp transport initialization order, search response broadcast transport null check
closes #39
2016-03-23 21:10:04 +01:00
Matej Sekoranja
cce2a6c4b7 Merge pull request #36 from mdavidsaver/reqoptypedef
Add requester_type and operation_type
2016-03-21 22:00:42 +01:00
Matej Sekoranja
f14fdd207c merge 2016-03-21 21:54:37 +01:00
Michael Davidsaver
8679619c83 add requester_type and operation_type
Typedefs to link associated *Requester classes
with their associated "operation"s.

eg. ChannelGet::requester_type is ChannelGetRequester
and ChannelGetRequester::operation_type is ChannelGet.

ChannelFind/List is an ambiguous.  All others
are 1-to-1.

ChannelFind::requester_type is ChannelFind
operation_type for both ChannelListRequester and
ChannelFindRequester is ChannelFind.
2016-03-20 10:17:43 -04:00
Michael Davidsaver
15449dde6b used aliased names for Monitor* 2016-03-18 15:01:48 -04:00
Michael Davidsaver
7af6031da6 alias Requester and Monitor into epics::pvAccess::
While defined in pvDataCPP neither of these
is actually used there.
Alias into the epics::pvAccess:: namespace
as a first step towards moving
these definitions to this module.
2016-03-18 15:00:45 -04:00
Michael Davidsaver
775d3c9827 rpcServer use base class methods 2016-03-18 14:57:32 -04:00
Michael Davidsaver
52ff5ace95 CAChannel use base class methods 2016-03-18 14:57:27 -04:00
Michael Davidsaver
f3035ff758 Defaults for some Channel methods
printInfo() to std::cout, as a no-op
isConnected() using getConnectionState()
various create*() fail with "Not Implemented"
Requester methods try to forward to ChannelRequest,
fallback to std::cerr.
2016-03-18 14:57:21 -04:00
Matej Sekoranja
5279d247ca general indent beautification 2016-03-10 23:36:16 +01:00
Matej Sekoranja
d139c42d17 destruction of shared provider 2016-03-10 10:26:33 +01:00
Matej Sekoranja
f0417995d0 UDP transport: memory issues fixed 2016-03-09 22:59:21 +01:00
Matej Sekoranja
b1539df759 remote client context: context-provider relationship removed, unnecessary dangling transport creation (server on multiple NIFs) 2016-03-08 22:25:21 +01:00
Matej Sekoranja
87c11d83d2 win32 port 2016-03-06 21:21:26 +01:00
Matej Sekoranja
9b6fdaaaff rtems: reference to 'Thread' is ambiguous 2016-03-03 00:29:54 +01:00
Matej Sekoranja
a27df1f8f4 rtems: reference to 'Configuration' is ambiguous 2016-03-02 23:50:00 +01:00
Matej Sekoranja
39739c8437 fixed tricky UDP transport replayTo issue 2016-03-02 22:24:22 +01:00
Matej Sekoranja
d380e4c367 VxWorks compilation fixes 2016-03-02 15:01:14 +01:00
Matej Sekoranja
c149f81cba std::tr1::static_pointer_cast missing 2016-03-02 13:44:19 +01:00
Matej Sekoranja
56b6279035 manual merge 2016-03-02 13:34:05 +01:00
Matej Sekoranja
0db4a9a342 udp transport initialization refactoring (deduplication) 2016-03-02 12:37:58 +01:00
Matej Sekoranja
87fa71070d automatic broadcast port 2016-03-02 11:08:58 +01:00
Matej Sekoranja
1ca3918afa local multicast reimplemented 2016-03-01 12:11:25 +01:00
Matej Sekoranja
fea2e1c263 monitor overrun double ref. fix 2016-02-27 19:54:57 +01:00
Matej Sekoranja
9be026efc7 allow EPICS_PVAS_INTF_ADDR_LIST=127.0.0.1, tests pass now 2016-02-25 10:37:44 +01:00
Matej Sekoranja
7bfe58f1e2 UDP transport shutdown fixed 2016-02-25 10:37:01 +01:00