Commit Graph

217 Commits

Author SHA1 Message Date
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
Andrew Johnson 62dee96808 Added Test Anything Protocol unit test library.
See Perl documentation for Test::Harness and Test::More for format details.
2006-03-30 19:59:46 +00:00
Andrew Johnson 3caf5e10c4 Include stdio.h 2006-03-30 19:50:31 +00:00
Andrew Johnson 3162d19551 Make cantProceed() take printf-style message args. 2006-03-30 19:42:36 +00:00
Andrew Johnson ba9499c786 Better solution to zero-sized alloc requests. 2006-01-31 20:44:55 +00:00
W. Eric Norum dbac42746c [cm]allocMustSucceed() now accept values of 0 for their size and count arguments and can return a NULL in these cases. 2006-01-31 14:54:19 +00:00
Andrew Johnson 7aa6a2ca98 Better fix to the epicsStrtod problem: Don't compile our function if epicsStrtod
is a macro; that way you can't set a breakpoint on it which would never fire.
2006-01-05 21:08:02 +00:00
W. Eric Norum 8d3dc9eb33 Avoid infinite recursion on systems with 'working' strtod() functions. 2005-12-26 18:32:43 +00:00
Janet B. Anderson b01b09240c Added deprecated EPICS_UPDATE_LEVEL.. 2005-12-20 14:56:46 +00:00
Janet B. Anderson c57beaad68 Win32 changes. 2005-12-19 21:10:30 +00:00
Andrew Johnson d9184abd62 Version numbering system change. 2005-12-16 16:47:52 +00:00
Marty Kraimer de797d11e2 fix win32 compiler warnings 2005-12-13 12:57:19 +00:00
Marty Kraimer cdda915248 o and x format should have unsigned args 2005-12-12 20:09:02 +00:00
Marty Kraimer 3499fbe51d get rid of epicsShareAPI; epicsStrtok_r is new; clean up epicsStdlib 2005-12-12 19:54:48 +00:00
W. Eric Norum 333e4aa176 Avoid 'strict-aliasing' warnings. 2005-02-18 22:03:24 +00:00
Jeff Hill 010ebea821 fixed win32 dll sym export 2004-10-19 17:17:31 +00:00
Janet B. Anderson a4aa9234ed Added cast to int to remove gnu compiler warning messages. 2004-10-19 15:18:51 +00:00
Marty Kraimer 15e78067ca use epicsThreadGetStackSize is set stacksize 2004-10-18 14:29:55 +00:00
W. Eric Norum e2ecac9e96 Avoid duplicate strtod. 2004-10-13 14:52:49 +00:00
W. Eric Norum 0dc034962c Use epicsScanFloat/epicsScanDouble rather than sscanf.
This allows proper handling of Nan/Inf on all architectures.
2004-10-12 17:45:31 +00:00
W. Eric Norum b3bb33f448 More warnings. 2004-10-12 16:20:40 +00:00
W. Eric Norum 231a037c0b Fix up warnings. 2004-10-12 16:18:42 +00:00
W. Eric Norum 86152e91b9 Clean up some headers.
Add epicsScanReal.c.
2004-10-12 13:51:52 +00:00
W. Eric Norum 4f731caf14 Add os-independent epicsStrtod() routine. 2004-10-11 18:22:12 +00:00
W. Eric Norum e7f16cb078 Cosmetic. 2004-10-09 21:43:05 +00:00
W. Eric Norum 370e46227a Much improved version of epicsStrGlobMatch thanks to Jack Handy and the
folks at the Cold Project.
2004-10-08 20:38:11 +00:00
Jeff Hill 62df64a03c added missing include 2004-10-08 17:11:59 +00:00
Jeff Hill 1a31fbcdda new #include 2004-10-08 15:12:20 +00:00
W. Eric Norum 0d6784c31b Provide epicsStrGlobMatch().
Add globbing to iocsh help command.
2004-10-07 20:10:38 +00:00
Marty Kraimer 31c9c89350 epicsStrSnPrintEscaped: prevent buffer overflow; use posix convention 2004-10-04 12:38:33 +00:00
Jeff Hill 3d377eed1d removed atexit handler that calls epicsThreadExit because:
o recursive exit call is bad
o this causes shutdown problems with DLL codes on windows
=> the workaround is an atexit handler that calls epicsExitCallAtExits in
the poosix osdThreads atexit handler
2004-09-16 18:22:33 +00:00
Marty Kraimer bcbcf05110 atReboot calls epicsExitCallAtExits not epicsExit 2004-08-31 17:57:00 +00:00
Marty Kraimer 34a59c7eb9 do not call exit on vxWorks 2004-08-31 12:43:08 +00:00
cvs2svn 34a4b00f91 This commit was manufactured by cvs2svn to create branch 'B3.14'. 2004-08-27 16:00:33 +00:00
Marty Kraimer 5505bfc3ab do not include epicsStdio 2004-08-27 16:00:04 +00:00
Jeff Hill 2d613ba5d0 fixed DLL export 2004-08-11 00:46:12 +00:00
Jeff Hill ac8dc4facd fixed locking associated with the cleanup flag
(this is not a known problem, the problem was identified instead during code inspection)
2004-07-30 23:34:24 +00:00
W. Eric Norum 3d1dfa5dc6 Simplify printf ==>> epicsStdoutPrintf redefinition. Use __printf__ in
GCC attribute specifier to avoid conflict.
2004-07-12 16:00:48 +00:00
Marty Kraimer 55b22facee include epicsStdio 2004-07-08 20:16:36 +00:00
Jeff Hill b76257a0d6 fixed temp file creation issues on win32 2004-04-27 17:39:25 +00:00