Andrew Johnson
dbb8d232ee
libCom/test: Losen the timer error threshold.
...
Windows was consistently failing the fastest timer tests.
2013-12-17 17:13:27 -06:00
unknown
b93601bc22
libCom/test: epicsStrGlobMatch() tests
2013-12-17 16:37:46 -06:00
Andrew Johnson
9e37ab649b
libCom: Clear up warnings from VxWorks 6.9.
2013-12-17 14:19:18 -06:00
Andrew Johnson
0a2020e2fc
Merged changes from 3.14 branch
...
Up to 3.14.12.4 release.
2013-12-17 12:54:04 -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
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
Jeff Hill
b38e48642e
probably fixed PPC build (its not easy to test this here)
2013-11-20 17:55:44 -07:00
Andrew Johnson
773eb1b33d
Clean up array subscript has type ‘char’ warnings.
2013-11-20 17:28:41 -06:00
Jeff Hill
0a86ec01fa
o fixed spelling in comments
...
o fixed warnings during MSVC based build
2013-11-20 10:51:14 -07: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
Andrew Johnson
2d52067484
libCom: Clean up build warnings from Visual Studio.
2013-11-19 15:26:22 -06:00
Andrew Johnson
4d64941bd2
libCom: truncateFile size arg should be unsigned long
...
It gets compared against LONG_MAX and cast to a long, so now
we have architectures where int != long we must distinguish them
2013-11-15 17:24:33 -06:00
Andrew Johnson
66209118f6
libCom/macLib: Don't use unsigned chars in macParseDefns()
...
These pointers are really pointing to standard chars.
2013-11-13 12:39:23 -06:00
Jeff Hill
280ff742c5
fix for mingw gcc V3 build
2013-11-07 18:56:17 -07:00
Andrew Johnson
72d65c60a4
epicsErrlogTest: Shorten output lines
...
Shorten test output from long messages.
2013-09-20 13:44:28 -05:00
Andrew Johnson
01f0fdbf1e
More file permission fixes.
2013-08-19 15:46:51 -05:00
Janet Anderson
d3b6d01807
Added WIN32 system library for epicsSockResolveTest
2013-07-17 15:55:49 -05:00
Andrew Johnson
c96db4c877
libCom: Replaced errlogRemoveListener()
...
New version errlogRemoveListeners() is safer.
2013-06-28 12:35:43 -05:00
Andrew Johnson
2be5e15346
Merged changes from 3.14 branch
...
Up to revno 12420 inclusive.
2013-06-07 18:08:38 -05:00
Andrew Johnson
ef5d88d3e5
libCom: Back-ported aToIPAddr fix from 3.15 branch.
...
Cherry-picked 3.15 revno 12398 with some changes.
2013-06-07 17:03:55 -05:00
Andrew Johnson
863e8fdd3b
libCom: Fix VxWorks localtime_r() and gmtime_r() wrappers
...
Wind River changed the return value between VxWorks 6.8 and 6.9.
2013-06-07 14:35:45 -05:00
Andrew Johnson
7f82c2f32e
libCom: Added osi/os/WIN32/osdFindSymbol.c
...
Implemented by Dirk Zimoch.
2013-05-28 14:16:22 -05:00
Andrew Johnson
7addfc8ddd
libCom/test: Make epicsUnitTestTest.plt more Perlish
...
Use Perl's __DATA__ stream for the expected data string.
2013-05-24 15:33:56 -05:00
Andrew Johnson
34744264e1
libCom: Fix win32 handle leak
...
Closing an epicsThread would leak one Win32 handle.
Reported by Giles Knap, Diamond.
2013-05-06 17:29:10 -05:00
Andrew Johnson
7e347b2de9
libCom: Fix sysAtReboot registration on vxWorks 6.8+
...
Removed C++ static constructor, do it from epicsThreadInit()
2013-04-24 12:52:05 -05:00
Andrew Johnson
5bc15b72a1
libCom: Add some missing #include guards.
...
There are still quite a few missing in libCom/osi/os/*
2013-04-11 12:56:56 -05:00
Andrew Johnson
f9a0c82a63
libCom/osi: Resolve bcopyLongs() conflict on vxWorks 6.9
2013-03-28 17:17:41 -05:00
Ralph Lange
64a2e4e19b
libCom/osi: Make EPICS ID in epicsThreadShow 2 characters wider (for 64bit)
2013-03-27 10:56:34 +01:00
Andrew Johnson
4f9928bc3c
Merged changes from 3.14 branch
...
Up to revno 12404.
2013-03-15 15:23:55 -05:00
Andrew Johnson
738b8ca55f
libCom: Add a High-Resolution Time Provider on MacOS
...
Since Apple don't support clock_gettime(CLOCK_REALTIME) I added a
new time provider that uses the Mach kernel Clock service to get
nanosecond resolution time.
2013-03-13 14:48:34 -05:00
Andrew Johnson
82560b552e
libCom/osi: Fix for cygwin
...
Needed shareLib stuff.
2013-02-18 13:11:36 -06:00
Andrew Johnson
3196844602
Remove another Borland on Linux remnant.
2013-02-14 15:56:22 -06:00
Andrew Johnson
d85d1f0e56
Merged Ralph's spinlocks branch.
...
Added an RTEMS implementation which locks interrupts,
and some Release Notes mentioning the new API.
2013-02-12 12:13:01 -06:00
Andrew Johnson
8400e74606
Fix epicsRingPointerGetSize()
...
Definition name didn't match declaration.
Fixes lp:1109785 reported by Martin Konrad.
2013-01-29 18:02:51 -06:00
Andrew Johnson
d63dffcd34
libCom/test: epicsSockResolveTest build fix
...
Add socket libraries for Win32 & Solaris.
2013-01-04 12:22:02 -06:00
Michael Davidsaver
f5b7693a58
libCom: aToIPAddr() finds numeric hostnames
...
Hostnames that begin with one or more digits were not being looked up
by name, causing problems at BNL.
This commit also changes the vxWorks implementation of hostToIPAddr()
to use inet_aton() instead of inet_addr().
2013-01-04 09:33:13 -06:00
Andrew Johnson
3fb529373f
Clear RTEMS build warning
...
shutdown is also a system identifier.
2013-01-03 15:27:23 -06:00
Andrew Johnson
af2693241f
Merged changes from 3.14 branch
...
Up to revno 12398, i.e. the R3.14.12.3 release.
2012-12-18 15:44:35 -06:00
Jeff Hill
75e32c9086
fix for https://bugs.launchpad.net/epics-base/+bug/1090009
2012-12-13 09:35:18 -07:00
Michael Davidsaver
79bc3f2265
Make blockingSockTest use a free port number
...
Instead of using the CA server port 5064 which is often
in use, have the listening socket pick a free port.
2012-12-06 14:31:50 -06:00
Andrew Johnson
ef5688f8de
libCom: Accept hex literals in CALC expressions
...
Code back-ported from the 3.15 branch.
2012-12-03 12:58:26 -06:00
Andrew Johnson
d622bbad05
Fix compiler warnings on linux-x86
2012-12-03 12:48:11 -06:00
Andrew Johnson
6f9c2db8a8
libCom: Revert 12374 which breaks MSVC++ builds
...
Both the Microsoft 2008 and 2010 compilers fail with this change.
2012-11-30 13:32:25 -06:00
Andrew Johnson
d69f3904d7
Fix for win32 builds.
2012-11-20 17:27:38 -06:00
Andrew Johnson
7778c0c3ff
Solaris & vxWorks 5.5.x fixes
...
Remove C++-isms.
Make internal routines static when duplicate names appear
in the epicsMutexTest.cpp code; on vxWorks and RTEMS all
test programs get linked into a single binary.
2012-11-20 15:55:53 -06:00
Andrew Johnson
f320cbcecd
Fix vxWorks implementation.
2012-11-20 15:04:28 -06:00
Andrew Johnson
6fd9fb3066
libCom: Removed epicsSingleton workaround
...
This undoes commit 11565, "workaround for archaic T202 g++ bug"
which doesn't actually seem to be necessary for T202 compilation.
It also replaces 'typename' with 'class', for another compiler.
Modification provided by Dirk Zimoch.
2012-11-16 16:14:13 -06:00