Andrew Johnson
88864e949b
Merge changes from 3.14 branch, to revno 12599
2015-08-20 11:14:01 -05:00
Andrew Johnson
fe4f607e63
libCom/errlog: Don't store stderr in pvtData.console
...
Some VxWorks BSPs close the stderr stream that the shell running
the startup script created and open a new one for the interactive
shell. This change makes pvtData.console==NULL mean use stderr
instead of storing the stderr value in pvtData.console at init.
2015-08-13 10:44:52 -05:00
Andrew Johnson
d7b3293ba3
libCom: Use MSVC's struct timespec when available
2015-08-07 09:41:48 -05:00
Andrew Johnson
83c2414ad0
Merged changes from 3.14 branch to revno 12594
2015-07-23 10:13:07 -05:00
Andrew Johnson
002bafdf07
Add testHarnessDone
2015-07-17 18:06:58 -05:00
Andrew Johnson
5eb49ebaf0
Merged changes from 3.14 branch to revno 12590
2015-07-13 13:05:33 -05:00
Andrew Johnson
625172419e
libCom: Make epicsReadline behave the same on Darwin
2015-07-01 12:00:42 -05:00
Andrew Johnson
444b89f557
libCom: Make readline support clean up on epicsExit()
2015-06-30 14:08:32 -05:00
Andrew Johnson
a613a96ad3
libCom: Fix routine name in error message
2015-06-18 10:56:43 -05:00
Andrew Johnson
2f6fad0cc3
Fixing and/or investigating Cygwin issues
2015-05-01 11:38:54 -05:00
Andrew Johnson
f384232864
Merged Cygwin fix from 3.14 branch, revno 12584
2015-04-29 14:21:40 -05:00
Andrew Johnson
33b9fba00b
Fix for latest Cygwin
2015-04-29 14:01:07 -05:00
Andrew Johnson
490540b005
Merged from 3.14 branch up to revno 12575
2015-03-19 10:22:15 -05:00
Andrew Johnson
f994944531
libCom/posix: Remove pthread_setcanceltype()
2015-03-18 11:36:06 -05:00
Andrew Johnson
e1b2a0c5a3
Merged changes from 3.14 branch up to revno 12573
2015-03-13 11:50:26 -05:00
Andrew Johnson
8215244a28
Fix Windows time discontinuity report
2015-03-13 10:06:23 -05:00
Andrew Johnson
99f1dbb75e
Merged changes from 3.14 branch up to revno 12570
2015-03-11 16:26:15 -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
Michael Davidsaver
fb7273046c
epicsAtomic: also prevent vxWorks from using posix/epicsAtomicOSD.cpp
2015-03-10 10:39:37 -04:00
Michael Davidsaver
5bbd954ec8
epicsAtomic: fix noop OSDs
...
Ensure that all are epicsAtomicOSD.cpp and use
no-op to prevent RTEMS from using the posix
implementation.
2015-03-09 21:27:49 -04:00
Michael Davidsaver
6bf3f5554f
epicsAtomic: fix function def. order
...
epicsAtomicMemoryBarrierFallback used before definition
2015-03-09 19:48:30 -04:00
Andrew Johnson
dad5b1cc94
Merged Michael's fixatomiclinkage branch
2015-03-09 17:43:44 -05:00
Andrew Johnson
d432fb3115
Fix Darwin build
2015-03-02 14:22:25 -06:00
Andrew Johnson
02a105e5ab
Merged changes from 3.14 branch up to revno 12540
2015-03-02 11:43:20 -06:00
Andrew Johnson
e8c9783e06
Merged changes from 3.14 branch up to revno 12530
2015-03-02 10:35:35 -06:00
Andrew Johnson
92b4d8e48d
Merged changes from 3.14 branch up to revno 12526
2015-02-27 18:11:37 -06:00
Andrew Johnson
b745dbff10
Merged changes from 3.14 branch up to revno 12516
2015-02-27 17:47:55 -06:00
Michael Davidsaver
89596fc308
Fix typo in epicsAtomicTest.cpp testClassify()
2015-02-27 17:29:11 -05:00
Michael Davidsaver
73dcc2745f
Fix for Solaris C++ compiler
2015-02-27 17:29:11 -05:00
Michael Davidsaver
332fd550ad
epicsAtomic: RTEMS ISR safe impl. for epicsAtomicLock()
2015-02-27 17:29:11 -05:00
Michael Davidsaver
214c9003a9
epicsAtomicTest: include some information about build conditions
...
Give some idea which implementations are being used
2015-02-27 17:29:11 -05:00
Michael Davidsaver
0d4519eb54
epicsAtomic: fix C linkage
...
With gcc -std=gnu99 (present default) functions qualified
with plain 'inline' emit strong public symbols (nm says 'T')
in every compilation unit the definition appears.
This causes linking to fail in all cases where executable
are statically linked, and many where dynamic linking is used.
2015-02-27 17:29:11 -05:00
Michael Davidsaver
84e9ff3bc5
libCom/test: Add epicsInlineTest
2015-02-27 17:29:10 -05:00
Michael Davidsaver
b3bfac3f16
add EPICS_ALWAYS_INLINE
2015-02-27 17:29:10 -05:00
Andrew Johnson
4a0880003c
Support MinGW cross-builds on linux-x86 and x86_64
2015-02-24 14:30:42 -06:00
Andrew Johnson
2d7a8a4aee
Pull blockingSockTest.cpp from 3.15
2015-02-20 16:35:47 -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
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
Andrew Johnson
d2a216b28e
More MS Windows-x64 test fixes
2015-02-17 16:21:13 -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
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
5b6dce2681
Fix Windows builds
...
The windows shell doesn't like commands that start ../
Those commands are all found using TOOLS, so by making that
an absolute path we fix that problem.
However GNUmake doesn't recognize targets with relative paths
as being the same as their absolute path, so we have to fix up
some places that were using TOOLS in dependencies.
2014-12-10 17:40:40 -06:00
Andrew Johnson
30b789aa49
Fix epicsStrnEscapedFromRaw() and epicsStrnRawFromEscaped()
...
Major rewrites; the original epicsStrnRawFromEscaped() could read
beyond the end of the input buffer if the input count ended in the
middle of an octal or hex escape sequence. Zero termination did not
always match the return count, and hex escapes were always 2 digits,
contrary to the C standard.
New versions don't use epicsSnprintf() or sscanf() for hex and octal
conversions, so should be slightly faster.
Added 81 new tests to check the above issues.
2014-12-01 11:34:58 -06:00
Ralph Lange
1a94ea1045
libCom/osi: fix - do not set the main thread's Linux name to _main_ (linux)
2014-12-01 13:48:10 +01:00
Andrew Johnson
bdc57ecb2b
Build issues for MinWG
2014-11-19 13:16:56 -06:00