Andrew Johnson
a657a012cd
rec: Make CALC expression fields 80 chars.
...
Both calc and calcout record types changed.
2010-10-04 13:46:09 -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
6d1cc23a7e
libCom/test: Enhanced epicsCalcTest.
...
Added testArgs() function and tests, and more bad expression tests.
2010-10-04 13:39:02 -05:00
Andrew Johnson
bb7d8d6435
libCom/calc: Added integer literals, which use less space in Postfix.
...
Renamed LITERAL to LITERAL_DOUBLE and added LITERAL_INT.
postfix() only uses LITERAL_INT if the results are identical.
Adjusted INFIX_TO_POSTFIX_SIZE() macro to match.
Cleaned up some other internal issues.
2010-10-04 13:32:34 -05:00
Andrew Johnson
641aa70eb1
libCom/test: Added Michael Davidsaver's unit tests for errlog
2010-09-30 14:36:30 -05:00
Andrew Johnson
48aabfc6ad
libCom/test/epicsStringTest: %Zd isn't portable.
2010-09-29 17:44:10 -05:00
Andrew Johnson
eaaea901e0
libCom: fix epicsNAN generation on vxWorks.
2010-09-29 17:42:10 -05:00
Andrew Johnson
d4814f1395
db/test: On vxWorks make a callbackTest.munch that works.
2010-09-29 16:00:46 -05:00
Andrew Johnson
d6c6a07cc3
CAref: Under DBR_STSACK_STRING s/ackv/acks/
2010-09-29 11:20:00 -05:00
Janet Anderson
902030e022
Remove depends file requirement for user created rules.
2010-09-29 10:36:40 -05:00
Andrew Johnson
58b5b81cb3
cas: fixed new[] .. free() mismatch (in OOM path)
...
Found by cppchecker, http://cppcheck.sf.net/
2010-09-29 00:44:47 -05:00
Ralph Lange
cbe2938628
catools: Fix caput so it can write enums w/o strings
2010-09-28 13:38:59 -04:00
Andrew Johnson
af43a9c957
softIoc: Cleanup makeInstallDir.pl build slightly.
2010-09-27 17:42:42 -05:00
Ralph Lange
534bee1a2e
Merged Ralph Lange's 'cac-dtor-racecond-fix' branch.
2010-09-27 18:39:50 -04:00
Janet Anderson
00db17adb4
Added FINAL_LOCATION code.
2010-09-27 16:37:13 -05:00
Janet Anderson
3489c93e32
Added missing epicsShareAPI for db_get_field_and_count.
2010-09-27 11:41:53 -05:00
Janet Anderson
fd910bd80c
Don't create soft link to SHRLIB_VERSION for *.dll sharelibs.
2010-09-27 08:43:21 -05:00
Andrew Johnson
46c21d276b
Merged the apple-ios branch, iPad & iPhone target support!
2010-09-23 15:48:23 -05:00
Andrew Johnson
9678b69c1e
libCom/errlog: Rewrote msgbufGetNode() to use buffer better.
...
Michael Davidsaver pointed out that the original algorithm used is
dumb, it can't reuse empty space at the beginning until all messages
have been drained. This new version can, and is more efficient.
2010-09-23 15:41:55 -05:00
Andrew Johnson
5b860ec3ec
libCom: Use SIG_IGN to ignore signals.
...
Simplified the code in osdSignal, also solves problems if a handler is
already installed that uses the 3-argument callback.
2010-09-23 15:09:03 -05:00
Andrew Johnson
eacb6602bc
libCom: Use OS NAN and INFINITY macros where available.
...
bug: 545385
2010-09-23 14:18:03 -05:00
Andrew Johnson
4e99cfc763
Added target support for Apple's iOS devices.
...
Tom Pelaia II and Mark Engbretson contributed the build configuration
and OS-dependent files, I modified the build config to bring it up to
R3.14.12 standards and added the Release Notes.
2010-09-22 16:26:15 -05:00
Andrew Johnson
a9b5f0c6a0
Merged Michael Abbott's dynamic-array branch, rebased.
...
I added Perl support, and wrote some release notes.
2010-09-20 16:21:50 -05:00
Andrew Johnson
dea1b9df3b
Tweaked the release notes to describe which areas were not changed.
2010-09-20 14:41:33 -05:00
Andrew Johnson
7ce4eb96ea
cap5: Support dynamic array sizes through the Perl API.
2010-09-17 14:11:00 -05:00
Andrew Johnson
3950153451
cap5: minor documentation updates/fixes.
2010-09-17 13:51:31 -05:00
Andrew Johnson
3b4eedaa26
cap5: caget should print limits using %g, not %d.
2010-09-17 12:49:22 -05:00
Janet Anderson
d4a9958002
Changes to allow rebuild to work with parallel builds option, -j.
2010-09-03 10:07:17 -05:00
Michael Davidsaver
aee66600ef
errPrintf() newline fix.
...
errPrintf() was adding a newline when writing to the err log buffer,
but not when printing to the screen. This results in the error
message running together with the next line. Added a newline to the
stderr output.
2010-09-01 14:56:51 -05:00
Janet Anderson
6a0a263380
Applied PATH_FILTER to input libraries on linker command line
...
Now when using MSVC complier with non cygwin makes, RELEASE files can
contain directories starting with forward slashes.
bug:627511
2010-08-31 11:33:37 -05:00
Janet Anderson
13e7b1b0b7
Added HDEPENDS_CFLAGS to CFLAGS to create *.d dependancy files.
...
bug: 626859
2010-08-30 09:58:24 -05:00
Janet Anderson
5094762012
Added target list to install library rule, needed for make3.8.2 builds
...
bug:626848
2010-08-30 09:30:11 -05:00
Ralph Lange
866f062d0a
toolsComm: Remove #ifdef checks for old VMS systems (fixes lp:625034)
2010-08-27 10:12:20 -04:00
Ralph Lange
a0a9ee4553
ca: Avoid possible race condition during cac shutdown.
...
While the cac dtor runs and waits for TCP circuit threads to exit,
new circuits could be opened by name resolution replies on existing
(still active) circuits.
Avoid this by setting a flag (lock being held) in the dtor, and
checking it in cac::transferChanToVirtCircuit.
2010-08-23 16:17:16 -04:00
Andrew Johnson
85c2877746
Document the dynamic-array changes.
2010-08-17 18:06:19 -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
1eb5546eb7
meged andrew's change
2010-08-13 18:31:00 -06: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
25d1b89de1
Use $(RTEMS_VERSION) in default path to RTEMS_BASE.
2010-08-13 17:56:27 -05: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
0c4746dd66
Moved new variable definitions to the beginning of their block.
...
Older C compilers such as vxWorks 5.x insist on this.
2010-08-13 12:59:50 -05:00
Michael Abbott
053ab01db4
Guard memset in camessage.c to prevent wild memory overrun if mismatch
...
between payload and data size.
2010-08-11 17:37:56 -05:00
Michael Abbott
0291900562
Add CA message header size optimisation.
...
If a packet is sufficiently small it can be worth the small
optimisation of saving the 8 bytes in a large packet header.
2010-08-11 17:37:30 -05:00
Michael Abbott
b2374f583b
Drive-by refactoring in caserverio.c
...
Minor refactoring of code block in cas_copy_in_header() to gather
common header code.
2010-08-11 17:36:58 -05:00
Michael Abbott
89ebfc6e9b
Add autosizing array support for caget and camonitor.
2010-08-11 17:36:36 -05:00
Michael Abbott
519c94a6e3
Update rsrv to support V4.13 protocol extension.
...
The rsrv server is updated in this commit to deliver variable sized
waveforms in response to a zero length request, implementing an
extension to the v4 EPICS protocol tied to minor version 13.
The core of the changes are in read_reply, rsrv/camessage.c, which first
reserves packet space for the largest possible response, but then resizes
the packet according to how much data is actually returned from the
database.
2010-08-11 17:36:11 -05:00