Ralph Lange
fe887b4f83
Update CONFIG_BASE_VERSION for 3.15.4-rc1
2016-05-20 16:37:06 +02:00
Andrew Johnson
7be7ad2768
Merge changes from 3.14 branch, to revno 12640
2016-05-18 10:44:16 -05:00
Andrew Johnson
6c9555310a
Update EPICS_TIMEZONE with info for 2016-2021
2016-05-18 10:26:04 -05:00
Andrew Johnson
4ccc2e9d3a
Merged my devEnviron branch
2016-05-18 09:48:22 -05:00
Andrew Johnson
122fb6c731
New "getenv" device support for string input types
2016-05-17 19:09:48 -05:00
Andrew Johnson
3b8fd13152
libCom: NTP Time Provider adjusts to OS tick rate changes
...
Allow the NTP Time provider (used on VxWorks and RTEMS only)
to adapt to changes in the OS clock tick rate after the provider
has been initialized.
Changing the tick rate after iocInit() is not advisable,
other software might still misbehave if initialized before
an OS tick rate change.
Back-ported from the 3.15 branch (commit 12468).
2016-05-17 16:03:27 -05:00
Andrew Johnson
04a9fdb4e3
Clean up warnings from gcc 5.2
2016-05-16 17:02:34 -05:00
Andrew Johnson
3c61880d79
Allow some callback slow-ups before failing tests
...
The tests occasionally fail on Windows because the server
is busy; this will accept up to 4 slow callbacks without
them causing the build to fail.
2016-05-16 16:55:50 -05:00
Andrew Johnson
8081d3ada4
Merged Till's fix for lp:1581212, modified
2016-05-13 14:48:08 -05:00
Andrew Johnson
6d35ee9c3c
Move dbLock.h *after* epicsExportSharedSymbols
2016-05-13 13:40:37 -05:00
Andrew Johnson
b5a0657adc
Applied Till's fix for lp:1581212
2016-05-13 13:30:55 -05:00
Andrew Johnson
b87f3eaaee
Merged changes from 3.14 branch to revno 12636
2016-05-13 13:12:08 -05:00
Andrew Johnson
6db0e13809
Added CROSS_COMPILER_RUNTEST_ARCHS
2016-05-13 13:00:48 -05:00
Michael Davidsaver
0f6c997288
osdNetIntf: ignore 0.0.0.0 as a broadcast address
...
It seems in some situations Linux (at least)
sets IFF_BROADCAST bug leaves the bcast address
set to 0.0.0.0.
Fixes lp:1581505
2016-05-13 09:31:26 -04:00
Michael Davidsaver
704c748fbd
Revert "libCom/osi: osiSockDiscoverBroadcastAddresses() finds 127.255.255.255"
...
This reverts commit e805abe971 .
2016-05-13 09:14:20 -04:00
Andrew Johnson
82456f83ee
Fix Menu declaration test
2016-05-12 16:35:54 -05:00
Andrew Johnson
e98a6bbafa
Make <menu>_NUM_CHOICES not an enum tag
...
Fixes lp:1580972
2016-05-12 15:05:18 -05:00
Andrew Johnson
9b51444fb7
Fix data types and macro name
2016-05-04 18:15:54 -05:00
Andrew Johnson
3be97865b3
Warn instead of building cap5 if xsubpp is missing
2016-05-04 14:41:51 -05:00
Andrew Johnson
67097456e3
Add additional RELEASE file checks
...
These checks are important for mixing Debian modules with
privately-built applications.
2016-05-03 12:26:40 -05:00
Andrew Johnson
3c8af4c571
Catch bad attribute names/values to prevent a segfault
2016-05-02 11:38:51 -05:00
Michael Davidsaver
26c04844cf
add test for lp:1577108
2016-05-01 13:30:45 -04:00
Michael Davidsaver
a3d981ad0a
dbLink.c: fix dbGetLink for array of length 1
2016-05-01 13:30:45 -04:00
Ralph Lange
924aa2f93b
Set Base version to -pre1-DEV
2016-04-29 12:20:35 +02:00
Ralph Lange
457fb8fa13
Update CONFIG_BASE_VERSION for 3.15.4-pre1
2016-04-29 11:34:05 +02:00
Ralph Lange
b8b259de6f
Merge Andrew's libs-prereq branch
2016-04-29 10:42:03 +02:00
Andrew Johnson
7ce8e5ea01
Fix RTEMS Makefile issue
2016-04-28 23:59:39 -05:00
Andrew Johnson
496414c88c
Fix for VxWorks 5.5 compiler
2016-04-28 23:28:39 -05:00
Andrew Johnson
2acde8bac7
Merged changes from 3.14 branch to revno 12630
2016-04-28 21:39:55 -05:00
Andrew Johnson
2c69ddbee5
Merged my ioc-arch branch, manually re-based
2016-04-28 19:26:11 -05:00
Andrew Johnson
ba0d5f9443
Disallow single-quoted strings in Perl DBD parser
2016-04-28 19:03:17 -05:00
Andrew Johnson
08fd987c60
Perl script clean-up
2016-04-28 19:00:37 -05:00
Andrew Johnson
5a605fa0c3
Set various EPICS_VERSION_* environment variables
...
These are set at the same time as the ARCH variable.
Had to add EPICS_VERSION_SHORT and EPICS_VERSION_FULL to epicsVersion.h.
This uses more uniform names, should we change epicsVersion.h names?
We would continue to support the old names in parallel for some time.
2016-04-28 18:58:07 -05:00
Andrew Johnson
0e5dc2a21c
More build parameters.
...
Renamed EPICS_TARGET_ARCH to EPICS_BUILD_TARGET_ARCH
Added EPICS_BUILD_OS_CLASS and EPICS_BUILD_COMPILER_CLASS
2016-04-28 18:56:03 -05:00
Andrew Johnson
230603f4ac
Remove ARCH from cdCommands and envPaths files
...
Set it in iocshRegisterCommon() instead.
Remove ARCH from iocBoot/ioc/Makefile@Common templates.
2016-04-28 18:50:41 -05:00
Andrew Johnson
396ff3c484
Add EPICS_TARGET_ARCH parameter
...
Set its default value automatically in the generated envData.c
2016-04-28 18:49:10 -05:00
Andrew Johnson
09fbeaf6d3
Merged Ralph's new-promptgroups branch
2016-04-28 18:27:15 -05:00
Andrew Johnson
b4a8a1ac98
Fix dbFreeBase() issue causing segfaults
2016-04-28 18:10:26 -05:00
Andrew Johnson
ee87aecd6e
Always have linker search INSTALL_LIB
2016-04-28 14:32:21 -05:00
Andrew Johnson
054a234c70
Parentheses in macro
2016-04-28 13:27:47 -05:00
Andrew Johnson
24ddcd2524
Fix epicsTimeZoneTest.cpp => .c and remove conditional
2016-04-27 12:09:10 -05:00
Michael Davidsaver
2226f3acb9
libCom/test: don't include epicsTimeZoneTest for vxWorks
2016-04-27 12:45:18 -04:00
Andrew Johnson
f0f89b4b1c
Fix file paths in comments
2016-04-27 10:28:57 -05:00
Andrew Johnson
fdda079b8f
BSD's finite expects a double; make glibc 2.23 happy
2016-04-27 10:28:01 -05:00
Ralph Lange
1f36670175
dbStatic: remove obsolete GUIGROUPS_GBLSOURCE definition
2016-04-27 09:14:51 +02:00
Andrew Johnson
1ede873200
Fixed some space/tab issues in DBD files
2016-04-26 16:20:12 -05:00
Michael Davidsaver
51dd371784
rsrv: add rsrvCS_shutdown to avoid race in destroyAllChannels()
...
A race can occur between rsrv and cac by way of asLib
whereby casAccessRightsCB() is called after
a channel_in_use has been removed from
chanList/chanPendingUpdateARList.
casAccessRightsCB() would then attempt to remove
the node again, causing corruption.
Create a new rsrvCS_shutdown state when the
channel is not in either list.
Attempt to resolve lp:1571224
2016-04-26 17:06:22 -04:00
Andrew Johnson
72745d7b0c
Only make runtests and tapfiles if T_A = EPICS_HOST_ARCH
2016-04-29 16:20:25 -05:00
Andrew Johnson
c933d77963
Add rule to install libraries before linking executables
...
The rule must be disabled for building libCom and gdd though.
2016-04-26 15:18:31 -05:00
Michael Davidsaver
93597e20d5
add epicsTimeZoneTest to libCom test harness
2016-04-26 09:59:22 -04:00
Michael Davidsaver
f0453faf36
libCom/test: add test for HST time zone
...
Test US/Hawaii zone which does not observe daylight saving time.
2016-04-26 09:28:09 -04:00
Ralph Lange
473992cfb9
Update release notes
2016-04-26 13:47:12 +02:00
Ralph Lange
6a362f467d
rec: implement new promptgroup (gui_group) choices
2016-04-26 13:28:28 +02:00
Andrew Johnson
af07e0fd51
Fix oops in last commit
2016-04-25 12:24:05 -05:00
Andrew Johnson
de38b80795
Apply partial solution for Windows builds of Cap5
2016-04-25 11:54:17 -05:00
Ralph Lange
7bb27ad3e7
dbStatic: deprecate guigroup.h; remove from includes
2016-04-22 17:02:21 +02:00
Ralph Lange
1e1799c30e
tools: change RE to allow any value for promptgroup in the Perl DBD parser
2016-04-18 09:56:41 +02:00
Andrew Johnson
8358580190
Merged commit 12623 from 3.14 branch.
2016-04-15 17:38:41 -05:00
Andrew Johnson
24e39b252d
Print RTEMS version at startup
2016-04-15 17:37:07 -05:00
Ralph Lange
ce7044c711
dbStatic: collect promptgroup enum choices when reading dbd
2016-04-06 15:38:35 +02:00
Andrew Johnson
177090e35e
Merged fixes for lp:1558206 and lp:1563191 from 3.14 branch, revno 12622
2016-03-30 11:26:53 -05:00
Andrew Johnson
430da57a35
Release notes for lp:1563191
2016-03-30 11:00:48 -05:00
Andrew Johnson
d2d637d0c2
Prevent string overflow in recGblInitConstantLink()
2016-03-29 12:04:08 -05:00
Michael Davidsaver
106fae3b26
dbStatic: prevent overflow in dbPutString()
...
The bounds check should be before the string
copy. Also zero the last element out of
paranoia (should already be zero).
Fix lp:1563191
2016-03-29 17:36:39 +09:00
Andrew Johnson
3179e65791
Clean-up after lp:1558206 fix
2016-03-16 18:15:14 -05:00
Michael Davidsaver
6b9bfb09a5
pWaitRelease in wrong place
...
waitRelease==false indicates that pThread
has not be delete'd
2016-03-16 17:43:52 -04:00
Michael Davidsaver
4e312b9f64
libCom: exitWait() from thread exit handler corrupts stack
...
The epicsThreadCallEntryPoint() function stores a pointer
to a local variable in epicsThread::pWaitReleaseFlag.
Calling epicsAtThreadExit::exitWait() from that thread's
epicsAtThreadExit() handler writes to this pointer
after epicsThreadCallEntryPoint() has returned.
Thus corrupting the stack.
Set pWaitReleaseFlag=NULL before return to prevent this.
fixes lp:1558206
2016-03-16 14:40:37 -04:00
Andrew Johnson
59fea64390
Add missing dependencies for Test.dbd files
2016-03-16 13:10:17 -05:00
Andrew Johnson
f260124733
Ensure mbb* MASK calculated properly
2016-03-10 13:05:00 -06:00
Andrew Johnson
bd2ada3f8c
Reformat Release Notes slightly
2016-03-03 16:02:46 -06:00
Andrew Johnson
113076a009
Allow quotes in DBD argument strings
2016-03-03 11:19:22 -06:00
Andrew Johnson
9502841b55
Silence unused variable warning
2016-03-02 10:41:34 -06:00
Andrew Johnson
b4404c8266
Clean up Release Notes merge
2016-02-29 17:53:59 -06:00
Andrew Johnson
f73f3332fa
Merge RTEMS NTP fix from 3.14 branch, to revno 12615
2016-02-29 17:49:08 -06:00
Andrew Johnson
3f4c6abb31
Fix for RTEMS NTP sync issue
2016-02-29 17:07:03 -06:00
Andrew Johnson
76c422c5fd
Merge Cygwin fix from 3.14, fix in rsrv too
2016-02-26 17:10:35 -06:00
Andrew Johnson
fee62836cd
Use OS __CYGWIN__ macro, deprecate our CYGWIN32
2016-02-26 16:27:13 -06:00
Michael Davidsaver
2c48bcc26b
dbChannelShow reporting detail level changed
2016-02-26 16:07:47 -05:00
Andrew Johnson
a3ab342833
Fix Release Notes for last commit
2016-02-26 14:22:00 -06:00
Andrew Johnson
3304470323
Merged the rsrvbindiface branch
2016-02-26 14:15:22 -06:00
Andrew Johnson
4f2f910d09
Added extern "C" wrappers to clean up some Solaris warnings
2016-02-26 13:50:39 -06:00
Andrew Johnson
217f515985
Merged fix-dbGet-arrays branch
2016-02-26 12:29:20 -06:00
Andrew Johnson
ebc59a4223
Add epicsAtomicTest to epicsRunLibComTests
2016-02-26 12:27:33 -06:00
Andrew Johnson
58285501de
Revert, test programs may be included in harness without being run
2016-02-26 12:25:59 -06:00
Andrew Johnson
fa07bc3efe
Added build files for cygwin to cross-compile linux-arm targets
...
Slightly strange combination and not actually tested, but could
be useful for some developers -- some FPGA tool-sets come with a
Cygwin cross-build environment for their target devices.
2016-02-26 11:19:37 -06:00
Michael Davidsaver
bfa8e324f7
remove dbChArrTest from testHarness
...
dbChArrTest calls iocInit() and so can't
be in the shared test harness
2016-02-25 21:10:42 -05:00
Michael Davidsaver
51a69862e7
ioc/db: single return for dbGet()
...
Single return path after call to prset->get_array_info
to ensure that paddr->pfield is restored.
2016-02-25 20:59:10 -05:00
Michael Davidsaver
4b8c11aeef
memset transposed arguments
2016-02-25 20:08:44 -05:00
Andrew Johnson
62efa2e96a
Fix the dbGet() array with field-log bug.
...
This also fixes a problem where the array is used in circular buffer
mode and the request has an offset, but the array is not actually
full at the time; to copy the data out of the array the convert()
routine needs to know the capacity of the array to know when to wrap
around, but we were passing it the current length instead.
2016-02-25 17:50:33 -06:00
Andrew Johnson
c7bcb09540
Add tests for dbGet() with db_field_log
...
Regression testing for a bug where an array field with a sub-array
channel filter can read past the end of the db_field_log array,
because in dbGet() the call to prset->get_array_info() occurs even
when pfl is supposed to be overriding the record's array.
2016-02-25 17:44:45 -06:00
Andrew Johnson
5ee778b0c2
Merged changes from Base-3.14, to revno 12613
2016-02-25 14:13:40 -06:00
Michael Davidsaver
7b3a040b34
rsrv: use SOCKERRNO
...
Must use OSI SOCKERRNO for correct handling
of errors w/ winsock
2016-02-25 11:32:56 -05:00
Andrew Johnson
e721be4ff5
Merged the posix-mlockall branch
2016-02-25 10:20:56 -06:00
Michael Davidsaver
88b47c021c
cygwin inherits winsock broadcast behavior
2016-02-25 11:10:28 -05:00
Michael Davidsaver
d0a316f7ca
win32: include ws2tcpip.h from osdSock.h
...
Needed to get some additional definitions
including IP_ADD_MEMBERSHIP
2016-02-25 11:02:09 -05:00
Ralph Lange
ba307ba6e7
rsrv: populate the server list - also on Windows builds
2016-02-25 09:36:31 +01:00
Andrew Johnson
d943f6966f
Minor updates to the extensions/configure template
2016-02-24 17:39:29 -06:00
Andrew Johnson
76d7ce1f76
Fix MSVC (de)-optimizer issue
2016-02-24 15:06:59 -06:00
Andrew Johnson
66b0acbe3e
Report UDP client status on Windows
2016-02-24 11:07:33 -06:00
Ralph Lange
822c6815c5
pcas: fix compilation on MSC Windows
2016-02-24 11:24:17 +01:00
Andrew Johnson
684ae7b35c
Merged the fix-calc-bit-manipulation branch
2016-02-23 16:21:38 -06:00
Andrew Johnson
e18eca80db
Changes from patch in lp:1539791
2016-02-23 15:43:26 -06:00
Andrew Johnson
b45622ac5e
Test each bitwise cast individually for overflow
2016-02-23 12:42:00 -06:00
Andrew Johnson
89e6fdbca0
Fixed conversion overflows in tests
...
Minor tidying-up, added comments about casting for bitwise operations.
2016-02-19 15:57:44 -06:00
Ralph Lange
599e6635fb
libCom/calc: fix bit31 bit manipulations
2016-02-18 15:19:01 +01:00
Ralph Lange
4241b4e6cb
libCom/test: add calc tests for bit31 operators (lp:1514520)
2016-02-18 15:17:52 +01:00
Ralph Lange
9eedf0581e
libCom/calc: Use epics(U)Int32 for all integer calculations
...
Adapted backport of 3.15 revision 12308
2016-02-18 14:44:43 +01:00
Michael Davidsaver
ffb23a3480
pcas: don't send beacons w/ connect()d socket
...
use sendto() and leave the origin field to 0.0.0.0
so it will be filled in by the receiving repeater
2016-02-16 16:28:04 -05:00
Andrew Johnson
61e61aab24
Use MS' strto[u]ll() if present
2016-02-12 15:15:19 -06:00
Andrew Johnson
d3e046a466
Document [s:e] and [s] filter usage
2016-02-12 14:20:33 -06:00
Andrew Johnson
99d331e50a
Print timestamp with bad UDP msg errors
2016-02-11 14:36:48 -06:00
Andrew Johnson
9d95528eba
Show UDP name server status in casr 2+ output
2016-02-08 16:34:37 -06:00
Michael Davidsaver
95a1998e0b
update release notes
2016-02-04 19:09:44 -05:00
Michael Davidsaver
5769db3862
rsrv: "casr 1" shows ignore list
2016-02-04 18:57:02 -05:00
Michael Davidsaver
00a74fbb4e
libCom: fix debug print formats in osiSockDiscoverBroadcastAddresses()
2016-02-04 18:45:18 -05:00
Michael Davidsaver
03fde89dd4
rsrv: EPICS_CAS_IGNORE_ADDR_LIST
2016-02-04 18:44:33 -05:00
Michael Davidsaver
8421b46398
update release notes
2016-02-04 17:59:08 -05:00
Michael Davidsaver
650aaea203
ca: update CAref.html with changes to beacon address list
...
Note that server beacon address list will no longer
consider client address list as a fallback.
2016-02-04 17:56:31 -05:00
Michael Davidsaver
fcfe7ed312
pcas: no fallbacks for beacon address list
...
Don't mix client and server configuration
by defaulting the server beacon list to use
the client address list.
2016-02-04 17:39:28 -05:00
Andrew Johnson
f2c4b2c81e
Add config for linux cross-compile to windows-x64-mingw
2016-02-04 15:57:23 -06:00
Michael Davidsaver
167dea3735
rsrv: decouple some client/server config
...
the automatic beacon address list should follow
the server interface address list, and not be
effected by any client config.
Also, don't populate the interface address list
from EPICS_CAS_BEACON_ADDR_LIST as this will
almost never contain local interface addresses.
2016-01-29 08:33:41 -05:00
Andrew Johnson
1c1eb030a9
Improve casr() output
2016-01-27 17:59:38 -06:00
Andrew Johnson
43cf5af621
dbQuietMacroWarnings control
2016-01-26 12:28:00 -06:00
Michael Davidsaver
235e4bd835
rsrv: more beacon address fixups
...
should really be based on *server* config
as beacons should be sent to clients attempting
to connect to the server.
By default send beacons to bcast addresses
from the interface address list.
2016-01-23 16:15:17 -05:00
Michael Davidsaver
601d6d9fe8
rsrv: oops
...
improper rebase
2016-01-23 13:53:44 -05:00
Michael Davidsaver
b961b25151
rsrv: fix wildcard check ordering
...
filter out mcast addresses before wildcard uniqueness check.
2016-01-23 13:53:44 -05:00
Michael Davidsaver
eb9246e4c9
rsrv: beaconCounter not updated
2016-01-21 17:14:23 -05:00
Andrew Johnson
d729006908
Fix build for vxWorks 5.5.2 (again)
2016-01-21 12:27:01 -06:00
Michael Davidsaver
0aeba281be
update release notes
2016-01-21 13:05:56 -05:00
Michael Davidsaver
04fee51795
ipAddrToAsciiAsync.: don't try to join the daemon thread
...
This isn't really necessary and may unnecessarily delay
things (~10 sec. on Linux) if a query to an unreachable
DNS server is in progress.
2016-01-21 13:00:50 -05:00
Michael Davidsaver
cba449d53b
pcas: listen for mcast search request
2016-01-21 12:17:02 -05:00
Michael Davidsaver
cdffcbfbae
update release notes
2016-01-21 12:17:02 -05:00
Michael Davidsaver
ba5ea5da93
don't use EPICS_CA_ADDR_LIST for server interface list
...
keep existing behavior, and server binds wildcard
when only client address list is specified.
2016-01-21 12:17:02 -05:00
Michael Davidsaver
c884175a86
rsrv: loopback mcast beacons
2016-01-21 12:17:02 -05:00
Michael Davidsaver
a4e9dcff00
rsrv: fixup beacon address list handling
...
should be based on client interface list,
not server.
2016-01-21 12:17:02 -05:00
Michael Davidsaver
c9323da5e3
minor
...
fix typo
expand error message
skip redundant (and misleading) print of beacon address list
2016-01-21 12:17:02 -05:00
Andrew Johnson
ffe441d032
Fix build for vxWorks 5.5.2
2016-01-21 10:34:32 -06:00
Ralph Lange
45c8a173f3
libCom/osi: fix timespec definition for MinGW
2016-01-13 17:28:23 +01:00
Michael Davidsaver
98504d1cdc
libca: enable mcast loopback
2016-01-11 20:59:08 -05:00
Michael Davidsaver
568ece9c27
rsrv: multicast name lookup
2016-01-11 20:59:08 -05:00
Michael Davidsaver
f876bdb42c
rsrv: don't leak sockets when building tcp set
2016-01-11 20:59:08 -05:00
Michael Davidsaver
605074a580
rsrv: additional fallback for interface list
2016-01-11 20:59:08 -05:00
Michael Davidsaver
64da181e6f
expand beacon address list when binding to wildcard
2016-01-11 20:59:08 -05:00
Michael Davidsaver
823613fb4f
libca: addAddrToChannelAccessAddressList report success
2016-01-11 20:59:08 -05:00
Michael Davidsaver
f837add8c4
envDefs: add envGetBoolConfigParam
2016-01-11 20:59:08 -05:00
Michael Davidsaver
15307c4db6
rsrv: redo initialization to support bind multiple interfaces.
...
consolidate most setup tasks in rsrv_init(),
which now spawns threads directly.
For each interface create 3-4 sockets,
* TCP listener
* UDP receiver (unicast)
* UDP receiver (broadcast optional)
* UDP beacon sender
2016-01-11 20:59:07 -05:00
Michael Davidsaver
8d5815ac95
rsrv: move some from req_server to rsrv_init
2016-01-11 20:59:07 -05:00
Michael Davidsaver
25d7d46e08
rsrv: no lazy init of BUCKET
2016-01-11 20:59:07 -05:00
Michael Davidsaver
5f31d9d2b1
rsrv: unglobalize IOC_sock
2016-01-11 20:59:07 -05:00
Michael Davidsaver
bb67c9db2f
rsrv: UDP listener on more than one iface
2016-01-11 20:59:07 -05:00
Michael Davidsaver
cb965611ce
rsrv: casr show multiple UDP clients
2016-01-11 20:59:07 -05:00
Michael Davidsaver
e805abe971
libCom/osi: osiSockDiscoverBroadcastAddresses() finds 127.255.255.255
...
For the default implementation of osiSockDiscoverBroadcastAddresses()
allow the loopback interface to have IFF_BROADCAST set (usually isn't)
and on Linux assume that the loopback broadcast address is usable
even if IFF_BROADCAST isn't set.
2016-01-11 20:59:07 -05:00
Michael Davidsaver
c80f71e294
rsrv: more renaming
2016-01-11 20:59:07 -05:00
Michael Davidsaver
692bbafffe
rsrv: placeholder for cast_server thread shutdown
2016-01-11 20:59:07 -05:00
Michael Davidsaver
fd863738be
rename prsrv_cast_client in cast_server()
2016-01-11 20:59:07 -05:00
Michael Davidsaver
2052062324
remove global prsrv_cast_client
2016-01-11 20:59:07 -05:00
Michael Davidsaver
5d74216017
rsrv: unnecessary use of global
2016-01-11 20:59:07 -05:00
Michael Davidsaver
991ff308e0
rsrv: when binding to a specific interface also bind to iface bcast
...
An oddness of BSD sockets (not winsock) is that binding to
INADDR_ANY will receive unicast and broadcast, but binding to
a specific interface address receives only unicast. The trick
is to bind a second socket to the interface broadcast address,
which will then receive only broadcasts.
2016-01-11 20:59:07 -05:00
Michael Davidsaver
77a5f0db77
epicsMMIODef.h use static inline
...
'static inline' is necessary for consistent behavior with C and C++.
Plain 'inline' in C can result in multiply defined symbol
errors when linking.
2016-01-05 21:31:51 -05:00
Bjorklund, Eric A
8d6469957e
vxWorks: missing extern "C" around sysPci* prototypes
2016-01-05 21:16:04 -05:00
Andrew Johnson
ef90d2d3c7
Merged Michael's tzwin32 branch
2016-01-05 17:17:58 -06:00
Michael Davidsaver
2d9c529f5e
osdTime: win32 use C89 localtime/gmtime
...
as recommended by Freddie Akeroyd
2015-12-21 11:15:04 -05:00
Michael Davidsaver
05d3dbf453
add epicsTimeZoneTest
2015-12-21 11:13:36 -05:00
Andrew Johnson
695f516cbf
Fix softIoc build with space in path to Base
...
Also improved error messages from makeInstallDir.pl.
2015-12-10 13:26:21 -06:00
Ralph Lange
fda3824ab4
Set version back to -DEV, add "not released" to RELEASE_NOTES
2015-11-22 18:10:40 +01:00
Ralph Lange
42a67524e0
Update CONFIG_BASE_VERSION for 3.15.3, remove "not released" from RELEASE_NOTES
2015-11-22 17:54:12 +01:00
Ralph Lange
d4ed70154b
doc: add reference to LP bug #1466129 to known problems page
2015-11-22 17:33:58 +01:00
Andrew Johnson
f776f6b422
Set Base version to -rc1-DEV
2015-10-26 14:31:25 -05:00
Ralph Lange
cd746a339f
configure: update CONFIG_BASE_VERSION for 3.15.3-rc1
2015-10-26 17:22:37 +01:00
Ralph Lange
6438750615
tools: change builtin _USER_ macro name to avoid clashes with makeBaseApp
2015-10-26 13:41:46 +01:00
Andrew Johnson
2ec5c80652
Fix internal anchor in filters.pod
2015-10-13 18:39:50 -05:00
Andrew Johnson
e1039bacfc
Merged DB file parser fix from 3.14, revno 12605
2015-10-13 14:41:39 -05:00
Andrew Johnson
54381b7bf9
Fix DB file parser crashes
2015-10-13 12:03:32 -05:00
Andrew Johnson
69d3c94328
Set Base version to -pre1-DEV
2015-10-12 10:38:00 -05:00
Ralph Lange
a02860728e
configure: update CONFIG_BASE_VERSION for 3.15.3-pre1
2015-10-12 10:35:30 +02:00
Ralph Lange
440ccc3c4a
Merged Andrew's ntptime-on-vxworks branch
2015-10-11 12:04:16 +02:00
Ralph Lange
3d19f19d81
Merge Ralph's config-from-snippets branch
2015-10-11 09:59:39 +02:00
Andrew Johnson
214edd42d1
Minor RULES_EXPAND changes
...
Added support for a _PATTERN variable which calls $(wildcard) and
prepends .. and the other SRC_DIRS automatically.
Use $(ECHO) instead of @echo so make -s works silently.
Added another meta-rule to create .d files when make needs one.
2015-10-11 00:50:50 -05:00
Ralph Lange
f8b0b2f5f0
tools: add new builtin macros to assemblies
2015-10-10 19:12:11 +02:00
Ralph Lange
8596dc41f2
configure: add assemblies to RULES_EXPAND
2015-10-10 18:55:17 +02:00
Ralph Lange
88cb33a04d
tools: fix in assembleSnippets script and test for Windows (getpwuid() not implemented)
2015-10-10 18:54:20 +02:00
Ralph Lange
5af0663058
Back out 12706 (assembly integration in build system)
2015-10-10 18:17:35 +02:00
Ralph Lange
830704021d
Add creating config files from snippets to build system.
2015-10-09 17:28:46 +02:00
Ralph Lange
96ee2cd00c
tools: install assembleSnippets.pl
2015-10-09 15:28:40 +02:00
Ralph Lange
c2d2f671bb
tools: add -M option to assembleSnippets.pl (creates dependency file)
2015-10-09 14:15:26 +02:00
Ralph Lange
4b9958304d
tools: add assembleSnippets.pl and test
2015-10-09 11:25:45 +02:00
Andrew Johnson
d0875f4f12
Make the NTPTime provider optional on VxWorks
2015-10-05 17:44:26 -05:00
Andrew Johnson
c74eb27474
Merged changes from 3.14 branch, to revno 12604
2015-09-18 11:51:51 -05:00
Ralph Lange
5aa145920d
rec: fix promptgroups for biRecord
2015-09-16 13:56:52 +02:00
Andrew Johnson
bc3cbd990f
Applied Ambroz Bizjak's freeListItemsAvail.patch
2015-08-31 12:11:30 -05:00
Andrew Johnson
53bf7cd994
Applied Ambroz Bizjak's epicsSingletonMutex.patch
2015-08-31 11:54:04 -05:00
Andrew Johnson
a9c4d59537
Applied Ambroz Bizjak's timerQueueActive.patch
2015-08-31 11:52:32 -05:00
Robert Soliday
d32332d545
libCom/test: Fix for MSVS 2015
2015-08-27 11:34:41 -05:00
Andrew Johnson
88864e949b
Merge changes from 3.14 branch, to revno 12599
2015-08-20 11:14:01 -05:00
Andrew Johnson
fe4f607e63
libCom/errlog: Don't store stderr in pvtData.console
...
Some VxWorks BSPs close the stderr stream that the shell running
the startup script created and open a new one for the interactive
shell. This change makes pvtData.console==NULL mean use stderr
instead of storing the stderr value in pvtData.console at init.
2015-08-13 10:44:52 -05:00
Andrew Johnson
9e82a96700
dbTest: Remove special ENUM handling from dbpf()
...
This was preventing the value check in cvt_st_menu() from working.
2015-08-10 15:04:11 -05:00
Andrew Johnson
ef7399159c
dbAccess: Make dbPut() always do special processing after put
...
If the value gets rejected by a put to SCAN, we must still call
dbPutSpecial() to add the record back onto its old scan thread.
2015-08-10 15:03:48 -05:00
Andrew Johnson
d7b3293ba3
libCom: Use MSVC's struct timespec when available
2015-08-07 09:41:48 -05:00
Andrew Johnson
9014ca899d
dbStatic: Fix invalid memory read
2015-07-30 11:57:50 -05:00
Andrew Johnson
c5130468cd
Let dbdToHtml work with wrong newlines
2015-07-24 10:42:09 -05:00
Andrew Johnson
7dd067e887
Merged dbCa bug-fix from 3.14 branch, revno 12595
2015-07-23 18:02:54 -05:00
Andrew Johnson
c56091978c
db: Fixed obscure dbCa bug
...
This could be triggered if dbCaRemoveLink() is called on a link for
which there is an outstanding dbCaPutCallback().
Normally a dbCaPutCallback() callback routine is passed the associated
userPvt pointer as an argument, but in the event that dbCaRemoveLink()
gets used on the same link between the put and its completion callback,
the callback routine was being called with the link pointer as the
argument instead.
For all the existing Asyn Soft Channel device supports this is not a
problem as they all pass the link pointer as their userPvt argument, but
that won't necessarily always be the case.
Also updated the comments describing the process of removing links.
2015-07-23 17:57:30 -05:00
Andrew Johnson
2f8e6bf17e
Fix smoothing for Nan/Inf values in devAiSoftCallback
2015-07-23 13:05:38 -05:00
Andrew Johnson
144281e0a3
Removed extraneous .db file
2015-07-23 12:34:05 -05:00
Andrew Johnson
83c2414ad0
Merged changes from 3.14 branch to revno 12594
2015-07-23 10:13:07 -05:00
Michael Davidsaver
504665bf09
iocInit: move dbCaShutdown earlier
...
Switch dbCaShutdown from an exit hook to
be called from iocShutdown. Place it
after callback shutdown.
2015-07-21 19:08:07 -04:00
Michael Davidsaver
1411522a11
dbCa: only add dbCaExit once
2015-07-21 15:53:37 -04:00
Andrew Johnson
ae3d3904d9
Fix minor locking issue in dbEvent.c
2015-07-17 18:09:14 -05:00
Andrew Johnson
002bafdf07
Add testHarnessDone
2015-07-17 18:06:58 -05:00
Michael Davidsaver
8bfa40d858
dbScan: avoid race on shutdown
2015-07-16 17:05:41 -04:00
Michael Davidsaver
138e2f1ad5
callback: fix race on shutdown
...
epicsEventDestory() in the main thread could be called
before epicsEventTrigger() completes in the worker.
2015-07-16 17:05:41 -04:00
Michael Davidsaver
fefe6fd1fc
Fix shutdown issues with scan and callback.
...
The main reason for this merge proposal is the change to "public" API functions.
Use atomic counter to resolve data race on threadsRunning in callback.
Split up callbackShutdown() and scanShutdown() into two phases *Stop() and
*Cleanup(). The *Stop() functions signal worker threads, and wait for them to
exit. The *Cleanup() functions actually reclaim global resources.
These two mechanisms have couplings which are quite complex. I/O Intr scans
involve both scan lists and callbacks.
2015-07-16 11:48:29 -05:00
Andrew Johnson
5eb49ebaf0
Merged changes from 3.14 branch to revno 12590
2015-07-13 13:05:33 -05:00
Andrew Johnson
625172419e
libCom: Make epicsReadline behave the same on Darwin
2015-07-01 12:00:42 -05:00
Andrew Johnson
80343363a4
configure: Include RULES_FILE_TYPE earlier
...
From Benjamin Franksen:
There is one remaining problem with the order of includes in the build
rules for 3.14.12.5: configure/RULES_BUILD includes RULES_FILE_TYPE
(which in turn includes the cfg/RULES* from modules in the RELEASE file)
*after* including RULES.Db and RULES_JAVA. This makes it impossible to
override (pattern) rules in one of these files. Instead,
$(CONFIG)/RULES_FILE_TYPE should be included first.
2015-07-01 11:30:02 -05:00
Andrew Johnson
444b89f557
libCom: Make readline support clean up on epicsExit()
2015-06-30 14:08:32 -05:00
Andrew Johnson
fa1ddeeb1b
Removed the last vestiges of RSET::get_value()
2015-06-23 18:04:33 -05:00
Andrew Johnson
ca46bf70b7
Fixes to attribute handling in dbStaticLib
...
From Peter Leban of i-tech (Libera)
2015-06-23 17:06:54 -05:00
Andrew Johnson
c0e2a44365
Register dbPutAttribute with iocsh
2015-06-23 17:04:37 -05:00
Andrew Johnson
84c3ec7c64
db: Correct DBF_CHAR range in recGbl.c
...
Seems invisible, but spotted by Lawrence T. Prevatte III.
2015-06-23 15:51:00 -05:00
Andrew Johnson
65e781d58a
db: Fix off-by-one error in initHookName()
...
Thanks to Lawrence T. Prevatte III for noticing that.
2015-06-23 14:46:29 -05:00
Andrew Johnson
a613a96ad3
libCom: Fix routine name in error message
2015-06-18 10:56:43 -05:00
Ralph Lange
fbd2d4dd31
dbStatic: fix buffer overrun in printing functions by extending the local buffer accordingly
2015-06-05 11:10:10 +02:00
Andrew Johnson
2c28d4b69e
Merged Lewis Muir's CAref ToC update
...
Also added some entries for a couple of missing ca_sg routines.
2015-05-15 10:41:19 -05:00
Andrew Johnson
9946681f72
Update version numbers in documentation for 3.15.3
2015-05-15 10:06:06 -05:00
Ralph Lange
196baac7da
documentation: put back red "not released yet" header to RELEASE_NOTES
2015-05-15 14:05:59 +02:00
Ralph Lange
ce93142fe1
configure: set version snapshot back to -DEV
2015-05-15 13:50:14 +02:00
Ralph Lange
e7b20537b9
configure: update CONFIG_BASE_VERSION for 3.15.2 (2nd time for tag move)
2015-05-15 13:47:33 +02:00
Ralph Lange
42a8e61832
documentation: remove red "not released yet" header from RELEASE_NOTES
2015-05-15 13:36:42 +02:00
J. Lewis Muir
5d61a512d1
doc: add ca_put_callback to CA ref man func call interface index
...
The ca_put_callback function is not listed in the CA Reference Manual's
function call interface index; add it.
2015-05-14 16:23:23 -05:00
Ralph Lange
37e1feac12
configure: set version snapshot back to -DEV
2015-05-14 14:16:53 +02:00
Ralph Lange
3090561b5e
configure: update CONFIG_BASE_VERSION for 3.15.2
2015-05-14 14:09:28 +02:00
Ralph Lange
1849b9f4ab
Update KnownProblems to new version, add Windows parallel build issue
2015-05-14 14:08:18 +02:00
Ralph Lange
2bf58d3187
Update ReleaseChecklist to new version.
2015-05-14 14:06:47 +02:00
Andrew Johnson
2f6fad0cc3
Fixing and/or investigating Cygwin issues
2015-05-01 11:38:54 -05:00
Andrew Johnson
f384232864
Merged Cygwin fix from 3.14 branch, revno 12584
2015-04-29 14:21:40 -05:00
Andrew Johnson
33b9fba00b
Fix for latest Cygwin
2015-04-29 14:01:07 -05:00
Ralph Lange
b7b9e2a79b
configure: set version snapshot to -rc1-DEV
2015-04-29 14:20:18 +02:00
Ralph Lange
6de155e97a
configure: update CONFIG_BASE_VERSION for 3.15.2-rc1
2015-04-29 13:58:56 +02:00
Andrew Johnson
1f73716d5c
Adjust linux-x86 & -x86_64 flags
...
Moved -m64 from ARCH_DEP_*FLAGS to OP_SYS_*FLAGS where it is on -x86.
Added GNU_TUNE_CFLAGS to -x86_64, adjust related comments
Added -D_FILE_OFFSET_BITS=64 to -x86 builds
2015-04-28 11:27:06 -05:00
Andrew Johnson
2774b4c4af
Fix type problem with local CA channels
...
This commit fixes a problem introduced in Bazaar commit 12658.
Local CA channels were seeing the data type of a channel as an
IOC-specific (dbFldTypes.h) type value instead of the CA type
value from db_access.h.
We introduce a pair of dbChannel*CAType() macros which convert
the dbChannel's dbr_field_type and final_type values into the
CA equivalent type values, and use these macros whenever the
CA encoded field type value is needed. This ensures that the
meaning of the dbChannel member fields never changes (in 3.14
the addr.dbr_field_type was overwritten with the converted
value when connected to by rsrv).
2015-04-22 16:51:31 -05:00
Ralph Lange
bcf47ac663
gdd: fix 64 bit warnings using explicit casts for strlen() results
2015-04-16 14:05:33 +02:00
Ralph Lange
da93312b79
configure: fix Windows builds - don't use static link to create DLL stub
2015-04-16 10:55:14 +02:00
Andrew Johnson
874087f454
Update some version numbers in documentation
2015-04-14 17:58:33 -05:00
Andrew Johnson
a6d3c4f792
Document -D option to msi
2015-04-14 17:57:10 -05:00
Ralph Lange
f168a0f612
configure: set version snapshot to -pre1-DEV
2015-04-14 11:04:27 +02:00
Ralph Lange
5c3032059c
configure: update CONFIG_BASE_VERSION for 3.15.2-pre1
2015-04-14 10:14:29 +02:00
Andrew Johnson
76205e5c58
Add podRemove.pl script
...
Use this to generate .dbd files from .dbd.pod files
so installed *Record.dbd files don't have the
dbdCommon.dbd file expanded out.
Fixes lp:1417428
2015-04-13 10:36:13 -05:00
Ralph Lange
09fab352b0
dbstatic: raise link field length limit to 256 by bumping internal buffer size
2015-04-13 17:13:09 +02:00
Andrew Johnson
2a0356c84f
Merged fix to ReadNotifyCache buffer size issue from 3.14 branch
2015-04-09 15:53:16 -05:00
Michael Davidsaver
b082e7d1e8
dbContextReadNotify: Improper handling of array size changes
...
Issue diagnosed and reported by Ambroz Bizjak.
The dbContextReadNotifyCacheAllocator allocator clears
its cache of free buffers on an array size change.
But doesn't consider buffer already in use, which
will later be free'd. Such buffers were being
returned to the cache, then reused in allocations
for which they are too short.
Track the size of buffers which are in use.
Only return buffers with the present length
to the cache. Others are free'd immediately.
2015-04-09 14:39:24 -04:00
Andrew Johnson
198dedba93
Move section divider comment in RULES_BUILD
2015-03-30 11:19:07 -05:00
Andrew Johnson
ffcbd4ca8b
Merge changes from 3.14.12.5 (revno 12582)
2015-03-25 12:53:13 -05:00
Andrew Johnson
0a1cf17681
Trivial spacing changes in RELEASE_NOTES
2015-03-25 11:25:09 -05:00
Andrew Johnson
22768b2bb3
Set SNAPSHOT back to -DEV
2015-03-24 10:08:56 -05:00
Andrew Johnson
dc61957963
Set SNAPSHOT for R3.14.12.5
2015-03-24 09:57:35 -05:00
Janet Anderson
583108e42a
Set version number to R3.14.12.5.
2015-03-24 08:50:39 -05:00
Andrew Johnson
9470830091
catools: Fix printing -ve DBF_LONG values on 64-bit
2015-03-23 15:59:11 -05:00
Andrew Johnson
e84e7b930f
Release notes for ao-convert changes
2015-03-20 17:05:16 -05:00
Andrew Johnson
f498b36438
Prevent overflows in ao value conversion.
...
Also makes ROFF fields unsigned, needed for ROFF=0x80000000
2015-03-20 16:34:14 -05:00
Andrew Johnson
490540b005
Merged from 3.14 branch up to revno 12575
2015-03-19 10:22:15 -05:00
Andrew Johnson
d927afe257
Make including cfg/CONFIG* files unconditional
2015-03-19 10:18:23 -05:00
Andrew Johnson
eaef9aabdf
Fix export type of .LINK$ fields, add tests
2015-03-18 16:48:07 -05:00
Andrew Johnson
1fd91f52e2
dbStatic: Add field type lookup routines
2015-03-18 16:34:07 -05:00
Andrew Johnson
f994944531
libCom/posix: Remove pthread_setcanceltype()
2015-03-18 11:36:06 -05:00
Andrew Johnson
e1b2a0c5a3
Merged changes from 3.14 branch up to revno 12573
2015-03-13 11:50:26 -05:00
Andrew Johnson
5ffda58351
ca: Fix missing guard argument
2015-03-13 11:08:05 -05:00
Andrew Johnson
f6373093a5
Fix Windows linkage warning in alarmString.h
2015-03-13 10:56:03 -05:00
Andrew Johnson
8215244a28
Fix Windows time discontinuity report
2015-03-13 10:06:23 -05:00
Andrew Johnson
99f1dbb75e
Merged changes from 3.14 branch up to revno 12570
2015-03-11 16:26:15 -05:00
Andrew Johnson
9577615bba
Merged changes from 3.14 branch up to revno 12564
2015-03-11 16:08:29 -05:00
Andrew Johnson
de298da94c
Fix Jenkins instability on Windows
2015-03-11 10:53:37 -05:00
Andrew Johnson
753bfcc579
Check sender threads are starting
2015-03-10 18:14:11 -05:00
Andrew Johnson
4568cd3616
Chasing Jenkins instability on Windows
2015-03-10 14:17:28 -05:00
Andrew Johnson
1cacb8ef72
Make TOP an absolute path when running test programs
...
If the test starts an IOC, the registerRecordDeviceDriver
routine will compare the absolute path of TOP at build time
against the environment variable value (normally relative)
and print a warning if they differ.
This change cleans up the .tap output from such tests.
2015-03-10 13:04:15 -05:00
Michael Davidsaver
fb7273046c
epicsAtomic: also prevent vxWorks from using posix/epicsAtomicOSD.cpp
2015-03-10 10:39:37 -04:00
Michael Davidsaver
5bbd954ec8
epicsAtomic: fix noop OSDs
...
Ensure that all are epicsAtomicOSD.cpp and use
no-op to prevent RTEMS from using the posix
implementation.
2015-03-09 21:27:49 -04:00
Michael Davidsaver
6bf3f5554f
epicsAtomic: fix function def. order
...
epicsAtomicMemoryBarrierFallback used before definition
2015-03-09 19:48:30 -04:00
Andrew Johnson
e0f97a9215
Set testPlan in dbCaStatsTest.c
2015-03-09 18:07:13 -05:00
Andrew Johnson
a3793c368a
Merged changes from 3.14 branch up to revno 12561
2015-03-09 17:59:08 -05:00
Andrew Johnson
dad5b1cc94
Merged Michael's fixatomiclinkage branch
2015-03-09 17:43:44 -05:00
Andrew Johnson
e75ec5f85b
Set snapshot to -rc1-DEV
2015-03-09 14:33:17 -05:00
Andrew Johnson
657f726527
Fix FIND_TOOL
2015-03-09 14:24:44 -05:00
Janet Anderson
0f0a8cbbe5
Set version to 3.14.12.5-rc1
2015-03-09 12:34:42 -05:00
Andrew Johnson
84e74d0924
Fix 'Can't find convertRelease.pl' problem
2015-03-09 11:33:50 -05:00
Andrew Johnson
74c6e81752
Fixed HDEPENDS_MKMFFLAGS
2015-03-08 15:26:07 -05:00
Andrew Johnson
2a6714fd03
configure: Cosmetic changes only, comments & spacing.
2015-03-06 18:14:59 -06:00
Andrew Johnson
5610b07068
configure: Support for cfg/TOP_RULES* and cfg/DIR_RULES*
...
Idea and initial implementation from Benjamin Franksen,
I added the DIR_RULES and ACTIONS support.
Reverses the order in which cfg/CONFIG* files are included.
2015-03-06 17:43:26 -06:00
Andrew Johnson
20155602fc
Renamed the record test harness routine
...
Now named epicsRunRecordTests and as such it
matches the other test harness routines.
2015-03-05 14:50:42 -06:00
Andrew Johnson
d26654674c
Fix the RTEMS override of the ECHO variable
2015-03-03 11:53:23 -06:00
Benjamin Franksen
5f638805dd
Improved "Installing ..." messages in RULES.Db
2015-03-03 11:47:37 -06:00
Benjamin Franksen
bc52c8e374
Fixed RELEASE_PERL_MODULE_DIRS
2015-03-03 11:45:23 -06:00
Andrew Johnson
f6067a3949
Merged changes from 3.14 branch up to revno 12557
2015-03-03 11:35:46 -06:00
Andrew Johnson
8a85cea75e
Merged revno 12549 from 3.14 branch
2015-03-03 11:21:09 -06:00
Andrew Johnson
c3cef8b295
Merged changes from 3.14 branch up to revno 12548
2015-03-02 17:55:15 -06:00
Andrew Johnson
573d06d71d
Merged revno 12546 from 3.14 branch (no changes)
2015-03-02 17:53:17 -06:00
Andrew Johnson
0f6cce2bd1
Merged changes from 3.14 branch up to revno 12545
2015-03-02 17:52:15 -06:00
Andrew Johnson
61438b4e7e
Fix Windows builds
2015-03-02 15:04:09 -06:00
Andrew Johnson
d432fb3115
Fix Darwin build
2015-03-02 14:22:25 -06:00
Andrew Johnson
02a105e5ab
Merged changes from 3.14 branch up to revno 12540
2015-03-02 11:43:20 -06:00
Andrew Johnson
e8c9783e06
Merged changes from 3.14 branch up to revno 12530
2015-03-02 10:35:35 -06:00
Andrew Johnson
510e477087
Merged revno 12527 from 3.14 branch (no changes)
2015-03-02 10:06:48 -06:00
Andrew Johnson
fb1a0c2b1e
Clean up g++ warnings in repeater.cpp
2015-02-28 20:20:56 -06:00
Andrew Johnson
92b4d8e48d
Merged changes from 3.14 branch up to revno 12526
2015-02-27 18:11:37 -06:00
Andrew Johnson
b8da39d46b
Merged revno 12517 from 3.14 branch (no changes)
2015-02-27 17:52:07 -06:00
Andrew Johnson
b745dbff10
Merged changes from 3.14 branch up to revno 12516
2015-02-27 17:47:55 -06:00
Michael Davidsaver
89596fc308
Fix typo in epicsAtomicTest.cpp testClassify()
2015-02-27 17:29:11 -05:00
Michael Davidsaver
73dcc2745f
Fix for Solaris C++ compiler
2015-02-27 17:29:11 -05:00
Michael Davidsaver
332fd550ad
epicsAtomic: RTEMS ISR safe impl. for epicsAtomicLock()
2015-02-27 17:29:11 -05:00
Michael Davidsaver
214c9003a9
epicsAtomicTest: include some information about build conditions
...
Give some idea which implementations are being used
2015-02-27 17:29:11 -05:00
Michael Davidsaver
0d4519eb54
epicsAtomic: fix C linkage
...
With gcc -std=gnu99 (present default) functions qualified
with plain 'inline' emit strong public symbols (nm says 'T')
in every compilation unit the definition appears.
This causes linking to fail in all cases where executable
are statically linked, and many where dynamic linking is used.
2015-02-27 17:29:11 -05:00
Michael Davidsaver
84e9ff3bc5
libCom/test: Add epicsInlineTest
2015-02-27 17:29:10 -05:00
Michael Davidsaver
b3bfac3f16
add EPICS_ALWAYS_INLINE
2015-02-27 17:29:10 -05:00
Andrew Johnson
2378d465d1
Update supported targets lists in CONFIG_SITE
2015-02-27 16:07:07 -06:00
Janet Anderson
2799f1cf3f
Fixed incorrect comment lines
2015-02-26 13:26:56 -06:00
Janet Anderson
91c8ba592d
Added directory change comment for Older Xcode
2015-02-26 13:24:29 -06:00
Andrew Johnson
004e7237c3
Snapshot to -pre1-DEV
2015-02-25 16:24:28 -06:00
Andrew Johnson
d53521f160
Set version to 3.14.12.5-pre1
2015-02-25 16:23:05 -06:00
Andrew Johnson
12793d3313
Cosmetic changes in configure/os
2015-02-25 12:02:34 -06:00
Andrew Johnson
65d39fcbc8
Moved linux-arm cross-build link-time settings
2015-02-24 16:51:59 -06:00
Andrew Johnson
b7baa2504e
Only build Cap5.so for the host architecture
2015-02-24 16:23:14 -06:00
Andrew Johnson
4a0880003c
Support MinGW cross-builds on linux-x86 and x86_64
2015-02-24 14:30:42 -06:00
Andrew Johnson
d06b1a178a
Applied Added-configure-files-for-linux-arm-debug.patch
2015-02-23 14:12:39 -06:00
Andrew Johnson
2bae36845e
Adjust a few CONFIG_SITE files, mostly comments
2015-02-23 13:30:45 -06:00
Andrew Johnson
2d7a8a4aee
Pull blockingSockTest.cpp from 3.15
2015-02-20 16:35:47 -06:00
Andrew Johnson
3601a73b77
Applied rtems-use-macro-for-BIN2BOOT.patch
2015-02-20 15:42:14 -06:00
Andrew Johnson
335cba0049
Applied rtems-mvme5500-needs-libbspExt.patch
2015-02-20 15:35:59 -06:00
Andrew Johnson
0f2d6eac9b
Applied rtems-build-gesys-loadable-objects.patch
2015-02-20 15:34:57 -06:00
Andrew Johnson
88314d0374
Release notes for CMD_ variables
2015-02-20 15:24:29 -06:00
Andrew Johnson
4658a88584
Allow compiler flags from command line
...
The following variables are reserved for use from the
GNUmake command line:
CMD_INCLUDES
CMD_CPPFLAGS
CMD_CFLAGS
CMD_CXXFLAGS
CMD_LDFLAGS
CMD_DBFLAGS
CMD_DBDFLAGS
CMD_ARFLAGS
For example:
make CMD_INCLUDES=/opt/local/include CMD_LDFLAGS=-L/opt/local/lib
2015-02-20 14:48:05 -06:00
Andrew Johnson
4cf3613ace
Applied missing-header.patch
2015-02-20 12:38:26 -06:00
Andrew Johnson
0fa8702842
Applied test-epicsTimerQueue-reference-counter.patch
2015-02-20 12:34:53 -06:00
Andrew Johnson
a437768c9c
Applied linux-runtime-disable-RT-priorities-if-not-supported.patch
2015-02-20 12:25:28 -06:00
Andrew Johnson
a6af0daae9
Applied linux-use-RT-thread-priorities.patch
2015-02-20 12:21:45 -06:00
Andrew Johnson
3e6597be90
Applied record-support-santity-check.patch
2015-02-20 12:13:05 -06:00
Michael Davidsaver
c0cf25eeee
dbCa: dbCaPutLinkCallback initialize entire array
...
CA links will write the full target array size.
Ensure that uninitialized elements are zeroed.
2015-02-19 19:18:27 -05:00
Michael Davidsaver
3501fda48d
dbCa: dbCaPutLinkCallback prevent out of bounds write
...
The internal buffer of the caLink is sized based on the
number of elements of the destination PV.
2015-02-19 19:18:16 -05:00
Andrew Johnson
e822d8d8c4
Suppress corrupt error output from dbStatic parser
...
The yyerror() routine gets called twice in some cases.
Don't print the yytext or input file location the second
time through -- yytext has already been freed, and the
user doesn't need to see the location twice.
Fixes lp:1422803
2015-02-19 17:33:27 -06:00
Andrew Johnson
9813fa6474
db: Allow link fields to return a DOUBLE value
...
A dbCa link does a ca_get with type DBR_CTRL_DOUBLE
to populate its list of attribute values immediately
after connecting. If the target is a DBF_*LINK field
it used to return an error, preventing the link from
properly connecting. This change makes dbGetField()
return a single NAN value instead of rejecting the
request.
Fixes: lp:545358
2015-02-19 15:55:48 -06:00
Andrew Johnson
b1e99f6f1a
Merged Lewis Muir's readme-fixes branch
2015-02-18 17:11:51 -06:00
J. Lewis Muir
836d81f0b7
doc: HTML: fix typos and list of files in documentation directory
2015-02-18 16:55:09 -06:00
Andrew Johnson
804aeafaa7
Fix dbVerify()'s postfix buffer size
2015-02-18 16:44:07 -06:00
Andrew Johnson
dda4eb3a58
Fix more MS idiocy
...
Windows has signed characters, but if you pass a negative
value (i.e. a character with value >= 0x80) into the debug
version of its isprint() runtime library function it asserts.
2015-02-18 16:36:42 -06:00
J. Lewis Muir
b041041518
doc: fix typos and list of files in documentation directory
2015-02-18 15:46:05 -06:00
Andrew Johnson
d2a216b28e
More MS Windows-x64 test fixes
2015-02-17 16:21:13 -06:00
Andrew Johnson
7e36a58f1e
Back-ported dbLoadRecordsHook from the 3.15 branch
2015-02-17 14:29:20 -06:00
Andrew Johnson
f16bdb0c83
Merged trap-write-data branch
2015-02-17 14:02:15 -06:00
Andrew Johnson
681a996bf0
Unifying rsrv error messages
2015-02-17 13:59:13 -06:00
Michael Davidsaver
276ea54ee4
don't destroy locked mutex
2015-02-17 11:03:06 -05:00
Michael Davidsaver
2623c2f46f
dbStaticLib.c: clean pdbbase after free
2015-02-17 11:01:49 -05:00
Michael Davidsaver
b996e63beb
dbReadTest.c: flush errlog on exit as per lp:1419879
2015-02-17 10:57:05 -05:00
Michael Davidsaver
2f0e9172a4
tool_lib.c: ensure output string is always set
...
Ensure that val2str always writes to its output buffer,
which is static and shared between all PVs.
Should make bugs like lp:1418526 more obvious.
2015-02-17 10:45:30 -05:00
Andrew Johnson
c5ded30684
Extended asTrapWrite to provide put data
...
Backwards-compatible enhancement to the asTrapWrite API to provide
listener routines with the data being put by the client.
The asTrapWriteMessage structure is extended with 3 new fields
for data type, element count and a pointer to the source buffer.
Tim Mooney requested this enhancement for his caPutRecorder code,
which doesn't work if the record overwrites the new value within
its process() routine, e.g. when jogging a motor record.
2015-02-16 16:30:52 -06:00
Andrew Johnson
2e4d8b31ff
Mark windows-x64 Math failures as TODO
2015-02-13 15:56:50 -06:00
Andrew Johnson
26d60bc516
Attempt to fix Windows test failures
...
epicsMessageQueue test wasn't printing the last test result.
2015-02-13 15:29:08 -06:00
Andrew Johnson
f874913cf7
Fix epicsExceptionTest on darwin
...
Clang's optimizer seems to elide the new (nothrow) if we don't
actually observe the value of p...
2015-02-13 12:17:24 -06:00
Andrew Johnson
26ab431c0a
Back-ported the tapfiles build target from 3.15
...
This is the version that works on Windows.
2015-02-13 11:16:24 -06:00
Andrew Johnson
02aa7e2f73
Stop bogus error messages from CA Repeater on Windows
...
Required adding a new API to osiSock.h and the 2
implementations of epicsSocketConvertErrnoToString.
2015-02-10 18:10:33 -06:00
Andrew Johnson
7fe5f2f3a3
Another order-only prerequisite
2015-02-06 10:22:55 -06:00
Andrew Johnson
727a3af59d
Merged Richard Fearn's caget-lb-zero-fix branch
...
... after some modification.
2015-02-05 11:19:30 -06:00
Richard Fearn
1a094f5971
catools: make caget -lb output '0' instead of empty string for zero value
2015-02-05 11:53:33 +01:00
Andrew Johnson
971a819446
Use order-only prerequisites for include files
...
This prevents unnecessary recompilations when an include
file gets regenerated.
2015-02-04 16:28:23 -06:00
Andrew Johnson
9316233ba2
Merged changes from 3.14 branch, revno 12514
2015-02-04 11:43:23 -06:00
Andrew Johnson
d9060d85eb
Make .t files depend on /makeTestfile.pl
2015-02-04 11:39:26 -06:00
Andrew Johnson
fb960e5fc4
Fix "make tapfiles" on Windows
2015-02-04 11:04:40 -06:00
Andrew Johnson
4b0a4ffee2
Build configuration for iOS
2015-02-04 10:11:14 -06:00
Andrew Johnson
c91725d3a4
Linux flag changes to remove glibc 2.20 warnings
...
Replace _BSD_SOURCE and other flags with _GNU_SOURCE and _DEFAULT_SOURCE
2015-01-30 16:12:42 -06:00
Ralph Lange
6a9eccdec1
gdd: fix issue when copying from an emtpy array
...
if the source array is empty, the index of the first element to copy (0) being equal
to the source array size (0) does not constitute an out-of-bounds condition
2015-01-29 14:36:55 +01:00
Andrew Johnson
8705a42a39
Merged fixes from 3.14 branch.
...
Added new link_field_name() function to dbLink.c, needed to
be able to print the link field name.
2014-12-23 12:01:35 -06:00
Andrew Johnson
2b950754c4
Fix FLNK-over-CA error message
2014-12-23 10:35:09 -06:00
Andrew Johnson
07c8b67549
Add missing DLLSTUB dependency rules
2014-12-11 14:56:31 -06:00
Andrew Johnson
36850cf677
Remove trailing ; from dbGetSevr macro
2014-12-11 13:56:15 -06:00
Andrew Johnson
5b6dce2681
Fix Windows builds
...
The windows shell doesn't like commands that start ../
Those commands are all found using TOOLS, so by making that
an absolute path we fix that problem.
However GNUmake doesn't recognize targets with relative paths
as being the same as their absolute path, so we have to fix up
some places that were using TOOLS in dependencies.
2014-12-10 17:40:40 -06:00
Andrew Johnson
e886022343
Deprecate and remove all uses of PATH_FILTER
2014-12-10 13:35:15 -06:00
Andrew Johnson
d1481b23d9
Use msi for dependency rules generation
...
Added -D command, modified RULES.Db to use it.
2014-12-10 12:09:34 -06:00
Andrew Johnson
846d55dac5
Build support for 64-bit iPhone Simulator
...
From Tom Palaia.
2014-12-04 14:05:44 -06:00
Ralph Lange
db0fbf9f73
.bzrignore: add wildcard for suppressing QtCreator project files
2014-12-03 15:11:30 +01:00
Andrew Johnson
24d39ae79d
Merge perlbin fix from 3.14.
2014-12-02 11:16:18 -06:00
Andrew Johnson
c1d33e614c
Fix non-OS Perl xsubpp issue
...
This should be the right fix.
Also cleaned up compile warnings from Clang in the cap5 build.
2014-12-02 11:03:16 -06:00
Andrew Johnson
73c40f052e
Set version snapshot back to -DEV
2014-12-01 15:13:48 -06:00
Andrew Johnson
ed37ace27e
R3.15.1
2014-12-01 15:07:38 -06:00
Andrew Johnson
bc15875bfb
Merge changes from 3.14 branch, revno 12507
2014-12-01 12:29:30 -06:00
Andrew Johnson
69eaaa17ba
Fix xsubpp for RHEL 7 and derivatives.
...
It got moved. This might not be the final fix for those using an
add-on version of Perl though...
2014-12-01 12:12:09 -06:00
Andrew Johnson
30b789aa49
Fix epicsStrnEscapedFromRaw() and epicsStrnRawFromEscaped()
...
Major rewrites; the original epicsStrnRawFromEscaped() could read
beyond the end of the input buffer if the input count ended in the
middle of an octal or hex escape sequence. Zero termination did not
always match the return count, and hex escapes were always 2 digits,
contrary to the C standard.
New versions don't use epicsSnprintf() or sscanf() for hex and octal
conversions, so should be slightly faster.
Added 81 new tests to check the above issues.
2014-12-01 11:34:58 -06:00
Ralph Lange
1a94ea1045
libCom/osi: fix - do not set the main thread's Linux name to _main_ (linux)
2014-12-01 13:48:10 +01:00
Andrew Johnson
f1dec35c5c
Update KnownProblems list
2014-11-19 16:00:31 -06:00
Andrew Johnson
6e8a3fcd6d
Set version snapshot to -rc1-DEV
2014-11-19 15:35:12 -06:00
Andrew Johnson
ec35ef7136
Update version numbers for 3.15.1-rc1
2014-11-19 15:34:02 -06:00
Andrew Johnson
fce8377156
Merge change from 3.14 branch
...
Up to revno 12506
2014-11-19 15:18:11 -06:00
Andrew Johnson
5c4def1632
Build issues for iOS
2014-11-19 13:57:55 -06:00
Andrew Johnson
bdc57ecb2b
Build issues for MinWG
2014-11-19 13:16:56 -06:00
Andrew Johnson
fd3bf215c5
Added missing tests to epicsRunDbTests.c
2014-11-19 10:22:39 -06:00
Ralph Lange
ba922d2bfa
ioc/db: fix segfault in dbcaStats when disconnected CA links are present
2014-11-19 15:11:36 +01:00
Ralph Lange
cd8e08651b
ioc/db/test: add a test for dbcaStats (detects bug lp:1394212)
2014-11-19 15:08:48 +01:00
Ralph Lange
0627aa5712
std/rec/test: extend arrayOpTest to cover an array of size 1 (detects bug lp:1389298)
2014-11-19 09:59:34 +01:00
Andrew Johnson
adc6219c2a
scanIoTest: Extend time for callback threads to run.
...
Needed for VxWorks 5.5.2 on 68K
2014-11-18 18:10:19 -06:00
Andrew Johnson
a99f1d238e
Cleaned up VxWorks 6.9 symLib warnings
...
VxWorks 6.9 deprecated several symFindBy...() routines, which
result in warning messages at build-time. I rewrote the code
that uses these to use the newer API on VxWorks 6.9.
Also deprecated the two epicsDynLink.h symFindByNameEPICS()
and symFindByNameAndTypeEPICS() routines; epicsFindSymbol() in
epicsFindSymbol.h is now available on most platforms instead.
2014-11-18 17:46:41 -06:00
Andrew Johnson
09797ee7ca
Fix ringPointerTest thread priority issue on VxWorks
...
Picked a priority somewhere in the middle and switch to
that for the two test subroutines that care.
2014-11-18 17:30:43 -06:00
Andrew Johnson
01c0275876
Build stability fixes
...
Change menuGlobal.dbd and stdRecords.dbd to be generated
as a list of unexpanded include statements, not expanded
out as they have been recently on this branch. This means
any .dbd.pod files in those lists don't have to have been
filtered to remove the POD statements which significantly
simplifies the dependency graph. I had experienced build
loops at times, which this change should prevent.
2014-11-18 14:01:46 -06:00
Michael Davidsaver
d7269f9d80
Revert "dbBkpt: atexit"
2014-11-18 14:56:45 -05:00
Michael Davidsaver
58cd1d0a71
errlog: Don't free globals.
...
Since the pvtData.atExit flag doesn't prevent all
concurrent use of the pvtData struct we can't safely
free it.
2014-11-18 14:48:15 -05:00
Michael Davidsaver
e4954ba26a
dbLock: remove dbLockExit()
...
No benefit to freeing global locks in unittests,
and this could cause problems with normal IOC
shutdown.
2014-11-18 14:48:15 -05:00
Andrew Johnson
60a5c476b3
Fix single-element array problem
...
An array field with a maximum size of 1 element would not be
treated as an array, so the record's rset::get_array_info()
routine wasn't being called. Fixed in dbAccess for both
dbGet() and dbPut() operations, and in dbEvent for monitors.
Fixes lp:1389298
2014-11-18 11:10:01 -06:00
Michael Davidsaver
9e63a51707
pcas: avoid reinterpret_cast with sockaddr
...
Avoid warning about breaking aliasing rules
2014-11-18 11:48:53 -05:00
Michael Davidsaver
93149071b7
dbNotify: shutdown with exitDatabase
...
Can't cleanup dbNotify while rsrv or scan tasks
are running as there may be operations in progress.
2014-11-18 11:25:15 -05:00
Michael Davidsaver
9c2a62ea96
dbChannel: shutdown from exitDatabase()
...
Can't cleanup dbChannel while rsrv or scan tasks
remain running.
2014-11-18 11:25:15 -05:00
Andrew Johnson
ae7b8c7aa3
configure: Windows-x64 architecture fixes
...
* Removed /favor:blend from ARCH_DEP_CPPFLAGS
It is the default anyway, and including it stops the
MS Express compilers from building 64-bit executables.
* Added a CONFIG_SITE.Common.windows-x64-static file.
The MSVS 2010 linker crashes when when generating code
for this target with HOST_OPT = YES, so make it NO.
2014-11-18 09:51:28 -06:00
Ralph Lange
ac2ff29abb
libCom/log: make iocLog client unregister its listener from errlog on shutdown
2014-11-18 15:23:14 +01:00
Michael Davidsaver
f9d0fd351d
libCom/test: fix ringPointerTest compile issues on vxWorks and MSVC
...
Remove C GNU-isms
1) mixing code/variable defs
2) arithmetic on void*
2014-11-17 18:55:47 -05:00
Michael Davidsaver
66fbbbb19a
libCom/test: re-write ringPointerTest
2014-11-17 16:51:57 -05:00
Andrew Johnson
89777707c4
cap5: Minor build change on Darwin
2014-11-17 10:56:28 -06:00
Andrew Johnson
4c66f7f2d9
configure: Removed obselete 3.13 compatibility build rule
2014-11-13 17:02:10 -06:00
Michael Davidsaver
924350b362
epicsExit: add epicsExitLater() to trigger process exit without blocking
2014-11-13 11:58:35 -05:00
Michael Davidsaver
d35780888a
iocInit: only teardown from iocBuildIsolated()
...
iocShutdown() should only stop threads and cleanup
if the IOC was started with iocBuildIsolated().
If iocBuild() is used then only close CA links
as was done previously.
This is needed as some device support calls epicsExit()
(while holding a record lock). This make it impossible
to run the full iocShutdown without deadlocking
in scan/callback shutdown, or segfaulting
in doFreeRecord() or dbLockCleanupRecords()
2014-11-13 11:58:35 -05:00
Andrew Johnson
f7cc0e2d09
Various build system issues
...
* Removed broken Windows source browser rules and 'browse' targets
* Fixed parallel build issue for Make > 3.81
* Other tidying-up in RULES_ARCHS
* Fix the RTEMS override of the ECHO variable
2014-11-12 16:36:39 -06:00
Andrew Johnson
5554dfd66d
Make shared library version numbers use 3 components
2014-11-11 12:57:00 -06:00
Andrew Johnson
69daab81d5
Fix tests after menuScan changes
2014-11-10 17:27:38 -06:00
Andrew Johnson
3aa5d2adee
ioc/db menu fixes
...
* Move including menuScan.dbd from menuGlobal.dbd to base.dbd.
Menus included in menuGlobal.dbd can't be overridden at build
time since it gets fully expanded before installation.
* Convert .dbd.pod files before generating menuGlobal.dbd.d
* Remove menuCompress.dbd, nothing in Base uses it any more.
The compress record has its own compressALG menu
2014-11-10 16:15:52 -06:00
Andrew Johnson
574bac67b4
CAref reformatting/prettification from 3.14
2014-11-08 10:22:03 -06:00
Andrew Johnson
3d03822043
CAref reformatting/prettification
2014-11-08 10:19:59 -06:00
Andrew Johnson
6f7fc7bf8e
Merged changes from 3.14 branch
...
Up to revno 12504.
2014-11-07 15:57:13 -06:00
Andrew Johnson
702edbf4af
Merged Lewis Muir's CAref typo fixes
2014-11-07 15:35:30 -06:00
J. Lewis Muir
0d0ac88242
doc: Fix typos in CA reference manual
2014-11-07 14:56:41 -06:00
Andrew Johnson
2ab2470317
Fix epicsStrtod() implementation to detect overflow
...
The VxWorks version of strtod() that we use returns Inf
instead of setting errno on overflow.
2014-11-07 13:25:16 -06:00
Andrew Johnson
53d9a07f64
Fix buffer overflow in epicsStrnRawFromEscaped
...
lp:1388313
2014-11-05 10:06:02 -06:00
Andrew Johnson
eae4f60e57
cap5: Fix replace_access_rights_event() channel method
2014-11-04 15:10:50 -06:00
Andrew Johnson
a05856375a
Update EPICS_TIMEZONE data in CONFIG_SITE_ENV
2014-11-04 14:55:25 -06:00
Andrew Johnson
05d3bb63aa
configure: Added missing menu%.h.d rule
...
Janet had to remove '..' from the vpaths because it was letting
the build look into the TOP/.. directory, which was causing
major issues. She added back rules for COMMON_DIR and .. but
missed this one.
2014-11-03 17:02:42 -06:00
Andrew Johnson
743e3bd387
cap5: Add replace_access_rights_event() channel method
2014-11-02 23:11:44 -06:00
Andrew Johnson
79b70d651c
Flag epicsBoolean with EPICS_DEPRECATED
2014-10-31 17:26:48 -05:00
Andrew Johnson
9d5bffca94
libCom/flex: Default skeleton should be filename only
2014-10-31 16:58:03 -05:00
Andrew Johnson
64bf84169c
dbStatic: Added hook routine for dbLoadRecords()
...
Requested by Tim Mooney for use by Autosave.
See the Release Notes for documentation.
This commit also corrects the decorations for recGblAlarmHook.
2014-10-31 16:18:25 -05:00
Andrew Johnson
647bd334ae
iocsh: Protect echo and cd from NULL arguments
2014-10-31 12:19:09 -05:00
Andrew Johnson
09ff608ca9
libCom: Fix use-after-free bug in macCore.c
2014-10-30 17:55:12 -05:00
Andrew Johnson
6c14dc194c
Replace the epicsBoolean type in epicsTypes.h
2014-10-30 14:40:19 -05:00
Andrew Johnson
9f163ef8d9
Merged J Lewis Muir's typo-fix branch
2014-10-28 16:20:51 -05:00
J. Lewis Muir
f0156119be
cap5: Fix doc typos
2014-10-22 11:03:40 -05:00
Andrew Johnson
f808e4309d
cap5 Fixes
...
1. Support subscribing for DBR_GR_ENUM or DBR_CTRL_ENUM
2. Fix doc example on how to combine timestamp parts
2014-10-17 15:19:00 -05:00
Andrew Johnson
f59123bd3c
Added Windows-x64-debug cross-build config file
2014-10-17 11:48:18 -05:00
Ralph Lange
49a9d64946
catools: better out-of-bounds handling when printing enums as DBR_GR/DBR_CTRL
2014-10-09 14:12:39 +02:00
Andrew Johnson
c5740c0dd0
Add relPaths.sh target to convertRelease.pl
...
This is a /bin/sh syntax version of the dllPath.bat file,
needed to run IOCs under Cygwin when SHARED_LIBRARIES=YES.
2014-10-08 14:18:08 -05:00
Andrew Johnson
3eb6a66f3c
Fix build warnings
2014-10-07 15:59:20 -05:00
Andrew Johnson
986f7abb08
Set version snapshot back to -DEV
2014-10-07 01:50:24 -05:00
Andrew Johnson
6e5b47d6da
Update version number to 3.15.0.2
2014-10-07 01:31:33 -05:00
Andrew Johnson
bd120c774d
Various fixes
...
* VxWorks 5.5.2 doesn't like C++-style variable declarations in C code
* Older MS compiler doesn't have strto[u]ll
* Wrote release note entry for iocshLoad command.
2014-10-07 00:41:39 -05:00
Andrew Johnson
0a9c5d456b
Merged iocshCmd-with-macros branch
2014-10-06 23:39:23 -05:00
Andrew Johnson
e66b691549
Add support for iOS 8 target
2014-10-06 20:36:50 -05:00
Andrew Johnson
97e445f78d
Merged epicsInt64-library-support branch
2014-10-06 20:28:35 -05:00
Andrew Johnson
b74eb61949
Merged dbca-test branch
2014-10-06 18:04:33 -05:00
Andrew Johnson
f0193d27f3
Clean up warning from clang/MacOS
2014-10-06 18:03:00 -05:00
Andrew Johnson
7b23f50f9d
Fix Windows builds.
...
db_access.h defines things in the CA library, not db...
2014-10-06 16:31:28 -05:00
Andrew Johnson
78a9dd7bc5
Fixes for building on Solaris
...
The SunPro C++ compiler doesn't like osdElfFindAddr, so I converted
it back to C, but then I had to make the osdFindAddr files C to match.
Now elfRead() can't use a static initializer to get the program start
time, so I added a public routine to osiClockTime.c to return that.
Also fixed various indentations in Till's code.
2014-10-06 13:53:21 -05:00
Andrew Johnson
3d6fba6802
dbdToHtml fix to support Perl 5.8
2014-10-06 13:26:37 -05:00
Andrew Johnson
2d0ea1e3bb
Better Makefile for makeBaseApp top dir
2014-10-06 13:25:41 -05:00
Andrew Johnson
9cebc2993b
Fix epicsExportSharedSymbols for MinGW build
...
Include files now in sorted order within each block.
2014-10-06 00:57:02 -05:00
Andrew Johnson
2ce5d61c38
Perl script fixes.
...
This commit should fix the Cygwin build issue, and the
stylesheet link problems.
2014-10-03 18:06:47 -05:00
Andrew Johnson
a4298bec56
Merged dbd2html branch
2014-10-03 14:23:04 -05:00
Andrew Johnson
ec7b0d5737
Merged the loadable-support branch
2014-10-02 16:53:15 -05:00
Andrew Johnson
70feb515c3
Merged parallel-cbthreads-3 branch
2014-10-02 15:07:07 -05:00
Andrew Johnson
565f0e3725
Merged simple-filter-conf branch
2014-10-01 18:11:28 -05:00
Michael Davidsaver
c0a4ebebff
callback: workers wake up peer if necessary.
2014-10-01 18:38:14 -04:00
Michael Davidsaver
c2631cdc8a
callback: don't track busy workers
...
wakeup unconditionally. Perhaps inefficient, but simple.
2014-10-01 18:35:42 -04:00
Andrew Johnson
f9628646d1
Make IOSCANPVT a single structure
...
Not an array of 3 io_scan_list objects.
2014-09-30 16:22:03 -05:00
Andrew Johnson
c9f7a32c82
Mark callbackParallelThreadsDefault properly
...
The definition gets epicsShareDef and may provide a value.
Additional declarations get epicsShareExtern.
2014-09-30 16:10:24 -05:00
Andrew Johnson
04848e0766
Fix problems in callbackParallelThreads()
2014-09-30 13:00:39 -05:00
Andrew Johnson
4c761eeba0
Fixes for VxWorks & RTEMS builds
...
* C++ comments are not legal in C code
* Declare scanIoTest() in epicsRunDbTests.c
2014-09-30 12:36:32 -05:00
Ralph Lange
7ecbe87047
ioc/db: add test for allocPvt() returning NULL to chfPluginTest
2014-09-30 16:20:16 +02:00
Ralph Lange
6b71e5bfe5
std/filters: add minimal error handling when using freeListCalloc() in arr plugin
2014-09-30 16:19:13 +02:00
Ralph Lange
1c317adbda
ioc/db: add tests for strict tagged plugin options, fix 'required' algorithm
2014-09-30 11:48:41 +02:00
Ralph Lange
9b73fd1730
std/filters: make shorthand notation more prominent in filter documentation
2014-09-30 11:46:17 +02:00
Andrew Johnson
27a8818ea8
Silence unused variable warning
2014-09-29 12:35:22 -05:00
Ralph Lange
f84b736022
ioc/db: back to old signalling policy - wake up worker thread as long as there are any sleeping
2014-09-29 10:59:00 +02:00
Andrew Johnson
0888992863
Fix MinGW cross-build from Linux
2014-09-28 23:28:29 -05:00
Michael Davidsaver
76dc827e29
libCom/test: link w/ winsock to get htons/htonl
2014-09-26 18:55:26 -04:00
Andrew Johnson
b06ea01a18
Fix Windows build issue in epicsMMIODef.h
2014-09-26 16:40:44 -05:00
Andrew Johnson
a9e048b483
Fix gdd dependency issue from MacOS X
2014-09-26 15:31:20 -05:00
Andrew Johnson
5ae6dd3a7c
Merged devlib2mmio branch
2014-09-26 14:28:28 -05:00
Andrew Johnson
abc3417623
Merged stacktrace-1 branch
2014-09-26 12:46:16 -05:00
Andrew Johnson
fcbb159766
Fix gdd dependency warnings
2014-09-26 10:40:50 -05:00
Andrew Johnson
fccbccbc09
Merged dbServer-api branch
2014-09-26 10:21:40 -05:00
Andrew Johnson
60459effaa
Merged the gen-pkg-config branch
2014-09-26 10:13:01 -05:00
Andrew Johnson
abff9a6954
Improve epicsSockResolveTest tests.
2014-09-26 10:11:47 -05:00
Andrew Johnson
8fde7fb4f3
Merged changes from 3.14 branch
...
Fixed issues building on Solaris.
Up to revno 12497.
2014-09-25 16:34:12 -05:00
Andrew Johnson
c078a9cef8
Replaced split with a single regex
2014-09-25 16:24:23 -05:00
Michael Davidsaver
7a3e52b647
comment in configure/RULES_EXPAND
2014-09-25 16:49:44 -04:00
Michael Davidsaver
3fe84c5ace
src/tools: export additional variables to pkg-config
...
No need for new names/capitalization
2014-09-25 16:49:40 -04:00
Michael Davidsaver
5e9b225a2e
src/tools: ensure epics-base.pc is generated only for EPICS_HOST_ARCH
2014-09-25 14:04:10 -04:00
Michael Davidsaver
2f577c136c
expandVars.pl: correctly handle macro values containing '='.
2014-09-25 13:24:41 -04:00
Michael Davidsaver
b1918c1e31
allow expandVars for all targets
2014-09-25 11:50:13 -04:00
Andrew Johnson
e1eac6657d
confiugre: Update the vxWorks Intel build configurations
...
Wind River changed from cc386 to ccpentium many years ago.
2014-09-24 16:53:44 -05:00
Andrew Johnson
d73b4eb470
Fix epicsSockResolveTest, host is now a real TLD
2014-09-23 15:31:53 -05:00
Andrew Johnson
82f24149d9
Improve error handling of dbdExpand.pl
2014-09-23 15:11:40 -05:00
Andrew Johnson
32ca04dda8
Make stdRecords.dbd depend on rec/Makefile
2014-09-23 15:10:49 -05:00
Andrew Johnson
c8a7179ab8
Added dbd dependency.
2014-09-23 15:09:26 -05:00
Andrew Johnson
a721794da7
Missed installing asSub.dbd
2014-09-23 15:07:55 -05:00
Andrew Johnson
5bee899f25
Merged Janet's dbdcat branch
2014-09-22 16:12:57 -05:00
Andrew Johnson
22db10da16
std: Reintroduce manually-created base.dbd file
...
The auto-generated base.dbd file has all the includes fully
expaded out before installation, which prevents IOC applications
from being able to replace manuScan.dbd and menuconvert.dbd
2014-09-22 16:09:46 -05:00
Andrew Johnson
92f5e5775d
Restructured patch.
...
* Move the construction of the .pc files into src/tools
* Make more use of the built-in rules for variable substitution
* Make PKGCONFIG an Makefile variable for installing .pc files
* Use EPICS_PATCH_LEVEL for the final digit in the version number
2014-09-19 16:37:56 -05:00
Keenan Lang
bd3a030da8
remove unneeded forward declaration
2014-09-19 13:24:15 -05:00
Keenan Lang
688e821f3a
remove macEnvExpandTest from epicsRunLibComTests.c
2014-09-19 13:21:43 -05:00
Till Straumann
a018720511
- use time() instead of clock_gettime();
...
- when comparing modification to program start time use >= instead of >
2014-09-19 10:17:28 -07:00
Ralph Lange
e7d186eaf8
ioc/db: use dbFindMenu() in callback.c
2014-09-19 13:09:52 +02:00
Ralph Lange
1a8620f03e
documentation: add parallel callback threads to RELEASE_NOTES
2014-09-19 10:13:29 +02:00
Till Straumann
f278ba656b
- fixed c++ warnings
2014-09-18 14:06:04 -07:00
Till Straumann
d925772857
- fixed c++ warnings
2014-09-18 14:05:32 -07:00
Till Straumann
bbfb69ed8d
- implemented suggestion by Michael Davidsaver: when reading ELF files
...
check modifification time against program start time and warn if the
file was modified more recently since it could be out of date.
2014-09-18 12:19:47 -07:00
Till Straumann
012ee68199
- made osdBackTrace/osdFindAddr c++ sources to be more flexible for
...
implementations. Fixed compiler warnings (c++ more picky than cc).
2014-09-18 12:18:48 -07:00
Ralph Lange
6225602777
ioc/db/test: fix dbPutLinkTest.c to compile on Windows
2014-09-18 10:51:09 +02:00
Keenan Lang
79cb473b6a
tests all pass now.
2014-09-17 17:22:04 -05:00
Andrew Johnson
02afb98f38
Reject NULL callback functions in ca_array_*_callback
...
Fixes lp:1369626
2014-09-17 10:21:07 -05:00
Andrew Johnson
6e3e14448a
Increase context string to 40 characters.
2014-09-17 10:12:40 -05:00
Michael Davidsaver
b3c1fef110
cleanup callback and callback*Test
2014-09-16 18:55:27 -04:00
Keenan Lang
73b09f4976
Adding scoping test, combining some aspects of macEnvTest to allow removal of that test.
2014-09-16 13:55:40 -05:00
Keenan Lang
4cd8a41ce5
Updated macDefExpandTest to keep from dereferencing NULL
2014-09-15 16:59:11 -05:00
Michael Davidsaver
3bb8536494
dbAccess: dbPut() handle changing BPTR
...
Forgot to update dbPut(), oops...
2014-09-15 11:42:38 -04:00
Michael Davidsaver
6d678eca60
std/rec/test: test dbGet() and dbPut() for array field
...
test with waveform record to check that DBADDR
modifications aren't seen by the caller.
2014-09-15 11:42:38 -04:00
Andrew Johnson
42f0b9be21
Posix: Fix how we check POSIX features
...
Darwin defines some macros as -1, which means unsupported.
2014-09-11 17:08:49 -05:00
Janet Anderson
840669563c
Updated concatenated database definition files
2014-09-11 15:18:57 -05:00
Janet Anderson
81fdbdebd9
Added dummy for solaris build.
2014-09-11 09:10:44 -05:00
Till Straumann
f1bb532307
- simplified some code
...
- epicsStackTrace.c provides generic epicsStackTraceGetFeatures() testing
the 'epicsBackTrace()' functionality. Call out to epicsFindAddrGetFeatures()
to inquire about symbol lookup support.
2014-09-10 12:04:36 -07:00
Till Straumann
0252dd1905
- simplified code
...
- provide epicsFindAddrGetFeatures() instead of epicsStackTraceGetFeatures()
2014-09-10 12:03:50 -07:00
Till Straumann
a2339b9219
- WIN32 can now use default osdFindAddr (until symbol lookup is implemented)
2014-09-10 12:03:04 -07:00
Till Straumann
cc04994d12
- updated copyright info
...
- let epicsFindAddr clear out returned symbol info
- provide epicsFindAddrGetFeatures instead of epicsStackTraceGetFeatures
2014-09-10 12:01:50 -07:00
Till Straumann
fad25a3b11
- cleanup
...
- reduced epicsStackTraceGetFeatures to epicsFindAddrGetFeatures
2014-09-10 12:00:51 -07:00
Till Straumann
438863ebd9
- updated copyright info
2014-09-10 12:00:08 -07:00
Andrew Johnson
431e87f95c
libCom/posix: Drop SCHED_FIFO before exec() in child process
...
osiSpawnDetachedProcess() switches to SCHED_OTHER after fork() so
the new program will not be real-time unless is requests it itself.
Only happens when USE_POSIX_THREAD_PRIORITY_SCHEDULING = YES
2014-09-09 18:06:09 -05:00
Janet Anderson
069a40ac46
Concatenated database definition files
2014-09-09 15:58:04 -05:00
Janet Anderson
09e2926c7b
Added concatenated database definition files
2014-09-09 13:29:16 -05:00
strauman
6890166376
- renamed:
...
src/libCom/osi/os/posix/osdBackTrace.c => src/libCom/osi/os/posix/osdExecinfoBackTrace.c
src/libCom/osi/os/posix/osdFindAddr.c => src/libCom/osi/os/posix/osdElfFindAddr.c
not all 'posix' platforms can use the above versions (since the used APIs are not really POSIX)
but a subset can. The platforms which can use either version #include it from 'their'
osdBackTrace.c/osdFindAddr.c.
2014-09-08 23:28:30 -07:00
Till Straumann
51f5a2fc99
- fixed illegal void* pointer arithmetic by casting to char*
2014-09-08 23:09:18 -07:00
Till Straumann
252af56144
- renamed symbol that clashed on solaris
2014-09-08 23:08:33 -07:00
Till Straumann
278a8dac05
- solaris implementation of epicsBackTrace() via walkcontext()
2014-09-08 23:07:51 -07:00
Till Straumann
0b76aa2de1
- turn off frame-pointer optimization (otherwise stack trace capture
...
does not work).
2014-09-08 22:31:47 -07:00
Till Straumann
8477dec61f
- added windows versions of osdBackTrace.c, osdFindAddr.c; the latter
...
does not implement addr->symbol conversion yet.
2014-09-08 22:31:11 -07:00
Till Straumann
8931954d28
- fixed illegal void* pointer arithmetic (by casting to char*)
2014-09-08 22:30:34 -07:00
Till Straumann
954ba66027
- fixed illegal void* pointer arithmetic by casting to char*
...
- removed more unused stuff
2014-09-08 22:29:46 -07:00
Till Straumann
4e1677a38f
- (hopefully) correct usage of sharedLib.h...
2014-09-08 22:28:41 -07:00
strauman
e349b3ab94
- first stab at breaking stack trace facility into separate files
2014-09-08 19:41:06 -07:00
Andrew Johnson
3f88273d0f
Linux builds: Define _GNU_SOURCE and _DEFAULT_SOURCE
...
These replace the mixture of macros used to pick the features
presented by the standard system header files on Linux.
Updated the section of the CA reference manual that showed some
example compile lines to correct for 3.15 build changes.
Removed unused code & out-of-date comments.
2014-09-08 17:57:18 -05:00
Till Straumann
fa41fcbe40
- use unistd's _POSIX_MAPPED_FILES to determine if a system has mmap.
2014-09-08 08:10:16 -07:00
Till Straumann
9dd130afb6
- forget about backtrace_symbols() -- always use 'dladdr'. (The former
...
is non-standard either and AFAIK always based on the latter.) Always
using dladdr allows us to precisely control the printout formatting
and keep it consistent.
2014-09-05 15:29:32 -07:00
Till Straumann
423709b795
- call first epicsStackTraceRecurseGbl() through function pointer -- clang
...
(darwin) had optimized it away.
2014-09-05 11:17:17 -07:00
Till Straumann
fd9fed2262
- canonicalized printout formatting
...
- added EPICS_STACKTRACE_DYN_SYMBOL
- added USE_DLADDR branch (which is a 'super' of USE_ELF, i.e., the latter
depends on the former)
2014-09-04 10:59:39 -07:00
Till Straumann
68429f03f2
- added EPICS_STACKTRACE_DYN_SYMBOL
2014-09-04 10:58:27 -07:00
Andrew Johnson
7a9407d7ab
libCom: Clean up MS compiler warnings.
...
This doesn't fix the Microsoft link failure though, that may
need an upgrade of MS Visual Studio on our Hudson Windows VM.
2014-09-04 11:07:59 -05:00
Andrew Johnson
c8e18c1b4d
ioc/db/test: Fix dependency problems.
...
dbLockTest.c never actually uses xRecord.h, while
dbPutLinkTest needed a depedency rule for it.
2014-09-03 22:59:34 -05:00
Till Straumann
fab9ef6147
- added test case for library symbols
...
- replaced TABs by spaces
2014-09-03 13:23:23 -07:00
Till Straumann
4352a1df59
- replaced TABs by four blanks
2014-09-03 09:39:15 -07:00
Till Straumann
f399b354e6
- replaced TABs by four blanks
2014-09-03 08:13:15 -07:00
Keenan Lang
6d4e284ab1
Added note to fixme comment to state that a function is relying on its current setup.
2014-09-02 17:21:42 -05:00
Keenan Lang
85936ff34c
Darwin's osdEnv.c was updated while I was working on this, changed my updated version to match.
2014-09-02 16:55:32 -05:00
Keenan Lang
ee197893e7
removing some extra whitespace to cleanup the diff
2014-09-02 16:44:47 -05:00
Keenan Lang
64a98452e3
epicsEnvSet clears macros before setting environment variable to ensure intuitive use of the function in nested iocsh calls. While adding this functionality, fixed a latent bug in macPutValue where if you tried to NULL a macro with the same name as an environment variable, you would go into an infinite loop.
2014-09-02 16:35:32 -05:00
Ralph Lange
4081935904
std/filters: fix bug in Makefile (showed up on Windows, not on Linux)
2014-08-29 16:33:47 -07:00
Ralph Lange
f88cc071fc
configure, ioc/db: remove clutter left by rebase, add rule for pm to html generation (include pm in ..)
2014-08-29 16:33:11 -07:00
Ralph Lange
127af22c34
configure: improve log output for generated html
2014-08-29 16:30:27 -07:00
Michael Davidsaver
7f7e63fee1
dbScan.c: clarify ioeventCallback
2014-08-29 15:43:16 -07:00
Till Straumann
16bef44e5d
- print header message
2014-08-29 15:03:56 -07:00
Till Straumann
f2626442b6
- removed message; if there is no support remain silent
2014-08-29 15:03:04 -07:00
Till Straumann
32c6888e1b
- removed message about a stack trace going to be printed
2014-08-29 15:02:20 -07:00
Till Straumann
0d323db997
- removed obsolete rule (used during development)
2014-08-29 15:00:54 -07:00
Andrew Johnson
8604d4643a
Merged Murali's memlock_all branch.
2014-08-29 10:58:55 -07:00
Ralph Lange
1bb4293967
src/tools: Set right margin to 0 in style sheet used for html docs created from pod
2014-08-28 15:42:46 -07:00
Ralph Lange
eb91f6701c
src/std/filters: Complete documentation for standard filters
2014-08-28 15:41:40 -07:00
Till Straumann
079357c242
- let default (no-op) version of stack trace print informative message
...
that stack traces are not supported.
2014-08-28 15:10:12 -07:00
Andrew Johnson
267ed50dc7
Allow unknown field attributes in record.dbd files
...
They will be noisy, but are retained in regenerated output and
won't stop the build from proceeding.
2014-08-28 14:12:28 -07:00
Ralph Lange
51c7dea070
ioc/db: make sure each priority gets at least one thread.
2014-08-28 12:30:07 -07:00
Till Straumann
768c2c02e7
- paranoia test; errlogFlush; fixed debug messages
...
1) Added a paranoia test to make sure an ill-formatted
ELF string table is not overrun if there is no NULL
char found.
2) Added errlogFlush() before and after stack dump (suggestion
by Michael Davidsaver, thanks).
3) Fixed (out of sync) debug messages.
2014-08-28 11:43:46 -07:00
Till Straumann
47408ed14c
- indentation
2014-08-28 11:43:18 -07:00
Ralph Lange
648bf6a808
std/filters: add tagged configuration options to dbnd and sync plugins
2014-08-28 11:24:48 -07:00
Ralph Lange
17da152e22
ioc/db/test: add test for tagged plugin configuration
2014-08-28 11:24:09 -07:00
Ralph Lange
bc1cd15852
ioc/db: add optional "tagged" plugin configuration (sets integer tag and any value in one step)
2014-08-28 11:23:22 -07:00
Till Straumann
5a06c118c8
- added unit test for epicsStackTrace
2014-08-28 10:50:03 -07:00
Till Straumann
ccb5be72dd
- consistent naming: 'StackTrace' everywhere...
2014-08-28 10:49:22 -07:00
Till Straumann
8b2b03482f
- consistent naming: 'StackTrace' everywhere.
2014-08-28 10:47:59 -07:00
Andrew Johnson
7629cf818a
Add epicsScanLLong and epicsScanULLong macros and tests.
2014-08-27 23:29:19 -07:00
Andrew Johnson
bdd495acae
Document the 64-bit integer types and support routines.
2014-08-27 22:35:21 -07:00
Andrew Johnson
b0cdaddebc
Added 64bit and long long epicsParse* functions
2014-08-27 22:21:30 -07:00
Andrew Johnson
9471488796
Add strtoll() and strtoull() for VxWorks
...
These are not yet provided even in VxWorks 6.9.
2014-08-27 22:11:08 -07:00
Till Straumann
4459ca0ad8
- merged stacktrace onto current 3.15 tip (Thanks Andrew for his help)
2014-08-27 14:34:05 -07:00
Murali Shankar
67ed5d1f21
Added documentation for memlock_all to the release notes
2014-08-27 12:15:04 -07:00
Keenan Lang
9d0be21cc1
MAC_HANDLE's in iocshBody weren't being created with environment variables.
2014-08-27 13:31:16 -05:00
Keenan Lang
b2c2d9b7d6
Tests changed to accomodate macDefExpand's different args
2014-08-27 13:17:15 -05:00
Keenan Lang
4497e8d5f4
Updated macLibREADME
2014-08-27 11:41:27 -05:00
Keenan Lang
2d3db2036b
Updated iocshBody to keep track of macro context to allow scoping of macro variables from iocshRun/Load
2014-08-27 11:33:14 -05:00
Murali Shankar
1b7c161f7f
On POSIX systems, an IOC application's ability to meet timing deadlines is often
...
dependent on its ability to lock part or all of the process's virtual
address space into RAM, preventing that memory from being paged to the swap
area. This patch will attempt to lock the process's virtual address space into
RAM if the process has the ability to run threads with different priorities. If
unsuccessful, it prints an message to stderr.
In Linux, one can grant a process the ability to run threads with different
priorities by using a command like ulimit -r unlimited. To use the FIFO
scheduler, use a command like so - chrt -f 1 softIoc -d test.db
In Linux, one can grant a process the ability to lock memory by using a command
like ulimit -l unlimited. Alternatively, these limits can be configured on a per
user/per group basis by using /etc/security/limits.conf or its equivalent.
In Linux, a child process created via fork inherits its parent's resource
limits. Thus, it is probably a good idea to start the caRepeater before
starting the IOC.
2014-08-26 17:29:27 -07:00
Ralph Lange
f40c25723d
libCom/osi: Fix for MinGW32 builds on Windows
2014-08-26 17:14:35 -07:00
Andrew Johnson
0d33e8a872
epicsStdio.c allow stderr from inside epicsThreadInit()
...
Circular initialization problem that Murali discovered when you
try to fprintf(stderr) from the posix/osdThread.c once() routine.
This change lets the stderr stream through in that case.
2014-08-26 16:40:02 -07:00
Andrew Johnson
83d22ce164
libCom: Darwin has setenv(), use it.
2014-08-26 14:51:18 -07:00
Ralph Lange
08bf6a1081
ioc/db: fix bug in callback thread initialization
2014-08-26 11:58:42 -07:00
Ralph Lange
862abba4cb
ioc/db: fix bug in callback.c
2014-08-26 10:58:59 -07:00
Ralph Lange
bd0c759af3
ioc/db: change call back queue wakeup algorithm (only wake when threads are sleeping and enough work in the queue)
2014-08-26 10:36:32 -07:00
Ralph Lange
15415b5590
Merge from parallel-cbthreads-2: return value for callbackRequest, add tests
2014-08-25 14:40:37 -07:00
Andrew Johnson
2aea693faf
Merged Jeff's 3.15_libcom_from_cvs_trunk branch.
2014-08-25 16:27:18 -05:00
Ralph Lange
ca8eda8090
Merge (cherry-pick) original parts from parallel-cbthreads branch
2014-08-25 13:40:18 -07:00
Keenan Lang
00bb3d1e67
iocshLoad now works as iocsh with no parameters
2014-08-22 14:25:41 -05:00
Keenan Lang
1ad6ff03b3
Changed iocshLoadFile to iocshLoad and added iocshRun as the macro version of iocshCmd
2014-08-22 11:50:24 -05:00
Keenan Lang
4f1f7dd83b
Updated macLib documentation
2014-08-21 17:13:00 -05:00
Keenan Lang
8750ff8807
macDefExpand test file
2014-08-21 16:55:26 -05:00
Keenan Lang
28a01eb572
Added macDefExpand tests to libCom Test Harness
2014-08-21 16:54:39 -05:00
Keenan Lang
dfe6515809
offset by a space
2014-08-21 16:12:11 -05:00
Keenan Lang
76bd45cb45
Reverted calls that didn't need to use macDefExpand to single parameter
2014-08-21 16:09:21 -05:00
Keenan Lang
6d3b70251c
Returned macEnvExpand to original parameters, added macDefExpand
2014-08-21 16:05:55 -05:00
Keenan Lang
6d38cc1f76
Returned iocshCmd to it's original function signature, added iocshLoadFile instead
2014-08-21 15:19:50 -05:00
Keenan Lang
77f1fc0504
Missed a few whitespace
2014-08-20 17:01:36 -05:00
Keenan Lang
6ebbf0dd8c
Whitespace changes snuck in due to editor
2014-08-20 16:58:50 -05:00
Keenan Lang
8d33108dd8
changed msi.c's use of macEnvExpand to have NULL macros
2014-08-20 13:28:55 -05:00
Keenan Lang
5798574d62
dbLexRoutines calls macEnvExpand as well, doesn't need macros, so added NULL's
2014-08-19 16:50:49 -05:00
Keenan Lang
0cb495bdb3
Sidestepping testing in macEnvExpandTest
2014-08-19 16:44:15 -05:00
Keenan Lang
69c7f0b065
Changing macEnvExpand to accomodate macro definitions
2014-08-19 16:40:51 -05:00
Keenan Lang
ab94bb46f2
Changing iocshCmd to idealized syntax
2014-08-19 16:34:41 -05:00
Michael Davidsaver
7f5fc4356b
generate pkg-config files
2014-08-19 11:16:01 -04:00
Andrew Johnson
9079c8aa53
Reverted changes to epicsTime.h and epicsThread.h
2014-08-18 22:55:07 -05:00
Andrew Johnson
c85bd908a3
makeBaseApp tempplate: OPT settings
...
Eric suggested mentioning the HOST_OPT and CROSS_OPT settings
in the application template's configure/CONFIG_SITE file.
2014-08-18 16:16:02 -05:00
Andrew Johnson
5e0bf53fec
epicsTypes.h: Don't use C99 types
...
The __STDC_VERSION__ >= 199901L test never succeeds
in C++, and there were issues with the epicsInt8
definition anyway (int8_t is signed, but char might
not be).
I also removed the epicsBoolean enum which we never use.
2014-08-15 12:24:31 -05:00
Michael Davidsaver
b7e46b8b02
rsrv: better error msg when listen() fails
2014-08-13 14:26:03 -04:00
Andrew Johnson
cafebf2428
Merged Ralph's fix-nan-inf-updates branch.
...
Added a few cosmetic changes en route.
2014-08-05 15:51:52 -05:00
Andrew Johnson
547a9b3ebc
Tweak some dependency rules for correctness
2014-08-05 14:03:37 -05:00
Ralph Lange
e6a883bc5f
std/rec/test: explicitly register test subroutine for subroutine record (fix build on MinGW)
2014-08-05 14:29:14 +02:00
Ralph Lange
fdb21252b0
ioc/db (recGblCheckDeadband): avoid signbit() which does not exist on older MSVC installations
2014-08-05 11:20:23 +02:00
Ralph Lange
130d98463c
ioc/db (recGblCheckDeadband): pull most common case to front
2014-08-05 11:17:29 +02:00
Ralph Lange
ded1f3572d
ioc/db: force isnan()/isinf() to be 1 (instead of non-zero)
2014-08-05 10:42:25 +02:00
Andrew Johnson
cc656981c0
MSI testing
...
When testing the msi program, don't rely on EPICS_HOST_ARCH
to find the binary executable as we may be running the tests
on a cross-arch such as linux-x86-debug.
2014-08-04 15:39:02 -05:00
Michael Davidsaver
fb3314ea45
analogMonitorTest: char array too small
2014-08-04 13:43:37 -04:00
Michael Davidsaver
73a64bc89f
quiet some warnings
...
unused variable iseq
undefined struct dbBase
2014-08-04 13:28:47 -04:00
Michael Davidsaver
96b082d3e4
fix makefile typo
2014-08-04 12:26:31 -04:00
Andrew Johnson
aedea0da37
default/osdSpin.c add missing #include "cantProceed.h"
...
Also adjusted some error messages for common style.
2014-08-02 23:15:43 -05:00
Andrew Johnson
b7f8f17227
blockingSockTest: Undo member renames using m_ prefix
...
Using the m_ prefix to denote class data members is dangerous in
code that has to compile on VxWorks 5.5 (which 3.15 does) because
the net/mbuf.h header contains the following macro definitions:
#define m_next mBlkHdr.mNext
#define m_len mBlkHdr.mLen
#define m_data mBlkHdr.mData
#define m_type mBlkHdr.mType
#define m_flags mBlkHdr.mFlags
#define m_nextpkt mBlkHdr.mNextPkt
#define m_act m_nextpkt
#define m_pkthdr mBlkPktHdr
#define m_ext pClBlk
#define m_extBuf m_ext->clNode.pClBuf
#define m_extFreeRtn m_ext->pClFreeRtn
#define m_extSize m_ext->clSize
#define m_extRefCnt m_ext->clRefCnt
#define m_extArg1 m_ext->clFreeArg1
#define m_extArg2 m_ext->clFreeArg2
#define m_extArg3 m_ext->clFreeArg3
#define m_copy(m, o, l) m_copym((m), (o), (l), M_DONTWAIT)
#define m_copym(m, o, l, w) netMblkChainDup(_pNetDpool, (m), (o), (l), (w))
#define m_freem(m) netMblkClChainFree(m)
#define m_free(m) netMblkClFree(m)
#define m_mbufs mNum
#define m_drops mDrops
#define m_wait mWait
#define m_drain mDrain
#define m_mtypes mTypes
While the names in the original change all appear to be safe, I
don't want us to start using this convention because we will then
have to police commits more closely or risk build failures in the
future when someone who doesn't know about or remember the issue
can't or doesn't try building their code against VxWorks 5.5.
I don't particularly like the this-> convention to mark member
names either, but until the VxWorks 5.5 support requirement goes
away the m_ convention is worse. Another common convention of
using a leading underscore is not safe either, those names are
reserved for the C/C++ implementation.
2014-08-02 14:02:43 -05:00
Andrew Johnson
8d5cdc3747
Fix typo in macro name
...
Not that it really matters since only VxWorks and RTEMS actually
compile this file and they don't have shared libraries...
2014-08-02 13:13:49 -05:00
Andrew Johnson
f1a59aa64a
Use epicsUInt types, stdint.h is not found on all platforms
2014-08-02 13:09:07 -05:00
Andrew Johnson
6767f5089f
threadPool: Replaced errno.h status values with S_pool_* ones
...
ETIMEDOUT is not provided on MinGW.
2014-08-01 17:55:53 -05:00
Andrew Johnson
59a0fa9364
Fix vxWorks again, passes the tests on all my CPUs now.
2014-08-01 16:06:17 -05:00
Ralph Lange
a5fe64a8ad
dev, rec: Fix smoothing for NaN/+inf/-inf values in ai record and soft support
2014-08-01 17:20:55 +02:00
Andrew Johnson
fcd0a4c75d
Fixes for VxWorks implementation.
2014-07-31 15:43:35 -05:00
Michael Davidsaver
d05f2e6062
dbPutLinkTest: check HW link parsing
2014-07-31 16:22:02 -04:00
Michael Davidsaver
e09066cfab
dbPutLinkTest: check parsing of CA_LINK
2014-07-31 16:22:01 -04:00
Michael Davidsaver
40838579af
iocShutdown: cleanup links
2014-07-31 16:22:01 -04:00
Michael Davidsaver
9f53417a8d
add dbCaLinkInitIsolated()
...
Initialize dbCa workList lock so that CA_LINK
creation in test code doesn't crash.
Once created links will never connect.
clean up workList for unittest when dbCaShutdown
is called state is already exit.
2014-07-31 16:22:01 -04:00
Michael Davidsaver
29490f24c7
dbFreeLinkContents: missing case for RF_IO
2014-07-31 16:22:01 -04:00
Andrew Johnson
ab78480d54
Merged spinlockfix branch.
...
Some last-minute fixes for VxWorks build warnings.
2014-07-31 12:45:40 -05:00
Andrew Johnson
63d2d8de33
Merged cas-intf-addr-list branch.
2014-07-31 11:34:10 -05:00
Andrew Johnson
68bcc77885
Merged alarm-strings branch.
2014-07-31 10:17:24 -05:00
Andrew Johnson
b0a330f22a
Document changes.
2014-07-30 18:03:34 -05:00
Ralph Lange
01dcbed948
ioc/db/test: add test for recGblCheckDeadband()
2014-07-30 13:36:26 +02:00
Ralph Lange
edafb56273
std/filters: make dbnd filter use recGblCheckDeadband()
2014-07-30 10:37:10 +02:00
Ralph Lange
f354f880cc
std/rec: make all analog type records use new recGblCheckDeadband()
2014-07-30 10:36:24 +02:00
Ralph Lange
6f41e11804
ioc/db: add recGblCheckDeadband() to recGbl library
2014-07-30 10:35:03 +02:00
Andrew Johnson
64c45961ff
configure: Fix missing dependency files
...
Dependency files were not being created for sources that
were only listed in x_SRCS_class variables, because the
code that added those to the x_SRCS var was running after
we had already loaded the dependency files.
2014-07-29 18:16:53 -05:00
Andrew Johnson
b3afbea7cf
Merged Michael's thread-pool branch.
...
Made various formatting changes, and fixed one problem in the
test program which failed a test on UP machines.
2014-07-29 16:05:24 -05:00
Andrew Johnson
41502f9525
db: Remove status message from dbpf
...
The status returned from dbPutField() can now include errors from
the record processing such as a link alarm, so it doesn't mean
what it used to and printing the error might be wrong.
Now we just return the status value.
2014-07-29 12:46:38 -05:00
Michael Davidsaver
716f2679a7
thread pool: don't use reserved names
...
Avoid global symbols with leading underscore
2014-07-29 12:21:07 -04:00
Michael Davidsaver
b1a8b2f20e
thread pool: switch thread counts to unsigned int
...
size_t is considered overly optimistic
2014-07-29 12:18:19 -04:00
Michael Davidsaver
6fee83900e
don't include errCommon.h
...
doesn't exist anymore
2014-07-29 12:06:24 -04:00
Michael Davidsaver
6d11cba513
add missing TESTFILES
2014-07-29 10:32:47 -04:00
Ralph Lange
c8946b4fc2
std/rec: fix inf handling in select record
2014-07-29 15:19:12 +02:00
Ralph Lange
633ef60514
std/rec: fix NaN/inf bug in deadband algorithm of analog records
2014-07-29 15:16:37 +02:00
Ralph Lange
d86723d62a
std/rec/test: add test for deadband mechanism of analog record types
2014-07-29 15:13:10 +02:00
Michael Davidsaver
e2461e97ff
dbLockTest: test creation of DB links
2014-07-28 14:33:17 -04:00
Andrew Johnson
75da9fd454
Moved dlopen version of osdFindSymbol.c into posix
...
It was identical in solaris, Darwin and Linux, and had
not been included for cygwin so this reduces duplication.
2014-07-28 12:27:02 -05:00
Andrew Johnson
152e8865cc
Cleaned up exampleApp Makefiles
2014-07-28 11:38:30 -05:00
Ralph Lange
69e8c4b48e
std/rec: Improve subRecord error messages
2014-07-28 16:19:42 +02:00
Andrew Johnson
5708855c36
Release Notes for loading support.
...
To Do:
* Test that -l the flag to registerRecordDeviceDriver.pl works
as expected on Windows.
* Modify example template, or create a new template.
* Work out if/how this affects VxWorks, can we generate a munch
file that works the same way as a shared library?
* Test on all arch's, especially Darwin & Windows.
2014-07-28 00:52:34 -05:00
Andrew Johnson
4b1fd8cba0
Modify registerRecordDeviceDriver for loadable support
...
Don't generate code to register record types that have only
been declared, i.e. that have no fields defined in them.
This allows libraries to created which only contain device
support without the record types that they support. The
library must have a DBD file that may declare the record
types (to avoid generating a warning) and also contains any
other device(), variable(), function() and registrar()
entries for software included in the library.
Adds -l flag to the registerRecordDeviceDriver program,
which results in epicsExportSharedSymbols being defined
and shareLib.h being reloaded so the generated output file
can be linked into the library that it is registering.
This aspect has not been tested on Windows DLLs yet.
2014-07-28 00:18:37 -05:00
Andrew Johnson
163cf7971d
Errors from the DBD Parser should stop dbdExpand
...
Such errors used to be just warnings, now they stop the output
file being generated unless the -D flag was given.
2014-07-28 00:16:16 -05:00
Andrew Johnson
a2d511b6e9
DBD parser accepts record type declarations
...
Record types are the only DBD entries for which the parser
will not accept redefinitions. This change lets it accept
a record type declaration any number of times. However once
a record type declaration has been parsed the full record
type definition cannot be loaded, an error will be raised
if the full definition is seen. The parser will still not
accept a full record type definition more than once either,
any later copies of the record type must be declarations.
2014-07-27 23:55:47 -05:00
Andrew Johnson
8eed4cdd88
Perl DBD Parser: Autovivify record types in device() entries
...
If a record type named in a device() entry does not exist when
the device is seen, the DBD parser will now print a warning
and create an empty record type with that name to hold the
device entry information.
This will allow support modules to be built into libraries that
include their own registerRecordDeviceDriver code, which was
apparently possible with 3.14 although not officially supported.
To avoid the warning message, the DBD file can declare each
record type before the device statement that uses it.
A record type declaration looks like this:
recordtype(ao) {}
device(ao, ....)
An IOC will accept and ignore a record type declaration, but it
must have loaded the full record type definition first.
2014-07-27 23:37:58 -05:00
Andrew Johnson
ee40ee789c
dbStatic: Allow empty recordtype bodies in DBD files
...
A record type with an empty body is a declaration. The IOC will
accept one of these in a DBD file as long as it has already
loaded the full record type definition.
This will allow device support to provide a DBD file that declares
each record type it uses before giving the related device() entry.
Later commits will explain why.
2014-07-27 23:26:01 -05:00
Andrew Johnson
c710a3a898
dbStatic/dbLexRoutines.c fix error message
2014-07-27 15:41:49 -05:00
Andrew Johnson
2de36d3273
Fix lock-set initialization properly.
2014-07-25 17:59:59 -05:00
Michael Davidsaver
c4a1208d6e
epicsSpinTest: add to libCom test harness
2014-07-25 18:17:27 -04:00
Michael Davidsaver
9cb65e5408
epicsSpinTest: plug some leaks
2014-07-25 18:17:02 -04:00
Andrew Johnson
2a9d05248f
Fix epicsSpinTest.c spinThread tests
...
Runs many more rounds, without blocking with the lock held.
2014-07-25 16:21:03 -05:00
Andrew Johnson
752549d1c8
Fix epicsAtomic headers when used from C code
...
Several C++ and C99-isms crept in.
2014-07-25 15:05:58 -05:00
Michael Davidsaver
8fec9d6e00
epicsSpin: try lock return non-blocking
...
Avoid cantProceed() in try lock, even for undefined behavior.
2014-07-25 15:12:02 -04:00
Michael Davidsaver
5824f98972
epicsSpinTest: fix verifyTryLock()
...
avoid sleeping with a spinlock held.
Now test only works on SMP systems.
2014-07-25 15:11:54 -04:00
Michael Davidsaver
9d03275c53
iocInit: ensure dbLock cleanup after iocShutdown cleanup
...
by making dbLock init before initDatabase()
2014-07-25 13:49:55 -04:00
Michael Davidsaver
b5fe4abfa8
switch to use sysInWord and friends
2014-07-25 11:15:27 -04:00
Michael Davidsaver
95b916ecd4
thread pool: mark epicsJobCreate() as safe for job functions
...
Also, use epicsJobMove() to avoid some redundant code
2014-07-25 10:16:20 -04:00
Michael Davidsaver
cbfbce54f9
thread pool: epicsThreadPoolWait return ETIMEOUT
2014-07-25 09:59:46 -04:00
Michael Davidsaver
b3a1fe9c6b
thread pool: fix return of epicsJobUnqueue()
...
Return 0 on success (was queued, now is not),
1 if not queued initially, and EINVAL
if orphaned.
2014-07-24 18:56:27 -04:00
Michael Davidsaver
83dfc7980d
thread pool: handle failure to create worker
...
epicsJobQueue() returns EAGAIN when the first worker
can't be lazily created.
Failure to create workers beyond the first is
silently ignored.
2014-07-24 18:50:19 -04:00
Michael Davidsaver
69d1063067
thread pool: epicsJobQueue return EPERM
...
When pool control prevents operation
2014-07-24 18:19:33 -04:00
Andrew Johnson
9b6e270b97
Final spinlock tidying-up
...
* Abort epicsSpinTest() if epicsSpinCreate() returns NULL
* Adjust RELEASE_NOTES that describe the implementations.
2014-07-24 16:33:35 -05:00
Michael Davidsaver
fc4119094f
thread pool: epicsThreadPoolGetShared accepts NULL as defaults
2014-07-24 14:44:28 -04:00
Michael Davidsaver
fd2edfe94c
release notes
2014-07-24 14:22:52 -04:00
Michael Davidsaver
01a50b5165
thread pool test
2014-07-24 14:22:52 -04:00
Michael Davidsaver
658bd0b570
thread pool implementation
2014-07-24 14:22:52 -04:00
Michael Davidsaver
a8fd14aae1
Thread pool API
2014-07-24 14:22:52 -04:00
Michael Davidsaver
87a6688c17
epicsSpin: remove redundant cantProceed() messages
2014-07-24 10:23:55 -04:00
Ralph Lange
ae518f6e3e
ioc/db/test: Fix Windows build
2014-07-24 14:06:11 +02:00
Michael Davidsaver
3ba5bf943e
epicsSpin: better error messages when mis-use is detected
2014-07-23 18:40:08 -04:00
Andrew Johnson
846ef343e3
Merged ioc-shutdown2 branch.
2014-07-23 16:59:12 -05:00
Andrew Johnson
6bdb8f911a
Suppress errlog output of expected warning messages.
2014-07-23 16:18:32 -05:00
Michael Davidsaver
0bf17be9e3
mmio: vxWorks m68k use default, add weak symbols for old versions
2014-07-16 15:12:56 -04:00
Michael Davidsaver
0bcfbd0ffc
remove unused
2014-07-14 18:16:30 -04:00
Michael Davidsaver
34f0374ca5
dbLock: yet another fix to dbLockCleanupRecords()
...
track the lockRecord allocation
2014-07-14 17:57:17 -04:00
Michael Davidsaver
3755b9eaad
dbLock: free lockSets
2014-07-11 18:49:41 -04:00
Michael Davidsaver
edf1ad0362
dbLock: another fix to dbLockCleanupRecords()
2014-07-11 18:49:41 -04:00
Michael Davidsaver
bb51281d9c
dbPutLinkTest: set # of tests
2014-07-11 16:59:22 -04:00
Michael Davidsaver
fd7a934ce3
dbPutLinkTest: test link string parsing
...
Test parsing to CONTANT and DB_LINK.
dbCa isn't initialized, so no test for CA_LINK.
2014-07-11 16:51:32 -04:00
Michael Davidsaver
f14bfaab24
dbUnitTest: add testdbGetFieldEqual()
2014-07-11 16:47:55 -04:00
Michael Davidsaver
a218bfd75c
dbLock: fix dbLockCleanupRecords
...
all lockRecord s allocated in one block. oops.
2014-07-11 16:27:41 -04:00
Michael Davidsaver
3f11fd1665
dbUnitTest: replace testdbPutField()
...
add testdbPutFieldOk() and testdbPutFieldFail()
which include calls to testPass() or testFail()
Leave testdbVPutField() as a building block.
2014-07-11 10:30:31 -04:00
Michael Davidsaver
ebc3834661
dbUnitTest: testIocInitOk/testIocShutdownOk testAbort() on failure
2014-07-11 10:28:54 -04:00
Michael Davidsaver
f85c3249ab
dbUnitTest: rename
2014-07-10 18:23:49 -04:00
Andrew Johnson
3ff49fc9b2
Fixed build errors, remove dependency on std.
...
Build errors: Include guard missing from epicsUnitTest.h;
dbShutdownTest.c was calling the non-universal strcasecmp()
instead of epicsStrCaseCmp().
ioc/db/test no longer depends on std. I modified
xRecord to make it a working record type, and simplified the
other test programs so they all use the same new expanded
dbd file rather than each making their own. I also added
dbShutdownTest() to epicsRunDbTests().
2014-07-10 14:27:44 -05:00
Andrew Johnson
2bf6d88607
templates: Quote path names in st.cmd files, permits spaces
...
Request from Eric Norum.
2014-07-01 10:55:52 -05:00
Andrew Johnson
3c91c17369
Changes for newer version of Pod::Simple::HTML
2014-06-23 22:14:35 -06:00
Andrew Johnson
5b9bee82a5
Document the sync filter.
...
Also, use enum values where we have them.
2014-06-23 22:11:52 -06:00
Michael Davidsaver
a9d4204d43
dbLock: free LSET
2014-06-23 16:28:28 -04:00
Michael Davidsaver
0c73bb9448
dbChannel: atexit
2014-06-23 16:28:27 -04:00
Michael Davidsaver
c8d9d5e952
dbLock: atexit
2014-06-23 16:28:27 -04:00
Michael Davidsaver
c838d5d870
dbBkpt: atexit
2014-06-23 16:28:26 -04:00
Michael Davidsaver
ddaa6e4eb6
dbNotify: cleanup atexit
2014-06-23 16:28:26 -04:00
Andrew Johnson
60a0c7f181
Make epicsExit subsystem reusable.
...
Calling epicsAtExit() after epicsExitCallAtExits() now
recreates the per-process list and registers the routine.
2014-06-23 16:28:25 -04:00
Michael Davidsaver
80dd66a58d
add dbUnitTest.h
...
hide boilerplate of tests using the PDB
2014-06-23 16:28:25 -04:00
Michael Davidsaver
1ae2ab1de6
dbShutdownTest
2014-06-23 16:28:24 -04:00
Michael Davidsaver
5caaf2d13c
cleanup initHook
2014-06-23 16:28:23 -04:00
Michael Davidsaver
3ca42fc838
cleanup iocsh
2014-06-23 16:28:22 -04:00
Michael Davidsaver
ad2bb0725d
asShutdown
2014-06-23 16:28:22 -04:00
Ralph Lange
2d4e143987
db/callback: add callbackShutdown() to API, add shutdown handling
2014-06-23 16:28:21 -04:00
Ralph Lange
e83bc13a5e
db/dbCa: add dbCaShutdown() to API, complete shutdown handling
2014-06-23 16:28:21 -04:00
Ralph Lange
23e22313f1
db/dbScan: add scanShutdown() to API, complete shutdown handling
2014-06-23 16:28:21 -04:00
Michael Davidsaver
564a527489
misc/iocInit: add iocBuildNoCA() and iocShutdown() to API, split up
...
iocBuild in three phases
2014-06-23 16:28:20 -04:00
Michael Davidsaver
8a42190e39
ensure the errlog is started with iocInit
2014-06-23 16:28:20 -04:00
Michael Davidsaver
f405b444a3
errlog: nicer exit handler name
2014-06-23 16:28:19 -04:00
Michael Davidsaver
a28a561d8a
epicsExit: optional debug printing
...
Add a flag to cause a string to be printed
before each handler is run to show the order.
2014-06-23 16:28:18 -04:00
Ralph Lange
8ab1f34df4
std/filters: make arrTest run location more flexible
2014-06-21 16:22:09 +02:00
Andrew Johnson
c91fe7b7d7
Fix issues found by Clang
...
These were int => size_t changes that shouldn't have been made
because the value of the variable can be negative.
2014-07-12 01:09:36 -05:00
Andrew Johnson
05367f1b33
Cleanup dbConvert
...
Windows warnings removed from testdbConvert by Michael
Major reformatting of dbConvert.c
2014-07-08 14:40:15 -05:00
Andrew Johnson
09b93f10f7
Fixed dbConvert-memmove problems
...
Test program crashed on Windows-x64.
Some dbConvert.c routines used sizeof([unsigned ]long)
instead of sizeof(epics[U]Int32).
2014-07-08 12:32:11 -05:00
Andrew Johnson
659916cb16
Fix Windows build - no math with void* pointers
2014-06-16 09:57:02 -05:00
Andrew Johnson
f3ff337a41
Merged Michael's dbConvert-memmove branch.
2014-06-13 15:42:36 -05:00
Michael Davidsaver
77ffc94677
out of caution use memmove instead of memcpy
2014-06-13 15:37:13 -04:00
Michael Davidsaver
ec576dd088
benchmark dbConvert
2014-06-13 15:37:12 -04:00
Michael Davidsaver
fe61d46153
add testdbConvert
2014-06-13 15:37:11 -04:00
Michael Davidsaver
1a0ba81d0d
dbConvert: optimize copy w/o convert
...
Use memcpy() where input and output memory representations
are the exactly the same (integer and floating point types).
Assumes 2s complement integer types and that signed and
unsigned types have the same representation.
2014-06-13 15:37:11 -04:00
Michael Davidsaver
0e28ff55c6
add include
2014-06-13 15:37:10 -04:00
Andrew Johnson
3cf2d9057f
Allow appended .db files to omit record type
...
This .db file syntax is now legal, provided the
named record already exists:
record("*", "named") {
field(VAL, 10)
}
2014-06-12 14:47:42 -05:00
Jeff Hill johill@lanl.gov
e374ee4658
patched this code to force alignment of the if request structure, which appears to be required to avoid exceptions on RTEMS with cpu architectures that detect use of misaligned addresses
2014-06-10 22:37:21 -06:00
Jeff Hill johill@lanl.gov
ba6a32fefb
protect against situations where the server name isnt specified at all in bootp/dhcp
2014-06-10 16:18:26 -06:00
Jeff Hill johill@lanl.gov
aff46bd19a
allow the NFS mount path to be embedded in the bootp server name parameter, and therefore different from the NFS mount point
2014-06-05 08:19:09 -06:00
Jeff Hill johill@lanl.gov
39b068cf0a
RTEMS support for Altera Nios2 arch
2014-06-05 08:09:33 -06:00
Ralph Lange
41bd895cd5
ioc: Fix more MSVC 12.0 warnings
2014-06-04 21:18:43 +02:00
Ralph Lange
32c2775940
ioc/dbStatic: fix bug introduced in revision 12486
2014-06-04 17:07:16 +02:00
Ralph Lange
5754dc136e
src/ioc: fix numerous warnings appearing on MSVC 12.0 / Windows (64bit)
2014-06-04 15:56:51 +02:00
Ralph Lange
f8b746287e
ioc/db/test: make chfPluginTest more flexible wrt %e formatting of double
2014-06-04 11:55:40 +02:00
Ralph Lange
e7416ce144
ioc/db: fix issue with compiler differences between MSVC and GNU (enum signedness)
2014-06-04 11:53:32 +02:00
Andrew Johnson
9e1ebf8d0f
Clean up build warnings from Darwin (clang).
2014-05-30 12:36:50 -05:00
Andrew Johnson
42a3b4fbfd
Add a ca: prefix to RSRV's identity string
2014-05-29 17:36:04 -05:00
Andrew Johnson
511b2e4f5c
Document briefly.
2014-05-29 17:34:23 -05:00
Andrew Johnson
dbe2a890ec
db: Use dbServer API
...
Setting TPRO now prints user@hostname instead of the thread
name when a record is processed as a result of a caput.
Also added the dbsr command, which currently just calls casr but
will call all registered server report routines (e.g. pvaSrv).
2014-05-29 17:11:31 -05:00
Andrew Johnson
fc8ad6b9ec
rsrv: Register with dbServer API.
2014-05-29 17:10:26 -05:00
Andrew Johnson
8857d0bb4e
Add dbServer files.
2014-05-29 17:09:08 -05:00
Andrew Johnson
c980613bd8
db/dbChannel: Rename dbr_final_type -> final_dbr_type
2014-05-29 12:31:47 -05:00
Michael Davidsaver
80b64d6a30
spinlocks update
...
add epicsSpinMustCreate()
Fix spinlock on RTEMS and vxWorks
UP systems to disable task preemption.
Don't use posix spinlocks when
thread priorities are used.
2014-05-23 15:14:49 -04:00
Ralph Lange
271e1811e3
ioc/dbStatic: make offset in field description an unsigned short, add cast to code generator
...
fixes ~2600 compiler warnings (on windows-x64)
2014-05-22 16:18:02 +02:00
Andrew Johnson
7dd5e217f6
Merged Ralph's get-cpus branch.
2014-05-19 09:44:05 -05:00
Andrew Johnson
ea1ebd0a7c
Fix some HTML character escapes.
2014-05-19 09:26:24 -05:00
Ralph Lange
722d5eeba7
libCom/osi: use epicsThreadGetCPUs implementation from thread-pool branch (posix, WIN32)
2014-05-18 17:24:38 +02:00
Ralph Lange
286bfc5215
.bzrignore: add QtCreator project files
2014-05-18 14:28:39 +02:00
Andrew Johnson
6e01fd9c3d
docs/cap5: Adjust link to CA Ref manual.
2014-04-30 12:07:30 -05:00
Andrew Johnson
2b7781c8d9
Support for Solaris 11 on x86 and SPARC.
...
Thanks to Bob Soliday for the necessary changes.
2014-04-25 16:51:28 -05:00
Andrew Johnson
9170d79ffe
libCom/test: isinf() and isnan() want doubles
...
This apparently becomes important in a newer GCC version.
2014-04-25 14:08:25 -05:00
Janet Anderson
3019a5fb07
mkmf.pl needs -I prefix on include directories.
2014-04-14 15:09:59 -05:00
Janet Anderson
2efb1d0373
mkmf.pl needs -I prefix on include directories.
2014-04-14 15:00:37 -05:00
Andrew Johnson
ca9ef80760
configure: Cancel GNUMake built-in compiler rules
...
Their rules don't have our _INC dependencies, and were
being used in the gdd build (with no -I paths).
2014-04-10 12:35:47 -05:00
Andrew Johnson
475296ad49
Modify inc dependencies
...
Using inc causes a rebuild every time; replace it with
the list of include files that the compiler might use.
Also adjust gdd build to avoid a circular dependency.
2014-04-09 16:54:26 -05:00
Andrew Johnson
e2e40a4b9f
configure: Add inc dependency to compile rules
...
The inc step must have been completed before we run
the C/C++ compilers to build any object files.
2014-04-07 12:38:03 -05:00
Andrew Johnson
f24dafa1e0
libCom: Adjust the Posix epicsMutexOSD structure
...
Make pthread_mutex_t lock the first member of the
parent structure, so it's easy to convert between them.
2014-04-01 11:09:36 -05:00
Andrew Johnson
312fdee91d
cap5: Fix fisibility of boot_Cap5
...
Old method doesn't work any more, not sure what changed.
2014-03-18 14:18:08 -05:00
Andrew Johnson
a3b5ced30b
CAref: Clean up HTML anchors
...
Only need to set name attribute on anchors, not id too.
Having both causes linklint warnings.
2014-03-14 15:43:29 -05:00
Andrew Johnson
4b18edc586
Merged changes from 3.14 branch.
...
Up to revno 12479.
2014-03-13 15:04:31 -05:00
Andrew Johnson
e63f14bc95
configure: Fix for Ben's INC_osclass issue
...
Janet developed the fix, I documented it.
2014-03-12 16:42:18 -05:00
Andrew Johnson
b1ece5d8d2
cap5: Added CA->version function
...
Documented.
2014-03-11 17:46:14 -05:00
Andrew Johnson
894771e789
docs: Update Release Notes.
2014-03-11 17:14:30 -05:00
Andrew Johnson
f5b9db9583
libCom: Fix epicsString.h comparison functions
...
The string comparison functions epicsStrCaseCmp() and
epicsStrnCaseCmp() were returning incorrect results
when the strings did not match.
These functions now match their BSD equivalents, and
have working tests to confirm their operation.
2014-03-11 17:12:41 -05:00
Andrew Johnson
7b9b2b19d3
Document changes.
2014-03-06 16:02:20 -06:00
Andrew Johnson
56cc1a638a
rsrv: Use casIntfAddrList in cast_server
...
Remove re-parsing of EPICS_CA[S]_SERVER_PORT params.
Bind the UDP socket to the first address in the list.
2014-03-06 16:00:02 -06:00
Andrew Johnson
b6defc6a7f
rsrv: Use EPICS_CAS_INTF_ADDR_LIST in req_server
...
Parse EPICS_CAS_INTF_ADDR_LIST into new ELLLIST casIntfAddrList.
Display warning if contains more than one entry.
Bind the TCP socket to the first address in this list.
2014-03-06 15:55:13 -06:00
Janet Anderson
4e1a5eefff
Set BUILD_CLASS to HOST.
2014-03-04 09:21:35 -06:00
Janet Anderson
0ba29b2eff
Set BUILD_CLASS to HOST.
2014-03-04 09:12:25 -06:00
Janet Anderson
5ad46f557c
Added static cross builds for win32-x86 and windows-x64.
2014-03-03 16:34:06 -06:00
Janet Anderson
d90f4d7976
Added static build config files for win32-x86 and windows-x64.
2014-03-03 13:31:14 -06:00
Andrew Johnson
5bdd9ddca6
Windows: Fix static builds on MinGW
...
Xiaoqiang Wang proposed some fixes that allow static builds on
the MinGW targets to succeed. Some additional changes made to
blockingSockTest.cpp also clean that up.
2014-02-25 15:56:13 -06:00
Janet Anderson
7eba398792
If T_A not defined, define DEP and look for template files in the . dir.
2014-02-24 13:01:23 -06:00
Andrew Johnson
0dc2746d68
libCom: Added echo command to iocsh
2014-02-21 15:49:15 -06:00
Andrew Johnson
1a70f1e347
libCom: Added macro EPICS_UNUSED to compilerDependencies.h
...
Stop unnecessary warnings.
2014-02-20 18:05:42 -06:00
Andrew Johnson
3fd8d4515c
libCom/test: Finish converting blockingSockTest to epicsUnitTest
...
Don't call assert() from a test program,
it stops the tests from running if the assert fails.
2014-02-20 16:36:58 -06:00
Janet Anderson
b24d7c6da6
Allow user specified db substitution file suffix.
2014-02-20 15:03:23 -06:00
Andrew Johnson
84426ea334
templates: Unify PV name prefixes, remove "Host"
...
The difference between host IOCs and embedded ones does not
justify having a different prefix.
2014-02-18 18:32:29 -06:00
Eric Norum
52f654a5a3
templates: Make st.cmd templates safe against spaces in TOP.
2014-02-18 18:21:15 -06:00
Janet Anderson
83fa03dd40
Allow user specified substitution file suffix (from Dirk Zimoch)
2014-02-17 10:20:00 -06:00
Andrew Johnson
a591857c30
configure: Fixes to iOS build rules
...
From Tom Pelaia, these should now allow compiles for the
x86-based simulator as well as for ARM-based devices.
2014-02-17 10:12:53 -06:00
Ralph Lange
6ad30c92bb
ca/legacy/pcas: fix compiler warnings (different signedness in comparison)
2014-02-16 19:29:58 +01:00
a3354f5db9
libCom: NTP Time Provider adjusts to OS tick rate changes
...
Allow the NTP Time provider (used on VxWorks and RTEMS only)
to adapt to changes in the OS clock tick rate after the provider
has been initialized.
Changing the tick rate after iocInit() is not advisable,
other software might still misbehave if initialized before
an OS tick rate change.
2014-02-13 10:09:12 -06:00
Andrew Johnson
0b374ef8a6
doc: Add newEpicsMutex to Release Notes.
2014-02-13 09:59:10 -06:00
Andrew Johnson
6ad61aea32
Fix missing spaces in ADDR_LIST formats.
2014-02-11 17:44:14 -06:00
Andrew Johnson
e1e389a2dd
Low-memory behaviour fixes.
...
Fix unchecked buffer allocation in dbChannel.c
Replace calls to epicsStrDup() with checked malloc() for
things that happen often after iocInit.
Michael Davidsaver pointed out this issue.
2014-02-07 17:19:28 -06:00
Andrew Johnson
502366fdc3
epicsMutex C++ API: New constructor and newEpicsMutex macro
...
The new constructor accepts source file & line number.
The macro passes these in.
2014-02-07 14:13:12 -06:00
Andrew Johnson
b32127c5de
libCom: Fix epicsTime::strftime() roll-over bug
...
Fractional seconds could round-up to .000 without
incrementing the integer seconds.
We can't actually do the latter, so we prevent the
roll-over and clamp at all 9's instead.
Idea from Eric Norum.
2014-01-29 16:52:22 -06:00
Andrew Johnson
3f0e633fd1
dbStatic: Clean up warning on darwin
2013-12-20 09:59:49 -06:00
Andrew Johnson
d35447fa0d
configure: 3.14 merge broke darwin builds, fixing...
2013-12-20 09:57:39 -06:00
Andrew Johnson
0c52d41e95
db/test: Tell Win32 to only print 2-digit exponents
...
By default the MS libraries print 3-digit exponents,
whereas the ANSI standard is for 2-digits.
2013-12-17 17:41:13 -06:00
Andrew Johnson
dbb8d232ee
libCom/test: Losen the timer error threshold.
...
Windows was consistently failing the fastest timer tests.
2013-12-17 17:13:27 -06:00
unknown
b93601bc22
libCom/test: epicsStrGlobMatch() tests
2013-12-17 16:37:46 -06:00
Andrew Johnson
9e37ab649b
libCom: Clear up warnings from VxWorks 6.9.
2013-12-17 14:19:18 -06:00
Andrew Johnson
0a2020e2fc
Merged changes from 3.14 branch
...
Up to 3.14.12.4 release.
2013-12-17 12:54:04 -06:00
Andrew Johnson
bfde24907c
doc: Prepare release notes for 3.14.12.5
...
In case there ever is one.
2013-12-16 17:29:30 -06:00
Janet Anderson
da6228f135
Set snapshot to 3.14.12.4-DEV
2013-12-16 16:16:34 -06:00
Janet Anderson
3009091875
Creating R3.14.12.3
2013-12-16 15:51:45 -06:00
Janet Anderson
6a0d5e0e87
Changed EPICS to Release 3.14.12.4
2013-12-16 15:48:54 -06:00
Andrew Johnson
97636a45e0
libCom: Remove epicsShareAPI from epicsExit APIs
...
Passing epicsExitCallAtExits into atexit() was generating
a warning about passing in a __stdcall routine pointer.
2013-12-16 14:52:29 -06:00
Andrew Johnson
a50c66b6ff
libCom/test: Added epicsEnvTest.c
...
VxWorks 6.x can make environment variables private to each
thread, which doesn't work too well.
A test failure on VxWorks explains how to change the image
configuration to fix this.
2013-12-16 12:48:25 -06:00
Andrew Johnson
88ae947c84
configure: Refined how/when we pull in <top>/cfg files
...
Only read CONFIG* and RULES* files,
and only do so in build dirs, i.e. when T_A is defined.
2013-12-13 16:04:01 -06:00
Andrew Johnson
22540ac743
docs: Release note update.
...
Credit Peter Heesterman with windows build updates.
2013-12-11 18:11:51 -06:00
Andrew Johnson
197e992241
Fixed iocsh stream redirection for several commands
...
Eric provided the fixes to iocsh (empty commands would not reset
redirected streams), I fixed various commands.
2013-12-11 17:50:29 -06:00
Andrew Johnson
b0cf5c256a
startup: Add cygwin-x86_64 to EpicsHostArch.pl script
2013-12-10 16:28:08 -06:00
Andrew Johnson
76e967c960
dbStatic: Fixed crash loading record of unknown type
...
Fixed segfault when dbLoadRecords tried to load a record of a
type that was not defined in its DBD files.
2013-12-04 17:37:42 -06:00
Andrew Johnson
25f70a1bd7
Merged Michael's postdbeprop branch.
2013-12-04 12:58:31 -06:00
Andrew Johnson
4ac35ab85c
docs: iPhone Simulator builds broken by Xcode 5
...
From Mark Engbretson, no known solution yet.
2013-12-04 10:37:44 -06:00
Janet Anderson
4209abe2cf
Set snapshot to 3.14.12.4-rc1-DEV
2013-12-02 14:12:45 -06:00
Janet Anderson
90d1d9568c
Creating 3.14.12.4-rc1
2013-12-02 13:56:17 -06:00
Janet Anderson
082df89090
Creating 3.14.12.4-rc1
2013-12-02 13:54:20 -06:00
Andrew Johnson
78a4e462d5
libCom: Recognize hex literals in epicsStrtod()
...
Allows Windows and VxWorks to accept hex integers as a double.
2013-12-02 11:12:19 -06:00
Michael Davidsaver
841d66993a
test epicsMMIO.h
...
Check byte order swapping.
2013-11-30 16:40:07 -05:00
Michael Davidsaver
d24ed309e9
fix copyright header
2013-11-30 15:31:59 -05:00
Michael Davidsaver
7adb9c3881
update release notes
2013-11-30 15:29:10 -05:00
Michael Davidsaver
55c89335fd
update release notes
2013-11-30 14:47:01 -05:00
Andrew Johnson
aab841e279
configure: Added 'host' make target.
...
Builds only the current host architecture, so this is
equivalent to the target install.$EPISC_HOST_ARCH
2013-11-22 11:44:42 -06:00
Jeff Hill
b38e48642e
probably fixed PPC build (its not easy to test this here)
2013-11-20 17:55:44 -07:00
Andrew Johnson
bd82554299
Set snapshot to 3.14.12.4-pre1-DEV
2013-11-20 18:03:16 -06:00
Andrew Johnson
1a3e7414b3
Creating 3.14.12.4-pre1
2013-11-20 18:02:28 -06:00
Andrew Johnson
773eb1b33d
Clean up array subscript has type ‘char’ warnings.
2013-11-20 17:28:41 -06:00
Andrew Johnson
9ab6f89604
Clean up epicsExport.h includes
...
Mostly in record and device support, this commit puts
the include in the right place and moves some other
includes around to get the order right.
2013-11-20 16:21:10 -06:00
Jeff Hill
0a86ec01fa
o fixed spelling in comments
...
o fixed warnings during MSVC based build
2013-11-20 10:51:14 -07:00
Andrew Johnson
570993e32b
configure: New targets cygwin-x86_64 and windows-x64-mingw
2013-11-19 18:50:49 -06:00
Andrew Johnson
93be1400c1
Fixed various 64-bit windows build issues.
2013-11-19 18:42:45 -06:00
Andrew Johnson
176ee926ad
cygwin: Fixed SocketSystemCallInterruptMechanism
...
Cygwin changed it back again.
2013-11-19 18:41:03 -06:00
Andrew Johnson
2d52067484
libCom: Clean up build warnings from Visual Studio.
2013-11-19 15:26:22 -06:00
Andrew Johnson
4d64941bd2
libCom: truncateFile size arg should be unsigned long
...
It gets compared against LONG_MAX and cast to a long, so now
we have architectures where int != long we must distinguish them
2013-11-15 17:24:33 -06:00
Andrew Johnson
66209118f6
libCom/macLib: Don't use unsigned chars in macParseDefns()
...
These pointers are really pointing to standard chars.
2013-11-13 12:39:23 -06:00
Andrew Johnson
f146f9ea6e
Move the string array declarations into alarm.h
...
This also removes all internal use of alarmString.h which
is now deprecated again (see 3.14.5, Jan 2004).
2013-11-12 16:18:17 -06:00
Jeff Hill
280ff742c5
fix for mingw gcc V3 build
2013-11-07 18:56:17 -07:00
Jeff Hill
6f67091628
fixed ms compiler build
2013-11-07 17:37:17 -07:00
Andrew Johnson
d6dab34ae9
Merged changes from Jeff Hill's ca-ref-man-maint branch.
...
This contains only text changes to the CA reference manual.
2013-11-07 17:57:09 -06:00
Jeff Hill
36d801682b
oops, variable used to be unsigned; changed to signed constant
2013-11-07 14:59:30 -07:00
Jeff Hill
4d54b91a3a
o fixed compile errors in, and proper diagnostic from, casPVI.cc
...
o suprressed some compile time warnings in bucketLib.c
o cleaned up cxx templates README
o removed use of tsMinMax from libCom in favor of the standard library
(calls to tsMinMax still exist in other components in base, but they are being removed)
o removed sharable library export of certain private member functions from class fdManager
o fixed aToIPAddr to correctly lookup all of the different IP addresses string types on all OS types
independent of the OS interfae variations
o removed use of inet_aton from vxWorks implementation of hostToIPAddr
o this function is for converting a host name to an ip address _only_
o the aToIPAddr wrapper is supposed to do the dotted ip ascii string to ip address structure
conversion independent of OS spoecific interface variations, when it works correctly
o fixed some spelling issues in comments
o added additional optimizations for processors w/o floating point ALU to addNanoSec in epicsTime
o removed tabs and junk comments from win32 osdProcess.c
o moved PLL update in win32 osdTime.c from timer to a dedicated thread
o added missing epicsExportShared symbols define to osiNTPTime.c
o fixed server ctor should not modify arguments of its caller in blockingSockTest
o removed sunpro specific ifdef nolomger needed from epicsTimeTest.cpp
2013-11-07 10:26:03 -07:00
Andrew Johnson
bf3bdec7b3
rec: Mark various *SV fields prop(YES)
...
Alarm limits may change to/from NaN when these fields are modified.
2013-11-06 09:48:27 -06:00
Andrew Johnson
052f0992d2
dbStatic: Add property metadata to dump outputs
...
Both dbWriteRecordTypeFP() and dbDumpField() now show the
value of the prop() field attribute.
2013-11-06 09:28:49 -06:00
Michael Davidsaver
6a6e527fc1
post DBE_PROPERTY from dbPut()
...
All writes to a prop(YES) field result
in a monitor, even when the field value
doesn't change.
2013-11-04 13:39:17 -05:00
Michael Davidsaver
3cccdd8134
add prop(YES) to standard recordtypes
2013-11-04 13:39:17 -05:00
Michael Davidsaver
034388f009
recognize and store field attribute "prop()"
2013-11-04 13:39:16 -05:00
Michael Davidsaver
3d8bf34177
fix indent
2013-11-04 13:39:12 -05:00
Andrew Johnson
4b44881744
db: Fixed bogus dbScan overrun warnings
...
Penalizing the 0.1 second scan thread by 0.1 seconds
guarantees another overrun in most cases...
Warning message improved.
Also added a release note for Jeff's CAS commit.
2013-10-17 17:21:26 -05:00
Jeff Hill
42f4c3a0a5
fixed potential memory leak
2013-10-17 09:23:47 -06:00
Janet Anderson
16c252d8aa
Fixed comments
2013-10-15 11:32:31 -05:00
Janet Anderson
ed5adebd47
Modified suffix for TESTSHRLIBNAME
2013-10-15 09:10:16 -05:00
Andrew Johnson
da80d11db9
softIoc: Generate base.dbd
...
Includes new dependency rules for parallel builds.
2013-10-14 12:45:08 -05:00
Andrew Johnson
91ef05b5dc
tools: Improve dbdExpand.pl error/warning message
...
Missing files used to result in an empty output file.
Now it warns instead of dying, and suggests adding a
dependency to the Makefile.
2013-10-14 12:43:26 -05:00
Andrew Johnson
34267b31b7
softIoc: Parallel build dependency
2013-10-11 15:15:17 -07:00
Andrew Johnson
be516ddac0
std/rec: Fix clang compiler warning.
2013-10-11 14:00:36 -07:00
Andrew Johnson
1b51a4796d
Merged printf-record branch
...
Adds three new record types: printf, lsi and lso.
Provides device support for all three.
2013-10-03 14:04:03 -07:00
Andrew Johnson
61cc341132
Various POD updates & experiments.
2013-09-30 17:48:06 -05:00
Andrew Johnson
38037f0873
Use Pod::Simple::XHTML if available.
2013-09-30 17:44:45 -05:00
Andrew Johnson
2ad468dd38
CAref: Fix returns from ca_attach_context()
...
ECA_NORMAL was missing, ECA_ISATTACHED given twice.
2013-09-27 09:59:34 -05:00
Andrew Johnson
2bf4b36639
configure: Support Apple Xcode 5.0 and iOS 7.0
...
Not tested on the 64-bit ARMv8 architecture, although it should be
compatible (confirmation would be welcome).
2013-09-24 15:30:26 -05:00
Andrew Johnson
72d65c60a4
epicsErrlogTest: Shorten output lines
...
Shorten test output from long messages.
2013-09-20 13:44:28 -05:00
Andrew Johnson
b58380fc69
configure: Add vpath for .hpp files
...
Even Linux systems are using this for C++ headers now,
they're not just for Windows.
2013-09-19 13:02:36 -05:00
Andrew Johnson
6814b09fad
docs: Release Notes update
...
... for several recent commits.
2013-09-13 17:30:38 -05:00
Andrew Johnson
2d3a828acd
Fixed read-back of TSEL link
...
Reading back a .TSEL field that was originally pointed to
another record's .TIME field was exposing internal details
that didn't need to be made visible. This commit hides the
.TIME => .VAL change completely, and allows a .TSEL link
field to be saved and restored properly using autosave.
2013-09-13 11:57:18 -05:00
Andrew Johnson
4ae048572a
Added dbTemplateMaxVars variable
...
Allows users to configure dbLoadTemplate command to accept more than
100 variables or a larger string buffer for variables.
2013-09-13 11:36:52 -05:00
Andrew Johnson
ec0f64140a
configure: IOS version bump to 6.1
2013-08-30 12:52:10 -05:00
Andrew Johnson
e49210a3ea
configure: IOS version bump to 6.1
2013-08-30 12:50:34 -05:00
Andrew Johnson
c61d0b43bb
configure: Fix ios HDEPENDS_METHOD
...
It changed on 3.14, but 3.15 needs a different seting.
2013-08-30 12:34:15 -05:00
Andrew Johnson
d25eff3af7
configure: Darwin build settings
...
Modify comments and defaults for darwin builds.
Changing to use gcc wasn't working.
2013-08-30 11:51:51 -05:00
Michael Davidsaver
01041abd32
rtems: mmio for m68k
2013-08-23 18:14:56 -04:00
Andrew Johnson
2ecf8803c3
Move alarm string arrays into libCom
...
Using idea from Peter Heesterman:
* Instanciate the alarm strings once in libCom
* Remove the epicsAlarmGlobal macro
* Make sure the decorations are right
2013-08-20 16:59:28 -05:00
Andrew Johnson
01f0fdbf1e
More file permission fixes.
2013-08-19 15:46:51 -05:00
Andrew Johnson
3219ea0608
Fixed file permissions.
2013-08-19 13:30:19 -05:00
Ralph Lange
fb983fe382
CAref: typos, replace ..._event() calls with ..._subscription() (by J. Lewis Muir)
2013-08-16 17:00:13 +02:00
Andrew Johnson
ffa96d36e1
db: dbpf can now put strings to UCHAR arrays
...
Also improved the dbpf error message on value conversion failures.
Source code reformatting inside dbTest.c as well.
2013-08-01 18:10:18 -05:00
Janet Anderson
859024d155
Stopped install of test libraries and removed version number in test library name.
2013-07-26 14:37:55 -05:00
Janet Anderson
515f882c7b
Added OPT_CXXFLAGS_YES += -g
2013-07-25 10:49:26 -05:00
Janet Anderson
a9a3298d51
Added OPT_CXXFLAGS_YES += -g
2013-07-25 10:44:41 -05:00
Janet Anderson
d3b6d01807
Added WIN32 system library for epicsSockResolveTest
2013-07-17 15:55:49 -05:00
Andrew Johnson
8a28858ada
Merged changes from 3.14 branch.
2013-07-10 16:18:18 -05:00
Andrew Johnson
f2891d72e5
ca: Add missing template instances for VxWorks 5.5.x
2013-07-10 14:55:34 -05:00
Andrew Johnson
75a5f19d2e
IOCS_APPL_TOP must be absolute path
...
Fix a recently introduced problem where cdCommands and envParams
had TOP as a relative path (which actually worked by chance).
Also fixed a problem with convertRelease hanging when the -t
argument matched the absolute path to TOP.
2013-07-10 14:13:31 -05:00
Andrew Johnson
98deef5004
configure: Added FULLPATHNAME tool variable
...
Changed os/CONFIG files where we use the fullPathName.pl script.
2013-07-10 14:07:51 -05:00
Janet Anderson
cec9bd3aa9
Remove .. from vpath. Add rules with .. prerequisite.
2013-07-08 15:17:46 -05:00
Andrew Johnson
c187d8c13a
CAref: typo's, added missing ca_put_callback
2013-07-05 13:26:26 -05:00
Andrew Johnson
c96db4c877
libCom: Replaced errlogRemoveListener()
...
New version errlogRemoveListeners() is safer.
2013-06-28 12:35:43 -05:00
Andrew Johnson
1289f99e30
rec: Additional dependencies for parallel builds.
2013-06-21 10:36:26 -05:00
Andrew Johnson
ec9568d096
std: Don't try and use removed RULES file...
2013-06-18 11:39:19 -05:00
Andrew Johnson
a9be8957bc
rec: Remove now unnecessary RULES file
2013-06-18 11:19:34 -05:00
Andrew Johnson
4564346722
Release notes for previous commit.
2013-06-18 10:03:37 -05:00
Andrew Johnson
9d9f345278
configure: Removed generation of xxxInclude.dbd files
...
Rules now expand the source DBD files directly in to the target.
Also removed the makeIncludeDbd.pl script which is no longer needed.
2013-06-18 10:01:37 -05:00
Andrew Johnson
c4d6e2a61e
dbStatic: Improve dbDumpDevice
...
Make it also display the function pointers in the dset and dsxt
for each device support it reports on.
2013-06-14 13:55:22 -05:00
Andrew Johnson
2be5e15346
Merged changes from 3.14 branch
...
Up to revno 12420 inclusive.
2013-06-07 18:08:38 -05:00
Andrew Johnson
ef5d88d3e5
libCom: Back-ported aToIPAddr fix from 3.15 branch.
...
Cherry-picked 3.15 revno 12398 with some changes.
2013-06-07 17:03:55 -05:00
Andrew Johnson
93449dccb8
ca: Fix acctst.c for older C compilers
...
All declarations must still precede other statements within a block...
2013-06-07 16:08:57 -05:00
Andrew Johnson
863e8fdd3b
libCom: Fix VxWorks localtime_r() and gmtime_r() wrappers
...
Wind River changed the return value between VxWorks 6.8 and 6.9.
2013-06-07 14:35:45 -05:00
Andrew Johnson
2eb48f43eb
Merged my udf-severity branch.
2013-05-30 15:00:37 -05:00
Andrew Johnson
d36f6aa84f
ca: Fix acctst.c for older C compilers
...
All declarations must still precede other statements within a block...
2013-05-30 12:25:37 -05:00
Andrew Johnson
ee9c0ba409
ca: Minor reference manual tweaks.
2013-05-28 15:07:33 -05:00
Andrew Johnson
7f82c2f32e
libCom: Added osi/os/WIN32/osdFindSymbol.c
...
Implemented by Dirk Zimoch.
2013-05-28 14:16:22 -05:00
Andrew Johnson
7addfc8ddd
libCom/test: Make epicsUnitTestTest.plt more Perlish
...
Use Perl's __DATA__ stream for the expected data string.
2013-05-24 15:33:56 -05:00
Jeff Hill johill@lanl.gov
e0bc071de3
merged in fix for https://bugs.launchpad.net/epics-base/+bug/1179642
...
also merged in removal of c++ support for old HPUX compiler
2013-05-16 12:33:31 -06:00
Jeff Hill johill@lanl.gov
5e5ea11658
fix for https://bugs.launchpad.net/epics-base/+bug/1179642
2013-05-16 11:17:47 -06:00
Jeff Hill johill@lanl.gov
de2495d276
fixed test name in output
2013-05-15 14:18:11 -06:00
Jeff Hill johill@lanl.gov
fedaf622ac
improved multiSubscrDestroyNoLateCallbackTest quality by temporarily raing the priority of the main thread in the ca context
2013-05-15 12:05:58 -06:00
Jeff Hill johill@lanl.gov
711e82b1a6
fixed the test name of multiSubscrDestroyNoLateCallbackTest
2013-05-15 10:37:17 -06:00
Jeff Hill johill@lanl.gov
deb1fe8c7c
removed deadlock potential from test code
2013-05-15 10:24:18 -06:00
Jeff Hill johill@lanl.gov
8db3d7391b
improved the quality of the multiSubscrDestroyLateNoCallbackTest
2013-05-15 09:51:48 -06:00
Jeff Hill johill@lanl.gov
4780fb2fe5
fixed credit line comment
2013-05-14 17:15:30 -06:00
Jeff Hill johill@lanl.gov
6ee8a39047
regression test for https://bugs.launchpad.net/epics-base/+bug/1179642
2013-05-14 17:08:41 -06:00
Andrew Johnson
7ff7c37dc7
msi: Flush errlog before exiting
...
macLib sends its errors to errlog.
Reported by Bruce Hill, SLAC.
2013-05-13 12:10:08 -05:00
Andrew Johnson
a4fed4fe1a
msi: Undefined macros under -V should exit(2)
...
Also cleaned up double negative in internal var name.
2013-05-13 10:10:31 -05:00
Michael Davidsaver
6347b1daf9
add MMIO API
...
From devLib2
adds calls to handle 8, 16, and 32 bit
Memory Mapped I/O reads and writes.
Adds X_iowriteY() and X_ioreadY().
where X is nat (native), be, or le.
Y is 16 or 32.
Also adds ioread8() and iowrite8().
2013-05-10 16:22:16 -04:00
Andrew Johnson
593e313fab
dbStatic: More commands accept "" or "*" to mean 'all'
...
dbDumpRecordType, dbDumpMenu and dbDumpRecord commands improved.
2013-05-09 15:48:49 -05:00
Andrew Johnson
34744264e1
libCom: Fix win32 handle leak
...
Closing an epicsThread would leak one Win32 handle.
Reported by Giles Knap, Diamond.
2013-05-06 17:29:10 -05:00
Andrew Johnson
5ac686fafd
tools: Munch support for module destructors
...
Added in VxWorks 6.9
2013-04-25 17:00:36 -05:00
Andrew Johnson
7e347b2de9
libCom: Fix sysAtReboot registration on vxWorks 6.8+
...
Removed C++ static constructor, do it from epicsThreadInit()
2013-04-24 12:52:05 -05:00
Andrew Johnson
8d7a241d04
dbScan: Allow periodic scan unit strings to differ in case.
...
Use epicsStrCaseCmp() instead of strcmp().
2013-04-23 10:38:57 -05:00
Andrew Johnson
5bc15b72a1
libCom: Add some missing #include guards.
...
There are still quite a few missing in libCom/osi/os/*
2013-04-11 12:56:56 -05:00
Andrew Johnson
880db9d4af
configure: Set IOCS_APPL_TOP from INSTALL_LOCATION
...
Fixes lp:1165257
2013-04-09 12:39:26 -05:00
Andrew Johnson
97c6d1a903
Add podToHtml.pl script
...
New rules to use this for .pod and .pm conversions
Replace use of pod2html in ca/client/perl
2013-04-05 13:13:52 -05:00
Andrew Johnson
04ccf9db0d
Consistency for extended device support
...
Call scanDelete() before pdsxt->del_record()
when closing down an IOC.
2013-04-04 14:59:56 -05:00
Andrew Johnson
fabc8d06a9
Move db_post_events(waveform, NORD) into recordType.
...
Dirk pointed out that existing device support authors aren't
going to add this themselves; it's much better if the record
does it all for itself.
2013-04-04 14:18:35 -05:00
Andrew Johnson
f661299a81
Added new 'tapfiles' build target.
...
There's a plugin for Jenkins which should be able to read the .tap
output files and generate pretty test status pages from them.
I haven't actually tried using it yet though...
2013-04-04 11:25:53 -05:00
Andrew Johnson
2c8eb630cb
Merged Michael Davidsaver's array-opt branch
2013-04-02 17:01:53 -05:00
Michael Davidsaver
fb21c7c6e7
update release notes
2013-04-02 17:07:54 -04:00
Michael Davidsaver
738c135ed8
Don't need void* cast
...
Implicit case from void** to void*
is allowed.
2013-04-02 17:07:53 -04:00
Andrew Johnson
58c031238b
configure: Modify help rule to use $(DIVIDER)
...
... in case someone changes it.
2013-04-01 10:03:38 -05:00
Andrew Johnson
b27439ce7b
Only try to generate .html files where the .dbd.pod exists
2013-03-31 00:49:19 -05:00
Andrew Johnson
53c5aaa9ee
Introduce the .dbd.pod extension
...
Rules to convert to .html and .dbd
Rename existing files
Fix various build rules to match.
2013-03-31 00:38:20 -05:00
Andrew Johnson
880d714a0f
tools/DBD: Include cdefs in DBD format output.
2013-03-30 23:49:18 -05:00
Ralph Lange
ddadd9b62e
ioc/db/test: add test for parallel callback threads
2013-03-29 17:28:26 +01:00
Ralph Lange
c1318e7d55
ioc/db: add support for parallel callback threads
...
- use thread safe (spinlocked) callback queues
- add callbackParallelThreads() configuration call (with iocShell binding)
- add callbackParallelThreadsDefault variable, preset to number of CPUs
- remove calls to epicsInterruptLock()
2013-03-29 17:27:56 +01:00
Ralph Lange
8abb1ed255
libCom/test: add test for thread safe (spinlocked) ringPointer buffer
2013-03-29 17:24:11 +01:00
Ralph Lange
d6f5b50550
libCom/ring: add thread safe versions of ring buffers (using spinlocks)
2013-03-29 17:23:24 +01:00
Andrew Johnson
f824246baa
Add configuration for vxWorks 6.9 builds.
2013-03-29 11:17:09 -05:00
Ralph Lange
3718cfa673
ioc/db/test: add timing statistics to callbackTest
2013-03-29 11:59:30 +01:00
Andrew Johnson
f9a0c82a63
libCom/osi: Resolve bcopyLongs() conflict on vxWorks 6.9
2013-03-28 17:17:41 -05:00
Ralph Lange
90b9965caf
libCom/osi: add epicsThreadGetCPUs()
...
* Implementation for posix and WIN32 tries to get the CPUs available for this process,
rather than the complete number of CPUs in the system.
* For the time being, vxWorks returns 1. (This will have to change for vxWorks SMP.)
2013-03-28 15:03:29 +01:00
Ralph Lange
64a2e4e19b
libCom/osi: Make EPICS ID in epicsThreadShow 2 characters wider (for 64bit)
2013-03-27 10:56:34 +01:00
Andrew Johnson
a4edc46a5f
dbStatic: Allow empty DB & DBD files
...
They used to cause a Syntax error with a bad context string.
2013-03-20 16:53:10 -05:00
Andrew Johnson
4f9928bc3c
Merged changes from 3.14 branch
...
Up to revno 12404.
2013-03-15 15:23:55 -05:00
Andrew Johnson
738b8ca55f
libCom: Add a High-Resolution Time Provider on MacOS
...
Since Apple don't support clock_gettime(CLOCK_REALTIME) I added a
new time provider that uses the Mach kernel Clock service to get
nanosecond resolution time.
2013-03-13 14:48:34 -05:00
Andrew Johnson
82560b552e
libCom/osi: Fix for cygwin
...
Needed shareLib stuff.
2013-02-18 13:11:36 -06:00
Andrew Johnson
3196844602
Remove another Borland on Linux remnant.
2013-02-14 15:56:22 -06:00
Andrew Johnson
76911e4ae9
configure: Fix the earlier DLLSTUBS change
...
Turn on static library dependencies again in RULES_TARGET.
2013-02-13 17:09:54 -06:00
Andrew Johnson
c29a8bd268
configure: Clean up command echoing in build rules
2013-02-12 15:36:55 -06:00
Andrew Johnson
d85d1f0e56
Merged Ralph's spinlocks branch.
...
Added an RTEMS implementation which locks interrupts,
and some Release Notes mentioning the new API.
2013-02-12 12:13:01 -06:00
Andrew Johnson
c5602af1b4
Fix DLLSTUB dependency generation.
2013-02-11 18:12:40 -06:00
Andrew Johnson
c767958539
gdd: Build tweaks
...
Remove obselete HPUX warning flags
Disable strict-aliasing to suppress warnings (RTEMS, Linux)
2013-02-11 17:49:05 -06:00
Andrew Johnson
7264146fd1
configure: MinGW is not a Posix architecture.
2013-02-11 14:16:07 -06:00
Andrew Johnson
34e24699e6
configure: Fix DEPLIBS search order for Windows DLLs
...
Must search for the DLLSTUB library before the SHRLIB one.
This commit also cleans up some comments about MSVC settings.
2013-02-11 14:10:27 -06:00
Janet Anderson
f2c9ddc412
Removed OBJLIBNAME references. obj libs for R3.13 vx compatibility only.
2013-02-05 15:54:08 -06:00
Andrew Johnson
8400e74606
Fix epicsRingPointerGetSize()
...
Definition name didn't match declaration.
Fixes lp:1109785 reported by Martin Konrad.
2013-01-29 18:02:51 -06:00
Michael Davidsaver
1b0ff46d33
Allow BPTR replacement in aai and aao
2013-01-23 10:38:32 -05:00
Michael Davidsaver
92d52cc415
Allow waveformRecord to replace BPTR
2013-01-23 10:38:31 -05:00
Michael Davidsaver
4f6040d35b
get_array_info() can modifiy DBADDR::pfield
...
Allow the record support function get_array_info()
to modify its first argument to provide a different
pointer from which values should be read.
Remember the original and restore it afterwards.
2013-01-23 10:38:30 -05:00
Andrew Johnson
451c4cc854
Unify #! line for Perl scripts
...
/usr/bin/env exists on all current workstation OSs.
2013-01-23 07:29:07 -06:00
Andrew Johnson
038a1140f4
Fix drift in periodic scan times.
...
Method from Eric Norum, with warnings added by me.
Fixes lp:597054
2013-01-09 18:12:30 -06:00
Andrew Johnson
d63dffcd34
libCom/test: epicsSockResolveTest build fix
...
Add socket libraries for Win32 & Solaris.
2013-01-04 12:22:02 -06:00
Michael Davidsaver
f5b7693a58
libCom: aToIPAddr() finds numeric hostnames
...
Hostnames that begin with one or more digits were not being looked up
by name, causing problems at BNL.
This commit also changes the vxWorks implementation of hostToIPAddr()
to use inet_aton() instead of inet_addr().
2013-01-04 09:33:13 -06:00
Andrew Johnson
3fb529373f
Clear RTEMS build warning
...
shutdown is also a system identifier.
2013-01-03 15:27:23 -06:00
Andrew Johnson
af2693241f
Merged changes from 3.14 branch
...
Up to revno 12398, i.e. the R3.14.12.3 release.
2012-12-18 15:44:35 -06:00
Jeff Hill
89d000be08
fixed problems with ca clear channel protocol during reload of the access security file.
...
See https://bugs.launchpad.net/epics-base/+bug/1091401 .
2012-12-18 14:32:12 -07:00
Andrew Johnson
615fd741b9
rec: Fix precision where link not set
...
Don't just force the precision to 15 if an INPx link is not set,
default to PREC field instead.
2012-12-18 14:13:23 -06:00
Janet Anderson
a0798939b3
R3.14.13.3-DEV
2012-12-17 14:24:23 -06:00
Janet Anderson
a5999242b0
Creating R3.14.12.3
2012-12-17 14:13:19 -06:00
Janet Anderson
9e484306d6
Creating R3.14.12.3
2012-12-17 14:11:47 -06:00
Andrew Johnson
835199a45d
RTEMS: Bump the version number
...
Also show the other COMMANDLINE_LIBRARY choices.
2012-12-13 15:52:06 -06:00
Andrew Johnson
0df6f849d6
Document another Launchpad bug fix from Jeff
2012-12-13 15:50:44 -06:00
Jeff Hill
75e32c9086
fix for https://bugs.launchpad.net/epics-base/+bug/1090009
2012-12-13 09:35:18 -07:00
Andrew Johnson
04ff9eb8a1
rec: mbbiDirect and mbboDirect refactoring
...
This includes changes to functionality, documented.
2012-12-11 18:25:01 -06:00
Andrew Johnson
475fc8e122
rec: Code format cleanup to mbbi, mbbo records
...
No intentional changes to functionality.
2012-12-11 18:23:17 -06:00
Ralph Lange
b7018dd16d
ca: Fix bug in "Firewalls" section of Channel Access reference manual
2012-12-11 23:38:42 +01:00
Andrew Johnson
afb182a3cd
configure: New REGRDDFLAGS variable
...
Allows registerRecordDeviceDriver.pl to be run with different
command flags than the dbdToX.pl scripts.
2012-12-10 14:51:12 -06:00
Andrew Johnson
79b499d4c5
Releas notes for UDFS.
2012-12-10 09:36:55 -06:00
Andrew Johnson
5a498e26a1
Added Undefined Severity field UDFS
...
With this, records can be configured to have a lower
alarm severity when they are undefined.
Sets initial severity at iocInit too.
2012-12-10 09:25:58 -06:00
Andrew Johnson
85ed3b9f4e
rec: Delete ununsed fields from mbbxDirect record types
...
LALM was being initialized but is not otherwise used.
2012-12-07 22:15:48 -06:00
Andrew Johnson
319ed9b394
rec: Delete ununsed fields from mbbxDirect record types
...
SDEF removed from mbbiDirect
LALM removed from both mbbiDirect and mbboDirect
2012-12-07 17:20:38 -06:00
Michael Davidsaver
79bc3f2265
Make blockingSockTest use a free port number
...
Instead of using the CA server port 5064 which is often
in use, have the listening socket pick a free port.
2012-12-06 14:31:50 -06: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
fc12c72809
Device support for new long string out record type
2012-11-30 16:51:37 -06:00
Andrew Johnson
b64bc41d6b
Add new long string output record type.
2012-11-30 16:50:31 -06:00
Andrew Johnson
080e362743
Cleanup.
2012-11-30 16:49:31 -06:00
Andrew Johnson
01819b0b02
Use new helper.
2012-11-30 16:48:58 -06:00
Andrew Johnson
f2716f88f3
stdRecords.dbd depends on rec/Makefile
2012-11-30 16:47:11 -06:00
Andrew Johnson
d741c10635
Another helper, dbLoadLinkLS
...
Replaces recGblInitConstantLink(..., DBF_STRING, ...)
2012-11-30 16:43:16 -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
e01a428059
Added new Long String Input record type "lsi"
...
With Soft Channel device support.
2012-11-29 13:45:13 -06:00
Andrew Johnson
77c837bcbe
printf record: Fix bug in minimum buffer size logic.
2012-11-29 13:41:46 -06:00
Andrew Johnson
02348e770b
Use new helper function.
2012-11-29 13:40:42 -06:00
Andrew Johnson
d27747a7f3
Added helper functions dbGetLinkLS() and dbPutLinkLS()
2012-11-29 13:21:11 -06:00
Andrew Johnson
2e4f6443e0
dbNameToAddr() changes for long string support
...
Modified dbNameToAddr() to match how dbChannelOpen() calls
prset->cvt_dbaddr() before handling the '$' field modifier.
This lets DB links and the dbgf/dbpf commands work with '$'.
Elsewhere changed array handling to check fldDes->special
for SPC_DBADDR instead of paddr->special to allow long string
records cvt_dbaddr() routines to change paddr->special
without breaking the array handling stuff.
2012-11-29 13:20:02 -06:00
Andrew Johnson
493d6014b9
Add new global menuPost
...
To reduce duplication.
2012-11-29 12:53:21 -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
d69f3904d7
Fix for win32 builds.
2012-11-20 17:27:38 -06:00
Andrew Johnson
7778c0c3ff
Solaris & vxWorks 5.5.x fixes
...
Remove C++-isms.
Make internal routines static when duplicate names appear
in the epicsMutexTest.cpp code; on vxWorks and RTEMS all
test programs get linked into a single binary.
2012-11-20 15:55:53 -06:00
Andrew Johnson
f320cbcecd
Fix vxWorks implementation.
2012-11-20 15:04:28 -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
Jeff Hill johill@lanl.gov
694ac0a650
epicsTime::addNanoSec function size is large now so it shouldnt be inline
2012-11-14 13:10:44 -07:00
Jeff Hill johill@lanl.gov
5ce291facf
fixed spelling in comment
2012-11-14 13:03:30 -07:00
Jeff Hill johill@lanl.gov
b86c4107c1
After qptimizing the epicsTime::addNanoSec function we now have a larger code which uses only unsigned integer arithmetic. This is for the benefit of embedded cpu's lacking a hardware floating point coprocessor at the expense of some additional code to maintain. I measered the cpu load improving from 40% free to 80% free after making this change, on a nios2 soft core processor.
2012-11-14 12:51:30 -07:00
Andrew Johnson
e3f59fd5c2
Support variable array size
...
Added LEN field and get_array_info() routine.
Removed len arg from device support write_string() routine.
Modified device support to match.
2012-11-12 13:45:23 -06:00
Andrew Johnson
b8eec29e43
libCom: Added errlogSetConsole() functionality.
2012-11-09 17:06:32 -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
Ralph Lange
3f18327d2d
libCom/osi: add tests for epicsSpin (based on epicsMutex tests)
2012-10-29 20:26:11 +01:00
Ralph Lange
a977edfaa6
libCom/osi: add epicsSpin with default, posix, and vxWorks implementations
...
- posix uses pthread_spin_ interface when supported, pthread_mutex_ otherwise
- default uses epicsMutex
- vxWorks (single core) uses intLock()
2012-10-29 20:25:23 +01:00
Ralph Lange
f9135c39cd
configure: change Posix definition from 199506L to 200112L
...
needed to be able to use spinlocks
2012-10-29 20:20:36 +01:00
Andrew Johnson
c06f3cd9a0
db: Fix dbGet so attributes and value can be fetched simultaneously
...
Only the Async Soft Channel support did this, so that's where it
was noticed that this didn't work.
2012-10-29 01:20:56 -05:00
Andrew Johnson
35a2793c23
rec: Cleanup of compress & histogram record source code
...
No functional changes.
2012-10-19 15:06:37 -05:00
Andrew Johnson
c9da766e9e
rec: Fix compress & histogram attribute bugs
...
Problems introduced during Dirk's non-val attribute changes.
2012-10-19 15:01:43 -05:00
Andrew Johnson
7f21c8eec1
Merged changes from 3.14 branch
...
Merged up to revno 12369 on 2012-10-17
2012-10-18 00:10: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
2613c62b40
rec/aSub: Add cleanup subroutine
2012-10-15 12:35:04 -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
Andrew Johnson
ab7d73c537
cas: Fix syntax error in last commit
...
errMessage() is not printf-like, use errPrintf() instead.
2012-10-11 11:28:28 -05:00
Jeff Hill
7d37c31cc5
added the PV name to the unable to read application types "enums" message
2012-10-10 19:08:18 -06: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
f0c88c3d3c
Document the CLEANS variable
...
Also shows how to be backwards-compatible with the 3.14 build
system.
2012-10-05 22:58:59 -05:00
Andrew Johnson
a05f022e44
Reorganize where the POD should be placed
...
The converter now only handles POD from the root DBD object.
However there are commands that pull POD out of named sub-objects.
This also adds generating tables from menu choices.
2012-10-01 17:38:08 -05:00
Andrew Johnson
f519b63a6f
tools/DBD: Don't include =cut lines in the captured POD.
2012-10-01 17:35:23 -05:00
Andrew Johnson
eb908c6ebf
Make HTMLS_DIR default to . if not set.
...
Remove HTMLS_DIR setting for files generated from DBD/POD.
2012-10-01 17:29:11 -05:00
Andrew Johnson
2f25d7c9c9
doc: Delete old TOC entry.
2012-10-01 17:26:15 -05:00
Andrew Johnson
68bde36d75
Merged changes from 3.14 branch.
...
Merged up to commit 12364 (2012-09-11) inclusive.
2012-10-01 00:54:10 -05:00
Andrew Johnson
e94ffd48fa
std: Device support for new printf record type
2012-09-28 18:00:42 -05:00
Andrew Johnson
d8812cbee3
std: Added new printf record type
2012-09-28 18:00:13 -05:00
Andrew Johnson
0f7cb737bb
Merged J. Lewis Muir's caput help text fix branch.
2012-09-26 22:38:17 -05:00
Andrew Johnson
ea725ad1a2
ioc/db: Call rset::cvt_dbaddr() before processing field modifiers
...
The channel filters and field modifiers should apply to the
field *after* the record type has made any SPC_DBADDR changes.
2012-09-26 14:41:52 -05:00
J. Lewis Muir
37407c94e0
ca/client/tools: add -F option to caput usage output
2012-09-26 10:37:20 -05:00
Ralph Lange
12909bfb1d
Merge libCom/osi changes needed for MultiCore Real-Time Utils
2012-09-20 22:00:17 +02:00
Ralph Lange
ca441a2a0e
libCom/osi: (posix) make getOssPriorityValue() public as epicsThreadGetPosixPriority()
2012-09-20 21:55:32 +02:00
Andrew Johnson
ecba376d72
std/rec: Enhance sequence record just like fanout
...
Add link groups 0 and B through F, plus the OFFS and SHFT fields to
provide backwards compatibility.
2012-09-19 15:13:13 -05:00
Ralph Lange
047bdc9200
libCom/osi: (posix) keep scheduling policy by thread, to support SCHED_RR
2012-09-18 13:43:02 +02:00
Ralph Lange
2485c1fb1c
libCom/osi: Rename osd thread sched policy flag (Fifo -> RealTime)
2012-09-17 13:22:09 +02:00
Andrew Johnson
a106129c9b
Extended the fanout record to 16 links
...
Added SHFT and OFFS fields for backwards compatibility.
See Release Notes for detailed description.
2012-09-14 10:56:08 -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
Andrew Johnson
d2d40b901a
Update the initial documentation to normal Pod syntax
2012-09-04 00:40:37 -05:00
Andrew Johnson
29a9ad3f90
Make the DBD parser recognize Pod syntax directly
...
Source DBD files can include Pod blocks, as long as the dbdExpand.pl
script doesn't try and include it in expanded DBD output files.
This makes it easier to write the Pod, and perldoc can parse most
of the result for checking (it complains about the =field directives
though, which dbdToHtml.pl handles itself).
2012-09-04 00:35:17 -05: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
29c6d34be4
filters: Document the deadband filter
2012-09-02 00:04:47 -05:00
Andrew Johnson
dad89d5bba
dbdToHtml.pl: Fix generated link URLs to other docs
...
Also added some code comments
2012-09-02 00:02:38 -05: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
Janet Anderson
c48e92b1a8
Include RULES_JAVA when using EPICS base 3.15 and later.
2012-08-31 13:52:54 -05:00
Andrew Johnson
d86db4e6b6
Start annotating fields and writing POD comments
2012-08-30 00:59:17 -05:00
Andrew Johnson
56c812f990
Add rules to run dbdToHtml.pl and install the result
2012-08-30 00:57:00 -05:00
Andrew Johnson
874cebb63d
Change dbdToHtml.pl to parse POD from DBD comments
2012-08-30 00:55:22 -05:00
Andrew Johnson
43393096ac
Add ability to save & retrieve comments to DBD objects
2012-08-30 00:53:07 -05:00
Andrew Johnson
29a8efa781
Document addition of MSI to Base.
2012-08-29 16:46:40 -05:00
Andrew Johnson
1ac8ff6378
as: Make asSetFilename() warn on relative paths
...
Tell the user if they try this. They'll get an error from
asInit() later, but it gets lost easily in other noise.
2012-08-28 16:35:52 -05:00
Andrew Johnson
7da070bca3
Fix bldEnvData.pl library search path
...
It wasn't working when INSTALL_LOCATION is used.
2012-08-23 09:45:31 -05:00
Andrew Johnson
f29e995103
Permit but check duplicate DBD entries
...
Record types cannot be duplicated however.
DBD sub-objects now have a ->what method for their description.
This also adds a method to look up a breaktable by name.
2012-08-22 16:54:54 -05:00
Janet Anderson
786a01b59c
RULES_JAVA removed from base and put in extensions
2012-08-21 09:38:37 -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
0faff0f03e
registerRecordDeviceDriver updates
...
Added -D and -o <outfile> options
Changed the build rules to use -o
Moved the script into src/tools
2012-08-10 11:40:50 -05:00
Andrew Johnson
93f7caebc4
tools/DBD: Fix DBD output of empty attributes
...
Use the regex's from Base.pm for value recognition
in both Parser.pm and Output.pm
2012-08-10 11:39:30 -05:00
Andrew Johnson
1faae9c3ed
configure: Don't install test libraries
...
This was actually hapenning through a TESTPROD being dependent
on the TESTLIBRARY and not having a <lib>_DIR to tell it where
the library would be found. We now set <lib>_DIR = . for all
test libraries and they don't get installed any more.
2012-08-09 15:41:26 -05:00
Andrew Johnson
f0633d0d16
configure: Set BASE_3_14 = NO
...
This allows "ifdef BASE_3_14" to still mean 3.14 or later,
but also "ifeq ($(BASE_3_14),YES)" to mean 3.14 only.
2012-08-09 11:16:15 -05:00
Andrew Johnson
eb8bac8afb
ioc: Added extern "C" block to dbLink.h file.
2012-08-08 13:38:21 -05:00
Andrew Johnson
a80ec2e0bf
cap5: Fix symbol export when using -fvisibility=hidden
...
The boot_Cap5 symbol must be exported for the module to load.
2012-08-07 12:35:12 -05:00
Andrew Johnson
05377e5886
Merged changes from 3.14 branch
...
Includes everything up to revno 12355 on 2012-08-07
2012-08-07 12:31:55 -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
685e6b0937
rsrv: Use osiSockIoctl_t
2012-08-04 14:18:32 -05:00
Andrew Johnson
b4c7f4542e
configure: Deleted RULES_JAVA and associated variables
...
Also removed some extensions template configuration files for
architectures that we have already removed from Base.
2012-08-03 17:45:28 -05:00
Andrew Johnson
d9013bffe9
libCom: Expand comments on -fvisibility in shareLib.h
2012-08-03 17:37:15 -05:00
Andrew Johnson
282d67caef
Set version back to -DEV
2012-08-01 10:01:01 -05:00
Andrew Johnson
ebc70e9365
Set release version number
2012-08-01 09:58:41 -05:00
Andrew Johnson
eb9d002f03
Edit README files, set version numbers.
2012-07-31 16:14:27 -05:00
Andrew Johnson
6bc0c6f6cd
tools: mkmf.pl accepts -Mxxx options but ignores them
...
For compatibility with msi; users can put -Mvar=value into a
xxx_DBFLAGS variable to have msi define that macro when
generating the xxx.db file. This lets mkmf accept the same
DBFLAGS variable that msi does in this case.
2012-07-31 16:09:54 -05:00
Andrew Johnson
3961dcbc51
Merged change from 3.14 branch
...
Includes everything up to revno 12353 on 2012-07-31
2012-07-31 14:21:01 -05:00
Andrew Johnson
e03d10857c
tools: Delete makeDbDepends.pl from Makefile
2012-07-31 14:09:02 -05:00
Andrew Johnson
8b616ba00a
Merged changes from 3.14 branch
...
Includes everything up to revno 12352 on 2012-07-31
2012-07-31 14:04:38 -05:00
Andrew Johnson
eb30ee7f69
Release notes about win32-x86-mingw cross-builds
...
Also a bit more cleanup of build rules.
2012-07-31 13:51:20 -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
80da40b32f
Switch darwin to use mkmf for dependencies.
...
The clang preprocessor doesn't understand -MF and we already
have to use mkmf when building fat binaries anyway.
2012-07-27 18:39:15 -05:00
Andrew Johnson
72ddb72ade
Fix up Unix issues from previous commit.
...
Also removed win32-x86-cygwin architecture support files,
use the cygwin-x86 or win32-x86-mingw targets instead.
2012-07-27 18:27:15 -05:00
Andrew Johnson
97490f6977
Reworking of DLL build rules.
...
Allows static libraries and DLLs to be built without having
to do a 'make clean' in between on Cygwin and MinGW targets.
The Cygwin build still crashes when SHARED_LIBRARIES = YES
though, loading Com.dll seems to cause the problem.
2012-07-27 16:24:39 -05:00
Andrew Johnson
c23b907eee
Reduce the duration of epicsMessageQueueTest to 60 seconds.
2012-07-24 11:29:31 -05:00
Andrew Johnson
ffc2ecc215
ca: Only install test $(OBJ) files on vxWorks.
2012-07-24 11:19:20 -05:00
Andrew Johnson
9df75bb11c
Drop the catools static library.
2012-07-24 11:17:08 -05:00
Andrew Johnson
4ee3628b2b
Move epicsMath.h below epicsExportSharedSymbols
2012-07-24 11:07:09 -05:00
Andrew Johnson
2462ff7eb1
MinGW provides getopt(), don't build our own
2012-07-24 11:05:35 -05:00
Andrew Johnson
14ca2a8582
Add missing Testfile
2012-07-22 22:40:43 -05:00
Andrew Johnson
3b64840183
Delete remnants of Aix and Borland.
2012-07-20 18:11:15 -05:00
Andrew Johnson
c6aab2390c
More fixes for Cygwin builds.
2012-07-20 17:50:59 -05:00
Andrew Johnson
78926942ff
Fix build problem with the MS compiler
2012-07-19 18:12:01 -05:00
Andrew Johnson
20b3955cd7
More Windows build fixes.
2012-07-19 14:59:55 -05:00
Andrew Johnson
b09fbe5cec
Fix various where epicsExport.h not last #include
2012-07-18 16:45:23 -05:00
Andrew Johnson
01272dc73f
More changes needed for Cygwin.
2012-07-18 16:30:54 -05:00
Andrew Johnson
9118749f2f
Removed dbStaticHost library.
2012-07-18 15:37:19 -05:00
Andrew Johnson
e02aaf5ef9
Various updates for building on Windows/Cygwin/MinGW
2012-07-18 15:35:32 -05:00
Andrew Johnson
4fb697d085
Clean up warnings on Darwin
2012-07-18 12:51:50 -05:00
Andrew Johnson
0a88fd3f54
Removed Forms support code fro dbStaticLib.
2012-07-18 00:07:42 -05:00
Andrew Johnson
7f04d825ce
Add some missing epicsShareClass decorations.
...
Also set the gcc-4 visibility attribute in shareLib.h
2012-07-17 23:41:06 -05:00
Andrew Johnson
cb797ca0cd
Merged the remove-epicsShareAPI branch.
...
Most APIs in libCom are still marked with this,
it's not clear if removing them will be a problem or not.
2012-07-17 14:36:34 -05:00
Andrew Johnson
64c9d7a32a
Many tweaks to build on Windows.
...
There might be some more to come since I'm not committing
this from my Win32 system.
2012-07-17 14:33:31 -05:00
Andrew Johnson
b8d0d97827
Removed all epicsShareAPI attributes from src/ioc.
...
There were none at all in src/std.
2012-07-15 16:08:50 -05:00
Andrew Johnson
358f71d113
Use a free-list for dbChannel and chFilter objects.
...
Have to make sure the dbChannel subsystem is initialized
properly when testing though.
2012-07-13 17:48:31 -05:00
Andrew Johnson
f5a424eb33
Testing: Fixed filters test harness build on RTEMS
...
Added a new Files: line to the testspec file to document which
files need to be available for the tests to be run properly.
This is generated from the Makefile variable TESTFILES.
2012-07-13 13:18:39 -05:00
Janet Anderson
cc088e77b6
libCom: Linux osdThread.h needs sys/types.h for pid_t
2012-07-13 10:59:07 -05:00
Andrew Johnson
e6149b6606
Merged process-get branch.
...
Seems to work, but not tested in depth.
2012-07-11 18:07:23 -05:00
Andrew Johnson
36d8e674cb
Merged changes up to yajl 1.0.12
2012-07-09 13:02:32 -05:00
Andrew Johnson
ead5832a1f
Fix compiler errors on Solaris.
2012-07-09 12:39:00 -05:00
Andrew Johnson
48c805ab3d
Trap and check warning message from macLib.plt test.
2012-07-09 12:37:27 -05:00
Andrew Johnson
325fc8001c
Silence expected errlog output from chfPluginTest.
2012-07-09 11:44:32 -05:00
Andrew Johnson
62727dcba6
Clean up warnings from gcc 4.6.3
2012-07-07 15:54:31 -05:00
Andrew Johnson
2559e1a3b7
Clean up build warnings from clang.
2012-07-07 13:50:55 -05:00
Andrew Johnson
3b08888a9c
Remerged Michael's db-test branch.
...
This branch fixes several tests.
I also added some changes that tell users which .db/.dbd file
was missing if the db and filter test programs abort, and
extend the search path so the tests can be run from the test
directory as well as from the O.<arch> directory.
2012-07-06 18:11:59 -05:00
Andrew Johnson
3bfc6dcf64
errlog in tests
...
Take eltc(0) out of testPlan() and explicitly add it to those tests
that should suppress expected errlog output.
2012-07-06 17:47:56 -05:00
Andrew Johnson
0597f9c1c8
libCom: Fixed issues with thread-hooks.
2012-07-06 16:33:10 -05:00
Andrew Johnson
f0d172591b
Missing $(DEP) dependency in std/filters/test
2012-07-06 14:34:22 -05:00
Andrew Johnson
004826e67a
Clean up some warnings.
2012-07-06 14:26:20 -05:00
Andrew Johnson
dda5e60250
libCom/test: Rename test harness as "libComTestHarness"
2012-07-06 14:23:03 -05:00
Andrew Johnson
a942295ead
libCom/calc: Support 0x literals as epicsUInt32
...
Also use epicsInt32 for all integer calculations.
2012-07-06 14:17:51 -05:00
Andrew Johnson
024c9224c9
dbdToRecordtypeH.pl: Don't warn about unused menus.
2012-07-06 14:15:22 -05:00
Andrew Johnson
29553ff887
Removed empty src/std/test directory.
2012-07-06 14:12:04 -05:00
Michael Davidsaver
59020b3a94
remove FIXME
2012-07-06 13:35:28 -04:00
Michael Davidsaver
a9eff6c5e9
un-FIXME: Can't use freeList for variable length allocations
2012-07-06 13:35:28 -04:00
Michael Davidsaver
e23a5ae8ed
defer printing for callbackTest
...
test*() uses printf() so don't print
any results until all results are collected.
On RTEMS/vxWorks buffering of printf() gives
long delays which skew the test results.
2012-07-06 13:35:26 -04:00
Michael Davidsaver
b403dcc27f
release note for dbTestHarness
2012-07-05 15:25:18 -04:00
Michael Davidsaver
93485edcd9
sync filter checking
...
Detect condition which would result to a double free().
2012-07-05 15:25:18 -04:00
Michael Davidsaver
0f79bdadb4
scanlock for direct record access from channel filters
2012-07-05 15:25:16 -04:00
Andrew Johnson
f9bb1ef542
Fix vxWorks build issues from thread-hooks merge.
2012-07-05 13:39:00 -05:00
Ralph Lange
5f0717adea
documentation: Fix typo in html tag in RELEASE_NOTES
2012-07-05 14:37:32 +02:00
Andrew Johnson
a857f7a5ed
Merged Ralph's thread-hooks branch.
...
Minor modifications to fix the vxWorks epicsThreadInit() and
rename some functions.
2012-07-04 13:28:55 -05:00
Ralph Lange
39ed8f3d02
documentation: Updated RELEASE_NOTES
2012-07-03 16:39:57 +02:00
Ralph Lange
137283ec0b
libCom/osi: Add default start hook for _main_ thread
2012-07-03 15:27:50 +02:00
Ralph Lange
7b47cad8e4
libCom/osi: Clean up epicsThreadHooks API
...
- remove exit hooks completely
- remove non-public functions fom header files
- add test for epicsThreadMap
- fix bugs in RTEMS and vxWorks implementation of epicsThreadMap
2012-07-03 14:38:12 +02:00
Ralph Lange
e834832cda
libCom/osi: Don't decorate epicsThreadHook functions with epicsShareAPI
2012-07-03 13:20:01 +02:00
Ralph Lange
0e6a01d56a
libCom/osi: Streamline epicsThreadShowInfo functions between implementations
...
- epicsThreadShowInfo: private function to print headers or task line,
not in header file, using internal pointer type
2012-07-03 11:16:09 +02:00
Michael Davidsaver
f1c0458adc
dbEvent: use filtered field log on post event queue
2012-07-02 18:00:55 -04:00
Michael Davidsaver
b5c6c78c85
Make dbChannel access functions into macros
2012-07-02 18:00:55 -04:00
Michael Davidsaver
2d64b06cf4
doc chPostEventFunc
2012-07-02 18:00:53 -04:00
Ralph Lange
7c27c7c56d
documentation: Add epicsThreadHooks info to RELEASE NOTES
2012-07-02 18:31:08 +02:00
Ralph Lange
da91893ec2
libCom/test: Add test for epicsThreadHooks
2012-07-02 18:18:54 +02:00
Andrew Johnson
9fe5ce82d3
Merged the db-test branch.
...
Also made additional changes:
* Simplified xRecord.c so it can run on vxWorks.
* Standard way to load DBD and DB files in tests
All test harnesses now run on vxWorks (but some tests still fail).
2012-07-02 11:03:55 -05:00
Ralph Lange
37e490d1b2
libCom/osi: Make vxWorks implementation of epicsThreadMap() safe and dynamic
2012-07-02 14:21:39 +02:00
Ralph Lange
cfd8c0abde
libCom/osi: Fix nesting for epicsThreadHooks, add WIN32 implementation, lock traversal
...
- call (generic) exit hook after calling the (specific) epicsExitCallAtThreadExits()
- for start hooks added as 1-2-3, run exit hooks in opposite order: 3-2-1
- add calls to hooks module to WIN32 osdThread.c
- add lock/unlock to hook list traversal
2012-07-02 11:31:01 +02:00
Andrew Johnson
da9982f875
libCom: Fix unsigned overflow limits in epicsParse*
...
The strtoul() routine accepts negative numbers. This fix
ensures we handle them properly, and adds suitable tests.
Also fix the test for 1e300, in case the compiler gives a
slightly different literal constant than strtod() returns.
2012-06-30 15:34:29 -05:00
Michael Davidsaver
7d51031d60
RTEMS test harness show run directory
2012-06-29 17:02:25 -04:00
Michael Davidsaver
788d5a1ca1
minor
2012-06-29 17:02:25 -04:00
Michael Davidsaver
d6bda6fb3a
arrTest cleanup on exit
...
Do test db cleanup after hooks registered by iocInit
2012-06-29 17:02:25 -04:00
Michael Davidsaver
b5c223f462
fix tsTest
2012-06-29 17:02:24 -04:00
Michael Davidsaver
f5bad40474
sync needs to free held events
...
The sync plugin may hold an update internally.
If this is done then it must be free'd when
the dbChannel is closed.
2012-06-29 17:02:24 -04:00
Michael Davidsaver
60b684a4dc
update dbndTest
2012-06-29 17:02:24 -04:00
Michael Davidsaver
d2b0e92001
db_close_events cleanup
...
Move cleanup from event thread to caller.
This handles cases (unit tests) where the task
is never started.
The pexitsem flag serves as the indicatior that
the event task was started.
2012-06-29 17:02:23 -04:00
Michael Davidsaver
46fb21c880
dbnd must free dropped events
2012-06-29 17:02:22 -04:00
Michael Davidsaver
a103a2434a
dbEvent don't queue dropped events
2012-06-29 17:02:22 -04:00
Michael Davidsaver
e6ae903f2c
notes on db_field_log usage
2012-06-29 17:02:22 -04:00
Michael Davidsaver
aa17f317f8
define more of probe field log
...
plugins don't need to inspect more than
field_type, field_size, and no_elements.
In case they do define type=val to prevent
accidental use of uninitialized pointer.
2012-06-29 17:02:20 -04:00
Andrew Johnson
fb61234431
Change the epicsParse APIs to return a units pointer.
...
This lets us use epicsParseDouble() for scan rate parsing.
Ensure the scanOnce thread is a higher priority than the fastest
periodic scan thread, irrespective of how many threads there are.
2012-06-29 14:41:35 -05:00
Ralph Lange
d6648d4473
libCom/osi: Add some copyrights for ITER
2012-06-29 18:12:07 +02:00
Ralph Lange
8c323b2197
libCom/osi: Add epicsThreadMap (calls user function for each thread)
2012-06-29 17:54:38 +02:00
Andrew Johnson
bde52418b9
Various fixes for vxWorks
...
Provide a separate dbd file for each test.
Don't require a writable filesystem.
Simplfy xRecord.c again.
2012-06-29 10:09:56 -05:00
Ralph Lange
1f5376b30b
libCom/osi: Add RTEMS and vxWorks implementation for epicsThreadHooks
2012-06-29 14:49:24 +02:00
Ralph Lange
7e9f048433
Add decorations to epicsThreadHooks.c
2012-06-29 11:22:48 +02:00
Ralph Lange
803777329c
Cleanup of epicsThread hooks
...
- move declarations to epicsThread.h, use epicsThreadId type
- use static elllist initializer for static lists
2012-06-29 11:15:47 +02:00
Michael Davidsaver
2fd6004827
forgot to remove TODO
2012-06-28 13:57:24 -04:00
Michael Davidsaver
4986c184c7
cleanup for dbRegisterFilter()
2012-06-28 13:44:33 -04:00
Ralph Lange
222ea314b0
Add thread hooks to epicsThread that are called when a thread starts or exits
...
- add Linux implementation that
+ sets the system command name to the EPICS thread name
+ retrieves the Linux LWP ID and prints it instead of the posix thread ID
in show commands
2012-06-28 18:12:26 +02:00
Michael Davidsaver
683093222a
integer type should be epicsInt32
...
Can't use long for this on 64-bit systems
2012-06-28 10:55:49 -04:00
Michael Davidsaver
61b285a5e3
booleans are stored as char not int
2012-06-28 10:55:48 -04:00
Michael Davidsaver
4a393a428d
fix examples in chfPlugin.h
2012-06-28 10:55:47 -04:00
Michael Davidsaver
8eedb09395
chfPluginTest: more verbose error messages
2012-06-28 10:55:47 -04:00
Michael Davidsaver
4a6216534c
rtems test harness setup to create temp files
...
Apparently the default location for tmp files
doesn't exist in the default IMFS tree.
2012-06-28 10:55:46 -04:00
Michael Davidsaver
39ccbeeb11
Make db unit tests self contained
2012-06-28 10:55:46 -04:00
Michael Davidsaver
026307c06d
db cleanup
...
cleanup to allow database re-load
2012-06-28 10:55:44 -04:00
Andrew Johnson
4eb31d7edc
Fix dbScan bug, add scan period units and checking.
2012-06-27 16:43:15 -05:00
Andrew Johnson
05f07d9ec8
tools/DBD: Improve error reporting
...
Better 'duplicate choice' message
Output messages to STDERR
2012-06-27 11:58:23 -05:00
Andrew Johnson
6595ff9518
Clean up some compiler warnings from gcc 4.6
2012-06-26 00:19:10 -05:00
Andrew Johnson
0dc67498ed
libCom: Mark epicsStrtod() as extern "C"
2012-06-25 10:39:47 -05:00
Andrew Johnson
44a70cca5a
merged server-side-plugins branch
2012-06-22 18:16:26 -05:00
Andrew Johnson
ddc675adc1
merged record-updates branch
2012-06-22 17:58:12 -05:00
Andrew Johnson
42ebafd6ae
merged msi-join branch
2012-06-22 17:53:33 -05:00
Andrew Johnson
fb6dfe6210
merged remove-hpux-artifacts branch
2012-06-22 17:32:10 -05:00
Andrew Johnson
269fb01c63
libCom: Add routines for parsing strings into epicsTypes
...
Adds new routines for converting numeric strings into the
standard epicsInt8, epicsUInt8, epicsInt16, epicsUInt16,
epicsInt32 and epicsUInt32 types, along with Long, ULong,
Double and Float. These all provide error checking and
detection of extraneous characters. The epicsScanDouble
and epicsScanFloat routines originally in epicsStdlib.h
are replaced by macros that call the epicsParse routine,
and this also provides epicsScanLong and epicsScanULong
to match.
A test file is added to ensure conversions work properly
and report appropriate errors. This file also checks the
native strtod() routine if not used to check whether the
epicsStrtod() code is required on this platform.
2012-06-22 14:06:52 -05:00
Andrew Johnson
7cae5ebd7b
Fixes for build issues found on Darwin.
2012-06-21 17:58:07 -05:00
Andrew Johnson
c79532e4ce
configure: Remove HDEPENDS option.
...
Setting HDEPENDS=NO no longer works and would be hard to
fix, so this commit deletes the option completely.
2012-06-21 17:21:40 -05:00
Andrew Johnson
e1e8f56d27
Moved filter plugins, fixed portability issues.
...
The filter plugins are now in src/std/filters
and their tests in the test subdirectory.
Various portability issues found and fixed:
* Variable declarations after statements in a block
* Code assuming that epicsInt32 = long
* // comments in C files
Removed a number of tests that weren't really tests;
preconditions for future tests that don't actually check
the code being tested should call testAbort() if the
condition fails, which tells the test harness that you
meant to die at that point.
Split up lots of very long source lines.
Probably made a few other changes that I forget about now.
2012-06-21 15:27:32 -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
84a8bacc58
Re-merged the dontcant branch.
...
Michael backed out a few changes and added some others.
I added some modifications to default/osdMessageQueue.cpp to
remove arguments from a couple of internal (static) functions.
2012-06-19 14:28:26 -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
bd53941ac4
Cleanup of mbbi, mbbo record code.
...
Mostly just layout changes, removing unnecessary casts, and
replacing 'unsigned short' with epicsEnum16 types.
The only significant code change is in the alarm filtering
code of the mbbi record, which wasn't handling UDF alarms
or unknown state alarms quite right.
2012-06-18 12:13:14 -05:00
Andrew Johnson
c708bb1bac
epicsTypes: Added epicsInt64 and epicsUInt64
...
With size checks for them in epicsTypesTest.
Also added static checks of type sizes there, since we can.
2012-06-08 16:28:31 -05:00
Andrew Johnson
24e2452bd4
libCom/test: epicsAtomic tests
...
Added C++ template instances, so this code loads on
a vxWorks 5.5.2 system.
2012-06-07 13:38:11 -05:00
Andrew Johnson
958b40f74c
libCom: Silence errlog when running tests
...
Removes extraneous noise.
2012-06-05 15:53:32 -05:00
Andrew Johnson
e458e8fe2d
Don't try to build dbltExpand on Win32.
2012-06-01 14:33:55 -05:00
Andrew Johnson
37a9efa290
Added test for msi -o option.
2012-06-01 14:16:13 -05:00
Andrew Johnson
efec22eea5
Add automated tests for msi.
2012-06-01 14:03:53 -05:00
Andrew Johnson
d5f050a9a2
Support ';'-separated path lists on Windows
...
Also renamed the '-c' option to '-g' (global scope)
Updated documentation to match.
2012-05-31 16:39:05 -05:00
Andrew Johnson
2b9d66273c
Merged changes from 3.14 branch.
...
Includes everything up to revno 12343 on 2012-05-21
2012-05-29 16:44:49 -05:00
Andrew Johnson
cdaf05c7ac
db/test: Create a test harness for vxWorks & RTEMS
2012-05-29 16:20:17 -05:00
Michael Davidsaver
3e9bae45b9
default MQ report event wait errors
2012-05-24 14:31:29 -04:00
Michael Davidsaver
5d2e5b46e5
minor
2012-05-24 14:31:28 -04:00
Michael Davidsaver
3333217f56
simplify
2012-05-24 14:31:28 -04:00
Michael Davidsaver
6060f2eaaa
Only ignore errors when there is an error reporting path
...
can't report from thread free mutex unlock or implicit thread creation
2012-05-24 14:31:27 -04:00
Michael Davidsaver
458cc17eab
fix filter plugin tests as well
2012-05-24 14:11:10 -04:00
Michael Davidsaver
34800b071f
fix arrTest
...
Don't use compiled in paths
include menuConvert as this is now required at runtime
2012-05-24 14:11:10 -04:00
Michael Davidsaver
20d60bef81
fix db plugin tests
...
Avoid installing xRecord.dbd. This would otherwise be installed
by the DBDINC.
Also must split out recordtype definition from record instance
definition and run the registrar function between the two loads.
This is due to new sanity checks in the loading process
2012-05-24 14:11:09 -04:00
Michael Davidsaver
434f6346fa
registerRecordDeviceDriver needs DBD search path
2012-05-24 14:11:09 -04:00
Michael Davidsaver
386a2f73a7
don't destroy locked mutex
2012-05-24 14:11:08 -04: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
385d9f007a
configure: Tell Perl all I/O streams are UTF-8 encoded.
2012-05-07 15:15:26 -05:00
Andrew Johnson
ee327a6440
configure: Use $(PERL) variable to call perl.
2012-05-07 10:36:04 -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
5b228618e1
Merged epicsStdioRedirect.h into epicsStdio.h
2012-05-03 12:19:34 -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
Michael Davidsaver
8b2c08f2f6
fix build
2012-04-27 13:25:27 -04:00
Michael Davidsaver
c1c7698a98
disable filter tests until fixed...
2012-04-27 13:25:27 -04:00
Michael Davidsaver
60692fd9d2
clean all
2012-04-27 13:25:27 -04:00
Michael Davidsaver
773c277d20
ugly hack to make unit test run
2012-04-27 13:25:26 -04:00
Michael Davidsaver
cb175516d6
fix build after reorg
2012-04-27 13:25:25 -04:00
Michael Davidsaver
ceabe74653
fix test build
2012-04-27 13:25:25 -04:00
Ralph Lange
948a3feba7
Fix in dbLink.h: Include all used headers
2012-04-27 13:25:19 -04:00
Ralph Lange
57fc84fef3
dbState: Avoid segfaults when called with NULL pointer
2012-04-27 13:25:18 -04:00
Michael Davidsaver
03a30f3b8f
Add DbState soft support for bi/bo records.
2012-04-27 13:25:18 -04:00
Michael Davidsaver
83586b49d0
Add test code for sync plugin.
2012-04-27 13:25:17 -04:00
Michael Davidsaver
95881525e5
Add sync plugin that uses the db state
2012-04-27 13:25:16 -04:00
Ralph Lange
c4b54c6d4d
Fix compiler warnings and minor issues.
2012-04-27 13:25:16 -04:00
Michael Davidsaver
4893d0ef8b
Add dbState library that provides a means of synchronizing plugins to events.
2012-04-27 13:25:15 -04:00
Ralph Lange
77eba53222
Change arr plugin behaviour from exclusive to inclusive range end specifier
2012-04-27 13:25:14 -04:00
Michael Davidsaver
0d9d992717
Add [s:i:e] sub-array shorthand parsing and unit test
2012-04-27 13:25:14 -04:00
Ralph Lange
ef2814ec44
Fix bug in arr plugin (for incr <= 0), add tests for invalid and out-of-bound parameters
2012-04-27 13:25:13 -04:00
Michael Davidsaver
45a531b167
Add arr plugin for array subsets (+ testcode)
2012-04-27 13:25:07 -04:00
Ralph Lange
ef4b2e5892
Fix in dbExtractArray.c for DBF_STRING copies with wrap around
2012-04-27 13:25:03 -04:00
Ralph Lange
0e2a66e721
Fixes and additions in dbExtractArray.c
...
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
* Add forced write of '\0' to destination to end strings correctly
* Add dbExtractArrayFromBuf() to make array copies from ref type field logs easier
2012-04-27 13:24:54 -04:00
Michael Davidsaver
0b32220e86
Added tests for ts and dbnd plugins, fix in dbnd.c: make local functions static
2012-04-27 13:22:04 -04:00
Ralph Lange
d2d91a545f
Bunch of minor changes
...
* Fix decorations in chfPlugin.c/.h
* Fix missing include in dbAccessDefs.h
* Beautification in dbChannel.c
2012-04-27 13:22:02 -04:00
Michael Davidsaver
62ba76c71a
Add dbExtractArray to support extracting same type arrays with offset and increment
2012-04-27 13:22:02 -04:00
Michael Davidsaver
0cfe224f47
Add deadband plugin (client defined monitor deadband)
2012-04-27 13:22:01 -04:00
Ralph Lange
b843a8990a
Fix: don't put dropped event (NULL) on the event queue
2012-04-27 13:22:01 -04:00
Ralph Lange
444a200b61
Change how ...Show is generated, minor refactoring and fix in ts plugin
2012-04-27 13:22:00 -04:00
Ralph Lange
d2abc71527
Add function to dbChannel.c to create a db_field_log copy of array/string data
2012-04-27 13:22:00 -04:00
Michael Davidsaver
e67ef8a005
Add ts filter plugin to set timestamp to "now"
2012-04-27 13:21:59 -04:00
Ralph Lange
6e58dcfab6
Change interface to ...Show functions, minor refactoring
...
* ...Show functions take an indent argument (number of spaces to print
in front of each line) instead of a char* intro to avoid allocation at each level,
replacing '\t' with 8 spaces in top level code where necessary
* Refactor element_size -> field_size (as used in dbAddr), also in dbChannel
functions
* Fix: wrong macro name in unused part of db_field_log.h
2012-04-27 13:21:59 -04:00
Ralph Lange
317065dadb
Minor fixes in chfPluginTest.c
2012-04-27 13:21:58 -04:00
Ralph Lange
6923dc5fd2
Add ability for plugins to drop db_field_log updates (+tests)
2012-04-27 13:21:58 -04:00
Ralph Lange
47e2e228ab
Extend and add lots of tests in chfPluginTest.c
...
* Add tests for callback registration (pre and post)
* Add tests for callback execution (pre and post)
* Add tests for report function and array destructor
* Add test for combinations of two plugins (that register pre eventq, post eventq or in
both chains), checking the order of calls and db_field_log changes independently
* Make test messages more verbose and comprehensive
2012-04-27 13:21:57 -04:00
Ralph Lange
f8e9a7643a
Added pvt pointer argument to parse_error in the plugin interface
2012-04-27 13:21:57 -04:00
Ralph Lange
926246a495
=?UTF-8?q?Update=20copyright=20notices,=20refactor=20in=20dbEvent.c:=20make=20LOCK/UNLOCK=20macros=20require=20=C2=A8;=C2=A8?=
...
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
2012-04-27 13:21:57 -04:00
Ralph Lange
0a6ca6011a
Run post-event-queue filters for events
2012-04-27 13:21:56 -04:00
Michael Davidsaver
f806551fe3
Add context qualifier to db_field_log, support plugins for CA read operations
2012-04-27 13:21:56 -04:00
Ralph Lange
ec7dfb1890
Change mechanism to detect data type/size changes by plugins
...
* Remove "probe" type from db_field_log
* Supply probe when registering plugin chains
* Minor refactoring (rename) in dbfl_type and chFilter
2012-04-27 13:21:55 -04:00
Ralph Lange
c41fcef260
Restructured pre- and post-event queue chains, type/size change detection
...
* Add new db_field_log type "probe" for type change detection
* Move linked lists for pre- and post-event-queue chains into dbChannel,
function pointers and arguments into chFilter
* Remove set-type-chain completely
* Simplify register functions in filter and plugin interfaces
* Add functions to run the pre and post chains to dbChannel
* Refactor in db_field_log: field_size -> element_size
* Refactor in dbEvent:
db_post_single_event_first -> db_create_event_log
db_post_single_event_final -> db_queue_event_log (removed from public interface)
* Change tests to compile
2012-04-27 13:21:55 -04:00
Ralph Lange
b99975cf71
Allow filter plugin to change the type of data and the array size
...
* Add field_size to db_field_log
* Add final type, dbr_type, no_elements, and field size to dbChannel
(plus matching access methods)
* Add set-type callback chain to find out final sizes and types
* Add registration calls for pre-event-queue and post-event-queue insertion
2012-04-27 13:21:54 -04:00
Ralph Lange
b09a9758b0
Changed db_field_log types to add support for plugin-created array copies
...
* db_field_log now is one of rec = use record, val = val inside, ref = reference inside
* add field_type and no_elements (to allow plugins change type and array size)
* add destructor in the ref type (called when deleting the db_field_log)
* change dbEvent.c and dbAccess.c to use the new field log features
2012-04-27 13:21:54 -04:00
Ralph Lange
5ea973151f
Make reference (array/string) updates use a reference type db_field_log.
...
* Redefine db_field_log to be a union between a "value" type (as before)
and a "reference" type (pointers to values, dtor for plugin array copies).
* Add db_delete_field_log function that correctly destructs a db_field_log.
2012-04-27 13:21:54 -04:00
Ralph Lange
4dd42383ef
Add filter/plugin insertion into the high-priority filter list (pre event queue).
...
* Move evSubscrip from dbEvent.[ch] (private) to dbChannel.h (public).
* Split up db_post_single_event_private into two parts:
..._first creates a new db_field_log chunk and copies from db.
..._final puts a db_field_log into the event queue.
* Add a typedef for the pre-event-queue recursive callbacks.
* Add a register function for the callback (plus void* arg) to filter and
plugin interfaces.
* Add the code that builds up the pre-event-queue callback chain.
* Changes to the test files to compile (no tests added yet).
* Fix missing include in db_field_log.h.
2012-04-27 13:21:53 -04:00
Ralph Lange
dd03d19cf2
dbEvent.c: use a free list for the field logs and keep a pointer in the event queue
2012-04-27 13:21:53 -04:00
Ralph Lange
d92665c5a3
Refactoring: enforce consistent use of names in dbEvent.c - NO EFFECTIVE CODE CHANGES
2012-04-27 13:21:52 -04:00
Ralph Lange
9f5f5246aa
Added required mask per plugin to shorten check loop. Trivial test change. [src/db/chfPlugin.c src/db/test/chfPluginTest.c]
2012-04-27 13:21:52 -04:00
Ralph Lange
52c6eaa848
Refactor: get rid of ...Ctx (as Ctx is often used for user handles) [src/db/chfPlugin.c]
2012-04-27 13:21:52 -04:00
Michael Davidsaver
de134ea72d
Added chfPlugin, a simple interface for channel filter plugins.
...
- chfPlugin.h contains the simple jump table and doxygen documentation
- chfPlugin.c is a wrapper library around the yajl callbacks that parses
any client-supplied configuration into the user's structure
- test/chfPluginTest.c tests the library and the data conversion
2012-04-27 13:21:51 -04:00
Ralph Lange
d22b719e32
Changed the structure for channel filters and channel filter plugins.
...
- Made chFilterPlugin public (moved from dbChannel.c to dbChannel.h)
- Made the interface jump table chFilterIf part of the chFilterPlugin
(i.e. once per plugin) instead of chFilter (once per instance)
- Added a pointer from chFilter (instance) to chFilterPlugin (plugin)
- Added a private user pointer in chFilterPlugin
- Changed dbFindFilter() to return a chFilterPlugin* (instead of the jump table)
- Changed dbRegisterFilter() to accept a user private pointer as 3rd arg
2012-04-27 13:21:50 -04:00
Ralph Lange
f65ec61dc3
Fix: Call dbChannelDelete() when client connection is lost. [rsrv/caservertask.c]
2012-04-27 13:21:49 -04:00
Andrew Johnson
a2fadc15a7
Must clear link type before calling dbLockSetSplit()
2012-04-27 13:21:48 -04:00
Andrew Johnson
4ef35a5f5c
Move recGblInitConstantLink() functionality into dbLink.c
...
Using dbFastPutConvert for string to number conversion.
2012-04-27 13:21:48 -04:00
Michael Davidsaver
74b24bbe0f
Refactor link handling code (incomplete).
...
* Moved routines into dbLink.h and dbLink.c
* Created separate routines for DB_LINK processing
* Added dbinitLink() and dbAddLink()
* Started a Link Support Entry Table, not used yet
* Everything should still work as before...
2012-04-27 13:21:47 -04:00
Andrew Johnson
06d3397342
Fix compiler warnings.
2012-04-27 13:21:47 -04:00
Andrew Johnson
58d1e22e0f
Improve output from Show routines.
2012-04-27 13:21:46 -04:00
Andrew Johnson
19a166a60d
Various updates.
...
* Added dbChannelGet()
* Implement dbChannelGetField() using dbChannelGet()
* Close filters in reverse order of opening
* Messages and comments improved.
2012-04-27 13:21:46 -04:00
Andrew Johnson
1047f42b15
Simplify implementation.
...
* dbGet() now handles DBF_*LINK fields,
* Simplify dbGetField(),
* Split out getAttrValue(),
* Rename dbGetFieldLink() to getLinkValue(),
* Reduce number of casts.
2012-04-27 13:21:45 -04:00
Andrew Johnson
9a02181084
Add ellPop() function, removes and returns the last node on a list.
2012-04-27 13:21:45 -04:00
Andrew Johnson
06bcdb0ade
Tindying up.
...
Fixed issues with dbChannelDelete() and dbChannelShow().
2012-04-27 13:21:45 -04:00
Michael Davidsaver
e94fd29b9b
fix camessage
2012-04-27 13:21:44 -04:00
Michael Davidsaver
bcfaa63d8c
complete rename
2012-04-27 13:21:44 -04:00
Michael Davidsaver
4c2eba502a
Rename dbChannelData() to dbChannelField()
...
dbChannel_get() now uses dbChannelGetField()
dbChannel_put() now uses dbChannelPutField()
Conflicts:
src/db/db_access.c
2012-04-27 13:21:43 -04:00
Andrew Johnson
07b3b7e32d
Make casr print the full channel name, not just the record name.
2012-04-27 13:21:43 -04:00
Andrew Johnson
1d274aba0d
Make dbChannel_create() call dbChannelOpen()
2012-04-27 13:21:43 -04:00
Andrew Johnson
b4dbcf2b1a
Don't parse field modifiers in dbChannelTest()
...
dbChannelDelete() returns void
update tests.
2012-04-27 13:21:42 -04:00
Michael Davidsaver
e37c5c99bb
adapt db_get_field_and_count to dbChannel_get_count
2012-04-27 13:21:42 -04:00
Michael Davidsaver
8bf53d3c59
Replaced dbAddr with dbChannel in all CA-server related code
...
* Routines with a db_access interface are named dbChannel_xxx
* Using dbch for member variable names in Jeff's code
It seems to work!
TODO: Make dbChannel use a freelist
2012-04-27 13:21:41 -04:00
Andrew Johnson
56468b684e
Extended functionality of dbChannel code:
...
* Deleted the chan->magic member and associated checks.
* Moved rset->cvt_dbaddr() call into dbChannelCreate()
* Added many accessor routines
* Renamed dbChannelReport() to dbChannelShow() and added dbChannelFilterShow()
2012-04-27 13:21:41 -04:00
Andrew Johnson
f4d55f1249
Changed dbChannel management API to Test/Create/Delete
2012-04-27 13:21:40 -04:00
Andrew Johnson
4324ffd274
Various improvements:
...
* A filter's parse routines now return a parse_result (enum)
* Return value from test filter parse routines is configurable
* Either call parse_end() or parse_abort(), but never both.
2012-04-27 13:21:40 -04:00
Michael Davidsaver
eee5a28983
Integrated dbChannel more and extended its functionality:
...
* Register filters in pdbbase, using a list and gphash
* Do record and field search first
* Test loads a DBD/DB file to provide a record to find
2012-04-27 13:21:39 -04:00
Andrew Johnson
8baf3b1362
Ignore eclipse project configuration files.
2012-04-27 13:21:39 -04:00
Andrew Johnson
0ab891fca4
Added gphFindParse(), which takes a string length parameter.
...
This is useful for hash lookups while parsing a const string, to avoid
having to copy and nil-terminate it.
2012-04-27 13:21:33 -04:00
Michael Davidsaver
68dfeb76c0
Adding dbChannel JSON parser and test files.
...
Passes 33 tests.
2012-04-27 13:21:32 -04:00
Andrew Johnson
cf623e290a
Upgraded to yajl version 1.0.9.
2012-04-27 13:21:31 -04:00
Andrew Johnson
359fc1b69e
Move YAJL_API to front of declarations.
2012-04-27 13:21:31 -04:00
Andrew Johnson
625a7adc69
Add Lloyd Hilaiel's Yet Another JSON Library v 1.05 to libCom.
...
This is BSD licensed, modified only enough to build under EPICS.
2012-04-27 13:21:29 -04:00
Andrew Johnson
492360a3d4
Documentation updates
...
Clear out old stuff.
Introduce global macro syntax.
2012-04-20 17:38:59 -05:00
Andrew Johnson
653af6e366
Unify behaviour with msi.
...
dbLoadTemplate must accept global definitions inside pattern and
variable substitutions, since the new version of msi does that.
2012-04-20 17:35:26 -05:00
Andrew Johnson
d61d7ebf96
Fix bug with global definitions
...
Pattern mode changes the behaviour of substituteGetReplacements()
which breaks the parsing of global definitions. Add a separate
routine substituteGetGlobalReplacements() which is used for parsing
global definitions and ignores the isPattern flag.
2012-04-20 17:31:43 -05:00
Andrew Johnson
7a968bc5f5
Refactoring for maintainability
...
Use epicsStrDup()
Release macLib handle when finished
2012-04-20 14:01:51 -05:00
Andrew Johnson
e1a92fcf3f
Refactoring for maintainability
...
Replaced all void * pointers with pointers to private structures.
Removed several unnecessary casts.
2012-04-20 13:15:07 -05:00
Andrew Johnson
729f04ecce
Merged Michael's dontcant branch.
...
This removes various calls to cantProceed() and its relatives
and replaces them with an error return status when a resource
allocation fails. It only does it for routines that already
have an error status return, so it makes no API changes, and
will prevent threads from being suspended unnecessarily.
2012-04-19 13:57:05 -05:00
Andrew Johnson
cec6aee81b
HPUX: Delete void * operator new(size_t) methods
...
These were apparently needed by the HPUX compiler even though it
never actually executed them. They are never used.
2012-04-12 11:28:23 -05:00
Andrew Johnson
bb4d470145
Delete diagnostic code inside #if 0 ... #endif
2012-04-12 11:26:03 -05:00
Andrew Johnson
1137f1b0b0
HPUX: Delete HP-specific return statements.
2012-04-12 11:24:13 -05:00
Andrew Johnson
2a20d48ca4
HPUX: Remove all // X aCC comments
...
These were added to suppress warnings from the HPUX compiler.
2012-04-12 11:13:50 -05:00
Andrew Johnson
0ea56b82b8
Delete filterWarnings.pl script
...
Was only used on HPUX which we don't support any more.
2012-04-12 10:34:56 -05:00
Andrew Johnson
545166281c
Merged Dirk Zimoch's named-soft-events branch
...
Added the iocsh command postEvent
Marked a couple of char * args as const
2012-04-10 17:10:50 -05:00
Andrew Johnson
afd9e69a25
Merged parallel-fixes branch
...
This separates out the rules for %.d files from the rules that
create the related target file (%.o etc). Doing this can reduce
the amount of work to be done when rebuilding applications after
making source changes. For files in O.Common which can be built
by any target architecture this can solve problems when parallel
builds (-j) are used.
2012-04-06 16:13:22 -05:00
Andrew Johnson
ad4d9ca9d9
Minor build cleanups
...
Removed %.C and %.H from vpath (rules were deleted some time ago)
Added %.pl to vpath for use in ioc/registry/Makefile
configure/tools doesn't exist any more, remove from configure/Makefile
2012-04-06 15:37:52 -05:00
Andrew Johnson
09c313764e
Merged changes from 3.14 branch
...
Includes all changes up to revno 12334 on 2012-04-04
2012-04-06 12:22:20 -05:00
Andrew Johnson
3a1252da17
Updates to build for iOS targets
2012-04-06 10:11:34 -05:00
Andrew Johnson
e39c5aad8b
libCom: Cleaned up bldEnvData.pl and makeEpicsVersion.pl
...
Added a -q flag, and cleaned up and simplified the code.
Added -h (help) options, and make more use of other modules.
2012-04-05 17:28:19 -05:00
Andrew Johnson
5d5aa57d72
tools: Add -q (quiet) flag to installEpics.pl
...
The -q flag now gets used when the GNUmake '-s' flag is provided.
This change also includes a cleanup of the installEpics.pl script.
2012-04-04 12:30:27 -05:00
Andrew Johnson
de6d7b2cf0
Merged compiled-dbd branch.
...
This does all DBD-file processing at build-time in Perl scripts.
The result should behave almost identically to the old programs.
2012-04-04 12:07:46 -05:00
Andrew Johnson
0a0302daad
documentation: Update the Converting from 3.13 document.
2012-04-04 11:57:45 -05:00
Janet Anderson
2ae1105ecc
Added -I(SRC_DIRS) to DBDFLAGS.
2012-04-02 15:36:02 -05:00
Andrew Johnson
9ec0cff0e5
configure: Clean up some other DBDEPENDS stuff
2012-04-02 15:34:23 -05:00
Janet Anderson
281f0e004b
Reordered include lines for windows dll build.
2012-04-02 15:33:32 -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
6b8515b860
configure: Reformat/reword comments in CONFIG_SITE
...
Also moved the GNU_TUNE_CFLAGS setting into the file
os/CONFIG_SITE.Common.linux-x86 since it is arch-specific.
2012-03-30 14:37:57 -05:00
Andrew Johnson
bcd604e40b
configure: Expand description of the LINKER_USE_RPATH setting
2012-03-30 13:53:45 -05:00
Andrew Johnson
4e6e9518a3
Use the new DBD processing scripts to generate dependency files.
2012-03-28 17:54:50 -05:00
Andrew Johnson
f1994996ad
Convert registerRecordDeviceDriver.pl to use DBD module.
...
The output is now a bit more compact as it uses Text::Wrap on
the declarations and array data.
2012-03-27 10:47:59 -05:00
Andrew Johnson
dffe203856
db: Another modification to fix lp:907761
...
From Dirk Zimoch.
2012-03-19 12:31:11 -05:00
Andrew Johnson
116f0fd00c
Run the tools/test files under the test harness
2012-03-14 15:27:40 -05:00
Andrew Johnson
d3d8418855
Move src/dbHost scripts and modules into src/tools.
2012-03-13 18:00:46 -05:00
Andrew Johnson
36b8d61a41
Remove dependency on conversion dbTo* programs.
...
Doesn't work anyway since they're now Perl scripts, but
isn't necessary because dbHost gets built first.
2012-03-13 17:50:36 -05:00
Andrew Johnson
63f5c27ebe
Fix tests, use EPICS::Readfile
2012-03-13 16:02:24 -05:00
Andrew Johnson
4c98463b01
rec/ai: Delete ancient, unused, commented-out function prototype.
2012-03-12 11:24:47 -05:00
Andrew Johnson
988874bf5b
Merged alarm-filter branch.
2012-03-09 12:25:59 -06:00
Andrew Johnson
d9e066ac29
Documentation on alarm filtering (AFTC field)
2012-03-09 12:22:45 -06: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
1d0dcf0171
libCom: Deleted the 3.13 tsDefs API.
2012-03-01 11:31:32 -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
bf965cc59c
Merged changes from 3.14 branch.
...
Includes all changes up to rev 12323 on 2012-02-20.
2012-02-20 10:01:04 -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
037e5f6a9d
Post events on waveform.NORD field changes
...
Set "Rec Proc Monitor" column in the Record Reference Manual to Yes.
2012-02-17 17:32:25 -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
Andrew Johnson
0abfcc9445
Replace fixed limits with global variables
...
Replaced Dirk's fixed precision=2 and limit=10 seconds with
global variables which can be set for each IOC. Also changed
the upper control limit for delay fields from 10 to 100,000.
2012-01-21 16:35:40 -06:00
Andrew Johnson
ed18b6903e
Special processing events
...
When generating a DBE_PROPERTY event because of a modified
enum string, also post DBE_VALUE and DBE_LOG events if the
record is currently in that particular state.
2012-01-21 15:31:39 -06:00
Andrew Johnson
3a4ad7bfd8
Merged Dirk Zimoch's non-val-attributes branch
2012-01-21 15:20:11 -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
Andrew Johnson
946ab722a1
Merged changes from 3.14 branch
...
Includes all changes up to the 3.14.12.2 release on 2011-12-12.
2011-12-12 16:16:33 -06: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
f207b00b05
tools: Use Carp
...
Use carp and croak instead of warn and die in library routines.
2011-12-05 14:56:50 -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
c4c23c9775
libCom: One more essential dependency
2011-11-22 18:01: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
2905b5bb72
Parallel build rule fixes
2011-11-14 18:28:26 -06:00
Andrew Johnson
7529ca7a9b
menuGlobal: Now needs dbExpand executable
2011-11-14 18:25:13 -06:00
Andrew Johnson
ab4376c54a
Merge 3.14 changes up to 3.14.12.2-pre1 release
2011-11-14 17:42:50 -06:00
Andrew Johnson
1b345481ba
ioc/db: Generate menuGlobal.dbd
...
The source just duplicates what's in the Makefile anyway.
2011-11-14 17:38:36 -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
4d0c0f4b51
Merged changes from 3.14 branch up to 2011-11-02
2011-11-02 14:59:18 -05: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
5c8c08bf66
documentation: Regenerate README.1st, add instructions to .html
...
I use the elinks program to convert the .html into the text format.
2011-10-28 18:27:50 -05:00
Michael Davidsaver
5c8e6e9224
libCom: printf spec for cantProceed
2011-10-28 15:30:08 -05:00
Andrew Johnson
0b92d61a14
libCom/test: Added epicsTypesTest, checks type sizes.
2011-10-28 15:19:54 -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
b3ec73edcf
Moved devTestAsyn to lp:epics-base-tests
...
These device supports are for testing asynchronous processing
and are currently only used in the regression test suite.
2011-10-04 04:42:00 -05: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
Andrew Johnson
d59a0ac06f
Merged 3.14 changes from 2011-08-23 to 2011-09-15
2011-09-20 13:07:52 -05:00
Janet Anderson
032e990c1e
Made all clean rules single colon rules. Added CLEANS macro to list
...
created files to be removed by "make clean" in O.<arch> directory.
Replaced clean rule in Makefiles with a CLEANS definition.
2011-09-15 14:12:14 -05:00
Janet Anderson
69609896e4
Made all clean rules single colon rules. Added CLEANS macro to list
...
created files to be removed by "make clean" in O.<arch> directory.
Replaced clean rule in Makefiles with a CLEANS definition.
2011-09-15 14:05:05 -05:00
Janet Anderson
72ed0bc27b
Fixed DBDINC_NAME definition
2011-09-15 11:22:10 -05:00
Janet Anderson
47f52c6b93
Fixed TARGET_SRCS definition
2011-09-15 11:19:32 -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
unknown
4fa6f0556c
fixed 64 bit compiler warnings
2011-09-12 15:44:52 -06:00
Andrew Johnson
36962da06c
configure: Fix for compiler-specific includes
...
Need to search the include/compiler/<cmplr> dirs for all external
modules listed in the RELEASE file as well.
2011-09-11 00:58:49 -05:00
Andrew Johnson
dfb8c8ed2b
Merged the rebased-atomics branch.
...
There are still quite a lot of warnings that need cleaning
up when compiling epicsAtomicTest.cpp on a 64-bit system.
2011-09-09 18:09:48 -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
Andrew Johnson
7b82df189e
Prepare configure/os to support vxWorks 6.9
...
I don't think it will work yet though because they removed the
taskVarLib which we use, and there may be other issues too.
2011-09-09 09:41:35 -05:00
Jeff Hill
83e5247ed4
workaround for non-standard vxWorks 5.5.2 gnu compiler
2011-09-08 17:57:14 -06:00
Andrew Johnson
303bc702b2
documentation/README: We now require vxWorks 5.5 or later
2011-09-07 12:16:50 -05:00
Andrew Johnson
26757f5317
libCom/osi: Clean up compiler warnings on vxWorks
2011-09-07 10:59:11 -05:00
Andrew Johnson
8e028f0f3d
libCom/test: errlog test needs -lsocket on Solaris
2011-09-07 10:05:42 -05:00
Jeff Hill
57953e6e24
fixed sunos compiler issue (I dont have sunos 5.10 here)
2011-09-06 18:51:04 -06:00
Andrew Johnson
841978e8c8
Remove epicsAtomicLocked.{h,cpp} from Makefile too.
2011-09-06 10:33:56 -05:00
Jeff Hill
fd10e77518
o hopefully fixed missing functions with sunos 5.10 or higher
...
o removed unused trash files which somehow reappeared after rebase
2011-09-02 18:18:46 -06:00
Andrew Johnson
189dfc6188
configure: Hide rm command in new YACC rules.
2011-09-02 16:24:09 -05:00
Jeff Hill
1ff2408ba4
o hoping that atomic_inc_ptr_nv and atomic_dec_ptr_nv interface definitions will be available if we use sys/atomic.h instead of atomic.h
...
o fixed issue introduced by last revision where definition of lock functions and lock key were not present if its sunos 5.10 or greater
(its time consuming to develop code if you can only run the (SUNPRO) compiler indirectly)
2011-09-02 09:59:03 -06:00
Jeff Hill
c76b800f2a
must ... not .. use the improved c++ casts in c code
2011-09-01 11:43:14 -06:00
Jeff Hill
f5c374c556
o improved comments
...
o dont include epicsAtomicOSD.h from any of the implementations of epicsAtomicCD.h unless the compiler has support for an inline keyword
o removed superfluous ifdef on EPICS_ATOMIC_INLINE all versions of epicsAtomicDefault.h and epicsAtomicOSD.h
o In the implementations of epicsAtomicOSD.cpp if EPICS_ATOMIC_INLINE isnt defined define it to be empty and then include epicsAtomicOSD.h
o fixing some compile time issues for solaris version of epicsAtomicOSD.h (so that Janet can run another compile on that os)
2011-09-01 11:25:53 -06:00
Andrew Johnson
098f7ce850
Update FLEX rules.
...
Use the '-t' option to flex to generate a unique output filename.
Needed for parallel builds when multiple lexers are built in
the same object directory.
2011-09-01 11:46:54 -05:00
Andrew Johnson
dbaa045afc
Merged compiler-specific include files branch.
2011-09-01 11:42:37 -05:00
Andrew Johnson
2def6a3d80
Move default macros to compilerDependencies.h
...
Added check in gcc-specific header to error if __clang__ defined
Some versions of clang don't support __has_attribute()
2011-08-31 17:35:18 -05:00
Andrew Johnson
1862b33328
configure: Adjust instructions for switching to clang
2011-08-31 17:32:32 -05:00
Michael Davidsaver
2714ff703b
Fix source reorg issues from Windows
...
* fix libCom exports for things which used to be built differently
* logserver needs winsock
* errlog prefix: fix warnings on win32
* fix dll imports in ioc/db
2011-08-30 18:09:11 -05:00
Andrew Johnson
c5212ea23c
libCom: epicsVersion.h changes
...
Make version numbers easier to compare.
2011-08-30 17:50:53 -05:00
Jeff Hill
3bae2a470f
fixed names on redefinition protection macros for vxWorks
2011-08-30 14:46:24 -06:00
Jeff Hill
5f096a8b80
fixed epics atomic read memory barrier name - old versions of vxWorks
2011-08-30 14:04:36 -06:00
Till Straumann
f203e9a48b
libCom: Fix OS priority mapping on Posix
...
Fixes lp:835138
2011-08-30 14:47:31 -05:00
Jeff Hill
798f1f2ace
fixed word missing from vxWorks specific read and write memory barrier functions
2011-08-30 13:34:17 -06:00
Jeff Hill
43fa23bba6
fixed vxWorks name for epicsAtomicTest
2011-08-30 10:49:52 -06:00
Jeff Hill
ad669d6ece
fixed wrong return type old vxWorks epicsAtomicUnlock
2011-08-30 10:29:56 -06:00
Jeff Hill
f3ca4f1601
fixed test count
2011-08-30 09:27:40 -06:00
Jeff Hill
734ea0789a
fixed vxWorks jumbled ifdef
2011-08-30 09:01:08 -06:00
unknown
f0afcef02e
o changed to more generic implementation to reduce the code size
...
o changed name, OSD_ATOMIC_INLINE to EPICS_ATOMIC_INLINE
o changed supported data types, unsigned removed and int added (per reveiw at codeathon)
o added add/subtract functions (per reveiw at codeathon)
o now presuming that __sync_synchronize available all gcc 4 mingw does not provide windows mem barrier)
o consolodated on one implemention for Microsoft invarient of cmplr intrinisic or win32 by using macros to config a shared header file
o improved doc in epicsAtomic.h
o added overloaded c++ interface in namespace epics :: atomic to epicsAtomic.h
o added epicsAtomicReadMemoryBarrier and epicsAtomicWriteMemoryBarrier interface to epicsAtomic.h
o changed the implementation so that each of the functions can be individually specified for a particular compiler, os, or in the generic implementation (this is accomplished with macros)
o modified the functional and performance test so that they are based on templates so we can easily support new data types
o modified performance tests to repeat function calls and measure performance using a template
2011-08-29 19:02:41 -06:00
Till Straumann
c11aec5d76
- added copyright and author info.
2011-08-26 17:02:02 -07:00
Michael Davidsaver
294e47db9c
gpHashList avoid cantProceed
...
handle allocation failures in gphAdd()
2011-08-26 16:34:00 -07:00
Michael Davidsaver
9a1b6b995e
macEnv avoid cantProceed
2011-08-26 16:33:59 -07:00
Michael Davidsaver
503f46ec8c
posix osdMutex recursive type is not optional
...
epicsMutexId is expected to be recursive so
fail if this is not possible.
2011-08-26 16:33:58 -07:00
Michael Davidsaver
e41bd3994e
default osdMessageQueue avoid cantProceed
2011-08-26 16:33:58 -07:00
Michael Davidsaver
34fc8f8251
rtems osdMessageQueue.c
2011-08-26 16:33:57 -07:00
Michael Davidsaver
294e66039e
epicsRingBytes avoid cantProceed
2011-08-26 16:33:57 -07:00
Michael Davidsaver
333ac3a88e
osdThread avoid cantProceed
2011-08-26 16:33:56 -07:00
Michael Davidsaver
860a22a90b
posix osdMutex don't use cantProceed
2011-08-26 16:33:55 -07:00
Andrew Johnson
86c373370f
configure: Show how to switch to clang on Linux.
2011-08-26 16:49:36 -05:00
Till Straumann
b71aa81a47
- compute and print stack trace (on select architectures) from cantProceed and epicsAssert
2011-08-26 14:40:15 -07:00
Andrew Johnson
239e1487e1
std: Build in std/test, into libdbRecStd
2011-08-26 13:41:25 -05:00
Andrew Johnson
e15e42cff3
Merged Murali Shankar's iocLogPrefix changes.
...
Adjusted a few things during the merge.
2011-08-25 18:17:09 -05:00
Ralph Lange
14e7111e72
catools: Fixed caget (w/o -c) always fetching max. array count
2011-08-25 17:41:53 +02:00
Murali Shankar
95eb4790f1
Added iocLogPrefix to the release notes
2011-08-24 11:25:37 -07:00
Murali Shankar
c12f6808f1
Added a couple of units tests for iocLogPrefix
2011-08-24 11:25:06 -07:00
Murali Shankar
0a4daefee3
Added the iocLogPrefix to the header so that we can use it in the unit test
2011-08-24 11:24:26 -07:00
Andrew Johnson
712bb052ef
Merged the epicsEvent-api branch.
...
Modified epicsEventTest.cpp to use the new names.
2011-08-23 18:19:55 -05:00
Andrew Johnson
ee64e249ad
Merged modified version of Michael Davidsaver's reorg-src branch.
2011-08-23 17:43:12 -05:00
Andrew Johnson
8ff3dcdf2d
libCom: cleanup after rebase
...
remove empty src/libCom/tools dir
include as/RULES, lost during rebase
2011-08-23 17:28:20 -05:00
Murali Shankar
5a0364b74a
iocLogPrefix does not let you change the prefix if the prefix has already been set. Display the prefix as
...
part of iocLogShow.
2011-08-23 11:51:19 -07: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
Murali Shankar
0cb7c9aafe
Added support for iocLogPrefix
...
Refactored logClientSend in libCom/logClient/logClient.c; took the code between the mutex operations and
moved it to a private method - sendLogMessageinChunks. Call this method once for the prefix (if it exists) and once
for the actual message.
Added ioCsh registration code into src/libCom/iocsh/libComRegister.c registering a command called
"iocLogPrefix" that sets this prefix.
Unit tested with and without prefixes.
Performance tested with and without prefixes - without prefix is approx the same. With prefix is about
twice the time (reflecting the two calls to sendLogMessageinChunks I think)
2011-08-23 11:04:09 -07:00
Janet Anderson
e76dc17dfb
Move linux-x86 GNU compiler tune c flag setting to CONFIG_SITE file.
2011-08-22 09:31:26 -05:00
Janet Anderson
4a18db9f99
Initial version
2011-08-19 16:20:53 -05:00
Janet Anderson
71c232afc3
Initial version
2011-08-19 16:20:36 -05:00
Janet Anderson
5f1378971d
Initial version
2011-08-19 16:20:19 -05:00
Janet Anderson
7b53bd5265
Initial version
2011-08-19 16:19:51 -05:00
Janet Anderson
f48c625cb1
Added -mtune=generic cflag. Changed -m32 to OP_SYS flags.
2011-08-19 15:57:06 -05:00
Janet Anderson
3c83a35d9d
Added comment about specifying specific machine type and/or cpu type
2011-08-19 15:56:48 -05:00
Janet Anderson
061b654f03
Changed += to = to become ARCH_DEP_CFLAGS override.
2011-08-19 15:54:10 -05:00
Jeff Hill
a05348d63e
merged andrews merge to R3.15
2011-08-19 14:43:35 -06:00
Jeff Hill
05ae89d306
fixed issues in posix and vxWorks specific epicsAtomic found during testing
2011-08-19 14:41:00 -06:00
Jeff Hill
eaa26363ad
Andrew Johnson 2011-08-17 [merge] Merge 3.14 changes from 2011-06-06 to 2011-08-17
2011-08-19 14:35:04 -06:00
Jeff Hill
e8154577db
fixed issues in posix and vxWorks specific epicsAtomic found during testing
2011-08-19 14:17:59 -06:00
Jeff Hill
4d8045ab5a
o merged in changes from the "compiler specific build" branch
...
o changed implementation of default mutex locked version to be POSIX specific
so we can use a static pthread mutex which is more efficent
2011-08-19 13:48:03 -06:00
Jeff Hill
8a8ba04405
o merged in changes from the "compiler specific build" branch
...
o changed implementation of default mutex locked version to be POSIX specific
so we can use a static pthread mutex which is more efficent
2011-08-19 13:48:03 -06:00
Andrew Johnson
2802744f7c
db/test: Adjust and simplify libraries.
2011-08-18 12:37:59 -05:00
Andrew Johnson
d25ee10b71
Merge 3.14 changes from 2011-06-06 to 2011-08-17
2011-08-17 16:36:38 -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
Jeff Hill
be1c21fc51
o changed the build system so that we can implement functionality which is compiler specific in a separate file for each compiler. This will avoid accumulating MxN ifdef's where M is the number of OS and N is the number of comilers (worst case). This will make it easier to find code that is compiler specific centralizing all of it under libCom/osi/compiler. That should make it mush easier to port EPICS to run on a new compiler.
...
o refactored compilerDependencies.h into code that is compiler specific (one libCom/osi/compiler/xxx/compilerDependent.h for each comiler) and code that isnt libCom/osi/compilerDependencies.h (this is a new location and is no longer in libCom/misc).
2011-08-17 13:57:46 -06:00
Jeff Hill
9b8ee41860
removed lisc file changes
2011-08-17 09:05:05 -06:00
Jeff Hill
1696c5ea72
removed lisc file changes
2011-08-17 09:05:05 -06:00
Jeff Hill
ef6a129079
committed merge
2011-08-16 18:34:36 -06:00
Jeff Hill
4bea8cbb0a
committed merge
2011-08-16 18:34:36 -06:00
Jeff Hill
159ca986a3
o cosmetic change CONFIG_COMMON
...
o removed setting of default i586 arch from mingw and cygwin CONFIG_SITE
2011-08-16 18:32:41 -06:00
Jeff Hill
b5f1a94fc9
o cosmetic change CONFIG_COMMON
...
o removed setting of default i586 arch from mingw and cygwin CONFIG_SITE
2011-08-16 18:32:41 -06:00
Jeff Hill
baaaa3a313
fixed missing missing locked func and broken func proto
2011-08-15 17:59:43 -06:00
Jeff Hill
e929857ac8
fixed missing missing locked func and broken func proto
2011-08-15 17:59:43 -06:00
Jeff Hill
b9900b8682
o no longer need to define OSD_ATOMIC_GCC
...
o removed function
epicsAtomicTestAndSetUIntT
o added new functions
epicsAtomicSetPtrT
epicsAtomicGetPtrT
epicsAtomicCmpAndSwapUIntT
epicsAtomicCmpAndSwapPtrT
o changed msvc intrinsics to define memory fence
o fixed mutex synchronized version so that its slow, but correct if the c++ compiler doesnt synchronized local scope static initialization
o changed most of the set/get methods to use memory barriers instead of some other primitive
o added additional tests
2011-08-15 17:00:01 -06:00
Jeff Hill
bd1b1479f4
o no longer need to define OSD_ATOMIC_GCC
...
o removed function
epicsAtomicTestAndSetUIntT
o added new functions
epicsAtomicSetPtrT
epicsAtomicGetPtrT
epicsAtomicCmpAndSwapUIntT
epicsAtomicCmpAndSwapPtrT
o changed msvc intrinsics to define memory fence
o fixed mutex synchronized version so that its slow, but correct if the c++ compiler doesnt synchronized local scope static initialization
o changed most of the set/get methods to use memory barriers instead of some other primitive
o added additional tests
2011-08-15 17:00:01 -06:00
Jeff Hill
a50482a0c9
added epicsAtomicGetUIntT for completeness
2011-08-12 10:06:09 -06:00
Jeff Hill
c872c44668
added epicsAtomicGetUIntT for completeness
2011-08-12 10:06:09 -06:00
Jeff Hill
049e070b3a
o removed "-march=i586" from
...
configure/os/CONFIG.Common.cygwin-x86
configure/os/CONFIG.Common.linux-x86
configure/os/CONFIG.Common.win32-x86-cygwin
configure/os/CONFIG.Common.win32-x86-mingw
added commented out "-march=i586" to
configure/os/CONFIG_SITE.cygwin-x86.cygwin-x86
configure/os/CONFIG_SITE.win32-x86-cygwin.win32-x86-cygwin
added "-march=i586" to (I know that this compiler currently defaults to 386)
configure/os/CONFIG_SITE.win32-x86-mingw.win32-x86-mingw
2011-08-11 09:49:09 -06:00
Jeff Hill
1f7f09e818
o removed "-march=i586" from
...
configure/os/CONFIG.Common.cygwin-x86
configure/os/CONFIG.Common.linux-x86
configure/os/CONFIG.Common.win32-x86-cygwin
configure/os/CONFIG.Common.win32-x86-mingw
added commented out "-march=i586" to
configure/os/CONFIG_SITE.cygwin-x86.cygwin-x86
configure/os/CONFIG_SITE.win32-x86-cygwin.win32-x86-cygwin
added "-march=i586" to (I know that this compiler currently defaults to 386)
configure/os/CONFIG_SITE.win32-x86-mingw.win32-x86-mingw
2011-08-11 09:49:09 -06:00
Jeff Hill
bd2bccf982
fixed test for earlier gcc supporting intel instrinsic atomic operations
2011-08-10 13:15:51 -06:00
Jeff Hill
275df0471d
fixed test for earlier gcc supporting intel instrinsic atomic operations
2011-08-10 13:15:51 -06:00
Jeff Hill
ca78732dac
fixed solaris 64 compiler error (I dont have that version of solaris here)
2011-08-09 12:26:40 -06:00
Jeff Hill
6f7ac559be
fixed solaris 64 compiler error (I dont have that version of solaris here)
2011-08-09 12:26:40 -06:00
Janet Anderson
d286a81ef0
configure: Remove T_A=* from MAKEFLAGS before findstring s in ECHO def.
2011-08-09 11:39:00 -05:00
Jeff Hill
04c30aee0e
redo change reversed by merge
2011-08-08 18:38:39 -06:00
Jeff Hill
9e60e923e7
redo change reversed by merge
2011-08-08 18:38:39 -06:00
Jeff Hill
96723b66d7
make the default minimum arch for 32 bit linux pentium
2011-08-08 18:31:42 -06:00
Jeff Hill
d522200295
make the default minimum arch for 32 bit linux pentium
2011-08-08 18:31:42 -06:00
Jeff Hill
3a99279692
merged changes from launchpad
2011-08-08 18:03:11 -06:00
Jeff Hill
c3e1f2030a
merged changes from launchpad
2011-08-08 18:03:11 -06:00
Jeff Hill
e8bcfbe2c1
o fixed compile errors in epicsAtomicOSD.h (I didnt have the proper version of solaris to test)
...
o fixed darwin compile errors (I dont have access to darwin)
2011-08-08 17:54:43 -06:00
Jeff Hill
092e161485
o fixed compile errors in epicsAtomicOSD.h (I didnt have the proper version of solaris to test)
...
o fixed darwin compile errors (I dont have access to darwin)
2011-08-08 17:54:43 -06:00
Jeff Hill
eefc3b34e0
o moved -march=i586 from CONFIG.arch.arch to CONFIG.Common.arch {cygwin-x86,win32-x86-cygwin,win32-x86-mingw
...
o removed -march=i586 from CONFIG.linux-x86.linux-x86
o fixed compile errors in epicsAtomicOSD.h (I didnt have the proper version of solaris for initial testing here)
2011-08-08 17:33:19 -06:00
Jeff Hill
76b8265dfd
o moved -march=i586 from CONFIG.arch.arch to CONFIG.Common.arch {cygwin-x86,win32-x86-cygwin,win32-x86-mingw
...
o removed -march=i586 from CONFIG.linux-x86.linux-x86
o fixed compile errors in epicsAtomicOSD.h (I didnt have the proper version of solaris for initial testing here)
2011-08-08 17:33:19 -06: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
Jeff Hill
921df1dd5c
fixed epicsAtomicTestAndSetUIntT for solaris
2011-08-05 17:32:06 -06:00
Jeff Hill
33c40b23a1
fixed epicsAtomicTestAndSetUIntT for solaris
2011-08-05 17:32:06 -06:00
Jeff Hill
a3d9bf1e3f
fixed modern vxWorks atomics
2011-08-05 17:12:33 -06:00
Jeff Hill
094072a93e
fixed modern vxWorks atomics
2011-08-05 17:12:33 -06:00
Jeff Hill
89e47e5fae
fixed test names
2011-08-05 17:11:29 -06:00
Jeff Hill
ed6ad62cf7
fixed test names
2011-08-05 17:11:29 -06:00
Jeff Hill
deb74a10b7
o fixed include guard to match file names
...
o fixed legacy vxWorks support
2011-08-05 16:23:50 -06:00
Jeff Hill
fc4a4d9024
o fixed include guard to match file names
...
o fixed legacy vxWorks support
2011-08-05 16:23:50 -06:00
Jeff Hill
d6cfa286b2
changed test iterations to accomodate old systems
2011-08-05 11:14:37 -06:00
Jeff Hill
b051875f22
changed test iterations to accomodate old systems
2011-08-05 11:14:37 -06:00
Janet Anderson
f59825a462
Added HDEPENDS_METHOD override for cross builds
2011-08-05 12:02:30 -05:00
Jeff Hill
a05a836295
enable gcc atomic intrinsics on certain older gcc that does not advertize its atomics when targeting intel
2011-08-05 10:50:25 -06:00
Jeff Hill
e1e3ec6c22
enable gcc atomic intrinsics on certain older gcc that does not advertize its atomics when targeting intel
2011-08-05 10:50:25 -06:00
Jeff Hill
31f5ae048f
track name changes
2011-08-05 09:51:05 -06:00
Jeff Hill
cedcddd0e8
track name changes
2011-08-05 09:51:05 -06:00
Jeff Hill
100c79b88b
o added epicsAtomic implementation including compiler and os specific files
...
o added functionality and performance testing
2011-08-05 09:13:38 -06:00
Jeff Hill
747a59fd7f
o added epicsAtomic implementation including compiler and os specific files
...
o added functionality and performance testing
2011-08-05 09:13:38 -06:00
Jeff Hill
ee2e367dad
o added CMPL_CLASD definition to CONFIG.gnuCommon, CONFIG.solarisCommon.solarisCommon, configure/os/CONFIG.win32-x86.win32-x86
...
o added CMPLR_SRC_DIRS to ALL_SRC_DIRS, and added compiler/$CMPLR_CLASS) to INSTALL_INCLUDES in CONFIG_COMMON
o added additional compiler specific rule deciding where things are installed to in CONFIG_COMMON
o added compiler specific include install to RULES_BUILD
o changed configure/os/CONFIG.linux-x86.linux-x86 to specify minimum arch is 586 (pentium circa 1995)
o changed configure/os/CONFIG.win32-x86-cygwin.win32-x86-cygwin to specify minimum arch is 586 (pentium circa 1995)
o added epicsAtoimic facility to libCom/Makefile
o added testing and performance measurement to libCom/test/Makefile
2011-08-05 08:57:15 -06:00
Jeff Hill
fa55316272
o added CMPL_CLASD definition to CONFIG.gnuCommon, CONFIG.solarisCommon.solarisCommon, configure/os/CONFIG.win32-x86.win32-x86
...
o added CMPLR_SRC_DIRS to ALL_SRC_DIRS, and added compiler/$CMPLR_CLASS) to INSTALL_INCLUDES in CONFIG_COMMON
o added additional compiler specific rule deciding where things are installed to in CONFIG_COMMON
o added compiler specific include install to RULES_BUILD
o changed configure/os/CONFIG.linux-x86.linux-x86 to specify minimum arch is 586 (pentium circa 1995)
o changed configure/os/CONFIG.win32-x86-cygwin.win32-x86-cygwin to specify minimum arch is 586 (pentium circa 1995)
o added epicsAtoimic facility to libCom/Makefile
o added testing and performance measurement to libCom/test/Makefile
2011-08-05 08:57:15 -06:00
Janet Anderson
c49db7c176
Added commented changes from Eric Norum to build with CLANG
2011-07-27 16:10:56 -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
afc629ed42
dev: Added devHistogramSoft to devSoft.dbd
2011-07-21 13:37:00 -05:00
Andrew Johnson
743b11e6f1
misc: Added histogram record to base.dbd
2011-07-21 12:33:19 -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
Andrew Johnson
88720ff7bd
Merge changes committed to R3.14 branch since April.
2011-06-03 15:28:34 -05:00
Andrew Johnson
b8dba87dc0
configure: Fix parallel make rules.
2011-06-03 14:47:24 -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
c10e450544
More merges from the 3-14 branch.
2011-04-05 17:38:57 -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
e14b1e3d0b
Merged various changes from the 3.14 branch.
2011-03-01 15:28:45 -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
Michael Davidsaver
d28d009240
Updated release notes.
2011-02-26 18:40:58 -06:00
Michael Davidsaver
f242a27dea
Merge std/*
...
Combine recIoc and softDevIoc libraries into dbRecStd
Move base.dbd from ioc/misc/ to std/softIoc/
Generate stdRecords.dbd from the std/rec/Makefile list of record
types instead of hard-coding it in base.dbd
2011-02-26 18:24:51 -06:00
Michael Davidsaver
e463793bc3
Merge ioc/*.
...
Merge miscIoc rsrvIoc dbtoolsIoc asIoc dbIoc registryIoc dbStaticIoc
into dbCore.
Move ioc/misc/asSubRecordFunctions.c to std/dev/asSubRecordFunctions.c
since it depends on the subRecord type.
Extracted ioc variable definitions from base.dbd into dbCore.dbd
2011-02-25 23:56:51 -06:00
Andrew Johnson
e540ae0774
libCom: Ommitted to include the flex/RULES file.
2011-02-25 23:54:30 -06:00
Michael Davidsaver
f7fc564556
Fold antelope/flex and asHost into libCom
...
Build lexer and parser from libCom/Makefile.
Since libCom now includes asLib.c and asLib_lex.c we must build
antelope and flex without linking them to Com. This works because
they only need epicsTempFile anyway. However make doesn't like a
subdirectory with the same name as a target object, so the antelope
source directory is now called yacc. The two main.c files were also
renamed to avoid other build problems.
Merge asHost into Com and remove mentions in CONFIG_BASE
Lots of noise since SRCS must be renamed to Com_SRCS
2011-02-25 15:39:44 -06:00
Andrew Johnson
588ea50bfb
Split libCom/Makefile into individual subdirectories.
...
The new Makefile fragments in the subdirectories are incomplete and will
not work individually. Build rules are placed in a separate RULES file.
This approach keeps the instructions for building each file local and
easier to find than in a large Makefile in the parent directory.
2011-02-25 00:49:03 -06:00
Janet Anderson
b95d846803
Added test for vxWorks build.
2011-02-18 16:37:16 -06:00
Janet Anderson
244355d63d
Updated shared library dependancies needed for -j parallel build option.
2011-02-18 16:16:56 -06:00
Janet Anderson
1fb88ba1e2
Added code for TESTLIBRARY
2011-02-16 11:03:44 -06:00
Janet Anderson
53dc5101be
Added code for TESTLIBRARY
2011-02-16 10:57:20 -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
Andrew Johnson
072b449bb1
libCom: Fixed epicsEvent issues on Win32 and cygwin.
...
* Removed all epicsShareAPI decorations
* Return value from Win32 epicsEventTrigger() inverted
* Return OK from posix epicsEventTrigger() omitted.
2011-02-08 14:17:47 -06:00
Andrew Johnson
77192b3228
libCom: Reworked the epicsEvent APIs
...
* Renamed the enum epicsEventWaitStatus to epicsEventStatus
* Defined epicsEventWaitStatus as a macro for epicsEventStatus
* Renamed epicsEventWaitOk to epicsEventOk
* Renamed epicsEventWaitError to epicsEventError
* Defined epicsEventWaitOK and epicsEventWaitError as macros
* Added epicsEventTrigger(id) which triggers an event and returns OK or an
error status if the underlying OS primitives report an error
* Added epicsEventMustTrigger(id) which halts on error
* Defined epicsEventSignal(id) as a macro for epicsEventMustTrigger(id)
* Added a new C++ method epicsEvent::trigger() which throws an
epicsEvent::invalidSemaphore in the event of an error
* epicsEvent::signal() makes an inline call to epicsEvent::trigger()
* epicsEventWait() and epicsEventWaitWithTimeout() now return an error
status if the underlying OS primitives report an error
* All the epicsEventMust...() routines are now implemented in the common
libCom/osi/epicsEvent.cpp source file, and call cantProceed() instead of
mis-using assert()
* Implemented epicsEventShow() on Posix
2011-02-08 12:02:08 -06:00
Janet Anderson
a2a00c7c91
Make cross builds depend on host build only if -j option and make > 3.81
2011-01-19 15:27:17 -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
Andrew Johnson
04800ac6c5
Merged large array element count fix from 3.14 branch.
2011-01-13 16:29:22 -06: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
Andrew Johnson
cddd8d9563
Merged errlog fix from 3.14 branch.
2011-01-07 10:38:58 -06: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
Michael Davidsaver
260684cb32
Update YACC rules
...
Use '-b' argument of antelope to control generated file name
for safe parallel builds.
Move conditional into command so that it is possible to build
parsers which generate a header in the same directory as parsers
which do not. Allow YACCOPT per target, but default to global.
2010-12-20 10:48:12 -05:00
Michael Davidsaver
39a2858f84
Fix YACC parallel build
...
antelope now support an argument to modify the output
file name. Use this it is possible to safely build several
parsers in the same directory.
2010-12-17 17:32:51 -05:00
Michael Davidsaver
b18cacc216
Reorganize src/Makefile
...
Group entries by "Module"
2010-12-17 14:26:24 -05:00
Michael Davidsaver
4910c76925
move alarm.h to libCom/misc
2010-12-17 14:05:59 -05:00
Michael Davidsaver
128b730c71
libasIoc no longer includes asHost
2010-12-17 13:33:35 -05:00
Michael Davidsaver
2cf6f43c5f
Split up src/util
...
Move log server into libCom with the log client.
Move caRepeater init script and ca_test into ca/client/
2010-12-17 12:21:29 -05:00
Michael Davidsaver
b52927e66c
Move asHost to libCom/as
2010-12-17 11:50:52 -05:00
Andrew Johnson
6c7065f81a
Merged tools fix from 3.14 branch.
2010-12-16 17:07:30 -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
Michael Davidsaver
31533ba62e
Fixup Makefiles
...
Adjust TOP and paths
2010-12-16 17:05:05 -05:00
Michael Davidsaver
2a36a3906d
Stage 1 reorganization
...
Directory moves.
src/RTEMS/ => src/libCom/RTEMS/
src/as/ => src/ioc/as/
src/bpt/ => src/ioc/bpt/
src/ca/ => src/ca/client/
src/cap5/ => src/ca/client/perl/
src/cas/ => src/ca/legacy/pcas/
src/catools/ => src/ca/client/tools/
src/db/ => src/ioc/db/
src/dbStatic/ => src/ioc/dbStatic/
src/dbtools/ => src/ioc/dbtemplate/
src/dev/softDev/ => src/std/dev/
src/dev/testDev/ => src/std/test/
src/excas/ => src/ca/legacy/pcas/ex/
src/gdd/ => src/ca/legacy/gdd/
src/makeBaseApp/ => src/template/base/
src/makeBaseExt/ => src/template/ext/
src/misc/ => src/ioc/misc/
src/rec/ => src/std/rec/
src/registry/ => src/ioc/registry/
src/rsrv/ => src/ioc/rsrv/
src/softIoc/ => src/std/softIoc/
src/toolsComm/ => src/libCom/tools/
2010-12-16 15:15:52 -05:00
Andrew Johnson
41c12475ec
Merged registry fix from 3.14 branch.
2010-12-14 15:14:24 -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
9a831f9dc5
libCom: Simplify libCom/Makefile by splitting into parts
...
Each SRC_DIR gets its own Makefile fragment, and where it needs
private build rules a RULES files.
If this pattern gets used elsewhere we could automate the include
lines (search $(SRC_DIRS) for Makefiles and RULES files?).
2010-12-10 15:23:42 -06:00
Andrew Johnson
877242d038
configure: Deleted CONFIG_COMPAT (3.13 compatibility)
2010-12-10 15:15:37 -06:00
Andrew Johnson
51578959d4
dev: Replaced callocMustSucceed() with calloc()
...
Make the *iSoftCallback devices allocate a single buffer for private
storage instead of several, and cope with calloc failures without
suspending the IOC thread.
2010-12-01 15:14:09 -06:00
Andrew Johnson
26f6eabdf5
dev: Rename notifyInfo structure to devPvt.
2010-11-30 17:32:09 -06:00
Andrew Johnson
558a039a75
Removing old 3.14 and 3.13 notes.
2010-11-27 21:06:40 -06:00
Andrew Johnson
055d312519
Merged deprecations work.
2010-11-24 16:28:57 -06:00
Andrew Johnson
7c9f197e05
configure: Set minor version number to 15
2010-11-24 16:22:45 -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
05cd81a5d5
RTEMS: Removed RTEMS/base directory.
...
All files were moved up one level.
2010-11-17 16:55:22 -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
Dirk Zimoch
c73efe7f39
typo in comment
2010-10-27 22:49:16 +02:00
Dirk Zimoch
0390af5a20
merged and conflict in RELEASE_NOTES.html solved
2010-10-27 22:37:50 +02:00
Dirk Zimoch
7e7d04576b
bugfix: devEventSoft read_event with constant input and tse = epicsTimeEventDeviceTime did not read timestamp
2010-10-27 22:19:33 +02:00
Dirk Zimoch
0d8725857b
new approach to handle named events efficiently
2010-10-27 21:56:12 +02: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
Dirk Zimoch
0e818f6127
use EPICS_DEPRECATED macro
2010-10-15 02:02:48 +02: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
cf7f84cb2f
Remove 3.13 compatibility build vars
2010-10-12 11:27:17 -05:00
Andrew Johnson
fc43152e42
Remove 313 compatibility and some old build rules
2010-10-12 11:26:00 -05:00
Andrew Johnson
70067d141c
Remove src/vxWorks directory, not maintainted/used
2010-10-12 11:23:34 -05:00
Andrew Johnson
3237f0869f
Delete 3.13 and 3.14 conversion docs
2010-10-12 11:22:00 -05:00
Andrew Johnson
9c05865bcb
Remove config directory
2010-10-12 11:18:27 -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
Andrew Johnson
6923f82119
dbtools: Modified and added test files.
2010-09-08 17:02:23 -05:00
Andrew Johnson
a7d7336392
dbtools: Added dbltExpand.c
...
This is a test program which implements the template expansion
capabilities of msi, but using the dbLoadTemplate.c code. It should
be useful for testing, to make sure that both versions generate the
same output. It won't work on Windows at the moment due to a clash in
the function decorations of the dbLoadRecords() function.
2010-09-08 16:59:10 -05:00
Andrew Johnson
46e723575e
dbtools: This is Ben's version of msi.c that implements global {} and
...
restores the variable scope for every instantiation of the teplate.
He's now having second thoughts on the design though, so this might
be not useful.
2010-09-08 16:56:13 -05:00
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
Andrew Johnson
177a9f89c8
dbtools: Merged Ralph's msi-join branch, adds msi to Base.
2010-08-25 16:56:22 -05:00
Andrew Johnson
ac32658bf4
dbtools: Added another possibility for pattern_substitutions rule.
2010-08-25 13:21:24 -05:00
Andrew Johnson
e2464c8572
Implemented "global" variables in substitution files.
...
Rewrote the YACC grammar, with help from Benjamin Franksen in formally
defining the substitution file format in EBNF. This version also
changes the way in which variables are added to the sub_collect
string; previously it appended a ',' after every entry, and removed it
off the end before calling dbLoadRecords(), but now we put the ',' at
the beginning of each entry, and just offer dbLoadRecords() the string
starting at the second character (not that this really matters, macLib
will quite happily ignore either a leading or a trailing comma in the
variable definition string).
We now warn if there are substitution values for which we have no
name, or if the file uses the deprecated syntax which permitted a
bareword token in front of the variable substitution or pattern
definition braces.
2010-08-24 19:01:19 -05:00
Ralph Lange
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
Ralph Lange
6b6de69f1d
build: Point default MSI to the base version.
2010-08-23 15:08:24 -04:00
Ralph Lange
52f4c8ae8f
dbtools: shuffle files towards a reasonable layout, keep test files in test dir
2010-08-23 14:48:43 -04:00
Ralph Lange
2a19c5f0b8
dbtools: Join msi repository into ../src/dbtools
2010-08-23 14:36:23 -04:00
Andrew Johnson
4a637c04cf
dbtools: Added command-line variable parameters.
2010-08-20 17:59:38 -05:00
Andrew Johnson
3db5427e1d
dbtools: Source code clean-up, code layout changes only.
2010-08-20 17:50:52 -05:00
Andrew Johnson
90ab284583
db: Replace forward reference to notifyCallback, got lost in rebase.
2010-08-20 00:40:26 -05: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
02b94c6236
Merged with 3.14
2010-05-28 03:14:16 -07:00
Dirk Zimoch
591b3da84e
Merged with 3.14
2010-05-28 03:13:42 -07:00
Dirk Zimoch
df9ec50b59
release notes updated
2010-05-28 03:12:19 -07:00
Dirk Zimoch
037db16b00
release notes updated
2010-05-28 03:04:09 -07:00
Dirk Zimoch
595345a80f
release notes updated
2010-05-28 02:59:16 -07:00
Kukhee Kim
824d378117
add the alarm filter for ai, calc, longin, mbbi type records
2010-05-28 02:16:45 -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
Dirk Zimoch
e53753b76b
read attributes of input fields from links
2010-05-26 12:47:19 -07:00
Dirk Zimoch
27e80be2e5
read attributes of input fields from links
2010-05-26 10:42:16 -07:00
Dirk Zimoch
dc9e4ccc04
display limits for delays set to 0...10
2010-05-26 10:39:22 -07:00
Michael Davidsaver
eaf07d4f05
copyright boilerplate for devLibVME
2010-05-26 17:17:26 +01:00
Dirk Zimoch
8e701b7d4f
fixed get_units, get_precision, get_graphic_double, and get_control_double to return meaningful values on non-VAL fields
2010-05-26 04:18:57 -07: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
Dirk Zimoch
0a77204795
stringlength and mutex issues fixed
2010-05-25 03:41:18 -07:00
Dirk Zimoch
21e96c5882
string val field
2010-05-25 03:40:49 -07: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
Dirk Zimoch
3f6fd95ef8
OEVT size was missing
2010-05-24 08:42:36 -07:00
Dirk Zimoch
e6b5aad890
Changed soft events from numbers to strings.
2010-05-24 08:09:39 -07: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
adbf7a7388
Update to current code:
...
* Added (c) header, expanded tabs
* Set library path and use new library names
* Added -D (dependency) output handling
* Added -o (output file) support
* Use <td> instead of <th> for normal cell data
This is by no means complete, but it does seem to work.
2010-05-10 15:59:39 -05:00
Andrew Johnson
5f027c35b0
Added John Hammonds' dbdToHtml perl script, unmodified.
...
He also wrote:
Here is at least a short list of things to think about:
How do we add this into the other documentation?
How do we add the long description?
Modify Readfile to do includes or not?
Modify for multiple records in a file?
Modify for no records in the file i.e. dbCommon?
Automatically add link to menu information if DBF_MENU?
Should we go through and set promptgroup on all fields to make this more
correct?
2010-05-10 15:39:52 -05: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
Andrew Johnson
68f4da301f
Clean up editor backup files too.
2010-04-15 11:40:01 -05:00
Andrew Johnson
03b66fd2cc
Prettify DBF_NOACCESS fields so definitions line up in record.h file.
2010-04-15 11:37:18 -05:00
Andrew Johnson
64cfd30f62
Move Cdefs to the top of the record body.
...
Refine when field attribute values get double-quoted.
2010-04-15 11:32:56 -05:00
Andrew Johnson
510027aa2c
Reject field names that are reserved words.
...
The list of reserved words is combined from C++ and the DB/DBD file parser.
This also requires a small change in the rules for generating the C name
from the DBD field name, since the aSub record has a field NOT; now if we
find the lower-case version is reserved, we use the original instead.
Since the aSubRecord.c file doesn't use prec->not this is back-compatible.
2010-04-14 15:16:36 -05:00
Andrew Johnson
5e85476352
Remove programs that were replaced in Perl.
2010-04-13 17:39:27 -05:00
Andrew Johnson
afc57e42f9
Note questionable handling of -I option on Win32.
2010-04-13 17:36:06 -05:00
Andrew Johnson
ce43b9faf8
Reorganized files, configure to use new versions.
...
* Moved Readfile and macLib into tools/EPICS
* dbHost/Getopts was a duplicate
* Added (c) headers
* Build in the dbHost dir
* Switch build system to use Perl versions.
2010-04-13 17:05:59 -05: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
Andrew Johnson
f00684c8c3
2009-12-22: Suggestion...
2010-04-08 17:30:15 -05:00
Andrew Johnson
f6527a9942
2009-02-15: Fix problem parsing function() statements.
2010-04-08 17:29:17 -05:00
Andrew Johnson
f804eb00e7
2009-02-15: Getting close.
...
Rename dbExpand => dbdExpand,
Added proper parsing and generation of DBD file.
2010-04-08 17:27:41 -05:00
Andrew Johnson
68e0fba01b
2009-02-08: Work with & match R3.14.10 output; rename tools.
2010-04-08 17:23:32 -05:00
Andrew Johnson
f464b4d899
2007-04-19: Reorganized cdefs, C++ guard and some formatting.
2010-04-08 17:09:59 -05:00
Andrew Johnson
cf421b7be9
2007-04-17: Added functionality for CDEFS. Still needs changes to dbToRecordtypeH.
2010-04-08 17:09:25 -05:00
Andrew Johnson
487596a2a8
2004-09-10: Updated menu definition stuff.
2010-04-08 16:21:58 -05:00
Andrew Johnson
daa0630361
2004-07-30: Work continues.
...
Make dbToRecordtypeH generate the same output as my 2002 C++ code.
Other changes in testing and macros.
2010-04-08 16:18:03 -05:00
Andrew Johnson
a1b72626ec
2004-07-12: More implementation, can't remember the details now.
2010-04-08 15:55:49 -05:00
Andrew Johnson
38bd72e67a
2004-07-09: Progress!
...
Added a class for each Recfield DBF_TYPE, use this to
simplify conversion to C code.
dbToRecordtypeH incomplete, but it outputs the record struct.
190 tests, 100% ok.
2010-04-08 15:54:02 -05:00
Andrew Johnson
42367731ef
2004-07-08: Lots of development work, parser works.
2010-04-08 15:52:36 -05:00
Andrew Johnson
86c12943bc
2004-07-06: Implementation of libCom's macLib for perl code.
2010-04-08 15:50:43 -05:00
Andrew Johnson
680e05c2c2
2004-06-23: Fixed various things, added Recordtype and global DBD object tests.
2010-04-08 15:48:50 -05:00
Andrew Johnson
b20cf681ae
2004-06-04: Added individual object tests.
2010-04-08 15:47:58 -05:00
Andrew Johnson
a996fc6c06
2004-06-04: Sync laptop => CVS
2010-04-08 15:47:07 -05:00
Andrew Johnson
38e1b910a5
2004-04-29: work in progress
2010-04-08 15:44:53 -05: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
75bdfc185e
Honor MS/MSS/MSI flags and fetches timestamps properly too.
2010-01-08 17:15:03 -06:00
Andrew Johnson
f7d02cc2a8
Convert INST_IO links to regular PV_LINK types, for VDCT support.
...
Added new PN_LINK type in link.h, make dbStaticLib display it.
Made all device support extended so links can be changed at runtime.
Modified startup so add_record() always called before regular link processing.
Incomplete, stilll need to add MS/MSS/MSI support, currently disabled.
2010-01-07 23:48:49 -06:00
Andrew Johnson
0af48f5a29
Alarm filter changes by Bernd Schoeneburg
...
Algorithm by Eric Norum.
Developed at the 2009 EPICS Codeathon.
2010-01-06 16:05:49 -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
c6da34286e
Use prec for record pointers, to match other supports
2009-12-30 00:14:06 -06:00
Andrew Johnson
02b9034457
Added async soft channel support for mbbiDirect records
2009-12-30 00:06:19 -06:00
Andrew Johnson
57cc033b52
Correct error messages.
2009-12-28 22:05:21 -06:00
Andrew Johnson
0563044097
Marty Kraimer's changes to support process-get operations.
2009-12-28 20:37:09 -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
Andrew Johnson
8c6f940e1f
Improve warning message, suggest using -V flag.
2009-10-28 19:47:00 +00:00
Andrew Johnson
0164402bad
Need epicsVersion.h to support macEnvExpand() properly.
2009-10-28 19:30:02 +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
Janet B. Anderson
359a4571f5
Modified test of warning message.
2009-09-22 16:34:47 +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
cvs2svn
d0c061cf1f
This commit was manufactured by cvs2svn to create tag 'MSI-R1-5'.
2008-11-10 20:47:07 +00:00
Andrew Johnson
02d21255f5
Modified for release 1.5
2008-11-10 20:47:06 +00:00
Andrew Johnson
97ccca5474
Cleanup, warnings.
2008-11-10 20:46:27 +00:00
Andrew Johnson
a117a73987
Make undefined macros a warning, not an error; only report once.
2008-05-22 18:55:08 +00:00
W. Eric Norum
0e45345891
Headers no longer provide TRUE/FALSE defines.
2008-04-29 23:04:29 +00:00
cvs2svn
1d9bcafe44
This commit was manufactured by cvs2svn to create tag 'MSI-R1-4'.
2007-06-25 19:59:13 +00:00
Janet B. Anderson
83d06f2569
Initial version.
2007-06-25 19:59:12 +00:00
Janet B. Anderson
9b3af852af
Converted to R3.14 Makefiles.
2007-05-18 16:16:49 +00:00
Janet B. Anderson
460ba036f3
Build msi only for host target.
2004-10-08 15:20:49 +00:00
Andrew Johnson
42b80245b3
Significantly revised, added stuff about default values.
2004-06-17 18:22:06 +00:00
Andrew Johnson
b14965dee5
Build with R3.14 rules if available (not tested...)
2004-06-17 16:19:47 +00:00
W. Eric Norum
d5d828aa7b
Let this compile and run (with reduced capability) on R3.13.
2004-06-14 18:02:00 +00:00
W. Eric Norum
8e417d3032
Add exit status description.
2004-06-04 13:59:40 +00:00
W. Eric Norum
6a9163988d
1) Always print expanded line regardless of the state of the -V flag
...
and the presence or absence of undefined macros.
2) Exit with status 2 if warnings are enabled (-V) and one or more macros
is undefined.
2004-06-03 21:34:55 +00:00
W. Eric Norum
d813690363
Limit scope of macro definitions to a single template file.
2004-06-03 21:09:20 +00:00
Marty Kraimer
7ad050fba6
remove warnings from GNU compiler
2004-05-11 14:44:21 +00:00
cvs2svn
3b47c2f4ec
This commit was manufactured by cvs2svn to create tag 'MSI-R1-3'.
2003-08-14 13:52:36 +00:00
W. Eric Norum
e79662e0e1
Add -o command-line option to specify output file.
...
Perform environment variable macro expansion of substitution file names.
2003-08-14 13:52:35 +00:00
cvs2svn
0b6dfa961d
This commit was manufactured by cvs2svn to create tag 'MSI-R1-2'.
2002-08-02 15:39:52 +00:00
Janet B. Anderson
db2724bbc9
Added license information.
2002-08-02 15:39:51 +00:00
Marty Kraimer
34431b0a81
allow substitutions buffer to grow
2000-04-05 14:22:21 +00:00
Marty Kraimer
086703a07a
make MAX_BUFFER_SIZE larger; allow empty substitutions
2000-01-06 22:03:28 +00:00
Marty Kraimer
3e6e54d801
provide support for dbTemplate expansion
1999-05-03 13:21:09 +00:00
cvs2svn
999ef9fd50
This commit was manufactured by cvs2svn to create tag 'MSI-R1-1'.
1999-04-13 17:49:16 +00:00
Marty Kraimer
cbfac53f5a
add msi.html
1999-04-13 17:49:15 +00:00
Marty Kraimer
9780eeb9fe
in substutition file count comments lines
1999-04-13 14:12:01 +00:00
Marty Kraimer
84f08a153a
fix imcompatibilities with subtool
1998-12-14 14:46:26 +00:00
Marty Kraimer
9519e92035
First version
1997-12-18 16:39:03 +00:00
cvs2svn
d55e5536d6
Standard project directories initialized by cvs2svn.
1997-12-18 16:39:03 +00:00