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
c59a18600a
Add release notes for the QueueShow additions
2018-12-11 16:47:25 -06: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
Andrew Johnson
9e999d2bef
Only create msi-copy for a Host build-arch
2018-11-27 14:11:11 -06: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
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
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
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
072dbd53e7
Adjust clean-tests rule
...
Only delete test-result files that actually exist.
2018-11-02 17:47:13 -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
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
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
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
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
Ralph Lange
ce7943fb44
Update version to 3.15.6, remove "not released" from release notes
2018-10-11 15:24:36 +02:00
Ralph Lange
4e865a03d8
libCom/osi: fix epicsEnvUnset for WIN32 and solaris
2018-10-11 15:12:10 +02:00
Ralph Lange
9a4febd3bc
Merge Dirk Zimoch's 'epicsEnvUnset' branch into 3.15
2018-10-11 11:42:19 +02:00
Andrew Johnson
dc5d373b57
Revert "configure: add vpath for CONFIG* and RULES* (look in SRC_DIRS)"
...
Unfortunately this causes really bad things to happen; the
configure/RULES file is getting overwritten by the contents of
src/libCom/as/RULES, so we need a different approach.
This reverts commit 47c361f135 .
2018-10-10 13:04:54 -05:00
Ralph Lange
47c361f135
configure: add vpath for CONFIG* and RULES* (look in SRC_DIRS)
2018-10-10 17:10:14 +02:00
Ralph Lange
9943796f7f
libCom/osi: fix recent epicsStdio.h change for gcc 2.x
2018-10-08 15:46:50 +02:00
3cb72ec209
Merge branch '3.15' into epicsEnvUnset
...
Conflicts:
documentation/RELEASE_NOTES.html
2018-10-08 11:02:03 +02:00
701ef5b936
mention epicsEnvUnset in RELEASE_NOTES.html
2018-10-08 10:49:25 +02:00
c3995a9d63
added simple test case for epicsEnvUnset
2018-10-08 10:48:09 +02:00
ce3eadde34
add missing epicsEnvUnset to header
2018-10-08 10:37:34 +02:00
Andrew Johnson
62929fcbd1
Adjust the 'git archive' commands in Release Checklist
...
The tarfile should not include any files that were added to
support our development process and CI build agents. I have
even excluded .gitignore from previous releases.
I had already done this in 3.16, and 7.0 has a script for
generating the tarfile.
2018-10-05 17:43:33 -05:00
Ralph Lange
456a68eb96
Version number update to 3.15.6-rc1-DEV
2018-10-05 17:05:23 +02:00
Ralph Lange
b319b4722f
Update version to 3.15.6-rc1
2018-10-05 15:21:58 +02:00
Ralph Lange
b4cc5fdf4b
doc: update release checklist
2018-10-05 15:21:57 +02:00
Ralph Lange
d35835659c
libCom/osi: Add epicsStdio functions to std namespace; allow to skip macro magic
...
(fixes lp:1786927)
2018-10-05 10:54:10 +02:00
65714033ea
remove compiler warning
2018-10-03 15:29:30 +02:00
7151fbe498
implement epicsEnvUnset
2018-10-03 15:18:59 +02:00
Andrew Johnson
cbb13bf6b1
Darwin: Don't link using -flat_namespace
2018-09-18 10:22:29 -05:00
Andrew Johnson
150d764d28
Merge 3.14.12.8 (+ the Travis fix) into 3.15
2018-09-17 16:15:55 -05:00
Andrew Johnson
7dd1ea4cab
GNU Make 3.81 (as used on Travis) doesn't have 'undefine'
2018-09-17 10:24:51 -05:00
Andrew Johnson
922ed30136
Set EPICS_DEV_SNAPSHOT for the final 3.14.12.8 release
2018-09-14 13:44:05 -05:00
Andrew Johnson
9f9f119e7e
Release notes about iocLogServer
2018-09-14 13:21:06 -05:00
Andrew Johnson
d8214a4531
Merge Martin Konrad's fix-logserver-file-limit branch into 3.14
2018-09-14 12:24:14 -05:00
Andrew Johnson
120b100e7e
startup: Fix EHA argument quoting per J. Lewis Muir
2018-09-14 12:15:29 -05:00
Andrew Johnson
949e9d788a
Make startup/EpicsHostArch script executable
2018-09-14 11:23:14 -05:00
Martin Konrad
27c6e6a385
Make EpicsHostArch compatible with sh
2018-09-14 09:12:10 -04:00
Andrew Johnson
4b59476170
Merge branch 'tidy-startup' into 3.14
2018-09-13 16:49:21 -05:00
Andrew Johnson
526b565c6b
configure/CONFIG: Undefine EHA after use
2018-09-10 18:19:03 -05:00
Andrew Johnson
1b7b2bcceb
Update README's list of files
2018-09-10 18:16:16 -05:00
Andrew Johnson
49c925d064
Fix shebang line in makeInstallDir.pl
2018-09-10 16:08:19 -05:00
Martin Konrad
46b5d6006e
Fix "make --question" mode
...
Fix for lp:1669891
2018-09-07 18:02:02 -04:00
Ralph Lange
6a2ed4b333
libcom/osi/windows: log errors using fprintf() instead of pop-up
...
(fixes lp:1785712)
2018-09-05 21:47:25 +02: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
Andrew Johnson
d3bcf5737f
Latest Xcode also doesn't like compiling system() for iOS
2018-08-17 14:57:22 -05:00
Andrew Johnson
6c5505ad3e
osiClockTime again: Don't compile ClockTimeSync() on iOS either
2018-08-17 13:48:00 -05:00
Andrew Johnson
4247d98b08
Add fix to Release Notes
2018-08-17 13:25:18 -05:00
Andrew Johnson
13735a8088
Fix for lp: #1786320
...
A dbCa link that reads an enum as a string subscribes to the link target
twice, once as DBR_TIME_ENUM and again as DBR_TIME_STRING. This change
prevents ENUM updates from triggering CP/CPP record processing if there
is also a STRING subscription for this link.
2018-08-17 13:18:47 -05:00
Andrew Johnson
58d4242b68
osiClockTime: Only call clock_setting() on embedded OSs
...
An update to Apple's XCode broke the iOS build because they have
added Posix CLOCK_REALTIME support since this code was written and
now if you compile a call to clock_settime() it stops the build.
2018-08-17 13:09:33 -05:00
Martin Konrad
8e42f516b0
iocLogserver: allow log file limit to be disabled
...
According to the Application Developer's Guide setting the environment
variable EPICS_IOC_LOG_FILE_LIMIT=0 should disable the limit on the
file size.
2018-08-13 18:16:26 -04:00
Andrew Johnson
9051cdbb34
Added a simpler startup/EpicsHostArch for backwards-compatibility
...
Many downstream modules seem to be using the EpicsHostArch script in
their CI build scripts and would break if we remove that. I created
a new version that finds and execs the Perl script directly.
Also reworded and expanded the Release Notes about the EpicsHostArch
scripts.
2018-08-10 15:20:29 -05:00
Andrew Johnson
8ffea9de27
Remove macLib warning indicators
...
Only add ',undefined' tags to macLib output when we aren't
suppressing warnings, e.g. using msi's -V flag.
2018-08-10 14:12:19 -05:00
Andrew Johnson
2548a37267
Update/clean up EpicsHostArch.pl
2018-08-08 16:53:32 -05:00
Martin Konrad
592a83385d
Add missing incude in dbLock.h
...
Fixes lp:1784631.
2018-08-07 12:06:20 -04: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
1dc1b25aaa
caget.pl: Add missing acks and ackt metadata to display output
2018-07-31 17:58:38 -05:00
Andrew Johnson
fb31dd784b
recGbl: Prevent record alarm severities > INVALID_ALARM
2018-07-31 16:30:11 -05:00
Andrew Johnson
fe7260e263
msi: Source code reformatting, typo fixes, unify messages
...
Added lots of debug tracing macros.
Release notes.
2018-07-25 00:47:18 -05:00
Andrew Johnson
67e2b74758
Fix for lp: #1503661
...
Delete output file if parse errors found in substitution file
2018-07-25 00:31:48 -05:00
Andrew Johnson
c09b6e2f1b
libCom: Add and use a -o<filename> option to e_flex
...
Note that like the -S option the filename must follow immediately in
the same command-line argument with no space.
2018-07-21 01:47:33 -05:00
Andrew Johnson
45be2306bd
Add missing includes for db_post_events()
2018-07-21 01:04:05 -05:00
Andrew Johnson
6027f906c3
Merge documentation changes from 3.14 into 3.15
2018-07-20 23:29:47 -05:00
Andrew Johnson
ec351c5e2f
Fix for lp: #1730727
...
Post monitors on all array-length record fields (often NORD)
when their values get changed.
2018-07-20 23:10:34 -05:00
89870e2817
Remove trailing space in license of startup/unix.*
2018-07-20 17:47:39 -05:00
4e9cf72d71
Remove execute file mode bit on EpicsHostArch.pl
2018-07-20 17:45:47 -05:00
80869a0868
Rewrite startup/windows.bat
...
Remove extraneous things unrelated to EPICS Base.
Make it behave consistently with the other startup scripts.
Make it easy to configure both for a human and a program.
2018-07-20 17:43:01 -05:00
998fa984ba
Rewrite startup/win32.bat
...
Remove extraneous things unrelated to EPICS Base.
Make it behave consistently with the other startup scripts.
Make it easy to configure both for a human and a program.
2018-07-20 17:39:29 -05:00
31844af88e
Rewrite startup/unix.csh
...
Remove extraneous things unrelated to EPICS Base.
Make it behave consistently with the other startup scripts.
Make it easy to configure both for a human and a program.
2018-07-20 17:29:47 -05:00
8f161f9463
Rewrite startup/unix.sh
...
Remove extraneous things unrelated to EPICS Base.
Make it behave consistently with the other startup scripts.
Make it easy to configure both for a human and a program.
2018-07-20 17:18:22 -05:00
e0399478ad
Remove startup/cygwin.bat
...
Cygwin is no longer supported for Microsoft API builds, so remove it.
2018-07-20 17:14:43 -05:00
Andrew Johnson
2a2a1e54ac
Post-tag version number update
2018-07-19 12:35:40 -05:00
Andrew Johnson
20d2cff501
Update version number to 3.14.12.8-rc1
2018-07-19 12:31:52 -05:00
Andrew Johnson
860ce156a2
Documentation updates for 3.14.12.8
2018-07-19 12:20:41 -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
7ef9ea7193
Merge 3.15 into 3.16
2018-07-13 17:10:22 -05:00
Andrew Johnson
0f21196670
Merge 3.14 branch into 3.15
2018-07-13 13:23:11 -05:00
Andrew Johnson
31fc35fbe8
dbCa: Fix for lp: #541221
...
I'd looked at this a few times since it was reported, but never
actually fixed the bug I described in the comments. Apparently
the only thing left to do was to store the eventId and use it to
clear the subscription when we saw a type-change to a PV.
2018-07-13 13:05:54 -05:00
Andrew Johnson
f892731b3f
Fix epicsCalcTest for gcc 7.1.0 on minGW
...
Another case where the compile-time evaluation returns +1
but at run-time isnan() returns -1.
2018-06-29 15:03:45 -05: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
ab493264b2
Make EpicsHostArch.pl print newline
...
Print a newline after the EPICS host architecture spec. This is typical
for a UNIX-like program (e.g., date).
2018-06-26 17:56:58 -05:00
68779943eb
Remove execute file mode bit
2018-06-26 16:34:04 -05:00
7a5ff26984
Remove EpicsHostArch
2018-06-26 16:20:07 -05:00
eae59183cc
Rename Site.{cshrc,profile} to unix.{csh,sh}
2018-06-26 16:09:04 -05:00
Andrew Johnson
8144d2ea01
Add HOWTO: Converting Wiki Record Reference to POD
2018-06-26 14:47:59 -05:00
Andrew Johnson
b32629c3bf
Start release notes for tidy-startup branch.
2018-06-26 11:23:35 -05:00
Andrew Johnson
220e404203
Move EpicsHostArch.pl into src/tools, install to lib/perl
2018-06-26 11:23:15 -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
8f55a1307d
startup: Update win*.bat files
2018-06-22 14:54:06 -05:00
Ralph Lange
e459e8bdd4
cas: don't spin on zero-length search requests
...
(fix lp:1743321)
2018-06-07 11:32:16 +02:00
Ralph Lange
b558bd9b16
Cherry-picking e794639e from 3.15
...
(lp:1730982 lp:1762543)
2018-06-07 11:21:04 +02:00
Michael Davidsaver
3c16c3c0da
Cherry-picking d2b0e920 from 3.15
...
(closes lp:1773373)
2018-06-07 11:07:29 +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
a9d7f7be13
Template iocBoot/ioc Makefile fix for Unix-like OSs
...
Fixes lp: #1766349
2018-06-04 23:14:45 -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
Andrew Johnson
23c4eb42a3
Perl s/use vars/our/
2018-05-28 17:31:16 -05:00
Andrew Johnson
6d7f70f200
Merge changes from 3.14 branch into 3.15
2018-05-28 17:00:35 -05:00
Andrew Johnson
67844bacc3
Perl s/use vars/our/
2018-05-28 16:13:14 -05:00
Ralph Lange
7e7d230d8c
templates: fix warnings for xxxRecord.c in exampleApp
...
(fixes #1772833 )
2018-05-23 09:24:56 +02: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
Andrew Johnson
c1ece40f41
Updated Release Notes for Base-3.14.12.8
2018-05-19 22:42:23 -05:00
Andrew Johnson
a732539eee
epicsMath.h defines 'finite()' not 'isfinite()'
2018-05-19 21:14:36 -05:00
Ralph Lange
3bc0805a89
rec: fix missing includes in longin/longout
2018-05-18 09:54:42 +02:00
Ralph Lange
c72e35c769
Merge Ralph's fix-1770292 branch into 3.14
2018-05-17 17:16:07 +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
Ralph Lange
2d9c5e99a1
db: correctly convert NaN alarm levels to integers
...
(fixes lp #1771298 )
2018-05-15 11:18:11 +02:00
Ralph Lange
ca22d50831
rec: consistent get_alarm_double() for longin/longout
...
(fixes lp #1770292 )
2018-05-15 11:18:10 +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
Michael Davidsaver
4972803ce2
scanEventTest: use testSyncCallback()
2018-05-14 10:49:49 -07:00
Michael Davidsaver
3b7e348a8c
dbUnitTest.h add callback sync. and global mutex
...
Add testSyncCallback() to wait for in queued and
in-progress callbacks to complete.
Also add testGlobalLock() to help tests avoid
use after free when destroying sync. primitives.
2018-05-14 10:49:49 -07:00
Michael Davidsaver
00a974ce52
callback.h: add epicsCallback alternative to CALLBACK
...
Add epicsCallback as an IDE friendly alternative to CALLBACK.
IDEs like qtcreator have long been confused by the use
of CALLBACK, a name which has long been used by other libraries,
which prevents code using it from being parsed correctly.
2018-05-14 10:49:49 -07:00
Michael Davidsaver
490c504736
scanEventTest: use dbUnitTest.h for IOC lifecycle
2018-05-14 10:49:49 -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
49371cfe00
Fix RTEMS build in src/std/rec/test
...
Also back-ported Michael's change from commit b9b8cde5f6 to avoid
using callocMustSucceed() in eventNameToHandle()
2018-05-12 22:25:15 -05:00
Andrew Johnson
06ad4a0d70
Merge Bruce Hill's pv-name-in-ca-error-msgs branch into 3.15
...
Actually this is fixing CAS error messages.
I added the additional changes suggested by Ralph in his code-review.
2018-05-12 21:37:44 -05:00
Andrew Johnson
a2ae07dfcd
Merge Dirk Zimoch's named-events-backward-compatibility branch into 3.15
2018-05-12 21:15:26 -05:00
Andrew Johnson
b539ced6d5
Merge J. Lewis Muir's doc-filters-typo branch into 3.15
2018-05-12 20:54:20 -05:00
Andrew Johnson
1b332361e7
Merge changes from 3.14 into 3.15
2018-05-12 20:47:54 -05:00
Andrew Johnson
5cb91d9f6d
Merge Ben Franksen's deadlock_warning branch into 3.14
2018-05-12 20:20:30 -05:00
Andrew Johnson
116c90c2ea
Reformatting, no code changes
2018-05-03 14:40:12 -05:00
Andrew Johnson
3f3696fb91
dbStatic: Prevent modifying a NAME field using a DB file
...
Fixes LP: #1597809
2018-05-03 14:28:44 -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
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
Benjamin Franksen
91ce807e8b
Fix for lp: #1751380
...
Add warnings about possible deadlock to the docs for ca_clear_channel,
ca_clear_subscription, and ca_context_destroy.
2018-04-11 12:58:28 +02: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
3d88316eab
Merge 3.14 into 3.15 (MSVC absolute filenames fix)
2018-03-26 16:49:28 -05:00
Andrew Johnson
b9443f8813
Tell MSVC to use absolute filenames in diagnostics (-FC flag)
2018-03-23 11:39:53 -05: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
d8802c8b24
Merge 3.14 into 3.15
2018-03-15 17:46:48 -05:00
Andrew Johnson
b7d4609e57
Merge Bruce Hill's camonitor-server-relative-ts-bug-3.14 branch
2018-03-15 17:33:32 -05:00
Andrew Johnson
7b5b23f6d3
Merge 3.14 into 3.15
2018-03-15 17:11:20 -05:00
Andrew Johnson
c8a7e1597d
VxWorks Timezone updates
...
Remove 2017; fix hour in MET settings
2018-03-15 10:57:55 -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
Andrew Johnson
8333338f99
Merge 3.14 into 3.15
2018-03-14 16:08:07 -05:00
Andrew Johnson
ceaff61c09
Pull in the podToHtml.pl script and rules from 3.15
...
This lets src/cap5 build with Perl installations that lack Perl's
podchecker and pod2html scripts (e.g. Fedora 27).
2018-03-14 14:12:12 -05: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
Andrew Johnson
2307e94d1c
Rules for building bootable TESTPROD_RTEMS targets
...
Previously if you wanted a .boot file it had to be installed.
2018-03-12 16:34:54 -05:00
Bruce Hill
05a3699b49
Update pcas CA error msgs to include the pv name for easier debugging.
2018-03-09 21:23:43 -08: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
be8f35d782
Fix for lp: #1754298
...
Cleaned up and reformatted since Dirk's original.
2018-03-09 12:46:46 -06:00
Bruce Hill
6cc623a7b4
Fixed camonitor server side relative timestamps bug
...
tsFirst needs to get initialized from the first server side
timestamp instead of the client side tsNow.
2018-03-08 01:40:11 -08:00
2b4a9632b7
update RELEASE_NOTES for named event fix
2018-03-07 14:51:38 +01:00
396cf4ee3f
remove special handling for inf and nan events
2018-03-07 14:49:12 +01: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
a9764c8f62
tools/caput: Report errors from ca_array_put*()
...
Fixes LP: #1747983
2018-03-04 15:51:39 -06:00
Andrew Johnson
98d9ea4545
ca/client: Catch by reference, missing '&'
2018-03-04 15:45:15 -06:00
Andrew Johnson
8eb4eec7d2
Corrected fix from Bruce Hill's Github PR#19
2018-03-03 17:17:34 -06:00
Andrew Johnson
98930eebc4
strcpy() -> strncpy() changes from Bruce Hill
...
Also added some additional static assertions for string field sizes.
2018-03-03 00:12:59 -06:00
e50c468512
moved scanEventTest from src/ioc/db/test to src/std/rec/test
2018-02-26 11:41:54 +01:00
Andrew Johnson
292141458c
Merge 3.15 branch into 3.16
2018-02-24 21:35:01 -06:00
Andrew Johnson
c18b6f2ccf
Deny use of dbgf, dbpf, dbtr, dbtgf and dbtpf before iocInit
...
Can't use locking dbAccess routines until lock-sets have been calculated.
Fixes LP: #1725248
2018-02-24 20:15:08 -06:00
Andrew Johnson
e41f8bf518
Translate and escape chars in info tag strings
...
Fixes LP: #1716998
2018-02-24 19:11:54 -06:00
Andrew Johnson
ae548d3400
Remove cantProceed() from dbGetLink() and dbPutLink()
...
Fixes LP: #1528314
Affects 3.15 branch only.
2018-02-24 17:40:45 -06:00
428a8f57e9
Fix typos in Channel Filters doc
2018-02-20 10:20:37 -06:00
29795656e6
bugfix for soft events >= 256
2018-02-20 09:53:06 +01:00
b2d6b67b06
removed obsolete code in scanpel
2018-02-16 11:03:12 +01:00
1e9826d187
add tests for calculated numeric soft events
2018-02-13 15:36:21 +01:00
0691fc5f57
fix scanEvent test
2018-02-13 14:10:29 +01:00
8a3080c16f
added test for named soft events
2018-02-13 13:50:19 +01:00
d19afc73af
Updated RELEASE_NOTES.html with soft event fix.
2018-02-12 12:06:12 +01:00
adf5375616
fix scanpel glob matching
2018-02-12 09:01:05 +01:00
Andrew Johnson
85c6e9bdfb
Merge clang fixes from 3.15 into 3.16
2018-02-09 11:35:55 -06:00
Andrew Johnson
550beeab9f
More clang warning clean-ups
...
The short => int change is a UB issue, the second argument to va_start()
must be of a type that does not undergo promotion. See
https://wiki.sei.cmu.edu/confluence/display/cplusplus/EXP58-CPP.+Pass+an+object+of+the+correct+type+to+va_start
2018-02-09 11:29:16 -06:00
Andrew Johnson
bf91275200
Merge clang fixes from 3.14 into 3.15
2018-02-09 11:16:26 -06:00
Andrew Johnson
ac4d5c95ac
Clean up some compiler warnings from clang
2018-02-09 10:56:52 -06:00
7d836d9554
some cleanup and scanpel improvement
2018-02-09 16:58:36 +01:00
51e492fbb1
Fix numeric events: any number from 0 up to less than 256 is theated as an integer event. Event 0 is no event.
2018-02-09 14:37:45 +01:00
Andrew Johnson
cd8fd8a08f
Merge 3.15 into 3.16
2018-02-05 12:06:37 -06:00
Andrew Johnson
61296b8cff
Merge 3.14 into 3.15
...
Fix for LP: #1743076
2018-02-05 12:03:28 -06:00
Andrew Johnson
de442e9584
Fix for LP: #1743076
...
Never zero the CA client context private ID.
2018-02-05 12:02:13 -06:00
Andrew Johnson
ac367398b3
Merge fix for lp: #1747091 from 3.14 into 3.15
2018-02-02 17:49:00 -06:00
Andrew Johnson
713c2d5080
Fix for lp: #1747091
...
generalTimeGetEvent()
2018-02-02 17:47:35 -06:00
Andrew Johnson
eef6f3afbb
Merge 3.15 branch into 3.16
2018-02-01 15:05:44 -06:00
Andrew Johnson
af07016464
Merge 3.14 branch into 3.15
...
Actually a different fix to Michael's 3.14 commit due to divergent code.
2018-02-01 14:20:47 -06:00
Michael Davidsaver
734d16291f
rsrv: buffer for IP too small
...
An IPv4 address and port number
has 21 characters max.
2018-02-01 09:42:51 -08:00
Andrew Johnson
f1e5e9689b
Merge 3.14 branch into 3.15
2018-02-01 11:23:29 -06:00
Andrew Johnson
1454f42a27
Config fix for parallel builds with MSVC 2015 and later
...
From Mark Rivers and Freddie Akeroyd.
2018-02-01 11:19:08 -06:00
Andrew Johnson
506be838af
Merge 3.15 into 3.16
2018-01-21 00:45:38 -06:00
Andrew Johnson
ddbdcf9462
rec/test: Add missing filename to DBDDEPENDS_FILES
2018-01-21 00:44:10 -06:00
Andrew Johnson
729e6fda4d
tools: Add some context to the 'Undefined macro' warning
...
Mark Rivers saw this warning when he forgot to configure and build a
dependent module properly. The additional information given by this
change would have helped him track down the problem faster.
2018-01-19 13:14:13 -06:00
Andrew Johnson
0315e90e6e
Revert "tools: Use Carp"
...
This reverts commit f207b00b05 .
None of these warn/die messages request a stack dump since they all
end with \n, but carp & croak ignore that.
2018-01-19 11:06:23 -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
66c6aaa44f
Merge URL updates from 3.14 branch into 3.15
2018-01-18 23:46:42 -06:00
Andrew Johnson
c830a3a4ee
Updated links to new EPICS website at Argonne
...
Only done for documents that are still present in EPICS 7.
2018-01-18 23:35:09 -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
Andrew Johnson
8766ce05aa
Fix slow callback test failures.
...
Slow callbacks no longer cause test failures, now they just emit a
diagnostic. Jenkins on MacOS frequently failed those tests.
We should never test for something that we can't fix.
2018-01-04 11:41:38 -06:00
Ralph Lange
84e0220852
Merge appveyor change from 3.15
2018-01-04 09:05:49 +01:00
Ralph Lange
8f62940265
Merge appveyor change from 3.14
2018-01-04 09:03:50 +01:00
Ralph Lange
8a1477ecab
appveyor-ci: update APS download URL
2018-01-04 09:00:18 +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
Ralph Lange
89cbb95c2c
Merge appveyor changes from 3.14
2017-12-19 09:52:15 +01:00
Ralph Lange
006ce1a240
appveyor-ci: remove VS 2008, add VS 2017
2017-12-19 09:39:57 +01:00
Ralph Lange
276dee2c3e
appveyor-ci: use curl for download of make.zip
2017-12-19 09:39:10 +01:00
Andrew Johnson
98a2871727
Reset SNAPSHOT to -DEV after tagging 3.14.12.7
2017-12-15 16:09:21 -06:00
Andrew Johnson
5ca1bb3bd5
Set SNAPSHOT for 3.14.12.7 final release
2017-12-15 16:06:08 -06:00
Andrew Johnson
f6be3c7f70
Set snapshot to -rc1-DEV
2017-12-08 16:40:08 -06:00
Andrew Johnson
00924dcba0
About to tag 3.14.12.7-rc1
2017-12-08 16:37:03 -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
3b0f34e0be
Fix recursive check in Release.pm
2017-12-06 16:29:31 -06:00
Andrew Johnson
2d1f1ed2fa
Merge 3.15 into 3.16
2017-11-18 13:30:06 -06:00
Andrew Johnson
db005ac3fe
RULES_TARGET: Define $(lib)_DIR before it is needed
...
TESTLIBRARY products were being installed, because an executable
that was linked to one added a dependency assuming it would be in
the INSTALL_LIB directory. The $(lib)_DIR was being set too late
for test libraries, so the fallback location was used instead.
This fix sets $(lib)_DIR for test libraries before any rules use it.
2017-11-17 14:55:50 -06:00
Andrew Johnson
c28a360357
Merge changes from 3.15 branch into 3.16
2017-11-15 22:20:42 -06:00
Andrew Johnson
0f0deb8903
Merge fixups/db_close_events into 3.15
2017-11-15 21:23:28 -06:00
Andrew Johnson
baf997193e
Merge aSubRecord fixes from 3.14 into 3.15
2017-11-15 21:15:51 -06:00
Andrew Johnson
5278799575
aSubRecord: Copy the right amount of data
...
Initialize OVLx from VALx with NEVx elements, size from FTVx
2017-11-15 20:59:06 -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
031e755303
installEpics.pl: Make temporary install filename more different
...
A parallel build was seen matching the temporary name in a wildcard.
Now the temporary name both starts and ends differently.
2017-11-11 18:00:57 -06:00
Michael Davidsaver
e794639e31
ioc/db: avoid possible race in db_close_events()
...
lp:1730982
2017-11-08 14:42:08 -06:00
Michael Davidsaver
2af98c33c9
std/rec: aSub handle INAM changing outputs
...
Allow EFLG="On Change" to work with INAM.
2017-11-08 14:29:30 -06: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
05d4d7431e
Merge changes from 3.15 branch into 3.16
2017-10-27 12:32:14 -05:00
Andrew Johnson
e38252eecc
Fix osiSockOptMcastLoop_t for solaris
2017-10-26 16:29:03 -05:00
Andrew Johnson
31c7d91884
libCom/test/Makefile: Clean up SYS_LIBS var's
...
Add PROD_SYS_LIBS_solaris global setting
Remove settings for individual tests
2017-10-26 16:28:24 -05:00
Andrew Johnson
42d37eb19a
Merge branch 'osiSockTest' into 3.15
2017-10-26 14:30:38 -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
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
cec4f4e24b
Unify rsrv socket errors, add missing error string
2017-10-20 14:12:49 -05:00
Andrew Johnson
67323ed84f
Fix warnings reported by clang 9.0.0
2017-10-20 10:47:50 -05: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
e3c9d5900e
Added timestamp support to the lnkCalc link type.
2017-10-18 15:39:22 -05:00
Andrew Johnson
58460d25b9
Release Notes
2017-10-13 10:57:21 +02:00
Andrew Johnson
9e75b8b32d
libcom/test: osiSockTest fix for RTEMS
...
Instead of 0/1 RTEMS gives 0/32 (32==SO_BROADCAST).
So switch the test to zero/non-zero.
2017-10-13 10:42:19 +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
Andrew Johnson
32a6f6c4f1
Fix DBD parsing slow-up with Perl 5.20 and later
2017-10-09 14:45:01 +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
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
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
Andrew Johnson
169e9f2699
Merged 3.14 changes into 3.15
2017-09-25 15:45:53 -05:00
Andrew Johnson
22debb3532
Fix for LP: #1702298
2017-09-25 15:41:31 -05:00
Andrew Johnson
c441cdd5a4
Adjust comments about EPICS_TIMEZONE
2017-09-25 12:14:48 -05:00
Andrew Johnson
cffa2e8f46
Fix typo in cvtFast.c
...
Probably only affects MEDM
2017-09-19 16:38:27 -05: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
6ee2cc6039
Merged 3.14 branch into 3.15
2017-09-07 17:48:05 -05:00
Andrew Johnson
13fa1e2722
Travis: Use 'make test-results' for more compact output
2017-09-07 17:39:42 -05:00
Andrew Johnson
fad89189da
Fix typo in CAref.html
2017-09-07 17:38:58 -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
Andrew Johnson
2e4634853c
Don't inherit alarm severity from self-referential links
...
This behavior was present in 3.14 and got lost in my link changes.
Includes a new regression test to detect the broken behavior.
2017-09-02 23:35:07 -05:00
Andrew Johnson
e0757204cc
More tests, check both true and false values for options.
2017-08-30 13:58:17 -05:00
Andrew Johnson
78abb25884
Add osiSockOptMcastLoop_t and osiSockTest
2017-08-28 22:36:25 -05:00
Andrew Johnson
73f3e76150
Merged 3.14 branch config changes into 3.15
2017-08-18 17:19:05 -05:00
Andrew Johnson
4ab56518a0
Add readline support to linux-xscale_be rules
...
Also moves cross-build config to the right host-arch's
2017-08-18 15:14:42 -05:00
Andrew Johnson
80dbc7aeef
Clean up the cross-build rules slightly
2017-08-18 15:10:13 -05:00
Andrew Johnson
238f6772bd
Dirk's simpler VxWorks version rules
2017-08-18 15:06:38 -05:00
Andrew Johnson
dc9859cee9
Fix RPATH and readline for linux-arm cross-builds
2017-08-18 11:59:17 -05:00
Andrew Johnson
5d5f27a486
Don't set RPATH if STATIC_BUILD=YES
2017-08-18 11:57:50 -05:00
Andrew Johnson
ad6a16d7c4
Update EPICS_TIMEZONE settings, extend to 2022
2017-08-18 11:33:17 -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
Michael Davidsaver
111cac8e47
merge 3.14
2017-08-01 17:14:34 +02:00
Michael Davidsaver
5c8e5c52ef
rsrv: fix recv() error handling on WIN32
...
For WIN32 osiSockIoctl_t is unsigned, so
> osiSockIoctl_t nchars = recv(...
is casting signed -> unsigned which treats
errors as success.
2017-08-01 17:02:41 +02:00
Michael Davidsaver
546df1c1f0
rsrv: export CASDEBUG to iocsh
2017-08-01 17:02:41 +02:00
Michael Davidsaver
603331e7a5
rsrv: flush any queued messages before forced disconnect
...
Avoid loss of various ERROR messages which camessage()
has queued.
2017-08-01 16:44:48 +02:00
Michael Davidsaver
4b272cc0cf
rsrv: locking in cas_send_bs_msg()
...
Must lock around "pclient->send.stk = 0u;"
2017-08-01 16:44:48 +02:00
Michael Davidsaver
619a99bf99
rsrv: missing send lock around send_err()
2017-08-01 16:44:48 +02:00
Michael Davidsaver
1f8cb740f1
rsrv: drop un-commited VERSION message
...
This is a no-op as cas_commit_msg() isn't called.
A VERSION message is already queued during create_tcp_client().
2017-08-01 16:44:29 +02:00
Michael Davidsaver
322f7a97de
rsrv: add some comments
2017-08-01 16:44:29 +02:00
Michael Davidsaver
0fc770166c
rsrv: avoid possible overflow in vsend_err()
...
Accounting of message size doesn't take into account
space used by header of failed message (16 or 24 bytes).
This would allow a theoretical really long error message
to overflow the send buffer by 16 or 24 bytes.
2017-08-01 16:44:08 +02: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
Andrew Johnson
f04f17f9bf
Remove vpath for %.pl files
...
It isn't needed, and in some configurations it causes build failures.
Similar problems could still occur for other file types with a similar
vpath, but it's less likely that other file types would be installed in
an equivalent $(TOP)/../<dir> path.
The original issue with .pl files was caused by an installation of Base
where the parent directory had a bin/<host> soft-link pointing to the
same bin/<host> of a newer installation of the same version of Base, so
it had all the necessary .pl files in it. The vpath allowed the build in
src/tools to search $(TOP)/../bin/<host> when checking the buildInstall
dependency, and since it found those .pl files through the vpath it
didn't bother to install them. When they were run later on in the build
from the $(TOP)/bin/<host>/ path they weren't present so it failed.
2017-07-26 12:02:24 -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
1a70855e25
Use static strings for epicsInterruptContextMessage()
...
The callbackRequest() routine was passing a stack-allocated
string to epicsInterruptContextMessage() but on RTEMS the
pointer is queued without copying the string. This fix uses
static strings for the 3 messages instead.
Fixes LP: #1705219
2017-07-24 11:19:20 -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
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
745109e423
Add loop detection to Release.pm
...
GNUmake will *usually* spot recursive "include" loops first, but
not if the loop is in another module that we're just checking.
In that case Release.pm eats file descriptors until they run out
without this fix.
2017-06-22 18:38:07 -05:00
Andrew Johnson
b9d2712738
Argh!!!
2017-06-22 17:07:56 -05:00
Andrew Johnson
a69bd833fc
More msi.plt retries for Jenkins builds on Windows
2017-06-22 16:45:00 -05:00
Andrew Johnson
630b4f375d
Fix 'make test-results' rule for Windows
2017-06-22 16:42:53 -05:00
Andrew Johnson
9d4a90ac34
Fix link initialization from hex constants
...
Fixes LP: #1699445
Includes regression tests (some of which will fail on 3.16)
2017-06-22 14:29:04 -05:00
Andrew Johnson
cc0dacedb5
Merge changes from 3.15 branch into 3.16
2017-06-20 15:54:35 -05:00
Andrew Johnson
83cb50574a
Merge bug-fix from 3.14 branch into 3.15
2017-06-20 15:50:49 -05:00
Andrew Johnson
6b5e7da4fd
catools: dbr_long_t is only 32 bits wide
...
Don't print it as a native long.
Fixes LP: #1699332
2017-06-20 15:49:41 -05:00
Andrew Johnson
69d530f1db
Cross-build fix for generated .t files
...
The *target* OS should determine whether to use system or exec.
2017-06-16 15:37:55 -05:00
Andrew Johnson
411a60c32d
Add missing link libraries
2017-06-16 12:44:10 -05:00
Andrew Johnson
79fe79ad56
Merged changes from 3.15 branch into 3.16
2017-06-14 14:55:53 -05:00
Andrew Johnson
105e831442
Merge changes from 3.14 branch into 3.15
2017-06-14 10:17:31 -05:00
Andrew Johnson
a1dc16848c
configure: Fix include CONFIG_APP_INCLUDE
...
which needs to happen *after* CONFIG_SITE overrides.
2017-06-14 10:03:43 -05:00
Andrew Johnson
2819d7ea3d
Posix epicsEventWaitWithTimeout() max delay
...
Limit timeouts on Posix to max-out at 10 years.
Adds a test that will fail when that time-out hits Y2038 on
systems where time_t is still a 32-bit integer.
2017-06-14 10:01:23 -05:00
Andrew Johnson
f464274439
Remove declarations of previously-deleted functions
...
Fixes LP: #1696801
2017-06-12 18:15:12 -05:00
Andrew Johnson
6ef995525a
Restore the use of DBL_MAX in timerQueue.cpp
2017-06-09 13:44:30 -05:00
Andrew Johnson
18dee384ec
Fix tv_sec casts to use time_t, not long
2017-06-09 12:20:16 -05:00
Andrew Johnson
b369aa67f1
Use 1000 years as 'forever' in timers
...
DBL_MAX causes problems...
2017-06-08 21:55:12 -05:00
Andrew Johnson
085fab4aed
Merge 3.14 branch into 3.15
2017-06-08 09:55:05 -04:00
Andrew Johnson
c853234e01
Remove artificial 60-minute timeout limit (Posix)
2017-06-08 09:53:07 -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
1293747cf3
Merge 3.14 branch into 3.15
2017-06-01 16:40:33 -05:00
Andrew Johnson
9c859ffdca
Protect casStatsFetch() if called before rsrv_init()
...
Also ensures clientQ is initialized before creating clientQlock.
Fixes LP: #1694966
2017-06-01 15:37:34 -05:00
Andrew Johnson
29c069db3d
Testing msi: Add retries if necessary
...
Hoping this will fix the annoying problems on Windows Jenkins.
2017-05-31 12:51:39 -05:00
Andrew Johnson
77c00faabe
Merge 3.15 branch into 3.16
2017-05-30 17:17:59 -05:00
Andrew Johnson
12d22e392f
Merge 3.14 branch into 3.15
2017-05-30 17:14:56 -05:00
Andrew Johnson
0dc850f4ec
A gitignore pattern for vi on MacOS
2017-05-30 17:13:56 -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
98b0f7e48b
Merge 3.14 branch into 3.15
2017-05-19 17:34:49 -05:00
Andrew Johnson
672fd16ec8
Add make targets test-results and clean-tests
...
These are mainly intended for CI builds.
2017-05-19 15:44:15 -05:00
Ralph Lange
dcadeac903
ci: add appveyor configuration
2017-05-19 13:38:39 +09: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
0b3e44747e
Merge 3.14 branch into 3.15
...
# Conflicts:
# configure/RULES.Db
# configure/RULES_ARCHS
# configure/RULES_BUILD
# documentation/RELEASE_NOTES.html
2017-05-18 17:07:41 -05:00
Andrew Johnson
b7b3dd2b37
Support for 'make junitfiles' target.
...
The Perl XML::Generator module must be installed to use this.
2017-05-18 16:31:43 -05:00
Andrew Johnson
ffa7399c71
Merge changes from 3.15 branch
2017-05-11 16:39:52 -05:00
Andrew Johnson
b14d77dcf2
Fix tools/test/*.plt 'use lib' lines
...
This allows the tests to work when INSTALL_LOCATION is set.
2017-05-11 15:29:52 -05:00
Andrew Johnson
cb89710bbd
Update comments in the configure/RELEASE file
2017-05-11 14:50:00 -05:00
Andrew Johnson
b3bbf67ce8
Add support for a CONFIG_SITE.local file
2017-05-11 14:49:04 -05:00
Ralph Lange
78b910574d
ci/appveyor: print perl version to console log
2017-05-10 17:31:25 +02:00
Xiaoqiang Wang
82396ee3ef
fix data size of gdd container type
...
getDataSizeElement of gdd container returns the number of sub fields.
It has to be called on the "value" field. This fix has already been done
in monitorReponse.
2017-05-10 10:22:13 -05: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
a7c14ec995
Merge remote-tracking branch 'launchpad/3.14'
...
* launchpad/3.14:
ioc/rsrv: bounds check DBR
2017-05-03 16:53:43 -04:00
Michael Davidsaver
e430d097b7
ioc/rsrv: bounds check DBR
...
avoid array overrun when evaluating dbr_size_n() macro.
2017-05-03 16:49:28 -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
Michael Davidsaver
875e4db3f9
Merge remote-tracking branch 'launchpad/3.14'
...
* launchpad/3.14:
missing include
Conflicts:
src/ioc/dbStatic/dbStaticLib.c
2017-05-02 18:38:40 -04:00
Michael Davidsaver
8c8604c503
Merge remote-tracking branch 'launchpad/3.14'
...
* launchpad/3.14:
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/ioc/dbStatic/dbStaticLib.c
src/libCom/osi/epicsAssert.h
2017-05-02 18:31:40 -04:00
Michael Davidsaver
9d7c4434ad
rename iocshFind -> iocshFindCommand
2017-05-02 18:23:52 -04:00
Keenan Lang
67e12bca9f
Added patch
2017-05-02 18:23:52 -04:00
Keenan Lang
15cb72acbc
Changed function outputs to remove pointer to next function.
2017-05-02 18:23:52 -04:00
Keenan Lang
45ed461665
more whitespace
2017-05-02 18:23:52 -04:00
Keenan Lang
3986e43135
whitespace
2017-05-02 18:23:51 -04:00
Keenan Lang
daad3c6995
Added functions to allow access to what functions and variables the ioc shell has registered.
2017-05-02 18:23:51 -04:00
Michael Davidsaver
38be82a154
missing include
2017-05-02 18:22:57 -04:00
Michael Davidsaver
27cd9fd051
ioc/dbStatic: dbFreeBase() don't double free alias'd records
...
dbFreeBase() has been broken since alias() was introduced.
Traversal of recList in the function assumed that dbDeleteRecord()
remove only the current dbRecordNode. However, dbDeleteRecord()
called dbDeleteAliases() which removes alias dbRecordNode s.
If this happens (as it often does) to be the node immediately
after the real node, dbFreeBase() will then iterate using
a ellDelete()d node.
2017-05-02 18:04:06 -04:00
Michael Davidsaver
1ffce72a38
ioc/dbStatic: plug leak in dbFreeBase()
2017-05-02 18:02:05 -04:00
Michael Davidsaver
dcac64d50f
ioc/dbStatic: whitespace
2017-05-02 18:01:39 -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
Andrew Johnson
0bf789db4c
Fix indentation warning from GCC
2017-04-28 14:56:18 -05: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
57cbe61709
libCom/test: errlog test more verbose
2017-04-27 16:53:40 -04:00
Michael Davidsaver
a2ab17a782
libCom: STATIC_ASSERT use c++11 static_assert when possible
2017-04-27 16:52:33 -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
Michael Davidsaver
c6910decfc
oops
2017-04-27 14:19:15 -04:00
Michael Davidsaver
b01dd38526
std/filter/test: use dbUnitTest
2017-04-27 14:09:41 -04:00
Andrew Johnson
d825f87359
Check for empty PV names in Perl catools
2017-04-27 12:10:27 -05:00
Michael Davidsaver
82ff67a204
travis-ci enable mingw w/ dll
2017-04-27 12:57:01 -04:00
Michael Davidsaver
e751480b06
Merge remote-tracking branch 'launchpad/3.14'
...
* launchpad/3.14:
travisci
catools: Fix SEGFAULT from bad PV names
typo
2017-04-27 12:55:35 -04:00
Michael Davidsaver
3184371e8d
travisci
2017-04-27 12:53:35 -04:00
Andrew Johnson
f2e54be965
catools: Fix SEGFAULT from bad PV names
2017-04-27 10:52:07 -05: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
Jeong Han Lee
c22670cbb0
typo
2017-04-24 21:06:30 -04:00
Andrew Johnson
35385bc688
Merge changes from 3.14 into 3.15
...
Changes to be committed:
modified: src/ioc/db/dbCa.c
modified: src/libCom/calc/postfix.h
modified: src/libCom/test/epicsCalcTest.cpp
2017-04-24 18:10:53 -05:00
Andrew Johnson
c5decfbd12
Fix for dbCa warning seg-fault
...
Don't queue an errlog message containing a pointer to a string
that will disappear soon.
Thanks to Matt Pearson for the bug analysis.
2017-04-24 18:03:53 -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
Andrew Johnson
e25a2964bc
Fix postfix.h macro arg, document
2017-04-21 16:09:36 -05: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
22b10adf29
ioc/db: testdbGetFieldEqual() detect zero size
2017-04-21 16:14:43 -04:00
Michael Davidsaver
8382367495
libCom/test: epicsCalcTest use exact postifx buffers
...
exposes INFIX_TO_POSTFIX_SIZE() bug
2017-04-21 16:13:18 -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
Andrew Johnson
821fb1302b
Merged changes from 3.14 branch into 3.15
2017-04-20 16:57:08 -05:00
Andrew Johnson
64c16c0f6e
Cleanup in asLib
...
Improve error messages.
Remove unnecessary pointer casts.
2017-04-20 16:27:20 -05:00
Andrew Johnson
9f01c47542
Allow whitespace before comments in AS config files
...
Fixes lp: #1677302
Makes the lexer patterns more like dbStatic.
Handle non-printable invalid characters in input properly.
2017-04-20 16:23:36 -05:00
Andrew Johnson
aca7b44a05
Supress MS warning C4251
2017-04-20 11:42:52 -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
Andrew Johnson
b8f542fc0d
Add a plan to std/filters/test/syncTest.c
2017-04-18 14:49:40 -05:00
Andrew Johnson
6f9905d060
Fix dbUnitTest.c
2017-04-18 14:48:54 -05:00
Michael Davidsaver
f3841c4767
avoid void* +=
2017-04-17 18:58:19 -04:00
Andrew Johnson
4f8fd545fa
Merge branch 'fix-async-dns/master' into 3.14
2017-04-17 15:52:10 -05:00
Andrew Johnson
d4552af39b
Fix and test for macLib losing error status
...
Problem found & diagnosed by Mark Rivers.
2017-04-17 11:47:21 -05:00
Michael Davidsaver
0c02c5cb30
update notes
2017-04-15 19:38:56 -04:00
Michael Davidsaver
1f90e98491
libCom/test: ipAddrToAsciiTest skip cleanup unless valgrind is possible
2017-04-15 19:34:04 -04:00
Michael Davidsaver
352fd32c45
libCom/test: add ipAddrToAsciiTest to testHarness
2017-04-12 20:30:23 -04: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
Michael Davidsaver
b624222a0f
db/test: dbPutGetTest check dbGet() of long string field
2017-04-06 20:28:04 -04:00
Michael Davidsaver
739a112bec
db: dbGet() ensure long string nil and actual string length
2017-04-06 20:28:01 -04:00
Michael Davidsaver
5e082bb75d
db/test: dbPutGetTest check for dbGet() attribute crash
2017-04-06 20:27:37 -04:00
Michael Davidsaver
8ebfd0821a
db: fix dbGet() for attributes as long string
...
dbGet() of "rec.RTYP$" with DBF_CHAR and nRequest==1
not handled correctly. Results in crash.
2017-04-06 20:27:34 -04:00
Michael Davidsaver
fc8d4c2b5f
db/test: dbPutGetTest add test for lp:1678494
2017-04-06 20:27:18 -04:00
Michael Davidsaver
1888253093
db: fix dbGet() of link fields as DBF_CHAR
...
dbGet() DBF_CHAR with nRequest==1 not handled correctly.
Results in crash.
2017-04-06 20:27:13 -04:00
Michael Davidsaver
8edefb9d63
dbUnitTest: add testdbGetArrFieldEqual()
2017-04-06 20:27:03 -04:00
Michael Davidsaver
0f31e35b87
db/test: add dbPutGetTest
2017-04-06 20:25:55 -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
Andrew Johnson
5a73ac59a1
Adjusted .gitignore patterns
2017-03-31 12:18:43 -05:00
Andrew Johnson
e0af3e2af5
Adjusted .gitignore patterns
2017-03-31 12:08:03 -05:00
Ralph Lange
5726ca6964
libCom/test: add network libraries for Windows builds
2017-03-31 15:01:51 +02:00
Ralph Lange
f164b14ba1
Moved .bzrignore to .gitignore
2017-03-30 15:43:15 -05:00
Ralph Lange
4c06cdc660
Move .bzrignore to .gitignore
2017-03-30 17:10:52 +02: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
f71102982f
Fix "make -q" problems with shared library stubs
2017-03-06 18:46:46 -06:00
Andrew Johnson
d6b0c3041e
Merged changes from 3.14 branch to revno 12703
2017-03-06 15:40:28 -06:00
Andrew Johnson
214e9534cc
Allow 'make -q' to work with CHECK_RELEASE=NO
2017-03-03 18:18:57 -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
Michael Davidsaver
2a0cd00958
libca: lock when removing from msgMultiPVList
2017-02-27 14:48:30 -05:00
Michael Davidsaver
d744b06a28
libca: findOrCreateVirtCircuit() can return w/ piiu==NULL
2017-02-27 11:07:17 -05:00
Ben Franksen
1c3ffa1c76
fixed the wrong fix for getOptions in dbAccess.h
2017-02-26 13:54:58 +01:00
Michael Davidsaver
048b75304d
libCom/test: add ipAddrToAsciiTest
2017-02-25 19:08:46 -05:00
Ben Franksen
aaafb1a5de
db: call rset::get_precision with wrong type
2017-02-25 16:42:29 -05: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
Michael Davidsaver
5783823e25
libCom: revise ipAddrToAscii
...
create multiple light-weight engines to
track transactions by engine and cancel
all transactions when an engine is released.
prior to fix for lp:1527636 this was ensured
for the last/only owner for the engine singleton.
2017-02-23 20:08:46 -05: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
de698f370a
Merged Windows fixes from 3.14 branch, to revno 12699
2017-01-30 14:31:04 -06:00
Andrew Johnson
faf691a5be
VS2015 starting to dislike '/' for compiler flags
2017-01-30 12:11:29 -06:00
Andrew Johnson
3a0e52fc3f
Fix Windows dllPath.bat properly
2017-01-24 14:17:37 -06:00
Andrew Johnson
a105c6f538
Always quote Windows PATH arg's
2017-01-24 11:48:36 -06:00
Andrew Johnson
73eecbb759
Merged ARCH and bind fixes from 3.14 branch, revno 12696
2017-01-23 17:20:51 -06:00
Andrew Johnson
3e58c59377
Fix CA server bind issue from Freddie Akeroyd
2017-01-19 12:33:54 -06:00
Andrew Johnson
b9ae6c3308
Allow ARCH with trailing spaces
2017-01-18 10:59:36 -06:00
Andrew Johnson
3fd659e693
Merged PATH fix from 3.14 branch, revno 12694
2017-01-16 16:12:04 -06:00
Andrew Johnson
7310d78057
Prepend to PATH, not append
2017-01-16 10:46:56 -06:00
Andrew Johnson
051c059938
Removed some Revision-Id keywords
2017-01-06 17:31:51 -06:00
Andrew Johnson
dfc1b8ac23
Merged scan-rate protection changes from 3.14 branch, to revno 12693
2017-01-06 17:24:57 -06:00
Andrew Johnson
49e0e23f76
Better protection against bad periodic scan rates
2017-01-06 15:38:03 -06:00
Andrew Johnson
4a0fd0b954
Fix error message
2017-01-05 14:09:03 -06:00
Andrew Johnson
20dda339cc
Make *_INC files order-only prerequisites
2017-01-04 16:32:13 -06:00
Andrew Johnson
7ec6be5d14
Update version numbers in documents for 3.15.6
2016-12-13 17:03:54 -06:00
Ralph Lange
eff44268e9
Set version to 3.15.5-DEV, close 3.15.5 chapter in release notes
2016-12-13 15:33:01 +01:00
Ralph Lange
fd53e175b4
Update CONFIG_BASE_VERSION for 3.15.5, remove "not released" from RELEASE_NOTES
2016-12-13 14:25:23 +01:00
Andrew Johnson
fab5ce675f
Update comments in calcoutRecord
2016-12-12 17:44:01 -06:00
Andrew Johnson
85b5551b3b
Merged final changes from 3.14.12.6 release
2016-12-09 17:27:35 -06:00
Andrew Johnson
260bc64b59
Set SNAPSHOT back to -DEV
2016-12-09 13:50:17 -06:00
Andrew Johnson
5097ac3230
Set SNAPSHOT for 3.14.12.6
2016-12-09 13:48:55 -06:00
Andrew Johnson
8d7bf52e51
One more cppcheck issue fixed
2016-12-09 11:17:43 -06:00
Andrew Johnson
a13416309c
Merged asLib fix from 3.14 branch, to revno 12688
2016-12-08 14:00:52 -06:00
Andrew Johnson
1cb75ebb6e
asLib message buffer too small (Freddie Akeroyd)
2016-12-08 13:57:23 -06:00
Andrew Johnson
63b059c35e
Resolve additional cppcheck issues; fix iOS build
2016-12-07 17:51:00 -06:00
Andrew Johnson
dba6971e07
Merged changes from 3.14 branch to revno 12687
2016-12-07 16:36:58 -06:00
Andrew Johnson
94397b52fc
Resolve some cppcheck errors & warnings
2016-12-07 13:53:26 -06:00
Andrew Johnson
7fe152ce1b
Merge Bruce Hill's pcas-deadlock-fix-3.14 branch
2016-12-07 10:43:06 -06:00
Bruce Hill
d3568605ce
Fetch nativeCount() in casChannelI constructor to avoid deadlock
...
if we fetch it from eventSysProcess()
2016-12-06 13:43:59 -08:00
Andrew Johnson
666721c7ad
Document caput scalar arg's, update usage docs
2016-12-06 12:16:35 -06:00
Andrew Johnson
c3bb2bf2c2
Merged changes from 3.14 branch to revno 12682
2016-11-30 12:04:00 -06:00
0f7f4710c6
PCAS dynamic array support for GDD container types
2016-11-30 11:58:24 -06:00
Ralph Lange
2841af7069
rec: add promptgroups for OFFS and SHFT of fanout and seq
2016-11-29 14:48:57 +01:00
Andrew Johnson
0a4981093a
Update mingw32 cross-target name for RHEL7
2016-11-15 17:44:21 -06:00
Andrew Johnson
726d7c6715
Fix chfPluginTest for MS 2015 compiler
2016-11-15 10:34:10 -06:00
Andrew Johnson
f1439f8b1c
Fix epicsStdioTest for MS 2015 compiler
2016-11-15 09:56:42 -06:00
Andrew Johnson
aa6e976f92
Add .local includes to makeBaseApp templates
2016-11-04 17:18:14 -05:00
Andrew Johnson
3e0ddbb542
Set snapshot to -rc1-DEV
2016-10-31 18:06:50 -05:00
Andrew Johnson
67daaaa9b7
Set snapshot to -rc1-DEV
2016-10-31 17:06:19 -05:00
Andrew Johnson
a36443557b
Set version to 3.14.12.6-rc1
2016-10-31 17:03:35 -05:00
Ralph Lange
628382d72d
Update version to 3.15.5-rc1
2016-10-31 13:48:06 +01:00
Andrew Johnson
3c546617ab
Merged release note updates from 3.14 branch, to revno 12677
2016-10-29 15:56:49 -05:00
Andrew Johnson
435ac7b086
Release note updates
2016-10-29 15:49:13 -05:00
Andrew Johnson
e2c897bb54
Corrections/updates to release documentation
2016-10-21 14:43:16 -05:00
Andrew Johnson
33025641fc
Update version to 3.15.5-pre1-DEV
2016-10-21 12:16:25 -05:00
Andrew Johnson
9ea2ac7bc1
Update version to 3.15.5-pre1
2016-10-21 12:15:09 -05:00
Andrew Johnson
14819ef1ec
Update version numbers in docs
2016-10-21 12:07:26 -05:00
Andrew Johnson
178a8a835a
Update version to 3.14.12.6-pre1-DEV
2016-10-20 18:03:50 -05:00
Andrew Johnson
3e3b691518
Update version to 3.14.12.6-pre1
2016-10-20 18:03:03 -05:00
Andrew Johnson
321e87aabf
Merged changes from the 3.14 branch, to revno 12674
2016-10-20 15:32:06 -05:00
Andrew Johnson
ba555ee496
Fix Whole Program opt settings (windows only)
2016-10-20 12:23:06 -05:00
Andrew Johnson
0743417231
Merged the pcas-vararray-3.14 branch, with fixes and notes
2016-10-20 12:22:00 -05:00
Ralph Lange
ac6b8bfcc7
templates: make caServerApp use variable size vectors
2016-10-19 14:22:25 +02:00
Ralph Lange
5d5cc1029e
gdd: make put() write full array if requested size=0
2016-10-19 11:57:13 +02:00
Andrew Johnson
994cf0ff07
Add whole-program optimization control for MSVS
...
Introduce a new config variable OPT_WHOLE_PROGRAM for
Microsoft builds to control compiler and linker flags.
Static builds with MSVS-2010 don't work properly with
whole-program optimization enabled; this lets the static
targets be built with normal optimization enabled and
just the whole-program flags turned off.
This commit also makes the CONFIG file for Microsoft
builds more like the 3.15 version.
2016-10-18 16:34:25 -05:00
Ralph Lange
92ffe1d726
cas: fix first subscription update returning only 1 element when 0 were requested
2016-10-18 11:39:38 +02:00
Andrew Johnson
1351eceead
Clean up unused code warnings from Clang
2016-10-14 13:48:56 -05:00
Ralph Lange
9ac237b3de
cas: Add real implementation for variable length arrays (Bruce Hill, Matej Sekoranja)
2016-10-12 13:41:55 +02:00
Andrew Johnson
f73d48bb6a
Apply fix for lp:1581505
2016-10-10 17:19:10 -05:00
Andrew Johnson
6e2705c23f
Merged commit 12741 from Michael's pcas-fake-dynamic branch
2016-10-10 15:12:26 -05:00
Andrew Johnson
b59a60e266
Merged the bigdb-3.15 branch with PHAS fix
2016-10-07 17:35:07 -05:00
Ralph Lange
a32faa573c
ioc/misc: add dbRecordsAbcSorted to dbCore.dbd
2016-10-07 11:56:06 +02:00
Ralph Lange
3fa8f2ac22
libCom/ellLib: make sort comparator args const pointers
2016-10-07 10:52:13 +02:00
Ralph Lange
de6a442048
dbStatic: fix compiler warnings (unused variables)
2016-10-07 10:29:28 +02:00
Andrew Johnson
928ebe82bd
Build rules: Enable tests only when we can run them
2016-10-06 13:13:59 -05:00
Ralph Lange
768c6234bd
Mention dbRenameRecord() removal in release notes
2016-10-06 15:44:02 +02:00
Ralph Lange
336bd656c8
dbStatic: only sort records alphabetically if explicitly configured (default: no sorting)
2016-10-06 15:36:44 +02:00
Ralph Lange
344928bdc6
dbStatic: remove dbRenameRecord()
2016-10-06 13:31:40 +02:00
Ralph Lange
843fb8ca95
dbStatic: update dbCreateAlias() to add to record list (instead of insertion sort)
2016-10-06 13:02:46 +02:00
Andrew Johnson
2fd298b440
Fixed issues with previous epicsTime.cpp changes
2016-10-05 15:11:57 -05:00
Ralph Lange
4da0e2c27e
Add release note info for the epicsTime change
2016-10-05 09:41:49 +02:00
Andrew Johnson
8531da6496
Merged Ralph's add-epicstime-from-gmtm branch
2016-10-04 18:04:26 -05:00
Ralph Lange
67323441ec
libCom/test: add roundtrip test for epicsTime from/to UTC struct tm conversion
2016-10-04 16:17:45 +02:00
Ralph Lange
3702401171
libCom/osi: add full epicsTime conversion from/to UTC struct tm (without timezone mechanism)
2016-10-04 16:16:42 +02:00
Andrew Johnson
8d6875fe15
Merged changes from the 3.14 branch to revno 12664
2016-10-03 15:21:48 -05:00
5ad61d25f6
Fix race condition in gdd
2016-09-29 11:23:14 -05:00
Andrew Johnson
6623cb0112
Back-ported 64-bit MinGW cross-build stuff from 3.15
2016-09-28 17:10:38 -05:00
Jeff Hill
c2b17feaf1
libCom: Missing unlock in epicsThreadShow for RTEMS
...
fixes lp:1628323
2016-09-27 21:36:28 -04:00
Andrew Johnson
8fb2267218
Revert breaktable point() syntax, not in dbStatic
2016-09-27 16:57:53 -05:00
Ralph Lange
9de65e05d4
libCom/osi: fix timespec definition for MinGW
...
(cherry-picked from 3.15)
2016-09-27 15:59:53 +02: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
147166849b
Empty merge of backported big-fix from 3.14 branch, to revno 12660
2016-09-02 15:17:07 -05:00
Andrew Johnson
661058e43e
ca: Fix client bug (race condition) in ipAddrToAsciiEngine
2016-09-02 15:12:50 -05:00
Andrew Johnson
4686a062c8
Merged generalTime update from 3.14 branch, revno 12659
2016-09-02 12:47:23 -05:00
Andrew Johnson
25b3eae1c7
Merged changes from the 3.14 branch to revno 12658
2016-09-02 11:54:23 -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
80eaad4118
GeneralTime updates to improve time provider synchronization
2016-08-29 13:04:48 -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
b671d1cc40
mingw: Fix the list of Windows OS libraries to link against
2016-08-25 14:49:29 -05:00
Andrew Johnson
6934f9b4c1
darwin: Add Homebrew settings to CONFIG_SITE
2016-08-25 14:39:05 -05:00
Andrew Johnson
3963dcb4df
dbgf: Don't print beyond last buffer char
2016-08-24 20:17:36 -05:00
Andrew Johnson
82385c9f1b
Missed a spot handling JSON_LINK field values
2016-08-18 00:18:41 -05:00
Andrew Johnson
e5d0915b51
MS build config updates, suppress warning C4344
2016-08-17 11:19:15 -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
Ralph Lange
b3ac81923a
cas: update enum string table on updates for enum type data
2016-08-13 14:00:57 +02: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
57b8617cca
dbdExpand.pl
2016-08-11 15:48:01 -05: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
064cc94f59
Allow up to 100 network interfaces on Windows.
...
Fixes lp:1606848
2016-07-27 10:14:35 -05:00
Andrew Johnson
e9abac25bc
Merged changes from 3.14 branch to revo 12652
2016-07-21 23:37:54 -05:00
Andrew Johnson
f169781de0
Merged remove-keywords-3.15 branch
2016-07-21 14:12:51 -05:00
Andrew Johnson
3d4d3181de
DOS to Unix line-ending conversions
2016-07-21 12:47:48 -05:00
Andrew Johnson
c8351c329b
Clarify comments in exampleApp Makefile
2016-07-18 11:25:08 -05:00
Michael Davidsaver
4223b31f9a
bswap16/32 as functions
...
Turn bswap16() and bswap32() into functions
to avoid evaluating the argument more than once.
2016-07-08 16:20:35 -04:00
Andrew Johnson
bffdfdcb28
Fix GetUser routine in makeBaseApp.pl
2016-07-08 13:18:53 -05:00
Andrew Johnson
6dda3decf9
Merged remove-keywords-3.14 branch
2016-07-07 16:43:29 -05:00
Andrew Johnson
ddeb0a827c
Make EXPAND rule work on all arch's
...
Fixes build for linux-arm in src/util.
Don't expand files unless specifically requested.
Expanded files are always precious.
2016-07-06 17:05:04 -05:00
Andrew Johnson
22ef569682
Provide a systemd service file for caRepeater
...
Also changes how the sysvinit files are generated to use
the expandVars.pl script and rules instead of sed.
2016-07-06 15:23:58 -05:00
Andrew Johnson
b9aa877727
Fix RTEMS build
2016-07-06 14:06:21 -05:00
Andrew Johnson
8da6c172d1
Removed epicsExceptionTest.cpp
...
Too many build failures on newer C++ compilers. Since this
is just testing that the compiler runtime follows the C++
standard it isn't really necessary any more (it was in the
early days of C++ before standardization).
2016-07-06 11:36:09 -05:00
Andrew Johnson
bf85143381
Fix for g++ 6.x on Fedora 24, cleanup
2016-06-22 12:25:17 -05:00
Andrew Johnson
203fcecc23
Adjust linux-arm config for Xilinx SDK users
2016-06-20 14:06:42 -05: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
7a38da0e44
Ignore RULES, TOP & TEMPLATE_TOP in new checks
2016-05-31 11:18:29 -05:00
Andrew Johnson
11e98798bb
Fix dependency file generation on Windows & Darwin
2016-05-27 23:15:59 +02:00
Ralph Lange
d1e49a97b5
Set version to 3.15.4-DEV, close 3.15.4 chapter in release notes
2016-05-27 09:12:58 +02: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
b9f0ef5158
Merge 3.14 version and add 3.15 edits
2016-05-22 14:38:18 +02:00
Andrew Johnson
f4a16a1e1e
Remaining Revision-Id keywords in source
2016-05-22 05:43:09 +02:00
Andrew Johnson
c03d3eb69a
Removed commit date from CONFIG_BASE_VERSION
2016-05-22 05:41:50 +02:00
Andrew Johnson
1218e3db91
documentation dir; Added Release note
2016-05-21 04:36:49 +02:00
Andrew Johnson
a66d56f5cf
startup dir
2016-05-21 04:28:49 +02:00
Andrew Johnson
89c8c78564
Removed Revision-Id from configure; still one Date
2016-05-21 04:27:03 +02:00
Andrew Johnson
0a5f7f03cb
config directory
2016-05-21 04:01:24 +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
Michael Davidsaver
55895e6d66
ellSort: comments and redundant asserts
2016-04-27 07:58:39 -04:00
Andrew Johnson
0348c2295b
Cleanup
2016-04-26 22:13:12 -05:00
Michael Davidsaver
77d6609bbd
fixup comments
2016-04-26 20:19:19 -04:00
Michael Davidsaver
b035bd9963
test ellSortStable
2016-04-26 13:57:22 -04:00
Michael Davidsaver
70fc52bca0
dbCreateRecord use ellSortStable()
...
sort records once per dbLoadCOM()
2016-04-26 13:57:22 -04:00
Michael Davidsaver
40d110fd7d
ellSort
2016-04-26 13:56:57 -04:00
Michael Davidsaver
56d5a59356
dbScan: optimize addToList
...
Insert from back to maintain ~same order.
Avoid iterating entire list each time
in the common case where all PHAS==0
2016-04-26 13:56:57 -04:00
Michael Davidsaver
b392c1ca7d
whitespace
2016-04-26 13:56:57 -04:00
Andrew Johnson
79f1257f1d
Merged commit 12739 from 3.15 branch = 12623 from 3.14 branch.
2016-04-15 17:41:26 -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
c888b4b6f0
Merged changes from 3.15 branch, to revno 12738
2016-03-30 12:39:36 -05:00
Michael Davidsaver
7a1766279c
dbLock: dbLockerAlloc() accept const array of non-const pointers
2016-03-24 13:42:49 -04:00
Andrew Johnson
cec0222c5a
Merged Keenan Lang's iocsh-silent branch
2016-03-24 10:13:17 -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
Keenan Lang
394820318c
Getting branch up to date with trunk
2016-03-21 10:01:11 -05:00
Michael Davidsaver
45db78981c
iocInit: no need to break DB_LINK when isolated
...
This is being done to free the link private struct,
but dbDbRemoveLink() is not used to avoid the overhead
of splitting every lockset just before the PDB
is free'd.
No reason to do this for non-isolated until scans threads
are stopped.
2016-03-20 09:43:40 -04:00
Michael Davidsaver
7d94d05bb7
iocInit: special clear link set in doCloseLinks()
2016-03-19 17:15:08 -04: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
Keenan Lang
5c93eb6049
Updated Changelog
2016-03-15 16:04:57 -05:00
Keenan Lang
92bd217ade
Updating example iocsh startup scripts
2016-03-07 14:38:59 -06:00
Keenan Lang
f0b5b52cef
Whitespace
2016-03-07 14:14:33 -06:00
Keenan Lang
e0b578aff5
Eliminated @-sign echo disabling, replaced with ability to disable comment echoing with '#-'
2016-03-07 14:12:04 -06:00
Keenan Lang
0fd07d1632
Updated iocsh to allow user to select that lines from included scripts not be echoed.
2016-03-04 16:08:05 -06:00
Andrew Johnson
fbf6b6d3e5
The usual post-tag updates
2016-03-03 17:41:58 -06:00
Andrew Johnson
82042e270e
CONFIG_BASE_VERSION for R3.16.0.1
2016-03-03 17:36:43 -06:00
Andrew Johnson
32c3f8a44f
Merged reformatted Release Notes from 3.15, to revno 12735
2016-03-03 17:32:51 -06:00
Andrew Johnson
fc4f010972
Documentation updates for release
2016-03-03 17:19:50 -06:00
Andrew Johnson
3d7e95b88a
Debug print value of IF flags in default/osdNetIntf.c
2016-03-03 13:39:48 -06:00
Andrew Johnson
8fea0117ae
Clean up build rules, remove CapFast & dbst support
2016-03-02 14:20:53 -06:00
Andrew Johnson
8392106f59
Merged revno 12734 from 3.15 branch
2016-03-02 10:44:40 -06:00
Michael Davidsaver
19680d7869
libCom/test: fixup epicsAtomicTest
...
Add testBasic to check basic op symantics.
Add anon namespace to hide symbols other than MAIN(epicsAtomicTest).
Replace using namespace with using for individual functions.
For RTEMS skip the tests using threads as the use of
RTEMS_NO_TIMESLICE prevents them from being meaningful
2016-03-01 10:57:26 -05:00
Michael Davidsaver
4a0ef34771
edit RELEASE_NOTES.html
2016-02-29 21:08:25 -05:00
Michael Davidsaver
5d42e60745
rec/test: asTest fixup rtems test harness
...
Since this test has device support it must appear in a
DLL for windows dynamic builds.
However, the rRDD function is in the executable,
and not accessible here. So use iocsh.
For rtems/vxworks the test harness clears
iocsh registrations, so iocsh can't work here.
2016-02-29 20:43:40 -05:00
Michael Davidsaver
e01d4b14d6
rec/test: add missing TESTFILES
2016-02-29 20:37:25 -05:00
Andrew Johnson
791fa1310a
Merge fixes from 3.15 branch, to revno 12733
2016-02-29 18:15:28 -06:00
Andrew Johnson
64cd49410e
Make epicsMutex intialization use epicsThreadOnceId
...
Includes Michael's patch to replace calls to the epicsMutex API
from inside the libCom/osi/os/RTEMS/osdThread.c code.
Fixes lp:1542539
2016-02-29 16:22:43 -06:00
Andrew Johnson
0f6f833e91
Merged link-support branch
2016-02-29 13:48:18 -06:00
Andrew Johnson
c08df82898
Merged compress branch
2016-02-29 13:24:16 -06:00
Andrew Johnson
f0c56bcbba
Merged 3.15 changes, to revno 12731
2016-02-26 18:16:26 -06:00
Michael Davidsaver
2be59e985d
Avoid race in linkRetarget
...
Add dbCaSync() to avoid a race between a call to dbCaGetField()
and the link becoming connected.
2016-02-16 15:07:40 -05:00
Michael Davidsaver
b4fd19e7db
libCom/test: remove test_debug from epicsStackTraceTest
...
No one will look at this output unless the test fails,
then more output is better.
2016-02-15 17:09:44 -05:00
Michael Davidsaver
969b1030b2
RTEMS: show PWD and nfsMount() args on start
2016-02-15 12:29:22 -05:00
Michael Davidsaver
84880e876d
dbUnitTest: show PWD when database load fails
2016-02-15 12:29:22 -05:00
Michael Davidsaver
45a741ac6f
libCom/RTEMS: ensure lookup of localhost on RTEMS
...
create /etc/hosts if it doesn't already exist
2016-02-15 12:29:06 -05:00
Michael Davidsaver
0575d3764f
libCom/test: fixup RTEMS tests to run clean
2016-02-15 12:29:06 -05:00
Michael Davidsaver
48da96cce5
libCom/test: epicsMMIOTest missing test spec
2016-02-15 12:29:06 -05:00
Michael Davidsaver
18d863b918
db/test: missing/wrong .db file names
2016-02-15 12:06:10 -05:00
Andrew Johnson
f528f347cd
Increase testMonitorWait() timeout
2016-02-12 11:33:54 -06:00
Andrew Johnson
ffed8910c0
Merged Michael's dbcadynamic branch
2016-02-12 10:22:47 -06:00
Andrew Johnson
0fb923186a
Merged dbentrybuf branch
2016-02-10 14:27:38 -06:00
Andrew Johnson
ce500bc98c
More indentation and other trivial cleanup
2016-02-10 14:03:52 -06:00
Andrew Johnson
6376ae8b1a
Fixed some issues with indentation
2016-02-09 18:31:17 -06:00
Andrew Johnson
445c0ada8c
Fix Windows problems from Valgrind merge.
2016-02-09 14:10:51 -06:00
Andrew Johnson
87759d1c1d
Merged Michael's valgrind branch
2016-02-08 18:01:59 -06:00
Michael Davidsaver
6143520680
update release notes
2016-01-13 21:46:00 -05:00
Michael Davidsaver
f814398d77
std/rec/test: add compressTest
...
test circular buffer mode for FIFO and LIFO
2016-01-13 20:58:58 -05:00
Michael Davidsaver
d2e4fcbbac
compressRecord: LIFO doesn't zero pad
...
Change handling of OFF so that reading a partially
populated buffer doesn't pad with zero.
Simplify put_value() and get_array_info()
2016-01-13 20:58:58 -05:00
Michael Davidsaver
4cca4673ca
compress: copy some text from RRM wiki
...
Still a lot remaining. No idea what to do about the images.
2016-01-13 20:58:58 -05:00
Michael Davidsaver
840da801fb
std/filters: arr wrap on capacity not length
2016-01-13 20:58:58 -05:00
Michael Davidsaver
e75f44100e
dbAccess: dbGet wrap at capacity count not valid count
...
Change the usage of rset::get_array_info in dbGet()
in the case that offset>0 and no_elements<max_elements.
Presently this results in an early wrap which corrupts
the last valid element in the result buffer
in the case that offset==1 and no_element==max_elements-1.
Should have no effect in other situations.
2016-01-13 20:58:58 -05:00
Michael Davidsaver
e227ae3590
update asTest
...
test dbGetString()
and fix cleanup order
2016-01-12 11:37:01 -05:00
Michael Davidsaver
ecedd9c362
Move dbGetStringNum() to dbStaticLib.c
...
use getpMessage() and keep it private
2016-01-12 11:36:58 -05:00
Michael Davidsaver
4e7b185977
update release notes
2016-01-12 10:13:10 -05:00
Michael Davidsaver
b74ecff2fc
dbCa: set putnelements for scalar case
...
ensure that putnelements is kept in sync. w/ pputNative
2016-01-12 09:38:28 -05:00
Michael Davidsaver
1255e75828
db/test: missing coverage for dbGetLink w/ larger element count
2016-01-12 09:32:47 -05:00
Michael Davidsaver
d6eea14fd0
dbCa: dbCaGet/PutLink dynamic size
...
dbCaGetLink return actual number of elements w/o zero padding.
dbCaPutLink write only requested number of elements, w/o padding
2016-01-11 23:01:26 -05:00
Andrew Johnson
9779d6987c
Merged Michael's dbunittestmonitor branch
2016-01-07 13:22:43 -06:00
Michael Davidsaver
b7c2815c21
linkRetargetLinkTest set number of tests
2016-01-07 14:08:51 -05:00
Michael Davidsaver
29d2b7f6a2
RTEMS: readline missing }
2015-12-28 16:36:58 -05:00
Michael Davidsaver
ef39f658cd
dbStaticLib: dbGetString() fix spaces in link modifiers
2015-12-21 19:42:31 -05:00
Michael Davidsaver
e298fb4c27
dbStatic: avoid write past end of DBENTRY::message
...
Prevent long link strings (and maybe others)
from overflowing the fixed length string
buffer associated with each DBENTRY.
2015-12-21 18:56:39 -05:00
Michael Davidsaver
d94840ae6c
std/filter: plugins cleanup freeList
2015-12-21 13:44:23 -05:00
Michael Davidsaver
c1f742e741
libCom: valgrind track taskwd freelist
2015-12-21 13:44:23 -05:00
Michael Davidsaver
6f0814108a
libCom: all valgrind hooks to epicsMutex free-list
2015-12-21 13:44:23 -05:00
Michael Davidsaver
770d9ab313
freeListLib: instrument with valgrind
2015-12-21 13:44:23 -05:00
Michael Davidsaver
7e7cca6164
dbmf: instrument with valgrind
2015-12-21 13:44:23 -05:00
Michael Davidsaver
03bdf4effa
include valgrind.h
2015-12-21 13:44:23 -05:00
Michael Davidsaver
3258927bab
freeListLib: cleanup indent
...
all whitespace
2015-12-21 13:44:23 -05:00
Michael Davidsaver
a8e285067d
dbmf: cleanup indent
...
whitespace only
2015-12-21 13:44:23 -05:00
Andrew Johnson
b099ea2966
Clean up g++ unused-but-set-variable warning in pcas
2015-10-18 21:41:46 -05:00
Andrew Johnson
c4b128dfff
Merged changes from 3.15 branch, to revno 12702
2015-09-18 18:13:58 -05:00
Ralph Lange
a245c3805a
ioc/db/test: fix Makefile to link against librt on Solaris and Linux only
2015-09-16 17:33:20 +02:00
Ralph Lange
122b9d3185
db/test: Link dbStressTest against librt on all targets (not just solaris)
...
man clock_gettime: "Link with -lrt (only for glibc versions before 2.17)."
2015-09-16 13:43:43 +02:00
Andrew Johnson
4081377c4b
Build fixes for Solaris
2015-09-10 13:26:37 -05:00
Andrew Johnson
405f50533e
Fix for linux-x86
2015-09-10 09:56:50 -05:00
Michael Davidsaver
8f0950288a
dbChannelTest missing call to testdbPrepare()
2015-09-08 10:04:06 -04:00
Michael Davidsaver
3551513297
dbStressLock: attempt to fix solaris linking failure
2015-09-08 09:52:52 -04:00
Michael Davidsaver
fc775d76aa
asTest: copy+paste error
...
Didn't remove all use of local variable
2015-09-07 15:37:46 -04:00
Michael Davidsaver
7195372caf
release note for new locking
2015-09-07 15:23:04 -04:00
Michael Davidsaver
655735fa13
asTest: fix link with mingw
...
This test has device support, which the registerRDD script
always emits as dllimport, so it fails to link if the dsets
are part of the executable itself.
Use iocsh to avoid calling the RDD function directly since
a DLL can't link against functions in the main executable.
2015-09-07 15:06:02 -04:00
Michael Davidsaver
8aea808b1d
libCom: cross mingw imports posix time.h by default
...
at least mingw 4.9.1 for Debian 8 i386 host.
2015-09-07 10:50:48 -04:00
Andrew Johnson
66e126bae8
Merged Micheal's lockopt branch
2015-09-06 23:15:21 -05:00
Andrew Johnson
8ce86bb061
Undefine LOCKSET_DEBUG & LOCKSET_NOFREE
2015-08-31 16:08:08 -05:00
Andrew Johnson
f2ff270644
Fix comment
2015-08-31 15:55:39 -05:00
Andrew Johnson
895b415968
dbCaLinkTest fixes
...
* Attempt to fix Windows build failures
* Use C-style comments, not C++
2015-08-31 11:29:46 -05:00
Michael Davidsaver
87999c7047
dbLock: better error check when recursive locking attempted
2015-08-31 11:20:35 -04:00
Michael Davidsaver
9331ca3f44
dbLockTest: check additional recursive case
2015-08-31 11:17:34 -04:00
Andrew Johnson
1587c44d79
db/test: Add missing dependency
2015-08-28 15:19:23 -05:00
Michael Davidsaver
51f0a4509b
std/rec/test: missing testdbPrepare()
2015-08-27 15:43:05 -04:00
Michael Davidsaver
94f00cb0c6
dbCa: more verbose error message in eventCallback
2015-08-27 12:44:50 -04:00
Michael Davidsaver
4544be090d
std/rec/test: add linkRetargetLinkTest
2015-08-27 12:13:49 -04:00
Michael Davidsaver
15db30ba79
dbUnitTest: add testMonitor
...
Synchronize unittests by waiting for monitor updates
2015-08-27 13:46:22 -04:00
Andrew Johnson
cd79a7b53d
dbCa: use dbf_type_to_DBR_TIME() macro
2015-08-27 10:30:42 -05:00
Michael Davidsaver
717d7ff4eb
db/test: dbStressTest conditional TIME_STATS
2015-08-25 18:00:39 -04:00
Andrew Johnson
696e00eec9
Cleanup in callback.c
2015-08-24 12:18:23 -05:00
Andrew Johnson
a81d123ea5
Undo s/printf/errlogPrintf/ in iocsh commands
2015-08-24 11:26:25 -05:00
Andrew Johnson
f21fce0b42
Remove some unnecesary #includes
2015-08-24 10:47:51 -05:00
Andrew Johnson
6fffcf9985
Make dbLockTest work when LOCKSET_DEBUG undefined
2015-08-24 10:32:37 -05:00
Michael Davidsaver
d890c80961
dbLock: restore initialization of PV_LINK
...
PV_LINK -> DB_LINK must happen in doResolveLinks after add_record
2015-08-20 15:52:30 -04:00
Andrew Johnson
d49fc94314
Merge changes from 3.15 branch, to revno 12701
2015-08-20 11:24:07 -05:00
Andrew Johnson
536c6e91ff
Export private dbLock*Ref() functions for tests
2015-08-19 11:26:47 -05:00
Michael Davidsaver
35c07a958f
libCom/osi: osiLocalAddr() missing free()
2015-08-19 07:28:53 -04:00
Ambroz Bizjak
67aa96b957
freeListItemsAvail.patch from lp:1479316
2015-08-18 15:51:38 -04:00
Michael Davidsaver
041423092f
osdnetIntf.c cleanup indentation
2015-08-18 15:51:38 -04:00
Michael Davidsaver
869410d6f6
libCom/osi: osiLocalAddr() avoid race on initialization
2015-08-18 15:46:22 -04:00
Ambroz Bizjak
6862ef6580
timerQueueActive.patch from lp:1479316
2015-08-18 14:39:27 -04:00
Ambroz Bizjak
b6aea68304
epicsSingletonMutex.patch from lp:1479316
2015-08-18 14:38:18 -04:00
Michael Davidsaver
9d00978176
src/ca/client: no need to remove const
2015-08-18 14:33:44 -04:00
Ambroz Bizjak
b6fbea9610
repeaterSubscribeTimer.patch from lp:1479316
2015-08-18 14:24:10 -04:00
Michael Davidsaver
180f40c1f7
dbLock: fix unlock w/o lock during iocInit
2015-08-18 11:09:35 -04:00
Michael Davidsaver
d5832354e8
iocInit: Don't free LSET until scan tasks have stopped
2015-08-18 11:09:35 -04:00
Michael Davidsaver
44980a1dac
dbContextReadNotifyCache: variable length for CAC gets
2015-08-18 10:46:20 -04:00
Michael Davidsaver
af1daea3e7
dbContext: local CA variable length
2015-08-18 10:46:20 -04:00
Michael Davidsaver
b2716f0a19
dbCa: subscribe to variable length arrays
2015-08-18 10:46:20 -04:00
Michael Davidsaver
050b9f9a48
ioc/db/test: dbChannelTest use dbUnitTest.h
2015-08-18 09:07:18 -04:00
Michael Davidsaver
4ab6aa79e3
ioc/db/test: fixup arrShorthandTest to use dbUnitTest
2015-08-18 09:07:18 -04:00
Michael Davidsaver
1e39224836
dbCa: simplify shutdown
...
Don't need partial shutdown case anymore.
Also avoid race when destorying startStopEvent
2015-08-18 09:07:18 -04:00
Michael Davidsaver
f99fbe1964
move dbCaShutdown earlier
...
shutdown dbCa thread before free'ing records
2015-08-18 09:07:18 -04:00
Michael Davidsaver
aa04941119
ioc/db/test: wrong variable for -I
2015-08-18 09:07:18 -04:00
Andrew Johnson
46853d6862
Clean up compiler warnings
2015-08-16 17:43:10 -05:00
Michael Davidsaver
02ac91aa2a
epicsReadline: ensure readline context is zero'd
...
Otherwise ->osd != NULL for the default RTEMS readline impl
2015-08-12 10:17:31 -05:00
Andrew Johnson
f1b403b59a
Merged calinktest branch
2015-07-28 14:22:06 -05:00
Andrew Johnson
877a409de1
Fix podToHtml build issue on Windows
2015-07-24 15:59:38 -05:00
Andrew Johnson
7395d1d88d
Make dbCa routines macros to dbLink wrappers
2015-07-24 14:06:45 -05:00
Andrew Johnson
4d3831ce58
Merged changes from 3.15 branch to revno 12699
2015-07-24 12:01:53 -05:00
Andrew Johnson
1d99ad6cfc
Move closer to having pluggable link types.
...
All link types now have a plink->precord pointer.
Add link support entry tables for const, DB and CA link types.
Route all link I/O options through the new plink->lset.
2015-07-22 14:56:48 -05:00
Andrew Johnson
bd4d8ec26b
Merged lockopt branch
2015-08-21 22:44:11 -05:00
Andrew Johnson
a5e1f367d6
Merged cbshutdown changes from 3.15 branch, revno 12690
2015-07-16 11:54:40 -05:00
Michael Davidsaver
eb31fcedeb
iocInit: dbCa shutdown order
2015-07-13 17:51:46 -04:00
Michael Davidsaver
dd6edb103c
scanIoTest: set # of tests
2015-07-13 17:51:46 -04:00
Andrew Johnson
50e6a305b1
Merged changes from 3.15 branch to revno 12689
2015-07-13 13:42:10 -05:00
Andrew Johnson
58602cfa80
Clean up in src/ioc/db/test/scanIoTest.c
2015-07-10 16:22:31 -05:00
Andrew Johnson
1e68f3899d
Merged gen-vcs-version branch
2015-07-10 14:02:01 -05:00
Michael Davidsaver
8b3d37d392
genVersionHeader: work with git repo w/o tags
...
--always is necessary for (new) repositories w/o any tags.
--abbrev=20 to get more than the default 7 characters of the hash
2015-07-10 14:19:44 -04:00
Andrew Johnson
ed4bcd831f
Update example template, release notes
...
Changed device support to use the long string input rectype.
Moved the device registration into its own file.
Used _APPNAME_ more, trying to prevent future name clashes.
2015-07-10 12:28:49 -05:00
Andrew Johnson
837111296e
Updates to build rules and genVersionHeader.pl script
...
Added -q (quiet) flag, renamed INSTALL_QUIETLY build variable.
Moved GENVERSION variables into normal locations.
Changed from :: rule to : rule with FORCE dependency.
Removed use of --git-dir, only works when CWD is TOP.
Simplified some parts, more perlish.
Added VCS used to generated output file.
Expanded on the -v (verbose) output.
2015-07-10 12:09:37 -05:00
Michael Davidsaver
9198428619
dbLock: minor
...
must match following condition
2015-07-09 17:16:39 -04:00
Michael Davidsaver
8f3fcc2787
dbLock: fix initialization of self links
...
initPVLinks() doesn't correctly handle case where a record links
to itself. This results it being added twice to lockRecordList,
which corrupts the list count, and the lockset ref. counter.
The error appears in dbLockCleanupRecords() when not all
locksets are free'd.
2015-07-09 17:07:49 -04:00
Kukhee Kim
a308fb7c1e
fill zeros into buffer when BALG is changed to LIFO from FIFO.
2015-07-09 13:34:37 -07:00
Andrew Johnson
60823bd2fb
Some edits to the Perl script
2015-07-08 16:46:34 -05:00
Andrew Johnson
d0790c3060
Merged epicsTime-status branch
2015-07-08 10:54:28 -05:00
Andrew Johnson
9f0d34656a
Remove old libCom HTML files
2015-07-06 11:27:03 -05:00
Andrew Johnson
f6cdbe2693
tools: Support for DB files, added dbExpand.pl
2015-07-06 11:26:35 -05:00
Andrew Johnson
3a54e97758
libCom: epicsReadline refactoring
2015-06-29 17:45:18 -05:00
Andrew Johnson
155017bf09
Removed references to VxWorks 5.x
2015-06-09 15:36:28 -05:00
Andrew Johnson
961dc450c4
Merged changes from 3.15 branch up to Revno 12686
2015-06-05 13:48:57 -05:00
Andrew Johnson
53d01f6fb4
Show how to make time providers backwards-compatible
2015-06-03 00:15:39 -05:00
Michael Davidsaver
7fd4ac5a67
update template
...
use waveform as long string
use app. name in header and macro name
2015-06-01 19:19:24 -04:00
Michael Davidsaver
1240f09797
genVersionHeader: update HG, add SVN and BZR
...
Update the HG case to use --cwd to avoid dependence on shell syntax.
2015-06-01 19:19:24 -04:00
Michael Davidsaver
7947807e09
fix typo
2015-05-18 21:46:01 -04:00
Andrew Johnson
3a7cb33234
Fixed some build issues in db/test
2015-04-22 18:01:20 -05:00
Andrew Johnson
6b6eb5ff6a
Merged fix from 3.15 branch, up to revno 12671
2015-04-22 16:54:30 -05:00
Andrew Johnson
e4f336de94
Perl style fixes, document more Perl programs
2015-04-21 15:09:24 -05:00
Andrew Johnson
fa23ba8a6a
Merged changes from 3.15 branch up to revno 12670
2015-04-16 18:12:59 -05:00
Andrew Johnson
ee8bf98f94
Generate documentation from Perl modules
...
Add rules to generate HTML from POD in Perl modules and scripts.
Generate docs from several EPICS/ Perl modules.
2015-04-15 18:01:26 -05:00
Andrew Johnson
30b8872150
Merged changes from 3.15 branch, to revno 12662
2015-04-09 16:13:54 -05:00
Michael Davidsaver
7a8266c419
ioc/db/test: ensure dbCaLinkTest tests dbContextReadNotifyCacheAllocator
...
Read the same size twice to ensure that a cached buffer is reused
2015-04-09 14:55:56 -04:00
Michael Davidsaver
0c16937a5a
ioc/db/test: extend dbCaLinkTest to check CAC get operation
2015-04-09 14:36:14 -04:00
Michael Davidsaver
ad6f55d92f
dbStatic: always clear parser tempList
...
Warn if tempList is not empty when it should be
2015-04-08 18:37:12 -04:00
Michael Davidsaver
e852de64ff
dbStatic: fix leak in parser
...
"% cdef" not free'd
2015-04-02 18:58:15 -04:00
Michael Davidsaver
f72ebb9fb9
dbmf: add flag to disable freelist
2015-04-02 18:58:15 -04:00
Michael Davidsaver
6ac1e050bd
dbCa: missing inc. ref. when scan requests are queued
...
Missing caLinkInc() in scanComplete() drops ref.
2015-03-24 18:44:28 -04:00
Michael Davidsaver
ff4c88ed05
dbLock: comments
2015-03-24 14:18:11 -04:00
Michael Davidsaver
7a5d4cf6cc
dbLock: minor
2015-03-24 14:18:11 -04:00
Michael Davidsaver
765fb7c63e
dbLock: remove some unnecessary code
...
no need to hold spinlock for lockRecordList
the lockRecordList is protected by the lockSet::lock
2015-03-24 14:18:11 -04:00
Michael Davidsaver
fa4678798c
iocInit: remove no-op
...
The work which was done here is moved to dbCloseLinks()
2015-03-24 14:18:11 -04:00
Michael Davidsaver
127bdfd9aa
dbLock: comments
2015-03-24 14:18:11 -04:00
Michael Davidsaver
8fea2f5ae6
dbLock: default build options
...
Enable extra debugging.
Disable lockSet free list.
Enable recomputeCnt optimization
2015-03-24 14:18:11 -04:00
Michael Davidsaver
07bb2fbef7
dbLock: no c++ comments in c code
2015-03-24 14:18:11 -04:00
Michael Davidsaver
58a8a07cc4
dbAccess.c: dbLocker needs at most two refs
2015-03-24 14:18:11 -04:00
Michael Davidsaver
a78abd0070
dbLock: describe build options
2015-03-24 14:18:11 -04:00
Michael Davidsaver
c26b02c20d
dbCaTest: adjust locking in dbcar()
2015-03-24 14:18:11 -04:00
Michael Davidsaver
ee297dc558
dbLock: use new backref tracking
2015-03-24 14:18:11 -04:00
Michael Davidsaver
8ce0ba1e54
dbLink: backward link tracking
2015-03-24 14:18:11 -04:00
Michael Davidsaver
b8a7da18d2
iocInit: links now initialized in dbLockInitRecords()
2015-03-24 14:18:11 -04:00
Michael Davidsaver
8af3ffb653
dbAccess: multi-locking in dbPutFieldLink
...
Use new locking API in dbPutFieldLink()
Adjust dbAddLink() and dbRemoveLink()
to pass a dbLocker* through to lockSet merge/split
2015-03-24 14:18:11 -04:00
Michael Davidsaver
ffd188bea3
dbLockTest and dbStressLock
2015-03-24 14:14:46 -04:00
Michael Davidsaver
af89b716f4
dbLock: multi-locking
...
new API to lock 2 or more lockSets simultaneously
removes global locks for dbScanLock() only
one global lock for debugging/freelist
Introduce dbLockPvt.h for internal API
2015-03-24 14:14:46 -04:00
Michael Davidsaver
adcde46e9e
populate RDES early
2015-03-24 14:12:00 -04:00
Michael Davidsaver
c9d889ef3e
asTest: quiet
2015-03-19 11:26:48 -04:00
Andrew Johnson
8344b4ed79
Merged changes from 3.15 up to revno 12658
2015-03-18 17:01:34 -05:00
Michael Davidsaver
3a647fb38b
iocInit: prepareLinks after autosave pass0
...
Allow autosave to restore link fields again...
2015-03-17 19:13:33 -04:00
Michael Davidsaver
8bf765365f
std/rec/test: add asTest to RTEMS test harness
2015-03-17 15:26:08 -04:00
Michael Davidsaver
e7037cc519
dbStatic: fix CONSTANT links
...
constantStr==NULL and constantStr=="" have different
meanings for recGblInitConstantLink() which is used with DOL.
constantStr should remain NULL unless explicitly set
by either initial("") or field(..., "")
2015-03-17 11:34:36 -04:00
Michael Davidsaver
0d41dd0113
std/rec/test: add asTest
2015-03-16 18:47:58 -04:00
Michael Davidsaver
52fc47dec5
start dbCaLinkTest
2015-03-13 15:24:07 -04:00
Michael Davidsaver
e73ed24631
db/test: copy arrRecord from std/filters/test
2015-03-13 15:24:07 -04:00
Michael Davidsaver
40cb21df9f
std/filters/test: add input link to arrRecord
2015-03-13 15:24:07 -04:00
Michael Davidsaver
40d4d608ed
std/filters/test: add simple processing callback to arrRecord
2015-03-13 15:24:07 -04:00
Michael Davidsaver
77efc973da
iocInit: free PPNR
2015-03-13 15:24:07 -04:00
Michael Davidsaver
3e8ba7d7cf
dbCa: enable unittests
2015-03-13 15:24:07 -04:00
Michael Davidsaver
a7a87372aa
dbNotify: cleanup freelist
2015-03-13 15:24:07 -04:00
Michael Davidsaver
a014314384
db/test: add simple processing callback to xRecord
2015-03-13 15:24:07 -04:00
Michael Davidsaver
8ef1e0d177
re-write scanIoTest
2015-03-13 15:24:07 -04:00
Michael Davidsaver
b9cbf7a3ac
Add xRecord device support
2015-03-13 15:24:06 -04:00
Michael Davidsaver
4bd4b93649
dbCa: update comments on locking
2015-03-13 15:15:03 -04:00
Michael Davidsaver
c120027768
dbCa: fix race in scanComplete
...
Use a reference counter in caLink to ensure it isn't
free'd while callbacks remain in the scanOnce queue.
2015-03-13 15:15:03 -04:00
Andrew Johnson
cc3a01d460
Merged changes from 3.15 branch up to revno 12655
2015-03-11 17:20:40 -05:00
Michael Davidsaver
06beb2cafb
dbCaTest: use dbCaIsLinkConnected() instead of inspecting caLink*
2015-02-20 12:14:23 -05:00
Michael Davidsaver
be06b37b42
dbPutLinkTest: don't use variadic macros
...
MSVC doesn't seem to support them correctly
2015-02-18 10:47:42 -05:00
Michael Davidsaver
a526d0eb04
dbPutLinkTest: attempt MSVC workaround
...
Apparently MSVC doesn't play well with variadic macros.
2015-02-17 16:57:20 -05:00
Andrew Johnson
cd228ccf0e
Merged dbscan-update branch
2015-02-17 14:12:38 -06:00
Michael Davidsaver
bbbf05414d
dbScan: rename scanOnce3 to scanOnceCallback
2015-02-17 11:31:05 -05:00
Andrew Johnson
d7d45beedd
Merged changes from 3.15 branch, revno 12629
2015-02-04 11:48:08 -06:00
Andrew Johnson
a7ad9a1256
Merged Michael's link-parsing branch
2015-02-03 00:38:23 -06:00
Michael Davidsaver
92641e9160
dbCaStatsTest: set # of tests
2015-01-05 17:45:00 -05:00
Michael Davidsaver
368223f783
db/test: devExtend() only during pass 0
2015-01-05 17:43:45 -05:00
Michael Davidsaver
85e21863dc
dbStaticLib: set pdbbase=NULL after freeing
2015-01-05 17:43:17 -05:00
Michael Davidsaver
b9b8cde5f6
dbScan: avoid mustAlloc in eventNameToHandle()
...
Can already return NULL for other error conditions
2015-01-05 16:26:48 -05:00
Michael Davidsaver
6d7a0327e0
dbScanTest: start with test of scanOnce3()
2015-01-05 16:26:47 -05:00
Michael Davidsaver
d897c9b686
dbCa: use scanOnce3() to prevent once queue overflow
...
Prevent CP links to high rate records from
overflowing the once queue.
2015-01-05 16:26:47 -05:00
Michael Davidsaver
ff14d811a7
dbCaPvt.h: normalize indentation
2015-01-05 16:26:47 -05:00
Michael Davidsaver
2ba2b90b06
dbScan: add scanOnce3() w/ completion callback
2015-01-05 16:26:47 -05:00
Michael Davidsaver
7d50f62aed
dbScan: allow direct scan of I/O Intr list
...
add scanIoImmediate() to allow drivers to implement
I/O Intr scanning without the overhead of maintaining
their own scan lists.
2015-01-05 16:26:47 -05:00
Michael Davidsaver
4518e8fa7f
dbLink: re-intorduce struct lset and dbDb_lset"
...
without initLink, addLink, and loadLink
2014-12-29 18:16:26 -05:00
Andrew Johnson
e06b0a87b2
Merged changes from upstream
2014-12-23 12:21:37 -06:00
Andrew Johnson
c16c4590ec
Replace epicsTimeERROR with specific error status values
...
Introduced error status values for epicsTime routines.
The epicsTimeERROR identifier no longer exists, so code that uses it will
no longer compile (deliberately). Replace all uses of it with a specific
error status value.
2014-12-02 15:25:09 -06:00
Andrew Johnson
b3ad20dec7
Merge perlbin fix from 3.14
2014-12-02 11:35:27 -06:00
Andrew Johnson
0f23784b32
Tweak to callback API.
2014-12-02 11:30:37 -06:00
Andrew Johnson
42a3cf8e11
Set version numbers for 3.16.0.0-DEV
2014-12-01 15:31:18 -06:00
Michael Davidsaver
79497c359c
add release note
2014-08-29 11:05:56 -07:00
Michael Davidsaver
75321140ef
update example template
2014-08-29 10:58:18 -07:00
Michael Davidsaver
95d0d97f6a
more consistent macro names
2014-08-29 10:58:18 -07:00
Michael Davidsaver
e24d4637c9
genVersionHeader: use date+time as the default version number
2014-08-29 09:56:32 -07:00
Kukhee Kim
e5b354708e
Implement LIFO behavior in compress record
2014-08-28 12:11:51 -07:00
Michael Davidsaver
bc9255ba1c
add version header to example template
2014-08-28 10:38:24 -07:00
Michael Davidsaver
3f462bd032
check errors
2014-08-27 17:24:44 -07:00
Ralph Lange
6a018dce35
tools: Add support for Darcs to genVersionHeader.pl
2014-08-27 11:06:57 -07:00
Ralph Lange
55cf45364c
tools: Make genVersionHeader.pl log more detailed and streamlined with other EPICS build output
2014-08-27 11:03:54 -07:00
Andrew Johnson
4a5a675ef8
Remove development printf() statements
2014-08-24 23:48:32 -05:00
Michael Davidsaver
3885c809a6
introduce genVersionHeader.pl
2014-08-22 15:23:51 -04:00
Michael Davidsaver
5847f98f89
oops
2014-08-01 13:55:33 -04:00
Michael Davidsaver
6ed997aacc
Invalid HW links no longer partially initialized
2014-08-01 11:28:10 -04:00
Michael Davidsaver
5a8915c051
INST_IO no longer accept invalid string as empty
2014-08-01 11:28:10 -04:00
Michael Davidsaver
a919d7e09d
dbLink: pass DBADDR* to dbAddLink()
...
Now we know whether a DB or CA link is created
before calling dbAddLink().
2014-08-01 11:28:10 -04:00
Michael Davidsaver
c5da1e3f89
dbAccess: update dbPutFieldLink() to use dbParseLink()/dbSetLink()
...
Now returns early for invalid link strings w/o modifying the
field, or detaching device support.
2014-08-01 11:28:10 -04:00
Michael Davidsaver
33804bd7ea
iocInit: initialize links in iocBuild
...
Done before any driver, record, or device supports run.
Also before the hooks used by autosave.
2014-08-01 11:28:10 -04:00
Michael Davidsaver
200355bc00
dbStatic: re-write dbPutString() to use new link parsing
...
dbPutString() now has two behaviors. If link_type==CONSTANT
and constantStr==NULL, the link has not yet been initialized.
Just set the ->text field.
If the link has been initialized, then use dbSetLink() to
make the assignment.
Eliminate special handling for DBF_DEVICE.
2014-08-01 11:28:10 -04:00
Michael Davidsaver
480797c0e0
db/test: extend dbPutLinkTest to cover dbParseLink()
2014-08-01 11:28:10 -04:00
Michael Davidsaver
470a9f9fc9
Introduce struct dbLinkInfo and dbParseLink()
...
This structure holds the processed form of any link type.
It is populated by dbParseLink(), which can be called w/o
record locking.
dbCanSetLink() checks the the parsed link, and a DBLINK field
have compatible types for assignment.
Record locking is required, but this does not modify the field.
dbSetLink() makes the actual assignment.
2014-08-01 11:28:10 -04:00
Michael Davidsaver
99626f03cd
dbLink: remove struct lset and dbDb_lset
...
unnecessary exposure of internal API
2014-08-01 11:28:10 -04:00
Michael Davidsaver
8c60e7e2cb
track INP/OUT field in struct dbFldDes
...
avoid string comparisons
2014-08-01 11:28:10 -04: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
Michael Davidsaver
428268a71e
rsrv: avoid strlen() on possible unterminated strings
...
Detect these w/o risk of SIGSEGV
2014-01-11 10:59:57 -05:00
Michael Davidsaver
746c739769
add epicsStrnLen()
...
Base currently requires only POSIX 2001 while
strnlen() is part of POSIX 2008.
2014-01-11 10:58:39 -05:00