Commit Graph

47 Commits

Author SHA1 Message Date
Michael Davidsaver 6d1216daad pvalink: porting part 3
add pvalink json schema
avoid JSON5 in testpvalink for portability.
fixup build with pvalink
trap bad_weak_ptr open during dtor
  Not sure why this is happening, but need not be CRIT.
c++11, cleanup, and notes
fix pvalink test sync
fix test cleanup on exit
pvalink disconnected link is always INVALID
pvalink logging
pvalink capture Disconnect time
pvalink eliminate providerName
  restrict local to dbChannelTest()
  aka. no qsrv groups
pvalink onTypeChange when attaching link to existing channel
pvalink eliminate unused Connecting state
pvalink add InstCounter
pvalink AfterPut can be const
pvalink add atomic jlif flag
include epicsStdio.h later
  avoid #define printf troubles
assert cleanup state on exit
pvalink add newer lset functions
test link disconnect
testpvalink redo testPutAsync()
pvalink fill out meta-data fetch
pvalink fix FLNK
pvalink cache putReq
pvalink test atomic monitor
pvalink test enum handling
pvalink handle scalar read of empty array
  make it well defined anyway...
pvalink test array of strings
handle db_add_event() failure
handle record._options.DBE
2023-11-20 10:59:44 -08:00
Simon Rose 5f48325890 pvalink: porting part 2
Fix pvaGetValue for string scalars
Remove pvaLink* variables
Move close() call to pvaGlobal_t from worker queue
Removed latch state
Update .gitignore to ignore VS code configuration
Add lset(pva) support for base 7.x
Remove pvalink support for base 3.x
Update cached value object in pvaLinkChannel::run
Removing queued state from pvaLikeChannel
Add debug functionality
Rename internal fields to match json spec
prepare for puts
Fix array response size
Add tests for pvalink properties
2023-11-20 10:59:44 -08:00
Michael Davidsaver a02b6e9730 ioc: improve long string detection
Partially replicate the '$' handling logic of dbChannelCreate()
in the case where no '$' was provided.
2023-06-18 10:07:16 -07:00
Michael Davidsaver 7aae179fae client: test discover() 2023-05-12 09:29:25 -07:00
Michael Davidsaver f25c3b41ec test name server 2023-05-12 09:29:25 -07:00
Michael Davidsaver a36dd2a9cc fix monitor pipeline and finish() 2023-05-12 09:29:25 -07:00
Michael Davidsaver afafa09547 ioc: revise qsrv 2 prototype
ioc: check for mis-matched onStartSubscription()/onDisableSubscription()

ioc: fix subscription lifetime

ioc: catch exceptions in dbEvent callbacks

ioc: avoid unnecessary virtual

ioc: minor

ioc: fix qsrv -S

ioc: qsrvGroupSourceInit() catch+log

ioc: runOnServer avoid std::function

ioc: cleanup and simplifications.

Avoid some redundant std::map lookups.
Make Group partially const to prevent implicit ctor.

ioc: avoid typedefs only used once

ioc: overhaul Group::show().  shows triggers

ioc: MappingType

ioc: pvxsgl -> pvxgl

ioc: separate group config singleton from server singleton

ioc: remove unnecessary forward declarations

ioc: restructure pvxsInitHook

ioc: qsrv runtime disable by default

ioc: compat w/ older Base

ioc: link pvxsIoc w/ DB libs

ioc: Channel proper detection of invalid PV

ioc: no need to keep vector<dbCommon*> around

ioc: fix initial group update for mappings w/o dbChannel

ioc: redo testing

split out group tests, only run with Base >= 7.0

ioc: minor

ioc: loc_bad_alloc

ioc: avoid symbol/DTYP clash with pva2pva

ioc: test record alias in group json

ioc: test put failure when SPC_NOMOD and DISP=1

ioc: test channel filters

ioc: unnecessary capture

ioc: avoid sharing Value between multiple subscriptions

It is possible to create two subscriptions through the same channel.

ioc: group subscription include queueSize

ioc: eliminate unused atomicMonitor

ioc: consolidate GroupSource::get()

avoid some indirection

ioc: pvRequest override of atomicPutGet

ioc: fix group non-atomic put

ioc: test asTrap hooks

ioc: test putOrder also sets field order

ioc: simplify GroupConfigProcessor::loadConfigFiles()

Also ensure that groupMapMutex is held

ioc: testqgroup cover JSON def.

ioc: dbLoadGroup() use macros

ioc: pvxsl() take integer argument

