Commit Graph

25 Commits

Author SHA1 Message Date
hensm
7a35da2ba1 Fix longstanding architectural issues 2022-09-01 07:21:12 +01:00
hensm
63f9af30ae Rewrite options page with Svelte 2022-06-03 16:11:39 +01:00
hensm
dececa46c3 Narrow linting rules and fix for eslintrc for js files 2022-04-27 22:28:38 +01:00
hensm
41d8edcab4 prettier: Re-format .ts files 2021-08-31 08:28:23 +01:00
hensm
d343ac4629 Replace webpack with esbuild 2021-05-26 22:05:14 +01:00
Matt Hensman
101c25e26d Cast API overhaul (#173)
Re-write the shim<->bridge messaging interface and session creation/update handling for better accuracy.
2021-05-03 14:37:54 +01:00
hensm
53427e1077 Misc shim refactoring 2021-04-29 05:07:42 +01:00
hensm
d478742c4b Switch to eslint and fix issues 2021-04-26 05:36:55 +01:00
hensm
68cc886450 Fix Port types 2020-08-11 06:10:34 +01:00
Matt Hensman
ba8c28bf39 Restructure background script (#70)
Splits some background script functionality into separate modules:
 - Receiver selector handling is moved to ./SelectorManager.
 - Status bridge handling is moved to ./StatusManager.
 - Menu creation and updates are handled in ./createMenus.
 - Shim creation is handled in ./createShim.

TypedEventTarget allows EventTarget-derived classes to export typed events.

Options type definition is moved to ./lib/options, module assumes more responsibility for update handling and provides a "changed" event.

Private cast._requestSession method allows bypassing receiver selector.
2019-07-26 00:09:51 +01:00
hensm
70e05566fa Add availableMediaTypes bitmask to receiver selector open method 2019-07-09 10:56:55 +01:00
hensm
43fcd5b351 Fix mirror sender and use getDisplayMedia 2019-07-07 10:35:52 +01:00
hensm
405883c17b Remove unused constants 2019-06-25 23:29:06 +01:00
hensm
bfc09376d1 Convert mirroringCast sender to typescript 2019-06-14 13:41:55 +01:00
hensm
4ac2dcad65 Rebuild whitelist menu onShown instead of navigation or tab activation 2019-05-06 04:17:53 +01:00
hensm
8ad20a7aea TSLint compliance 2019-05-02 06:17:31 +01:00
hensm
31061a3a3a Fix @types/firefox-webext-browser issue 2019-05-02 06:17:31 +01:00
hensm
0449e3cdf3 TSLint compliance 2019-03-19 16:30:37 +00:00
hensm
410d6a267b Remove compat scripts and move API URL redirection to contentSetup 2019-03-14 09:42:00 +00:00
hensm
00e923c8ce cloneInto targetScope should be a Window object 2019-03-12 11:33:51 +00:00
Matt Hensman
f1125061d5 Convert shim to Typescript (#32) 2019-03-12 05:51:43 +00:00
hensm
076c8ce699 Convert ext updater to typescript 2019-02-27 19:00:29 +00:00
hensm
06044d9460 Convert ext popup to typescript 2019-02-27 18:33:29 +00:00
hensm
7eaa97a556 Convert ext options to typescript 2019-02-27 16:32:04 +00:00
hensm
3ea943c509 Convert ext main.js -> main.ts 2019-02-26 19:28:52 +00:00