Commit Graph

12998 Commits

Author SHA1 Message Date
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
Ralph Lange
be978d6499 Fixed issue "TCP Nameserver Connection Down Blocks All Callbacks" and cleaned up the SearchDest list / TCP circuit relation
* Pulled out tcpiiu::SearchDestTCP to have cac create the SearchDest independent from the TCP circuit
* Reorganized the relation between the SearchDestTCP and the TCP circuit:
  - SearchDest stays always on the cac list
  - TCP connection going down sets SearchDest inactive and SearchDestTCP's circuit member to NULL
  - Next seach request creates the new TCP circuit and sets SearchDestTCP's member, but leaves SearchDest inactive
  - Successful connect sets SearchDest active
* ReceiveThread releases the cac mutex before going to sleep in connect loop
2010-04-15 17:06:16 -04:00
Andrew Johnson
68f4da301f Clean up editor backup files too. 2010-04-15 11:40:01 -05:00
Andrew Johnson
03b66fd2cc Prettify DBF_NOACCESS fields so definitions line up in record.h file. 2010-04-15 11:37:18 -05:00
Andrew Johnson
64cfd30f62 Move Cdefs to the top of the record body.
Refine when field attribute values get double-quoted.
2010-04-15 11:32:56 -05:00
Andrew Johnson
510027aa2c Reject field names that are reserved words.
The list of reserved words is combined from C++ and the DB/DBD file parser.
This also requires a small change in the rules for generating the C name
from the DBD field name, since the aSub record has a field NOT; now if we
find the lower-case version is reserved, we use the original instead.
Since the aSubRecord.c file doesn't use prec->not this is back-compatible.
2010-04-14 15:16:36 -05:00
Andrew Johnson
5e85476352 Remove programs that were replaced in Perl. 2010-04-13 17:39:27 -05:00
Andrew Johnson
afc57e42f9 Note questionable handling of -I option on Win32. 2010-04-13 17:36:06 -05:00
Andrew Johnson
ce43b9faf8 Reorganized files, configure to use new versions.
* Moved Readfile and macLib into tools/EPICS
* dbHost/Getopts was a duplicate
* Added (c) headers
* Build in the dbHost dir
* Switch build system to use Perl versions.
2010-04-13 17:05:59 -05:00
Ron Sluiter
20483795e4 Remove "dbRecordHead: tempList not empty" errors.
Loading a .db file that uses an unknown record type leaves items
on the parser's tempList.  This patch empties that list when the
error is reported so future dbLoadRecords() commands can run.
2010-04-12 11:31:24 -05:00
Andrew Johnson
c185274de8 Merged Michael Davidsaver's 'rec-init' branch. 2010-04-09 16:28:53 -05:00
Ralph Lange
a0e868e2e1 Make SearchDest.h include all the headers it needs 2010-04-09 10:59:57 -04:00
Ralph Lange
d539db4053 Fix for: TCP Nameserver Connections Do Not Reconnect 2010-04-09 10:38:18 -04:00
Andrew Johnson
f00684c8c3 2009-12-22: Suggestion... 2010-04-08 17:30:15 -05:00
Andrew Johnson
f6527a9942 2009-02-15: Fix problem parsing function() statements. 2010-04-08 17:29:17 -05:00
Andrew Johnson
f804eb00e7 2009-02-15: Getting close.
Rename dbExpand => dbdExpand,
Added proper parsing and generation of DBD file.
2010-04-08 17:27:41 -05:00
Andrew Johnson
68e0fba01b 2009-02-08: Work with & match R3.14.10 output; rename tools. 2010-04-08 17:23:32 -05:00
Andrew Johnson
f464b4d899 2007-04-19: Reorganized cdefs, C++ guard and some formatting. 2010-04-08 17:09:59 -05:00
Andrew Johnson
cf421b7be9 2007-04-17: Added functionality for CDEFS. Still needs changes to dbToRecordtypeH. 2010-04-08 17:09:25 -05:00
Andrew Johnson
487596a2a8 2004-09-10: Updated menu definition stuff. 2010-04-08 16:21:58 -05:00
Andrew Johnson
daa0630361 2004-07-30: Work continues.
Make dbToRecordtypeH generate the same output as my 2002 C++ code.
Other changes in testing and macros.
2010-04-08 16:18:03 -05:00
Andrew Johnson
a1b72626ec 2004-07-12: More implementation, can't remember the details now. 2010-04-08 15:55:49 -05:00
Andrew Johnson
38bd72e67a 2004-07-09: Progress!
Added a class for each Recfield DBF_TYPE, use this to
simplify conversion to C code.
dbToRecordtypeH incomplete, but it outputs the record struct.
190 tests, 100% ok.
2010-04-08 15:54:02 -05:00
Andrew Johnson
42367731ef 2004-07-08: Lots of development work, parser works. 2010-04-08 15:52:36 -05:00
Andrew Johnson
86c12943bc 2004-07-06: Implementation of libCom's macLib for perl code. 2010-04-08 15:50:43 -05:00
Andrew Johnson
680e05c2c2 2004-06-23: Fixed various things, added Recordtype and global DBD object tests. 2010-04-08 15:48:50 -05:00
Andrew Johnson
b20cf681ae 2004-06-04: Added individual object tests. 2010-04-08 15:47:58 -05:00
Andrew Johnson
a996fc6c06 2004-06-04: Sync laptop => CVS 2010-04-08 15:47:07 -05:00
Andrew Johnson
38e1b910a5 2004-04-29: work in progress 2010-04-08 15:44:53 -05:00
Ralph Lange
82551fd175 Added EPICS_CA_NAME_SERVERS paragraph. Fixed lots of minor issues (unprintable characters). 2010-04-07 17:15:39 -04:00
Ralph Lange
23612a7afe Merged Codeathon 2008 changes (10292..10293 on cvs-trunk branch).
* Fixed conflicts until base compiles
 * COMPLETELY UNTESTED
2010-04-06 17:59:35 -04:00
Michael Davidsaver
e8f56d08b8 Ensure the string VAL and OVAL have the same storage length
There won't be any problems with overflow as long as dbPut
behaves correctly when setting VAL.
2010-04-06 14:48:48 -04:00