Commit Graph

1108 Commits

Author SHA1 Message Date
mrkraimer
b37baf8ecb changes suggested by Michael Davidsaver 2017-06-04 14:52:53 -04:00
mrkraimer
acd9ab42cc minor change to MRKCHANGES.md 2017-06-04 10:44:38 -04:00
mrkraimer
0f8a3b2b7d changes explained in MRKCHANGES.md 2017-06-04 07:49:28 -04:00
Michael Davidsaver
65cb1c8397 minor 2017-05-10 14:59:16 -04:00
Michael Davidsaver
9dbd354bc0 caProvider: pretend to allow create with Configuration 2017-05-09 18:23:45 -04:00
Michael Davidsaver
065d653a14 minor 2017-05-09 18:23:45 -04:00
Michael Davidsaver
9253c31c0b rework ChannelProviderRegistry
Replace interface+impls with a single concrete container
which wraps a map.

This breaks code which was sub-classing.
However, no external code can be found which does this.

A build() method is used instead of simple ctor so
that the ctor is private, which will cause theoretical
external sub-class code to fail to compile.

Code using getChannelProviderRegistry()
and existing methods will behave as before.

Add ChannelProviderRegistry::getFactory() for pass through
to ChannelProviderFactory (Registery is just a proxy()...)

Remove existing get/create virtual method in favor of getFactory.
Update both existing implementations.

Add SimpleChannelProviderFactory to cut down on boilerplace
for the common case.

Add method to clear mapping and release any saved sharedInstance.
2017-04-25 21:15:43 -04:00
Michael Davidsaver
4a9d79f019 sockAddrToA -> sockAddrToDottedIP
Avoid blocking host name lookup for debug log messages.
Can cause long delays when DNS not available.
2017-04-15 11:48:24 -04:00
Ralph Lange
9afa99a189 jenkins: fix CloudBees build script 2016-07-28 12:00:56 +02:00
Matej Sekoranja
2cf38c875b updated version 2016-07-26 23:34:15 +02:00
Matej Sekoranja
2157a9e1a8 updated RELEASE_NOTES.md 2016-07-26 23:27:59 +02:00
Ralph Lange
25aa16c6d7 jenkins: add pvCommon dependency 2016-07-22 14:57:26 +02:00
Ralph Lange
e15bdb76e2 jenkins: fix test of exit code 2016-07-19 23:47:12 +02:00
Ralph Lange
f77b596387 jenkins: fix logic for using NO_MICROBENCH as fallback 2016-07-19 23:40:58 +02:00
Ralph Lange
9af6c6472f jenkins: use install functions, add BRANCH variable to doc script 2016-07-19 23:08:13 +02:00
Matej Sekoranja
c12b0d130e Merge pull request #57 from dhickin/caProvider_arrays
caProvider: Remove control/valueAlarm for arrays
2016-07-19 17:26:48 +02:00
Matej Sekoranja
755759a650 Merge pull request #56 from dhickin/caProvider_status
Correctly set status in caProvider
2016-07-19 12:16:05 +02:00
Matej Sekoranja
4e75078db2 updated LICENSE file 2016-07-19 10:16:27 +02:00
Dave Hickin
e0e45c3a0e caProvider: Remove control/valueAlarm for arrays
This brings caProvider behaviour in line with pvaSrv.
2016-07-18 16:35:43 +01:00
Dave Hickin
dc61b3a4cd Correctly set status in caProvider 2016-07-18 15:26:17 +01:00
Ralph Lange
9c928ed9a4 jenkins: add Boost.CB-dist if WITH_MICROBENCH 2016-07-12 22:03:55 +02:00
Ralph Lange
da9a3be589 jenkins: use environment variables; default Base 3.15.4 2016-07-12 19:44:48 +02:00
Matej Sekoranja
3a73cb687b ca provider destruction fixed
resolves #53
2016-06-14 22:34:14 +02:00
Matej Sekoranja
ce6ea1e51d Merge pull request #48 from dhickin/fix_issue_42
Fix issue 42
2016-05-19 15:33:10 +02:00
Matej Sekoranja
74028c9640 testRAII added 2016-05-19 14:53:16 +02:00
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
Matej Sekoranja
13bb108120 Merge pull request #47 from anjohnson/master
Improve test robustness (was failing on a Mac VM)
2016-04-22 08:31:33 +02:00
Andrew Johnson
0884a199b3 Adjust time-stamp comparison to be approximately 1 second.
Also found another time-stamp comparison test, similar changes there.
2016-04-21 15:34:39 -05:00
Andrew Johnson
6e0b772880 Improve test robustness (was failing on a Mac VM)
Store and compare the complete time-stamp, not just the seconds field.
2016-04-21 11:13:19 -05:00
Matej Sekoranja
bde691f6b6 Merge pull request #46 from mrkraimer/master
PVAServerRegister:: allow providerList, do not use epicsAtExit
2016-04-20 12:11: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
Matej Sekoranja
8e00e1997d Merge pull request #44 from anjohnson/master
Support for additional Windows targets
2016-04-11 11:08:29 +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
962e139c1a Don't use %z modifier, not portable. 2016-04-06 11:40:16 -05:00
Andrew Johnson
d76d7faab6 Prevent redefinition warning on MinGW 2016-04-06 11:33:59 -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