Andrew Johnson
3f4c6abb31
Fix for RTEMS NTP sync issue
2016-02-29 17:07:03 -06:00
Andrew Johnson
76c422c5fd
Merge Cygwin fix from 3.14, fix in rsrv too
2016-02-26 17:10:35 -06:00
Andrew Johnson
fee62836cd
Use OS __CYGWIN__ macro, deprecate our CYGWIN32
2016-02-26 16:27:13 -06:00
Andrew Johnson
3304470323
Merged the rsrvbindiface branch
2016-02-26 14:15:22 -06:00
Andrew Johnson
ebc59a4223
Add epicsAtomicTest to epicsRunLibComTests
2016-02-26 12:27:33 -06:00
Andrew Johnson
5ee778b0c2
Merged changes from Base-3.14, to revno 12613
2016-02-25 14:13:40 -06:00
Michael Davidsaver
d0a316f7ca
win32: include ws2tcpip.h from osdSock.h
...
Needed to get some additional definitions
including IP_ADD_MEMBERSHIP
2016-02-25 11:02:09 -05:00
Andrew Johnson
76d7ce1f76
Fix MSVC (de)-optimizer issue
2016-02-24 15:06:59 -06:00
Andrew Johnson
e18eca80db
Changes from patch in lp:1539791
2016-02-23 15:43:26 -06:00
Andrew Johnson
b45622ac5e
Test each bitwise cast individually for overflow
2016-02-23 12:42:00 -06:00
Andrew Johnson
89e6fdbca0
Fixed conversion overflows in tests
...
Minor tidying-up, added comments about casting for bitwise operations.
2016-02-19 15:57:44 -06:00
Ralph Lange
599e6635fb
libCom/calc: fix bit31 bit manipulations
2016-02-18 15:19:01 +01:00
Ralph Lange
4241b4e6cb
libCom/test: add calc tests for bit31 operators (lp:1514520)
2016-02-18 15:17:52 +01:00
Ralph Lange
9eedf0581e
libCom/calc: Use epics(U)Int32 for all integer calculations
...
Adapted backport of 3.15 revision 12308
2016-02-18 14:44:43 +01:00
Andrew Johnson
61e61aab24
Use MS' strto[u]ll() if present
2016-02-12 15:15:19 -06:00
Michael Davidsaver
00a74fbb4e
libCom: fix debug print formats in osiSockDiscoverBroadcastAddresses()
2016-02-04 18:45:18 -05:00
Andrew Johnson
1c1eb030a9
Improve casr() output
2016-01-27 17:59:38 -06:00
Michael Davidsaver
04fee51795
ipAddrToAsciiAsync.: don't try to join the daemon thread
...
This isn't really necessary and may unnecessarily delay
things (~10 sec. on Linux) if a query to an unreachable
DNS server is in progress.
2016-01-21 13:00:50 -05:00
Ralph Lange
45c8a173f3
libCom/osi: fix timespec definition for MinGW
2016-01-13 17:28:23 +01:00
Michael Davidsaver
f837add8c4
envDefs: add envGetBoolConfigParam
2016-01-11 20:59:08 -05:00
Michael Davidsaver
15307c4db6
rsrv: redo initialization to support bind multiple interfaces.
...
consolidate most setup tasks in rsrv_init(),
which now spawns threads directly.
For each interface create 3-4 sockets,
* TCP listener
* UDP receiver (unicast)
* UDP receiver (broadcast optional)
* UDP beacon sender
2016-01-11 20:59:07 -05:00
Michael Davidsaver
e805abe971
libCom/osi: osiSockDiscoverBroadcastAddresses() finds 127.255.255.255
...
For the default implementation of osiSockDiscoverBroadcastAddresses()
allow the loopback interface to have IFF_BROADCAST set (usually isn't)
and on Linux assume that the loopback broadcast address is usable
even if IFF_BROADCAST isn't set.
2016-01-11 20:59:07 -05:00
Michael Davidsaver
77a5f0db77
epicsMMIODef.h use static inline
...
'static inline' is necessary for consistent behavior with C and C++.
Plain 'inline' in C can result in multiply defined symbol
errors when linking.
2016-01-05 21:31:51 -05:00
Bjorklund, Eric A
8d6469957e
vxWorks: missing extern "C" around sysPci* prototypes
2016-01-05 21:16:04 -05:00
Michael Davidsaver
2d9c529f5e
osdTime: win32 use C89 localtime/gmtime
...
as recommended by Freddie Akeroyd
2015-12-21 11:15:04 -05:00
Michael Davidsaver
05d3dbf453
add epicsTimeZoneTest
2015-12-21 11:13:36 -05:00
Andrew Johnson
d0875f4f12
Make the NTPTime provider optional on VxWorks
2015-10-05 17:44:26 -05:00
Andrew Johnson
c74eb27474
Merged changes from 3.14 branch, to revno 12604
2015-09-18 11:51:51 -05:00
Andrew Johnson
bc3cbd990f
Applied Ambroz Bizjak's freeListItemsAvail.patch
2015-08-31 12:11:30 -05:00
Andrew Johnson
53bf7cd994
Applied Ambroz Bizjak's epicsSingletonMutex.patch
2015-08-31 11:54:04 -05:00
Andrew Johnson
a9c4d59537
Applied Ambroz Bizjak's timerQueueActive.patch
2015-08-31 11:52:32 -05:00
Robert Soliday
d32332d545
libCom/test: Fix for MSVS 2015
2015-08-27 11:34:41 -05:00
Andrew Johnson
88864e949b
Merge changes from 3.14 branch, to revno 12599
2015-08-20 11:14:01 -05:00
Andrew Johnson
fe4f607e63
libCom/errlog: Don't store stderr in pvtData.console
...
Some VxWorks BSPs close the stderr stream that the shell running
the startup script created and open a new one for the interactive
shell. This change makes pvtData.console==NULL mean use stderr
instead of storing the stderr value in pvtData.console at init.
2015-08-13 10:44:52 -05:00
Andrew Johnson
d7b3293ba3
libCom: Use MSVC's struct timespec when available
2015-08-07 09:41:48 -05:00
Andrew Johnson
83c2414ad0
Merged changes from 3.14 branch to revno 12594
2015-07-23 10:13:07 -05:00
Andrew Johnson
002bafdf07
Add testHarnessDone
2015-07-17 18:06:58 -05:00
Andrew Johnson
5eb49ebaf0
Merged changes from 3.14 branch to revno 12590
2015-07-13 13:05:33 -05:00
Andrew Johnson
625172419e
libCom: Make epicsReadline behave the same on Darwin
2015-07-01 12:00:42 -05:00
Andrew Johnson
444b89f557
libCom: Make readline support clean up on epicsExit()
2015-06-30 14:08:32 -05:00
Andrew Johnson
a613a96ad3
libCom: Fix routine name in error message
2015-06-18 10:56:43 -05:00
Andrew Johnson
2f6fad0cc3
Fixing and/or investigating Cygwin issues
2015-05-01 11:38:54 -05:00
Andrew Johnson
f384232864
Merged Cygwin fix from 3.14 branch, revno 12584
2015-04-29 14:21:40 -05:00
Andrew Johnson
33b9fba00b
Fix for latest Cygwin
2015-04-29 14:01:07 -05:00
Andrew Johnson
490540b005
Merged from 3.14 branch up to revno 12575
2015-03-19 10:22:15 -05:00
Andrew Johnson
f994944531
libCom/posix: Remove pthread_setcanceltype()
2015-03-18 11:36:06 -05:00
Andrew Johnson
e1b2a0c5a3
Merged changes from 3.14 branch up to revno 12573
2015-03-13 11:50:26 -05:00
Andrew Johnson
8215244a28
Fix Windows time discontinuity report
2015-03-13 10:06:23 -05:00
Andrew Johnson
99f1dbb75e
Merged changes from 3.14 branch up to revno 12570
2015-03-11 16:26:15 -05:00
Andrew Johnson
753bfcc579
Check sender threads are starting
2015-03-10 18:14:11 -05:00