aboutsummaryrefslogtreecommitdiff
path: root/ext/mixed
Commit message (Collapse)AuthorAge
* Improve popup window ownership (#1364)toasted-nutbread2021-02-09
| | | | | | | | | | | | | | | | | * Update frameInformationGet to also return the tab ID * Add tabId to Frontend * Pass tabId/frameId to Display * Pass ownership information using setContent * Remove ownerFrameId for Popup classes * Use frameId instead of ownerFrameId for screenshotting * Use contentOrigin instead of owner * Update _invokeContentOrigin implementation
* Mecab test (#1361)toasted-nutbread2021-02-08
| | | | | | | * Update Mecab API * Add testMecab API function * Add a test button for the Mecab component
* Remove unused api functions (#1354)toasted-nutbread2021-02-08
| | | | | | | * Remove screenshotGet * Remove downloadDefinitionAudio * Remove clipboardGetImage
* Refactor FrameOffsetForwarder (#1353)toasted-nutbread2021-02-08
| | | | | | | | | | | * Add getChildFrameElement to FrameAncestryHandler * Add isRootFrame * Initialize _frameOffset to [0, 0] * Update FrameOffsetForwarder implementation * Update documentation
* Enforce language (#1344)toasted-nutbread2021-02-08
| | | | | | | | | * Assign text content and a language * Remove _appendMultilineText * Assign lang for createTextNode content * Add language attributes to HTML pages
* Frame ancestry handler refactor (#1352)toasted-nutbread2021-02-06
| | | | | | | | | | | * Validate source window before handling messages * Add unregisterHandler to CrossFrameAPI * Refactor the process FrameAncestryHandler uses to get ancestor frame IDs * Store a mapping of child frame information * Update getFrameAncestryInfo to only run once
* Settings permissions info display (#1338)toasted-nutbread2021-01-31
| | | | | | | | | | | | | * Add getAllPermissions function * Add permissionsChanged event * Update ClipboardPopupsController to show permissions validation info * Add invalid indicator * Display invalid indicator when permissions are not valid * Fix border color transition not being necessary on input-suffix-button
* Html lint (#1336)toasted-nutbread2021-01-30
| | | | | | | | | | | | | | | | | | | | | | | * Move style rules * Fix non-unique IDs * Remove erroneous ids * Add title * Fix invalid closing tag * Install html-validate * Add .htmlvalidate.json * Update HTML and styles * Add test-lint-html * Update test files * Update test-lint-html/css commands to have more explicit targets
* Add note errors (#1329)toasted-nutbread2021-01-30
| | | | | | | | | | | | | | | | | | | * Update _addAnkiNote to track errors * Change comparison * Update anki note adding to show errors * Fix template * Show errors when Anki card creation behaves unexpectedly * Update some errors related to anki media injection * Update addAnkiNote error handling * Improve Anki errors * Simplify error messages related to template rendering
* Display notification style updates (#1327)toasted-nutbread2021-01-29
| | | | | * Add scrollbar-inverse styles * Update notification styles to support better overflowing
* Settings and welcome page improvements (#1326)toasted-nutbread2021-01-29
| | | | | | | | | | | | | | | * Update wording to be less repetitive * Remove the shadow theme option from the welcome page, to avoid confusion * Update input sizes * Update select text to not clip the triangle icon * Update wording * Update descriptions * Remove "popup" to not exclude the search page
* Remove the dictionary tag from the definitionTags (#1324)toasted-nutbread2021-01-28
| | | | | | | | | | | * Remove dictionary tag from term definitionTags and kanji tags * Update test data * Update templates * Update tests * Update information
* Native keyboard shortcuts settings (#1322)toasted-nutbread2021-01-27
| | | | | | | | | * Fix style issue * Add ExtensionKeyboardShortcutController * Move descriptions * Add separator line
* Clipboard settings organization (#1319)toasted-nutbread2021-01-26
| | | | | | | | | | | | | * Create clipboard icon * Move clipboard options * Update clipboard options * Update labels * Add info * Update all clipboard settings to request permissions
* Fix clipboard monitor not persisting (#1315)toasted-nutbread2021-01-25
| | | | | | | * Add optionsUpdated event to Display * Update this._clipboardMonitorEnabled * Update settings to ensure no unexpected behaviour
* Clipboard lookup skip option (#1314)toasted-nutbread2021-01-25
| | | | | | | | | * Add autoSearchClipboardContent option * Hide header if there is any search text * Add setting for autoSearchClipboardContent * Add support for autoSearchClipboardContent
* Update comm message errors to include what the action was (#1312)toasted-nutbread2021-01-25
|
* Various firefox fixes (#1306)toasted-nutbread2021-01-24
| | | | | * Fix for chrome.commands not being present on Firefox's embedded float.html * Fix _getSearchContext mishandling _optionsContextOverride
* Multiple custom audio sources (#1303)toasted-nutbread2021-01-23
| | | | | | | | | | | | | | | * Fix label * Fix icon size being flexible * Add schema * Add customSourceType option * Update settings * Pass customSourceType to the audio downloader * Implement custom audio JSON mode
* Audio button menu (#1302)toasted-nutbread2021-01-23
| | | | | | | | | * Fix popup menus not stoping events * Ensure non-stale use of buttons * Enable popup menus on the popup/search pages * Add audio menu
* Update popup menu structure (#1301)toasted-nutbread2021-01-23
| | | | | | | | | * Wrap menu items in popup-menu-body * Use bodyNode instead of node * Update selector * Update _setPosition to not use items
* Audio play button status badge (#1300)toasted-nutbread2021-01-23
| | | | | | | | | | | | | | | * Add plus-thick.svg * Add success-color variable * Fix icon display * Add badge * Add missing audioResolved * Update audio badge * Expose attribute
* Update text-color-light definitions to be more consistent (#1299)toasted-nutbread2021-01-23
|
* Fix menu items not being hidden properly (#1297)toasted-nutbread2021-01-23
|
* Add missing audio field (#1296)toasted-nutbread2021-01-23
|
* Update icons (#1295)toasted-nutbread2021-01-23
| | | | | * Update icons * Simplify sidebar-button-icon styles
* Material style updates (#1294)toasted-nutbread2021-01-23
| | | | | * Add more icons * Update menu stylings
* More display audio refactoring (#1293)toasted-nutbread2021-01-23
| | | | | | | | | | | | | | | * Add _getExpressionAndReading utility * Add _getExpressionReadingKey utility * Add _getAudioOptions * Separate some logic into _createAudioFromInfoList * Update cache data format so that it can be accessed synchronously * Allow sources to be manually specified * Add options to enable playback of a specific entry of a source
* Update display audio cache (#1292)toasted-nutbread2021-01-23
| | | | | | | | | | | | | * Use a standard map * Wrap function * Improve cache to support multiple different source arrays For the same reading/expression * Rename variable * Use null instead of an error
* Display audio update (#1291)toasted-nutbread2021-01-22
| | | | | | | * Move createExpressionAudio to DisplayAudio * Move createAudioFromInfo to DisplayAudio * Update TextToSpeechAudio
* Update audio validity checks to be based on the source (#1290)toasted-nutbread2021-01-22
|
* Simplify CacheMap (#1287)toasted-nutbread2021-01-21
| | | | | | | | | * Simplify CacheMap, removing support for array path keys * Update keys * Update JsonSchemaValidator * Update AudioSystem
* Update data-menu-position to be space separated instead of comma separated ↵toasted-nutbread2021-01-21
| | | | (#1286)
* Move menu styles into material.css (#1283)toasted-nutbread2021-01-20
|
* Move popup-menu.js (#1280)toasted-nutbread2021-01-20
|
* Fix DisplayGenerator not working on pitch-accents-preview.html (#1276)toasted-nutbread2021-01-19
|
* Audio system refactoring (#1275)toasted-nutbread2021-01-18
| | | | | | | | | | | | | | | * Simplify details * Simplify audio creation * Return an array of sources instead of a single item * Use sourceIndex instead of index * Rename APIs * Return more info about the source * Return source instead of sourceIndex
* Hotkey help controller (#1272)toasted-nutbread2021-01-18
| | | | | | | | | | | * Create HotkeyHelpController * Expose getAllTemplates * Update hotkeys on the context page * Update hotkeys on the display pages * Fix display issue where a hotkey used to be defined but no longer is
* Hotkey util (#1270)toasted-nutbread2021-01-18
| | | | | | | | | * Create HotkeyUtil * Create tests * Use HotkeyUtil * Fix issues
* Display audio (#1269)toasted-nutbread2021-01-18
| | | | | * Update display definition/definition node handling * Separate display audio controls into a separate class
* Audio system improvements (#1268)toasted-nutbread2021-01-17
| | | | | * Simplify API * Move fallback audio
* Add support for frontend hotkeys; add scanSelectedText action (#1266)toasted-nutbread2021-01-17
| | | | | | | * Add support for frontend hotkeys; add scanSelectedText action * Remove unused global * Remove duplicate hotkey handler script
* Remove _onMessage (#1265)toasted-nutbread2021-01-17
|
* Optimize hotkey registration (#1264)toasted-nutbread2021-01-17
|
* Hotkey forwarding support (#1263)toasted-nutbread2021-01-17
| | | | | | | | | * Add support for allowing HotkeyHandler to forward hotkeys * Update hotkey registration * Pass HotkeyHandler instance into Display* constructor * Implement hotkey forwarding
* Text scanner improvements (#1261)toasted-nutbread2021-01-17
| | | | | | | | | | | | | | | | | * Add support for allowing TextScanner.search to force focus * Simplify query parser searched event forwarding * Defer fallback creation * Simplify event listeners * Change type to pointerType * Change cause to eventType * Change empty to passive; make .search function passive * Remove unused input index
* Optimize hotkey handler to not hook any events if cannot do anything (#1260)toasted-nutbread2021-01-16
|
* Update TextScanner.search to return the event details object (#1257)toasted-nutbread2021-01-16
|
* Add check to ignore hotkey registrations with null key (#1256)toasted-nutbread2021-01-16
|
* Refactor hotkey handling (#1250)toasted-nutbread2021-01-16
| | | | | * Create HotkeyHandler * Update Display to use HotkeyHandler