Andrew Johnson
4e0ab97038
(M. Davidsaver): static keyword is part of C89,
...
remove all uses and internal definitions of LOCAL macro
2009-07-09 16:37:24 +00:00
Andrew Johnson
d7d0531394
offsetof is required by C89 (M. Davidsaver)
2009-07-09 16:19:57 +00:00
Andrew Johnson
d6fcbe14ab
Cleaned up dbDefs.h and errMdef.h
...
Added various #include lines needed in other sources.
2009-07-09 15:27:43 +00:00
Andrew Johnson
a66a192ed5
Expand READONLY macro, deprecate.
2009-06-05 19:56:33 +00:00
Andrew Johnson
f0652aa1b6
allocations MustSucceed
2009-04-23 22:19:46 +00:00
Andrew Johnson
31d149d8d9
Fixed 64 bit compiler warnings from Tom Palaia/MacOS.
2009-04-23 18:49:40 +00:00
Andrew Johnson
d545a8f04f
Added test code, fixed bug found in epicsStrnEscapedFromRawSize().
2009-04-10 19:58:34 +00:00
Andrew Johnson
f3d07ad12f
ellLib changes: ANSIfication patch; moved test code out of ellLib.c into
...
its own unit test program in libCom/test; changed ellFree() to take a
function pointer for the free() routine, so it can be used on Windows;
modified epicsExit and dbBkpt to use it and pass in the free routine.
2009-04-09 16:51:05 +00:00
Andrew Johnson
ca269744a6
Flush result output, allows Test::Harness to display progress.
2009-04-07 21:28:58 +00:00
Ralph Lange
7fccc59fe9
ANSIfication of stuff (mostly missing argument types in declarations)
2009-04-03 17:46:26 +00:00
Andrew Johnson
7228190dde
Fix memory leak.
2009-04-03 01:57:11 +00:00
Ralph Lange
433e400c4d
Fix in calculating the needed buffer length for escaped strings.
2009-04-02 13:05:42 +00:00
Ralph Lange
73470d5f4c
Added new functions to escape non-printable characters. (epicsString)
2009-04-02 02:13:04 +00:00
Andrew Johnson
7eeb70a8d9
Added epicsStrHash() and epicsMemHash(), after analyzing several hash
...
functions found online and the two already in Base (which both perform
a memory lookup per character and are not as good as this one).
2009-03-19 17:44:22 +00:00
Jeff Hill
c5f15a3e17
fixed bug introduced after R3.14.9, but before R3.14.10-RC1 and R3.14.10-RC2
2008-10-21 20:26:48 +00:00
Jeff Hill
dff447028f
improved fix for mantis 316
2008-09-27 01:37:01 +00:00
Jeff Hill
1ba1909bdb
improved fix for mantis 316
2008-09-27 01:18:39 +00:00
Jeff Hill
32616ba5fa
imprved fix for mantis 316
2008-09-26 22:12:15 +00:00
Andrew Johnson
37f4457c03
Added EPICS_DEPRECATED.
2008-09-26 17:24:32 +00:00
Andrew Johnson
3a671f712f
Missing epicsExportSharedSymbols
2008-09-15 18:49:31 +00:00
Andrew Johnson
0bddd7dc8c
Added Unit Test Harness to summarize results on vxWorks/RTEMS.
...
Added taskwdTest to tests run.
2008-09-03 16:48:03 +00:00
Janet B. Anderson
ca1c83bf3a
Added shared library support for cygwin and mingw builds.
2008-08-06 16:52:52 +00:00
Janet B. Anderson
519b33e4fb
Changes for shared library build using MinGW compiler on win32.
2008-07-29 21:11:56 +00:00
Andrew Johnson
f0811601ea
Fixed warnings on MinGW.
2008-07-29 20:47:11 +00:00
Andrew Johnson
ff4f3f2070
Fixed warning on Solaris.
2008-07-28 18:32:32 +00:00
W. Eric Norum
02b87df99c
The ipToAsciiProxy thread calls upon vendor libraries which may use significant amounts of stack. Account for this by providing the thread with an epicsThreadStackBig stack.
2008-07-21 17:40:44 +00:00
Andrew Johnson
3be3203377
Convert Inf and NaN values properly.
2008-06-12 22:44:16 +00:00
Andrew Johnson
9d7fb60785
Added mote about deprecating epicsShareAPI.
2008-04-15 20:30:22 +00:00
Andrew Johnson
e8d52af7bc
Can't make epicsInt8 a 'signed char', it breaks too much stuff.
...
This is a problem - on some archs char is signed, on others not.
2008-04-01 15:54:01 +00:00
Andrew Johnson
f21aed109c
An epicsInt8 is signed, but a bare 'char' isn't necessarily.
2008-03-31 19:46:46 +00:00
Andrew Johnson
54ce8fbdbe
Fixed Mantis #290 .
2007-11-13 23:27:35 +00:00
Andrew Johnson
52ab7f6d6b
A char with the top bit set doesn't cast properly when its signed.
2007-09-11 19:11:55 +00:00
Jeff Hill
fe2b0e599d
fix dll exports
2006-12-22 21:56:46 +00:00
Jeff Hill
2c9414a881
installed epics thread exit capabilities
2006-12-07 17:00:20 +00:00
Jeff Hill
f16d241662
installed epics thread exit capabilities
2006-12-07 00:49:19 +00:00
Jeff Hill
94dfec0999
fixed compiler warning
2006-12-05 19:56:28 +00:00
Jeff Hill
5b6a358fab
fixed gnu build issue
2006-11-29 01:07:57 +00:00
Jeff Hill
bdc071f3c5
fix for mantis 276 - EDM on OS X gets access fault in ipAddrToAsciiEngine::allocate
2006-11-28 23:45:04 +00:00
Andrew Johnson
e16dc7852e
Fixed gcc warnings.
2006-11-28 18:00:37 +00:00
Jeff Hill
4195457cdd
base types on std C if recent dialect is available
2006-11-18 00:24:29 +00:00
Andrew Johnson
52b7171576
Moved testMain.h into libCom/misc, since db/test is built before libCom/test.
2006-11-10 22:43:04 +00:00
Andrew Johnson
d8b9856252
Lock around testDiag(), so multiple threads don't mix output.
2006-11-09 22:28:33 +00:00
Andrew Johnson
dac306887d
Changed many of the char* arguments to printf-style varargs.
2006-11-07 15:35:14 +00:00
Andrew Johnson
333c97ee23
Does anybody know what this was ever used for?
2006-11-03 17:32:29 +00:00
Andrew Johnson
0563bebee0
Removed definition of NULL.
2006-10-31 20:37:34 +00:00
Andrew Johnson
a1e28f3dec
Fixed problem not resetting test count properly.
2006-10-26 22:21:08 +00:00
Andrew Johnson
5a561ca613
Make epicsStrtod() parse the full "Infinity" and not stop after "Inf".
2006-10-26 21:18:05 +00:00
Andrew Johnson
5dd24b7ad2
Permit multiple test programs to be run sequentially in the same process
...
(for RTEMS and vxWorks).
2006-10-26 19:28:30 +00:00
Andrew Johnson
b2012ebf80
Don't print results if no tests!
2006-06-16 19:27:36 +00:00
Jeff Hill
a3e0f538f7
ipAddrToAsciiTransactionPrivate free list is __not__ locked externally
...
so the epicsMutexNOOP non-default template parameter causes
the free list to not be locked. The free list was changed to embed a
lock/unlock around all allocate and deallocate requests.
2006-05-22 22:49:06 +00:00