Matic Pogacnik
5b37663bcb
Check if input string to aToIPAddr is null
2020-08-14 10:04:56 -07:00
Andrew Johnson
e542a22631
Fix Darwin version of epicsMonotonicResolution()
2020-08-04 16:22:03 -05:00
Andrew Johnson
951b6acbbc
Fix Cygwin TCP_NODELAY issue from Paul Chu & Freddie
2020-08-03 12:25:31 -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
Andrew Johnson
957f386d77
Removed EPICS license header and (c) from yacc/antelope sources
...
These should never have been added in the first place.
2020-08-03 11:49:56 -05:00
Andrew Johnson
60aaa16e1d
Removed EPICS license header and (c) from flex sources
...
These should never have been added in the first place.
2020-08-03 11:49:56 -05:00
Andrew Johnson
3506d11558
Speed up osdTimeGetCurrent() on recent macOS
...
Fixes https://github.com/epics-base/epics-base/issues/83
2020-08-03 11:37:19 -05:00
Ralph Lange
7d2e352f6a
Merge changes from 3.15 branch into 7.0
...
- merged 3.15 branch up to bf7a1605
# Conflicts:
# modules/database/src/ioc/db/dbChannel.c
2020-07-15 11:46:45 +02:00
Andrew Johnson
5c03f8ba79
Simplify epicsMessageQueueTest using joinable threads
...
Fixes issues with thread shutdown
2020-07-02 16:17:04 -05:00
Andrew Johnson
1eeac6da2f
Switch RTEMS to the default osdMessageQueue
2020-07-02 16:14:08 -05:00
Michael Davidsaver
4160610885
libCom: test osdSockAddrReuse
...
Ensure that epicsSocketEnableAddressReuseDuringTimeWaitState()
and epicsSocketEnableAddressUseForDatagramFanout()
have the desired effects.
2020-06-20 12:01:40 -07:00
Michael Davidsaver
19146a597b
WIN32: fix epicsSocketEnableAddressReuseDuringTimeWaitState()
2020-06-19 20:17:14 -07:00
Andrew Johnson
1fec685eed
Merge new stuff after the 7.0.4 release work
2020-05-28 21:23:44 -05:00
Michael Davidsaver
6188d3fdaf
update doc comments
2020-05-28 16:26:56 -07:00
Andrew Johnson
005580556c
Add and document the macro IOCSHFUNCDEF_HAS_USAGE
2020-05-28 17:33:18 -05:00
Andrew Johnson
75a3442669
Move RTEMS test-skip to just the failing test
2020-05-27 01:50:23 -05:00
Andrew Johnson
ab281f0f53
Excuse RTEMS for failing tests...
2020-05-25 21:05:18 -05:00
Andrew Johnson
88d34c2d38
Merge changes from 3.15 branch into 7.0
2020-05-24 23:17:33 -05:00
Michael Davidsaver
4eeb205374
Remove ANSI-C OS prototypes from flexdef.h
...
Use osiUnistd.h instead.
Add io.h to osiUnistd.h on Windows
# Conflicts:
# modules/libcom/src/flex/flexdef.h
# modules/libcom/src/osi/os/WIN32/osiUnistd.h
2020-05-21 11:49:27 -07:00
36a8b51d8e
CleanupWhitespace
...
removed spaces at end of line
replaced tabs with spaces
2020-05-20 14:48:09 -07:00
Michael Davidsaver
055223dbe4
fix epicsTempFile in antelope+e_flex
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
Michael Davidsaver
b2750bbe93
Merge remote-tracking branch 'github/7.0' into 7.0
...
* github/7.0:
Unify doxygen keywords to use '\' not '@'
Applied all doxy-libcom changes to latest headers
# Conflicts:
# modules/libcom/src/yajl/yajl_common.h
2020-05-20 13:33:36 -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
a9934792a0
Merge remote-tracking branch 'lp-anj7/expanded-rules' into 7.0
...
* lp-anj7/expanded-rules:
Generate module version files with new RULES_EXPAND facilities
Extend RULES_EXPAND to add more features
More generator doc updates
Document <library>_API = <stem> for Makefiles
Convert epicsShareAPI to epicsStdCall in modules/ca
Update generator script
Modify rules to allow multiple API.h libraries to be built
Convert modules/ca to use LIBCA_API instead of epicsShare
Try out a representative sample of APIs from multiple libraries
Add build rules to generate and install *API.h header files
Add script to generate *API.h headers
2020-04-30 11:34:34 -07:00
Michael Davidsaver
5149627242
Merge commit '17efb0b82c4a3b07f8072d3f574d12d01e2435ec' into 7.0
...
* commit '17efb0b82c4a3b07f8072d3f574d12d01e2435ec':
WIN32: osdFindSymbol.c use PSAPI_VERSION
WIN32: epicsFindSymbol() clear error on success
epicsLoadTest: avoid stdcall name mangling on WIN32
epicsLoadTest: test expected failure
WIN32: epicsFindSymbol() fix use of EnumProcessModules()
fix epicsLoadError()
WIN32: GetLastError() returns DWORD
WIN32: osdFindSymbol() use psapi
WIN32: epicsLoadError() strip trailing newlines
add epicsLoadTest
WIN32 fix epicsFindSymbol()
WIN32 fix epicsFindSymbol() error propagation
OSX fix osdFindSymbol
2020-04-29 16:44:59 -07:00
Michael Davidsaver
5d5e552a7e
de-init hooks
2020-04-29 16:40:16 -07:00
Andrew Johnson
18a632b0e9
Merge 3.15 branch into 7.0 after ci-scripts added
2020-04-27 12:27:50 -05:00
Michael Davidsaver
ce4fb6085f
iocsh: add usage messages
2020-04-24 20:28:00 -07:00
Michael Davidsaver
cd32a7cb1e
epicsEventTest: quiet WIN32 noise
...
timeout for WaitForSingleObject() is known to be
shorter than expected.
2020-04-24 15:38:04 -07:00
Michael Davidsaver
f1cbe93b6c
Revert "replace most internal getCurrent() -> getMonotonic()"
...
This reverts commit 4f2228fb1d
except for some test code.
2020-04-24 15:37:48 -07:00
Michael Davidsaver
17efb0b82c
WIN32: osdFindSymbol.c use PSAPI_VERSION
...
Prefer the more specific PSAPI_VERSION to NTDDI_VERSION.
2020-04-23 15:25:31 -07:00
Michael Davidsaver
379ea6e586
WIN32: epicsFindSymbol() clear error on success
2020-04-19 10:32:12 -07:00
Michael Davidsaver
c6670e756e
epicsLoadTest: avoid stdcall name mangling on WIN32
2020-04-19 10:32:12 -07:00
Michael Davidsaver
0d8fb0a895
epicsLoadTest: test expected failure
2020-04-18 08:21:23 -07:00
Michael Davidsaver
9edb9c2050
WIN32: epicsFindSymbol() fix use of EnumProcessModules()
2020-04-18 08:18:03 -07:00
Michael Davidsaver
aa7c2a647c
fix epicsLoadError()
...
FORMAT_MESSAGE_IGNORE_INSERTS as no va_list is provided.
Handle possibility of n=0 if unable to lookup error.
2020-04-18 07:35:21 -07:00
Michael Davidsaver
6e41f2911b
WIN32: GetLastError() returns DWORD
2020-04-18 07:33:57 -07:00
Michael Davidsaver
db2cd68ce3
WIN32: osdFindSymbol() use psapi
2020-04-16 07:53:06 -07:00
Michael Davidsaver
1492baace9
WIN32: epicsLoadError() strip trailing newlines
2020-04-16 07:45:40 -07:00
Andrew Johnson
85d1982890
Merge changes from 3.15 branch into 7.0
2020-04-15 21:39:54 -05:00
Michael Davidsaver
6f44f64afb
add epicsLoadTest
2020-03-24 08:38:41 -07:00
Michael Davidsaver
24df056bcb
WIN32 fix epicsFindSymbol()
...
Passing zero as to GetProcAddress is undocumented,
but seems to be equivalent to passing GetModuleHandle(NULL)
which searches only the address space of the executable file.
Emulate the effect of dlsym(0, ...) by searching all
loaded modules. Probably not so efficient...
2020-03-24 08:38:36 -07:00
Michael Davidsaver
d3b2298bcb
WIN32 fix epicsFindSymbol() error propagation
...
And use thread local to hold error code/message.
2020-03-24 08:38:33 -07:00
Michael Davidsaver
872009336e
OSX fix osdFindSymbol
...
RTLD_DEFAULT isn't zero on OSX
2020-03-24 08:38:29 -07:00
Michael Davidsaver
46fa31020e
Com: (WIN32) fix handling of thread joinable flag and refcnt
...
Analogous changes for windows
cf. 02a24a144d
2020-03-23 09:57:14 -07:00
Andrew Johnson
5009f288ae
Generate module version files with new RULES_EXPAND facilities
...
Also removes the separate *VersionNum.h@ templates
2020-03-20 12:03:14 -05:00
Andrew Johnson
0f35d0c3f9
Improve epicsEventTest delay checks
2020-03-12 13:59:41 -05:00
Andrew Johnson
b4625a0c1f
Fix osiSockTest on VxWorks
2020-03-12 13:49:55 -05:00