summaryrefslogtreecommitdiff
path: root/ext
Commit message (Collapse)AuthorAge
* Add AccessibilityController class, which dynamically registers (#2024)toasted-nutbread2021-11-23
| | | and unregisters the google-docs.js content script
* Google Docs accessibility refactor (#2023)toasted-nutbread2021-11-23
| | | | | | | | | | | | | | | | | * Skip urlRegex if it's used as a filter * Add getRequiredContentScriptRegistrationPermissions function * Add a reentrant check to google-docs.js * Remove script node * Move forceGoogleDocsHtmlRendering check into google-docs.js * Replace document-start.js usage with google-docs.js * Remove documentStart handling * Add missing parameter descriptions
* ScriptManager updates (#2022)toasted-nutbread2021-11-23
| | | | | | | | | | | * Fix spacing * Add more parameters to injectStylesheet * Add more parameters to injectScript * Update ScriptManager to support content script registration * Add webNavigation as an optional permission
* ScriptManager (#2021)toasted-nutbread2021-11-22
| | | | | * Create ScriptManager class * Use ScriptManager in Backend
* Update sentence parsing settings (#2020)toasted-nutbread2021-11-21
| | | | | * Update description * Update descriptions of the parsing algorithms
* Action handler name disambiguation (#2018)toasted-nutbread2021-11-21
| | | | | | | | | | | | | | | | | | | * Disambiguate PopupFactory action handlers * Update HotkeyHandler action names * Disambiguate Frontend action handlers * Disambiguate Display action handlers * Disambiguate PopupPreviewFrame action handlers * Disambiguate Yomichan action handlers * Disambiguate Frontend action handlers * Disambiguate Display action handlers * Disambiguate SearchDisplayController action handlers
* FrameOffsetForwarder fixes (#2017)toasted-nutbread2021-11-21
| | | | | * Fix handling of null iframe rect * Handle errors inside of getOffset
* General refactoring (#2016)toasted-nutbread2021-11-21
| | | | | | | * Remove // Public comments * Fix errors * Remove source parameter from Popup*.setOptionsContext
* Refactor isExtensionUrl (#2015)toasted-nutbread2021-11-21
| | | | | * Update isExtensionUrl to work even if the extension is unloaded * Simplify
* Don't clear the selection before the text scanner has been enabled (#2006)toasted-nutbread2021-11-13
|
* Fix search page not being cleared properly (#2005)toasted-nutbread2021-11-13
|
* Update version21.10.31.0toasted-nutbread2021-10-31
|
* JSDoc update (#1996)toasted-nutbread2021-10-31
| | | | | * Update core.js docs to include types. * Update docs
* Don't stop audio playback when hiding a popup (#1995)toasted-nutbread2021-10-21
|
* Display menu button (#1992)toasted-nutbread2021-10-17
| | | | | * Implement new menu which includes a debug log option * Update wording
* Display button updates (#1991)toasted-nutbread2021-10-17
| | | | | * Update display buttons * Remove use of _addMultipleEventListeners
* String frequency support (#1989)toasted-nutbread2021-10-14
| | | | | | | | | | | | | | | | | | | | | | | | | * Restore support for string frequency values * Add support for {value, displayValue} frequencies * Update test data * Improve number parsing of string frequencies * Improve reading detection * Expose a displayValue property for frequency information * Update docs * Expose displayValue to Anki note data * Fix translator * Update display generation * Update test data * Update counts
* Fix query being set to null when an empty search page is opened (#1988)toasted-nutbread2021-10-14
|
* fix DOMRect for vertical position calculation (#1986)Shadowlauch2021-10-14
|
* Search query back button (#1981)toasted-nutbread2021-10-09
| | | | | * Always allow history to go back/forward when using browser history * Add a back button which is visible when using the query parser
* Search CSS updates (#1979)toasted-nutbread2021-10-09
| | | | | * Update styles * Limit the height of the query parser
* Disable background clipboard monitor, mecab, and anki if disabled (#1977)toasted-nutbread2021-10-03
|
* Display refactoring (#1978)toasted-nutbread2021-10-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Refactor _setContentTermsOrKanji * Update query assignment * Simplify * Remove redundant _updateQueryParser * Reorder query assignment * Remove isTerms, replace with isKanji * Simplify defaults * Refactor events * Update DisplayAnki to use events * Simplify * Update DisplayAudio to use events * Simplify * Move audio hotkeys * Add frameVisibilityChange event * Fix name * Add logDictionaryEntryData event * Move clearAutoPlayTimer handler * Fix call * Externalize DisplayAnki and DisplayAudio from Display * Simplify clear
* Update version21.9.30.0toasted-nutbread2021-09-30
|
* Add disable-popup-preview option to the settings page (#1974)toasted-nutbread2021-09-30
|
* DOMRect update (#1973)toasted-nutbread2021-09-30
| | | | | | | | | * Compare using left/top rather than x/y * Simplify * Update Popup*.getFrameRect to return a custom structure * Don't use x/y on DOMRect
* Make accessibility settings non-advanced (#1972)toasted-nutbread2021-09-30
|
* Hotkey dictionary navigation fix (#1970)toasted-nutbread2021-09-30
| | | | | | | * Add getRect function to ScrollElement * Update _focusEntry to take a definition index * Update behaviour of (next|previous)EntryDifferentDictionary
* Search query offset value (#1968)toasted-nutbread2021-09-27
| | | | | | | | | | | * Add type property to TextSource* classes * Use type property rather than instanceof * Expose a sentence offset value * Use offset added to URL * Improve fallback sentence for Anki note context
* Katakana to hiragana conversion options (#1965)toasted-nutbread2021-09-27
| | | | | | | | | | | | | * Refactor convertKatakanaToHiragana * Add keepProlongedSoundMarks option * Test keepProlongedSoundMarks option * Refactor * Add keepProlongedSoundMarks option to hiragana handlebars helper * Update documentation
* Remove display query post process (#1967)toasted-nutbread2021-09-26
| | | | | * Remove search query post-processing * Remove _rawQuery, as it is redundant with _query
* Rename dictionary import steps (#1966)toasted-nutbread2021-09-26
|
* Update document-start.js to only run for docs.google.com (#1964)toasted-nutbread2021-09-26
| | | | | * Update document-start.js to only run for docs.google.com * Update manifest
* Fix hotkey input field conflict (#1963)toasted-nutbread2021-09-26
| | | | | | | | | | | | | | | | | * Move comment * Add DocumentUtil.isInputElement * Use DocumentUtil.isInputElement * Fix simple hotkeys (shift or no modifier) preventing text field input * Improve input detection * Validate key is an input character before blocking hotkey * Simplify * Fix incorrect property
* Fix japanese codepoint range issues (#1960)toasted-nutbread2021-09-26
| | | | | | | | | * Add CJK_COMPATIBILITY_IDEOGRAPHS_RANGE * Rename CJK_UNIFIED_IDEOGRAPHS_RANGES => CJK_IDEOGRAPH_RANGES * Simplify isKana check * Update tests
* Revert term/reading string normalization due to undesirable changes (#1959)toasted-nutbread2021-09-26
|
* Fix regexMatch and regexReplace handlebars helper functions (#1958)toasted-nutbread2021-09-26
|
* Enable frequency dictionaries to specify the frequency mode (#1944)toasted-nutbread2021-09-26
|
* Ensure frequency values are always numbers (#1943)toasted-nutbread2021-09-26
|
* Frequency dictionary sort (#1938)toasted-nutbread2021-09-26
| | | | | | | | | | | | | | | | | * Add sortDictionary/sortDictionaryOrder options * Update options * Add API.getTermFrequencies * Add settings * Implement frequency dictionary sorting * Update test * Update test data * Fix handling of undefined rank-based frequencies
* Add data-is-primary attribute to headwords (#1946)toasted-nutbread2021-09-11
|
* Display button updates (#1945)toasted-nutbread2021-09-10
| | | | | | | | | * Use span rather than div for button badges * Update action button icons * Rename class * Update current entry indicator
* Fix redundant secondary term lookups (#1942)toasted-nutbread2021-09-09
|
* Normalize terms and readings during import (#1941)toasted-nutbread2021-09-09
|
* Anki field templates suggestions (#1940)toasted-nutbread2021-09-08
| | | | | * Remove unused * Bold the suggested default field value
* Rename _onDocumentStart => _onApiDocumentStart for consistency (#1939)toasted-nutbread2021-09-08
|
* Dictionary import count details (#1935)toasted-nutbread2021-09-07
| | | | | | | | | | | * Store count information when importing a dictionary * Add importDate * Update property ordering * Update tests * Update importDate
* Anki template regex helper updates (#1934)toasted-nutbread2021-09-05
| | | | | * Update regexReplace and regexMatch to support content arguments * Update documentation
* Fix incorrect index being used for headword removal (#1933)toasted-nutbread2021-09-05
|
* Database readwrite transaction updates (#1932)toasted-nutbread2021-09-05
| | | | | | | | | * Add _readWriteTransaction helper * Improve deleteDictionary order * Make onProgress event optional * Simplify progress rate parameter