Compare commits

..

2072 Commits

Author SHA1 Message Date
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
Jeff Hill
dfdbe57fd3 fix for mantis 350 2009-07-18 03:56:25 +00:00
Jeff Hill
0abb615d3a improved tests 2009-07-18 03:54:16 +00:00
Jeff Hill
02281f4d19 improved tests 2009-07-18 02:42:05 +00:00
Jeff Hill
f936104e47 improved tests 2009-07-18 02:33:42 +00:00
Jeff Hill
9f51464ea1 improved tests 2009-07-18 00:30:17 +00:00
Jeff Hill
f78b00d798 improved tests 2009-07-18 00:28:08 +00:00
Jeff Hill
a55e69113e fixed mantis 350 2009-07-17 23:50:07 +00:00
Jeff Hill
b6a22aa844 removed optimization which could make the ca client library
vulnerable if the following function indicates recv bytes are pending but
recv blocks anyways.

osiSockIoctl_t bytesPending = 0;
int status = socket_ioctl ( this->sock, FIONREAD, & bytesPending );
2009-07-17 21:33:18 +00:00
Jeff Hill
5b62da8229 fixed memory leak caused by previous revision (fixing compiler warnings) 2009-07-17 19:15:39 +00:00
Janet B. Anderson
8b9dc86233 Added GNU=NO. 2009-07-16 14:33:52 +00:00
Janet B. Anderson
4a898e6ed7 Changed $(MAKEBPT) to $(TOOLS)/makeBpt$(HOSTEXE) to fix win32-x86 build. 2009-07-15 21:15:56 +00:00
Jeff Hill
58a6493596 fixed command line arguments to follow standards 2009-07-14 23:26:10 +00:00
Jeff Hill
93809bd857 billy is nolonger an on-the-fly pv 2009-07-14 23:25:24 +00:00
Jeff Hill
90ed36c572 fix allows regression tests to work against async pv 2009-07-14 23:24:35 +00:00
Jeff Hill
9e49e0131f fix for mantis 348 2009-07-14 22:51:06 +00:00
Jeff Hill
d01e54bd34 documented excas 2009-07-14 22:41:23 +00:00
Jeff Hill
5c6975b24d improved tests 2009-07-14 22:41:08 +00:00
Jeff Hill
d7ae0fbce6 made lib more robust if server sends duplicate connect channel response 2009-07-14 22:39:41 +00:00
Jeff Hill
7d2be4f947 added comment 2009-07-14 22:37:41 +00:00
Janet B. Anderson
6fc8ac3c91 Removed BUILD_CLASS def. 2009-07-14 20:17:24 +00:00
Janet B. Anderson
6219ab5059 Added BUILD_CLASS=HOST. 2009-07-14 19:30:51 +00:00
Janet B. Anderson
2b8055672d Removed ECHO definition. 2009-07-13 21:28:30 +00:00
Janet B. Anderson
94301c8838 Set BUILD_CLASS=HOST and HOST_OPT=NO. 2009-07-13 21:27:38 +00:00
Janet B. Anderson
493085cb42 Added BUILD_CLASS and HOST_OPT definitions. 2009-07-13 21:18:13 +00:00
Janet B. Anderson
1a5bd98408 Added BUILD_CLASS and HOST_OPT definitions. 2009-07-13 21:00:44 +00:00
Janet B. Anderson
9d435693ab Added HOST_OPT and BUILD_CLASS definitions. 2009-07-13 20:56:33 +00:00
Janet B. Anderson
619d8aa541 Include linux-x86 file. 2009-07-13 20:55:13 +00:00
Janet B. Anderson
4848b0d1e1 Modified locations of OPT and BUILD_CLASS defintions. 2009-07-13 20:51:44 +00:00
Janet B. Anderson
7651d3f5ac Simplified cross debug build macro definitions. 2009-07-13 20:31:45 +00:00
Andrew Johnson
f5e287ae39 Perl CA and dbDefs.h 2009-07-10 23:19:53 +00:00
Janet B. Anderson
1c18e92da7 Removing seemingly unnecessary dependancy lines. 2009-07-10 22:00:18 +00:00
Janet B. Anderson
ae85d44190 Remove comment line. 2009-07-10 21:54:25 +00:00
Janet B. Anderson
83618673bc Executed host tools should be from EPICS_BASE_HOST_BIN directory. 2009-07-10 21:51:25 +00:00
Janet B. Anderson
d1bbd5037f Removed unneeded ECHO definition. 2009-07-10 14:42:09 +00:00
Janet B. Anderson
4c9fe7e0c0 Added linker options -h, -z text, -z defs to shrlib builds. 2009-07-09 21:53:27 +00:00
Janet B. Anderson
1235a1444b Added the -h (set internal name) link option to shrlib builds. 2009-07-09 21:52:32 +00:00
Andrew Johnson
3d717f4476 (M. Davidsaver): errnumlist was never initialized.
Removed long-deprecated errSymFind routine.
2009-07-09 20:11:02 +00:00
Jeff Hill
8655ea9e2a doc for excas 2009-07-09 18:43:17 +00:00
Andrew Johnson
0fb320c263 (M. Davidsaver): Use ELLLIST init macros. 2009-07-09 18:37:26 +00:00
Andrew Johnson
9663cd58f1 Fixed ELL*_INIT macros. 2009-07-09 17:51:17 +00:00
Andrew Johnson
039648824c Remove redundant macro definitions already defined in dbDefs.h
(M. Davidsaver)
2009-07-09 17:06:45 +00:00
Andrew Johnson
4e0ab97038 (M. Davidsaver): static keyword is part of C89,
remove all uses and internal definitions of LOCAL macro
2009-07-09 16:37:24 +00:00
Andrew Johnson
d7d0531394 offsetof is required by C89 (M. Davidsaver) 2009-07-09 16:19:57 +00:00
Andrew Johnson
d6fcbe14ab Cleaned up dbDefs.h and errMdef.h
Added various #include lines needed in other sources.
2009-07-09 15:27:43 +00:00
Andrew Johnson
710fc16aa4 Modified to build on Perl 5.8.4. 2009-07-09 14:54:41 +00:00
Janet B. Anderson
afbcfeaa02 Modified a comment line. 2009-07-09 14:50:15 +00:00
Jeff Hill
3e782f0220 test for mantis 285 2009-07-08 23:29:51 +00:00
Jeff Hill
7b52eaac73 test for mantis 346 2009-07-08 22:08:00 +00:00
Jeff Hill
42957877d9 fix for mantis 346 2009-07-08 21:43:38 +00:00
Andrew Johnson
245e9b5195 Added an END {} block and CA->context_destroy method for proper shutdown. 2009-07-08 21:33:01 +00:00
Andrew Johnson
bf39f9935c Cosmetic. 2009-07-08 19:08:22 +00:00
Andrew Johnson
70bf066ba9 Added ELLNODE_INIT and ELLLIST_INIT macros. 2009-07-08 19:04:22 +00:00
Andrew Johnson
a318ace551 Replaced YES and NO macros with their menuYesNo or menuSimm equivalents. 2009-07-08 18:14:11 +00:00
Jeff Hill
16f839ac12 regression test for mantis 284 2009-07-08 18:00:19 +00:00
Jeff Hill
cba3d9673d fix for mantis 284 2009-07-08 18:00:03 +00:00
Jeff Hill
162fa000c8 fix for compiler warnings in mantis 337 2009-07-07 23:54:41 +00:00
Jeff Hill
0e4891201e fix for compiler warnings in mantis 337 2009-07-07 23:47:38 +00:00
Jeff Hill
f7bfbf73f8 additional patches for memory leaks (see mantis 340) 2009-07-07 23:09:21 +00:00
Jeff Hill
6a2044cb01 added verifyContextRundownFlush 2009-07-07 21:39:43 +00:00
Jeff Hill
9f6e7a5cd7 fix for mantis 334 2009-07-07 20:05:39 +00:00
Andrew Johnson
47c6046eef Revised documentation a bit. 2009-07-07 15:56:16 +00:00
Andrew Johnson
eb800fd351 Use new provider registration function name. 2009-07-06 20:17:29 +00:00
Andrew Johnson
54928bf94f Added PINI values RUNNING and PAUSED. 2009-07-02 20:05:59 +00:00
Andrew Johnson
68dbf8addd Added PINI values RUNNING and PAUSED, needed for Asyn. 2009-07-02 20:05:32 +00:00
Andrew Johnson
2e38b09398 Tidy-up, deleted vxWorks-specific version (unnecessary),
added the task name to the printed assert message.
2009-07-02 19:49:11 +00:00
Jeff Hill
a2eb148726 removed extraneous line continuation 2009-07-01 22:28:41 +00:00
Jeff Hill
6129bfc8d5 fixed race condition gdd_NEWDEL_NEW macro 2009-07-01 22:19:53 +00:00
Jeff Hill
cc3245bf65 finished removal of epicsShareAPI (as I assume was intended) 2009-06-30 19:15:48 +00:00
Janet B. Anderson
c73dba8037 Fixed ECHO lines and added DBDFLAGS to DBTOMENUH command line. 2009-06-29 16:17:01 +00:00
Janet B. Anderson
813add592f Changed a comment line. 2009-06-26 20:59:33 +00:00
Janet B. Anderson
7ffcfd9bc0 Remove comment lines accidently committed. 2009-06-26 20:43:02 +00:00
Janet B. Anderson
c916b60c1d Created a ECHO macro and used it in the rules lines. 2009-06-26 20:37:22 +00:00
Andrew Johnson
f84e70487f Added long string support 2009-06-25 20:22:35 +00:00
Andrew Johnson
9aeb33a040 Added long strings, DBE_PROPERTY and -F option 2009-06-25 20:21:25 +00:00
Andrew Johnson
530929cd5a Cleanup 2009-06-25 20:16:00 +00:00
Andrew Johnson
81b1011d8c Added long string support, output structure types fully. 2009-06-25 20:04:28 +00:00
Andrew Johnson
0d1200ef0b Added long string support and DBE_PROPERTY. 2009-06-25 20:01:27 +00:00
Andrew Johnson
b98655b8f3 Moved checkRelease target rules into RULES_BUILD,
use CONFIG_TARGETS to only run in TOP/configure.
2009-06-24 19:33:57 +00:00
Andrew Johnson
1590358de4 Ignore any RULES value in the RELEASE files. 2009-06-24 19:27:33 +00:00
Andrew Johnson
c1c8c914db Moved RULES and CHECK_RELEASE settings, cleanup. 2009-06-24 19:25:16 +00:00
Janet B. Anderson
9bbe163f52 Moved CHECK_RELEASE definition to CONFIG_SITE. 2009-06-23 19:45:23 +00:00
Janet B. Anderson
f20ccc6c09 Moved the shared set of rules definition, RULES, to RELEASE. 2009-06-23 19:43:58 +00:00
Janet B. Anderson
d8586726a4 Tried to simplify library build rules. 2009-06-22 21:23:16 +00:00
Andrew Johnson
d84d198733 Initialize the errSym table as part of errlogInit rather than doing it
later in an error path, when we might have already run out of memory!
2009-06-19 18:24:22 +00:00
Jeff Hill
f2a96aec94 make sure and remove any UDP message remnants if there
is an exception in a UDP message handler stub
2009-06-16 17:45:35 +00:00
Andrew Johnson
957c869c87 Fix off-by-1 error in dbPutFieldLink() when checking long input string. 2009-06-15 22:30:27 +00:00
Andrew Johnson
3c19da6b3b Allow INP/OUT to be set if DSET is NULL. 2009-06-15 20:52:36 +00:00
Andrew Johnson
f32394e795 pdevLibVirtualOS needs epicsShareDef and explicitly setting to NULL,
but we can't do the latter in the os/default version.
2009-06-15 16:10:07 +00:00
Andrew Johnson
5d9317339f Removed function versions of macros, spacing cleanup. 2009-06-11 22:23:37 +00:00
Janet B. Anderson
bd57eb8c83 Added action.arch rules. 2009-06-10 20:54:59 +00:00
Andrew Johnson
5a5e2d8f74 Solve extended device support registration issue across shared libraries. 2009-06-10 20:19:32 +00:00
Janet B. Anderson
337f53c109 Allow "make <t_a>" builds. 2009-06-09 18:51:25 +00:00
Janet B. Anderson
aea3c3cc66 Fixed include file name CONFIG_SITE.darwinCommon.darwinCommon 2009-06-09 14:23:55 +00:00
Andrew Johnson
3b27446fbf ENUM string field sizes. 2009-06-08 20:02:56 +00:00
Andrew Johnson
cb0f8d5c72 Make all enum string fields the maximum size that CA can transport. 2009-06-08 19:55:49 +00:00
Andrew Johnson
a66a192ed5 Expand READONLY macro, deprecate. 2009-06-05 19:56:33 +00:00
Andrew Johnson
be6b1c4e31 Fix implicit declaration of isspace() 2009-06-05 19:16:31 +00:00
Andrew Johnson
4fc14d2dfb Fix slash. 2009-06-05 19:10:46 +00:00
Andrew Johnson
84d0a83ba3 More ANSIfication. 2009-06-05 19:07:24 +00:00
Janet B. Anderson
ebec683578 Bug fix from Michael Davidsaver at Brookhaven. 2009-06-05 16:02:26 +00:00
Andrew Johnson
f8e01c5536 SIGALARM stuff. 2009-06-05 15:52:07 +00:00
Andrew Johnson
9338d4ec59 Removed the guts of the SigAlarm code, which was only needed for HPUX
and on Linux breaks external libraries that use the Posix Timer API.
2009-06-04 21:31:39 +00:00
Janet B. Anderson
5ce69c7db0 Allow override of RTEMS_BASE asnd RTEMS_VERSION in other top dirs. 2009-06-04 18:29:33 +00:00
Andrew Johnson
8edbf9268c Fixed some compiler warnings. 2009-06-03 15:11:30 +00:00
Andrew Johnson
719a82590c Replace bzero() calls with memset(), fix Win32 issue. 2009-06-03 15:00:08 +00:00
Andrew Johnson
68bdaa899e Fixes to allow building on Solaris. Its <cxxx> headers are evidently not
quite drop-in C++ replacements for the <xxx.h> C versions.
2009-06-02 22:31:46 +00:00
Jeff Hill
a052ed56b2 EPICS_CA_BEACON _PERIOD wasnt listed as the default for EPICS_CAS_BEACON_PERIOD 2009-06-01 17:50:01 +00:00
Janet B. Anderson
a98ff64fb3 More updates for R3.14.11. 2009-05-26 21:38:02 +00:00
Jeff Hill
7653623e72 fixed potential memory leak in createDBRDD () 2009-05-13 21:14:17 +00:00
Jeff Hill
8d245ba595 added try/catch blocks so that we hopefully can bridge
periods where the new general time provides (unexpectedly
considering its advertised benfits) no time at all.
2009-05-11 22:50:06 +00:00
Jeff Hill
20bd4e9b23 fixed no try catch block for exceptions occurring when fetching the time to print a diagnostic message in the last chance exception handler. 2009-05-11 21:52:19 +00:00
Andrew Johnson
f1b1c6d105 Handle SOCK_EINTR without generating warnings. 2009-05-08 21:50:37 +00:00
Andrew Johnson
6c26a81d97 Make NTP request timeout a macro. 2009-05-07 19:35:34 +00:00
Janet B. Anderson
ef06015322 More updates for R3.14.11. 2009-05-07 16:51:04 +00:00
Janet B. Anderson
23072c0a64 Added GNU= NO
Added another include for site overrides.
2009-05-07 16:16:13 +00:00
Janet B. Anderson
9e6b077c7f Added another include for site overrides. 2009-05-07 16:14:41 +00:00
Janet B. Anderson
3b9ce581f0 Added include for CONFIG_SITE.$(EPICS_HOST_ARCH).linuxCommon overrides. 2009-05-07 16:00:16 +00:00
Andrew Johnson
01bd9f7ae0 Darwin universal binary config stuff. 2009-05-06 21:56:53 +00:00
Janet B. Anderson
f11d5ee101 SDK added to environment variables is done by vcvars32.bat. 2009-05-06 18:50:46 +00:00
Andrew Johnson
a695c4a45a Build universal binaries, allowing sites to configure what to include. 2009-05-06 17:25:01 +00:00
Janet B. Anderson
7adda5d417 Added HOST_OPT=NO 2009-05-06 15:31:09 +00:00
Janet B. Anderson
9747ef7bd6 Changed ARCH_CLASS to OS_CLASS. 2009-05-06 15:13:45 +00:00
Andrew Johnson
a187054e42 ARCH_CLASS => OS_CLASS 2009-05-05 22:01:16 +00:00
Janet B. Anderson
d023a46165 Removed include for CONFIG_SITE file. 2009-05-05 18:43:09 +00:00
Janet B. Anderson
a65c477bd1 Added include line for CONFIG_SITE file. 2009-05-05 16:31:59 +00:00
Andrew Johnson
381efb921c VMS, SGI too. 2009-05-05 15:42:12 +00:00
Andrew Johnson
1ea4b4414a Memory allocation checks from Micheal Davidsaver. 2009-05-05 15:35:05 +00:00
Andrew Johnson
8ee39f8cce Memory allocation checks. 2009-05-05 15:19:00 +00:00
Andrew Johnson
42f0106d48 Memory allocation checks. 2009-05-05 15:11:37 +00:00
Andrew Johnson
917e83e391 Use epicsStrDup for allocation check. 2009-05-05 15:02:35 +00:00
Janet B. Anderson
9e08d4d17a Updated for R3.14.11. 2009-05-04 21:46:29 +00:00
Andrew Johnson
cff8e62690 Removed vestigial VMS build script. 2009-05-04 14:48:05 +00:00
Andrew Johnson
9a2ce84718 Various cleanup and de-warning (although HOST_WARN is still NO). 2009-04-30 20:45:31 +00:00
Andrew Johnson
d8e85d242b Turned on warnings, fixed all issues (adding prototypes etc.)
Fixed memory leak in reader.c
2009-04-30 19:10:59 +00:00
Andrew Johnson
6e364ace47 Changed arg to dbCaCallbackProcess() to make it match dbCaCallback.
Removed matching unnecessary casts in softDev support routines.
2009-04-29 18:24:25 +00:00
Andrew Johnson
365389437c Removed epicsShareAPI decorator from all functions, to fix WIN32 problem
found by Mark Rivers: The dbCaCallback typename was not decorated, but the
functions being called through it apparently are.
2009-04-29 17:26:25 +00:00
Andrew Johnson
a32d3a57c6 Quiet compiler warnings about uninitialized values 2009-04-27 18:51:33 +00:00
Andrew Johnson
5f1106d060 Silence compiler warning 2009-04-27 18:42:20 +00:00
Andrew Johnson
03c82fa651 More ANSI C conversion 2009-04-27 18:31:50 +00:00
Janet B. Anderson
312c0f1203 Changed GNU make release number in comment lines 2009-04-27 16:08:50 +00:00
Andrew Johnson
c460eb410c Deleted HPUX support files. 2009-04-24 20:07:47 +00:00
Andrew Johnson
c03f26d84a Deleted hpux, no longer supported 2009-04-24 20:01:52 +00:00
Andrew Johnson
466317b23f We haven't supported VMS for YONKS... 2009-04-24 19:53:01 +00:00
Andrew Johnson
b8df15f6fa HPUX no longer supported. 2009-04-24 19:51:04 +00:00
Andrew Johnson
f626d80cf8 When did we ever support SGI? 2009-04-24 19:37:44 +00:00
Andrew Johnson
1fe93a927d The sun4 architecture was deleted long ago. 2009-04-24 19:35:06 +00:00
Andrew Johnson
6ea470d7d8 Deleted remaining references to sun4 (mostly in comments). 2009-04-24 19:31:57 +00:00
Andrew Johnson
39eaa0e335 Ansification (Michael Davidsaver) 2009-04-24 17:32:08 +00:00
Andrew Johnson
ecc300b8ff getsockopt wants socklen_t 2009-04-24 17:06:54 +00:00
Andrew Johnson
bff0841343 rtems_message_queue_receive expects size_t 2009-04-24 17:01:39 +00:00
Andrew Johnson
ae35ba28c5 missing header 2009-04-24 16:59:01 +00:00
Andrew Johnson
b05f1fe396 printf warning 2009-04-24 16:53:20 +00:00
Ralph Lange
a8a5668142 Fix: makeBaseExt uses EPICS_MBE_.... 2009-04-24 12:35:36 +00:00
Ralph Lange
28f70a28a1 Base path can be set through environment var EPICS_MBA_BASE. 2009-04-24 12:25:21 +00:00
Ralph Lange
e48308c850 Changed comment on version of GNU make needed. 2009-04-24 08:59:42 +00:00
Andrew Johnson
f7412f0c46 fix indentation and add missing calloc checks 2009-04-23 23:12:07 +00:00
Andrew Johnson
13f064fd7f Resource allocation checks missing 2009-04-23 22:28:44 +00:00
Andrew Johnson
f0652aa1b6 allocations MustSucceed 2009-04-23 22:19:46 +00:00
Andrew Johnson
f5f1c51b80 make dbMalloc and dbCalloc macros 2009-04-23 21:56:22 +00:00
Andrew Johnson
e7bb980257 initHooks, PINI and PHAS items. 2009-04-23 20:38:46 +00:00
Andrew Johnson
c13dc77564 Make PINI field into its own menu, adding RUN and PAUSE choices. 2009-04-23 20:35:02 +00:00
Andrew Johnson
163c8c0215 Add extern "C" wrapper, needed for WIN32. 2009-04-23 19:13:46 +00:00
Andrew Johnson
31d149d8d9 Fixed 64 bit compiler warnings from Tom Palaia/MacOS. 2009-04-23 18:49:40 +00:00
Andrew Johnson
b1234b4667 Modified the timeout and retry count: Allow 4 seconds for an NTP reply,
and 4 retries, thus NTP sync must work at least once every 5 minutes.
2009-04-20 22:21:45 +00:00
Andrew Johnson
1bbeeb1c87 Restore a retry into the NTP synchronization thread.
Eliminated an unnecessary local variable.
2009-04-20 15:26:11 +00:00
Andrew Johnson
8015df9e1f Added new initHook states for iocPause and iocRun commands.
Added a mutex to protect the initHook.c routines.
2009-04-16 18:38:20 +00:00
Andrew Johnson
b9886c7faa Cosmetic only; tabs, spaces & line-wrapping. 2009-04-15 19:28:28 +00:00
Andrew Johnson
e01b6bd435 Calculate monitor events properly. 2009-04-14 20:04:05 +00:00
Ralph Lange
3c92824bfd Make scanFile() recognize includes in .substitution files correctly. 2009-04-14 12:42:06 +00:00
Janet B. Anderson
e7932f03f7 Modified comments. 2009-04-13 21:27:32 +00:00
Janet B. Anderson
78eaf3543c Added BROWSER environment variable for medm extension. 2009-04-13 21:22:25 +00:00
Janet B. Anderson
1b1c28f239 Removed archive and shared split of prod libs. 2009-04-13 20:11:47 +00:00
Andrew Johnson
d79877c383 Need epicsMath.h to use epicsNAN. 2009-04-13 20:10:43 +00:00
Andrew Johnson
d545a8f04f Added test code, fixed bug found in epicsStrnEscapedFromRawSize(). 2009-04-10 19:58:34 +00:00
Andrew Johnson
23b3154fa8 Declare epicsEllTest before calling... 2009-04-09 20:38:49 +00:00
Andrew Johnson
93ac840d6e Even variables have to be marked as extern "C"... 2009-04-09 20:21:05 +00:00
Janet B. Anderson
b5acee6f76 Separate BASE and TOOLS locations 2009-04-09 18:56:06 +00:00
Andrew Johnson
19073ea8e6 Define epicsExportSharedSymbols 2009-04-09 18:36:20 +00:00
Andrew Johnson
e12396c7dd epicsShareAPI fixes for Windows. 2009-04-09 17:28:59 +00:00
Andrew Johnson
acb1bf9b29 Add epicsShareAPI to match header. 2009-04-09 17:20:05 +00:00
Andrew Johnson
f3d07ad12f ellLib changes: ANSIfication patch; moved test code out of ellLib.c into
its own unit test program in libCom/test; changed ellFree() to take a
function pointer for the free() routine, so it can be used on Windows;
modified epicsExit and dbBkpt to use it and pass in the free routine.
2009-04-09 16:51:05 +00:00
Andrew Johnson
f357fd3b13 Include DBE_PROPERTY in dbel output. 2009-04-09 16:42:02 +00:00
Andrew Johnson
79ef84dc9d A little light editing. 2009-04-09 15:15:46 +00:00
Andrew Johnson
a8b20f07a8 Applied Bernd's devAiSoft SMOO patch. 2009-04-09 15:03:09 +00:00
Andrew Johnson
134509a8ea Thread name may not be available during termination. 2009-04-08 22:39:27 +00:00
Janet B. Anderson
6fd2685053 More updates and format changes 2009-04-08 19:31:53 +00:00
Janet B. Anderson
826cd573cd Reformatted and updated contents. 2009-04-07 21:56:05 +00:00
Andrew Johnson
ca269744a6 Flush result output, allows Test::Harness to display progress. 2009-04-07 21:28:58 +00:00
Andrew Johnson
b4d2fbc98f Must be able to include this file from C code, changed comment style. 2009-04-07 15:45:38 +00:00
Andrew Johnson
c70c3beca2 Removed unused INAP menu definition. 2009-04-04 23:01:23 +00:00
Andrew Johnson
5d5fd663ff Use epicsNAN and epicsINF. 2009-04-03 21:16:25 +00:00
Andrew Johnson
f5c64db59f Waveform record Post on Change using hash. 2009-04-03 21:05:40 +00:00
Ralph Lange
990ba62e0b Added support for new MSI and MSS link flags 2009-04-03 20:54:00 +00:00
Ralph Lange
2e8595f17f Fix: caput quits when connection fails (catools) 2009-04-03 19:46:32 +00:00
W. Eric Norum
cc4b462f8c Reflect ring bytes changes. 2009-04-03 19:43:41 +00:00
Ralph Lange
7fccc59fe9 ANSIfication of stuff (mostly missing argument types in declarations) 2009-04-03 17:46:26 +00:00
Ralph Lange
4715043141 Rename of pxxx -> prec in device supports 2009-04-03 15:45:03 +00:00
Ralph Lange
c0052ea44f Changed get_alarm_double() behaviour in analog records to return epicsNAN for limits with NO_ALARM severity 2009-04-03 14:40:13 +00:00
Ralph Lange
f30a89d249 Remove CVS Id that causes just too much trouble. 2009-04-03 14:37:59 +00:00
Ralph Lange
40d0942a81 Remove fake BNL copyright notice until we have a license agreement. 2009-04-03 14:33:37 +00:00
Andrew Johnson
7228190dde Fix memory leak. 2009-04-03 01:57:11 +00:00
Ralph Lange
f4311a3f9b Rename pxxx -> prec in xxxRecord.c 2009-04-02 21:42:32 +00:00
Ralph Lange
5c8a51b6f6 Rename pxxx -> prec in all xxxRecord.c 2009-04-02 21:41:45 +00:00
Ralph Lange
8d68c85d8b Add epicsNAN and epicsINF to the osi section of libCom. 2009-04-02 21:38:07 +00:00
Ralph Lange
2640c5fa07 Added epicsNAN and epicsINF to libCom/osi 2009-04-02 21:15:26 +00:00
Ralph Lange
e18eb714a8 Print OFS for empty (suppressed) STAT/SEVR fields (catools) 2009-04-02 18:52:59 +00:00
Ralph Lange
b1556bd871 New DBE_PROPERTY event type and support in catools and mbbi/mbbo records 2009-04-02 15:51:30 +00:00
Ralph Lange
f156474714 Fix: Print indentation (catools) 2009-04-02 15:39:13 +00:00
Andrew Johnson
88971886c5 PINI Processing support for PHAS. 2009-04-02 14:11:27 +00:00
Ralph Lange
433e400c4d Fix in calculating the needed buffer length for escaped strings. 2009-04-02 13:05:42 +00:00
Ralph Lange
e484093493 Bugfixes plus added support for escaping non-printables and field separator to CA commandline tools. 2009-04-02 02:14:33 +00:00
Ralph Lange
73470d5f4c Added new functions to escape non-printable characters. (epicsString) 2009-04-02 02:13:04 +00:00
Andrew Johnson
776b8855fd Attributes and LINK fields only provide one DBF_STRING element. 2009-04-01 22:02:48 +00:00
Andrew Johnson
91a9a60594 Document long string support in caget/put/monitor tools. 2009-04-01 17:54:32 +00:00
Andrew Johnson
994e9471e4 Removed non-ASCII characters. 2009-04-01 17:47:46 +00:00
Janet B. Anderson
78a2428dbc Added SHARED_LIBRARIES definition and comment. 2009-03-31 20:08:23 +00:00
Janet B. Anderson
dc44901194 Updated EPICS_BASE/configure to CONFIG. 2009-03-31 19:48:17 +00:00
Ralph Lange
0765d5e0b1 Added support for handling strings as arrays of char (aka long strings); new -S option switches this feature. 2009-03-31 19:39:39 +00:00
Ralph Lange
6a17b86743 Added support for handling strings as arrays of char (aka long strings); new -S option switches this feature.
Fixed some inconsistencies with data print formats for enums and arrays.
2009-03-31 19:39:06 +00:00
Janet B. Anderson
4d8ee62087 Added SCIPLOT,XRT graph, X11, and Motif definitions. 2009-03-31 19:18:05 +00:00
Janet B. Anderson
8179cf1d9c Added Exceed definitons. 2009-03-31 19:13:41 +00:00
Janet B. Anderson
9958bf91e5 Added X11,Motif,Sciplot,SDDS librar, and XRT graph definitions. 2009-03-31 19:10:42 +00:00
Andrew Johnson
58b1017397 Ensure getOptions() gets called for structured DBR types. 2009-03-31 19:09:58 +00:00
Janet B. Anderson
9a09be011f Updated X11,Motif, XRT Graph, and SCIPLOT definitions. 2009-03-31 19:04:02 +00:00
W. Eric Norum
ed82e672b4 Block attempts to put more bytes than will fit. 2009-03-30 18:52:00 +00:00
W. Eric Norum
4569fa1e29 Fix up RTEMS notes. 2009-03-27 16:58:46 +00:00
W. Eric Norum
48b20cd400 Update version. 2009-03-27 13:28:26 +00:00
Andrew Johnson
f98d74b064 Long string support. 2009-03-25 23:06:18 +00:00
Andrew Johnson
ed4a2972d6 Long string support:
In dbStatic, split record and field search to make parsing easier.
  In dbAccess, '$' field name suffix makes field an array of DBF_CHAR.
