Andrew Johnson
1a3e7414b3
Creating 3.14.12.4-pre1
2013-11-20 18:02:28 -06:00
Andrew Johnson
9ab6f89604
Clean up epicsExport.h includes
...
Mostly in record and device support, this commit puts
the include in the right place and moves some other
includes around to get the order right.
2013-11-20 16:21:10 -06:00
Andrew Johnson
570993e32b
configure: New targets cygwin-x86_64 and windows-x64-mingw
2013-11-19 18:50:49 -06:00
Andrew Johnson
93be1400c1
Fixed various 64-bit windows build issues.
2013-11-19 18:42:45 -06:00
Andrew Johnson
176ee926ad
cygwin: Fixed SocketSystemCallInterruptMechanism
...
Cygwin changed it back again.
2013-11-19 18:41:03 -06:00
Andrew Johnson
2d52067484
libCom: Clean up build warnings from Visual Studio.
2013-11-19 15:26:22 -06:00
Andrew Johnson
66209118f6
libCom/macLib: Don't use unsigned chars in macParseDefns()
...
These pointers are really pointing to standard chars.
2013-11-13 12:39:23 -06:00
Andrew Johnson
d6dab34ae9
Merged changes from Jeff Hill's ca-ref-man-maint branch.
...
This contains only text changes to the CA reference manual.
2013-11-07 17:57:09 -06:00
Andrew Johnson
4b44881744
db: Fixed bogus dbScan overrun warnings
...
Penalizing the 0.1 second scan thread by 0.1 seconds
guarantees another overrun in most cases...
Warning message improved.
Also added a release note for Jeff's CAS commit.
2013-10-17 17:21:26 -05:00
Jeff Hill
42f4c3a0a5
fixed potential memory leak
2013-10-17 09:23:47 -06:00
Andrew Johnson
2ad468dd38
CAref: Fix returns from ca_attach_context()
...
ECA_NORMAL was missing, ECA_ISATTACHED given twice.
2013-09-27 09:59:34 -05:00
Andrew Johnson
2bf4b36639
configure: Support Apple Xcode 5.0 and iOS 7.0
...
Not tested on the 64-bit ARMv8 architecture, although it should be
compatible (confirmation would be welcome).
2013-09-24 15:30:26 -05:00
Andrew Johnson
6814b09fad
docs: Release Notes update
...
... for several recent commits.
2013-09-13 17:30:38 -05:00
Andrew Johnson
2d3a828acd
Fixed read-back of TSEL link
...
Reading back a .TSEL field that was originally pointed to
another record's .TIME field was exposing internal details
that didn't need to be made visible. This commit hides the
.TIME => .VAL change completely, and allows a .TSEL link
field to be saved and restored properly using autosave.
2013-09-13 11:57:18 -05:00
Andrew Johnson
4ae048572a
Added dbTemplateMaxVars variable
...
Allows users to configure dbLoadTemplate command to accept more than
100 variables or a larger string buffer for variables.
2013-09-13 11:36:52 -05:00
Andrew Johnson
e49210a3ea
configure: IOS version bump to 6.1
2013-08-30 12:50:34 -05:00
Andrew Johnson
d25eff3af7
configure: Darwin build settings
...
Modify comments and defaults for darwin builds.
Changing to use gcc wasn't working.
2013-08-30 11:51:51 -05:00
Andrew Johnson
01f0fdbf1e
More file permission fixes.
2013-08-19 15:46:51 -05:00
Andrew Johnson
3219ea0608
Fixed file permissions.
2013-08-19 13:30:19 -05:00
Ralph Lange
fb983fe382
CAref: typos, replace ..._event() calls with ..._subscription() (by J. Lewis Muir)
2013-08-16 17:00:13 +02:00
Andrew Johnson
ffa96d36e1
db: dbpf can now put strings to UCHAR arrays
...
Also improved the dbpf error message on value conversion failures.
Source code reformatting inside dbTest.c as well.
2013-08-01 18:10:18 -05:00
Janet Anderson
515f882c7b
Added OPT_CXXFLAGS_YES += -g
2013-07-25 10:49:26 -05:00
Janet Anderson
d3b6d01807
Added WIN32 system library for epicsSockResolveTest
2013-07-17 15:55:49 -05:00
Andrew Johnson
f2891d72e5
ca: Add missing template instances for VxWorks 5.5.x
2013-07-10 14:55:34 -05:00
Andrew Johnson
75a5f19d2e
IOCS_APPL_TOP must be absolute path
...
Fix a recently introduced problem where cdCommands and envParams
had TOP as a relative path (which actually worked by chance).
Also fixed a problem with convertRelease hanging when the -t
argument matched the absolute path to TOP.
2013-07-10 14:13:31 -05:00
Andrew Johnson
98deef5004
configure: Added FULLPATHNAME tool variable
...
Changed os/CONFIG files where we use the fullPathName.pl script.
2013-07-10 14:07:51 -05:00
Andrew Johnson
c187d8c13a
CAref: typo's, added missing ca_put_callback
2013-07-05 13:26:26 -05:00
Andrew Johnson
1289f99e30
rec: Additional dependencies for parallel builds.
2013-06-21 10:36:26 -05:00
Andrew Johnson
ef5d88d3e5
libCom: Back-ported aToIPAddr fix from 3.15 branch.
...
Cherry-picked 3.15 revno 12398 with some changes.
2013-06-07 17:03:55 -05:00
Andrew Johnson
93449dccb8
ca: Fix acctst.c for older C compilers
...
All declarations must still precede other statements within a block...
2013-06-07 16:08:57 -05:00
Andrew Johnson
863e8fdd3b
libCom: Fix VxWorks localtime_r() and gmtime_r() wrappers
...
Wind River changed the return value between VxWorks 6.8 and 6.9.
2013-06-07 14:35:45 -05:00
Andrew Johnson
ee9c0ba409
ca: Minor reference manual tweaks.
2013-05-28 15:07:33 -05:00
Andrew Johnson
7f82c2f32e
libCom: Added osi/os/WIN32/osdFindSymbol.c
...
Implemented by Dirk Zimoch.
2013-05-28 14:16:22 -05:00
Jeff Hill johill@lanl.gov
e0bc071de3
merged in fix for https://bugs.launchpad.net/epics-base/+bug/1179642
...
also merged in removal of c++ support for old HPUX compiler
2013-05-16 12:33:31 -06:00
Andrew Johnson
593e313fab
dbStatic: More commands accept "" or "*" to mean 'all'
...
dbDumpRecordType, dbDumpMenu and dbDumpRecord commands improved.
2013-05-09 15:48:49 -05:00
Andrew Johnson
34744264e1
libCom: Fix win32 handle leak
...
Closing an epicsThread would leak one Win32 handle.
Reported by Giles Knap, Diamond.
2013-05-06 17:29:10 -05:00
Andrew Johnson
5ac686fafd
tools: Munch support for module destructors
...
Added in VxWorks 6.9
2013-04-25 17:00:36 -05:00
Andrew Johnson
7e347b2de9
libCom: Fix sysAtReboot registration on vxWorks 6.8+
...
Removed C++ static constructor, do it from epicsThreadInit()
2013-04-24 12:52:05 -05:00
Andrew Johnson
5bc15b72a1
libCom: Add some missing #include guards.
...
There are still quite a few missing in libCom/osi/os/*
2013-04-11 12:56:56 -05:00
Andrew Johnson
880db9d4af
configure: Set IOCS_APPL_TOP from INSTALL_LOCATION
...
Fixes lp:1165257
2013-04-09 12:39:26 -05:00
Andrew Johnson
58c031238b
configure: Modify help rule to use $(DIVIDER)
...
... in case someone changes it.
2013-04-01 10:03:38 -05:00
Andrew Johnson
f824246baa
Add configuration for vxWorks 6.9 builds.
2013-03-29 11:17:09 -05:00
Andrew Johnson
f9a0c82a63
libCom/osi: Resolve bcopyLongs() conflict on vxWorks 6.9
2013-03-28 17:17:41 -05:00
Andrew Johnson
a4edc46a5f
dbStatic: Allow empty DB & DBD files
...
They used to cause a Syntax error with a bad context string.
2013-03-20 16:53:10 -05:00
Andrew Johnson
738b8ca55f
libCom: Add a High-Resolution Time Provider on MacOS
...
Since Apple don't support clock_gettime(CLOCK_REALTIME) I added a
new time provider that uses the Mach kernel Clock service to get
nanosecond resolution time.
2013-03-13 14:48:34 -05:00
Andrew Johnson
c767958539
gdd: Build tweaks
...
Remove obselete HPUX warning flags
Disable strict-aliasing to suppress warnings (RTEMS, Linux)
2013-02-11 17:49:05 -06:00
Andrew Johnson
8400e74606
Fix epicsRingPointerGetSize()
...
Definition name didn't match declaration.
Fixes lp:1109785 reported by Martin Konrad.
2013-01-29 18:02:51 -06:00
Andrew Johnson
451c4cc854
Unify #! line for Perl scripts
...
/usr/bin/env exists on all current workstation OSs.
2013-01-23 07:29:07 -06:00
Andrew Johnson
038a1140f4
Fix drift in periodic scan times.
...
Method from Eric Norum, with warnings added by me.
Fixes lp:597054
2013-01-09 18:12:30 -06:00
Jeff Hill
89d000be08
fixed problems with ca clear channel protocol during reload of the access security file.
...
See https://bugs.launchpad.net/epics-base/+bug/1091401 .
2012-12-18 14:32:12 -07:00
Janet Anderson
a0798939b3
R3.14.13.3-DEV
2012-12-17 14:24:23 -06:00
Janet Anderson
a5999242b0
Creating R3.14.12.3
2012-12-17 14:13:19 -06:00
Janet Anderson
9e484306d6
Creating R3.14.12.3
2012-12-17 14:11:47 -06:00
Andrew Johnson
835199a45d
RTEMS: Bump the version number
...
Also show the other COMMANDLINE_LIBRARY choices.
2012-12-13 15:52:06 -06:00
Andrew Johnson
0df6f849d6
Document another Launchpad bug fix from Jeff
2012-12-13 15:50:44 -06:00
Jeff Hill
75e32c9086
fix for https://bugs.launchpad.net/epics-base/+bug/1090009
2012-12-13 09:35:18 -07:00
Ralph Lange
b7018dd16d
ca: Fix bug in "Firewalls" section of Channel Access reference manual
2012-12-11 23:38:42 +01:00
Janet Anderson
3498a6d4e0
Update readline libraries and dont have readline the default
2012-12-05 15:02:26 -06:00
Janet Anderson
f90f021309
Added SHRLIB_PERMISSIONS
2012-12-05 14:34:18 -06:00
Andrew Johnson
c1203076f2
Release Notes update
...
Mark Rivers asked for documentation on the new
workstation OS stack sizes.
2012-12-04 11:15:41 -06:00
Andrew Johnson
753622315c
Set snapshot to 3.14.12.3-rc1-DEV
2012-12-03 16:41:53 -06:00
Andrew Johnson
910ab38af6
Creating 3.14.12.3-rc1
2012-12-03 16:39:27 -06:00
Andrew Johnson
0e990bbe0c
Update release notes.
2012-12-03 13:34:27 -06:00
Andrew Johnson
ef5688f8de
libCom: Accept hex literals in CALC expressions
...
Code back-ported from the 3.15 branch.
2012-12-03 12:58:26 -06:00
Andrew Johnson
d622bbad05
Fix compiler warnings on linux-x86
2012-12-03 12:48:11 -06:00
Janet Anderson
416cf68fd1
Make target not first prerequisite depend on Makefile.
2012-12-03 09:33:08 -06:00
Andrew Johnson
cbde3ea9fd
cas: Added propertyEventMask support
...
Allows server tools to send DBE_PROPERTY events to clients.
New functionality not tested, but fairly trivial and doesn't
break existing server tools.
2012-11-30 17:42:47 -06:00
Andrew Johnson
6f9c2db8a8
libCom: Revert 12374 which breaks MSVC++ builds
...
Both the Microsoft 2008 and 2010 compilers fail with this change.
2012-11-30 13:32:25 -06:00
Andrew Johnson
01276d952f
ca: Build caRepeater etc. by default
...
Exceptions for vxWorks, RTEMS and iOS which don't support
executable programs like the workstation OSs.
2012-11-26 15:37:54 -06:00
Andrew Johnson
809633d698
Set snapshot to 3.14.12.3-pre1-DEV
2012-11-19 15:04:58 -06:00
Andrew Johnson
1f573172b3
Creating 3.14.12.3-pre1
2012-11-19 15:02:22 -06:00
Andrew Johnson
d6f72900f8
Update release notes.
2012-11-19 13:19:04 -06:00
Andrew Johnson
5b1d3a7725
conigure: Fix iOS build warning.
...
from Tom Palaia.
2012-11-19 10:48:24 -06:00
Andrew Johnson
7d79a83519
Apple iOS updates from Tom Pelaia
...
Adds iOS 6.0, which is now the default.
- changed the default iOS SDK to version 6.0
- use xcrun to locate the selected compiler
- added armv7s as an option for architecture
- made armv7 + armv7s the default architecture
- renamed the LLVM compiler option to LLVM_GNU for clarity
since LLVM is naturally associated with CLANG
2012-11-17 13:18:16 -06:00
Andrew Johnson
6fd9fb3066
libCom: Removed epicsSingleton workaround
...
This undoes commit 11565, "workaround for archaic T202 g++ bug"
which doesn't actually seem to be necessary for T202 compilation.
It also replaces 'typename' with 'class', for another compiler.
Modification provided by Dirk Zimoch.
2012-11-16 16:14:13 -06:00
Andrew Johnson
28c7fe12f3
configure: Added Guobao Shen's comments on using MacPorts GCC
2012-11-16 12:54:29 -06:00
Andrew Johnson
36be0aa783
rec: Fix minor string in + out issue.
...
Undo strncmp+strncpy to strcmp+strcpy change in r12048.
The 'n' versions are needed because device support was
never explicitly required to Nil-terminate the string.
The dbAccess routines do enforce termination though.
2012-11-16 12:40:57 -06:00
Andrew Johnson
69d8be78d3
startup: Recognize 64-bit Windows
...
For 64-bit versions of Perl on Windows, the EpicsHostArch.pl
script will now return the host architecture "windows-x64".
2012-11-01 14:57:36 -05:00
Andrew Johnson
fc61cc34ce
iocLogServer fix for unsigned char arch's
...
Reported by Guy Jennings
2012-10-31 13:56:12 -05:00
Andrew Johnson
e889336458
db: Undefined alarm limits should return NaN
...
Where the record doesn't provide get_alarm_double() or for fields
where the default applies, we were still returning 0.
2012-10-17 18:08:39 -05:00
Michael Davidsaver
7cac267a4b
db: Fix possible error handling in dbPut
2012-10-11 18:10:00 -05:00
Andrew Johnson
71079ede4b
rec/aSub: Fixes from Michael Davidsaver
...
* Changing the number of elements in a VALx array triggers monitors
* Post monitors on the NEVx fields, following EFLG
* Remove artificial limit on array sizes
2012-10-11 17:51:00 -05:00
Michael Davidsaver
26173c1e0d
devLib: add compatibility typedef for VME table type
2012-10-10 15:52:34 -05:00
Andrew Johnson
9c1b8ba952
rec: Fix problem with NAN in MLST/ALST fields
...
If MLST or ALST became NAN the associated monitor would never trigger.
Now a NAN will cause it to always trigger.
2012-10-06 21:48:01 -05:00
Andrew Johnson
c574722a9b
catools: Fix syntax error from vxWorks gcc.
2012-09-11 15:19:29 -05:00
Andrew Johnson
4790578953
tools: Try harder to collapse ../ components in AbsPath
...
Idea from Angus Gratton, ANU
2012-09-11 12:11:55 -05:00
Ralph Lange
7e6e38060f
catools: Change behaviour of camonitor when printing array of chars as string
...
camonitor was using strlen() to find out the length of the array to print as %s string,
which led to printing old buffer contents when the array-string was not null terminated.
Now uses the minimum of strlen(), elements received, and elements requested.
Suggested by Mark Rivers on tech-talk (11 Sep 2012)
2012-09-11 16:58:43 +02:00
Ralph Lange
709b6ef2f3
catools: Fix off-by-one bug in caput
...
An internal buffer was allocated one char too short, when caput was used
with the '-S' (send string as array of chars) option.
Reported by J. Lewis Muir (tech-talk on 17-Aug-2012)
2012-09-03 21:25:44 +02:00
Andrew Johnson
169b30081a
Fix for vxWorks 6.x LED_ID
...
Use LED_ID in epicsReadline.c
Provide a typedef for vxWorks 5.x where it doesn't exist.
2012-08-31 16:05:14 -05:00
Andrew Johnson
a19e1d21da
libCom: Fix epicsSnprintf() under MinGW
...
Use the Microsoft _vscprintf() function which was just missing
a prototype in earlier versions of MinGW's stdio.h header.
2012-08-31 15:57:59 -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
Janet Anderson
5c2ef73c4a
Fixed X11 include definitions, X11_INC and XPM_INC.
2012-08-20 12:27:39 -05:00
Andrew Johnson
958aa02320
Change build defaults for darwin-x86
...
* Use clang and clang++
* Build for x86_64 only
2012-08-20 10:03:50 -05:00
Andrew Johnson
c93c7b5e36
configure: Fix test rules dependency
2012-08-07 10:37:13 -05:00
Andrew Johnson
b993e29fad
configure: Minor fixes
...
Don't add extraneous characters when SHRLIB_VERSION or GNU_TARGET
are empty. The addprefix or addsuffix functions only include the
prefix/suffix part if the list argument is not empty.
This fixes issues naming libCap5.so at build-time.
2012-08-07 09:41:21 -05:00
Andrew Johnson
e03d10857c
tools: Delete makeDbDepends.pl from Makefile
2012-07-31 14:09:02 -05:00
Andrew Johnson
bdbada28a8
makeBaseApp: Remove bad characters from user names
...
Also warns about some bad characters in record names, but only
the ones that are known to cause known bad behaviour.
2012-07-31 13:47:23 -05:00
Janet Anderson
20c9fa2e8a
Added template file as dependency for .db.d file
2012-07-31 10:50:51 -05:00
Janet Anderson
b1ac0c18c4
Fixed typo
2012-07-31 10:48:01 -05:00
Janet Anderson
4133b666a0
Added die if no target file argument
2012-07-31 10:44:33 -05:00
Andrew Johnson
dabd0a969b
Release notes update.
2012-07-31 10:03:57 -05:00
Andrew Johnson
1864ac41fb
Add support for native linux-arm builds.
2012-07-30 17:50:30 -05:00
Janet Anderson
1649ce6f79
Replaced makeDbDepends with mkmf
2012-07-30 17:10:57 -05:00
Andrew Johnson
93bc78d2ed
configure: Don't override CROSS_COMPILER_TARGET_ARCHS on Cygwin
...
All other host architectures have this setting commented out in
their host-specific CONFIG_SITE.<host>.Common files, so the user
doesn't get confused.
2012-06-21 12:09:04 -05:00
Andrew Johnson
32f556637d
libCom/osi: Fixed all epicsThreadSleep() implementations
...
All are now robust against overflow, NAN or negative argument.
Passing seconds=0 calls the OS scheduler, offering to yield.
Passing seconds>0 delays at least the requested time, up to a
limit which usually depends on the OS tick rate.
2012-06-18 14:52:03 -05:00
Andrew Johnson
146520d035
dbStatic: Fix dbReportDeviceConfig() overflow.
...
Reported by Hinko Kocevar.
2012-05-21 15:43:03 -05:00
Kate Feng
ea8d19e727
RTEMS: Make nfsMount() globally visible.
2012-05-16 12:25:27 -05:00
Andrew Johnson
39ca40fc33
configure: Move GNU_DIR setting for linux-xscale_be
...
All site-specific values should be set in CONFIG_SITE files.
2012-05-16 11:57:17 -05:00
Andrew Johnson
b5e1b0117c
configure: Added linux-microblaze target files
2012-05-16 11:56:14 -05:00
Andrew Johnson
c1cebc89bf
rsrv: Add epicsShareFunc to casStatsFetch()
...
Fixes lp:999167
2012-05-14 11:16:33 -05:00
Andrew Johnson
4982a6308b
db: Don't call epicsPrintf() from callbackRequest()
...
The callbackRequest() routine can be called from an ISR,
so use epicsInterruptContextMessage() to print errors.
2012-05-04 17:34:48 -05:00
Andrew Johnson
243baddbf6
Add an Init stat to all thread control variables
...
This makes the uninitilized value not the Run state.
2012-05-04 13:38:59 -05:00
Andrew Johnson
45348ad6ca
configure: Replace COMMENT with NOP in ECHO
...
Using COMMENT the ECHO command drops the whole line under -s,
whereas using NOP (':') only drops up to the next ';' terminator.
2012-05-01 10:15:45 -05:00
Andrew Johnson
dde8c61ad8
registry: Cleanup
...
Delete spurious global symbols
Remove unnecessary casts
Fix (c) headers
Added missing #include guard
Remove unnecessary #includes
Prettified.
2012-04-30 17:40:43 -05:00
Andrew Johnson
0a0302daad
documentation: Update the Converting from 3.13 document.
2012-04-04 11:57:45 -05:00
Andrew Johnson
8ed86967d1
Don't build command-line programs for iOS targets.
2012-03-30 15:52:19 -05:00
Andrew Johnson
129710f149
configure: Redo Jason Abernathy's SHRLIB fix
...
Now works properly on Darwin where the version number comes
before the .dylib extension. This also makes Windows-specific
conditional tests fully generic.
2012-03-30 14:40:58 -05:00
Andrew Johnson
bcd604e40b
configure: Expand description of the LINKER_USE_RPATH setting
2012-03-30 13:53:45 -05:00
Andrew Johnson
dffe203856
db: Another modification to fix lp:907761
...
From Dirk Zimoch.
2012-03-19 12:31:11 -05:00
Jason Abernathy
6f8f61db64
Only remove last occurrence of shrlib version string.
2012-03-09 11:55:20 -06:00
Andrew Johnson
e48ca8a688
rec: Fix timestamps from calcout and seq records
...
Update record timestamp before calling db_post_events()
2012-03-08 09:47:38 -06:00
Andrew Johnson
7435a9831b
db: Reject trailing space in numeric => enum/menu/device conversion
...
This is really a workaround for a Win32/MinGW bug in sscanf, which
will only set the %n argument for the format "%u %n" when there is
a space following the unsigned number.
This changes the IOC's behavior very slightly.
2012-03-06 14:14:39 -06:00
Andrew Johnson
10e7bced84
libCom/test: epicsTimeTest reworked a bit
...
Report throw from first call to epicsTime::getCurrent().
Reorganized test order so a bad time provider doesn't stop
all tests from being run. Also cleaned up a few extraneous
variables.
2012-03-06 12:54:54 -06:00
Andrew Johnson
df7fa22a15
libCom/test: Add more tests of the CALC engine
...
Some of the isnan(Inf) tests were failing on mingw.
This change doesn't fix them, it adds related examples.
2012-02-29 17:11:08 -06:00
Andrew Johnson
140845fb14
configure: Cleanup MacOS and iOS build settings
...
Makes it easy for users to select which compiler to use.
2012-02-27 14:40:07 -06:00
Andrew Johnson
3dec8f8c78
configure: Removed _ARM_NWFP_
...
Apparently this hasn't been needed for quite a while.
2012-02-20 09:52:54 -06:00
Andrew Johnson
6f9f5498b4
libCom/test: Add diagnostic to epicsStdioTest on vxWorks
...
This test fails if the cwd is not writable, but on vxWorks the
fault appears at the fclose() not the fopen() line. The code
now detects this and tells the user what's probably wrong.
2012-02-03 16:12:06 -06:00
Andrew Johnson
f5bc02393e
libCom: Increase stack sizes for Windows and Posix
...
Windows stack sizes were the same as vxWorks - tiny.
The stack sizes are now multiples of sizeof(void*).
On 32-bit systems they give 256KB, 512KB and 1MB;
64-bit systems get twice those numbers.
Fixes lp:903448
2012-02-02 18:14:01 -06:00
Andrew Johnson
f86cf730e9
db: fix dbpf to enum from integer bug
2012-01-27 09:41:37 -06:00
Janet Anderson
73768aae9a
Allow install of *.H header files.
2012-01-20 10:50:10 -06:00
Andrew Johnson
adfa1257f5
makeBaseApp: caMonitor example should use ca_create_subscription()
...
It was calling ca_add_event(), which is a deprecated API.
2012-01-16 16:40:37 -06:00
Andrew Johnson
7cc8a552a3
db: Allow single-char accesses as long strings
...
Clients try to use long string support to fetch DBF_STRING
fields use DBF_CTRL_CHAR with a 1-element array, but the IOC
was rejecting that. This permits it, and also ensures that
the resulting strings are zero-terminated.
Fixes lp:907761
2012-01-11 16:47:37 -06:00
Andrew Johnson
afaebfbeb1
libCom: Fix iocsh comment recognition
...
Merged J. Lewis Muir's fix for comments introduced by macro.
Added fixes to allow comments to be indented too, which used
to work if the '#' was followed by white-space or any argument
separator character.
2012-01-11 15:12:15 -06:00
J. Lewis Muir
ee2a2dfffc
libCom/iocsh: Ignore comment lines after macro expansion
...
The handling of comment lines is only performed before macro
expansion, thus lines with macros that expand to comment lines will
not be correctly handled as comment lines.
By chance this kind of worked sometimes because a "#" command that
does nothing is internally added to the command registry to make it
show up in the help output. Relying on this is broken. Furthermore,
if the line starts with '#' followed by a non-separator character
(e.g. "##", "#whatever", etc.) it will not work (i.e. it will produce
a command-not-found error).
This fix checks to see if the first character of the line after macro
expansion is '#'. If it is, it considers the line to be a comment.
2012-01-11 11:40:30 -06:00
Janet Anderson
2d6f8c585a
Move DarwinPorts and Fink usage definitions to a CONFIG_SITE file
2012-01-05 10:45:20 -06:00
Janet Anderson
c538fc8ccc
Added -I$(COMMON_DIR) to DBFLAGS and DBDFLAGS definitions.
2011-12-22 11:33:41 -06:00
Andrew Johnson
c32997ffa1
tools: Fix dependency file problem.
...
Reported by Eric.
2011-12-20 16:30:41 -06:00
Jeff Hill
d8f7c3731d
fixed various archaic sun pro build failures repoted by Dirk
2011-12-12 16:10:24 -07:00
Janet Anderson
0c67efd50a
R3.14.12.2-DEV
2011-12-12 14:37:04 -06:00
Janet Anderson
5b0693f53d
R3.14.12.2
2011-12-12 14:09:32 -06:00
Janet Anderson
36be34656e
Creating 3.14.12.2
2011-12-12 14:08:00 -06:00
Andrew Johnson
4a5b8a37df
cap5: Load libCap5.so from lib/perl/<perl-version>/<perl-archname>
...
This allows the same version of Base to be used from both RHEL5 and RHEL6
for example; they use different Perl versions which are not compatible at
the ABI level.
2011-12-10 23:11:33 -06:00
Andrew Johnson
e289af684f
configure/linux: Move -g option to OPT_CFLAGS_YES
...
We were adding it to OP_SYS_CFLAGS but if HOST_OPT=NO
you then get two -g options on the gcc command line.
2011-12-07 13:56:04 -06:00
Andrew Johnson
8cb8ad081b
softIoc: Strip single-quote chars from arg
...
Most shells strip the single-quote chars from arguments, but on
win32-x86 this is not happening so we need to do it ourselves.
The single quotes are important to prevent un-escaping of things
that shouldn't be unescaped.
2011-12-05 12:43:26 -06:00
Andrew Johnson
52ee9916e6
configure: Print a warning when CHECK_RELEASE = NO
2011-12-02 14:10:24 -06:00
Andrew Johnson
3fc6a77fb0
libCom/posix: Define finite() for uClibc
...
The finite() function is provided in glibc but not in uClibc.
C99 requires isfinite() to be a macro, so we can test for it
and define our own finite() macro in osi/os/posix/epicsMath.h
2011-12-02 11:07:04 -06:00
Andrew Johnson
df6f042b5a
configure: Update Apple iOS builds
...
* Default IOS_VERSION to 5.0
* Allow ARMv6 and ARMv7 universal binaries by setting ARCH_CLASS
* Switch from g++ to clang++
2011-12-02 10:42:43 -06:00
Andrew Johnson
3b268475d3
Fix some warnings reported by Clang.
2011-11-29 16:14:19 -06:00
Andrew Johnson
2010e58c61
libCom/win32: Conditionally define MINLONGLONG
...
Some version of Visual Studio define MAXLONGLONG but not
MINLONGLONG, so they need separate checks.
2011-11-29 14:07:29 -06:00
Andrew Johnson
54401d5426
Set snapshot to 3.14.12.2-rc1-DEV
2011-11-28 16:37:47 -06:00
Andrew Johnson
db0c9d7d82
Creating 3.14.12.2-rc1
...
Set version number, update release notes.
2011-11-28 16:35:43 -06:00
Andrew Johnson
b791a3692b
libCom: Clean up win32 build warning
...
Delete CFLAG added for the Borland compiler (no longer supported).
2011-11-28 15:54:49 -06:00
Benjamin Franksen
0e41c03ff2
dbStatic: Fix windows build issue
...
fixes: lp:894276
2011-11-28 12:55:55 -06:00
Andrew Johnson
b5ec6e2448
catools: Edited camonitor help text.
2011-11-21 12:30:02 -06:00
unknown
d077c8b0ff
dbStatic: Added -b option to dbExpand
...
-b turns off monotonic checking of breakpoint tables.
2011-11-21 11:33:26 -06:00
Andrew Johnson
b48979f5a5
Set snapshot to 3.14.12.2-pre1-DEV
2011-11-14 14:07:02 -06:00
Andrew Johnson
967ce8eb84
Creating 3.14.12.2-pre1
...
Set version number, update release notes.
2011-11-14 14:03:22 -06:00
Andrew Johnson
b27e22d75e
Makefile cleanup
...
Various minor changes to comments and build variable names.
2011-11-14 12:33:07 -06:00
Jeff Hill
6ef52b5d03
fixed launchpad bug 697509, Thread synchronization issue in libCom/osi/os/WIN32/osdTime.cpp
2011-11-10 17:34:47 -07:00
Jeff Hill
652235ef13
fixed LP Bug #697517 , WIN32 osdtime should handle the system time change properly
2011-11-10 17:22:22 -07:00
Jeff Hill
5b46eebe1a
fixed LP bug 697516, PLL time adjustments fail if user sets system time before EPICS epoch
2011-11-10 14:52:22 -07:00
Jeff Hill
a252218e69
fixed launchpad bug 697519 (rollover time diff calc off by two ticks)
2011-11-10 14:03:01 -07:00
Andrew Johnson
fae5bbcf86
cap5: Don't try to process POD on Win32
2011-11-10 13:29:33 -06:00
Andrew Johnson
a0c1c0fb15
makeBaseApp: Remove local duplicates of library functions
...
Replace the buggy local copies of the functions UnixPath(),
LocalPath(), readRelease() and expandRelease() with the
library versions from our EPICS::Path and EPICS::Release
perl modules.
2011-11-08 17:51:19 -06:00
Andrew Johnson
bb14c6594b
Win32: Fix for lp:861214
2011-11-08 15:57:15 -06:00
Andrew Johnson
0dfbd460e1
configure: Fix potential parallel build issue
...
When creating files in ../O.Common it is eesential to use atomic
file replacement rather than deleting the old file and creating
a new one in its place, because two or three architectures could
be being built in parallel which might interfere.
This commit also ensures that .dbd.d files are constructed
properly when using 'make -s'; $(ECHO) does nothing then.
2011-11-08 13:23:25 -06:00
Andrew Johnson
b36b07db9e
Clean up some compiler warnings reported by J. Lewis Muir.
2011-11-07 11:58:09 -06:00
Andrew Johnson
ee95f0c4b7
catools: Fix array handling in caget and camonitor.
...
Fixes lp:794749
2011-11-02 11:26:29 -05:00
Andrew Johnson
d72b4a3c1e
Fix install problems when using parallel builds.
...
If two targets using the same OS are built in parallel,
they can both try to install the same include/os/* file
at the same time, causing the installEpics.pl script to
die. We fix this by making all installations atomic:
First copy the file to the installation directory using
a unique name, then rename it to the target name. The
target name is in the same directory and filesystem as
the temporary name, so the rename should be atomic.
2011-10-28 13:19:08 -05:00
Andrew Johnson
21b4acfa86
ca: Remove anonymous namespace from acctstRegister.cpp
...
The 3.14 branch still supports vxWorks 5.4.2 whose compiler
doesn't contain any namespace support.
2011-10-19 17:36:21 -05:00
Jeff Hill johill@lanl.gov
96cad82a2a
o fixed launchpad epics base bug 878372
...
o fixed launchpad epics base bug 878387
o added regression test for bug 878372
o build the optional test and diagnostic codes for all (not just vxWorks) IOCs
o added acctstRegister optional IOC shell registration for regression tests
2011-10-19 12:07:00 -06:00
Andrew Johnson
d088d4b664
configure: Correct INSTALL_DBDFLAGS and INSTALL_DBFLAGS
...
fixes lp:861627
2011-09-28 15:33:22 -05:00
Andrew Johnson
6cb9a3f7c1
iocInit: Added some database sanity checks to iocIInit
...
Two menus can get modified by users; these checks make sure they
haven't been damaged too much:
* menuConvert is checked to flag problems with IOCs converted from
3.13.x, where the SLOPE choice didn't exist.
* menuScan is checked to ensure the three initial choices are still
present and that there is at least one periodic scan rate.
2011-09-26 16:42:15 -05:00
Till Straumann
6c4164d953
libCom: Second fix for RT thread priority
...
The previous fix prevented epicsThreads from working properly when
the RT scheduler is *not* used.
fixes lp:835138
2011-09-21 09:55:52 -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
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
Jeff Hill
83e5247ed4
workaround for non-standard vxWorks 5.5.2 gnu compiler
2011-09-08 17:57:14 -06:00
Till Straumann
f203e9a48b
libCom: Fix OS priority mapping on Posix
...
Fixes lp:835138
2011-08-30 14:47:31 -05:00
Ralph Lange
14e7111e72
catools: Fixed caget (w/o -c) always fetching max. array count
2011-08-25 17:41:53 +02:00
Till Straumann
2b65025d93
RTEMS: Time registration when dynamically loading
...
The old test for discriminating between statically and dynamically
linked applications (os/RTEMS/osdTime.cpp:staticTimeRegister()) is
wrong, it never detects a dynamically loaded app.
fixes lp:831648
-------------- This line and the following will be ignored
--------------
modified:
src/libCom/osi/os/RTEMS/osdTime.cpp
2011-08-23 13:20:00 -05:00
Andrew Johnson
2b4edba8f3
Update copyright names and dates in LICENSE file.
2011-08-17 15:14:10 -05:00
Andrew Johnson
35b72b60fb
shutdown: Lock records during dbCa link cleanup
...
CA links in records were being removed without locking them first.
We also now set the link type to CONSTANT, which prevents some
assertion failures if the record gets processed again before the
IOC finally dies.
2011-08-17 15:08:10 -05:00
Janet Anderson
d286a81ef0
configure: Remove T_A=* from MAKEFLAGS before findstring s in ECHO def.
2011-08-09 11:39:00 -05:00
Ralph Lange
bc4a7854ec
libCom: Explicitly use namespace std for size_t declaration in epicsSingleton.h
...
This fixes a compile error that occurs in new gcc versions (since ~4.6.1)
2011-08-08 18:31:19 +02:00
Janet Anderson
f59825a462
Added HDEPENDS_METHOD override for cross builds
2011-08-05 12:02:30 -05:00
Janet Anderson
7783f0044b
Added commented changes from Eric Norum to build with CLANG
2011-07-27 16:08:02 -05:00
Jeff Hill
1b9ca756cc
Changed repeaterTimerNotify interface implementation into a nested class of udpiiu so that we dont use multiple inheritance, and therefore hopefully avoid code generation problems with certain versions of g++ on MacOSX (I cant reproduce this problem on any ofthe machines here)
2011-07-26 16:23:34 -06:00
Jeff Hill
f9f8d1150c
fixed spelling and formatting nits
2011-07-26 10:40:37 -06:00
Andrew Johnson
e71785edf6
libCom/devLib: Make unsolicitedHandlerEPICS() visible
...
This symbol is required to be visible on non-PowerPC (68k) vxWorks
systems for devInterruptInUseVME() to recognize interrupt vectors
that the devDisconnectInterruptVME() routine has marked as not used.
2011-07-21 16:10:50 -05:00
Andrew Johnson
a367e4be95
tools: use AbsPath() instead of abs_path() in checkRelease
...
abs_path() dies for dirs that don't exist.
2011-07-13 10:38:13 -05:00
Michael Davidsaver
a80bd1a630
libCom: Avoid race in errlog shutdown.
...
A rare race during shutdown. The contenders are the log thread
coming out of its loop and calling errlogCleanup(), and the
exitHandler signaling waitForWork.
This solution is to move cleanup completely into exitHandler,
which already waits for the log thread to exit.
2011-07-08 11:18:00 -05:00
Andrew Johnson
515712c0e7
startup: Fix host arch for 64-bit darwin kernels
...
"uname -m" returns x86_86 on those machines, which we weren't expecting.
2011-06-27 15:09:54 -05:00
Andrew Johnson
2fb7df8548
libCom: __attribute__((deprecated)) not in gcc 2.x
...
Only apply this attribute for gcc 3 and later.
2011-06-20 13:52:32 -05:00
Andrew Johnson
4448a5501a
Document recent commits.
2011-06-10 16:23:02 -05:00
Andrew Johnson
dafb7d5d4c
configure: Stop make displaying COMMENT lines...
2011-06-10 16:21:52 -05:00
Andrew Johnson
5343b836b8
configure: Reorganized the uninstall targets in RULES_TOP
...
Useful rules:
uninstall.<arch> - Remove bin & lib directories for <arch> only.
archuninstall - Remove bin & lib directories created by this hostarch.
realuninstall - Removes ALL install dirs
2011-06-10 16:17:41 -05:00
Andrew Johnson
d0423738d1
configure: Make the vxWorks macro expand to itself
...
This fixes a problem in .st sequence programs that do this:
%%#include <vxWorks.h>
The pre-processor was replacing the token since the line is not a
pre-processor directive (yet) and it doesn't appear inside "quotes".
NB: This will break any code that is incorrectly using
#if vxWorks
instead of
#ifdef vxWorks
2011-06-10 10:14:40 -05:00
Andrew Johnson
3bf5b21f57
tools: Improve makeDbDepends
...
Rewrite, add support for quotes around filenames in "file" statements.
2011-06-08 12:26:01 -05:00
Andrew Johnson
8d15407e2f
tools: Remove warning from newer versions of Perl.
...
Replace \1 with $1 in substitution strings.
2011-06-08 12:15:18 -05:00
Andrew Johnson
7560fb1bb1
rec/compress: Post monitors on NUSE field
...
Matt Pearson asked for NUSE monitors, so clients can track how
much data has been collected.
2011-06-08 11:16:26 -05:00
Andrew Johnson
445b5e473b
configure: Delete %.C (C++) build rule
...
Breaks build of %.c files on Windows with some versions of Make.
2011-06-07 09:52:54 -05:00
Andrew Johnson
f18b435cf6
configure: Replace REM with perl -e ''
...
Another good idea from Ben Franksen...
2011-06-06 09:51:31 -05:00
unknown
5649e15842
ca: Remove unnecessary mutable qualifiers
...
These references are never actually "mutated", and break builds
with a recent C++ compiler.
Fixes lp:736273
2011-06-01 17:22:12 -05:00
unknown
43f58c990a
libCom: Only delete a timer queue when its ref count is 0.
...
Fixes lp:786979
2011-06-01 16:27:18 -05:00
Andrew Johnson
0dfc92f48d
util: Support logrotate with iocLogServer
...
Allow reopening of the same filename on receipt of a SIGHUP.
Requested by Lana Abadie at ITER.
2011-06-01 15:55:10 -05:00
Andrew Johnson
f1a646240b
configure: Fix 'make -s' on Windows
...
Use REM instead of '#' to disable @echo commands.
Thanks to Ben Franksen for the hint.
2011-06-01 15:11:05 -05:00
Andrew Johnson
ce0114418f
tools: Fix LocalPath on Cygwin
...
The LocalPath() function must not replace /cygdrive/x with x:
This used to be necessary when mixing win32 and cygwin tools,
but we tell users not to do that any more. This problem only
appears if the path to base starts with /cygdrive/x.
2011-05-23 16:34:58 -05:00
Andrew Johnson
342920b1db
R3.14.12.1-DEV
2011-04-26 15:37:21 -05:00
Andrew Johnson
ef0442b50d
R3.14.12.1
2011-04-26 15:36:19 -05:00
Andrew Johnson
c71093f47f
libCom/iocsh: Oops, allow NULL pathname.
2011-04-26 15:18:30 -05:00
Andrew Johnson
c11a31f549
libCom/iocsh: Set IOCSH_STARTUP_SCRIPT env var.
2011-04-26 14:57:26 -05:00
Andrew Johnson
ed0e3e60ed
RTEMS: Changes suggested by Kate Feng
...
* Added macros for configuring MBUF and CLUSTER space allocation
* More MBUF and CLUSTER space on mvme3100, mvme5500 and beatnik
* MVME5500: link with bspExt, use .elf extension like other BSPs
2011-04-26 12:44:46 -05:00
Andrew Johnson
0373da87ed
R3.14.12.1-rc1-DEV
2011-04-19 15:11:09 -05:00
Andrew Johnson
3c0cea0f38
R3.14.12.1-rc1
2011-04-19 15:09:57 -05:00
Andrew Johnson
4c7684aad1
Document 3.14.12.1 changes.
2011-04-19 15:05:36 -05:00
Andrew Johnson
6efd4be222
configure: Added vxWorks-ppc32-debug and vxWorks-ppc32sf-debug archs.
2011-04-19 15:02:47 -05:00
Andrew Johnson
1584f98e26
catools: Disable stdout buffering on Windows
...
Line buffering is not supported on Windows 7.
2011-04-19 14:21:38 -05:00
Janet Anderson
f3f2f23fbc
Updates for latest releases of os, Visual Studio, ...
2011-04-19 11:28:04 -05:00
Janet Anderson
5aeb325185
Updated for latest releases of os, Visual Studio, ...
2011-04-19 10:55:18 -05:00
Michael Davidsaver
2949f6650e
errlog: Flush messages before exit
...
When an exit is requested process all messages before exiting.
The atExit flag is set, so no new messages can be added to the buffer.
2011-04-12 18:12:52 -05:00
Janet Anderson
b472473ef1
Restored COMMON_DBS usage in DBDDEPENDS_FILES definition.
2011-04-11 15:47:40 -05:00
Andrew Johnson
8418aa059a
libCom/test: Suppress g++ build warnings from epicsCalcTest
...
Newer versions of gcc support #pragma GCC diagnostic
2011-04-07 17:25:02 -05:00
Andrew Johnson
1106bab73e
RTEMS: Use the new mount API to initialize TFTP.
2011-04-05 17:21:54 -05:00
Andrew Johnson
038ac0cd38
Fix some build issues with old Solaris C++ compiler.
...
src/libCom/test/epicsExceptionTest.cpp:
exThread needs a destructor
src/cas/generic/st/casStreamOS.cc:
Can't use inline as armSend already called
2011-04-05 16:08:49 -05:00
Andrew Johnson
8dea585dc2
FreeBSD update to osdSock.h from Gerrit Kuehn.
2011-04-05 12:32:39 -05:00
Andrew Johnson
fc6df7652d
Update iOS CONFIG files for iOS 4.3
2011-04-05 12:27:00 -05:00
Andrew Johnson
db89c1f463
Added generic PPC32 targets for vxWorks 6.
2011-04-05 12:12:47 -05:00
Andrew Johnson
c6e1787ff9
Solve C++ static initialization order problem.
...
Fixes lp:750549
2011-04-05 11:27:22 -05:00
Jeff Hill
0dab032751
avoid c++ static initialization order issues
2011-04-05 09:23:22 -06:00
Jeff Hill
4b780b1011
avoid c++ static initialization order issues
2011-04-04 17:50:49 -06:00
Jeff Hill
fc3e876d57
avoid c++ static initialization order issues
2011-04-04 17:29:51 -06:00
Andrew Johnson
f4528ff5e1
libCom: Fix msgbufGetNode() in errlog.c
...
Systems that generate large numbers of errlog messages or have a slow
message listener could overwrite older messages in the message buffer
after the buffer wraps. This also corrects and annotates the test
code to describe what's being checked.
2011-03-01 15:03:33 -06:00
Andrew Johnson
d73f466dbc
documentation: KnownProblems template
...
Modified the empty template file to include GNU Patch usage
instructions.
2011-02-28 17:26:24 -06:00
Andrew Johnson
3d056f63e4
configure: Added vxWorks-mpc8548 target (MVME4100)
...
Config files from Ernest Williams.
2011-02-15 16:19:26 -06:00
Jeff Hill
fd72cb63bf
libCom/WIN32: Merged Jeff's fix for bug 717252
...
o Fixed race condition where win32 thread parm was not pushed onto the
list before the thread was started, and so if the thread exits very
quickly it can try to remove a non-existent thread parameter from
the list.
o This impacts only win32.
2011-02-11 16:33:58 -06:00
Andrew Johnson
c698853394
libCom: Merged Jeff's epicsThread change.
...
When finished waiting for a thread to exit, signal the event in case
other threads are waiting also.
2011-02-11 15:04:04 -06:00
Andrew Johnson
22f1e8201f
libCom/WIN32: Merged Jeff's WIN32/osdThread changes
...
Fixed spelling and other cosmetic changes.
2011-02-11 15:01:39 -06:00
Andrew Johnson
b38127450e
libCom/WIN32: Merged Jeff's osdTime fix
...
Fixed last time compare in PLL drift factor update loop.
2011-02-11 14:59:35 -06:00
Andrew Johnson
fbcc7b4a0d
ca: Merged Jeff's tcpiiu changes
...
In disconnectAllChannels mark channels as unassigned to any list
because in some unusual situations (abrupt shutdown) the channels are
not immediately assigned to another list.
2011-02-11 14:55:04 -06:00
Jeff Hill
5a11866431
when finished waiting for a thread to exit, signal the event in case other threads are waiting also
2011-01-14 18:01:53 -07:00
Jeff Hill
253036c36c
o committing merge of r3.14 trunk change
...
o fixed spelling and other cosmetic changes
2011-01-14 18:00:02 -07:00
Jeff Hill
793639f4da
fixed last time compare in PLL drift factor update loop
2011-01-14 17:56:49 -07:00
Jeff Hill
a2c87268f5
in disconnectAllChannels mark channels as unassigned to any list because in some unusual situations (abrupt shutdown) the channels are not immediately assigned to another list
2011-01-14 17:53:33 -07:00
Jeff Hill
a52b995ca2
rsrv: Fixed large array element count bug
...
Reverted commit 12095.2.5 which introduced an incorrect optimization.
Fixes:701673
2011-01-13 16:21:31 -06:00
Jeff Hill
2af392a099
fix for bug 701673 at launchpad (wrong native element count for large arrays)
2011-01-12 15:41:33 -07:00
Michael Davidsaver
6170dc9406
libCom: Fix errlogPrintf() assert fail at shutdown
...
If errlogPrintf() gets called during shutdown, it can cause a
recursive assert failure.
Fixes lp:693534
2011-01-07 10:24:31 -06:00
Andrew Johnson
23daca46a1
tools: More back-slash escape fixes
...
Thanks to Stephen Norum for pointing most of these out and
testing the patch.
2010-12-16 17:02:15 -06:00
Andrew Johnson
f9ebe082ff
registry: Escape back-slashes in bldTop string literal on Win32.
2010-12-14 15:05:26 -06:00
Andrew Johnson
dc76951945
configure: Set EPICS_DEV_SNAPSHOT back to -DEV
2010-11-24 16:18:25 -06:00
Janet Anderson
253fd8109b
R3.14.12
2010-11-24 14:50:38 -06:00
Andrew Johnson
fd4b34be8f
docs: Added a couple more LP bug fixes to the Release Notes.
2010-11-24 14:35:35 -06:00
Andrew Johnson
23c7e64490
rec: Fix calc & calcout get_precision()
2010-11-24 13:35:04 -06:00
Ralph Lange
3ca705752a
catools: Fix help text for "-s" option (also in CA RefMan)
2010-11-24 13:31:47 -05:00
Andrew Johnson
2069889347
docs: Update notes and comments about readline settings.
2010-11-22 10:40:49 -06:00
Andrew Johnson
04085d340b
configure: Link with libdl on Solaris 8 and 9 (but not 10).
2010-11-19 16:38:46 -06:00
Andrew Johnson
bc7e87b961
RTEMS: Warning cleanups from Eric.
2010-11-17 16:30:32 -06:00
Andrew Johnson
81d155c98b
documentation: Fixed typos and enhanced Release Notes a little.
2010-11-17 13:31:32 -06:00
Andrew Johnson
512e14e4b7
documentation: Added links to the bugs marked Fix Committed in LP.
2010-11-15 18:02:46 -06:00
Andrew Johnson
c503a03f37
libCom/errlog: Clean up possible problem at shutdown.
...
Don't use epicsMutexMustLock() in msgbufGetFree().
When we're shutting down, the pvtData.msgQueueLock gets destroyed.
This makes msgbufGetFree() return NULL if the lock is dead.
The epicsMutexMustLock() routine asserts(), which recurses...
2010-11-15 15:46:40 -06:00
Janet Anderson
fb493a064c
R3.14.12-rc1-DEV
2010-11-15 14:28:03 -06:00
Janet Anderson
e406440316
R3.14.12-rc1
2010-11-15 13:59:06 -06:00
jba
94a48d23d0
Set HDEPENDS_METHOD to CMD which was overidden by CONFIG.gnuCommon.
2010-11-15 13:43:17 -06:00
jba
cf18208579
Added and removed include files.
2010-11-15 11:27:17 -06:00
Janet Anderson
7cf01b091b
Removed unneeded include line.
2010-11-15 10:31:16 -06:00
Janet Anderson
e1c1dd45a6
Added include lines for host build CONFIG_SITE files.
2010-11-14 19:49:17 -06:00
Janet Anderson
8e40be47a0
Removed VX_DIR definition- no longer works in CONFIG_SITE.*.Common files.
2010-11-14 19:29:53 -06:00
Andrew Johnson
9777c63e23
documentation: Paragraphs on epicsEvent and Cygwin support.
2010-11-12 16:48:21 -06:00
Andrew Johnson
18594e1a34
subArray: Bugfix, allow array puts to VAL
...
Fixed a bug reported by Michael Abbott, NORD goes -ve.
Modified soft channel support so when INP="" it extracts the relevent
sub-array of the existing VAL field; use an external put to set the
array. This lets the other records pull a series of values from the
record in sequence.
2010-11-12 16:09:09 -06:00
Janet Anderson
99e7e7727a
Provide a link-time path for readline directory.
...
Remove unneeded READLINE definitions from last commit.
2010-11-11 13:45:09 -06:00
Janet Anderson
adb201a048
Now RUNTIME_LDFLAGS is set here.
2010-11-11 13:43:53 -06:00
Janet Anderson
56ada25dd7
RUNTIME_LDFLAGS now set in CONFIG_COMMON. Use LINKER_USE_RPATH for
...
readline dir.
2010-11-11 13:41:03 -06:00
Janet
23bbe233f7
Moved COMMANDLINE to CONFIG_SITE.Common.win32-x86-mingw
2010-11-10 16:59:06 -06:00
Janet Anderson
c48fe29e89
Allow arm cross targets to use readline as command line library.
2010-11-10 12:02:20 -06:00
Andrew Johnson
b5c185877d
RTEMS: Allow for 64-bit compatibility in RTEMS 4.10.
2010-11-10 09:44:19 -06:00
Janet Anderson
b82db48335
Use win32-x86 values for default values.
2010-11-09 15:37:08 -06:00
Janet Anderson
da8ae994e4
Initial version.
2010-11-09 15:12:20 -06:00
Janet Anderson
8d2cd8b96c
Updated to match extensions/configure.
2010-11-09 14:55:13 -06:00
Janet Anderson
91631919e5
Minor changes.
2010-11-09 08:32:36 -06:00
Janet Anderson
181c4e126a
Added includes for CONFIG_SITE files for hostarch.
2010-11-08 08:18:58 -06:00
Janet Anderson
32ebff1881
Removed OPT flag lines which are same as gnu compiler build defaults.
2010-11-08 08:16:12 -06:00
Ralph Lange
e65253f8b9
ca: Minor fix in CA Reference Manual
2010-11-05 15:57:34 -04:00
Ralph Lange
3398950f9d
ca: Added chapter about firewalls to CA Reference Manual
2010-11-05 15:41:39 -04:00
Andrew Johnson
2477bf52e6
libCom: Cygwin socket unblocking again...
...
It helps to include the cygwin header file that
actually has the version number in it...
2010-11-04 14:24:13 -05:00
Andrew Johnson
e7179fc289
libCom: Fix cygwin socket shutdown issue.
...
Cygwin 1.7 changed the socket shutdown method from BothShutdown
to Close. This fix looks at the cygwin version to work out what
value to return from esscimqi().
2010-11-04 13:30:44 -05:00
Jeff Hill
f340b3e153
o removed -O3 from mingw debug builds (so the issues below are reproduced on mingw)
...
o gnu compiler for windows doesnt support well dll exporting individual functions from a class
in debug builds so I switched to exporting the entire interface class in several places
o fixed several places in ca lib where include of epicsTimer.h wasnt properly ifdef'd so
that it is imported by ca header files
--- these issues were already fixed on cvs main trunk ---
2010-11-04 10:19:54 -06:00
Andrew Johnson
b4d7b6f851
Merged Jeff's fix for Bug 667384
...
This commit was needed to reorder the commit history so that everyone
else's commits since 2010-09-27 remain on the mainline.
2010-11-01 18:07:15 -05:00
Jeff Hill
36175b1368
merged in R3.14.12
2010-11-01 15:15:51 -06:00
Jeff Hill
e372a83096
neglected to unlock on error return path
2010-11-01 15:01:04 -06:00
Jeff Hill
3ad06eb0a3
fixed request and response bytes amount was revered in printf
2010-11-01 15:00:02 -06:00
Janet Anderson
93c39c86f7
Added includes for host's CONFIG_SITE files. Changed all to -include.
2010-11-01 14:35:49 -05:00
Andrew Johnson
46b912bc16
cas: Workaround for vxWorks-ppc604 compiler issue.
2010-10-29 12:15:48 -05:00
Andrew Johnson
1e6464cdc4
libCom/test: Various improvements.
...
Made epicsThreadOnceTest more deterministic, replacing an
epicsThreadSleep() with epicsEventMustWait(), and added a diagnostic
message before running the thread recurse test.
Eric added a series of checks to epicsEventTest.cpp which ensure that
epicsEventSignal() only wakes one waiting thread.
2010-10-29 11:58:44 -05:00
Janet Anderson
c84c3d49ad
R3.14.12-pre2-DEV
2010-10-27 17:05:43 -05:00
Janet Anderson
4f98ae3955
R3.14.12-pre2
2010-10-27 16:48:09 -05:00
Andrew Johnson
2bb3074fab
db: Fix db_get_field() on an empty array field.
...
This fixes a bug introduced with the dynamic-array branch.
The new version of db_get_field() was using the dbr_size_n() macro to
calculate the offset to the start of the buffer area to be zeroed, but
when nRequest is zero this gives the wrong result; the dbr_ structures
always contain at least one value element, and dbr_size_n() thus has
to include that in its size calculation.
2010-10-27 13:26:56 -05:00
Andrew Johnson
a5d4572691
catools: Build on all archs except vxWorks and RTEMS.
...
Was only building on HOST, now does cross-builds too.
2010-10-27 10:30:41 -05:00
Janet Anderson
143fef7508
Modified test for _MINGW and _TIMESPEC_DEFINED.
2010-10-26 16:48:40 -05:00
Janet Anderson
87e670f5ca
Added ifdef around timespec definition for MinGW build.
2010-10-26 16:25:30 -05:00
Janet Anderson
b326097bed
Initial version. Has commented lines for new MinGW_w32 compiler version.
2010-10-26 15:42:31 -05:00
Janet Anderson
f68e14d20a
Added windows-x64-debug under debugging builds in comment lines.
2010-10-26 15:00:48 -05:00
Janet Anderson
a395b85277
Initial version.
2010-10-26 14:59:02 -05:00
Andrew Johnson
6ec71f56d0
configure: Use := variable to set EPICS_HOST_ARCH if undefined.
...
Performance on Cygwin when using ?= is glacial...
2010-10-26 14:56:42 -05:00
Andrew Johnson
03539b05a4
libCom/test: run epicsMutexTest loops a fixed number of times.
...
Windows sometimes managed to run an extra loop before this change.
2010-10-26 11:45:13 -05:00
Andrew Johnson
41b9b9cb07
documentation: Various updates...
...
Removed the Converting... files for older releases
No known problems yet.
Updated README.html and regenerated README.1st from it.
Added windows-x64 target to the Release notes.
2010-10-26 10:49:26 -05:00
Andrew Johnson
af48ed31c3
tools: Need search path for uninstalled modules too.
...
This fixes the perl compilation failures of fullPathName.pl
that occur before the src/tools directory has been built, and
ensures that the other tools that use EPICS modules also work.
2010-10-26 09:27:47 -05:00
Andrew Johnson
01ae98d118
Corrected/deleted WIND_HOST_TYPE to only hosts that WRS supports.
2010-10-25 14:23:56 -05:00
Andrew Johnson
66864fcb23
libCom/osi: More NTP time quality checking.
...
Reject NTP timespec values before the EPICS epoch.
2010-10-22 17:34:13 -05:00
jba
2957fdcaf7
Changed (DWORD*) to (const ULONG_PTR*) to avoid windows-x64 debug build
...
error.
2010-10-22 17:08:41 -05:00
jba
c7b9ea9b3b
Added single quotes in shell cmd to preserve backslashes.
2010-10-22 17:02:40 -05:00
Janet Anderson
a3234c9130
Set CYGWIN_RPC_LIB by using cygwin version to determine rpc lib name.
2010-10-22 09:33:44 -05:00
Janet Anderson
2a3a92504c
Added missing USR_LDFLAGS to DLL link line.
2010-10-21 15:06:11 -05:00
Janet Anderson
daccdf86b5
Updated the supported architecture comments.
2010-10-21 15:02:11 -05:00
Andrew Johnson
cb3d6e3cde
Configure EPICS_TIMEZONE for 2011 DST dates
...
3.14.12 will come out about a week before the 2010 US time change
and just a few days before the EU change, so it makes sense to set
it up for the 2011 dates.
Added information about DST dates up to 2015.
2010-10-20 15:01:06 -05:00
Andrew Johnson
f1a00dd667
libCom/osi: Warn if NTP time stops or decreases.
...
Add warnings if the NTP time provider sees NTP time stopping or going
backwards. Should never happen, but...
2010-10-20 11:44:48 -05:00
Ralph Lange
3df265103d
libcom/osd/rtems: Fix by M. Davidsaver to use an epheremal receiver port for the NTP synchronization.
2010-10-20 10:35:51 -04:00
Andrew Johnson
62f603d820
tools: Drop EPICS_HOST_ARCH variable in checkRelease.
...
On Win32 abs_path() fails if the path given doesn't exist.
2010-10-18 11:35:28 -05:00
Andrew Johnson
ed916cd1b3
Delete osf-alpha target (and host) support, no longer working or needed at KEK.
2010-10-14 14:01:40 -05:00
Andrew Johnson
2d4e4deb60
doc: Discuss ARCH_CLASS settings.
2010-10-13 11:21:17 -05:00
Andrew Johnson
a5a038957f
configure/os: Add the missing darwin architecture combinations.
2010-10-12 15:25:56 -05:00
Andrew Johnson
89af645ba9
Oops, s/dbTools/dbtools/.
2010-10-12 10:37:23 -05:00
Andrew Johnson
862425caa0
Missing dependency fixed, misc needs dbTools
...
- from Michael Davdisaver
2010-10-12 09:39:55 -05:00
Andrew Johnson
6f8c946d76
libCom: Recognize -pre and -rc in version snapshot.
2010-10-08 15:17:55 -05:00
Janet Anderson
dcd0fabe3b
R3.14.12-pre1-DEV
2010-10-08 14:16:56 -05:00
Janet Anderson
dd1cbf504b
R3.14.12-pre1
2010-10-08 14:07:08 -05:00
Andrew Johnson
5760b1247b
Added release notes for the capr.pl script.
2010-10-07 17:30:49 -05:00
Andrew Johnson
970d3bbdc5
Updated release notes for calc-size changes.
2010-10-07 14:54:17 -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
0bacce77df
Merged the keywords branch.
...
* Updated the ReleaseChecklist document for Bazaar
* Replaced all RCS $Id$ and $header$ keywords with $Revision-Id$
as supported by the Bazaar Keywords plug-in
* Changed a few names in CONFIG_BASE_VERSION and epicsVersion.h
* Removed various extraneous keywords and non-ASCII characters
2010-10-07 11:51:22 -05:00
Andrew Johnson
2a692c996d
Keywords: s/Release-Id/Revision-Id/
2010-10-06 12:17:25 -05:00
Andrew Johnson
2c80b54110
docs: Replaced non-ascii space characters.
2010-10-06 11:41:49 -05:00
Andrew Johnson
5a41f3a0b9
RTEMS: Added parentheses to the exampleBoot st.cmd@RTEMS file.
2010-10-06 10:54:31 -05:00
Andrew Johnson
cf22d9cedd
Missed a $Log$ keyword.
2010-10-05 16:48:06 -05:00
Andrew Johnson
d4bf5ec2d7
RTEMS: Added parentheses around command arguments for CEXP.
...
In particular the generated cdCommands file, and the lines in
the st.cmd@RTEMS file template.
2010-10-05 16:02:09 -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
5d17059cb1
libCom: Changes to epicsVersion.h generation
...
Use DEV instead of CVS in names.
Lower-case the -rc<n> status strings.
Rename CVS_DATE to COMMIT_DATE.
No Bazaar equivalent to the CVS tag $Name$ exists.
Modernize and "use strict" in the Perl code.
2010-10-05 13:33:35 -05:00
Andrew Johnson
64771c1708
doc: Updated checklist.
...
Rewrote commands for Bazaar and modified tag formats.
Added steps for updating Launchpad.
2010-10-04 16:51:59 -05:00
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
Michael Abbott
ee4a615caa
Client side support for automatic resizing arrays.
...
In this commit the channel access client is modified to allow a zero
size request in a caget or camonitor call. This is passed through to
the corresponding CA_PROTO_READ_NOTIFY or CA_PROTO_EVENT__ADD message,
but only if the minor version of the protocol is >=13.
This commit also adds a new protocol test, CA_V413(), which detects a
server which claims to understand the new zero length request.
Finally, this commit prepares for a subtle change in the CA protocol.
A request for a zero length subscription or data request, which will
only be made for protocol version 4.13 and above, is interpreted as a
request for autosized data, where the intrinsic dynamic length of the
requested waveform should be returned.
With the synchronous ca_array_get() call there is no mechanism available
to pass back the size of the retrieved data if it is different from
the requested count, so the simplest thing is to ensure we don't
request autosizing data through this api.
2010-08-11 17:35:23 -05:00
Michael Abbott
e54b631b8d
Guard memset in camessage.c to prevent wild memory overrun if mismatch
...
between payload and data size.
2010-08-11 16:49:46 -05:00
Michael Abbott
9d9ba1a442
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 16:42:44 -05:00
Michael Abbott
30f0871c2b
Drive-by refactoring in caserverio.c
...
Minor refactoring of code block in cas_copy_in_header() to gather
common header code.
2010-08-11 16:41:15 -05:00
Michael Abbott
aa23ab63f1
Add autosizing array support for caget and camonitor.
2010-08-11 16:39:52 -05:00
Michael Abbott
e87bbef75c
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 16:38:49 -05:00
Michael Abbott
a0c0c55347
Client side support for automatic resizing arrays.
...
In this commit the channel access client is modified to allow a zero
size request in a caget or camonitor call. This is passed through to
the corresponding CA_PROTO_READ_NOTIFY or CA_PROTO_EVENT__ADD message,
but only if the minor version of the protocol is >=13.
This commit also adds a new protocol test, CA_V413(), which detects a
server which claims to understand the new zero length request.
Finally, this commit prepares for a subtle change in the CA protocol.
A request for a zero length subscription or data request, which will
only be made for protocol version 4.13 and above, is interpreted as a
request for autosized data, where the intrinsic dynamic length of the
requested waveform should be returned.
With the synchronous ca_array_get() call there is no mechanism available
to pass back the size of the retrieved data if it is different from
the requested count, so the simplest thing is to ensure we don't
request autosizing data through this api.
2010-08-11 16:22:54 -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
Ralph Lange
0e4ff4f939
Fix: Made all RULES.Db rules use $*.tmp style names for temporary files (fixes lp:615916) [configure/RULES.Db]
2010-08-11 10:42:26 -04:00
Andrew Johnson
a02984f2ea
Release notes for the CA-over-TCP branch.
2010-08-10 16:19:57 -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
c2693f5687
Applied vxWorks 6.x patches, cleanup.
2010-07-29 15:02:34 -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
49a7483c7a
Add RTEMS R4.10 support
2010-07-23 09:26:29 -07: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
1815c0fda9
Use /LTCG for non shared libraries if HOST_OPT is YES.
2010-07-12 14:58:30 -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
Janet Anderson
14d2e95bcf
Run EpicsHostArch.pl if EPICS_HOST_ARCH is not set.
2010-07-09 16:16:24 -05:00
Janet Anderson
1245a007b7
Added comments about implementing os specific dbd files.
2010-07-09 16:11:50 -05:00
Janet Anderson
cff7171831
Change for parallel builds when running multiple msi commands.
2010-07-09 16:02:41 -05:00
Janet Anderson
1e0f2ae79f
Added LINKER_USE_RPATH option.
2010-07-09 15:53:58 -05:00
Janet Anderson
1d5250c023
Modified comments.
2010-07-09 15:38:16 -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
8038f73316
Reformatted release note entry.
2010-07-08 13:00:43 -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
78fc4cbcf7
Merged fix-cpp-keywords branch that fixes bugs #595240 , #595242
2010-06-21 17:00:35 -04: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
Dirk Zimoch
595345a80f
release notes updated
2010-05-28 02:59:16 -07:00
Dirk Zimoch
87081ed7e3
removed temporary debug messages
2010-05-27 08:31:13 -07:00
Ronaldo Mercado
d93b28dab2
Fixes problems when the string to print contains '$'
2010-05-27 16:26:43 +01:00
Ronaldo Mercado
a24f6371ac
Removes complaints when the string to print has dollars.
2010-05-27 16:24:09 +01:00
Nick Rees
08f2e5c41f
Added automatic generation of testspec to RULES_BUILD
2010-05-27 16:21:32 +01:00
Dirk Zimoch
6960d4e5a4
hash based value change monitor added (like in waveform)
2010-05-27 07:45:21 -07:00
Dirk Zimoch
1691de69ba
NORD/NELM issues fixed
2010-05-27 07:44:03 -07:00
Nick Rees
31790737e4
Added Andrews changes to RULES_BUILD to generate a hint file for the runner
2010-05-27 15:36:52 +01:00
Dirk Zimoch
dd04abbc1c
added aai/aao soft support
2010-05-27 06:23:07 -07:00
Dirk Zimoch
f6035fd823
fixed simulation mode, buffer allocation during initialization, corruption of NELM
2010-05-27 06:22:35 -07:00
Dirk Zimoch
c4d0f1eb44
fixed simulation mode, buffer allocation during initialization, corruption of NELM
2010-05-27 06:22:15 -07:00
Ronaldo Mercado
5ad3391be2
create test cases from I02 beamline
2010-05-27 14:03:17 +01:00
Ronaldo Mercado
6776233778
parser patch - look for opening bracket too
2010-05-27 11:55:12 +01:00
Ronaldo Mercado
ba42c501df
Simplistic solution to parser problems
2010-05-27 11:52:21 +01:00
unknown
8337b5063d
Fix NULL handle issue
2010-05-27 05:47:07 -05:00
Michael Davidsaver
7d3986664e
fix typo in rtems internal function names
...
Not externally visible so no reason not to fix
2010-05-27 09:35:29 +01:00
Ronaldo Mercado
d9f168527e
Modifications based on review comments.
...
<base>/dbd/softIoc.dbd adopted as a default under $EPICS_BASE/dbd/softIoc.dbd
Default CAPR_DBD_FILE becomes EPICS_CAPR_DBD_FILE
Clearer validation and default assignment for interest level ($ARGV[1])
Removed mapping of DBFs that were still using "ezca" labels.
Double quotes around channel names. Tested with ai, calc and mbbo records.
Tested DBF_ULONG fields on mbbo records.
Fixed problem when displaying hex char.
2010-05-27 09:34:02 +01:00
Ronaldo Mercado
07d51b65b2
consistently use double quotes
2010-05-26 23:49:21 +01:00
Ronaldo Mercado
31931330a8
removing ezca strings mapping
2010-05-26 23:20:36 +01:00
Michael Davidsaver
eaf07d4f05
copyright boilerplate for devLibVME
2010-05-26 17:17:26 +01:00
Ronaldo Mercado
ee36fb23a6
Help added
2010-05-26 00:12:23 +01:00
Ronaldo Mercado
ce4ba8bbaf
Help or capr.pl
2010-05-26 00:10:06 +01:00
Ronaldo Mercado
b45e6b818e
renaming variables and cleaning-up
2010-05-25 23:13:47 +01:00
Ronaldo Mercado
30a58e4d4c
Default interest level, clean up
...
Removing one-parameter caget.
Interest level zero if not specified
2010-05-25 22:59:17 +01:00
Ronaldo Mercado
5dc869bbcc
Require default dbd
2010-05-25 22:44:58 +01:00
Ronaldo Mercado
5aef97fced
Improved caget
...
parallel_caget implemented following caget.pl example
2010-05-25 22:33:13 +01:00
Ronaldo Mercado
c6255ef0ac
removing diagnostics
2010-05-25 22:23:22 +01:00
Ronaldo Mercado
18a63f8754
re-organizing print out and diagnostics
2010-05-25 22:20:18 +01:00
Ronaldo Mercado
408721daec
Install capr.pl
...
Parallel caget
2010-05-25 21:44:38 +01:00
Ronaldo Mercado
797d263f04
Comment removed
2010-05-25 21:00:43 +01:00
Andrew Johnson
6ed0fdf9fd
Merged Kukhee Kim's dbl fix
2010-05-25 11:17:57 -05:00
Kukhee Kim
fa564fbfdf
BUG 572589: Make dbl emit empty strings for non-existent fields
2010-05-25 07:57:49 -07:00
Michael Davidsaver
43f5cfed7e
[PATCH 12/12] add entry to release notes
2010-05-25 13:58:53 +01:00
Michael Davidsaver
a161e42e82
[PATCH 11/12] remove unimplimented PCI api
2010-05-25 13:58:52 +01:00
Michael Davidsaver
c1142675b6
[PATCH 10/12] move general macros and error codes to devLib.h
...
includes devLibVME.h for compatibility
2010-05-25 13:58:51 +01:00
Michael Davidsaver
50bcef9c63
[PATCH 09/12] rename vme pointer table
2010-05-25 13:58:50 +01:00
Michael Davidsaver
000c98dbaa
[PATCH 08/12] fix includes
2010-05-25 13:58:50 +01:00
Michael Davidsaver
4a3b4358c3
[PATCH 07/12] rename devLib to devLibVME
2010-05-25 13:58:49 +01:00
Michael Davidsaver
46ec38756b
[PATCH 06/12] use epics extern macro
2010-05-25 13:58:46 +01:00
Michael Davidsaver
e21cde013d
[PATCH 05/12] reorganize devLib.h
...
Group functions by bus type with general functions at the top
add macro to exclude deprecated api
2010-05-25 13:58:45 +01:00
Michael Davidsaver
83adda7e6c
[PATCH 04/12] move "virtual os" definition to a seperate file
...
The virtual os table is not something ordinary devLib users
should know or care about.
2010-05-25 13:58:44 +01:00
Michael Davidsaver
ad8cd28f7d
[PATCH 03/12] mark all implimentation functions as static
2010-05-25 13:58:43 +01:00
Michael Davidsaver
acb905fcfc
[PATCH 02/12] add devInterruptInUseVME to function table
...
Add test for interrupt handler function to the virtual os table.
Adds a stub implementation to devLib.c
Renames OS implementations functions for RTEMS and vxWorks to avoid symbol name conflicts
2010-05-25 13:58:43 +01:00
Michael Davidsaver
62d035c310
[PATCH 01/12] add jumping VME interrupt routines to independent implementation
...
Adds implementations which use the virtual os table to invoke the
OS specific call.
rename conflicting functions
2010-05-25 13:58:42 +01:00
Ronaldo Mercado
99605c85fa
relocating library refs within base
2010-05-25 11:14:50 +01:00
Ronaldo Mercado
ca3138e617
Adding capr.pl
2010-05-25 10:34:14 +01:00
Andrew Johnson
498ef7075e
Fix missing parallel build dependency.
...
Ron Sluiter pointed out that gdd/dbMapper.h includes db_access.h so
gdd has to be built after ca, simplifying the cas dependency too.
2010-05-19 14:46:09 -05:00
Andrew Johnson
6790acf78f
Fix for hang from Ron Sluiter.
2010-05-18 16:12:36 -05:00
Andrew Johnson
6eb36e1224
Fix build on Windows.
2010-05-18 16:10:07 -05:00
Andrew Johnson
6b64304570
Optimize epicsThreadOnce() routines.
...
Don't call epicsThreadGetIdSelf() unnecessarily, check for the value
EPICS_THREAD_ONCE_DONE first, since that's the most common state.
2010-05-14 17:26:54 -05:00
Andrew Johnson
6cd22d4efe
Don't call errlogPrintf() in epicsThreadGetOsiPriorityValue()
...
This is a partial fix of a WIN32-only problem Mark Rivers reported.
A WIN32 thread created by a manufacturer's library is used to call one
of his callback routines, which tries to use an epics facility that has
an epicsThreadOnce(). The new version of epicsThreadOnce() uses
epicsThreadGetIdSelf() to detect recursive initialization; the thread
doesn't have an epicsThreadId yet, so epicsThreadImplicitCreate() is
asked to make one. It calls epicsThreadGetOsiPriorityValue(), but
osdPriority is 15 which is not known by that code, so it reports an
error by calling errlogPrintf(). That checks epicsThreadIsOkToBlock()
which calls epicsThreadOnce() but that needs our epicsThreadId...
This doesn't solve the issue of the unknown osdPriority value 15
(priorityClass = 32), but it allows the IOC to continue working with
just a warning message at init time.
It also points out that calling epicsThreadGetIdSelf() every time we
check an epicsThreadOnce() is probably not good for performance.
2010-05-14 16:49:32 -05:00
Ralph Lange
0666207393
Removed comment about ellfree @Windows in udpiiu.cpp (suggested by Jeff).
2010-05-14 09:34:40 -04: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
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
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
Michael Davidsaver
b63e381fbe
rec: update last/prev./old value fields after dset init_record
...
This must be done if init_record is allowed to change values
or monitors may not be posted when values change.
2010-04-05 14:49:18 -04:00
Ralph Lange
6518adf901
Merged Ralph Lange's 'compress-fix' branch.
2010-04-02 18:03:24 -04:00
Andrew Johnson
c3b19955f5
Merged Michael Davidsaver's 'minor-fixes' branch.
2010-04-02 16:51:04 -05:00
Ralph Lange
c6cf442abd
Fixed crash when ALG (algorithm) was changed to Average at runtime. ( Fixes #552803 )
2010-04-02 17:26:17 -04:00
Andrew Johnson
e56d4c2337
The monitor last value field needs to be initialized.
...
Device support init_record is allowed to set VAL to 1.
If uninitialized then mlst is 0.
During the first process() this will miss a monitor if VAL is changed to 0,
and cause a spurious monitor if VAL remains 1.
- mdavidsaver
2010-03-24 13:21:38 -05:00
Michael Davidsaver
356ee58927
use osi epicsMath.h
2010-03-24 13:17:41 -04:00
Michael Davidsaver
cadbcb43a2
use C++ name make.h
2010-03-24 11:34:00 -04:00
Michael Davidsaver
77d09de2c4
quiet compiler warning
2010-03-16 21:09:53 -04:00
Michael Davidsaver
d9a9a1f6ad
remove unused iocRegister stub
2010-03-16 21:09:53 -04:00
Michael Davidsaver
75a15809fa
epicsTimer: check that delay time is finite
2010-03-16 21:09:52 -04:00
Michael Davidsaver
4fb5c60493
softIoc: extra dep for generated header
...
This is needed to make the initial build work.
2010-03-16 21:09:52 -04:00
Michael Davidsaver
244796bbaa
remove STATIC
2010-03-16 21:09:51 -04:00
Michael Davidsaver
36980c5a1a
doc: note for dbScanLock
2010-03-16 21:09:51 -04:00
Andrew Johnson
3b0036b389
Improve code readablity, add more numeric tests.
2010-03-09 10:49:21 -06:00
Andrew Johnson
7fcc0b7411
Merge DST changes.
2010-03-08 17:36:18 -06:00
Andrew Johnson
526cfdc9e7
Warn if the IOC's TOP changed since building.
...
If the IOC's registerRecordDeviceDriver routine sees a different path
to TOP than the one used at build-time, we tell the user.
2010-03-08 17:31:19 -06:00
Andrew Johnson
a782ed68b9
Fix UDF processing so we respect IVOA.
2010-03-01 13:19:43 -06:00
Andrew Johnson
4bad7073e1
J field should not be PP, to match others.
2010-03-01 13:17:11 -06:00
Andrew Johnson
cad49539ff
Correction: vxWorks 6.4 comes with nm in the workbench bin directory.
2010-02-09 16:50:52 -06:00
Andrew Johnson
c29551f247
Rename the time provider name routines, don't rely on the #define.
2010-02-09 10:49:08 -06:00
Andrew Johnson
215bbed49c
Include standard headers before defining epicsExportSharedSymbols
2010-01-11 17:56:17 -06:00
Andrew Johnson
d7b97e49c8
Daylight savings time dates for 2010
2010-01-05 11:12:43 -06:00
Andrew Johnson
cb7e5d506d
Update timezone settings for 2010
2010-01-05 11:05:05 -06:00
Andrew Johnson
384c433eb3
Added .bzrignore file.
2009-12-23 15:08:53 -06:00
Andrew Johnson
1f414dd6b9
Ignore generated files and directories.
2009-12-23 15:06:44 -06:00
Andrew Johnson
f8e95a001b
Ensure EPICS_HOST_ARCH is defined.
...
Added support for := and ?= assignments.
Warn when include files not found.
2009-12-22 23:55:02 +00:00
Andrew Johnson
023cf2c548
Added redirection support for puts() and putchar().
2009-12-22 23:47:19 +00:00
Andrew Johnson
b55cad9c16
Disable "redo last put on reconnection" for STRING writing to ENUM.
2009-12-22 23:43:52 +00:00
Andrew Johnson
be538cfe1f
Flag adjustments, from someone who has one...
2009-12-22 23:36:56 +00:00
Andrew Johnson
6ccdb6eba6
Only calculate RELEASE_TOPS once.
2009-12-22 23:29:05 +00:00
Andrew Johnson
fd5773a3fc
ESHUTDOWN is not in FreeBSD and hence not in RTEMS.
2009-12-22 17:43:25 +00:00
Janet B. Anderson
182f97ca0a
Initial version.
2009-12-21 20:44:19 +00:00
Janet B. Anderson
68b62dd4b3
Add rule to create depends file in O.<T_A> dir. Simplify Makefile.
2009-12-21 19:45:12 +00:00
Janet B. Anderson
fcd6906fb8
Use global -TP flag instead of -Tp on compile line for each source file.
2009-12-21 19:41:27 +00:00
Janet B. Anderson
16e1d46c57
Added include line for CONFIG_SITE file overrides.
2009-12-21 19:29:29 +00:00
Janet B. Anderson
0c92267f1e
Build both Host and Ioc targets during a cross build.
2009-12-21 19:28:02 +00:00
Janet B. Anderson
3e2d9a3af4
Create depends files in O.<T_A> directory.
2009-12-21 19:25:27 +00:00
Ralph Lange
0cce3c2a79
Added catools change to release notes
2009-12-15 22:50:43 +00:00
Ralph Lange
bf5e456e2b
Added doc for new DBE_PROPERTY flag in CA Reference Manual
2009-12-15 22:42:57 +00:00
Ralph Lange
c8470a2473
Added -l.. commandline options to catools (by Stephanie Allison)
2009-12-15 22:05:55 +00:00
Andrew Johnson
aeec8ffca2
s/registerFunction.h/registryFunction.h/
2009-12-04 21:37:59 +00:00
Janet B. Anderson
421ec4478c
Added nm directory definition for vxWorks 6.7.
2009-12-01 19:31:37 +00:00
Janet B. Anderson
23e4635d17
Added VX_GNU_VERSION_6.7 definition.
...
For v6.7, added "-DBSD=44" to get correct network interface structure.
2009-12-01 15:51:41 +00:00
Janet B. Anderson
cec444b83c
Use hdepends command to generate header file dependancies for Darwin
...
because Darwin has multiple -arch compiler flags.
2009-11-25 18:24:09 +00:00
Janet B. Anderson
c09b0cba32
Remove extra RANLIB command after installation of archive libraries.
2009-11-25 17:41:55 +00:00
Janet B. Anderson
d04e20e91b
Remove SOURCE_C*FLAG definitions. Use COMPILER_C*FLAGS instead.
2009-11-25 17:36:27 +00:00
Janet B. Anderson
7c6afa76a4
Use compiler flags for header dependency file generation when possible.
2009-11-25 17:26:51 +00:00
Janet B. Anderson
d4afa2528d
Use compiler flags for header dependency file generation when possible.
2009-11-25 17:15:47 +00:00
Janet B. Anderson
99bd16d7e6
LIB_PERMISSIONS and INSTALL_PERMISSIONS set to 444.
2009-11-20 19:04:38 +00:00
Janet B. Anderson
2395f18487
Fix for build of iocBoot/ioc* directories.
2009-11-19 15:17:50 +00:00
Andrew Johnson
d0466179b0
dbNameToAddr() needs to adjust paddr->field_size when a $ modifier is used.
2009-11-18 16:55:04 +00:00
Andrew Johnson
e83182e812
Don't use -r for testing the existance of optional files; it doesn't
...
always work on Cygwin, and causes much head-scratching. Better to let
the open die with an error if the file exists but is unreadable.
2009-11-12 17:28:23 +00:00
Janet B. Anderson
f40f33fa8b
Made realclean a double colon rule.
2009-10-19 16:12:15 +00:00
Janet B. Anderson
9ecfb6355c
Updated for windows-x64 builds.
2009-10-13 15:54:39 +00:00
Andrew Johnson
b8ccd30d77
Make certain that long strings are zero-terminated.
...
Allow subscriptions of length zero, means native size.
2009-10-05 20:31:12 +00:00
Andrew Johnson
be1b5c6390
Make it easier to select which if any curses library to link with for readline.
2009-09-29 19:00:49 +00:00
Andrew Johnson
b8a2e64601
Added a couple of COMMANDLINE_LIBRARY synonyms for READLINE
2009-09-29 18:58:04 +00:00
Janet B. Anderson
b378bfef0b
Added wildcard to make testing for lib easier - ifneq ($(XXX_LIB),)
2009-09-24 19:12:01 +00:00
Andrew Johnson
e6c56bc99d
Check INSTALL_LOCATION builds.
2009-09-22 14:55:27 +00:00
Andrew Johnson
4a9d928578
Close h4 tag.
2009-09-22 14:54:51 +00:00
Janet B. Anderson
8cbe6500a6
Allow $(BUILD_ARCHS) $(actionArchTargets) $(cleanArchTargets) in make cmd.
2009-09-18 14:41:57 +00:00
Janet B. Anderson
a7a89fb045
Removed 64 bit files. We will use darwin compiler default.
2009-09-11 20:42:39 +00:00
Jeff Hill
d24c66f83d
fix for mantis 366
2009-09-11 00:49:02 +00:00
Janet B. Anderson
99566ee098
Initial version.
2009-09-10 20:40:15 +00:00
Andrew Johnson
516fe25556
Must run makeInstallDir.pl from the INSTALL_BIN directory so it can
...
find our libraries when INSTALL_LOCATION is set.
2009-09-02 16:09:04 +00:00
Jeff Hill
dfb29b258b
added warning comment about need to unref newly created gdd before
...
installing into smart pointer
2009-08-31 23:21:37 +00:00
Jeff Hill
955e9cd4d1
improved test id in diag message
2009-08-31 19:47:58 +00:00
Jeff Hill
3fe4def288
monitorAddConnectionCallbackTest test was too specific -
...
we shouldnt test for exactly two subscription updates when
more than two is sufficent
2009-08-28 23:28:29 +00:00
Andrew Johnson
490d5db2f8
Missed an -RC1.
2009-08-28 19:18:12 +00:00
Andrew Johnson
b2e92aadf1
Removed ellFree() comment, we reverted the API.
2009-08-28 19:13:03 +00:00
Janet B. Anderson
29fe94f62d
Set EPICS_CVS_SNAPSHOT to -CVS.
2009-08-28 19:07:11 +00:00
Janet B. Anderson
7c136fc07d
R3.14.11
2009-08-28 18:49:40 +00:00
Andrew Johnson
534ca2c86e
Make ellFree() a 1-argument macro, calls ellFree2() with free as freeFunc.
2009-08-28 18:34:38 +00:00
Andrew Johnson
f17ac39f29
Disable divide by zero warnings on MSVC when generating NAN and INF.
...
Use those values rather than calculating them independently.
2009-08-25 18:19:49 +00:00
Jeff Hill
a4e5e540a9
added \n to printf diagnostic
2009-08-25 15:45:20 +00:00
Jeff Hill
33911cd0af
improved failure diagnostic
2009-08-25 14:50:11 +00:00
Andrew Johnson
1607d2a192
ellFree() and Win32 time provider.
2009-08-24 20:55:31 +00:00
Jeff Hill
140b8a468d
we dont need tocheck the return from new with assert
2009-08-24 17:09:55 +00:00
Jeff Hill
d84e9cb3ec
exp passed to assert must not change the state of the data structures
2009-08-24 17:08:41 +00:00
Jeff Hill
fa24d119dd
use verify instead of assert (in tests)
2009-08-24 17:07:03 +00:00
Jeff Hill
4921187178
use verify instead of assert
2009-08-24 17:04:40 +00:00
Jeff Hill
794811b95a
exp passed to assert must not change the state of the data structures
2009-08-24 17:03:17 +00:00
Jeff Hill
aa904449c0
we dont need tocheck the return from new with assert
2009-08-24 17:01:21 +00:00
Andrew Johnson
1c95101ae1
Fixed Till's report of non-thread-safe lazy-init.
2009-08-21 17:32:13 +00:00
Janet B. Anderson
0961378465
Revert to -CVS for snapshots.
2009-08-21 15:48:28 +00:00
Janet B. Anderson
7655e7859d
R3.14.11-RC1
2009-08-21 15:41:28 +00:00
Andrew Johnson
bbc0899423
RC1
2009-08-21 15:34:02 +00:00
Andrew Johnson
3afade09e6
Fixed epicsCalcTest issue, but epicsMutexTest can still run too long.
2009-08-21 15:32:01 +00:00
Andrew Johnson
c28520bea6
Adjust test 66 so it doesn't fail if the gcc optimizer result gives -1 but
...
glibc returns +1. Both are correct, gcc is following a newer standard.
2009-08-21 14:49:01 +00:00
Andrew Johnson
bd4784a858
Added Mantis 361.
2009-08-21 14:38:01 +00:00
Jeff Hill
8c2278784c
fixed mantis 361
2009-08-21 00:53:55 +00:00
Andrew Johnson
2caf1a4f50
Janet's Build Dependency note.
2009-08-20 22:59:10 +00:00
Jeff Hill
1fba8dd866
improved fdManagerVerify progress diagnostics
2009-08-20 22:29:53 +00:00
Andrew Johnson
87eace1bd4
Fix for solaris compiler complaint about ambiguity of 'exception'.
2009-08-18 19:26:37 +00:00
Jeff Hill
db3a655374
fixed improper calculation of signal needed state in postEvent
...
(this is an issue I introduced when writing the patch where IO
and subscription update events are maintained on seperate
and independent queues). The issue does not exist in an
EPICS base release.
2009-08-18 00:40:00 +00:00
Jeff Hill
8ae0c8960f
corrected spelling in message
2009-08-18 00:36:22 +00:00
Jeff Hill
ec26c0dc52
o track number of async read and writes independently
...
o when the last async write occurs, check to see if a value
is cached and write it immediately (instead of waiting for
aync io object's ctor to run. This allows the regression
tests to pass.
2009-08-18 00:32:48 +00:00
Andrew Johnson
ea539fceb6
Corrected Mantis bug number.
2009-08-17 17:51:43 +00:00
Jeff Hill
782ff1b303
improved create channel unexpected exception diagnostic
2009-08-14 19:12:50 +00:00
Jeff Hill
2fb6b2100f
improved test diagnostic
2009-08-14 17:44:33 +00:00
Jeff Hill
0012042a5e
accomodate archaic vxWorks gnu compiler
2009-08-14 17:31:34 +00:00
Jeff Hill
e0d16659e1
improved TCP circuit creation failure exception diagnostics
2009-08-14 16:57:48 +00:00
Jeff Hill
8303cf053b
improved VC creation failure exception diagnostics
2009-08-14 16:56:31 +00:00
Jeff Hill
78fc566dc4
improved thread creation failure exception diagnostics
2009-08-14 16:54:45 +00:00
Jeff Hill
3961c81740
added additional R3.14.11 ca fixes
2009-08-14 00:56:08 +00:00
Jeff Hill
0fdda3f794
back out prev change
2009-08-14 00:29:56 +00:00
Jeff Hill
9802e6c629
cosmetic
2009-08-14 00:24:32 +00:00
Jeff Hill
547c5d06ea
improved the maint of the asych io count in off normal situations
2009-08-14 00:24:09 +00:00
Jeff Hill
50ddd62502
o always arm the send independent of how many messages are placed
...
in the out buf. The send will not arm if the out buf is empty
o when receiving the io blocked state notify callback always reactivate the
receive if space is available
2009-08-13 23:55:03 +00:00
Jeff Hill
9fc48c9a6b
always arm the send independent of how many messages are placed
...
in the out buf. The send will not arm if the out buf is empty.
2009-08-13 23:51:40 +00:00
Jeff Hill
e4075da4d7
o added new ioQue so the server will not wedge one of its clients
...
when simultaneouly in flow control mode and also asynchronous io
postponed mode.
o simplified the status from the process func because callers should
not need to know how many messages have been sent
2009-08-13 23:49:59 +00:00
Jeff Hill
8ace886cfe
o added new ioQue so the server will not wedge one of its clients
...
when simultaneouly in flow control mode and also asynchronous io
postponed mode.
o simplified the status from the process func because callers should
not need to know how many messages have been sent
2009-08-13 23:42:37 +00:00
Jeff Hill
6c61c0de34
signal the io blocked list each time that server centric async io completes
2009-08-13 23:38:41 +00:00
Jeff Hill
e581e88223
simplified the return from eventSysProcess because callers should not need to
...
know how many messages were sent
2009-08-13 23:37:30 +00:00
Jeff Hill
f4cbdec5ee
removed io blocked list signal because the base class does not
...
know if the blocked list is with the pv or the server
2009-08-13 23:32:18 +00:00
Jeff Hill
b344841365
fixed the following issues with detection of flow control mode
...
o the flow control contig frame thresh should be based on max array size
o it appears that the wakeup mechanism for the send thread, who sends
the flow control on/off messages was broken
o looking at full buffers isnt a perfect detection scheme compared to
the simpler approach of just checking to see if bytes are pending in
the socket before calling recv
2009-08-13 23:29:02 +00:00
Jeff Hill
b867dabad0
cache the client ctx ref prior to calling callback in case they delete the
...
channel in the callback
2009-08-13 22:46:47 +00:00
Jeff Hill
0cea525682
destroy putCallback prior to calling callback in case they delete the
...
channel in the callback
2009-08-13 22:44:30 +00:00
Jeff Hill
2df7da052a
destroy getCallback prior to calling callback in case they delete the
...
channel in the callback
2009-08-13 22:43:21 +00:00
Jeff Hill
59b820d2f5
added missing epicsShareExtern
2009-08-13 22:42:05 +00:00
Jeff Hill
3fda8dc2b0
added test failure diagnostic
2009-08-13 22:40:02 +00:00
Andrew Johnson
3a335c88f0
Move Jeff's notes to the top.
2009-08-13 16:06:59 +00:00
Jeff Hill
44a6e9a005
added SEVCHK string
2009-08-12 00:37:10 +00:00
Jeff Hill
1f129d3739
added bullet under mantis 329 for R3.14.11
2009-08-10 23:20:59 +00:00
Jeff Hill
720236ed39
added CA, PCA, and some libCom fixes for R3.14.11
2009-08-10 22:51:09 +00:00
Jeff Hill
57c9f9344f
improved show function
2009-08-10 21:51:07 +00:00
Andrew Johnson
64cb41f489
$(SHRLIB_PREFIX) $(LIB_PREFIX) mismatch
2009-08-10 21:50:11 +00:00
Jeff Hill
6fe047731f
added shjow func to epicsThread class
2009-08-10 21:48:50 +00:00
Jeff Hill
56c4c92588
improved show diagnostic
2009-08-10 21:41:59 +00:00
Andrew Johnson
562db1e24c
Application configure files.
2009-08-10 21:15:27 +00:00
Janet B. Anderson
1b70afa54b
Moved ECHO definition to preceed 'ifdef T_A' defines.
2009-08-10 16:49:55 +00:00
Janet B. Anderson
f316b4ca81
Change echo macro back to @echo. We never want to comment help messages.
2009-08-10 16:41:28 +00:00
Andrew Johnson
6d8cfeef01
Explain the epicsCalcTest #66 failure on Linux.
2009-08-07 21:26:47 +00:00
Andrew Johnson
b1b72e8cf0
updated comment text
2009-08-07 20:24:53 +00:00
Andrew Johnson
cde59e262b
gpHash argument change.
2009-08-07 15:53:28 +00:00
Jeff Hill
40b6d1b0ba
moved IO pending count to caServer
2009-08-06 02:24:00 +00:00
Jeff Hill
4464cfedaa
fixed warning message
2009-08-06 01:36:56 +00:00
Jeff Hill
b9fbf2e45b
fixed error code numbering
2009-08-06 01:36:30 +00:00
Jeff Hill
42ce1bd2db
o reset pendingResponseStatus, reqPayloadNeedsByteSwap,
...
responseIsPending, and pValueRead whenever removing a
message from the stream
o eliminated error prone reuse of status variables
o dont allow service to postpone IO when no IO is pending against the target
o be extra careful not to do things twice when send blocked or IO postponed
2009-08-06 00:06:59 +00:00
Jeff Hill
7de356519d
o added pValueRead gdd snart pointer
...
o payloadNeedsByteSwap renamed to reqPayloadNeedsByteSwap
o added issuePosponeWhenNonePendingWarning static func
2009-08-05 23:58:40 +00:00
Jeff Hill
ff5ca5e041
added ioIsPending func
2009-08-05 23:56:26 +00:00
Jeff Hill
d1bb71809b
added S_cas_posponeWhenNonePending status
2009-08-05 23:56:01 +00:00
Jeff Hill
7a49a17d1b
removed unused template instantiation
2009-08-04 23:32:32 +00:00
Jeff Hill
7cf77b40e6
updated the example to implement casPV::writeNotify implementing similar semantics to an IOC
2009-08-04 23:31:13 +00:00
Andrew Johnson
e387c06f59
STATIC_ASSERT().
2009-08-04 19:51:19 +00:00
Andrew Johnson
c035566d7d
Use compile-time assertions, from Micheal Davidsaver.
2009-08-04 19:10:30 +00:00
Andrew Johnson
57e5406684
Added STATIC_ASSERT macro.
...
Removed assert() definition for pre-ANSI C compilers.
2009-08-04 19:07:07 +00:00
Jeff Hill
b4948b4ff6
fixed missing space in command line help string
2009-08-04 17:50:56 +00:00
Andrew Johnson
15f6b8c682
Update dbDefs.h changes.
2009-08-04 17:11:02 +00:00
Andrew Johnson
4868904839
Added CONTAINER macro, from Micheal Davidsaver (BNL).
2009-08-04 16:31:06 +00:00
Andrew Johnson
1a2fa1bc86
Some cleanup, mostly spacing.
2009-08-03 22:22:45 +00:00
Jeff Hill
e3a61ce4e4
fix for mantis 358
2009-08-03 22:09:52 +00:00
Andrew Johnson
efdee3c31a
Escaping doesn't work on all Win32 platform combinations.
...
Removed -e option again.
2009-08-03 22:03:33 +00:00
Andrew Johnson
ee44663d89
errSymFind() removal.
2009-08-03 17:14:25 +00:00
Andrew Johnson
90db5a4ab0
Deleted test code which was moved to libCom/test some time ago.
2009-08-03 17:13:04 +00:00
Jeff Hill
72dbaa8a0f
auto-adjust iterations for payload size
2009-07-31 23:26:16 +00:00
Jeff Hill
458689a252
fixed formating
2009-07-31 22:12:32 +00:00
Jeff Hill
0daf347ef3
fixed incorrect Mbps calc based on rounded payload size
2009-07-31 22:01:53 +00:00
Jeff Hill
e32d8d77dc
fixed gnu compiler issues
2009-07-31 21:43:03 +00:00
Jeff Hill
ffe7823c22
report send and recv Mbps independently to better understand fullduplex ethernet bw
2009-07-31 21:23:26 +00:00
Jeff Hill
913f724ebf
fix for mantis 357
2009-07-31 19:47:46 +00:00
Andrew Johnson
4e5fa9b6b3
Reverted patch that added architecture-specific compiler flags,
...
Micheal Abbott didn't like it.
2009-07-31 17:38:27 +00:00
Andrew Johnson
a6b0ffebca
Fixed build issue.
2009-07-31 16:46:12 +00:00
Jeff Hill
7246366222
fixed gnu warning
2009-07-31 15:52:32 +00:00
Jeff Hill
191668023b
independent of whether receive bytes are pending or not. This improves
...
event latency, and allows events to flow if we are blocked due to the
service postponing an IO operation. This was a bug fix.
o call processMessage directly from the IO completion callback
that restarts when in an IO postponement state. This makes the logic easier
to understand and maintain, but isnt a functional change
o call processMessage directly from the receive callback.
This makes the logic easier to understand and maintain, but isnt
a functional change
o call processMessage directly from the send callback.
This makes the logic easier to understand and maintain, but isnt
a functional change
o removed the eventFlush function
2009-07-31 00:47:56 +00:00
Jeff Hill
7a23b74a76
o when processing subscription update events, always activate the send
...
independent of whether receive bytes are pending or not. This improves
event latency, and allows events to flow if we are blocked due to the
service postponing an IO operation. This was a bug fix.
o when finishing processing input activate a send if more than one half
of the TCP buffering would be used. In the past the send was not activated
until either the send buffer was full or the receive buffer (including any
bytes waiting in the socket) was empty. This could cause latency and
performance issues because send receive piplining would not occur if they
have very large buffers due to a large EPICS_CA_MAX_ARRAY_SIZE.
o always activate a send if we enter a service is postponing IO state. Users
would probably prefer to receive past responses and not wait until the
postponed IO initiates.
o casStrmClient::inBufBytesAvailable renamed to
casStrmClient:: inBufBytesPending reflecting the fact that we nlonger use
a socket ioctl to check how many bytes are pending in the sockets
input queue
o casStrmClient::outBufBytesPresent renamed to
casStrmClient::outBufBytesPending for consistency with inBufBytesPending
o removed the eventFlush function
o removed sendBlocked flag
o call processMessage directly from the IO completion callback
that restarts when in an IO postponement state. This makes the logic easier
to understand and maintain, but isnt a functional change
o call processMessage directly from the receive callback.
This makes the logic easier to understand and maintain, but isnt
a functional change
o call processMessage directly from the send callback.
This makes the logic easier to understand and maintain, but isnt
a functional change
2009-07-31 00:41:34 +00:00
Jeff Hill
511d818d18
o removed sendBlocked flag
...
o removed processInput function
o removed eventFlush function
o made casStreamIOWakeup and casStreamEvWakeup friends
2009-07-31 00:00:42 +00:00
Jeff Hill
f8565139c2
o removed sendBlocked flag
...
o removed processInput function
o removed eventFlush function
o made casDGEvWakeup, casDGIOWakeup, and
casStreamEvWakeup friends
2009-07-30 23:54:18 +00:00
Jeff Hill
30a02b365f
incomingBytesPresent renamed to inCircuitBytesPending but this
...
function isnt currently used
2009-07-30 23:51:48 +00:00
Jeff Hill
b4bc931c72
incomingBytesPresent renamed to dgInBytesPending, but this function
...
is not currently used
2009-07-30 23:50:45 +00:00
Jeff Hill
e5d3815280
o removed bytesAvailable member function from inBuf because
...
we nolonger check the bytes in the socket with an ioctl
o removed incomingBytesPresent virtual function from inBufClient interface
because we nolonger check the bytes in the socket with an ioctl
2009-07-30 23:48:43 +00:00
Jeff Hill
ebd65e6e34
added an assert test
2009-07-30 23:45:14 +00:00
Jeff Hill
8c45eb4a19
o casStrmClient::inBufBytesAvailable renamed to
...
casStrmClient:: inBufBytesPending reflecting the fact that we nlonger use
a socket ioctl to check how many bytes are pending in the sockets
input queue
o casStrmClient::outBufBytesPresent renamed to
casStrmClient::outBufBytesPending for consistency with inBufBytesPending
2009-07-30 23:43:21 +00:00
Jeff Hill
e1bb171f44
o casStrmClient::inBufBytesAvailable renamed to
...
casStrmClient:: inBufBytesPending reflecting the fact that we nlonger use
a socket ioctl to check how many bytes are pending in the sockets
input queue
o casStrmClient::outBufBytesPresent renamed to
casStrmClient::outBufBytesPending for consistency with inBufBytesPending
o in casStrmClient :: processMsg () I forced status to S_cas_success at a couple
of loop exits. There is probably not a bug because the variable is initialized to
this value and the loop termintaes if the status isnt this value nevertheless
the corrected code is more robust to future changes.
o fixed a benign issue in casStrmClient :: processMsg () where if the user
sends a message to big for EPICS_MAX_ARRAY_SIZE and there is
currently no room in the output buffer then the user will not receive
a diagnostic message. With the patch the message will be sent later once
there is space.
2009-07-30 23:42:15 +00:00
Jeff Hill
656c2462d3
o casDGClient::inBufBytesAvailable renamed to
...
casDGClient :: inBufBytesPending reflecting the fact that we nlonger use
a socket ioctl to check how many bytes are pending in the sockets
input queue
o casDGClient::outBufBytesPresent renamed to
casDGClient::outBufBytesPending for consistency with inBufBytesPending
2009-07-30 23:31:32 +00:00
Jeff Hill
f4ec20c8f0
casDGClient::inBufBytesAvailable renamed to
...
casDGClient :: inBufBytesPending reflecting the fact that we nlonger use
a socket ioctl to check how many bytes are pending in the sockets
input queue
2009-07-30 23:29:43 +00:00
Jeff Hill
72e1dba496
o no need to allocate or initialize one more fd_set than is used
...
(not a bug but messy)
o added optimization where we only check as many registered fd's
on the list as select tells us are active in its status
o added code to clear all of the fd_set if select returns an error
(in practice this would not cause a bug other than some extra activity
that would immediately self terminate when it clear the flag in the fd_set,
and also we dont see the error message printed when select returns an error)
2009-07-30 23:21:19 +00:00
Jeff Hill
001b947702
added more excas options
2009-07-30 23:09:54 +00:00
Jeff Hill
c0d4317ade
fixed broken test
2009-07-30 23:08:34 +00:00
Jeff Hill
290ec3e22c
adjustable asyn delay, adjustable max simult io, added variables
2009-07-30 22:53:51 +00:00
Jeff Hill
d6b887b363
adjustable asyn delay
2009-07-30 22:51:03 +00:00
W. Eric Norum
fbebea304b
Adapt to older versions of RTEMS.
2009-07-29 20:58:37 +00:00
Janet B. Anderson
dd1d2c10bd
Part 2 for Fix of echo problem.
2009-07-29 20:53:02 +00:00
Janet B. Anderson
d3e3137265
Fixed echo problem when using RULES.Db when T_A is not defined.
2009-07-29 19:06:32 +00:00
Jeff Hill
d764e7d4df
added "using namespace std"
2009-07-29 15:10:24 +00:00
W. Eric Norum
49ddec4294
Add cvtFastPerform to test harness.
2009-07-29 14:29:54 +00:00
Andrew Johnson
ce778819bd
Update comment; can't deprecate a published API!
2009-07-28 21:11:02 +00:00
Andrew Johnson
d5bffdb13d
Can't portably pass filesystem paths as command-line macros to C.
...
Generate a header file instead and include that.
2009-07-28 21:08:37 +00:00
Jeff Hill
ba11940aad
removed debug printf
2009-07-25 01:24:50 +00:00
Jeff Hill
8725e4a67a
removed debug printf
2009-07-25 01:23:18 +00:00
Jeff Hill
a6e57ba17a
proper data type for socklen_t
2009-07-25 01:16:20 +00:00
Jeff Hill
7d137254af
proper data type for socklen_t
2009-07-25 01:14:55 +00:00
Jeff Hill
31fb3775fd
improved knowledge of the circuit's buffer size
2009-07-25 01:04:14 +00:00
Jeff Hill
1ba658b452
improved diagnostics
2009-07-25 00:44:21 +00:00
Jeff Hill
6eb25148c5
simplified tcp send interactions
2009-07-25 00:43:28 +00:00
Jeff Hill
4ade695a60
upgraded to properly test array performance
2009-07-23 23:59:04 +00:00
Andrew Johnson
bea22985b6
Generate code to abort if no DBD file loaded yet.
2009-07-23 22:13:29 +00:00
W. Eric Norum
fd6d1ce69c
As reported by Michael Davidsaver.
...
Apparently the GeSys dynamic linker doesn't maintain C semantics.
I'm afraid that this behaviour is likely to cause lots of other problems,
but for now I'll apply the patch since it's harmless.
2009-07-23 21:04:27 +00:00
Jeff Hill
844ed6345a
test also numbers in -5 to 5 range
2009-07-23 17:32:33 +00:00
Jeff Hill
7315f02888
added cvtFastPerfotm test
2009-07-23 17:25:51 +00:00
Jeff Hill
1ba6da438b
partial fix for mantis 352
2009-07-23 00:23:17 +00:00
Andrew Johnson
c986597f1c
Reject breaktables with slope of zero.
2009-07-22 22:58:09 +00:00
Janet B. Anderson
38b81b44be
Fixed quoted string problem.
2009-07-22 20:41:09 +00:00
Andrew Johnson
8382eee11a
Need quotes here too for this to work on Windows.
2009-07-22 20:34:47 +00:00
Andrew Johnson
7d80ab72b0
Escape backslashes in fullPathName output.
2009-07-22 16:43:47 +00:00
Andrew Johnson
3d86367330
Added -e option to escape back-slashes in output.
2009-07-22 16:40:30 +00:00
Janet B. Anderson
16a6357ab4
Initial version.
2009-07-22 14:12:24 +00:00
Janet B. Anderson
f4bfc3928d
Fixed XDK definition for Exceed 12.0.
2009-07-21 17:56:55 +00:00
Janet B. Anderson
4282d3e9f4
Commented out XRTGRAPH definitions.
2009-07-21 17:26:34 +00:00
Janet B. Anderson
1e68d1f89b
Modified EPICS_EXTENSIONS and add OAG_APPS comments.
2009-07-21 17:12:15 +00:00
Janet B. Anderson
03b6345fe0
Fixed definitions of X11_LIB and X11_INC.
2009-07-21 17:11:02 +00:00
Janet B. Anderson
055bb953b9
Fixed definition of X11_INC.
2009-07-21 17:10:26 +00:00
Janet B. Anderson
01d223fafd
Updated file and directory sizes for R3.14.11.
2009-07-21 16:26:58 +00:00
Andrew Johnson
7665d1340c
Clean out old stuff.
2009-07-20 23:03:53 +00:00