Commit Graph

12572 Commits

Author SHA1 Message Date
Andrew Johnson
116f0fd00c Run the tools/test files under the test harness 2012-03-14 15:27:40 -05:00
Andrew Johnson
d3d8418855 Move src/dbHost scripts and modules into src/tools. 2012-03-13 18:00:46 -05:00
Andrew Johnson
36b8d61a41 Remove dependency on conversion dbTo* programs.
Doesn't work anyway since they're now Perl scripts, but
isn't necessary because dbHost gets built first.
2012-03-13 17:50:36 -05:00
Andrew Johnson
63f5c27ebe Fix tests, use EPICS::Readfile 2012-03-13 16:02:24 -05: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
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
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
Andrew Johnson
d59a0ac06f Merged 3.14 changes from 2011-08-23 to 2011-09-15 2011-09-20 13:07:52 -05:00
Janet Anderson
032e990c1e Made all clean rules single colon rules. Added CLEANS macro to list
created files to be removed by "make clean" in O.<arch> directory.
Replaced clean rule in Makefiles with a CLEANS definition.
2011-09-15 14:12:14 -05:00
Janet Anderson
69609896e4 Made all clean rules single colon rules. Added CLEANS macro to list
created files to be removed by "make clean" in O.<arch> directory.
Replaced clean rule in Makefiles with a CLEANS definition.
2011-09-15 14:05:05 -05:00
Janet Anderson
72ed0bc27b Fixed DBDINC_NAME definition 2011-09-15 11:22:10 -05:00
Janet Anderson
47f52c6b93 Fixed TARGET_SRCS definition 2011-09-15 11:19:32 -05:00
Janet Anderson
3a101aa697 Fixed DBDINC_NAME definition 2011-09-15 11:03:20 -05:00
Janet Anderson
46ea687c6d Fixed TARGET_SRCS definition 2011-09-15 11:00:41 -05:00
unknown
4fa6f0556c fixed 64 bit compiler warnings 2011-09-12 15:44:52 -06:00
Andrew Johnson
36962da06c configure: Fix for compiler-specific includes
Need to search the include/compiler/<cmplr> dirs for all external
modules listed in the RELEASE file as well.
2011-09-11 00:58:49 -05:00
Andrew Johnson
dfb8c8ed2b Merged the rebased-atomics branch.
There are still quite a lot of warnings that need cleaning
up when compiling epicsAtomicTest.cpp on a 64-bit system.
2011-09-09 18:09:48 -05:00
Andrew Johnson
75aa05d30f libCom: Remove extern "C" { #include <...> } from osdSock.h
Our joint conclusion was that wrapping system includes with
extern "C" used to be necessary on some OS builds when C++
was much less common, but is now wrong.
2011-09-09 17:14:35 -05:00
Andrew Johnson
3cfa011760 libCom: Clean up warning from Darwin. 2011-09-09 17:10:32 -05:00
Andrew Johnson
7b82df189e Prepare configure/os to support vxWorks 6.9
I don't think it will work yet though because they removed the
taskVarLib which we use, and there may be other issues too.
2011-09-09 09:41:35 -05:00
Jeff Hill
83e5247ed4 workaround for non-standard vxWorks 5.5.2 gnu compiler 2011-09-08 17:57:14 -06:00
Andrew Johnson
303bc702b2 documentation/README: We now require vxWorks 5.5 or later 2011-09-07 12:16:50 -05:00
Andrew Johnson
26757f5317 libCom/osi: Clean up compiler warnings on vxWorks 2011-09-07 10:59:11 -05:00
Andrew Johnson
8e028f0f3d libCom/test: errlog test needs -lsocket on Solaris 2011-09-07 10:05:42 -05:00
Jeff Hill
57953e6e24 fixed sunos compiler issue (I dont have sunos 5.10 here) 2011-09-06 18:51:04 -06:00
Andrew Johnson
841978e8c8 Remove epicsAtomicLocked.{h,cpp} from Makefile too. 2011-09-06 10:33:56 -05:00
Jeff Hill
fd10e77518 o hopefully fixed missing functions with sunos 5.10 or higher
o removed unused trash files which somehow reappeared after rebase
2011-09-02 18:18:46 -06:00
Andrew Johnson
189dfc6188 configure: Hide rm command in new YACC rules. 2011-09-02 16:24:09 -05:00