Andrew Johnson
64c16c0f6e
Cleanup in asLib
...
Improve error messages.
Remove unnecessary pointer casts.
2017-04-20 16:27:20 -05:00
Andrew Johnson
9f01c47542
Allow whitespace before comments in AS config files
...
Fixes lp: #1677302
Makes the lexer patterns more like dbStatic.
Handle non-printable invalid characters in input properly.
2017-04-20 16:23:36 -05:00
Andrew Johnson
1cb75ebb6e
asLib message buffer too small (Freddie Akeroyd)
2016-12-08 13:57:23 -06:00
Andrew Johnson
f4a16a1e1e
Remaining Revision-Id keywords in source
2016-05-22 05:43:09 +02:00
Andrew Johnson
4a0880003c
Support MinGW cross-builds on linux-x86 and x86_64
2015-02-24 14:30:42 -06:00
Andrew Johnson
c5ded30684
Extended asTrapWrite to provide put data
...
Backwards-compatible enhancement to the asTrapWrite API to provide
listener routines with the data being put by the client.
The asTrapWriteMessage structure is extended with 3 new fields
for data type, element count and a pointer to the source buffer.
Tim Mooney requested this enhancement for his caPutRecorder code,
which doesn't work if the record overwrites the new value within
its process() routine, e.g. when jogging a motor record.
2015-02-16 16:30:52 -06:00
Andrew Johnson
01f0fdbf1e
More file permission fixes.
2013-08-19 15:46:51 -05:00
Andrew Johnson
1ac8ff6378
as: Make asSetFilename() warn on relative paths
...
Tell the user if they try this. They'll get an error from
asInit() later, but it gets lost easily in other noise.
2012-08-28 16:35:52 -05:00
Andrew Johnson
881d13ac07
Merged the expand-calc-size branch.
...
This allows calc and calcout record expressions to be up to
79 characters long, and shortens the postfix buffer needed by
introducing integer literals. Also removes the length limit
for access security CALC expressions.
2010-10-07 14:16:24 -05:00
Andrew Johnson
fbda9f3280
RCS keyword updates for Bazaar
...
Replaced $Id$ and $Header$ keywords with $Revision-Id$
Deleted $Log$ keywords and any log messages
2010-10-05 14:27:37 -05:00
Andrew Johnson
9542056547
as: No need to limit CALC expression lengths.
...
We allocate a new postfix buffer for each expression, so there is no
need to limit the expression length, just allocate a buffer big enough
for the expression given.
2010-10-04 13:41:09 -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
4e0ab97038
(M. Davidsaver): static keyword is part of C89,
...
remove all uses and internal definitions of LOCAL macro
2009-07-09 16:37:24 +00:00
Andrew Johnson
d6fcbe14ab
Cleaned up dbDefs.h and errMdef.h
...
Added various #include lines needed in other sources.
2009-07-09 15:27:43 +00:00
Andrew Johnson
a66a192ed5
Expand READONLY macro, deprecate.
2009-06-05 19:56:33 +00:00
Andrew Johnson
7ce49bf131
Reworked various hash tables, using the faster epicsStrHash() routines;
...
added per-bucket locks to the PV Directory, needed for run-time alias creation;
speed up gpHash lookups; improved the output of both Dump routines.
2009-03-19 23:00:44 +00:00
Andrew Johnson
6482e7e55d
Unlocking issue pointed out by Richard Dickson.
2008-09-12 19:40:16 +00:00
Andrew Johnson
2d88383a9d
Clean up quadratic string processing behaviour.
2008-09-12 14:58:05 +00:00
Andrew Johnson
e47fc8b757
Lowercase the new hostname in asChangeClient()
2008-09-12 14:44:49 +00:00
Janet B. Anderson
ef1cd5faf5
RCS files now used for all cygwin and mingw builds.
2008-08-06 16:44:16 +00:00
Andrew Johnson
55d6405b3c
Added ascaStats(), for Mantis #281 .
2008-07-22 21:21:11 +00:00
Andrew Johnson
797df775d0
void *asp => struct *.
...
Removed some casts and cleaned up 'type-punned pointer' warnings.
2008-05-21 17:46:02 +00:00
Andrew Johnson
083a8413b5
Ensure result of previous rule calc evaluation is available for VAL.
2007-05-03 20:37:41 +00:00
Andrew Johnson
70cc7eaab9
Reorganized iocsh command registration to untangle the build order.
...
The iocsh core is now part of libCom, and commands are registered locally
with a Register routine for each IOC library.
2007-03-13 17:54:23 +00:00
Janet B. Anderson
99e9d60725
Replaced .o with $(OBJ).
2006-12-07 15:50:16 +00:00
Andrew Johnson
29c43d0cdb
Cleanup some of the more obscure gcc warnings.
2006-12-01 23:52:59 +00:00
Andrew Johnson
318e5247f1
Fix dependencies.
2006-12-01 23:48:21 +00:00
Andrew Johnson
aa08e33707
Fixed problem saving hostnames in HAG.
2006-11-28 15:32:06 +00:00
Andrew Johnson
27fcfac8b8
Use the same TRUE/FALSE test in the dump routines as in the actual rule
...
evaluation, in case the results are different.
2006-11-16 17:26:38 +00:00
Andrew Johnson
343efa2028
Cosmetic changes.
2006-11-13 20:40:00 +00:00
Andrew Johnson
abfd3f0186
Improve error checking and messages from AS file parser.
2006-04-03 21:41:11 +00:00
Andrew Johnson
8823924561
Oops, currected *Strdup routines.
2006-03-29 20:53:54 +00:00
Andrew Johnson
daf8f033fa
Use new xxStrdup() functions.
...
Cleanup compiler warnings due to our using 8-bit lexers.
2006-03-29 19:46:05 +00:00
Andrew Johnson
cd3806e189
Added an asStrdup() routine.
2006-03-29 19:37:22 +00:00
Janet B. Anderson
147e21b71f
Changed EPICS_UPDATE_LEVEL to EPICS_PATCH_LEVEL.
2005-12-19 21:42:40 +00:00
Marty Kraimer
b4f40d0011
epicsStdioRedirect
2004-08-27 16:20:09 +00:00
Marty Kraimer
e227241d4b
args were in wrong order
2004-07-15 12:41:40 +00:00
Marty Kraimer
8006613981
char => const char
2004-07-08 15:25:56 +00:00
Marty Kraimer
0381f13e3f
more changes for allowing FILE *fp for diagnostics
2004-05-13 15:19:49 +00:00
Marty Kraimer
8c4e8dd35f
ascar is new
2004-04-05 16:06:06 +00:00
Ken Evans
2f827fc92d
Added versions of the dump routines that write to an arbitrary file
...
pointer instead of stdout.
2004-03-29 19:32:20 +00:00
Marty Kraimer
323e378fc5
check for access security not started
2004-02-17 13:23:28 +00:00
Marty Kraimer
f32d647482
changes to make things build
2004-02-13 18:51:42 +00:00
Marty Kraimer
bc81744d8f
add ascar
2004-02-10 14:52:46 +00:00
Marty Kraimer
29335e7672
add copyright notice
2004-02-10 14:52:39 +00:00
Andrew Johnson
0b51e1f972
Remove tokenNAME, everything uses tokenSTRING instead.
2004-02-06 19:23:09 +00:00
Janet B. Anderson
de70a70b1b
Added COMPAT_313 macro for building/installing R3.13 compatability files.
2004-01-13 16:15:05 +00:00
Jeff Hill
9f52f7282d
fixed errMessage fmt string
2003-09-23 16:52:59 +00:00
Marty Kraimer
7b294e0d99
use const char
2003-05-14 11:29:48 +00:00
Marty Kraimer
c6eca11921
asTrapWrite aslo belongs to LIB_SRCS
2003-05-14 11:21:31 +00:00