Commit Graph

311 Commits

Author SHA1 Message Date
Michael Davidsaver e741e41159 conn limit sequential messages
Process at most 4 messages from one connection
before re-contending.
2020-04-17 17:39:01 -07:00
Michael Davidsaver 2a0dd0ee4f minor 2020-04-17 17:18:23 -07:00
Michael Davidsaver 7e6a08def7 fix Delta print of Union 2020-04-17 14:19:30 -07:00
Michael Davidsaver d65abb28ea shared_array fix print of char[] 2020-04-17 14:19:30 -07:00
Michael Davidsaver ed5bcc8a4f fix handling of segmented messages 2020-04-17 14:16:44 -07:00
Michael Davidsaver c32d1ae0e2 fix pipeline w/ queueSize=1
Maybe not so useful, but shouldn't stall
2020-04-17 12:10:43 -07:00
Michael Davidsaver 48ca7b34c7 fix VERSION_INT() order
defined in pvxs/version.h included via utilpvt.h
2020-04-16 22:01:38 -07:00
Klemen Vodopivec 02f24a74e7 Made it build on EPICS 3.14.12.6, all unit tests pass. 2020-04-16 22:01:38 -07:00
Michael Davidsaver 46bcf877c9 replace epicsParse*() with std::sto*() 2020-04-16 22:01:38 -07:00
Michael Davidsaver 6bb0a364be MSVC is weird
if the log_*_printf() macros include the format
string in __VA_ARGS__ then MSVC helpfully
changes the order of arguments!

So what should be

_log_printf(lvl, "format", "prefix", arg1, arg2)

instead becomes

_log_printf(lvl, "format", arg1, arg2, "prefix")

when expanded by the preprocessor!

Excluding the format string from __VA_ARGS__ seems to
avoid the issue.
2020-04-13 21:39:22 -07:00
Michael Davidsaver 6ffcf60a3c 3.14 compat 2020-04-13 18:06:40 -07:00
Michael Davidsaver c158bbd6b0 doc 2020-04-13 18:06:40 -07:00
Michael Davidsaver bc30f4c840 add Value::ifMarked() 2020-04-13 18:06:40 -07:00
Michael Davidsaver 5d7de7254f workaround MSVC weirdness 2020-04-13 18:06:40 -07:00
Michael Davidsaver f1cc5a2aa6 minor thread_local 2020-04-13 18:06:40 -07:00
Michael Davidsaver 8c7654f492 quiet some MSVC warnings 2020-04-12 23:29:30 -07:00
Michael Davidsaver b0eecb949f fixup client operation object lifetime 2020-04-12 23:29:30 -07:00
Michael Davidsaver bcea4f032a server missing channel onClose 2020-04-12 23:29:30 -07:00
Michael Davidsaver dd3706aa0f Avoid client Context leak
Keep no internal public Context refs.
2020-04-12 22:30:30 -07:00
Michael Davidsaver 20c4ff0c26 test for Context leak
Tests should only hold a single Context pointer
2020-04-12 22:30:30 -07:00
Michael Davidsaver 29c837e7ed maybe self-join? 2020-04-12 22:30:30 -07:00
Michael Davidsaver d8cd01ee83 only automatically link libevent for PROD/LIB using libpvxs 2020-04-09 20:40:09 -07:00
Michael Davidsaver 1627eb9e07 log_exc_printf() print message before maybe abort() 2020-04-09 20:40:09 -07:00
Michael Davidsaver 3b641bed84 start *IDs from different non-zero
Help detect situations where SID, CID, or IOID are mixed up
2020-04-07 13:28:06 -07:00
Michael Davidsaver cfda7e2260 client: trap error in close() 2020-04-07 12:05:31 -07:00
Michael Davidsaver a6c1565793 Add "live" counter for client Context 2020-04-07 12:05:30 -07:00
Michael Davidsaver 7a2ab35439 check instance counters in cleanup_for_valgrind() 2020-04-07 12:05:29 -07:00
Michael Davidsaver d852758b7b client: ensure worker is joined on close() 2020-04-07 12:05:28 -07:00
Michael Davidsaver 9971b2ceec dead code 2020-04-07 12:05:27 -07:00
Michael Davidsaver 2219ad50a0 _PVXS_ABORT_ON_CRIT 2020-04-03 11:58:23 -07:00
Michael Davidsaver facb18ae00 Add log_exc_printf() with stack trace 2020-04-03 11:58:23 -07:00
Michael Davidsaver 8c86aff970 consolidate Value::from() and assign() 2020-04-01 17:50:20 -07:00
Michael Davidsaver 9c9596b4d3 isprint() 2020-03-31 20:32:05 -07:00
Michael Davidsaver aa751ae9d2 minor 2020-03-31 13:07:50 -07:00
Michael Davidsaver e2513db4d9 MSVC need osiSockAttach() 2020-03-31 13:07:50 -07:00
Michael Davidsaver b83c1776a5 MSVC type_traits need ::value
MSVC doesn't like {} instanciation here.
2020-03-31 13:07:50 -07:00
Michael Davidsaver 5a9d884e88 MSVC friends are prototypes
friends are implicit declarations, which need to
include dllimport/export qualifiers
2020-03-31 13:07:50 -07:00
Michael Davidsaver 36dc71a158 MSVC missing includes 2020-03-31 13:07:50 -07:00
Michael Davidsaver bce2c1f13a doc 2020-03-31 13:07:50 -07:00
Michael Davidsaver da0c73b1fa add array convert 2020-03-27 14:31:39 -07:00
Michael Davidsaver ac1c987d3f minor 2020-03-27 14:31:39 -07:00
Michael Davidsaver 271bbfae68 sharedArray reorg 2020-03-27 14:31:39 -07:00
Michael Davidsaver bc50e201dc gcc 4.x compat 2020-03-26 13:52:05 -07:00
Michael Davidsaver d5c59d1cfd StoreTransform 2020-03-26 09:04:44 -07:00
Michael Davidsaver 39c270c379 StoreAs reduce boilerplate 2020-03-26 09:04:44 -07:00
Michael Davidsaver d811485b90 revise shared_vector casting
Rename existing castTo() as castToUnsafe().
Add new castTo() which is doesn't allow non-void -> non-void
and may throw on void -> non-void
2020-03-26 09:04:44 -07:00
Michael Davidsaver 5ee4f546c1 doc 2020-03-26 09:04:44 -07:00
Michael Davidsaver edadc31f96 add instanceSnapshot() 2020-03-24 18:38:10 -07:00
Michael Davidsaver d064afb5bb version include VCS rev. 2020-03-24 15:58:10 -07:00
Michael Davidsaver fd11d382e7 minor 2020-03-24 15:33:52 -07:00