2009-03-25 23:02:28 +00:00
Andrew Johnson
547e9bcfea Use epicsStrHash() 2009-03-24 17:04:02 +00:00
W. Eric Norum
57635a364b Add note about Darwin environ. 2009-03-23 20:52:18 +00:00
Andrew Johnson
cc35e59ff8 Cosmetic. 2009-03-23 19:54:42 +00:00
Andrew Johnson
2e1e5b3949 Document new epicsString Hash functions. 2009-03-20 21:51:17 +00:00
Jeff Hill
86841c5078 restored doc for ca_add_fd_registration 2009-03-20 16:41:53 +00:00
Andrew Johnson
32d5aed8b0 Ambiguous if/else fixes. 2009-03-20 06:19:47 +00:00
Andrew Johnson
6b212b0e17 Fix type of gphPvt pointer. 2009-03-20 06:04:00 +00:00
Andrew Johnson
99ff6d9a02 Removed obselete get_value routine. 2009-03-19 23:05:58 +00:00
Andrew Johnson
7ce49bf131 Reworked various hash tables, using the faster epicsStrHash() routines;
added per-bucket locks to the PV Directory, needed for run-time alias creation;
speed up gpHash lookups; improved the output of both Dump routines.
2009-03-19 23:00:44 +00:00
Andrew Johnson
7eeb70a8d9 Added epicsStrHash() and epicsMemHash(), after analyzing several hash
functions found online and the two already in Base (which both perform
a memory lookup per character and are not as good as this one).
2009-03-19 17:44:22 +00:00
Jeff Hill
dd54062496 fixed mantis 336 - timer queue should have try / catch block
around call to user's expiration callback
2009-03-13 17:23:07 +00:00
Janet B. Anderson
683c5bddf1 Commented test for j option in MAKEFLAGS. Test NOT working in make 3.81. 2009-03-12 18:38:14 +00:00
Janet B. Anderson
80d0245193 Added .depends files in O.Common for header files created from dbd files. 2009-03-12 18:22:05 +00:00
Janet B. Anderson
49e317dccb Updated DEPEND_DIRS for vxWorks directory. 2009-03-12 15:50:50 +00:00
Janet B. Anderson
78d25cbf4b Removed iocshLibrary - it no longer exists. 2009-03-11 19:23:18 +00:00
Janet B. Anderson
89442d6ed6 Changed LIBSRCS to LIB_SRCS. 2009-03-11 19:11:21 +00:00
Janet B. Anderson
3d588b13fc Changed LIBSRCS to LIB_SRCS. 2009-03-11 18:51:25 +00:00
Andrew Johnson
e42837e291 Update DST settings for 2009. 2009-03-10 20:40:22 +00:00
Andrew Johnson
100318d1b3 Remove unnecessary casts. 2009-03-10 19:20:38 +00:00
Andrew Johnson
f8c921e6a0 Mark struct dbAddr arg's const. 2009-03-10 18:54:47 +00:00
Janet B. Anderson
7ae6f9d137 Modified STATIC build. Make all *_SYS_LIBS dynamic.
Test non SYS_LIBS for dynamic or archive.
2009-03-10 18:54:14 +00:00
Andrew Johnson
aacee9c584 Cosmetic only. 2009-03-10 18:51:03 +00:00
Janet B. Anderson
8e01d0dfe8 Modified STATIC build. Make all *_SYS_LIBS dynamic.
Test non SYS_LIBS for dynamic or archive.
2009-03-10 18:46:38 +00:00
Janet B. Anderson
f3d2ba9551 Removed PROD_SYS_LIBS definition. 2009-03-10 16:44:28 +00:00
Janet B. Anderson
2f6b8f3c61 Dont print remove command. 2009-03-09 16:05:15 +00:00
Janet B. Anderson
2ad9341e45 Fixed CREATESUBSTITUTIONS rule. 2009-03-09 15:56:14 +00:00
Andrew Johnson
20916bbf24 Count aliases separately in reports. 2009-03-06 23:51:54 +00:00
Andrew Johnson
6766e46ab5 A later modification escaped into the previous set of changes... 2009-03-05 23:31:10 +00:00
Andrew Johnson
8597ae087b Allow getting a DBF_*LINK field using a DBR_CHAR array (put already done).
Fetch options before SPC_ATTRIBUTE str; allow a DBR_CHAR array there too.
2009-03-05 21:23:22 +00:00
Andrew Johnson
e2a933c51f Cosmetic changes; reformatting, style etc. 2009-03-05 20:38:10 +00:00
Andrew Johnson
11abbb06d7 Added libdl to the OS libraries needed, for dlopen/dlsym. 2009-03-04 22:51:41 +00:00
Jeff Hill
edcb7b96f8 fixed removeAll does not set the nInUse count to zero 2009-03-04 22:00:55 +00:00
Jeff Hill
31d6255169 fix for deleteing IO that wasnt selected for delete nor removed from
the list in clearOutstandingReads. This problem would probably
only occur with R3.13 clients, and only then if the R3.13 client times
out in ca_pend_io.
2009-03-04 19:33:18 +00:00
Janet B. Anderson
1fbf624e5f Removed commented references to CONFORM flags. 2009-03-03 20:24:03 +00:00
Janet B. Anderson
4cb0d85b34 Removed all references to CONFORM flags in configure files. 2009-03-03 19:54:19 +00:00
Andrew Johnson
aadbf07647 Return epicsMutexLockError rather than calling cantProceed() if the
pthread_mutex_ functions return EINVAL.
2009-03-03 18:00:49 +00:00
Andrew Johnson
33b4942ae2 Cosmetic. 2009-03-03 17:18:16 +00:00
Andrew Johnson
3093d8f4f4 Reduce duplication of alarm strings. 2009-03-03 17:15:10 +00:00
Andrew Johnson
3a6deaa60a Support for dynamic loading. 2009-02-27 23:38:33 +00:00
Andrew Johnson
9e07d56548 Include the dlload command.
Don't build on vxWorks, makes little sense.
2009-02-27 23:37:13 +00:00
Andrew Johnson
41abccccf9 Added optional dlload command. 2009-02-27 23:29:08 +00:00
Andrew Johnson
9c3fa668f3 Added epicsLoadLibrary() and some implementations. 2009-02-27 23:26:20 +00:00
Janet B. Anderson
19409d9c74 Initial version. 2009-02-26 20:56:56 +00:00
Andrew Johnson
654a7e05cd Mark source dbAddr pointers as const. 2009-02-24 22:57:15 +00:00
Andrew Johnson
8be407d608 Mark input dbAddr arguments const. 2009-02-24 22:30:26 +00:00
Andrew Johnson
a75cb10cb6 Added "errlog" command. 2009-02-24 20:10:57 +00:00
Andrew Johnson
3e68815a7b cap5 fix. 2009-02-24 17:30:19 +00:00
Andrew Johnson
92c7cd98a2 Make ca_put use best_type for both single-valued and array PVs. 2009-02-24 17:01:59 +00:00
Andrew Johnson
6c23ca9f80 Clean up compiler warnings in calls to dbGetLink. 2009-02-23 23:24:35 +00:00
Andrew Johnson
07d187b77a Fix needed for g++ 4.1.2. 2009-02-23 22:51:50 +00:00
Jeff Hill
40c802ad7b moved declaration using template down to below where its template
parameter is declared in case inclass friend forward reference to the
template parameter doesnt carry forward on all compilers
2009-02-23 21:44:39 +00:00
Jeff Hill
68f6b7d47c workaround for archaic T202 g++ bug 2009-02-23 21:40:52 +00:00
W. Eric Norum
ce3c3919ba Stephen Norum indicates that the conditionals are unnecessary. 2009-02-23 18:11:40 +00:00
W. Eric Norum
e6b0b38f61 Starting in Mac OS X 10.5 (Leopard) shared libraries and bundles
don't have direct access to environ (man environ).
 CVS: ----------------------------------------------------------------------
