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
Andrew Johnson
a99f1d238e
Cleaned up VxWorks 6.9 symLib warnings
...
VxWorks 6.9 deprecated several symFindBy...() routines, which
result in warning messages at build-time. I rewrote the code
that uses these to use the newer API on VxWorks 6.9.
Also deprecated the two epicsDynLink.h symFindByNameEPICS()
and symFindByNameAndTypeEPICS() routines; epicsFindSymbol() in
epicsFindSymbol.h is now available on most platforms instead.
2014-11-18 17:46:41 -06:00
Andrew Johnson
09797ee7ca
Fix ringPointerTest thread priority issue on VxWorks
...
Picked a priority somewhere in the middle and switch to
that for the two test subroutines that care.
2014-11-18 17:30:43 -06:00
Michael Davidsaver
58cd1d0a71
errlog: Don't free globals.
...
Since the pvtData.atExit flag doesn't prevent all
concurrent use of the pvtData struct we can't safely
free it.
2014-11-18 14:48:15 -05:00
Ralph Lange
ac2ff29abb
libCom/log: make iocLog client unregister its listener from errlog on shutdown
2014-11-18 15:23:14 +01:00
Michael Davidsaver
f9d0fd351d
libCom/test: fix ringPointerTest compile issues on vxWorks and MSVC
...
Remove C GNU-isms
1) mixing code/variable defs
2) arithmetic on void*
2014-11-17 18:55:47 -05:00
Michael Davidsaver
66fbbbb19a
libCom/test: re-write ringPointerTest
2014-11-17 16:51:57 -05:00
Michael Davidsaver
924350b362
epicsExit: add epicsExitLater() to trigger process exit without blocking
2014-11-13 11:58:35 -05:00
Andrew Johnson
6f7fc7bf8e
Merged changes from 3.14 branch
...
Up to revno 12504.
2014-11-07 15:57:13 -06:00
Andrew Johnson
2ab2470317
Fix epicsStrtod() implementation to detect overflow
...
The VxWorks version of strtod() that we use returns Inf
instead of setting errno on overflow.
2014-11-07 13:25:16 -06:00
Andrew Johnson
53d9a07f64
Fix buffer overflow in epicsStrnRawFromEscaped
...
lp:1388313
2014-11-05 10:06:02 -06:00
Andrew Johnson
79b70d651c
Flag epicsBoolean with EPICS_DEPRECATED
2014-10-31 17:26:48 -05:00
Andrew Johnson
9d5bffca94
libCom/flex: Default skeleton should be filename only
2014-10-31 16:58:03 -05:00
Andrew Johnson
647bd334ae
iocsh: Protect echo and cd from NULL arguments
2014-10-31 12:19:09 -05:00
Andrew Johnson
09ff608ca9
libCom: Fix use-after-free bug in macCore.c
2014-10-30 17:55:12 -05:00
Andrew Johnson
6c14dc194c
Replace the epicsBoolean type in epicsTypes.h
2014-10-30 14:40:19 -05:00
Andrew Johnson
3eb6a66f3c
Fix build warnings
2014-10-07 15:59:20 -05:00
Andrew Johnson
bd120c774d
Various fixes
...
* VxWorks 5.5.2 doesn't like C++-style variable declarations in C code
* Older MS compiler doesn't have strto[u]ll
* Wrote release note entry for iocshLoad command.
2014-10-07 00:41:39 -05:00
Andrew Johnson
0a9c5d456b
Merged iocshCmd-with-macros branch
2014-10-06 23:39:23 -05:00
Andrew Johnson
97e445f78d
Merged epicsInt64-library-support branch
2014-10-06 20:28:35 -05:00
Andrew Johnson
78a9dd7bc5
Fixes for building on Solaris
...
The SunPro C++ compiler doesn't like osdElfFindAddr, so I converted
it back to C, but then I had to make the osdFindAddr files C to match.
Now elfRead() can't use a static initializer to get the program start
time, so I added a public routine to osiClockTime.c to return that.
Also fixed various indentations in Till's code.
2014-10-06 13:53:21 -05:00
Andrew Johnson
ec7b0d5737
Merged the loadable-support branch
2014-10-02 16:53:15 -05:00
Andrew Johnson
70feb515c3
Merged parallel-cbthreads-3 branch
2014-10-02 15:07:07 -05:00
Andrew Johnson
0888992863
Fix MinGW cross-build from Linux
2014-09-28 23:28:29 -05:00
Michael Davidsaver
76dc827e29
libCom/test: link w/ winsock to get htons/htonl
2014-09-26 18:55:26 -04:00
Andrew Johnson
b06ea01a18
Fix Windows build issue in epicsMMIODef.h
2014-09-26 16:40:44 -05:00
Andrew Johnson
5ae6dd3a7c
Merged devlib2mmio branch
2014-09-26 14:28:28 -05:00
Andrew Johnson
abc3417623
Merged stacktrace-1 branch
2014-09-26 12:46:16 -05:00
Andrew Johnson
abff9a6954
Improve epicsSockResolveTest tests.
2014-09-26 10:11:47 -05:00
Andrew Johnson
8fde7fb4f3
Merged changes from 3.14 branch
...
Fixed issues building on Solaris.
Up to revno 12497.
2014-09-25 16:34:12 -05:00
Andrew Johnson
d73b4eb470
Fix epicsSockResolveTest, host is now a real TLD
2014-09-23 15:31:53 -05:00
Keenan Lang
bd3a030da8
remove unneeded forward declaration
2014-09-19 13:24:15 -05:00
Keenan Lang
688e821f3a
remove macEnvExpandTest from epicsRunLibComTests.c
2014-09-19 13:21:43 -05:00
Till Straumann
a018720511
- use time() instead of clock_gettime();
...
- when comparing modification to program start time use >= instead of >
2014-09-19 10:17:28 -07:00
Till Straumann
f278ba656b
- fixed c++ warnings
2014-09-18 14:06:04 -07:00
Till Straumann
d925772857
- fixed c++ warnings
2014-09-18 14:05:32 -07:00
Till Straumann
bbfb69ed8d
- implemented suggestion by Michael Davidsaver: when reading ELF files
...
check modifification time against program start time and warn if the
file was modified more recently since it could be out of date.
2014-09-18 12:19:47 -07:00
Till Straumann
012ee68199
- made osdBackTrace/osdFindAddr c++ sources to be more flexible for
...
implementations. Fixed compiler warnings (c++ more picky than cc).
2014-09-18 12:18:48 -07:00
Keenan Lang
79cb473b6a
tests all pass now.
2014-09-17 17:22:04 -05:00
Keenan Lang
73b09f4976
Adding scoping test, combining some aspects of macEnvTest to allow removal of that test.
2014-09-16 13:55:40 -05:00
Keenan Lang
4cd8a41ce5
Updated macDefExpandTest to keep from dereferencing NULL
2014-09-15 16:59:11 -05:00
Andrew Johnson
42f0b9be21
Posix: Fix how we check POSIX features
...
Darwin defines some macros as -1, which means unsupported.
2014-09-11 17:08:49 -05:00
Janet Anderson
81fdbdebd9
Added dummy for solaris build.
2014-09-11 09:10:44 -05:00
Till Straumann
f1bb532307
- simplified some code
...
- epicsStackTrace.c provides generic epicsStackTraceGetFeatures() testing
the 'epicsBackTrace()' functionality. Call out to epicsFindAddrGetFeatures()
to inquire about symbol lookup support.
2014-09-10 12:04:36 -07:00
Till Straumann
0252dd1905
- simplified code
...
- provide epicsFindAddrGetFeatures() instead of epicsStackTraceGetFeatures()
2014-09-10 12:03:50 -07:00
Till Straumann
a2339b9219
- WIN32 can now use default osdFindAddr (until symbol lookup is implemented)
2014-09-10 12:03:04 -07:00
Till Straumann
cc04994d12
- updated copyright info
...
- let epicsFindAddr clear out returned symbol info
- provide epicsFindAddrGetFeatures instead of epicsStackTraceGetFeatures
2014-09-10 12:01:50 -07:00
Till Straumann
fad25a3b11
- cleanup
...
- reduced epicsStackTraceGetFeatures to epicsFindAddrGetFeatures
2014-09-10 12:00:51 -07:00
Till Straumann
438863ebd9
- updated copyright info
2014-09-10 12:00:08 -07:00