zimoch
3d95dece6b
Merge 7.0.10 into PSI-7.0
2026-01-06 14:57:16 +01:00
zimoch and mdavidsaver
6d85a36397
remove needless pointer casts
2025-12-17 16:34:58 -08:00
zimoch
bd0c7e7823
Apply log prefix to each line
2025-07-29 17:55:05 +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
Andrew Johnson
550e902bf3
iocLogPrefix: skip "already set" warning if prefix identical
2023-01-19 11:00:14 -06: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
799e72b1e3
libCom: actually use libComAPI.h in libCom
2020-05-20 14:47:51 -07:00
Andrew Johnson
85d1982890
Merge changes from 3.15 branch into 7.0
2020-04-15 21:39:54 -05:00
Michael Davidsaver
76b9461ee8
logClient windows needs SOCK_E*
2019-11-12 19:07:30 -08:00
zimoch
4bb81654d6
use EPICS_PRIVATE_API macro and fix bug with darwin/ios
2019-10-04 14:32:07 +02:00
zimoch
46912d5516
renamed epicsSocketCountUnsentBytes to epicsSocketUnsentCount and moved it to osi/os/
2019-09-23 11:10:32 +02:00
zimoch
cf121f1c14
fix bug from commit f85454. Apparently epicsExportSharedSymbols is needed even though epicsExport.h is included
2019-09-23 10:54:17 +02:00
zimoch
1718647121
epicsSocketCountUnsentBytes returns -1 on failure
2019-09-19 12:08:45 +02:00
zimoch
752ec12261
bugfix: memmove'ed to much
2019-09-19 11:42:04 +02:00
zimoch
e28bb3b0e2
epicsSockCountUnsentBytes renamed to epicsSocketCountUnsentBytes
2019-09-19 10:48:14 +02:00
zimoch
64f540a64f
moved logClientSendMessage and made it static
2019-09-19 10:44:36 +02:00
zimoch
c9b670977d
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-09-18 09:58:28 +02:00
zimoch
931054d4fd
cannot print sockets with %d in Windows, they are not small ints but maybe pointers.
2019-09-17 17:45:33 +02:00
zimoch
6ffc9e17da
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-09-17 17:34:16 +02:00
zimoch
f85454a8d6
use dynamic debug flag for logClient
2019-09-17 17:12:58 +02:00
zimoch
26f6f674be
increase error message buffer size for long (Windows) error messges
2019-09-17 14:41:35 +02:00
zimoch
d162337b9a
improve logClientShow to show unsent bytes on level 2 (and fix level 1)
2019-09-17 14:39:03 +02:00
zimoch
49bf8bb5ec
removed unneeded include
2019-09-17 11:59:02 +02:00
zimoch
2b0161d9bf
no need to delay startup only because log server is currently not available
2019-08-30 08:57:08 +02:00
zimoch
9df98c1838
send pending log messages directly after connecting
2019-08-30 08:57:08 +02:00
zimoch
59aa9cfe74
avoid needless memmove calls
2019-08-30 08:57:08 +02:00
zimoch
709208ef5c
elimitate duplicate code in logClient
2019-08-30 08:57:08 +02:00
zimoch
0a3427c835
do not discard unsent messages when log server has closed connection, instead try to send them after reconnect
2019-08-30 08:57:08 +02:00
zimoch
2432878773
speed up logRestart thread termination at exit
2019-08-30 08:57:08 +02:00
zimoch
62c3b0a585
don't send errlog on all logClients
2019-08-30 08:57:08 +02:00
Ralph Lange
833648c977
Move all under modules/libcom
2018-06-19 11:25:46 +02:00