2009-02-23 15:36:30 +00:00
Andrew Johnson
b62d796bff Improve error reporting by addToList & deleteFromList. 2009-02-14 00:05:01 +00:00
Jeff Hill
77669d793d fixed situations where local host name cache is repatedly created and destroyed 2009-02-11 00:50:28 +00:00
Jeff Hill
e1b8caa8d7 fixed comment 2009-02-10 22:58:43 +00:00
Jeff Hill
9f5b1a11da removed some epicsSingleton related code that isnt in use 2009-02-10 22:51:53 +00:00
Jeff Hill
62618480fd fixed mantis 332 2009-02-10 22:24:20 +00:00
Janet B. Anderson
6e913fe0bb Changed PROD to PRODNAME in INSTALL_LIB_INSTALLS dependancy. 2009-02-10 20:10:59 +00:00
Janet B. Anderson
01218d0054 Install LIB_INSTALLS before PRODs are built. 2009-02-10 15:43:49 +00:00
Jeff Hill
71ec516cf5 fix for mantis 331 2009-02-09 17:29:18 +00:00
Jeff Hill
08a4fb3ce7 addred proto for ca_detach_context 2009-02-09 15:23:06 +00:00
Andrew Johnson
e2289a30df Removed duplicate alarm strings. 2009-02-03 17:25:02 +00:00
Andrew Johnson
a213ccf624 Deleted VERS field (it's already an attribute). 2009-02-03 16:28:10 +00:00
Andrew Johnson
e77736ddb2 Added dbla command. 2009-02-03 06:09:04 +00:00
Andrew Johnson
f1a0584273 Fix gcc warnings. 2009-02-03 06:05:51 +00:00
Andrew Johnson
289f5500a4 Restart nanosleep() on EINTR. 2009-01-30 20:15:40 +00:00
Andrew Johnson
03e3ce0513 STATIC => static. 2009-01-28 23:39:16 +00:00
Andrew Johnson
ffe38fffb8 Don't forget to flush! 2009-01-28 21:16:39 +00:00
Andrew Johnson
c85052de6c Fix errlogPrint and errlogVprintf so the latter outputs to the console. 2009-01-28 21:05:34 +00:00
Andrew Johnson
292a763d9a Enhance generalTime subsystem with interrupt-context time & event requests. 2009-01-28 20:01:41 +00:00
Andrew Johnson
c5fd57e5ae Make getpMessage() clear the message string rather than requiring caller to. 2009-01-28 19:57:11 +00:00
Janet B. Anderson
db076183c0 Changed EPICS_BASE_TOOLS_BIN to EPICS_BASE_BIN in PATH. 2009-01-27 21:27:32 +00:00
W. Eric Norum
15bd6bc402 RTEMS updates. 2009-01-24 23:14:44 +00:00
W. Eric Norum
63c20dbb4b Repair accidental commit of local changes.
Swirtch to RTEMS 4.10.
2009-01-23 20:24:59 +00:00
W. Eric Norum
deae06a694 Reduce RTEMS stack sizes.
Use new RTEMS 'unified memory pools'.
2009-01-23 20:21:41 +00:00
Andrew Johnson
0cabf024d7 Error message has the wrong routine name in it. 2009-01-21 20:26:52 +00:00
Andrew Johnson
c4857e820e Added dbGetNAliases(). 2009-01-19 19:04:40 +00:00
Andrew Johnson
9ca9a3c2e2 Added dbGetNAliases() function, to complete the aliases API. 2009-01-19 18:57:02 +00:00
Andrew Johnson
edf0875bcf Record aliases. 2009-01-16 20:54:01 +00:00
Andrew Johnson
e155dd411e Added dynamic parts of record alias implementation. 2009-01-16 20:50:40 +00:00
Andrew Johnson
dd7cb80555 Fix memory leak. 2009-01-16 20:04:34 +00:00
Andrew Johnson
105448f3f8 Fix access to uninitialized memory. 2009-01-16 16:49:19 +00:00
Andrew Johnson
99053303fb Fixed fetch_values() bug. 2009-01-14 23:42:20 +00:00
Andrew Johnson
a723ea357e Added record aliases. 2009-01-09 18:00:00 +00:00
Andrew Johnson
f8d6677c72 Simplified dbPutFieldLink, made DSXT work with all link types. 2009-01-08 23:51:19 +00:00
Andrew Johnson
b98392f50f Initialize objects fully before making them visible. 2009-01-08 23:44:11 +00:00
Jeff Hill
9027026680 fix for mantis 329 2009-01-08 22:27:18 +00:00
Andrew Johnson
a294e3dcb8 HTML refactoring. 2009-01-07 20:44:51 +00:00
Andrew Johnson
579c7bad06 Also need the registerFunction.h header; fixed some HTML issues. 2009-01-07 18:46:59 +00:00
W. Eric Norum
2862a9b8cf Clean up function registration instructions. 2009-01-07 18:02:21 +00:00
Andrew Johnson
307762f424 Fix DBF_LONG constant link initialization, clean up other types. 2009-01-07 00:04:49 +00:00
Andrew Johnson
0108f6ae94 Cleanup; minimize variable scopes. 2009-01-06 23:32:32 +00:00
Andrew Johnson
76c9329b5e Moved interruptAccept management into scanPause/scanRun functions. 2009-01-06 23:22:28 +00:00
Andrew Johnson
a7a6c01bea Removed the pthread_cancel() functionality from posix/osdThread.c,
resolving the whole issue with catch(...) on NPTL.
2009-01-06 23:06:25 +00:00
Andrew Johnson
4026d9f27c Nested classes have no special access priviledges to their outer class, but
only the vxWorks compiler seems to check this.  Added friend to fix.
An implicit constructor is only created if no user-defined ones exist.
2009-01-06 21:53:04 +00:00
Andrew Johnson
1bccf6879e Replaced most TestAsyn support with a common extended support layer. 2009-01-06 17:31:57 +00:00
Andrew Johnson
f14e6df788 Don't do necessary stuff inside assert(). 2009-01-06 17:07:56 +00:00
Andrew Johnson
bf3c47c3d3 Warn about undefined macros in RELEASE file. 2009-01-06 16:41:56 +00:00
W. Eric Norum
a7af535a4f Added support for MVME2700 (and perhaps MVME2400) as supplied by Matt Rippa. 2009-01-06 15:14:33 +00:00
Andrew Johnson
31fb641dff In vxWorks 5.5.2, ld < file.munch breaks future shell includes. 2009-01-05 22:32:20 +00:00
Andrew Johnson
e6ab9aa7fb Clean up compiler warnings. 2008-12-10 21:51:19 +00:00
Andrew Johnson
12e4ad3c5a Cleanup. Handle re-initialization during shutdown gracefully. 2008-12-10 21:43:36 +00:00
Andrew Johnson
0be13dfc0f Added registryDump command. 2008-12-10 21:34:00 +00:00
Andrew Johnson
67ef06c1e3 Cleanup. 2008-12-10 21:32:06 +00:00
Andrew Johnson
f951aab3f3 Fix possible race condition on SMP systems. 2008-12-09 21:46:40 +00:00
Andrew Johnson
f3bcf735cc Bug fix reported by Jens Eden. 2008-12-04 23:38:47 +00:00
Andrew Johnson
448fc10e35 Fix link problem Mark Rivers reported. 2008-12-02 23:45:16 +00:00
Janet B. Anderson
1d9543997e Removed path environment lines. User should put gcc in path. 2008-12-01 19:02:21 +00:00
Andrew Johnson
a58fa323d8 The pointer is volatile, not the object itself... 2008-12-01 17:03:03 +00:00
Janet B. Anderson
e2e7864c3d Removed path environment lines. User should put gcc in path. 2008-12-01 16:35:40 +00:00
Andrew Johnson
79a2649596 Fixed problem with time provider registration on dual-CPU systems. 2008-11-21 23:23:25 +00:00
Jeff Hill
e99e352e2c redesigned this facility for simplicity, clarity, and robustness 2008-11-19 17:20:15 +00:00
Jeff Hill
4126c71e0e added include for typedef used in this header 2008-11-19 17:17:41 +00:00
Jeff Hill
fd5b03405a disable copy ctor and operator for the epicsOnceImpl private class 2008-11-19 17:11:49 +00:00
Andrew Johnson
a37105e0c7 Fixed buffer overflow in thread name. 2008-11-16 17:32:58 +00:00
Andrew Johnson
ca1e7b0613 Added WireSet instances, needed for vxWorks 6.1. 2008-11-14 23:32:15 +00:00
Ralph Lange
438ed926ba Added -p option to commandline tools to specify CA priority. 2008-11-14 13:20:42 +00:00
Ralph Lange
519f54c06b Added -p option to commandline tools to specify CA priority. 2008-11-14 13:12:26 +00:00
Ralph Lange
c5773eafb4 Added -p option to specify CA priority. 2008-11-14 13:03:25 +00:00
W. Eric Norum
e48b9ec4ab Add NVRAM offset. 2008-11-06 21:35:26 +00:00
Andrew Johnson
49421de296 Linux: Switch to libncurses. 2008-11-04 16:08:32 +00:00
Janet B. Anderson
eee915ced7 Updated version to R3.14.11 and set EPICS_CVS_SNAPSHOT to -CVS. 2008-10-27 20:19:12 +00:00
Janet B. Anderson
e4f741f97c Changed release to R3.14.10. 2008-10-27 19:41:22 +00:00
Janet B. Anderson
0e08b62f34 R3.14.10 2008-10-27 19:39:04 +00:00
Janet B. Anderson
2b37a8f746 Added make -j option ifeq before creating arch dependancies on host_arch. 2008-10-27 19:24:45 +00:00
Andrew Johnson
f5967d268c False assertion removed. 2008-10-24 23:04:11 +00:00
Andrew Johnson
078e30b7b9 Mantis #311 fix; generate an interactive flex scanner. 2008-10-23 21:21:43 +00:00
Andrew Johnson
01349a9448 Add epicsShare decorators for visibility in a Cygwin DLL. 2008-10-23 19:27:24 +00:00
Andrew Johnson
dd2ef6d47a Reformatting, wording improvements. 2008-10-22 15:20:50 +00:00
Jeff Hill
2d51fbc3c7 fixed mantis 325 2008-10-21 20:50:26 +00:00
Jeff Hill
c5f15a3e17 fixed bug introduced after R3.14.9, but before R3.14.10-RC1 and R3.14.10-RC2 2008-10-21 20:26:48 +00:00
Andrew Johnson
cdd2748c98 Allow multiple slashes as path seperators, since we used to.
Also fixed perldoc comment formatting.
2008-10-20 18:32:47 +00:00
Andrew Johnson
6789814826 Remove space after -I option for osf-alpha. 2008-10-20 15:39:32 +00:00
Andrew Johnson
b3abcbb52e Don't fail if epicsSnprintf returns less than the buffer size needed. 2008-10-20 15:35:10 +00:00
W. Eric Norum
3274519a82 Add note about RTEMS version. 2008-10-20 15:33:27 +00:00
Janet B. Anderson
95b708a40b post-RC1 versions... 2008-10-17 19:45:00 +00:00
W. Eric Norum
3b2bbd50e5 Cleaner version of wait with timeout fix. 2008-10-16 13:38:14 +00:00
W. Eric Norum
ab765613ec Add note about RTEMS epicsEventWaitWithTimeout. 2008-10-16 13:17:57 +00:00
W. Eric Norum
ba5080d6f4 Return TIMEOUT status even when delay time is 0. 2008-10-15 19:40:57 +00:00
W. Eric Norum
a6ed0d3a53 RTEMS newlib version of strtod handles INF/NAN. 2008-10-15 19:40:00 +00:00
Andrew Johnson
edc141f98a Added checks for NULL callbacks and record pointers. 2008-10-13 14:08:35 +00:00
W. Eric Norum
7245f8127c Arrange for compatability with compile-time and run-time linking. 2008-10-11 16:40:46 +00:00
Andrew Johnson
ba37f17c89 Updated version number in title. 2008-10-10 15:50:08 +00:00
Janet B. Anderson
e6e9b9a266 -RC2 release. 2008-10-10 15:01:51 +00:00
Janet B. Anderson
570825f693 Removed old commented override lines. They are no longer valid. 2008-10-09 21:33:35 +00:00
Andrew Johnson
2c020ffac4 Make aitGen take an output filename, needed for win32. 2008-10-09 20:14:44 +00:00
Andrew Johnson
bf829e0f48 Extended testing to trigger callbacks from multiple threads, more tests. 2008-10-09 15:01:53 +00:00
Ralph Lange
9239b50615 DST changes for 2008 2008-10-09 10:13:22 +00:00
Andrew Johnson
2eb849b91c Fix segfault on linux - catch(...) must not call std::unexpected() 2008-10-08 22:44:32 +00:00
Andrew Johnson
0fff507aea Cleanup, fix an issue reported by Kazuro Furukawa. 2008-10-08 22:42:49 +00:00
Janet B. Anderson
49687e27b2 Fixed include lines. 2008-10-08 21:18:27 +00:00
Andrew Johnson
98e09831fa _APPNAME__SNCFLAGS doesn't get used... 2008-10-08 21:11:55 +00:00
Janet B. Anderson
36af6418db Removed bad include line. 2008-10-08 20:04:46 +00:00
Janet B. Anderson
cd84a4cfd0 Fixed comments. 2008-10-08 19:51:35 +00:00
Janet B. Anderson
76af265f0d Make CONFIG.Common.win32-x86 and aopional include. 2008-10-08 18:17:56 +00:00
Janet B. Anderson
7558e0a468 Fixed typo. 2008-10-08 17:31:34 +00:00
Janet B. Anderson
925dcfd634 Added WARN_CPPFLAGS,OPT_CPPFLAGS,DEBUG_CPPFLAGS
Added POSIX_CFLAGS, POSIX_CXXFLAGS, POSIX_LDFLAGS
2008-10-08 17:11:10 +00:00
Ralph Lange
1d6bea83de This is included from epicsEndian.h, so it must be usable from C and C++. 2008-10-08 10:31:44 +00:00
Andrew Johnson
2dad57f1da Link with Solaris libumem.so for better threaded malloc/free performance. 2008-10-07 22:17:17 +00:00
Janet B. Anderson
2e4d1f0d60 REMOVED file type IDL. IDL install already exists in extensions/configure. 2008-10-07 20:33:29 +00:00
Janet B. Anderson
708b0be486 Create aitConvertGenerated.cc in O.Common. Makefile cleanup. 2008-10-07 18:05:58 +00:00
Andrew Johnson
f58002e1fd Exception classes don't need to derive from std::exception,
this can cause build faults on some architectures.
2008-10-07 15:19:35 +00:00
W. Eric Norum
980d790638 Fix some typos. 2008-10-07 13:19:37 +00:00
W. Eric Norum
d579e30210 Prevent warnings -- test show that this still generates correct code. 2008-10-07 12:18:43 +00:00
W. Eric Norum
48257aec7c Fix race condition exposed by compilers with more agressive optimization.
Add test procedure for epicsRingBytes.
2008-10-07 11:05:41 +00:00
Ralph Lange
af2b7a3ef2 Fix: Don't print space after single value, only between values of an array 2008-10-06 15:51:51 +00:00
Andrew Johnson
fd9867e973 Cleanup. 2008-10-03 20:27:13 +00:00
Andrew Johnson
e97439c7df Ensure the last test actually completes and reports... 2008-10-03 19:28:34 +00:00
Andrew Johnson
150c4ff002 A proper fix for the xsubpp problems on Perl 5.8.0. 2008-10-03 18:28:56 +00:00
Andrew Johnson
86740c98d7 Updated the lists of supported architectures. 2008-10-02 21:33:23 +00:00
Andrew Johnson
d14713d675 Fix from Kazuro FURUKAWA. 2008-10-02 16:29:34 +00:00
Jeff Hill
11180d0c9c patch for DECXX compiler detected issues (found by Kazuro FURUKAWA)
see <URL:http://www-linac.kek.jp/epics/osf/>
2008-10-02 15:43:04 +00:00
Andrew Johnson
ec8761185d Another fix, for the SunPro compiler this time. 2008-09-30 17:24:11 +00:00
Jeff Hill
67e9d89ebd extended comment 2008-09-30 16:31:09 +00:00
Andrew Johnson
d3eb8170ff Fix for vxWorks 6.x - don't use std::min/max. 2008-09-30 15:29:57 +00:00
Andrew Johnson
80eca1fafa R3.14.10-RC1 update. 2008-09-29 21:55:20 +00:00
Andrew Johnson
3947594fe3 post-RC1 versions... 2008-09-29 21:16:30 +00:00
Andrew Johnson
c73bf9545d -RC1 release. 2008-09-29 21:14:41 +00:00
Andrew Johnson
917937b22f Change defaults to use Tornado 2.2.2 (at APS). 2008-09-29 20:06:50 +00:00
W. Eric Norum
fb1d649290 New target. 2008-09-29 20:05:30 +00:00
Andrew Johnson
227af040b0 Document new camonitor timestamp options. 2008-09-29 19:29:12 +00:00
Andrew Johnson
078f919296 Fix to build on WIN32. 2008-09-29 17:54:35 +00:00
Andrew Johnson
82e26e2d79 Silence ar. 2008-09-29 15:52:05 +00:00
Ralph Lange
442633fc87 Minor fix in help message. 2008-09-29 14:11:59 +00:00
Ralph Lange
84f56e57f4 Changed timestamp related commandline options, added choice of client and/or server timestamps. 2008-09-29 14:10:51 +00:00
Jeff Hill
dff447028f improved fix for mantis 316 2008-09-27 01:37:01 +00:00
Jeff Hill
1ba1909bdb improved fix for mantis 316 2008-09-27 01:18:39 +00:00
Jeff Hill
2d5497fa07 workaround for legacy vxWorks compiler bug check 2008-09-26 22:19:59 +00:00
Jeff Hill
32616ba5fa imprved fix for mantis 316 2008-09-26 22:12:15 +00:00
Andrew Johnson
37f4457c03 Added EPICS_DEPRECATED. 2008-09-26 17:24:32 +00:00
Andrew Johnson
896223e819 Fixed compiler warning. 2008-09-26 17:00:17 +00:00
Andrew Johnson
8b8f2bd0ed libCom/test/fdmgrTest depends on ca. 2008-09-26 16:17:15 +00:00
Andrew Johnson
bc80fd0e35 Added errlog to the stringout stdio device support.
Release notes updated.
2008-09-26 15:23:13 +00:00
Jeff Hill
6d99d6dd05 imprved fix for mantis 312 2008-09-25 20:27:48 +00:00
Andrew Johnson
2e35ee986e Oops, use a unique name... 2008-09-25 16:35:56 +00:00
Jeff Hill
9f71cf22cd fix for mantis 304 2008-09-25 16:35:15 +00:00
Jeff Hill
fa161e4e5a fix for mantis 306 2008-09-25 15:59:49 +00:00
Andrew Johnson
506b303c3c Added printf device support for stringout record => stdout or stderr 2008-09-24 22:40:37 +00:00
Andrew Johnson
1269897998 Fixed epicsEventWaitWithTimeout(id, 0.0), added test. 2008-09-24 19:24:59 +00:00
Jeff Hill
21e8912031 fixed conditional 2008-09-24 16:29:50 +00:00
Jeff Hill
7f96b9c0fc added try / catch block to epicsThread :: exoitWait () so that exception
specification isnt violated
2008-09-24 15:57:28 +00:00
Andrew Johnson
91d9fdbda8 Fixed problem using CA.pm from scripts outside of Base. 2008-09-24 15:02:50 +00:00
Andrew Johnson
238ab41ba1 Use $FindBin::Bin instead of expanding @TOP@. 2008-09-23 22:15:10 +00:00
Andrew Johnson
516a2cbf41 Use $FindBin::Bin so we don't need to expand @TOP@.
Needed for package management systems such as in Debian.
2008-09-23 22:13:52 +00:00
Andrew Johnson
aa9b36d7f9 Cosmetic. 2008-09-23 20:23:30 +00:00
Andrew Johnson
efa69eda5c Improve messages slightly. 2008-09-23 19:50:58 +00:00
Janet B. Anderson
7850ab921a Changed OS_CLASS WIN32 test to SHRLIB_SUFFIX .dll test. Fixed RM of libs. 2008-09-23 16:11:41 +00:00
Janet B. Anderson
c0dd8a788b Shared library rule changes made to allow make -j option to work on win32. 2008-09-22 21:21:10 +00:00
Jeff Hill
65c2e51849 committed a fix for mantis 312 2008-09-22 20:24:39 +00:00
Andrew Johnson
5d6b223229 s/FALSE/false/ 2008-09-22 18:20:56 +00:00
Andrew Johnson
1be79a4911 Version number; removed extraneous <li> tag. 2008-09-22 17:50:03 +00:00
Andrew Johnson
82abd96fc9 Build cap5 everywhere other than WIN32 archs. 2008-09-22 17:46:41 +00:00
Janet B. Anderson
a149390015 Added files for debug cross builds. 2008-09-22 15:13:14 +00:00
Jeff Hill
2bf9959e11 committed a fix for mantis 302 2008-09-19 23:27:52 +00:00
Jeff Hill
a6f4c7efd9 committed a fix for mantis 302 2008-09-19 23:03:31 +00:00
Andrew Johnson
c19d8848ed Deleted comment. 2008-09-18 20:54:22 +00:00
Andrew Johnson
934f55b9cc Turn off optimization for debug targets. 2008-09-18 20:51:36 +00:00
Andrew Johnson
3cc996a296 getOptions was not zeroing precision when no rset->get_precision routine. 2008-09-18 19:23:48 +00:00
Andrew Johnson
c0084256bd Replaced by generalTime facility in libCom. 2008-09-16 22:45:01 +00:00
Janet B. Anderson
ba7b648bf8 Added requirement comments. Moved pre1 to EPICS_CVS_SNAPSHOT. 2008-09-16 16:32:45 +00:00
Andrew Johnson
92b991c857 Post -pre1 tag. 2008-09-15 21:50:01 +00:00
Andrew Johnson
8edf588ae9 R3.14.10pre1 2008-09-15 21:47:20 +00:00
Andrew Johnson
01b8fbf100 Change NTP Synq period to 1 minute. 2008-09-15 21:26:33 +00:00
W. Eric Norum
50a6dbee9c Reuse NTP socket. 2008-09-15 21:09:44 +00:00
Andrew Johnson
a87bfe1ee7 Cygwin doesn't actually provide a clock_settime symbol, although the
prototype is present in time.h so we supply our own that returns error.
2008-09-15 20:07:23 +00:00
Andrew Johnson
3a671f712f Missing epicsExportSharedSymbols 2008-09-15 18:49:31 +00:00
W. Eric Norum
f4cae805e5 Clean up warnings. 2008-09-15 16:12:33 +00:00
Janet B. Anderson
f0336ac3b2 Added comment. 2008-09-15 15:18:41 +00:00
Janet B. Anderson
3d359e32bb Many changes to macros and RULES for installed cfg files. 2008-09-15 15:12:52 +00:00
Janet B. Anderson
dd4d24778c Bug fix for clean of RES and BOF files. Added PERL_SCRIPTS to SCRIPTS_HOST. 2008-09-15 15:10:27 +00:00
Janet B. Anderson
3fb737aea6 Moved includes for installed and RELEASE config files from RULES_TOP. 2008-09-15 15:08:45 +00:00
Janet B. Anderson
d919165573 Moved includes for installed and RELEASE config files to CONFIG. 2008-09-15 15:07:07 +00:00
Andrew Johnson
ac69ccbff7 Fix Darwin build, which doesn't have CLOCK_REALTIME. 2008-09-15 14:55:19 +00:00
Andrew Johnson
70dfa451d2 General Time. 2008-09-12 22:56:25 +00:00
Andrew Johnson
6430a49300 General Time updates: Internal cleanup of framework code and providers,
replaced the osdSysTime provider with a new osiClockTime provider,
stringin device support puts record into alarm if no working provider,
added osdTimeRegister() to RTEMS/osdTime.h.
2008-09-12 22:55:55 +00:00
Andrew Johnson
6482e7e55d Unlocking issue pointed out by Richard Dickson. 2008-09-12 19:40:16 +00:00
Andrew Johnson
2d88383a9d Clean up quadratic string processing behaviour. 2008-09-12 14:58:05 +00:00
Andrew Johnson
e47fc8b757 Lowercase the new hostname in asChangeClient() 2008-09-12 14:44:49 +00:00
Andrew Johnson
b2ce57294f Use explicit path to executable, PATH may not include '.' 2008-09-11 22:42:17 +00:00
Andrew Johnson
e2896fa82f Perl's Test::Simple library is not installed by default, use Test instead. 2008-09-11 22:35:01 +00:00
W. Eric Norum
111a140059 Change RTEMS notes. Timing changes are now supercedewd by general time changes.Mention removal of RTEMS -ansi flag. 2008-09-11 17:24:28 +00:00
W. Eric Norum
a1de4a8f5d Using -ansi causes problems.
Get rid of it.
2008-09-10 17:35:05 +00:00
Janet B. Anderson
b403ac5370 Commented out OP_SYS_CFLAGS. Removed APS specific definition. 2008-09-09 20:57:52 +00:00
Janet B. Anderson
7b44593c98 Removed extra include of CONFIG_SITE.Common.RTEMS. 2008-09-09 20:54:29 +00:00
Janet B. Anderson
bdd5649d7d Bug fixes. 2008-09-09 18:40:49 +00:00
W. Eric Norum
58be7e6b13 Clean up some warnings. 2008-09-08 21:33:19 +00:00
Andrew Johnson
b0c31ab89c Target deleted. 2008-09-05 22:16:15 +00:00
W. Eric Norum
ab8fa0f5ec Allow EPICS_TS_NTP_INET in environment to override NTP server setting. 2008-09-05 21:41:06 +00:00
Andrew Johnson
07927c5b5e Added scanonce() note. 2008-09-05 18:23:41 +00:00
Andrew Johnson
3086c5bea3 Added INSTALL_DBFLAGS to MSI's DBFLAGS. 2008-09-05 17:15:19 +00:00
Andrew Johnson
f89d5e4400 Use menuScan enums rather than #define macros where possible. 2008-09-05 15:17:45 +00:00
Andrew Johnson
9e5c6e04b7 Cleanup of NTP time provider code. 2008-09-04 22:43:56 +00:00
Andrew Johnson
bc8473bf74 Removed unused gddSemaphore.h file (vxWorks impl only). 2008-09-03 22:33:05 +00:00
Andrew Johnson
8b88489b90 Latest gcc doesn't like variables named 'true'. 2008-09-03 22:30:18 +00:00
Andrew Johnson
0bddd7dc8c Added Unit Test Harness to summarize results on vxWorks/RTEMS.
Added taskwdTest to tests run.
2008-09-03 16:48:03 +00:00
W. Eric Norum
30b87a9ead Latest vesrion of gcc has this bug fixed. 2008-09-03 16:18:36 +00:00
Andrew Johnson
2d2e6dd627 Use a Make variable that is actually used... 2008-09-02 21:27:22 +00:00
Andrew Johnson
42725c0f60 Revert Janet's latest changes until she can fix them (break SNC rules). 2008-09-02 16:08:49 +00:00
Andrew Johnson
79df764184 Added creation of ioc/dllPath.bat for Win32 IOCs. 2008-08-29 22:15:02 +00:00
Janet B. Anderson
dd226566a9 Many changes. Moved all related file type lines into RULES_FILE_TYPE. 2008-08-29 21:28:39 +00:00
Janet B. Anderson
5e9b59707c Base does not need to execute convertRelease.pl 2008-08-29 21:07:04 +00:00
Andrew Johnson
f30b6ac32e Load RELEASE.hostarch.Common as well. 2008-08-29 21:06:56 +00:00
Andrew Johnson
a2d252bc24 Fix finding templates when earlier dirs don't exist. 2008-08-29 21:03:36 +00:00
Andrew Johnson
5f816f93a4 Cygwin correction. 2008-08-29 19:44:18 +00:00
Janet B. Anderson
e13d15e3a6 Added optimization option for debug builds. 2008-08-29 17:49:54 +00:00
Andrew Johnson
789bc588f6 Change build order again; declare dependencies locally. 2008-08-29 15:27:34 +00:00
Andrew Johnson
246e47128d Remove lower-case paths, they break apps on Win32. 2008-08-29 15:24:28 +00:00
Andrew Johnson
d00f3e0225 Allow runtests to continue despite failing tests. 2008-08-28 21:54:12 +00:00
Andrew Johnson
5645bd595d Install test objects on vxWorks only. 2008-08-28 21:16:52 +00:00
Janet B. Anderson
3427a90e89 Added linux-cris* targets to comment. 2008-08-28 19:35:20 +00:00
Andrew Johnson
52ac7f0ecb Added trailing newlines (MinGW warning). 2008-08-28 15:59:29 +00:00
Andrew Johnson
14ea2740d1 Oops. 2008-08-28 15:42:09 +00:00
Andrew Johnson
7edc9f4d89 Fixes for Win32. 2008-08-28 15:32:46 +00:00
Andrew Johnson
43f82a5c8c Ensure the main thread gets a unique ID. 2008-08-28 15:27:04 +00:00
Andrew Johnson
0a393c6553 Added item about epicsEndian.h. 2008-08-27 19:37:23 +00:00
Janet B. Anderson
632da18b33 Modified comment. 2008-08-27 19:07:56 +00:00
Janet B. Anderson
7d864cde61 Removing all references to win32 interix compiler. 2008-08-27 18:55:19 +00:00
Janet B. Anderson
751fdbfb33 Removing all files relating to WIN32 interex compiler. 2008-08-27 18:46:14 +00:00
Janet B. Anderson
a5ea63f7d8 RCS files now used for all cygwin and mingw builds. 2008-08-27 18:33:59 +00:00
Andrew Johnson
1b41f513fa Fix generation of .t files on Windows. 2008-08-27 15:56:37 +00:00
Andrew Johnson
721c91293d Comment. 2008-08-27 14:30:51 +00:00
Andrew Johnson
decde6bd61 Fix generalTime initialization issue. 2008-08-26 20:31:09 +00:00
Andrew Johnson
cd9cfacca4 Fix for MinGW, although not complete -- doesn't have _vscprintf(). 2008-08-26 20:24:25 +00:00
Andrew Johnson
1f1dd6b2f2 Added more tests on inf and nan (MS compiler fails these). 2008-08-26 20:22:06 +00:00
Andrew Johnson
477466e517 Windows runs more tests because it outputs 3 digit exponents.
Fix tests and test plan to accommodate this.
2008-08-26 15:01:47 +00:00
Andrew Johnson
eab49c1753 Fixed off-by-one error in my previous fix. 2008-08-26 14:54:58 +00:00
Andrew Johnson
a9523df452 (C) comment. 2008-08-26 14:20:37 +00:00
Andrew Johnson
c1250c4456 menuArrType is not used anywhere, delete. 2008-08-26 14:14:12 +00:00
Andrew Johnson
c12c0851c7 Fix epicsVsnprintf() return value on WIN32. 2008-08-25 22:22:56 +00:00
Andrew Johnson
aa530b295b =/== bug; not sure how this got through. 2008-08-25 21:38:10 +00:00
Andrew Johnson
1cb5905c41 Link locally-compiled code that uses epicsExport.h into the support library
(DLL) rather than directly into the IOC executable.  Necessary on Win32
builds because symbol decoration requirements are different.
2008-08-22 21:10:47 +00:00
Andrew Johnson
c02a27092d Restore the $(BAT) stuff in case this bit did work. 2008-08-19 22:35:52 +00:00
Andrew Johnson
6e2bec2353 Previous commit broke build. 2008-08-19 22:26:01 +00:00
Andrew Johnson
88d7005b03 Fix socket shutdown mechanism on cygwin-x86 2008-08-19 21:52:11 +00:00
Andrew Johnson
b327d3545e Give up building this on Win32 for now. 2008-08-19 20:32:37 +00:00
Andrew Johnson
ee16b09819 Add epicsShareExtern declaration to fix cygwin build. 2008-08-19 20:06:11 +00:00
Andrew Johnson
3b6065f55e Fixes for Cygwin build. 2008-08-19 19:34:13 +00:00
Andrew Johnson
2a9842083c dbgf now shows array size, and displays an array of chars as a long string.
dbpf can put a long string to a field which is an array of chars.
2008-08-18 20:27:55 +00:00
Andrew Johnson
af40d87306 WRS moved the 'nm' program in vxWorks 6.6 2008-08-18 18:54:26 +00:00
Andrew Johnson
3d093bd8f7 Fixed precision handling, recGblGetPrec doesn't always set *precision. 2008-08-15 21:43:52 +00:00
Andrew Johnson
49ef896a36 Cleanup, remove some unnecessary casting. 2008-08-15 18:58:18 +00:00
Andrew Johnson
f8244caa94 dbcar prints type of CA subscription (In/Out, Native/String). 2008-08-15 18:51:06 +00:00
Janet B. Anderson
6d31143ee6 Added -I.. to DEFLAGS definition. 2008-08-15 18:28:51 +00:00
Andrew Johnson
dc94dd4487 Make from arg const in put. 2008-08-15 18:23:46 +00:00
Andrew Johnson
9deed0b4ac Cosmetic. 2008-08-15 16:27:23 +00:00
Andrew Johnson
ee634be0e5 Added the aSub record type, derived from Andy Foster's genSub. 2008-08-14 20:41:05 +00:00
Andrew Johnson
f4728749a2 Let compiler check args for dbPutConvertRoutine[] functions. 2008-08-14 20:12:46 +00:00
Andrew Johnson
5f7a7543d3 Make dbpr print DBF_NOACCESS pointer fields nicely (on little-endian CPUs). 2008-08-14 17:31:22 +00:00
Andrew Johnson
ae0c908493 Check rec_size *before* using it... 2008-08-13 14:56:51 +00:00
Andrew Johnson
7ab50cad05 Convert NaN values properly. 2008-08-11 21:55:02 +00:00
Andrew Johnson
9842182954 Replace local myCalloc() calls with callocMustSucceed(). 2008-08-11 17:20:38 +00:00
Andrew Johnson
8b7059491b Prevent double processing after re-enabling from an empty SNAM. 2008-08-08 19:19:55 +00:00
Andrew Johnson
482fae3ac1 epicsTimeEventDeviceTime, devLib. 2008-08-07 22:09:38 +00:00
Andrew Johnson
9f9f5b48c5 Cleanup/coding style changes.
Added support for epicsTimeEventDeviceTime.
2008-08-06 22:11:51 +00:00
Andrew Johnson
8f1a5bdac6 Improved error messages in recGblGetTimeStamp(). 2008-08-06 22:03:49 +00:00
Andrew Johnson
4290277dc7 Replaced sizeofTypes[] with dbValueSize(). 2008-08-06 22:00:39 +00:00
Andrew Johnson
1d37abdaf4 Cleanup (indentation, spacing); replaced sizeofTypes[] with dbValueSize(). 2008-08-06 21:58:38 +00:00
Janet B. Anderson
d8a68192dc Added epicsShareFunc and epicsExportSharedSymbols info. 2008-08-06 16:54:25 +00:00
Janet B. Anderson
ca1c83bf3a Added shared library support for cygwin and mingw builds. 2008-08-06 16:52:52 +00:00
Janet B. Anderson
ef1cd5faf5 RCS files now used for all cygwin and mingw builds. 2008-08-06 16:44:16 +00:00
Andrew Johnson
7aca0bff26 Cleanup, error messages mostly. 2008-08-05 22:55:43 +00:00
Andrew Johnson
30d860c323 Flush errlog before exit on input errors. 2008-08-05 22:48:45 +00:00
Janet B. Anderson
bbb4e83f43 Added shared library (DLL) support. 2008-08-05 17:47:31 +00:00
Janet B. Anderson
5248c4d504 More changes to support shared libraries and cleanup of files. 2008-07-31 21:58:37 +00:00
Janet B. Anderson
66fbabfc1a Fixed OP_SYS_CPPFLAGS definition. 2008-07-29 21:44:31 +00:00
Janet B. Anderson
519b33e4fb Changes for shared library build using MinGW compiler on win32. 2008-07-29 21:11:56 +00:00
Janet B. Anderson
552cd4eb7e Added shared library support. 2008-07-29 21:01:43 +00:00
Andrew Johnson
f0811601ea Fixed warnings on MinGW. 2008-07-29 20:47:11 +00:00
Andrew Johnson
723ea22719 MinGW defines some of these macros. 2008-07-29 20:39:26 +00:00
Andrew Johnson
a6585880f4 Fixed C++ comments in header file used from C. 2008-07-29 20:12:09 +00:00
Andrew Johnson
26e2529980 Fixed warning on Solaris. 2008-07-29 17:27:31 +00:00
Andrew Johnson
91716f766a Make mutex exception classes derive from std::exception. 2008-07-29 17:10:15 +00:00
Andrew Johnson
d456aec4e7 Fixed alignment issue on solaris-sparc-gnu. 2008-07-28 22:35:06 +00:00
Andrew Johnson
7074fc01ea Added protected virtual destructor to stop g++ warnings. 2008-07-28 22:23:35 +00:00
Andrew Johnson
ff4f3f2070 Fixed warning on Solaris. 2008-07-28 18:32:32 +00:00
Andrew Johnson
b6ee45dbab Added virtual destructors (in most cases protected) to remove g++ warnings:
'class ...' has virtual functions but non-virtual destructor
2008-07-28 16:19:50 +00:00
Andrew Johnson
8a17c4b1e8 Fixed compiler warnings. 2008-07-28 16:03:34 +00:00
Janet B. Anderson
f0813777e4 More comment changes. 2008-07-25 15:58:04 +00:00
Janet B. Anderson
327a608fdd Updated versions, comments, ... 2008-07-25 15:38:37 +00:00
Janet B. Anderson
2d3fe7b6f1 Borland compiler no longer supported. 2008-07-25 15:14:53 +00:00
Janet B. Anderson
97edfe8766 Updated for WINXP plus other changes. 2008-07-25 15:13:32 +00:00
Janet B. Anderson
17609389d9 Changed order of registryIoc libs. 2008-07-24 20:09:26 +00:00
Janet B. Anderson
f0dc99250a Added *App and *app as DEPEND_DIRS for iocBoot and iocboot. 2008-07-24 19:48:49 +00:00
Janet B. Anderson
a264796800 Allow decimal points in fullpath dir names preceeding last subdir name. 2008-07-24 15:22:14 +00:00
Andrew Johnson
94f71e16f6 Added CR/CSR support to devLib. 2008-07-23 16:37:21 +00:00
Andrew Johnson
9c106ce023 Fixed possible race condition storing callback status. 2008-07-23 16:31:10 +00:00
Janet B. Anderson
ee68b94ede Added workaround for gcc crosscompiler 4.3.1 bug in RTEMS prerelease 4.9. 2008-07-23 16:11:19 +00:00
Andrew Johnson
010d5bb46e Described ascarStats, dbcarStats and seqcarStats for Mantis #281. 2008-07-22 22:21:46 +00:00
Andrew Johnson
be6cc6bfcf Added dbcaStats() for Mantis #281. 2008-07-22 21:33:41 +00:00
Andrew Johnson
55d6405b3c Added ascaStats(), for Mantis #281. 2008-07-22 21:21:11 +00:00
Janet B. Anderson
ca18915f1c Added windres & .coff comments for later use. 2008-07-22 21:02:07 +00:00
Janet B. Anderson
2f374e927d Moved HOST_OPT from CONFIG_SITE file to CONFIG file. 2008-07-22 20:59:26 +00:00
Andrew Johnson
4f8676a3d7 Added CSS style for function headers.
Fixed Mantix #127.
2008-07-22 20:37:30 +00:00
Andrew Johnson
343b8c12ed Fix from Mantis #308 from Dirk Zimoch. 2008-07-22 19:50:59 +00:00
Janet B. Anderson
a8cfe12cb2 Moved SHRLIB_CFLAGS definition. 2008-07-22 19:49:43 +00:00
Janet B. Anderson
6318edf09e Added include for CONFIG_SITE.solarisCommon.solarisCommon 2008-07-22 19:33:44 +00:00
Janet B. Anderson
77d3234ff5 Fixed comment line with file name typo. 2008-07-22 19:30:40 +00:00
Janet B. Anderson
5cef834d39 Removed sysroot and syslibroot options - they appear to be unneeded. 2008-07-22 19:29:24 +00:00
Janet B. Anderson
8a7b18bbf0 Added dependancies for all combos of dirs actions and arches. 2008-07-22 16:10:52 +00:00
Janet B. Anderson
d9df06d9d2 Changed epicsShareDef to epicsShareExtern. 2008-07-21 21:42:26 +00:00
W. Eric Norum
11a4a7b667 Fix placement. 2008-07-21 17:44:12 +00:00
W. Eric Norum
02b87df99c The ipToAsciiProxy thread calls upon vendor libraries which may use significant amounts of stack. Account for this by providing the thread with an epicsThreadStackBig stack. 2008-07-21 17:40:44 +00:00
Janet B. Anderson
72090c2e32 Removed duplicate epicsShareAPI in line. 2008-07-21 15:42:21 +00:00
Janet B. Anderson
4c96a3bb10 Added epicsShareFunc where necessary for win32 builds. 2008-07-21 14:27:21 +00:00
Janet B. Anderson
8ea828b8b3 Added epicsShare* where necessary for win32 builds. 2008-07-21 14:26:03 +00:00
Janet B. Anderson
b4c8de6f43 Added epicsShareFunc where necessary. 2008-07-21 14:10:56 +00:00
Janet B. Anderson
ab8786a8c1 Change for win32 builds. 2008-07-21 13:49:07 +00:00
Janet B. Anderson
d0d04aeff1 gcc now needs RTEMS_BASE/lib in LD_LIBRARY_PATH. 2008-07-18 21:06:21 +00:00
Janet B. Anderson
730fecea35 Added include for CONFIG_SITE.$(EPICS_HOST_ARCH).RTEMS overrides. 2008-07-18 21:01:27 +00:00
W. Eric Norum
7765da4293 Increase stack sizes a little.
Odd problems seemed to arise with smaller sizes, although the stack checker
never reported any problems.
2008-07-16 15:33:40 +00:00
Andrew Johnson
ad7d609bc9 Try to make the build more win32-compatible, not tested. 2008-07-11 16:45:14 +00:00
Andrew Johnson
1dd7eb90b5 Add dependency catools on alarm.h which is in dbStatic.
Moved cap5 to the end of the list, so it doesn't matter if it fails.
2008-07-10 22:16:41 +00:00
Janet B. Anderson
d110f81093 Added comments about USE_STLPORT. 2008-07-10 20:00:23 +00:00
Janet B. Anderson
00d0f2dfce Added code to use stLport library instead of default Cstd library. 2008-07-10 19:45:02 +00:00
Andrew Johnson
877c039614 Redundancy + errlog. 2008-07-10 18:45:56 +00:00
Janet B. Anderson
f7fde77d44 Work done in makeMakefileInclude.pl now done in RULES_TARGET. 2008-07-10 18:31:01 +00:00
Janet B. Anderson
21f4b0f987 Added RULES_TARGET & made changes to allow removing makeMakefileInclude.pl 2008-07-10 18:28:19 +00:00
Andrew Johnson
9cd14f0cc4 Send errlog output to stderr rather than stdout, from J Lewis Muir. 2008-07-10 18:04:10 +00:00
Andrew Johnson
db9dc38ed8 Find xsubpp and podchecker from the path to the perl binary. 2008-07-10 17:27:22 +00:00
Andrew Johnson
c9bc70bd6a Added iocBuild, iocPause and iocRun commands.
These are mainly for redundant IOCs, but may be useful elsewhere.
iocBuild prepares the IOC and freezes it just before it goes live.
A subsequent iocRun kicks it into life, or restarts it when paused.
iocPause freezes all scan tasks and disconnects the server.
2008-07-09 21:31:56 +00:00
Andrew Johnson
d0d8761d0d Removed epicsShareApi decorators.
Give periodic scans their own scan list structure.
Other cleanup.
2008-07-09 14:50:10 +00:00
Janet B. Anderson
3b10db881c Removed rebuild from ACTIONS, rebuild depends on clean install. 2008-07-03 18:44:50 +00:00
Janet B. Anderson
963c43a198 Use $(TOOLS)/useManifestTool.pl tool only when needed and when it exists. 2008-07-03 15:16:04 +00:00
Janet B. Anderson
51f48fae40 Added PRECIOUS for COMMON_DIR header files. 2008-07-03 15:09:31 +00:00
Janet B. Anderson
f6f07be763 Changes to allow LOADABLE_LIBRARY to work for borland and MS compilers. 2008-07-03 15:02:15 +00:00
Janet B. Anderson
37d6265427 Removed LINK.loadable_shrlib and added TARGET_LIB_LDFLAGS. 2008-07-03 15:01:09 +00:00
Janet B. Anderson
af569835c7 Changed .o to $(OBJ). 2008-07-02 15:19:16 +00:00
Janet B. Anderson
db1cf982f7 Modified APS override of GNU_DIR. 2008-07-02 15:17:09 +00:00
Janet B. Anderson
fc1139f9da Removed unnecessary ifdef T_A. 2008-07-01 20:11:40 +00:00
Janet B. Anderson
7a98decb49 Onlu use nonexistantFilename when necessary. 2008-07-01 20:09:29 +00:00
Andrew Johnson
06caa877c2 64-bit etc. 2008-07-01 16:51:02 +00:00
Andrew Johnson
ab7011a214 Fixes for IOCs on 64-bit platforms.
empty string to char conversions now produce 0, not '0'.
Record types ANSIfied by John Hammonds.
2008-07-01 16:49:08 +00:00
Andrew Johnson
5146b46fc3 Move cap5 after softIoc. 2008-07-01 16:41:07 +00:00
Andrew Johnson
7ba7c86177 Addec cap5. 2008-06-27 23:39:19 +00:00
Andrew Johnson
f21ec43560 Added Perl5 interface to CA. Not tested on Windows... 2008-06-27 22:19:30 +00:00
Janet B. Anderson
1af874b74e Added RELEASE_DBFLAGS definition. Fixed double $ for archs names. 2008-06-26 16:14:24 +00:00
Janet B. Anderson
1ea4322dbd Fixed DBFLAGS definition. 2008-06-26 16:12:51 +00:00
Andrew Johnson
7e120e3388 Don't register the hook more than once. 2008-06-25 16:49:13 +00:00
Janet B. Anderson
1623c5ab39 Removed all references to GCC_EXEC_PREFIX. 2008-06-25 15:15:42 +00:00
Andrew Johnson
c97214d4d2 Added initTrace command to exampleApp, registers a verbose initHook. 2008-06-24 21:49:57 +00:00
Andrew Johnson
df39142335 epicsThreadOnceOsd() must unlock mutex before calling func().
Required so callbackInit() can wait for its threads to start.
2008-06-24 20:59:55 +00:00
Andrew Johnson
13922ddd8d Added hint to run RegisterDeviceDriver(). 2008-06-23 22:33:30 +00:00
Andrew Johnson
a625f45303 Modified minimum version of Perl to 5.6 (not tested!) and gnumake to 3.81. 2008-06-19 21:23:58 +00:00
W. Eric Norum
448cdf851d Just like vxWorks, RTEMS breaks horribly if GCC_EXEC_PREFIX is set. 2008-06-19 21:23:47 +00:00
Andrew Johnson
e0e3053b36 Cleanup after fix for Mantis #314. 2008-06-13 15:32:05 +00:00
Andrew Johnson
3a36b75c01 No special_linconv method needed in DSET, reduce number to 5.
Fixes Mantis #314.
2008-06-13 15:20:40 +00:00
Andrew Johnson
3be3203377 Convert Inf and NaN values properly. 2008-06-12 22:44:16 +00:00
Janet B. Anderson
eb37f08df2 RM definition has the -f option. 2008-06-11 20:50:17 +00:00
Andrew Johnson
becb4378d4 Make epicsTimeGetCurrent and epicsTimeGetEvent with epicsShareAPI
for backwards-compatibility reasons (someone may need this).
2008-06-11 18:56:25 +00:00
Andrew Johnson
556bab5ffe Added initHookName() function.
Use epicsThreadOnce() for lazy init.
2008-06-11 14:50:40 +00:00
Andrew Johnson
2dc0020513 Updated tasks, replaced explicit names with roles. 2008-06-09 21:17:16 +00:00
Janet B. Anderson
18623bb67c Fixed bug in FILE_TYPE_template. Replaced 644 with INSTALL_PERMISSIONS. 2008-06-09 20:35:01 +00:00
Janet B. Anderson
43dd9c2704 Changed 644 to INSTALL_PERMISSIONS. 2008-06-09 20:33:40 +00:00
Andrew Johnson
ec06e418b9 Change startup/shutdown slightly. 2008-06-09 18:25:36 +00:00
Andrew Johnson
5a0bed0407 Call cantProceed() if taskwd task fails to start. 2008-06-09 18:10:47 +00:00
W. Eric Norum
b88a1c685e Clean up stack size specification. 2008-06-06 17:41:56 +00:00
Andrew Johnson
3a202cafda Comment. 2008-06-06 14:33:27 +00:00
Andrew Johnson
ad5760f61a Remove duplicate null DSXT layer. 2008-06-06 14:29:37 +00:00
Andrew Johnson
e21bf9d9f1 Fixed bug in dbPutFieldLink: Couldn't change INP/OUT field of any record
type that has no registered device support, whereas we should treat this
field just as any other non-device link field.
2008-06-05 22:06:58 +00:00
Andrew Johnson
fdbb48af4f Oops, missed a few bits... 2008-06-04 20:08:20 +00:00
Andrew Johnson
048e840928 Oops, missed a few bits... 2008-06-04 19:54:15 +00:00
Andrew Johnson
45bfa63a7d static putSpecial() => public dbPutSpecial() for redundancy use. 2008-06-03 22:40:10 +00:00
Andrew Johnson
0a17bfc12a Made 'dbcar' output much easier to understand. 2008-06-03 21:21:29 +00:00
Janet B. Anderson
b591e01d05 Changed permissions to a *_PERMISSIONS definition. 2008-06-02 21:50:00 +00:00
Janet B. Anderson
9e5463d4d5 Added quote to echo line. Changed permissions to INSTALL_PERMISSIONS. 2008-06-02 21:46:01 +00:00
Janet B. Anderson
d955ed8fa4 Added installed file permission definitions. 2008-06-02 21:44:45 +00:00
Janet B. Anderson
39255ad560 Added dependancy and rule for DB_INSTALLS and DBD_INSTALLS. 2008-06-02 21:35:33 +00:00
Janet B. Anderson
389263f290 Simplified definitionss for INSTALL_BIN_INSTALLS and INSTALL_LIB_INSTALLS. 2008-06-02 21:18:32 +00:00
Janet B. Anderson
8ce9be1c04 Added dependancies and rules for BIN_INSTALLS and LIB_INSTALLS. 2008-06-02 20:29:34 +00:00
Andrew Johnson
86bea94113 Change #! line, perl is rarely in /usr/local nowadays. 2008-05-28 20:55:40 +00:00
Andrew Johnson
8c9e5f63e5 Include generalTimeSup.h. 2008-05-27 14:15:39 +00:00
Andrew Johnson
7720ea696e Oops. 2008-05-22 20:24:52 +00:00
Andrew Johnson
363080071c Fix build issues on vxWorks. 2008-05-22 20:19:34 +00:00
Andrew Johnson
1ed5eb1ad1 Major reworking of the task watchdog implementation:
* Added new monitoring API with insert and remove callbacks; the old API is
  still supported though.
* Added report routine, callable from iocsh.
* taskwdInsert() can take a NULL tid, meaning the calling thread.
2008-05-22 17:54:19 +00:00
Andrew Johnson
797df775d0 void *asp => struct *.
Removed some casts and cleaned up 'type-punned pointer' warnings.
2008-05-21 17:46:02 +00:00
Andrew Johnson
0363341826 Remove duplicate taskwdInsert() call for the CAS-UDP task. 2008-05-20 17:45:18 +00:00
Andrew Johnson
4831cf2421 Changed static consts to #defines, so C code can use in static initializers. 2008-05-19 14:26:49 +00:00
Andrew Johnson
06d11b736a Cleanup, rework shutdown mechanism. 2008-05-15 17:41:02 +00:00
Andrew Johnson
24edb594cc Included vxWorks.h, needed for vxWorks 6.6. 2008-05-15 14:25:28 +00:00
Andrew Johnson
975c5ae4c6 General Time cleanup. 2008-05-14 18:42:26 +00:00
Andrew Johnson
c4dfb6980b Added support for vxWorks 6.6, info from Ernest Williams. 2008-05-14 16:31:52 +00:00
W. Eric Norum
a55eedd3f3 Enable collection of malloc statistics. 2008-05-13 20:42:41 +00:00
Andrew Johnson
9f8ee2d166 Make callback tasks shut down nicely. 2008-05-12 20:40:49 +00:00
Andrew Johnson
500f22cd37 Allow "Soft Timestamp" device address changes at runtime. 2008-05-12 20:09:11 +00:00
Andrew Johnson
4ad26bfb12 Added -x option to load softIocExit.db. 2008-05-12 17:31:27 +00:00
Andrew Johnson
99f8eede0b const arguments to dbLoadRecords and dbLoadDatabase. 2008-05-12 16:48:31 +00:00
W. Eric Norum
00f4582478 Fix typo -- allow building on case-sensitive file systems. 2008-05-12 00:23:42 +00:00
W. Eric Norum
e40ef4996a Fix up free space calculation. 2008-05-11 21:28:55 +00:00
W. Eric Norum
12a5014193 Use more efficient mechanism for determining free space. 2008-05-11 20:18:01 +00:00
W. Eric Norum
f8f3647f1c Use lower-overhead mechanism to determine free space. 2008-05-11 20:05:24 +00:00
Andrew Johnson
967330fcd6 Cleanup, changed task names. 2008-05-09 22:16:29 +00:00
W. Eric Norum
edb08afdc3 Use new general time registration.
Allow use in both statically- and dynamically-loaded environment.
2008-05-09 15:39:55 +00:00
W. Eric Norum
3cca2c745b Clean up some warnings.
Use new general time registration.
2008-05-09 15:28:15 +00:00
Andrew Johnson
51800996b0 Fixed generalTime initialization issues (RTEMS incomplete). 2008-05-09 14:24:04 +00:00
W. Eric Norum
893b8b6982 Fix up initialization. Must allow recursive calls. 2008-05-08 18:14:58 +00:00
Andrew Johnson
2a34e2e464 Don't use fmod(), broken on vxWorks.
Use long rather than int for integer calculations.
2008-05-08 16:15:50 +00:00
Andrew Johnson
e74e839ccd Fix initialization races. 2008-05-07 22:38:31 +00:00
Janet B. Anderson
e2a8e3408c Allow $*_TEMPLATE definitions to have fullpathname.
Added realclean target.
2008-05-06 21:21:41 +00:00
Janet B. Anderson
5c80b4902c Bug fix. Reversed the then and else part of the if function. 2008-05-02 15:12:50 +00:00
Andrew Johnson
4c0015e261 Removed the unnecessary "epicsExit will be called" message. 2008-05-01 14:38:55 +00:00
W. Eric Norum
b71ebd8cc2 Don't use exclamation mark for valid output. 2008-04-30 18:14:48 +00:00
Janet B. Anderson
8a183d7bbd Look for .h files in os/posix dir only if POSIX is YES.
Set default for POSIX to YES.
2008-04-29 18:58:04 +00:00
Janet B. Anderson
916f1c258f Removed if stmnts from define/endef to avoid bug in GNU make R3.80. 2008-04-29 18:54:39 +00:00
Andrew Johnson
0895228a57 IVOA "Don't drive" bug fix, from Peter Mueller. 2008-04-29 17:51:34 +00:00
W. Eric Norum
1329e99d81 Ensure that BSP-specific overrides get into the configuration. 2008-04-28 21:25:45 +00:00
W. Eric Norum
7b36927d68 New base uses new version of RTEMS. 2008-04-28 19:24:08 +00:00
W. Eric Norum
1d7fd3899e NFS library name has changed. 2008-04-28 19:14:29 +00:00
Andrew Johnson
cab70696cc Id$. 2008-04-28 16:11:25 +00:00
Andrew Johnson
90a53b60c5 Major cleanup, rewrote some parts completely. 2008-04-28 16:10:49 +00:00
Andrew Johnson
8b5ef8d497 Fixed pointer cast. 2008-04-28 15:55:45 +00:00
Andrew Johnson
04cd32d175 Build misc/ before dev/ so extended devices can link properly on Solaris. 2008-04-25 22:14:59 +00:00
Andrew Johnson
21aed171a5 Another malloc() + bzero() => calloc() 2008-04-25 21:57:31 +00:00
Andrew Johnson
0639850d7a Expanded tabs, replaced malloc() + bzero() with calloc(). 2008-04-25 21:48:19 +00:00
Andrew Johnson
e738b5c617 Added ai support; renamed source file. 2008-04-25 21:13:17 +00:00
Andrew Johnson
5cdb9ff089 Renamed devTimestampSI.c with ai support added. 2008-04-25 21:08:10 +00:00
Andrew Johnson
7256130470 Added ai support; renamed source file. 2008-04-25 21:05:59 +00:00
Janet B. Anderson
81a56a5b9e Second try at creating *_Include.dbd dependancy on Makefile. 2008-04-25 20:06:10 +00:00
Janet B. Anderson
e5b6693d8c Backed out Created *_Include.dbd dependancy on Makefile. 2008-04-25 18:44:21 +00:00
Janet B. Anderson
e05cf72537 Created <name>_Include.dbd now depends on Makefile. 2008-04-25 15:29:16 +00:00
W. Eric Norum
158ce5ac32 New tool chain does not need (and must not have) -m5200 in addition to -m528x. 2008-04-24 18:18:12 +00:00
Andrew Johnson
38f17b720e Allow subroutine changes at runtime, from Kazimierz Gofron (Codeathon)
Also did some major cleanup.
2008-04-24 16:30:37 +00:00
Janet B. Anderson
92936a9134 Do gmake in bonfir directory not config/tools directory. 2008-04-22 15:09:48 +00:00
W. Eric Norum
6f7156cab2 Clean up. 2008-04-18 20:30:19 +00:00
W. Eric Norum
fc85afd77c Clean up some minor issues with differences between RTEMS/vxWorks/POSIX. 2008-04-18 19:20:50 +00:00
Andrew Johnson
a3cd917de2 General Time, from Peter Denison, Eric Norum and many others... 2008-04-18 18:39:32 +00:00
Janet B. Anderson
b02f69092c Allow apps and extensions to define CONFIG. 2008-04-18 16:28:02 +00:00
Janet B. Anderson
9816887062 Allow use of a site configure directory by defining RULES in CONFIG. 2008-04-18 16:24:21 +00:00
W. Eric Norum
afd028c4ff Round sleep time to nearest tick. This is important when working with
high-precision time sources, such as event receivers.
2008-04-17 22:04:57 +00:00
Ralph Lange
b8f613881b iocInit() installs a signal handler that ignores SIGHUP 2008-04-17 19:52:23 +00:00
W. Eric Norum
57005d58ae Use new, simpler, RTEMS test harness. 2008-04-17 19:34:57 +00:00
Ralph Lange
60449e20b0 += epicsSignalInstallSigHupIgnore (libCom/osi) 2008-04-17 18:57:07 +00:00
W. Eric Norum
7e31cb0db3 Round off sleep times -- makes timed scan threads work better when
high-quality time source (e.g. event receiver) is used.
2008-04-17 18:53:54 +00:00
Ralph Lange
f6dd8d5654 += caput -c option; updated usage infos and documentation to match 2008-04-17 02:53:19 +00:00
Ralph Lange
73e17ac32a Applied caput patches from Andy Foster; updated usage infos to match 2008-04-17 02:31:36 +00:00
Andrew Johnson
9d7fb60785 Added mote about deprecating epicsShareAPI. 2008-04-15 20:30:22 +00:00
W. Eric Norum
5708538d32 Back out erroneous commit. 2008-04-15 14:44:31 +00:00
W. Eric Norum
aa71115a4b Back out yesterday's mistaken commits. 2008-04-15 14:42:19 +00:00
W. Eric Norum
6254f0d730 General time changes. 2008-04-14 20:08:39 +00:00
W. Eric Norum
5e51fdaa91 Initial general time supportl. 2008-04-14 19:49:48 +00:00
W. Eric Norum
489af50c7a Preliminary general time changes. 2008-04-14 19:49:47 +00:00
Andrew Johnson
fde879062d Some versions of Solaris define isinf() macro. 2008-04-14 18:50:32 +00:00
Andrew Johnson
c64685a360 Varargs functions in CALC. 2008-04-10 18:31:33 +00:00
Andrew Johnson
b281b453bb Added variable argument functions, mostly by Benjamin Fransken.
MIN, MAX, FINITE and ISINF can now take any number of arguments.
2008-04-10 18:06:47 +00:00
Janet B. Anderson
df59c12f75 Added CPPFLAGS -mcpu=arm9 -marm -- from Heinrich du Toit. 2008-04-09 20:41:33 +00:00
Andrew Johnson
85b20ffaea Fix envPaths output for cexp users. 2008-04-08 17:49:33 +00:00
Andrew Johnson
fb930b6b0e Renamed convertRelease target 'STDOUT' to 'releaseTops' and fixed build files.
Removed the -h option to convertRelease, use $ENV{EPICS_HOST_ARCH} instead.
Reworked variables associated with expandVars to make it simpler to use.
Split EPICS::Utils module into three parts.
Moved code from fullPathName.pl into the new EPICS::Path module.
Changed convertRelease.pl to use new modules.
Added some documentation to RELEASE_NOTES.html
2008-04-03 21:57:16 +00:00
W. Eric Norum
2a9ccaf2c0 Use correct conditional. 2008-04-01 20:36:08 +00:00
Andrew Johnson
bc3584c834 Moved Perl modules from Ctlsys to EPICS.
Cleanup and corrections in expandVars@.
2008-04-01 19:25:47 +00:00
W. Eric Norum
e1d28a495a Allow use with pre-release version of RTEMS-4.9. 2008-04-01 18:16:29 +00:00
W. Eric Norum
d91feefcac Use _Objects_Get_name_as_string if available.
Clean up some warnings.
2008-04-01 17:00:12 +00:00
Andrew Johnson
e8d52af7bc Can't make epicsInt8 a 'signed char', it breaks too much stuff.
This is a problem - on some archs char is signed, on others not.
2008-04-01 15:54:01 +00:00
Andrew Johnson
f21aed109c An epicsInt8 is signed, but a bare 'char' isn't necessarily. 2008-03-31 19:46:46 +00:00
Andrew Johnson
37b371e956 macLib cleanup, added support for scoped macros.
New test program for regular macros as well as the environment variable tests.
2008-03-31 19:30:17 +00:00
Andrew Johnson
2079c128d5 Cleanup of epicsThreadPrivate stuff, remove unnecessary code. 2008-03-28 22:35:48 +00:00
Janet B. Anderson
37cd3234bd Use perl ExtUtils for CP, MV, RM, and RMDIR macro definitions. 2008-03-28 21:35:26 +00:00
Janet B. Anderson
a4a2a73fe7 Added ifneq test around -include lines for make version 3.80 on Linux FC4.
See Ernest Williams for details.
2008-03-28 19:28:13 +00:00
Janet B. Anderson
1d1454ba98 Removed perl scripts cp.pl mkdir.pl mv.pl rm.pl. 2008-03-26 21:10:05 +00:00
Janet B. Anderson
0c4cf4ff23 SRC_DIRS should be inside top tree. 2008-03-26 18:55:03 +00:00
Janet B. Anderson
7a6528cf1c Removed references to EPICS_BASE, EPICS_EXTENSIONS, and CTLSYS. 2008-03-25 22:04:52 +00:00
Janet B. Anderson
c1512557d5 Removed EXPANDFLAGS definition. It is defined in configure/RULES_EXPAND. 2008-03-25 22:03:41 +00:00
Janet B. Anderson
2929063e3c Removed debugging lines. 2008-03-24 22:27:42 +00:00
Janet B. Anderson
09639d6183 Initial version. 2008-03-24 22:24:22 +00:00
Janet B. Anderson
1ff1ba637e Moved configure/tools files to src/tools directory. 2008-03-24 22:17:06 +00:00
Janet B. Anderson
678dec4100 Added new tools directory. 2008-03-24 22:09:02 +00:00
Janet B. Anderson
ad4a336053 Include cfg/RULES* files to get DIRECTORY_TARGET names for uninstall. 2008-03-24 22:06:46 +00:00
Janet B. Anderson
b10833318b Macros and rules for octave files. 2008-03-24 22:06:26 +00:00
Janet B. Anderson
861e6ab132 Allow user defined installation file types
Added new file types ADL,ALH,CFG,IDL,PERL_MODULE,PERL_SCRIPT
2008-03-24 22:06:05 +00:00
Janet B. Anderson
93d1359256 New expand facility to expand @xxx@ variables. 2008-03-24 22:05:42 +00:00
Janet B. Anderson
101256d28c Moved configure/tools perl tools to src/tools directory.
Replaced O.<T_A> files CONFIG_APP_INCLUDE and RULES_INCLUDE creation with
   defs and rules in configure files CONFIG_APP_INCLUDE and RULES_BUILD
2008-03-24 22:05:10 +00:00
Janet B. Anderson
1e0178a492 Moved configure/tools perl tools to src/tools directory.
Replaced O.<T_A> files CONFIG_APP_INCLUDE and RULES_INCLUDE creation with
defs and rules in configure files CONFIG_APP_INCLUDE and RULES_BUILD
2008-03-24 22:04:01 +00:00
Janet B. Anderson
0485bc7838 Moved configure/tools perl tools to src/tools directory. 2008-03-24 22:03:42 +00:00
Janet B. Anderson
74ff11919f Replaced O.<T_A> files CONFIG_APP_INCLUDE and RULES_INCLUDE creation with
defs and rules in configure files CONFIG_APP_INCLUDE and RULES_BUILD
Allow new CFGS - user RULES* file to be installed into a cfg directory.
New expand facility to expand @xxx@ variables.
2008-03-24 22:03:08 +00:00
Janet B. Anderson
716dabdba1 Replaced O.<T_A> files CONFIG_APP_INCLUDE and RULES_INCLUDE creation with
defs and rules in configure files CONFIG_APP_INCLUDE and RULES_BUILD
2008-03-24 22:02:29 +00:00
Andrew Johnson
87c4db7e4d Moved condWait() into conditional compilation area where it's used. 2008-03-17 22:18:25 +00:00
Andrew Johnson
3a40dddccb Give up trying to calculat epicsEpochOffset, which is a constant.
Also fixed incorrect NTP timescale conversion constant.
2008-03-14 20:50:39 +00:00
Andrew Johnson
4deb3a92c9 Fixed 64-bit bug copying timestamp. 2008-02-21 19:47:37 +00:00
Andrew Johnson
5478ba8bc6 Rewrite. abs_path() fails if path components before the last don't exist. 2008-01-11 21:35:56 +00:00
W. Eric Norum
f26de14718 Remove old-style stack check code. spy provides a better mechanism. 2008-01-10 15:03:45 +00:00
W. Eric Norum
9d8886e8cc Add extended BSP routines. 2008-01-08 22:19:50 +00:00
W. Eric Norum
95d6cbe8be Add MVME3100 support. 2008-01-08 22:06:14 +00:00
W. Eric Norum
1f7398344c Clean up GEV VPD support. 2008-01-08 20:58:10 +00:00
W. Eric Norum
193c5b234c Add VPD offset. 2008-01-08 20:47:37 +00:00
W. Eric Norum
b8cd8f5507 Add open argument. 2008-01-08 20:29:20 +00:00
W. Eric Norum
e366f72788 Add errno header. 2008-01-08 20:26:48 +00:00
W. Eric Norum
f8959705b3 More GEV changes. 2008-01-08 20:24:19 +00:00
W. Eric Norum
2bb463293f Add serial EEPROM support. 2008-01-08 20:14:13 +00:00
W. Eric Norum
62a93f0565 Add default address for GEV memory. 2008-01-08 19:15:23 +00:00
Andrew Johnson
91cdaf7cca Fixed warnings on 64-bit platforms. 2008-01-04 21:32:19 +00:00
Andrew Johnson
b0c0ab77ac Reduce initial size of expanded string. 2008-01-04 17:07:30 +00:00
Andrew Johnson
7cf188ff61 Fix issues when char is signed. 2008-01-04 16:52:15 +00:00
Andrew Johnson
9fa90d5d5d Cleanup. 2008-01-04 16:43:44 +00:00
Andrew Johnson
23d1feffcc Added vxWorks version 6.4 2008-01-04 16:19:57 +00:00
W. Eric Norum
3722db6db7 Get types. 2007-12-17 21:23:26 +00:00
W. Eric Norum
1c89724137 Use new configuration entries. 2007-12-17 21:05:20 +00:00
W. Eric Norum
b8bac42678 Use standard types. 2007-12-17 20:56:50 +00:00
W. Eric Norum
b6479e4e38 RTEMS internals have changed slightly. 2007-12-17 20:50:24 +00:00
W. Eric Norum
5e87e645e0 Use standard types. 2007-12-17 19:47:51 +00:00
W. Eric Norum
9cb7a7a339 Use standard types -- new versions of RTEMS will be drop the rtems_xxx types. 2007-12-17 18:43:59 +00:00
Janet B. Anderson
407234e390 Removed some comments. 2007-12-12 20:19:01 +00:00
Janet B. Anderson
271a80ab61 Made change for make -j option. Changed name of include file. 2007-12-12 20:15:24 +00:00
Janet B. Anderson
f613d379ec Made change for make 0j option. Changed name of include file. 2007-12-12 20:14:14 +00:00
Janet B. Anderson
f8152ac318 Made CONFIG_SITE file an optional include file. 2007-12-12 20:04:54 +00:00
Janet B. Anderson
7efb669ee3 Removed CC and CCC defs because they are in CONFIG.gnuCommon 2007-12-12 20:01:03 +00:00
Janet B. Anderson
2b29bede08 Option -fPIC not needed. 2007-12-12 19:42:57 +00:00
Janet B. Anderson
bf6ff7cc1c Set valid builds to Ioc for cross builds. 2007-12-11 21:17:03 +00:00
Janet B. Anderson
55fde6bb9f GNU_TARGET now in CONFIG_SITE file. Flag for 32 bit build added. 2007-12-11 21:15:27 +00:00
Janet B. Anderson
42af0cab54 GNU_TARGET now in a CONFIG_SITE file. 2007-12-11 20:58:26 +00:00
Janet B. Anderson
4c27f4c83b Simplified code. Added flag for 32/64 bit. GNU_TARGET now in CONFIG_SITE*. 2007-12-11 20:56:39 +00:00
Janet B. Anderson
b14316865d Updated FLAGS for 64 bit build. 2007-12-11 20:50:22 +00:00
Janet B. Anderson
79cc983edc Moved GNU_DIR def to CONFIG_COMMON.
Moved *SHRLIB_LDFLAGS defs to CONFIG.gnuCommon.
2007-12-11 20:23:00 +00:00
Janet B. Anderson
51b179160b Added optional -pipe option for GNU compiler builds. 2007-12-11 19:05:39 +00:00
Janet B. Anderson
48d82f8701 Fixed definitions for GNU_TARGET_INCLUDE_DIR and GNU_TARGET_LIB_DIR. 2007-12-11 15:46:15 +00:00
Janet B. Anderson
c0e61d3ee1 Allow INC_<OS_CLASS> definitions. 2007-12-11 15:40:00 +00:00
Janet B. Anderson
4cc40073f8 Install share libs before archive libs - needed for parallel builds. 2007-12-11 15:35:06 +00:00
Janet B. Anderson
cd472f8135 Added include for linux-arm file. 2007-12-11 15:28:17 +00:00
Janet B. Anderson
db7d8ba762 Moved GNU_TARGET def to CONFIG_SITE.linux-x86.linux-arm_* files. 2007-12-11 15:17:33 +00:00
Janet B. Anderson
0e8fb1017c Initial Version. 2007-12-10 21:28:59 +00:00
Janet B. Anderson
9e56389edc Added note about access security configuration file creation. 2007-12-07 20:59:36 +00:00
Janet B. Anderson
3e4570ed29 Added rules/macros for creating access security configuration .acf files. 2007-12-07 20:57:35 +00:00
Janet B. Anderson
b1dc73e8da Fixed typo in comment. 2007-12-07 19:48:33 +00:00
Janet B. Anderson
fb433c0202 Fixed file name (had comma in name). 2007-11-29 18:41:33 +00:00
Andrew Johnson
3fa2a79f4f Move static command structures to file scope, needed for vxWorks-x86 targets. 2007-11-27 17:57:25 +00:00
Janet B. Anderson
caa0f27e9c Added RELEASE* files to CONFIG_INSTALLS. 2007-11-27 17:14:55 +00:00
Andrew Johnson
4492251434 Added callbackSetProcess() and callbackCancelDelayed() routines. 2007-11-20 21:07:10 +00:00
Andrew Johnson
de2fdc7654 Added dbNotifyDump command. 2007-11-20 20:13:51 +00:00
Andrew Johnson
d977edbf5e subArray error stuff.
Clarified parallel make wording.
2007-11-20 16:54:18 +00:00
Andrew Johnson
671b5334ea Cleanup, ANSIfied. 2007-11-20 16:47:12 +00:00
Andrew Johnson
3edc4b5c18 Fixed error behaviour.
ANSIfied, major cleanup.
2007-11-20 16:44:21 +00:00
Andrew Johnson
6580220e37 Introduce new header epicsEndian.h which allows C code to find out the
platform's byte order (osiWireFormat.h is C++ only).
2007-11-14 21:59:59 +00:00
Andrew Johnson
0e723c8185 Introduce new header epicsEndian.h which allows C code to find out the
platform's byte order (osiWireFormat.h is C++ only).
2007-11-13 23:46:53 +00:00
Andrew Johnson
54ce8fbdbe Fixed Mantis #290. 2007-11-13 23:27:35 +00:00
Andrew Johnson
4b7d838b20 Replaced epoch offset calculation, fixes problem on vxWorks. 2007-11-13 22:54:20 +00:00
Andrew Johnson
08804b05d5 Added GNU versions for vxWorks 6.4 and 6.5. 2007-11-12 16:48:43 +00:00
Janet B. Anderson
bc0a5b7e7a Added blurb about new linux-cris architectures. 2007-11-09 16:16:32 +00:00
Janet B. Anderson
e96f5bc1ad Initial version - linux-cris files from Peter Zumbruch at GSI. 2007-11-09 16:12:24 +00:00
Jeff Hill
cff69ead6b removed inadvertent ! at beginning of line in if statement 2007-11-07 23:17:06 +00:00
Janet B. Anderson
26051caeab Modified comment lines. 2007-11-07 21:08:51 +00:00
Janet B. Anderson
36caea04db Added ARCH_DEP_LDFLAGS definition. Removed unneeded ARCH_DEP_CXXFLAGS def. 2007-11-07 21:06:09 +00:00
Janet B. Anderson
1f0156b81b Fixed typo in comment. 2007-11-07 20:51:35 +00:00
Janet B. Anderson
2a1849b7f0 Removed file because name had a typo. 2007-11-07 20:37:40 +00:00
Janet B. Anderson
bfa50a488d Set VALID_BUILDS to Ioc when cross-compiled. 2007-11-07 20:36:07 +00:00
Janet B. Anderson
a76989303a Adding file on R3.14 branch. 2007-11-07 20:32:32 +00:00
Janet B. Anderson
312ea151ab Added file on R3.14 branch. 2007-11-07 20:30:21 +00:00
Janet B. Anderson
dd96059060 Added BUILD_CLASS=HOST and GNU=NO. 2007-11-07 20:26:47 +00:00
Andrew Johnson
892c305cc5 Possible fix for Win32, CR+LF in lines output by unitTest code. 2007-11-06 23:36:25 +00:00
Jeff Hill
26339cdbed additional changes for the mantis 296 pach 2007-11-06 17:58:36 +00:00
W. Eric Norum
9bf85a7c65 Add OS X specific version of epicsMath.h to allow for use of isfiniite(). 2007-11-05 16:49:35 +00:00
Janet B. Anderson
1ff411a3d7 Removed YES_ from POSIX_CPPFLAGS_YES_* lines. 2007-10-29 19:47:43 +00:00
Janet B. Anderson
083eb0889b Move KPIC line. Added solaris10 ldlibs option. 2007-10-29 19:46:17 +00:00
Andrew Johnson
faf4b84463 Correct exception message. 2007-10-29 18:28:03 +00:00
Janet B. Anderson
cff9f562c2 Added note about new compile line header search directories. 2007-10-26 18:50:06 +00:00
Janet B. Anderson
57731f6768 Moved break in line to get darwin-ppc to build. 2007-10-26 14:18:43 +00:00
Janet B. Anderson
9d2b8ece7b Changes for GNU make -j option (multiple jobs). 2007-10-24 21:21:54 +00:00
Andrew Johnson
e659918bcf What is this file? We're not compiling it, and it's Unix only. 2007-10-24 17:01:25 +00:00
W. Eric Norum
c02e9b6b23 PPCBUG notes. 2007-10-23 00:57:18 +00:00
W. Eric Norum
903ff24801 Add NTP server to PPCBUG boots. 2007-10-22 21:57:23 +00:00
Janet B. Anderson
6b4728e5da Added VALID_BUILDS = Ioc. 2007-10-22 14:39:11 +00:00
W. Eric Norum
5e4d8dc187 Now that libCom:iocClock() is working there's no need to fiddle around with NTP
during startup.
2007-10-16 17:38:29 +00:00
Janet B. Anderson
cec0d1ead4 Dont install non-munched prods. 2007-10-09 19:35:21 +00:00
W. Eric Norum
987d3295da Add more NTP override code. 2007-10-08 14:57:09 +00:00
W. Eric Norum
5790d231c2 Add NTP capability (to match vxWorks). 2007-10-03 23:38:26 +00:00
Andrew Johnson
52ab7f6d6b A char with the top bit set doesn't cast properly when its signed. 2007-09-11 19:11:55 +00:00
Jeff Hill
a74c727a43 fix for mantis entry 300:
'assert (size <= ntohs ( pMsg->m_postsize ))' failed in ..caserverio.c line 344
2007-09-07 17:43:52 +00:00
W. Eric Norum
1993328ec2 Add extended BSP library. 2007-08-30 18:10:43 +00:00
Jeff Hill
4cc8138021 fix for mantis 298 2007-08-29 17:39:56 +00:00
Andrew Johnson
abd2a46c79 Mostly cosmetic changes.
Added an ifdef test for FLOAT_WORD_ORDER in os/default/osdWireConfig.h
2007-08-28 16:42:45 +00:00
Jeff Hill
f9e64792e1 installed 2007-08-27 23:56:53 +00:00
Jeff Hill
7edfbdeee6 installed 2007-08-27 23:48:06 +00:00
Jeff Hill
9775a058b8 installed 2007-08-27 22:25:56 +00:00
Jeff Hill
fb1ee4e2e1 added newline to eof 2007-08-27 22:23:06 +00:00
Jeff Hill
07c1e3016d installed osdWireConfig.h 2007-08-27 22:20:50 +00:00
Jeff Hill
cd43e09eee installed 2007-08-27 22:16:30 +00:00
Jeff Hill
c9722c3061 changed to use osdWireConfig.h def of EPICS_BYTE_ORDER and EPICS_FLOAT_WORD_ORDER 2007-08-27 22:13:39 +00:00
Jeff Hill
0154bf5388 define EPICS_ENDIAN_LITTLE and EPICS_ENDIAN_BIG 2007-08-27 22:10:15 +00:00
Jeff Hill
de1b8a94ff fix for mantis 297 2007-08-23 17:46:28 +00:00
Andrew Johnson
a8d4a7a879 Stuff about dbBptNotMonotonic. 2007-08-21 22:15:29 +00:00
Andrew Johnson
b454b73b28 Cleanup, improve error message. 2007-08-21 21:09:14 +00:00
Andrew Johnson
30f2018b17 These osiRegister files not used. 2007-08-21 21:07:28 +00:00
Jeff Hill
b5e2b40be0 fix for mantis 296 2007-08-17 22:31:11 +00:00
W. Eric Norum
2c7af24445 Add RTEMS notes. 2007-08-17 14:46:00 +00:00
W. Eric Norum
06ac546919 Clean up MOTLOAD environment variable support.
Documented, too!
2007-08-17 14:41:34 +00:00
W. Eric Norum
f637e9c723 Improve operation of MOTLOAD machines. 2007-08-15 20:39:51 +00:00
W. Eric Norum
459d3bc36c Add new target. 2007-08-15 14:00:51 +00:00
Andrew Johnson
7c0897f058 Added dbBptNotMonotonic, disables checking slope of breaktables. 2007-08-13 15:27:31 +00:00
Janet B. Anderson
834eb51b81 Removed the incorrect COMMON_INCLUDE_DBDS and ../Makefile dependency. 2007-08-03 16:28:25 +00:00
W. Eric Norum
0274263976 New source file. 2007-08-03 13:54:22 +00:00
Andrew Johnson
d7dda85ee0 Improved fix after comments from Dirk Zimoch. 2007-07-30 16:18:04 +00:00
Andrew Johnson
d18805bd03 Mantis #295 fix. 2007-07-30 14:12:22 +00:00
Andrew Johnson
6039647e13 Handle SELN >= SEL_MAX without crashing (Mantis #295) 2007-07-20 19:23:50 +00:00
W. Eric Norum
5bf49c4616 More timing cleanups for RTEMS. 2007-06-20 15:38:40 +00:00
W. Eric Norum
d15bb4d1ab Fix typo. 2007-06-20 13:46:21 +00:00
W. Eric Norum
81926a11f2 Avoid conflict with test harness. 2007-06-20 13:45:27 +00:00
Janet B. Anderson
893c2e4e46 Removed references to DEPJAVA. Fixed INSTALLED_JAR definition. 2007-06-19 21:19:00 +00:00
W. Eric Norum
526a05b756 Drop some vxWorks-specific code. 2007-06-19 16:20:36 +00:00
W. Eric Norum
1ea11f02f8 RTEMS now has iocClock.h. 2007-06-19 16:10:01 +00:00
W. Eric Norum
f8689c77de Add drvTs support. 2007-06-19 16:04:29 +00:00
Andrew Johnson
8b0673a3ab Don't run parent's atexit() handlers if child's exec() fails. 2007-06-11 20:03:03 +00:00
Janet B. Anderson
f0f0855c67 Fixed comment line with filename. 2007-06-07 19:44:03 +00:00
Janet B. Anderson
c823c63792 Initial version. 2007-06-06 18:22:13 +00:00
Andrew Johnson
643db2e417 Make sure the EPICS epoch is 1990-01-01T00:00:00 UTC 2007-05-07 20:50:38 +00:00
Janet B. Anderson
e8a5e95418 Moved APS override of GNU_DIR here. 2007-05-04 20:56:10 +00:00
Janet B. Anderson
22418072ee Use READLINE_DIR insead of using GNU_DIR. 2007-05-04 20:54:40 +00:00
W. Eric Norum
da7425440e Add ieeefp.h to pick up isnan and friends. 2007-05-03 20:57:37 +00:00
Andrew Johnson
65361a61ca VAL keyword to calc. 2007-05-03 20:40:03 +00:00
Andrew Johnson
083a8413b5 Ensure result of previous rule calc evaluation is available for VAL. 2007-05-03 20:37:41 +00:00
W. Eric Norum
9d8ecac1f0 The -ansi flag really is necessary. 2007-05-03 20:14:26 +00:00
Andrew Johnson
ad8302f4b1 Added VAL keyword to CALC parser and evaluator; evaluates to previous result. 2007-05-03 20:03:38 +00:00
W. Eric Norum
ba536373d8 Get rid of -ansi. It causes problems with lots of header files. 2007-05-01 21:50:26 +00:00
Andrew Johnson
ae887b7527 Make date() command available to all architectures.
Allow the user to specify the date/time format string.
2007-05-01 20:23:57 +00:00
Andrew Johnson
854e8adb71 Reorganized the configure/O.<arch>/ ouptut files. 2007-04-18 20:35:28 +00:00
Andrew Johnson
89d8502840 SoftIoc shell. 2007-04-18 20:22:37 +00:00
Andrew Johnson
723ccf683b Change default behaviour: Start a shell unless -S is given. 2007-04-18 20:17:55 +00:00
Andrew Johnson
f0855d95de Cleaned up error message output formatting. 2007-04-18 19:57:17 +00:00
Andrew Johnson
179e82b2c9 Use epicsPrintf, not errlogPrintf 2007-04-18 19:41:38 +00:00
Andrew Johnson
befe02630d dbLoadRecords. 2007-04-18 18:57:55 +00:00
Andrew Johnson
a5e73394db Improve error messages from parser. 2007-04-18 18:38:54 +00:00
Jeff Hill
0e77e3b437 fix for mantis 282 2007-04-16 21:41:28 +00:00
Andrew Johnson
fbf9cdd2fb RCS Keyword mis-spelt. 2007-04-16 19:45:35 +00:00
Andrew Johnson
217a959d59 CPUs using Altivec need an additional flag to taskSpawn(). 2007-04-16 19:44:22 +00:00
Andrew Johnson
31c882b044 Define an ALTIVEC macro for conditional compilation of altivec-specific code. 2007-04-16 19:41:07 +00:00
Janet B. Anderson
797b76ec69 Set SHRLIB_CFLAGS to -KPIC. 2007-04-12 19:17:24 +00:00
Janet B. Anderson
d5bc22adc2 Set SHRLIB_CFLAGS to -xcode=pic32. 2007-04-12 19:16:38 +00:00
Janet B. Anderson
c62528e3ae Moved SHRLIB_CFLAGS definition to CONFIG.Common.solaris-* files. 2007-04-12 19:12:07 +00:00
Andrew Johnson
8ba19206c2 Added system.dbd which contains the registrar for the system command.
Include this in the softIoc.
2007-04-12 18:54:04 +00:00
Janet B. Anderson
0968cdebe4 Created COMMON_INCLUDE_DBDS and ../Makefile dependency. 2007-04-12 18:43:38 +00:00
Jeff Hill
8f50c431f2 fixed spelling in a comment 2007-03-30 20:22:04 +00:00
Andrew Johnson
6f14f8b620 (c) 2007 and UChicago Argonne LLC. 2007-03-29 18:45:51 +00:00
Jeff Hill
b6a6936059 Fix for incomplete copy through of compound types on big endian architecture.
This bug was unfortunately introduced in R3.14.9
2007-03-29 16:31:38 +00:00
Janet B. Anderson
21ebcc6cf6 If $(top)/CONFIG_BASE_VERSION exists we are doing a base build. 2007-03-27 15:26:35 +00:00
Janet B. Anderson
b0314690a5 Added ../Makefile as a dependancy of created *Include.dbd. 2007-03-27 15:23:45 +00:00
Janet B. Anderson
61017bbc67 Allow rebuild.<arch> on make command line. 2007-03-22 21:14:51 +00:00
Andrew Johnson
deb26d7ea7 Oops, missed this; libiocsh doesn't exist any more. 2007-03-20 16:06:44 +00:00
Andrew Johnson
f531863601 Ok, so Eric was right to begin with... 2007-03-16 15:04:10 +00:00
Andrew Johnson
900cc383db iocsh move, and corrected the RTEMS TZ note. 2007-03-16 14:59:29 +00:00
W. Eric Norum
4373c6f65f Add TZ note. 2007-03-16 04:00:45 +00:00
W. Eric Norum
76ecfec86b Latest version of newlib has math.h which has all that's needed. 2007-03-16 03:59:05 +00:00
Andrew Johnson
70cc7eaab9 Reorganized iocsh command registration to untangle the build order.
The iocsh core is now part of libCom, and commands are registered locally
with a Register routine for each IOC library.
2007-03-13 17:54:23 +00:00
Andrew Johnson
bc01dca042 Fixed Cdefs to be output before the record structure.
Moved record include files from dbStaticLib into dbCommon.dbd.
Added Cdefs that include postfix.h to the calc*.dbd files, removed from .c.
2007-03-13 16:39:53 +00:00
Janet B. Anderson
f37b9d01a2 Removed cygwin per definition. 2007-03-09 23:21:23 +00:00
Janet B. Anderson
6e6b892788 Initial version. 2007-03-09 21:34:53 +00:00
Janet B. Anderson
86b21114e8 Fixed typo in vxWorks-68040-debug. 2007-03-09 21:33:51 +00:00
Janet B. Anderson
f4afce75de Moved $(CONFIG)/CONFIG.gnuCommon include so we can override. 2007-03-02 15:19:20 +00:00
Andrew Johnson
71e01ae55d Warning suppression bug fix from Benjamin Franksen. 2007-02-28 16:05:18 +00:00
Andrew Johnson
5568dd3dc3 Fixed compiler warning. 2007-02-09 21:18:35 +00:00
Andrew Johnson
8556563fed Cleaned up compiler warnings. 2007-02-09 21:08:44 +00:00
Andrew Johnson
60425a2771 Fixed problems with #ifndef guards and include order. 2007-02-09 18:19:26 +00:00
Andrew Johnson
702305896c $Id$ keyword broken. 2007-02-05 20:30:07 +00:00
Janet B. Anderson
25f4048250 Set EPICS_CVS_SNAPSHOT to -CVS. 2007-02-05 17:06:53 +00:00
Janet B. Anderson
919850d693 R3.14.9 2007-02-05 16:31:45 +00:00
Andrew Johnson
894cab79e4 Revised and improved NPTL error description. 2007-02-05 16:04:43 +00:00
Andrew Johnson
b38dd45b03 Revert to -CVS after -RC1 tag applied. 2007-01-26 20:37:25 +00:00
Andrew Johnson
d468d7f462 R3.14.9-RC1 2007-01-26 20:29:41 +00:00
Andrew Johnson
8dfea0ce50 Added description of the NPTL Abort issue. 2007-01-26 19:03:56 +00:00
Andrew Johnson
cda58de74a Win32 doesn't support line buffering, so fflush after every printf. 2007-01-25 21:21:05 +00:00
Andrew Johnson
2d031c46a2 Fixed bad example code. 2007-01-24 22:05:16 +00:00
Janet B. Anderson
5e4b2d03ad More changes for osf-alpha from Kazuro Furukawa. 2007-01-22 15:25:47 +00:00
Jeff Hill
db067c9780 1) replaced elimateExcessiveSendBacklog with
requestMessageBytesPending and flush
2) Removed callback control guards from this interface
2007-01-11 22:07:47 +00:00
Jeff Hill
3ec09adf20 added code to catch bugs where a guard is used when it is released 2007-01-11 22:04:44 +00:00
Jeff Hill
57e9e59714 fixed a bug where the callback control gaurd was used from a different thread
than the one that created it
2007-01-11 22:02:47 +00:00
Jeff Hill
cde78f0b70 fixed a bug where the callback control gaurd was used from a different thread
than the one that created it
2007-01-11 21:45:58 +00:00
Jeff Hill
6ed4f091b2 1) replaced elimateExcessiveSendBacklog with
requestMessageBytesPending and flush
2) Removed callback control guards from this interface
2007-01-11 21:43:40 +00:00
Jeff Hill
bb625c7f25 flushBlockThreshold no longer takes a message size argument 2007-01-11 21:38:59 +00:00
Jeff Hill
47f5203faa improved doc on preemptive callback mode 2007-01-11 21:37:43 +00:00
Jeff Hill
287743f140 1) replaced elimateExcessiveSendBacklog with
requestMessageBytesPending and flush
2) Removed callback control guards from this interface
2007-01-11 21:33:31 +00:00
Janet B. Anderson
a841a79194 Added changes from Kazuro FURUKAWA (modified for R3.14.9). 2007-01-09 19:02:15 +00:00
Andrew Johnson
9e2c64ecfd Make vxDevWriteProbe() actually do a write - Mantis #280. 2007-01-09 00:21:43 +00:00
Jeff Hill
6fb7d5255b made comnsistent with workaround for T202 issue 2007-01-09 00:00:12 +00:00
Jeff Hill
00fc1ce769 workaround for T202 issue 2007-01-08 23:59:56 +00:00
W. Eric Norum
852afdc4d8 Create properly-formatted POSIX TZ environment variable from EPICS_TIMEZONE. 2007-01-08 15:11:31 +00:00
Andrew Johnson
ae06349563 Make fracFormatFind static.
Removed 'const' from epicsTime::strftime pointer args to match prototype,
needed by Sun C++ complier which doesn't find the symbol otherwise.
2007-01-02 19:37:57 +00:00
Andrew Johnson
a710bff122 Fixed testPlan, added test for %% in strtfime format strings. 2007-01-02 19:30:04 +00:00
Jeff Hill
fe2b0e599d fix dll exports 2006-12-22 21:56:46 +00:00
Jeff Hill
255751f420 export shared lib symbols 2006-12-22 21:36:13 +00:00
Jeff Hill
7787f5906d use temporaries 2006-12-22 21:32:10 +00:00
Jeff Hill
de34f5de03 removed workaround for problems in visual C++ 8.0 2006-12-22 19:43:59 +00:00
Jeff Hill
40bb69f5fd workaround for problems in visual C++ 8.0 2006-12-22 19:43:04 +00:00
Jeff Hill
6ce83fc9e4 fixed throw specification 2006-12-22 19:35:37 +00:00
Jeff Hill
e0b4715c98 fixed mantis 279 - epicsTimeToStrftime problem with %06f format 2006-12-22 18:57:53 +00:00
Jeff Hill
e989af9b01 fix for dec c++ compiler detected issue 2006-12-21 22:15:42 +00:00
Andrew Johnson
3c1b10dfce Clear out old issues. 2006-12-21 20:09:13 +00:00
Andrew Johnson
27342322ec Cygwin make issue. 2006-12-21 19:39:03 +00:00
Andrew Johnson
3d3ad47e47 Added test using timeout = DBL_MAX. 2006-12-21 17:11:33 +00:00
Andrew Johnson
f2154fec35 Fix for Mantis #254. 2006-12-21 16:47:56 +00:00
Andrew Johnson
6bed83c70e OSF-Alpha. 2006-12-21 15:52:04 +00:00
Andrew Johnson
4f2cb790e5 Additional instances needed for 3.14.9-pre2 to load. 2006-12-21 15:44:41 +00:00
Andrew Johnson
15f3358e39 Prevent vxWorks 5.4 builds of altivec targets. 2006-12-20 23:28:12 +00:00
Andrew Johnson
285f1e03ba Wind River don't support osf-alpha as a vxWorks host architecture. 2006-12-20 23:25:56 +00:00
Janet B. Anderson
03e9ce2855 Moved ca to immediately follow libCom. 2006-12-20 21:21:44 +00:00
Janet B. Anderson
c5563644db Removed code that makes each depend file a target. 2006-12-20 15:25:36 +00:00
Janet B. Anderson
75aa6bbf97 Deleted unused definition. 2006-12-19 22:34:28 +00:00
Janet B. Anderson
8b8b61b797 Removed obsolete comment. 2006-12-19 22:24:59 +00:00
Janet B. Anderson
8540fdd813 Added gcc version requirement. 2006-12-19 21:46:26 +00:00
Janet B. Anderson
23c1596d22 Applied patches for recognizing external dependencies from B. Franksen. 2006-12-19 19:43:02 +00:00
Janet B. Anderson
9e292ca085 Applied patches for recognizing external dependencies from B. Franksen.
Print one file dependancy per line.
2006-12-19 19:34:42 +00:00
Janet B. Anderson
410eca1633 Removing os/alpha directory and adding osf directory and files. 2006-12-19 17:14:08 +00:00
Janet B. Anderson
44d742e147 Initail version from Kazuro Furukawa. 2006-12-19 17:08:02 +00:00
Janet B. Anderson
abe127c6f9 Initial version from Kazuro Furukawa. 2006-12-19 17:08:01 +00:00
Janet B. Anderson
beacc52519 Changes for osf-alpha from Kazuro Furukawa. 2006-12-19 17:03:02 +00:00
Janet B. Anderson
5a9e8d156e Initial version from Kazuro Furukawa. 2006-12-19 17:02:01 +00:00
Janet B. Anderson
239cd857a8 Added osf-alpha files from Kazuro FURUKAWA (modified for R3.14.9). 2006-12-19 16:57:05 +00:00
Janet B. Anderson
dea42bdf66 Initial version. 2006-12-19 16:50:54 +00:00
Andrew Johnson
196f107432 Breakpoint initialization and cleanup. 2006-12-19 16:29:38 +00:00
Andrew Johnson
2a7c2e9d26 Breakpoint initialization and cleanup. 2006-12-19 16:20:47 +00:00
Andrew Johnson
556724f050 Fixed warning. 2006-12-12 21:04:19 +00:00
Andrew Johnson
0f0ff1eec0 Fix for when size=1. 2006-12-12 20:44:53 +00:00
Andrew Johnson
b937142ff3 Fixes for vxWorks: permit multiple runs, don't use assert(). 2006-12-12 19:58:52 +00:00
Andrew Johnson
a6527232cf Revert to -CVS 2006-12-11 22:32:14 +00:00
Andrew Johnson
d820ed034a R3.14.9-pre2 2006-12-11 22:30:17 +00:00
Andrew Johnson
4452f97536 Might as well build the softIoc on everything... 2006-12-11 22:27:00 +00:00
Andrew Johnson
c48bf48f52 Don't set GCC_EXEC_PREFIX for any vxWorks target. 2006-12-11 22:21:10 +00:00
Andrew Johnson
bf77401cea Need to have built the RTEMS stuff before any programs. 2006-12-11 21:53:43 +00:00
Janet B. Anderson
d4adf4a0d6 Move softIoc after RTEMS dir. 2006-12-11 21:23:15 +00:00
Andrew Johnson
f2fac70923 Can't use ifeq(VXWORKS_VERSION) because we don't know its value yet. 2006-12-11 19:46:39 +00:00
Jeff Hill
a00a246b0d fixed html 4.01 compliance issues 2006-12-11 18:56:00 +00:00
Janet B. Anderson
537f9954bf Dont do a STATIC build. 2006-12-11 18:20:32 +00:00
Janet B. Anderson
d206dd92f6 Use PERL macro definition. 2006-12-11 18:12:42 +00:00
Andrew Johnson
f50c49131c Make it <cstddef> so it builds everywhere else. 2006-12-11 17:51:48 +00:00
Janet B. Anderson
55986a1e92 Fix for Borland build. 2006-12-11 17:46:23 +00:00
Andrew Johnson
5fa24ad581 Added new target arch's to comments. 2006-12-11 17:04:54 +00:00
Andrew Johnson
9a81831a85 vxWorks optimization. 2006-12-11 16:53:45 +00:00
Andrew Johnson
11a865805e Make test bail out if socket bind fails; usually there's a CAS running. 2006-12-11 16:52:36 +00:00
Andrew Johnson
bcc41d0e72 Changed build order: build tests immediately after their parent.
Move template stuff lower down.
2006-12-09 00:04:15 +00:00
Andrew Johnson
fc4b09f84d Changed headings to show previous and new release numbers.
New architectures listed.
2006-12-09 00:02:41 +00:00
Andrew Johnson
682bb4150c Incorporated vxWorks 6 settings from SNS.
Added the vxWorks-mpc8540 architecture.
Added the ppc604_altivec sub-architecture.
Some cleanup.
2006-12-09 00:01:57 +00:00
Andrew Johnson
fc98fe2335 Added my local toolset path. 2006-12-08 23:27:18 +00:00
Andrew Johnson
8a4e442705 menuSimmRAW fixes. 2006-12-07 23:32:48 +00:00
Andrew Johnson
11ef0bca03 Fixes for vxWorks 6.x. 2006-12-07 21:10:24 +00:00
Jeff Hill
1e9986a2ed fix for mantis 278 - PCAS should refresh strng table cache for enum PV every time that a channel connects 2006-12-07 20:30:44 +00:00
Andrew Johnson
2e9bd68b2f Added freebsd-x86 support, modifying freebsd-x86_64 for commonality. 2006-12-07 20:05:20 +00:00
Jeff Hill
4840787079 use proper type for ioctl 2006-12-07 19:55:54 +00:00
Jeff Hill
2c9414a881 installed epics thread exit capabilities 2006-12-07 17:00:20 +00:00
Janet B. Anderson
99e9d60725 Replaced .o with $(OBJ). 2006-12-07 15:50:16 +00:00
Jeff Hill
f16d241662 installed epics thread exit capabilities 2006-12-07 00:49:19 +00:00
Andrew Johnson
cc9473339d Added freebsd-x86, fixed some freebsd-x86_64 stuff. 2006-12-06 23:31:39 +00:00
Andrew Johnson
a400c37cc7 Optimization fiddling, fix for linux-arm. 2006-12-06 23:28:06 +00:00
Andrew Johnson
c25282bf58 Can't override the two _LDFLAGS var's, have to append to them. 2006-12-06 22:35:21 +00:00
Andrew Johnson
3fe19655a1 Fixes for various GCC warnings. 2006-12-06 17:10:26 +00:00
Jeff Hill
724a589fe1 fixed warnings 2006-12-05 22:54:52 +00:00
Jeff Hill
b8bcfdcdda fixed warnings 2006-12-05 22:45:24 +00:00
Jeff Hill
da75453a22 fixed no address returned from devAllocAddress 2006-12-05 22:44:40 +00:00
Andrew Johnson
d25e7107a7 Really remove warning... 2006-12-05 22:28:28 +00:00
Andrew Johnson
e93b833c27 Cleaning up warnings. 2006-12-05 22:12:17 +00:00
Andrew Johnson
f0b99cc9c1 No version of vxWorks currently provides numeric_limits<T> ... 2006-12-05 21:44:01 +00:00
Jeff Hill
94dfec0999 fixed compiler warning 2006-12-05 19:56:28 +00:00
Andrew Johnson
88c68422af Fixes for cross-compiling shared libraries properly. 2006-12-05 19:43:20 +00:00
Andrew Johnson
db9f3d81a3 vxWorks 6 changes WIND_HOST_TYPE x86-linux2. 2006-12-05 19:40:00 +00:00
Jeff Hill
947822da70 use function template specialization instead of function overloading
hoping to workaround issues with gcc 4.0
2006-12-05 01:22:33 +00:00
Janet B. Anderson
f48fe4c1c0 Added WIN32_RUNTIME definitions. 2006-12-04 22:45:43 +00:00
Janet B. Anderson
4d30f6adaa Added test JAVA changes. 2006-12-04 22:44:31 +00:00
Janet B. Anderson
9fb0faf86e Modifies python dirs. Modified X11/Motif dirs. 2006-12-04 22:43:25 +00:00
Janet B. Anderson
f42e4195c5 Added JAVA_INC defination. 2006-12-04 22:41:51 +00:00
Janet B. Anderson
a3808ec393 Modified comment. 2006-12-04 22:40:46 +00:00
Janet B. Anderson
41786fef1f Added oag lib dir defs. Added JAVA_INC def. Added X11 and Motif comments. 2006-12-04 22:40:15 +00:00
Janet B. Anderson
82d59c8d75 Added JAVA_INC definition. 2006-12-04 22:38:38 +00:00
Janet B. Anderson
0fa08d07c8 Modified JAVA directories. Added oag directories. 2006-12-04 22:37:45 +00:00
Janet B. Anderson
a4ab66c867 Initial version. 2006-12-04 22:34:31 +00:00
Janet B. Anderson
565d931b4b Changes to add ALL library dirs to the runtime search option on link line. 2006-12-04 21:15:10 +00:00
Janet B. Anderson
e372769b45 Remove -ansi compiler option. 2006-12-04 17:41:15 +00:00
Janet B. Anderson
f011531538 Added SHARED_LIBRARIES=NO. 2006-12-04 17:30:12 +00:00
Andrew Johnson
52e28d7a7a Ok, so all vxWorks 5.x versions need the -include vxWorks.h flag... 2006-12-02 00:09:16 +00:00
Andrew Johnson
f4d3632afd Cleanup gcc warnings. 2006-12-01 23:58:23 +00:00
Andrew Johnson
22d9f942e2 Cleanup obscure gcc warning. 2006-12-01 23:57:04 +00:00
Andrew Johnson
29c43d0cdb Cleanup some of the more obscure gcc warnings. 2006-12-01 23:52:59 +00:00
Andrew Johnson
318e5247f1 Fix dependencies. 2006-12-01 23:48:21 +00:00
Ralph Lange
bdd9d96603 Fix for 3.13 compatibility (OBJLIB) 2006-12-01 18:25:17 +00:00
Jeff Hill
afc4bdd3be fixed comment 2006-12-01 16:34:01 +00:00
Jeff Hill
ce17ed5ae2 fixed gnu warning 2006-12-01 00:19:31 +00:00
Jeff Hill
e553c3ec56 added comment 2006-12-01 00:17:58 +00:00
Jeff Hill
bac905a5a9 hack for non-standard sun pro cstring 2006-12-01 00:11:05 +00:00
Jeff Hill
049e054c31 fixed win32 dll exports 2006-11-30 22:29:26 +00:00
Jeff Hill
634f37c225 fixed func and func proto dont match warning 2006-11-30 22:27:34 +00:00
Jeff Hill
0dd205f750 installed osdWireFormat.h 2006-11-30 22:20:10 +00:00
Jeff Hill
ee8eec3fdb installed 2006-11-30 22:03:40 +00:00
Jeff Hill
8de0f7bf7a removed 2006-11-30 22:03:22 +00:00
Andrew Johnson
fb15db1454 Updated for new release process. 2006-11-30 21:50:14 +00:00
Andrew Johnson
577b65a67f Return libraries to original order and re-add registryIoc, in case it matters. 2006-11-30 18:23:35 +00:00
Andrew Johnson
6c5dedead5 New iocshHost library. 2006-11-30 18:09:41 +00:00
Andrew Johnson
514bb7f897 Created an iocshHost library, added it to EPICS_BASE_HOST_LIBS 2006-11-30 18:09:15 +00:00
Jeff Hill
9785a839b7 fixed mantis 261 2006-11-29 21:50:31 +00:00
Jeff Hill
f2cc4a73e9 fixed gnu warnings 2006-11-29 21:37:05 +00:00
Andrew Johnson
d443b72d29 Added CAS, fixed some other wording and HTML encoding. 2006-11-29 20:29:06 +00:00
Janet B. Anderson
d3069f12bc Removed iocsh and registryIoc from EPICS_BASE_HOST_LIBS. 2006-11-29 19:25:27 +00:00
Janet B. Anderson
3b50639eef Added D_cplusplus c++ compiler option. Undefined LIBRARY_LD_RESS. 2006-11-29 16:37:09 +00:00
Janet B. Anderson
39128f134e Undefine LIBRARY_LD_RESS. 2006-11-29 16:32:26 +00:00
W. Eric Norum
6802509e6d Fix missed edit in previous change. 2006-11-29 13:00:12 +00:00
Jeff Hill
5b6a358fab fixed gnu build issue 2006-11-29 01:07:57 +00:00
Jeff Hill
bdc071f3c5 fix for mantis 276 - EDM on OS X gets access fault in ipAddrToAsciiEngine::allocate 2006-11-28 23:45:04 +00:00
Jeff Hill
de19586072 updated to accomodate what I shouldnt have forgotten about strict aliasing 2006-11-28 23:07:06 +00:00
Andrew Johnson
b61e4bcb59 Don't cast away const unnecessarily - gcc warning. 2006-11-28 21:33:55 +00:00
Andrew Johnson
4a98bdd599 Clear up gcc warnings. 2006-11-28 21:23:25 +00:00
Janet B. Anderson
54ab39d0cf Changes for R3.14.9. 2006-11-28 19:29:31 +00:00
Janet B. Anderson
af35f163ec Modified comment. 2006-11-28 19:16:12 +00:00
Janet B. Anderson
936f194885 Put quote marks aroung option with #. 2006-11-28 19:00:16 +00:00
Janet B. Anderson
5150a9404c Removed comment about CONFIG.Vx. 2006-11-28 18:56:50 +00:00
Jeff Hill
ecb43bedd9 cleaned up locking - this is an old code written w/o consideration of SMP
thread safe locking issues
2006-11-28 18:54:03 +00:00
Janet B. Anderson
1707e28d2e Changed "-xtarget=ultra -xarch=v9" to "-xarch=generic64". 2006-11-28 18:52:13 +00:00
Jeff Hill
91e3c129df db flush extra labor now returns void 2006-11-28 18:51:16 +00:00
Janet B. Anderson
b50c8f5882 Use definitions from CONFIG.Host.solaris. 2006-11-28 18:51:10 +00:00
Janet B. Anderson
47d7b63b4f Removed comment about CONFIG.Vx. 2006-11-28 18:50:20 +00:00
Janet B. Anderson
522e090992 Changes for solaris10. Added libraries -lc -lCstd. 2006-11-28 18:34:58 +00:00
Andrew Johnson
e16dc7852e Fixed gcc warnings. 2006-11-28 18:00:37 +00:00
Andrew Johnson
48337e2382 Fixed gcc '0 flag' warnings. 2006-11-28 17:04:18 +00:00
Janet B. Anderson
d23b8bb1d0 Added and modifiec definitons for win32-x86-cygwin build. 2006-11-28 16:57:01 +00:00
Janet B. Anderson
ce55fe1c78 Added OP_SYS_CPPFLAGS to CPPFLAGS definition. 2006-11-28 16:55:29 +00:00
Andrew Johnson
aa08e33707 Fixed problem saving hostnames in HAG. 2006-11-28 15:32:06 +00:00
Jeff Hill
c51438c597 fixed infinite recursion introduced by change in generic epicsThreadOnce code 2006-11-28 00:46:35 +00:00
Janet B. Anderson
0b481a519d Changed "-xtarget=ultra -xarch=v9" to " -xarch=generic64" 2006-11-27 20:23:03 +00:00
Janet B. Anderson
ec8e064333 Changed -KPIC to -xcode=pic32. 2006-11-27 20:20:37 +00:00
Janet B. Anderson
257c7fd23b Put quotes around option with # in manifest mt.exe command. 2006-11-27 20:11:45 +00:00
Andrew Johnson
1e72aa61f0 Reverting Janet's cygdrive change which she says breaks other Win32 builds.
Until Cygwin's version of Make gets fixed, use the mingw Make instead.
2006-11-21 22:52:41 +00:00
Janet B. Anderson
deeda7b04f Set OS_CLASS to Linux and ARCH_DEP_CFLAGS to override CONFIG.Host.Linux. 2006-11-20 23:11:33 +00:00
Janet B. Anderson
e7655058d0 Initial version. 2006-11-20 21:37:53 +00:00
Andrew Johnson
78afaf42f3 Revert to -CVS for snapshots. 2006-11-20 21:12:08 +00:00
Andrew Johnson
44ef13d8b2 Version for 3-14-9-pre1 2006-11-20 21:09:36 +00:00
Andrew Johnson
e9c984ff06 #include vxWorks.h needed for definition of NULL. 2006-11-20 20:53:31 +00:00
Andrew Johnson
e100e141a6 Make runtests work properly in non-HOST builds. 2006-11-20 17:38:36 +00:00
Andrew Johnson
26f27b3a69 Automate the running of callbackTest. 2006-11-20 17:14:05 +00:00
Andrew Johnson
52896cc78a Updated runtests wording again. 2006-11-20 16:31:39 +00:00
Andrew Johnson
52584a53e0 Made runtests a more generic target.
Ensure it doesn't fail if no tests are defined.
2006-11-20 16:25:01 +00:00
Janet B. Anderson
8fd5f456ce Cygwin Make 3.81 now requires /cygdrive/<drive>/... in fullpath names. 2006-11-20 16:23:51 +00:00
Janet B. Anderson
db3407a3ab Cygwin Make 3.81 now requires /cygdrive/<drive>/... in fullpath names. 2006-11-20 16:22:23 +00:00
W. Eric Norum
945182eac9 Remove duplicate typedef to which gcc objected. 2006-11-20 16:10:02 +00:00
Jeff Hill
b9acd32dfa fixed half duplex udp socket set up 2006-11-18 01:03:15 +00:00
Jeff Hill
60d6328016 use new data conversion interface 2006-11-18 01:02:18 +00:00
Jeff Hill
de6ce2f679 dont allow unbounded round trip estimates 2006-11-18 00:56:59 +00:00
Jeff Hill
ffb5e239f2 catch client initiated write requests with invalid dbr types in the client library 2006-11-18 00:52:09 +00:00
Jeff Hill
4bf25982fa added guards to interface 2006-11-18 00:51:08 +00:00
Jeff Hill
e308021980 initialize time at last send when creating search timer. This
guarantees no possibility of bogus search response delay
measurement
2006-11-18 00:50:35 +00:00
Jeff Hill
b0e5ae5a58 use new data conversion interface 2006-11-18 00:48:36 +00:00
Jeff Hill
01f39d3e47 use new data conversion interface 2006-11-18 00:42:32 +00:00
Jeff Hill
7b461161fc write request now goes directly to iiu 2006-11-18 00:41:56 +00:00
Jeff Hill
d2404e93a5 socket related data structures should use socket byte swap 2006-11-18 00:41:16 +00:00
Jeff Hill
e9a208a78f remove writeRequest from the interface 2006-11-18 00:33:09 +00:00
Jeff Hill
a8ed82801f byte swap socket data structures with socket lib byte swap 2006-11-18 00:31:48 +00:00
Jeff Hill
f3f56fb2bc o fixed deadlock occurring when access security callback blocks for
unresponsive client
o made data conversion more standalone in the client library
2006-11-18 00:29:04 +00:00
Jeff Hill
a6d8cf0cec use parenthesis during time stamp assign 2006-11-18 00:27:08 +00:00
Jeff Hill
2fdf182a5d socket related data structures should use socket byte swap 2006-11-18 00:25:54 +00:00
Jeff Hill
2988a11e25 moved all arch dependent byte swapping code to this file 2006-11-18 00:25:04 +00:00
Jeff Hill
4195457cdd base types on std C if recent dialect is available 2006-11-18 00:24:29 +00:00
Jeff Hill
4aa661f418 added warning 2006-11-18 00:16:33 +00:00
Jeff Hill
e03effe257 C style comments for C compilers 2006-11-18 00:14:41 +00:00
Jeff Hill
8a255f913e byte swap port number (even if it is zero) 2006-11-18 00:13:53 +00:00
Jeff Hill
962e36768e C style comments for C compilers 2006-11-18 00:09:27 +00:00
Andrew Johnson
dde131368d Fixed dbLoadTemplates comments. 2006-11-17 23:22:56 +00:00
Andrew Johnson
3b481d69c2 'use strict' stuff from Nick Rees, plus some cleanup. 2006-11-17 22:53:03 +00:00
Andrew Johnson
6f361280c3 Cosmetic. 2006-11-17 22:45:50 +00:00
Andrew Johnson
0f75477dfa Copyright header. 2006-11-17 22:45:23 +00:00
Janet B. Anderson
e68859beee Set ARCH_freebsd to freebsd-x86_64 and ARCH_hp700 to hpux-parisc. 2006-11-17 22:31:54 +00:00
Janet B. Anderson
83569ffcbc Updates for R3.14.9. 2006-11-17 22:27:27 +00:00
Janet B. Anderson
533b4696ea Initial version. 2006-11-17 22:26:44 +00:00
Andrew Johnson
e1e6ae787d Ok, so we should allow / and \ in bareword... 2006-11-17 22:18:35 +00:00
Andrew Johnson
bc9fab6417 Removed a whole load of unnecessary characters from bareword, which now
matches the dbStaticLib parser's definition.
2006-11-17 22:04:37 +00:00
Janet B. Anderson
291e5b89cf Set HOST_OPT = NO. 2006-11-17 22:01:09 +00:00
Janet B. Anderson
7ee4842463 Initial version. 2006-11-17 22:00:03 +00:00
Janet B. Anderson
0f3461a808 Changed test to runtests. 2006-11-17 21:58:06 +00:00
Andrew Johnson
1ad998c0d6 Oops. 2006-11-17 20:26:56 +00:00
Andrew Johnson
0f200c25c8 dbLoadTemplate. 2006-11-17 20:26:25 +00:00
Andrew Johnson
c3e3f6be37 Added two example database substitutions files and converted the example st.cmd
files to use these instead of repeated dbLoadRecords commands.
2006-11-17 19:36:17 +00:00
Andrew Johnson
a2739882f2 Fixed lex & yacc parsers for dbLoadTemplate() - this is now stricter in what
it will accept, but any rejected characters weren't legal before anyway.
2006-11-17 17:06:52 +00:00
W. Eric Norum
b7bad20900 Don't need action for characters which are silently consumed. 2006-11-17 14:28:13 +00:00
W. Eric Norum
34316144bd Clean up several problems with lexical analyzer. 2006-11-17 14:24:45 +00:00
Janet B. Anderson
207171d336 Made vxWorks.h include depend on VXWORKS_VERSION. 2006-11-16 22:44:34 +00:00
Janet B. Anderson
ae4199eb82 test is now .PHONY. 2006-11-16 22:27:48 +00:00
Janet B. Anderson
1dfdf98f87 Added the test rule for the perl Test::Harness expect test programs. 2006-11-16 22:26:24 +00:00
Janet B. Anderson
6217ec86af Added perl test rule. 2006-11-16 22:17:51 +00:00
Janet B. Anderson
cfefdbf067 Moved test rule to RULES_BUILD. 2006-11-16 22:15:51 +00:00
Janet B. Anderson
60c8cbbb7b Use new TESTSCRIPTS definition. 2006-11-16 21:40:42 +00:00
Janet B. Anderson
ada4b680b2 Added TESTSCRIPT definitions 2006-11-16 21:35:50 +00:00
Janet B. Anderson
b6d618cf5d Added test script, TESTSCRIPT, rules. 2006-11-16 21:34:56 +00:00
Andrew Johnson
1995c7cd5e Escaped characters. 2006-11-16 20:36:13 +00:00
Andrew Johnson
ecac0269dd Stop "warning: `id' defined but not used" messages from gcc -- use a char[]
instead of a char* and they go away!
2006-11-16 19:32:13 +00:00
Andrew Johnson
27fcfac8b8 Use the same TRUE/FALSE test in the dump routines as in the actual rule
evaluation, in case the results are different.
2006-11-16 17:26:38 +00:00
Ralph Lange
ad7f71d41c DST changes for 2007 2006-11-16 16:12:53 +00:00
Andrew Johnson
a4948d15fd Fix to Mantis #250, support escaped characters in record field values. 2006-11-15 23:33:31 +00:00
Janet B. Anderson
6cbcb67e56 Initial version. 2006-11-15 22:41:39 +00:00
Janet B. Anderson
e48d957906 Initail version. 2006-11-15 22:08:22 +00:00
Andrew Johnson
ad1f8f9925 Added round-trip testing of char escapes. 2006-11-15 20:14:46 +00:00
Janet B. Anderson
6911c54755 Changed -Xc to -Xa. Needed for solaris 10 builds. 2006-11-15 19:26:18 +00:00
W. Eric Norum
c89bfe8cf1 Back out name change since RTEMS will not change until the next RTEMS release. 2006-11-15 16:13:52 +00:00
Andrew Johnson
31547e98f5 Patch from Diamond; App names may include chars that are not
valid in a C identifier, such as '-', but we use the App name
in the <name>_registerRecordDeviceDriver routine name.
This patch replaces all such invalid chars with '_'.
2006-11-14 22:14:53 +00:00
Janet B. Anderson
4ad9f05421 Added OP_SYS_LDLIBS definition for solaris 10. 2006-11-14 20:18:26 +00:00
Andrew Johnson
2998cff567 Configuration files for FreeBSD, from Artem Kazakov <kazakov@gmail.com> 2006-11-14 19:40:47 +00:00
Andrew Johnson
20ede98a35 Make .t files work with prove, where $cwd may be a parent directory.
Won't work if you give prove an absolute path to the .t file though...
2006-11-14 17:42:20 +00:00
Andrew Johnson
e661027615 Fixed printing calc expressions with % chars in them. 2006-11-14 17:29:27 +00:00
Andrew Johnson
d58e5e2a77 Revised old message about thread stack sizes. 2006-11-14 16:20:16 +00:00
Andrew Johnson
cbedb32d50 Added a .db file with a single record $(IOC):exit.
Set the .A field to the exit status you want the softIoc to return.
2006-11-13 21:45:40 +00:00
Andrew Johnson
7b7bdb82a6 libCom/test, Breakpoints, vxWorks 6, postFix/calcPerform, calc/calcout/asLib,
recGblAlarmHook, raw simulation mode.
2006-11-13 21:32:06 +00:00
Andrew Johnson
fc0fd6ec0d Removed old comment. 2006-11-13 21:04:54 +00:00
Andrew Johnson
343efa2028 Cosmetic changes. 2006-11-13 20:40:00 +00:00
Andrew Johnson
4ca2bc86e5 Changed configuration for vxWorks 6.x; now uses the same files as vx 5.x.
Removed the vxWorks6-mvXXXX targets, use vxWorks-ppc604_long or similar.
2006-11-13 20:31:07 +00:00
Andrew Johnson
e66768314f Converted to use epicsUntiTest.h. 2006-11-13 20:21:05 +00:00
Andrew Johnson
2c23952b9c Removed Main.c file, converted to use testMain.h and epicsUnitTest.h. 2006-11-10 23:52:50 +00:00
Andrew Johnson
db0d1f1156 TESTPROD_LIBS doesn't work, use PROD_LIBS instead. 2006-11-10 23:09:26 +00:00
Andrew Johnson
52b7171576 Moved testMain.h into libCom/misc, since db/test is built before libCom/test. 2006-11-10 22:43:04 +00:00
Andrew Johnson
de29cb834f Moved timing measurement of epicsThreadPrivateGet() to epicsThreadPerform.cpp 2006-11-10 21:43:16 +00:00
Andrew Johnson
242a7b9027 Fixed bug in posix implementation of osdThreadOnce and added assertion
to the other implementations that will fire in the one case the Posix
code can't cope with.
2006-11-10 20:19:34 +00:00
Andrew Johnson
62963c7d5d Fixes for make test if '.' is not in $PATH. 2006-11-10 16:32:26 +00:00
Andrew Johnson
6c19051727 Major reorganization:
Removed all Main.cpp files, use the macro in testMain.h instead and
defaulted all argc/argv parameters.
Converted all real test programs to use epicsUnitTest.h.
Moved performance measurements from epicsThreadTest to epicsThreadPerform.
Moved epicsOkToBlockTest tests into epicsThreadTest.
On a host arch,  make test  inside the O.arch directory runs all tests.
2006-11-09 22:38:41 +00:00
Andrew Johnson
d8b9856252 Lock around testDiag(), so multiple threads don't mix output. 2006-11-09 22:28:33 +00:00
W. Eric Norum
6536905f85 Add universal binary support for OS X. 2006-11-09 14:50:20 +00:00
W. Eric Norum
8c8b77d767 Add example CONFIG_SITE files. 2006-11-09 14:47:59 +00:00
W. Eric Norum
e91873e3f6 Name change in RTEMS release. 2006-11-09 01:03:42 +00:00
Andrew Johnson
927951ec18 Added errlogInit2() command. 2006-11-08 22:16:51 +00:00
Andrew Johnson
d7d3bf4a13 Added an errlogInit2() routine to allow an enlarged maximum message size to be
specified at initialization time.
2006-11-08 22:14:21 +00:00
Andrew Johnson
23a8c76db2 Removed unused header file. 2006-11-07 16:45:07 +00:00
Andrew Johnson
dac306887d Changed many of the char* arguments to printf-style varargs. 2006-11-07 15:35:14 +00:00
Andrew Johnson
333c97ee23 Does anybody know what this was ever used for? 2006-11-03 17:32:29 +00:00
Jeff Hill
2d136ebc29 fixed manfest was created for .exe during static build 2006-11-02 19:44:58 +00:00
Andrew Johnson
eca624545b Added epicsMath.h include. 2006-11-02 16:10:49 +00:00
Andrew Johnson
5d62cd2b5b Cleanup unused var's. 2006-10-31 20:41:59 +00:00
Andrew Johnson
0563bebee0 Removed definition of NULL. 2006-10-31 20:37:34 +00:00
W. Eric Norum
39a8d90553 Let epicsExitTest work on systems with strict priority scheduling. 2006-10-27 16:32:40 +00:00
W. Eric Norum
f046ff86be Exit properly. 2006-10-27 16:10:34 +00:00
W. Eric Norum
fd81d5f7ca Add epicsExit test.
Clean up some typos.
2006-10-27 15:43:49 +00:00
W. Eric Norum
8f5c1bb7a3 Add test harness for RTEMS. 2006-10-27 15:36:26 +00:00
Andrew Johnson
6c10ea0ad4 Modified diagnostic about macLib warnings to clarify. 2006-10-27 15:01:34 +00:00
Andrew Johnson
a1e28f3dec Fixed problem not resetting test count properly. 2006-10-26 22:21:08 +00:00
Andrew Johnson
20d6352d66 Solaris strtod() doesn't accept "Inf" or "Infinity". 2006-10-26 21:19:32 +00:00
Andrew Johnson
5a561ca613 Make epicsStrtod() parse the full "Infinity" and not stop after "Inf". 2006-10-26 21:18:05 +00:00
W. Eric Norum
5ee8b58411 Don't test 0-length buffer case -- semantics differ for C99/Single-Unix. 2006-10-26 20:51:56 +00:00
W. Eric Norum
54ad02986b Add checks that redirection worked -- handy for systems like RTEMS
where the file exists only in a in-memory filesystem.
2006-10-26 20:07:24 +00:00
Andrew Johnson
5dd24b7ad2 Permit multiple test programs to be run sequentially in the same process
(for RTEMS and vxWorks).
2006-10-26 19:28:30 +00:00
W. Eric Norum
594a28d221 Don't leave dandling tasks. 2006-10-26 19:08:58 +00:00
W. Eric Norum
a16bc712d8 Allow calls from C test harnesses. 2006-10-26 18:10:34 +00:00
Andrew Johnson
c2755088e6 Cleanup. 2006-10-26 17:47:47 +00:00
W. Eric Norum
8264714ea7 Improve message. 2006-10-26 17:42:02 +00:00
Andrew Johnson
7dc2eec5aa Permit breakpoint tables to run any direction as long as the slope doesn't
change sign. Reduced memory requirement by making the table a contiguous
array rather than an array of pointers to intervals. Improved error reporting.
2006-10-26 16:05:23 +00:00
Andrew Johnson
5c7fa0e3be Modified comments. 2006-10-26 15:34:45 +00:00
Jeff Hill
b75bdb1930 fixed wrong app type used when client is acknowledging an alarm
(slightly revised to also deal with arrays although they are technically
invalid when acking an alarm)
2006-10-04 20:46:11 +00:00
Jeff Hill
394222ac72 fixed wrong app type used when client is acknowledging an alarm
(slightly revised to use primitive type of request if writing to other than
gddAppType_value)
2006-10-04 18:49:29 +00:00
Andrew Johnson
e98b305246 Fix up calc and calcout record and associated code to use the new features
of postfix() and calcPerform().
2006-10-03 20:22:23 +00:00
Andrew Johnson
3725609bc8 Cleanup, added recGblAlarmHook pointer. 2006-10-03 16:05:21 +00:00
Andrew Johnson
e4a80f2350 Cleanup, added workaround text. 2006-10-03 15:36:51 +00:00
Andrew Johnson
eeac94ca3b Fix errors from MS compiler, which overloads pow() in C++. 2006-10-02 18:01:44 +00:00
Jeff Hill
7001736104 fixed wrong app type used when client is acknowledging an alarm 2006-10-02 15:53:52 +00:00
Janet B. Anderson
ad55de7aa4 Modified UnixPath and epics_base definitio for ActiveState perl. 2006-10-02 14:18:47 +00:00
Janet B. Anderson
3c9b4d761e Modified UnixPath for ActiveState perl. 2006-10-02 14:17:41 +00:00
Andrew Johnson
2d96451345 dbpr.TIME field. 2006-09-26 15:10:20 +00:00
Andrew Johnson
4bc1aabc0f TIME interest level changed from 4 => 2, now that dbpr displays it nicely. 2006-09-26 15:08:43 +00:00
Andrew Johnson
2c914b5183 Make dbpr output for TIME field human-readable (Mantis #270). 2006-09-26 14:56:53 +00:00
Janet B. Anderson
f0f6716352 Changed rules so that % rules only have 1 dependancy. 2006-09-25 19:09:13 +00:00
Ralph Lange
61600b730a Fix for skipping over the first ifreq list element, += ifreqSize wrapper function. 2006-09-21 20:28:55 +00:00
Ralph Lange
54c09890dd Minor fix in printf string. 2006-09-20 14:24:44 +00:00
Ralph Lange
e01a41c418 Fix in the new code (suggested by Eric Norum). 2006-09-20 14:10:03 +00:00
Ralph Lange
db3ba46ab0 += RTEMS on ARM 2006-09-19 16:50:33 +00:00
Andrew Johnson
67ff3dfb6a Comments and list of architectures. 2006-09-19 16:32:12 +00:00
Ralph Lange
952731fdd9 += Change for arm. == This should be BSP dependent, not CPU dependent! == 2006-09-19 16:18:26 +00:00
Ralph Lange
178f8e9008 Problem fixed that was found on ARM: ifreq buffer must always be word-aligned when passed to kernel functions. 2006-09-19 16:13:34 +00:00
Ralph Lange
622f3333e0 Get host name using gethostname() after network is init'd. 2006-09-19 15:49:19 +00:00
Ralph Lange
e768a7b7c6 += changes for arm (missing RTC) == Needs Review == 2006-09-19 15:46:13 +00:00
Jeff Hill
ca95134827 added missing include 2006-09-13 21:54:13 +00:00
Jeff Hill
bbd210d626 fixed missing shutdown for log client thread 2006-09-12 20:47:04 +00:00
W. Eric Norum
641bbb29a0 Don't use C++ comments in C code. 2006-09-12 16:03:13 +00:00
Jeff Hill
a1a8b1a7e7 fix for mantis 269 2006-09-12 00:05:05 +00:00
Andrew Johnson
e44add07df Added iocLogShow command, and fixed a problem in the eltc command. 2006-09-11 15:53:44 +00:00
Andrew Johnson
d359e6629d Permit any IOC name as long as it has 'ioc' in it somewhere.
This matches the current behavior of the wildcard in iocBoot/Makefile
2006-07-25 18:14:21 +00:00
Andrew Johnson
26938a98ed Indentation and code style changes only. 2006-07-13 20:01:33 +00:00
W. Eric Norum
2db98a08fe Add function prototype with Windows decorations. 2006-07-10 18:17:23 +00:00
W. Eric Norum
b874c0afaa Extensions can increase context-switch time, so use as few as possible. 2006-06-30 19:32:23 +00:00
W. Eric Norum
7dcd682f7d Force panic if application-supplied routine returns a non-zero value. 2006-06-29 20:07:10 +00:00
Jeff Hill
b3ff995884 fixed mantis 266
epicsTime <=> aitTimeStamp conversions dont work on 64 bit hosts
2006-06-29 15:28:36 +00:00
W. Eric Norum
eff6f305c8 Add RTEMS initialization hooks. 2006-06-29 15:22:53 +00:00
W. Eric Norum
3d06949492 Clean up OS X universal binary notes. 2006-06-25 16:39:16 +00:00
W. Eric Norum
61239a7be6 Use more descriptive name. 2006-06-25 16:35:09 +00:00
cvs2svn
d6deb6920b This commit was manufactured by cvs2svn to create branch 'B3.14'. 2006-06-25 16:34:52 +00:00
W. Eric Norum
b64d58145c Add RTEMS change. 2006-06-25 15:05:04 +00:00
Jeff Hill
ee7c2ed829 fixed epicsTime <=> aitTimeStamp conversions dont work on 64 bit hosts 2006-06-22 00:20:08 +00:00
Andrew Johnson
70a15c335d munch.pl for MIPS. 2006-06-20 17:07:23 +00:00
Andrew Johnson
7b8c42ec38 epicsUnitTest support and -include in configure/RELEASE files. 2006-06-16 19:30:31 +00:00
Andrew Johnson
b2012ebf80 Don't print results if no tests! 2006-06-16 19:27:36 +00:00
Andrew Johnson
82513dfcc6 Support "-include" syntax in configure/RELEASE* files 2006-06-16 19:24:15 +00:00
Ralph Lange
402d22eac6 Patches for max array size determination as suggested by Malcolm Waters (Diamond). 2006-06-07 07:24:19 +00:00
Ralph Lange
2bed5dd8bf Fixed comment. 2006-06-07 07:20:01 +00:00
Jeff Hill
0e4f45dac5 fixed mantis 260 2006-06-06 23:09:25 +00:00
Jeff Hill
679d754891 fix for mantis 258 2006-06-06 22:57:01 +00:00
Jeff Hill
ad093ea6a2 fix for mantis 258 2006-06-06 22:44:33 +00:00
Jeff Hill
a3e0f538f7 ipAddrToAsciiTransactionPrivate free list is __not__ locked externally
so the epicsMutexNOOP non-default template parameter causes
the free list to not be locked. The free list was changed to embed a
lock/unlock around all allocate and deallocate requests.
2006-05-22 22:49:06 +00:00
Andrew Johnson
73e3411beb Fixed off-by-one error in dbFindField(). 2006-05-12 15:34:04 +00:00
Andrew Johnson
bf45ed3869 Major reorganization and Perl cleanup:
Added support for MIPS; ignore duplicate symbols; run destructors in
reverse order; added comments to output source file.
2006-04-28 17:46:51 +00:00
Janet B. Anderson
d432014104 Fixed typo if commandline library definition. 2006-04-24 18:00:16 +00:00
Andrew Johnson
6a830abc9d Added WARN setting to CHECK_RELEASE. 2006-04-21 15:23:48 +00:00
Andrew Johnson
5b54b481e8 Added WARN setting for CHECK_RELEASE. 2006-04-21 15:19:25 +00:00
Janet B. Anderson
e1ca1a907a Modified comment. 2006-04-20 14:57:26 +00:00
Janet B. Anderson
cad78cca41 Added include for RELEASE.<epics_host_arch>.Common 2006-04-20 14:54:51 +00:00
W. Eric Norum
cd0a488fad New host. 2006-04-08 16:36:46 +00:00
W. Eric Norum
0aa4a34c2a Need a few more functions declared. 2006-04-07 20:59:48 +00:00
W. Eric Norum
fa34d5c8f3 Need isnan() declaration now to track changes in other header files. 2006-04-07 20:49:43 +00:00
W. Eric Norum
d077e5cbf5 Provide 'pure-perl' implementation for OS X. 2006-04-07 16:03:56 +00:00
W. Eric Norum
d20b063cb2 Add Intel support for OS X. 2006-04-06 00:57:59 +00:00
Janet B. Anderson
d7e9b9738e Changes for darwin hosts. 2006-04-05 18:34:20 +00:00
Andrew Johnson
1faaada240 Clean up warnings. 2006-04-03 21:49:49 +00:00
Andrew Johnson
6ca51a8f52 Improve error messages for CALC expressions. 2006-04-03 21:47:34 +00:00
Andrew Johnson
abfd3f0186 Improve error checking and messages from AS file parser. 2006-04-03 21:41:11 +00:00
Andrew Johnson
d7016a007c Oops, missed a few tests I'd added. 2006-03-30 20:46:20 +00:00
Andrew Johnson
4d67f3596a Converted some of the test routines to use the new epicsUnitTest facility. 2006-03-30 20:13:25 +00:00
Andrew Johnson
97a5aa16a0 Major update, code reorganization and enhancement. 2006-03-30 20:07:06 +00:00
Andrew Johnson
e9e4e34fdf Build epicsUnitTest facilitites.
Also make epicsVersion depend on CONFIG_SITE file.
2006-03-30 20:04:48 +00:00
Andrew Johnson
62dee96808 Added Test Anything Protocol unit test library.
See Perl documentation for Test::Harness and Test::More for format details.
2006-03-30 19:59:46 +00:00
Andrew Johnson
8496fae43c Ensure finite() is defined. 2006-03-30 19:54:25 +00:00
Andrew Johnson
ffc6368931 Print thread names when reporting suspensions. 2006-03-30 19:52:35 +00:00
Andrew Johnson
3caf5e10c4 Include stdio.h 2006-03-30 19:50:31 +00:00
Andrew Johnson
93bab7d518 Correct epicsMin/epicsMax behaviour for floating-point NaN arguments. 2006-03-30 19:48:12 +00:00
Andrew Johnson
3162d19551 Make cantProceed() take printf-style message args. 2006-03-30 19:42:36 +00:00
Janet B. Anderson
3431eb4a08 Modified comments. 2006-03-30 18:40:46 +00:00
Janet B. Anderson
ef3e27625c Added include for host specific RELEASE file. 2006-03-30 17:25:13 +00:00
Janet B. Anderson
055c451ab9 Modified comments. 2006-03-30 17:24:18 +00:00
Janet B. Anderson
5c8b48e8f0 Added includes for host specific RELEASE and CONFIG_SITE files. 2006-03-30 16:59:06 +00:00
Janet B. Anderson
30b0520b78 Added comments about files for Host/target specific settings. 2006-03-30 16:57:32 +00:00
Janet B. Anderson
2ae9d6ac55 Removed a comment line. 2006-03-30 16:44:55 +00:00
Janet B. Anderson
12f8a7bf2a Added Id line. 2006-03-29 21:59:14 +00:00
Janet B. Anderson
e477be1e94 Modified comment line. 2006-03-29 21:56:39 +00:00
Janet B. Anderson
85399c435c Added ifdef T_A around T_A includes. 2006-03-29 21:26:21 +00:00
Janet B. Anderson
6bb604313d Added ifdef $(T_A) around T_A includes. 2006-03-29 21:23:57 +00:00
Janet B. Anderson
6b43fe312e Allow target specific macro definition overrides. 2006-03-29 21:18:12 +00:00
Andrew Johnson
8823924561 Oops, currected *Strdup routines. 2006-03-29 20:53:54 +00:00
Andrew Johnson
daf8f033fa Use new xxStrdup() functions.
Cleanup compiler warnings due to our using 8-bit lexers.
2006-03-29 19:46:05 +00:00
Andrew Johnson
cd3806e189 Added an asStrdup() routine. 2006-03-29 19:37:22 +00:00
Andrew Johnson
976febd1ac Added dbmfStrdup() function. 2006-03-29 19:33:50 +00:00
Janet B. Anderson
d29a589bff Renamed CONFIG_EXTENSION to CONFIG_SITE. 2006-03-29 17:09:24 +00:00
Janet B. Anderson
c0a6adb516 Renamed CONFIG_EXTENSIONS to CONFIG_SITE. Moved includes to CONFIG.
Moved INSTALL_LOCATION definition.
2006-03-29 17:08:23 +00:00
Janet B. Anderson
8774f97acd Allow ioc application to be built with older version of base. 2006-03-29 16:49:06 +00:00
Janet B. Anderson
e1018e3edf Removed accidently committed INSTALL_LOCATION definition. 2006-03-29 16:47:00 +00:00
Janet B. Anderson
ae8b8295a6 Renamed CONFIG_APP to CONFIG_SITE. 2006-03-28 21:35:53 +00:00
Janet B. Anderson
3ee2785894 Renamed CONFIG_APP to CONFIG_SITE. Moved includes to CONFIG.
Moved INSTALL_LOCATION and CONFIG definitions.
2006-03-28 21:35:08 +00:00
Janet B. Anderson
d43342f06f Moved definitions INSTALL_LOCATION and CONFIG. 2006-03-28 21:31:58 +00:00
Andrew Johnson
e7f78a7d69 Fixed problem with previously generated scan.c which was not case-independent.
Regenerated scan.c, and added instructions for later maintainers.
2006-03-28 00:11:51 +00:00
W. Eric Norum
51018ac066 Add support for RTEMS tasks with string names. 2006-03-27 22:21:18 +00:00
W. Eric Norum
f648ab5f09 Ensure that RTEMS-style names are properly terminated. 2006-03-27 20:47:05 +00:00
W. Eric Norum
db49484d32 Typo. 2006-03-27 16:32:35 +00:00
W. Eric Norum
097e551f43 Add note about RTEMS user extensions. 2006-03-27 16:32:14 +00:00
W. Eric Norum
fc2e1fd651 Add infrastructure for spy command. 2006-03-27 16:30:27 +00:00
Jeff Hill
cf231b5af3 fixed repeated sentance 2006-03-27 15:47:49 +00:00
Andrew Johnson
4ee5d5130e Oops, EPICS_CA_BEACON_PORT was wrong... 2006-03-24 20:53:25 +00:00
Andrew Johnson
8e9e846c34 Build the S99 scripts on Linux.
Modified the scripts and build process to work on Linux.
2006-03-24 20:29:27 +00:00
Jeff Hill
f4068d6a49 upgraded tests for mantis 245 2006-03-21 00:59:25 +00:00
Jeff Hill
a49961afe6 I fixed the following issues:
1) The epicsTime constructor does not throw an exception when an invalid epicsTimeStamp is passed to it.
2) The "epicsTime::operator epicsTimeStamp ()" conversion operator should throw an exception instead of assert failing when it discovers that the internal state of the time stamp is invalid.
3) William Lupton's epicsTime::strftime doesnt add .OVF if the nano-seconds field is invalid. Kay's original issue.
4) William Lupton's epicsTime::strftime has a buffer overrun vulnerability.
5) Certain C interfaces to epicsTime were not bracketed by try catch blocks.
2006-03-21 00:58:43 +00:00
Janet B. Anderson
88e7ae91b0 Removed -Wtraditional option. 2006-03-20 21:29:07 +00:00
Janet B. Anderson
233d65ea0d Install config/tools/* into INSTALL_LOCATION/config/tools not bin/(arch>. 2006-03-20 19:18:35 +00:00
Janet B. Anderson
0a5f63db7b Use the INSTALL_LOCATION setting from a configure/RELEASE file. 2006-03-20 17:57:41 +00:00
Jeff Hill
f83e11167d accomodate visual c++ 6 2006-03-20 15:53:25 +00:00
Janet B. Anderson
034936e8a9 Added files and made modifications for R3.13 Makefile builds of extensions. 2006-03-16 17:29:00 +00:00
Jeff Hill
99d1b3dd04 improved string hash table distribution 2006-03-15 19:02:15 +00:00
Janet B. Anderson
b1b5bbab0e Need two MT commands, one for dll files and one for exe files. 2006-03-09 22:30:19 +00:00
Janet B. Anderson
d208fdf7cf Need two MT commands, one for dll filess and one for exe files. 2006-03-09 22:28:22 +00:00
Janet B. Anderson
7e841f73fe Added command to embed .manifest file into libs and prods. 2006-03-09 17:20:08 +00:00
Janet B. Anderson
45fae9aeac Added command to embed a .manifest file into a library or product target. 2006-03-09 17:18:37 +00:00
Janet B. Anderson
c035a50677 Initial version. 2006-03-09 17:09:56 +00:00
Janet B. Anderson
319ab854d7 Added command to embed .manifest file. Removed install of .manifest file. 2006-03-09 17:08:48 +00:00
Janet B. Anderson
0fb9b9feda Initial version. 2006-03-09 17:04:38 +00:00
Janet B. Anderson
13ce4feb1b Added command to embed a .manifest file into a library or product target. 2006-03-09 17:02:20 +00:00
Janet B. Anderson
1ea5b179d5 Added LIB_PREFIX SHRLIB_PREFIX defs. Fixed CONFORM_CXXFLAGS def. 2006-03-03 22:06:57 +00:00
Janet B. Anderson
7d6f60121a Changed LIB_PREFIX to SHRLIB_PREFIX. 2006-03-03 17:57:27 +00:00
Janet B. Anderson
ea23dcabb9 Initial version. 2006-03-01 19:55:21 +00:00
Andrew Johnson
df07bfc9e9 Lower-case operands a thru l are never used, the infix buffer was already
converted to upper-case.
2006-03-01 19:55:13 +00:00
Janet B. Anderson
c542b4f4d1 Initial version. 2006-03-01 19:44:55 +00:00
Janet B. Anderson
edd2499824 Initial version. 2006-03-01 15:56:20 +00:00
Andrew Johnson
a4a3ddfcdf e_flex DOS line endings. 2006-02-28 23:35:56 +00:00
Andrew Johnson
14ad2c5055 Modified scan.l.DISTRIB to accept DOS line-endings. Used itself to convert
this into the scan.c file.  The initscan.c file is not used at all.
2006-02-28 23:35:22 +00:00
Janet B. Anderson
6e2049d678 Added override comment. 2006-02-23 20:04:22 +00:00
Andrew Johnson
3fb500856d Universal devLib stuff. 2006-02-17 23:30:04 +00:00
Andrew Johnson
a57f10fb90 Build devLib on all archs now there's a default devLibOSD.c file. 2006-02-17 23:00:30 +00:00
Jeff Hill
0f4acafeae fixed mantis 239 2006-02-17 22:54:49 +00:00
Andrew Johnson
7b383a18b4 Make devLib available from other OSs iff they provide the right table in an
external support application.
2006-02-17 22:51:26 +00:00
Jeff Hill
b55729875d fixed mantis 239 2006-02-17 22:33:54 +00:00
Andrew Johnson
a5b4cb0766 PACT must be set during FLNK. 2006-02-15 22:25:24 +00:00
Jeff Hill
dd63c3177d improved test 2006-02-13 16:33:59 +00:00
Jeff Hill
ceb11f1fb4 fix for a potential race in ca_context_destroy 2006-02-13 16:33:46 +00:00
Ralph Lange
85eacf584c Integrating change by Malcolm Waters: fix for "-c -w 0" hanging forever 2006-02-06 16:08:04 +00:00
Ralph Lange
d6b6955903 Integrating change by Malcolm Waters: += put_callback option - heavily based on caget 2006-02-06 16:04:55 +00:00
W. Eric Norum
4074b45a30 Add epicsThreadResume to IOCSH. 2006-02-03 19:36:09 +00:00
Andrew Johnson
ba9499c786 Better solution to zero-sized alloc requests. 2006-01-31 20:44:55 +00:00
W. Eric Norum
dbac42746c [cm]allocMustSucceed() now accept values of 0 for their size and count arguments and can return a NULL in these cases. 2006-01-31 14:54:19 +00:00
Janet B. Anderson
7fe5335da7 Fixed CONFORM_CXXFLAGS_NORMAL definition. 2006-01-30 15:56:10 +00:00
Janet B. Anderson
6347d8f065 Fixed typo in CMPLR_PREFIX definition. 2006-01-30 15:21:34 +00:00
Janet B. Anderson
9516692138 Modified comments for > win32-x86-cygwin and linuxRT-mvme2100. 2006-01-26 16:45:46 +00:00
W. Eric Norum
a0dd3c1a9d Add note about OS X changes. 2006-01-26 03:38:28 +00:00
W. Eric Norum
d4abe3a8af Other sites aren't running RTEMS. 2006-01-25 21:18:53 +00:00
W. Eric Norum
3fee378da2 Reorganized OS X support. 2006-01-25 21:18:04 +00:00
W. Eric Norum
d6ae543a1e Reorganize OS X configuration files.
First steps towards Universal binaries.
2006-01-25 21:17:15 +00:00
Andrew Johnson
17c437048f include CONFIG_BASE_VERSION *after* CONFIG_SITE. 2006-01-20 20:22:55 +00:00
Janet B. Anderson
2942594c37 Set EPICS_CVS_SNAPSHOT to -CVS. 2006-01-06 16:00:21 +00:00
Janet B. Anderson
e9b49d233b R3.14.8.2 2006-01-06 15:55:13 +00:00
Andrew Johnson
16e0409813 epicsStrtod fix. 2006-01-05 21:38:14 +00:00
Andrew Johnson
10c03d3e19 We took epicsShareAPI out of Win32 already, which was the only arch that
might have needed it!
2006-01-05 21:12:32 +00:00
Andrew Johnson
7aa6a2ca98 Better fix to the epicsStrtod problem: Don't compile our function if epicsStrtod
is a macro; that way you can't set a breakpoint on it which would never fire.
2006-01-05 21:08:02 +00:00
Ken Evans
705d8ccf98 Added _CRT_NONSTDC_NO_DEPRECATE switch to disable MSVC 8 Posix
deprecated warnings.
2006-01-04 21:27:54 +00:00
Ken Evans
ae27b2ad0e Changed /GX to /EHsc and defined _CRT_SECURE_NO_DEPRECATE for MSVC 8. 2006-01-04 18:11:44 +00:00
W. Eric Norum
8d3dc9eb33 Avoid infinite recursion on systems with 'working' strtod() functions. 2005-12-26 18:32:43 +00:00
Janet B. Anderson
1e821d866e Set EPICS_CVS_SNAPSHOT to -CVS. 2005-12-20 15:25:07 +00:00
Janet B. Anderson
03bf89c7c2 R3.14.8.1 2005-12-20 14:59:00 +00:00
Janet B. Anderson
b01b09240c Added deprecated EPICS_UPDATE_LEVEL.. 2005-12-20 14:56:46 +00:00
W. Eric Norum
e0887d197e Get rid of a bunch of conditional compile statements. 2005-12-19 22:27:47 +00:00
Andrew Johnson
3191b9b404 Notes about the version number changes. 2005-12-19 21:57:57 +00:00
Janet B. Anderson
147e21b71f Changed EPICS_UPDATE_LEVEL to EPICS_PATCH_LEVEL. 2005-12-19 21:42:40 +00:00
Janet B. Anderson
c57beaad68 Win32 changes. 2005-12-19 21:10:30 +00:00
Janet B. Anderson
45685c52d2 Changed EPICS_UPDATE_LEVEL to EPICS_PATCH_LEVEL. 2005-12-19 21:09:44 +00:00
Janet B. Anderson
00d8ae7d79 Updated version number description. 2005-12-19 20:28:00 +00:00
Andrew Johnson
d9184abd62 Version numbering system change. 2005-12-16 16:47:52 +00:00
Andrew Johnson
66fbc8b27c R3.14.8.1 changes. 2005-12-15 19:39:03 +00:00
W. Eric Norum
a65943481d Improved epicsThreadGetName() so that it works for all threads, not just those
created by epicsThreadCreate().
2005-12-15 16:49:42 +00:00
Janet B. Anderson
09ea15376f Changed SCRIPT to SCRIPTS in comment. 2005-12-14 15:04:37 +00:00
Marty Kraimer
de797d11e2 fix win32 compiler warnings 2005-12-13 12:57:19 +00:00
Andrew Johnson
6e09e17a23 Moved Marty's latest comments into a "Changes since R3.14.8" section.
Cleaned up some &nbsp; entities that appeared lower down.
2005-12-12 22:19:01 +00:00
Janet B. Anderson
a0e61daaac Removed epicsShareAPI from epicsStrtod. 2005-12-12 21:27:07 +00:00
Janet B. Anderson
5506587d06 Removed epicsShareAPI where not needed. 2005-12-12 21:26:01 +00:00
Andrew Johnson
225f816f0e epicsShare macro fixes from Mark Rivers (copied from the main trunk). 2005-12-12 21:25:17 +00:00
Marty Kraimer
cdda915248 o and x format should have unsigned args 2005-12-12 20:09:02 +00:00
Marty Kraimer
1a1c4dceb0 changes for libCom/misc 2005-12-12 19:55:34 +00:00
Marty Kraimer
b283cb1fcd clean up epicsStdlib 2005-12-12 19:55:11 +00:00
Marty Kraimer
3499fbe51d get rid of epicsShareAPI; epicsStrtok_r is new; clean up epicsStdlib 2005-12-12 19:54:48 +00:00
Jeff Hill
bd14b17c94 fixed send thread blocks trying to destroy the IIU because the
callback lock was taken without using a callback lock manager
2005-12-08 16:23:15 +00:00
1444 changed files with 57614 additions and 44291 deletions

8
.bzrignore Normal file
View File

@@ -0,0 +1,8 @@
./bin
./lib
./db
./dbd
./html
./include
./templates
**/O.*

