Ralph Lange
612d57a9b3
PCAS: fix scope of tsDLList when used in other classes
...
Use ::tsDLList to avoid resolving to privately inherited
name (which was breaking builds on newer clang compilers)
- Cherry-picked from 3.15 branch
2023-02-08 18:55:20 +01: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
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
2548a37267
Update/clean up EpicsHostArch.pl
2018-08-08 16:53:32 -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
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
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
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
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
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
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
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
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
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
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
b9443f8813
Tell MSVC to use absolute filenames in diagnostics (-FC flag)
2018-03-23 11:39:53 -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
c8a7e1597d
VxWorks Timezone updates
...
Remove 2017; fix hour in MET settings
2018-03-15 10:57:55 -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
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
Andrew Johnson
ac4d5c95ac
Clean up some compiler warnings from clang
2018-02-09 10:56:52 -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
713c2d5080
Fix for lp: #1747091
...
generalTimeGetEvent()
2018-02-02 17:47:35 -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
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
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
Ralph Lange
8a1477ecab
appveyor-ci: update APS download URL
2018-01-04 09:00:18 +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
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
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
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
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
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
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
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
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
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
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
c853234e01
Remove artificial 60-minute timeout limit (Posix)
2017-06-08 09:53:07 -04: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
0dc850f4ec
A gitignore pattern for vi on MacOS
2017-05-30 17:13:56 -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
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
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
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
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
0bf789db4c
Fix indentation warning from GCC
2017-04-28 14:56:18 -05: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
Andrew Johnson
d825f87359
Check for empty PV names in Perl catools
2017-04-27 12:10:27 -05: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
Jeong Han Lee
c22670cbb0
typo
2017-04-24 21:06:30 -04: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
e25a2964bc
Fix postfix.h macro arg, document
2017-04-21 16:09:36 -05: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
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
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
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
Andrew Johnson
214e9534cc
Allow 'make -q' to work with CHECK_RELEASE=NO
2017-03-03 18:18:57 -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
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
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
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
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
7310d78057
Prepend to PATH, not append
2017-01-16 10:46:56 -06:00
Andrew Johnson
49e0e23f76
Better protection against bad periodic scan rates
2017-01-06 15:38:03 -06:00
Andrew Johnson
20dda339cc
Make *_INC files order-only prerequisites
2017-01-04 16:32:13 -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
1cb75ebb6e
asLib message buffer too small (Freddie Akeroyd)
2016-12-08 13:57:23 -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
0f7f4710c6
PCAS dynamic array support for GDD container types
2016-11-30 11:58:24 -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
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
Andrew Johnson
435ac7b086
Release note updates
2016-10-29 15:49:13 -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
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
928ebe82bd
Build rules: Enable tests only when we can run them
2016-10-06 13:13:59 -05: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
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
Ralph Lange
9de65e05d4
libCom/osi: fix timespec definition for MinGW
...
(cherry-picked from 3.15)
2016-09-27 15:59:53 +02:00
Andrew Johnson
661058e43e
ca: Fix client bug (race condition) in ipAddrToAsciiEngine
2016-09-02 15:12:50 -05:00
Andrew Johnson
80eaad4118
GeneralTime updates to improve time provider synchronization
2016-08-29 13:04:48 -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
e5d0915b51
MS build config updates, suppress warning C4344
2016-08-17 11:19:15 -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
064cc94f59
Allow up to 100 network interfaces on Windows.
...
Fixes lp:1606848
2016-07-27 10:14:35 -05:00
Andrew Johnson
c8351c329b
Clarify comments in exampleApp Makefile
2016-07-18 11:25:08 -05: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
7a38da0e44
Ignore RULES, TOP & TEMPLATE_TOP in new checks
2016-05-31 11:18:29 -05:00
Ralph Lange
9c3ed1bfe2
catools: fix escape handling when sending long strings
2016-05-26 13:13:29 +02:00
Andrew Johnson
a5b8b0b890
Use fabs() in calcPerform
2016-05-24 11:12:25 +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
6c9555310a
Update EPICS_TIMEZONE with info for 2016-2021
2016-05-18 10:26:04 -05:00
Andrew Johnson
3b8fd13152
libCom: NTP Time Provider adjusts to OS tick rate changes
...
Allow the NTP Time provider (used on VxWorks and RTEMS only)
to adapt to changes in the OS clock tick rate after the provider
has been initialized.
Changing the tick rate after iocInit() is not advisable,
other software might still misbehave if initialized before
an OS tick rate change.
Back-ported from the 3.15 branch (commit 12468).
2016-05-17 16:03:27 -05:00
Andrew Johnson
6d35ee9c3c
Move dbLock.h *after* epicsExportSharedSymbols
2016-05-13 13:40:37 -05:00
Andrew Johnson
b5a0657adc
Applied Till's fix for lp:1581212
2016-05-13 13:30:55 -05:00
Andrew Johnson
6db0e13809
Added CROSS_COMPILER_RUNTEST_ARCHS
2016-05-13 13:00:48 -05:00
Andrew Johnson
9b51444fb7
Fix data types and macro name
2016-05-04 18:15:54 -05:00
Andrew Johnson
3be97865b3
Warn instead of building cap5 if xsubpp is missing
2016-05-04 14:41:51 -05:00
Andrew Johnson
67097456e3
Add additional RELEASE file checks
...
These checks are important for mixing Debian modules with
privately-built applications.
2016-05-03 12:26:40 -05:00
Michael Davidsaver
51dd371784
rsrv: add rsrvCS_shutdown to avoid race in destroyAllChannels()
...
A race can occur between rsrv and cac by way of asLib
whereby casAccessRightsCB() is called after
a channel_in_use has been removed from
chanList/chanPendingUpdateARList.
casAccessRightsCB() would then attempt to remove
the node again, causing corruption.
Create a new rsrvCS_shutdown state when the
channel is not in either list.
Attempt to resolve lp:1571224
2016-04-26 17:06:22 -04:00
Andrew Johnson
72745d7b0c
Only make runtests and tapfiles if T_A = EPICS_HOST_ARCH
2016-04-29 16:20:25 -05:00
Andrew Johnson
054a234c70
Parentheses in macro
2016-04-28 13:27:47 -05:00
Andrew Johnson
24ddcd2524
Fix epicsTimeZoneTest.cpp => .c and remove conditional
2016-04-27 12:09:10 -05:00
Michael Davidsaver
2226f3acb9
libCom/test: don't include epicsTimeZoneTest for vxWorks
2016-04-27 12:45:18 -04:00
Andrew Johnson
f0f89b4b1c
Fix file paths in comments
2016-04-27 10:28:57 -05:00
Andrew Johnson
fdda079b8f
BSD's finite expects a double; make glibc 2.23 happy
2016-04-27 10:28:01 -05:00
Michael Davidsaver
93597e20d5
add epicsTimeZoneTest to libCom test harness
2016-04-26 09:59:22 -04:00
Michael Davidsaver
f0453faf36
libCom/test: add test for HST time zone
...
Test US/Hawaii zone which does not observe daylight saving time.
2016-04-26 09:28:09 -04:00
Andrew Johnson
24e39b252d
Print RTEMS version at startup
2016-04-15 17:37:07 -05:00
Andrew Johnson
430da57a35
Release notes for lp:1563191
2016-03-30 11:00:48 -05:00
Andrew Johnson
d2d637d0c2
Prevent string overflow in recGblInitConstantLink()
2016-03-29 12:04:08 -05:00
Michael Davidsaver
106fae3b26
dbStatic: prevent overflow in dbPutString()
...
The bounds check should be before the string
copy. Also zero the last element out of
paranoia (should already be zero).
Fix lp:1563191
2016-03-29 17:36:39 +09:00
Andrew Johnson
3179e65791
Clean-up after lp:1558206 fix
2016-03-16 18:15:14 -05:00
Michael Davidsaver
6b9bfb09a5
pWaitRelease in wrong place
...
waitRelease==false indicates that pThread
has not be delete'd
2016-03-16 17:43:52 -04:00
Michael Davidsaver
4e312b9f64
libCom: exitWait() from thread exit handler corrupts stack
...
The epicsThreadCallEntryPoint() function stores a pointer
to a local variable in epicsThread::pWaitReleaseFlag.
Calling epicsAtThreadExit::exitWait() from that thread's
epicsAtThreadExit() handler writes to this pointer
after epicsThreadCallEntryPoint() has returned.
Thus corrupting the stack.
Set pWaitReleaseFlag=NULL before return to prevent this.
fixes lp:1558206
2016-03-16 14:40:37 -04:00
Andrew Johnson
113076a009
Allow quotes in DBD argument strings
2016-03-03 11:19:22 -06:00
Andrew Johnson
3f4c6abb31
Fix for RTEMS NTP sync issue
2016-02-29 17:07:03 -06:00
Andrew Johnson
fee62836cd
Use OS __CYGWIN__ macro, deprecate our CYGWIN32
2016-02-26 16:27:13 -06:00
Andrew Johnson
d943f6966f
Minor updates to the extensions/configure template
2016-02-24 17:39:29 -06:00
Andrew Johnson
76d7ce1f76
Fix MSVC (de)-optimizer issue
2016-02-24 15:06:59 -06:00
Andrew Johnson
684ae7b35c
Merged the fix-calc-bit-manipulation branch
2016-02-23 16:21:38 -06:00
Andrew Johnson
b45622ac5e
Test each bitwise cast individually for overflow
2016-02-23 12:42:00 -06:00
Andrew Johnson
89e6fdbca0
Fixed conversion overflows in tests
...
Minor tidying-up, added comments about casting for bitwise operations.
2016-02-19 15:57:44 -06:00
Ralph Lange
599e6635fb
libCom/calc: fix bit31 bit manipulations
2016-02-18 15:19:01 +01:00
Ralph Lange
4241b4e6cb
libCom/test: add calc tests for bit31 operators (lp:1514520)
2016-02-18 15:17:52 +01:00
Ralph Lange
9eedf0581e
libCom/calc: Use epics(U)Int32 for all integer calculations
...
Adapted backport of 3.15 revision 12308
2016-02-18 14:44:43 +01:00
Andrew Johnson
99d331e50a
Print timestamp with bad UDP msg errors
2016-02-11 14:36:48 -06:00
Michael Davidsaver
0aeba281be
update release notes
2016-01-21 13:05:56 -05:00
Michael Davidsaver
04fee51795
ipAddrToAsciiAsync.: don't try to join the daemon thread
...
This isn't really necessary and may unnecessarily delay
things (~10 sec. on Linux) if a query to an unreachable
DNS server is in progress.
2016-01-21 13:00:50 -05:00
Andrew Johnson
ef90d2d3c7
Merged Michael's tzwin32 branch
2016-01-05 17:17:58 -06:00
Michael Davidsaver
2d9c529f5e
osdTime: win32 use C89 localtime/gmtime
...
as recommended by Freddie Akeroyd
2015-12-21 11:15:04 -05:00
Michael Davidsaver
05d3dbf453
add epicsTimeZoneTest
2015-12-21 11:13:36 -05:00
Andrew Johnson
695f516cbf
Fix softIoc build with space in path to Base
...
Also improved error messages from makeInstallDir.pl.
2015-12-10 13:26:21 -06:00
Andrew Johnson
54381b7bf9
Fix DB file parser crashes
2015-10-13 12:03:32 -05:00
Ralph Lange
5aa145920d
rec: fix promptgroups for biRecord
2015-09-16 13:56:52 +02:00
Andrew Johnson
bc3cbd990f
Applied Ambroz Bizjak's freeListItemsAvail.patch
2015-08-31 12:11:30 -05:00
Andrew Johnson
53bf7cd994
Applied Ambroz Bizjak's epicsSingletonMutex.patch
2015-08-31 11:54:04 -05:00
Andrew Johnson
a9c4d59537
Applied Ambroz Bizjak's timerQueueActive.patch
2015-08-31 11:52:32 -05:00
Robert Soliday
d32332d545
libCom/test: Fix for MSVS 2015
2015-08-27 11:34:41 -05:00
Andrew Johnson
9e82a96700
dbTest: Remove special ENUM handling from dbpf()
...
This was preventing the value check in cvt_st_menu() from working.
2015-08-10 15:04:11 -05:00
Andrew Johnson
ef7399159c
dbAccess: Make dbPut() always do special processing after put
...
If the value gets rejected by a put to SCAN, we must still call
dbPutSpecial() to add the record back onto its old scan thread.
2015-08-10 15:03:48 -05:00
Andrew Johnson
d7b3293ba3
libCom: Use MSVC's struct timespec when available
2015-08-07 09:41:48 -05:00
Andrew Johnson
9014ca899d
dbStatic: Fix invalid memory read
2015-07-30 11:57:50 -05:00
Andrew Johnson
c56091978c
db: Fixed obscure dbCa bug
...
This could be triggered if dbCaRemoveLink() is called on a link for
which there is an outstanding dbCaPutCallback().
Normally a dbCaPutCallback() callback routine is passed the associated
userPvt pointer as an argument, but in the event that dbCaRemoveLink()
gets used on the same link between the put and its completion callback,
the callback routine was being called with the link pointer as the
argument instead.
For all the existing Asyn Soft Channel device supports this is not a
problem as they all pass the link pointer as their userPvt argument, but
that won't necessarily always be the case.
Also updated the comments describing the process of removing links.
2015-07-23 17:57:30 -05:00
Andrew Johnson
ae3d3904d9
Fix minor locking issue in dbEvent.c
2015-07-17 18:09:14 -05:00
Andrew Johnson
002bafdf07
Add testHarnessDone
2015-07-17 18:06:58 -05:00
Andrew Johnson
625172419e
libCom: Make epicsReadline behave the same on Darwin
2015-07-01 12:00:42 -05:00
Andrew Johnson
80343363a4
configure: Include RULES_FILE_TYPE earlier
...
From Benjamin Franksen:
There is one remaining problem with the order of includes in the build
rules for 3.14.12.5: configure/RULES_BUILD includes RULES_FILE_TYPE
(which in turn includes the cfg/RULES* from modules in the RELEASE file)
*after* including RULES.Db and RULES_JAVA. This makes it impossible to
override (pattern) rules in one of these files. Instead,
$(CONFIG)/RULES_FILE_TYPE should be included first.
2015-07-01 11:30:02 -05:00
Andrew Johnson
444b89f557
libCom: Make readline support clean up on epicsExit()
2015-06-30 14:08:32 -05:00
Andrew Johnson
ca46bf70b7
Fixes to attribute handling in dbStaticLib
...
From Peter Leban of i-tech (Libera)
2015-06-23 17:06:54 -05:00
Andrew Johnson
c0e2a44365
Register dbPutAttribute with iocsh
2015-06-23 17:04:37 -05:00
Andrew Johnson
84c3ec7c64
db: Correct DBF_CHAR range in recGbl.c
...
Seems invisible, but spotted by Lawrence T. Prevatte III.
2015-06-23 15:51:00 -05:00
Andrew Johnson
65e781d58a
db: Fix off-by-one error in initHookName()
...
Thanks to Lawrence T. Prevatte III for noticing that.
2015-06-23 14:46:29 -05:00
Andrew Johnson
2c28d4b69e
Merged Lewis Muir's CAref ToC update
...
Also added some entries for a couple of missing ca_sg routines.
2015-05-15 10:41:19 -05:00
J. Lewis Muir
5d61a512d1
doc: add ca_put_callback to CA ref man func call interface index
...
The ca_put_callback function is not listed in the CA Reference Manual's
function call interface index; add it.
2015-05-14 16:23:23 -05:00
Andrew Johnson
33b9fba00b
Fix for latest Cygwin
2015-04-29 14:01:07 -05:00
Michael Davidsaver
b082e7d1e8
dbContextReadNotify: Improper handling of array size changes
...
Issue diagnosed and reported by Ambroz Bizjak.
The dbContextReadNotifyCacheAllocator allocator clears
its cache of free buffers on an array size change.
But doesn't consider buffer already in use, which
will later be free'd. Such buffers were being
returned to the cache, then reused in allocations
for which they are too short.
Track the size of buffers which are in use.
Only return buffers with the present length
to the cache. Others are free'd immediately.
2015-04-09 14:39:24 -04:00
Andrew Johnson
0a1cf17681
Trivial spacing changes in RELEASE_NOTES
2015-03-25 11:25:09 -05:00
Andrew Johnson
22768b2bb3
Set SNAPSHOT back to -DEV
2015-03-24 10:08:56 -05:00
Andrew Johnson
dc61957963
Set SNAPSHOT for R3.14.12.5
2015-03-24 09:57:35 -05:00
Janet Anderson
583108e42a
Set version number to R3.14.12.5.
2015-03-24 08:50:39 -05:00
Andrew Johnson
9470830091
catools: Fix printing -ve DBF_LONG values on 64-bit
2015-03-23 15:59:11 -05:00
Andrew Johnson
e84e7b930f
Release notes for ao-convert changes
2015-03-20 17:05:16 -05:00
Andrew Johnson
f498b36438
Prevent overflows in ao value conversion.
...
Also makes ROFF fields unsigned, needed for ROFF=0x80000000
2015-03-20 16:34:14 -05:00
Andrew Johnson
d927afe257
Make including cfg/CONFIG* files unconditional
2015-03-19 10:18:23 -05:00
Andrew Johnson
f994944531
libCom/posix: Remove pthread_setcanceltype()
2015-03-18 11:36:06 -05:00
Andrew Johnson
5ffda58351
ca: Fix missing guard argument
2015-03-13 11:08:05 -05:00
Andrew Johnson
f6373093a5
Fix Windows linkage warning in alarmString.h
2015-03-13 10:56:03 -05:00
Andrew Johnson
8215244a28
Fix Windows time discontinuity report
2015-03-13 10:06:23 -05:00
Andrew Johnson
de298da94c
Fix Jenkins instability on Windows
2015-03-11 10:53:37 -05:00
Andrew Johnson
753bfcc579
Check sender threads are starting
2015-03-10 18:14:11 -05:00
Andrew Johnson
4568cd3616
Chasing Jenkins instability on Windows
2015-03-10 14:17:28 -05:00
Andrew Johnson
e75ec5f85b
Set snapshot to -rc1-DEV
2015-03-09 14:33:17 -05:00
Andrew Johnson
657f726527
Fix FIND_TOOL
2015-03-09 14:24:44 -05:00
Janet Anderson
0f0a8cbbe5
Set version to 3.14.12.5-rc1
2015-03-09 12:34:42 -05:00
Andrew Johnson
84e74d0924
Fix 'Can't find convertRelease.pl' problem
2015-03-09 11:33:50 -05:00
Andrew Johnson
2a6714fd03
configure: Cosmetic changes only, comments & spacing.
2015-03-06 18:14:59 -06:00
Andrew Johnson
5610b07068
configure: Support for cfg/TOP_RULES* and cfg/DIR_RULES*
...
Idea and initial implementation from Benjamin Franksen,
I added the DIR_RULES and ACTIONS support.
Reverses the order in which cfg/CONFIG* files are included.
2015-03-06 17:43:26 -06:00
Andrew Johnson
d26654674c
Fix the RTEMS override of the ECHO variable
2015-03-03 11:53:23 -06:00
Benjamin Franksen
5f638805dd
Improved "Installing ..." messages in RULES.Db
2015-03-03 11:47:37 -06:00
Benjamin Franksen
bc52c8e374
Fixed RELEASE_PERL_MODULE_DIRS
2015-03-03 11:45:23 -06:00
Andrew Johnson
fb1a0c2b1e
Clean up g++ warnings in repeater.cpp
2015-02-28 20:20:56 -06:00
Andrew Johnson
2378d465d1
Update supported targets lists in CONFIG_SITE
2015-02-27 16:07:07 -06:00
Janet Anderson
2799f1cf3f
Fixed incorrect comment lines
2015-02-26 13:26:56 -06:00
Janet Anderson
91c8ba592d
Added directory change comment for Older Xcode
2015-02-26 13:24:29 -06:00
Andrew Johnson
004e7237c3
Snapshot to -pre1-DEV
2015-02-25 16:24:28 -06:00
Andrew Johnson
d53521f160
Set version to 3.14.12.5-pre1
2015-02-25 16:23:05 -06:00
Andrew Johnson
12793d3313
Cosmetic changes in configure/os
2015-02-25 12:02:34 -06:00
Andrew Johnson
65d39fcbc8
Moved linux-arm cross-build link-time settings
2015-02-24 16:51:59 -06:00
Andrew Johnson
b7baa2504e
Only build Cap5.so for the host architecture
2015-02-24 16:23:14 -06:00
Andrew Johnson
4a0880003c
Support MinGW cross-builds on linux-x86 and x86_64
2015-02-24 14:30:42 -06:00
Andrew Johnson
d06b1a178a
Applied Added-configure-files-for-linux-arm-debug.patch
2015-02-23 14:12:39 -06:00
Andrew Johnson
2bae36845e
Adjust a few CONFIG_SITE files, mostly comments
2015-02-23 13:30:45 -06:00
Andrew Johnson
2d7a8a4aee
Pull blockingSockTest.cpp from 3.15
2015-02-20 16:35:47 -06:00
Andrew Johnson
3601a73b77
Applied rtems-use-macro-for-BIN2BOOT.patch
2015-02-20 15:42:14 -06:00
Andrew Johnson
335cba0049
Applied rtems-mvme5500-needs-libbspExt.patch
2015-02-20 15:35:59 -06:00
Andrew Johnson
0f2d6eac9b
Applied rtems-build-gesys-loadable-objects.patch
2015-02-20 15:34:57 -06:00
Andrew Johnson
88314d0374
Release notes for CMD_ variables
2015-02-20 15:24:29 -06:00
Andrew Johnson
4658a88584
Allow compiler flags from command line
...
The following variables are reserved for use from the
GNUmake command line:
CMD_INCLUDES
CMD_CPPFLAGS
CMD_CFLAGS
CMD_CXXFLAGS
CMD_LDFLAGS
CMD_DBFLAGS
CMD_DBDFLAGS
CMD_ARFLAGS
For example:
make CMD_INCLUDES=/opt/local/include CMD_LDFLAGS=-L/opt/local/lib
2015-02-20 14:48:05 -06:00
Andrew Johnson
4cf3613ace
Applied missing-header.patch
2015-02-20 12:38:26 -06:00
Andrew Johnson
0fa8702842
Applied test-epicsTimerQueue-reference-counter.patch
2015-02-20 12:34:53 -06:00
Andrew Johnson
a437768c9c
Applied linux-runtime-disable-RT-priorities-if-not-supported.patch
2015-02-20 12:25:28 -06:00
Andrew Johnson
a6af0daae9
Applied linux-use-RT-thread-priorities.patch
2015-02-20 12:21:45 -06:00
Andrew Johnson
3e6597be90
Applied record-support-santity-check.patch
2015-02-20 12:13:05 -06:00
Michael Davidsaver
c0cf25eeee
dbCa: dbCaPutLinkCallback initialize entire array
...
CA links will write the full target array size.
Ensure that uninitialized elements are zeroed.
2015-02-19 19:18:27 -05:00
Michael Davidsaver
3501fda48d
dbCa: dbCaPutLinkCallback prevent out of bounds write
...
The internal buffer of the caLink is sized based on the
number of elements of the destination PV.
2015-02-19 19:18:16 -05:00
Andrew Johnson
e822d8d8c4
Suppress corrupt error output from dbStatic parser
...
The yyerror() routine gets called twice in some cases.
Don't print the yytext or input file location the second
time through -- yytext has already been freed, and the
user doesn't need to see the location twice.
Fixes lp:1422803
2015-02-19 17:33:27 -06:00
Andrew Johnson
9813fa6474
db: Allow link fields to return a DOUBLE value
...
A dbCa link does a ca_get with type DBR_CTRL_DOUBLE
to populate its list of attribute values immediately
after connecting. If the target is a DBF_*LINK field
it used to return an error, preventing the link from
properly connecting. This change makes dbGetField()
return a single NAN value instead of rejecting the
request.
Fixes: lp:545358
2015-02-19 15:55:48 -06:00
Andrew Johnson
b1e99f6f1a
Merged Lewis Muir's readme-fixes branch
2015-02-18 17:11:51 -06:00
J. Lewis Muir
836d81f0b7
doc: HTML: fix typos and list of files in documentation directory
2015-02-18 16:55:09 -06:00
Andrew Johnson
804aeafaa7
Fix dbVerify()'s postfix buffer size
2015-02-18 16:44:07 -06:00
Andrew Johnson
dda4eb3a58
Fix more MS idiocy
...
Windows has signed characters, but if you pass a negative
value (i.e. a character with value >= 0x80) into the debug
version of its isprint() runtime library function it asserts.
2015-02-18 16:36:42 -06:00
J. Lewis Muir
b041041518
doc: fix typos and list of files in documentation directory
2015-02-18 15:46:05 -06:00
Andrew Johnson
d2a216b28e
More MS Windows-x64 test fixes
2015-02-17 16:21:13 -06:00
Andrew Johnson
7e36a58f1e
Back-ported dbLoadRecordsHook from the 3.15 branch
2015-02-17 14:29:20 -06:00
Andrew Johnson
f16bdb0c83
Merged trap-write-data branch
2015-02-17 14:02:15 -06:00
Andrew Johnson
681a996bf0
Unifying rsrv error messages
2015-02-17 13:59:13 -06:00
Michael Davidsaver
276ea54ee4
don't destroy locked mutex
2015-02-17 11:03:06 -05:00
Michael Davidsaver
2623c2f46f
dbStaticLib.c: clean pdbbase after free
2015-02-17 11:01:49 -05:00
Michael Davidsaver
b996e63beb
dbReadTest.c: flush errlog on exit as per lp:1419879
2015-02-17 10:57:05 -05:00
Michael Davidsaver
2f0e9172a4
tool_lib.c: ensure output string is always set
...
Ensure that val2str always writes to its output buffer,
which is static and shared between all PVs.
Should make bugs like lp:1418526 more obvious.
2015-02-17 10:45:30 -05:00
Andrew Johnson
c5ded30684
Extended asTrapWrite to provide put data
...
Backwards-compatible enhancement to the asTrapWrite API to provide
listener routines with the data being put by the client.
The asTrapWriteMessage structure is extended with 3 new fields
for data type, element count and a pointer to the source buffer.
Tim Mooney requested this enhancement for his caPutRecorder code,
which doesn't work if the record overwrites the new value within
its process() routine, e.g. when jogging a motor record.
2015-02-16 16:30:52 -06:00
Andrew Johnson
2e4d8b31ff
Mark windows-x64 Math failures as TODO
2015-02-13 15:56:50 -06:00
Andrew Johnson
26d60bc516
Attempt to fix Windows test failures
...
epicsMessageQueue test wasn't printing the last test result.
2015-02-13 15:29:08 -06:00
Andrew Johnson
f874913cf7
Fix epicsExceptionTest on darwin
...
Clang's optimizer seems to elide the new (nothrow) if we don't
actually observe the value of p...
2015-02-13 12:17:24 -06:00
Andrew Johnson
26ab431c0a
Back-ported the tapfiles build target from 3.15
...
This is the version that works on Windows.
2015-02-13 11:16:24 -06:00
Andrew Johnson
02aa7e2f73
Stop bogus error messages from CA Repeater on Windows
...
Required adding a new API to osiSock.h and the 2
implementations of epicsSocketConvertErrnoToString.
2015-02-10 18:10:33 -06:00
Andrew Johnson
727a3af59d
Merged Richard Fearn's caget-lb-zero-fix branch
...
... after some modification.
2015-02-05 11:19:30 -06:00
Richard Fearn
1a094f5971
catools: make caget -lb output '0' instead of empty string for zero value
2015-02-05 11:53:33 +01:00
Andrew Johnson
4b0a4ffee2
Build configuration for iOS
2015-02-04 10:11:14 -06:00
Andrew Johnson
c91725d3a4
Linux flag changes to remove glibc 2.20 warnings
...
Replace _BSD_SOURCE and other flags with _GNU_SOURCE and _DEFAULT_SOURCE
2015-01-30 16:12:42 -06:00
Ralph Lange
6a9eccdec1
gdd: fix issue when copying from an emtpy array
...
if the source array is empty, the index of the first element to copy (0) being equal
to the source array size (0) does not constitute an out-of-bounds condition
2015-01-29 14:36:55 +01:00
Andrew Johnson
2b950754c4
Fix FLNK-over-CA error message
2014-12-23 10:35:09 -06:00
Andrew Johnson
846d55dac5
Build support for 64-bit iPhone Simulator
...
From Tom Palaia.
2014-12-04 14:05:44 -06:00
Ralph Lange
db0fbf9f73
.bzrignore: add wildcard for suppressing QtCreator project files
2014-12-03 15:11:30 +01:00
Andrew Johnson
c1d33e614c
Fix non-OS Perl xsubpp issue
...
This should be the right fix.
Also cleaned up compile warnings from Clang in the cap5 build.
2014-12-02 11:03:16 -06:00
Andrew Johnson
69eaaa17ba
Fix xsubpp for RHEL 7 and derivatives.
...
It got moved. This might not be the final fix for those using an
add-on version of Perl though...
2014-12-01 12:12:09 -06:00
Andrew Johnson
89777707c4
cap5: Minor build change on Darwin
2014-11-17 10:56:28 -06:00
Andrew Johnson
3d03822043
CAref reformatting/prettification
2014-11-08 10:19:59 -06:00
Andrew Johnson
702edbf4af
Merged Lewis Muir's CAref typo fixes
2014-11-07 15:35:30 -06:00
J. Lewis Muir
0d0ac88242
doc: Fix typos in CA reference manual
2014-11-07 14:56:41 -06:00
Andrew Johnson
53d9a07f64
Fix buffer overflow in epicsStrnRawFromEscaped
...
lp:1388313
2014-11-05 10:06:02 -06:00
Andrew Johnson
9f163ef8d9
Merged J Lewis Muir's typo-fix branch
2014-10-28 16:20:51 -05:00
J. Lewis Muir
f0156119be
cap5: Fix doc typos
2014-10-22 11:03:40 -05:00
Andrew Johnson
f808e4309d
cap5 Fixes
...
1. Support subscribing for DBR_GR_ENUM or DBR_CTRL_ENUM
2. Fix doc example on how to combine timestamp parts
2014-10-17 15:19:00 -05:00
Andrew Johnson
f59123bd3c
Added Windows-x64-debug cross-build config file
2014-10-17 11:48:18 -05:00
Ralph Lange
49a9d64946
catools: better out-of-bounds handling when printing enums as DBR_GR/DBR_CTRL
2014-10-09 14:12:39 +02:00
Andrew Johnson
c5740c0dd0
Add relPaths.sh target to convertRelease.pl
...
This is a /bin/sh syntax version of the dllPath.bat file,
needed to run IOCs under Cygwin when SHARED_LIBRARIES=YES.
2014-10-08 14:18:08 -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