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
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
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
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
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
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
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
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
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
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
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
Érico Nogueira
1a9dc993c1
Fix gmtime messages in epicsTimeZoneTest.
2024-04-29 15:10:47 -07: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
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
Simon Rose
6a369acd0b
Add newline to help text
2023-12-05 08:05:12 -08: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
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
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
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
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
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
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
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
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
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
Michael Davidsaver
0f8ea3aa36
doc update dbUnitTest.h
2022-09-25 09:34:13 -07: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
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
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
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
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
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
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
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
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
Andrew Johnson
1c3aa01846
Cleanup CONFIG_COMMON
...
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 / MacOS clang-12 (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 / CentOS-8 (push) Failing after 1s
Base / CentOS-7 (push) Failing after 6s
Base / Fedora-33 (push) Failing after 2s
Base / Fedora-latest (push) Failing after 1s
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 + 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 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
Rewrote some definitions for clarity
2021-11-25 18:37:22 -06:00
Andrew Johnson
191ff137f1
configure: Use GNU Make's abspath instead of fullPathname.pl
...
Add new INSTALL_ABSOLUTE variable, remove duplicates.
2021-11-25 13:27:35 -06:00
Andrew Johnson
156945c458
YAJL: Handle truncated Unicode surrogates better
2021-11-25 13:27:35 -06:00
Andrew Johnson
31fcb77412
macCore: Don't pass NULL or "" into getenv()
2021-11-22 15:56:30 -06:00
Andrew Johnson
631f514c7c
Test vprintf() redirection, other tweaks
2021-11-22 15:52:25 -06:00
Andrew Johnson
6e496e80d1
Redirection support for vprintf()
2021-11-22 15:51:08 -06: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
2256c979b0
ca: silence warning
2021-11-13 11:47:15 -08:00
Michael Davidsaver
5e2a52401f
Com: avoid implicit use of epicsStdio in posix epicsThread.c
2021-11-13 11:47:15 -08:00
Michael Davidsaver
7529577e3b
Silence warning in mbbioDirectTest
...
GCC seems to lose track of possible output lengths
of the first sprintf() when computing possible lengths
of the second.
../mbbioDirectTest.c:44:26: warning: ‘.B’ directive writing 2 bytes into a region of size between 1 and 40 [-Wformat-overflow=]
44 | sprintf(field,"%s.B%X", rec, i);
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
Michael Davidsaver
1c96fd1cb4
ci: run tests for RTEMS 4.9 and 5
2021-11-09 09:33:25 -08:00
Michael Davidsaver
8d078a0c7d
RTEMS: rtems_netconfig.c version test consistency
...
The comment above says "... no longer needed in RTEMS 4.11"
which to me says needed "< 4.11".
2021-11-09 09:32:13 -08:00
Michael Davidsaver
8a4051964f
RTEMS: e1000 giant hack for QEMU w/ libbsd
2021-11-09 09:32:13 -08:00
Michael Davidsaver
5ef537684e
RTEMS5: update libbsd logging
...
Show messages synchronously during boot,
then redirect through errlog before user app.
Disable syslog() during tests
2021-11-09 09:32:13 -08:00
Michael Davidsaver
c1dcd728d7
RTEMS5: redo dhcp handler and make NTP optional
2021-11-09 09:32:13 -08:00
Michael Davidsaver
78684e0e57
asyncSoftTest fix sync
2021-11-08 07:58:15 -08:00
Michael Davidsaver
f57acd2c10
add testdbCaWaitForConnect()
2021-11-08 07:58:15 -08:00
Michael Davidsaver
ba5ade1852
softTest fix sync
2021-11-05 08:31:17 -07:00
Michael Davidsaver
8a0fc0373b
dbPutFieldLink() missing status on dbChannelOpen() error
2021-11-03 12:47:04 -07:00
Michael Davidsaver
4340e76445
drop unused dbCaGetUpdateCount()
2021-11-02 11:31:28 -07:00
Michael Davidsaver
ce910f52c3
drop usage of dbCaGetUpdateCount()
2021-11-02 11:31:26 -07:00
Michael Davidsaver
219ab33625
fix regressTest
2021-11-02 11:31:24 -07:00
Michael Davidsaver
e9e576f4bb
add testdbCaWaitForUpdateCount() and fix dbCaSync()
...
Add testdbCaWaitForUpdateCount() to wait for CA link
data event counter.
dbCaSync() actually wait for work queue to be empty
2021-11-02 11:31:19 -07:00
Michael Davidsaver
5bb1138b87
Revert "Another attempt to fix regressTest.c::testLinkSevr()"
...
This reverts commit 955dcfc7b5 .
2021-11-02 10:53:21 -07:00
Andrew Johnson
955dcfc7b5
Another attempt to fix regressTest.c::testLinkSevr()
2021-10-28 13:21:03 -05:00
Andrew Johnson
07a371703f
Cosmetic Release Notes change
2021-10-28 13:20:49 -05:00
Andrew Johnson
1950a8240c
Fix issue reported by Matt Pearson
2021-10-26 16:46:35 -05:00
Michael Davidsaver
a662cae239
changelog
2021-10-18 10:21:28 -07:00
Michael Davidsaver
2b3c6f2e26
epicsSingleton cleanup
...
Inline all template methods to avoid dllimport/export issues
with some mingw.
Change dllimport/export to only include out of line
methods of SingletonUntyped.
2021-10-18 10:11:08 -07:00
Michael Davidsaver
b1d9c57101
db_field_log::mask overwrite with actual event mask.
...
db_create_event_log() initializes mask with pevent->select.
2021-10-18 08:45:25 -07:00
Michael Davidsaver
446e0d4af8
dbnd filter pass through DBE_ALARM|DBE_PROPERTY
2021-10-18 08:45:23 -07:00
Michael Davidsaver
2f51653a9e
errlog: try to enable WIN10 terminal escape processing
2021-10-18 08:45:13 -07:00
Michael Davidsaver
b9899213d4
colorize errors and warnings
...
Use ERL_ERROR and ERL_WARNING
git grep -li 'errlogPrintf.*[" ]error' | xargs sed -i -E -e 's|(errlogPrintf.*[" ])(error)|\1" ERL_ERROR "|g'
git grep -li 'errlogPrintf.*[" ]warn' | xargs sed -i -E -e 's|(errlogPrintf.*[" ])(warn[a-zA-Z]*)|\1" ERL_WARNING "|g'
2021-10-18 08:45:13 -07:00
Michael Davidsaver
0c12b02d4f
errlog strip ANSI escapes
...
Always strip for handlers, and conditionally
if stderr is not a TTY, or $TERM unset/empty.
2021-10-18 08:45:13 -07:00
Michael Davidsaver
ac12ccad38
errlog add ANSI escape macros
2021-10-18 08:45:13 -07:00
Michael Davidsaver
8fdaa13c97
errlog: eltc() re-add flush
...
Removal upsets dbCaLinkTest on RTEMS, which must not be
synchronizing correctly. Re-add until this can be corrected.
2021-10-18 08:45:13 -07:00
Michael Davidsaver
29fa0621d7
Com: rewrite errlog
...
Switch to double buffering to allow errlogThread
to unlock while printing.
2021-10-18 08:45:13 -07:00
Andrew Johnson
6063de9a8b
Added Heinz new osdEvent.c to RTEMS-posix
2021-10-12 12:37:57 -05:00
Michael Davidsaver
465920fcf1
ci: disable RTEMS test running
2021-10-12 10:24:22 -07:00
Michael Davidsaver
b9e9537376
regressTest: attempt to fix spurious failure
2021-10-12 10:22:31 -07:00
Andrew Johnson
fb46786ccb
Update version numbers and submodules after release
2021-10-06 20:19:02 -05:00
Andrew Johnson
abfe30ef13
Set version numbers for release
Base / CentOS-7 (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 / 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-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 / Win2019 MSC-19, debug (push) Has been cancelled
Base / Win2019 MSC-19 (push) Has been cancelled
2021-10-06 20:11:17 -05:00
Andrew Johnson
9895ee8b53
Release notes
2021-10-06 20:06:22 -05:00
Andrew Johnson
78b7441383
Checkout submodules for release
2021-10-06 17:23:31 -05:00
Andrew Johnson
48d070d29d
UNRELEASED => EPICS 7.0.6.1 for Release
2021-10-06 15:28:20 -05:00
Andrew Johnson
a5864e152b
Adjust Doxygen annotation comments
2021-10-06 15:21:36 -05:00
Andrew Johnson
b6da758275
Merge the mbboDirect-bit-fields branch into 7.0
...
Fixes: lp: #1939568
2021-10-05 17:21:18 -05:00
Andrew Johnson
59ee7b32bc
"Desired Output": change "Loc" to "Link" in prompt string
2021-10-05 00:19:50 -05:00
Andrew Johnson
3f43b0bb8a
Record POD updates
...
Mostly fixing links and adding some field tables.
Some rewriting of descriptions.
2021-10-04 23:57:01 -05:00
Andrew Johnson
e867b0a095
mbboDirect: Document the behavior changes
...
Wording assumes this will go into the EPICS 7.0.6.1 release.
2021-10-04 23:36:01 -05:00
Andrew Johnson
dabcf893f7
mbboDirect: Fix initialization from VAL vs. B*
2021-10-03 00:53:35 -05:00
Andrew Johnson
bf2cdc9f61
mbboDirect: Remove debugging db_post_events() calls
2021-10-02 19:52:11 -05:00
Andrew Johnson
2ce583ffff
Apply suggested changes to DEBUG fixes
2021-10-01 14:53:55 -05:00
Andrew Johnson
98aac49a8b
Merge Torsten's FixCompilationErrorsForDEBUG branch
2021-10-01 14:44:38 -05:00
Andrew Johnson
66ff5a7bb6
Update pvAccess submodule
2021-09-25 22:55:14 -05:00
Andrew Johnson
23e55bf247
Makefile tweak
2021-09-25 22:52:57 -05:00
Andrew Johnson
687dad47da
aSub POD: Note about accessing the NOT field
2021-09-25 22:45:37 -05:00
Andrew Johnson
7d2ca62a78
Misc doxygen fixes and updates
2021-09-25 22:34:05 -05:00
Andrew Johnson
3d09106b51
Merge 3.15 branch into 7.0
2021-09-17 11:44:04 -05:00
Andrew Johnson
5cddcea829
Change the epicsTimerTest delayVerify failure condition
...
This test verifies timer delays between 1.0 and 3.4 seconds.
A test failure now means the measured delay was more than
0.25 seconds different than the request, instead of being
5% of the request. This should now pass on GHA macOS.
On the 7.0 branch it should call testImpreciseTiming() and
use a smaller absolute delay threshold for better targets.
2021-09-17 11:16:00 -05:00
Andrew Johnson
9b69e63a69
Update GHA config, drop Ubuntu-16.04 builds
2021-09-17 10:06:10 -05:00
Andrew Johnson
422513990e
Release notes for Win32 timer fix.
2021-09-16 14:54:31 -05:00
Andrew Johnson
3313860691
Win32 osdThread.c polishing
...
A little optimization of Freddie's code
Rename the new non-public routine
2021-09-16 14:45:25 -05:00
Andrew Johnson
2b8eb97b79
Merge Freddie's refactor_get_param_win32 branch
2021-09-16 13:28:42 -05:00
Andrew Johnson
9842bd1b20
Prefer to install %.html files from O.Common
2021-09-16 13:21:59 -05:00
Andrew Johnson
e7ea81c7a2
Reference doc tweaks to the dfanout record
2021-09-14 18:26:32 -05:00
Andrew Johnson
c528948f45
Adjust build rules for POD to HTML conversion
2021-09-14 18:25:30 -05:00
Freddie Akeroyd
00e9ecf7b5
Fix typo in osdThreadGetTimer
2021-09-11 22:19:40 +01:00
Freddie Akeroyd
65b34874bd
Check for NULL in osdThreadGetTimer
2021-09-11 22:17:09 +01:00
Freddie Akeroyd
939d84f31a
Refactor to use common epicsThreadGetParamWIN32() function
2021-09-11 22:10:10 +01:00
Andrew Johnson
fe4050b8c9
Workaround for RTEMS-mv2[17]00 parallel builds
2021-09-03 17:27:17 -05:00
Andrew Johnson
1fd7190cf5
Fix RTEMS-4 uC5282 build and atomic typos
2021-09-03 17:25:45 -05:00
Andrew Johnson
8e2f78caf5
dbStatic: Better error reports for bad JSON string chars
2021-09-03 14:16:37 -05:00
Andrew Johnson
33ffabaa93
Minimum Perl version is 5.10.1
2021-09-03 14:13:45 -05:00
Michael Davidsaver
9c1340d7d5
cleanup mbboDirect bit field handling
...
B0 -> BF shall always follow the corresponding bit in VAL.
Remove special handling for OMSL.
2021-09-01 12:15:35 -07:00
Torsten Bögershausen
420fb45fbc
Fix several compilation errors for -DDEBUG
...
After Adding "-DDEBUG" to the compiler options some files don't
compile any more.
Fix the compilation errors.
2021-09-01 11:13:40 +02:00
Michael Davidsaver
7ce69155a9
test regressLinkSevr
2021-08-29 07:34:53 -07:00
Michael Davidsaver
f6e8a75026
Fix DB link to DBF_MENU as DBF_STRING
2021-08-29 07:32:36 -07:00
Michael Davidsaver
88079c9107
long CALC$ regressTest
2021-08-29 07:31:11 -07:00
Michael Davidsaver
82ec539e49
Fix long string handling for CALC$
2021-08-29 07:30:20 -07:00
Michael Davidsaver
e34b6c5c0c
Fix spelling in comments
...
Should be non-functional, except for some error message strings.
2021-08-29 07:27:50 -07:00
42d06d6a38
Fix bugs in dbRecordNameValidate()
2021-08-29 07:25:14 -07:00
Michael Davidsaver
21e7e4ddfb
cleanup regressTest
2021-08-15 10:27:37 -07:00
Andrew Johnson
4efa937429
Merge Lewis' calcout-doc-fix branch into 7.0
2021-08-10 20:59:59 -05:00
Andrew Johnson
a0ab5aa4a3
Merge Kay's int64in_monitor branch into 7.0
2021-08-10 20:58:26 -05:00
Andrew Johnson
7c6d049698
Merge branch 'gcc-atomic-cleanup' into 7.0
2021-08-10 20:54:39 -05:00
Andrew Johnson
8175cc8e64
POD text updates to dbCommon and various record types
2021-08-10 20:35:19 -05:00
Andrew Johnson
72626cd5dd
Add newlines to a couple iocsh usage strings
2021-08-10 20:31:16 -05:00
Andrew Johnson
8beb7bd2c8
Restore the -p flag to MKDIR which RTEMS host.cfg removes
2021-08-10 20:29:32 -05: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
Michael Davidsaver
cb8c7998b6
epicsTime: rework
...
Re-implement around epicsTimeStamp (C API)
with class epicsTime becoming a wrapper.
Prefer epicsInt64 arithmetic.
Remove opaque struct l_fp (NTP time conversion)
2021-08-05 08:30:53 -07:00
JJL772
7c991f3f2a
Fix segfault in dbtpn when value parameter is nullptr
...
Running 'dbtpn Record' in iocsh would result in a segfault.
2021-08-05 08:30:53 -07:00
JJL772
32d76623f2
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-05 08:30:23 -07:00
Andrew Johnson
540a5c87d9
Adjust wording of classification descriptions
2021-08-02 18:26:44 -05:00
Andrew Johnson
a667cc7aa4
Move GCC+Clang common headers to a new file
2021-08-02 18:26:02 -05:00
Michael Davidsaver
78d2f20fa8
Com: Adjust epicsAtomic conditionals for GCC
...
cf. https://bugs.launchpad.net/epics-base/+bug/1932118
2021-08-02 18:13:40 -05:00
Kay Kasemir
3091f7c56f
int64in: Fix monitor delta test
...
Only the lower 32 bit used to be compared.
https://bugs.launchpad.net/epics-base/+bug/1938459
2021-07-29 14:38:16 -04:00
Andrew Johnson
ec87b2a867
recGbl: Update to using dbGetTimeStampTag()
2021-07-21 11:08:06 -05:00
Andrew Johnson
7a6aa3edd1
waveform: Update POD, describe BUSY field
2021-07-21 11:06:34 -05:00
Andrew Johnson
16c3202992
waveform: Add back lost PACT = TRUE
...
Fixes GitHub Issue #187
2021-07-21 11:05:41 -05:00
8e11406fc6
Fix calcout rec doc typo: s/If it met/If met/
2021-07-21 09:53:11 -05:00
Michael Davidsaver
967846b950
tap files are PRECIOUS
2021-07-18 08:21:46 -07:00
Michael Davidsaver
e5aece682e
ci: replace GHA deprecated ubuntu-16.04 with CentOS/Fedora builds
...
Maintain coverage of older GCC on Linux
2021-07-15 13:46:14 -07:00
Andrew Johnson
f801ca0501
Drop version number from README
2021-07-03 21:26:18 -05:00
Andrew Johnson
9363052956
Update submodules after release
2021-07-03 20:56:53 -05:00
Andrew Johnson
f5cb3cf8f6
Update version numbers after tagging
2021-07-03 20:56:32 -05:00
Andrew Johnson
5912445991
Set version numbers for release
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
2021-07-03 20:46:58 -05:00
Andrew Johnson
67bf1a72e7
Substitute version in @since UNRELEASED annotations
2021-07-03 20:14:04 -05:00
Andrew Johnson
ba3550c287
Update submodules for release
2021-07-02 16:28:22 -05:00
Andrew Johnson
c0cfeb249a
Merge Dirk's vxWorks6.3-fix branch
2021-07-02 12:05:31 -05:00
Michael Davidsaver
710c50b5ed
add initHookTest
2021-06-30 13:40:53 -07:00
Michael Davidsaver
8e7d3e9216
re-sync initHookName() with initHookState enum
2021-06-30 13:40:50 -07:00
Michael Davidsaver
e2d3b9a246
osiSockTest: ignore large messages on WIN32
2021-06-30 13:40:43 -07:00
Michael Davidsaver
5feb18b0b0
update PVD/PVA modules
2021-06-30 10:47:05 -07:00
Andrew Johnson
7ca25d3c88
Check module set EPICS_BASE in a RELEASE file
2021-06-29 21:59:57 -05:00
Andrew Johnson
dff72029f1
Fix typos in internal build variable names
2021-06-29 21:57:42 -05:00
Andrew Johnson
f2ac69604d
Fix typos in Release Notes
2021-06-29 21:55:54 -05:00
Andrew Johnson
f92b4b456a
Merge 3.15 branch changes into 7.0
2021-06-29 21:51:44 -05:00
Andrew Johnson
67fcd65656
Update versions after tagging
2021-06-27 12:20:41 -05:00
Andrew Johnson
3be67aca3c
Releasing R3.15.9
Base / Ub-20 gcc-8 (push) Has been cancelled
Base / Ub-16 gcc-4.9 (push) Has been cancelled
Base / Win2019 MSC-19 (push) Has been cancelled
Base / Ub-20 clang-10 (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 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 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 / Win2019 MSC-19, static (push) Has been cancelled
2021-06-27 12:18:45 -05:00
Andrew Johnson
ebf4a155d7
Added missing entries to Release Notes
2021-06-26 18:08:52 -05:00
Andrew Johnson
28531b0dbb
Reworked the README.md file
...
Lots of updates; removed version number
2021-06-26 17:57:33 -05:00
Andrew Johnson
5c3ecf9054
Dump the Darwin README file, very dated
2021-06-26 17:55:11 -05:00
Andrew Johnson
c7e2acb1a6
Merge Freddie's fix_socket_include branch into 7.0
2021-06-25 10:10:00 -05:00
Andrew Johnson
51c1a33687
Merge changes from 3.15 into 7.0
2021-06-25 10:02:21 -05:00
Freddie Akeroyd
e8c5748f89
Use <osiSock.h> rather than <osdSock.h>
2021-06-25 11:37:07 +01:00
Freddie Akeroyd
4dad8ca503
Use <osiSock.h> rather than <osdSock.h>
...
Fix compile issue building PCAS module, which just includes
<caProto.h> resulting in LIBCOM_API being undefined
2021-06-25 11:27:20 +01:00
c36485ab2e
fix missing declaration of 'close' function in vxWorks 6.3 and lower
2021-06-24 10:54:14 +02:00
Kathryn Baker
1cacd058cd
Stdio doxygen annotations
2021-06-20 19:17:44 -05:00
Andrew Johnson
ce876d6f11
Adjust RTEMS-mvme2100 and -mvme2700 build config's
...
Untested.
These changes let them build, but `make -j` is still broken.
2021-06-20 13:13:31 -05:00
Andrew Johnson
cb5f68994f
Squish various compiler warnings
...
* CPP's defined() is UB outside of a #if line
* Use (void)! cast to prevent recent GCCs & glibc from warning
about ignoring the return status from chdir()
2021-06-20 12:47:38 -05:00
ac6eb5e212
Protect callbackRequest() from failed callbackInit()
...
Fixes lp: #1932120
2021-06-20 12:29:41 -05:00
b5265ed853
Fix vxWorks version of epicsAtomicCmpAndSwapIntT()
...
vxCas() returns TRUE or FALSE, not the original target value.
Fixes lp: #1932118
2021-06-20 12:22:15 -05:00
Andrew Johnson
983f77e119
Let build find convertRelease.pl before it's installed
...
There are several different cases that FIND_TOOL has to handle,
and all 3 file paths given are needed in different circumstances:
1. First build of Base after checkout/untar
2. During builds after the script has been installed
3. In a submodule during 'make distclean' or 'make cvsclean'
Fixes lp: #1932033
2021-06-17 13:34:00 -05:00
Michael Davidsaver
ca2ea14082
dbEvent: join worker
2021-06-16 08:15:18 -07:00
Michael Davidsaver
b35064d26c
Revert "dbEvent simplify db_close_events() with join"
...
This reverts commit 37a76b433a .
# Conflicts:
# modules/database/src/ioc/db/dbEvent.c
2021-06-16 08:15:18 -07:00
Michael Davidsaver
256babf961
quiet use "may be used uninitialized" warnings
2021-06-15 08:10:48 -07:00
Andrew Johnson
b471e8388f
GHA: Don't worry if no artifacts to upload
2021-06-14 18:23:47 -05:00
Andrew Johnson
f825136f65
makeBaseApp.pl: Allow relative paths to $0
2021-06-14 18:22:23 -05:00
Andrew Johnson
3c329c1b48
Disable some RTEMS targets, tests on RTEMS-pc686-qemu
2021-06-10 10:15:08 -05:00
Andrew Johnson
6c7214ee06
Add tests for special link fields too
2021-06-09 18:09:18 -05:00
Andrew Johnson
b42a145824
Regression tests for RSET::special() return status
...
Adds tests to ensure that a record's special() routine can
return an error status that gets fed back to the client from
both before and after special() calls.
This was broken from 3.15 through 7.0.5 inclusive.
2021-06-09 18:09:18 -05:00
Evan Daykin
2f0a7c7342
Merge branch 'epics-base:7.0' into add-simm-to-ao-records
2021-06-09 10:19:01 -04:00
Andrew Johnson
c98e5085c3
Merge branch 'drop-obselete-archs' into 7.0
2021-06-05 02:17:08 -05:00
Andrew Johnson
5ccc11569b
Oops, fix path
2021-06-05 02:16:43 -05:00
Andrew Johnson
dcee3b2c33
Document removals
2021-06-05 02:10:28 -05:00
Andrew Johnson
b5a3e4aea5
Drop RTEMS-gen68360, RTEMS-mcp750 and RTEMS-mvme167
2021-06-05 01:59:27 -05:00
Andrew Johnson
0f90793d17
Obsolete Extensions template files
2021-06-05 01:56:30 -05:00
Andrew Johnson
a17c30e51f
Drop CPU-specific linux-[3456]86 cross-targets
2021-06-05 01:56:30 -05:00
Andrew Johnson
462916f9e4
Drop RTEMS-at91rm9200ek and RTEMS-psim targets
2021-06-05 01:56:14 -05:00
Andrew Johnson
6d96ea06d0
Remove linux-cris target files
2021-06-05 01:52:53 -05:00
Andrew Johnson
5e61f7e499
Remove aix-ppc files from extensions template
2021-06-05 01:52:53 -05:00
Andrew Johnson
ead24c4fd6
Drop macOS i386 ARCH_CLASS, add arm64
2021-06-05 01:52:53 -05:00
Andrew Johnson
f3da6e9464
Drop macOS PowerPC host-arch's
2021-06-05 01:52:52 -05:00
Andrew Johnson
8e468da4cc
Rename RTEMS-kernel to RTEMS-score (OS_API)
2021-06-05 01:34:03 -05:00
Andrew Johnson
1b825da9ec
Add missing dependency
2021-06-04 18:29:29 -05:00
Andrew Johnson
c6247329ab
Fix warning when not using CLOEXEC
2021-06-04 18:29:01 -05:00
Andrew Johnson
c5c6facc3e
Update Release Notes for RTEMS-5 port
2021-06-04 18:03:37 -05:00
Andrew Johnson
57fab5104f
Fixed indentation in GHA config file
2021-06-04 16:36:23 -05:00
Andrew Johnson
c7eb41abbc
Attempt to fix GHA config file
2021-06-04 16:31:54 -05:00
Andrew Johnson
ac0693f2f2
Merge 7.0 into rtems5
2021-06-04 16:11:10 -05:00
Andrew Johnson
e8512ceba0
Drop pragma message in rtems_init
2021-06-04 15:59:13 -05:00
Andrew Johnson
e4ce0ec255
Adjust Max FDs to match newlib
2021-06-04 15:58:29 -05:00
Andrew Johnson
e3e9d9bb37
Merge rtems5 branch into 7.0
2021-06-04 15:56:30 -05:00
Andrew Johnson
75caf83194
Fix old comments
2021-06-04 13:27:54 -05:00
Andrew Johnson
38c146d89d
RTEMS-uC5282 BSP provides bspExtMemProbe()
2021-06-04 13:27:10 -05:00
Andrew Johnson
457febb3a6
Fix implicit declaration of memcpy()
2021-05-20 13:28:30 -05:00
b777233efb
Support glob pattern for epicsEnvShow
...
Add epicsStrnGlobMatch with tests
2021-05-19 12:11:06 -07:00
Michael Davidsaver
08b741ed05
ca: fallback to repeater thread if unable to exec caRepeater
...
Silently fallback to in-process repeater thread on all targets.
Including on host targets when caRepeater executable is unavailable.
2021-05-19 11:07:53 -07:00
Michael Davidsaver
a9457fc02b
osiSpawnDetachedProcess() prefix process name with '!' to silence warning
2021-05-19 10:55:38 -07:00
Michael Davidsaver
f8e720da28
posix: osiSpawnDetachedProcess() find out if exec() errors.
...
Presently, success just means fork()
2021-05-19 10:55:38 -07:00
555e671246
allow glob pattern in var command
2021-05-19 10:54:49 -07:00
Michael Davidsaver
5f1eb1dd9e
Merge remote-tracking branch 'origin/3.15' into 7.0
...
* origin/3.15:
ci: install versioned g++
Fix issue with very large timeout passed to epicsEventWaitWithTimeout()
2021-05-19 09:46:16 -07:00
Michael Davidsaver
8adf03f74a
update release notes
2021-05-19 09:44:38 -07:00
Ralph Lange
379a68b93c
Fix simmTest failures on targets with imprecise timing
2021-05-19 09:03:27 -07:00
Michael Davidsaver
1b8a1ebd07
deprecate epicsThreadExitMain()
2021-05-19 09:02:55 -07:00
Michael Davidsaver
de3cdcef39
softIoc: spin to keep alive
2021-05-19 09:02:55 -07:00
Michael Davidsaver
315fb3df69
init scripts use FINAL_LOCATION
2021-05-19 09:02:21 -07:00
Michael Davidsaver
fa9fb0a3ca
one FINAL_LOCATION
2021-05-19 09:02:21 -07:00
Michael Davidsaver
857527280b
ci: install versioned g++
2021-05-19 08:49:24 -07:00
Freddie Akeroyd
d1ddbad053
Fix issue with very large timeout passed to epicsEventWaitWithTimeout()
...
A very large timeout was getting converted to a 0 wait and causing
some unit tests to fail in strange and random ways. Not trapping
large timeouts was an oversight when converting to waitable timers
on WIN32
2021-05-19 08:46:11 -07:00
Andrew Johnson
2952d114f5
Merge Hugo's missing_epics_base branch into 7.0
2021-05-17 18:24:18 -05:00
Andrew Johnson
1db35d9edc
Cosmetic changes to template configure/CONFIG files
2021-05-17 12:16:55 -05:00
Andrew Johnson
cc3e1039ce
checkRelease(): expand EPICS_BASE checks
2021-05-17 12:13:53 -05:00
Andrew Johnson
e20502fb4c
Remove EPICS_BASE check from releaseTops()
2021-05-17 12:12:19 -05:00
Andrew Johnson
9cca12936d
Expand EPICS_BASE checks in templates
2021-05-17 12:11:00 -05:00
Michael Davidsaver
28f3239b32
set SONAME for cross builds
2021-05-12 19:30:43 -07:00
Andrew Johnson
6a9d92f8f4
Merge 3.15 branch into 7.0
2021-05-06 12:33:47 -05:00
Andrew Johnson
b55c019f10
Merged Freddie's waitable_timers branch into 3.15
2021-05-05 17:55:00 -05:00
Andrew Johnson
31584e52be
Merged Ralph's win-Z7 branch into 3.15
2021-05-05 17:49:11 -05:00
Torsten Bögershausen
dc03d519fb
Proper CRLF handling
...
Add proper CLRF-LF rules to .gitattributes.
Renormalize the bat files to LF in the repo and CRLF on disk.
Remove executable bit of files which shouldn't have it set
2021-05-05 08:34:05 -07:00
Andrew Johnson
2eb5af3167
Return dbPutSpecial(paddr, 1) status from dbPut()
...
The status from RSET::special(paddr, 1) has not been returned
to the put caller since 3.14, due to a bad up-merge.
2021-05-04 11:18:54 -05:00
Hugo Slepicka
f02884d996
Add error message for when EPICS_BASE is not set on templates.
...
Add error message and validation at convertRelease.pl for empty RELEASE files.
2021-04-29 17:11:36 -07:00
Andrew Johnson
71a1ff1292
Merge branch 'timeout-tests' into 7.0
2021-04-26 18:16:08 -05:00
Andrew Johnson
c07ebcee5c
Added "Win2019 MSC-19, debug" build to GHA
...
... as suggested by Freddie.
2021-04-23 18:26:19 -05:00
Michael Davidsaver
b00130493f
update .ci
2021-04-21 16:03:36 -07:00
Andrew Johnson
4c63cb79dd
Disable netget test on CI systems
2021-04-21 13:13:56 -05:00
Andrew Johnson
67bbc0fa21
Increase default timeout, improve notes
2021-04-20 20:21:05 -05:00
Andrew Johnson
58a9767aa4
Release notes describing test timeouts
2021-04-20 20:21:05 -05:00
Andrew Johnson
54d40a398a
Correct comments in makeTestfile, add "export"
2021-04-20 20:21:05 -05:00
Andrew Johnson
cbab8daae0
Turn off debug in netget.plt
2021-04-20 20:21:05 -05:00
Andrew Johnson
e3d04e9cd8
Make BAIL_OUT display what was thrown
2021-04-20 20:21:05 -05:00
Andrew Johnson
cde7d3d254
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-04-20 20:21:05 -05:00
Andrew Johnson
e2a9678b15
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-04-20 20:21:05 -05:00
Andrew Johnson
e2313d0c58
Generate comments on how to adjust the timeout
2021-04-20 20:21:05 -05:00
Andrew Johnson
e812323792
Replace Win32::Job with Win32::Process
...
GitHub Actions builders won't let us use Win32::Job
2021-04-20 20:21:05 -05:00
Andrew Johnson
396624fefc
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-04-20 20:21:05 -05:00
Andrew Johnson
f727d16b0d
CI: Allow up to 5 minutes for make test-results
2021-04-20 17:39:25 -05:00
Andrew Johnson
348d1bba17
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-04-06 18:05:46 -05:00
Michael Davidsaver
0edf986c31
minor and doc
2021-04-05 10:35:30 -07:00
Michael Davidsaver
3f4432b7bd
review cleanup
2021-04-05 10:31:25 -07:00
Michael Davidsaver
f69b938401
dbfl_type_rec goes away
2021-04-05 10:31:25 -07:00
Michael Davidsaver
bd3ecf1cbc
Split out amsg/utag options through dbGet()
2021-04-05 10:31:25 -07:00
Michael Davidsaver
b94afaa045
UTAG uint64
2021-04-05 10:31:25 -07:00
Michael Davidsaver
1ceb26eeb8
add utag filter
2021-04-05 10:31:25 -07:00
Michael Davidsaver
633859d7ab
pass amsg/utag through dbGet() options
2021-04-05 10:31:25 -07:00
Michael Davidsaver
aad3476c04
add dbDbLinkTest
2021-04-05 10:31:25 -07:00
Michael Davidsaver
12f1818b39
propagate utag w/ links (including TSEL)
...
add lset::getTimestampTag()
2021-04-05 10:31:25 -07:00
Michael Davidsaver
4ca765d813
dbCommon add UTAG
2021-04-05 10:31:25 -07:00
Michael Davidsaver
5143c71a43
add lset::getAlarmMsg()
2021-04-05 10:31:25 -07:00
Michael Davidsaver
a12684e7ad
AMSG feature test
2021-04-05 10:31:25 -07:00
Michael Davidsaver
d19586fdfd
use recGblSetSevrMsg()
2021-04-05 10:31:25 -07:00
Michael Davidsaver
892a361de7
add alarm message field
2021-04-05 10:31:25 -07:00
Michael Davidsaver
235f8ed2fb
add db_field_log::mask
...
Allow filters to distingush DBE_PROPERTY
2021-04-05 10:31:25 -07:00
Michael Davidsaver
91b2b65c68
doc
2021-04-04 22:51:46 -07:00
Marcio Paduan Donadio
614961da17
iocsh: set PWD
...
Set the env variable PWD during libCom IOC shell function registration.
Change environment variable PWD when a user calls cd from the IOC shell
2021-04-04 12:26:07 -07:00
Kathryn Baker
dd09afc4e8
Addying Doxugen annotations for cvtFast.h and freeList.h
2021-04-04 11:21:44 -07:00
Michael Davidsaver
417821ddc0
fixups for DBCORE_API
2021-04-01 11:09:53 -07:00
Michael Davidsaver
0f428ea334
use DBCORE_API
...
git ls-files modules/database/src/ioc|egrep '\.[hc]p*$' | xargs sed -i \
-e 's|epicsShareFunc|DBCORE_API|g' \
-e 's|epicsShareClass|DBCORE_API|g' \
-e 's|epicsShareExtern|DBCORE_API extern|g' \
-e 's|epicsShareDef\s*||g' \
-e 's|shareLib\.h|dbCoreAPI.h|g' \
-e 's|epicsShareAPI|epicsStdCall|g' \
-e '/#define\s*epicsExportSharedSymbols/d'
2021-04-01 10:57:19 -07:00
Michael Davidsaver
c829ca39d8
ci: enable overall test timeout
2021-04-01 10:20:47 -07:00
Michael Davidsaver
51cdfe9e8e
ci: appveyor more recent mingw
2021-04-01 10:19:28 -07:00
Michael Davidsaver
6ed6dc11bb
doc dbUnitTest.h
2021-04-01 10:19:14 -07:00
Andrew Johnson
0d2228b536
Recognize linux-ppc64 in EpicsHostArch.pl
2021-04-01 10:26:17 -05:00
Michael Davidsaver
3eeebb74cd
Com: avoid intentional memory leak in epicsEnvSet
...
Switch default impl. to setenv/unsetenv
Switch WIN32 to use _putenv_s
On vxWorks putenv() is documented to make a copy.
log error, but never halt, if env (un)set not possible.
RTEMS <4.10 compat where unsetenv() returns void.
2021-03-29 10:55:30 -07:00
Michael Davidsaver
1bd041745b
epicsEnvTest: ensure epicsEnvSet copies argument
2021-03-29 10:55:30 -07:00
Ralph Lange
fa069b0845
Revert config fixes for parallel builds with MSVC
...
This reverts commit 1454f42a27 .
This reverts commit 4aee25e8e2 .
2021-03-29 17:49:02 +02:00
Michael Davidsaver
e5aab6561c
ci: remove travis debris
2021-03-26 11:48:57 -07:00
Ralph Lange
c78db512f2
Windows: use -Z7 instead of -Zi to generate debug symbols
...
"C7 compatible" or "old-style" debug information is kept local
in the translation unit (.obj file) and does not create issues
with parallel builds
2021-03-26 17:30:36 +01:00
Brendan Chandler
1c6b02b9be
Merge remote-tracking branch 'origin/7.0' into rtems5
2021-03-25 18:41:15 -05:00
Andrew Johnson
f9ea6a5bff
CI config and git export tweaks
...
Add paths-ignore filters for GHA PRs
Stop .tools/ and .gitattributes commits from triggering CI
Exclude CI files from git exports
2021-03-25 14:46:28 -05:00
Brendan Chandler
fc4379595e
Update release note about RTEMS 5 support
2021-03-24 13:06:18 -05:00
Brendan Chandler
af2d4de942
Update release notes and documentation for RTEMS5
2021-03-19 13:17:07 -05:00
Michael Davidsaver
54e9d3f5d1
ci: github actions add mingw
2021-03-18 14:06:45 -07:00
Michael Davidsaver
7e01cdacac
ci: GHA always upload tapfiles
2021-03-18 14:06:45 -07:00
Ziga Oven
746d21c71d
Add usage messages
2021-03-18 14:06:45 -07:00
Brendan Chandler
3874c1bcfc
Disable building mvme2100, mvme167, uC8252 for RTEMS5
...
Someone needs to take a look at these targets and get them to work
with RTEMS5, but for now, disable building them in the CI scripts.
2021-03-15 14:28:04 -05:00
Oksana Ivashkevych
7eb7988e55
Add usage to miscIocRegister.c and dbStaticIocRegister.c
2021-03-14 16:30:28 -07:00
Matthew Pearson
5daf4fc932
epicsStdlib.h: add doxygen comments.
2021-03-14 16:30:28 -07:00
Matthew Pearson
ef878808ce
errlog.h: added doxygen comments.
2021-03-14 16:30:28 -07:00
Dominic Oram
1fcbdad5e9
Adds doxygen annotations to epicsType.h
2021-03-14 16:30:28 -07: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
Freddie Akeroyd
29e9843056
Add release notes entry for waitable timers
2021-03-12 19:24:09 +00:00
Michael Davidsaver
ca3ef9c61e
dbUnitTest use dbChannel
...
Allows testing of server side filters
2021-03-12 09:16:31 -08:00
Andrew Johnson
e10b1d7660
Merge 3.15 branch into 7.0
...
Includes support for 'make inc'
2021-03-12 00:04:32 -06:00
Andrew Johnson
0c4ab7b24a
Merge my 'make-inc-fix' branch into 3.15
2021-03-11 20:45:37 -06:00
Andrew Johnson
d831c2b384
Merge 'FreddieAkeroyd-use_epicsStrtod' into 3.15
2021-03-11 20:18:57 -06:00
Andrew Johnson
34d06b6e36
Merge branch 'gabrielfedel-fix_msi' into 3.15
2021-03-11 20:12:07 -06:00
Andrew Johnson
b2f7f4e173
Minor fixes in configure/RULES files
2021-03-11 18:13:44 -06:00
Michael Davidsaver
f30e9533c4
epicsLoadTest use INSTALL_LOCATION
2021-03-11 09:30:28 -08:00
Freddie Akeroyd
3c7fb7990f
Use <epicsStdlib.h>
2021-03-11 15:08:00 +00:00
Andrew Johnson
c359b49aed
Fix the 3.15 'make inc' build target
...
Now generates and installs dbd, header and html files.
No compilation involved/required.
2021-03-10 22:05:39 -06:00
Freddie Akeroyd
c140a0a804
Add additional cleanup and error handling
2021-03-10 21:58:35 +00: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
Gabriel Fedel
0bc2a3e999
Fix variable type and cast on msi.cpp
...
This way the attribution of i to cmdind is a valid value.
2021-03-10 14:37:14 +01:00
Freddie Akeroyd
8e7702c8a5
Use epicsStrtod, remove some warnings
2021-03-10 11:29:45 +00:00
Freddie Akeroyd
5f94ab6d9f
Tidy up
2021-03-10 10:47:24 +00: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
Gabriel Fedel
6ac10d43b1
Fix type comparision on msi.cpp
...
This change fix the comparision of different signedess (int and long
unsigned int).
2021-03-10 09:45:01 +01:00
Andrew Johnson
436a5e7fa2
Fix markdown link in Release Notes
...
Found by Kathryn Baker
2021-03-10 01:14:56 -06:00
Andrew Johnson
09820d799e
Fix POD-generated HTML anchor IDs
2021-03-10 01:14:56 -06:00
Freddie Akeroyd
c6af4a245d
Use waitable timers
2021-03-10 01:17:47 +00:00
Andrew Johnson
9184983cf0
Merge branch Ticket80_use_os_strtod_if_above_vs_2015
2021-03-09 18:27:18 -06:00
Michael Davidsaver
979445c8fe
ci: add gcc-9 build
2021-03-09 09:26:44 -08: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
Jack Harper
30172226f9
whoops, MSVC 1900 not 1800
2021-03-09 13:13:16 +00:00
Jack Harper
2ea0994507
tests passing
2021-03-09 13:04:57 +00:00
Andrew Johnson
f571c5950b
Modify DBD processing scripts to output Doxygen comments
2021-03-08 21:39:39 -06:00
Andrew Johnson
6786b2e7c2
Modify the Doxyfile to match earlier settings
2021-03-08 21:25:24 -06:00
Michael Davidsaver
504191441d
Merge remote-tracking branch 'github/pr/99' into 7.0
...
* github/pr/99:
fix an out-dated comment in the array filter code
add macro dbfl_pfield to db_field_log.h and use it in dbGet
fix in dbGet: decide use of db_field_log based on whether it has copy or not
add macro dbfl_has_copy to db_field_log.h and use it in dbAccess.c
refactor db_field_log and filters to get rid of dbfl_type_rec
make it clearer what the result of wrapArrayIndices will be
2021-03-07 21:17:21 -08:00
Andrew Johnson
3ba778c08b
documentation/Makefile tweaks
2021-03-07 21:35:07 -06:00
Andrew Johnson
1fbbae73de
Modify documentation/Doxyfile to parse include directory
...
Excludes the include/pv and include/pva directories,
which are processed separately in their own modules.
2021-03-07 20:27:45 -06:00
Andrew Johnson
4baf7912e1
Tidying up in documentation directory
2021-03-07 20:23:19 -06:00
Michael Davidsaver
01cc99ac87
ci: update toolchain and test more targets
2021-03-07 10:57:34 -08:00
Michael Davidsaver
c0886b3037
RTEMS: Drop dependency on bspExt
...
integrate the polling implementation of bspExt.
2021-03-07 09:42:42 -08:00
Andrew Johnson
31ade32004
Fixes for RTEMS-uC5282 with legacy stack
2021-03-04 23:15:31 -06:00
Brendan Chandler
c606048e57
rtems_config: Change config options based on BSP name
...
This replaces an implementation that used a header guard being defined
to indicate BSP specific options. Hopefully this method is more
explicit when config options should be set for specific BSPs.
2021-03-04 14:11:42 -06:00
Brendan Chandler
f69ff5afde
rtems_config: Fix typo in #if statement
2021-03-04 14:11:32 -06:00
Andrew Johnson
bbb4d86f78
Enable RTEMS testing in modules/database/test/std/link
2021-03-03 18:17:31 -06:00
Brendan Chandler
102e30eaa9
rtems_config: Guard using __RTEMS_MAJOR__ rather than net stack
2021-03-03 17:02:03 -06:00
Brendan Chandler
75063a69ec
RTEMS ne2kpci: clean up when its included
...
This looks like a merge issue, where we included ne2kpci possibly
twice, based on CPU being i386 and BSP being pc686. Just
checking CPU as i386 should be sufficient for all cases.
2021-03-03 15:58:37 -06:00
Brendan Chandler
f41276bef8
epicPosicMutexInit: avoid calling with 0 which is platform dependent
...
Different platforms (RTEMS5) can define different values for
PTHREAD_MUTEX_DEFAULT, so we shouldn't pass 0 assuming its
PTHREAD_MUTEX_DEFAULT.
2021-03-02 22:44:56 -08:00
Brendan Chandler
f34d744f5f
Remove unused DHAVE_SOCKADDR_SA_LEN
2021-03-02 15:03:56 -06:00
Andrew Johnson
f9e3e86401
Support VxWorks 6.9.x before taskWait() was added
...
We don't know exactly which version this was added in,
but it is present in 6.9.4.1 so use that.
Fixes lp: #1913699
2021-03-02 11:54:17 -06:00
Brendan Chandler
8e50b3109a
Allow RTEMS to use normal dlopen() symbols
...
RTEMS supports POSIX dlopen related symbols, so we should allow using them.
2021-03-02 09:23:27 -06:00
Michael Davidsaver
3c46542630
posix: epicsMutexOsdShowAll check for PI support
2021-03-02 06:47:43 -08:00
Andrew Johnson
f8eb0be7a4
Update submodules after release
2021-02-28 21:39:28 -06:00
Andrew Johnson
ff5df5fbf3
Update version numbers after tagging
2021-02-28 20:21:41 -06:00
Brendan Chandler
79242da515
epicPosicMutexInit: avoid calling with 0 which is platform dependent
...
Different platforms (RTEMS5) can define different values for
PTHREAD_MUTEX_DEFAULT, so we shouldn't pass 0 assuming its
PTHREAD_MUTEX_DEFAULT.
2021-02-28 20:07:33 -06:00
Brendan Chandler
11fedecefc
Only write out dhcpcd.conf if it doesn't exist.
...
rtems_init.c will write out a dhcpcd.conf if one doesn't already
exist, but if there's a filesystem including this file, don't write
over it, use whatever's there instead.
2021-02-25 15:50:58 -06:00
Brendan Chandler
17b0c69dd6
Merge branch 'rtems5-dev' into rtems5
2021-02-25 14:06:59 -06:00
Brendan Chandler
e2d37bc70d
Merge branch '7.0' of https://github.com/epics-base/epics-base into rtems5
2021-02-25 14:06:41 -06:00
Brendan Chandler
45907d6553
RTEMS e500: use mkimage from RTEMS rathr than system one
2021-02-25 14:03:36 -06:00
Brendan Chandler
317828fd74
Merge remote-tracking branch 'origin/7.0' into rtems5-dev
2021-02-25 13:52:46 -06:00
Brendan Chandler
35ec367eac
Remove unused variable
2021-02-25 11:24:02 -06:00
Brendan Chandler
c4944b5357
Enable initializing the filesystem in RTEMS5
2021-02-25 11:23:26 -06:00
Brendan Chandler
2c29dd0c7e
Fix merge error in osiSockTest.c
2021-02-22 17:32:57 -06:00
Brendan Chandler
9a8e56d83e
Merge branch 'rtems5-dev' of github.com:brendanchandler/epics-base into rtems5-dev
2021-02-22 17:23:36 -06:00
Brendan Chandler
cd6e642eee
makeTestfile: revert to e1000
...
rt18139 was not working with DHCP when running osiSockTest.
e1000 exhibits the annoying ~60s delay when rtems initializes, but at least
the tests get a network connection for now.
2021-02-22 17:21:29 -06:00
Brendan Chandler
25b9655f60
RTEMS DHCP: Use safer versions of string functions
...
Use strtok_r rather than strtok
Use strlen() rather than harcoded string size. GCC should optimize
this to the hardcoded string size, so the result should be the same
but maybe prevents future mistakes.
replace strncpy() with snprintf() to avoid issues with NULL terminated
strings.
2021-02-22 17:19:28 -06:00
Brendan Chandler
f5eb5033f2
osiSockTest: use strerror rather than strerror_r
...
Windows vsc19 and mingw on ubuntu were failing with this symbol.
2021-02-22 17:03:25 -06:00
Brendan Chandler
633055aa56
Merge branch 'rtems5' into rtems5-dev
2021-02-22 16:27:56 -06:00
Brendan Chandler
a1d073955f
makeTestfile: revert to e1000
...
rt18139 was not working with DHCP when running osiSockTest.
e1000 exhibits the annoying ~60s delay when rtems initializes, but at least
the tests get a network connection for now.
2021-02-22 16:21:07 -06:00
Brendan Chandler
dc1bf9106e
osiSockTest: Give a clearer error message if sendto() fails
2021-02-22 16:20:01 -06:00
Brendan Chandler
74fa27d316
Add commented code that starts an RTEMS shell, useful for debugging
...
In the future, it would be nice to add an ioc shell command to launch
into an RTEMS shell, but for now, it can be helpful when debugging to
enable this section for poking around in an RTEMS shell check network
configuration and stuff like that.
2021-02-22 16:18:00 -06:00
Brendan Chandler
3bdfb9ec45
Increase DHCP timeouts
...
RTEMS dhcp will wait indefinitely for a response.
rtems_init.c will wait on DHCP for 10 minutes, before timing out and
starting main(). Note that rtems should still be waiting in the
background and a dhcp connection could still come up after this timeout.
2021-02-22 16:11:50 -06:00
Brendan Chandler
a934570cce
rtems dhcp: remove strncmp on environment vars in favor of strcmp
2021-02-22 16:08:18 -06:00
Brendan Chandler
6965f86298
Change telnetd configuration to use defaults
...
Currently, this configuration doesn't seem to be used yet, but
regardless we'll update the settings to use RTEMS defaults.
2021-02-16 15:51:25 -06:00
Brendan Chandler
af88e9f6c6
Clean up a couple warnings in RTEMS code
2021-02-16 15:51:25 -06:00
Brendan Chandler
a309912c8b
RTEMS DHCP: Use safer versions of string functions
...
Use strtok_r rather than strtok
Use strlen() rather than harcoded string size. GCC should optimize
this to the hardcoded string size, so the result should be the same
but maybe prevents future mistakes.
replace strncpy() with snprintf() to avoid issues with NULL terminated
strings.
2021-02-16 15:51:06 -06:00
Brendan Chandler
b0dfb76871
Change telnetd configuration to use defaults
...
Currently, this configuration doesn't seem to be used yet, but
regardless we'll update the settings to use RTEMS defaults.
2021-02-16 15:12:28 -06:00
Brendan Chandler
125fc08993
Clean up a couple warnings in RTEMS code
2021-02-16 15:12:06 -06:00
Brendan Chandler
e38a8b15d4
squash me
2021-02-16 15:11:40 -06:00
Brendan Chandler
c628db82ac
RTEMS DHCP: Use safer versions of string functions
...
Use strtok_r rather than strtok
Use strlen() rather than harcoded string size. GCC should optimize
this to the hardcoded string size, so the result should be the same
but maybe prevents future mistakes.
replace strncpy() with snprintf() to avoid issues with NULL terminated
strings.
2021-02-16 12:51:11 -06:00
Brendan Chandler
4755d6c7f0
Enable tests for RTEMS5
2021-02-12 09:11:42 -06:00
Brendan Chandler
3fd9ffc995
Include osdTime using compiler include path
...
Previously it was using a relative directory name, #included in the .c file.
2021-02-09 15:05:31 -06:00
Brendan Chandler
a8262573f5
Don't use or include mlock() on RTEMS
2021-02-09 14:28:11 -06:00
Brendan Chandler
e4b17bdab5
Remove local def of VERSION_INIT in favor of one from epicsVersion.h
2021-02-09 14:27:24 -06:00
Brendan Chandler
ea40041b45
Remove FHI specific information from NTP and bootp variable init
2021-02-09 14:26:26 -06:00
Brendan Chandler
6bf26782a0
Fix license comment in epicsNtp.c and .h
2021-02-09 14:25:55 -06:00
Brendan Chandler
c523fe7a3e
Restore CROSS_COMPILER_TARGET_ARCHS initialization in CONFIG_SITE
2021-02-05 15:25:56 -06:00
Brendan Chandler
ce264306b8
Fix merge issues with src/tools/makeTestfile.pl
...
When I switched from merge to rebase of RTEMS5 changes, I think this
file didn't get merge correctly. These changes bring the file back to
match what was originally merged, and I believe correct.
2021-02-05 15:10:22 -06:00
Brendan Chandler
188f46f74b
Remove prototype definition of select() from osdSock.h
2021-02-05 14:26:02 -06:00
Brendan Chandler
518ac1d7c1
Remove define of bzero to use memset
...
As far as I can tell, we don't use bzero().
2021-02-05 14:01:12 -06:00
Brendan Chandler
0adaa7fcf1
re-remove osdMessageQueue.c from RTEMS-kernel
2021-02-05 13:40:42 -06:00
Brendan Chandler
d21c6d5545
Merge branch '7.0' into rtems5
2021-02-05 12:39:22 -06:00
Brendan Chandler
5c792687a6
Merge branch '7.0' into rtems5
2021-02-05 12:21:20 -06:00
Brendan Chandler
347d24a2a8
Switch to rtl8139 network interface for RTEMS tests
2021-02-05 11:42:42 -06:00
Brendan Chandler
cd0e6a4f9a
Make sure the definition of IPPORT_USERRESERVED is defined
...
caProto.h was using IPPORT_USERRESERVED but not including itself,
meaning there was an order dependency of header inclusion when using
this header. Now there shouldn't be.
Also, RTEMS wasn't defining IPPORT_USERRESERVED, so that definition
has been added.
2021-02-05 10:42:02 -06:00
Brendan Chandler
8d7c98aac4
Make RTEMS-pc386-qemu use RTEMS-pc386 rather than pc686
2021-02-04 12:21:41 -06:00
Brendan Chandler
54c91f1458
Fix compile errors after rebasing changes for RTEMS5
2021-02-02 16:44:01 -06:00
Brendan Chandler
9cac0b6410
Make pvData and pvAccess submodules use epics-base
...
Previously they used mdavidsaver's branch in order to pick up some
commits that hadn't made it into mainline yet.
2021-01-29 12:36:33 -06:00
Brendan Chandler
a5604ccbf0
Reintroduce API_CPPFLAGS argument to fix Windows builds
2021-01-29 12:36:32 -06:00
Brendan Chandler
e2927417c3
Remove tab from ci-scripts-build.yml
2021-01-29 12:36:32 -06:00
Brendan Chandler
277e9050a8
Fixes for CI mechanics
...
- Removed .travis.yml since we're no longer using travis.
- Named the rtems pc686 target in github actions
- Cleaned up CONFIG_SITE.Common.RTEMS
2021-01-29 12:36:32 -06:00
Brendan Chandler
fe3e2c60a5
remove missing rtems_bsd_set_vprintf_handler
2021-01-29 12:36:32 -06:00
Brendan Chandler
e4885d2446
Remove redundant CPU_FLAGS use.
...
This variable is included in the generic OP_SYS_LDFLAGS and doesn't
need to also be set in OP_SYS_LDFLAGS_kernel.
2021-01-29 12:36:32 -06:00
Heinz Junkes
08b7dd1208
Add dhcp option cmdline (129)
2021-01-29 12:36:32 -06:00
Heinz Junkes
25a072540f
Cosmetics and some typos
2021-01-29 12:36:32 -06:00
Heinz Junkes
399c63ec5c
Add posix cpp flags to RTEMS config
2021-01-29 12:36:32 -06:00
Heinz Junkes
341ca91229
Add LEGACY_STACK_SUPPORT and telnet client
2021-01-29 12:36:32 -06:00
Heinz Junkes
97e6f0a53d
Link pvData module to mdavidsaver
2021-01-29 12:36:32 -06:00
Heinz Junkes
54f2d8887f
changed pvAccess url, save adaption to old network stack
2021-01-29 12:36:31 -06:00
Heinz Junkes
4127f6efec
MQ name creation changed
2021-01-29 12:36:31 -06:00
Heinz Junkes
97ce6aecc7
cleanup netconfig
2021-01-29 12:36:31 -06:00
Heinz Junkes
a718357211
Fixed stupid typo in CONFIG.Common.RTEMS
2021-01-29 12:36:31 -06:00
Heinz Junkes
9f387b9675
Prepared RTEMS 4.10 posix with network
2021-01-29 12:36:31 -06:00
Heinz Junkes
8ef4d29c48
Enable Epics for RTEMS5 (posix)
2021-01-29 12:36:31 -06:00
Michael Davidsaver
1b6b32e9ca
restore $(API_CPPFLAGS)
2021-01-29 12:36:31 -06:00
Andrew Johnson
761ebff6d7
Simplify RTEMS OP_SYS_CFLAGS settings
2021-01-29 12:36:31 -06:00
Andrew Johnson
f685b0edb4
Set RTEMS_TARGET for Travis builds
2021-01-29 12:36:31 -06:00
Andrew Johnson
14140acd78
Enable RTEMS testing in modules/database/test/std/link
2021-01-29 12:36:31 -06:00
Andrew Johnson
9c01c55f08
Clean up CONFIG.Common.RTEMS
2021-01-29 12:36:30 -06:00
Andrew Johnson
ec94351a5e
Add RTEMS-pc686-qemu for use on RTEMS 5.x
...
RTEMS 5.x moved the PC BSP to 686. This commit makes the EPICS
target match; RTEMS-pc386 and the -qemu variant can only be built
when RTEMS_VERSION != 5, whereas RTEMS-pc686 and its -qemu version
will only build when RTEMS_VERSION == 5 (there are checks with
descriptive errors included).
makeTestFile.pl was also reformatted and modified to use exec to
run tests on non-Windows hosts as required by the Perl test harness.
2021-01-29 12:36:26 -06:00
Andrew Johnson
708cecfadc
Move HAVE_SOCKADDR_SA_LEN=1 for darwin targets
2021-01-27 15:37:24 -06:00
Andrew Johnson
b2c4f0d015
Explain the RTEMS config variables
2021-01-27 15:37:24 -06:00
Andrew Johnson
8b766f767f
Set GNU_TARGET automatically
...
The individual CONFIG.Common.RTEMS-$(T_A) files don't really need
to set the new GNU_TARGET variable themselves, this addition allows
the unmodified RTEMS-uC5282 target build fine (on 4.10.1 at least).
2021-01-27 15:37:24 -06:00
Andrew Johnson
629f958427
Install toolchain data into cfg/ directory
2021-01-27 15:37:24 -06:00
Michael Davidsaver
bb860ae001
rtems5: correct ifreq_size()
2021-01-27 15:37:24 -06:00
Michael Davidsaver
75548c95d1
rtems5: fix linking of dependent modules, need -lCom after -lrtemsCom
2021-01-27 15:37:24 -06:00
Michael Davidsaver
8a2f336f8f
re-drop RTEMS osdMessageQueue
2021-01-27 15:37:23 -06:00
Michael Davidsaver
4d69b7621d
RTEMS: fix NIC for testing w/ RTEMS5
...
Add two NICs, ne2k used by RTEMS 4.x
and e1000 used by RTEMS 5.1.
Each ignores the NIC it doesn't understand.
2021-01-27 15:37:23 -06:00
Michael Davidsaver
2b28d97063
RTEMS5: redirect to serial via runtime
2021-01-27 15:37:23 -06:00
Michael Davidsaver
5a5345d44a
WIP: fix missing bits needed by osiNTPTime.c
2021-01-27 15:37:23 -06:00
Michael Davidsaver
10aff42da6
epicsNtp: avoid deprecated/non-standard bzero()
2021-01-27 15:37:23 -06:00
Michael Davidsaver
8366770d72
ci: RTEMS update
2021-01-27 15:36:21 -06:00
Michael Davidsaver
e2e606d53f
RTEMS: auto-detect OS_API
2021-01-27 15:36:21 -06:00
Heinz Junkes
bba7d8c8f8
Enable Epics for RTEMS5 (posix)
2021-01-27 15:36:10 -06:00
Michael Davidsaver
077b41e6c1
Extract compiler pre-defined macros as Make variables
2021-01-27 15:34:02 -06:00
Ben Franksen
236bb2c671
fix an out-dated comment in the array filter code
2021-01-15 15:13:47 +01:00
Ben Franksen
372e937717
add macro dbfl_pfield to db_field_log.h and use it in dbGet
2021-01-14 17:45:25 +01:00
Ben Franksen
56f05d722d
fix in dbGet: decide use of db_field_log based on whether it has copy or not
2021-01-14 17:40:37 +01:00
Ben Franksen
85822f3051
add macro dbfl_has_copy to db_field_log.h and use it in dbAccess.c
...
It encapsulates the slightly tricky logic to decide whether a pointer
to a db_field_log has ownership of the data or not.
2021-01-12 17:49:10 +01:00
Ben Franksen
27fe3e4468
refactor db_field_log and filters to get rid of dbfl_type_rec
...
This refactor simplifies and streamlines the code associated with server
side filters. Apart from immediate benefits (clearer code, less duplication)
it is also hoped that this will make it easier to add write filters.
The data pointer dbfl_ref.field can now either point to a copy owned by a
filter, or it can point to the original data owned by a record. In the
latter case, the dbfl_ref.dtor is NULL.
The dbExtractArray* functions are unified to the single function
dbExtractArray and stripped of conversion functionality. This is redundant
because we always call dbGet after applying filters, which takes care of
conversion. Accordingly, dbChannelMakeArrayCopy is now obsolete and its
single use (in the ts filter) replaced with dbExtractArray. Instead, we add
the helper function dbChannelGetArrayInfo to wrap the common boilerplate
around calls to the get_array_info method, used in both arr.c and ts.c.
2021-01-12 17:49:10 +01:00
Ben Franksen
4ab9808180
make it clearer what the result of wrapArrayIndices will be
2021-01-12 15:56:32 +01:00