Commit Graph
801 Commits
Author SHA1 Message Date
Michael Davidsaver b2826a5234 shared_array(begin, end) use std::distance() 2020-04-25 14:49:39 -07:00
Michael Davidsaver 8ed99da20a 3.14 compat no -fvisibility=hidden 2020-04-25 14:40:43 -07:00
Michael Davidsaver add99065e9 thread_local -> ThreadEvent
at least GLIBC runs TLS dtors before atexit() callbacks
on exit() or return from main().

Use epicsThreadPrivate which doesn't cleanup locals for main().
2020-04-25 14:40:43 -07:00
Michael Davidsaver 549fd92f87 change Server::listSource() 2020-04-25 14:40:43 -07:00
Michael Davidsaver 0144c0417b GCC -Wl,--as-needed 2020-04-25 14:40:43 -07:00
Michael Davidsaver 1a462617a4 minor 2020-04-25 14:40:43 -07:00
Michael Davidsaver 88d23a0314 shared_array add iterator range ctor 2020-04-21 14:37:29 -07:00
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
Klemen VodopivecandMichael Davidsaver 76a5861c5c Add BASE 3.14 to travis CI 2020-04-16 22:01:38 -07:00
Michael Davidsaver d89d925e19 re-enable epicsEnvUnset() 2020-04-16 22:01:38 -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 VodopivecandMichael Davidsaver 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 51663e1cfd doc 2020-04-15 10:50:18 -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 517d5fa634 doc 2020-04-13 18:36:51 -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 78a80c0560 more cdt-check 2020-04-13 18:06:40 -07:00
Michael Davidsaver ff4a968320 disable some MSVC warnings
C4800: implicit cast to bool
C4275: non dll-interface base class
2020-04-12 23:29:30 -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 e2a7e5e451 travis 2020-04-09 21:44:14 -07:00
Michael Davidsaver 879cb1033b doc 2020-04-09 20:40:09 -07:00
Michael Davidsaver 6f39d9ae7c CLI tools print libevent version 2020-04-09 20:40:09 -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 832e03c095 add cdt-check.sh 2020-04-09 20:40:09 -07:00
Michael Davidsaver fb8681d176 disable automatic LTO
Partial use not recommended.
Also issues w/ static libraries
2020-04-09 20:40:09 -07:00
Michael Davidsaver 606cd0a192 Add issue template 2020-04-09 20:40:09 -07:00
Michael Davidsaver 955e7113d2 travis use ci-core-dumper 2020-04-07 16:35:54 -07:00
Michael Davidsaver b6af183591 update travis 2020-04-07 16:35:53 -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