View File

@@ -1,11 +1,14 @@
Copyright (c) 1991-2004 University of Chicago and The Regents of the
University of California. All rights reserved.
Copyright (c) 1991-2011 UChicago Argonne LLC.
Copyright (c) 1991-2006 The Regents of the University of California.
Copyright (c) 2006-2011. Los Alamos National Security, LLC. Some of this
material was produced under U.S. Government contract DE-AC52-06NA25396
for Los Alamos National Laboratory (LANL), which is operated by Los Alamos
National Security, LLC for the U.S. Department of Energy.
EPICS BASE is distributed subject to the following license conditions:
SOFTWARE LICENSE AGREEMENT
Software: EPICS BASE
Versions: 3.13.7 and higher
1. The "Software", below, refers to EPICS BASE (in either source code, or
binary form and accompanying documentation). Each licensee is

View File

@@ -8,16 +8,22 @@
# in file LICENSE that is included with this distribution.
#*************************************************************************
#
# $Id$
# $Revision-Id$
#
TOP = .
include $(TOP)/configure/CONFIG
ifeq ($(findstring YES,$(COMPAT_313) $(COMPAT_TOOLS_313)),YES)
DIRS += config config/tools
endif
# Bootstrap resolution: tools not installed yet
TOOLS = $(TOP)/src/tools
DIRS += configure src
ifeq ($(findstring YES,$(COMPAT_313) $(COMPAT_TOOLS_313)),YES)
DIRS += config
endif
src_DEPEND_DIRS = configure
config_DEPEND_DIRS = src
include $(TOP)/configure/RULES_TOP