ioc: display.form and info(Q:form

ioc: "NO_ALARM" -> ""

ioc: use dbServer

at least for informational callbacks.

ioc: consolidate createRequestAndSubscriptionHandlers()

ioc: eliminate ChannelAndLock

properties dbChannel doesn't need a separate DBManyLock

ioc: test that putOrder also controls field order

ioc: MappingType -> MappingInfo

Handle info(Q:time:tag
Add +type:"const"

ioc: cleanup includes

ioc: test dbNotifyCancel()

ioc: inline checkForTrailingCommentsAtEnd()
2023-05-09 22:24:05 -07:00
George McIntyre 93e4d3eef3 ioc: qsrv 2 prototype 2023-05-09 10:17:32 -07:00
Michael Davidsaver 0fdfeb72d1 Add testudpfwd 2023-04-10 08:47:15 -07:00
Michael Davidsaver bdcbf130d2 expand spam example/test
Add a fixed rate counter in addition to
variable rate/pipeline counters.
add eatspam client

Not really an reasonable example anymore
2022-11-27 08:20:13 -08:00
Michael Davidsaver ec8d0df1b3 allow override of sendBE and test all combinations
Cross-testing client/server with all byte order combinations.
2022-05-18 12:27:33 -07:00
Michael Davidsaver bd9fcd8586 add testwild
test behavior when binding to ipv4/6 wildcard interfaces
2022-04-05 07:57:16 -07:00
Michael Davidsaver b896b1804c optimize xcode of shared_array with POD elements 2021-07-02 16:44:02 -07:00
Michael Davidsaver f8cdcd4f91 RTEMS5/libbsd support 2021-06-27 10:17:14 -07:00
Michael Davidsaver c76c2806f3 add MPSCFIFO 2021-06-27 10:17:13 -07:00
Michael Davidsaver 3dcf2f59fe fix logger_level_set() 2021-05-06 08:46:27 -07:00
Michael Davidsaver b7640016a6 add test1000
Test concurrent GET of 1000 PVs
2021-01-28 07:44:32 -08:00
Michael Davidsaver 6bbcf8aebb add iochooks and pvxsIoc library 2020-09-08 13:59:44 -07:00
Michael Davidsaver 73314e5f35 add testnt 2020-06-25 17:26:02 -07:00
Michael Davidsaver d8cd01ee83 only automatically link libevent for PROD/LIB using libpvxs 2020-04-09 20:40:09 -07:00
Michael Davidsaver 783281d137 fix Makefile
premature cleverness
2020-03-23 21:39:33 -07:00
Michael Davidsaver ceeb782e8a ensure CONFIG_PVXS_MODULE is idempotent
seems that cfg/ files can sometimes be included
multiple times.
2020-03-18 21:12:59 -07:00
Michael Davidsaver 9738621e44 building bundled libevent 2020-03-16 09:23:17 -07:00
Michael Davidsaver c7ba7d21b6 add client monitor 2020-03-04 19:57:00 -08:00
Michael Davidsaver 4f673cbbff drop countdown demo 2020-03-04 19:34:16 -08:00
Michael Davidsaver 7bd1e1c475 add testconfig 2020-03-02 15:37:43 -08:00
Michael Davidsaver c404c5f425 drop dummyserv 2020-03-02 15:37:43 -08:00
Michael Davidsaver 4d7ca87f8a pvRequest parsing 2020-03-02 15:37:43 -08:00
Michael Davidsaver 879949706f doc example mailbox 2020-02-27 08:21:50 -08:00
Michael Davidsaver 19bf53a928 add testrpc 2020-02-26 08:38:15 -08:00
Michael Davidsaver 6d717ad2af testput 2020-02-26 08:38:15 -08:00
Michael Davidsaver d23fe0e9d5 add testget 2020-02-26 08:38:15 -08:00
Michael Davidsaver d9f18127bb test info round trip 2020-02-21 10:46:05 -08:00
Michael Davidsaver dadb622a59 mailbox demo 2020-02-04 13:43:45 -08:00
Michael Davidsaver e4d2ba5c69 mcat demo 2020-02-03 14:57:04 -08:00
Michael Davidsaver c2a4224a21 server monitor 2020-01-22 12:25:21 -08:00
Michael Davidsaver dd7a3d2dd3 start xcode data 2019-12-15 16:43:22 -08:00
Michael Davidsaver 4b084b31be rename testdata -> testtype 2019-12-15 16:41:35 -08:00
Michael Davidsaver 8fca41b683 add BitMask 2019-12-10 18:15:48 -08:00
Michael Davidsaver 801d295c1f start PVD 2019-12-10 17:56:40 -08:00
Michael Davidsaver 4c60d72f9c add shared_array
simpler version of epics::pvData::shared_vector<T>
w/ offset+capacity tracking, or value conversion.
Updated to use c++11 features (like std::type_index).
2019-12-10 17:56:40 -08:00
Michael Davidsaver e1b8923f33 server basics 2019-11-19 16:06:43 -08:00
Michael Davidsaver 985687a54d test UDP handling 2019-10-27 20:57:11 -07:00
Michael Davidsaver 8c40929e5c all sorts of changes 2019-10-23 13:29:31 -07:00
Michael Davidsaver 6b1f5cb6f7 no -std=c++11 for msvc
specific to gcc/clang
2019-10-21 16:27:47 -07:00
Michael Davidsaver 157d1e7d93 run tests 2019-10-20 19:35:32 -07:00
Michael Davidsaver 466044d6a5 initial 2019-10-19 20:17:39 -07:00