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
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
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
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
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
Andrew Johnson
3b0f34e0be
Fix recursive check in Release.pm
2017-12-06 16:29:31 -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
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
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
cec4f4e24b
Unify rsrv socket errors, add missing error string
2017-10-20 14:12:49 -05: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
Andrew Johnson
32a6f6c4f1
Fix DBD parsing slow-up with Perl 5.20 and later
2017-10-09 14:45:01 +02: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
6ee2cc6039
Merged 3.14 branch into 3.15
2017-09-07 17:48:05 -05:00
Andrew Johnson
fad89189da
Fix typo in CAref.html
2017-09-07 17:38:58 -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
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
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
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
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
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
105e831442
Merge changes from 3.14 branch into 3.15
2017-06-14 10:17:31 -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