View File

@@ -8,7 +8,7 @@
# in file LICENSE that is included with this distribution.
#*************************************************************************
#
# $Id$
# $Revision-Id$
#
# The developer may edit this file.
# assume T_A is the host arch if not specified

View File

@@ -96,13 +96,14 @@ ACC_SLIBS_NO=
# Use of /Za would dissable DLL import/export keywords which
# EPICS include/excludes using architecture neutral macros
#
# /GX support C++ exceptions
# /EHsc support C++ exceptions
# /GR generate RTTI information
#
CCC = cl /GX /GR
CCC = cl /EHsc /GR
CCC_NORMAL = $(CCC) /nologo /D__STDC__=0
CCC_STRICT = $(CCC) /nologo /D__STDC__=0
CCC_TEMPL_INST_FLAG =
ARCH_DEP_CPPFLAGS += /D_CRT_SECURE_NO_DEPRECATE /D_CRT_NONSTDC_NO_DEPRECATE
#
# /W<N> use warning level N
@@ -269,3 +270,14 @@ LINK.cc = $(WINLINK) -nologo $(LDFLAGS) -out:$@
# Overrides for CONFIG_COMMON default
POSIX_CPPFLAGS_YES =
#--------------------------------------------------
# UseManifestTool.pl checks MS Visual c++ compiler version number to
# decide whether or not to use the Manifest Tool command to embed the
# linker created .manifest file into a library or product target.
# useManifestTool.pl returns 0(don't use) or 1(use).
#
ifeq ($(shell $(PERL) $(EPICS_BASE_TOOLS)/useManifestTool.pl),1)
MT_DLL_COMMAND = mt.exe /manifest $@.manifest "/outputresource:$@;\#2"
MT_EXE_COMMAND = mt.exe /manifest $@.manifest "/outputresource:$@;\#1"
endif

