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
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
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
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
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
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
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
Andrew Johnson
02afb98f38
Reject NULL callback functions in ca_array_*_callback
...
Fixes lp:1369626
2014-09-17 10:21:07 -05:00
Ralph Lange
a5fe64a8ad
dev, rec: Fix smoothing for NaN/+inf/-inf values in ai record and soft support
2014-08-01 17:20:55 +02:00
Andrew Johnson
152e8865cc
Cleaned up exampleApp Makefiles
2014-07-28 11:38:30 -05:00
Andrew Johnson
2bf6d88607
templates: Quote path names in st.cmd files, permits spaces
...
Request from Eric Norum.
2014-07-01 10:55:52 -05:00
Jeff Hill johill@lanl.gov
e374ee4658
patched this code to force alignment of the if request structure, which appears to be required to avoid exceptions on RTEMS with cpu architectures that detect use of misaligned addresses
2014-06-10 22:37:21 -06:00
Jeff Hill johill@lanl.gov
ba6a32fefb
protect against situations where the server name isnt specified at all in bootp/dhcp
2014-06-10 16:18:26 -06:00
Jeff Hill johill@lanl.gov
aff46bd19a
allow the NFS mount path to be embedded in the bootp server name parameter, and therefore different from the NFS mount point
2014-06-05 08:19:09 -06:00
Jeff Hill johill@lanl.gov
39b068cf0a
RTEMS support for Altera Nios2 arch
2014-06-05 08:09:33 -06:00
Andrew Johnson
6e01fd9c3d
docs/cap5: Adjust link to CA Ref manual.
2014-04-30 12:07:30 -05:00
Andrew Johnson
2b7781c8d9
Support for Solaris 11 on x86 and SPARC.
...
Thanks to Bob Soliday for the necessary changes.
2014-04-25 16:51:28 -05:00
Andrew Johnson
9170d79ffe
libCom/test: isinf() and isnan() want doubles
...
This apparently becomes important in a newer GCC version.
2014-04-25 14:08:25 -05:00
Andrew Johnson
475296ad49
Modify inc dependencies
...
Using inc causes a rebuild every time; replace it with
the list of include files that the compiler might use.
Also adjust gdd build to avoid a circular dependency.
2014-04-09 16:54:26 -05:00
Andrew Johnson
a3b5ced30b
CAref: Clean up HTML anchors
...
Only need to set name attribute on anchors, not id too.
Having both causes linklint warnings.
2014-03-14 15:43:29 -05:00
Andrew Johnson
b1ece5d8d2
cap5: Added CA->version function
...
Documented.
2014-03-11 17:46:14 -05:00
Andrew Johnson
f5b9db9583
libCom: Fix epicsString.h comparison functions
...
The string comparison functions epicsStrCaseCmp() and
epicsStrnCaseCmp() were returning incorrect results
when the strings did not match.
These functions now match their BSD equivalents, and
have working tests to confirm their operation.
2014-03-11 17:12:41 -05:00
Andrew Johnson
5bdd9ddca6
Windows: Fix static builds on MinGW
...
Xiaoqiang Wang proposed some fixes that allow static builds on
the MinGW targets to succeed. Some additional changes made to
blockingSockTest.cpp also clean that up.
2014-02-25 15:56:13 -06:00
Andrew Johnson
3fd8d4515c
libCom/test: Finish converting blockingSockTest to epicsUnitTest
...
Don't call assert() from a test program,
it stops the tests from running if the assert fails.
2014-02-20 16:36:58 -06:00
Andrew Johnson
6ad61aea32
Fix missing spaces in ADDR_LIST formats.
2014-02-11 17:44:14 -06:00
Andrew Johnson
b32127c5de
libCom: Fix epicsTime::strftime() roll-over bug
...
Fractional seconds could round-up to .000 without
incrementing the integer seconds.
We can't actually do the latter, so we prevent the
roll-over and clamp at all 9's instead.
Idea from Eric Norum.
2014-01-29 16:52:22 -06:00
Andrew Johnson
97636a45e0
libCom: Remove epicsShareAPI from epicsExit APIs
...
Passing epicsExitCallAtExits into atexit() was generating
a warning about passing in a __stdcall routine pointer.
2013-12-16 14:52:29 -06:00
Andrew Johnson
a50c66b6ff
libCom/test: Added epicsEnvTest.c
...
VxWorks 6.x can make environment variables private to each
thread, which doesn't work too well.
A test failure on VxWorks explains how to change the image
configuration to fix this.
2013-12-16 12:48:25 -06:00
Andrew Johnson
197e992241
Fixed iocsh stream redirection for several commands
...
Eric provided the fixes to iocsh (empty commands would not reset
redirected streams), I fixed various commands.
2013-12-11 17:50:29 -06:00
Andrew Johnson
76e967c960
dbStatic: Fixed crash loading record of unknown type
...
Fixed segfault when dbLoadRecords tried to load a record of a
type that was not defined in its DBD files.
2013-12-04 17:37:42 -06:00
Andrew Johnson
78a4e462d5
libCom: Recognize hex literals in epicsStrtod()
...
Allows Windows and VxWorks to accept hex integers as a double.
2013-12-02 11:12:19 -06:00
Andrew Johnson
9ab6f89604
Clean up epicsExport.h includes
...
Mostly in record and device support, this commit puts
the include in the right place and moves some other
includes around to get the order right.
2013-11-20 16:21:10 -06:00
Andrew Johnson
93be1400c1
Fixed various 64-bit windows build issues.
2013-11-19 18:42:45 -06:00
Andrew Johnson
176ee926ad
cygwin: Fixed SocketSystemCallInterruptMechanism
...
Cygwin changed it back again.
2013-11-19 18:41:03 -06:00