Commit Graph

14729 Commits

Author SHA1 Message Date
Ronaldo Mercado
5dc869bbcc Require default dbd 2010-05-25 22:44:58 +01:00
Ronaldo Mercado
5aef97fced Improved caget
parallel_caget implemented following caget.pl example
2010-05-25 22:33:13 +01:00
Ronaldo Mercado
c6255ef0ac removing diagnostics 2010-05-25 22:23:22 +01:00
Ronaldo Mercado
18a63f8754 re-organizing print out and diagnostics 2010-05-25 22:20:18 +01:00
Ronaldo Mercado
408721daec Install capr.pl
Parallel caget
2010-05-25 21:44:38 +01:00
Ronaldo Mercado
797d263f04 Comment removed 2010-05-25 21:00:43 +01:00
Andrew Johnson
6ed0fdf9fd Merged Kukhee Kim's dbl fix 2010-05-25 11:17:57 -05:00
Kukhee Kim
fa564fbfdf BUG 572589: Make dbl emit empty strings for non-existent fields 2010-05-25 07:57:49 -07:00
Michael Davidsaver
43f5cfed7e [PATCH 12/12] add entry to release notes 2010-05-25 13:58:53 +01:00
Michael Davidsaver
a161e42e82 [PATCH 11/12] remove unimplimented PCI api 2010-05-25 13:58:52 +01:00
Michael Davidsaver
c1142675b6 [PATCH 10/12] move general macros and error codes to devLib.h
includes devLibVME.h for compatibility
2010-05-25 13:58:51 +01:00
Michael Davidsaver
50bcef9c63 [PATCH 09/12] rename vme pointer table 2010-05-25 13:58:50 +01:00
Michael Davidsaver
000c98dbaa [PATCH 08/12] fix includes 2010-05-25 13:58:50 +01:00
Michael Davidsaver
4a3b4358c3 [PATCH 07/12] rename devLib to devLibVME 2010-05-25 13:58:49 +01:00
Michael Davidsaver
46ec38756b [PATCH 06/12] use epics extern macro 2010-05-25 13:58:46 +01:00
Michael Davidsaver
e21cde013d [PATCH 05/12] reorganize devLib.h
Group functions by bus type with general functions at the top

add macro to exclude deprecated api
2010-05-25 13:58:45 +01:00
Michael Davidsaver
83adda7e6c [PATCH 04/12] move "virtual os" definition to a seperate file
The virtual os table is not something ordinary devLib users
should know or care about.
2010-05-25 13:58:44 +01:00
Michael Davidsaver
ad8cd28f7d [PATCH 03/12] mark all implimentation functions as static 2010-05-25 13:58:43 +01:00
Michael Davidsaver
acb905fcfc [PATCH 02/12] add devInterruptInUseVME to function table
Add test for interrupt handler function to the virtual os table.
Adds a stub implementation to devLib.c
Renames OS implementations functions for RTEMS and vxWorks to avoid symbol name conflicts
2010-05-25 13:58:43 +01:00
Michael Davidsaver
62d035c310 [PATCH 01/12] add jumping VME interrupt routines to independent implementation
Adds implementations which use the virtual os table to invoke the
OS specific call.

rename conflicting functions
2010-05-25 13:58:42 +01:00
Dirk Zimoch
0a77204795 stringlength and mutex issues fixed 2010-05-25 03:41:18 -07:00
Dirk Zimoch
21e96c5882 string val field 2010-05-25 03:40:49 -07:00
Ronaldo Mercado
99605c85fa relocating library refs within base 2010-05-25 11:14:50 +01:00
Ronaldo Mercado
ca3138e617 Adding capr.pl 2010-05-25 10:34:14 +01:00
Dirk Zimoch
3f6fd95ef8 OEVT size was missing 2010-05-24 08:42:36 -07:00
Dirk Zimoch
e6b5aad890 Changed soft events from numbers to strings. 2010-05-24 08:09:39 -07:00
Andrew Johnson
498ef7075e Fix missing parallel build dependency.
Ron Sluiter pointed out that gdd/dbMapper.h includes db_access.h so
gdd has to be built after ca, simplifying the cas dependency too.
2010-05-19 14:46:09 -05:00
Andrew Johnson
6790acf78f Fix for hang from Ron Sluiter. 2010-05-18 16:12:36 -05:00
Andrew Johnson
6eb36e1224 Fix build on Windows. 2010-05-18 16:10:07 -05:00
Andrew Johnson
6b64304570 Optimize epicsThreadOnce() routines.
Don't call epicsThreadGetIdSelf() unnecessarily, check for the value
EPICS_THREAD_ONCE_DONE first, since that's the most common state.
2010-05-14 17:26:54 -05:00
Andrew Johnson
6cd22d4efe Don't call errlogPrintf() in epicsThreadGetOsiPriorityValue()
This is a partial fix of a WIN32-only problem Mark Rivers reported.
A WIN32 thread created by a manufacturer's library is used to call one
of his callback routines, which tries to use an epics facility that has
an epicsThreadOnce().  The new version of epicsThreadOnce() uses
epicsThreadGetIdSelf() to detect recursive initialization; the thread
doesn't have an epicsThreadId yet, so epicsThreadImplicitCreate() is
asked to make one.  It calls epicsThreadGetOsiPriorityValue(), but
osdPriority is 15 which is not known by that code, so it reports an
error by calling errlogPrintf().  That checks epicsThreadIsOkToBlock()
which calls epicsThreadOnce() but that needs our epicsThreadId...

