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
8496fae43c
Ensure finite() is defined.
2006-03-30 19:54:25 +00:00
Andrew Johnson
ffc6368931
Print thread names when reporting suspensions.
2006-03-30 19:52:35 +00:00
Andrew Johnson
3caf5e10c4
Include stdio.h
2006-03-30 19:50:31 +00:00
Andrew Johnson
93bab7d518
Correct epicsMin/epicsMax behaviour for floating-point NaN arguments.
2006-03-30 19:48:12 +00:00
Andrew Johnson
3162d19551
Make cantProceed() take printf-style message args.
2006-03-30 19:42:36 +00:00
Andrew Johnson
8823924561
Oops, currected *Strdup routines.
2006-03-29 20:53:54 +00:00
Andrew Johnson
976febd1ac
Added dbmfStrdup() function.
2006-03-29 19:33:50 +00:00
W. Eric Norum
51018ac066
Add support for RTEMS tasks with string names.
2006-03-27 22:21:18 +00:00
W. Eric Norum
f648ab5f09
Ensure that RTEMS-style names are properly terminated.
2006-03-27 20:47:05 +00:00
Jeff Hill
f4068d6a49
upgraded tests for mantis 245
2006-03-21 00:59:25 +00:00
Jeff Hill
a49961afe6
I fixed the following issues:
...
1) The epicsTime constructor does not throw an exception when an invalid epicsTimeStamp is passed to it.
2) The "epicsTime::operator epicsTimeStamp ()" conversion operator should throw an exception instead of assert failing when it discovers that the internal state of the time stamp is invalid.
3) William Lupton's epicsTime::strftime doesnt add .OVF if the nano-seconds field is invalid. Kay's original issue.
4) William Lupton's epicsTime::strftime has a buffer overrun vulnerability.
5) Certain C interfaces to epicsTime were not bracketed by try catch blocks.
2006-03-21 00:58:43 +00:00
Jeff Hill
99d1b3dd04
improved string hash table distribution
2006-03-15 19:02:15 +00:00
Andrew Johnson
df07bfc9e9
Lower-case operands a thru l are never used, the infix buffer was already
...
converted to upper-case.
2006-03-01 19:55:13 +00:00
Janet B. Anderson
c542b4f4d1
Initial version.
2006-03-01 19:44:55 +00:00
Andrew Johnson
a57f10fb90
Build devLib on all archs now there's a default devLibOSD.c file.
2006-02-17 23:00:30 +00:00
Andrew Johnson
7b383a18b4
Make devLib available from other OSs iff they provide the right table in an
...
external support application.
2006-02-17 22:51:26 +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
10c03d3e19
We took epicsShareAPI out of Win32 already, which was the only arch that
...
might have needed it!
2006-01-05 21:12:32 +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
Janet B. Anderson
45685c52d2
Changed EPICS_UPDATE_LEVEL to EPICS_PATCH_LEVEL.
2005-12-19 21:09:44 +00:00
Andrew Johnson
d9184abd62
Version numbering system change.
2005-12-16 16:47:52 +00:00
W. Eric Norum
a65943481d
Improved epicsThreadGetName() so that it works for all threads, not just those
...
created by epicsThreadCreate().
2005-12-15 16:49:42 +00:00
Marty Kraimer
de797d11e2
fix win32 compiler warnings
2005-12-13 12:57:19 +00:00
Janet B. Anderson
a0e61daaac
Removed epicsShareAPI from epicsStrtod.
2005-12-12 21:27:07 +00:00
Janet B. Anderson
5506587d06
Removed epicsShareAPI where not needed.
2005-12-12 21:26:01 +00:00
Marty Kraimer
cdda915248
o and x format should have unsigned args
2005-12-12 20:09:02 +00:00
Marty Kraimer
b283cb1fcd
clean up epicsStdlib
2005-12-12 19:55:11 +00:00
Marty Kraimer
3499fbe51d
get rid of epicsShareAPI; epicsStrtok_r is new; clean up epicsStdlib
2005-12-12 19:54:48 +00:00
Janet B. Anderson
f4a06313db
Removed TD options in call to _fdopen for VISUAL C++ 2005.
2005-11-22 21:52:29 +00:00
Marty Kraimer
2ad879e1d1
simplify output
2005-11-22 13:45:28 +00:00
Jeff Hill
036243c9a2
made win32 stdcall consistent
2005-11-22 00:28:17 +00:00
Marty Kraimer
33865495c9
better checking for pthread_create
2005-11-21 21:21:12 +00:00
Marty Kraimer
533e99d33c
From Benjamin Franksen
2005-11-21 21:17:15 +00:00
cvs2svn
bc0a097c18
This commit was manufactured by cvs2svn to create branch 'B3.14'.
2005-11-21 21:17:14 +00:00
Marty Kraimer
472512d0a2
epicsThreadMustCreate instead of epicsThreadCreate
2005-11-21 19:33:44 +00:00
Marty Kraimer
92f32f3c21
new test
2005-11-21 19:09:20 +00:00
Marty Kraimer
7da2de16dc
Fix memory leak for priority scheduling
2005-11-21 14:17:49 +00:00
Jeff Hill
d53b80a61a
GNU compile rrequires LL suffix on constants, borland requires no suffix
2005-11-18 00:14:40 +00:00
Andrew Johnson
8230f4b189
Set pthreadInfo->isEpicsThread in the epicsThreadCreate() retry.
...
This code still has a memory leak if pthread_create() returns EPERM,
which only happens on SMP Linux systems.
2005-11-17 23:15:51 +00:00
Marty Kraimer
50052570e9
run test as thread
2005-11-17 15:55:15 +00:00
Marty Kraimer
40f225ce87
add test for epicsThreadSetPriority
2005-11-16 14:12:43 +00:00
Marty Kraimer
48005bf4ca
illegal to change priority for non-epics thread
2005-11-16 14:07:56 +00:00
Jeff Hill
05a2ab2893
better sleep quantum estimate
2005-11-14 23:22:16 +00:00
Marty Kraimer
560bb0fb35
check for ERROR not for 0
2005-11-14 20:05:21 +00:00
Jeff Hill
4613bc7d0a
net bsd challenged os dont have INADDR_NONE
2005-11-14 17:06:49 +00:00