Commit Graph
414 Commits
Author SHA1 Message Date
Michael Davidsaver b6ee231ba8 ensure osiSockAttach() 2020-06-16 16:38:59 -07:00
Michael Davidsaver e71cd46dd8 update ci-scripts 2020-06-16 13:23:22 -07:00
Michael Davidsaver 64d0505610 epicsEnvUnset compat 2020-06-11 09:56:29 -07:00
Michael Davidsaver d6156890f4 print array of quoted strings 2020-06-09 15:03:02 -07:00
Michael Davidsaver 92ea351ebf testrpc: fix race in cancel 2020-05-22 09:17:33 -07:00
Michael Davidsaver 1409baf454 ci-scripts 2.3.3 (with appveyor) 2020-05-22 09:17:33 -07:00
Michael Davidsaver 027e590fba improve type change error messages 2020-05-22 09:17:22 -07:00
Michael Davidsaver 2d075cbc1c testsock show errno 2020-05-22 09:17:22 -07:00
Michael Davidsaver 69efc4b8a9 minor 2020-05-22 09:17:22 -07:00
Michael Davidsaver a556e7e290 fix array of scalar xcode 2020-05-18 19:01:37 -07:00
Michael Davidsaver 609768a33d add client channel cache
Maintain unused channels for 20 seconds before closing.
2020-05-07 18:45:16 -07:00
Michael Davidsaver 47790e5943 ResultWaiter::complete() only once 2020-05-07 18:45:16 -07:00
Michael Davidsaver 6c98614356 minor 2020-05-07 18:45:16 -07:00
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