54117d5371
Don't use build-ids. We don't build debug packages and it causes conflics for the copied over compatibility libraris readelf etc
Check EditorConfig / editorconfig (push) Failing after 2s
Base / Cross linux-aarch64 (push) Failing after 1s
Base / Cross linux-arm gnueabihf (push) Failing after 1s
Base / Cross linux-arm gnueabi (push) Failing after 2s
Base / CentOS-7 (push) Failing after 2s
Base / Fedora-33 (push) Failing after 1s
Base / Fedora-latest (push) Failing after 2s
Base / MacOS clang-12 (push) Has been cancelled
Base / Ub-20 clang-10 C++11 (push) Has been cancelled
Base / Ub-20 clang-10 (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-5.1 beatnik (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-4.10 (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-4.9 (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-5.1 pc686 (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-5.1 uC5282 (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-5.1 xilinx_zynq_a9_qemu (push) Has been cancelled
Base / Win2019 mingw (push) Has been cancelled
Base / Ub-20 gcc-9 + MinGW (push) Has been cancelled
Base / Ub-20 gcc-9 unsigned char (push) Has been cancelled
Base / Ub-20 gcc-9 C++11, static (push) Has been cancelled
Base / Ub-20 gcc-9 + MinGW, static (push) Has been cancelled
Base / Ub-22 gcc-12 c++20 Werror (push) Has been cancelled
Base / Win2019 MSC-19, static (push) Has been cancelled
Base / Win2019 MSC-19 (push) Has been cancelled
Base / Win2019 MSC-19, debug (push) Has been cancelled
2024-06-12 15:37:41 +02:00
cc134d4649
work around rpmbuild's problems to find internal perl modules
2024-06-07 17:20:12 +02:00
012c4c73f1
fix LD_LIBRARY_PATH for VxWorks license manager
2024-06-07 17:19:09 +02:00
96864abb6c
Simplify cross build targets. In particular avoid rpath because that annoys rpmbuild
2024-06-07 17:19:01 +02:00
ad00947d48
use our own wine on RHEL9
2024-05-06 09:02:11 +02:00
2db99d46a7
need INSTALL_LOCATION realclean to properly clean up
2024-05-03 13:44:12 +02:00
11661455f1
move module pcas into local file
2024-05-02 16:20:01 +02:00
ecb02803c8
use versioned libraries from now on for all architectures
2024-05-02 16:20:01 +02:00
fcb720275a
bump RPM version
2024-05-02 16:20:01 +02:00
87d492bffd
Merge branch '7.0' into PSI-7.0
2024-04-30 14:40:00 +02:00
Érico Nogueira
1a9dc993c1
Fix gmtime messages in epicsTimeZoneTest.
2024-04-29 15:10:47 -07:00
b379c6f3a5
fix problems with LD_LIBRARY_PATH when not installing to final location (e.g. when building RPMs)
Check EditorConfig / editorconfig (push) Failing after 1s
Base / Cross linux-aarch64 (push) Failing after 2s
Base / Fedora-33 (push) Failing after 2s
Base / Fedora-latest (push) Failing after 1s
Base / Cross linux-arm gnueabi (push) Failing after 1s
Base / Cross linux-arm gnueabihf (push) Failing after 2s
Base / CentOS-7 (push) Failing after 1s
Base / Ub-20 clang-10 C++11 (push) Has been cancelled
Base / MacOS clang-12 (push) Has been cancelled
Base / Ub-20 clang-10 (push) Has been cancelled
Base / Win2019 mingw (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-5.1 beatnik (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-4.10 (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-4.9 (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-5.1 pc686 (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-5.1 uC5282 (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-5.1 xilinx_zynq_a9_qemu (push) Has been cancelled
Base / Ub-20 gcc-9 + MinGW (push) Has been cancelled
Base / Ub-20 gcc-9 unsigned char (push) Has been cancelled
Base / Ub-20 gcc-9 C++11, static (push) Has been cancelled
Base / Ub-20 gcc-9 + MinGW, static (push) Has been cancelled
Base / Ub-22 gcc-12 c++20 Werror (push) Has been cancelled
Base / Win2019 MSC-19 (push) Has been cancelled
Base / Win2019 MSC-19, debug (push) Has been cancelled
Base / Win2019 MSC-19, static (push) Has been cancelled
2024-04-25 14:33:25 +02:00
da010afde9
fix rpath-link when FINAL_LOCATION is set
2024-04-25 14:33:25 +02:00
cb710920d0
fix bug that left ':'s behind and put only current (which is highest) EPICS version in PATH
2024-04-25 14:33:24 +02:00
87dea74dcd
fix linking the caRepeater.service
2024-04-25 14:33:24 +02:00
d35c7fe5eb
fix which files belong to which rpm and their dependencies
2024-04-25 14:33:24 +02:00
c5469efca1
change default permissions because rpmbuild likes the files owner-writable
2024-04-25 14:33:24 +02:00
fd436c40e8
fix problem removing broken links
2024-04-25 14:33:24 +02:00
8557d8adce
fix permission of caGateway.service
2024-04-25 14:33:24 +02:00
a0c55f597b
do not kill the caRepeater on update because that would kill dependent services like caCateways
2024-04-25 14:33:24 +02:00
9090f54f45
Re-added SHRLIB_SUFFIX change which avoids shared library version numbers
...
for older RHEL7 versions because of backward compatibility problems with RPM.
Remove the exception in CONFIG_SITE.Common.linuxCommon for release 7.0.8!
Create links with full version shared library names to allow programs built
against previous rpm version to run.
2024-04-25 14:33:13 +02:00
6085f9eb0b
git ignore bpmbuild products
2024-04-23 11:55:52 +02:00
a1de706d2c
update sub-submodules too
2024-04-23 11:55:52 +02:00
0b12a0cf7e
fix Obsoletes: caRepeater version
2024-04-23 11:55:45 +02:00
Michael Davidsaver
cb1571783b
link.h wrong type
...
Change to unsigned incorrectly increased size.
e88a186fc3
2024-04-02 08:35:25 -07:00
Freddie Akeroyd
5dfc6caf3c
Accept should return SOCKET rather than int
2024-03-06 09:48:26 -06:00
Ralph Lange
cb49bd0133
Update ci-scripts to 3.4.1
...
Builds on AppVeyor (VS2019) started to fail
because of the Python version/distutils
2024-03-01 18:00:40 +01:00
Freddie Akeroyd
4720b61c1f
Move call to setThreadName()
...
The call to setThreadName() is moved to avoid a race condition that
can happen with very short lived processes. If the process terminates
very quickly e.g. is a google test runner or the msi.exe command
called from a Makefile during a build, then very occasionally a
crash can occur during process termination if setThreadName() when called
from the newly created thread. This looks to be becauae the DLL it is
trying to call gets unloaded between it getting a handle to the DLL
and making the call. Moving the setThreadName() call to the creating
thread avoids this problem. The issue was only ever seen with statically
linked epics executables, I am unsure if the way a DLL based epics
program unloads might avoid this, or just make it less likely but
still possible. As mentioned above, the issue will only ever occur
to threads that are created during process termination and so would
not affect running IOCs
2024-02-21 09:59:36 -06:00
4383cf291e
allow macros with defaults in dbLoadRecords without substitutions
2024-02-21 09:50:03 -06:00
Simon Rose
a6977ae731
Fix issue where VSCode makefile extension can delete files
...
The problem is that VSCode's make extension, in order to determine
some information about the project, runs
```
make --dry-run --always-make
```
which despite its name will actually try to remake the configure/*
files. Running `installEpics.pl` on these will delete them first,
then try copy them, resulting in an error.
2024-02-21 09:45:14 -06:00
e9dcdd8936
do not set EPICS_BASE as that changes the default EPICS version chosen by iocsh and takes precedence over the /usr/local/epics/base link
Check EditorConfig / editorconfig (push) Failing after 1s
Base / Cross linux-aarch64 (push) Failing after 2s
Base / Cross linux-arm gnueabi (push) Failing after 1s
Base / Cross linux-arm gnueabihf (push) Failing after 2s
Base / CentOS-7 (push) Failing after 1s
Base / Fedora-33 (push) Failing after 2s
Base / Fedora-latest (push) Failing after 1s
Base / Ub-20 clang-10 C++11 (push) Has been cancelled
Base / MacOS clang-12 (push) Has been cancelled
Base / Ub-20 clang-10 (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-5.1 beatnik (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-4.10 (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-4.9 (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-5.1 pc686 (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-5.1 uC5282 (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-5.1 xilinx_zynq_a9_qemu (push) Has been cancelled
Base / Win2019 mingw (push) Has been cancelled
Base / Ub-20 gcc-9 + MinGW (push) Has been cancelled
Base / Ub-20 gcc-9 unsigned char (push) Has been cancelled
Base / Ub-20 gcc-9 C++11, static (push) Has been cancelled
Base / Ub-20 gcc-9 + MinGW, static (push) Has been cancelled
Base / Ub-22 gcc-12 c++20 Werror (push) Has been cancelled
Base / Win2019 MSC-19 (push) Has been cancelled
Base / Win2019 MSC-19, debug (push) Has been cancelled
Base / Win2019 MSC-19, static (push) Has been cancelled
2024-01-29 17:07:43 +01:00
Michael Davidsaver
07cbf00187
posix: warn on epicsSocketCreate() without osiSockAttach()
2023-12-22 10:26:28 -08:00
Michael Davidsaver
c75b9ad0be
add dbRecordNode::order
...
Keep track of parse order of record instances.
2023-12-22 10:26:28 -08:00
Michael Davidsaver
87acb98d1e
ca: remove hostname length limit when parsing address lists
2023-12-22 10:26:28 -08:00
Michael Davidsaver
403e203325
quieting clang-tidy, use unsigned
...
places where we shouldn't be negative anyway
2023-12-22 10:26:28 -08:00
Michael Davidsaver
a7a56912eb
default/epicsMessageQueue: initialize threadNode
2023-12-22 10:26:28 -08:00
Michael Davidsaver
fe4a32e425
default/epicsMessageQueue: avoid volatile flag
...
Only one place where eventSent was accessed
without locking. Move this load earlier.
2023-12-22 10:26:28 -08:00
Michael Davidsaver
823386573f
ipAddrToAsciiGlobal::run() keep scratch buffer as local
2023-12-22 10:26:28 -08:00
Michael Davidsaver
ea8247586f
adjustToWorstCaseAlignment() simplify
...
Add some STATIC_ASSERT to check assumptions.
Only in-tree use is freeListLib to ensure chunks in
a malloc()'d block are aligned.
2023-12-22 10:26:28 -08:00
Michael Davidsaver
e88a186fc3
make link::flags bit field unsigned
2023-12-22 10:26:28 -08:00
Michael Davidsaver
20f32068c3
gha add workflow_dispatch
2023-12-22 10:26:28 -08:00
Andrew Johnson
8998341588
Update version numbers and submodules after release
2023-12-15 13:03:57 -06:00
Andrew Johnson
448fde0671
Set release version numbers
Check EditorConfig / editorconfig (push) Failing after 2s
Base / Cross linux-aarch64 (push) Failing after 1s
Base / Cross linux-arm gnueabi (push) Failing after 2s
Base / Cross linux-arm gnueabihf (push) Failing after 1s
Base / CentOS-7 (push) Failing after 2s
Base / Fedora-33 (push) Failing after 1s
Base / Fedora-latest (push) Failing after 2s
Base / Ub-20 clang-10 C++11 (push) Has been cancelled
Base / MacOS clang-12 (push) Has been cancelled
Base / Ub-20 clang-10 (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-5.1 beatnik (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-4.10 (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-4.9 (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-5.1 pc686 (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-5.1 uC5282 (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-5.1 xilinx_zynq_a9_qemu (push) Has been cancelled
Base / Win2019 mingw (push) Has been cancelled
Base / Ub-20 gcc-9 + MinGW (push) Has been cancelled
Base / Ub-20 gcc-9 unsigned char (push) Has been cancelled
Base / Ub-20 gcc-9 C++11, static (push) Has been cancelled
Base / Ub-20 gcc-9 + MinGW, static (push) Has been cancelled
Base / Ub-22 gcc-12 c++20 Werror (push) Has been cancelled
Base / Win2019 MSC-19 (push) Has been cancelled
Base / Win2019 MSC-19, debug (push) Has been cancelled
Base / Win2019 MSC-19, static (push) Has been cancelled
2023-12-14 16:42:10 -06:00
Andrew Johnson
477e36b1f0
Update submodules to tagged versions
2023-12-14 16:42:10 -06:00
Andrew Johnson
fad830bd14
Remove example sub-module
2023-12-14 16:42:10 -06:00
Andrew Johnson
331df3d7e4
UNRELEASED => 7.0.8
2023-12-14 16:42:10 -06:00
Andrew Johnson
4a53713f37
Update Release Procedures/Checklist
2023-12-14 16:31:42 -06:00
Andrew Johnson
2e6fd505d2
Use epicsSnprintf() for old MSVC compilers
2023-12-14 11:31:36 -06:00
Andrew Johnson
5ecf7d18a8
Clean up Clang 15 sprintf() warnings in libcom and ca
2023-12-13 13:34:25 -06:00
Andrew Johnson
56dbc949ff
Add declarations to flex, cleans up Clang 15 warnings.
2023-12-12 13:44:08 -06:00
e2bb42d8d3
obsolete caRepeater rpm
Check EditorConfig / editorconfig (push) Failing after 2s
Base / Cross linux-aarch64 (push) Failing after 1s
Base / Cross linux-arm gnueabi (push) Failing after 2s
Base / Cross linux-arm gnueabihf (push) Failing after 1s
Base / CentOS-7 (push) Failing after 2s
Base / Fedora-33 (push) Failing after 1s
Base / Fedora-latest (push) Failing after 2s
Base / Ub-20 clang-10 C++11 (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-5.1 beatnik (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-4.9 (push) Has been cancelled
Base / MacOS clang-12 (push) Has been cancelled
Base / Ub-20 clang-10 (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-4.10 (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-5.1 pc686 (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-5.1 uC5282 (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-5.1 xilinx_zynq_a9_qemu (push) Has been cancelled
Base / Win2019 mingw (push) Has been cancelled
Base / Ub-20 gcc-9 + MinGW (push) Has been cancelled
Base / Ub-20 gcc-9 unsigned char (push) Has been cancelled
Base / Ub-20 gcc-9 C++11, static (push) Has been cancelled
Base / Ub-20 gcc-9 + MinGW, static (push) Has been cancelled
Base / Ub-22 gcc-12 c++20 Werror (push) Has been cancelled
Base / Win2019 MSC-19 (push) Has been cancelled
Base / Win2019 MSC-19, debug (push) Has been cancelled
Base / Win2019 MSC-19, static (push) Has been cancelled
2023-12-10 13:47:17 +01:00
abcada0d85
add rpm specfile and profile script
Check EditorConfig / editorconfig (push) Failing after 1s
Base / Cross linux-aarch64 (push) Failing after 2s
Base / Cross linux-arm gnueabi (push) Failing after 1s
Base / Cross linux-arm gnueabihf (push) Failing after 2s
Base / CentOS-7 (push) Failing after 1s
Base / Fedora-33 (push) Failing after 2s
Base / Fedora-latest (push) Failing after 1s
Base / Ub-20 clang-10 C++11 (push) Has been cancelled
Base / MacOS clang-12 (push) Has been cancelled
Base / Ub-20 clang-10 (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-5.1 beatnik (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-4.10 (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-4.9 (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-5.1 pc686 (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-5.1 xilinx_zynq_a9_qemu (push) Has been cancelled
Base / Win2019 mingw (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-5.1 uC5282 (push) Has been cancelled
Base / Ub-20 gcc-9 + MinGW (push) Has been cancelled
Base / Ub-20 gcc-9 unsigned char (push) Has been cancelled
Base / Ub-20 gcc-9 C++11, static (push) Has been cancelled
Base / Ub-20 gcc-9 + MinGW, static (push) Has been cancelled
Base / Ub-22 gcc-12 c++20 Werror (push) Has been cancelled
Base / Win2019 MSC-19 (push) Has been cancelled
Base / Win2019 MSC-19, debug (push) Has been cancelled
Base / Win2019 MSC-19, static (push) Has been cancelled
2023-12-08 15:32:20 +01:00
2c35d60a64
silent wine errors
2023-12-08 11:38:38 +01:00
af1b77eb0f
fix rpath when FINAL_LOCATION is set
2023-12-07 16:07:02 +01:00
93947eb027
prevents using make -j2
2023-12-06 14:24:56 +01:00
Simon Rose
6a369acd0b
Add newline to help text
2023-12-05 08:05:12 -08:00
961671259f
Add support for RHEL9
2023-12-04 16:00:24 +01:00
Michael Davidsaver
db2482117d
rationalize osdMutex
...
Avoids split allocation.
Eliminates special case free-list.
win32: eliminate pre-XP
rtems-score: eliminate non-fast
2023-12-04 11:04:51 +01:00
a66caa5985
move cross compilers away from AFS
2023-12-04 10:08:47 +01:00
4803aae904
re-enable alternative PowerPMAC archs
2023-12-01 16:52:41 +01:00
427be18e2e
upgrade cross windows build to use mvsc 2019 on Linux archs that support it
2023-12-01 16:52:41 +01:00
fff690a449
skip Microsoft noise in rc
2023-12-01 16:52:41 +01:00
428b836500
switch to 64 bit raspbian cross compiler
2023-12-01 16:52:41 +01:00
6c74507b11
all our current host OS can build nilrt7-armv7a
2023-12-01 16:52:40 +01:00
122ca4e1d3
change PROC to ASL0
2023-12-01 16:51:49 +01:00
Ralph Lange
ba1bf00ce7
Use split() for fetching last tag with darcs
...
Check EditorConfig / editorconfig (push) Failing after 2s
Base / Cross linux-aarch64 (push) Failing after 1s
Base / Cross linux-arm gnueabi (push) Failing after 2s
Base / Cross linux-arm gnueabihf (push) Failing after 1s
Base / CentOS-7 (push) Failing after 2s
Base / Fedora-33 (push) Failing after 1s
Base / Fedora-latest (push) Failing after 2s
Base / MacOS clang-12 (push) Has been cancelled
Base / Ub-20 clang-10 (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-5.1 beatnik (push) Has been cancelled
Base / Ub-20 gcc-9 + MinGW, static (push) Has been cancelled
Base / Ub-22 gcc-12 c++20 Werror (push) Has been cancelled
Base / Win2019 MSC-19 (push) Has been cancelled
Base / Win2019 MSC-19, debug (push) Has been cancelled
Base / Win2019 MSC-19, static (push) Has been cancelled
Base / Ub-20 clang-10 C++11 (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-4.10 (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-4.9 (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-5.1 pc686 (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-5.1 uC5282 (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-5.1 xilinx_zynq_a9_qemu (push) Has been cancelled
Base / Win2019 mingw (push) Has been cancelled
Base / Ub-20 gcc-9 + MinGW (push) Has been cancelled
Base / Ub-20 gcc-9 unsigned char (push) Has been cancelled
Base / Ub-20 gcc-9 C++11, static (push) Has been cancelled
(setting $/='' breaks reading multi-line into an array)
2023-12-01 16:50:24 +01:00
Érico Nogueira
68fea5c2ca
Set ASL0 for mbboDirect Bx fields.
...
Since the record's VAL field is ASL0, it doesn't make sense to gate
writes into the Bx fields with ASL1.
2023-12-01 16:49:41 +01:00
Michael Davidsaver
3f03efe7fe
Add ERROR to error messages
2023-12-01 16:49:30 +01:00
Michael Davidsaver
98dc97022a
const-ify dbLink arrays
...
external code really should never be modifying pamaplinkType[]
2023-12-01 16:49:18 +01:00
Uchenna Ezeobi
5d01b637a7
Config: Fixed Hard coded LDFLAGS in MVME2500
2023-12-01 16:49:03 +01:00
Michael Davidsaver
69a184ee1d
update submodules
2023-12-01 16:48:54 +01:00
Michael Davidsaver
aebacff3db
release notes
2023-12-01 16:48:45 +01:00
Michael Davidsaver
27ad623d68
bi "Raw Soft Channel" use MASK
...
If set, apply MASK to value read into RVAL.
2023-12-01 16:48:06 +01:00
Michael Davidsaver
1b23701946
incorrect error check on GetStdHandle()
...
Likely inconsequential as GetConsoleMode() should
return 0 when given an invalid handle.
2023-12-01 16:47:45 +01:00
Michael Davidsaver
0502fe25e4
print ANSI escapes to stderr
...
unconditionally print ANSI some escapes (to colorize errors)
to the stderr stream.
2023-12-01 16:47:18 +01:00
Michael Davidsaver
77a37781af
colorize more errlog messages
2023-12-01 16:38:54 +01:00
Jeremy Lorelli
ba21e655df
Null check callback function in callbackRequest
...
Previously, calling callbackRequest(pcallback), where pcallback->callback
is NULL, would result in a crash on one of the callback threads.
2023-12-01 16:36:43 +01:00
Michael Davidsaver
2e727a0262
update ci-scripts
2023-12-01 16:36:35 +01:00
Michael Davidsaver
f4cb31d5d5
dbRecordField() add "did you mean..." hint for unknown field
2023-12-01 16:36:24 +01:00
Michael Davidsaver
ab4e687816
const-ify dbCopyEntry() and dbCopyEntryContents()
2023-12-01 16:36:12 +01:00
Michael Davidsaver
1d1926eaf3
avoid hang during concurrent db_cancel_event()
...
cf. fab8fd7102
2023-12-01 16:36:03 +01:00
Michael Davidsaver
d31ba6ade3
doc
2023-12-01 16:35:55 +01:00
609147dad0
gha: turn most warnings into errors in github build
2023-12-01 16:35:46 +01:00
Michael Davidsaver
5a5535aa5b
iocsh: keep history file
2023-12-01 16:35:36 +01:00
JJL772
de61390049
Com: Make STATIC_ASSERT macro typedefs unique
2023-12-01 16:35:29 +01:00
Michael Davidsaver
304d8217d9
dbRecordsOnceOnly allow append only with "*"
...
with
> record(ai, "myrec") {}
dbRecordsOnceOnly!=0 currently disallows appending fields with either form:
> record("*", "myrec") {} # error
> record(ai, "myrec") {} # error
Change the meaning such that dbRecordsOnceOnly!=0
allways allows appending when explicitly intended (rtype "*").
> record("*", "myrec") {} # allowed
> record(ai, "myrec") {} # error
Also clearly label this parse error.
2023-12-01 16:35:18 +01:00
Jack Harper
2c95dc91e9
iocsh: add comment to cvtArg explaining default iocsharg behaviour
2023-12-01 16:34:35 +01:00
Michael Davidsaver
8cc15c6e68
remove unused local
2023-12-01 16:34:24 +01:00
AlexWells
680e1734a4
iocsh: Add underline separator between help outputs
...
Also tweaks the overall format of the message a bit.
Add tests for new help output format
2023-12-01 16:34:04 +01:00
4aea7de032
update modules/pvData
2023-12-01 16:33:42 +01:00
Michael Davidsaver
bddbc38e0b
update ci-scripts
2023-12-01 16:28:58 +01:00
Simon Rose
d9d35a4eab
Allow auto-declarations for dbdExpand.pl
2023-12-01 09:19:03 -06:00
Jeremy Lorelli
67e669c5e5
libCom: Fix buggy pointer dereference in postfix()
2023-12-01 16:02:34 +01:00
Michael Davidsaver
e291ca0a03
Fix compile w/ vs2012
2023-12-01 15:04:24 +01:00
Emilio Perez
5b84a86ccd
Allow adding error symbols after early initialization
...
This was acomplished by making errSymbolAdd add the error symbol directly
into the global hash table and removing errnumlist which is not needed
anymore.
Unit tests were added for checking the following cases:
- Adding a valid symbol and checking that it exists (fixed by this change)
- Getting an existing error symbol
- Getting a non existing error symbol
- Adding an invalid error symbol (fixed by this change)
- Adding an error symbol with a code that already
exists (fixed by this change)
Therefore, issue #268 was fixed
error: statically allocate error symbol hash table
This will allow calling errSymbolAdd before errSymBld, therefore, a
function adding error symbols can now be run before iocInit or errlogInit
error: add a constant for the minimum module number
Make adding an identical error symbol not fail
A test case was also added which test that adding an error symbol
with same error code and message as one added before will not fail
Add locking to error symbol table
This protects the cases of:
- simultaneously adding and requesting of an error symbol
- simultaneously adding many error symbols
Update release notes regarding adding error symbols
2023-12-01 15:03:00 +01:00
Michael Davidsaver
cb6442da71
epicsThreadShow() zombies
...
Flag when the thread has returned, but the tracking
struct is still around. eg. in need of joining.
2023-12-01 15:01:10 +01:00
Érico Nogueira
49b9573f3a
libCom: detect support for backtrace() with __has_include.
...
This is necessary in order to build epics-base with musl libc, for
example, and any other C libraries which don't include this
functionality. In order to not regress builds with older compilers, we
still support the uclibc check. Furthermore, it has been checked that
uclibc-ng (the maintained version of uclibc) doesn't install the
<execinfo.h> header when the functionality is disabled [1] [2].
To avoid repetition, we don't define HAS_EXECINFO to 0 when it is not
available.
[1] https://cgit.uclibc-ng.org/cgi/cgit/uclibc-ng.git/tree/Makefile.in?id=cdb07d2cd52af39feb425e6d36c02b30916b9f0a#n224
[2] https://cgit.uclibc-ng.org/cgi/cgit/uclibc-ng.git/tree/Makefile.in?id=cdb07d2cd52af39feb425e6d36c02b30916b9f0a#n277
2023-12-01 15:01:01 +01:00
Michael Davidsaver
42dfca2b54
dbEvent: handle multiple db_event_cancel()
...
Allow for multiple db_event_cancel() (concurrent or
self-cancel) prior to event_task wakeup.
In db_event_cancel(), immediate free() only if idle
(not queued or in progress). Otherwise, defer free()
to event task. Avoids need to immediately expunge
canceled event from queue. Allow event task to
process canceled events as normal (except no user_sub)
until npend==0.
2023-12-01 15:00:51 +01:00
Michael Davidsaver
3fd79a21a2
privatize evSubscrip
2023-12-01 15:00:34 +01:00
Michael Davidsaver
12f311b780
dbEvent minor
2023-12-01 15:00:16 +01:00
Michael Davidsaver
8abc9f8d03
minor
2023-12-01 15:00:08 +01:00
Michael Davidsaver
ae6f01b8ee
doc dbLock.h
2023-12-01 14:59:56 +01:00
1d3a2defa2
Merge 7.0 commit 'ca9c95' into PSI-7.0
2023-12-01 14:21:07 +01:00
Ralph Lange
116881ad87
Use split() for fetching last tag with darcs
...
(setting $/='' breaks reading multi-line into an array)
2023-11-29 09:53:24 -06:00
96857d92bc
fix problem with commands returning multiple trailing newlines
2023-11-29 09:53:24 -06:00
Érico Nogueira
0cf8c934f9
Set ASL0 for mbboDirect Bx fields.
...
Since the record's VAL field is ASL0, it doesn't make sense to gate
writes into the Bx fields with ASL1.
2023-11-29 09:44:03 -06:00
Michael Davidsaver
69d05fe5b0
Add ERROR to error messages
2023-11-26 15:25:09 -08:00
Michael Davidsaver
511bf1ffca
const-ify dbLink arrays
...
external code really should never be modifying pamaplinkType[]
2023-11-25 14:52:16 -08:00
Uchenna Ezeobi
7a7028de56
Config: Fixed Hard coded LDFLAGS in MVME2500
2023-11-17 15:20:32 -06:00
Michael Davidsaver
7a65c001ce
update submodules
2023-11-15 07:31:53 -08:00
Michael Davidsaver
0bc6ff3d4c
release notes
2023-11-07 16:00:46 -08:00
Michael Davidsaver
f2fe9d1203
bi "Raw Soft Channel" use MASK
...
If set, apply MASK to value read into RVAL.
2023-11-07 15:53:41 -08:00
Michael Davidsaver
ffc2d0f23a
incorrect error check on GetStdHandle()
...
Likely inconsequential as GetConsoleMode() should
return 0 when given an invalid handle.
2023-11-07 15:53:41 -08:00
Michael Davidsaver
a352865df9
print ANSI escapes to stderr
...
unconditionally print ANSI some escapes (to colorize errors)
to the stderr stream.
2023-11-07 15:53:22 -08:00
Michael Davidsaver
63740f2edd
colorize more errlog messages
2023-11-07 15:53:22 -08:00
Jeremy Lorelli
f4be9daf4d
Null check callback function in callbackRequest
...
Previously, calling callbackRequest(pcallback), where pcallback->callback
is NULL, would result in a crash on one of the callback threads.
2023-11-07 15:17:04 -08:00
Michael Davidsaver
3fa1932345
update ci-scripts
2023-11-07 15:14:09 -08:00
Michael Davidsaver
95bd5453d9
dbRecordField() add "did you mean..." hint for unknown field
2023-11-01 09:52:32 -05:00
Michael Davidsaver
eb3f8a004c
const-ify dbCopyEntry() and dbCopyEntryContents()
2023-11-01 09:52:32 -05:00
Michael Davidsaver
9f868a1074
avoid hang during concurrent db_cancel_event()
...
cf. fab8fd7102
2023-11-01 09:24:44 -05:00
Michael Davidsaver
b41787b6bf
doc
2023-10-22 17:42:36 -07:00
19b232545c
gha: turn most warnings into errors in github build
2023-10-22 17:42:36 -07:00
Michael Davidsaver
2ca70d3aa2
iocsh: keep history file
2023-10-22 17:42:36 -07:00
JJL772
395015aac4
Com: Make STATIC_ASSERT macro typedefs unique
2023-10-22 17:42:36 -07:00
Michael Davidsaver
92cae86ff2
dbRecordsOnceOnly allow append only with "*"
...
with
> record(ai, "myrec") {}
dbRecordsOnceOnly!=0 currently disallows appending fields with either form:
> record("*", "myrec") {} # error
> record(ai, "myrec") {} # error
Change the meaning such that dbRecordsOnceOnly!=0
allways allows appending when explicitly intended (rtype "*").
> record("*", "myrec") {} # allowed
> record(ai, "myrec") {} # error
Also clearly label this parse error.
2023-10-22 17:42:36 -07:00
Jack Harper
49ea46ee5e
iocsh: add comment to cvtArg explaining default iocsharg behaviour
2023-10-22 17:42:36 -07:00
Michael Davidsaver
df908f299b
remove unused local
2023-10-22 17:42:36 -07:00
AlexWells
6dec68554c
iocsh: Add underline separator between help outputs
...
Also tweaks the overall format of the message a bit.
Add tests for new help output format
2023-10-22 17:42:36 -07:00
Michael Davidsaver
badd8f518d
update modules/pvData
2023-10-22 17:42:35 -07:00
Michael Davidsaver
766c9906b5
update ci-scripts
2023-10-22 14:46:28 -07:00
43f6fd5060
install msi for all "Command" builds
Check EditorConfig / editorconfig (push) Failing after 2s
Base / Cross linux-aarch64 (push) Failing after 1s
Base / Cross linux-arm gnueabi (push) Failing after 2s
Base / Cross linux-arm gnueabihf (push) Failing after 1s
Base / CentOS-7 (push) Failing after 2s
Base / Fedora-33 (push) Failing after 1s
Base / Fedora-latest (push) Failing after 2s
Base / Ub-20 clang-10 C++11 (push) Has been cancelled
Base / MacOS clang-12 (push) Has been cancelled
Base / Ub-20 clang-10 (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-5.1 beatnik (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-4.10 (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-4.9 (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-5.1 pc686 (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-5.1 uC5282 (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-5.1 xilinx_zynq_a9_qemu (push) Has been cancelled
Base / Win2019 mingw (push) Has been cancelled
Base / Ub-20 gcc-9 + MinGW (push) Has been cancelled
Base / Ub-20 gcc-9 unsigned char (push) Has been cancelled
Base / Ub-20 gcc-9 C++11, static (push) Has been cancelled
Base / Ub-20 gcc-9 + MinGW, static (push) Has been cancelled
Base / Win2019 MSC-19 (push) Has been cancelled
Base / Win2019 MSC-19, debug (push) Has been cancelled
Base / Win2019 MSC-19, static (push) Has been cancelled
2023-10-03 16:50:39 +02:00
Jeremy Lorelli
60fa2d31da
libCom: Fix buggy pointer dereference in postfix()
2023-09-26 09:52:13 -07:00
Michael Davidsaver
88ea1507f4
Fix compile w/ vs2012
2023-09-22 08:20:27 -07:00
Emilio Perez
8c08c57247
Allow adding error symbols after early initialization
...
This was acomplished by making errSymbolAdd add the error symbol directly
into the global hash table and removing errnumlist which is not needed
anymore.
Unit tests were added for checking the following cases:
- Adding a valid symbol and checking that it exists (fixed by this change)
- Getting an existing error symbol
- Getting a non existing error symbol
- Adding an invalid error symbol (fixed by this change)
- Adding an error symbol with a code that already
exists (fixed by this change)
Therefore, issue #268 was fixed
error: statically allocate error symbol hash table
This will allow calling errSymbolAdd before errSymBld, therefore, a
function adding error symbols can now be run before iocInit or errlogInit
error: add a constant for the minimum module number
Make adding an identical error symbol not fail
A test case was also added which test that adding an error symbol
with same error code and message as one added before will not fail
Add locking to error symbol table
This protects the cases of:
- simultaneously adding and requesting of an error symbol
- simultaneously adding many error symbols
Update release notes regarding adding error symbols
2023-09-22 08:20:19 -07:00
Michael Davidsaver
45b3bce515
epicsThreadShow() zombies
...
Flag when the thread has returned, but the tracking
struct is still around. eg. in need of joining.
2023-09-22 08:19:25 -07:00
Érico Nogueira
7c4a21eab4
libCom: detect support for backtrace() with __has_include.
...
This is necessary in order to build epics-base with musl libc, for
example, and any other C libraries which don't include this
functionality. In order to not regress builds with older compilers, we
still support the uclibc check. Furthermore, it has been checked that
uclibc-ng (the maintained version of uclibc) doesn't install the
<execinfo.h> header when the functionality is disabled [1] [2].
To avoid repetition, we don't define HAS_EXECINFO to 0 when it is not
available.
[1] https://cgit.uclibc-ng.org/cgi/cgit/uclibc-ng.git/tree/Makefile.in?id=cdb07d2cd52af39feb425e6d36c02b30916b9f0a#n224
[2] https://cgit.uclibc-ng.org/cgi/cgit/uclibc-ng.git/tree/Makefile.in?id=cdb07d2cd52af39feb425e6d36c02b30916b9f0a#n277
2023-09-21 08:18:49 -07:00
Michael Davidsaver
fab8fd7102
dbEvent: handle multiple db_event_cancel()
...
Allow for multiple db_event_cancel() (concurrent or
self-cancel) prior to event_task wakeup.
In db_event_cancel(), immediate free() only if idle
(not queued or in progress). Otherwise, defer free()
to event task. Avoids need to immediately expunge
canceled event from queue. Allow event task to
process canceled events as normal (except no user_sub)
until npend==0.
2023-09-21 08:18:49 -07:00
Michael Davidsaver
3d25756065
privatize evSubscrip
2023-09-21 08:18:49 -07:00
Michael Davidsaver
5aca4c684c
dbEvent minor
2023-09-14 08:54:40 +02:00
Michael Davidsaver
39b5c01c5d
minor
2023-09-14 08:54:40 +02:00
Michael Davidsaver
3b22e5f710
doc dbLock.h
2023-09-14 08:54:40 +02:00
Michael Davidsaver
9f660f2238
add initHookAtPrepare
2023-09-05 08:54:48 +02:00
Michael Davidsaver
ca9c957e62
doc add page for initHooks.h
2023-09-05 08:53:40 +02:00
Michael Davidsaver
8488c9e891
initHookName() assert length
...
basic compile time consistency check.
2023-09-05 08:53:07 +02:00
Michael Davidsaver
1f2edb69d2
silence -Wformat-security for printfRecord
...
we know what we are doing... right?
2023-09-05 08:53:03 +02:00
Michael Davidsaver
fe3ee85aee
doc errSymTbl.h
2023-09-05 08:52:58 +02:00
Michael Davidsaver
c8d596034a
add missing include
2023-09-01 16:11:50 +02:00
Emilio Perez
1d3459982c
Update release notes regarding adding error symbols
2023-09-01 16:11:50 +02:00
Emilio Perez
9934242ccf
Add locking to error symbol table
...
This protects the cases of:
- simultaneously adding and requesting of an error symbol
- simultaneously adding many error symbols
x
2023-09-01 16:11:50 +02:00
Emilio Perez
e6dab90bf4
Make adding an identical error symbol not fail
...
A test case was also added which test that adding an error symbol
with same error code and message as one added before will not fail
2023-09-01 16:11:50 +02:00
Emilio Perez
c680b9bebd
error: add a constant for the minimum module number
2023-09-01 16:11:50 +02:00
Emilio Perez
9555ca05b8
error: statically allocate error symbol hash table
...
This will allow calling errSymbolAdd before errSymBld, therefore, a
function adding error symbols can now be run before iocInit or errlogInit
2023-09-01 16:11:49 +02:00
Emilio Perez
0cd56fa40b
Allow adding error symbols after early initialization
...
This was acomplished by making errSymbolAdd add the error symbol directly
into the global hash table and removing errnumlist which is not needed
anymore.
Unit tests were added for checking the following cases:
- Adding a valid symbol and checking that it exists (fixed by this change)
- Getting an existing error symbol
- Getting a non existing error symbol
- Adding an invalid error symbol (fixed by this change)
- Adding an error symbol with a code that already
exists (fixed by this change)
Therefore, issue #268 was fixed
2023-09-01 16:11:49 +02:00
Michael Davidsaver
485ac85fa5
appveyor remove skip_commits:
2023-09-01 16:11:49 +02:00
1148931226
On Vxworks clone std* file handles because they are thread specific
2023-09-01 14:15:56 +02:00
Michael Davidsaver
a74789d9c0
db: decimate and sync filters don't drop DBE_PROPERTY
2023-08-28 14:17:00 +02:00
Michael Davidsaver
7830345e59
move IocshRegister() to iocshInit()
...
No need for both global ctor and lazy init
2023-08-28 14:17:00 +02:00
Michael Davidsaver
1595ed8860
quieting clang-tidy, non-functional changes
...
Changes to syntax which should not effect generated code
2023-08-28 14:17:00 +02:00
Michael Davidsaver
d97943b697
timerPrivate.h: mark override/final
...
Clarify the class hierarchy by decorating types and
method override and/or final whenever possible.
Does not change the hierarchy.
2023-08-28 14:17:00 +02:00
Michael Davidsaver
f8f4376594
~fdRegForOldFdmgr() can't throw doubleDelete
...
Exceptions can't actually be thrown from a
C++ class destructor.
2023-08-28 14:17:00 +02:00
Érico Nogueira
df397f4ade
fix typo in boRecord.dbd.pod
2023-08-28 14:17:00 +02:00
Zainab Olalekan
7fd690e53e
Fix libcom test failure on RTEMS
2023-08-28 14:17:00 +02:00
Andrew Johnson
bc5d347bb2
Call perror() before close(), add detail to messages
2023-08-28 14:17:00 +02:00
Chris Johns
3ea29f581b
rtems: Close NTP socket
2023-08-28 14:17:00 +02:00
AlexWells
6de82bb0fd
Additional help messages for iocsh
...
Henrique Silva <henrique.silva@ess.eu >
2023-08-28 13:24:16 +02:00
e1a51e2839
extra parentheses around second sizeof to silence "does not compute number of elements" warning
2023-08-28 13:24:16 +02:00
Michael Davidsaver
0f59d823d3
appveyor remove skip_commits:
2023-08-28 13:24:16 +02:00
73f80cced9
Merge branch '7.0' into PSI-7.0
2023-08-21 14:14:16 +02:00
152c72bab0
fix submodule pvData to use our fork
2023-08-14 15:42:10 +02:00
Ralph Lange
00dc55b8a2
Fix usage info in .tools/make-tar.sh
2023-08-08 10:29:09 +02:00
Rolf Keitel
524f81b8bd
Doc updates to PINI, PHAS & EVNT
2023-07-25 11:36:44 -05:00
Michael Davidsaver
80e62031e9
doc
2023-07-23 08:43:32 -07:00
Minijackson
d87fd0db01
Fix MAKEFLAGS parsing with Make 4.4+
...
Since Make version 4.4, MAKEFLAGS also contains long options and
overridden variables on the command-line[1].
[1]: https://git.savannah.gnu.org/cgit/make.git/tree/NEWS?h=4.4#n67
This means that parsing by filtering out '--%' doesn't work reliably
anymore, since it doesn't remove overrides:
Running 'make VAR=quacks' gives 'MAKEFLAGS=" -- VAR=quacks"', and
'checkflags' would understand that flags -q, -s, ... were set.
This would get transmitted below into 'QUIET_FLAGS' and
'QUESTION_FLAG', then passed to the 'genVersionHeader.pl' as '-i' and
'-q'.
The result would be that 'genVersionHeader.pl' would never create the
version header (only check for its up-to-date status), leading to
confusing errors:
../misc/epicsRelease.c:25:32: error: expected ')' before 'EPICS_VCS_VERSION'
25 | printf ( "## %s\n", "Rev. " EPICS_VCS_VERSION );
| ~ ^~~~~~~~~~~~~~~~~~
The NEWS file[1] recommends using 'firstword', but unfortunately this is
not compatible with GNUMake < 3.82.
2023-07-22 08:36:43 -07:00
Ralph Lange
6636b4b9e7
libCom: check calloc() failure in RTEMS-posix/osdMessageQueue.c
2023-07-22 08:35:59 -07:00
Ralph Lange
b51d1de283
libCom: fix possible memory leak in RTEMS-posix/osdMessageQueue.c
...
found by static code analysis (cppcheck @ sonarqube)
2023-07-22 08:35:59 -07:00
Ralph Lange
38c99df2e0
libCom: fix possible memory leaks in iocLogServer.c
...
found by static code analysis (cppcheck @ sonarqube)
2023-07-22 08:35:59 -07:00
Ralph Lange
688195a273
libCom: handle realloc() failures correctly in macEnv.c
...
found by static code analysis (cppcheck @ sonarqube)
2023-07-22 08:35:59 -07:00
Ralph Lange
d691acc001
ca: init local variable in catime.c
...
found by static code analysis (cppcheck @ sonarqube)
2023-07-22 08:35:59 -07:00
Ralph Lange
059d32a975
db: init struct members in dbChannel.c
...
found by static code analysis (cppcheck @ sonarqube)
2023-07-22 08:35:59 -07:00
Henrique Silva
5c99031157
Add missing AFTC documentation to records
...
Fixes #313
2023-07-22 08:33:19 -07:00
Henrique Silva
a01c671399
Add missing HYST field documentation to longin record
2023-07-22 08:33:19 -07:00
Minijackson
b2c80efd33
release notes: link release notes from submodules'
...
fixes #226
2023-07-22 08:33:08 -07:00
Karl Vestin
39b6fa26da
Added unit test for binary output record type
2023-07-22 08:32:16 -07:00
Karl Vestin
3ee6097ab7
Fixes #361
2023-07-22 08:30:44 -07:00
Emilio Perez
500a57738b
Validate target record name when creating an alias
...
This fixes issue #312 by printing an error when a field is specified
2023-07-22 08:29:09 -07:00
AlexWells
f488765631
Add tests for PR#310
...
Also add missing NULL/empty checks
2023-07-22 08:28:25 -07:00
Sebastian Marsching
3a2d225682
Detect error in fprintf and return ( fixes #309 ).
...
fprintf returns a negative value in order to signal an error. We have to
detect this situation in epicsStrPrintEscaped and return a negative
when fprintf returns a negative value in order to give the calling code
a chance to detect this situation.
The old implementation (of simply accumulating the return values of
fprintf) was wrong anyway, because it would not only lead to an error in
fprintf to be lost but would also cause the returned number to be too
small (not representing the actual number of bytes written) in such a
case.
The only case where the old implementation would work correctly was when
all calls to fprintf succeeded or all these calls failed.
2023-07-22 08:27:32 -07:00
Doug Murray
1d056c6fe4
Add support for CA tools timeout from environment variable EPICS_CLI_TIMEOUT
2023-07-22 08:24:22 -07:00
0f086126b7
fix escaped quotes in quoted strings
Check EditorConfig / editorconfig (push) Failing after 1s
Base / Cross linux-aarch64 (push) Failing after 2s
Base / Cross linux-arm gnueabi (push) Failing after 1s
Base / Cross linux-arm gnueabihf (push) Failing after 2s
Base / Fedora-33 (push) Failing after 2s
Base / CentOS-7 (push) Failing after 5s
Base / Fedora-latest (push) Failing after 1s
Base / Win2019 mingw (push) Has been cancelled
Base / Ub-20 clang-10 C++11 (push) Has been cancelled
Base / MacOS clang-12 (push) Has been cancelled
Base / Ub-20 clang-10 (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-5.1 beatnik (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-4.10 (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-4.9 (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-5.1 pc686 (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-5.1 xilinx_zynq_a9_qemu (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-5.1 uC5282 (push) Has been cancelled
Base / Ub-20 gcc-9 + MinGW (push) Has been cancelled
Base / Ub-20 gcc-9 unsigned char (push) Has been cancelled
Base / Ub-20 gcc-9 C++11, static (push) Has been cancelled
Base / Ub-20 gcc-9 + MinGW, static (push) Has been cancelled
Base / Win2019 MSC-19 (push) Has been cancelled
Base / Win2019 MSC-19, debug (push) Has been cancelled
Base / Win2019 MSC-19, static (push) Has been cancelled
2023-06-22 16:37:29 +02:00
5b058d7d27
Merge branch '7.0' into PSI-7.0
2023-06-22 16:36:32 +02:00
Michael Davidsaver
42604fc794
Allow clang with GCC compilerSpecific.h
...
Check EditorConfig / editorconfig (push) Failing after 1s
Base / Cross linux-aarch64 (push) Failing after 2s
Base / Cross linux-arm gnueabi (push) Failing after 1s
Base / Cross linux-arm gnueabihf (push) Failing after 2s
Base / CentOS-7 (push) Failing after 1s
Base / Fedora-33 (push) Failing after 2s
Base / Fedora-latest (push) Failing after 1s
Base / Ub-20 clang-10 C++11 (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-4.10 (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-5.1 xilinx_zynq_a9_qemu (push) Has been cancelled
Base / Win2019 mingw (push) Has been cancelled
Base / Ub-20 gcc-9 + MinGW (push) Has been cancelled
Base / Ub-20 gcc-9 unsigned char (push) Has been cancelled
Base / Ub-20 gcc-9 C++11, static (push) Has been cancelled
Base / Ub-20 gcc-9 + MinGW, static (push) Has been cancelled
Base / MacOS clang-12 (push) Has been cancelled
Base / Ub-20 clang-10 (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-5.1 beatnik (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-4.9 (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-5.1 pc686 (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-5.1 uC5282 (push) Has been cancelled
Base / Win2019 MSC-19 (push) Has been cancelled
Base / Win2019 MSC-19, debug (push) Has been cancelled
Base / Win2019 MSC-19, static (push) Has been cancelled
Makes it easier to run clang derivative analysis tools
on builds configured for GCC.
2023-06-13 08:47:13 -07:00
Michael Davidsaver
4ecc0daa79
make mapDBFToDBR[] const
2023-06-13 08:47:13 -07:00
Michael Davidsaver
5a1f3ecc8b
doc: note when some record types were introduced
2023-05-18 11:57:41 -07:00
Michael Davidsaver
cb97d662a7
doc
2023-05-01 10:31:01 -07:00
Michael Davidsaver
d4fab0d20e
iocsh: dbCompleteRecord() missing NULL check
2023-05-01 10:31:01 -07:00
Michael Davidsaver
0c13e6ba6c
iocsh: tab completion handle iocshArgArgv
2023-05-01 10:31:01 -07:00
Michael Davidsaver
8f1243da40
epicsSingleton: eliminate global ctor with >= c++11
2023-05-01 10:25:29 -07:00
Michael Davidsaver
fe9995c0b5
Update recommendation for CONFIGURE_MAXIMUM_FILE_DESCRIPTORS
2023-05-01 09:06:59 -07:00
Freddie Akeroyd
f56412d6a5
WIN32: use FlsAlloc() to cleanup epicsThreadOSD
...
Adjust macros for compiling for older MSVC/Win SDK versions
Try to cover missing fibres include in 7.0 SDK
Support Windows XP and above.
Also removed explicit define of _WIN32_WINNT in code if it has not
been passed on compile line. This is possibly a matter for
further discussion
2023-05-01 09:03:52 -07:00
Érico Nogueira
07d18c55ba
Clean whitespace in makeBaseApp template README
2023-05-01 09:03:52 -07:00
Minijackson
9f97f25669
ci: add cross-compilation tests for aarch64, arm soft and hard float
2023-05-01 09:03:52 -07:00
912a82c0b5
replace deprecated decrementing volatile with atomic decrement
2023-05-01 09:03:52 -07:00
acf2241fd0
Some archs define ECHO in termios.h
2023-05-01 09:03:52 -07:00
Eva Lott
b878295d06
Added the new annotation EPICS_PRINTF_FMT
2023-05-01 09:03:45 -07:00
f41f11c7f6
fix compiler warning on 32 bit systems
2023-04-28 09:35:49 -05:00
Michael Davidsaver
216359974c
update release notes
2023-04-18 13:11:59 -05:00
Torsten Bögershausen
17ad04505e
Change compiler for FreeBSD 13: Use clang
...
FreeBSD 13 uses clang, not gcc, any more.
GNU_DIR must be set to /usr/local
Note: This change touches both the x86 and the x86_64 files.
It was tested on 'amd64' system only, which is x86_64
2023-04-18 09:51:33 -05:00
Michael Davidsaver
3500a02034
iocsh: expose dbCreateAlias
2023-04-18 09:51:28 -05:00
Michael Davidsaver
52b18d56a0
dbCreateAlias fixup error handling
2023-04-18 09:51:28 -05:00
Michael Davidsaver
5507646ce7
posix: optimize epicsThreadOnce()
...
Use atomic ops to short circuit when already initialized
2023-04-18 09:51:24 -05:00
Michael Davidsaver
625c2ef159
epicsThreadPerform: time epicsThreadOnce()
2023-04-18 09:51:24 -05:00
Jure Varlec
bdaca51d96
Update shareLib API docs, directing the reader to makeAPIheader.pl
2023-04-18 09:51:21 -05:00
Jure Varlec
9655b78e11
Update release notes: ts filter
2023-04-18 09:51:07 -05:00
Jure Varlec
e11f88017d
ts filter: port to the new db_field_log
2023-04-18 09:51:07 -05:00
Jure Varlec
8a3020033e
ts filter: replace cantProceed with a non-fatal error msg
2023-04-18 09:51:07 -05:00
Jure Varlec
bd1af9ac95
ts filter: fix unused variable warnings
2023-04-18 09:51:07 -05:00
Jure Varlec
d5959ca20a
ts filter: handle calloc failures
2023-04-18 09:51:07 -05:00
Jure Varlec
e10dcede7d
ts filter: clear the dtor field after destruction
2023-04-18 09:51:07 -05:00
Jure Varlec
c042b08ab0
Extend timestamp filter, giving access to the record timestamp
2023-04-18 09:51:07 -05:00
28d33d43ec
Merge branch 'fix_genVersionHeader' into PSI-7.0
Check EditorConfig / editorconfig (push) Failing after 1s
Base / CentOS-7 (push) Failing after 2s
Base / Fedora-33 (push) Failing after 1s
Base / Fedora-latest (push) Failing after 2s
Base / Ub-20 clang-10 C++11 (push) Has been cancelled
Base / MacOS clang-12 (push) Has been cancelled
Base / Ub-20 clang-10 (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-5.1 beatnik (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-4.10 (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-4.9 (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-5.1 pc686 (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-5.1 uC5282 (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-5.1 xilinx_zynq_a9_qemu (push) Has been cancelled
Base / Win2019 mingw (push) Has been cancelled
Base / Ub-20 gcc-9 + MinGW (push) Has been cancelled
Base / Ub-20 gcc-9 unsigned char (push) Has been cancelled
Base / Ub-20 gcc-9 C++11, static (push) Has been cancelled
Base / Ub-20 gcc-9 + MinGW, static (push) Has been cancelled
Base / Win2019 MSC-19, debug (push) Has been cancelled
Base / Win2019 MSC-19 (push) Has been cancelled
Base / Win2019 MSC-19, static (push) Has been cancelled
2023-04-05 11:35:56 +02:00
b72fcff44d
fix problem with commands returning multiple trailing newlines
2023-04-05 09:27:42 +02:00
d3dc2afd8d
Merge branch '7.0' (after codeathon 2023) into PSI-7.0
2023-03-29 13:36:52 +02:00
e9237ef4e8
use toolset 12 (fix in pvData sharedVector.h was needed) and bump up used C++ standards
Base / CentOS-7 (push) Failing after 2s
Base / Fedora-33 (push) Failing after 4s
Base / Fedora-latest (push) Failing after 5s
Base / Ub-20 clang-10 C++11 (push) Has been cancelled
Base / MacOS clang-12 (push) Has been cancelled
Base / Ub-20 clang-10 (push) Has been cancelled
Base / Ub-20 gcc-9 + MinGW (push) Has been cancelled
Base / Win2019 mingw (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-4.10 (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-4.9 (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-5.1 beatnik (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-5.1 uC5282 (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-5.1 pc686 (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-5.1 xilinx_zynq_a9_qemu (push) Has been cancelled
Base / Ub-20 gcc-9 unsigned char (push) Has been cancelled
Base / Ub-20 gcc-9 C++11, static (push) Has been cancelled
Base / Ub-20 gcc-9 + MinGW, static (push) Has been cancelled
Base / Win2019 MSC-19, debug (push) Has been cancelled
Base / Win2019 MSC-19 (push) Has been cancelled
Base / Win2019 MSC-19, static (push) Has been cancelled
2023-03-29 10:23:13 +02:00
Michael Davidsaver
5eff3803a8
update release notes
2023-03-10 12:02:29 +00:00
Michael Davidsaver
151256533f
renamed hidden pdbbase in dbd parser
...
avoid confusion with non-static pdbbase global
2023-03-10 11:00:58 +00:00
Michael Davidsaver
3b484f58d3
for links, treat "" the same as unset.
2023-03-10 11:00:58 +00:00
Michael Davidsaver
d3f93746a8
1<<31 upsets ubsan
2023-03-10 10:57:35 +00:00
Michael Davidsaver
f99a1cb0f3
dbdToRecordtypeH use offsetof()
...
quiets UB sanitizer
2023-03-10 10:57:35 +00:00
Michael Davidsaver
531a769007
fix rtems_ne2kpci_driver_attach prototype
2023-03-10 10:57:35 +00:00
Henrique Silva
3e51491628
Fix generalTimeReport interest_level argument type
...
Setting to iocshArgInt actually makes the function verbosity to be able
to be controlled by the value
2023-03-10 10:56:58 +00:00
0b01fb20db
make buffer large enough for any argument value
2023-03-10 10:56:58 +00:00
Minijackson
c7a769e5da
editorconfig: add workflow to check if config is upheld
2023-03-10 10:56:58 +00:00
Minijackson
a9fd57a865
editorconfig: add initial version forcing final newlines
...
See #337
2023-03-10 10:56:58 +00:00
e862f0e95f
fix warning "if clause does not guard..."
2023-03-10 10:56:58 +00:00
172597e0e6
avoid accessing dbr_text[type] when type is out of range
2023-03-10 10:56:58 +00:00
bcdeeed206
fix missing newline at end of file
2023-03-10 10:56:58 +00:00
Michael Davidsaver
b6626e4f60
dbEvent: try to detect possible "stall"
...
event_read() should not return if the last callback
was delivered with eventsRemaining!=0
2023-03-10 10:56:58 +00:00
Michael Davidsaver
e1c1bb8b1b
dbEvent: correct eventsRemaining
...
Only pass eventsRemaining when no queued events have been canceled.
Also possible race bt accessing ev_que with locking.
2023-03-10 10:56:58 +00:00
Torsten Bögershausen
90ae51e8f2
MacOs: Use readline from MacPorts
...
Commit b38ff09f6e and
commit d9ca8a70f0 introduced the TAB
completion in iocsh.
Commit 1f75813a4d enabled it for MacOs
having readline installed via HomeBrew.
This commit enables it for MacPorts.
2023-03-10 10:56:58 +00:00
Brendan Chandler
832abbd3b1
Return an error if subrecord processing fails due to bad INP links
...
If a sub record has an invalid INPx link, it was silently failing (and
not running the proc function). This change plumbs in the error, so
the put fails and the user knows something went wrong.
2023-03-10 10:56:58 +00:00
Michael Davidsaver
52cc68433f
COMMANDLINE_LIBRARY fallback to $(wildcard $(GNU_DIR)
2023-03-10 09:52:30 +00:00
Michael Davidsaver
f430389ee7
iocShutdown(): Always stop worker threads
2023-03-10 09:52:08 +00:00
Michael Davidsaver
bded79f14d
dbScan join threads
2023-03-10 09:52:08 +00:00
Michael Davidsaver
2ff44cb386
callback join threads
2023-03-10 09:52:08 +00:00
Michael Davidsaver
a9ade9669a
switch dbScan to epicsThreadCreateOpt()
2023-03-10 09:52:08 +00:00
Michael Davidsaver
f902d70006
switch callback to epicsThreadCreateOpt()
2023-03-10 09:52:08 +00:00
Michael Davidsaver
e22d74310b
RTEMS: ensure epicsThreadMustJoin() short-circuits
2023-03-10 09:52:08 +00:00
Simon Rose
e5ad12e638
Updated RELEASE_NOTES
2023-03-10 09:51:08 +00:00
Simon Rose
b963a4564e
Added commend about PBUF having no effect on 'Average' algorithm
2023-03-10 09:51:08 +00:00
Simon Rose
579c125b01
Updated documentation
2023-03-10 09:51:08 +00:00
Simon Rose
84d9617375
Added one more put/process to go over the buffer length
...
Note that it is not really a circular buffer in this case, but
a full reset of the buffer to the beginning. This matches the
documentation, but it seems valuable to add an explicit test for
this case.
2023-03-10 09:51:08 +00:00
Simon Rose
d66e90a016
Fixing 'error C2057: expected constant expression' error
2023-03-10 09:51:08 +00:00
Simon Rose
373e5440ac
General cleanup
2023-03-10 09:51:08 +00:00
Simon Rose
dec23501e1
Added test for array_average
2023-03-10 09:51:08 +00:00
Simon Rose
11a4bed9aa
compress_scalar for average works correctly now
2023-03-10 09:51:08 +00:00
Simon Rose
bf4a4c6b78
Added failing test for partial ai average
2023-03-10 09:51:08 +00:00
Simon Rose
b54d4b9a24
Added test for low value
2023-03-10 09:51:08 +00:00
Simon Rose
84f4771691
Single input data test passes
2023-03-10 09:51:08 +00:00
Simon Rose
1dc34a02e2
Add test path for single input data
2023-03-10 09:51:08 +00:00
Simon Rose
3ab22818da
Added failing test for partially filled buffer average
2023-03-10 09:51:08 +00:00
Simon Rose
1ab474638d
Initial test for averaging
2023-03-10 09:51:08 +00:00
Michael Davidsaver
eea361bf5e
Com: Allow runtime bypass of freeListLib
...
By environment or iocsh variable.
2023-03-10 09:48:27 +00:00
Michael Davidsaver
d9052f7105
update ci-scripts
2023-03-09 14:26:45 +00:00
Michael Davidsaver
fa00572780
update pvData
2023-03-06 15:54:34 +00:00
Ralph Lange
636f5517b2
Add QT Creator 9.x dir to .gitignore
2023-03-06 09:30:02 +00:00
c578148e36
unused cross architectures disabled
2023-02-28 16:08:23 +01:00
92a461fbd9
use -fno-strict-aliasing only on those architectures which complain
2023-02-28 16:08:23 +01:00
d5988446c6
updated pcas module
2023-02-28 16:08:22 +01:00
26e1e94b90
modify tests to match our code modifications
2023-02-28 16:08:22 +01:00
64f67d036b
fix epicsThreadSleepQuantum not to fail epicsTimeTest because of unrealistically high clock resolution
2023-02-28 16:08:22 +01:00
e33728362d
Get back calcout record link fix
...
This reverts part of commit 55536a13db .
2023-02-28 16:08:21 +01:00
23511c4a53
restore VxWorks 5 compatibility
2023-02-15 17:01:11 +01:00
5db310813f
Merge branch '7.0' into PSI-7.0
2023-02-15 16:54:36 +01:00
6ec0c3b844
rework RHEL cross compilation
Base / MacOS clang-12 (push) Has been cancelled
Base / Ub-16 clang-9 (push) Has been cancelled
Base / Ub-20 clang-10 (push) Has been cancelled
Base / Ub-20 gcc-9 + MinGW (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-4.10 (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-4.9 (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-5.1 beatnik (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-5.1 pc686 (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-5.1 uC5282 (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-5.1 xilinx_zynq_a9_qemu (push) Has been cancelled
Base / Win2019 mingw (push) Has been cancelled
Base / Ub-20 gcc-9 C++11, static (push) Has been cancelled
Base / Ub-20 gcc-9 + MinGW, static (push) Has been cancelled
Base / Ub-16 gcc-4.8 (push) Has been cancelled
Base / Ub-16 gcc-4.9 (push) Has been cancelled
Base / Ub-20 gcc-8 (push) Has been cancelled
Base / Ub-20 clang-10 C++11 (push) Has been cancelled
Base / Ub-20 gcc-9 (push) Has been cancelled
Base / Win2019 MSC-19, debug (push) Has been cancelled
Base / Win2019 MSC-19 (push) Has been cancelled
Base / Win2019 MSC-19, static (push) Has been cancelled
2023-02-10 13:36:31 +01:00
Andrew Johnson
718da5c9be
Convert RecordReference.md to ComponentReference.pod
...
That .pod file will now be converted to .html using the same style as
the individual local documents that it links to.
The dbdToHtml output files now include a header and footer that link to
the ComponentReference.html file (they started pointing to the original
RecordReference.html but that was broken on most people's builds because
we weren't converting that from the original Markdown version).
This commit also adjusts documentation/Makefile to use the build system
properly, and reorders the Doxygen main page index.
2023-02-04 22:56:19 -06:00
8bad990471
fix the bugfix for gcc-toolset-11
2023-02-02 11:48:21 +01:00
cb4cb6f4d7
build host stuff only for SLx/RHELx
2023-02-02 11:48:21 +01:00
Michael Davidsaver
e5335ce760
GHA: Add -funsigned-char build
2023-02-01 09:25:10 -08:00
3dbc9ea264
iocsh: fix argument splitting
...
Since commit 60128ee9 "Com: separate iocsh argument splitting",
iocsh is broken on VxWorks (tested with version 6.9.4.12)
Any command prints the error "Unbalanced quote."
> iocsh
epics> echo
Unbalanced quote.
epics> "echo"
Unbalanced quote.
epics> "echo
Unbalanced quote.
epics> echo bla
Unbalanced quote.
epics> echo 1 2 3
Unbalanced quote.
epics> exit
Unbalanced quote.
2023-02-01 09:25:10 -08:00
Michael Davidsaver
80da400f9c
dbLock: avoid possibly lost log prior to cantProceed
2023-02-01 09:25:10 -08:00
Michael Davidsaver
5787125bbb
doc
2023-02-01 09:25:10 -08:00
Andrew Johnson
bc54524270
Fix bad JSON char detection in dbStatic
...
Thanks to Dirk Zimoch for pointing this out.
2023-01-24 11:08:13 -06:00
Andrew Johnson
a2d53c05f6
Explain SNC registration in template
2023-01-24 11:06:48 -06:00
Andrew Johnson
3293a29d59
Darwin: Remove '-undefined dynamic_lookup' from SHRLIB_LDFLAGS
...
It's been deprecated by Apple in latest XCode and generates warning
messages when creating .dylib libraries, but they don't yet have a
solution for use when creating loadable libraries (.bundle files).
2023-01-19 11:05:21 -06:00
Andrew Johnson
550e902bf3
iocLogPrefix: skip "already set" warning if prefix identical
2023-01-19 11:00:14 -06:00
Andrew Johnson
84e5cc0b69
softIoc -v -x prefix should show loading exit_file
2023-01-19 10:56:46 -06:00
33ecfcb6bc
drop support for SL6 and 32 bit Windows
2023-01-18 16:42:22 +01:00
Andrew Johnson
4b63882f28
Appveyor config fixes
2023-01-06 15:28:15 -06:00
Andrew Johnson
fb742beae3
Fix epicsThreadOnceTest.c
...
Replace epicsThreadSleep() with proper thread synchronization.
The main thread was reading runCount without taking lock first.
Taking the lock before accessing doneCount might not be necessary
given the epicsEventMustWait(), but not 100% sure.
2023-01-06 15:24:56 -06:00
Andrew Johnson
7ef0c80630
errSymLib: status 0 => "Ok"
2022-12-31 19:14:57 -06:00
Andrew Johnson
1f75813a4d
Have macOS builds use Homebrew's GNU readline if present
2022-12-31 19:12:49 -06:00
Andrew Johnson
34ad8e2347
Edits to Release Notes and postfix.h documentation
2022-12-31 19:10:49 -06:00
Andrew Johnson
413f14e4ae
Remove now-unused pdset variable.
2022-12-29 18:10:38 -06:00
Andrew Johnson
c22895d499
Adjust documentation about longout feature
2022-12-29 18:04:48 -06:00
Andrew Johnson
e63184e518
Merge PR #63 , longout.OOPT
2022-12-29 16:31:42 -06:00
Andrew Johnson
755a4541c5
Update the RecordReference.md index; add links and filters.
2022-12-28 15:53:48 -06:00
Andrew Johnson
05cd7edf71
Update channel filter documentation, adding $ syntax
2022-12-28 15:52:30 -06:00
Andrew Johnson
5759726a89
Update link documentation
2022-12-28 15:43:35 -06:00
Andrew Johnson
14e7926d22
Add RecRef links to the top & bottom of each reference page
2022-12-28 15:30:25 -06:00
Andrew Johnson
c068fe3525
capr.pl: Fetch link fields as long strings
2022-12-28 12:43:38 -06:00
Andrew Johnson
c2364d9d1c
Add license header to new epicsReadlinePvt.h
2022-12-28 12:42:51 -06:00
Michael Davidsaver
6be0372257
doc
2022-12-21 09:50:07 -08:00
Michael Davidsaver
e994ad78db
GHA update
2022-12-21 08:15:26 -08:00
Michael Davidsaver
49fddaa13e
errlogRemoveListeners() handle self-removal
...
Handle errlogRemoveListeners() during a callback.
2022-12-20 20:12:04 -08:00
Michael Davidsaver
7448a8bfa9
errlog: worker exit when buffer is empty
...
Allow the worker to flush any buffered messages.
After pvt.atExit, further logging will be synchronous.
Ensure any flusher gets a final wakeup.
2022-12-20 20:12:04 -08:00
Michael Davidsaver
166267a32f
ringPointerTest in thread
2022-12-20 20:12:04 -08:00
Andrew Johnson
b460c2659e
Fix for GH issue #219 , menu fields with non-choice values
...
It's rare, but menu fields may hold a value that does not correspond
to one of the menu choices; the default value of the SSCN fields is
the most common example (65535). Change the type conversion routines
to return a numeric string instead of giving an error.
DBF_DEVICE was fixed in dbFastLinkConv.c before the 7.0.7 release.
2022-12-20 20:12:04 -08:00
Michael Skoufis
7ccc3ab82d
Modify pointer type in example to match options from epicsTypes.h
2022-12-20 20:12:04 -08:00
Michael Davidsaver
adb0c898a6
doc
2022-12-20 20:12:04 -08:00
Michael Davidsaver
b38ff09f6e
Com: iocsh: Tab completion of variable names for "var"
2022-12-20 20:12:04 -08:00
Michael Davidsaver
d9ca8a70f0
Com: iocsh: Tab completion
...
Add tab completion for "help ...", record names, and "pdbbase"
2022-12-20 20:12:04 -08:00
Michael Davidsaver
60128ee924
Com: separate iocsh argument splitting
2022-12-20 20:12:04 -08:00
Michael Davidsaver
b189991f9d
Com: iocsh: add tab completion for command names
2022-12-20 20:12:04 -08:00
Michael Davidsaver
07ffc1ffae
Com: introduce epicsReadlinePvt.h
...
Helping IDEs understand gnuReadline.c and osdReadline.c
2022-12-20 20:11:45 -08:00
Michael Davidsaver
a6afef4850
calc: add FMOD
2022-12-20 20:11:44 -08:00
Michael Davidsaver
9c0c486111
appveyor: bypass auto-detect of readline
2022-12-08 09:12:45 -08:00
Michael Davidsaver
3f5cf61fb6
update pvData
2022-12-05 10:51:47 -08:00
Andrew Johnson
6222902688
Update pva2pva module
2022-12-01 12:43:18 -06:00
Andrew Johnson
7febee04fa
More & better Perl script dependencies
2022-11-30 13:35:56 -06:00
Andrew Johnson
4640f0a8ae
Fix dbdExpand.pl issue
2022-11-30 13:34:22 -06:00
Andrew Johnson
8969a952e4
configure: Make Perl-generated files dependent on their .pl script
2022-11-24 17:57:05 -06:00
Michael Davidsaver
bc9415bb10
epicsErrlogTest: osiSockAttach()
2022-11-15 10:07:26 -08:00
565ccae0b5
fix -g flag usage -- modifying OPT_CFLAGS_YES in CONFIG_SITE.* does not work
Base / Ub-20 clang-10 C++11 (push) Has been cancelled
Base / MacOS clang-12 (push) Has been cancelled
Base / Ub-16 clang-9 (push) Has been cancelled
Base / Ub-20 clang-10 (push) Has been cancelled
Base / Ub-20 gcc-9 + MinGW (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-4.10 (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-5.1 pc686 (push) Has been cancelled
Base / Ub-20 gcc-9 + MinGW, static (push) Has been cancelled
Base / Ub-16 gcc-4.9 (push) Has been cancelled
Base / Ub-20 gcc-8 (push) Has been cancelled
Base / Ub-20 gcc-9 (push) Has been cancelled
Base / Win2019 MSC-19, debug (push) Has been cancelled
Base / Win2019 MSC-19 (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-4.9 (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-5.1 beatnik (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-5.1 uC5282 (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-5.1 xilinx_zynq_a9_qemu (push) Has been cancelled
Base / Win2019 mingw (push) Has been cancelled
Base / Ub-20 gcc-9 C++11, static (push) Has been cancelled
Base / Ub-16 gcc-4.8 (push) Has been cancelled
Base / Win2019 MSC-19, static (push) Has been cancelled
2022-11-15 14:32:30 +01:00
Andrew Johnson
cbd86ada20
regRecDevDrv.pl: Don't break long symbol names in DBD files
...
Makes a test symbol name long enough to trigger the problem.
Fixes lp: #1995728
2022-11-04 11:09:06 -05:00
ddfa24e15d
bugfix for long sub function names
2022-11-04 16:08:25 +01:00
Michael Davidsaver
0f8ea3aa36
doc update dbUnitTest.h
2022-09-25 09:34:13 -07:00
6dc7224cea
fix problem with fragmented log messages
2022-09-12 17:43:16 +02:00
25a2258663
make NTP driver more robust against strange time stamps
2022-09-12 17:31:25 +02:00
Andrew Johnson
f62f68fd66
Update all submodules for future development
2022-09-07 17:00:45 -05:00
Andrew Johnson
eddafd2827
Release Checklist used for 7.0.7
2022-09-07 16:58:21 -05:00
Andrew Johnson
e3ce9d7f1a
Adjustments to the make-tar.sh script
2022-09-07 16:57:09 -05:00
Andrew Johnson
df96e6df0f
Set next development versions
2022-09-07 13:54:12 -05:00
Andrew Johnson
6fab3cafc5
Release notes and version number updates
Base / CentOS-7 (push) Failing after 1s
Base / Fedora-33 (push) Failing after 2s
Base / Fedora-latest (push) Failing after 1s
Base / MacOS clang-12 (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-5.1 uC5282 (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-5.1 xilinx_zynq_a9_qemu (push) Has been cancelled
Base / Win2019 mingw (push) Has been cancelled
Base / Ub-20 gcc-9 C++11, static (push) Has been cancelled
Base / Ub-20 gcc-9 + MinGW, static (push) Has been cancelled
Base / Win2019 MSC-19, debug (push) Has been cancelled
Base / Win2019 MSC-19 (push) Has been cancelled
Base / Win2019 MSC-19, static (push) Has been cancelled
Base / Ub-20 clang-10 C++11 (push) Has been cancelled
Base / Ub-20 clang-10 (push) Has been cancelled
Base / Ub-20 gcc-9 + MinGW (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-4.10 (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-4.9 (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-5.1 beatnik (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-5.1 pc686 (push) Has been cancelled
2022-09-07 13:50:35 -05:00
Andrew Johnson
e4811d5a28
Documentation updates UNRELEASED => 7.0.7
2022-09-07 12:46:21 -05:00
Andrew Johnson
34af1a12bc
Submodule updates for the 7.0.7 release
2022-09-07 12:17:32 -05:00
Andrew Johnson
0301e60629
Expanded on Oksana's annotations
2022-09-05 21:58:34 -05:00
Oksana Ivashkevych
759a737983
moved code tags to exclude comments, as suggested
2022-09-05 21:58:34 -05:00
Oksana Ivashkevych
eeddf54b84
in file initHooks.h changed brief sytax to make comment appear next to the field, used \code {.cpp} as suggested for the example
2022-09-05 21:58:34 -05:00
Oksana Ivashkevych
6f6ab3b758
codeathon 2022 Added doxygen formatting to initHooks.h
2022-09-05 21:58:34 -05:00
Oksana Ivashkevych
59d16c56a1
codeathon 2022. Added missing comments with \brief, updated other notation for consistency
2022-09-05 21:58:34 -05:00
Oksana Ivashkevych
58edb984c9
codeathone 2022, added doxygen syntax to all comments in dbChannel.h
2022-09-05 21:58:34 -05:00
Oksana Ivashkevych
eb3207ee21
Codeathon 2022 Header annotations project dbChannel.h
2022-09-05 21:58:34 -05:00
Andrew Johnson
098ee6c063
Oops: Fix to RULES_MODULES
2022-09-03 10:59:26 -05:00
Andrew Johnson
54c02e2c24
Fix for GitHub issue #293
...
Ensure local build targets are up to date before running tests.
2022-09-03 10:47:58 -05:00
Andrew Johnson
efc7cbaf7f
Build system fixes related to INSTALL_LOCATION
...
* The build can't descend into external submodules when there is no
configure/RULES_TOP file present in $(INSTALL_LOCATION).
* Recreate modules/RELEASE.<host>.local if configure/CONFIG_SITE or
configure/CONFIG_SITE.local have changed.
* Move the distclean of modules/RELEASE.<host>.local to RULES_TOP
* Several comment and white-space changes
2022-09-03 10:47:58 -05:00
Andrew Johnson
ede35aa152
Add .gitignore files to the makeBase{App,Ext} templates
2022-09-03 10:47:58 -05:00
Torsten Bögershausen
a8e8d22c31
iocinf.cpp: Hostnames may be longer than 32 bytes
...
Found here at ESS:
(all in one line)
EPICS_CA_ADDR_LIST=averylonghostname.mylabnetwork.technicalnetwork.example.com
EPICS_CA_AUTO_ADDR_LIST=NO
caget somePVnam
leads to something like this:
CA.Client.Exception...............................................
Warning: "Empty PV search address list"
Source File: ../udpiiu.cpp line 403
Current Time: Thu Jun 09 2022 10:10:47.804161447
Problem desription:
addAddrToChannelAccessAddressList() will collect what ever we specify in
EPICS_CA_ADDR_LIST for channel access.
That function will add IP-addresses to the search list.
hostnames are possible, but are ignored if longer than 32 bytes,
because buf is too short.
If a hostname can be resolved into an IP, that is fine,
if not that is "fine as well" (better say: silently ignored):
If, and only if, EPICS_CA_AUTO_ADDR_LIST=NO is given then the one
and only too long hostname will be ignored and lead to an
"Empty PV search address list".
If EPICS_CA_AUTO_ADDR_LIST=YES (or nothing) is specified, the search list
is not empty, and EPICS will search all broadcast addresses.
This will eventually lead into a timout.
Solution:
Increase the buf size in addAddrToChannelAccessAddressList() from 32 to 256
The maximum length for a hostname is 255:
https://www.ietf.org/rfc/rfc1034.txt
If we add one byte for the string terminating '\0', we need 256 bytes.
And yes, this patch neglets the fact that a user can specify HOSTNAME:PORT,
which may need another 6 bytes. To put it the other way around:
In this case the hostname length is limited to 250 bytes,
which is still long enough in practice.
2022-09-02 18:28:34 -07:00
c2df1c6fe5
string waveform init test added
2022-09-02 08:33:32 -07:00
c5a7548526
eliminated unnecessary code
2022-09-02 08:33:32 -07:00
dc70dfd625
escape non-printable chars in dbgf output of CHAR arrays
2022-09-02 08:33:32 -07:00
20e20cbf2b
improved JSON parser error messages
2022-09-02 08:33:32 -07:00
2e44ca586f
using the same error printing function consistently
2022-09-02 08:33:32 -07:00
c9619d013a
printing some context
2022-09-02 08:33:32 -07:00
ec650e8c3f
allow empty array input links
2022-09-02 08:33:32 -07:00
Michael Davidsaver
d47fa4caa4
fix aSub with constant input links
2022-09-02 08:09:51 -07:00
Michael Davidsaver
f0369058bb
dbReadCOM missing newline in error
2022-09-02 08:08:27 -07:00
Andrew Johnson
df96c0170a
Minor changes to makeBaseApp templates
2022-08-30 14:06:30 -05:00
Andrew Johnson
a411a19b2a
Updates to makeBaseExt templates
...
Removed RULES_PYTHON (swig and Python 2.2!)
Removed CONFIG_SITE files for cygwin, solaris & darwin-ppc & ppcx86
Added CONFIG_SITE files for linux-aarch64 and darwin-aarch64
Removed pointers to many ancient packages
2022-08-30 14:05:15 -05:00
Andrew Johnson
c0db7a0beb
Fix ECHO, QUIET_FLAG and QUESTION_FLAG
2022-08-26 15:22:30 -05:00
Andrew Johnson
52dfb89741
PRINT.var targets work under make -q
2022-08-26 12:32:04 -05:00
Andrew Johnson
b652e8230a
Improve expandVars.pl debug output
2022-08-26 12:16:09 -05:00
Andrew Johnson
0efffc1bcb
expandVars.pl now only writes output when it changes
2022-08-26 12:12:14 -05:00
Andrew Johnson
d7030ae8a5
Adjust for Perls without \N in regex.
2022-08-23 15:15:41 -05:00
Andrew Johnson
24f30ede22
Portability: Don't use bash/shell operations
2022-08-23 13:35:40 -05:00
Andrew Johnson
04ee3f2888
hg and svn have been tested
2022-08-23 13:07:06 -05:00
Andrew Johnson
a373327b59
Get revision date from Darcs
2022-08-23 13:06:44 -05:00
Andrew Johnson
1fa98d489f
Merge Pierrick's VersionHeaderDate branch into 7.0
2022-08-23 11:54:07 -05:00
Andrew Johnson
5cef60a3e4
Clear unused var warning
2022-08-21 16:51:17 -05:00
Andrew Johnson
20fb6b9ef5
Merge 3.15 changes into 7.0
2022-08-21 16:44:38 -05:00
Andrew Johnson
a249561677
Added darwin-aarch64 support from 7.0 branch
2022-08-21 16:17:29 -05:00
Andrew Johnson
96887926bf
Merge Freddie's set_thread_descriptions branch
...
PR #270
2022-08-21 16:01:51 -05:00
Andrew Johnson
c8647ffab7
Added Release Note
2022-08-21 16:00:30 -05:00
Michael Davidsaver
e28c914966
dbDumpRecordType show field offset/size
2022-08-20 13:53:03 -07:00
Michael Davidsaver
f086be93a9
add OPT_LDFLAGS and pass -g when linking
2022-08-20 13:53:03 -07:00
Michael Davidsaver
6feaaebd75
test epicsStrtok_r
2022-08-20 11:47:41 -07:00
Andrew Johnson
5d92d406a1
Darwin: Resolve soft-links in epicsGetExecName()
2022-08-18 12:17:06 -05:00
Andrew Johnson
ad1a13730a
Remove unused var
2022-08-16 15:08:23 -05:00
Andrew Johnson
a24a84c315
Replace errPrintf() in recGbl.c
2022-08-16 15:07:49 -05:00
Andrew Johnson
6e7a715380
Getting .DTYP from rectype with no devSup now returns ''
2022-08-16 13:33:11 -05:00
Andrew Johnson
b88b35d117
Enhancements to the capr.pl script
2022-08-16 11:58:35 -05:00
Andrew Johnson
0a20825c6e
NTPTimeSync: Show when NTP sync failed, recovered
2022-08-15 19:12:05 -05:00
Michael Davidsaver
13bd6bac5f
Com: rewrite errlog
...
Switch to double buffering to allow errlogThread
to unlock while printing.
Conflicts:
modules/libcom/src/error/errlog.c
2022-08-03 09:18:20 +02:00
39de02f350
fix comments
2022-08-02 17:41:10 +02:00
Michael Davidsaver
424d678abf
linkTest_registerRecordDeviceDriver() fix return type
2022-07-29 07:45:23 -07:00
Andrew Johnson
007279cf29
Release notes updated
2022-07-28 13:25:14 -07:00
Andrew Johnson
752ca97f7e
VxWorks: Stop VxWorks clock sync if EPICS_TS_FORCE_NTPTIME
...
Use ipcom_ipd_kill() to do it properly, announce when doing it.
Suspending the ipsntps task is dangerous, can hang the OS so
don't try to kill it if user already suspended the task.
Also drops checks for the "ipntpd" thread, not used.
2022-07-28 13:11:59 -07:00
Andrew Johnson
bf0b4d2f61
VxWorks: Re-run tz2timezone() whenever the year increases
...
In the event that it then goes backwards we won't run it again; that
should never happen, but if it did we should prefer stability!
2022-07-28 13:11:59 -07:00
Andrew Johnson
87d5c01853
Set useNTP if VxWorks sync task is suspended
...
Also report that state instead of "running".
2022-07-28 13:11:59 -07:00
Andrew Johnson
956af730a9
osiClockTime.c: Clarify message wording
...
Distinguish between IOC's clock sync thread and OS's one.
Show our sync interval even when not synchronized.
Only mention the clock sync thread where there can be one.
2022-07-28 13:11:59 -07:00
Andrew Johnson
32564b1a94
osiClockTime.c: Move some things around
...
Group the private variables, note which are mutex-protected.
Reset the sync interval to 1 second if sync is restarted.
Initialize the syncFromPriority variable.
2022-07-28 13:11:59 -07:00
Andrew Johnson
5b690d5467
VxWorks: Pass interest level into osdClockReport
2022-07-28 13:11:59 -07:00
Andrew Johnson
9efebb6d3d
osiClock: Register ClockTime_Init with iocsh
...
ClockTime_Init and ClockTime_Shutdown are only on VxWorks & RTEMS.
Adjust help text to match.
ClockTime_Init can be re-run later to start or stop the sync thread.
2022-07-28 13:11:59 -07:00
Andrew Johnson
1df973b234
VxWorks: Provide osdClockReport() for OS clock sync tasks.
2022-07-28 13:11:59 -07:00
Andrew Johnson
c71ebd1221
VxWorks: Set timezone when using OS own time-sync tasks
2022-07-28 13:11:59 -07:00
Andrew Johnson
167807f0c4
Rename OS Clock provider on macOS, uses a different implementation.
2022-07-28 13:11:59 -07:00
Jure Varlec
e6b8ecd55e
Add space to the message printed by errMessage()
2022-07-28 13:11:29 -07:00
Michael Davidsaver
9048aa3438
db: move db_field_log dtor out of union
2022-07-28 13:10:59 -07:00
Bruce Hill
5ba8080f6e
Fix undef ts on first camonitor update of NORD
...
Moves db_post_events() calls for NORD to process() function
after it updates the timestamp.
2022-07-28 13:09:27 -07:00
Michael Davidsaver
a0a7a94944
mingw fix -lreadline
...
Override of OP_SYS_LDLIBS prevented LDLIBS_READLINE
from having an effect.
Recent readline doesn't need curses
2022-07-28 13:07:34 -07:00
Michael Davidsaver
42c7dbcd21
remove Makefile readline.h detection logic
2022-07-28 13:07:34 -07:00
Michael Davidsaver
4b8edd2b6f
automatic COMMANDLINE_LIBRARY w/ newer compilers
2022-07-28 13:07:34 -07:00
efd9e7908a
allow arrays of strings in CHAR wf and lsi (concatenating)
2022-07-28 12:22:06 +02:00
96fe9306c7
fix JSON errors when reading empty array links
2022-07-27 09:58:09 +02:00
0caa5a045c
fix for commit 5e076e6
2022-07-27 09:55:24 +02:00
Andrew Johnson
d82ab819ef
Cap5 support for zero-length long strings
2022-07-13 13:24:54 -05:00
Andrew Johnson
5f02bad3fc
Fix decimate filter for testing on VxWorks
...
Also adds checks to all filter tests to abort if they
can't continue because their filter wasn't registered.
2022-07-08 15:55:14 -05:00
Andrew Johnson
83a685867c
Merged 'roehrig-7.0' into 7.0
2022-07-04 20:53:47 -05:00
Christian Roehrig
05311e0c94
Added Doxygen annotations to modules/libcom/src/iocsh/iocsh.h
2022-07-04 20:45:51 -05:00
Andrew Johnson
35f4d3f8dd
Merged 'brendanchandler:annotations2' into 7.0
2022-07-04 20:34:24 -05:00
Brendan Chandler
9864f79d67
Update doxygen for ipAddrToAsciiAsynchronous
2022-07-04 20:28:43 -05:00
Brendan Chandler
91800787ed
Doxygen support for ipAddrToAsciiAsynchronous.h
2022-07-04 20:28:43 -05:00
Andrew Johnson
05b27067cf
Merged 'echandler-anl:doxygen_comments2' into 7.0
2022-07-04 20:23:24 -05:00
Elaine Chandler
ccdd2808d9
add doxygen comments for epicsAtomic.h
2022-07-04 20:19:45 -05:00
Andrew Johnson
00183fcd4b
Merged 'brendanchandler:annotations' into 7.0
2022-07-04 19:58:30 -05:00
Brendan Chandler
1be06fc0e9
Fix doxygen annotations in epicsGuard and osiSock
...
Change addresses some review feedback kindly given by @minijackson
2022-07-04 19:38:15 -05:00
Brendan Chandler
7cdc44434c
Doxygen annotation proofreading fixes in osiSock.h
2022-07-04 19:38:15 -05:00
Brendan Chandler
f3dfb36117
Update doxygen annotations on osiSock.h
2022-07-04 19:38:15 -05:00
Brendan Chandler
500e901e3d
Change @param to \param in epicsGuard.h
2022-07-04 19:38:15 -05:00
Brendan Chandler
a3b09ef1b8
Add doxygen annotations for osiSock.h
2022-07-04 19:38:15 -05:00
Brendan Chandler
55d4801eb0
Fix a couple doxygen warnings
...
Warnings complained about undocumented parameters.
2022-07-04 19:37:57 -05:00
Brendan Chandler
af41b95b98
Fix a few formatting and doxygen conversion issues
2022-07-04 19:29:10 -05:00
Brendan Chandler
c6605b5d87
Update doxygen annotations in testMain.h
...
There were already some comments here, but they were missing a doxygen
\file declaration, so the annotations weren't shown in the doxygen
output.
Also added some formatting for the code example and definition of MAIN macro.
2022-07-04 19:29:10 -05:00
Brendan Chandler
9b9ed04ae2
Add doxygen annotations for epicsGuard.h
2022-07-04 19:29:09 -05:00
Andrew Johnson
50f9b12e7d
Merged 'echandler-anl:doxygen_comments' into 7.0
2022-07-04 19:16:28 -05:00
Andrew Johnson
bfd2684e58
Minor fixes to Elaine's annotations
2022-07-04 16:47:44 -05:00
Elaine Chandler
95fcf690ad
add doxygen comments for epicsStackTrace
2022-07-04 16:27:48 -05:00
Elaine Chandler
0fa3337404
add doxygen comments for epicsSpin.h
2022-07-04 16:27:48 -05:00
Elaine Chandler
e5b6ef9893
Fix doxygen comments to epicsString.h
2022-07-04 16:27:48 -05:00
Elaine Chandler
5b64eaac73
add doxygen comments for osiProcess.h
2022-07-04 16:27:48 -05:00
Elaine Chandler
30d4a583d0
add doxygen comments for logClient
2022-07-04 16:27:48 -05:00
Elaine Chandler
6249ef08f7
Added doxygen comments to epicsString.h
2022-07-04 16:27:48 -05:00
Andrew Johnson
b5105740e6
Fix warnings from Doxygen
2022-07-04 16:18:46 -05:00
Andrew Johnson
818f33e78f
Update submodules
2022-07-04 16:04:56 -05:00
Andrew Johnson
571165df26
Stop Clang-12 warnings from Perl XS code
2022-07-04 15:55:18 -05:00
Michael Davidsaver
4df48c91f4
dbEvent: re-add compaction of duplicate "empty" events
2022-06-29 07:23:36 -07:00
4ffa5c8c88
fix problem with not working epicsSocketAccept() on moxa42-armv6l
Base / Ub-20 clang-10 C++11 (push) Has been cancelled
Base / MacOS clang-12 (push) Has been cancelled
Base / Ub-16 clang-9 (push) Has been cancelled
Base / Ub-20 clang-10 (push) Has been cancelled
Base / Ub-20 gcc-9 + MinGW (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-4.10 (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-4.9 (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-5.1 beatnik (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-5.1 pc686 (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-5.1 uC5282 (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-5.1 xilinx_zynq_a9_qemu (push) Has been cancelled
Base / Win2019 mingw (push) Has been cancelled
Base / Ub-20 gcc-9 C++11, static (push) Has been cancelled
Base / Ub-20 gcc-9 + MinGW, static (push) Has been cancelled
Base / Ub-16 gcc-4.8 (push) Has been cancelled
Base / Ub-16 gcc-4.9 (push) Has been cancelled
Base / Ub-20 gcc-8 (push) Has been cancelled
Base / Ub-20 gcc-9 (push) Has been cancelled
Base / Win2019 MSC-19, debug (push) Has been cancelled
Base / Win2019 MSC-19 (push) Has been cancelled
Base / Win2019 MSC-19, static (push) Has been cancelled
2022-06-29 16:03:19 +02:00
5e076e6d30
improve error message
2022-06-29 11:43:56 +02:00
dcb2c5affd
fix CA event queuing problem with arrays under high network load
2022-06-28 09:08:57 +02:00
3ac3906fea
unify cross windows builds with separate wine dirs per host arch (and thus wine version)
2022-06-21 16:27:33 +02:00
2d597a68b9
enable cross compilation for RHEL7-x86_64 and nilrt7-armv7a on RHEL8 (using mounted SYSROOT at /opt/RHEL7)
2022-06-21 16:27:24 +02:00
Michael Davidsaver
32652414b3
update release notes
2022-06-20 08:20:40 -07:00
Michael Davidsaver
9c8aaa93cd
Set RSRV_SERVER_PORT
...
Publish actual TCP port used.
2022-06-20 08:11:09 -07:00
Andrew Johnson
abe819b51d
Release notes for dbdExpand.pl changes
2022-06-20 08:10:46 -07:00
Andrew Johnson
cf278b4159
Sort other DBD entries for output
...
This should solve all DBD-related reproduceable build issues.
2022-06-20 08:10:46 -07:00
Andrew Johnson
50594a8cc3
Release notes entry for dbExpand.pl -s
2022-06-20 08:10:46 -07:00
Andrew Johnson
ce420588db
Have dbExpand.pl sort records by name, unless -s used
2022-06-20 08:10:46 -07:00
Andrew Johnson
4d3a27fdb0
Keep a separate list of record names
2022-06-20 08:10:46 -07:00
Jure Varlec
6176a81a76
Update docs for compress record's run-time parameters
2022-06-20 08:10:01 -07:00
Minijackson
a722bb9289
treewide: add usage help to various iocsh functions
2022-06-20 08:09:42 -07:00
Michael Davidsaver
19daf6136f
ioc template avoid passing "0"
...
> dbLoadDatabase("../../dbd/_APPNAME_.dbd",0,0)
is being interpreted as
> dbLoadDatabase("../../dbd/_APPNAME_.dbd","0","0")
If "../../dbd/_APPNAME_.dbd" doesn't exist, this will
next attempt to open "0/../../dbd/_APPNAME_.dbd",
which added to my confusion...
2022-06-20 08:09:08 -07:00
Michael Davidsaver
0552f2bb72
aao: add OMSL and DOL
2022-06-20 08:08:50 -07:00
Andrew Johnson
9bb11e6e88
Fix VxWorks time sync initialization bug
2022-06-14 16:07:39 -05:00
1bfe3dec3c
use gcc 11 from gcc-toolset for RHEL8
2022-06-10 09:02:20 +02:00
Michael Davidsaver
2f8272d3a1
doc for: posix: use pthread_key_create() to cleanup epicsThreadOSD
2022-06-08 09:40:12 -07:00
Michael Davidsaver
7cf2a1daca
epicsThreadTest: check that joined threads disappear
2022-06-08 09:40:12 -07:00
Michael Davidsaver
d019e9787a
posix: use pthread_key_create() to cleanup epicsThreadOSD
...
Ensure that cleanup happens for all threads,
including implicitly created.
2022-06-08 09:40:12 -07:00
ea0b05c32b
use highest supported C++ standard for RHEL8
Base / MacOS clang-12 (push) Has been cancelled
Base / Ub-16 clang-9 (push) Has been cancelled
Base / Ub-20 clang-10 (push) Has been cancelled
Base / Ub-20 gcc-9 + MinGW (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-4.10 (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-5.1 beatnik (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-5.1 pc686 (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-5.1 uC5282 (push) Has been cancelled
Base / Ub-20 gcc-9 C++11, static (push) Has been cancelled
Base / Ub-20 gcc-9 + MinGW, static (push) Has been cancelled
Base / Ub-20 gcc-9 (push) Has been cancelled
Base / Win2019 MSC-19, debug (push) Has been cancelled
Base / Win2019 MSC-19 (push) Has been cancelled
Base / Ub-20 clang-10 C++11 (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-4.9 (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-5.1 xilinx_zynq_a9_qemu (push) Has been cancelled
Base / Win2019 mingw (push) Has been cancelled
Base / Ub-16 gcc-4.8 (push) Has been cancelled
Base / Ub-16 gcc-4.9 (push) Has been cancelled
Base / Ub-20 gcc-8 (push) Has been cancelled
Base / Win2019 MSC-19, static (push) Has been cancelled
2022-06-07 11:17:55 +02:00
9c64469f1e
re-order cross archs between RHEL7 and RHEL8 hosts
2022-06-07 11:09:03 +02:00
Freddie Akeroyd
4b884c15b1
SetThreadName: Add WINAPI (correctly) for 32bit builds
2022-05-24 14:40:46 +01:00
Freddie Akeroyd
0ace4e4a30
SetThreadName: Add WINAPI for 32bit builds
2022-05-24 14:21:12 +01:00
Freddie Akeroyd
3cf2d3737f
Use SetThreadDescription(), if available, to set thread name
2022-05-24 13:24:42 +01:00
2a4ebdf347
can have only one RTEMS version
Base / Ub-20 clang-10 C++11 (push) Has been cancelled
Base / MacOS clang-12 (push) Has been cancelled
Base / Ub-16 clang-9 (push) Has been cancelled
Base / Ub-20 clang-10 (push) Has been cancelled
Base / Ub-20 gcc-9 + MinGW (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-4.10 (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-5.1 pc686 (push) Has been cancelled
Base / Ub-20 gcc-9 C++11, static (push) Has been cancelled
Base / Ub-20 gcc-9 (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-4.9 (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-5.1 beatnik (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-5.1 uC5282 (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-5.1 xilinx_zynq_a9_qemu (push) Has been cancelled
Base / Win2019 mingw (push) Has been cancelled
Base / Ub-20 gcc-9 + MinGW, static (push) Has been cancelled
Base / Ub-16 gcc-4.8 (push) Has been cancelled
Base / Ub-16 gcc-4.9 (push) Has been cancelled
Base / Ub-20 gcc-8 (push) Has been cancelled
Base / Win2019 MSC-19, debug (push) Has been cancelled
Base / Win2019 MSC-19 (push) Has been cancelled
Base / Win2019 MSC-19, static (push) Has been cancelled
2022-05-19 09:39:01 +02:00
d5756faef4
restore compatibility with EPICS 3.13 clients
2022-05-19 09:07:31 +02:00
77fb5cf425
use newest C++ standard for yocto 4.0
2022-05-18 16:49:19 +02:00
hanlet
5997018fb0
Made changes suggested by Michael:
...
- removed unused/misused $opc_X
- modified command line repo calls
- fixed ifndef block
2022-05-17 12:14:29 -05:00
hanlet
2afa4ea390
Cosmetic change.
2022-05-13 13:32:35 -07:00
hanlet
f0c86c5cb3
Added repository name
...
Changed git date from epoch to present commit date
2022-05-13 13:25:47 -07:00
hanlet
8e4ffd46a0
Changed descriptive text to identify new commit date information.
2022-05-13 11:38:32 -07:00
hanlet
f109371268
Added revision release time to ioc startup message.
2022-05-13 11:30:26 -07:00
hanlet
e566c52a78
Simplified to remove "use" cases and settling for string for versions of commit date/time.
2022-05-13 10:46:17 -07:00
hanlet
8d0bfcbc5b
Modify genVersionHeader.pl to add commit time (in epoch).
...
Tested for git.
Not tested: darcs, mercurial, or svn
Skipping: bzr
2022-05-13 09:31:01 -07:00
Michael Davidsaver
3fadf4a26c
add missing registerRecordDeviceDriver.pl dependency
2022-05-12 10:47:44 -07:00
Michael Davidsaver
9ebd841738
update doc in epicsStdio.h
2022-05-12 10:47:44 -07:00
Michael Davidsaver
94b0e2621f
iocsh: more helpful help
...
For plain "help", move the hint text to the end.
For "help ..." make the command names bold.
2022-05-12 09:01:36 -07:00
Michael Davidsaver
a44ddd586e
errlog: add ANSI_BOLD
2022-05-12 09:01:36 -07:00
Minijackson
6fbf95ab18
make Perl hash iteration reproducible
...
By default Perl doesn't iterate over hashes in a reproducible manner,
to avoid DDoS. Since we aren't providing untrusted inputs, it is fine to
disable this behaviour.
Among other things, this makes the .dbd and some .h generation reproducible.
More information here:
- https://reproducible-builds.org/docs/stable-outputs/
- https://perldoc.perl.org/perlrun#PERL_HASH_SEED
2022-05-11 11:44:00 -07:00
Michael Davidsaver
5485adacb9
make epicsNAN and epicsINF constants really constant
2022-05-11 11:44:00 -07:00
Florian Feldbauer
6ecc384116
fix failing STATIC_BUILD on linux-arm
...
On linux-arm STATIC_BUILD used the `-static` flag
which leads for some reason to the executables being
linked against `/lib/ld.so.1` which does not exists.
Setting `STATIC_LDFLAGS_YES= -Wl,-Bstatic` in CONFIG.linux-arm.linux-arm
fixed this issue for me.
2022-05-11 11:44:00 -07:00
Matt-E7R5
66537d01bd
Patch for RTEMS-mvme2700
2022-05-11 11:44:00 -07:00
Ralph Lange
b6f69241e1
Merge 'evan@gh/add-simm-to-ao-records' into 7.0
...
(closes #144 )
2022-05-11 10:56:37 -07:00
Ralph Lange
4fc549234c
Merge branch '7.0' into add-simm-to-ao-records
2022-05-11 10:47:12 -07:00
Ralph Lange
0bcffb56bb
Add mention to RELEASE_NOTES
2022-05-11 10:44:53 -07:00
Ralph Lange
60001c0571
Add SIMM=RAW for mbboDirect record
2022-05-10 16:33:28 -07:00
Ralph Lange
37b95bc242
Add SIMM=RAW for mbbo record
2022-05-10 16:33:28 -07:00
Ralph Lange
4e9bb9fe50
Add SIMM=RAW to bo record
2022-05-10 16:33:27 -07:00
Ralph Lange
371cdde6df
Trivial fixes to simmRAW for ao
2022-05-10 16:33:27 -07:00
46141e98d5
add RTEMS 4.9 and 5.1 support
2022-05-05 14:45:08 +02:00
5ac51f86ad
disable not needed VxWorks archs
2022-05-05 14:08:36 +02:00
0af4fce080
removed not needed PATH_FILTER
2022-05-05 14:07:14 +02:00
4fb42763a2
moved most cross archs to common linux-x86_64 host arch
2022-05-05 14:06:38 +02:00
211d29c0e1
new yocto 4.0 arch for Zynq
2022-05-05 14:05:19 +02:00
da7bca9c16
some vxWorks 5 hacks
2022-05-05 14:02:31 +02:00
ec346a7b8d
update to newer SDK
2022-05-05 14:01:36 +02:00
81d1082bfd
no license manager access with this?
2022-05-05 14:01:07 +02:00
Andrew Johnson
cbae8d37b3
Improve wording of seqRecord doc
2022-04-26 21:07:27 -05:00
wtup
9eb88f27d9
Fixed direction of SHIFT to match implementation
2022-04-26 20:56:43 -05:00
Andrew Johnson
e329fa3296
CA Client: Protect against epicsTime::strftime() throwing
...
libCa shouldn't cause an application to abort with an uncaught
exception on a machine that has timezone problems just because
we can't convert the current time into a string.
2022-04-24 12:50:40 -05:00
Michael Davidsaver
492672c718
Revert "ci: GHA follow 'make' with 'make -q'"
...
Stupid make...
This reverts commit b4d7ebd648 .
This reverts commit 0f0f9f49d6 .
2022-04-23 10:19:00 -07:00
Michael Davidsaver
b4d7ebd648
cue.py workaround limitation
...
The first argument after "build" can't be an option.
cf. python argparse limitations of add_parser() + REMAINDER
2022-04-23 08:49:35 -07:00
Michael Davidsaver
0f0f9f49d6
ci: GHA follow 'make' with 'make -q'
...
Detect situations where 'make' was somehow incomplete,
or where an incorrect dependency leaves some step
perpetually out-of-date and repeated every time.
2022-04-19 10:22:54 -07:00
Andrew Johnson
6d3821adb8
Soft-links to capr.pl and makeBaseApp.pl scripts now work
...
The other Perl scripts that use FindBin for their lib path could
have the same changes applied, but these two scripts are the ones
normally run by hand so might get soft-linked by an installer.
Without this change these scripts don't actually work if run from
a soft-link instead of directly.
2022-04-18 20:46:48 -05:00
Michael Davidsaver
92e97af610
softMain: handle rRDD error
2022-04-16 13:23:58 -07:00
Michael Davidsaver
b0e2e8426f
Quiet warning
2022-04-16 13:23:58 -07:00
Andrew Johnson
3e371da8ec
RULES_EXPAND: Keep intermediate files
...
This prevents GNUmake from recreating expanded files
such as databaseVersion.h at every build.
2022-03-28 00:07:21 -05:00
Michael Davidsaver
91941af992
quiet warnings
2022-03-04 10:00:12 -08:00
Michael Davidsaver
d2644baf38
minor
2022-03-03 13:16:57 -08:00
Michael Davidsaver
62092d4399
test dbReadDatabaseFP()
2022-03-03 13:16:53 -08:00
Michael Davidsaver
6c5d56688d
help out IDEs
2022-03-03 13:16:50 -08:00
Michael Davidsaver
a6779df21c
dbReadDatabaseFP() always fclose()
2022-03-03 13:16:45 -08:00
Andrew Johnson
d8c5379453
Configure builds for lgtm.com
2022-02-15 13:26:43 -06:00
Andrew Johnson
7a9801a4cb
Add vxWorks-e500v2 target (MVME2500, APS only)
2022-02-15 13:08:51 -06:00
Andrew Johnson
f33add020e
Update Release notes
2022-02-15 11:15:04 -06:00
Andrew Johnson
3bebe6e873
Revert "configure: Don't hide any perl scripts being run"
...
This reverts commit 3e8f3a1ee9
which was wrong - recipes that start with '-' are still echoed,
they just don't fail the build if they don't succeed.
This fixes setting CHECK_RELEASE = WARN in configure/Makefile
2022-02-15 10:49:37 -06:00
Andrew Johnson
2fbaa7f926
Improve POD documentation of the TSE and TSEL fields
2022-02-08 15:29:05 -06:00
Andrew Johnson
e55e4d7646
Make DISP field DCT=Yes
2022-02-08 15:29:05 -06:00
Andrew Johnson
5efc0cbfce
Echo message when running makeBpt
2022-02-08 15:29:05 -06:00
Andrew Johnson
3a182a9eea
"Quote" exe program paths for Windows
...
Clean up old EPICS_DATABASE var's (pre-7.0?)
2022-02-08 15:29:05 -06:00
Michael Davidsaver
0e56e202fc
ci: drop CentOS-8
...
The centos:8 docker image has disappeared.
2022-02-01 12:53:55 -08:00
Michael Davidsaver
d9fd73a850
yajl: doc
2022-01-28 11:23:16 -08:00
Andrew Johnson
d508962211
Breaktable.pm: Add missing declaration
2022-01-24 15:30:23 -06:00
Andrew Johnson
7cb80d5a17
Merge Dirk's fix_epicsInt8 branch into 7.0
2022-01-24 13:32:16 -06:00
Andrew Johnson
051e3f3bc3
Merge Michael's fork-warn branch into 7.0
2022-01-24 13:02:22 -06:00
Andrew Johnson
db216e63a7
Merge Dirk's hex_in_hw_links branch into 7.0
2022-01-24 12:57:53 -06:00
Andrew Johnson
7a3c9eaaa0
Merge Michael's linux-mcast-all branch into 7.0
2022-01-24 12:51:09 -06:00
Andrew Johnson
4bece4ad92
Merge Heinz & Andrew's rtems-osd-event branch into 7.0
2022-01-24 12:44:17 -06:00
Andrew Johnson
36f11fba95
Release Notes update for epicsEvent
2022-01-24 12:43:36 -06:00
Andrew Johnson
7017e54930
Allow more char's in breaktable names
2022-01-24 12:25:57 -06:00
Andrew Johnson
43b623d80e
Markdown issue in RELEASE_NOTES
2022-01-13 17:14:00 -06:00
Andrew Johnson
132f9105d0
Fix filenames in CONFIG_SITE file comments
2022-01-13 17:13:25 -06:00
Andrew Johnson
1655d68ec4
Fix for NaN/overflow timeout in RTEMS-score osdEvent
2022-01-05 12:04:02 -06:00
Andrew Johnson
e4a81bb361
Document zero and NaN timeout values
...
Rename parameter timeOut => timeout everywhere
2022-01-04 17:16:59 -06:00
Andrew Johnson
d1094ee787
Fix timeout values in epicsEventWaitWithTimeout()
...
isnan(timeOut) => wait forever
0 < timeOut < 1/rate => 1 tick
rtems_interval is a typedef for uint32_t
2022-01-04 13:07:30 -06:00
Andrew Johnson
34baa485bc
Fix timeout values in epicsEventWaitWithTimeout()
...
isnan(timeOut) => wait forever
0 < timeOut < 1/rate => 1 tick
2022-01-04 13:05:21 -06:00
c5012d9f73
Make sure epicsInt8 is signed on all architectures
2021-12-17 09:42:04 +01:00
3f8cee7d73
fix for debug output formats
Base / Ub-20 clang-10 C++11 (push) Has been cancelled
Base / MacOS clang-12 (push) Has been cancelled
Base / Ub-20 gcc-9 + MinGW (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-4.10 (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-5.1 beatnik (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-5.1 pc686 (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-5.1 uC5282 (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-5.1 xilinx_zynq_a9_qemu (push) Has been cancelled
Base / Ub-20 gcc-9 C++11, static (push) Has been cancelled
Base / Win2019 MSC-19 (push) Has been cancelled
Base / Win2019 MSC-19, static (push) Has been cancelled
Base / Ub-16 clang-9 (push) Has been cancelled
Base / Ub-20 clang-10 (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-4.9 (push) Has been cancelled
Base / Win2019 mingw (push) Has been cancelled
Base / Ub-20 gcc-9 + MinGW, static (push) Has been cancelled
Base / Ub-16 gcc-4.8 (push) Has been cancelled
Base / Ub-16 gcc-4.9 (push) Has been cancelled
Base / Ub-20 gcc-8 (push) Has been cancelled
Base / Ub-20 gcc-9 (push) Has been cancelled
Base / Win2019 MSC-19, debug (push) Has been cancelled
2021-12-14 16:07:58 +01:00
Ralph Lange
7c168f20f4
Fix gdd string to double conversion
...
This is an alternative fix for the issue described in
https://github.com/epics-modules/pcas/issues/4 and
https://github.com/epics-extensions/ca-gateway/issues/37
that keeps the call to epicsScanDouble() before trying
sscanf() first with "%lf" (ignoring extra characters)
then with "%x" (to catch hex numbers).
(closes #216 )
2021-12-08 17:07:11 +01:00
Michael Davidsaver
de7ad13b3c
Com: posix warn of use of epicsThread from child after fork()
2021-11-15 10:09:52 -08:00
Michael Davidsaver
5e2a52401f
Com: avoid implicit use of epicsStdio in posix epicsThread.c
2021-11-13 11:47:15 -08:00
6173baed1e
mention hex numbers for HW links in release notes
2021-11-10 10:49:23 +01:00
71efed8c1b
extend link test to hex numbers
2021-11-10 10:15:56 +01:00
9a09436ac8
allow hex (and octal) in hardware links
...
Conflicts:
modules/database/src/ioc/dbStatic/dbStaticLib.c
2021-11-10 10:15:39 +01:00
aae9d68818
re-enable hex numbers in hardware links
Base / Ub-20 clang-10 (push) Has been cancelled
Base / Ub-20 gcc-9 + MinGW (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-4.10 (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-4.9 (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-5.1 beatnik (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-5.1 pc686 (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-5.1 xilinx_zynq_a9_qemu (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-5.1 uC5282 (push) Has been cancelled
Base / Win2019 mingw (push) Has been cancelled
Base / Ub-20 gcc-9 C++11, static (push) Has been cancelled
Base / Ub-20 gcc-9 + MinGW, static (push) Has been cancelled
Base / Ub-16 gcc-4.8 (push) Has been cancelled
Base / Ub-16 gcc-4.9 (push) Has been cancelled
Base / Win2019 MSC-19, static (push) Has been cancelled
Base / Ub-20 gcc-8 (push) Has been cancelled
Base / Ub-20 gcc-9 (push) Has been cancelled
Base / Win2019 MSC-19, debug (push) Has been cancelled
Base / Win2019 MSC-19 (push) Has been cancelled
Base / Ub-20 clang-10 C++11 (push) Has been cancelled
Base / MacOS clang-12 (push) Has been cancelled
Base / Ub-16 clang-9 (push) Has been cancelled
2021-11-10 09:38:36 +01:00
Andrew Johnson
6063de9a8b
Added Heinz new osdEvent.c to RTEMS-posix
2021-10-12 12:37:57 -05:00
f43d21eab3
always have git hash in version string
Base / Win2019 MSC-19, debug (push) Has been cancelled
Base / Ub-20 clang-10 C++11 (push) Has been cancelled
Base / MacOS clang-12 (push) Has been cancelled
Base / Ub-20 gcc-9 + MinGW (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-4.10 (push) Has been cancelled
Base / Ub-16 clang-9 (push) Has been cancelled
Base / Ub-20 clang-10 (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-4.9 (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-5.1 beatnik (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-5.1 pc686 (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-5.1 xilinx_zynq_a9_qemu (push) Has been cancelled
Base / Win2019 mingw (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-5.1 uC5282 (push) Has been cancelled
Base / Ub-20 gcc-9 C++11, static (push) Has been cancelled
Base / Ub-20 gcc-9 + MinGW, static (push) Has been cancelled
Base / Ub-16 gcc-4.9 (push) Has been cancelled
Base / Ub-16 gcc-4.8 (push) Has been cancelled
Base / Ub-20 gcc-8 (push) Has been cancelled
Base / Ub-20 gcc-9 (push) Has been cancelled
Base / Win2019 MSC-19 (push) Has been cancelled
Base / Win2019 MSC-19, static (push) Has been cancelled
2021-09-02 14:32:10 +02:00
9e1e4ddd91
allow any char in PV field names
2021-08-26 15:39:56 +02:00
8d1cd837d1
new cross architectures
2021-08-23 16:13:08 +02:00
dc277d1d99
fix writing to mbboDirect.VAL
2021-08-23 15:54:04 +02:00
Kay Kasemir
b7ad6d906a
int64in: Fix monitor delta test
...
Only the lower 32 bit used to be compared.
https://bugs.launchpad.net/epics-base/+bug/1938459
2021-08-23 15:51:14 +02:00
Andrew Johnson
3cfc16f5ff
Add newlines to a couple iocsh usage strings
2021-08-23 15:50:09 +02:00
JJL772
05bf567f3b
Fix segfault in dbtpn when value parameter is nullptr
...
Running 'dbtpn Record' in iocsh would result in a segfault.
2021-08-23 15:49:50 +02:00
JJL772
ff1b9d4250
Fix potential memory leak on error
...
In osdThread.c for POSIX if pthread_create_key fails
In iocLogServer.c if fdmgr_init returns NULL
In dbBkpt.c if semaphore creation fails while adding a bp to a lockset
In devSiSoftCallback.c if linked record is not found
2021-08-23 15:49:40 +02:00
Andrew Johnson
9b9de013db
recGbl: Update to using dbGetTimeStampTag()
2021-08-23 15:49:22 +02:00
Andrew Johnson
c546f6da23
waveform: Add back lost PACT = TRUE
...
Fixes GitHub Issue #187
2021-08-23 15:49:09 +02:00
8a08974f15
build for V64 too in order to have more versions tested
2021-08-23 15:41:04 +02:00
04d23354b9
config files closer to upstream
2021-08-19 11:27:30 +02:00
ddad6e7b6f
backward compatible incomplete ? CALC expression
2021-08-19 11:24:25 +02:00
Michael Davidsaver
51191e6155
Com: clear IP_MULTICAST_ALL on Linux
...
The default, non-compliant, behavior will pass all multicast packets
to any socket bound to 0.0.0.0 or the mcast address, regardless
of which groups, on which interfaces, that socket has joined.
2021-08-05 08:51:02 -07:00
9a17604e70
put V64-ppc604 file back
2021-07-19 15:40:35 +02:00
c7e3359f08
fix compiler error unable to find a register to spill in class 'FLOAT_REGS'
2021-07-19 15:39:29 +02:00
16d068353a
minimize differences to upstream version
2021-07-19 15:38:51 +02:00
f7b4c91163
extend PATH to find wine
2021-07-19 15:38:00 +02:00
55536a13db
revert several files back to upstream version
2021-07-19 15:36:29 +02:00
66abb7116f
Merge tag 'R7.0.6' into PSI-7.0
...
ANJ: Tagged for release
Conflicts:
.ci
configure/os/CONFIG_SITE.linux-x86.Common
modules/libcom/src/misc/epicsString.h
src/tools/makeTestfile.pl
2021-07-08 19:00:08 +02:00
bb89d5d24e
add EPICS_MUTEX_USE_PRIORITY_INHERITANCE environment variable to make inversion-safe mutiexes configurable
Base / Ub-20 clang-10 C++11 (push) Has been cancelled
Base / Ub-16 clang-9 (push) Has been cancelled
Base / Ub-20 clang-10 (push) Has been cancelled
Base / Ub-20 gcc-9 + MinGW (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-4.10 (push) Has been cancelled
Base / Win2019 MSC-19, debug (push) Has been cancelled
Base / Win2019 MSC-19 (push) Has been cancelled
Base / Win2019 MSC-19, static (push) Has been cancelled
Base / MacOS clang-12 (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-4.9 (push) Has been cancelled
Base / Win2019 mingw (push) Has been cancelled
Base / Ub-20 gcc-9 C++11, static (push) Has been cancelled
Base / Ub-20 gcc-9 + MinGW, static (push) Has been cancelled
Base / Ub-16 gcc-4.8 (push) Has been cancelled
Base / Ub-16 gcc-4.9 (push) Has been cancelled
Base / Ub-20 gcc-8 (push) Has been cancelled
Base / Ub-20 gcc-9 (push) Has been cancelled
2021-06-10 15:24:59 +02:00
ad7a2ddf65
remove buggy vxWorks implementation of epicsAtomicCmpAndSwap* using vxCas
2021-06-10 15:23:09 +02:00
19031a7d11
make callbackRequest safer in case initialization fails
2021-06-10 15:20:54 +02:00
1c9887bd45
move -whole-archive flags to central config
2021-06-10 15:20:19 +02:00
Evan Daykin
2f0a7c7342
Merge branch 'epics-base:7.0' into add-simm-to-ao-records
2021-06-09 10:19:01 -04:00
209b979e56
fix warning missing no newline at end of file
2021-06-02 14:52:04 +02:00
34ce5c1d21
abort thread when mutex unlock fails due to programming error
Base / Ub-20 gcc-9 + MinGW (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-4.10 (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-4.9 (push) Has been cancelled
Base / Win2019 mingw (push) Has been cancelled
Base / Ub-16 gcc-4.8 (push) Has been cancelled
Base / Win2019 MSC-19, static (push) Has been cancelled
Base / Ub-20 clang-10 C++11 (push) Has been cancelled
Base / MacOS clang-12 (push) Has been cancelled
Base / Ub-16 clang-9 (push) Has been cancelled
Base / Ub-20 clang-10 (push) Has been cancelled
Base / Ub-20 gcc-9 C++11, static (push) Has been cancelled
Base / Ub-20 gcc-9 + MinGW, static (push) Has been cancelled
Base / Ub-16 gcc-4.9 (push) Has been cancelled
Base / Ub-20 gcc-8 (push) Has been cancelled
Base / Ub-20 gcc-9 (push) Has been cancelled
Base / Win2019 MSC-19, debug (push) Has been cancelled
Base / Win2019 MSC-19 (push) Has been cancelled
2021-05-05 10:15:15 +02:00
605aff2461
tests for epicsStrnGlobMatch added
2021-05-03 14:39:24 +02:00
ba1c40df7c
comment added
2021-05-03 14:39:24 +02:00
e25dafa9ca
doxygen comments added
2021-05-03 14:39:23 +02:00
ce78836328
use SIZE_MAX
2021-05-03 14:39:23 +02:00
8225c313b9
Support glob pattern for epicsEnvShow
...
Conflicts:
documentation/RELEASE_NOTES.md
2021-05-03 14:39:15 +02:00
be78b33570
code streamlined
2021-05-03 14:35:32 +02:00
9926fe3036
allow glob pattern in var command
...
Conflicts:
documentation/RELEASE_NOTES.md
2021-05-03 14:35:24 +02:00
Andrew Johnson
718390cfba
Add tests confirming that input value fields still writable
...
Having a constant INP link doesn't break that.
2021-05-03 14:31:26 +02:00
Andrew Johnson
6f864fc10e
Release Notes entry with link to bug.
2021-05-03 14:31:26 +02:00
Andrew Johnson
4b6cb2bcdd
Fixes for Async Soft Channel input device support
...
The add_record() routine wasn't properly checking for unsupported
link types, resulting in an assertion failure on IOC exit if the
record was left in a "bad" state.
2021-05-03 14:31:26 +02:00
Andrew Johnson
c866609f24
Add regression tests for Async Soft Channel input links
...
Caused by the previous fix, but this is repairable.
2021-05-03 14:31:25 +02:00
Andrew Johnson
ee193edd42
Fix for regression in link initialization
...
Fixes lp: #1824277
Shows a problem with Async Soft Channel input support though.
2021-05-03 14:31:25 +02:00
Andrew Johnson
40c55d65b3
Add regression test for lp: #1824277
2021-05-03 14:31:24 +02:00
Andrew Johnson
a83b3a5331
Added "Win2019 MSC-19, debug" build to GHA
...
... as suggested by Freddie.
2021-05-03 14:26:29 +02:00
Michael Davidsaver
65098a4120
update .ci
...
Conflicts:
.ci
2021-05-03 14:15:47 +02:00
Andrew Johnson
0650fba936
Disable netget test on CI systems
2021-05-03 14:13:22 +02:00
Andrew Johnson
16244acd3c
Increase default timeout, improve notes
2021-05-03 14:13:21 +02:00
Andrew Johnson
fe52b0aa1a
Release notes describing test timeouts
2021-05-03 14:13:21 +02:00
Andrew Johnson
2af0fe894e
Correct comments in makeTestfile, add "export"
2021-05-03 14:13:20 +02:00
Andrew Johnson
387481799b
Turn off debug in netget.plt
2021-05-03 14:13:20 +02:00
Andrew Johnson
d606155f17
Make BAIL_OUT display what was thrown
2021-05-03 14:13:19 +02:00
Andrew Johnson
c4d639e72a
Kill CA & PVA clients properly if they time out
...
Uses Win32::Process or fork() to run caget/pvget.
The system_timeout() and qx_timeout() utilities added here
should be extracted into a separate EPICS::Timeouts module.
2021-05-03 14:13:19 +02:00
Andrew Johnson
19d10b3161
netget: watchdog() now returns a result
...
Currently this can only be a scaler value.
On timeout, calls the fail function and returns its result instead.
2021-05-03 14:13:18 +02:00
Andrew Johnson
220e2f9b12
Generate comments on how to adjust the timeout
2021-05-03 14:13:18 +02:00
Andrew Johnson
3661874c92
Replace Win32::Job with Win32::Process
...
GitHub Actions builders won't let us use Win32::Job
2021-05-03 14:13:17 +02:00
Andrew Johnson
a9a3ce535c
Timeouts for running unit test programs
...
The generated .t file now kills the test program if it hasn't
completed within a defined interval, 5 minutes by default.
Separate implementations for Windows and Unix hosts.
2021-05-03 14:13:17 +02:00
Andrew Johnson
6a81b2c6a0
CI: Allow up to 5 minutes for make test-results
2021-05-03 14:13:16 +02:00
Andrew Johnson
139fac2928
Update CI test configurations
...
- Limit test-results step to 1 min in case a test hangs without
generating a tapfile, as `make test-results` may re-run it.
- Limit Appveyor tests to 20 mins.
- Always run `make test-results` on GHA.
2021-05-03 14:13:16 +02:00
dcc6a36bf7
Merge commit '235f8ed2fb85270a1b9edddbff6a1c5b10f484b9' into PSI-7.0
...
Conflicts:
.ci
2021-05-03 14:02:42 +02:00
3b7fd004b8
fix SKIP_BUILDS when INSTALL_LOCATION is not used
2021-04-28 15:39:41 +02:00
2796764905
cross build for RHEL7 on RHEL8 does not work yet
2021-04-28 15:35:55 +02:00
4c27619ee9
run tests on cross archs where possible
2021-04-28 15:35:00 +02:00
a40737c06b
Add RHEL8 support
Base / Ub-20 clang-10 C++11 (push) Has been cancelled
Base / MacOS clang-12 (push) Has been cancelled
Base / Ub-20 gcc-9 + MinGW (push) Has been cancelled
Base / Ub-16 clang-9 (push) Has been cancelled
Base / Ub-20 clang-10 (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-4.10 (push) Has been cancelled
Base / Ub-20 gcc-9 + RT-4.9 (push) Has been cancelled
Base / Win2019 mingw (push) Has been cancelled
Base / Ub-20 gcc-9 C++11, static (push) Has been cancelled
Base / Ub-20 gcc-9 + MinGW, static (push) Has been cancelled
Base / Ub-16 gcc-4.8 (push) Has been cancelled
Base / Ub-16 gcc-4.9 (push) Has been cancelled
Base / Ub-20 gcc-8 (push) Has been cancelled
Base / Ub-20 gcc-9 (push) Has been cancelled
Base / Win2019 MSC-19 (push) Has been cancelled
Base / Win2019 MSC-19, static (push) Has been cancelled
2021-04-07 13:54:19 +02:00
34aebf7eea
get rid of explicit templates for VxWorks
2021-04-07 13:53:17 +02:00
da350d0d54
use latest versions
2021-04-07 13:48:40 +02:00
243807cbe5
updated submodules
2021-03-26 17:07:27 +01:00
b3c18ebc4e
use only 3 version digits for INSTALL_LOCATION
2021-03-24 14:51:34 +01:00
f25f067e9c
Merge branch '7.0' into PSI-7.0
...
Conflicts:
modules/database/test/std/link/Makefile
modules/libcom/src/osi/os/posix/osdMutex.c
modules/libcom/src/osi/os/vxWorks/osdThread.h
2021-03-24 14:45:02 +01:00
74d269304c
simplified SL6-x86 config
2021-03-24 14:29:04 +01:00
Evan Daykin
edb9208b01
correct number of simm tests
2021-03-12 17:06:35 -05:00
Evan Daykin
4f0cc20e2b
Feature: add SIMM=RAW to ao records
2021-03-12 16:31:10 -05:00
Joao Paulo Martins
6c573b496a
longout rec: fix behaviour when record is processed for the first time and OOPT is On Change
2021-03-10 18:50:42 +01:00
Joao Paulo Martins
1d85bc7424
longout record: detect OUT link change using special function AFTER put, better documentation
2021-03-10 11:07:30 +01:00
Joao Paulo Martins
f4d94b9725
Longout OOPT field refactoring and updated documentation; Release notes additions
2021-03-09 16:31:54 +01:00
Joao Paulo Martins
4e7a18bfb4
Adding test routines for longout record with OOPT field
2021-03-09 16:31:54 +01:00
Joao Paulo Martins
c1ae5064b8
Added OOPT to longout record
2021-03-09 16:31:54 +01:00
c949cb5c8c
new license server name needed for cross compiler
2021-03-05 14:20:53 +01:00
2495919611
(re-)enable 32 bit SL6 cross build
2021-03-03 15:53:02 +01:00
7ed4f6c704
we don't build 32 bit RHEL7-x86
2021-03-03 15:47:33 +01:00
eb828f3807
use C++11 whereever possible
2021-03-03 15:39:02 +01:00
a98708302b
drop SL5 support
2021-03-03 14:48:15 +01:00
0dae3e206f
fix for vxWorks 6.9.0
2021-03-02 17:28:55 +01:00
505e6f45c1
fix for older vxWorks installations
2021-03-02 17:28:13 +01:00
424de7d9c4
fix for old posix implementations
2021-03-02 17:27:43 +01:00
1a0de528e1
Merge tag 'R7.0.5' into PSI-7.0
...
ANJ: Tagged for release
Conflicts:
configure/os/CONFIG_SITE.Common.linuxCommon
2021-03-02 09:18:43 +01:00
d795dd76a6
bugfix for older compilers: have all declarations before instructions
2020-11-16 17:58:01 +01:00
Andrew Johnson
45924d28e0
Add -v (verbose) flag to softIoc
...
Only display the startup steps taken if -v was given.
Show each step *before* running it, so error messages follow it.
2020-11-16 17:44:51 +01:00
Andrew Johnson
b1d0a0d036
Build: Do clean before uninstall actions (if requested)
2020-11-16 17:44:21 +01:00
Andrew Johnson
45e9cf9a94
Warn about NULL dbevEventUserFreeList
2020-11-16 17:44:01 +01:00
Andrew Johnson
a8dcff2f0d
Merge fix-wrong-order-phas fixes from 3.15 branch
2020-11-16 17:41:08 +01:00
53a7d25923
allow constant links with numeric 1 element arrays like [42]
2020-11-16 17:34:20 +01:00
Ralph Lange
c701e7e98e
Redo d3d40689 that was lost in upmerging
2020-11-16 17:33:25 +01:00
Michael Davidsaver
bf8e097756
compat IPPORT_USERRESERVED
...
musl libc doesn't define IPPORT_USERRESERVED
2020-11-16 17:32:29 +01:00
Andrew Johnson
837a2bbdde
const init a char array from a string value
...
Conflicts:
documentation/RELEASE_NOTES.md
2020-11-16 17:31:08 +01:00
Andrew Johnson
6fb361a965
Fix Cygwin TCP_NODELAY issue from Paul Chu & Freddie
...
Conflicts:
documentation/RELEASE_NOTES.md
2020-11-16 17:27:56 +01:00
1db2cba81d
Merge commit '10d472202dc2bf1fa5c569d2a14d460e95030564' into PSI-7.0
...
This is before PVA is modified
2020-11-16 17:06:22 +01:00
ce43a67cbd
re-add removed .ci submodule
2020-11-13 10:07:34 +01:00
7ac8f056ed
added missing header for close() in VxWorks 6.3
2020-11-12 11:21:26 +01:00
d157e96aac
remove compiler warning
2020-11-12 10:59:54 +01:00
1d1e3e9527
calc backward compatibility: allow incomplete conditional
2020-11-12 10:54:11 +01:00
48d37e6b45
drop support for 32 bit SL6
2020-07-06 14:02:04 +02:00
5d03f20831
build for VxWorks 6.9
2020-07-06 14:00:15 +02:00
9e72edb544
fix comment and linker flag
2020-07-06 10:56:02 +02:00
4476c71f62
removed 'git describe' from EPICS version string, as it is now shown in Revision string
2020-06-26 11:17:51 +02:00
e9471b3072
Merge branch '7.0' of https://git.launchpad.net/epics-base into PSI-7.0
2020-06-24 18:01:47 +02:00
4082cb27c3
new architecture nilrt7-armv7a (NI Linux Real Time) for ESI
2020-06-03 10:47:14 +02:00
88cdffddb6
Merge branch '7.0' release 7.4.0.1 into PSI-7.0
...
Conflicts:
.gitmodules
modules/database/src/ioc/db/Makefile
modules/libcom/test/epicsAtomicTest.cpp
modules/pvAccess
modules/pvData
modules/pvDatabase
modules/pva2pva
2020-06-03 10:46:07 +02:00
b27d1416b5
install location with patch level
2020-04-07 15:38:05 +02:00
ab97b5fe54
Bring back VxWorks 5 compatibility
2020-04-07 15:37:32 +02:00
bbaa207603
Merge remote-tracking branch 'remotes/xiaoqiang/wine_msvc' into PSI-7.0
2020-04-06 14:00:56 +02:00
Xiaoqiang Wang
605937bbac
use the msvc from a new location
2020-04-06 11:05:04 +02:00
Xiaoqiang Wang
594fcb9a0d
CXXFLAGS from CONFIG_win32-x86.Common
2020-04-03 15:10:46 +02:00
Xiaoqiang Wang
e033c0cfb2
use MSVC via WINE to compile for windows
2020-04-01 14:44:38 +02:00
Xiaoqiang Wang
53ebbab941
use MSVC_DIR to pick up MSVC toolchains
2020-04-01 14:42:18 +02:00
86adc529ef
Merge remote-tracking branch 'origin' into PSI-7.0
...
Conflicts:
configure/os/CONFIG_SITE.Common.linuxCommon
modules/libcom/src/log/iocLog.c
modules/libcom/src/log/logClient.c
modules/pvAccess
modules/pvData
modules/pvDatabase
2020-02-06 17:28:40 +01:00
3a774d37f8
call shell to get EPICS_SITE_VERSION only when compiling EPICS base
2019-09-20 09:02:35 +02:00
5f6b1e2b16
(Re-)connect only when there is something to send. This avoids constant useless disconnect/connect cycles if the server (or firewall) keeps closing the connection.
2019-09-04 10:14:05 +02:00
584caf54b2
don't use space in version string
2019-09-03 09:17:38 +02:00
d602c1cdcb
detect when server closes connection. can only be done reliably with recv, not with send
2019-09-02 17:47:43 +02:00
12ce14b6e5
no need to delay startup only because log server is currently not available
2019-09-02 17:47:43 +02:00
e02709b3a4
send pending log messages directly after connecting
2019-09-02 17:47:43 +02:00
b19709039d
avoid needless memmove calls
2019-09-02 17:47:42 +02:00
3c4ffbf267
elimitate duplicate code in logClient
2019-09-02 17:47:42 +02:00
4942da0c88
do not discard unsent messages when log server has closed connection, instead try to send them after reconnect
2019-09-02 17:47:42 +02:00
5f547257ac
speed up logRestart thread termination at exit
2019-09-02 17:47:42 +02:00
1b99366887
don't send errlog on all logClients
2019-09-02 17:47:42 +02:00
871af36ac5
move -fno-strict-aliasing flag to central place for all Linux version
2019-09-02 16:44:53 +02:00
0ad6d2aec9
typo in comment
2019-09-02 13:53:21 +02:00
8837d2f275
use perl instead of date in EPICS_SITE_VERSION because of Windows
2019-09-02 10:49:44 +02:00
09a17127a9
make xxxTestHarness TESTPRODs instead of PRODs
2019-09-02 10:47:43 +02:00
3699c5bc4c
fix strict-aliasing warnings
2019-08-26 15:50:07 +02:00
157b0867fa
removed unused vxWorks version defaults
2019-08-14 14:06:05 +02:00
56529964f3
always use -g for non-vxWorks gnu compiler
2019-08-14 13:55:07 +02:00
c28e240fce
clear whitespace
2019-08-14 11:39:30 +02:00
b04b2dab22
fix astac crash
2019-08-13 15:13:54 +02:00
8edcd7b07f
use READLINE as default for all Linux systems
2019-08-09 16:21:08 +02:00
ca78451122
move PSI specifics out to CONFIG_SITE. files
2019-08-09 13:33:41 +02:00
4cc44e3dce
cleanup spaces
2019-08-09 13:32:49 +02:00
e81d3a1d7d
remove strict-aliasing warnings in RHEL7
2019-08-09 11:34:50 +02:00
53dd61b80a
merged with R7.0.3
2019-08-09 11:31:43 +02:00
5b754d320f
fix posix epicsThreadSleepQuantum() implementation not to return 0.01 on Linux
2019-07-24 14:17:25 +02:00
2be2658cfc
added modules/pcas
2019-07-22 17:12:22 +02:00
2b157096e6
merge branch '7.0' into 'PSI-7.0'
2019-07-22 15:44:08 +02:00
71eaddfd84
Merge branch 'refs/heads/PSI-7.0.1' into PSI-7.0
2019-07-22 15:36:33 +02:00
5589deb3ad
make sure softIoc for vxWorks contains all functions
2019-07-22 15:17:18 +02:00
0bb80e373b
add simple calculations to macros
2019-05-10 14:44:17 +02:00
4acdd83984
also build pcas
2019-05-10 11:13:23 +02:00
d12d38f970
re-enable -fno-strict-aliasing for vxWorks
2019-05-10 11:08:48 +02:00
74d9749255
fix install location
2019-05-10 11:07:50 +02:00
3276ada78a
build for DeltaTau with ELDK-5.3 for newer C++ compiler
2019-05-08 17:32:50 +02:00
de378eec34
also build pcas
2019-04-03 15:14:34 +02:00
dbb2d875fb
undo commit 2206934 which introduces a MKDIR rule that conflicts with driver/makefile
2019-04-03 15:13:00 +02:00
c7f966a1f5
fix install location
2019-04-03 15:10:28 +02:00
7889dda6f8
merged with upstream
2019-02-20 10:51:02 +01:00
a2ccf3b631
add raspberryPi and skip unused vxWorks archs
2018-10-31 15:23:05 +01:00
57db34b303
Merge branch 'FixShellCommands' into PSI-7.0
2018-10-24 09:25:44 +02:00
4f790758af
no PVA for mvl40-xscale_be
2018-10-23 10:01:13 +02:00
ce9dfc6bb4
need some .o files, but there aren't many any more
2018-10-18 16:20:45 +02:00
4f40ad1927
build for mvl40-xscale_be (without PVA)configure/os/CONFIG.Common.mvl40-xscale_be
2018-10-18 16:20:13 +02:00
a42a4010d6
skip building with clang on old SL6 to avoid problems with cross build from RHEL7
2018-10-11 13:20:59 +02:00
a2aa17fafc
some drivers complain about strict-aliasing
2018-10-11 08:36:35 +02:00
5bf2784db2
add -fno-strict-aliasing for those archs which complain about anyscalar.h
2018-10-05 10:43:08 +02:00
7a4e7b7600
add tar and copysrc make rules
2018-10-03 17:13:13 +02:00
70aa23513f
use -isystem option to find correct headers for cross compiling for old Linux host versions
2018-10-03 16:47:57 +02:00
71ded2f25f
install dbCaPvt.h needed by devIocStats/ioccar
2018-10-03 16:43:32 +02:00
11103351b2
add build year-month to version string
2018-10-03 16:38:53 +02:00
146a413977
add -isystem to avoid system headers in .d files (does not work for vxWorks 5)
2018-10-03 13:48:09 +02:00
4e44550f62
Merge branch 'FixShellCommands' into PSI-7.0
2018-09-28 11:41:52 +02:00
9952470486
Merge branch 'FixShellCommands' into PSI-7.0
2018-09-27 13:58:23 +02:00
02d30dedbc
install server.h for misc module
2018-09-26 16:10:30 +02:00
5ed0fe52a0
Merge branch '7.0' into PSI-7.0
2018-09-26 11:45:19 +02:00
42b1f774da
add PSI configuration
2018-09-25 11:13:08 +02:00
7738b68320
fix missing template instances for old vxWorks (uses -fno-implicit-templates)
2018-09-24 18:00:53 +02:00
1199fabe90
Fix strange compiler errors with gcc 2.96:
...
using <namespace::function>; seems not to work but
using namespace <namespace>; works
Also 'add' only works with explicit namespace. Why?
2018-09-21 16:21:13 +02:00
1aefc5f2f0
re-enable building vxWorks 5
2018-09-21 16:20:17 +02:00
6f666c6c22
Add mechanism to skip modules for selected architectures
2018-09-21 15:50:06 +02:00