Michael Davidsaver
60a092fa50
posix/epicsMath.h
...
Include "<cmath>" for c++11 and pull in
non-namespace versions of isnan() and friends.
2019-12-16 11:40:13 -08:00
Michael Davidsaver
24f08460bb
Revert "libcom: fix colliding isnan/isinf between C99 and C++0x for gcc-4"
...
This reverts commit 09ec3af337 .
2019-12-16 11:40:13 -08:00
Michael Davidsaver
247fea0fa9
Revert "libcom: properly declare isnan() in C++ code"
...
This reverts commit 2e89a60c2d .
2019-12-16 11:40:13 -08:00
Michael Davidsaver
8a9637568e
travis-ci /etc/hosts workaround
2019-12-16 11:40:13 -08:00
Michael Davidsaver
87229fdef0
redo travis-ci with matrix
...
add mix of Ubuntu versions
2019-12-16 11:40:13 -08:00
Michael Davidsaver
b0418e5274
epicsSockResolveTest add detail
2019-12-16 11:40:13 -08:00
Ralph Lange
2e89a60c2d
libcom: properly declare isnan() in C++ code
2019-12-11 14:51:16 +01:00
Ralph Lange
09ec3af337
libcom: fix colliding isnan/isinf between C99 and C++0x for gcc-4
...
This fix can be removed once support for gcc-4 is dropped in 2038
2019-12-06 10:52:38 +01:00
Ralph Lange
70e9d46d75
libcom: import some C99 math (isnan etc.) into global namespace
2019-12-05 16:44:59 +01:00
Andrew Johnson
4c99a94453
Add Release Notes entry about dsets
2019-11-30 01:01:33 -06:00
Andrew Johnson
5407a25775
Export and use aidset, set USE_TYPED_DSET
...
I did ai so I can use it as an example in the Release Notes.
2019-11-30 00:20:16 -06:00
Andrew Johnson
6eaef18347
Remove duplicated include line
2019-11-28 00:56:00 -06:00
Andrew Johnson
f6d8a1ab6c
Sort DIRECTORY_TARGETs to de-duplicate, avoids make warning
2019-11-26 14:31:29 -06:00
Michael Davidsaver
3450c9d442
softIoc use correct path sep
2019-11-24 19:39:45 -08:00
Michael Davidsaver
a7cb9524c2
softIoc re-add -D
2019-11-24 19:39:44 -08:00
Michael Davidsaver
90ef40e62b
iocshFindVariable() safety
2019-11-24 19:39:44 -08:00
Michael Davidsaver
1290ab7c6c
dbInitEntry() w/o matching dbFinishEntry()
2019-11-24 19:39:42 -08:00
Andrew Johnson
45c7039a45
Add HAS_<record>dset macros to allow detection
...
External device support that must also build against earlier
Base versions can use these to determine whether they need so
declare their own dset structures for each record type.
2019-11-23 22:23:47 -06:00
Andrew Johnson
b1b51cc70e
Export and use int64outdset, set USE_TYPED_DSET
2019-11-23 15:32:51 -06:00
Andrew Johnson
7e1d165092
Export and use int64indset, set USE_TYPED_DSET
2019-11-23 15:32:51 -06:00
Andrew Johnson
7893445a2e
Modify lsodset, set USE_TYPED_DSET
2019-11-23 15:32:51 -06:00
Andrew Johnson
465ab44606
Modify lsidset, set USE_TYPED_DSET
2019-11-23 15:32:51 -06:00
Andrew Johnson
23450fcfc8
Modify printfdset, set USE_TYPED_DSET
2019-11-23 15:32:51 -06:00
Andrew Johnson
37ed77006c
Fix release headers in Release Notes
2019-11-21 12:47:02 -06:00
Andrew Johnson
578608b1c7
Merge changes from 3.15 branch into 7.0
2019-11-21 12:45:31 -06:00
Andrew Johnson
1d18aa3e6c
Disable printf() format warnings on MinGW, they're broken
2019-11-21 12:20:56 -06:00
Andrew Johnson
a85967caea
Cross-builds of 64-bit MinGW should inherit from 32-bit
...
Don't duplicate, this file missed an important change as a result.
2019-11-21 12:20:13 -06:00
Michael Davidsaver
3c0d4ccf49
remove another __DATE__
2019-11-16 10:26:23 -08:00
Martin Konrad
218459f454
Remove epicsThrows() macro
...
Exception specifications are deprecated: http://isocpp.github.io/
CppCoreGuidelines/CppCoreGuidelines.html#e30-dont-use-exception-
specifications . They will be removed from the C++ standard with
C++20. Modern compilers are warning about them since years. Thus
it's unlikely that anyone is still using the epicsThrows() macro.
Even if that's the case the fix is trivial: Simply remove the macro.
2019-11-15 21:15:50 -08:00
Martin Konrad
13234afc40
Simplify definition of compiler-specific macros
...
Remove conditionals for older compiler versions that aren't
supported by EPICS Base anymore.
2019-11-15 21:14:27 -08:00
Michael Davidsaver
156b137af0
avoid 'struct dset'
...
doesn't work if -DUSE_TYPED_DSET
2019-11-15 21:11:27 -08:00
Michael Davidsaver
fab9c52858
missing includes
...
Need definition of FILE
2019-11-15 21:11:27 -08:00
Michael Davidsaver
019c20476a
test include public Com and db headers
...
Ensure that headers which are meant to be included
actually can be.
2019-11-15 21:11:27 -08:00
Andrew Johnson
f3d63da77b
Remove two long-unused environment parameters
2019-11-15 13:16:35 -06:00
Martin Konrad
a50b850ebd
Fix mingw cross-build
2019-11-15 09:33:15 -05:00
Martin Konrad
6767bcd31e
Use accessor in iocInit
...
This is simpler than using init hooks.
2019-11-14 13:57:45 -05:00
Martin Konrad
81550ac4d3
Fix segfault when calling dbLoadRecords after iocInit
...
This fixes lp:1829919.
2019-11-14 10:11:16 -05:00
d2d8674cb9
use EPICS_PRIVATE_API macro and fix bug with darwin/ios
2019-11-13 14:02:25 -05:00
6f193242e0
renamed epicsSocketCountUnsentBytes to epicsSocketUnsentCount and moved it to osi/os/
2019-11-13 14:02:23 -05:00
39e8ccdef4
fix bug from commit f85454. Apparently epicsExportSharedSymbols is needed even though epicsExport.h is included
2019-11-13 13:49:28 -05:00
eb8992a750
epicsSocketCountUnsentBytes returns -1 on failure
2019-11-13 13:49:27 -05:00
62fb49f93b
bugfix: memmove'ed to much
2019-11-13 13:49:27 -05:00
a5c9db8c8e
epicsSockCountUnsentBytes renamed to epicsSocketCountUnsentBytes
2019-11-13 13:49:26 -05:00
04e752c83a
moved logClientSendMessage and made it static
2019-11-13 13:49:26 -05:00
a16ce877e7
fix wrong function name in comment
2019-11-13 13:49:26 -05:00
15f28f1183
sending 0 bytes helps to detect broken connections on some systems (but is undefined behavior on Linux, fails on vxWorks and is a documented no-op on Windows)
2019-11-13 13:49:25 -05:00
9c18ce007a
cannot print sockets with %d in Windows, they are not small ints but maybe pointers.
2019-11-13 13:49:25 -05:00
765af2efea
ask logClient socket how many bytes are still in the send queue and don't discard them in case the connection turns out broken.
2019-11-13 13:49:24 -05:00
059c385286
use dynamic debug flag for logClient
2019-11-13 13:49:24 -05:00
feb1f9b0df
increase error message buffer size for long (Windows) error messges
2019-11-13 13:49:23 -05:00