Andrew Johnson
e458e8fe2d
Don't try to build dbltExpand on Win32.
2012-06-01 14:33:55 -05:00
Andrew Johnson
37a9efa290
Added test for msi -o option.
2012-06-01 14:16:13 -05:00
Andrew Johnson
efec22eea5
Add automated tests for msi.
2012-06-01 14:03:53 -05:00
Andrew Johnson
d5f050a9a2
Support ';'-separated path lists on Windows
...
Also renamed the '-c' option to '-g' (global scope)
Updated documentation to match.
2012-05-31 16:39:05 -05:00
Andrew Johnson
492360a3d4
Documentation updates
...
Clear out old stuff.
Introduce global macro syntax.
2012-04-20 17:38:59 -05:00
Andrew Johnson
653af6e366
Unify behaviour with msi.
...
dbLoadTemplate must accept global definitions inside pattern and
variable substitutions, since the new version of msi does that.
2012-04-20 17:35:26 -05:00
Andrew Johnson
d61d7ebf96
Fix bug with global definitions
...
Pattern mode changes the behaviour of substituteGetReplacements()
which breaks the parsing of global definitions. Add a separate
routine substituteGetGlobalReplacements() which is used for parsing
global definitions and ignores the isPattern flag.
2012-04-20 17:31:43 -05:00
Andrew Johnson
7a968bc5f5
Refactoring for maintainability
...
Use epicsStrDup()
Release macLib handle when finished
2012-04-20 14:01:51 -05:00
Andrew Johnson
e1a92fcf3f
Refactoring for maintainability
...
Replaced all void * pointers with pointers to private structures.
Removed several unnecessary casts.
2012-04-20 13:15:07 -05:00
Andrew Johnson
6923f82119
dbtools: Modified and added test files.
2010-09-08 17:02:23 -05:00
Andrew Johnson
a7d7336392
dbtools: Added dbltExpand.c
...
This is a test program which implements the template expansion
capabilities of msi, but using the dbLoadTemplate.c code. It should
be useful for testing, to make sure that both versions generate the
same output. It won't work on Windows at the moment due to a clash in
the function decorations of the dbLoadRecords() function.
2010-09-08 16:59:10 -05:00
Andrew Johnson
46e723575e
dbtools: This is Ben's version of msi.c that implements global {} and
...
restores the variable scope for every instantiation of the teplate.
He's now having second thoughts on the design though, so this might
be not useful.
2010-09-08 16:56:13 -05:00
Andrew Johnson
177a9f89c8
dbtools: Merged Ralph's msi-join branch, adds msi to Base.
2010-08-25 16:56:22 -05:00
Andrew Johnson
ac32658bf4
dbtools: Added another possibility for pattern_substitutions rule.
2010-08-25 13:21:24 -05:00
Andrew Johnson
e2464c8572
Implemented "global" variables in substitution files.
...
Rewrote the YACC grammar, with help from Benjamin Franksen in formally
defining the substitution file format in EBNF. This version also
changes the way in which variables are added to the sub_collect
string; previously it appended a ',' after every entry, and removed it
off the end before calling dbLoadRecords(), but now we put the ',' at
the beginning of each entry, and just offer dbLoadRecords() the string
starting at the second character (not that this really matters, macLib
will quite happily ignore either a leading or a trailing comma in the
variable definition string).
We now warn if there are substitution values for which we have no
name, or if the file uses the deprecated syntax which permitted a
bareword token in front of the variable substitution or pattern
definition braces.
2010-08-24 19:01:19 -05:00
Ralph Lange
52f4c8ae8f
dbtools: shuffle files towards a reasonable layout, keep test files in test dir
2010-08-23 14:48:43 -04:00
Ralph Lange
2a19c5f0b8
dbtools: Join msi repository into ../src/dbtools
2010-08-23 14:36:23 -04:00
Andrew Johnson
4a637c04cf
dbtools: Added command-line variable parameters.
2010-08-20 17:59:38 -05:00
Andrew Johnson
3db5427e1d
dbtools: Source code clean-up, code layout changes only.
2010-08-20 17:50:52 -05:00
Andrew Johnson
a6a01e6822
Converted buckTest.c to use epicsTime.h instead of time.h
...
This should finally resolve the build conflict between RTEMS-uc5282
and Windows, and remove the build warning on vxWorks.
2010-08-17 17:53:43 -05:00
Jeff Hill
7af0397d58
Examining the previous change I see that it will introduce a race condition when circuits are being created and destroyed at close to the same instant in time. See revision 11786 of cac.cpp which fixes mantis 334 if you are interested in what this code does. After running the regression tests, I pushed in a fix (which is removing above mentioned change and restoring the increment of iiuExistenceCount in cac::findOrCreateVirtCircuit.
2010-08-16 17:45:06 -06:00
Jeff Hill
a3dd3e1a2f
unistd.h isnt available on windows, and doesnt appear to be required by this code?
2010-08-16 17:34:39 -06:00
Andrew Johnson
09c0c43865
Cleanup a couple of compiler warnings.
2010-08-16 16:15:26 -05:00
Ralph Lange
2666e9d62b
Bug fixes to CA client introduced by CA-over-TCP code.
2010-08-16 15:49:52 -05:00
Jeff Hill
c1bd11de58
fixed bug where win32 version of epicsThreadHighestPriorityLevelBelow didnt map to a lower priority successfully if the epics priority was mapping into the 2nd win32 priority bucket
2010-08-13 18:15:49 -06:00
Andrew Johnson
1bab392da7
Deleted trailing ';' from epicsPlacementDeleteOperator macro
...
(which looks like a member function, but isn't).
2010-08-13 13:12:06 -05:00
Andrew Johnson
a0fb7fbed7
Clean up warnings from vxWorks 6.8.
...
Added back the -include vxWorks.h option for gcc with vxWorks 6,
it resolves many warnings about OFFSET being redefined.
2010-08-11 10:45:17 -05:00
Andrew Johnson
eda402cf66
Merged Ralph's ca-over-tcp branch.
...
Fixed some vxWorks compile errors, and made a number of edits
to the HTML in the CAref.html documentation.
2010-08-10 16:05:46 -05:00
Andrew Johnson
cc95161af0
Merged base-tests branch from epics-base-testing team.
...
Modified testspec output to omit Tests: line when empty
Added testspec generation to src/db/test/Makefile.
2010-08-04 14:16:14 -05:00
Andrew Johnson
2bb4e63d1e
Clean up munch.pl, add -o option
...
chmod -x src/tools/*.pl
2010-07-29 14:58:14 -05:00
Andrew Johnson
0f431edbe6
Add support for vxWorks 6.8.
2010-07-29 12:39:54 -05:00
Andrew Johnson
f29bdb9d6e
Solve C++ exception problems in vxWorks 6.x:
...
* Use a linker script when generating .munch files
* Output exception handler frame registration code in _ctdt.c files
2010-07-29 12:35:53 -05:00
Eric Norum
31326b8b9f
Add RTEMS R4.10 support
2010-07-23 09:21:02 -07:00
unknown
6cfb241404
Fix RTEMS build issue finding close()
2010-07-19 14:01:41 -05:00
unknown
1660dcac9c
Removed trailing ';' from dbGetSevr macro definition.
2010-07-19 09:49:01 -05:00
Janet Anderson
61733489e8
Don't use manifest tool for MS Visual C++ 2010 (and later) builds.
2010-07-12 14:54:51 -05:00
Andrew Johnson
8fb472b710
Add "Test Asyn" device definitions for the aai and aao record types.
2010-07-09 11:51:11 -05:00
Andrew Johnson
55609154ce
Merged Dirk Zimoch's fix-aai-and-aao branch
...
Fixed async processing for both aai and aao record types.
2010-07-08 12:56:25 -05:00
Dirk Zimoch
0102b4bbc0
Merged with mirror-3.14
2010-07-07 19:42:08 +02:00
Dirk Zimoch
7f7bc289f3
Bugfix: use SIMS for simulation severity
2010-07-07 19:20:01 +02:00
Janet Anderson
40b83759de
Added dBStatic to cas depend dirs. Needs alarm.h
2010-07-06 17:23:24 -05:00
Andrew Johnson
1fbdb067f2
Merged Ronaldo Mercado's capr branch, with fixes by anj.
2010-07-02 11:57:57 -05:00
Andrew Johnson
cfb8e694a5
Several cleanups.
...
* Fixed number base issue
* DBD file parser accepts spaces
* Added -w seconds option for CA timeout
* Improved argument parsing
* More perlish, should start up faster
2010-07-02 11:34:38 -05:00
Andrew Johnson
c33607f2d2
Merged Michael's devlib-cleanup branch
2010-07-01 11:59:22 -05:00
f1ba442133
Store original INP/OUT text in link in case DTYP changes later.
2010-06-22 17:35:48 -05:00
Michael Davidsaver
320ff29c4a
Fix bad string handling in makeBpt.
...
This behaved badly when confronted with windows CR+LF end of lines.
Using fgets() left a stray CR at the end of the returned string.
2010-06-22 11:43:42 -05:00
Ralph Lange
60be4921c8
Fix: Replaced C++ reserved word 'new' as variable name.
2010-06-16 15:58:00 -04:00
Ralph Lange
bb740373bc
Fix: Replaced C++ style comments in C code with standard C comments.
2010-06-16 15:46:09 -04:00
Michael Davidsaver
5ce74f2a41
include compatibility definition of pdevLibVirtualOS
2010-05-28 12:04:46 +01:00
Dirk Zimoch
dd1a6f78a3
Merged with 3.14
2010-05-28 03:14:39 -07:00