View File

@@ -1,57 +0,0 @@
#*************************************************************************
# Copyright (c) 2002 The University of Chicago, as Operator of Argonne
# National Laboratory.
# Copyright (c) 2002 The Regents of the University of California, as
# Operator of Los Alamos National Laboratory.
# EPICS BASE Versions 3.13.7
# and higher are distributed subject to a Software License Agreement found
# in file LICENSE that is included with this distribution.
#*************************************************************************
# CONFIG.Host.alpha
#
# This file is maintained by the EPICS community.
# Sites may override these definitions in CONFIG_SITE.Host.alpha
ARCH_CLASS = alpha
# Include definitions common to all Unix archs
include $(EPICS_BASE)/config/CONFIG.Host.UnixCommon
AR = ar
# Configure OS vendor C compiler
ACC = cc
ACC_ANSI = $(ACC) -std
ACC_STRICT = $(ACC) -std1
ACC_TRAD = $(ACC) -std0
ACC_WARN_YES =
ACC_WARN_NO = -w
ACC_OPT_YES = -O
ACC_OPT_NO = -g
ACC_SFLAGS_YES= -non_shared
ACC_SFLAGS_NO= -call_shared
ACC_SLIBS_YES =
ACC_SLIBS_NO=
ACC_SHRLIB_CFLAGS_YES =
ACC_SHRLIB_LDFLAGS_YES = -shared
# Configure OS vendor C++ compiler
CCC = cxx
CCC_NORMAL = $(CCC)
CCC_STRICT = $(CCC)
CCC_TEMPL_INST_FLAG = -DEXPL_TEMPL
CCC_WARN_YES =
CCC_WARN_NO =
CCC_OPT_YES = -O
CCC_OPT_NO = -g
CCC_SFLAGS_YES=
CCC_SFLAGS_NO=
CCC_SLIBS_YES =
CCC_SLIBS_NO=
CCC_SHRLIB_CFLAGS_YES =
CCC_SHRLIB_LDFLAGS_YES = -shared
CCC_DEPENDS_FLAG =
ARCH_DEP_CFLAGS = -D_OSF_SOURCE
ARCH_DEP_LDLIBS =

