Commit Graph

198 Commits

Author SHA1 Message Date
hensm
36b391606a Update all dependencies 2019-07-28 03:22:02 +01:00
hensm
9e196465e5 Allow mediaCast sender to run in background context 2019-07-27 07:57:49 +01:00
hensm
c15e719e0e Remove duplicate interface 2019-07-26 05:16:32 +01:00
hensm
a046ba9022 Add options checks for waitForConnection and closeIfFocusLost 2019-07-26 03:39:13 +01:00
hensm
b213a8d85c Fix missing options 2019-07-26 00:14:47 +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
2fe72ed24c Add receiver selector options + misc options page improvements 2019-07-19 18:45:03 +01:00
hensm
a62cb01e97 Update blank metadata values from null to undefined to match Chrome 2019-07-14 09:46:05 +01:00
hensm
f2907cdc15 Set window position in native selector based on data from extension 2019-07-12 19:15:38 +01:00
Richard
d8d8f01347 Spanish translation (#72)
* Copied raw english file

* Preliminar spanish version

* Updated spanish translation

Now uses more formal expressions

Thanks to "Dannysbkn" for reviewing the translation

* Added extensionDescription

extensionDescription using fx_cast description "Enables Chromecast support for casting web apps (like Netflix or BBC iPlayer), HTML5 video and screen/tab sharing."

* Missing string
2019-07-10 03:56:11 +01:00
hensm
615f158832 Add file media type to receiver selectors 2019-07-09 16:05:01 +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
3cb928c1de Return before sending selectReceiverEnd message on mediaType change 2019-07-04 06:42:46 +01:00
hensm
e4c466867d Clean up mirroringCast sender 2019-07-02 08:52:37 +01:00
hensm
321e8d6ce3 Partial selector media type handling 2019-07-02 05:11:57 +01:00
hensm
98656874f1 Fix webcomponents polyfill loading 2019-07-02 05:08:49 +01:00
hensm
5fd0649200 Remove duplicated extensionName locale string 2019-06-25 23:33:16 +01:00
hensm
405883c17b Remove unused constants 2019-06-25 23:29:06 +01:00
hensm
e1a3ca43e1 Remove updater locale strings 2019-06-25 23:28:31 +01:00
hensm
fbd2b1eaa9 Remove updater 2019-06-25 01:42:02 +01:00
hensm
0a9af09419 Clean up shim initialization 2019-06-19 01:39:19 +01:00
hensm
2c1fb64680 Move all Google endpoint URLs to a separate module 2019-06-14 19:27:15 +01:00
hensm
e53b220cfc Remove unnecessary timeouts module 2019-06-14 18:46:42 +01:00
hensm
03a66ea73e Remove unnecessary state module 2019-06-14 18:09:20 +01:00
hensm
bfc09376d1 Convert mirroringCast sender to typescript 2019-06-14 13:41:55 +01:00
hensm
0427e08b6a Convert mediaCast sender to typescript 2019-06-14 12:49:10 +01:00
hensm
2996e50f5e TSLint compliance 2019-06-13 20:15:37 +01:00
hensm
3d6c1e8891 Rename ReceiverSelectorManager -> ReceiverSelector 2019-06-13 20:11:47 +01:00
hensm
cac00658ce Improve extension initialization 2019-05-25 14:59:18 +01:00
hensm
fc4f2d2e81 Move options update handling to lib/options module 2019-05-18 11:53:20 +01:00
hensm
c16566cfad Add bridge application name to options storage 2019-05-17 15:03:27 +01:00
hensm
964f54a06b Add lib/options module for typed/easier options storage access 2019-05-17 14:53:43 +01:00
hensm
a97e14cb31 Add i18n message descriptions 2019-05-16 04:33:11 +01:00
hensm
e368c4d09c Add missing i18n to native macOS receiver selector and refactor 2019-05-15 13:38:11 +01:00
Matt Hensman
474dbad1aa Add snap support (#60)
* Initial app daemon implementation

* Pass script path to child bridge processes

* Change WebSocket server port

* Fix error sending message whilst WebSocket connection is closing

* Initial ext daemon connection implementation
2019-05-15 11:30:30 +01:00
hensm
8cb097c963 Only render popup receiver list once populated 2019-05-08 01:15:44 +01:00
hensm
4ac2dcad65 Rebuild whitelist menu onShown instead of navigation or tab activation 2019-05-06 04:17:53 +01:00
hensm
822978b2c2 Fix mirror casting 2019-05-02 06:17:31 +01:00
hensm
a25b418917 Fix receiver selector manager event listeners 2019-05-02 06:17:31 +01:00
hensm
418679f7de TSLint compliance 2019-05-02 06:17:31 +01:00
hensm
4de8427819 Add whitelist menu items 2019-05-02 06:17:31 +01:00
hensm
8ad20a7aea TSLint compliance 2019-05-02 06:17:31 +01:00
hensm
95d9d846c5 Default to native receiver selector on macOS 2019-05-02 06:17:31 +01:00
hensm
a19291f546 Limit macOS builds to macOS hosts 2019-05-02 06:17:31 +01:00
hensm
b44056a255 Move http media server to separate class 2019-05-02 06:17:31 +01:00
hensm
fc1dd28254 Add missing popup i18n messages 2019-05-02 06:17:31 +01:00
hensm
85c4d11ebf Implement initial NativeMacReceiverSelector 2019-05-02 06:17:31 +01:00
hensm
3f8dd90938 Use enum values for mediaType in popup 2019-05-02 06:17:31 +01:00
hensm
cd7248eefd Use receiver selector manager 2019-05-02 06:17:31 +01:00