Andrew Johnson
745d2755f9
Update version numbers for release
...
With both libcom and database having minor version bumps I
concluded that this couldn't be 7.0.3.2 and should really
be numbered 7.0.4
2020-05-28 18:12:51 -05:00
Andrew Johnson
f0d814d5c7
Final Release Notes update, added bug links
2020-05-28 17:55:27 -05:00
Andrew Johnson
005580556c
Add and document the macro IOCSHFUNCDEF_HAS_USAGE
2020-05-28 17:33:18 -05:00
Andrew Johnson
591e1f22dd
Update submodules to tagged versions for 7.0.3.2
2020-05-28 16:34:28 -05:00
Andrew Johnson
75a3442669
Move RTEMS test-skip to just the failing test
2020-05-27 01:50:23 -05:00
Andrew Johnson
c3cb72a2ca
Rename .tests-failed to match a .gitignore pattern
...
This is simpler than trying to add that file to the
.gitignore files in all of the submodules.
2020-05-27 01:46:14 -05:00
Andrew Johnson
d41b3979fb
Collect submodule test failures into the parent
...
Instead of displaying the failures from each submodule at the end
of testing that submodule, RULES_TOP suppresses the output when
it detects a parent module, and RULES_MODULES adds the children's
failure lists into the parent's list so they all get shown at the
end of the tests/results.
2020-05-27 01:43:40 -05:00
Andrew Johnson
a6f85ffd1a
Decorate the output from epicsProve.pl
...
Adds the CWD at the top, plus top & bottom separators
2020-05-27 00:13:56 -05:00
Andrew Johnson
c56311424c
Add TOUCH command
2020-05-27 00:11:59 -05:00
Andrew Johnson
7ba12f600c
Perl: Close and delete output files when dying
2020-05-26 22:09:24 -05:00
Andrew Johnson
808cf80579
Fix Makefiles to use RULES_DIRS instead of _TOP
2020-05-26 22:09:24 -05:00
Andrew Johnson
dd1b65f32c
Many edits to record reference docs
...
Add documentation for aSub from wiki.
Fix incorrect document structures.
Remove inclusion of menu.dbd files.
Fix links to common doc's, remove some links to nowhere.
Adjust podToHtml.pl and the rule that calls it.
2020-05-26 21:49:35 -05:00
Michael Davidsaver
1f4e812223
update ci-scripts
2020-05-26 10:24:39 -07:00
Ralph Lange
ee39b05839
travis-ci: remove declarative DIST settings
...
Travis started showing the distribution setting on the web UI
2020-05-26 11:08:43 +02:00
Ralph Lange
9ff6c4bb36
Update .ci to ci-scripts bb9b591 (bugfix)
2020-05-26 11:04:32 +02:00
Andrew Johnson
ab281f0f53
Excuse RTEMS for failing tests...
2020-05-25 21:05:18 -05:00
Andrew Johnson
f89ef1f12f
Re-enable RTEMS tests in Travis builds
2020-05-25 20:45:14 -05:00
Andrew Johnson
290f2d7e7d
Skip appveyor builds when only .travis.yml changes
2020-05-25 20:42:35 -05:00
Andrew Johnson
88d34c2d38
Merge changes from 3.15 branch into 7.0
2020-05-24 23:17:33 -05:00
Andrew Johnson
b2fb83179a
Remove duplicate MBA template files
2020-05-24 21:37:11 -05:00
Michael Davidsaver
04dd52c79a
update release notes
2020-05-24 11:05:46 -07:00
Michael Davidsaver
2f2c023a51
update submodules
2020-05-22 10:18:48 -07:00
hir12111
0f88c67473
Add a getter function for field_type
2020-05-21 12:06:56 -07:00
Michael Davidsaver
4eeb205374
Remove ANSI-C OS prototypes from flexdef.h
...
Use osiUnistd.h instead.
Add io.h to osiUnistd.h on Windows
# Conflicts:
# modules/libcom/src/flex/flexdef.h
# modules/libcom/src/osi/os/WIN32/osiUnistd.h
2020-05-21 11:49:27 -07:00
Michael Davidsaver
4c192e7bba
Merge remote-tracking branch 'githubrl/doc-sim-mode' into 7.0
...
* githubrl/doc-sim-mode:
doc: update simulation parameters sections in dbds
doc: add description of improved simulation mode
# Conflicts:
# modules/database/src/std/rec/mbboRecord.dbd.pod
2020-05-21 11:42:24 -07:00
Ralph Lange
96f9f355c9
doc: update simulation parameters sections in dbds
...
- refer to appropriate sections in dbCommonInput/dbCommonOutput
2020-05-21 13:41:11 +02:00
36a8b51d8e
CleanupWhitespace
...
removed spaces at end of line
replaced tabs with spaces
2020-05-20 14:48:09 -07:00
Michael Davidsaver
055223dbe4
fix epicsTempFile in antelope+e_flex
2020-05-20 14:48:09 -07:00
Michael Davidsaver
799e72b1e3
libCom: actually use libComAPI.h in libCom
2020-05-20 14:47:51 -07:00
Michael Davidsaver
b2750bbe93
Merge remote-tracking branch 'github/7.0' into 7.0
...
* github/7.0:
Unify doxygen keywords to use '\' not '@'
Applied all doxy-libcom changes to latest headers
# Conflicts:
# modules/libcom/src/yajl/yajl_common.h
2020-05-20 13:33:36 -07:00
Ralph Lange
b0cd3518e4
doc: add description of improved simulation mode
...
- improve sections in dbCommonInput/dbCommonOutput
2020-05-20 19:48:22 +02:00
Andrew Johnson
4b848ef344
Merge the doxy-libcom branch into 7.0
2020-05-19 18:12:29 -05:00
Andrew Johnson
9142eca878
Unify doxygen keywords to use '\' not '@'
2020-05-19 18:04:26 -05:00
Andrew Johnson
e923790c41
Update versions after tagging
2020-05-15 13:55:29 -05:00
Andrew Johnson
c7e42fab3c
Set version number to 3.15.8, clear snapshot
2020-05-15 12:00:23 -05:00
Andrew Johnson
2f28ce94f4
Release Notes changes for 3.15.8
2020-05-15 11:36:45 -05:00
Andrew Johnson
732f8b19be
Merge branch 'defaultMessageQueue' into 3.15
2020-05-14 10:41:52 -05:00
Andrew Johnson
b03e2f376b
eMQTest: Start each test with a new (empty) queue
...
If fastReceiver() took more than 0.01 seconds to exit,
sleepySender() might have pushed a second message onto
the queue after setting recvExit, so there would be an
extra message in the queue for the next test, which I
was seeing on Appveyor. That's my current theory...
2020-05-13 16:11:31 -05:00
Andrew Johnson
59c68807b6
Heinz Junkes' fix for lp: #1812084 Build failure on RTEMS
...
I reduced some of the code duplication from his original.
2020-05-13 15:26:34 -05:00
Andrew Johnson
a09b1c8569
Applied all doxy-libcom changes to latest headers
2020-05-13 00:34:33 -05:00
Andrew Johnson
2e7ed02a60
Allow/expect MinGW to fail epicsStackTraceTest #5
2020-05-07 13:13:26 -05:00
Andrew Johnson
089954aaab
MessageQueue Tests: Extend Mark's sleep tests
2020-05-07 13:12:12 -05:00
Andrew Johnson
34e0b2f305
osdMessageQueue: Undo change to -ve timeout handling
...
The internal mySend() and myReceive() routines do expect a timeout
of -1 to mean wait forever, see the epicsMessageQueueSend() and
epicsMessageQueueReceive() API routines.
2020-05-04 11:56:14 -05:00
Andrew Johnson
ceb13797a6
Cosmetic
2020-05-01 00:13:02 -05:00
Andrew Johnson
084557bd3e
osdMessageQueue: Don't wake our sender until we're ready for it
...
Move the code that wakes up the next sending task to after we've
added our threadNode to the receiveQueue. He still has to wait for
us to release the Mutex though, so this might make no difference.
This commit also changes when we decrement the number of waiting
senders so it always happens immediately after a threadNode gets
taken off the sendQueue by the code that removed it.
2020-05-01 00:12:32 -05:00
Andrew Johnson
aeed7cfbdd
osdMessageQueue: This is the mirror of Heinz Junkes' earlier fix
...
When sending a message, if the queue is full so we have to wait, we
create a threadNode with an eventNode in it and stick it on the
sendQueue, then wait for a receiver to signal that event, waking us.
If we awoke due to a timeout but a receiver was actually waking us
up anyway (i.e. eventSent was set), we shouldn't give up.
2020-04-30 23:55:30 -05:00
Andrew Johnson
183c3b2a3e
osdMessageQueue: Clear eventNode before returning it
...
Introduced freeEventNode() which ensures eventNodes don't have a
signalled event in them before returning the node to the freeList.
Callers pass the status from epicsEventWaitWithTimeout() to indicate
whether it was signalled or not. If it timed out we must trigger it
and Wait to clear the event state.
2020-04-30 23:38:51 -05:00
Andrew Johnson
cf2fef2405
osdMessageQueue: Return sooner on -ve timeout
...
It appears that previously a negative timeout actually implemented a
'wait forever', but the VxWorks and RTEMS implementations both check
for (timeout <= 0) and return immediately if nothing can be done
without waiting.
2020-04-30 23:27:43 -05:00
Andrew Johnson
298c8706ec
osdMessageQueue: Rename freeEventNode() -> destroyEventNode()
2020-04-30 22:59:58 -05:00
Michael Davidsaver
a9934792a0
Merge remote-tracking branch 'lp-anj7/expanded-rules' into 7.0
...
* lp-anj7/expanded-rules:
Generate module version files with new RULES_EXPAND facilities
Extend RULES_EXPAND to add more features
More generator doc updates
Document <library>_API = <stem> for Makefiles
Convert epicsShareAPI to epicsStdCall in modules/ca
Update generator script
Modify rules to allow multiple API.h libraries to be built
Convert modules/ca to use LIBCA_API instead of epicsShare
Try out a representative sample of APIs from multiple libraries
Add build rules to generate and install *API.h header files
Add script to generate *API.h headers
2020-04-30 11:34:34 -07:00
Michael Davidsaver
bc595e3a70
Merge remote-tracking branch 'lp-anj7/typed-dsets' into 7.0
...
* lp-anj7/typed-dsets:
Bump database version to 3.18.0, use in SHRLIB_VERSION
Adjust example code in devSup.h
Set USE_TYPED_DSET centrally now everything uses it
Update the wording of the Release Notes entry
- Record updates: . histogramRecord . eventRecord . aaiRecord . aaoRecord
- Record updates: . aoRecord . biRecord . boRecord . mbbiRecord . mbbiDirectRecord . mbboRecord . mbboDirectRecord . longinRecord . longoutRecord . stringoutRecord . stringinRecord . waveformRecord . calcoutRecord . subArrayRecord
initial typed-dset changes for ao record
Add Release Notes entry about dsets
Export and use aidset, set USE_TYPED_DSET
Remove duplicated include line
Add HAS_<record>dset macros to allow detection
Export and use int64outdset, set USE_TYPED_DSET
Export and use int64indset, set USE_TYPED_DSET
Modify lsodset, set USE_TYPED_DSET
Modify lsidset, set USE_TYPED_DSET
Modify printfdset, set USE_TYPED_DSET
2020-04-30 11:26:08 -07:00
Michael Davidsaver
5149627242
Merge commit '17efb0b82c4a3b07f8072d3f574d12d01e2435ec' into 7.0
...
* commit '17efb0b82c4a3b07f8072d3f574d12d01e2435ec':
WIN32: osdFindSymbol.c use PSAPI_VERSION
WIN32: epicsFindSymbol() clear error on success
epicsLoadTest: avoid stdcall name mangling on WIN32
epicsLoadTest: test expected failure
WIN32: epicsFindSymbol() fix use of EnumProcessModules()
fix epicsLoadError()
WIN32: GetLastError() returns DWORD
WIN32: osdFindSymbol() use psapi
WIN32: epicsLoadError() strip trailing newlines
add epicsLoadTest
WIN32 fix epicsFindSymbol()
WIN32 fix epicsFindSymbol() error propagation
OSX fix osdFindSymbol
2020-04-29 16:44:59 -07:00
Michael Davidsaver
5d5e552a7e
de-init hooks
2020-04-29 16:40:16 -07:00
Martin Konrad
fd5edce919
Warn if deprecated state record is used
2020-04-29 16:39:30 -07:00
Hinko Kocevar
8709fbb63f
add missing newline
2020-04-29 16:35:34 -07:00
Andrew Johnson
18a632b0e9
Merge 3.15 branch into 7.0 after ci-scripts added
2020-04-27 12:27:50 -05:00
Ralph Lange
6d625f36e3
Merge ralph@gh/use-ci-scripts-7.0 into 7.0
2020-04-27 12:13:18 +02:00
Ralph Lange
49de2ec498
Merge ralph@gh:use-ci-scripts-3.15 into 3.15
2020-04-27 12:10:24 +02:00
Ralph Lange
e0015ef5f3
Update .ci submodule to v2.3.3
...
- fix appveyor issue when building base
- fix RTEMS cross build for Base 3.15
- run tests using parallel make
2020-04-27 12:03:34 +02:00
Ralph Lange
0aa6e9603b
Update .ci submodule to v2.3.3
...
- fix appveyor issue when building base
- fix RTEMS cross build for Base 3.15
- run tests using parallel make
2020-04-27 11:59:57 +02:00
Ralph Lange
65e7a3e3ef
ci: remove old integration in .ci-local
2020-04-25 14:18:30 +02:00
Ralph Lange
958af54895
appveyor: update .appveyor.yml for ci-scripts
2020-04-25 14:18:30 +02:00
Ralph Lange
44ed397517
travis-ci: update .travis.yml for ci-scripts
2020-04-25 14:16:10 +02:00
Michael Davidsaver
ce4fb6085f
iocsh: add usage messages
2020-04-24 20:28:00 -07:00
Michael Davidsaver
cd32a7cb1e
epicsEventTest: quiet WIN32 noise
...
timeout for WaitForSingleObject() is known to be
shorter than expected.
2020-04-24 15:38:04 -07:00
Michael Davidsaver
f1cbe93b6c
Revert "replace most internal getCurrent() -> getMonotonic()"
...
This reverts commit 4f2228fb1d
except for some test code.
2020-04-24 15:37:48 -07:00
Andrew Johnson
314e09d8ca
Build system release notes
2020-04-24 16:44:49 -05:00
Ralph Lange
076175386f
ci: remove old integration in .ci-local
2020-04-24 19:27:05 +02:00
Ralph Lange
f40d379485
appveyor: update .appveyor.yml for ci-scripts
2020-04-24 19:27:05 +02:00
Ralph Lange
445cbb8221
travis-ci: update .travis.yml for ci-scripts
...
- use more EXTRAs on MacOS for make args
2020-04-24 19:27:05 +02:00
Ralph Lange
a9c8d8d5d3
Add ci-scripts v2.3.2 (submodule in .ci)
2020-04-24 15:11:32 +02:00
Michael Davidsaver
17efb0b82c
WIN32: osdFindSymbol.c use PSAPI_VERSION
...
Prefer the more specific PSAPI_VERSION to NTDDI_VERSION.
2020-04-23 15:25:31 -07:00
Ralph Lange
54efe4b7cd
Add ci-scripts v2.3.2 (submodule in .ci)
2020-04-23 17:58:05 +02:00
Ralph Lange
1ff64f72a9
ci: move ci -> .ci-local
...
also rename appveyor.yml -> .appveyor.yml
2020-04-23 16:00:53 +02:00
Ralph Lange
199979a44c
ci: move .ci -> .ci-local
2020-04-22 12:01:24 +02:00
Ralph Lange
f10d0d95b0
Apply perl rules for .tap and .xml only to perl tests
...
Don't apply the %.tap: %.t and %.xml: %.tap rules to tap and junit
result files from other test frameworks.
(They would overwrite the other frameworks' own rules.)
2020-04-21 11:45:50 +02:00
Andrew Johnson
dfbda1394d
Revert the runtests:: change but in an extensible way
...
Use only %.t files in new TESTSCRIPTS.t var for Perl tests.
TAPFILES and JUNITFILES can be appended to by other rules.
The runtests and test-results rules have no direct recipes.
Added run-tap-tests and tap-results rules, simlified recipe.
Make %.tap:%.t and %.xml:%.tap into static pattern rules.
2020-04-21 01:39:59 -05:00
Andrew Johnson
d05d8807ec
Stop generating the testspec file
...
It was created before modern continuous integration systems
came along; Diamond were supposed to run the tests for us,
but they didn't last for very long.
2020-04-21 01:17:48 -05:00
Andrew Johnson
582a9dbef5
Replace pre-make rule with before-actions rules
...
For all standard build ACTIONS, a rule before-<action> is
run just before running that action in the subdirectories
given by the DIRS variable. Only works in Makefiles that
include RULES_DIRS or RULES_TOP.
2020-04-21 01:14:03 -05:00
Andrew Johnson
b655662131
Appveyor: Move 'make test-results' to the on_finish stage
2020-04-20 11:33:37 -05:00
Andrew Johnson
be061e1084
Tidy up testFailures script slighlty
2020-04-20 11:31:45 -05:00
Michael Davidsaver
379ea6e586
WIN32: epicsFindSymbol() clear error on success
2020-04-19 10:32:12 -07:00
Michael Davidsaver
c6670e756e
epicsLoadTest: avoid stdcall name mangling on WIN32
2020-04-19 10:32:12 -07:00
Michael Davidsaver
0d8fb0a895
epicsLoadTest: test expected failure
2020-04-18 08:21:23 -07:00
Michael Davidsaver
9edb9c2050
WIN32: epicsFindSymbol() fix use of EnumProcessModules()
2020-04-18 08:18:03 -07:00
Michael Davidsaver
aa7c2a647c
fix epicsLoadError()
...
FORMAT_MESSAGE_IGNORE_INSERTS as no va_list is provided.
Handle possibility of n=0 if unable to lookup error.
2020-04-18 07:35:21 -07:00
Michael Davidsaver
6e41f2911b
WIN32: GetLastError() returns DWORD
2020-04-18 07:33:57 -07:00
Andrew Johnson
91c18c32d4
Have Appveyor make 'tapfiles test-results' instead of 'runtests'
2020-04-18 00:36:35 -05:00
Andrew Johnson
3790ce4452
Have 'make test-results' fail nicely if any tests did
...
Lists the directories with failed tests at the end of the build.
It is no longer necessary to use 'make -k' to see the results
of all tests after one or more failures as only the top-level
test-results recipe will generate a build error.
2020-04-18 00:18:11 -05:00
Andrew Johnson
566ab038d2
Make test-results not fail so it shows all results
...
For some reason 'make -k test-results' isn't always doing
the -k (continue-on-error) on Windows.
2020-04-17 16:51:48 -05:00
Andrew Johnson
648589e6ab
podToHtml: Add bootstrap search path for EPICS::PodHtml
2020-04-17 16:42:18 -05:00
Andrew Johnson
841effe9ee
epicsMessageQueueTest: Shorten the 1R4S tests
2020-04-16 17:14:58 -05:00
Andrew Johnson
a9727fd5cb
Ben Franksen's fix for lp: #1868486
2020-04-16 17:12:25 -05:00
Andrew Johnson
fde0485d6b
Added Mark Rivers' tests for the message queue timeout bug
2020-04-16 17:10:53 -05:00
Michael Davidsaver
db2cd68ce3
WIN32: osdFindSymbol() use psapi
2020-04-16 07:53:06 -07:00
Michael Davidsaver
1492baace9
WIN32: epicsLoadError() strip trailing newlines
2020-04-16 07:45:40 -07:00
Ralph Lange
cbf917e833
Improve automated testing rules to allow other test frameworks
...
- make runtests a double-colon rule, so that other test frameworks
can add their own recipes independently
- only define runtests:: $TESTSCRIPTS rule when there are TESTSCRIPTS
(to avoid having it run every time when no TESTSCRIPTS are defined)
- $(strip $TAPFILES) inside ifneq to fix trouble when TAPFILES=' '
2020-04-16 12:04:16 +02:00
Andrew Johnson
85d1982890
Merge changes from 3.15 branch into 7.0
2020-04-15 21:39:54 -05:00
Andrew Johnson
45cf2ea5ce
Modify the POD to HTML conversion code to work on older Perls
2020-04-14 16:41:20 -05:00
Andrew Johnson
a95635a018
Merge Freddie's bit_operations branch into 3.15
2020-04-14 15:28:22 -05:00
Andrew Johnson
9df39475cd
Merge Martin Konrad's fix-log-issues branch into 3.15
2020-04-14 11:41:23 -05:00
Andrew Johnson
bdf01e7a67
Merge Martin Konrad's Appveyor-worker-image branch into 3.15
2020-04-14 11:28:53 -05:00
Andrew Johnson
0dd5f863ef
Add some release notes
2020-04-13 17:57:33 -05:00
Andrew Johnson
38339b6ccf
Initialize main thread as OkToBlock
2020-04-13 17:56:09 -05:00
Martin Konrad
2aecf3142a
Explicitly specify worker image
2020-04-13 16:45:21 -04:00
Michael Davidsaver
ad44c7a501
update PVA
2020-04-08 17:23:03 -07:00
Ralph Lange
1687757752
catools: make camonitor handle type changes
...
taken from a patch provided by Dirk Zimoch (in 2014)
2020-04-06 10:58:40 +02:00
Andrew Johnson
1533a4f13f
Updates to record POD documentation.
2020-04-03 00:33:51 -05:00
Andrew Johnson
a1aeb23314
Modify POD to HTML tools to better support links
...
Introduce derived classes to process links the way we need them.
Unify the generation of an ID from a section heading.
2020-04-03 00:29:22 -05:00
Andrew Johnson
933e276e1a
Rolf Keitel's POD documentation for dbCommon (from the Wiki)
...
I split his two "Fields Common to ..." sections back into separate docs,
added links between them all, and made the appropriate build changes.
Also added these and the aai/aao records to the documentation index.
2020-04-02 15:47:10 -05:00
Freddie Akeroyd
7f02f8a386
Exclude VS2012 from -FS option
...
(cherry picked from 7.0 / commit 4aee25e8 and e29a53f0 )
2020-03-28 15:55:35 +01:00
Rold Keitel
cb3fb18f40
POD docs: add aai & aai, update others
2020-03-26 17:41:12 -05:00
Rold Keitel
062c75a078
Prepare for POD documentation of the aa[io]Records
2020-03-26 16:35:58 -05:00
Andrew Johnson
1d6fcd46d6
Adjust RELEASE file variable name recognition
...
I was asked to support the use of hyphens `-` in names.
2020-03-26 16:31:10 -05:00
Andrew Johnson
5040af322d
Fixes in link type documentation
2020-03-26 15:55:27 -05:00
Michael Davidsaver
6f44f64afb
add epicsLoadTest
2020-03-24 08:38:41 -07:00
Michael Davidsaver
24df056bcb
WIN32 fix epicsFindSymbol()
...
Passing zero as to GetProcAddress is undocumented,
but seems to be equivalent to passing GetModuleHandle(NULL)
which searches only the address space of the executable file.
Emulate the effect of dlsym(0, ...) by searching all
loaded modules. Probably not so efficient...
2020-03-24 08:38:36 -07:00
Michael Davidsaver
d3b2298bcb
WIN32 fix epicsFindSymbol() error propagation
...
And use thread local to hold error code/message.
2020-03-24 08:38:33 -07:00
Michael Davidsaver
872009336e
OSX fix osdFindSymbol
...
RTLD_DEFAULT isn't zero on OSX
2020-03-24 08:38:29 -07:00
Michael Davidsaver
a8b2bc5c3b
asCa.c normalize indentation
...
whitespace only
2020-03-23 18:24:44 -07:00
Michael Davidsaver
bac8851132
Revert "asCaStop() join worker thread"
...
This reverts commit afc31f2f06 .
# Conflicts:
# modules/database/src/ioc/as/asCa.c
2020-03-23 18:22:16 -07:00
Michael Davidsaver
46fa31020e
Com: (WIN32) fix handling of thread joinable flag and refcnt
...
Analogous changes for windows
cf. 02a24a144d
2020-03-23 09:57:14 -07:00
Andrew Johnson
b2160bd618
Merge Martin Konrad's replace-usleep branch into 3.15
2020-03-20 13:40:35 -05:00
Andrew Johnson
5b7f896312
Merge Dirk's emptyArrayCrashFix branch into 3.15
2020-03-20 13:28:34 -05:00
Andrew Johnson
5009f288ae
Generate module version files with new RULES_EXPAND facilities
...
Also removes the separate *VersionNum.h@ templates
2020-03-20 12:03:14 -05:00
Andrew Johnson
5f1b3a5419
Extend RULES_EXPAND to add more features
...
* Use EXPAND_COMMON for architecture-independent templates,
generated in the O.Common directory instead of O.$(T_A).
* Add EXPAND_ME to name Makefile variables to be added without
having to provide a value (permits spaces in value too).
* Comments in RULES_EXPAND describe how to use these rules.
2020-03-20 11:45:20 -05:00
Andrew Johnson
25bb966cbc
Use the dbChannel*() accessor macros in the array filter code
...
instead of exposing the dbChannel innards unnecessarily.
2020-03-14 16:19:26 -05:00
Andrew Johnson
0f35d0c3f9
Improve epicsEventTest delay checks
2020-03-12 13:59:41 -05:00
Andrew Johnson
b4625a0c1f
Fix osiSockTest on VxWorks
2020-03-12 13:49:55 -05:00
Andrew Johnson
d38ede55c5
More generator doc updates
2020-03-11 22:37:02 -05:00
Andrew Johnson
809fb88fa2
Document <library>_API = <stem> for Makefiles
2020-03-11 21:19:11 -05:00
Andrew Johnson
33c3b1c89a
Convert epicsShareAPI to epicsStdCall in modules/ca
2020-03-10 23:42:42 -05:00
Andrew Johnson
017d561b8d
Update generator script
...
Rename xxxSTD_API to epicsStdCall, don't redefine.
Ensure name stem is a legal C identifier.
Update the Pod text
2020-03-10 23:41:15 -05:00
Andrew Johnson
eb817ba056
Modify rules to allow multiple API.h libraries to be built
2020-03-10 23:35:03 -05:00
Andrew Johnson
18402f0354
Convert modules/ca to use LIBCA_API instead of epicsShare
...
Also unified the header exclusion guard names,
removed a couple of files that are no longer used,
dropped the '3.13.7' from the Copyright header.
2020-03-09 23:53:22 -05:00
Michael Davidsaver
02a24a144d
Com: fix handling of thread joinable flag and refcnt
...
The second increment of refcnt must occur before pthread_create
or a subtle possibility of a double free() occurs if the thread
runs immediately and self-joins before the second inc.
Also use atomic ops for joinable flag to ensure that
concurrent joins will error properly.
2020-03-08 22:27:06 -07:00
Andrew Johnson
0cf38bfb29
Try out a representative sample of APIs from multiple libraries
2020-03-07 01:32:36 -06:00
Andrew Johnson
9e7fc1915b
Add build rules to generate and install *API.h header files
2020-03-07 01:05:05 -06:00
Andrew Johnson
eaee851a2d
Add script to generate *API.h headers
2020-03-07 01:05:05 -06:00
Andrew Johnson
a9034bb586
Fix clock_gettime issue on newer MinGW builds
...
Fixes lp: #1853168
2020-03-07 00:40:13 -06:00
Andrew Johnson
e13b01208b
Bump database version to 3.18.0, use in SHRLIB_VERSION
2020-03-06 23:28:57 -06:00
Andrew Johnson
048689d6db
Adjust example code in devSup.h
2020-03-06 23:20:55 -06:00
Andrew Johnson
23cac3c1a8
Set USE_TYPED_DSET centrally now everything uses it
2020-03-06 22:49:58 -06:00
Andrew Johnson
8b9c313941
Update the wording of the Release Notes entry
2020-03-06 22:36:02 -06:00
Andrew Johnson
3871f89dcd
Appveyor should 'make -s test-results' as the last thing
2020-03-05 13:23:07 -06:00
Andrew Johnson
227a749105
Properly convert epicsTempFile to old-style C
2020-03-04 21:49:17 -06:00
Martin Konrad
f9820577c1
Replace usleep call by nanosleep
...
Also improve behavior in case signals are delivered to the sleeping
thread. This fixes a potential security weakness reported by codacy
(interaction of usleep with SIGALRM and other timer functions such
as sleep(), alarm(), setitimer(), and nanosleep() is unspecified).
2020-03-04 11:19:02 -05:00
Andrew Johnson
fdacb6b92e
MSVC <= 11.0 doesn't like 'const int' in C code
2020-03-03 00:53:16 -06:00
Andrew Johnson
5361888997
Have antelope.c include epicsTempFile.c directly
2020-02-29 14:46:13 -06:00
Andrew Johnson
cc4d888ae8
Convert epicsTempFile.cpp to .c
2020-02-29 14:42:54 -06:00
Michael Davidsaver
e6914f3b80
osdSockUnsentCount.c check for existance of SIO_TCP_INFO
2020-02-20 15:37:18 -05:00
Andrew Johnson
41f1b0ffb5
Fix histogram record allocation bug
...
Found by Peter Heesterman: Potential use of NULL pcallback pointer.
Nothing looks at the return value from wdogInit(), so don't bother.
2020-02-19 15:09:13 -06:00
Andrew Johnson
d82d3d3679
Combine the iocVirgin and iocStopped states into iocVoid
2020-02-18 18:05:46 -06:00
e48cdb48ac
dbGet should not crash when source is an empty array
2020-02-18 17:45:12 +01:00
Freddie Akeroyd
3944b32e04
Add back in optimisation disable
2020-02-17 13:30:15 +00:00
Freddie Akeroyd
a0667a122b
Excluded x64 tests now need to be excluded on x86 too
2020-02-17 13:29:38 +00:00
Freddie Akeroyd
f2b4c412d3
Fix doc typo
2020-02-17 12:49:45 +00:00
Freddie Akeroyd
8250339e0d
Update record pod documentation
2020-02-17 12:46:11 +00:00
Freddie Akeroyd
803593560d
Remove redundant left logical shift
2020-02-17 12:22:20 +00:00
Freddie Akeroyd
bfae080af4
Merge branch '3.15' of git+ssh://git.launchpad.net/epics-base into bit_operations
2020-02-17 11:45:25 +00:00
Michael Davidsaver
6ae3f56560
Merge remote-tracking branch 'lp-konrad/fix-crash-dbloadrecords-after-iocinit' into 3.15
...
* lp-konrad/fix-crash-dbloadrecords-after-iocinit:
Fix mingw cross-build
Use accessor in iocInit
Fix segfault when calling dbLoadRecords after iocInit
2020-02-14 17:18:01 +00:00
Bryan Robert Tester
4844fbbd82
moved listen into rsrv_grab_tcp to allow retry if failed
...
Fixes race condition with multiple IOCs starting simultaneously.
2020-02-14 17:10:04 +00:00
Gabriel Fedel
983937a52f
Fix event record device support with constant INP
...
This fix apply to event record device with constant INP.
Now when the event record is proccessed the associated records with the
same SCAN setup get triggered correctly, it is not more necessary to set
VAL on event record.
Fixes lp: #1829770
2020-02-14 17:08:36 +00:00
Gabriel Fedel
90c0f5c48d
Fix seq to work correctly on "Specified" mode
...
On Specified mode is expected that when seq is processed the value from
DOL0 (fixed or links) is set on LNK0, if SELN = 0 (and OFFS = 0).
2020-02-14 15:09:11 +00:00
Gabriel Fedel
d82529058a
Add a test to record seq in "Specified" mode
2020-02-14 15:09:11 +00:00
Michael Davidsaver
8668cc1267
testTodoEnd() needs to lock
...
when NULLing
2020-02-14 13:28:44 +00:00
Michael Davidsaver
3465c0c8b0
simmTest imprecise
2020-02-14 13:25:43 +00:00
Michael Davidsaver
b5be8b2eaf
update PVA
2020-02-14 11:58:17 +00:00
hanlet
97bf9171c6
Added Multicast to caRepeater
...
Modifications to allow for CA multicast listening by adding multicast address
from EPICS_CA_BEACON_ADDR_LIST (or EPICS_CA_ADDR_LIST if beacon list is empty).
Original modifications from Jim Smedinghoff, with further changes by Pierrick Hanlet.
2020-02-14 11:42:17 +00:00
gabadinho
c54237e34a
- Record updates:
...
. histogramRecord
. eventRecord
. aaiRecord
. aaoRecord
- Device support updates:
. devHistogramSoft (histogramRecord)
. devEventSoft (eventRecord)
. devAaiSoft (aaiRecord)
. devAaoSoft (aaoRecord)
- Fixes in already-migrated records
. lsiRecord: replaced 'struct lsidset' with typedef(ed) 'lsidset'
. int64inRecord (similar as above)
. int64outRecord (similar as above)
. calcRecord: minor fix in init_record() prototype declaration
- Note: the comments about return values in dset structs were outright copied from .c to .pod/.dbd files without confirmation if they are indeed correct!
2020-02-14 11:07:11 +01:00
Michael Davidsaver
bf533ac195
win32 epicsSocketEnableAddressUseForDatagramFanout call spec
...
apparently epicsShareAPI is required on both declaration and definition.
2020-02-14 09:00:49 +00:00
Michael Davidsaver
6dba2ec1d7
caRepeater /dev/null
2020-02-14 09:00:22 +00:00
Michael Davidsaver
819b0de65b
epicsTimerTest testImpreciseTiming()
2020-02-14 09:00:17 +00:00
Freddie Akeroyd
6867f97346
Fix bit operations failures on VS2019 32bit
...
Working with Dirk Zimoch @dirk.zimoch, fixed various issues
with bit operations on VS2019 32bit. These seem to relate to
handling bit 31 of a 32 bit number.
As EPICS << is an arithmetic bit shift, following Java we
have added <<< and >>> operators for logical shifts
Though it is on a different architecture, this looks like
a similar issue to LP: #1838792
2020-02-14 01:16:09 +00:00
gabadinho
754eb73334
- Record updates:
...
. aoRecord
. biRecord
. boRecord
. mbbiRecord
. mbbiDirectRecord
. mbboRecord
. mbboDirectRecord
. longinRecord
. longoutRecord
. stringoutRecord
. stringinRecord
. waveformRecord
. calcoutRecord
. subArrayRecord
- Device support updates:
. devAoSoft, devAoSoftCallback, devAoSoftRaw (aoRecord)
. devBiSoft, devBiSoftCallback, devBiSoftRaw, devBiDbState (biRecord)
. devBoSoft, devBoSoftCallback, devBoSoftRaw, devBoDbState, devGeneralTime (boRecord)
. devMbbiSoft, devMbbiSoftCallback, devMbbiSoftRaw (mbbiRecord)
. devMbboSoft, devMbboSoftCallback, devMbboSoftRaw (mbboRecord)
. devMbbiDirectSoft, devMbbiDirectSoftCallback, devMbbiDirectSoftRaw (mbbiDirectRecord)
. devMbboDirectSoft, devMbboDirectSoftCallback, devMbboDirectSoftRaw (mbboDirectRecord)
. devGeneralTime, devLiSoft, devLiSoftCallback (longinRecord)
. devLoSoft, devLoSoftCallback (longoutRecord)
. devSoSoft, devSoSoftCallback, devStdio (stringoutRecord)
. devSiSoft, devSiSoftCallback, devEnviron, devGeneralTime, devTimestamp (stringinRecord)
. devWfSoft (waveformRecord)
. devCalcoutSoft, devCalcoutSoftCallback (recordCalcout)
. devSASoft (subArrayRecord)
2020-02-13 17:40:22 +01:00
Karl Vestin
8075b3c316
Added a null check in epicsWin32ThreadEntry to prevent dereferencing a null pointer in case fetchWin32ThreadGlobal fails.
...
LP: #1863118
2020-02-13 16:16:56 +00:00
Andrew Johnson
1d9e9ff4f7
Add new POD output files to RecordReference index
2020-02-13 09:06:48 -06:00
Andrew Johnson
eb8ca22704
Add new POD documentation, from Rolf Keitel
...
Documents the lsi, lso and printf record types.
2020-02-13 09:06:14 -06:00
Gabriel Fedel
6feb1c788d
Add extern C for all c headers
...
This allow that these files could be imported to c++ correctly
2020-02-13 14:21:54 +00:00
Aaron
6e0706a312
Set argBuff->sval to NULL if arg is NULL
2020-02-13 13:22:26 +00:00
Aaron
45bbe274e9
Error case for NULL arg causing segfault in iocshPersistentString
2020-02-13 13:22:19 +00:00
Karl Vestin
2bcaa5448c
Added null check in modules/ca/src/client/udpiiu.cpp to prevent possible dereferencing of null pointer. Flagged as error by Codacy static code analysis.
...
Codacy link: https://app.codacy.com/gh/epics-base/epics-base/file/42103575495/issues/source?bid=16430872&fileBranchId=16430872#l950
Launchpad bug: https://bugs.launchpad.net/epics-base/+bug/1862916
LP: #1862916
2020-02-13 13:22:04 +00:00
Karl Vestin
66f2a509db
Added initialization of alarm severity on probe. This value is not used, but should be initialized regardless. This was flagged as an error by the Codacy static code analysis.
...
Codacy link: https://app.codacy.com/gh/epics-base/epics-base/file/42103575016/issues/source?bid=16430872&fileBranchId=16430872#l604
Launchpad bug: https://bugs.launchpad.net/epics-base/+bug/1862918
LP: #1862918
2020-02-13 13:22:00 +00:00
Karl Vestin
538f532184
Added a free statement to release memory allocated for postbuf if the memory allocation for inbuf fails. Resolves an error level issue generated by the Codacy static code analysis.
...
Codacy link: https://app.codacy.com/gh/epics-base/epics-base/file/42098735308/issues/source?bid=16430872&fileBranchId=16430872#l201
Launchpad bug: https://bugs.launchpad.net/epics-base/+bug/1862917
LP: #1862917
2020-02-13 13:21:58 +00:00
Andrew Johnson
bfd289e85f
Add converted histogram POD
2020-02-13 05:11:36 -06:00
Andrew Johnson
a5bae49dab
Rename lsi, lso and printf *Record.dbd to .dbd.pod
2020-02-13 04:58:06 -06:00
Andrew Johnson
7a612f9524
Update to stringout POD from Rolf Keitel
...
Fix spelling of OMSL.
Document the stdio device support.
2020-02-12 09:25:54 -06:00
gabadinho
55ec813908
initial typed-dset changes for ao record
2020-02-12 15:32:13 +01:00
Andrew Johnson
0db8f8ca1b
Rename histogramRecord.dbd to .dbd.pod
2020-02-12 07:45:04 -06:00
Michael Davidsaver
e6810a4224
processTarget() remove unnecessary NULL test
...
psrc and pdst will always be non-NULL
2020-02-12 11:16:33 +00:00
Michael Davidsaver
7b6e48f4e0
casw shouldn't use monotonic
2020-02-12 11:16:29 +00:00
Michael Davidsaver
f0bf61b4cb
rsrv: improve monitor/get error message
2020-02-12 11:16:26 +00:00
Michael Davidsaver
db6e7c7a22
use one osdSockAddrReuse impl for all targets
...
drop win32 specialization of osdSockAddrReuse
2020-02-12 10:52:51 +00:00
Michael Davidsaver
5064931aa6
try both to set both SO_REUSEPORT and SO_REUSEADDR
...
It seems that on Linux, SO_REUSEPORT shares with SO_REUSEPORT
and SO_REUSEADDR with SO_REUSEADDR, but not each other.
Setting both allows full sharing
2020-02-12 10:52:15 +00:00
Andrew Johnson
dbd6f7e807
Adding tests for epicsThreadClass API
...
Two tests are disabled which hang the parent in the epicsThread destuctor
2020-01-23 14:26:33 -06:00
Michael Davidsaver
d0c4cc0cec
Darwin/iOS use posix osdSockAddrReuse.cpp
...
Redundant now that the posix version prefers SO_REUSEPORT
if defined.
2020-01-12 11:49:48 -08:00
Michael Davidsaver
65ef6e9d59
posix epicsSocketEnableAddressUseForDatagramFanout() prefer SO_REUSEPORT
...
prefer SO_REUSEPORT on targets which define it.
Linux defines both, and seems to treat
SO_REUSEPORT and SO_REUSEADDR as equivalent.
BSD derivatives need SO_REUSEPORT.
2020-01-12 11:49:26 -08:00
Michael Davidsaver
8dc131dc4c
osiSockTest test epicsSocketEnableAddressUseForDatagramFanout()
2020-01-12 11:48:20 -08:00
Andrew Johnson
54cd7e7ba1
MinGW: Replace -Wno-format with -D__USE_MINGW_ANSI_STDIO
2020-01-08 17:21:04 -06:00
Andrew Johnson
cbe6173417
Updates to the subArrayRecord reference page
2020-01-08 17:19:25 -06:00
Michael Davidsaver
468f965dc2
dbLoadTemplate.h missing extern "C"
2020-01-05 17:52:43 -08:00
Andrew Johnson
8f358f4dd8
VxWorks::osdThread: Rename createFunction => epicsThreadEntry
...
and make it visible (non-static) so it appears in back-traces.
2020-01-02 16:41:55 -06:00
Andrew Johnson
05e0381b19
Fix VxWorks epicsThreadMustJoin() problems
...
taskWait() actually returns OK on timeout, so drop the timeout warning
(the other implementations don't have one).
The taskWait() may return ERROR with S_objLib_OBJ_ID_ERROR if the target
thread has higher priority; this indicates a successful join, because
we already did a rendezvous using joinSem.
Delete joinSem *after* calling taskSpareFieldSet(), in case it matters.
2020-01-02 16:39:10 -06:00
Andrew Johnson
06728e0e0b
Run epicsThreadTest::testJoining with different priorities
...
A problem in the VxWorks epicsThreadMustJoin() only occurs when
the joining thread runs at a higher priority than its supervisor.
2020-01-02 16:22:35 -06:00
Andrew Johnson
3b20e71da5
EPICS::IOC.pm Save parms, more debug annotations
2020-01-01 15:03:40 -06:00
Andrew Johnson
81df1b2892
Rearrange EPICS::IOC->close() to be more robust
2020-01-01 00:14:08 -06:00
Andrew Johnson
aad8a96b0d
Increase timeout for caget to 15 seconds
2020-01-01 00:08:06 -06:00
Andrew Johnson
83d2941405
netget: Run caget and pvget using EPICS::IOC instead of back-ticks
...
This lets us collect and echo their stderr streams, and if they
hang up without responding we can kill them directly instead of
just giving up and bailing out.
Left debug output turned on for now.
2019-12-31 22:28:43 -06:00
Andrew Johnson
b62ab817c6
Replace EPICS::IOC->kill() with exit() and close() methods
2019-12-31 22:21:03 -06:00
Andrew Johnson
70ea8d5476
Make EPICS::IOC->_geterrors() return on EOF from IOC's stderr
2019-12-31 22:15:22 -06:00
Andrew Johnson
5dc7995477
Enable IOC debug output in netget.plt
2019-12-27 17:36:37 -06:00
Michael Davidsaver
cb0d8d1297
update PVA
2019-12-19 19:31:21 -08:00
Andrew Johnson
71278477bc
Update submodules
2019-12-19 00:08:18 -06:00
Andrew Johnson
e7715ba7b4
Merge 3.15 branch into 7.0
2019-12-18 23:58:02 -06:00
Michael Davidsaver
f64f84744e
more fun with isinf() and friends.
...
GNU libstdc++ prior to GCC 6.1.0, the overlay math.h always
includes math.h from glibc, which defines isinf() and friends.
GCC 6.1.0 includes a change (6c8ced3f4f867b72a623fe2f23efa204c5786a28)
so that the overlay math.h never includes the glibc math.h
when compiling c++.
The overlay math.h sometimes includes "using std::isinf"
Determined by inspecting libc math.h when building gcc.
2019-12-18 20:30:23 -08:00
Michael Davidsaver
d97a12f095
travis-ci test trusty w/ c++11
2019-12-18 20:30:23 -08:00
Andrew Johnson
475963453c
Merge Martin Konrad's retire-epicsexcept branch into 3.15
2019-12-17 23:48:45 -06:00
Andrew Johnson
f5a442c0de
Merge Martin Konrad's fix-typos branch
2019-12-17 23:46:07 -06:00
Martin Konrad
df519ce1a2
Fix typos in calcoutRecord.dbd.pod
2019-12-17 15:53:41 -05:00
Michael Davidsaver
189060c14f
Merge branch '3.15' into 7.0
...
* 3.15:
minor epicsTimerTest
epicsTimerTest loosen test threshold
debug epicsTimerTest
posix/epicsMath.h
Revert "libcom: fix colliding isnan/isinf between C99 and C++0x for gcc-4"
Revert "libcom: properly declare isnan() in C++ code"
travis-ci /etc/hosts workaround
redo travis-ci with matrix
epicsSockResolveTest add detail
libcom: properly declare isnan() in C++ code
libcom: fix colliding isnan/isinf between C99 and C++0x for gcc-4
libcom: import some C99 math (isnan etc.) into global namespace
# Conflicts:
# .travis.yml
# ci/travis-prepare.sh
2019-12-16 15:39:48 -08:00
Michael Davidsaver
feb938fae2
minor epicsTimerTest
...
(cherry picked from commit 7acd7c6145 )
2019-12-16 13:16:31 -08:00
Michael Davidsaver
e068191684
epicsTimerTest loosen test threshold
...
(cherry picked from commit f955199805 )
2019-12-16 13:16:30 -08:00
Michael Davidsaver
33f2d8c4aa
debug epicsTimerTest
...
(cherry picked from commit 2af0c10470 )
2019-12-16 13:16:29 -08:00
Michael Davidsaver
60a092fa50
posix/epicsMath.h
...
Include "<cmath>" for c++11 and pull in
non-namespace versions of isnan() and friends.
2019-12-16 11:40:13 -08:00
Michael Davidsaver
24f08460bb
Revert "libcom: fix colliding isnan/isinf between C99 and C++0x for gcc-4"
...
This reverts commit 09ec3af337 .
2019-12-16 11:40:13 -08:00
Michael Davidsaver
247fea0fa9
Revert "libcom: properly declare isnan() in C++ code"
...
This reverts commit 2e89a60c2d .
2019-12-16 11:40:13 -08:00
Michael Davidsaver
8a9637568e
travis-ci /etc/hosts workaround
2019-12-16 11:40:13 -08:00
Michael Davidsaver
87229fdef0
redo travis-ci with matrix
...
add mix of Ubuntu versions
2019-12-16 11:40:13 -08:00
Michael Davidsaver
b0418e5274
epicsSockResolveTest add detail
2019-12-16 11:40:13 -08:00
Ralph Lange
2e89a60c2d
libcom: properly declare isnan() in C++ code
2019-12-11 14:51:16 +01:00
Ralph Lange
09ec3af337
libcom: fix colliding isnan/isinf between C99 and C++0x for gcc-4
...
This fix can be removed once support for gcc-4 is dropped in 2038
2019-12-06 10:52:38 +01:00
Ralph Lange
70e9d46d75
libcom: import some C99 math (isnan etc.) into global namespace
2019-12-05 16:44:59 +01:00
Andrew Johnson
4c99a94453
Add Release Notes entry about dsets
2019-11-30 01:01:33 -06:00
Andrew Johnson
5407a25775
Export and use aidset, set USE_TYPED_DSET
...
I did ai so I can use it as an example in the Release Notes.
2019-11-30 00:20:16 -06:00
Andrew Johnson
6eaef18347
Remove duplicated include line
2019-11-28 00:56:00 -06:00
Andrew Johnson
f6d8a1ab6c
Sort DIRECTORY_TARGETs to de-duplicate, avoids make warning
2019-11-26 14:31:29 -06:00
Michael Davidsaver
3450c9d442
softIoc use correct path sep
2019-11-24 19:39:45 -08:00
Michael Davidsaver
a7cb9524c2
softIoc re-add -D
2019-11-24 19:39:44 -08:00
Michael Davidsaver
90ef40e62b
iocshFindVariable() safety
2019-11-24 19:39:44 -08:00
Michael Davidsaver
1290ab7c6c
dbInitEntry() w/o matching dbFinishEntry()
2019-11-24 19:39:42 -08:00
Andrew Johnson
45c7039a45
Add HAS_<record>dset macros to allow detection
...
External device support that must also build against earlier
Base versions can use these to determine whether they need so
declare their own dset structures for each record type.
2019-11-23 22:23:47 -06:00
Andrew Johnson
b1b51cc70e
Export and use int64outdset, set USE_TYPED_DSET
2019-11-23 15:32:51 -06:00
Andrew Johnson
7e1d165092
Export and use int64indset, set USE_TYPED_DSET
2019-11-23 15:32:51 -06:00
Andrew Johnson
7893445a2e
Modify lsodset, set USE_TYPED_DSET
2019-11-23 15:32:51 -06:00
Andrew Johnson
465ab44606
Modify lsidset, set USE_TYPED_DSET
2019-11-23 15:32:51 -06:00
Andrew Johnson
23450fcfc8
Modify printfdset, set USE_TYPED_DSET
2019-11-23 15:32:51 -06:00
Andrew Johnson
37ed77006c
Fix release headers in Release Notes
2019-11-21 12:47:02 -06:00
Andrew Johnson
578608b1c7
Merge changes from 3.15 branch into 7.0
2019-11-21 12:45:31 -06:00
Andrew Johnson
1d18aa3e6c
Disable printf() format warnings on MinGW, they're broken
2019-11-21 12:20:56 -06:00
Andrew Johnson
a85967caea
Cross-builds of 64-bit MinGW should inherit from 32-bit
...
Don't duplicate, this file missed an important change as a result.
2019-11-21 12:20:13 -06:00
Michael Davidsaver
3c0d4ccf49
remove another __DATE__
2019-11-16 10:26:23 -08:00
Martin Konrad
218459f454
Remove epicsThrows() macro
...
Exception specifications are deprecated: http://isocpp.github.io/
CppCoreGuidelines/CppCoreGuidelines.html#e30-dont-use-exception-
specifications . They will be removed from the C++ standard with
C++20. Modern compilers are warning about them since years. Thus
it's unlikely that anyone is still using the epicsThrows() macro.
Even if that's the case the fix is trivial: Simply remove the macro.
2019-11-15 21:15:50 -08:00
Martin Konrad
13234afc40
Simplify definition of compiler-specific macros
...
Remove conditionals for older compiler versions that aren't
supported by EPICS Base anymore.
2019-11-15 21:14:27 -08:00
Michael Davidsaver
156b137af0
avoid 'struct dset'
...
doesn't work if -DUSE_TYPED_DSET
2019-11-15 21:11:27 -08:00
Michael Davidsaver
fab9c52858
missing includes
...
Need definition of FILE
2019-11-15 21:11:27 -08:00
Michael Davidsaver
019c20476a
test include public Com and db headers
...
Ensure that headers which are meant to be included
actually can be.
2019-11-15 21:11:27 -08:00
Andrew Johnson
f3d63da77b
Remove two long-unused environment parameters
2019-11-15 13:16:35 -06:00
Martin Konrad
a50b850ebd
Fix mingw cross-build
2019-11-15 09:33:15 -05:00
Martin Konrad
6767bcd31e
Use accessor in iocInit
...
This is simpler than using init hooks.
2019-11-14 13:57:45 -05:00
Martin Konrad
81550ac4d3
Fix segfault when calling dbLoadRecords after iocInit
...
This fixes lp:1829919.
2019-11-14 10:11:16 -05:00
d2d8674cb9
use EPICS_PRIVATE_API macro and fix bug with darwin/ios
2019-11-13 14:02:25 -05:00
6f193242e0
renamed epicsSocketCountUnsentBytes to epicsSocketUnsentCount and moved it to osi/os/
2019-11-13 14:02:23 -05:00
39e8ccdef4
fix bug from commit f85454. Apparently epicsExportSharedSymbols is needed even though epicsExport.h is included
2019-11-13 13:49:28 -05:00
eb8992a750
epicsSocketCountUnsentBytes returns -1 on failure
2019-11-13 13:49:27 -05:00
62fb49f93b
bugfix: memmove'ed to much
2019-11-13 13:49:27 -05:00
a5c9db8c8e
epicsSockCountUnsentBytes renamed to epicsSocketCountUnsentBytes
2019-11-13 13:49:26 -05:00
04e752c83a
moved logClientSendMessage and made it static
2019-11-13 13:49:26 -05:00
a16ce877e7
fix wrong function name in comment
2019-11-13 13:49:26 -05:00
15f28f1183
sending 0 bytes helps to detect broken connections on some systems (but is undefined behavior on Linux, fails on vxWorks and is a documented no-op on Windows)
2019-11-13 13:49:25 -05:00
9c18ce007a
cannot print sockets with %d in Windows, they are not small ints but maybe pointers.
2019-11-13 13:49:25 -05:00
765af2efea
ask logClient socket how many bytes are still in the send queue and don't discard them in case the connection turns out broken.
2019-11-13 13:49:24 -05:00
059c385286
use dynamic debug flag for logClient
2019-11-13 13:49:24 -05:00
feb1f9b0df
increase error message buffer size for long (Windows) error messges
2019-11-13 13:49:23 -05:00
9d9840ad1e
improve logClientShow to show unsent bytes on level 2 (and fix level 1)
2019-11-13 13:49:23 -05:00
af73e4cf65
removed unneeded include
2019-11-13 13:49:23 -05:00
ad861a0617
no need to delay startup only because log server is currently not available
2019-11-13 13:49:22 -05:00
1b88e834d6
send pending log messages directly after connecting
2019-11-13 13:49:22 -05:00
e000ea4913
avoid needless memmove calls
2019-11-13 13:49:21 -05:00
06f1a8ec23
elimitate duplicate code in logClient
2019-11-13 13:49:21 -05:00
cf2658be53
do not discard unsent messages when log server has closed connection, instead try to send them after reconnect
2019-11-13 13:49:20 -05:00
74a403090b
speed up logRestart thread termination at exit
2019-11-13 13:49:20 -05:00
dc123a0a37
don't send errlog on all logClients
2019-11-13 13:49:20 -05:00
Michael Davidsaver
a4e5b9c528
minor
2019-11-13 10:19:16 -08:00
Michael Davidsaver
b43aafae70
VCS version instead of __DATE__
...
Use reproducable VCS version instead of date.
Of course, this falls back to a date if not
version controlled.
2019-11-13 10:18:12 -08:00
Michael Davidsaver
905ca4b7ac
quiet some warnings
2019-11-13 10:17:43 -08:00
Michael Davidsaver
7acd7c6145
minor epicsTimerTest
2019-11-12 19:07:30 -08:00
Michael Davidsaver
05c93e954f
makeRPath.py nicer error on mis-configuation
2019-11-12 19:07:30 -08:00
Michael Davidsaver
bef9a08f6d
asLib minor
2019-11-12 19:07:30 -08:00
Michael Davidsaver
3e7ad9a86f
rtems_init cleanup
...
Remove unnecessary (as of RTEMS 4.9) prototypes
Remove unused *Fatal
constify string contant
2019-11-12 19:07:30 -08:00
Michael Davidsaver
76b9461ee8
logClient windows needs SOCK_E*
2019-11-12 19:07:30 -08:00
Andrew Johnson
7eee262486
Shorten/simplify uninstall recipes
2019-11-12 16:16:02 -06:00
Andrew Johnson
a10379327c
Replace broken cleandirs recipe
2019-11-12 16:14:39 -06:00
Martin Konrad
b37bfe3ed0
Retire unused epicsExcept.h
...
Due to a syntax error this header has been unusable since 2001
(since 34ea7db15b ), and no one
noticed. Let's remove it.
2019-11-12 12:12:47 -05:00
Andrew Johnson
41d86ecd7a
Add a document containing Record Reference links
2019-11-11 11:30:46 -06:00
Andrew Johnson
961dd2bc5d
Don't check empty (overridden) RELEASE definitions
...
Bug reported by Dirk Zimoch
2019-11-11 11:29:03 -06:00
Andrew Johnson
6d8bf7c8ef
Update checklist for next release
2019-11-01 14:36:34 -05:00
Andrew Johnson
98e5367126
Update submodules after release
2019-11-01 14:11:51 -05:00
Andrew Johnson
8734863f69
Incr version and set snapshot/development flags
2019-11-01 14:11:29 -05:00
Andrew Johnson
34834dfe97
Clear development flags for 7.0.3.1
2019-11-01 14:08:44 -05:00
Andrew Johnson
bc370e41b5
Release Check-list detail updates
2019-11-01 14:07:45 -05:00
Andrew Johnson
eb6911f474
Fine-tune Release Notes formatting
2019-11-01 13:32:05 -05:00
Andrew Johnson
3c52cbb12a
Update submodules to release-tagged versions
2019-11-01 13:00:21 -05:00
Andrew Johnson
61ce4df6c8
Update version numbers in documentation for 7.0.3.1
2019-10-31 16:18:24 -05:00
Andrew Johnson
4d882976df
Merge 3.15 branch into 7.0
2019-10-31 16:16:52 -05:00
Andrew Johnson
db4ad455d2
Update version numbers for 3.15.8-DEV (3.15.7.1-DEV)
2019-10-31 15:23:11 -05:00
Andrew Johnson
74a90d141b
Update version numbers
...
Also contains some reformatting in README.md
2019-10-31 13:00:24 -05:00
Michael Davidsaver
c1479522e3
update PVA module docs
2019-10-31 10:56:33 -07:00
Michael Davidsaver
c10f1788d6
update release notes
2019-10-29 17:49:30 -07:00
Andrew Johnson
0d785502eb
Fixes to the dfanout record documentation
...
This commit is actually to test an updated Jenkins configuration
for mirroring commits from Launchpad to GitHub, using a webhook
instead of polling LP for updates every 5 minutes.
2019-10-29 17:49:33 -05:00
Andrew Johnson
220a27bdec
Merge Dirk's dynamicVxWorksVmeFunctionBinding branch into 7.0
2019-10-28 15:11:54 -05:00
Andrew Johnson
171b3301a7
Fix ..// => ../ in Makefile-relative source paths
2019-10-28 15:00:15 -05:00
Andrew Johnson
e178fa85b6
Merge 7.0 back into 7.0
...
Insert tab B back into slot A ...
2019-10-28 13:30:58 -05:00
Andrew Johnson
bed3c81375
Fix some Markdown issues in RELEASE_NOTES.md
2019-10-28 13:01:22 -05:00
Michael Davidsaver
5e6226e595
osdSockUnsentCount.c check for existance of SIO_TCP_INFO
2019-10-28 10:06:05 -07:00
Andrew Johnson
3e7e26d8d7
Merge 3.15 branch into 7.0
2019-10-28 01:03:12 -05:00
Andrew Johnson
ed9d7550f2
Configure linux targets to detect GNU Readline automatically
2019-10-25 00:20:50 -05:00
Ben Franksen
87c68663f3
Document OMSL=closed_loop doesn't work with constant DOL
...
Fixes lp: #1844537
2019-10-24 12:52:35 -05:00
Michael Davidsaver
fc04d12578
Merge remote-tracking branch 'zimoch/iocLogClientFixesTry2' into 7.0
...
* zimoch/iocLogClientFixesTry2: (22 commits)
use EPICS_PRIVATE_API macro and fix bug with darwin/ios
renamed epicsSocketCountUnsentBytes to epicsSocketUnsentCount and moved it to osi/os/
fix bug from commit f85454. Apparently epicsExportSharedSymbols is needed even though epicsExport.h is included
epicsSocketCountUnsentBytes returns -1 on failure
bugfix: memmove'ed to much
epicsSockCountUnsentBytes renamed to epicsSocketCountUnsentBytes
moved logClientSendMessage and made it static
fix wrong function name in comment
sending 0 bytes helps to detect broken connections on some systems (but is undefined behavior on Linux, fails on vxWorks and is a documented no-op on Windows)
cannot print sockets with %d in Windows, they are not small ints but maybe pointers.
ask logClient socket how many bytes are still in the send queue and don't discard them in case the connection turns out broken.
use dynamic debug flag for logClient
increase error message buffer size for long (Windows) error messges
improve logClientShow to show unsent bytes on level 2 (and fix level 1)
removed unneeded include
no need to delay startup only because log server is currently not available
send pending log messages directly after connecting
avoid needless memmove calls
elimitate duplicate code in logClient
do not discard unsent messages when log server has closed connection, instead try to send them after reconnect
...
2019-10-24 10:22:07 -07:00
Andrew Johnson
3881328f2f
Merge branch 'vxworks-tz-support' into 3.15
2019-10-22 15:32:46 -05:00
Andrew Johnson
9722e707fd
Merge decimate filter branch
2019-10-21 22:56:05 -05:00
Andrew Johnson
897586cb06
Perl DBD modules: Add 'use strict', fix issues.
2019-10-21 22:39:04 -05:00
Andrew Johnson
588fa4f3b2
Trivial formatting changes in configure/
2019-10-21 22:39:04 -05:00
Andrew Johnson
7bbe528df2
Fix a couple of benign mistakes in RULES files
2019-10-21 22:39:04 -05:00
Andrew Johnson
10e9db3710
Fix dbdToHtml.pl for old versions of Pod::Simple::XHTML
2019-10-21 17:54:06 -05:00
Michael Davidsaver
f3204d8afa
provide default for PATH_MAX
2019-10-20 18:35:55 -07:00
Andrew Johnson
ec31feea05
Word-wrap release notes to 80 columns
2019-10-20 16:55:10 -05:00
Andrew Johnson
d0ff3c7672
Release notes describing Record POD changes
2019-10-20 16:55:10 -05:00
Andrew Johnson
178d5779a2
Cleanup of POD documentation, unifying some things
...
Incomplete, still lots to do in these files.
2019-10-20 16:52:10 -05:00
Andrew Johnson
00334c981c
Perl-generated HTML is UTF-8; mark it so
2019-10-20 16:52:10 -05:00
Andrew Johnson
5b5fd8004c
Add converted mbbo POD
2019-10-20 16:52:10 -05:00
Andrew Johnson
c7db681e25
rename .dbd to .dpd.pod for mbbo
2019-10-20 16:52:10 -05:00
Joao Paulo Martins
3ff62f4ddb
Add converted mbbiDirect POD
2019-10-20 16:52:09 -05:00
Joao Paulo Martins
b34859fb86
rename .dbd to .dpd.pod for mbbiDirect
2019-10-20 16:52:09 -05:00
Michael Davidsaver
370b38e4c9
update PVA modules
2019-10-17 20:12:10 -07:00
Michael Davidsaver
a34a84f19f
libcom: win32 poison TLS value
2019-10-17 20:12:10 -07:00
Michael Davidsaver
73481cebcb
appveyor reorder and prune
...
Newer MSVC are more interesting, build them first.
Skip 64-bit for older, and 32-bit for newer, MSVC versions.
2019-10-17 20:11:30 -07:00
Freddie Akeroyd
edc66418ac
WIN32: Add symbol lookup
2019-10-17 20:10:23 -07:00
Freddie Akeroyd
c8006f2934
WIN32: Add stack trace printing on assert/error
2019-10-17 20:09:37 -07:00
Michael Davidsaver
32aeabfc61
msvc unittests disable dialog on error or assert() failure
...
Showing a dialog is really unhelpful in headless CI environments.
_CrtSetReportMode also set _CRT_WARN
Not clear what the default is.
2019-10-17 20:09:27 -07:00
Michael Ritzert
6903562915
RSRV: fix large buffer resize
...
Take into account that realloc may already have moved
the data to a new buffer.
2019-10-17 20:09:27 -07:00
Andrew Johnson
953dd2b7f9
Document use of epicsProve.pl
...
Also replaced UTF-8 smart-quotes and m-dashes with ASCII/Markdown
2019-10-17 17:17:05 -05:00
Andrew Johnson
3128fdb930
Add and use epicsProve.pl script
...
Some Windows Perl installations don't have a working prove.bat
so 'make test-results' doesn't work properly on them.
2019-10-17 16:14:59 -05:00
Andrew Johnson
47f295fecb
Clean up permissive POD links
2019-10-10 15:02:06 -04:00
Andrew Johnson
4816a3c04b
Merge Saeed's permissive POD conversion branch
2019-10-10 14:54:21 -04:00
Andrew Johnson
e0950643bb
Clean up state POD links
2019-10-10 14:53:10 -04:00
Andrew Johnson
252983efca
Merge Saeed's state POD conversion branch
2019-10-10 14:48:12 -04:00
Andrew Johnson
7ca26c515a
Clean up stringin POD links
2019-10-10 14:46:18 -04:00
Andrew Johnson
a961ca2fe5
Merge Saeed's stringin POD conversion branch
2019-10-10 14:40:23 -04:00
Andrew Johnson
a2fe07aa76
Merge Joao's mbboDirect POD conversion branch
2019-10-10 14:33:45 -04:00
Andrew Johnson
a69803f278
Merge Joao's mbbi POD conversion branch
2019-10-10 14:22:16 -04:00
Saeed Haghtalab
ee38b99e0f
Adding POD to stringout record
...
Also to menuYesNo, menuOmsl, menuIvoa menus
2019-10-10 12:43:32 -04:00
Andrew Johnson
0a01c38698
File renames .dbd to .dbd.pod for stringout
2019-10-10 12:12:41 -04:00
Andrew Johnson
9efefad955
Fix markdown formatting issue
2019-10-10 00:57:45 -04:00
Andrew Johnson
0c62fc8d84
Merge Niamh Dougan's release-notes conversion
2019-10-10 00:21:43 -04:00
Niamh Dougan
292dfe8e16
Convert RELEASE_NOTES from html to .md
...
Reformat relocations table, escape words with underscores
inside `back-ticks`.
2019-10-10 00:16:17 -04:00
Niamh Dougan
1c93726ee6
renamed RELEASE_NOTES.html -> RELEASE_NOTES.md
2019-10-09 22:40:30 -04:00
Michael Davidsaver
d814d67a35
update release notes
2019-10-06 20:16:10 -07:00
Michael Davidsaver
e257e30cc9
Merge remote-tracking branch 'lp-Com/use-monotonic' into 7.0
...
* lp-Com/use-monotonic:
VxWorks: Measure CPU time-base frequency if necessary
replace most internal getCurrent() -> getMonotonic()
dbScan periodic scan use monotonic time
monotonic adapt to regular time APIs
2019-10-06 20:10:20 -07:00
Michael Davidsaver
c131d6852d
Merge remote-tracking branch 'lp-Com/iocsherr' into 7.0
...
* lp-Com/iocsherr:
doc
deprecate iocshFindCommand()
iocshTest start
iocshCmd() imply "on error break"
iocsh more error handling
iocsh handle redirect and similar early errors
iocsh trap arg. parsing errors
iocsh further on error
Fixed logic errors and added some prompts.
use iocshSetError()
iocsh allow setting of error code
iocsh control error behavior
iocsh catch exceptions
# Conflicts:
# documentation/RELEASE_NOTES.html
2019-10-06 20:10:09 -07:00
Michael Davidsaver
02bec52f0a
Merge remote-tracking branch 'lp-make/rpath-origin' into 7.0
...
* lp-make/rpath-origin:
makeRPath allow multiple root directories
redo softIoc to be more c++y
rpath $ORIGIN doc
older binutils compat
travis-ci test rpath $ORIGIN
epicsGetExecName WIN32, Darwin, solaris, freebsd
epicsGetExecDir() paths relative to executable
LINKER_USE_RPATH=ORIGIN
# Conflicts:
# configure/os/CONFIG.Common.linuxCommon
2019-10-06 20:05:47 -07:00
Michael Davidsaver
ddb79a37bc
Merge remote-tracking branch 'lp-bhill/shared-rpath-independent-of-static-build' into 7.0
...
* lp-bhill/shared-rpath-independent-of-static-build:
Another comment fix
Fix comment as well
Also apply rpath change to PRODDIR_RPATH_LDFLAGS
Shared lib rpath should not depend on whether or not static libs are also being built.
2019-10-06 20:02:00 -07:00
Michael Davidsaver
51cceeab89
appveyor always push artifacts
...
on success or failure
2019-10-06 20:00:00 -07:00
Michael Davidsaver
46f6fc6bfa
appveyor test-results
2019-10-06 19:59:53 -07:00
Michael Davidsaver
1b12914ff0
avoid prove executable
...
On windows prove.bat has the annoying limitations
of a .bat script. Like a max. of 9 arguments.
2019-10-06 19:59:45 -07:00
Michael Davidsaver
8ff7658291
asLib: osiSockAttach() for asCheckClientIP
...
WIN32 needs osiSockAttach() prior to aToIPAddr()
which can now happen during ACF parsing.
2019-10-06 19:59:33 -07:00
Michael Davidsaver
e83818b25e
workaround apparent MSVC mis-optimization
...
MSVC appears to misapply the identity
"A + -A == 0" which is not true for
non-finite floating point values.
2019-10-06 19:58:23 -07:00
Michael Davidsaver
2f88b70f21
Use MY_OS to avoid conflict with existing OS variable
...
# Conflicts:
# .ci/appveyor-prepare.bat
2019-10-06 19:52:19 -07:00
4bb81654d6
use EPICS_PRIVATE_API macro and fix bug with darwin/ios
2019-10-04 14:32:07 +02:00
Ralph Lange
243b53ecae
appveyor-ci: completely remove cygwin builds
2019-10-03 09:37:30 -04:00
Ralph Lange
643d58fd04
appveyor-ci: completely remove cygwin builds
2019-10-02 15:49:12 -04:00
Freddie Akeroyd
7325652d8b
Set PERLVER outside if clause
2019-10-01 23:00:23 +01:00
Freddie Akeroyd
d90e6b1a48
Use MY_OS to avoid conflict with existing OS variable
2019-09-30 23:21:59 +01:00
Freddie Akeroyd
e29a53f01a
Formatting
2019-09-30 22:48:54 +01:00
Freddie Akeroyd
4aee25e8e2
Exclude VS2012 from -FS option
2019-09-30 22:37:42 +01:00
Freddie Akeroyd
1d5bb93a1f
Enable VS 2019 and debug builds on Appveyor
...
* Add VS2019 build target
* Install Strawberry perl when building VS2019 (this image is missing perl)
* Build debug configuration with MSVC (previously just mingw and cygwin)
* allow static-debug on MSVC by setting -static and modifying CONFIG_SITE
2019-09-29 18:31:49 +01:00
Bruce Hill
4f0c9c97c6
Another comment fix
2019-09-26 16:34:21 -07:00
Bruce Hill
feb44624a1
Fix comment as well
2019-09-26 16:32:08 -07:00
Bruce Hill
8c5d93d044
Also apply rpath change to PRODDIR_RPATH_LDFLAGS
2019-09-26 16:13:49 -07:00
Bruce Hill
03268bc683
Shared lib rpath should not depend on whether or not static libs are also being built.
2019-09-25 23:09:48 -07:00
Michael Davidsaver
17aaf50136
WIN32 must clean TLS from correct thread
...
epicsParmCleanupWIN32() may be called from
threads other than the one being cleaned up.
2019-09-24 20:36:18 -07:00
Michael Davidsaver
b68f47927c
WIN32 remove atexit cleanup of TLS
...
Force cleanup of resource for threads which may
still be running opens the possibility of strange
race conditions. Like threads be erroneously
detected as non-epics.
Doing this cleanup at process exit serves no real
purpose. This code might be valid to re-add
in a DLL exit handler.
2019-09-24 20:21:56 -07:00
Michael Davidsaver
f134abb84e
epicsThread avoid possible data race on joined
2019-09-24 08:52:48 -07:00
Freddie Akeroyd
ee1eac3f4c
iocshRegisterVariable() takes an array
2019-09-23 18:55:51 -07:00
46912d5516
renamed epicsSocketCountUnsentBytes to epicsSocketUnsentCount and moved it to osi/os/
2019-09-23 11:10:32 +02:00
cf121f1c14
fix bug from commit f85454. Apparently epicsExportSharedSymbols is needed even though epicsExport.h is included
2019-09-23 10:54:17 +02:00
1718647121
epicsSocketCountUnsentBytes returns -1 on failure
2019-09-19 12:08:45 +02:00
752ec12261
bugfix: memmove'ed to much
2019-09-19 11:42:04 +02:00
e28bb3b0e2
epicsSockCountUnsentBytes renamed to epicsSocketCountUnsentBytes
2019-09-19 10:48:14 +02:00
64f540a64f
moved logClientSendMessage and made it static
2019-09-19 10:44:36 +02:00
db3b160f4e
fix wrong function name in comment
2019-09-19 08:54:19 +02:00
Andrew Johnson
f08b412a18
Have CA Repeater cd to / before running
...
to avoid holding the CWD open unnecessarily.
2019-09-18 14:43:08 -05:00
c9b670977d
sending 0 bytes helps to detect broken connections on some systems (but is undefined behavior on Linux, fails on vxWorks and is a documented no-op on Windows)
2019-09-18 09:58:28 +02:00
Michael Davidsaver
966965c2c1
Merge remote-tracking branch 'lp-Com/make-simple' into 7.0
...
* main/make-simple:
restore ModuleDirs in caPerlApp
simplify e_flex/antelope path compute
further no need to search for perl modules under bin
skip RELEASE_TOPS
configure: Don't hide any perl scripts being run
missed a TOP
no need to search for perl modules under bin/
drop unnecessary *ModuleDirs
avoided embedded TOP for non sub-modules
2019-09-17 14:57:47 -07:00
931054d4fd
cannot print sockets with %d in Windows, they are not small ints but maybe pointers.
2019-09-17 17:45:33 +02:00
6ffc9e17da
ask logClient socket how many bytes are still in the send queue and don't discard them in case the connection turns out broken.
2019-09-17 17:34:16 +02:00
f85454a8d6
use dynamic debug flag for logClient
2019-09-17 17:12:58 +02:00
26f6f674be
increase error message buffer size for long (Windows) error messges
2019-09-17 14:41:35 +02:00
d162337b9a
improve logClientShow to show unsent bytes on level 2 (and fix level 1)
2019-09-17 14:39:03 +02:00
49bf8bb5ec
removed unneeded include
2019-09-17 11:59:02 +02:00
Michael Davidsaver
d58996992d
update PVA modules
2019-09-10 18:37:22 -07:00
Michael Davidsaver
0f8876de67
Merge branch '3.15' into 7.0
...
* 3.15: (28 commits)
update RELEASE_NOTES
add option EPICS_NO_CALLBACK
replace CALLBACK -> epicsCallback
Update dbTest.c
Remove links to wiki-ext
Add POD annotations from Wiki to subArrayRecord and menuAlarmStat
Rename subArrayRecord.dbd and menuAlarmStat.dbd to .pod
Add POD annotations to longoutRecord from Wiki
Rename longoutRecord.dbd longoutRecord.dbd.pod
Add POD annotations to longinRecord from Wiki
Rename longinRecord.dbd longinRecord.dbd.pod
Add POD annotations to subRecord from Wiki
Rename subRecord.dbd subRecord.dbd.pod
Add POD annotations to selRecord from Wiki
Rename selRecord.dbd selRecord.dbd.pod
Add POD annotations to seqRecord from Wiki
Rename seqRecord.dbd seqRecord.dbd.pod
Fix menu declaration test too
Add redefinition guard to menu-generated typedefs
Updates to existing .dbd.pod texts, add event and fanout from wiki
...
# Conflicts:
# documentation/README.1st
# documentation/README.html
# modules/database/src/ioc/db/callback.h
# modules/database/src/ioc/db/dbNotify.c
# modules/database/src/ioc/db/menuAlarmStat.dbd
# modules/database/src/ioc/db/menuFtype.dbd
# modules/database/src/std/rec/compressRecord.dbd.pod
# modules/database/src/std/rec/eventRecord.dbd
# modules/database/src/std/rec/fanoutRecord.dbd
# modules/database/src/std/rec/longinRecord.dbd
# modules/database/src/std/rec/longoutRecord.dbd
# modules/database/src/std/rec/selRecord.dbd
# modules/database/src/std/rec/seqRecord.dbd
# modules/database/src/std/rec/subArrayRecord.dbd
# modules/database/src/std/rec/subRecord.dbd
# modules/libcom/src/iocsh/menuAlarmStat.dbd.pod
# modules/libcom/src/iocsh/menuFtype.dbd.pod
# src/ioc/db/menuAlarmStat.dbd
# src/ioc/db/menuFtype.dbd
Manually fix some move+rename
Make additional CALLBACK -> epicsCallback
preserve INT64 in menuFtype
preserve OLDSIM et al
2019-09-09 19:29:58 -07:00
Michael Davidsaver
77574022a1
update RELEASE_NOTES
2019-09-09 16:56:28 -07:00
Michael Davidsaver
75a1b82322
add option EPICS_NO_CALLBACK
...
Allow the CALLBACK definition to be hidden to prevent
conflicts on WIN32.
2019-09-09 16:22:20 -07:00
Michael Davidsaver
73fec88168
replace CALLBACK -> epicsCallback
...
git grep -l -w CALLBACK -- src|xargs sed -i -e 's/\bCALLBACK\b/epicsCallback/g'
with exceptions in callback.h
2019-09-09 16:22:20 -07:00
krmpotic
2461dc3574
Update dbTest.c
...
Fix MAX define.
2019-09-09 11:42:04 +02:00
Andrew Johnson
704e6251e6
Remove links to wiki-ext
2019-09-06 18:33:55 +02:00
Saeed Haghtalab
f70c17ee69
Add POD annotations from Wiki to subArrayRecord and menuAlarmStat
2019-09-06 18:20:43 +02:00
Saeed Haghtalab
96e3e678e9
Rename subArrayRecord.dbd and menuAlarmStat.dbd to .pod
2019-09-06 18:02:39 +02:00
Joao Paulo Martins
9d4b652c5e
First version of mbbo POD file
2019-09-06 17:20:54 +02:00
Saeed Haghtalab
0d3cc5a20a
Added POD to state record with a note that it is deprecated
2019-09-06 15:49:58 +02:00
Saeed Haghtalab
9255256f15
Added POD to permissive record with a note that it is deprecated.
2019-09-06 15:48:46 +02:00
Saeed Haghtalab
4685f7567b
Rename permissiveRecord.dbd -> permissiveRecord.dbd.pod
2019-09-06 15:13:25 +02:00
Joao Paulo Martins
e5f8683144
Renaming dbd file to dbd.pod
2019-09-06 15:00:52 +02:00
Saeed Haghtalab
4f63bf139f
Rename stateRecord.dbd -> stateRecord.dbd.pod
2019-09-06 14:36:36 +02:00
Saeed Haghtalab
d7d142650b
Adding POD to stringin record
2019-09-06 14:11:20 +02:00
Joao Paulo Martins
eac3d2719b
Add POD annotations to longoutRecord from Wiki
2019-09-06 14:00:17 +02:00
Joao Paulo Martins
a3d0699b84
Rename longoutRecord.dbd longoutRecord.dbd.pod
2019-09-06 13:59:31 +02:00
Joao Paulo Martins
a16bf2dc38
Add POD annotations to longinRecord from Wiki
2019-09-06 13:55:14 +02:00
Joao Paulo Martins
13936680e9
Rename longinRecord.dbd longinRecord.dbd.pod
2019-09-06 13:54:10 +02:00
Saeed Haghtalab
7b6c67b51b
Add POD annotations to subRecord from Wiki
2019-09-06 13:28:55 +02:00
Saeed Haghtalab
33febb52ba
Rename subRecord.dbd subRecord.dbd.pod
2019-09-06 13:28:11 +02:00
Saeed Haghtalab
44149c170e
Add POD annotations to selRecord from Wiki
2019-09-06 13:14:48 +02:00
Saeed Haghtalab
db6825f62e
Rename selRecord.dbd selRecord.dbd.pod
2019-09-06 13:13:46 +02:00
Joao Paulo Martins
6905ded0d0
First version of mbbi POD file
2019-09-06 12:14:55 +02:00
Saeed Haghtalab
4f31205188
Rename stringinRecord.dbd -> stringinRecord.dbd.pod
2019-09-06 11:56:46 +02:00
Joao Paulo Martins
90d9be1c00
Renaming mbbiRecord.dbd with POD file extension
2019-09-06 11:53:28 +02:00
Joao Paulo Martins
b93f92c843
Add POD annotations to seqRecord from Wiki
2019-09-06 11:26:39 +02:00
Joao Paulo Martins
83458421aa
Rename seqRecord.dbd seqRecord.dbd.pod
2019-09-06 11:20:11 +02:00
Andrew Johnson
89e3c582b5
Fix menu declaration test too
2019-09-06 10:44:02 +02:00
Andrew Johnson
623539c3e8
Add redefinition guard to menu-generated typedefs
2019-09-06 10:14:39 +02:00
Michael Davidsaver
299aed026f
drop unneeded includes
...
Avoid pulling in CALLBACK unnecessarily,
which can aggravating MSVC.
2019-09-05 19:31:56 -07:00
Michael Davidsaver
937379892a
epicsMutex automatically capture file+line with gcc >=4.8
...
gcc >=4.8 allows __builtin_FILE() to expand at the call
site when used given as the default for a c++ function
argument.
2019-09-05 19:30:43 -07:00
Andrew Johnson
2a0df61974
Merge compress RecRef wiki as dbd.pod
2019-09-05 17:10:11 +02:00
Andrew Johnson
6e3a15e318
Merge waveform RecRef wiki as dbd.pod
2019-09-05 17:07:27 +02:00
Andrew Johnson
86b1882186
Updates to existing .dbd.pod texts, add event and fanout from wiki
2019-09-05 16:09:20 +02:00
Andrew Johnson
03e613cec0
Adding POD to event and fanout records
2019-09-05 16:09:20 +02:00
Niamh Dougan
177c377b81
Amend documentation filenames in README
...
Also deleted old README.1st
2019-09-05 15:12:19 +02:00
Niamh Dougan
1cf831939a
Convert HTML in README.md to Github Markdown
2019-09-05 15:07:01 +02:00
Niamh Dougan
26cd81d35f
Rename README to .md
2019-09-05 15:05:42 +02:00
Saeed Haghtalab
31811e53b3
Compress record pod update after review
...
- Revert "N to 1 Median" choice entry place
- Convert images to PNG and update Makefile
- Update record support routins definition based on epics7 recSup.h
2019-09-04 21:15:46 +02:00
Joao Paulo Martins
128d2a93c8
Fixing waveform record documentation after review
2019-09-04 17:25:28 +02:00
Saeed Haghtalab
67583b4bda
Update compressRecord.dbd.pod based on Wiki + Content update
2019-09-04 11:29:43 +02:00
Joao Paulo Martins
8a39ca7489
Preparing the waveform record DBD-POD file; Creation of the menuFtype DBD-POD file
2019-09-03 14:20:24 +02:00
Ralph Lange
8b3bc1df9c
Merge remote-tracking branch 'origin/3.15' into 7.0
2019-09-02 14:48:42 +02:00
Ralph Lange
b9bc836d1e
appveyor-ci: disable cygwin x86 builds (install is broken)
2019-09-02 14:47:39 +02:00
Michael Davidsaver
c0a04eae21
Merge remote-tracking branch 'lp-asLib/as-hostname' into 7.0
...
* lp-asLib/as-hostname:
update release notes
asLib more string size...
asLib one short
asLib: asUseIP name lookup soft-fail
Expand Release Note entry for as-hostname changes.
as-hostname address review comments
asLib: test asUseIP
as,rsrv: use real client IP instead of untrusted host name
# Conflicts:
# documentation/RELEASE_NOTES.html
2019-08-31 15:07:22 -07:00
Michael Davidsaver
75477b5e9c
Merge remote-tracking branch 'origin/3.15' into 7.0
...
* origin/3.15: (40 commits)
Revert "More msi.plt retries for Jenkins builds on Windows"
Revert "Testing msi: Add retries if necessary"
msi: Flush stdout on program exit
Now fix the non-windows systems
Don't use / in Windows program paths
Redirect msi's STDERR to /dev/null (NUL on Windows) during tests
VxWorks: Mark undetected underflow parse test as ToDo
Fix VxWorks osiSockOptMcastLoop_t => char
Fix sync filter example in dbd.pod
doc/ca: clarify variable size array subscription
Remove cacExitHandler
Don't clear caClientCallbackThreadId in CA's exit handler
appveyor-ci: ANL Make install 4.1 -> 4.2.1
appveyor-ci: use pre-installed AppVeyor MinGW
appveyor-ci: use choco MinGW 5.3.0 to work around build problem (fixes lp:1827225)
appveyor-ci: exclude some cygwin builds (broken compiler) appveyor-ci: remove slack, add email and GitHub notifications (cherry-picked from branch 7.0)
epicsTime: rely on implicit copy constructor
iocLogServer: check return values
Fix potential buffer overflow in iocLogServer
Fix weird use of strncpy
...
# Conflicts:
# modules/database/src/ioc/dbtemplate/msi.c
# modules/database/src/std/rec/stringinRecord.c
# modules/database/src/std/rec/stringoutRecord.c
# modules/database/test/ioc/dbtemplate/msi.plt
# modules/libcom/src/osi/os/vxWorks/osdSock.h
# src/ioc/dbtemplate/msi.c
# src/ioc/dbtemplate/msi.cpp
2019-08-31 15:05:37 -07:00
2b0161d9bf
no need to delay startup only because log server is currently not available
2019-08-30 08:57:08 +02:00
9df98c1838
send pending log messages directly after connecting
2019-08-30 08:57:08 +02:00
59aa9cfe74
avoid needless memmove calls
2019-08-30 08:57:08 +02:00
709208ef5c
elimitate duplicate code in logClient
2019-08-30 08:57:08 +02:00
0a3427c835
do not discard unsent messages when log server has closed connection, instead try to send them after reconnect
2019-08-30 08:57:08 +02:00
2432878773
speed up logRestart thread termination at exit
2019-08-30 08:57:08 +02:00
62c3b0a585
don't send errlog on all logClients
2019-08-30 08:57:08 +02:00
Andrew Johnson
b2938459f8
Define pdevLibVME on non-VME RTEMS targets
2019-08-28 15:28:08 -05:00
Michael Davidsaver
c63a564ad4
doc
2019-08-26 09:57:15 -07:00
Michael Davidsaver
7ba103d997
deprecate iocshFindCommand()
...
This function, and struct iocshFuncDef, expose
internal details. Specifically iocshCmdDef::func .
Which prevents changing/extending the iocsh function
signature.
Deprecate in favor of iocshCmd() and iocshRun().
2019-08-26 09:57:15 -07:00
Michael Davidsaver
85517d761d
iocshTest start
2019-08-26 09:01:54 -07:00
Michael Davidsaver
2557d14785
iocshCmd() imply "on error break"
2019-08-25 20:10:27 -07:00
Michael Davidsaver
58473e825c
iocsh more error handling
...
sooo many ways to fail...
2019-08-25 16:29:55 -07:00
Michael Davidsaver
a625acbb18
iocsh handle redirect and similar early errors
2019-08-24 20:30:47 -07:00
Andrew Johnson
2fb41d7a36
VxWorks: Measure CPU time-base frequency if necessary
...
The BSP routine sysTimeBaseFreq() is optional. If not present or
non-functional we measure the frequency of the CPU's time-base
counter (against the OS system clock) once at initialization-time.
2019-08-23 15:54:32 -05:00
05cd95a821
astac argument checks
2019-08-13 20:37:43 -07:00
Andrew Johnson
fd48ee9aec
Update submodules
...
Adjust comments in the embedded module CONFIG_*_VERSION files
2019-08-13 11:21:26 -05:00
Andrew Johnson
e0039d4e86
Expand epics-controls publication instructions
2019-08-01 16:20:53 -05:00
Andrew Johnson
969ffa3598
Checklist: Update version update instructions
2019-07-31 14:34:42 -05:00
Andrew Johnson
29fc49199d
Update versions after tag, set DEVELOPMENT_FLAG/DEV_SNAPSHOT
2019-07-31 14:29:18 -05:00
Andrew Johnson
841ef37820
Update version numbers for Base and internal modules
...
Clear EPICS_DEV_SNAPSHOT flag for tagging.
2019-07-31 12:11:22 -05:00
Andrew Johnson
f550f278ad
Update version numbers in documentation to 7.0.2
2019-07-30 18:09:33 -05:00
Andrew Johnson
1706da98cc
Update submodules to tagged versions
2019-07-30 14:36:46 -05:00
Andrew Johnson
e8be04bc43
Update pvDatabase submodule
2019-07-25 18:14:12 -05:00
Andrew Johnson
dee526f2f6
Merge msi fix from 3.15 branch into 7.0
2019-07-25 18:11:26 -05:00
Andrew Johnson
59cffd51ae
Merge 3.15 branch into 7.0
2019-07-25 18:10:40 -05:00
Andrew Johnson
9b5034f307
Restore errlogFlush() call to msi.cpp
2019-07-25 14:35:41 -05:00
Michael Davidsaver
e2881fb37e
More release notes
...
Forgot to stage...
2019-07-24 18:42:02 -07:00
Michael Davidsaver
afd9697290
update PVA modules
2019-07-24 17:45:08 -07:00
Michael Davidsaver
9988be0906
update release notes
2019-07-24 16:44:31 -07:00
Andrew Johnson
a6812c5869
Revert "More msi.plt retries for Jenkins builds on Windows"
...
This reverts commit a69bd833fc .
2019-07-17 16:19:37 -05:00
Michael Davidsaver
b89494a840
Revert "Testing msi: Add retries if necessary"
...
This reverts commit 29c069db3d .
# Conflicts:
# src/ioc/dbtemplate/test/msi.plt
2019-07-17 11:20:03 -07:00
Freddie Akeroyd
771ad6a442
msi: Flush stdout on program exit
...
On WIN32 if the reopen()ed stdout is not closed it can occasionally
result in missing lines in the output file
2019-07-17 10:45:09 -07:00
Michael Davidsaver
1a94376c19
restore ModuleDirs in caPerlApp
2019-07-09 18:42:19 -07:00
Andrew Johnson
84c86e67e8
Fix valgrind warnings in filter tests
2019-07-08 12:55:21 -05:00
Andrew Johnson
cac3e2dc3b
Add checks of freelist to dbndTest.c
2019-07-07 23:32:12 -05:00
Andrew Johnson
8ff6ce4821
Fix leak in sync filter (while, unless modes)
...
Always release field logs when we drop them.
Adjust how first and after modes work to make them easier to test.
Change stream checking code, fix leaks and double frees.
Add mustStash(), mustSwap(), streamReset(), drop mustPassOld().
Modify test code to check free-list count and release all of
the field-logs returned by the filter; it must release any of
the field-logs that it decides to drop.
2019-07-07 23:30:07 -05:00
Andrew Johnson
44ea66aaaf
Add checks and summary of free-list size to decTest.c
2019-07-07 23:11:21 -05:00
Michael Davidsaver
d214d81794
CROSS_COMPILER_RUNTEST_ARCHS for non-RTEMS
2019-07-07 16:50:02 -07:00
Michael Davidsaver
c70b1a9a29
libcom: detect uclibc support for backtrace()
2019-07-06 13:43:58 -07:00
Andrew Johnson
b4ee452c4d
Test that a join actually delays the parent
2019-07-02 18:17:47 -05:00
Andrew Johnson
e5782ae716
Update release notes again, more detail
2019-07-02 17:38:16 -05:00
Andrew Johnson
99be9a86a0
Rework EPICS_THREAD_CAN_JOIN
...
RTEMS osdThread.h was missing an extern "C" wrapper.
2019-07-02 17:31:37 -05:00
Andrew Johnson
fbf62189cb
Replace epicsThreadOptsDefaults() with EPICS_THREAD_OPTS_INIT
...
The epicsThreadCreate() routines now interpose calls to
epicsThreadGetStackSize() if an enum value is passed.
2019-07-02 17:27:27 -05:00
Andrew Johnson
4b77d5e1c9
Release Note updates
...
VxWorks minimum version, and more about joinable threads.
2019-06-28 13:24:29 -05:00
Andrew Johnson
8a072d3c04
More basic tests of epicsThreadMustJoin()
2019-06-28 12:40:07 -05:00
Andrew Johnson
ff1462fcc7
Working VxWorks implementation of epicsThreadMustJoin()
2019-06-28 12:28:41 -05:00
Andrew Johnson
c9c4eea0f8
Now fix the non-windows systems
2019-06-27 15:21:41 -05:00
Andrew Johnson
78ce2dac05
Don't use / in Windows program paths
...
Fixing Windows msi.t script failures...
2019-06-27 13:28:56 -05:00
Andrew Johnson
b2285bb8aa
Redirect msi's STDERR to /dev/null (NUL on Windows) during tests
...
Also moves the environment variable handling code out to the only
test that needs it and simplifies it; some Perl versions were giving
warnings from splitting an undef value.
2019-06-27 12:01:42 -05:00
Andrew Johnson
f79c69f0a0
Fix the decimate filter, free field-logs when dropping them
2019-06-26 23:33:35 -05:00
Andrew Johnson
e03c7edfe5
Check free-list size to ensure field-logs freed properly
...
Moves where the field-logs get freed into the mustPass/mustDrop routines,
where it only happens if the filter didn't free them itself.
Filters that save field-logs can't use this code as-is.
2019-06-26 23:32:52 -05:00
Andrew Johnson
398fdee33e
Added db_available_logs() for filter test code to use
...
Returns the number of items available on the db_field_log free-list.
2019-06-26 23:28:51 -05:00
Michael Davidsaver
59cb5ba6a0
Merge remote-tracking branch 'konrad/clean-up-msi' into 3.15
...
* konrad/clean-up-msi:
Add test for macro expansion in file names
Reduce scope of some variables
Convert substitutionName to std::string
Use bool for more clarity
Remove unneeded errlogFlush()
Manage psubFile with new/delete
Convert copy to std::string
Use std::list for patternList
Convert patternNode.var to std::string
Convert fullname to std::string
Convert inputFile.filename to std::string
Simplify inputConstruct()
Use std::list for pathList
Use std::list for inputFileList
Constructor for struct inputData
Simplify catMacroReplacements()
Constructor for struct subInfo
Add some const keywords
Convert MSI to C++
Test expansion of empty patterns with MSI
2019-06-26 14:55:40 -07:00
Michael Davidsaver
c8e5deca76
dbEvent tweak Queue size
2019-06-26 09:40:41 -07:00
Michael Davidsaver
5b09bb6e71
Set file+line for epicsMutex
...
Makes the output of epicsMutexShowAll more useful wrt. libca.
2019-06-26 09:40:41 -07:00
Michael Davidsaver
ede52d96b8
posix show mapping of epicsMutexId and uaddr passed to futex()
...
On Linux w/ GLIBC+NTPL useful to establish mapping between
args to futux syscall and epicsMutexId (and file+line of creation).
2019-06-26 09:40:41 -07:00
Michael Davidsaver
ceccafe823
mbbo/mbbiDirect number of bits as precision
...
Not really useful w/ RSRV/CA, but can be used by QSRV/PVA
to provide number of bits as meta-data.
2019-06-26 09:39:58 -07:00
Michael Davidsaver
f955199805
epicsTimerTest loosen test threshold
2019-06-26 09:38:48 -07:00
Michael Davidsaver
2af0c10470
debug epicsTimerTest
2019-06-26 09:38:48 -07:00
Michael Davidsaver
89f0f1338a
ioc/db: consolidate callback state tracking
...
combine cbCtl and callbackIsInit.
use atomic ops to avoid false positive data races.
2019-06-26 09:38:48 -07:00
Michael Davidsaver
6ce8dfec01
libCom: timerQueueActive atomic exitFlag
...
quiet false positive data race
2019-06-26 09:38:48 -07:00
Michael Davidsaver
c1ab30142a
sysconf /0 paranoia
...
Seems unlikely, but avoid any possibility to divide by zero.
2019-06-26 08:59:35 -07:00
Michael Davidsaver
2db2f1a53f
Merge remote-tracking branch 'konrad/fix-compiler-warnings' into 3.15
...
* konrad/fix-compiler-warnings:
epicsTime: rely on implicit copy constructor
iocLogServer: check return values
Fix potential buffer overflow in iocLogServer
Fix weird use of strncpy
2019-06-24 18:21:32 -07:00
Michael Davidsaver
b811d3402f
Merge remote-tracking branch 'konrad/dont-nuke-global-cac-thread-id-in-exit-handler' into 3.15
...
* konrad/dont-nuke-global-cac-thread-id-in-exit-handler:
Remove cacExitHandler
2019-06-24 18:12:58 -07:00
Michael Davidsaver
784d619bde
makeRPath allow multiple root directories
...
Allows handling of complex situations like a package
build where some libraries are in a staging area,
but will be copied to the same final location.
eg.
LINKER_ORIGIN_ROOT=/usr/lib/epics:/build/mymodule
Where build TOP is /build/mymodule
2019-06-24 15:56:33 -07:00
Michael Davidsaver
ea1b208c33
redo softIoc to be more c++y
2019-06-24 15:56:33 -07:00
Michael Davidsaver
87d5ca1619
rpath $ORIGIN doc
2019-06-24 10:36:34 -07:00
Michael Davidsaver
a81e261e23
iocsh trap arg. parsing errors
2019-06-23 19:43:34 -07:00
Michael Davidsaver
14440b2d9d
more RTEMS join
2019-06-23 19:28:03 -07:00
Michael Davidsaver
93a96e33c0
dbChArrTest use dbUnitTest.h
2019-06-23 19:06:23 -07:00
Michael Davidsaver
57d2b143e9
update release notes
2019-06-23 19:06:23 -07:00
Michael Davidsaver
38999a971f
document epicsThread.h
2019-06-23 19:06:23 -07:00
Michael Davidsaver
37a76b433a
dbEvent simplify db_close_events() with join
2019-06-23 19:06:22 -07:00
Michael Davidsaver
01fa58f37b
dbCa join worker
2019-06-23 19:06:22 -07:00
Michael Davidsaver
afc31f2f06
asCaStop() join worker thread
2019-06-23 19:06:22 -07:00
Michael Davidsaver
32b3eddb94
epicsThreadMustJoin() warn only on double self-join
2019-06-23 19:06:22 -07:00
Michael Davidsaver
4dcd6f37c6
update release notes
2019-06-23 16:18:43 -07:00
Michael Davidsaver
86a942872a
epicsThreadTest check explicit join
...
Also remove all the sleeps to improve chances
of catching some kind of race.
2019-06-23 08:12:58 -07:00
Michael Davidsaver
9e5c63fb91
epicsThreadMustJoin() clear joinable flag
...
Clear so that repeated calls will error correctly.
Only well defined for self join.
2019-06-23 07:53:23 -07:00
Michael Davidsaver
5efce9ecc0
epicsThreadJoin() -> epicsThreadMustJoin()
2019-06-23 07:30:48 -07:00
Michael Davidsaver
a64cb4a877
update PVA modules
2019-06-17 17:48:41 -07:00
Andrew Johnson
e8db975e7f
Initial implementation for VxWorks 6.9 and later
...
This almost seems too simple...
2019-06-17 14:33:28 -05:00
Andrew Johnson
e75a72ef76
VxWorks: Mark undetected underflow parse test as ToDo
2019-06-07 17:22:40 -05:00
Andrew Johnson
33e099a51b
Fix VxWorks osiSockOptMcastLoop_t => char
...
Repairs osiSockTest
2019-06-07 17:21:18 -05:00
Andrew Johnson
d3a8a49552
Release Notes
2019-06-07 15:37:46 -05:00
Andrew Johnson
96998f55e0
Have VxWorks call tz2timezone() once clock is sync'd
2019-06-07 14:55:26 -05:00
Andrew Johnson
b57f02ece2
epicsTimeTo[GM]TM(): Allow pNSecDest==NULL
2019-06-07 13:26:24 -05:00
Andrew Johnson
b0db6568ea
Replace EPICS_TIMEZONE envParam with EPICS_TZ
...
Adjust rtems_init() to use it.
2019-06-07 13:24:39 -05:00
Andrew Johnson
30812c23f0
Internal cleanup in osiClockTime.c
2019-06-07 13:17:35 -05:00
Andrew Johnson
5cfff383b2
Synchronization hook support for osiClockTime
2019-06-07 13:16:42 -05:00
Michael Davidsaver
048975ccc7
asLib more string size...
2019-06-05 16:33:55 +02:00
Andrew Johnson
345cfcffa8
Fix sync filter example in dbd.pod
2019-06-04 12:53:41 -05:00
Andrew Johnson
deb9dbcd77
Added decimation filter, documentation and tests
2019-06-04 12:23:13 -05:00
Michael Davidsaver
a83a85af7c
asLib one short
2019-06-04 16:06:07 +02:00
Michael Davidsaver
932e9f3b21
asLib: asUseIP name lookup soft-fail
2019-06-04 15:56:51 +02:00
Michael Davidsaver
ac87fbac85
simplify e_flex/antelope path compute
2019-06-04 11:24:35 +02:00
Michael Davidsaver
72985505ef
further no need to search for perl modules under bin
2019-06-04 11:24:35 +02:00
Michael Davidsaver
52b9c8b947
iocsh further on error
...
Split Scope into iocshContext and iocshScope
to separate per-thread and per-call state.
Error handling is per-call.
2019-05-27 21:24:58 -07:00
Bruce Hill
76506991da
Fixed logic errors and added some prompts.
2019-05-27 20:12:48 -07:00
Michael Davidsaver
655c5bed92
osiClockTime Darwin doesn't use.
...
Darwin/osdTime.cpp unconditionally provides osdTimeGetCurrent()
and never calls ClockTime_Init().
2019-05-20 15:32:57 -07:00
Michael Davidsaver
2c99c36ef9
Merge remote-tracking branch 'lp-Com/timeopt' into 7.0
...
* lp-Com/timeopt:
!gtMoreThanDefault -> useOsdGetCurrent
generalTime short circuit current time
2019-05-20 13:49:10 -07:00
Andrew Johnson
6eb6cc0d80
Expand Release Note entry for as-hostname changes.
2019-05-13 14:52:10 -05:00
251304e280
use dynamic binding of vxWorks BSP functions because some BSPs don't provide them
2019-05-13 09:43:44 +02:00
Andrew Johnson
71d4d3ecbd
epicsErrlogTest.c improvements
...
Instrument testEqInt() macro with caller's source line-number.
Added another epicsEvent to wait for the listeners to run.
Not guaranteed to fix all issues, but should be more reliable.
2019-05-09 15:03:56 -05:00
Andrew Johnson
86138fdd23
Fix make-tar.sh to work on MacOS too
...
The BSD version of tar doesn't support -a, and
requires -T instead of --files-from.
2019-05-09 11:51:26 -05:00
Ralph Lange
8c993405b4
doc/ca: clarify variable size array subscription
...
(cherry-picked from branch 3.15)
2019-05-09 17:32:05 +02:00
Ralph Lange
96259b7bdc
doc/ca: clarify variable size array subscription
2019-05-09 17:28:36 +02:00
Michael Davidsaver
bf8ff4e5f1
!gtMoreThanDefault -> useOsdGetCurrent
2019-05-08 19:05:58 -07:00
Michael Davidsaver
73cdea5517
as-hostname address review comments
2019-05-08 19:03:25 -07:00
Martin Konrad
25576c316a
Remove cacExitHandler
...
We need to ensure the allocated resources stick around until
the last instance using them doesn't need them anymore. Sharing
a raw pointer by exporting it as a global variable is not
compatible with cleaning up at all. For now we remove the
clean-up code.
Note: This fixes a segfault during IOC shutdown when using both
pyDevSup and pyepics. See the discussion on
https://epics.anl.gov/tech-talk/2019/msg00778.php for details.
2019-05-06 19:50:01 -04:00
Andrew Johnson
2d3de1916b
Don't clear caClientCallbackThreadId in CA's exit handler
2019-05-06 12:22:34 -05:00
Ralph Lange
fe34c6f35e
appveyor-ci: ANL Make install 4.1 -> 4.2.1
2019-05-03 15:34:37 +02:00
Ralph Lange
52cdfe0a44
appveyor-ci: use pre-installed AppVeyor MinGW
2019-05-03 15:34:01 +02:00
Ralph Lange
16ddcaeaed
appveyor-ci: ANL Make install 4.1 -> 4.2.1
2019-05-03 15:30:59 +02:00
Ralph Lange
297206e247
appveyor-ci: use pre-installed AppVeyor MinGW
2019-05-03 15:29:07 +02:00
Michael Davidsaver
4d5a677239
use iocshSetError()
2019-05-02 20:38:45 -07:00
Michael Davidsaver
eba8a13a2c
iocsh allow setting of error code
2019-05-02 20:38:45 -07:00
Michael Davidsaver
89c269e2d5
iocsh control error behavior
2019-05-02 20:38:45 -07:00
Michael Davidsaver
2e80a97da9
iocsh catch exceptions
2019-05-02 20:29:13 -07:00
Ralph Lange
3110322f8c
appveyor-ci: use choco MinGW 5.3.0 to work around build problem
...
(fixes lp:1827225)
2019-05-02 12:09:09 +02:00
Ralph Lange
63bf8a8219
appveyor-ci: use choco MinGW 5.3.0 to work around build problem
...
(fixes lp:1827225)
2019-05-02 11:39:04 +02:00
Ralph Lange
ec7193d0be
appveyor-ci: exclude some cygwin builds (broken compiler)
...
appveyor-ci: remove slack, add email and GitHub notifications
(cherry-picked from branch 7.0)
2019-04-30 15:53:50 +02:00
Ralph Lange
17dea964a6
appveyor-ci: remove slack, add email and GitHub notifications
2019-04-30 15:51:28 +02:00
Ralph Lange
12283ce25a
appveyor-ci: exclude some cygwin builds (broken compiler)
2019-04-30 15:26:35 +02:00
Andrew Johnson
f486dba478
Add some epics-controls publishing instructions, incomplete
2019-04-26 13:53:24 -05:00
Martin Konrad
1f95d0db12
epicsTime: rely on implicit copy constructor
...
When a custom copy constructor is defined the assignment operator
also needs to be defined explicitly. For this simple class the
implicit copy ctor/assignment operator are sufficient, though. This
fixes a warning emitted by GCC9.
2019-04-25 11:00:39 -04:00
Martin Konrad
e02c5c3026
iocLogServer: check return values
...
No serious issues here just fixing some warnings.
2019-04-24 22:25:31 -04:00
Martin Konrad
8e9d75ad71
Fix potential buffer overflow in iocLogServer
2019-04-24 22:25:31 -04:00
Martin Konrad
630663caa8
Fix weird use of strncpy
...
Note: The old code was correct. This change just gets rid of
a bunch of warnings.
2019-04-24 22:25:31 -04:00
Andrew Johnson
7a84a1abba
Update Base version numbers for next patch release
2019-04-23 16:23:20 -05:00
Andrew Johnson
a9dbd4dd39
Update libcom and base version numbers, no -DEV
2019-04-23 16:07:43 -05:00
Michael Davidsaver
ccf34ae3d0
update PVD and PVA
2019-04-17 14:17:37 -07:00
Andrew Johnson
f559c36a6f
Update tagged modules: pvDatabase 4.4.2, pvaClient 4.5.0
2019-04-15 11:54:13 -05:00
Andrew Johnson
8217fa86fe
Reimplement show-makefiles to display duplicates
2019-04-12 18:14:57 -05:00
Andrew Johnson
f0e118da91
Adjust warning message in RULES_BUILD to suggest cause
2019-04-12 18:13:55 -05:00
Andrew Johnson
5a55aa17d9
Update pvData and pvDatabase modules
...
Not updating pva2pva, the next 7.0.2.2 release should
keep the previous tagged version
2019-04-10 16:45:35 -05:00
Andrew Johnson
f79f2cf8fa
Release Notes for commits since 7.0.2.1
2019-04-10 16:44:21 -05:00
Andrew Johnson
f0f7a1ef06
Move rules from modules/Makefile to new RULES_MODULES file
2019-04-10 16:16:12 -05:00
Andrew Johnson
1412abadf9
Move cvsclean and depclean to RULES_COMMON
2019-04-10 14:13:29 -05:00
Andrew Johnson
3a0371894b
Checklist tweaks for 7.0.2.2
2019-04-10 13:24:09 -05:00
Andrew Johnson
e92a9ae426
Make submodule builds more generic
...
Adds PARENT_MODULE to detect when building a submodule.
RULES_TOP uses that to disable uninstall rules and abort instead of
deleting the parent's configure/ directory.
2019-04-10 12:13:33 -05:00
Andrew Johnson
3a5fb898d6
Move rules for cvsclean and depclean to RULES_DIRS
...
Fix FIND_TOOLS for submodules when EPICS_BASE not built
Add 'make help' for newer test targets
2019-04-08 17:50:19 -05:00
Ralph Lange
2a14647eec
Change -DEV to be based on next patch release number
2019-03-28 16:43:50 -07:00
Michael Davidsaver
597393a8ee
libCom: drop CLOCK_MONOTONIC_RAW
...
Turns out this is ~10x slower to query than CLOCK_MONOTONIC
2019-03-28 09:59:24 -07:00
Andrew Johnson
bad8b25e4e
Prevent submodules from cleaning the EPICS_BASE/configure directory
2019-03-20 16:12:14 -05:00
Andrew Johnson
7fe8373c32
Changes after creating the 7.0.2.1 tag
2019-03-20 15:28:37 -05:00
Andrew Johnson
72be690fec
Set Base version to 7.0.2.1 (final)
2019-03-20 15:24:51 -05:00
Andrew Johnson
a5b3157ec1
Update version numbers for libcom and database
2019-03-20 15:18:05 -05:00
Andrew Johnson
9a062cd6a1
Update submodules
2019-03-20 15:16:55 -05:00
Andrew Johnson
592b935146
Document the macOS -flat_namespace flag change
2019-03-20 13:46:47 -05:00
Andrew Johnson
638391249d
Update EPICS_TIMEZONE settings in CONFIG_SITE_ENV
...
Deleted 2018, added 2023.
2019-03-20 13:44:02 -05:00
Michael Davidsaver
cde682f7ba
nonEpicsThreadPriorityTest is Linux only
2019-03-18 16:08:20 -07:00
Michael Davidsaver
89da4130fc
make-tar.sh allow HEAD for testing
2019-03-18 13:49:25 -07:00
Michael Davidsaver
1d2637a04e
update submodules
2019-03-18 13:26:47 -07:00
Michael Davidsaver
a2123db9fb
Merge branch 'fix_1816841_only' into 7.0
...
* fix_1816841_only:
Another hack to deal with RTEMS which is POSIX but still different
stripped-down fix for 1816841 only
2019-03-17 18:43:34 -07:00
till straumann
7f55bb0386
Another hack to deal with RTEMS which is POSIX but still different
2019-03-14 11:47:52 -07:00
till straumann
511a541f31
stripped-down fix for 1816841 only
2019-03-14 10:36:55 -07:00
Michael Davidsaver
394c39da51
update release notes
2019-03-13 18:17:57 -07:00
Michael Davidsaver
632d1f45c8
Merge branch 'putf-pact' into 7.0
...
* putf-pact:
RPRO/PUTF log instead of assert()
RPRO/PUTF test all three link types
RPRO/PUTF rename
RPRO/PUTF also handle self link case
fix RPRO/PUTF regression
test for RPRO/PUTF regression
dbRec2Pvt()
Remove Warning: 'blah.PUTF' found true with PACT false
dbNotify set PUTF
2019-03-13 18:04:18 -07:00
Michael Davidsaver
0f75e0aa7f
RPRO/PUTF log instead of assert()
2019-03-13 17:57:41 -07:00
Michael Davidsaver
c93ec231a2
update PVD and PVA
2019-03-11 19:45:37 -07:00
Michael Davidsaver
d1149a0ba9
iocsh epicsMutexShowAll accepts 2 arguments
2019-03-11 17:53:51 -07:00
Andrew Johnson
8c3c5a9731
Restore the -flat_namespace linker flag on macOS
...
Latest versions of Apple XCode require it.
2019-03-11 16:00:54 -05:00
Michael Davidsaver
95cb81c286
generalTime short circuit current time
...
epicsTimeGetCurrent() is called frequently.
Unless more than the default provider is registered,
locking and going through the timeProvider list each
time is a waste.
Instead, short circuit to directly call the default
time current time provider unless a another has
been registered.
2019-03-10 16:36:54 -07:00
Andrew Johnson
44510f2fb2
Merge 3.15 branch into 7.0
2019-03-07 12:56:57 -06:00
Michael Davidsaver
0e2d0cde5f
skip RELEASE_TOPS
2019-03-06 17:51:52 -08:00
Michael Davidsaver
3e8f3a1ee9
configure: Don't hide any perl scripts being run
2019-03-06 16:14:55 -08:00
Andrew Johnson
933733465e
Improve timeout diagnostics from netget.plt
2019-02-13 16:02:16 -06:00
Michael Davidsaver
688f32cff0
RPRO/PUTF test all three link types
...
Shouldn't be any difference, but check IN_LINK
and FWD_LINK to be sure.
2019-02-06 16:07:40 -08:00
Michael Davidsaver
d3feb1e2f9
RPRO/PUTF rename
2019-02-04 16:37:20 -08:00
Michael Davidsaver
62c11c22c9
RPRO/PUTF also handle self link case
2019-02-02 15:34:59 -08:00
Andrew Johnson
736075daf6
Document macOS Mojave fix
2019-02-01 16:49:11 -06:00
Andrew Johnson
9ef3b77348
Fix ca/client/perl/Makefile for macOS Mojave
...
... in which Apple moved the Perl headers into XCode.
This should also make the build a little more forgiving on other
architectures that have incomplete Perl installations; it gives up
trying to build the Perl bindings with a warning if perl.h is missing.
2019-02-01 16:14:45 -06:00
Andrew Johnson
d15c8093ec
Extract dbEntryToAddr() from dbChannelCreate() & dbNameToAddr()
2019-02-01 15:26:35 -06:00
Andrew Johnson
0211698b69
Move dbAccess prototypes to the correct header file
2019-02-01 12:02:41 -06:00
Michael Davidsaver
e860617389
fix RPRO/PUTF regression
2019-01-31 20:16:09 -08:00
Michael Davidsaver
e918994704
test for RPRO/PUTF regression
2019-01-31 20:16:06 -08:00
Michael Davidsaver
5eb7da4595
dbRec2Pvt()
2019-01-31 20:16:03 -08:00
Andrew Johnson
2206934ae2
Fix MacOS build warning
...
The MacOS ld linker complains if a -L option points to
a directory that doesn't exist, so create that directory
before running the linker. Might be unnecessary, but...
2019-01-21 16:08:29 -06:00
Andrew Johnson
318fc96912
dbStatic: Removed old DCT_ macros and routines
2019-01-15 16:21:32 -06:00
Andrew Johnson
a58cc37a5e
Fix dbhcr before iocInit
2019-01-15 16:03:17 -06:00
Andrew Johnson
b5e041b991
Update Release Notes version number to 7.0.3
2019-01-15 16:01:55 -06:00
Andrew Johnson
5e1bad2b34
dbStatic parser: Reject empty object names
2019-01-10 14:45:18 -06:00
Andrew Johnson
0ae50485cf
Fix int64inRecord::get_units()
2019-01-08 14:42:43 -06:00
Martin Konrad
a9606dbf6e
Add test for macro expansion in file names
2019-01-08 09:34:55 -05:00
Martin Konrad
409ee26fae
Reduce scope of some variables
2019-01-08 09:34:55 -05:00
Martin Konrad
9a4787155c
Convert substitutionName to std::string
2019-01-08 09:34:55 -05:00
Martin Konrad
84dba0d2b7
Use bool for more clarity
2019-01-08 09:34:55 -05:00
Martin Konrad
87f6c3dec9
Remove unneeded errlogFlush()
2019-01-08 09:34:55 -05:00
Martin Konrad
940814becf
Manage psubFile with new/delete
2019-01-08 09:34:55 -05:00
Martin Konrad
68a1a529b2
Convert copy to std::string
2019-01-08 09:34:55 -05:00
Martin Konrad
ce38caf41b
Use std::list for patternList
...
This improves type safety and readability.
2019-01-08 09:34:55 -05:00
Martin Konrad
f03f10e664
Convert patternNode.var to std::string
2019-01-08 09:34:55 -05:00
Martin Konrad
b4f4fb853d
Convert fullname to std::string
2019-01-08 09:34:55 -05:00
Martin Konrad
b518ebe85b
Convert inputFile.filename to std::string
2019-01-08 09:34:55 -05:00
Martin Konrad
e461d782f4
Simplify inputConstruct()
2019-01-08 09:34:55 -05:00
Martin Konrad
ef2a381e92
Use std::list for pathList
...
This improves type safety and readability.
2019-01-08 09:34:55 -05:00
Martin Konrad
265d4962a4
Use std::list for inputFileList
...
This improves type safety and readability.
2019-01-08 09:34:55 -05:00
Martin Konrad
db9267bbd5
Constructor for struct inputData
2019-01-08 09:34:55 -05:00
Martin Konrad
1cf3fa9ba9
Simplify catMacroReplacements()
...
This fixes lp:1810946 and lp:1810949.
2019-01-08 09:34:40 -05:00
Martin Konrad
3e8b0028dc
Constructor for struct subInfo
2019-01-08 09:22:52 -05:00
Martin Konrad
d8f18c27f4
Add some const keywords
2019-01-08 09:22:52 -05:00
Martin Konrad
801c01b9b6
Convert MSI to C++
2019-01-08 09:22:52 -05:00
Martin Konrad
0c1874bbfe
Test expansion of empty patterns with MSI
...
This was subject to a regression in 3.15.6. See lp:1810946.
2019-01-08 09:22:40 -05:00
Michael Davidsaver
834e202671
missed a TOP
2019-01-03 20:44:50 -08:00
Michael Davidsaver
bc7ee94e2c
Remove Warning: 'blah.PUTF' found true with PACT false
2019-01-03 20:34:12 -08:00
Michael Davidsaver
3fb10b6d59
dbNotify set PUTF
2019-01-03 20:34:12 -08:00
Michael Davidsaver
d38fcd5247
no need to search for perl modules under bin/
2019-01-03 20:18:16 -08:00
Michael Davidsaver
d7841f407a
drop unnecessary *ModuleDirs
2019-01-03 20:18:11 -08:00
Michael Davidsaver
49b323b93c
avoided embedded TOP for non sub-modules
2019-01-03 20:17:58 -08:00
Michael Davidsaver
4f2228fb1d
replace most internal getCurrent() -> getMonotonic()
...
every place where a time delta is computed, and then some.
2019-01-03 19:34:47 -08:00
Michael Davidsaver
8b9ad212c4
dbScan periodic scan use monotonic time
2019-01-03 19:34:42 -08:00
Michael Davidsaver
5087c4cb2f
monotonic adapt to regular time APIs
2019-01-03 19:34:35 -08:00
Andrew Johnson
a8fdf2efeb
realclean rule must delete all RELEASE.<host>.local files
2018-12-18 15:43:18 -06:00
Andrew Johnson
c9eda3ca48
Reset snapshot to -DEV after tagging
2018-12-17 17:42:57 -06:00
Andrew Johnson
b3f785964e
Set snapshot for final 7.0.2 release
2018-12-17 17:40:49 -06:00
Andrew Johnson
bb4b23f658
Reminder to read external submodule release notes too
2018-12-17 17:39:31 -06:00
Andrew Johnson
8b31fba8cb
Update version numbers of embedded modules
2018-12-17 17:20:01 -06:00
Andrew Johnson
8481ae3787
Set embedded modules' SHRLIB_VERSION from CONFIG variables
2018-12-17 17:19:10 -06:00
Andrew Johnson
46535bde64
Update git submodules
2018-12-17 16:47:36 -06:00
Andrew Johnson
6ee928109c
Update Release Checklist
...
Remove To Do list (which didn't get discussed).
Add stuff about submodule versions and pushing tags.
List invididual module version number files to be updated at
final release time.
2018-12-17 16:39:09 -06:00
Andrew Johnson
cff13b9aa7
Update version numbers in documentation
2018-12-14 17:11:47 -06:00
Andrew Johnson
58aa30ab0a
Merge 3.15 branch into 7.0
...
First direct merge since 3.16 branch closed.
2018-12-14 17:05:59 -06:00
Andrew Johnson
5f46d6dcee
Release notes updated
2018-12-14 16:58:43 -06:00
Eric Norum
d41355e0fc
Add error checking to the copy-back loop in truncateFile()
2018-12-14 16:06:38 -06:00
Eric Norum
a5aa5459e3
Drop extraneous extern "C"
2018-12-14 16:06:37 -06:00
Eric Norum
6201d37756
Remove epicsTempName() routine
...
It's unsafe and generates obnoxious warnings on modern compilers.
This also replaces internal useage with epicsTempFile().
There appears to be no external code that calls this routine.
2018-12-14 16:06:36 -06:00
Andrew Johnson
67599e54e4
Add ENABLE_ASAN mechanism for developer use
2018-12-13 16:31:05 -06:00
Michael Davidsaver
f5194b2274
older binutils compat
2018-12-13 11:22:07 -08:00
Andrew Johnson
7bc0d6922b
Merge 3.16 branch into 7.0
...
Final merge from 3.16?
2018-12-12 17:38:55 -06:00
Andrew Johnson
02d7304b3f
Build modules/database/test/std/link directory too
2018-12-12 17:02:02 -06:00
Andrew Johnson
7c90e6ed0b
Reset version snapshot after tagging
2018-12-12 15:51:30 -06:00
Andrew Johnson
c5fd621337
Clear version snapshot for final release
2018-12-12 15:49:41 -06:00
Andrew Johnson
ea409e79be
Link to Launchpad's milestone page for the bug list
2018-12-12 15:49:24 -06:00
Andrew Johnson
6d5f57daf1
Merge 3.16 branch into 7.0
2018-12-12 15:17:02 -06:00
Andrew Johnson
c59a18600a
Add release notes for the QueueShow additions
2018-12-11 16:47:25 -06:00
Michael Davidsaver
d8d14b11db
update PVA
2018-12-10 16:23:16 -08:00
Andrew Johnson
68f6f361e1
Merge 3.15 branch into 3.16
2018-12-10 10:47:57 -06:00
Andrew Johnson
84b7612036
Fix for lp: #1801145 recordtype defined after use in device
...
Add proper equals() method for DBD::Recfield and DBD::Recordtype.
In Parser::parse_recordtype() check for and re-use a declaration
(i.e. an empty recordtype object) when parsing a later definition
of the same recordtype.
2018-12-10 00:25:27 -06:00
Andrew Johnson
f3cf1df503
Merge 3.15 branch into 3.16
2018-12-07 14:07:57 -06:00
Andrew Johnson
9b385480d0
Rename new *QueuePrintStatus() and *QueueStatus iocsh commands to *Show
...
Also added symbol decorations for Windows builds.
2018-12-07 13:51:35 -06:00
Andrew Johnson
ec036cb26d
Merged Martin Konrad's callbackQueueStatus branch into 3.16
2018-12-07 13:47:56 -06:00
Andrew Johnson
64d9d1a4c9
Fix field links to local menu anchors
...
Anchor IDs are different for XHTML vs HTML generation.
2018-12-07 13:16:06 -06:00
Andrew Johnson
e53244df1f
Cherry-pick Dirk's dbState NULL checks from the 7.0 branch
...
Prevent segfaults in iocsh
2018-12-07 11:45:12 -06:00
Andrew Johnson
fe3d68b5f7
Merged 3.15 branch into 3.16
2018-12-06 17:32:43 -06:00
Andrew Johnson
49f5527cd7
iocsh: Add protection if realloc() fails
2018-12-06 16:35:30 -06:00
Andrew Johnson
ee90dffd40
Add flush to the iocsh errlog command
2018-12-06 16:33:20 -06:00
Andrew Johnson
6664ccfc64
Wiki to POD conversions for bi, bo, calc, calcout and dfanout
...
These still need going through to update and edit.
Conversions by Tony Pietryla, Argonne.
2018-12-05 16:55:13 -06:00
Andrew Johnson
444cac337c
Add POD text for menuScan
2018-12-05 16:55:12 -06:00
Andrew Johnson
313afc4a4c
Fix HTMLS generation from IOC menu*.dbd.pod files
2018-12-05 16:55:11 -06:00
Andrew Johnson
0fae0fcc17
Rename various dbd files to dbd.pod
2018-12-05 16:55:10 -06:00
Andrew Johnson
aab5693b45
Fix for CA link disconnect detection
...
dbCa's doLocked() method must run the callback even when the link
is disconnected to allow alarms to be triggered by softDev support.
Patch from Sebastian Marsching
Also removes testToDo from rec/test/regressTest.c
Fixes lp: #1798855
2018-12-05 00:59:36 -06:00
Martin Konrad
6f919c3991
Simpler implementation using spin lock rather than atomics
2018-12-04 12:00:26 -05:00
Martin Konrad
87761ebf29
Prevent data race between resetHighWaterMark() and put()
2018-12-03 15:59:14 -05:00
Martin Konrad
10d951e2d7
Fix incorrect value for highWaterMark in epicsRingBytes
2018-12-03 10:13:41 -05:00
Martin Konrad
d436561cb2
Add tests for highWaterMark feature
2018-12-03 10:13:41 -05:00
Ralph Lange
a43b805b65
ca/pcas: fix misleading error message (TCP name resolution)
2018-11-30 17:19:56 +01:00
Ralph Lange
0649a2f13f
configure: silence tr1 namespace deprecation warnings on MSVC
2018-11-30 16:58:23 +01:00
Andrew Johnson
5e10b98a99
Added timeout to netget script
...
Not tested on Windows.
2018-11-29 13:17:01 -06:00
Andrew Johnson
fc90d347d1
Added EPICS_BASE_HOST_LIBS variable to pkg-config files
2018-11-29 12:59:52 -06:00
Andrew Johnson
64a4c556b4
Move pkg-config file creation to modules/database
...
Needed so EPICS_BASE_IOC_LIBS has been defined.
2018-11-29 12:55:47 -06:00
Andrew Johnson
34115f83ba
Adjustment to netget test port settings, not a full fix though
2018-11-28 23:50:35 -06:00
Andrew Johnson
a38c1d07f5
Update PVA modules with Windows symbol fixes
2018-11-28 23:41:14 -06:00
Andrew Johnson
9e999d2bef
Only create msi-copy for a Host build-arch
2018-11-27 14:11:11 -06:00
Michael Davidsaver
79690940b7
update PVA modules
2018-11-27 10:30:43 -08:00
Martin Konrad
040f9013f4
Remove unneeded epicsAtomic from callbackQueueSize
2018-11-27 10:45:35 -05:00
Martin Konrad
0f16977caf
Make code compatible with ISO C90
2018-11-27 10:30:35 -05:00
Andrew Johnson
694f045332
Merge Bruce Hill's allow-gt-256-time-events branch into 3.16
2018-11-26 16:29:51 -06:00
Andrew Johnson
daad9b1ba1
Merge updates from 3.15 into 3.16
2018-11-26 15:34:32 -06:00
Michael Davidsaver
7bdbded47d
travis-ci test rpath $ORIGIN
2018-11-20 22:00:42 -08:00
Michael Davidsaver
84831e13e7
epicsGetExecName WIN32, Darwin, solaris, freebsd
2018-11-20 22:00:42 -08:00
Michael Davidsaver
32340584b4
epicsGetExecDir() paths relative to executable
...
For linux, enable softIoc to find .dbd relative to the executable
location.
The same could be done for other targets
*bsd
may have symlink /proc/curproc/file
fallback to sysctl() with KERN_PROC_PATHNAME
solaris
getexecname()
mac
_NSGetExecutablePath()
WIN32
GetModuleFileName(NULL)
others
out of luck...
2018-11-20 22:00:42 -08:00
Michael Davidsaver
4ee3cbf382
LINKER_USE_RPATH=ORIGIN
...
Use Linux specific linker trick to allow relocation
of built tree.
relative rpath
use $ORIGIN to reference libraries in other modules
by relative path.
fix rel. RPATH
2018-11-20 22:00:42 -08:00
Andrew Johnson
937878e0a9
Merge Bruce Hill's EPICS-and-CA-version-from-CA-tools branch into 3.15
2018-11-20 10:22:43 -06:00
Andrew Johnson
6e536e1ee0
Fix msi-copy target for cross-build host arch's
2018-11-19 17:59:27 -06:00
Michael Davidsaver
dced29c475
asLib: test asUseIP
2018-11-14 20:03:55 -08:00
Michael Davidsaver
530eba133f
as,rsrv: use real client IP instead of untrusted host name
2018-11-14 20:03:55 -08:00
Michael Davidsaver
383b6b1c36
add aslibtest
2018-11-14 19:46:59 -08:00
Michael Davidsaver
bb19bd519e
asLib add asInitMem()
2018-11-14 19:46:54 -08:00
Michael Davidsaver
d70bfed75b
RTEMS: add zoneset()
2018-11-14 09:57:15 -08:00
Michael Davidsaver
3c2fe264cd
epicsThreadRealtimeLock: clarify errors
...
give some more descriptive, linux specific, error messages
2018-11-14 09:55:19 -08:00
Michael Davidsaver
716f102dd6
rsrv: avoid redundant getpeername()
...
also do some extra, and redundant checks,
on accepted sockets.
2018-11-14 09:55:09 -08:00
Michael Davidsaver
cae597d21c
ca: suppress repeated UDP error messages
2018-11-14 09:43:14 -08:00
Michael Davidsaver
c23012d081
rsrv: suppress repeated UDP error messages
2018-11-14 09:43:14 -08:00
Andrew Johnson
6ea6c6ff66
VxWorks: Don't use GCC 2.x for dependency file generation
2018-11-06 13:02:36 -06:00
Andrew Johnson
168d430921
Unify shebang line in tap-to-junit-xml
2018-11-06 10:15:06 -06:00
Bruce Hill
9a8860b771
Expand tabs and revert #include lines to <> instead of quotes.
2018-11-05 18:44:46 -08:00
Michael Davidsaver
693c1020f2
Test if disconnected CA link alarms
2018-11-04 22:20:20 -08:00
Michael Davidsaver
63ddb2d4fc
fix mingw build
2018-11-04 22:00:00 -08:00
Bruce Hill
3d8e2d933d
Include epicsStdio.h so driver report output can be redirected from iocsh
2018-11-04 20:57:58 -08:00
Michael Davidsaver
f9092783f8
RTEMS thread join
2018-11-04 20:06:18 -08:00
Michael Davidsaver
149ab1186a
epicsThread fix join
2018-11-04 20:06:18 -08:00
Michael Davidsaver
460e58e3e5
libCom "join" win32 threads
...
Wait for completion
2018-11-04 20:06:18 -08:00
Michael Davidsaver
c9dcab95a6
class epicsThread is joinable
2018-11-04 20:06:18 -08:00
Michael Davidsaver
d989c8fade
libCom: joinable threads (posix only)
...
Add epicsThreadJoin() and epicsThreadOpts::joinable.
For compatibility, default threads aren't joinable
by default.
Currently only POSIX can join.
2018-11-04 20:06:18 -08:00
Michael Davidsaver
ca800fa57d
libCom: add epicsThreadCreateOpt()
...
Variant of epicsThreadCreate() which accepts optional
arguments via a structure to allow for compatible
addition of new arguments.
2018-11-04 20:06:18 -08:00
Michael Davidsaver
30268e3577
ioc/db: dbRegisterServer() only warn on actual redefinition
...
avoid noise when simply run twice.
2018-11-04 20:04:05 -08:00
Michael Davidsaver
ebe7cf046e
libCom: iocshRegisterVariable() only warn on actual redefinition
...
Avoid noise if simply called twice.
2018-11-04 19:32:48 -08:00
Andrew Johnson
5f3f87a365
Merge Bruce Hill's MAKEFLAGS-to-MFLAGS branch into 3.15
...
Added a couple other places where this needed to happen too.
2018-11-02 18:14:39 -05:00
Andrew Johnson
00d937cc02
Don't parallelize test-results
2018-11-02 17:49:59 -05:00
Andrew Johnson
072dbd53e7
Adjust clean-tests rule
...
Only delete test-result files that actually exist.
2018-11-02 17:47:13 -05:00
Andrew Johnson
560f43b561
Use private server ports in netget test
2018-11-02 17:01:00 -05:00
Andrew Johnson
301ded2dc1
Fix detail in Release Checklist
2018-11-01 15:12:06 -05:00
Andrew Johnson
d3927dea91
Update version to -rc1-DEV after tagging.
2018-11-01 14:28:59 -05:00
Andrew Johnson
b80ce4883d
Set version to 7.0.2-rc1
2018-11-01 14:27:11 -05:00
Andrew Johnson
924c1a21f9
Documentation updates before 7.0.2-rc1
2018-11-01 14:26:17 -05:00
Andrew Johnson
6fb98c07b0
Last attempt with the netget test before I disable it
2018-11-01 11:56:43 -05:00
Bruce Hill
43322335df
Add -V flag to ca client tools to show EPICS and CA versions.
2018-10-31 22:22:19 -07:00
Bruce Hill
fcb5675040
Added release notes re handling of event numbers >= NUM_TIME_EVENTS.
2018-10-31 20:35:52 -07:00
Bruce Hill
3d88c8495b
Added comments re handling of event numbers >= NUM_TIME_EVENTS.
2018-10-31 20:30:58 -07:00
Bruce Hill
215c5d954b
Modify generalTimeGetEventPriority() to allow eventNumber > 256.
...
eventNumbers between 0 and NUM_TIME_EVENTS will continue to get checked for advancing timestamps.
Support for eventNumbers > NUM_TIME_EVENTS will be up to the generalTime provider.
2018-10-31 20:20:32 -07:00
Andrew Johnson
7bd55cb233
Protect IOC.pm against <PIPE> errors
...
These can happen if the IOC dies prematurely.
2018-10-31 17:57:26 -05:00
Andrew Johnson
5f0b8eb064
Merge 'netget' tests into 7.0
2018-10-31 17:14:17 -05:00
Michael Davidsaver
f6391ee702
update PVA modules with pvtools rework
2018-10-31 13:47:24 -07:00
Andrew Johnson
d129af29c2
netget test: Configure environment to keep traffic local
2018-10-30 17:24:32 -05:00
Andrew Johnson
36c2f78355
Adjust pvget regexp for newer output
2018-10-30 17:23:31 -05:00
Andrew Johnson
464e8a4f14
Added Perl EPICS::IOC module and netget test program
2018-10-30 11:35:03 -05:00
Andrew Johnson
f0bbae1767
Merge Dirk's FixShellCommands branch into 7.0
2018-10-30 09:51:02 -05:00
Andrew Johnson
fbbd2369e9
Update submodules
2018-10-30 09:44:35 -05:00
Michael Davidsaver
78537fbb80
update all PVA modules
2018-10-28 19:04:18 -07:00
Michael Davidsaver
78b6312f49
fix mingw build
2018-10-28 19:03:42 -07:00
Martin Konrad
59ec8d897d
Expose callback queue status
...
This allows tools like iocStats to monitor the queue status of
the callback queues. This fixes lp:1786540.
2018-10-26 18:49:34 -04:00
Andrew Johnson
818e6c236d
Rework epicsMakeMemFs.pl script to use higher level constructs
2018-10-26 17:07:29 -05:00
Andrew Johnson
23d9176772
Clean-up of aai and waveform record sources
2018-10-26 17:05:40 -05:00
Andrew Johnson
2efe56c6d1
Merge 3.16 (after 3.16.2-rc1) into 7.0
2018-10-26 17:04:53 -05:00
Andrew Johnson
94ebd0fe48
Set version to -DEV after -rc1 tagged
2018-10-25 14:54:56 -05:00
Andrew Johnson
8a7442e878
Set version to 3.16.2-rc1
2018-10-25 14:52:47 -05:00
Andrew Johnson
31870b4c41
Merge branch 'fix-make-question-mode' into 3.16
2018-10-25 14:38:44 -05:00
Andrew Johnson
ae38fb2c1c
Improve output from genVersionHeader.pl
...
Especially the responses in 'make --question' mode.
2018-10-25 14:37:50 -05:00
Andrew Johnson
a3ace1f260
Merge branch 'dtypedset' into 3.16
2018-10-25 12:48:38 -05:00
Michael Davidsaver
728bb556cf
yajlTest doesn't run w/ RTEMS+qemu
2018-10-25 11:39:53 -05:00
Andrew Johnson
b7afb287d5
Merge branch 'rtems-test' into 3.16
2018-10-25 11:39:17 -05:00
Michael Davidsaver
275d36b09d
RTEMS use non-default osdEnv
...
putenv() seems unable to clear environment variables.
2018-10-25 11:30:34 -05:00
Andrew Johnson
a81c3503d2
Fix MUNCH_CMD for RTEMS-pc386 with parallel builds
2018-10-25 11:15:57 -05:00
Andrew Johnson
03b8257d71
Release Notes for the rtems-test branch
2018-10-24 16:04:02 -05:00
Andrew Johnson
46370302f6
Don't require older RTEMS arch's to set RTEMS_BSP
...
This uses the old rules for RTEMS target architecture names to
work out what the value of RTEMS_BSP should be if it isn't set.
Targets had to be named RTEMS-$(RTEMS_BSP) in previous releases.
With this change out-of-tree target configuration files should
still work, but they can't be used to create sub-architectures
without first setting RTEMS_BSP in their CONFIG.Common.<arch>
file.
2018-10-24 15:25:05 -05:00
Andrew Johnson
ab59c97f4b
Minor Perl tidying up
2018-10-24 14:59:48 -05:00
Andrew Johnson
77bdea22f8
T_A can never contain spaces
2018-10-24 14:59:24 -05:00
Andrew Johnson
00ee7bf7d3
Add RTEMS-pc368-qemu target, use in Travis-CI builds
2018-10-24 14:27:15 -05:00
Andrew Johnson
3c607d9034
Require RTEMS_BSP to be set in CONFIG.Common.RTEMS-<arch>
...
This is needed to allow multiple targets to be built against
the same RTEMS BSP, allowing e.g. -qemu and -gesys targets.
2018-10-24 14:19:18 -05:00
Andrew Johnson
06f522b253
Make example get_ioint_info() routine static
2018-10-23 15:45:39 -05:00
Andrew Johnson
c6476fbbdc
Declare IOSCANPVT in devSup.h only
2018-10-23 15:44:44 -05:00
Andrew Johnson
b336545853
Update Release Notes
2018-10-23 12:47:00 -05:00
Andrew Johnson
63994839d0
VxWorks build warning
2018-10-23 11:14:11 -05:00
Andrew Johnson
1564f87bd6
Add missing dependency for parallel builds in std/link/test
2018-10-23 11:14:10 -05:00
Andrew Johnson
6eb88b16a0
Fix show-makefiles rule for files containing colons
2018-10-23 11:08:35 -05:00
4190f38db0
add macro IOCSH_STATIC_FUNC to avoid '#ifdef vxWorks' in code
2018-10-23 17:51:46 +02:00
Michael Davidsaver
27ee078bc8
libCom/test cover IP_MULTICAST_TTL
2018-10-23 08:34:34 -07:00
Michael Davidsaver
a62c357e99
setsockopt size IP_MULTICAST_TTL
2018-10-23 08:19:48 -07:00
Andrew Johnson
ea0556e471
Improve devSup example
2018-10-22 16:00:16 -05:00
Andrew Johnson
c08b1ef5d1
Add new 'depclean' make target at top level
...
It deletes all dependency (.d) files in the O.arch directories.
This is useful when headers get moved or removed; recreating just
the dependency data is much faster than rebuilding the whole tree.
It is also possible to run the depclean.pl script manually when
only part of the tree needs its dependencies regenerating.
2018-10-20 22:20:03 -05:00
Andrew Johnson
5f68d62f40
Merge branch 'fixups/move_initHooks' into 7.0
2018-10-20 21:38:04 -05:00
Andrew Johnson
891caa5933
Merge link-updates branch into 3.16
2018-10-19 16:23:58 -05:00
Andrew Johnson
b18478077a
Correct mbbi/oDirect release note entry
...
Better wording from Dirk.
Fixes LP: #1777985
2018-10-19 14:44:52 -05:00
Andrew Johnson
dd78ab0888
Warn on multiple inclusion of RULES_BUILD
...
RULES_BUILD has long had a multi-inclusion guard, but I want to
be able to remove it. This commit cleans up the current place where
it was happening, and shows a warning if the guard gets triggered,
but it doesn't stop builds from working if it happens.
2018-10-19 14:32:26 -05:00
Andrew Johnson
f1e55ef240
Why was RULES_BUILD using -include for other Base RULES files?
2018-10-19 14:26:50 -05:00
Andrew Johnson
2c07e5fbb9
Unify header comments in configure/RULES files
2018-10-19 14:24:51 -05:00
Andrew Johnson
11ba48232c
Add RULES_COMMON
...
This adds new make targets 'PRINT.<var-name>' and 'show-makefiles'
which are useful for debugging build problems.
2018-10-19 14:23:18 -05:00
Andrew Johnson
531ab6fc36
Merge up changes from 3.15 branch into 3.16
2018-10-19 11:49:57 -05:00
Andrew Johnson
e7e9e66651
Merge branch fix-missing-include-in-dbLock into 3.16
2018-10-18 15:32:51 -05:00
Andrew Johnson
453ad41c48
Merged prop-putf into 3.16
2018-10-18 15:26:02 -05:00
Martin Konrad
eed208afaa
Fix shebang line of tap-to-junit-xml.pl
...
This fixes lp:1797634.
2018-10-12 17:09:26 -04:00
Ralph Lange
ae63854dff
Set version to 3.15.6-DEV, prepare new release notes chapter
2018-10-11 15:33:31 +02:00
Michael Davidsaver
6f29a00ead
update PVD, PVA, and P2P
2018-10-08 10:23:46 -07:00
9b328a0ca4
Removed usage messages from epicsEnvSet except for vxWorks but kept the check for NULL. For vxWorks removed the () from usage message.
2018-09-28 11:38:29 +02:00
e8e013d65f
removed () from uage messages
2018-09-28 11:36:59 +02:00
b2f3bafa64
Removed usage message from dbStateCreate because it is not only a shell function but an API as well. But kept check for NULL. Added check for NULL in dbStateFind as well.
2018-09-28 11:36:02 +02:00
d44f5616a9
add missing command line functions to vxWorks shell
2018-09-27 13:35:45 +02:00
1cb0c5b4d0
Fix command line functions: print error if required arguments are missing
2018-09-27 13:35:10 +02:00
Andrew Johnson
9a454bea68
Restore the ability to write to mbbi/mbbo *VL fields
...
Fixes lp: #1794196
2018-09-25 10:56:57 -05:00
Michael Davidsaver
7c5892adbf
update PVD/PVA
2018-09-20 08:50:23 -07:00
Martin Konrad
46b5d6006e
Fix "make --question" mode
...
Fix for lp:1669891
2018-09-07 18:02:02 -04:00
Michael Davidsaver
73b81ad139
db/test: Check that junk before '@' fails w/ INST_IO
...
It will actually parse, but later fail in dbCanSetLink().
2018-09-05 12:22:00 +02:00
Michael Davidsaver
7c00cc8045
ioc/dbStatic: HW links allow optional '@'
...
For HW link types other than INST_IO, allow
trailing '@' to be omitted.
2018-09-05 12:21:53 +02:00
Michael Davidsaver
b2bb14c654
ioc/db/test: dbParseLink test handle NULL
2018-09-05 12:21:48 +02:00
Michael Davidsaver
ae5122759d
travis-ci: install qemu
2018-09-05 09:04:14 +02:00
Martin Konrad
592a83385d
Add missing incude in dbLock.h
...
Fixes lp:1784631.
2018-08-07 12:06:20 -04:00
Andrew Johnson
5c6d275001
Update the linux-x86.linux-arm tool-set used for APS cross-builds
2018-08-06 16:10:57 -05:00
Andrew Johnson
dd1e63d1f4
Update submodules
2018-08-04 15:11:35 -05:00
Andrew Johnson
504ae922c6
Merge 3.16 branch into 7.0
2018-08-04 14:53:43 -05:00
Andrew Johnson
1ffd30c6d4
Add dbLinkFieldName() API to dbLink.h for error messages
...
Returns a pointer to the field name of the plink field.
Was previously an internal routine with a different name.
2018-08-04 12:58:30 -05:00
Andrew Johnson
6e85a407da
Release notes for PUTF/RPRO update
2018-08-02 17:00:57 -05:00
Andrew Johnson
76a4a20698
Improved and extended the PUTF/RPRO tests
...
Added as a unit test, although we might need additional work if we see
the race conditions that are still possible in the code.
2018-08-02 17:00:27 -05:00
Andrew Johnson
7626856a20
Move dbScanPassive() into dbDbLink.c, create processTarget()
...
Also adds dbAccessDebugPUTF variable, and removes the need for a
private API flag.
2018-08-02 16:57:53 -05:00
Andrew Johnson
27431facb8
Fix for lp: #1743795 FIFO Mode
2018-07-19 01:09:40 -05:00
Andrew Johnson
fe4b5d7d72
Fix for lp: #1743795 LIFO Mode
2018-07-19 01:08:12 -05:00
Andrew Johnson
a447ed8bd0
Merged Dirk Zimoch's info_fields branch into 3.16
...
Used --squash to drop noisy history.
Modified the dbli output format slightly.
2018-07-16 15:49:10 -05:00
Andrew Johnson
0eaa343c90
Merge 3.16 into 7.0
2018-07-14 18:29:33 -05:00
Andrew Johnson
6a03679057
Update submodules
2018-07-14 17:37:54 -05:00
Andrew Johnson
57c0d26c4d
Drop R3.13 VxWorks-only OBJLIBS build targets and rules
2018-07-14 17:34:11 -05:00
Andrew Johnson
7ef9ea7193
Merge 3.15 into 3.16
2018-07-13 17:10:22 -05:00
Michael Davidsaver
b4ce30cfe5
update modules/pvAccess
2018-07-06 16:31:50 -07:00
Michael Davidsaver
dc310a4238
move initHooks to libCom
2018-06-27 18:00:14 -07:00
Michael Davidsaver
d77a96d23d
update PVA modules
2018-06-27 16:55:32 -07:00
Andrew Johnson
d20ce9e6bc
Release notes for dbTest changes
2018-06-27 15:58:16 -05:00
Andrew Johnson
e82f59a2d7
Fix dbgf printing of long strings
2018-06-27 15:54:28 -05:00
Andrew Johnson
6761726e95
dbpr: Catch buffer overflow from long link strings.
...
Fixes lp: #1776141
Currently this just truncates when we hit the end of the buffer,
a better solution is warranted.
2018-06-27 15:54:27 -05:00
Andrew Johnson
4e24acebfe
Some enhancements to dbpr output
2018-06-27 15:54:25 -05:00
Michael Davidsaver
83b17d5061
travis-ci: remove unused
2018-06-23 08:40:12 -07:00
Michael Davidsaver
65dec97f9e
use new RTEMS build
2018-06-23 08:40:12 -07:00
Michael Davidsaver
dcb494b494
rtemsttest generalize condition for individual tests
2018-06-23 08:40:12 -07:00
Andrew Johnson
1b6ec2676c
Document branch recombination
2018-06-21 00:30:02 -05:00
Andrew Johnson
7e598c60cc
Merge changes from 3.16 branch into 7.0
2018-06-20 23:27:49 -05:00
Ralph Lange
0248570123
Merge branch 'database/master' back
2018-06-20 09:32:23 +02:00
Ralph Lange
cdd8f610ec
Merge branch 'ca/master' back
2018-06-20 08:57:14 +02:00
Ralph Lange
4441399dcb
Merge branch 'libcom/master' back
2018-06-19 16:52:24 +02:00
Ralph Lange
893fbae559
Remove EPICS Base submodules
2018-06-19 11:49:10 +02:00
Ralph Lange
e165567234
Move all under modules/ca
2018-06-19 11:33:25 +02:00
Ralph Lange
568c405165
Move all under modules/database
2018-06-19 11:31:13 +02:00
Ralph Lange
833648c977
Move all under modules/libcom
2018-06-19 11:25:46 +02:00
Andrew Johnson
7d28ae3732
Merge ioc template changes from 3.15 branch into 3.16
2018-06-05 00:15:22 -05:00
Andrew Johnson
c0a7ab976c
Fix warnings from clang
2018-06-04 15:27:01 -05:00
Andrew Johnson
b029448059
Added lnkCalcTest
2018-06-03 12:35:56 -05:00
Andrew Johnson
3b77d9be8c
lnkStateTest: Show status value in test output
2018-06-03 12:34:19 -05:00
Andrew Johnson
6e3aa77c42
lnkCalc fix: Don't evaluate minor expression when major returned true
2018-06-03 11:18:40 -05:00
Andrew Johnson
2fb46fc541
lnkDebug: Fix typo in getAlarm range checks
2018-06-03 11:03:20 -05:00
Andrew Johnson
36f23f3aec
lnkDebug fix: Initialize child link's precord pointer
2018-06-03 10:46:29 -05:00
Andrew Johnson
ffe6fceffa
dbJLink: Some extra checks at parse/init time
2018-06-03 10:01:33 -05:00
Andrew Johnson
bcfdc8d368
lnkStateTest: set testPlan
2018-06-02 23:59:14 -05:00
Andrew Johnson
c6c25ab43d
New src/std/link/test directory with tests for the state link type
2018-06-02 23:28:20 -05:00
Andrew Johnson
5796f717ef
Update Release Notes with link-updates changes
2018-06-02 00:40:41 -05:00
Andrew Johnson
89b9e240b0
Link types: Remove debug tracing now provided by debug link type
2018-06-01 23:43:39 -05:00
Andrew Johnson
8cdcaf5a87
dbJLink: Restore the jlink::debug flag, add debug and trace link types
2018-06-01 23:32:48 -05:00
Andrew Johnson
f2ceb3bbbf
dbJLink: Add jlif result enum state name strings
2018-06-01 23:26:53 -05:00
Andrew Johnson
fd30989f63
Add jlif::start_child() method
2018-06-01 23:23:54 -05:00
Andrew Johnson
55db6525ee
Merge Perl s/use vars/our/ changes from 3.15 into 3.16
2018-05-28 17:41:23 -05:00
Andrew Johnson
fe1ec6ed31
Replace > with > in Release Notes code examples
2018-05-28 17:40:57 -05:00
Andrew Johnson
8fb6c6d610
Merge changes from 3.15 into 3.16
2018-05-28 17:39:24 -05:00
Ralph Lange
c0cbf8e985
Merge Dirk's mbbioDirect32bit branch (revamped) into 3.16
2018-05-22 14:18:17 +02:00
Ralph Lange
498b248811
std/rec/test: add test for mbbiDirect/mbboDirect
...
(drop dysfunctional async test from original proposal)
2018-05-22 14:14:10 +02:00
Ralph Lange
7e293e60a6
std/dev,std/rec: treat val/sval/rval as ULONG for mbbiDirect/mbboDirect
2018-05-15 16:54:46 +02:00
Ralph Lange
c80783dfa9
std/rec: fix promptgroup labels in mbboDirect
2018-05-15 16:25:23 +02:00
Ralph Lange
3b6a4ad5a6
doc: update release notes
2018-05-15 15:50:55 +02:00
ccc8f75ec7
std/dev: adapt mbbiDirect/mbboDirect soft support to 32bit
2018-05-15 14:43:30 +02:00
d9742d5240
std/rec: make VAL (etc.) of mbbiDirect/mbboDirect LONG
...
(not ULONG because of CA)
2018-05-15 14:40:39 +02:00
7aa2ae2094
std/rec: make SHFT field of mbboDirect USHRT (as mbbiDirect)
2018-05-15 11:56:52 +02:00
ab517a9392
std/rec: move mbboDirect bits to end (as mbbiDirect)
2018-05-15 11:55:34 +02:00
4df39bb425
std/rec: make mbbiDirect prompts consistent with mbboDirect
2018-05-15 11:54:08 +02:00
6ff271527b
std/rec: fix typo in mbboDirect promptgroup
2018-05-15 11:52:56 +02:00
Andrew Johnson
3b89515664
dbJLink: Pass the correct dbfType to child links
...
API change for link types that support child links, they must now
indicate whether a child link is an input, output or forward link
by the return value from their parse_start_map() method. The original
jlif_key_child_link enumeration has been replaced by 3 new values:
jlif_key_child_inlink, jlif_key_child_outlink and jlif_key_child_fwdlink
Previously we were passing the dbfType of the record link field to all
child links within it, which was wrong.
2018-05-14 23:43:13 -05:00
Michael Davidsaver
1893cb4f54
add USE_TYPED_DRVET and USE_TYPED_DSET options
2018-05-14 19:51:27 -07:00
Michael Davidsaver
2b1d5ae4e3
add release note
2018-05-14 19:41:12 -07:00
Michael Davidsaver
1ca8535266
std/rec/test: test
...
# Conflicts:
# src/std/rec/test/linkInitTest.c
2018-05-14 19:40:27 -07:00
Michael Davidsaver
c0cbbd8bee
ioc/dbStatic: add dbGetDevLink()
2018-05-14 19:39:26 -07:00
Michael Davidsaver
fef15d6c91
ioc/dbStatic: add typed_drvet
2018-05-14 19:39:26 -07:00
Michael Davidsaver
805e62b29c
ioc/dbStatic: add typed_dset
2018-05-14 19:39:26 -07:00
Michael Davidsaver
d94c8d1e37
start asyncproctest
2018-05-14 19:08:14 -07:00
Michael Davidsaver
a4fcd2296a
propagate PUTF through DB_LINK and use to RPRO async
...
For async records to be usable in user triggered
(eg. via RSRV) scan chains, queuing must be handled
properly in the event that a second dbPutField()
is made before the scan chain has completed
(eg. a double click on an OPI).
We change the meaning of PUTF so that it is
propagated through DB links to indicate the
pass through the scan chain directly triggered
by a dbPutField().
propagation is broken if a busy async record
is found, and that record is instead scheduled
to re-process on completion.
2018-05-14 19:05:01 -07:00
Andrew Johnson
35ad28dde1
Merge fix from 3.15 into 3.16
2018-05-12 22:42:52 -05:00
Andrew Johnson
ba4c609506
Merge changes from 3.15 into 3.16
2018-05-12 22:39:37 -05:00
Andrew Johnson
57eea6a153
Add INT64 support to the printf record type
...
Use the 'll' modifier to fetch and print 64-bit integer data.
Also now rejects mixing of the 'l' and 'h' modifiers.
2018-05-02 01:09:46 -05:00
Andrew Johnson
877d38e79a
Added Doxygen annotations for the Link Support API
...
Haven't actually tried processing them yet though.
2018-05-02 00:06:12 -05:00
Andrew Johnson
92f0f65d2c
Adjust old INT64 Release Notes entry for db_access users
2018-04-30 13:37:57 -05:00
Andrew Johnson
7cef334b64
Added C++ extern "C" wrapper to dbState.h
2018-04-25 21:42:44 -05:00
Michael Davidsaver
2797233858
update PVA modules
2018-04-24 13:51:52 -07:00
Bruce Hill
b84ee89d87
Fix ECHO definition to not match variables in MAKEFLAGS by using MFLAGS instead.
...
Prior ECHO definition strips T_A=XXX command line variable definitions
from MAKEFLAGS but doesn't strip other variable definitions such as
INSTALL_LOCATION. As a result, if you "make INSTALL_LOCATION=XXX"
the ECHO definition erroneously matches if your install location
contains 's'. Changing the ECHO definition to MFLAGS avoids
all command line variable definitions.
2018-04-16 19:11:40 -07:00
Andrew Johnson
b8a0792fae
Update documentation/README files
2018-04-13 10:47:59 -05:00
Andrew Johnson
c2c32e5876
lnkState: Mark as non-volatile, remove lset::isConnected() method
2018-03-31 15:48:58 +01:00
Andrew Johnson
ca2003bb63
dbLink: Clarify meaning of lset isConstant and isVolatile flags
...
Modify dbIsLinkConnected() to check lset->isVolatile first.
2018-03-31 15:42:35 +01:00
Andrew Johnson
f712f85765
Update PVA submodules
2018-03-22 23:32:19 -05:00
Andrew Johnson
5fb3ee27ba
Update modules merged with 3.16
2018-03-22 23:30:58 -05:00
Andrew Johnson
0014853b99
Merge 3.16 into core/master
2018-03-22 23:27:26 -05:00
Andrew Johnson
e613d685fd
Merge 3.16 into database/master
2018-03-22 23:25:56 -05:00
Andrew Johnson
c0cb1a9cac
Merge 3.16 into ca/master
2018-03-22 23:22:24 -05:00
Andrew Johnson
49f42945b9
Merge 3.16 into libcom/master (no changes)
2018-03-22 23:20:35 -05:00
Andrew Johnson
a3c01bbf77
Merge 3.16 into 3.17
2018-03-22 18:07:25 -05:00
Michael Davidsaver
940e1e11d2
drop unused epicsSingletonBase.cpp
2018-03-21 20:27:17 -07:00
Michael Davidsaver
387b536a46
update PVD and PVA to drop rtemsConfig.c
...
more issues with the RTEMS test harness executables.
2018-03-19 09:32:18 -07:00
Andrew Johnson
086bc961a4
Merge 3.15 into 3.16
2018-03-15 17:53:10 -05:00
Andrew Johnson
58dc1ced9b
Fix softTest synchronization bug
...
Local CA output links do *not* trigger processing in the same thread;
need to wait for the dest record in Group 3, but not in Group 4.
2018-03-15 17:52:52 -05:00
Andrew Johnson
0f7a7902e4
Merge ~bhill:checkRelease-error-msgs into 3.16
2018-03-14 17:59:28 -05:00
Andrew Johnson
42403232e9
Merge 3.15 into 3.16
2018-03-14 16:11:36 -05:00
Ralph Lange
32eaf1030b
appveyor-ci: remove depth limit on submodules
2018-03-14 14:35:52 +01:00
Ralph Lange
4ab6183ab2
appveyor-ci: set depth=50 for submodules
2018-03-14 13:58:45 +01:00
Michael Davidsaver
f5f35dd825
update PVD, PVA, and pvDatabase with RTEMS test harness fixes
2018-03-13 18:58:06 -07:00
Ralph Lange
562d74fb6a
appveyor-ci: set clone depth to 50
2018-03-13 17:06:21 +01:00
Bruce Hill
12bb8969ad
Rework module dependency conflict error message for easier debugging.
...
Now a simply grep for asyn in the build log will show you line by
line which modules depend on which asyn versions.
2018-03-12 18:47:04 -07:00
Andrew Johnson
ea408578e0
Merge 3.15 branch into 3.16
2018-03-12 16:51:23 -05:00
Michael Davidsaver
2a9c602a35
updates to PVD, PVA, and P2P
...
PVD
* rename RTEMS test harness executable to avoid clash
* cleanup
PVA
* rename RTEMS test harness executable to avoid clash
* Fix *NULL in Get2PutProxy
* pvlist output remove comma
* pvput handle enum_t
* Fix *NULL with getRequester() may return NULL
* cleanup
P2P
* Fix pvif NULL check
* include group names in reported channel list
* update doc
2018-03-12 10:01:34 -07:00
Andrew Johnson
97ea68d40c
Added DBF_OUTLINK support to lnkCalc
...
New out key specifying a child link to put the calculated result to.
2018-03-09 22:42:59 -06:00
Andrew Johnson
f44da65942
Merge 3.15 branch into 3.16
2018-03-09 13:21:09 -06:00
Andrew Johnson
d7e416e76a
Now dbGetString() works before iocInit, fix asTest to match
...
Previously dbGetString() of a link field would return an empty string
until iocInit was run. I fixed that earlier today, so asTest started
failing because it was checking for the old behavior.
2018-03-07 00:02:45 -06:00
Andrew Johnson
c05101bb3f
Make dbGetString() fetch link fields properly before iocInit
2018-03-06 18:23:34 -06:00
Andrew Johnson
958c81db89
Protect dbGetString() if field has overflowed
...
Only return the number of characters that a string field can actually
hold, in case it had a buffer overflow.
2018-03-06 17:25:42 -06:00
Andrew Johnson
9020c2ce1a
testdbConvert: Add some minor overflow checks
2018-03-06 14:45:06 -06:00
Andrew Johnson
8f64af96fd
Remove final traces of link debug info tags
2018-03-05 21:41:03 -06:00
Andrew Johnson
54c47f02de
Export dbJLinkDebug as a shell variable
2018-03-05 21:34:03 -06:00
Andrew Johnson
d87ac0319b
Replace the base:jlinkDebug info-item with a global variable
...
The info item only works in dbPutString() which means dbLoadRecords()
but not dbPutField().
2018-03-05 21:34:03 -06:00
Andrew Johnson
20404003bf
More timestamp support for lnkCalc
...
Link now remembers the last timestamp read if a timestamp input
was nominated, and implements getTimestamp() to return this.
Also displays the timestamp value in the report output.
2018-03-05 20:55:57 -06:00
Andrew Johnson
1fa5d9d3b6
Cleanup warnings in lnkConst.c
2018-03-05 20:55:57 -06:00
Andrew Johnson
5e394e4928
dbJLink: Handle NULL returned by jlif::alloc() better
...
It might not mean out-of-memory, adjust error message.
Add OOM and dbfType error checks to all jlif::alloc() routines.
Change all IFDEBUG() in JLink types to use exported global variables.
This allows debug messages to be output from the jlif::alloc()
routines, since the jlink field isn't set when they're called.
2018-03-05 20:55:57 -06:00
Andrew Johnson
c0d4835e66
lnkState: Add support for inverting the flag data
...
Determine the truthiness of put data in its original data type.
Adjust the link documentation to cover these changes.
2018-03-05 20:55:56 -06:00
Andrew Johnson
8ae34ba01d
Add a "state" link type using the dbState API
...
Includes documentation in links.dbd.pod
2018-03-05 20:55:56 -06:00
Andrew Johnson
98f656fc96
Remove duplicate variables from lnkCalc.c
2018-03-05 20:55:56 -06:00
Andrew Johnson
1458f8640e
Merge 3.15 into 3.16
2018-03-04 15:58:26 -06:00
Andrew Johnson
2d0d914485
Create a ModuleDirs file & adjust template scripts to use it
2018-02-26 15:28:21 -06:00
Andrew Johnson
0be3798b0e
Move the perl client scripts into a new caPerlApp template
2018-02-26 15:28:19 -06:00
Michael Davidsaver
d0a5a985f3
forgot to update .gitattributes
2018-02-26 11:37:26 -08:00
Michael Davidsaver
3f5c48d942
rename .ci/make-tar.sh -> .tools/make-tar.sh
2018-02-26 10:43:47 -08:00
Andrew Johnson
57acac8fb8
Update all PVA modules to branch tip
2018-02-25 00:49:09 -06:00
Andrew Johnson
ca9e57cc3a
Merge 3.16 into core/master and other modules
2018-02-25 00:39:49 -06:00
Andrew Johnson
0e0a919567
Merge 3.16 into database/master
2018-02-25 00:28:39 -06:00
Andrew Johnson
1beafdf7e5
Merge 3.16 into ca/master
2018-02-25 00:23:00 -06:00
Andrew Johnson
ca0149ab92
Merge 3.16 into libcom/master
2018-02-25 00:17:37 -06:00
Andrew Johnson
cfdd689000
Merge 3.16 into 3.17
2018-02-25 00:07:45 -06:00
Andrew Johnson
292141458c
Merge 3.15 branch into 3.16
2018-02-24 21:35:01 -06:00
Andrew Johnson
85c6e9bdfb
Merge clang fixes from 3.15 into 3.16
2018-02-09 11:35:55 -06:00
Andrew Johnson
d550b9d55c
Merge 3.16 into core/master and related master branches
2018-02-05 13:59:12 -06:00
Andrew Johnson
a4f072238a
Merge 3.16 into database/master
2018-02-05 13:29:29 -06:00
Andrew Johnson
eb683aa8ad
Merge 3.16 into ca/master
2018-02-05 13:25:36 -06:00
Andrew Johnson
dd15a270bc
Merge 3.16 into libcom/master
2018-02-05 13:21:19 -06:00
Andrew Johnson
6603d778cb
Merge 3.16 into 3.17
2018-02-05 12:51:06 -06:00
Andrew Johnson
cd8fd8a08f
Merge 3.15 into 3.16
2018-02-05 12:06:37 -06:00
Andrew Johnson
eef6f3afbb
Merge 3.15 branch into 3.16
2018-02-01 15:05:44 -06:00
Andrew Johnson
3174e22faf
Merge 3.16 into 3.17
2018-01-21 00:50:16 -06:00
Andrew Johnson
506be838af
Merge 3.15 into 3.16
2018-01-21 00:45:38 -06:00
Andrew Johnson
a5e58829fd
Merge up changes from below
2018-01-20 19:17:35 -06:00
Andrew Johnson
00f30ac53a
Merge URL updates from 3.15 branch into 3.16
2018-01-18 23:52:18 -06:00
Andrew Johnson
1daab5fb35
Add soft-channel tests for local dbCa links, both input and output
...
Update test descriptions.
Renamed records to match their group number.
103 more tests, but some could fail on a busy system...
2018-01-18 23:16:42 -06:00
Andrew Johnson
f5cd555383
Describe recent 3.16-only fixes in Release Notes
...
Preparing for Base-3.16.2 at some point.
2018-01-08 16:53:11 -06:00
Andrew Johnson
f527e5939e
Cleanup epicsReadline.c
...
No real code changes, just reformatting and variable renames.
2018-01-08 11:58:20 -06:00
Andrew Johnson
d41f2e6806
Configure command-line interface for VxWorks
...
Add new LEDLIB and OTHER configuration options.
Fix typo in vxWorks/osdReadline.c
Use LEDLIB on VxWorks.
Fixes LP: #1741578
2018-01-08 11:56:37 -06:00
Andrew Johnson
692b971e06
Merge branch '3.15' into 3.16
2018-01-04 14:48:25 -06:00
Ralph Lange
88be36002a
Merge changes from 3.16 into core/master
2018-01-04 09:11:08 +01:00
Ralph Lange
84e0220852
Merge appveyor change from 3.15
2018-01-04 09:05:49 +01:00
Andrew Johnson
5c97e54cf7
Drop seconds from genVersionHeader's build date/time
...
On Windows a build can loop forever if seconds are included.
2017-12-28 11:28:41 -06:00
Ralph Lange
3646493014
Merge appveyor changes from 3.15 into 3.16
2017-12-19 09:54:23 +01:00
Andrew Johnson
e43c6634d0
Update patch level and snapshot after tagging release
2017-12-15 12:48:28 -06:00
Andrew Johnson
37d103f9cd
Clear SNAPSHOT in Base version for 7.0.1.1
2017-12-15 12:44:20 -06:00
Andrew Johnson
78c7e5d032
Update version numbers in documentation to 7.0.1.1
...
Also recreated README.1st from README.html
2017-12-15 12:41:25 -06:00
Andrew Johnson
2e964c8bb8
Added tag checking to make-tar.sh
...
Modified the default values for filename and tar prefix.
Also allows omitting the leading 'R' from a tag-name, so it will not
be included in the generated default filename and prefix values.
The combination of these changes is that it is now possible to make a
standard release tarfile just by running 'make-tar.sh 7.0.1.1'.
2017-12-15 12:33:27 -06:00
Andrew Johnson
6bf0b5247c
Merge bug-fix from 3.16 branch into core/master
2017-12-15 11:47:56 -06:00
Andrew Johnson
b0f6451c6e
Set SNAPSHOT after tagging release
2017-12-14 19:10:10 -06:00
Andrew Johnson
269f5fc58a
Clear SNAPSHOT in Base version for 7.0.1
2017-12-14 19:07:09 -06:00
Andrew Johnson
7ee0f95a47
Update all submodules to tagged versions
2017-12-14 19:04:24 -06:00
Andrew Johnson
07e8cf162d
Update version number after tagging release
2017-12-14 16:16:21 -06:00
Andrew Johnson
610f008529
Reset DEVELOPMENT_FLAG for database-3.17.0 release
2017-12-14 16:14:05 -06:00
Andrew Johnson
801c37394f
Update version number after tagging release
2017-12-14 16:11:48 -06:00
Andrew Johnson
524ceee2c8
Reset DEVELOPMENT_FLAG for ca-4.13.1 release
2017-12-14 16:10:24 -06:00
Andrew Johnson
37e6c875ba
Update version number in CAref.
...
Also removed Amaya and validator stuff.
2017-12-14 16:09:57 -06:00
Andrew Johnson
5877b3ca70
Update libcom version number after tagging release
2017-12-14 15:59:14 -06:00
Andrew Johnson
8ce980f663
Reset DEVELOPMENT_FLAG for libcom-3.17.0 release
2017-12-14 15:54:07 -06:00
Andrew Johnson
bdb57feb73
Do build config checks instead of crashing
2017-12-14 15:52:07 -06:00
Ralph Lange
1c03e615f1
template: add circle.db to exampleApp for pdbGroup
2017-12-14 17:21:44 +01:00
Ralph Lange
efee52b6d7
template: fix compiler warning in dev...Version.c
2017-12-14 17:07:05 +01:00
Ralph Lange
0f9d5cb5c1
template: add qsrv (if available) to exampleApp
2017-12-14 14:50:18 +01:00
Ralph Lange
b90014183b
appveyor-ci: remove VS 2008, add VS 2017
2017-12-12 12:58:40 +01:00
Ralph Lange
bc522357a5
appveyor-ci: use curl for download of make.zip
2017-12-11 10:41:18 +01:00
Ralph Lange
683e803154
appveyor-ci: add submodule clone, set clone depth to 10
2017-12-11 10:33:27 +01:00
Andrew Johnson
5e0b80f462
Started updating Release Checklist for EPICS 7
...
Incomplete, needs instructions on updating and tagging submodules,
maybe other things too.
This uses version number 7.1.1 instead of 7.0.1, which was deliberate.
2017-12-11 00:33:56 -06:00
Andrew Johnson
fc52dfb2d7
Update pva2pva submodule
2017-12-11 00:28:28 -06:00
Andrew Johnson
28a8c06075
Set EPICS_HOST_ARCH in the environment, not just locally
...
This is essential for submodules, which now need that value to load
the right modules/RELEASE.<host>.local file which gives them their
path to EPICS_BASE (they can't set it for themselves without knowing
that path because the startup directory is part of core!).
2017-12-07 18:01:09 -06:00
Andrew Johnson
c9ca39ce70
Display rule activity in modules/Makefile
2017-12-07 14:44:26 -06:00
Andrew Johnson
933082c1c0
Another libcom fix, for separate module builds.
2017-12-07 11:59:14 -06:00
Andrew Johnson
f1c694c27c
Fix envData.c rule for separate module configurations
2017-12-07 11:57:02 -06:00
Andrew Johnson
28c96e2b8e
libcom dependency fix
2017-12-07 11:24:30 -06:00
Andrew Johnson
981b1136fc
Add missing dependency
2017-12-07 11:23:08 -06:00
Andrew Johnson
488e9cb6b1
Update libcom with cross-build fix
2017-12-07 11:01:38 -06:00
Andrew Johnson
f904df2c7f
Install bldEnvData.pl and libcomModuleDirs.pm
...
Fixes last night's breakage.
Installation is needed so bldEnvData.pl can find libcomModuleDirs.pm
and hence the EPICS::Path and EPICS::Release modules while doing
cross-builds. We'll need it to be installed eventually anyway so
support modules can add their own environment parameters.
2017-12-07 11:00:23 -06:00
Andrew Johnson
008ac76313
Fixes for sharing a build tree between Windows + Unix
...
Rename modules/RELEASE.local to RELEASE.<host>.local
Modify all submodule configure/RELEASE files to include that, and
update the template configure/RELEASE file to match.
Install Perl *ModuleDirs.pm files into bin/<host> since they contain
absolute paths which may be different on different host arch's.
Scripts that need a ModuleDirs module have been adjusted to look in
their bin/<host> directory for it.
Some additional submodule updates were also incorporated.
2017-12-06 23:27:38 -06:00
Andrew Johnson
796279cc0d
Move CA version numbers into cfg/CONFIG_CA_VERSION
2017-12-06 22:26:31 -06:00
Andrew Johnson
ee10014a62
Install caModuleDirs.pm into bin/<host>
...
Adjust capr.pl to use it from there.
Host arch's may use different absolute paths to the same Base directory,
so they can't share a single copy of that module.
2017-12-06 22:22:26 -06:00
Andrew Johnson
f44bfd897e
Install databaseModuleDirs.pm into bin/<host>
...
Adjust all scripts to use it from there.
Host arch's may use different absolute paths to the same Base directory,
so they can't share a single copy of that module.
2017-12-06 22:09:49 -06:00
Andrew Johnson
90de8efd54
Don't install libcomModuleDirs.pm
...
It's only needed by bldEnvData.pl which is never installed.
Make it a dependency so it gets built, and use it from O.<host>
2017-12-06 21:35:30 -06:00
Andrew Johnson
7d105aec9e
Include <top>/../RELEASE.<host>.local
2017-12-06 20:33:19 -06:00
Andrew Johnson
7a6fff0334
Include <top>/../RELEASE.<host>.local
2017-12-06 20:32:07 -06:00
Andrew Johnson
cc0a44d8f0
Include <top>/../RELEASE.<host>.local
2017-12-06 20:28:17 -06:00
Andrew Johnson
20312f82ed
Merge Release.pm fix from 3.16 into 3.17
2017-12-06 16:55:51 -06:00
Andrew Johnson
8e2b782b7c
Merge Release.pm fix from 3.15 into 3.16
2017-12-06 16:52:04 -06:00
Andrew Johnson
0867af4654
Set snapshot to -rc1-DEV after tagging
2017-11-30 17:56:17 -06:00
Andrew Johnson
8b97e78bc3
Set version snapshot to -rc1
2017-11-30 17:53:14 -06:00
Andrew Johnson
28b4a0c80a
Some wording about the source reorganization
2017-11-30 17:52:09 -06:00
Andrew Johnson
0d28984932
Version number updates in secondary documents
2017-11-30 17:51:38 -06:00
Andrew Johnson
cfe5cfa9ca
Merge 'ignore-siml-failure' and document.
2017-11-30 17:25:21 -06:00
Andrew Johnson
eac8865b7f
Merge 'ignore-siml-failure' into database/master
2017-11-30 17:16:01 -06:00
Andrew Johnson
6635e3f8dc
Restore behaviour when no getValue() method exists
2017-11-30 17:07:07 -06:00
Andrew Johnson
e43fb954ce
Remove poptions arg from dbTryGetLink()
2017-11-30 17:02:15 -06:00
Andrew Johnson
5cd98a0356
Submodule cleanup updates
...
Unify .gitignore files
Use 'make test-results' in travis-build scripts
2017-11-30 14:17:03 -06:00
Andrew Johnson
ca8942ecb5
Housekeeping in .ci
...
Cleanup of make-tar.sh script
Added new checkout-modules.sh script
2017-11-30 14:14:20 -06:00
Ralph Lange
2ae721c268
test/rec: add tests for new SIML fetch failure behavior
2017-11-30 14:40:59 +01:00
Ralph Lange
a59abe82f4
db: don't set record INVALID if fetching SIML fails
2017-11-30 14:39:53 +01:00
Andrew Johnson
6b0e4d5d2b
Merged PR for libcom from Bruce Hill
2017-11-29 17:52:30 -06:00
Andrew Johnson
bf7d4f5c96
Submodule updates.
2017-11-29 17:23:52 -06:00
Andrew Johnson
09328e42c9
Allow for a modules/Makefile.local
...
This permits other submodules to be integrated into a build
without having to edit the Makefile itself.
2017-11-29 17:22:48 -06:00
Bruce Hill
3ca5c20907
perl 5.8 compatibility fix
...
Many of our host machines are running perl 5.8.8 and throw an error for the possesive quantifiers in this regex.
Support for the ++ and *+ possesive quantifiers wasn't added till perl 5.10 and the epics docs still say perl 5.8.1 is the requirement.
They don't appear to be needed in this regex and removing them generated the same errSymTbl.c in my tests.
2017-11-29 01:17:04 -08:00
Andrew Johnson
fae4d58de6
Add spinlock_pt.hpp for older VxWorks versions
2017-11-27 11:19:33 -06:00
Andrew Johnson
f3d0ce0fb9
Merge 3.16 into core/master and submodules
2017-11-18 13:55:24 -06:00
Andrew Johnson
d1a1832968
Merge 3.16 into database/master
2017-11-18 13:47:52 -06:00
Andrew Johnson
ab555a280b
Merge 3.16 into 3.17
2017-11-18 13:32:59 -06:00
Andrew Johnson
2d1f1ed2fa
Merge 3.15 into 3.16
2017-11-18 13:30:06 -06:00
Michael Davidsaver
ba8bbbd098
update make-tar.sh
2017-11-16 18:27:57 -06:00
Andrew Johnson
df4c8b4935
Set snapshot to -pre1-DEV, post-tag
...
This seems illogical, shouldn't it now be -rc1-DEV now?
2017-11-16 12:03:51 -06:00
Andrew Johnson
e785d8748f
Set version 7.0.1-pre1 in CONFIG_BASE_VERSION
2017-11-16 11:55:09 -06:00
Andrew Johnson
8c074d0ecf
Final submodule update before 7.0.1-pre1
2017-11-16 11:49:05 -06:00
Andrew Johnson
7afb789b41
Module updates
2017-11-15 23:35:56 -06:00
Andrew Johnson
73c7b8224d
Merge changes from 3.16 into database/master
2017-11-15 23:32:48 -06:00
Andrew Johnson
527a49bfc1
Merge branch 3.16 into 3.17
2017-11-15 22:23:32 -06:00
Andrew Johnson
c28a360357
Merge changes from 3.15 branch into 3.16
2017-11-15 22:20:42 -06:00
Andrew Johnson
e64fe15abc
Update submodule
2017-11-15 10:30:54 -06:00
Andrew Johnson
260d43b9bc
Adjust RELEASE.local generation for Windows
...
On Windows, neither the shell nor echo will strip double-quote
characters from the command-line, so just leave them out.
2017-11-15 10:30:14 -06:00
Andrew Johnson
b690e5abbd
Move tool configs into module cfg/CONFIG* files
2017-11-14 23:41:20 -06:00
Andrew Johnson
56b6644b87
Export tool configurations as cfg/CONFIG_* files
2017-11-14 23:34:25 -06:00
Andrew Johnson
ea7802a838
Export tool configurations as cfg/CONFIG_* files
2017-11-14 23:30:59 -06:00
Andrew Johnson
5dfd1fc0f0
Export tool configurations as cfg/CONFIG_* files
2017-11-14 21:47:40 -06:00
Andrew Johnson
ba2ff4993f
Submodule updates
2017-11-14 21:39:32 -06:00
Andrew Johnson
33852b1e90
Adjust pvAccess dependencies
2017-11-14 21:36:40 -06:00
Andrew Johnson
2be750a2a0
Update epicsInstallDir.h after any CONFIG_SITE* change
...
INSTALL_LOCATION changes should trigger an update.
2017-11-14 21:20:39 -06:00
Andrew Johnson
202fbe4ffb
Submodule build configuration fixes
...
Remove modules/RELEASE.local from repository,
create it at run-time instead of RELEASE.base.
2017-11-14 20:49:54 -06:00
Michael Davidsaver
7b71cbee7a
modules/pva2pva: enable string array and fit put
2017-11-14 14:25:39 -06:00
Michael Davidsaver
a1f633fe27
add make-tar.sh
2017-11-14 13:29:00 -06:00
Andrew Johnson
75cdab3c17
Update modules
2017-11-12 00:29:12 -06:00
Andrew Johnson
0a5e6ba69a
RELEASE file must define EPICS_BASE when building modules
2017-11-11 23:55:16 -06:00
Andrew Johnson
c3a6cfcf0d
RELEASE file must define EPICS_BASE when building modules
2017-11-11 23:54:36 -06:00
Andrew Johnson
e2e0dc2687
RELEASE file must define EPICS_BASE when building modules
2017-11-11 23:52:57 -06:00
Andrew Johnson
b71ec8c781
Set path to msi in CONFIG for individual module builds
...
This approach doesn't solve the problem of how to get to these
tools for the next module in the chain though, we need to install
a CFG file with these definitions in them, in place of the central
CONFIG_BASE file. This fixes it for now though.
2017-11-11 23:51:11 -06:00
Andrew Johnson
5b66efb0e4
Merge installEpics.pl change into core/master
2017-11-11 18:42:37 -06:00
Andrew Johnson
f36ce8ca3d
Merge 3.16 into 3.17
2017-11-11 18:17:54 -06:00
Andrew Johnson
aebfe587d8
Merge installEpics.pl fix from 3.15 into 3.16
2017-11-11 18:04:46 -06:00
Andrew Johnson
2462e09319
Update modules
2017-11-10 15:29:36 -06:00
Andrew Johnson
491ab52c98
Remove spurious files from configure
2017-11-10 15:28:20 -06:00
Andrew Johnson
9ac5f7fbc1
Remove spurious files from configure
2017-11-10 15:27:59 -06:00
Andrew Johnson
269b072cec
Remove spurious files from configure
2017-11-10 15:27:11 -06:00
Andrew Johnson
1d732b3a92
Update modules
2017-11-07 22:44:04 -06:00
Andrew Johnson
cb7b77b63d
Copy Darwin version of osdMonitonic.c to iOS
2017-11-07 22:41:23 -06:00
Andrew Johnson
716d297c85
Merge development branches into core/master
2017-11-07 21:28:01 -06:00
Andrew Johnson
c528ca5ae4
Merge development branches into database/master
2017-11-07 21:26:10 -06:00
Andrew Johnson
7b7abaea05
Merge development branches into libcom/master
2017-11-07 21:24:06 -06:00
Andrew Johnson
c4c7bff625
Update PVA modules
2017-11-07 20:20:35 -06:00
Andrew Johnson
5e5e56b39a
Restore dbVerify() to dbStaticLib
2017-11-07 17:54:50 -06:00
Michael Davidsaver
ed43284bce
update PVD, PVA, and P2P
...
PVA fixes server issue with async getField() and lots of cleanup.
P2P fixes lock order issue with PDB monitor lists
2017-11-06 18:29:58 -06:00
Andrew Johnson
782b15ff4f
Update modules pvData and pva2pva
2017-11-03 11:03:44 -05:00
Andrew Johnson
e569730acc
modules/Makefile fix: Replace spaces with tab character
...
Also adds modules/RELEASE.base to .gitignore
2017-11-03 11:00:49 -05:00
Ralph Lange
75479e1a10
modules: fix creation of absolute EPICS_BASE ( d7cda55d)
2017-11-03 09:26:28 +01:00
Andrew Johnson
94628f59f2
Merge branch 'monotonictime' into 3.17
2017-11-02 17:32:46 -05:00
Andrew Johnson
924e11a8bc
rsrv: Fix include list for Windows builds
...
For some reason epicsExport.h doesn't work here, we have to
explicitly define epicsExportSharedSymbols and them pull in
epicsExport.h separately later. Must be something to do with
the #undef and redef that goes on in server.h
2017-11-02 17:08:42 -05:00
Andrew Johnson
2237061c85
Merge branch 'impr-sim-mode-2' into 3.17
2017-11-02 16:37:42 -05:00
Andrew Johnson
7fc6639bfa
Merged branch 'rsrv-register' into 3.17
2017-11-02 14:45:05 -05:00
Andrew Johnson
2abb168e23
Removed modules/example from .gitmodules for now
...
Jenkins can't build Base-7.0 with the example in this Zombie state.
2017-11-02 09:48:41 -05:00
Andrew Johnson
82efcc3969
Update modules to latest
...
This combination builds for Linux, RTEMS 4.10 and VxWorks 6.9
2017-11-01 16:23:55 -05:00
Andrew Johnson
d5fc85a451
Merge changes from 3.16 branch and below into database/master
...
Also removes some extraneous template files
2017-11-01 16:16:07 -05:00
Andrew Johnson
2ebd193681
Merge changes from 3.16 branch and below into ca/master
2017-11-01 16:14:53 -05:00
Andrew Johnson
222162bcb6
Add vxWorks directory with Boost smart_ptr headers
...
This is the minimal set of files needed, copied from pvCommonCPP.
2017-11-01 16:14:00 -05:00
Andrew Johnson
824c91d70c
Merge changes from 3.16 and below into libcom/master
2017-11-01 16:11:58 -05:00
Andrew Johnson
52a117c35a
Merge changes from 3.16 and below into core/master
2017-11-01 16:11:04 -05:00
Andrew Johnson
a50dddbd7b
Move base.plt into test/tools and adjust lib path
2017-11-01 11:30:15 -05:00
Andrew Johnson
75ae143361
Update pva2pva module
2017-10-31 15:31:24 -05:00
Andrew Johnson
e25f95be50
Source formatting in dbFastLinkConv
2017-10-31 12:54:41 -05:00
Andrew Johnson
9a0eacd67e
More tests in rec/test/softTest
2017-10-31 12:54:03 -05:00
Andrew Johnson
c94c1b47d8
More debug printf()s in lnkConst
2017-10-31 12:52:46 -05:00
Andrew Johnson
a2b963b2d9
Fix bug in fast-convert from int64 to enum
...
Discovered on Solaris-sparc (big-endian).
2017-10-31 12:50:53 -05:00
Andrew Johnson
f76d453a7a
ringPointerTest: Prevent warnings
2017-10-30 19:54:09 -05:00
Andrew Johnson
71675fc7a4
Disable yajlTest: Duh!
2017-10-30 18:15:37 -05:00
Andrew Johnson
fbcbd58c30
libCom/test: Disable yajlTest on WIN32
...
Works OK on Cygwin; Perl's IPC::Open3 is likely the problem.
2017-10-30 17:56:04 -05:00
Andrew Johnson
5f1435c775
Merge yajl-2.1.0 branch into 3.16
2017-10-30 16:14:35 -05:00
Andrew Johnson
0b5577205c
Merge fix-tsel branch into 3.16
2017-10-30 14:16:50 -05:00
Andrew Johnson
49d638be97
VxWorks osdMonotonic implementation
...
PowerPC time-base frequencies are 32-bit.
Adjust when warnings are printed.
Use long double to calculate time from time-base.
2017-10-27 15:17:38 -05:00
Andrew Johnson
05d4d7431e
Merge changes from 3.15 branch into 3.16
2017-10-27 12:32:14 -05:00
Andrew Johnson
77de87cfb0
dbServer: Only call client() and report() methods when running
...
Also adjusts the tests to confirm that behaviour.
2017-10-26 13:02:20 -05:00
Andrew Johnson
48ea653ba9
Clean up taskwdTest
...
Ensure other threads don't interfere with test results,
let only test threads generate pass/fail outputs.
2017-10-24 21:10:00 -05:00
Michael Davidsaver
d0378adc91
ioc/db/test: check TSEL to .TIME
2017-10-24 09:30:38 -05:00
Andrew Johnson
a1d2f337f4
Initial VxWorks support code
...
Implemented for both PowerPC and i86.
Builds, but not tested yet.
2017-10-23 11:30:29 -05:00
Andrew Johnson
62db42bf35
Delete unused variable
2017-10-23 11:27:51 -05:00
Michael Davidsaver
e8b4f448ea
travis-ci: run tests with RTEMS pc386/qemu
2017-10-22 19:11:01 -05:00
Michael Davidsaver
d5f74fe006
rtems tests for pc386
2017-10-22 19:11:01 -05:00
Michael Davidsaver
6923ca9fda
RTEMS: conditional fixups for pc386
2017-10-22 19:11:00 -05:00
Michael Davidsaver
aace975de1
RTEMS: probe for PCI varient of NE2000 NIC
...
Provided by QEMU
2017-10-22 19:10:35 -05:00
Andrew Johnson
67323ed84f
Fix warnings reported by clang 9.0.0
2017-10-20 10:47:50 -05:00
Ralph Lange
862451b1a8
Update submodules
2017-10-20 17:09:16 +02:00
Ralph Lange
d27b222347
Merge branch 3.16 into libcom/master
2017-10-20 17:07:26 +02:00
Ralph Lange
269e93d284
Merge 3.16 into database/master
2017-10-20 17:05:16 +02:00
Ralph Lange
b6c78adaaa
Merge 3.16 into ca/master
2017-10-20 17:01:44 +02:00
Ralph Lange
077ff94f9f
Merge from 3.16 branch
2017-10-20 16:55:36 +02:00
Andrew Johnson
d5a3df506c
Fix regex's, add tests for DBD::Base
...
Changed $RXname to accept {} chars in the middle of a PV name.
RXdqs now handles escaped double-quotes and back-slashes properly.
New test program for the DBD::Base class and checks for each of
the $RXxxx variable regex's.
2017-10-19 23:19:27 -05:00
Andrew Johnson
7a0b095fd3
Remove /o flags from Perl regex's
...
Apparently they don't help in modern Perls, and can cause problems.
This commit also replaces \d with [0-9], \d also matches foreign digits.
2017-10-19 23:14:12 -05:00
Andrew Johnson
11d2a64507
Clarify release entry wording
2017-10-18 20:12:20 -05:00
Andrew Johnson
2b15bc5f70
Can't dbUnregisterServer() if stopped & no stop() method
...
Unregistration is allowed if we're still registering though.
This allows for cases like rsrv, which doesn't have a stop method.
However the semantics of restarting servers after they have been
stopped hasn't been defined, and rsrv probably wouldn't work if
you tried that anyway, so I'm not convinced this is useful.
2017-10-18 19:12:50 -05:00
Andrew Johnson
fb5a2d8475
Added dbUnregisterServer() routine, plus tests
2017-10-18 18:12:21 -05:00
Andrew Johnson
0406ecebe9
Ignore dbServer registrations after init
...
Actually store all server states, and display it in dbsr()
2017-10-18 17:35:37 -05:00
Andrew Johnson
a939324270
Added call to dbStopServers() in iocShutdown()
...
Renamed buildRSRV => buildServers.
Don't call other dbXxxServers() routines or announce their related
initHook states when in buildIsolated mode.
2017-10-18 17:13:46 -05:00
Andrew Johnson
e3c9d5900e
Added timestamp support to the lnkCalc link type.
2017-10-18 15:39:22 -05:00
Ralph Lange
85712c5825
modules: remove example submodule
2017-10-17 11:48:51 +02:00
Ralph Lange
16b7a413df
doc: add simulation mode changes to release notes
2017-10-17 11:28:02 +02:00
Ralph Lange
f482ee6fe1
rec: add tests for simulation mode
2017-10-16 17:15:36 +02:00
Ralph Lange
4541551211
rec: improve and streamline simulation mode
2017-10-16 17:15:01 +02:00
Ralph Lange
597c93681f
db: add utility functions for simulation mode
2017-10-16 17:13:24 +02:00
Ralph Lange
c623715604
dbstatic: allow initial value of 65535 for MENU fields
2017-10-13 13:15:21 +02:00
Ralph Lange
3011ac2143
ioc/misc: remove double inclusion of dbBase.h in iocInit.c
2017-10-10 13:16:09 +02:00
Andrew Johnson
7eef48102c
Merge changes from 3.15 branch into 3.16
2017-10-10 09:56:31 +02:00
Ralph Lange
d7cda55d80
modules: make RELEASE.local use an absolute Base path
2017-10-02 09:36:43 +02:00
Andrew Johnson
cd14e2ee9f
Add missing calls to yajl_complete_parse()
...
Fixes leak when link parses OK but JSON errors follow.
Includes regression test.
2017-09-30 11:30:50 -05:00
Ralph Lange
d3387c16c3
travis-ci: fix scripts (executable bit, CONFIG_SITE location)
2017-09-28 16:25:34 +02:00
Ralph Lange
63cd93a5a4
modules: add pva2pva, example
2017-09-28 15:13:37 +02:00
Michael Davidsaver
d8d52e433c
rsrv: epicsExport.h is last import
2017-09-27 17:11:58 -05:00
Michael Davidsaver
6f4e466989
yajl: add EPICS_YAJL_API_VERSION macro
2017-09-27 17:03:54 -05:00
Michael Davidsaver
8f679e1133
yajl: missing LL defs
2017-09-27 16:47:39 -05:00
Michael Davidsaver
06b2d4bb76
db/test: dbStressTest use monotonic
...
Conflicts:
src/ioc/db/test/dbStressLock.c
2017-09-27 16:36:54 -05:00
Michael Davidsaver
c8b60e0f1b
db/test: dbStressLock skip for RTEMS
...
This test assumes that several threads with
equal priority will all run eventually.
This isn't true an UP target without
time sliced scheduling (eg. RTEMS).
2017-09-27 16:30:31 -05:00
Michael Davidsaver
1255cdc9ee
libCom/test: only run epicsUnitTest for host arch
...
custom .plt won't use WINE or QEMU when necessary.
2017-09-27 16:21:44 -05:00
Michael Davidsaver
12da38a7ca
build/run RTEMS-pc386 tests individually
...
Build and run individual test executable in addition
to the test harness.
Individual tests run with 'make runtests'.
omit epicsUnitTestTest as it has a custom .plt
2017-09-27 16:21:44 -05:00
Michael Davidsaver
f78e1f39d7
RTEMS: build self contained test harness
...
Test data stub as a separate file to allow
linking into test harness and individual tests.
2017-09-27 16:21:44 -05:00
Michael Davidsaver
684fe10d8c
RTEMS: Add epicsMemFs and hook for app specific FS setup
...
Default falls back to network FS.
Compile in a set of files as a epicsMemFS structure.
epicsMemFsLoad() creates a set of files based on this.
2017-09-27 16:21:44 -05:00
Michael Davidsaver
15b97f65cb
src/tools: teach makeTestfile about WINE and QEMU
...
Teach makeTestfile host to run test for some cross built
targets.
2017-09-27 16:21:44 -05:00
Michael Davidsaver
c1b0c1bac1
libCom/misc: testMain for RTEMS give weak alias for main()
...
Allows tests to be linked separately or in a common test harness
2017-09-27 16:09:49 -05:00
Michael Davidsaver
1c00e79b6b
monotonic: fix osx
2017-09-27 16:01:54 -05:00
Michael Davidsaver
cccab7437f
move EPICS_EXPOSE_LIBCOM_MONOTONIC_PRIVATE before all local includes
2017-09-27 16:01:54 -05:00
Michael Davidsaver
6aec8d9bcb
libCom/osi: fetch monotonic time
2017-09-27 16:01:54 -05:00
Ralph Lange
47c1bff49d
Update submodules
2017-09-27 15:44:24 +02:00
Ralph Lange
d71262b458
modules: add normativeTypes, pvaClient, pvDatabase
2017-09-27 15:16:00 +02:00
Ralph Lange
b27cd36e41
travis-ci: add ca and database as dependencies for pvAccess
2017-09-26 15:42:43 +02:00
Ralph Lange
e7a8ac6c38
modules: add pvData, pvAccess
2017-09-26 13:39:04 +02:00
Andrew Johnson
0818267371
Update submodules
2017-09-22 14:41:28 -05:00
Andrew Johnson
b6027d33bd
Use 'make test-results' target
2017-09-22 14:40:20 -05:00
Andrew Johnson
a866ead649
Use 'make test-results' target
2017-09-22 14:39:43 -05:00
Andrew Johnson
ed7798ba08
Use 'make test-results' target
2017-09-22 14:39:18 -05:00
Andrew Johnson
33ebd72d43
Use 'make test-results' target
2017-09-22 14:38:41 -05:00
Andrew Johnson
8843d20bc6
Update comments in RELEASE file
2017-09-22 14:36:36 -05:00
Andrew Johnson
abb8136817
Update comments in RELEASE file
2017-09-22 14:36:24 -05:00
Andrew Johnson
6d4f58fd9b
Update comments in RELEASE file
2017-09-22 14:35:40 -05:00
Andrew Johnson
cd8d8e6890
ModuleDirs files don't need TOP any more
2017-09-22 14:29:43 -05:00
Andrew Johnson
c56fbc84b0
dbExpand.pl needs databaseModuleDirs
...
When built stand-alone, needs it to locate EPICS::Getopts
2017-09-22 14:28:55 -05:00
Andrew Johnson
044b7a31ef
Use @TOP@ and @ARCH@ in .plt files
...
No need for msi-copy(.exe) as a result.
Tests should now work with INSTALL_LOCATION set, and
don't need to use databaseModuleDirs either.
2017-09-22 14:27:14 -05:00
Andrew Johnson
186a9f5329
Move maclib.pm to libcom
2017-09-22 14:21:36 -05:00
Andrew Johnson
9be4d01e8a
Move macLib.plt to libcom
2017-09-22 14:21:34 -05:00
Andrew Johnson
33f503722e
Add caModuleDirs.pm, needed for capr.pl
2017-09-22 14:15:27 -05:00
Andrew Johnson
ee4b3b9056
Move macLib.pm and macLib.plt here
...
Use @TOP@ in macLib.plt library path
2017-09-22 14:13:35 -05:00
Andrew Johnson
10849a0df3
RULES: Expand @TOP@ and @ARCH@ in .plt files
...
Use this in Snippets.plt
2017-09-22 14:05:37 -05:00
Ralph Lange
ec30e4ac84
travis-ci: fix RTEMS/qemu builds
2017-09-22 11:29:38 +02:00
Ralph Lange
722a4c4e38
travis-ci: fix RTEMS/qemu builds
2017-09-22 11:19:04 +02:00
Ralph Lange
79739f3eec
travis-ci: fix RTEMS/qemu builds
2017-09-22 10:04:27 +02:00
Ralph Lange
bfefd9e16e
ci: add defaults for location macros
2017-09-21 17:25:27 +02:00
Ralph Lange
c0742264e2
ci: simplify .travis.yml
2017-09-21 17:06:30 +02:00
Ralph Lange
7458569f10
ci: add single module build for Travis CI
2017-09-21 13:05:40 +02:00
Ralph Lange
f7fc668dda
ci: add single module build for Travis CI
2017-09-21 12:56:30 +02:00
Ralph Lange
1b2e8f0be1
ci: add single module build for Travis CI
2017-09-21 11:19:49 +02:00
Ralph Lange
c31b91e24c
Add submodules libcom ca database
2017-09-20 16:51:24 +02:00
Ralph Lange
c954032245
Freeze SONAME=3.17.0
2017-09-20 16:50:34 +02:00
Ralph Lange
c72294f99e
Freeze SONAME=3.17.0
2017-09-20 16:50:13 +02:00
Ralph Lange
701309fc4a
Freeze SONAME=4.13.1
2017-09-20 16:43:23 +02:00
Ralph Lange
6bf805c420
Add submodule context
2017-09-20 14:39:32 +02:00
Ralph Lange
2692c0698a
tools: add local TOP/lib/perl to Perl include path
2017-09-20 14:39:17 +02:00
Ralph Lange
bc4957155b
ci: consolidate file and directory names
2017-09-20 14:37:46 +02:00
Ralph Lange
81d3ac78aa
configure: use $(abspath) for executables
2017-09-20 11:15:10 +02:00
Ralph Lange
4793b27a0c
db: fix dbUnitTest for changes in error symbol table
2017-09-20 11:15:04 +02:00
Ralph Lange
f6c205dafe
ioc: add module version numbering
2017-09-20 11:14:58 +02:00
Ralph Lange
6ab01f23c5
test: fix path to private db includes
2017-09-20 11:14:50 +02:00
Ralph Lange
a028de1e7b
Perl scripts use perl module for RELEASE dependencies
2017-09-20 09:33:29 +02:00
Ralph Lange
3b469fec58
Change paths for tools from this module
2017-09-20 09:33:22 +02:00
Ralph Lange
7ad0210ef6
Structural changes to create database module
2017-09-20 09:32:53 +02:00
Andrew Johnson
a861760dbb
Give dbRegisterServer a return value (0/-1)
...
Add tests to check registration failures.
2017-09-19 22:24:06 -05:00
Andrew Johnson
d1018d27a4
Fix check for double-registration, add test
2017-09-19 22:09:41 -05:00
Andrew Johnson
cffa2e8f46
Fix typo in cvtFast.c
...
Probably only affects MEDM
2017-09-19 16:38:27 -05:00
Ralph Lange
765b53e3fd
client: add module version numbering
2017-09-19 17:02:48 +02:00
Ralph Lange
c55fb421ce
Structural changes to create ca module
2017-09-19 17:02:36 +02:00
Ralph Lange
2b688f8116
configure: use $(abspath) for running local executables
2017-09-19 15:38:35 +02:00
Ralph Lange
7660480a5f
Perl scripts use perl module for RELEASE dependencies
2017-09-19 15:38:28 +02:00
Ralph Lange
0fdb995a0b
error: errlog/errsym registration updates by Andrew
2017-09-19 15:38:18 +02:00
Ralph Lange
2627389788
test: fix include path for private header under src
2017-09-19 15:38:02 +02:00
Ralph Lange
3b733bc373
Add module version numbering
2017-09-19 15:37:49 +02:00
Ralph Lange
af7315065a
Fix location of TOOLS in top Makefile
2017-09-19 15:10:43 +02:00
Ralph Lange
dd115b54b6
error: reduce error symbol table scope to local sources
2017-09-19 15:10:34 +02:00
Ralph Lange
2eb0ba9a8e
error: remove fake dependency to dbDefs.h
2017-09-19 15:10:15 +02:00
Ralph Lange
f7fadc9312
Structural changes to create libcom module
2017-09-19 15:09:52 +02:00
Ralph Lange
a27d7440f3
Add Perl include path mechanism (by Andrew)
2017-09-19 12:02:14 +02:00
Ralph Lange
f2a899b92b
configure: no implicit installation (overwrite) of config files
2017-09-19 12:02:14 +02:00
Ralph Lange
53000504d0
configure: remove cas/gdd from EPICS_BASE_HOST_LIBS
2017-09-19 12:02:14 +02:00
Ralph Lange
d9515dbabc
configure: clean up INSTALL_LOCATION/configure unless installing in TOP
2017-09-19 12:02:14 +02:00
Ralph Lange
80efa20729
configure: set Base version to 7.0.1-DEV
2017-09-19 12:02:14 +02:00
Ralph Lange
fa27a9dabb
Structural changes to create core module
2017-09-19 12:02:12 +02:00
Andrew Johnson
5641afa0e2
Change pvlOptTSELisTime to DBLINK_FLAG_TSELisTIME
...
Renames recGblTSELwasModified() to TSEL_modified() in dbLink.c.
Adds some tests for using JSON link types in dbCommon links.
2017-09-19 00:12:18 -05:00
Michael Davidsaver
c036fd056b
missing test files
2017-09-15 17:10:04 -05:00
Michael Davidsaver
522c2e562e
libCom/test: epicsThreadTest cleanup
2017-09-15 17:06:03 -05:00
Michael Davidsaver
90359d87ba
quiet win32 warnings
2017-09-15 17:05:46 -05:00
Andrew Johnson
1fe3e9e772
Add dummy putValue methods to const link types
...
Includes a new softTest program to detect regressions.
Resolves http://www.aps.anl.gov/epics/core-talk/2017/msg00503.php
2017-09-07 13:48:39 -05:00
Andrew Johnson
736b81e044
Merge changes from 3.15 branch
...
Includes separate fix for alarm severity regression.
2017-09-02 23:52:22 -05:00
Michael Davidsaver
0205dcc61f
Merge branch '3.15'
...
* 3.15:
rsrv: fix recv() error handling on WIN32
rsrv: export CASDEBUG to iocsh
rsrv: flush any queued messages before forced disconnect
rsrv: locking in cas_send_bs_msg()
rsrv: missing send lock around send_err()
rsrv: drop un-commited VERSION message
rsrv: add some comments
rsrv: avoid possible overflow in vsend_err()
Use static strings for epicsInterruptContextMessage()
# Conflicts:
# src/ioc/rsrv/camessage.c
2017-08-01 17:20:21 +02:00
Andrew Johnson
d1f60e4c8c
dbRegisterServer: Don't ignore sub-string names
...
Also adjusts the tests to check we do it properly.
2017-07-29 01:30:45 -05:00
Andrew Johnson
7c6b037252
Add explicit "no servers" message to dbsr()
...
Make dbsr explicitly say so if no dbServer layers have been
registered with the dbServer API.
2017-07-29 00:51:31 -05:00
Michael Davidsaver
296fb35a5c
db_cleanup_events handle 0
2017-07-28 11:18:56 +02:00
Andrew Johnson
519a75fde6
Merge vpath fix from 3.15 branch
2017-07-26 12:04:25 -05:00
Michael Davidsaver
d2fad17be7
rsrv: fix large array expansion
...
Causes a crash when a larger buffer is made even larger.
Previous buffer not being free'd correctly.
2017-07-26 17:58:01 +02:00
Andrew Johnson
461daadd5b
Release Notes entry
2017-07-25 00:39:40 -05:00
Andrew Johnson
2cf997ddbf
Test EPICS_IOC_IGNORE_SERVERS variable
2017-07-25 00:38:34 -05:00
Andrew Johnson
ba9763f551
Set test plan
2017-07-23 23:35:03 -05:00
Andrew Johnson
17e6060d16
Added some dbServer unit tests
2017-07-23 23:30:04 -05:00
Andrew Johnson
306a53503a
Add no-strict-aliasing compiler flags to gdd & pcas
2017-07-05 17:02:28 -05:00
Andrew Johnson
7a571989f8
Add yajl test for trailing commas in arrays and maps
2017-06-26 23:34:07 -05:00
Andrew Johnson
50028f2eda
Fix yajl_test bug
...
Test program doesn't always read from stdin, although in both
the original and the EPICS test director it does.
2017-06-26 23:32:10 -05:00
Andrew Johnson
c288de3bf2
Add yajl parser tests
...
yajl_test.c is the test runner, from the yajl distribution.
The yajlTestConverter.pl script converts the yajl distribution's
test case files into a data structure in yajlTestCases.pm.
yajlTest.plt is a test director which reads the test cases from
yajlTestCases.pm and runs them through the yajl_test program.
2017-06-26 00:40:17 -05:00
Andrew Johnson
08ad4de161
yajl: Out-of-memory handling; another size_t
2017-06-24 01:20:39 -05:00
Andrew Johnson
c2d22ed925
Added Doxygen comments for dbServer API
2017-06-24 00:04:20 -05:00
Andrew Johnson
db3e79e4b7
Merged changes from 3.15 branch into 3.16
2017-06-22 19:00:51 -05:00
Andrew Johnson
fb9e55a76e
Fix scalar link initialization from hex constants
...
Partially fixes LP: #1699445
Includes regression tests, with TODO for arrays which are still broken
and need a full JSON5 parser to fix.
2017-06-22 18:45:10 -05:00
Andrew Johnson
cc0dacedb5
Merge changes from 3.15 branch into 3.16
2017-06-20 15:54:35 -05:00
Andrew Johnson
79fe79ad56
Merged changes from 3.15 branch into 3.16
2017-06-14 14:55:53 -05:00
Andrew Johnson
6efe292494
Add EPICS_IOC_IGNORE_SERVERS environment variable
...
dbServers cannot be registered when their names appear in this
variable, so they should remain inactive. This feature is mainly
intended for debugging, so the crude name search should be OK.
2017-06-13 23:36:30 -05:00
Andrew Johnson
f464274439
Remove declarations of previously-deleted functions
...
Fixes LP: #1696801
2017-06-12 18:15:12 -05:00
Andrew Johnson
2d1d14e4b4
Make rsrv register itself using a DBD file
...
This allows the rsrv to be excluded by removing 'include rsrv.dbd'
from a local copy of the base.dbd file.
Server initialization, running and pausing are moved to new
methods of the dbServer object, and the existing registration
path is converted to just use the new rsrv.dbd file.
2017-06-06 23:18:55 -04:00
Andrew Johnson
4c6b570a46
Permit trailing commas in JSON maps & arrays
...
Handled in both dbYacc and yajl parsers.
Adds tests to linkInitTest.
2017-06-05 12:49:26 -05:00
Andrew Johnson
e1ba1c6bba
Fix YAJL token names, brace <=> bracket
...
This breaks future updates from upstream, but it looks like the
original author has abandoned the project anyway.
2017-06-05 12:01:37 -05:00
Andrew Johnson
7980d78908
Add tests for 64-bit constant link initializers
2017-06-04 00:40:53 -05:00
Andrew Johnson
80fa616a86
Convert lnkConst to 64 bit integers
2017-06-04 00:40:53 -05:00
Andrew Johnson
70a46e9c2c
Adjust IOC code for yajl-2.1.0 API
2017-06-04 00:40:53 -05:00
Andrew Johnson
de43941083
Upgrade yajl sources to 2.1.0
2017-06-04 00:40:53 -05:00
Andrew Johnson
d47b1a1854
Reset snapshot to -DEV
2017-06-02 14:57:58 -05:00
Andrew Johnson
ee91b29fe0
Clear version snapshot for 3.16.1 final release
2017-06-02 14:54:58 -05:00
Andrew Johnson
0c9254f768
Final documentation updates
2017-06-02 14:53:11 -05:00
Andrew Johnson
073f3f33a6
Merge 3.15 branch into 3.16
2017-06-01 16:42:10 -05:00
Andrew Johnson
77c00faabe
Merge 3.15 branch into 3.16
2017-05-30 17:17:59 -05:00
Andrew Johnson
117e294ec6
Set asynSoftTest plan
2017-05-27 21:59:44 -05:00
Andrew Johnson
afdb6af0c7
Fix buffer size issue in devI64inSoftCallback
2017-05-27 21:56:10 -05:00
Andrew Johnson
b97f04464c
Add asyncSoftTest to record test harness
2017-05-27 21:45:46 -05:00
Andrew Johnson
b2473f939f
Rename asyncSoft main routine
2017-05-27 21:41:37 -05:00
Andrew Johnson
c05fa4ddb7
Add tests for Async Soft Channel devices
2017-05-27 20:57:42 -05:00
Andrew Johnson
c8fcfbea9f
Convert all Async Soft Channel input devices to use link support
2017-05-27 20:35:53 -05:00
Andrew Johnson
07aa712b07
Convert int64out Async Soft Channel device to use link support
2017-05-27 20:33:38 -05:00
Michael Davidsaver
1865e84321
ioc/db: dbLockCleanupRecords() warn only if lockSets remain
2017-05-24 18:41:32 -04:00
Andrew Johnson
7efba21d1f
Fix 32-bit issue in linkInitTest.c
2017-05-24 16:41:34 -04:00
Andrew Johnson
c22c94a3aa
Convert devI64inSoft for Link Support
...
Includes tests to make sure it actually works
2017-05-24 00:20:38 -04:00
Andrew Johnson
542353aedb
Fix aai constant initialization
...
The aai record is "special" and does things its own way.
These changes let it support {const:[...]} initialization without
breaking regular input link types which could be initialized twice
without the new DBLINK_FLAG_INITIALIZED guard in dbInitLink().
Also adds tests for this, and for similar links for waveform.
2017-05-23 23:51:26 -04:00
Andrew Johnson
c670ef0199
Merge 3.15 branch into master
2017-05-19 17:42:40 -05:00
Andrew Johnson
43ea188385
Merge 3.15 branch into 3.16
...
# Conflicts:
# configure/CONFIG_BASE
# configure/RULES_BUILD
2017-05-18 17:10:40 -05:00
Andrew Johnson
ffa7399c71
Merge changes from 3.15 branch
2017-05-11 16:39:52 -05:00
Ralph Lange
78b910574d
ci/appveyor: print perl version to console log
2017-05-10 17:31:25 +02:00
Andrew Johnson
020f09e83a
Fix EPICS_CA_AUTO_ARRAY_BYTES doc'n in CAref.html
2017-05-09 14:58:40 -05:00
Andrew Johnson
ac590e671e
Adjustments to Checklist commands
2017-05-09 14:46:25 -05:00
Andrew Johnson
e0dea7ab23
Set snapshot to -rc1-DEV
2017-05-09 14:45:55 -05:00
Andrew Johnson
7aefee6737
Set Base version number for 3.16.1-rc1
2017-05-09 14:00:29 -05:00
Andrew Johnson
f9564a3b82
Various Release Notes tweaks
2017-05-09 13:57:17 -05:00
Andrew Johnson
17da4bfc1f
Additional ReleaseChecklist updates
2017-05-09 13:08:59 -05:00
Ralph Lange
2fe8d82872
ci: make appveyor version number unambiguous
2017-05-09 14:03:40 +02:00
Ralph Lange
2ff9f249a0
ci: add appveyor configuration
2017-05-09 12:01:36 +02:00
Andrew Johnson
5ec1340902
Convert ReleaseChecklist commands to git
2017-05-08 20:45:39 -05:00
Michael Davidsaver
269f828733
ca: assume that CA name servers have minor version >=12
...
Assume that servers listed in EPICS_CA_NAME_SERVERS
support CA >=12, practically >=1 to support the
authentication messages.
2017-05-07 20:27:34 -04:00
Michael Davidsaver
4ce60c9797
src/tools: avoid dep. warning in rRDD generated
...
when building a support module
2017-05-07 20:27:34 -04:00
Michael Davidsaver
d5fc8c9b76
ioc/dbStatic: reduce warning spam for typed rset
...
There are an amazing number of warnings in any code which
includes recSup.h indirectly, including dbStaticLib.h.
Don't use the RECSUPFUN typedef internally to reduce
the number.
2017-05-07 10:06:38 -04:00
Andrew Johnson
93c0dcd3e5
Missing include
2017-05-06 01:11:53 -05:00
Andrew Johnson
fd583ac594
Fix MSC 2-digit-exponent in cvtFastTest.c
2017-05-06 00:41:52 -05:00
Michael Davidsaver
9621ff1552
libCom/test: cvtFastTest improve output
2017-05-05 20:54:19 -04:00
Michael Davidsaver
3f49787be1
ioc/db/test: fix jlinkz dllimport/export
2017-05-05 20:38:20 -04:00
Michael Davidsaver
bbd9ba0b6d
std/filters: fix filters test harness
2017-05-05 20:15:03 -04:00
Michael Davidsaver
fcd443a026
missing test spec
2017-05-05 17:14:15 -04:00
Michael Davidsaver
02809de380
fix long long constants
2017-05-04 21:13:07 -04:00
Michael Davidsaver
987943be4e
Merge remote-tracking branch 'int64b/master'
...
* int64b/master: (25 commits)
std/rec: streamline variable names in int64in/int64out
std/rec/test: recMiscTest check in64in/out
ioc/db: dbUnitTest helps support int64
std/rec: ioc64in/outRecord typed rset
minor
std/rec: fix copyright in int64in sources
std: remove SCM keywords from int64in and int64out sources
std/rec: fix promptgroups in dbd.pod files
std/rec: add and improve pod for int64in and int64out
std/rec: add pod documentation content for int64out
std/rec: add pod documentation for int64out record
dbStatic: dbPutStringNum() overflow handling
dbStatic: more informative error for bad field value
dbStatic: dbPutStringNum(, "") not an error
Release Notes
cvtFastPerform: Rename reserved member names, fix for vxWorks
Simplify epicsConvertDoubleToFloat()
More cvtFastPerform changes
Collate and report by precision
Restructure cvtFastPerform, fix VxWorks build
...
2017-05-04 20:18:24 -04:00
Michael Davidsaver
16a3657613
Merge remote-tracking branch 'linksup/master'
...
* linksup/master: (112 commits)
ioc/dbStatic: rename link debugging info tags
jlif future proof for 64-bit json parser
Demonstrate and use numeric literals in calc args
separate jlink and lset debug flags
std/link: runtime conditional debugging in calc/const
std/rec/test: extend linkRetargetLink w/ jlink
ioc/db: dbUnitTest add testdbPutArrFieldOk()
ioc/db: cleanup dbEvent freeLists
ioc/db: dbUnitTest testMonitor leaks dbChannel
std/link: all calc example
jlink conditional debug print
ioc/as: dbCore needs ca
Additional linkInitTest checks
Minimize work done in readLocked routine
Minimize work done in readLocked() routine
Cosmetic changes to various soft device supports
Enhancements to subArray record & soft device support
Fix bug in eventRecord::init_record
Updates to Release Notes and links.html
Make dbLinkIs{Constant|Volatile}() return only true/false
...
Conflicts:
documentation/RELEASE_NOTES.html
src/ioc/db/dbAccess.c
2017-05-04 20:14:30 -04:00
Michael Davidsaver
8ae7930375
ioc/dbStatic: rename link debugging info tags
2017-05-04 20:12:02 -04:00
Andrew Johnson
05d3e640cd
Testing msi: Add retries if necessary
...
Hoping this will fix the annoying problems on Windows Jenkins.
2017-05-04 14:48:18 -05:00
Andrew Johnson
efe8d69f82
dbStaticTest: More friendly test output
2017-05-04 12:33:32 -05:00
Andrew Johnson
2c65739286
Change indfield settings in new dbInitEntryFrom*()
...
Can get indfield value from dbAddr->pflddes->indRecordType.
Make FromRecord set indfield=0 like dbFindRecord() does.
Adjust dbStaticTest to match.
2017-05-04 12:31:17 -05:00
Andrew Johnson
93fe387e87
Fix dbStaticTest recnode flags check
2017-05-04 12:23:57 -05:00
Ralph Lange
ad0695b119
std/rec: streamline variable names in int64in/int64out
2017-05-04 09:27:23 +02:00
Michael Davidsaver
8f880a614c
ioc/db/test: check record node flags
2017-05-03 19:32:50 -04:00
Michael Davidsaver
7805fbe295
ioc/dbStatic: rename dbRecordNode aliasedRecord -> aliasedRecnode
2017-05-03 19:31:38 -04:00
Michael Davidsaver
2a81e0b338
std/rec/test: recMiscTest check in64in/out
2017-05-03 19:18:52 -04:00
Michael Davidsaver
5e0dc5d1c9
ioc/db: dbUnitTest helps support int64
2017-05-03 18:39:43 -04:00
Michael Davidsaver
1b16c7130b
std/rec: ioc64in/outRecord typed rset
2017-05-03 17:58:29 -04:00
Michael Davidsaver
925d03bcec
minor
2017-05-03 17:54:58 -04:00
Michael Davidsaver
1151d78cb5
Merge remote-tracking branch 'launchpad/master'
...
* launchpad/master: (116 commits)
ioc/rsrv: bounds check DBR
CAref mention EPICS_CA_MCAST_TTL
EPICS_CA_AUTO_MAX_ARRAY_BYTES -> EPICS_CA_AUTO_ARRAY_BYTES
missing include
ioc/db/test: dbStaticTest dbInitEntryFromAddr() works before iocInit()
ioc/db/test: dbStaticTest test operations on aliases
ioc: rename dbCommonPvt::recnode
ioc/dbStatic: better alias tracking
ioc/dbStatic: add dbInitEntryFromRecord()
ioc: populate RDES early
rename dbInitEntryFromChannel -> dbInitEntryFromAddr
ioc/db: Add dbCommonPvt
ioc/dbStatic: add dbInitEntryFromChannel()
ioc/dbStatic: dbAllocRecord whitespace
ioc/rsrv: fix C89 issue
add EPICS_CA_MCAST_TTL
update RELEASE_NOTES
replace caLimitArray with EPICS_CA_AUTO_MAX_ARRAY_BYTES
update RELEASE_NOTES
rename iocshFind -> iocshFindCommand
...
Conflicts:
documentation/RELEASE_NOTES.html
src/ioc/db/dbConvert.c
src/ioc/db/dbFastLinkConv.c
src/ioc/db/test/Makefile
src/ioc/db/test/dbPutGetTest.c
src/ioc/db/test/dbPutGetTest.db
src/ioc/dbStatic/dbStaticRun.c
2017-05-03 17:54:43 -04:00
Michael Davidsaver
b4c625d8d1
jlif future proof for 64-bit json parser
2017-05-03 17:27:57 -04:00
Michael Davidsaver
096fb5e0a2
Merge remote-tracking branch 'addr2entry/master'
...
* addr2entry/master:
ioc/db/test: dbStaticTest dbInitEntryFromAddr() works before iocInit()
ioc/db/test: dbStaticTest test operations on aliases
ioc: rename dbCommonPvt::recnode
ioc/dbStatic: better alias tracking
ioc/dbStatic: add dbInitEntryFromRecord()
ioc: populate RDES early
rename dbInitEntryFromChannel -> dbInitEntryFromAddr
ioc/db: Add dbCommonPvt
ioc/dbStatic: add dbInitEntryFromChannel()
ioc/dbStatic: dbAllocRecord whitespace
2017-05-03 17:07:07 -04:00
Michael Davidsaver
8640e1c9fb
Merge remote-tracking branch 'launchpad/3.15'
...
* launchpad/3.15:
ioc/rsrv: bounds check DBR
2017-05-03 17:06:51 -04:00
Michael Davidsaver
d154d8eab7
CAref mention EPICS_CA_MCAST_TTL
2017-05-03 14:17:56 -04:00
Michael Davidsaver
3fbdcdb032
EPICS_CA_AUTO_MAX_ARRAY_BYTES -> EPICS_CA_AUTO_ARRAY_BYTES
2017-05-03 13:59:35 -04:00
Ralph Lange
eedf296cd2
std/rec: fix copyright in int64in sources
2017-05-03 17:07:46 +02:00
Ralph Lange
f0d7d42ab4
std: remove SCM keywords from int64in and int64out sources
2017-05-03 17:07:06 +02:00
Ralph Lange
5761028d6f
std/rec: fix promptgroups in dbd.pod files
2017-05-03 17:00:19 +02:00
Michael Davidsaver
fbc1ed26f0
missing include
2017-05-03 10:18:32 -04:00
Ralph Lange
93b47f103e
std/rec: add and improve pod for int64in and int64out
2017-05-03 16:17:27 +02:00
Michael Davidsaver
1917d0563a
ioc/db/test: dbStaticTest dbInitEntryFromAddr() works before iocInit()
2017-05-02 21:30:43 -04:00
Michael Davidsaver
da4bf2d5ee
ioc/db/test: dbStaticTest test operations on aliases
2017-05-02 21:12:09 -04:00
Michael Davidsaver
ec3a89e43c
ioc: rename dbCommonPvt::recnode
2017-05-02 21:11:46 -04:00
Michael Davidsaver
62475a383e
ioc/dbStatic: better alias tracking
...
Ensure that alias of alias sets DBRN_FLAGS_HASALIAS
on the aliased dbRecordNode.
Add dbFollowAlias() for completeness.
2017-05-02 21:11:46 -04:00
Michael Davidsaver
6ba949cdb4
ioc/dbStatic: add dbInitEntryFromRecord()
2017-05-02 21:11:46 -04:00
Michael Davidsaver
5d37bc2996
ioc: populate RDES early
...
The record type is known at allocation time,
so store RDES immediately.
2017-05-02 21:11:46 -04:00
Michael Davidsaver
2eaede9925
rename dbInitEntryFromChannel -> dbInitEntryFromAddr
2017-05-02 21:11:46 -04:00
Michael Davidsaver
12d68e6021
ioc/db: Add dbCommonPvt
...
Add some hidden "fields" for every record.
Allows Base internal hidden accounting
which can be changed without an ABI break.
2017-05-02 21:11:46 -04:00
Michael Davidsaver
78a7ad168e
ioc/dbStatic: add dbInitEntryFromChannel()
...
Constant time population of a DBENTRY from
a valid dbAddr.
2017-05-02 21:11:46 -04:00
Michael Davidsaver
f716b1b26a
ioc/dbStatic: dbAllocRecord whitespace
2017-05-02 21:11:46 -04:00
Michael Davidsaver
0bbb381efd
ioc/rsrv: fix C89 issue
2017-05-02 21:06:35 -04:00
Michael Davidsaver
f2a1834dc9
add EPICS_CA_MCAST_TTL
...
may be necessary/helpful for mcast search/beacon usage
across sub-nets.
2017-05-02 20:35:00 -04:00
Michael Davidsaver
6572816a6a
update RELEASE_NOTES
2017-05-02 20:16:49 -04:00
Michael Davidsaver
c304e29da6
Merge remote-tracking branch 'cahuge/master'
...
* cahuge/master:
replace caLimitArray with EPICS_CA_AUTO_MAX_ARRAY_BYTES
ca: fix export caLimitArray on win32
rsrv: export variable caLimitArray
rsrv: optional max_array_bytes
cas: simplify buffer alloc
ca: large array free list is optional
rsrv: support larger than max. array bytes
pcas: support larger than max array bytes
ca: support alloc larger than max array bytes
2017-05-02 20:06:54 -04:00
Michael Davidsaver
9fd8eec2e2
replace caLimitArray with EPICS_CA_AUTO_MAX_ARRAY_BYTES
2017-05-02 19:31:21 -04:00
Michael Davidsaver
a873c4f3dc
Merge remote-tracking branch 'launchpad/3.15'
...
* launchpad/3.15:
rename iocshFind -> iocshFindCommand
Added patch
Changed function outputs to remove pointer to next function.
more whitespace
whitespace
Added functions to allow access to what functions and variables the ioc shell has registered.
missing include
ioc/dbStatic: dbFreeBase() don't double free alias'd records
ioc/dbStatic: plug leak in dbFreeBase()
ioc/dbStatic: whitespace
Fix indentation warning from GCC
libCom/test: errlog test more verbose
libCom: STATIC_ASSERT use c++11 static_assert when possible
Check for empty PV names in Perl catools
Conflicts:
src/std/rec/subRecord.c
2017-05-02 19:08:51 -04:00
Michael Davidsaver
26650d6cbf
update RELEASE_NOTES
2017-05-02 19:02:18 -04:00
Michael Davidsaver
d1a0b74c83
Merge remote-tracking branch 'camodern/master'
...
* camodern/master:
cas: ignore CA client version older than v4.4
rsrv: remove !CA_V44() code
rsrv: no ca exception response to UDP
rsrv: ignore CA client version older than v4.4
cas: honor DOREPLY for TCP searches
cas: ignore echo and unexpected UDP
rsrv: send channel create failure
rsrv: UDP search ignore DOREPLY
rsrv: ignore echo and unexpected UDP
Conflicts:
src/ca/legacy/pcas/generic/casDGClient.cc
2017-05-02 18:41:09 -04:00
Andrew Johnson
83428d2b2c
db/test: Cleanup unused variable
2017-05-02 12:39:09 -05:00
Ralph Lange
1235ad76e7
std/rec: add pod documentation content for int64out
2017-05-02 13:51:44 +02:00
Andrew Johnson
1cad1c5ba6
Demonstrate and use numeric literals in calc args
2017-04-29 20:43:54 -05:00
Michael Davidsaver
12fc7ed07c
libCom: add EPICS_FUNCTION
...
Automatic macro which expands to the current function name.
Useful in debug prints.
2017-04-28 19:19:14 -04:00
Michael Davidsaver
564ef01951
typo
2017-04-28 19:19:14 -04:00
Michael Davidsaver
f65b2119ad
separate jlink and lset debug flags
...
"lsetDebug" for lset callbacks and "jlinkDebug" for jlink parsing.
2017-04-28 17:11:47 -04:00
Michael Davidsaver
4a9fe82575
std/link: runtime conditional debugging in calc/const
2017-04-28 16:59:26 -04:00
Michael Davidsaver
2a1f790909
std/rec/test: extend linkRetargetLink w/ jlink
2017-04-28 16:59:26 -04:00
Michael Davidsaver
d752b962d5
ioc/db: dbUnitTest add testdbPutArrFieldOk()
2017-04-28 16:44:18 -04:00
Michael Davidsaver
b4db176e48
ioc/db: cleanup dbEvent freeLists
2017-04-28 15:47:27 -04:00
Michael Davidsaver
d397f0fd92
ioc/db: dbUnitTest testMonitor leaks dbChannel
2017-04-28 15:43:17 -04:00
Ralph Lange
b096dc3e01
std/rec: add pod documentation for int64out record
2017-04-28 16:41:02 +02:00
Michael Davidsaver
be8de34130
std/link: all calc example
2017-04-27 19:50:46 -04:00
Michael Davidsaver
579a0791ea
jlink conditional debug print
...
Enable magic info("linkDebug","YES") to enable
debug prints during parsing.
2017-04-27 19:46:33 -04:00
Michael Davidsaver
e51cc39b0c
ioc/as: dbCore needs ca
2017-04-27 17:24:23 -04:00
Michael Davidsaver
e296e99667
Merge remote-tracking branch 'launchpad/master'
...
* launchpad/master:
libCom: dbmfMalloc cantProeed() on failure
ioc/db/test: dbCaLinkTest fix sync
oops
std/filter/test: use dbUnitTest
travis-ci enable mingw w/ dll
travisci
catools: Fix SEGFAULT from bad PV names
typo
Fix for dbCa warning seg-fault
Fix postfix.h macro arg, document
libCom/test: epicsCalcTest use exact postifx buffers
Conflicts:
src/ioc/db/test/dbCaLinkTest.c
2017-04-27 17:17:29 -04:00
Michael Davidsaver
8677c84528
libCom: dbmfMalloc cantProeed() on failure
...
most calling code doesn't check for NULL.
2017-04-27 15:30:35 -04:00
Michael Davidsaver
052573f4ca
ioc/db/test: dbCaLinkTest fix sync
2017-04-27 15:14:58 -04:00
Michael Davidsaver
7a727bbd41
Merge remote-tracking branch 'launchpad/3.15'
...
* launchpad/3.15:
oops
std/filter/test: use dbUnitTest
travis-ci enable mingw w/ dll
travisci
catools: Fix SEGFAULT from bad PV names
typo
Fix for dbCa warning seg-fault
Fix postfix.h macro arg, document
libCom/test: epicsCalcTest use exact postifx buffers
2017-04-27 14:31:53 -04:00
Andrew Johnson
0748adfb9a
Additional linkInitTest checks
...
Now tests array record types and the eventRecord.
Also moved repeated IOC startup code into separate function.
2017-04-26 16:04:13 -05:00
Andrew Johnson
4813b37538
Minimize work done in readLocked routine
...
Move post-I/O back to read_event.
Fix initialization bug.
2017-04-26 16:01:09 -05:00
Andrew Johnson
bbd94928bb
Minimize work done in readLocked() routine
...
Move post-I/O work back to the read_xx routines.
2017-04-26 15:59:03 -05:00
Andrew Johnson
c13a4f24ce
Cosmetic changes to various soft device supports
2017-04-26 15:55:03 -05:00
Andrew Johnson
d1af663705
Enhancements to subArray record & soft device support
...
Permit record's use as a look-up-table by reading constant
input array data in dset::read_sa() routine.
Move sub-array operation into a separate function.
Extract subarray from constant INP value at device init.
Reduce the work done inside readLocked() to a minimum.
Limit NELM value to at most MALM in record init routine.
2017-04-26 15:52:08 -05:00
Andrew Johnson
4eafb6fd8e
Fix bug in eventRecord::init_record
...
Look up event handle /after/ the device init routine has been run,
in case it modified the event name in VAL. That didn't used to
be possible because constant links couldn't return strings.
2017-04-26 15:03:43 -05:00
Andrew Johnson
33f3145fcc
Updates to Release Notes and links.html
2017-04-25 22:52:08 -05:00
Andrew Johnson
c71afb631c
Make dbLinkIs{Constant|Volatile}() return only true/false
2017-04-25 20:37:09 -05:00
Andrew Johnson
da94b7a2e4
Fix dbConstLink to handle a long-string array properly
...
Added a new parser dbLSConvertJSON for long-string arrays.
New test checks that only the first string element is used.
2017-04-24 17:09:01 -05:00
Andrew Johnson
311ad57e93
printfRecord: Handle const long-strings in "%ls"
...
Adds some tests for printfRecord.
2017-04-24 15:18:52 -05:00
Andrew Johnson
30e634b97b
Adjust calcout's handling of undefined links
2017-04-23 23:32:15 -05:00
Andrew Johnson
421a2c8eb9
Tidy up lnkConst.c after Michael's bug-fix changes
...
Should make the code easier to follow.
2017-04-23 00:11:22 -05:00
Michael Davidsaver
cfe9a51c5d
std/rec/test: start linkInitTest
2017-04-21 17:26:58 -04:00
Michael Davidsaver
066984e11d
Merge branch 'master' into link
...
* master: (226 commits)
ioc/db: testdbGetFieldEqual() detect zero size
Cleanup in asLib
Allow whitespace before comments in AS config files
Supress MS warning C4251
Add a plan to std/filters/test/syncTest.c
Fix dbUnitTest.c
avoid void* +=
Fix and test for macLib losing error status
update notes
libCom/test: ipAddrToAsciiTest skip cleanup unless valgrind is possible
libCom/test: add ipAddrToAsciiTest to testHarness
db/test: dbPutGetTest check dbGet() of long string field
db: dbGet() ensure long string nil and actual string length
db/test: dbPutGetTest check for dbGet() attribute crash
db: fix dbGet() for attributes as long string
db/test: dbPutGetTest add test for lp:1678494
db: fix dbGet() of link fields as DBF_CHAR
dbUnitTest: add testdbGetArrFieldEqual()
db/test: add dbPutGetTest
Update release notes as per Michael's review comment
...
Conflicts:
src/ioc/db/dbLink.c
src/ioc/db/test/Makefile
src/std/dev/devSoSoftCallback.c
src/std/rec/boRecord.c
src/std/rec/dfanoutRecord.c
src/std/rec/longinRecord.c
src/std/rec/longoutRecord.c
2017-04-21 17:20:12 -04:00
Michael Davidsaver
6c062981fb
Merge remote-tracking branch 'launchpad/3.15'
...
* launchpad/3.15:
ioc/db: testdbGetFieldEqual() detect zero size
Cleanup in asLib
Allow whitespace before comments in AS config files
Supress MS warning C4251
Add a plan to std/filters/test/syncTest.c
Fix dbUnitTest.c
avoid void* +=
Fix and test for macLib losing error status
update notes
libCom/test: ipAddrToAsciiTest skip cleanup unless valgrind is possible
libCom/test: add ipAddrToAsciiTest to testHarness
Adjusted .gitignore patterns
libCom/test: add network libraries for Windows builds
Moved .bzrignore to .gitignore
libCom/test: add ipAddrToAsciiTest
libCom: revise ipAddrToAscii
2017-04-21 16:16:03 -04:00
Michael Davidsaver
54e94a1e12
std/link: lnkConst refactor
...
Avoid variable with same name as typedef.
Confuses qtcreator.
2017-04-21 16:08:48 -04:00
Michael Davidsaver
414e5b82b8
std/link: lnkCalc require expression
...
error if 'expr' key isn't provided.
2017-04-21 16:08:33 -04:00
Michael Davidsaver
b99a7b9252
std/link: lnkConst fix mem leak and hard fail on no mem
2017-04-21 16:08:15 -04:00
Michael Davidsaver
43f6a06bcd
std/link: lnkConst avoid cantProceed()
2017-04-21 16:08:10 -04:00
Michael Davidsaver
7121b016d5
ioc/db: dbConstLoadLS handle size=0
...
handle size=0 and clarify
2017-04-21 16:08:04 -04:00
Michael Davidsaver
8b24383e9e
arrayOpTest: check initial dbGet value
2017-04-21 16:07:55 -04:00
Andrew Johnson
e99fe61e07
Fix postfix.h macro arg and document
2017-04-21 14:18:05 -05:00
Andrew Johnson
23cef0339e
Fix buffer allocation bug in lnkCalc.c
2017-04-21 13:56:49 -05:00
Andrew Johnson
611cb3f52e
Fix typos, remove FIXMEs from lnkConst.c
2017-04-21 13:55:59 -05:00
Andrew Johnson
7e60faae10
No need to truncate const string array elements
2017-04-21 13:04:53 -05:00
Michael Davidsaver
4f1b244589
ca: fix export caLimitArray on win32
2017-04-20 09:54:05 -04:00
Andrew Johnson
dcb1f75b4d
Cosmetic cleanups
2017-04-19 16:53:12 -05:00
Andrew Johnson
89f13aa51b
Modify soft devices to synchronize TSEL=-2 timestamps
...
Use dbLinkDoLocked() to ensure a timestamp set by TSEL=-2
comes from the same update as the value.
2017-04-19 16:50:38 -05:00
Andrew Johnson
d2db634ed2
Add dbLinkDoLocked() support
...
New lset method, implemented in all link types.
Includes a test for the dbCa implementation.
2017-04-19 16:44:11 -05:00
Michael Davidsaver
6bf66d1c93
Merge remote-tracking branch 'launchpad/3.15'
...
* launchpad/3.15:
db/test: dbPutGetTest check dbGet() of long string field
db: dbGet() ensure long string nil and actual string length
db/test: dbPutGetTest check for dbGet() attribute crash
db: fix dbGet() for attributes as long string
db/test: dbPutGetTest add test for lp:1678494
db: fix dbGet() of link fields as DBF_CHAR
dbUnitTest: add testdbGetArrFieldEqual()
db/test: add dbPutGetTest
Adjusted .gitignore patterns
Move .bzrignore to .gitignore
2017-04-06 20:32:48 -04:00
Ralph Lange
865a870912
Merged typed-recsup branch (by Ben / Ralph)
2017-04-05 09:42:16 +02:00
Ralph Lange
9bfc8d8fad
Update release notes as per Michael's review comment
2017-04-03 09:55:06 +02:00
Andrew Johnson
23a856ae9b
Adjusted .gitignore patterns
2017-03-31 12:22:29 -05:00
Ralph Lange
6884e0ce61
Moved .bzrignore to .gitignore
2017-03-30 17:08:29 +02:00
Ralph Lange
9e778511ee
Add opt-in switch to makeBaseApp example
2017-03-30 16:35:54 +02:00
Ralph Lange
bad1b0ead3
Update release notes with opt-in instructions
2017-03-30 16:26:54 +02:00
Ralph Lange
ecf5ab4a4c
Deprecate RECSUPFUN and the untyped struct rset.
2017-03-30 16:14:09 +02:00
Ralph Lange
2f510af603
Use (typed) rset instead of (untyped) struct rset inside Base
2017-03-30 14:35:24 +02:00
Ralph Lange
0f2e26bc4c
Make generated code always use typed_rset
...
always cast to cover old-style supports
2017-03-30 14:33:06 +02:00
Ralph Lange
26a4e1489f
Make compilation inside Base USE_TYPED_RSET
2017-03-30 14:30:53 +02:00
Ralph Lange
19be96ec3a
Add opt-in switch USE_TYPED_RSET
2017-03-30 14:28:48 +02:00
Ralph Lange
6397204354
Update release notes, C++ instructions are tested
2017-03-27 09:51:32 +02:00
Ralph Lange
89a858f655
Remove remaining REC_TYPE defines
2017-03-27 09:49:30 +02:00
Ralph Lange
0b410c1b03
Update release notes entry
2017-03-24 17:16:18 +01:00
Ralph Lange
4f8134c63c
Fix xxxRecord in templates to make exampleApp work
2017-03-24 17:08:07 +01:00
Ralph Lange
ef2da59c24
Remove REC_TYPE and UNTYPED_RSET/oldRecSup.h; add casts to record types
2017-03-24 17:07:22 +01:00
Ben Franksen
40c9e4799b
use new typed rset only if UNTYPED_RSET is not defined, adapted release notes
...
Also moved the old definition(s) to a separate header file named oldRecSup.h
to avoid cluttering the new header file.
2017-03-21 17:01:13 +01:00
Michael Davidsaver
675c2aff14
rsrv: export variable caLimitArray
2017-03-18 17:41:33 -04:00
Michael Davidsaver
1636f3d9fe
rsrv: optional max_array_bytes
...
use of large array free list is optional
2017-03-18 17:41:33 -04:00
Michael Davidsaver
1e7c80c909
cas: simplify buffer alloc
...
eliminate casBufferFactory.
move small buffer free list into clientBufMemoryManager
2017-03-18 17:41:33 -04:00
Michael Davidsaver
2096c60652
ca: large array free list is optional
2017-03-18 17:41:33 -04:00
Michael Davidsaver
3009f88f64
rsrv: support larger than max. array bytes
2017-03-13 19:22:56 -04:00
Michael Davidsaver
b783427bf7
pcas: support larger than max array bytes
...
clientBufMemoryManager already supports allocations
larger than max array bytes, adjust callers inBuf/outBuf
to actually request larger allocations.
2017-03-13 19:22:53 -04:00
Michael Davidsaver
85b6b5c507
ca: support alloc larger than max array bytes
...
automatically try to allocate a custom buffer
when a message larger than ca max array bytes
is encountered.
2017-03-13 19:22:50 -04:00
Andrew Johnson
20627c0465
Merged changes from 3.15 branch to revno 12809
2017-03-08 10:36:41 -06:00
Andrew Johnson
17bd1ae6d0
db/test: Fix warning from clang
2017-03-03 12:23:36 -06:00
Ben Franksen
f71fe62bc3
added release notes entry
2017-03-03 17:40:24 +01:00
Ben Franksen
825c075df7
fixes in recSup and record types according to merge review
...
* removed struct valueDes
* made get_value take void (no arguments), added deprecation note
* removed misleading array size comment for get_units
Also added const to method parameters exactly where called in base with
const arguments.
2017-03-03 16:43:50 +01:00
Ben Franksen
ff91ede462
revert use of struct dbr_precision in call to get_precision in dbAccess.c
2017-03-03 16:41:03 +01:00
Michael Davidsaver
1d749ac7e7
dbLock: add assert in dbScanLock
...
catch locking attempts before iocInit()
2017-02-28 21:00:57 -06:00
Michael Davidsaver
6377c2e1e4
db/test: dbPutLinkTest include json links and more
2017-02-28 20:58:11 -06:00
Andrew Johnson
8069d9d80b
dbUnitTest: Improve output slightly
2017-02-28 20:55:05 -06:00
Michael Davidsaver
46993a5e38
dbUnitTest: more informative dbPutField*()
2017-02-28 20:09:21 -06:00
Michael Davidsaver
2bb02e732a
libCom: add errSymMsg() error message lookup
...
Like errSymLookup() but always returns a static string.
2017-02-28 20:06:42 -06:00
Michael Davidsaver
428dfe7a5c
add testing lset
2017-02-28 18:00:51 -06:00
Andrew Johnson
5dcd3483ba
dbStatic: dbPutStringNum() overflow handling
...
Default to accepting over-size integers in DB fields, truncate to field size.
E.g. permits setting DBF_LONG fields to 0xffffffff.
Adds dbConvertStrict config variable to disable this.
2017-02-28 00:25:43 -06:00
Ben Franksen
1c3ffa1c76
fixed the wrong fix for getOptions in dbAccess.h
2017-02-26 13:54:58 +01:00
Ben Franksen
cc946b760c
partly fix lp:1666924, i.e. for rset only, as described in the ticket
...
This means:
* typed method definitions for struct rset
* using REC_TYPE macro in place of dbCommon
* define REC_TYPE as dbCommon unless defined
* in record supports, define REC_TYPE before including epics headers
* fix a few method types in record supports (e.g. void* -> REC_TYPE*)
* fix the type errors gcc finds in dbAccess.c and dbConvert.c
2017-02-24 21:11:11 +01:00
Andrew Johnson
00549c832a
Fix HTML entities
2017-02-17 14:16:57 -06:00
Andrew Johnson
c52088205e
Remove constant link checks from test device
2017-02-17 14:15:31 -06:00
Andrew Johnson
e95fcb2e06
Merged changes from 3.15 branch, to revno 12807
2017-02-01 11:57:04 -06:00
Andrew Johnson
a7f0525ac7
Update Release Checklist
2017-01-30 18:04:47 -06:00
Andrew Johnson
051c059938
Removed some Revision-Id keywords
2017-01-06 17:31:51 -06:00
Andrew Johnson
fab5ce675f
Update comments in calcoutRecord
2016-12-12 17:44:01 -06:00
Andrew Johnson
0a4981093a
Update mingw32 cross-target name for RHEL7
2016-11-15 17:44:21 -06:00
Michael Davidsaver
99500b9be4
dbStatic: more informative error for bad field value
2016-09-18 17:35:19 -04:00
Michael Davidsaver
0821c8c4ff
dbStatic: dbPutStringNum(, "") not an error
...
Restore previous behavour that empty string
is equivalent to numeric zero.
epicsParse*() returns S_stdlib_noConversion
where previously strtoul() did not.
Conflicts:
src/ioc/db/test/Makefile
2016-09-12 18:20:02 -04:00
Andrew Johnson
da5455ed22
Fixes for Windows builds
2016-09-09 11:14:59 -05:00
Andrew Johnson
58c78af4f9
Initialize all fields of jlink, link types may not use calloc
2016-09-07 23:35:39 -05:00
Andrew Johnson
813166128e
Merged changes from 3.15 branch, to revno 12781
2016-09-07 10:04:54 -05:00
Andrew Johnson
b2012fdfb5
Added test link type, fix dbPutLinkTest for JSON_LINKs
2016-09-07 00:50:40 -05:00
Andrew Johnson
c12a35e388
Clean up memory leaks
2016-09-07 00:47:51 -05:00
Andrew Johnson
8a9707e74f
Fixed a small memory leak in lnkCalc
2016-09-06 22:28:36 -05:00
Andrew Johnson
2d4301f0bb
Fix warnings from clang
2016-09-05 22:36:45 -05:00
Andrew Johnson
268e59b052
Minor updates
2016-09-05 15:38:16 -05:00
Andrew Johnson
5b74799605
Some documentation updates
2016-09-05 15:12:09 -05:00
Andrew Johnson
cd49e245c2
Added JLink reporting infrastructure
...
Command 'dbjlr <record|*> <level>' calls the report method for
all JSON links in all records, or in one named record.
Added level and indent arguments to the jlif::report() method.
Added jlif::map_children() method for recursing through all
JSON links, plus dbJLinkMapChildren() and dbJLinkMapAll() APIs.
Implemented the report and map_children methods in the const
and calc link types.
2016-09-05 14:25:33 -05:00
Andrew Johnson
19447dc7ff
Make the long-string buffer for link fields bigger
...
When representing a link field as a long string (.INP$)
we have to pick some size limit for the buffer.
Previously this was the max length of a PV name + 12 chars,
but with JSON links that's not big enough.
This commit sets it to 1KB and defines a macro so it will be
easier to change in the future if necessary.
2016-09-04 16:56:15 -05:00
Andrew Johnson
dd311be319
JLink: Convert parser->linkDepth into jlink->parseDepth
...
This counter is indicates when we've finished parsing a link,
and needs to be stored with link rather than the parser so it
keeps its value while parsing embedded links. This fixes the
embedded links bug.
Also removed the limit on a link name's length.
2016-09-04 16:33:10 -05:00
Andrew Johnson
4448317d73
Add lnkConst_remove, fix debug messages
2016-09-04 16:02:59 -05:00
Andrew Johnson
ec6d86c91c
Fix jlink memory leak in dbStaticLib
...
Added dbFreeLinkInfo(), use everywhere to release dbLinkInfo resources.
Renamed link_type => expected_type in db[Can]SetLink(),
my brain understands this name faster.
2016-09-04 15:56:39 -05:00
Andrew Johnson
4302da3628
Minor fixes to the calc link-type
2016-09-03 22:24:55 -05:00
Andrew Johnson
25315882ec
Clean up JSON_LINKs in doCloseLinks
2016-09-03 22:22:12 -05:00
Andrew Johnson
f8d6cd98a0
Minor cleanups
2016-09-03 19:44:49 -05:00
Andrew Johnson
5fe3e8bfb5
Added calc link-type
2016-09-03 19:22:55 -05:00
Andrew Johnson
8d1c416551
Moved PV_LINK-specific code out of dbLink.c into link types
...
This required a change to the lset::getValue arguments, removing
the pstat and psevr pointers. Links can still return a non-zero
value from getValue and trigger a LINK:INVALID alarm, but for any
other alarm settings they must manipulate the record themselves.
2016-09-03 19:21:11 -05:00
Andrew Johnson
07b09eed1f
Fixes to dbJLink, added dbJLinkFree()
...
Moved the clearing of key_is_link to the right place,
embedded links now parse correctly.
2016-09-03 13:36:17 -05:00
Andrew Johnson
1e1c52cb69
Use new epicsStrnDup() API
2016-09-03 13:27:30 -05:00
Andrew Johnson
6e88d48615
Added epicsStrnDup() and dbmfStrndup() routines
...
The JSON parser passes string arguments with a length
instead or nil-terminating them. These routines make it
simple to copy such strings into either permanent or
temporary storage.
2016-09-03 13:25:19 -05:00
Andrew Johnson
23c71e9965
Various improvements
...
* Added new lset::openLink() method, called on JSON_LINKs only
* Cleanup in dbJLink.c to prevent memory leaks.
* Removed jlif::start_parse() method.
* Renamed jlif::end_parse() to end_child, which will be called on
the parent link when a child link has succesfully finished parsing.
2016-09-01 23:21:23 -05:00
Andrew Johnson
3992d4b92a
Split dbJLinkInit, JLinks are now parsed at load-time
2016-09-01 00:56:26 -05:00
Andrew Johnson
40a3a66745
Added loadLS routine to lset
...
The long string in/out records use a different initializer
for constant links. The new loadLS method allows a constant
link type to initialize such a long string field.
NB: This routine was added in the middle of the lset table.
Any external link support implementations must be adjusted.
2016-08-31 00:36:23 -05:00
Andrew Johnson
d0dcd61b23
Add code for arrays of strings
2016-08-30 23:03:08 -05:00
Andrew Johnson
5ec0633282
Pass link dbfType to jlif allocator; needed!
2016-08-30 01:13:15 -05:00
Andrew Johnson
33e565b67d
Fix build warning from clang
2016-08-29 10:41:51 -05:00
Andrew Johnson
7edc0c67ca
JSON Links implementation
...
The lnkConst.c implementation is not yet complete, no support for arrays of
strings (JMOP).
Link error messages should display their record & field name, which is not yet
possible.
The ability to embed links as parameters to other link types is not complete
yet; this will be required for the calc link type.
This code currently passes all existing tests, but additional tests are needed
for the new functionality.
2016-08-29 01:12:09 -05:00
Andrew Johnson
056edc0d8a
Undo buggy change
2016-08-28 23:41:35 -05:00
Andrew Johnson
fc66793ee2
Start documenting changes
2016-08-27 16:31:49 -05:00
Andrew Johnson
37b6cbb50c
Use new dbLink APIs instead of checking link.type
2016-08-27 16:30:48 -05:00
Andrew Johnson
cca6a5d05a
Add isConstant and isVolatile to LSET
2016-08-27 16:26:55 -05:00
Andrew Johnson
82385c9f1b
Missed a spot handling JSON_LINK field values
2016-08-18 00:18:41 -05:00
Andrew Johnson
cbc7af0ef8
Remove 2 obsolete dbStatic routines (forms)
2016-08-15 20:19:19 -05:00
Andrew Johnson
bed1c618a8
Use dbPutLinkAsync() in all output SoftCallback dev's
2016-08-13 21:53:31 -05:00
Andrew Johnson
7df97f074e
Add lset::dbPutLinkAsync and S_db_noLSET
2016-08-13 21:42:23 -05:00
Andrew Johnson
fe71fc98b8
Undo a small & unnecessary behaviour change
2016-08-12 23:53:42 -05:00
Andrew Johnson
d3a9ba7701
Fix issues related to const array initialization
2016-08-12 23:21:26 -05:00
Andrew Johnson
bb58598eba
A cleaner way to close CA & DB links
2016-08-12 23:20:24 -05:00
Michael Davidsaver
899feb24b2
iocInit: close CA_LINKs through lset
2016-08-12 19:50:17 -04:00
Andrew Johnson
fb785e45c7
Adjust record and device support for array constants
2016-08-10 12:53:39 -05:00
Andrew Johnson
519208833f
Add lset::loadArray and JSON parsing
...
Replace lset::loadLink with lset::loadScalar, add lset::loadArray
Add dbLoadLinkArray() routine to dbLink.h API
New dbConvertJSON.h API for use by dbConstLoadArray()
2016-08-10 12:49:49 -05:00
Andrew Johnson
ae2180f5b5
Comments in Makefile
2016-08-10 12:21:03 -05:00
Andrew Johnson
dafe2a83a3
libCom: Make yajl_alloc.h usable
2016-08-10 12:19:53 -05:00
Michael Davidsaver
ebfaca8228
cas: ignore CA client version older than v4.4
...
CAS ignore search and version messages
from CA minor versions older than 4.4.
2016-07-30 11:45:42 -04:00
Michael Davidsaver
da78e01e89
rsrv: remove !CA_V44() code
...
Remove code supporting deprecated
CA minor versions < 3
2016-07-31 19:49:08 -04:00
Michael Davidsaver
caf70216d3
rsrv: no ca exception response to UDP
2016-07-31 19:35:25 -04:00
Michael Davidsaver
95fd255dd6
rsrv: ignore CA client version older than v4.4
...
RSRV ignore search and version messages
from CA minor versions older than 4.
2016-07-30 10:35:49 -04:00
Michael Davidsaver
2dd16f4362
cas: honor DOREPLY for TCP searches
2016-07-31 15:10:36 -04:00
Michael Davidsaver
4c2b8819cd
cas: ignore echo and unexpected UDP
...
Ignore UDP echo.
By default, don't log unexpected/invalid
UDP messages.
2016-07-30 11:46:28 -04:00
Michael Davidsaver
8992d5a593
rsrv: send channel create failure
2016-07-30 12:09:33 -04:00
Michael Davidsaver
802f29df47
rsrv: UDP search ignore DOREPLY
...
Don't send notice of failure
for lookup via. UDP.
2016-07-30 10:46:21 -04:00
Michael Davidsaver
16c419350b
rsrv: ignore echo and unexpected UDP
...
Ignore UDP echo.
By default, don't log unexpected/invalid
UDP messages.
2016-07-30 10:41:39 -04:00
Andrew Johnson
935ab02bc1
Fix build failure on Solaris
2016-06-07 12:31:15 -05:00
Andrew Johnson
63d8651474
Make Perl DB parser handle duplicates and rtyp '*'
2016-06-07 01:00:38 -05:00
Andrew Johnson
c01967d64f
Remove spurious include dbCa.h
2016-06-02 22:29:45 -05:00
Andrew Johnson
d1986edd9e
Simplify link-type checks in record supports
2016-06-02 22:22:11 -05:00
Andrew Johnson
7627454f63
Simplify link-type checks in soft device supports
2016-06-02 22:02:54 -05:00
Andrew Johnson
667f74759d
Allow (discard) comments inside JSON
2016-06-01 15:46:24 -05:00
Andrew Johnson
1f726c8760
Recognize arrays as constant links
2016-05-24 12:01:38 +02:00
Andrew Johnson
08b7802009
Recognize numbers before barewords
2016-05-24 11:59:08 +02:00
Andrew Johnson
f6c4099634
Make info tags also JSON objects
2016-05-23 12:00:11 +02:00
Andrew Johnson
c76041b14c
Rename JSON_STR to JSON_LINK
2016-05-20 20:32:39 -05:00
Andrew Johnson
7ea544673a
Accept bareword JSON strings, quote them
2016-05-20 00:02:45 -05:00
Andrew Johnson
6e6ae4354b
Fix warnings from dbmfStrdup() change
2016-05-19 14:01:05 -05:00
Andrew Johnson
61e82ee1ae
Fix memory allocation bugs
2016-05-19 01:32:12 -05:00
Andrew Johnson
28b3b1678c
ioc/dbStatic: Add JSON parsing of field values
...
The parsing removes all white-space outside of quotes from the JSON.
dbRecordField() now strips quotes from simple string values itself.
2016-05-19 01:15:33 -05:00
Andrew Johnson
efb5ba27ae
libCom/dbmf: Add dbmfStrcat3() for JSON parsing
...
Also removed all epicsShareAPI attributes
Made string arguments const char *
2016-05-19 00:58:45 -05:00
Andrew Johnson
574db56740
Make antelope's error messages slightly nicer
2016-05-19 00:51:23 -05:00
Andrew Johnson
998c3c1648
Clean up warnings from gcc 5.2
2016-05-16 14:55:58 -05:00
Andrew Johnson
6a592dc2c0
Support "link(name, lset)" syntax in DBD files
...
Both Perl and dbStaticLib support included.
Also added a new std/link directory for link types.
Nothing looks up the registered link support tables yet.
2016-05-08 22:57:42 -05:00
Andrew Johnson
ac5c7b0314
Merged Michael's cxxcleanup branch
2016-05-04 17:50:59 -05:00
Michael Davidsaver
d674866219
epicsGuard.h add typedefs linking guard and release
2016-05-02 20:53:51 -04:00
Michael Davidsaver
a1bd644502
drop all templateInstances.cpp
...
No longer needed by any targets.
2016-05-02 20:51:11 -04:00
Michael Davidsaver
a38dccfb1a
add guard/release typedefs for epicsMutex
2016-04-28 09:20:13 -04:00
Michael Davidsaver
17edfd0652
use epicsMin/Max instead of tsMin/Max
...
Don't remove tsMinMax.h yet as it appeared
in caServerApp template.
2016-04-28 09:20:13 -04:00
Michael Davidsaver
afd48be98c
drop unused tsBTree.h
2016-04-28 09:20:13 -04:00
Michael Davidsaver
d92af8c44d
remove unused autoPtrDestroy.h
2016-04-28 09:20:13 -04:00
Michael Davidsaver
2af37d076d
drop unused epicsOnce
2016-04-28 09:20:13 -04:00
Michael Davidsaver
64c1a28f69
remove unused locationException.h includes
2016-04-28 09:20:13 -04:00
Michael Davidsaver
954874dbd6
drop epicsMemory.h
2016-04-28 09:20:13 -04:00
Michael Davidsaver
673cb24fc2
replace use of epics_auto_ptr w/ eapt_array
...
add helpers for udpiiu to calculate parameters maxPeriod and nTimers,
allowing them to be const.
Add SearchArray to hold fixed-size array of auto_ptr.
2016-04-28 09:20:13 -04:00
Michael Davidsaver
05c347434b
use auto_ptr instead of epics_auto_ptr where applicable
2016-04-28 09:20:13 -04:00
Andrew Johnson
13294f80cc
Add basic support and tests for a JSON link address type
2016-04-27 20:47:17 -05:00
Andrew Johnson
778aa18c00
More cleanup
2016-04-27 20:29:16 -05:00
Andrew Johnson
0348c2295b
Cleanup
2016-04-26 22:13:12 -05:00
Andrew Johnson
8a5d1a08ad
Restore loadLink to lset, move CONSTANT link code into its own source file
2016-04-03 01:29:28 -05:00
Andrew Johnson
1e028d68d8
Move DBLINK support code into its own source file
2016-04-03 00:49:36 -05:00
Andrew Johnson
d33c402b00
Release Notes
2016-03-23 17:15:57 -05:00
Andrew Johnson
bc2a47b849
cvtFastPerform: Rename reserved member names, fix for vxWorks
2016-03-23 16:56:34 -05:00
Andrew Johnson
0a0b9a93a2
Simplify epicsConvertDoubleToFloat()
2016-03-22 18:14:12 -05:00
Andrew Johnson
d949e34c13
More cvtFastPerform changes
...
Added a converter using std::streambuf (slow!)
Pass buffer size to converters
Added verbose flag and # numbers to measure
Do the small number tests first
2016-03-22 17:47:03 -05:00
Andrew Johnson
db4f208659
Collate and report by precision
2016-03-22 01:01:51 -05:00
Andrew Johnson
e82449171f
Restructure cvtFastPerform, fix VxWorks build
2016-03-18 17:45:52 -05:00
Andrew Johnson
e7bba39737
Add int64 record types and device support, from long
2016-03-16 13:14:49 -05:00
Andrew Johnson
f97c1a345e
Fix cvtFast and tests
...
We might still want to change the actual behaviour though,
see the FIXME comments.
2016-03-16 09:44:35 -05:00
Andrew Johnson
4a5a675ef8
Remove development printf() statements
2014-08-24 23:48:32 -05:00
Andrew Johnson
2d4243981f
Fix warnings found by clang
2014-07-12 01:12:08 -05:00
Andrew Johnson
2fb0b0763d
Implement 64-bit database field types.
...
Incorporates major reworking of the dbConvert.c file.
if the 64-bit stuff gets rejected most of that should
get pulled in anyway.
2014-07-10 18:13:28 -05:00