View File

@@ -0,0 +1,13 @@
#*************************************************************************
# Copyright (c) 2002 The University of Chicago, as Operator of Argonne
# National Laboratory.
# Copyright (c) 2002 The Regents of the University of California, as
# Operator of Los Alamos National Laboratory.
# EPICS BASE Versions 3.13.7
# and higher are distributed subject to a Software License Agreement found
# in file LICENSE that is included with this distribution.
#*************************************************************************
# $Revision-Id$
# cygwin-x86 is the new name for cygwin32
-include $(EPICS_BASE)/config/CONFIG.Host.cygwin32

View File

@@ -20,6 +20,17 @@ include $(EPICS_BASE)/config/CONFIG.Host.UnixCommon
EXE=.exe
#==========================
#These overrides remove -ansi because -ansi eliminates strdup
GCC_ANSI = $(GCC)
GCC_STRICT = $(GCC) -pedantic
G++_NORMAL = $(G++) -pedantic
G++_STRICT = $(G++) -pedantic
#==========================
#This override will eliminate warnings for old R3.13 extensions
#GCC_WARN_YES =
#==========================
# These are overrides of ANSI and CPLUSPLUS values in CONFIG_SITE
# since OS vendor compilers ACC and CCC are not defined here for cygwin32
@@ -32,7 +43,7 @@ SHARED_LIBRARIES=NO
#OP_SYS_INCLUDES += /usr/local/include/g++
#==========================
ARCH_DEP_CFLAGS = -DCYGWIN32 -U_WIN32
ARCH_DEP_CPPFLAGS = -DCYGWIN32 -U_WIN32
ARCH_DEP_LDLIBS =
OP_SYS_LDLIBS =
@@ -41,7 +52,9 @@ OP_SYS_LDLIBS =
GCC_DEP_CFLAGS = -D_REENTRANT
G++_DEP_CFLAGS = -D_REENTRANT
POSIX_CPPFLAGS_YES = -D_POSIX_SOURCE
#POSIX_SOURCE eliminates select()
#POSIX_CPPFLAGS_YES = -D_POSIX_SOURCE
POSIX_CPPFLAGS_YES = -D_POSIX_THREADS -D_POSIX_TIMERS
# Runtime ldflags
RUNTIME_LIBS =$(EPICS_BASE)/lib/$(EPICS_HOST_ARCH)\

View File

@@ -7,6 +7,6 @@
# and higher are distributed subject to a Software License Agreement found
# in file LICENSE that is included with this distribution.
#*************************************************************************
# $Id$
# $Revision-Id$
-include $(EPICS_BASE)/config/CONFIG.Host.Darwin

View File

@@ -0,0 +1,14 @@
#*************************************************************************
# Copyright (c) 2002 The University of Chicago, as Operator of Argonne
# National Laboratory.
# Copyright (c) 2002 The Regents of the University of California, as
# Operator of Los Alamos National Laboratory.
# EPICS BASE Versions 3.13.7
# and higher are distributed subject to a Software License Agreement found
# in file LICENSE that is included with this distribution.
#*************************************************************************
# $Revision-Id$
-include $(EPICS_BASE)/config/CONFIG.Host.Darwin
OP_SYS_CFLAGS += "-isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386"
OP_SYS_LDFLAGS += "-Wl,-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386"

View File

@@ -7,7 +7,6 @@
# and higher are distributed subject to a Software License Agreement found
# in file LICENSE that is included with this distribution.
#*************************************************************************
# $Id$
# $Revision-Id$
# osf-alpha is the new name for alpha
-include $(EPICS_BASE)/config/CONFIG.Host.alpha
-include $(EPICS_BASE)/config/CONFIG.Host.Darwin

View File

@@ -0,0 +1,35 @@
#*************************************************************************
# Copyright (c) 2006 UChicago Argonne LLC, as Operator of Argonne
# National Laboratory.
# Copyright (c) 2002 The Regents of the University of California, as
# Operator of Los Alamos National Laboratory.
# EPICS BASE is distributed subject to a Software License Agreement found
# in file LICENSE that is included with this distribution.
#*************************************************************************
# $Revision-Id$
#
# This file is maintained by the EPICS community.
# Sites may override these definitions in CONFIG_SITE.Host.freebsd
OS_CLASS = freebsd
# Include definitions common to all Unix archs
include $(EPICS_BASE)/config/CONFIG.Host.UnixCommon
CODE_CPPFLAGS = -D_REENTRANT
POSIX_CPPFLAGS = -D_POSIX_THREADS
POSIX_LDLIBS = -lpthread
# -D_BSD_SOURCE for gethostname() in unistd.h as needed by cacChannelIO.cpp.
OP_SYS_CPPFLAGS += -D_BSD_SOURCE
OP_SYS_CPPFLAGS += -Dfreebsd
# Set runtime path for shared libraries
RUNTIME_LDFLAGS = $(SHRLIB_SEARCH_FULLPATHDIRS:%=-Wl,-rpath,%)
# Definitions used when COMMANDLINE_LIBRARY is READLINE
LDLIBS_READLINE = -lreadline -lcurses
GNU_LDLIBS_YES = -lgcc_pic

View File

@@ -0,0 +1,15 @@
#*************************************************************************
# Copyright (c) 2006 UChicago Argonne LLC, as Operator of Argonne
# National Laboratory.
# Copyright (c) 2002 The Regents of the University of California, as
# Operator of Los Alamos National Laboratory.
# EPICS BASE is distributed subject to a Software License Agreement found
# in file LICENSE that is included with this distribution.
#*************************************************************************
# $Revision-Id$
ARCH_CLASS = x86
-include $(EPICS_BASE)/config/CONFIG.Host.freebsd
ARCH_DEP_CPPFLAGS += -D_X86_

View File

@@ -0,0 +1,15 @@
#*************************************************************************
# Copyright (c) 2006 UChicago Argonne LLC, as Operator of Argonne
# National Laboratory.
# Copyright (c) 2002 The Regents of the University of California, as
# Operator of Los Alamos National Laboratory.
# EPICS BASE is distributed subject to a Software License Agreement found
# in file LICENSE that is included with this distribution.
#*************************************************************************
# $Revision-Id$
ARCH_CLASS = x86_64
-include $(EPICS_BASE)/config/CONFIG.Host.freebsd
ARCH_DEP_CPPFLAGS += -D_X86_64_

View File

@@ -7,7 +7,7 @@
# and higher are distributed subject to a Software License Agreement found
# in file LICENSE that is included with this distribution.
#*************************************************************************
# $Id$
# $Revision-Id$
# hpux-parisc is the new name for hp700
-include $(EPICS_BASE)/config/CONFIG.Host.hp700

View File

@@ -0,0 +1,24 @@
#*************************************************************************
# Copyright (c) 2002 The University of Chicago, as Operator of Argonne
# National Laboratory.
# Copyright (c) 2002 The Regents of the University of California, as
# Operator of Los Alamos National Laboratory.
# EPICS BASE Versions 3.13.7
# and higher are distributed subject to a Software License Agreement found
# in file LICENSE that is included with this distribution.
#*************************************************************************
# $Revision-Id$
-include $(EPICS_BASE)/config/CONFIG.Host.Linux
ARCH_CLASS = ppc
ARCH_DEP_CPPFLAGS += -D_ppc_
GNU_DIR = /usr
GCC = $(GNU_BIN)/gcc
G++ = $(GNU_BIN)/g++
ARCH_DEP_LDLIBS = -lgcc

View File

@@ -7,7 +7,7 @@
# and higher are distributed subject to a Software License Agreement found
# in file LICENSE that is included with this distribution.
#*************************************************************************
# $Id$
# $Revision-Id$
# linux-x86 is the new name for linux
-include $(EPICS_BASE)/config/CONFIG.Host.Linux

View File

@@ -7,7 +7,6 @@
# and higher are distributed subject to a Software License Agreement found
# in file LICENSE that is included with this distribution.
#*************************************************************************
# $Id$
# $Revision-Id$
# osf-alpha is the new name for alpha
-include $(EPICS_BASE)/config/CONFIG_HOST_ARCH.alpha
-include $(EPICS_BASE)/config/CONFIG.Host.Linux

View File

@@ -0,0 +1,17 @@
#*************************************************************************
# Copyright (c) 2002 The University of Chicago, as Operator of Argonne
# National Laboratory.
# Copyright (c) 2002 The Regents of the University of California, as
# Operator of Los Alamos National Laboratory.
# EPICS BASE Versions 3.13.7
# and higher are distributed subject to a Software License Agreement found
# in file LICENSE that is included with this distribution.
#*************************************************************************
# $Revision-Id$
-include $(EPICS_BASE)/config/CONFIG.Host.Linux
ARCH_CLASS = Linux
ARCH_DEP_CFLAGS = -D_X86_64_ -Dlinux

View File

@@ -0,0 +1,13 @@
#*************************************************************************
# Copyright (c) 2002 The University of Chicago, as Operator of Argonne
# National Laboratory.
# Copyright (c) 2002 The Regents of the University of California, as
# Operator of Los Alamos National Laboratory.
# EPICS BASE Versions 3.13.7
# and higher are distributed subject to a Software License Agreement found
# in file LICENSE that is included with this distribution.
#*************************************************************************
# $Revision-Id$
-include $(EPICS_BASE)/config/CONFIG.Host.linux-x86_64

View File

@@ -71,16 +71,19 @@ POSIX_CPPFLAGS_YES += -D__EXTENSIONS__ -mt
ARCH_DEP_LDFLAGS += -mt
# socket and nsl needed by libca.a
# socket and nsl needed by libca.a when SHARED_LIBRARIES = NO
ARCH_DEP_LDLIBS += -lsocket -lnsl
ARCH_DEP_LDLIBS += -lposix4 -lpthread
ARCH_DEP_LDLIBS_8 = -lCrun
ARCH_DEP_LDLIBS_9 = -lCrun
ARCH_DEP_LDLIBS_8 += -lCrun -lc -lCstd
ARCH_DEP_LDLIBS_9 += -lCrun -lc -lCstd
ARCH_DEP_LDLIBS_10 += -lCrun -lc -lCstd
ARCH_DEP_LDLIBS += $(ARCH_DEP_LDLIBS_$(SOLARIS_VERSION))
#Allows R3.13 built extensions to load R3.14 shared libs
SYS_DLL_LIBS_solaris_8 = Crun
SYS_DLL_LIBS_solaris_9 = Crun
SYS_DLL_LIBS_solaris_10 = Crun
SYS_DLL_LIBS_solaris += posix4 pthread $(SYS_DLL_LIBS_solaris_$(SOLARIS_VERSION))
# Runtime ldflags

View File

@@ -7,7 +7,7 @@
# and higher are distributed subject to a Software License Agreement found
# in file LICENSE that is included with this distribution.
#*************************************************************************
# $Id$
# $Revision-Id$
# solaris-sparc is the new name for solaris
-include $(EPICS_BASE)/config/CONFIG.Host.solaris

View File

@@ -7,7 +7,7 @@
# and higher are distributed subject to a Software License Agreement found
# in file LICENSE that is included with this distribution.
#*************************************************************************
# $Id$
# $Revision-Id$
# solaris-sparc is the new name for solaris
-include $(EPICS_BASE)/config/CONFIG.Host.solaris

View File

@@ -7,7 +7,7 @@
# and higher are distributed subject to a Software License Agreement found
# in file LICENSE that is included with this distribution.
#*************************************************************************
# $Id$
# $Revision-Id$
# solaris-sparc is the new name for solaris
-include $(EPICS_BASE)/config/CONFIG.Host.solarisGnu

View File

@@ -7,7 +7,7 @@
# and higher are distributed subject to a Software License Agreement found
# in file LICENSE that is included with this distribution.
#*************************************************************************
# $Id$
# $Revision-Id$
# solaris-sparc is the new name for solaris
-include $(EPICS_BASE)/config/CONFIG.Host.solaris

View File

@@ -0,0 +1,18 @@
#*************************************************************************
# Copyright (c) 2002 The University of Chicago, as Operator of Argonne
# National Laboratory.
# Copyright (c) 2002 The Regents of the University of California, as
# Operator of Los Alamos National Laboratory.
# EPICS BASE Versions 3.13.7
# and higher are distributed subject to a Software License Agreement found
# in file LICENSE that is included with this distribution.
#*************************************************************************
# $Revision-Id$
# solaris-sparc is the new name for solaris
-include $(EPICS_BASE)/config/CONFIG.Host.solaris
ARCH_DEP_CFLAGS += -xarch=generic64
ARCH_DEP_CXXFLAGS += -xarch=generic64
ARCH_DEP_LDFLAGS += -xarch=generic64

View File

@@ -0,0 +1,18 @@
#*************************************************************************
# Copyright (c) 2002 The University of Chicago, as Operator of Argonne
# National Laboratory.
# Copyright (c) 2002 The Regents of the University of California, as
# Operator of Los Alamos National Laboratory.
# EPICS BASE Versions 3.13.7
# and higher are distributed subject to a Software License Agreement found
# in file LICENSE that is included with this distribution.
#*************************************************************************
# $Revision-Id$
# solaris-sparc is the new name for solaris
-include $(EPICS_BASE)/config/CONFIG.Host.solarisGnu
ARCH_DEP_CFLAGS += -mcpu=v9 -m64
ARCH_DEP_CXXFLAGS += -mcpu=v9 -m64
ARCH_DEP_LDFLAGS += -mcpu=v9 -m64

View File

@@ -7,7 +7,7 @@
# and higher are distributed subject to a Software License Agreement found
# in file LICENSE that is included with this distribution.
#*************************************************************************
# CONFIG.Host.solaris-x86
# CONFIG.Host.solaris-x86-gnu
#
# This file is maintained by the EPICS community.
# Sites may override these definitions in CONFIG_SITE.Host.solaris-x86

View File

@@ -12,20 +12,7 @@
# This file is maintained by the EPICS community.
# Sites may override these definitions in CONFIG_SITE.Host.solarisGnu
ARCH_CLASS = solaris
# Include definitions common to all Unix archs
include $(EPICS_BASE)/config/CONFIG.Host.UnixCommon
#
# required by sun's C++ compiler
#
AR = ar
_AR = $(AR) $(ARFLAGS)
G++_AR = $(_AR)
CCC_AR = $(CCC) -xar -o
ARCMD = $($(CPLUSPLUS)_AR) $@
RANLIB =
include $(EPICS_BASE)/config/CONFIG.Host.solaris
#==========================
# These are overrides of ANSI and CPLUSPLUS values in CONFIG_SITE
@@ -33,25 +20,3 @@ ANSI=GCC
CPLUSPLUS=G++
#==========================
SOLARIS_VERSION = $(subst 5.,,$(shell uname -r))
ARCH_DEP_CPPFLAGS += -DSOLARIS=$(SOLARIS_VERSION)
POSIX_CPPFLAGS_YES += -D__EXTENSIONS__
ARCH_DEP_LDFLAGS += -mt
# socket and nsl needed by libca.a
ARCH_DEP_LDLIBS += -lsocket -lnsl
ARCH_DEP_LDLIBS += -lposix4 -lpthread
ARCH_DEP_LDLIBS_8 = -lCrun
ARCH_DEP_LDLIBS_9 = -lCrun
ARCH_DEP_LDLIBS += $(ARCH_DEP_LDLIBS_$(SOLARIS_VERSION))
#Allows R3.13 built extensions to load R3.14 shared libs
SYS_DLL_LIBS_solaris_8 = Crun
SYS_DLL_LIBS_solaris_9 = Crun
SYS_DLL_LIBS_solaris += posix4 pthread $(SYS_DLL_LIBS_solaris_$(SOLARIS_VERSION))
# Runtime ldflags
RUNTIME_LDFLAGS =$(addprefix -R,$(EPICS_BASE)/lib/$(EPICS_HOST_ARCH)\
$(EPICS_EXTENSIONS)/lib/$(EPICS_HOST_ARCH))

View File

@@ -7,7 +7,7 @@
# and higher are distributed subject to a Software License Agreement found
# in file LICENSE that is included with this distribution.
#*************************************************************************
# $Id$
# $Revision-Id$
# sun4-sparc is the new name for sun4
-include $(EPICS_BASE)/config/CONFIG.Host.sun4

View File

@@ -7,7 +7,7 @@
# and higher are distributed subject to a Software License Agreement found
# in file LICENSE that is included with this distribution.
#*************************************************************************
# $Id$
# $Revision-Id$
# win32-x86 is the new name for WIN32
-include $(EPICS_BASE)/config/CONFIG.Host.WIN32

View File

@@ -7,7 +7,7 @@
# and higher are distributed subject to a Software License Agreement found
# in file LICENSE that is included with this distribution.
#*************************************************************************
# $Id$
# $Revision-Id$
# win32-x86-borland is the new name for Borland
-include $(EPICS_BASE)/config/CONFIG.Host.Borland

View File

