Ralph Lange
7bb27ad3e7
dbStatic: deprecate guigroup.h; remove from includes
2016-04-22 17:02:21 +02:00
Ralph Lange
1e1799c30e
tools: change RE to allow any value for promptgroup in the Perl DBD parser
2016-04-18 09:56:41 +02:00
Ralph Lange
ce7044c711
dbStatic: collect promptgroup enum choices when reading dbd
2016-04-06 15:38:35 +02:00
Andrew Johnson
177090e35e
Merged fixes for lp:1558206 and lp:1563191 from 3.14 branch, revno 12622
2016-03-30 11:26:53 -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
59fea64390
Add missing dependencies for Test.dbd files
2016-03-16 13:10:17 -05:00
Andrew Johnson
f260124733
Ensure mbb* MASK calculated properly
2016-03-10 13:05:00 -06:00
Andrew Johnson
113076a009
Allow quotes in DBD argument strings
2016-03-03 11:19:22 -06:00
Andrew Johnson
9502841b55
Silence unused variable warning
2016-03-02 10:41:34 -06:00
Andrew Johnson
f73f3332fa
Merge RTEMS NTP fix from 3.14 branch, to revno 12615
2016-02-29 17:49:08 -06:00
Andrew Johnson
3f4c6abb31
Fix for RTEMS NTP sync issue
2016-02-29 17:07:03 -06:00
Andrew Johnson
76c422c5fd
Merge Cygwin fix from 3.14, fix in rsrv too
2016-02-26 17:10:35 -06:00
Andrew Johnson
fee62836cd
Use OS __CYGWIN__ macro, deprecate our CYGWIN32
2016-02-26 16:27:13 -06:00
Michael Davidsaver
2c48bcc26b
dbChannelShow reporting detail level changed
2016-02-26 16:07:47 -05:00
Andrew Johnson
3304470323
Merged the rsrvbindiface branch
2016-02-26 14:15:22 -06:00
Andrew Johnson
4f2f910d09
Added extern "C" wrappers to clean up some Solaris warnings
2016-02-26 13:50:39 -06:00
Andrew Johnson
217f515985
Merged fix-dbGet-arrays branch
2016-02-26 12:29:20 -06:00
Andrew Johnson
ebc59a4223
Add epicsAtomicTest to epicsRunLibComTests
2016-02-26 12:27:33 -06:00
Andrew Johnson
58285501de
Revert, test programs may be included in harness without being run
2016-02-26 12:25:59 -06:00
Michael Davidsaver
bfa8e324f7
remove dbChArrTest from testHarness
...
dbChArrTest calls iocInit() and so can't
be in the shared test harness
2016-02-25 21:10:42 -05:00
Michael Davidsaver
51a69862e7
ioc/db: single return for dbGet()
...
Single return path after call to prset->get_array_info
to ensure that paddr->pfield is restored.
2016-02-25 20:59:10 -05:00
Michael Davidsaver
4b8c11aeef
memset transposed arguments
2016-02-25 20:08:44 -05:00
Andrew Johnson
62efa2e96a
Fix the dbGet() array with field-log bug.
...
This also fixes a problem where the array is used in circular buffer
mode and the request has an offset, but the array is not actually
full at the time; to copy the data out of the array the convert()
routine needs to know the capacity of the array to know when to wrap
around, but we were passing it the current length instead.
2016-02-25 17:50:33 -06:00
Andrew Johnson
c7bcb09540
Add tests for dbGet() with db_field_log
...
Regression testing for a bug where an array field with a sub-array
channel filter can read past the end of the db_field_log array,
because in dbGet() the call to prset->get_array_info() occurs even
when pfl is supposed to be overriding the record's array.
2016-02-25 17:44:45 -06:00
Andrew Johnson
5ee778b0c2
Merged changes from Base-3.14, to revno 12613
2016-02-25 14:13:40 -06:00
Michael Davidsaver
7b3a040b34
rsrv: use SOCKERRNO
...
Must use OSI SOCKERRNO for correct handling
of errors w/ winsock
2016-02-25 11:32:56 -05:00
Michael Davidsaver
88b47c021c
cygwin inherits winsock broadcast behavior
2016-02-25 11:10:28 -05:00
Michael Davidsaver
d0a316f7ca
win32: include ws2tcpip.h from osdSock.h
...
Needed to get some additional definitions
including IP_ADD_MEMBERSHIP
2016-02-25 11:02:09 -05:00
Ralph Lange
ba307ba6e7
rsrv: populate the server list - also on Windows builds
2016-02-25 09:36:31 +01: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
66b0acbe3e
Report UDP client status on Windows
2016-02-24 11:07:33 -06:00
Ralph Lange
822c6815c5
pcas: fix compilation on MSC Windows
2016-02-24 11:24:17 +01:00
Andrew Johnson
e18eca80db
Changes from patch in lp:1539791
2016-02-23 15:43:26 -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
Michael Davidsaver
ffb23a3480
pcas: don't send beacons w/ connect()d socket
...
use sendto() and leave the origin field to 0.0.0.0
so it will be filled in by the receiving repeater
2016-02-16 16:28:04 -05:00
Andrew Johnson
61e61aab24
Use MS' strto[u]ll() if present
2016-02-12 15:15:19 -06:00
Andrew Johnson
d3e046a466
Document [s:e] and [s] filter usage
2016-02-12 14:20:33 -06:00
Andrew Johnson
99d331e50a
Print timestamp with bad UDP msg errors
2016-02-11 14:36:48 -06:00
Andrew Johnson
9d95528eba
Show UDP name server status in casr 2+ output
2016-02-08 16:34:37 -06:00
Michael Davidsaver
95a1998e0b
update release notes
2016-02-04 19:09:44 -05:00
Michael Davidsaver
5769db3862
rsrv: "casr 1" shows ignore list
2016-02-04 18:57:02 -05:00