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
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
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
1595ed8860
quieting clang-tidy, non-functional changes
...
Changes to syntax which should not effect generated code
2023-08-28 14:17:00 +02: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
Eva Lott
b878295d06
Added the new annotation EPICS_PRINTF_FMT
2023-05-01 09:03:45 -07:00
Jure Varlec
bdaca51d96
Update shareLib API docs, directing the reader to makeAPIheader.pl
2023-04-18 09:51:21 -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
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
Andrew Johnson
bfd2684e58
Minor fixes to Elaine's annotations
2022-07-04 16:47:44 -05:00
Elaine Chandler
e5b6ef9893
Fix doxygen comments to epicsString.h
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
c5012d9f73
Make sure epicsInt8 is signed on all architectures
2021-12-17 09:42:04 +01: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
Andrew Johnson
7d2ca62a78
Misc doxygen fixes and updates
2021-09-25 22:34:05 -05: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
Andrew Johnson
67bf1a72e7
Substitute version in @since UNRELEASED annotations
2021-07-03 20:14:04 -05:00
b777233efb
Support glob pattern for epicsEnvShow
...
Add epicsStrnGlobMatch with tests
2021-05-19 12:11:06 -07:00
Matthew Pearson
5daf4fc932
epicsStdlib.h: add 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
Andrew Johnson
a9ff175cf0
Replace "UNRELEASED" in epicsString.h
2021-02-28 17:37:40 -06:00
Michael Davidsaver
745c3f552e
Com: add epicsStrSimilarity()
2021-02-08 09:22:27 -08:00
Michael Davidsaver
1e471832e9
consolidate osiFileName.h
...
Don't really need 10 files for this
2021-01-27 09:19:13 -08:00
Andrew Johnson
99852c6504
Merge JSON5 support into 7.0
2021-01-05 21:39:15 -06:00
Andrew Johnson
f775e0b8f6
Merge 3.15 branch into 7.0
...
Adjust updated test result displays for submodules
2020-12-23 16:18:21 -06:00
Michael Davidsaver
4e055610b7
epicsUnitTest: SetErrorMode()
2020-12-03 08:33:57 -08:00
Matic Pogacnik
5b37663bcb
Check if input string to aToIPAddr is null
2020-08-14 10:04:56 -07:00
Andrew Johnson
c1152f94fd
epicsString: Remove support for Octal character escapes \nnn
...
These changes to the functions epicsStrnRawFromEscaped() and
epicsStrnEscapedFromRaw() were prompted by the addition of JSON5
support to the dbStatic parser.
* \0 now represents a zero byte
* Unprintable characters are now escaped in hex
Tests for the octal escapes have been removed.
2020-08-09 00:33:07 -05:00
Andrew Johnson
8c9e42d15e
Fixed the response of epicsStrnRawFromEscaped() to numeric overflows
...
\x only takes 2 hex digits now, and the octal parser ignores a 3rd
digit if it would take the value over 0xff:
"\400" => ' ' then '0'
"\x088" => '\b' then '8'
With additional tests.
2020-08-09 00:33:07 -05:00
Andrew Johnson
3c99391d93
Added SPDX License ID to all EPICS-original source files
...
In some cases the license-identification header was missing,
so I added that as well. Replaced the remaining headers that
specifically identified "Versions 3.13.7 and higher".
Makefiles and the build system were deliberately excluded.
2020-08-03 11:53:01 -05:00
Michael Davidsaver
6188d3fdaf
update doc comments
2020-05-28 16:26:56 -07:00
36a8b51d8e
CleanupWhitespace
...
removed spaces at end of line
replaced tabs with spaces
2020-05-20 14:48:09 -07:00
Michael Davidsaver
799e72b1e3
libCom: actually use libComAPI.h in libCom
2020-05-20 14:47:51 -07:00
Andrew Johnson
9142eca878
Unify doxygen keywords to use '\' not '@'
2020-05-19 18:04:26 -05:00
Andrew Johnson
a09b1c8569
Applied all doxy-libcom changes to latest headers
2020-05-13 00:34:33 -05:00
Michael Davidsaver
8668cc1267
testTodoEnd() needs to lock
...
when NULLing
2020-02-14 13:28:44 +00:00
Michael Davidsaver
819b0de65b
epicsTimerTest testImpreciseTiming()
2020-02-14 09:00:17 +00:00
Freddie Akeroyd
c8006f2934
WIN32: Add stack trace printing on assert/error
2019-10-17 20:09:37 -07:00
Michael Davidsaver
32aeabfc61
msvc unittests disable dialog on error or assert() failure
...
Showing a dialog is really unhelpful in headless CI environments.
_CrtSetReportMode also set _CRT_WARN
Not clear what the default is.
2019-10-17 20:09:27 -07:00
Michael Davidsaver
02bec52f0a
Merge remote-tracking branch 'lp-make/rpath-origin' into 7.0
...
* lp-make/rpath-origin:
makeRPath allow multiple root directories
redo softIoc to be more c++y
rpath $ORIGIN doc
older binutils compat
travis-ci test rpath $ORIGIN
epicsGetExecName WIN32, Darwin, solaris, freebsd
epicsGetExecDir() paths relative to executable
LINKER_USE_RPATH=ORIGIN
# Conflicts:
# configure/os/CONFIG.Common.linuxCommon
2019-10-06 20:05:47 -07:00
Michael Davidsaver
5b09bb6e71
Set file+line for epicsMutex
...
Makes the output of epicsMutexShowAll more useful wrt. libca.
2019-06-26 09:40:41 -07:00
Andrew Johnson
58aa30ab0a
Merge 3.15 branch into 7.0
...
First direct merge since 3.16 branch closed.
2018-12-14 17:05:59 -06:00
Michael Davidsaver
32340584b4
epicsGetExecDir() paths relative to executable
...
For linux, enable softIoc to find .dbd relative to the executable
location.
The same could be done for other targets
*bsd
may have symlink /proc/curproc/file
fallback to sysctl() with KERN_PROC_PATHNAME
solaris
getexecname()
mac
_NSGetExecutablePath()
WIN32
GetModuleFileName(NULL)
others
out of luck...
2018-11-20 22:00:42 -08:00
Andrew Johnson
2efe56c6d1
Merge 3.16 (after 3.16.2-rc1) into 7.0
2018-10-26 17:04:53 -05:00
Ralph Lange
833648c977
Move all under modules/libcom
2018-06-19 11:25:46 +02:00