@@ -0,0 +1,62 @@
#*************************************************************************
# Copyright (c) 2002 The University of Chicago, as Operator of Argonne
# National Laboratory.
# Copyright (c) 2002 The Regents of the University of California, as
# Operator of Los Alamos National Laboratory.
# EPICS BASE Versions 3.13.7
# and higher are distributed subject to a Software License Agreement found
# in file LICENSE that is included with this distribution.
#*************************************************************************
# $Revision-Id$
#
# This file is maintained by the EPICS community.
# Sites may override these definitions in CONFIG_SITE.Host.win32-x86-cygwin
# Include definitions common to all Unix archs
include $(EPICS_BASE)/config/CONFIG.Host.UnixCommon
EXE = .exe
SHARED_LIBRARIES = NO
ARCH_CLASS = WIN32
AR = ar -rc
ARCMD = $(AR) $@
RANLIB = ranlib -t
ANSI=GCC
CPLUSPLUS=G++
# Dont use -ansi: -ansi eliminates strdup and _tempnam
GCC_ANSI = $(GCC)
GCC_STRICT = $(GCC) -pedantic
G++_NORMAL = $(G++) -pedantic
G++_STRICT = $(G++) -pedantic
# Dont use -fPIC: with -fPIC we get
# "warning: -fPIC ignored for target (all code is position independent) "
GCC_DEP_CFLAGS =
G++_DEP_CFLAGS =
OP_SYS_CFLAGS =
OP_SYS_CPPFLAGS = -mno-cygwin
OP_SYS_CXXFLAGS += -D__cplusplus
OP_SYS_LDFLAGS += -mno-cygwin
POSIX_CPPFLAGS_YES =
# With no-cygwin option:
# compiler defines _X86_ 1
# compiler defines __MSVCRT__ 1
# compiler defines __MINGW32__ 1
# compiler defines __WIN32 1
# compiler defines __WIN32__ 1
# compiler defines _WIN32 1
# compiler defines WIN32 1
# compiler defines WINNT 1
# compiler does not define __unix __unix__ unix
# compiler does not define __CYGWIN__ __CYGWIN32__
ARCH_DEP_LDLIBS = -lws2_32 -ladvapi32 -luser32 -lkernel32 -lwinmm

View File

@@ -0,0 +1,12 @@
#*************************************************************************
# Copyright (c) 2002 The University of Chicago, as Operator of Argonne
# National Laboratory.
# Copyright (c) 2002 The Regents of the University of California, as
# Operator of Los Alamos National Laboratory.
# EPICS BASE Versions 3.13.7
# and higher are distributed subject to a Software License Agreement found
# in file LICENSE that is included with this distribution.
#*************************************************************************
# $Revision-Id$
-include $(EPICS_BASE)/config/CONFIG.Host.WIN32

View File

@@ -0,0 +1,58 @@
#*************************************************************************
# Copyright (c) 2002 The University of Chicago, as Operator of Argonne
# National Laboratory.
# Copyright (c) 2002 The Regents of the University of California, as
# Operator of Los Alamos National Laboratory.
# EPICS BASE Versions 3.13.7
# and higher are distributed subject to a Software License Agreement found
# in file LICENSE that is included with this distribution.
#*************************************************************************
# $Revision-Id$
#
# This file is maintained by the EPICS community.
# Sites may override these definitions in CONFIG_SITE.Host.win32-x86-mingw
# Include definitions common to all Unix archs
include $(EPICS_BASE)/config/CONFIG.Host.UnixCommon
EXE = .exe
SHARED_LIBRARIES = NO
ARCH_CLASS = WIN32
AR = ar -rc
ARCMD = $(AR) $@
RANLIB = ranlib -t
ANSI=GCC
CPLUSPLUS=G++
# Compiler defines _X86_ 1
# Compiler defines __MSVCRT__ 1
# Compiler defines __MINGW32__ 1
# Compiler defines __WIN32 1
# Compiler defines __WINNT 1
# Compiler defines __WINNT__ 1
# Compiler defines __WIN32__ 1
# Compiler defines _WIN32 1
# Compiler defines WIN32 1
# Compiler defines WINNT 1
# Compiler does not define __unix __unix__ unix
OP_SYS_CFLAGS =
OP_SYS_CXXFLAGS += -D__cplusplus
GCC_DEP_CFLAGS =
G++_DEP_CFLAGS =
POSIX_CPPFLAGS_YES =
ARCH_DEP_LDLIBS = -lws2_32 -ladvapi32 -luser32 -lkernel32 -lwinmm
# Remove -ansi compile option for gcc (does not allow c++ type comments).
GCC_ANSI = $(GCC)
GCC_STRICT = $(GCC) -pedantic
G++_NORMAL = $(G++) -pedantic
G++_STRICT = $(G++) -pedantic

View File

@@ -7,7 +7,7 @@
# and higher are distributed subject to a Software License Agreement found
# in file LICENSE that is included with this distribution.
#*************************************************************************
# $Id$
# $Revision-Id$
#
# This file contains definitions for Vx builds

View File

@@ -7,7 +7,7 @@
# and higher are distributed subject to a Software License Agreement found
# in file LICENSE that is included with this distribution.
#*************************************************************************
# $Id$
# $Revision-Id$
#
# This file is maintained by the EPICS community.

View File

@@ -8,7 +8,7 @@
# in file LICENSE that is included with this distribution.
#*************************************************************************
# $Id$
# $Revision-Id$
#
# This file is maintained by the EPICS community.

View File

@@ -8,7 +8,7 @@
# in file LICENSE that is included with this distribution.
#*************************************************************************
# $Id$
# $Revision-Id$
#
# This file is maintained by the EPICS community.

View File

@@ -8,7 +8,7 @@
# in file LICENSE that is included with this distribution.
#*************************************************************************
# $Id$
# $Revision-Id$
#
# This file is maintained by the EPICS community.

View File

@@ -8,7 +8,7 @@
# in file LICENSE that is included with this distribution.
#*************************************************************************
# $Id$
# $Revision-Id$
#
# This file is maintained by the EPICS community.

View File

@@ -7,7 +7,7 @@
# and higher are distributed subject to a Software License Agreement found
# in file LICENSE that is included with this distribution.
#*************************************************************************
# $Id$
# $Revision-Id$
#
# This file is maintained by the EPICS community.

View File

@@ -8,7 +8,7 @@
# in file LICENSE that is included with this distribution.
#*************************************************************************
# $Id$
# $Revision-Id$
#
# This file is maintained by the EPICS community.

View File

@@ -8,7 +8,7 @@
# in file LICENSE that is included with this distribution.
#*************************************************************************
# $Id$
# $Revision-Id$
#
# This file is maintained by the EPICS community.

View File

@@ -8,7 +8,7 @@
# in file LICENSE that is included with this distribution.
#*************************************************************************
# $Id$
# $Revision-Id$
#
# This file is maintained by the EPICS community.

View File

@@ -8,7 +8,7 @@
# in file LICENSE that is included with this distribution.
#*************************************************************************
# $Id$
# $Revision-Id$
#
# This file is maintained by the EPICS community.

View File

@@ -8,7 +8,7 @@
# in file LICENSE that is included with this distribution.
#*************************************************************************
# $Id$
# $Revision-Id$
#
# This file is maintained by the EPICS community.

View File

@@ -7,7 +7,7 @@
# and higher are distributed subject to a Software License Agreement found
# in file LICENSE that is included with this distribution.
#*************************************************************************
# $Id$
# $Revision-Id$
#
# This file is maintained by the EPICS community.

View File

@@ -1,4 +1,4 @@
# $Id$
# $Revision-Id$
#
# This file is maintained by the EPICS community.

View File

@@ -7,7 +7,7 @@
# and higher are distributed subject to a Software License Agreement found
# in file LICENSE that is included with this distribution.
#*************************************************************************
# $Id$
# $Revision-Id$
#
# This file is maintained by the EPICS community.

View File

@@ -1,4 +1,4 @@
# $Id$
# $Revision-Id$
#
# This file is maintained by the EPICS community.

View File

@@ -7,7 +7,7 @@
# and higher are distributed subject to a Software License Agreement found
# in file LICENSE that is included with this distribution.
#*************************************************************************
# $Id$
# $Revision-Id$
# vxWorks-486 is the new R3.14 name for pc486
include $(EPICS_BASE)/config/CONFIG.Vx.pc486

View File

@@ -7,7 +7,7 @@
# and higher are distributed subject to a Software License Agreement found
# in file LICENSE that is included with this distribution.
#*************************************************************************
# $Id$
# $Revision-Id$
# vxWorks-68040 is the new R3.14 name for mv167
include $(EPICS_BASE)/config/CONFIG.Vx.mv167

View File

@@ -7,7 +7,7 @@
# and higher are distributed subject to a Software License Agreement found
# in file LICENSE that is included with this distribution.
#*************************************************************************
# $Id$
# $Revision-Id$
# vxWorks-68040lc is the new R3.14 name for mv162lc
include $(EPICS_BASE)/config/CONFIG.Vx.mv162lc

View File

@@ -7,7 +7,7 @@
# and higher are distributed subject to a Software License Agreement found
# in file LICENSE that is included with this distribution.
#*************************************************************************
# $Id$
# $Revision-Id$
# vxWorks-68060 is the new R3.14 name for mv177
include $(EPICS_BASE)/config/CONFIG.Vx.mv177

View File

@@ -7,7 +7,7 @@
# and higher are distributed subject to a Software License Agreement found
# in file LICENSE that is included with this distribution.
#*************************************************************************
# $Id$
# $Revision-Id$
# vxWorks-ppc603 is the new R3.14 name for ppc603
include $(EPICS_BASE)/config/CONFIG.Vx.ppc603

View File

@@ -7,7 +7,7 @@
# and higher are distributed subject to a Software License Agreement found
# in file LICENSE that is included with this distribution.
#*************************************************************************
# $Id$
# $Revision-Id$
# vxWorks-ppc603 is the new R3.14 name for ppc603
include $(EPICS_BASE)/config/CONFIG.Vx.ppc603_long

View File

@@ -7,7 +7,7 @@
# and higher are distributed subject to a Software License Agreement found
# in file LICENSE that is included with this distribution.
#*************************************************************************
# $Id$
# $Revision-Id$
# vxWorks-ppc604 is the new R3.14 name for ppc604
include $(EPICS_BASE)/config/CONFIG.Vx.ppc604

View File

@@ -7,7 +7,7 @@
# and higher are distributed subject to a Software License Agreement found
# in file LICENSE that is included with this distribution.
#*************************************************************************
# $Id$
# $Revision-Id$
# vxWorks-ppc604 is the new R3.14 name for ppc604
include $(EPICS_BASE)/config/CONFIG.Vx.ppc604_long

View File

@@ -8,7 +8,7 @@
# in file LICENSE that is included with this distribution.
#*************************************************************************
#
# $Id$
# $Revision-Id$
#
# the order of following list is important
@@ -52,6 +52,9 @@ EPICS_BASE = $(TOP)
# EPICS include config file
include $(EPICS_BASE)/config/CONFIG
-include $(EPICS_BASE)/configure/RELEASE
-include $(EPICS_BASE)/configure/RELEASE.$(EPICS_HOST_ARCH)
ifdef INSTALL_LOCATION_BASE
INSTALL_LOCATION = $(INSTALL_LOCATION_BASE)
endif

View File

@@ -8,26 +8,8 @@
# in file LICENSE that is included with this distribution.
#*************************************************************************
#
# $Id$
#
# EPICS Version information
#
# This file is interpreted by the Bourne Shell (MakeRelease), so spaces are
# not allowed around the '=' signs or in unquoted values.
# $Revision-Id$
#
# EPICS Version information now comes from configure...
EPICS_VERSION=3
EPICS_REVISION=14
EPICS_MODIFICATION=8
EPICS_UPDATE_NAME=
EPICS_UPDATE_LEVEL=0
EPICS_LOCAL_NAME=B
EPICS_LOCAL_VERSION=0
EPICS_VERSION_STRING="EPICS Version ${EPICS_VERSION}.${EPICS_REVISION}.${EPICS_MODIFICATION}.${EPICS_UPDATE_NAME}${EPICS_UPDATE_LEVEL}.$(EPICS_LOCAL_NAME)$(EPICS_LOCAL_VERSION)"
CVS_DATE="\$$Date$$"
CVS_TAG="\$$Name$$"
BASE_3_14=YES
include $(EPICS_BASE)/configure/CONFIG_BASE_VERSION

View File

@@ -8,7 +8,7 @@
# in file LICENSE that is included with this distribution.
#*************************************************************************
#
# $Id$
# $Revision-Id$
#
# CONFIG_COMMON - Another EPICS BASE config file
# by Matthew Needes and Mike Bordua
@@ -90,7 +90,7 @@ GCC_STRICT = $(GCC) -ansi -pedantic
GCC_TRAD = $(GCC)
GCC_DEP_CFLAGS = -fPIC -D_REENTRANT
GCC_WARN_YES = -Wall -Wtraditional -Wmissing-prototypes -Wstrict-prototypes
GCC_WARN_YES = -Wall -Wmissing-prototypes -Wstrict-prototypes
GCC_WARN_NO = -w
GCC_OPT_YES = -O3
GCC_OPT_NO = -g
@@ -244,7 +244,7 @@ LDFLAGS = $(OPT_LDFLAGS) $(TARGET_LDFLAGS) $(USR_LDFLAGS)\
LDLIBS = $(TARGET_LDLIBS) $(USR_LDLIBS) $(STATIC_LDLIBS) $(ARCH_DEP_LDLIBS)\
$(OP_SYS_LDLIBS) $(POSIX_LDLIBS)
CPPFLAGS += $(TARGET_CPPFLAGS) $(USR_CPPFLAGS) $(ARCH_DEP_CPPFLAGS) $(POSIX_CPPFLAGS)
CPPFLAGS += $(TARGET_CPPFLAGS) $(USR_CPPFLAGS) $(ARCH_DEP_CPPFLAGS) $(POSIX_CPPFLAGS) $(OP_SYS_CPPFLAGS)
CPPSNCFLAGS = $(INCLUDES)

View File

@@ -8,7 +8,7 @@
# in file LICENSE that is included with this distribution.
#*************************************************************************
#
# $Id$
# $Revision-Id$
#
# Convert old HOST_ARCH environment variable
@@ -21,9 +21,9 @@ ARCH_solarisNonshared = solaris-sparc-nonshared
ARCH_solaris = solaris-sparc
ARCH_sun4 = sun4-sparc
ARCH_Linux = linux-x86
ARCH_freebsd = freebsd-x86_64
ARCH_WIN32 = win32-x86
ARCH_hp700 = hpux-m68k
ARCH_alpha = osf-alpha
ARCH_hp700 = hpux-parisc
ARCH_Borland = win32-x86-borland
ARCH_cygwin32 = cygwin-x86

View File

@@ -7,7 +7,7 @@
# and higher are distributed subject to a Software License Agreement found
# in file LICENSE that is included with this distribution.
#*************************************************************************
# $Id$
# $Revision-Id$
# Author: Andrew Johnson
# Date: 20 April 1995
#

View File

@@ -9,7 +9,6 @@
#*************************************************************************
# CONFIG_HOST_ARCH.Darwin
#
# Override values in CONFIG.Vx
# Include definitions common to all Unix archs
include $(EPICS_BASE)/config/CONFIG_HOST_ARCH.UnixCommon

View File

@@ -9,7 +9,6 @@
#*************************************************************************
# CONFIG_HOST_ARCH.Linux
#
# Override values in CONFIG.Vx
# Include definitions common to all Unix archs
include $(EPICS_BASE)/config/CONFIG_HOST_ARCH.UnixCommon

View File

@@ -0,0 +1,23 @@
#*************************************************************************
# Copyright (c) 2002 The University of Chicago, as Operator of Argonne
# National Laboratory.
# Copyright (c) 2002 The Regents of the University of California, as
# Operator of Los Alamos National Laboratory.
# EPICS BASE Versions 3.13.7
# and higher are distributed subject to a Software License Agreement found
# in file LICENSE that is included with this distribution.
#*************************************************************************
# CONFIG_HOST_ARCH.cygwin-x86
#
# This file is maintained by the EPICS community.
# Include definitions common to all Unix archs
-include $(EPICS_BASE)/config/CONFIG_HOST_ARCH.UnixCommon
EXE=.exe
HOSTEXE=.exe
TORNADO=YES
WIND_HOST_TYPE = x86-win32

View File

@@ -7,6 +7,6 @@
# and higher are distributed subject to a Software License Agreement found
# in file LICENSE that is included with this distribution.
#*************************************************************************
# $Id$
# $Revision-Id$
-include $(EPICS_BASE)/config/CONFIG_HOST_ARCH.Darwin

View File

@@ -0,0 +1,12 @@
#*************************************************************************
# Copyright (c) 2002 The University of Chicago, as Operator of Argonne
# National Laboratory.
# Copyright (c) 2002 The Regents of the University of California, as
# Operator of Los Alamos National Laboratory.
# EPICS BASE Versions 3.13.7
# and higher are distributed subject to a Software License Agreement found
# in file LICENSE that is included with this distribution.
#*************************************************************************
# $Revision-Id$
-include $(EPICS_BASE)/config/CONFIG_HOST_ARCH.Darwin

View File

@@ -0,0 +1,12 @@
#*************************************************************************
# Copyright (c) 2002 The University of Chicago, as Operator of Argonne
# National Laboratory.
# Copyright (c) 2002 The Regents of the University of California, as
# Operator of Los Alamos National Laboratory.
# EPICS BASE Versions 3.13.7
# and higher are distributed subject to a Software License Agreement found
# in file LICENSE that is included with this distribution.
#*************************************************************************
# $Revision-Id$
-include $(EPICS_BASE)/config/CONFIG_HOST_ARCH.Darwin

View File

@@ -0,0 +1,11 @@
#*************************************************************************
# Copyright (c) 2006 UChicago Argonne LLC, as Operator of Argonne
# National Laboratory.
# Copyright (c) 2002 The Regents of the University of California, as
# Operator of Los Alamos National Laboratory.
# EPICS BASE is distributed subject to a Software License Agreement found
# in file LICENSE that is included with this distribution.
#*************************************************************************
# $Revision-Id$
-include $(EPICS_BASE)/config/CONFIG_HOST_ARCH.UnixCommon

View File

@@ -9,7 +9,6 @@
#*************************************************************************
# CONFIG_HOST_ARCH.hp700
#
# Override values in CONFIG.Vx
# Include definitions common to all Unix archs
include $(EPICS_BASE)/config/CONFIG_HOST_ARCH.UnixCommon

View File

@@ -7,7 +7,7 @@
# and higher are distributed subject to a Software License Agreement found
# in file LICENSE that is included with this distribution.
#*************************************************************************
# $Id$
# $Revision-Id$
# hpux-parisc is the new name for hp700
-include $(EPICS_BASE)/config/CONFIG_HOST_ARCH.hp700

View File

@@ -7,7 +7,7 @@
# and higher are distributed subject to a Software License Agreement found
# in file LICENSE that is included with this distribution.
#*************************************************************************
# $Id$
# $Revision-Id$
# hpux-parisc is the new name for hp700
-include $(EPICS_BASE)/config/CONFIG_HOST_ARCH.hp700

View File

@@ -0,0 +1,14 @@
#*************************************************************************
# Copyright (c) 2002 The University of Chicago, as Operator of Argonne
# National Laboratory.
# Copyright (c) 2002 The Regents of the University of California, as
# Operator of Los Alamos National Laboratory.
# EPICS BASE Versions 3.13.7
# and higher are distributed subject to a Software License Agreement found
# in file LICENSE that is included with this distribution.
#*************************************************************************
# $Revision-Id$
-include $(EPICS_BASE)/config/CONFIG_HOST_ARCH.Linux
WIND_HOST_TYPE = ppc-linux

View File

@@ -7,7 +7,7 @@
# and higher are distributed subject to a Software License Agreement found
# in file LICENSE that is included with this distribution.
#*************************************************************************
# $Id$
# $Revision-Id$
# linux-x86 is the new name for linux
-include $(EPICS_BASE)/config/CONFIG_HOST_ARCH.Linux

View File

@@ -0,0 +1,15 @@
#*************************************************************************
# Copyright (c) 2002 The University of Chicago, as Operator of Argonne
# National Laboratory.
# Copyright (c) 2002 The Regents of the University of California, as
# Operator of Los Alamos National Laboratory.
# EPICS BASE Versions 3.13.7
# and higher are distributed subject to a Software License Agreement found
# in file LICENSE that is included with this distribution.
#*************************************************************************
# $Revision-Id$
# linux-x86 is the new name for linux
-include $(EPICS_BASE)/config/CONFIG_HOST_ARCH.Linux
HOST_OPT = NO

View File

@@ -7,12 +7,9 @@
# and higher are distributed subject to a Software License Agreement found
# in file LICENSE that is included with this distribution.
#*************************************************************************
# CONFIG_HOST_ARCH.alpha
#
# Override values in CONFIG.Vx
# $Revision-Id$
# Include definitions common to all Unix archs
include $(EPICS_BASE)/config/CONFIG_HOST_ARCH.UnixCommon
WIND_HOST_TYPE = alpha
WIND_HOST_TYPE = x86-linux2

View File

@@ -0,0 +1,15 @@
#*************************************************************************
# Copyright (c) 2002 The University of Chicago, as Operator of Argonne
# National Laboratory.
# Copyright (c) 2002 The Regents of the University of California, as
# Operator of Los Alamos National Laboratory.
# EPICS BASE Versions 3.13.7
# and higher are distributed subject to a Software License Agreement found
# in file LICENSE that is included with this distribution.
#*************************************************************************
# $Revision-Id$
# Include definitions common to all Unix archs
include $(EPICS_BASE)/config/CONFIG_HOST_ARCH.linux-x86_64
HOST_OPT = NO

View File

@@ -9,7 +9,6 @@
#*************************************************************************
# CONFIG_HOST_ARCH.sgi
#
# Override values in CONFIG.Vx
# Include definitions common to all Unix archs
include $(EPICS_BASE)/config/CONFIG_HOST_ARCH.UnixCommon

View File

@@ -8,8 +8,6 @@
# in file LICENSE that is included with this distribution.
#*************************************************************************
# CONFIG_HOST_ARCH.solaris
#
# Override values in CONFIG.Vx
# Include definitions common to all Unix archs
include $(EPICS_BASE)/config/CONFIG_HOST_ARCH.UnixCommon

View File

@@ -7,7 +7,7 @@
# and higher are distributed subject to a Software License Agreement found
# in file LICENSE that is included with this distribution.
#*************************************************************************
# $Id$
# $Revision-Id$
# solaris-sparc is the new name for solaris
-include $(EPICS_BASE)/config/CONFIG_HOST_ARCH.solaris

View File

@@ -7,7 +7,8 @@
# and higher are distributed subject to a Software License Agreement found
# in file LICENSE that is included with this distribution.
#*************************************************************************
# $Id$
# $Revision-Id$
-include $(EPICS_BASE)/config/CONFIG_HOST_ARCH.solaris
HOST_OPT = NO

View File

@@ -7,7 +7,7 @@
# and higher are distributed subject to a Software License Agreement found
# in file LICENSE that is included with this distribution.
#*************************************************************************
# $Id$
# $Revision-Id$
-include $(EPICS_BASE)/config/CONFIG_HOST_ARCH.solarisGnu

View File

@@ -7,7 +7,7 @@
# and higher are distributed subject to a Software License Agreement found
# in file LICENSE that is included with this distribution.
#*************************************************************************
# $Id$
# $Revision-Id$
-include $(EPICS_BASE)/config/CONFIG_HOST_ARCH.solaris

View File

@@ -0,0 +1,13 @@
#*************************************************************************
# Copyright (c) 2002 The University of Chicago, as Operator of Argonne
# National Laboratory.
# Copyright (c) 2002 The Regents of the University of California, as
# Operator of Los Alamos National Laboratory.
# EPICS BASE Versions 3.13.7
# and higher are distributed subject to a Software License Agreement found
# in file LICENSE that is included with this distribution.
#*************************************************************************
# $Revision-Id$
# solaris-sparc is the new name for solaris
-include $(EPICS_BASE)/config/CONFIG_HOST_ARCH.solaris

View File

@@ -0,0 +1,13 @@
#*************************************************************************
# Copyright (c) 2002 The University of Chicago, as Operator of Argonne
# National Laboratory.
# Copyright (c) 2002 The Regents of the University of California, as
# Operator of Los Alamos National Laboratory.
# EPICS BASE Versions 3.13.7
# and higher are distributed subject to a Software License Agreement found
# in file LICENSE that is included with this distribution.
#*************************************************************************
# $Revision-Id$
-include $(EPICS_BASE)/config/CONFIG_HOST_ARCH.solarisGnu

View File

@@ -8,8 +8,6 @@
# in file LICENSE that is included with this distribution.
#*************************************************************************
# CONFIG_HOST_ARCH.solaris-x86
#
# Override values in CONFIG.Vx
# Include definitions common to all Unix archs
include $(EPICS_BASE)/config/CONFIG_HOST_ARCH.UnixCommon

View File

@@ -1,4 +1,4 @@
# $Id$
# $Revision-Id$
-include $(EPICS_BASE)/config/CONFIG_HOST_ARCH.solarisGnu

View File

@@ -1,6 +1,5 @@
# CONFIG_HOST_ARCH.solarisGnu
#
# Override values in CONFIG.Vx
# Include definitions common to all Unix archs
include $(EPICS_BASE)/config/CONFIG_HOST_ARCH.UnixCommon

View File

@@ -9,7 +9,6 @@
#*************************************************************************
# CONFIG_HOST_ARCH.sun4
#
# Override values in CONFIG.Vx
# Include definitions common to all Unix archs
include $(EPICS_BASE)/config/CONFIG_HOST_ARCH.UnixCommon

View File

@@ -7,7 +7,7 @@
# and higher are distributed subject to a Software License Agreement found
# in file LICENSE that is included with this distribution.
#*************************************************************************
# $Id$
# $Revision-Id$
# sun4-sparc is the new name for sun4
-include $(EPICS_BASE)/config/CONFIG_HOST_ARCH.sun4

View File

@@ -7,7 +7,7 @@
# and higher are distributed subject to a Software License Agreement found
# in file LICENSE that is included with this distribution.
#*************************************************************************
# $Id$
# $Revision-Id$
# win32-x86 is the new name for WIN32
-include $(EPICS_BASE)/config/CONFIG_HOST_ARCH.WIN32

View File

@@ -7,7 +7,7 @@
# and higher are distributed subject to a Software License Agreement found
# in file LICENSE that is included with this distribution.
#*************************************************************************
# $Id$
# $Revision-Id$
# win32-x86-borland is the new name for Borland
-include $(EPICS_BASE)/config/CONFIG_HOST_ARCH.Borland

View File

@@ -7,18 +7,14 @@
# and higher are distributed subject to a Software License Agreement found
# in file LICENSE that is included with this distribution.
#*************************************************************************
# $Revision-Id$
#
# $Id$
#
# Override values in CONFIG_SITE_HOST_ARCH.win32-x86-cygwin
TOP=../..
# Include definitions common to all Unix archs
include $(EPICS_BASE)/config/CONFIG_HOST_ARCH.UnixCommon
include $(TOP)/configure/CONFIG
HOSTEXE=.exe
ifeq ($(findstring YES,$(COMPAT_313) $(COMPAT_TOOLS_313)),YES)
SCRIPTS_HOST += $(subst ../,,$(wildcard ../*.pl))
SCRIPTS_HOST += installEpics
endif
include $(TOP)/configure/RULES
WIND_HOST_TYPE = x86-win32

View File

@@ -0,0 +1,14 @@
#*************************************************************************
# Copyright (c) 2002 The University of Chicago, as Operator of Argonne
# National Laboratory.
# Copyright (c) 2002 The Regents of the University of California, as
# Operator of Los Alamos National Laboratory.
# EPICS BASE Versions 3.13.7
# and higher are distributed subject to a Software License Agreement found
# in file LICENSE that is included with this distribution.
#*************************************************************************
# $Revision-Id$
-include $(EPICS_BASE)/config/CONFIG_HOST_ARCH.WIN32
HOST_OPT = NO

View File

@@ -1,4 +1,3 @@
#!/usr/bin/perl
#*************************************************************************
# Copyright (c) 2002 The University of Chicago, as Operator of Argonne
# National Laboratory.
@@ -8,38 +7,23 @@
# and higher are distributed subject to a Software License Agreement found
# in file LICENSE that is included with this distribution.
#*************************************************************************
# $Revision-Id$
#
# UNIX-rm in Perl
# Override values in CONFIG_SITE_HOST_ARCH.win32-x86-mingw
use File::Path;
use File::Find;
use Getopt::Std;
# Include definitions common to all Unix archs
include $(EPICS_BASE)/config/CONFIG_HOST_ARCH.UnixCommon
getopt "";
EXE=.exe
HOSTEXE=.exe
foreach $arg ( @ARGV )
{
next unless -e $arg;
CP =$(PERL) $(EPICS_BASE_TOOLS)/cp.pl
MV =$(PERL) $(EPICS_BASE_TOOLS)/mv.pl
RM =$(PERL) $(EPICS_BASE_TOOLS)/rm.pl -f
MKDIR=$(PERL) $(EPICS_BASE_TOOLS)/mkdir.pl
RMDIR=$(PERL) $(EPICS_BASE_TOOLS)/rm.pl -rf
CHMOD=echo
ECHO=echo
if (-d $arg)
{
if ($opt_r and $opt_f)
{
rmtree $arg;
}
else
{
rmdir ($arg) or die "Cannot delete $arg";
}
if (-d $arg)
{
die "Failed to delete $arg";
}
}
else
{
unlink ($arg) or die "Cannot delete $arg";
}
}
WIND_HOST_TYPE = x86-win32
# EOF rm.pl

View File

@@ -1,5 +1,5 @@
#
# $Id$
# $Revision-Id$
#
# CONFIG_SITE - EPICS BASE config file
# by Matthew Needes and Mike Bordua
@@ -16,7 +16,6 @@
# Borland
# Linux
# WIN32
# alpha
# cygwin32
# hp700
# sgi

View File

@@ -1,5 +1,5 @@
#
# $Id$
# $Revision-Id$
#
# Site Specific Configuration Information
# Only the local epics system manager should modify this file

View File

@@ -1,5 +1,5 @@
#
# $Id$
# $Revision-Id$
#
# Site Specific Configuration Information
# Only the local epics system manager should modify this file

Some files were not shown because too many files have changed in this diff Show More