Commit Graph

72 Commits

Author SHA1 Message Date
Koushik Dutta
1b15453997 rpc: fix babel mucking up async generators 2023-11-10 17:00:25 -08:00
Brett Jia
e49f26b410 server, client: connectRPCObject for web api clients (#1166)
* initial pass at connectRPCObject proxy

* wip: connects to server but fails on pendingResults

* fix wrong rpcpeer bug + cleanup serialization

* small cleanups

* feedback, local object lookups

* rpc: fix up additional id gens

* feedback

* update example to use frame generator

---------

Co-authored-by: Koushik Dutta <koushd@gmail.com>
2023-11-08 09:22:07 -08:00
Koushik Dutta
1a7e0370c9 rpc: fix up additional id gens 2023-11-07 15:23:47 -08:00
Koushik Dutta
33b77b64de rpc: id gen fix 2023-11-05 09:00:11 -08:00
Koushik Dutta
a41d4de97a rpc: use non deterministic object ids 2023-11-04 20:24:21 -07:00
Koushik Dutta
172ebf06de server: add pending result method tracker 2023-09-06 07:50:53 -07:00
Koushik Dutta
c492c15081 rpc: async generator should throw if yielded and when the peer has been killed. garbage collection does not trigger async generator return or throw. 2023-04-19 21:35:46 -07:00
Koushik Dutta
ed186e2142 server/rpc: improve typings on rpc message type 2023-04-08 10:19:06 -07:00
Koushik Dutta
c522edc622 server/rpc: improve typings on rpc message type 2023-04-08 10:17:18 -07:00
Koushik Dutta
940d4b7fd4 rpc: various python fixes 2023-03-12 22:09:50 -07:00
Koushik Dutta
1e004d6700 rpc: fixup various async iterator bugs, add memoryview support to python 2023-03-11 19:38:43 -08:00
Koushik Dutta
601cd39ba4 rpc: fix proxied iterator proxy 2023-03-10 21:38:48 -08:00
Koushik Dutta
8e5f44f998 server: add support for polymorphic media objects 2023-03-05 21:33:44 -08:00
Koushik Dutta
dc5148c856 rpc: dont throw on oneway methods even if the peer is closed 2023-03-04 18:59:55 -08:00
Koushik Dutta
19da68884b server: implement python connectRPCObject 2023-03-03 23:17:43 -08:00
Koushik Dutta
6f90b1a0e3 server: add support for direct ipc 2023-03-03 16:48:29 -08:00
Koushik Dutta
096c036ea2 rpc: implement python async iterator 2023-03-02 21:03:29 -08:00
Koushik Dutta
b2e5801426 rpc: improve error serialization and handling 2023-03-02 16:02:48 -08:00
Koushik Dutta
41061854f1 rpc: add intrinsic support for async iterators 2023-03-02 13:49:20 -08:00
Koushik Dutta
694c195024 rpc: fixup WeakRef typing 2023-03-01 14:51:40 -08:00
Koushik Dutta
2d4357e4c0 server: preserve MediaObject name in constructor 2023-02-28 11:17:58 -08:00
Koushik Dutta
1588ea250b server: publish rpc change 2023-02-24 16:01:52 -08:00
Koushik Dutta
41bf154d2b rpc: fix missing export for eval 2023-01-25 23:52:53 -08:00
Koushik Dutta
40ce9a9fa5 rpc: rollback access level 2023-01-21 20:20:15 -08:00
Koushik Dutta
7cf2a4e8d9 rpc: refactor for reusability 2023-01-21 17:45:48 -08:00
Koushik Dutta
44e519d3d3 rpc: publish as separate package 2023-01-20 09:11:30 -08:00
Koushik Dutta
cdc6d0e943 server: trim unnecessary properties in wire protocol 2022-12-30 14:25:06 -08:00
Koushik Dutta
3a349205ed server: user/acl work roughed in 2022-12-19 10:02:29 -08:00
Koushik Dutta
4b9082b6df server/various: scaffolding for multi-user and non-admin users 2022-12-17 23:44:13 -08:00
Koushik Dutta
0270eeea09 server: relax spurious gc collection 2022-12-14 12:01:45 -08:00
Koushik Dutta
3dc2282336 server: publish 2022-11-02 11:08:05 -07:00
Koushik Dutta
fa6099f1d6 rpc: add support for setting properties on RpcProxy 2022-10-28 10:15:58 -07:00
Koushik Dutta
6a3dbc7b7f server: fix some spurious errors 2022-10-27 15:13:37 -07:00
Koushik Dutta
c1391491f4 server: suppress rpc kill error 2022-10-17 11:17:47 -07:00
Koushik Dutta
8743c606e0 client: fix rpc peer kill event not firing sdk onClose 2022-10-01 17:06:53 -07:00
Koushik Dutta
fbbc177e11 server: fix python rpc finalizer. 2022-09-23 07:48:06 -07:00
Koushik Dutta
31124fe016 server: add rpc param modification api, add support for long term cookies for pwa 2022-09-13 21:36:48 -07:00
Koushik Dutta
68faf03b19 server: make rpc bundler friendly 2022-08-02 09:50:39 -07:00
Koushik Dutta
5b67c74078 server: implement sendSocket. 2022-07-13 07:48:51 -07:00
Koushik Dutta
755cbbd111 server: add support for methods from newer sdks 2022-06-28 21:03:42 -07:00
Koushik Dutta
9d9f19009f server: rcp add side band buffer serialiazation everywhere 2022-06-06 00:33:54 -07:00
Koushik Dutta
b6b08c5ebb server: add rpc support for side band binary payloads 2022-06-06 00:20:56 -07:00
Koushik Dutta
c5bc9a0dab server: support api from other domains 2022-06-05 23:53:19 -07:00
Koushik Dutta
95e2e8a42c server: fix error spam and dangling mixin crashes on plugin uninstall 2022-03-28 20:24:06 -07:00
Koushik Dutta
2c9cdbf655 webrtc: refactor entire pipeline to handle trickle and consolidate code 2022-02-21 12:39:55 -08:00
Koushik Dutta
44b4fa2bd4 server: rpc/threading 2022-02-12 19:09:42 -08:00
Koushik Dutta
a8b8aa03e0 restructure 2022-02-11 15:06:21 -08:00
Koushik Dutta
a26566202e rpc: move out of server 2022-02-11 13:28:12 -08:00
Koushik Dutta
6bf01c8060 server: periodic garbage collection 2022-01-10 21:14:32 -08:00
Koushik Dutta
0a9eba70c3 server: periodic garbage collection 2022-01-10 15:25:02 -08:00