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
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
Michael Davidsaver
7f5fc4356b
generate pkg-config files
2014-08-19 11:16:01 -04: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
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
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
Ralph Lange
69e8c4b48e
std/rec: Improve subRecord error messages
2014-07-28 16:19:42 +02: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
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