This doesn't solve the issue of the unknown osdPriority value 15
(priorityClass = 32), but it allows the IOC to continue working with
just a warning message at init time.

It also points out that calling epicsThreadGetIdSelf() every time we
check an epicsThreadOnce() is probably not good for performance.
2010-05-14 16:49:32 -05:00
Ralph Lange
0666207393 Removed comment about ellfree @Windows in udpiiu.cpp (suggested by Jeff). 2010-05-14 09:34:40 -04:00
Andrew Johnson
adbf7a7388 Update to current code:
* Added (c) header, expanded tabs
 * Set library path and use new library names
 * Added -D (dependency) output handling
 * Added -o (output file) support
 * Use <td> instead of <th> for normal cell data
This is by no means complete, but it does seem to work.
2010-05-10 15:59:39 -05:00
Andrew Johnson
5f027c35b0 Added John Hammonds' dbdToHtml perl script, unmodified.
He also wrote:
    Here is at least a short list of things to think about:
    How do we add this into the other documentation?
    How do we add the long description?
    Modify Readfile to do includes or not?
    Modify for multiple records in a file?
    Modify for no records in the file i.e. dbCommon?
    Automatically add link to menu information if DBF_MENU?
    Should we go through and set promptgroup on all fields to make this more 
    correct?
2010-05-10 15:39:52 -05:00
Andrew Johnson
e9593e4b6c Run epicsMessageQueueTest last, since it takes 5 minutes. 2010-05-05 15:43:58 -05:00
Andrew Johnson
831f48e719 Fix the macLib buffer overflow issue, Bug 551909.
This is mostly Eric's patches, without the valend name change.
2010-05-04 15:43:20 -05:00
Andrew Johnson
5868aae543 Define EPICS_THREAD_ONCE_DONE properly on RTEMS. 2010-05-04 14:39:37 -05:00
Andrew Johnson
12dc840eda Don't print anything from epicsThreadShow() when tid=0.
Also don't pass level > 1 to vxWorks taskShow() routine.
2010-05-03 17:28:04 -05:00
Andrew Johnson
7f534cbc74 Rename 'thread' iocsh command to 'epicsThreadShow'. 2010-05-03 17:26:41 -05:00
Andrew Johnson
50d755a79f Fix compiler warning about missing sentinel in execlp() call. 2010-05-03 12:29:13 -05:00
Andrew Johnson
d192f51858 Don't use back-tick chars as open quotes, they aren't any more. 2010-04-28 17:29:04 -05:00
Andrew Johnson
618e189898 'make cvsclean' should delete old editor backup files too.
Not that we're using CVS for Base any more...
2010-04-28 17:19:36 -05:00
Andrew Johnson
6142ff3ece Steve Hartman (ORNL) says vxWorks 6.7 has nm back in GNU_BIN.
Hopefully it will stay there from now on.
2010-04-27 17:53:40 -05:00
Andrew Johnson
b4be728539 cvtFastPerform measures performance, it doesn't do functional testing.
* Cleaned up some warning messages in it on darwin
* Removed it from the epicsRunLibComTests function.
2010-04-26 17:19:10 -05:00
Andrew Johnson
c4d9293c79 Rewrite of epicsThreadOnce(); detects recursion on all archs. 2010-04-26 17:16:06 -05:00
Andrew Johnson
6ece3235c9 Added libCom/test code for epicsThreadOnce() implementations.
Also fixed subsystems that were not using epicsThreadOnce correctly.
2010-04-26 15:48:42 -05:00
Andrew Johnson
c5a27fa32e Rework epicsThreadOnce() using ideas from Michael Davidsaver.
An epicsThreadOnceId is now an epicsThreadId.
During initialization, it is set to the thread running the init routine
which can now detect a recursive initialization attempt and suspend.
EPICS_THREAD_ONCE_INIT is still zero, the implementations now define a
new private value for EPICS_THREAD_ONCE_DONE.  This is deliberately not
made public.
2010-04-26 15:38:11 -05:00
Andrew Johnson
4c70951869 Reduce warnings when built with Perl 5.10. 2010-04-21 17:35:26 -05:00
Andrew Johnson
6a1eb1954b MANY updates to RELEASE_NOTES.
In the future I will ask people to include changes to the Release docs in any
branch they propose for merging.
2010-04-21 13:13:33 -05:00
Andrew Johnson
32e34f536c Move STATIC_ASSERT statements.
This macro can only be used where a variable declaration is allowed,
the vxWorks compiler objects otherwise.
2010-04-20 17:13:54 -05:00