ca74f94faa
bump rpm version
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-8 (push) Failing after 2s
Base / Fedora-33 (push) Failing after 1s
Base / Fedora-latest (push) Failing after 2s
Base / Rocky-9 (push) Failing after 1s
Base / Docker CentOS-7 (push) Failing after 7s
Base / Win2019 clang-cl (push) Has been cancelled
Base / Ub-22 clang C++11 (push) Has been cancelled
Base / MacOS clang (push) Has been cancelled
Base / Ub-22 clang (push) Has been cancelled
Base / Ub-24 gcc-13 c++20 Werror (push) Has been cancelled
Base / Ub-22 gcc + RT-5.1 beatnik (push) Has been cancelled
Base / Ub-22 gcc + RT-4.9 (push) Has been cancelled
Base / Ub-22 gcc C++11, static (push) Has been cancelled
Base / Ub-22 gcc + MinGW, static (push) Has been cancelled
Base / Win2019 MSC-19 (push) Has been cancelled
Base / Win2019 MSC-19, debug (push) Has been cancelled
Base / Ub-22 gcc + RT-4.10 (push) Has been cancelled
Base / Ub-22 gcc + RT-5.1 pc686 (push) Has been cancelled
Base / Ub-22 gcc + RT-5.1 uC5282 (push) Has been cancelled
Base / Ub-22 gcc + RT-5.1 xilinx_zynq_a9_qemu (push) Has been cancelled
Base / Win2022 mingw (push) Has been cancelled
Base / Ub-22 gcc + MinGW (push) Has been cancelled
Base / Ub-22 gcc unsigned char (push) Has been cancelled
Base / Win2019 MSC-19, static (push) Has been cancelled
2025-05-23 14:23:26 +02:00
8d46bd3a41
fix calc link documentation
2025-05-23 13:48:54 +02:00
226b752470
fix calc link range check
2025-05-23 12:11:20 +02:00
f7778539e8
make CALC/OCAL fields twice as long
2025-05-23 11:42:17 +02:00
45ea3d5664
extend calc records and expressions to inputs A-U
2025-05-22 16:34:16 +02:00
1804bcef7d
bump rpm version
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-8 (push) Failing after 3s
Base / Fedora-33 (push) Failing after 1s
Base / Fedora-latest (push) Failing after 2s
Base / Rocky-9 (push) Failing after 4s
Base / Docker CentOS-7 (push) Failing after 7s
Base / Win2019 clang-cl (push) Has been cancelled
Base / Ub-22 clang C++11 (push) Has been cancelled
Base / MacOS clang (push) Has been cancelled
Base / Ub-22 clang (push) Has been cancelled
Base / Ub-24 gcc-13 c++20 Werror (push) Has been cancelled
Base / Ub-22 gcc + RT-5.1 beatnik (push) Has been cancelled
Base / Ub-22 gcc + RT-4.10 (push) Has been cancelled
Base / Ub-22 gcc + RT-4.9 (push) Has been cancelled
Base / Ub-22 gcc + RT-5.1 pc686 (push) Has been cancelled
Base / Ub-22 gcc + RT-5.1 uC5282 (push) Has been cancelled
Base / Ub-22 gcc + RT-5.1 xilinx_zynq_a9_qemu (push) Has been cancelled
Base / Win2022 mingw (push) Has been cancelled
Base / Ub-22 gcc + MinGW (push) Has been cancelled
Base / Ub-22 gcc unsigned char (push) Has been cancelled
Base / Ub-22 gcc C++11, static (push) Has been cancelled
Base / Ub-22 gcc + 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
2025-04-23 11:50:45 +02:00
990e08c737
fix commit f2a03e90
2025-04-23 11:49:51 +02:00
f501a2810e
bump rpm version
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-8 (push) Failing after 1s
Base / Fedora-33 (push) Failing after 2s
Base / Fedora-latest (push) Failing after 1s
Base / Rocky-9 (push) Failing after 2s
Base / Docker CentOS-7 (push) Failing after 7s
Base / Ub-22 clang C++11 (push) Has been cancelled
Base / MacOS clang (push) Has been cancelled
Base / Ub-22 clang (push) Has been cancelled
Base / Ub-24 gcc-13 c++20 Werror (push) Has been cancelled
Base / Ub-22 gcc + RT-5.1 beatnik (push) Has been cancelled
Base / Ub-22 gcc + RT-4.10 (push) Has been cancelled
Base / Ub-22 gcc + RT-4.9 (push) Has been cancelled
Base / Ub-22 gcc + RT-5.1 xilinx_zynq_a9_qemu (push) Has been cancelled
Base / Win2022 mingw (push) Has been cancelled
Base / Ub-22 gcc + MinGW (push) Has been cancelled
Base / Ub-22 gcc C++11, static (push) Has been cancelled
Base / Ub-22 gcc + MinGW, static (push) Has been cancelled
Base / Win2019 MSC-19 (push) Has been cancelled
Base / Win2019 clang-cl (push) Has been cancelled
Base / Ub-22 gcc + RT-5.1 pc686 (push) Has been cancelled
Base / Ub-22 gcc + RT-5.1 uC5282 (push) Has been cancelled
Base / Ub-22 gcc unsigned char (push) Has been cancelled
Base / Win2019 MSC-19, debug (push) Has been cancelled
Base / Win2019 MSC-19, static (push) Has been cancelled
2025-03-21 15:16:25 +01:00
997746e5e2
fix epicsStrtod for 32 bit architectures
2025-03-21 15:16:25 +01:00
09f96d056a
Merge branch '7.0' into PSI-7.0
2025-03-21 15:15:57 +01:00
84f49ad149
allow to run tests for cross linux versions
...
They need their own library versions, e.g. libreadline.so
2025-03-21 13:50:05 +01:00
db003e8a10
fix wrong usage of TARGET_xxx macros
...
They are for make targets, i.e. file dependent flags
not for target architecture dependent flags.
2025-03-21 13:49:05 +01:00
1732c9440a
fix for mingw warning about order of header files
2025-03-21 13:49:05 +01:00
ff565267e5
support to run tests in wine and allow to add to WINE* variables
2025-03-21 13:49:04 +01:00
acf4c92697
fix epicsExport for volatile and const variables
2025-03-21 13:49:04 +01:00
93ba98cdca
VxWorks does not mark abort() or exit() noreturn
2025-03-21 13:49:04 +01:00
f2a03e906b
fix vxWorks softIoc build
2025-03-21 13:49:04 +01:00
Andrew Johnson
e4ebc01401
Fix EPICS::PodXHtml and generate section links
...
Base / Ub-22 clang C++11 (push) Has been cancelled
Base / Ub-22 clang (push) Has been cancelled
Base / Ub-22 gcc + RT-4.9 (push) Has been cancelled
Base / MacOS clang (push) Has been cancelled
Base / Ub-24 gcc-13 c++20 Werror (push) Has been cancelled
Base / Ub-22 gcc + RT-5.1 beatnik (push) Has been cancelled
Base / Ub-22 gcc + RT-4.10 (push) Has been cancelled
Base / Ub-22 gcc + RT-5.1 pc686 (push) Has been cancelled
Base / Ub-22 gcc + RT-5.1 uC5282 (push) Has been cancelled
Base / Ub-22 gcc unsigned char (push) Has been cancelled
Base / Ub-22 gcc + 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
Base / Ub-22 gcc + RT-5.1 xilinx_zynq_a9_qemu (push) Has been cancelled
Base / Win2019 mingw (push) Has been cancelled
Base / Ub-22 gcc + MinGW (push) Has been cancelled
Base / Ub-22 gcc C++11, static (push) Has been cancelled
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-8 (push) Failing after 2s
Base / Fedora-33 (push) Failing after 5s
Base / Fedora-latest (push) Failing after 4s
Base / Rocky-9 (push) Failing after 5s
CodeQL / Analyze (cpp) (push) Failing after 1s
Base / Docker CentOS-7 (push) Failing after 14s
Overrides an internal method in Pod::Simple::XHTML that
appends a section sign which links to this section.
2025-03-19 11:26:51 -05:00
Jeremy Lorelli
6ea6ae633b
Define NOCRYPT, NOSOUND and NOKANJI before including windows.h
2025-03-19 11:19:45 -05:00
JJL772
9fac52fa58
Add a release note for the windows.h epicsAtomicOSD change
2025-03-19 11:19:45 -05:00
JJL772
fc5d3c9a5c
Disable extraneous WIN32 declarations when including windows.h in epicsAtomicOSD.h
2025-03-19 11:19:45 -05:00
c75ad2673e
no longer need extern "C" { } around epicsExport macros
2025-03-19 11:17:14 -05:00
b97a35fec8
Don't use __attribute__((noreturn)) on VxWorks
...
VxWorks does not mark abort() or exit() as noreturn.
Thus, functions declared noreturn which end in a call
to those functions cause a compiler warning on vxWorks.
2025-03-19 11:06:26 -05:00
Andrew Johnson
350570134e
Changed dbServerStats() to count the server layers called
2025-03-19 11:03:46 -05:00
Andrew Johnson
72f3e75c8d
Add summary stat's calculation
2025-03-19 11:03:46 -05:00
Andrew Johnson
90f97a7037
Release notes; HAS_DBSERVER_STATS in dbServer.h
2025-03-19 11:03:46 -05:00
Andrew Johnson
fd86f0ff04
Unit tests for dbServerStats()
2025-03-19 11:03:46 -05:00
Andrew Johnson
bcc6cb96ae
Added dbServerStats() API for iocStats and similar
2025-03-19 11:03:46 -05:00
Michael Davidsaver
a4bc0db6e6
dbCa CP link updates set PUTF/RPRO
2025-03-19 10:59:28 -05:00
Michael Davidsaver
48ebe2c64e
Avoid initMainThread() except on vxworks
...
Move isOkToBlock tracking to osdThread.
Targets except vxworks can store this flag in epicsThreadOSD.
Continue to use TLS w/ vxWorks.
Note that setting of isOkToBlock for "main" thread becomes lazy.
2025-03-19 10:53:42 -05:00
Michael Davidsaver
9f788996dc
db: lock record for db_create_read_log() and dbChannelGetField()
...
since 27fe3e4468 db_create_read_log()
accesses record fields.
remove now redundant db_create_read_log() calls.
2025-03-19 10:51:08 -05:00
Michael Davidsaver
13d6ca598c
initHookRegister() make idempotent and MustSucceed
2025-03-05 10:02:38 -06:00
ee1a49045a
support CROSS_COMPILER_RUNTESTS_ARCHS other than RTEMS
2025-03-05 10:00:44 -06:00
Ralph Lange
78f263f359
Update GitHub Actions build configuration ( #609 )
...
* ci: bump GHA ubuntu jobs (22->24, 20->22)
* ci: add GHA job for CentOS-7 on self-managed Docker
* ci: add jobs for CentOS-8 and Rocky-9 on GHA-managed Docker
2025-03-05 09:55:32 -06:00
43e75e3901
decorate functions that do not return
2025-03-05 09:51:57 -06:00
d6481e190f
update spec file for EPICS 7.0.9
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 1s
Base / Fedora-latest (push) Failing after 2s
Base / Win2019 clang-cl (push) Has been cancelled
Base / Ub-20 clang C++11 (push) Has been cancelled
Base / MacOS clang (push) Has been cancelled
Base / Ub-20 clang (push) Has been cancelled
Base / Ub-20 gcc + RT-5.1 beatnik (push) Has been cancelled
Base / Ub-20 gcc + RT-4.10 (push) Has been cancelled
Base / Ub-20 gcc + RT-4.9 (push) Has been cancelled
Base / Ub-20 gcc + RT-5.1 pc686 (push) Has been cancelled
Base / Ub-20 gcc + RT-5.1 uC5282 (push) Has been cancelled
Base / Ub-20 gcc + RT-5.1 xilinx_zynq_a9_qemu (push) Has been cancelled
Base / Win2022 mingw (push) Has been cancelled
Base / Ub-20 gcc + MinGW (push) Has been cancelled
Base / Ub-20 gcc unsigned char (push) Has been cancelled
Base / Ub-20 gcc C++11, static (push) Has been cancelled
Base / Ub-20 gcc + 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
2025-03-05 11:21:20 +01:00
2e77bc8cc1
improve atExit debugging
2025-03-05 11:21:19 +01:00
ea7459084e
Merge remote-tracking branch 'github/noreturn' into PSI-7.0
2025-03-04 17:55:32 +01:00
ddc49e9f79
Merge remote-tracking branch 'github/epicsExportAddress' into PSI-7.0
2025-03-04 17:55:15 +01:00
a3a99e4d14
build mingw for testing
2025-03-04 17:53:22 +01:00
12144fe267
Merge remote-tracking branch 'github/RuntestArchs' into PSI-7.0
2025-03-04 17:49:04 +01:00
c5315d95b8
no longer need extern "C" { } around epicsExport macros
2025-03-04 17:45:04 +01:00
74d231b04f
decorate functions that do not return
2025-03-04 14:41:05 +01:00
23521e0a08
Merge remote-tracking branch 'github/fdManager_using_poll' into PSI-7.0
2025-03-03 17:20:13 +01:00
55791ef470
Merge branch 7.0.9 into PSI-7.0
2025-03-03 17:19:23 +01:00
7b2fb669ec
Merge remote-tracking branch 'xiaoqiang/7.0' into PSI-7.0
2025-03-03 17:14:20 +01:00
312a602952
support CROSS_COMPILER_RUNTESTS_ARCHS other than RTEMS
2025-03-03 14:11:45 +01:00
Ralph Lange
131578124b
ci: drop AppVeyor builds on VS2010/VS2012
2025-02-28 09:59:53 -06:00
Andrew Johnson
7bd3e7aa2e
Update version numbers and submodules after release
2025-02-21 17:45:00 -06:00
Andrew Johnson
86154953f5
Final commit for 7.0.9
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 / Fedora-33 (push) Failing after 2s
Base / Fedora-latest (push) Failing after 1s
CodeQL / Analyze (cpp) (push) Failing after 2s
Base / Ub-20 gcc + RT-5.1 uC5282 (push) Has been cancelled
Base / Ub-20 gcc + RT-5.1 xilinx_zynq_a9_qemu (push) Has been cancelled
Base / Win2019 mingw (push) Has been cancelled
Base / Ub-20 gcc + MinGW (push) Has been cancelled
Base / Ub-20 gcc unsigned char (push) Has been cancelled
Base / Ub-20 gcc C++11, static (push) Has been cancelled
Base / Ub-20 gcc + 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 C++11 (push) Has been cancelled
Base / MacOS clang (push) Has been cancelled
Base / Ub-20 clang (push) Has been cancelled
Base / Ub-20 gcc + RT-5.1 beatnik (push) Has been cancelled
Base / Ub-20 gcc + RT-4.10 (push) Has been cancelled
Base / Ub-20 gcc + RT-4.9 (push) Has been cancelled
Base / Ub-20 gcc + RT-5.1 pc686 (push) Has been cancelled
2025-02-21 17:31:33 -06:00
Andrew Johnson
07572ab025
Update submodules to released versions
2025-02-21 15:47:00 -06:00
Andrew Johnson
0733beae50
Fix for PR #597 breakage of VS-2012/2010 builds
2025-02-20 10:27:41 -06:00
Andrew Johnson
a3d8531008
Revert PR #589
...
* Revert "Release Notes for PYTHON=python3"
commit 2612b47c3f .
* Revert "Remove Python build dependency when LINKER_USE_RPATH=ORIGIN"
commit f4c474eb77 .
2025-02-19 14:10:16 -06:00
Michael Davidsaver
7a6e11cae0
make casStatsFetch() safe-ish when RSRV not initialized
...
Maybe too early. Or maybe RSRV disabled via dbServer.
2025-02-18 07:30:51 -08:00
Michael Davidsaver
7384351181
clarify cantProceed() message
2025-02-18 07:30:51 -08:00
Michael Davidsaver
890cbc2c0d
doc
2025-02-18 07:30:51 -08:00
Andrew Johnson
2612b47c3f
Release Notes for PYTHON=python3
2025-02-17 22:47:27 -06:00
Andrew Johnson
f4c474eb77
Remove Python build dependency when LINKER_USE_RPATH=ORIGIN
...
This change converts the makeRPath.py script to Perl.
Also changes the PYTHON default to run `python3`
2025-02-17 22:47:27 -06:00
Andrew Johnson
1735a821db
Update pvDatabase
2025-02-11 17:44:51 -06:00
bc27476554
document fdManager change
2025-02-10 08:50:15 +01:00
9c1334ae15
silence Codacy warning
2025-02-10 08:47:59 +01:00
Michael Davidsaver
9481deacb0
fdManagerTest: quiet codacy warnings
2025-02-10 08:47:59 +01:00
8f1a3888c6
cleanup coding style in fdManager
2025-02-10 08:47:59 +01:00
c9183b5241
fdManager: filter poll flags for Window's sake
2025-02-10 08:47:59 +01:00
c3f57ee818
make fdManagerPrivate::fdReg volatile to avoid codacy warning
2025-02-10 08:47:59 +01:00
27f4261dfb
use smart pointers in fdManager
2025-02-10 08:47:59 +01:00
5eb9997791
fix codacy warning: make fdManagerPrivate constructor explicit
2025-02-10 08:47:59 +01:00
bfc2f832ec
fdManager uses poll() on Darwin too
2025-02-10 08:47:59 +01:00
f09b235fce
Keep implementation details of fdManager out of header file
2025-02-10 08:47:59 +01:00
ece031c88b
fdManager use std::vector
2025-02-10 08:47:59 +01:00
cbbbd67843
fdManager uses poll() on Windows and RTEMS too
...
RTEMS needs to use the "new" network stack
Windows has poll since Vista
Don't use poll on cygwin: it emulates poll() using select().
2025-02-10 08:47:59 +01:00
57c0295024
fdManager changed to use poll()
...
The implementation using select() limits file desciptors to FD_SETSIZE,
typically 1024 on Linux. This number is too low for some applications,
for example for the CA gateway.
Therefore, Linux builds use poll() instead.
2025-02-10 08:47:59 +01:00
Michael Davidsaver
8f77e941c7
add fdManager test
2025-02-10 08:47:59 +01:00
Michael Davidsaver
c76395abc6
remove fdmgrTest
...
Not a unittest, and not functional.
2025-02-10 08:47:59 +01:00
Michael Davidsaver
1d19ba4cc2
doc and log for *MustSucceed()
...
Replace the "never returns NULL." statement which is
manifestly not true.
2025-02-07 09:09:22 -08:00
JJL772
144f9756ea
Add iocshSetError in a bunch of places
2025-02-05 10:16:16 -06:00
DW
48eed22f3b
check IOCSH_STARTUP_SCRIPT before set
2025-02-05 10:03:35 -06:00
Érico Nogueira
8ac2c87156
Post monitors from compress record when resetting it
...
This way clients receive updates with an empty array after writing into
the RES field.
2025-02-05 09:59:18 -06:00
Simon Rose
0d2ffcd97f
Typo fix on arch name ( #593 )
2025-02-05 09:47:24 -06:00
Andrew Johnson
c8eccfcb8f
Edit Release messages for English & Markdown
2025-02-03 11:36:37 -06:00
Michael Davidsaver
6fb40b02fe
update RELEASE_NOTES
2025-02-02 20:16:38 -08:00
Andrew Johnson
dad0ee9c89
Revert "Limit _FORTIFY_SOURCE <= 2"
...
This reverts commit 5fe563bed8 .
2025-02-02 19:59:39 -08:00
Timo Korhonen
065fe7cab6
Fix internal link
2025-01-28 15:05:55 -08:00
1ee8338886
bump rpm release
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 1s
Base / Fedora-latest (push) Failing after 2s
Base / Ub-20 clang C++11 (push) Has been cancelled
Base / MacOS clang (push) Has been cancelled
Base / Ub-20 clang (push) Has been cancelled
Base / Ub-20 gcc + RT-5.1 beatnik (push) Has been cancelled
Base / Ub-20 gcc + RT-4.10 (push) Has been cancelled
Base / Ub-20 gcc + RT-4.9 (push) Has been cancelled
Base / Ub-20 gcc + RT-5.1 pc686 (push) Has been cancelled
Base / Ub-20 gcc + RT-5.1 uC5282 (push) Has been cancelled
Base / Ub-20 gcc + RT-5.1 xilinx_zynq_a9_qemu (push) Has been cancelled
Base / Win2019 mingw (push) Has been cancelled
Base / Ub-20 gcc + MinGW (push) Has been cancelled
Base / Ub-20 gcc unsigned char (push) Has been cancelled
Base / Ub-20 gcc C++11, static (push) Has been cancelled
Base / Ub-20 gcc + 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
2025-01-16 08:17:19 +01:00
250c9658c2
drop RHEL7 architecture
2025-01-16 08:17:19 +01:00
eb59cb6c7e
drop VxWorks 5 and 7 compatibility
2025-01-16 08:17:19 +01:00
ab91aee581
handle new directories
2025-01-16 08:17:03 +01:00
ccfb5711c8
provide Com and ca shared libraries in devel package for building stand-alone clients
2025-01-15 11:25:51 +01:00
Michael Davidsaver
e4ad4becde
rationalize osdMutex
...
Avoids split allocation.
Eliminates special case free-list.
win32: eliminate pre-XP
rtems-score: eliminate non-fast
2024-12-29 16:35:26 -08:00
Michael Davidsaver
1cd141c540
dbLoadTemplate: error propagation and more context on .db syntax error
2024-12-29 16:35:26 -08:00
72026a27a0
allow to load the same alias multiple times (unless dbRecordsOnceOnly is set)
2024-12-29 16:35:25 -08:00
Simon Rose
9fb820b46e
Add tests for relative include paths
2024-12-29 16:34:10 -08:00
Jeremy Lorelli
721e9cc3a7
Add ABORT_ON_ASSERT flag to CONFIG_SITE
...
This flag causes EPICS to call abort() on assertion failures rather than
suspend the executing thread. With the epicsThreadSuspendSelf() behavior,
an IOC can end up in a difficult to detect error state where one or more
threads has essentially crashed due to an assertion failure.
This also matches the C behavior of assert(3)
2024-12-29 16:34:10 -08:00
Simon Rose
0186836449
Reading a file from the command-line should not use include paths
2024-12-29 16:34:10 -08:00
Simon Rose
b90ab7de13
Improve relative path check for msi
...
For posix-ish systems, we previously checked that a path was relative
by simpy checking if it included a '/' character. This meant that you
could not, for example, do
```
$ cat foo.substitutions
file rel/to/bar.template {
}
$ msi -I /some/path foo.substitutions
```
where our template file is located at `/some/path/rel/to/bar.template`.
Note that relateive paths work differently on Windows, so we carve out
an exception there.
2024-12-29 16:34:10 -08:00
Jeremy Lorelli
333be085c0
Fix compile error in tsSLList.h
2024-12-28 12:40:27 -08:00
Ralph Lange
169948967f
Merge pull request #578 from ralphlange/doc-udfs
...
Add documentation for the UDFS field
2024-12-27 15:10:43 +01:00
Ralph Lange
5a11954c51
Add documentation for the UDFS field
2024-12-26 18:44:23 +01:00
Jure Varlec
9f8a8b9c1f
Update RELEASE_NOTES with AMSG propagation
2024-12-11 09:38:02 -06:00
Jure Varlec
d0cf47cd6f
Propagate AMSG through MSS links
...
MS and MSI links do not propagate STAT and therefore do not propagate
AMSG, either. CA, CP and CPP links also do not propagate AMSG, but the
reason is technical: the message is not available over Channel Access.
2024-12-11 09:38:02 -06:00
Simon Rose
f4aee8e6b7
Add debug build configuration for os x mX arch
2024-12-11 09:33:24 -06:00
dac620a708
loop safe wrapper for dbGet added
2024-12-11 09:31:49 -06:00
4ee766b6b1
correct mask for finding field in linkGrp
...
It worked before because the get_xxx functions are never called for
the links (bit0 = 1), but checking both bits looks cleaner.
2024-12-11 09:31:49 -06:00
5143258011
fix support for link 0
2024-12-11 09:31:49 -06:00
Michael Davidsaver
ead8b7e82b
doc getIocState()
2024-12-09 17:00:03 -08:00
8accf19239
bump rpm release
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 1s
Base / Fedora-latest (push) Failing after 2s
Base / Ub-20 clang C++11 (push) Has been cancelled
Base / MacOS clang (push) Has been cancelled
Base / Ub-20 clang (push) Has been cancelled
Base / Ub-20 gcc + RT-5.1 beatnik (push) Has been cancelled
Base / Ub-20 gcc + RT-4.10 (push) Has been cancelled
Base / Ub-20 gcc + RT-4.9 (push) Has been cancelled
Base / Ub-20 gcc + RT-5.1 pc686 (push) Has been cancelled
Base / Ub-20 gcc + RT-5.1 uC5282 (push) Has been cancelled
Base / Ub-20 gcc + RT-5.1 xilinx_zynq_a9_qemu (push) Has been cancelled
Base / Win2019 mingw (push) Has been cancelled
Base / Ub-20 gcc + MinGW (push) Has been cancelled
Base / Ub-20 gcc unsigned char (push) Has been cancelled
Base / Ub-20 gcc C++11, static (push) Has been cancelled
Base / Ub-20 gcc + 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-12-05 16:59:58 +01:00
9b8712e095
Merge remote-tracking branch 'github/recursion_bug_v2' into PSI-7.0
2024-12-05 16:59:12 +01:00
d13441ebba
Revert "fix recursion bug"
...
This reverts commit 7d73932dc8 .
2024-12-05 16:58:32 +01:00
b53505d339
Merge branch '7.0' into PSI-7.0
2024-12-05 16:58:15 +01:00
75524e43bc
loop safe wrapper for dbGet added
2024-12-02 11:18:42 +01:00
1567da1366
correct mask for finding field in linkGrp
...
It worked before because the get_xxx functions are never called for
the links (bit0 = 1), but checking both bits looks cleaner.
2024-11-29 10:47:23 +01:00
35ba9d65a2
fix support for link 0
2024-11-29 10:42:07 +01:00
Jure Varlec
8483ff9560
Clear NAMSG together with NSTAT and NSEV
...
Previously, there was no way to clear AMSG when setting a no-alarm
status: it kept the last error message, and it is strange to have a
record that has no alarm while showing an error. With this change, the
NAMSG field is treated the same as NSTA and NSEV: they are cleared when
their content is moved to STAT, SEVR, and AMSG.
2024-11-27 07:40:39 -08:00
6bb78e0d59
bump rpm release
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 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
2024-11-25 11:33:27 +01:00
7d73932dc8
fix recursion bug
...
Previously, linking a field of e.g. a calc record to itself
(calc.INPA = calc.A) directly or through a chain of other records
that support to follow the link for attributes like units, precision
caused an infinite recursion and crashed the ioc.
Affected records: calc, calcout, seq, sub and aSub
Also added support for seq link 0 fields which had been added meanwhile.
2024-11-25 11:32:41 +01:00
4a442bb56c
Support deb12-x86_64
2024-11-25 09:27:53 +01:00
60075df3cf
Support deb10-x86_64 as a Host arch (allow to build modules on the system)
2024-11-25 09:26:50 +01:00
42892f3921
make VALID_BUILDS contain Host automatically if BUILD_CLASS is HOST
2024-11-18 10:26:59 +01:00
b7cc33c3c9
Send DBE_PROPERTY events before DBE_VALUE | DBE_LOG events to allow clients to update their formatting etc in time
2024-11-13 10:00:12 -06:00
9e7cd241e0
fix DBE_PROPERTY events for mbbi/mbbo records
2024-11-13 10:00:12 -06:00
faac1df1c6
send DBE_PROPERTY events only if property field actually changed
2024-11-13 10:00:12 -06:00
Andrew Johnson
1f8851a5dc
GHA: rm cmp versions from names when we don't specify them
2024-11-01 11:46:15 -05:00
Andrew Johnson
ac3e8af9fd
Update github action versions
2024-11-01 11:00:37 -05:00
Chris Johns
98a30e8029
rtems: Extend the BSP checks for 5 to 5 or greater
2024-10-31 16:21:49 -05:00
Chris Johns
594e5ee9db
rtems: Set the name of EPICS threads so RTEMS commands report the name
...
Use the NP POSIX call pthread_setname_np to set the POSIX thread name.
2024-10-31 16:21:49 -05:00
Chris Johns
135193c4bd
rtems: Fix shell networking commands
...
This patch cleans up the shell defines for the libbsd and legacy
network stack shell commands.
The top and rtems shell commands have been added.
2024-10-31 16:21:49 -05:00
Chris Johns
9d65da5c61
rtems: Fix rtems_bsdnet_bootp_server_address decl with RTEMS_LEGACY_STACK
...
The legacy stack provides this variable and this decl clashed. This was
seen before now due to the link order of libraries.
2024-10-31 16:21:49 -05:00
Chris Johns
f9d1fbeedb
rtems: BSP mvme2700 is now supported in RTEMS
...
This patch changes the name for RTEMS 6 or later from mvme2307 to
mvme2700.
2024-10-31 16:21:49 -05:00
Chris Johns
2b8a944a7d
rtems: Add legacy network support and fix LDFLAGS
...
RTEMS 6 has moved the legacy network support out of the main repo
to a 3rd party library. This change adds support for using the
legacy networking stack with EPICS in a backwards compatible way.
A BSP can be built with libbsd or the legacy stack and by default
EPICS 7 assumes libbsd.
This patch also fixes the LDFLAGS adding the RTEMS LDFLAGS imported
from Makefile.inc.
2024-10-31 16:21:49 -05:00
Chris Johns
83cbf8a4c7
freebsd: Add support for x86 and amd64 builds
...
Use the OS compiler, ie cc and c++.
2024-10-31 16:16:45 -05:00
Andrew Johnson
47880fbcf7
Fix config.yml syntax, disable git submodules
2024-10-31 15:20:32 -05:00
Andrew Johnson
b0bff556c9
Move query selections into config file
...
Ignore `goto`s and "recommendations" for now.
2024-10-31 15:20:32 -05:00
Andrew Johnson
932e506df1
Adjustments to suggested configuration
...
* Rebased to latest 7.0
* Check 7.0 branch and tags only
* Ignore text files
* Drop Python checks
* Remove .lgtm.yml file, adjust skips
2024-10-31 15:20:32 -05:00
LGTM Migrator
b7991b6eca
Add CodeQL workflow for GitHub code scanning
2024-10-31 15:20:32 -05:00
Michael Davidsaver
f6cd43b7cc
asTrap serverSpecific is dbChannel
...
Save/restore dbAddr::pfield around callbacks to
avoid corruption if CB forgets to restore.
Need to peak at dbChannel.h during libCom build.
So generate dbCoreAPI.h early, and add extra
-I to source location when compiling dbTrapWrite.c
2024-10-31 12:30:15 -05:00
Timo Korhonen
e6a2047bbf
formatting fixes, as requested
2024-10-30 11:07:25 -05:00
Timo Korhonen
7923076b1c
edit to reduce Codacy warnings. May not fix all but this is my best guess.
2024-10-30 11:07:25 -05:00
Timo Korhonen
46ad962cd8
replaced the html version of msi document with markdown.
2024-10-30 11:07:25 -05:00
Andrew Johnson
f47e1d94a3
Use Perl for filtering MAKEFLAGS properly
...
Requires moving the checkflags code into CONFIG_BASE
as that's where FIND_TOOL gets defined.
Fixes #545
2024-10-30 09:51:37 -05:00
Michael Davidsaver
022b8d468b
document dbScan.h
2024-10-20 10:18:30 -07:00
Michael Davidsaver
152d306ad8
avoid UB with self pthread_join()
2024-10-02 09:22:00 -05:00
Michael Davidsaver
012139638d
posix: epicsThreadCreateOpt() avoid leak of joinable on EPERM
...
On a system where RT priorities have been probed.
When creating a joinable thread, but still fails
with EPERM, the first epicsThreadOSD was leaked.
2024-10-02 09:22:00 -05:00
Minijackson
78b575f487
documentation: fix RELEASE_NOTES Sphinx warning
...
Apparently, starting a section with a horizontal line is not permitted
2024-10-02 09:16:29 -05:00
Minijackson
74713632a6
documentation: fix title underline of menu-API
2024-10-02 09:16:29 -05:00
Minijackson
dd5df7363c
documentation: migrate ComponentReference to markdown
...
This enables us to use toctrees, which informs Sphinx on the global
documentation structure, and removes warnings about not-included
documents.
The old ComponentReference.pod was kept, in order to not break the old
HTML output, but the new Markdown file is used as source for the
generated markdown files in doc/
2024-10-02 09:16:29 -05:00
Andrew Johnson
3888e9dec7
Make header file links use Markdown for Sphinx toctree
2024-10-02 09:16:29 -05:00
Andrew Johnson
af206ba7fc
Move Sphinx sources to O.Common/rtd-src
...
Adds the build target 'sphinx' for manual Sphinx runs, and
installs the output of that under $(INSTALL_HTML)/readthedocs
Adjusted some Sphinx config parameters and titles.
2024-10-02 09:16:29 -05:00
Minijackson
be4d1604ba
documentation/RELEASE_NOTES: remove main anchor
2024-10-02 09:16:29 -05:00
Minijackson
8e2217dbf7
documentation: remove KnownProblems
...
From @anjohnson:
> I haven't actually published a Known Problems page online since EPICS 7.0.1,
> maintaining it was becoming too time-consuming.
2024-10-02 09:16:29 -05:00
Minijackson
34b3306faa
documentation: Edit & add README
2024-10-02 09:16:29 -05:00
Minijackson
8c88d052bb
Add readthedocs templates and build rules
...
Co-authored-by: Timo Korhonen <timo.korhonen@ess.eu >
Co-authored-by: Andrew Johnson <anj@anl.gov >
2024-10-02 09:16:29 -05:00
Minijackson
ad7575f5a4
documentation/Doxyfile: adapt for Sphinx Breathe
...
Co-authored-by: Timo Korhonen <timo.korhonen@ess.eu >
2024-10-02 09:16:29 -05:00
Minijackson
601ac051db
documentation/Makefile: Remove gh-pages rules
...
Co-authored-by: Andrew Johnson <anj@anl.gov >
2024-10-02 09:16:29 -05:00
Minijackson
c0aeb4c69b
Move and fix ComponentReference.pod
...
Co-authored-by: Timo Korhonen <timo.korhonen@ess.eu >
Co-authored-by: Andrew Johnson <anj@anl.gov >
2024-10-02 09:16:29 -05:00
Minijackson
7cdaaf716a
Generate Markdown from all .pod and .dbd.pod files
...
Co-authored-by: Timo Korhonen <timo.korhonen@ess.eu >
2024-10-02 09:16:29 -05:00
Minijackson
615ba73044
Rules to generate and install Markdown
...
Markdown can be generated from .pod and .dbd.pod files.
Markdown will be generated and installed by "make inc".
Co-authored-by: Timo Korhonen <timo.korhonen@ess.eu >
Co-authored-by: Andrew Johnson <anj@anl.gov >
2024-10-02 09:16:29 -05:00
Minijackson
c285f2a78f
dbdToMD.pl: create
...
Co-authored-by: Timo Korhonen <timo.korhonen@ess.eu >
2024-10-02 09:16:29 -05:00
Minijackson
fcb227ed97
podToMD.pl: create
...
Co-authored-by: Timo Korhonen <timo.korhonen@ess.eu >
2024-10-02 09:16:29 -05:00
Andrew Johnson
4f6aa7ec29
Add Pod::Markdown and EPICS::PodMD Perl modules
...
Co-authored-by: Timo Korhonen <timo.korhonen@ess.eu >
2024-10-02 09:16:29 -05:00
60f6ba7b49
Drop execute bits from startup/win32.bat
...
The file startup/win32.bat shouldn't be executable, so drop the execute
bits from its file mode.
2024-10-02 09:14:22 -05:00
Érico Nogueira
8045770751
libCom: don't use std::unexpected in epicsThread.
...
Besides being deprecated in C++11 and removed in C++17, the intended use
case for this was always wrong, since std::unexpected() is called by the
C++ runtime when a function throws an exception that was not specified
in its "dynamic exception specification", which is different from an
exception thrown by user code which wasn't caught [1,2]. Using abort()
keeps the same behavior, but with the intended semantics.
We don't use std::abort() to simplify backwards compatibility.
[1] https://github.com/epics-base/epics-base/issues/343
[2] https://en.cppreference.com/w/cpp/error/unexpected
2024-09-09 07:27:32 -07:00
52b3496084
bump rpm release
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 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
2024-09-06 16:55:30 +02:00
2296dbc132
Merge remote-tracking branch 'github/propmon' into PSI-7.0
2024-09-06 14:56:21 +02:00
4af01ed26a
Merge branch '7.0' into PSI-7.0
2024-09-06 14:55:12 +02:00
d83079999b
keep unversioned libs for all linux version
...
Prevent future problems with versioned libs when we update patch levels.
2024-09-06 14:39:41 +02:00
15a2e22149
revert MAINTENANCE_VERSION numbers to keep dynamic linking compatible
2024-09-06 14:39:21 +02:00
2dc71ebd6e
Revert "use versioned libraries from now on for all architectures"
...
This reverts commit ecb02803c8 .
It turned out that we run into unnecessary dynalic link problems when
minor (but compatible) changes cause *_MAINENANCE_VERSION to be
incremented even though the library is compatible.
Maybe use -soname MAJOR.MINOR or -soname MAJOR instead later?
2024-09-06 10:32:17 +02:00
Michael Davidsaver
2e4113b63b
Add typing to dbEvent.h opaque structs when -DUSE_TYPED_DBEVENT
2024-09-04 10:15:55 -05:00
Érico Nogueira
3b50194837
genVersionHeader: work with git submodules and worktrees.
...
When the epics-base directory is used as a git submodule, or checked out
in multiple places as a git worktree, ".git" is not a directory, but a
file which points to the location of the git directory. In that case,
the git tools can still be used to determine the version information.
Without this change, the version string is determined from the build
date/time, which has multiple issues:
- it doesn't include the full information about the build environment
- it is not reproducible
- it leads to unnecessary rebuilds, since a lot of files depend on
"epicsVCS.h"
2024-09-04 10:14:22 -05:00
99f70a1081
Print link types as text instead of numbers
2024-09-04 10:13:08 -05:00
Grzegorz Kowalski
5d9ffe15da
caget: free PV value after printing
2024-09-04 10:02:49 -05:00
Grzegorz Kowalski
3ac8dcc3de
caget: free memory allocated for PV array
2024-09-04 10:02:49 -05:00
Jure Varlec
25e155ee8c
Fix a mis-asssignemnt of copyright
...
Copyright was previously assigned based on the author's email, which had
been modifified by repository conversion from CVS to git. This rectifies
the situation by assigning copyright to the authors employer at the time
of creation of the file.
2024-09-04 10:02:04 -05:00
Jure Varlec
049cc175a9
Fix a mangled copyright header
2024-09-04 10:02:04 -05:00
Jure Varlec
0d92b74aae
Compactify SPDX tags in README files
2024-09-04 10:02:04 -05:00
Jure Varlec
ecba8a3a5e
Move SPDX tags in st file for compatibility
2024-09-04 10:02:04 -05:00
Jure Varlec
466a9b565e
Change comment style for SPDX tags in C files
2024-09-04 10:02:04 -05:00
Jure Varlec
c304b7db53
Add SPDX license tags to templates
...
Copyright information was gathered using `git log` with per-line history
tracking, which allows following the history of a file through renames.
2024-09-04 10:02:04 -05:00
Grzegorz Kowalski
0eb31ed70b
free memory allocated for filenames
2024-09-04 09:59:55 -05:00
Chris Johns
c5f5e4e508
rtems: Allow site local override of the default tick period
...
Add to configure/CONFIG_SITE.local:
OP_SYS_CFLAGS += -DCONFIGURE_MICROSECONDS_PER_TICK=1000
2024-09-04 09:59:13 -05:00
Freddie Akeroyd
9866815dab
Improve error message wording
2024-09-04 09:58:29 -05:00
Freddie Akeroyd
0e66b3edff
Improve error message for mingw64 architecture
2024-09-04 09:58:29 -05:00
Freddie Akeroyd
dd154180bf
Avoid isnan/isinf redefine in c++ on VS2013 and above
2024-09-04 09:48:03 -05:00
Freddie Akeroyd
574fe116fc
protect isnan/isinf define on c++
2024-09-04 09:48:03 -05:00
7077ece7f9
Send DBE_PROPERTY events before DBE_VALUE | DBE_LOG events to allow clients to update their formatting etc in time
2024-09-02 13:45:25 +02:00
22aaded26d
fix DBE_PROPERTY events for mbbi/mbbo records
2024-09-02 11:46:49 +02:00
c1b8831205
send DBE_PROPERTY events only if property field actually changed
2024-09-02 11:46:16 +02:00
1e64b08c32
bump rpm version
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 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-4.10 (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 + 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 + 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-08-27 13:08:38 +02:00
d67036fcc0
Merge branch 'aliases' into PSI-7.0
2024-08-26 16:37:57 +02:00
d494d91ba2
allow to load the same alias multiple times (unless dbRecordsOnceOnly is set)
2024-08-26 16:30:20 +02:00
Michael Davidsaver
052a0c7e19
test get_enum_strs()
2024-08-21 10:01:26 -05:00
Michael Davidsaver
979dde8376
redo get_enum_strs() to pacify _FORTIFY_SOURCES=3
2024-08-21 10:01:26 -05:00
Michael Davidsaver
9a0113f834
GHA: add gcc with -D_FORTIFY_SOURCE=3
2024-08-21 10:01:26 -05:00
Michael Davidsaver
3d70e70640
Add dbPvt2Rec() cast
...
Reverse of dbRec2Pvt()
pacify -D_FORTIFY_SOURCE=3 and __builtin_object_size() as
"&precord->common" does not know than common as actually
the prefix of a variable sized struct.
2024-08-21 10:01:26 -05:00
Michael Davidsaver
f9e53dded6
show buffered line along with DB parse error
2024-08-21 09:53:38 -05:00
403ebab858
use more standard permissions for bins and libs
2024-08-21 09:50:26 -05:00
Hinko Kocevar
8e62ea4965
handle deletion of the non-existant record with field
2024-08-21 09:48:23 -05:00
Hinko Kocevar
f00de26be1
directory path name is free'd before it is used in testAbort()
2024-08-21 09:48:23 -05:00
Hinko Kocevar
50b6a3801a
check if precordType is null in dbGetRecordTypeName()
2024-08-21 09:48:23 -05:00
Michael Davidsaver
2a5def7fc6
test removal of non-existant record
2024-08-21 09:48:23 -05:00
Michael Davidsaver
fd072e4429
add more information to record(# warning
2024-08-21 09:48:23 -05:00
Hinko Kocevar
3a5c9ab0cd
add a warning if deleting a non-existent record
2024-08-21 09:48:23 -05:00
Hinko Kocevar
c735de4ff8
fix number of tests to execute
2024-08-21 09:48:23 -05:00
Hinko Kocevar
bb5423171d
remove warning and error messages, fix duplicate flag setting
2024-08-21 09:48:23 -05:00
Hinko Kocevar
4e4e55ca89
invoke dbFreeLinkContents() to clean up link related allocations
2024-08-21 09:48:23 -05:00
Hinko Kocevar
e9748881cd
make codacy happy
2024-08-21 09:48:23 -05:00
Hinko Kocevar
39b0301062
plug memory leak resulting from record deletion
2024-08-21 09:48:23 -05:00
Hinko Kocevar
2f98251c9f
add unit tests for record deletion
2024-08-21 09:48:23 -05:00
Hinko Kocevar
535c9c2a06
Allow deleting a record at database creation.
...
Using a magical record type "#" will allow the user to
delete previously created record from the database.
2024-08-21 09:48:23 -05:00
Michael Davidsaver
057eb87101
readline: only keep history for interactive session
2024-08-21 09:36:39 -05:00
457387ed38
fix warning when dbf_type_to_text is called with an unsigned type argument
2024-08-21 09:35:53 -05:00
b6fffc2225
fix string to epicsUInt32 conversion via double
2024-08-21 09:28:45 -05:00
86cdfc596f
fix wrong (unsigned) comparison
2024-08-12 10:29:08 -04:00
Andrew Johnson
3dae29b7e8
Oops, needed stdint.h
2024-08-10 14:45:28 -05:00
Andrew Johnson
9d393c4437
Cast sizeOffset to uintptr_t for ordered comparison
...
Issue report & fix by Dirk Zimoch.
2024-08-10 13:21:30 -05:00
97ffcb725c
fix compile error with gcc 3.4.3
2024-08-09 11:45:20 +02:00
5930e8e2e4
time_t has 64 bit o 64 bit architectures
2024-08-09 11:44:26 +02:00
212f387d1b
keep INSTALL_PERMISSIONS non-writable
2024-08-07 17:42:40 +02:00
1ae21cdde4
improve error message more
2024-08-07 17:41:47 +02:00
03f17a08c3
Merge branch '7.0' into PSI-7.0
2024-08-07 17:30:04 +02:00
Andrew Johnson
a5c3330c8e
Update .ci module, disable CentOS-7 build
2024-08-07 09:54:16 -05:00
Andrew Johnson
856f345d2c
Fix Codacy complaint about C-style casts
2024-08-07 09:54:16 -05:00
Andrew Johnson
3f4d080260
Make dbFastGet/PutConvertRoutine arrays const
...
Also added Doxygen annotations for them.
2024-08-07 09:54:16 -05:00
Andrew Johnson
1e8d49f2a6
Drop debugging diagnostics
2024-08-07 09:54:16 -05:00
Andrew Johnson
31b22fd253
Add test of jlinkz::putValue() to dbPutLinkTest
...
Add OUTP link field to xRecord
xRecord::process() puts VAL to the OUTP link
jlinkz writes the output value to the record's own PHAS field
Correct the dbFastPutConvertRoutine lookup
Test sets OUTP link, processes record and confirms that PHAS was set
2024-08-07 09:54:16 -05:00
Andrew Johnson
916b17ef3f
Fix review comment
2024-08-07 09:54:16 -05:00
Andrew Johnson
437320926b
Move declaration back
2024-08-07 09:54:16 -05:00
Andrew Johnson
7890e67d37
Various misc warnings
2024-08-07 09:54:16 -05:00
Andrew Johnson
918a188285
Define USE_TYPED_DRVET, use drvet * instead of struct drvet *
2024-08-07 09:54:16 -05:00
Andrew Johnson
2f730b8e9f
Add arg's to function pointer typedefs and prototypes
2024-08-07 09:54:16 -05:00
Andrew Johnson
1835187a86
Change fast convert routines to match prototype
...
Most of these edits were make using regexes in find/replace.
2024-08-07 09:54:16 -05:00
Andrew Johnson
f287cfa2ac
Introduce & use FASTCONVERTFUNC with full prototype
2024-08-07 09:54:16 -05:00
Andrew Johnson
785237e41a
Remove duplicate link libraries
2024-08-07 09:54:16 -05:00
23999a106b
use -nologo with rc like with many other MSVC commands
2024-08-07 09:40:29 -05:00
Andrew Johnson
91e1d0ab80
Update release process files
2024-06-27 22:20:19 -05:00
Andrew Johnson
172bfce1f3
Merge 'Release 7.0.8.1' branch into 7.0
2024-06-27 21:07:50 -05:00
Andrew Johnson
615e7e99ce
Update version numbers and submodules after release
2024-06-27 20:56:47 -05:00
Andrew Johnson
57c930fbee
Release R7.0.8.1
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-06-27 20:55:03 -05:00
Andrew Johnson
785b777baf
Update Release Notes, set version numbers
2024-06-26 14:59:18 -05:00
Andrew Johnson
d0d15ee911
Replace UNRELEASED with 7.0.8.1
2024-06-26 14:59:18 -05:00
Andrew Johnson
5af9c7e50d
Revert submodules to versions at R7.0.8
2024-06-26 14:59:18 -05:00
Andrew Johnson
5fe563bed8
Limit _FORTIFY_SOURCE <= 2
2024-06-26 14:58:53 -05:00
Tynan Ford
772c10d904
Fix issue with RSRV_SERVER_PORT above 9999
...
don't worry about null termination on epicsSnprintf call
2024-06-19 09:38:23 -07:00
Michael Davidsaver
72d50ce274
fix dblsr()
...
clearly doesn't get called very often...
2024-06-14 16:45:07 -07:00
Michael Davidsaver
0a6b9e4511
dbScan: handle scanStop() before start
2024-06-14 16:45:07 -07:00
be8f8b41ff
centralize -g flag for gnu targets
2024-06-13 14:35:43 -07:00
Simon Rose
1b46077096
Fix off by one error in constant link fetch
...
For long string buffers, we currently write a null terminator one byte
past the end of the buffer. This can be seen with a record of the type
```
record(aai, foo) {
field(NELM, 1)
field(FTVL, CHAR)
field(INP, {const: "foo"})
}
```
where the buffer is only of size 1, but then we write at index 1 (aka
past the end of the buffer).
Co-authored-by: Lucas A. M. Magalhães <lucmaga@gmail.com >
2024-06-12 16:19:36 -07:00
Chris Guerrero
ede745cc34
Update aSubRecord.dbd.pod
2024-06-12 09:14:30 -07:00
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
Michael Davidsaver
a864f16318
dbCa test sync. improvements
2024-06-11 19:37:23 -07:00
seifalrahman
4c20518864
modifying the condition from (status!=0) to (status>0) to skip the block in case the status variable ==-1
2024-06-11 18:45:33 -07:00
Michael Davidsaver
6ca716a77f
iocsh: add more iocshSetError()
2024-06-11 13:52:03 -07:00
Michael Davidsaver
aa77b1c04a
iocInit errors say ERROR
2024-06-11 11:14:07 -07:00
Michael Davidsaver
fe4247d57d
Send .db parser errors to stderr
2024-06-11 11:14:07 -07:00
Michael Davidsaver
77490d4939
space in errPrintf() output
2024-06-11 11:14:07 -07:00
Michael Davidsaver
0495ac3bc5
WARN for FLNK uses CA without PROC
2024-06-11 11:14:07 -07:00
Michael Davidsaver
4a305a42a7
softMain log iocInit() failure.
2024-06-11 11:14:07 -07: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
DW
11fba63d18
Fix histogram doc
2024-05-29 09:17:03 -05:00
Simon Rose
1db37bcd91
Update release notes
2024-05-29 09:15:35 -05:00
Simon Rose
beec00b403
Fix issue with compress record
...
The handling of N-to-M array compression was broken with the addition
of the partial buffer option, which broke the bounds check that was
being used.
Note that this also makes the partial buffer option more consistent;
if, for example, you have
```
record(compress, foo) {
field(ALG, "N to 1 Average")
field(INP, "bar NPP")
field(NSAM, 2)
field(N, 2)
field(PBUF, YES)
}
```
(with `bar` having, e.g. length 3), then this will now behave as
expected on both of the samples.
2024-05-29 09:15:35 -05:00
DW
4966baf423
fix sizv for printf & fix doc
2024-05-20 09:18:26 -04:00
Michael Davidsaver
e5b4829074
bound lso/lsi to limit of dbAddr::field_size
2024-05-19 11:57:19 -04:00
Ralph Lange
d8b5616772
ci: bump checkout to v4 in check-editorconfig.yml
...
- fix node16.js usage warning
2024-05-16 10:07:12 +02:00
Ralph Lange
92615a77fe
ci: fix last commit (GHA workaround)
2024-05-15 18:04:58 +02:00
Ralph Lange
b3f92d81db
ci: add workaround for GHA node20@centos7 failures
2024-05-15 16:57:34 +02:00
Simon Rose
839f764bcb
Clean up some potential memory leaks
...
The watchdog tasks are allocated, but not consistently removed. In
general this doesn't matter: they run in threads that will only
end when the process actually quits. For consistency and for the
purpose of future-proofing, I think there is value in having the
cleanup added in each case.
2024-05-15 09:26:09 -05:00
Simon Rose
4bb50fe664
Memory leak in caservertask.c
2024-05-15 09:26:09 -05: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
Ralph Lange
c77f32b19c
Merge pull request #482 from ericonr/calcout-docs
...
Fix calcout doc typo.
2024-05-03 04:04:41 +09:00
Érico Nogueira
66ce1c2076
Fix calcout doc typo.
2024-05-02 15:29:22 -03: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
Simon Rose
d9d35a4eab
Allow auto-declarations for dbdExpand.pl
2023-12-01 09:19:03 -06: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
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
Xiaoqiang Wang
ccbe608c4a
pvDataCPP with a different clang-cl workaround
2023-06-19 09:47:03 +02:00
Xiaoqiang Wang
c68d5a8dc3
direct include of CONFIG.msvcCommon
2023-05-26 08:33:10 +02:00
Xiaoqiang Wang
cfa5ad3195
rename LLVM_PREFIX/SUFFIX to MSVC_PREFIX/SUFFIX
2023-05-25 19:26:05 +02:00
Xiaoqiang Wang
d7a0edf121
direct include of CONFIG.msvcCommon
2023-05-25 19:18:36 +02:00
Xiaoqiang Wang
61fa360461
update ci-scripts module
2023-05-24 22:14:39 +02:00
Xiaoqiang Wang
01fc9f83a9
use windows-2022 to use MinGW 11
...
MinGW 8 on windows-2019 cannot compile pvData module
2023-05-24 21:27:53 +02:00
Xiaoqiang Wang
ccc730332a
Revert "debug: only build clang windows"
...
This reverts commit b948c03675 .
2023-05-24 16:45:08 +02:00
Xiaoqiang Wang
b948c03675
debug: only build clang windows
2023-05-24 13:19:55 +02:00
Xiaoqiang Wang
538a3d2f09
update ci-scripts module
2023-05-24 13:16:44 +02:00
Xiaoqiang Wang
3724420dc6
fail fast for testing purpose
2023-05-24 12:38:35 +02:00
Xiaoqiang Wang
6b1d30408f
update ci-scripts module
2023-05-24 12:37:50 +02:00
Xiaoqiang Wang
b615232788
update ci-scripts module
2023-05-24 12:15:40 +02:00
Xiaoqiang Wang
763760c58b
add clang windows build
2023-05-24 12:04:11 +02:00
Xiaoqiang Wang
f0d98b9b9a
use forked .ci module with clang windows support
2023-05-24 12:03:46 +02:00
Xiaoqiang Wang
60239498a1
use forked pvData module with clang-cl fixes
2023-05-23 21:22:30 +02:00
Xiaoqiang Wang
166157dcbf
allow clang windows as host arch
2023-05-23 18:23:17 +02:00
Xiaoqiang Wang
29da5d67e1
add win32-x86-clang and windows-x64-clang targets
2023-05-13 21:37:29 +02:00
Xiaoqiang Wang
8e8fb81062
explicit include SAL header to help clang-cl compiler
2023-05-13 21:34:55 +02:00
Xiaoqiang Wang
448bde1798
split out msvc common settings
2023-05-13 21:34:18 +02:00