| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
|
|
|
| |
* Create new class for scanning text in a document
* Update test styles
* Add tests
|
|
|
|
|
|
|
| |
* Place multi-line expression parentheses on the correct line
* Add function-paren-newline eslint rule
* Add some additional eslint rules
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Validate document.body before use in loadScripts
This also fixes an issue where reject wasn't being passed to loadScriptSentinel.
* Validate document nodes before use in _getSiteColor
* Validate document.body before use in _getViewport
* Validate document.body before use in setContentScale
* Validate document.body before use in docImposterCreate
|
|
|
|
|
| |
* Catch WrongDocumentError thrown by compareBoundaryPoints
* Filter error based on name
|
|
|
|
|
|
|
|
|
| |
* Remove and unload the popup frame if an unexpected load occurs
* Remove unused fields
* Only update _injectPromiseComplete if the promise is the most recent one
* Remove redundant this._injectPromise !== null check
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Simplify function names
* Add delete and swap functions
* Remove custom setter
Not currently part of the expected use cases.
* Add documentation
* Update tests
* Add delete test functions
* Update tests to use fresh objects
* Add swap test functions
* Add empty tests
* Disable delete on arrays
|
|
|
|
|
|
|
| |
* Create an internal API function to open a port
* Create system for running actions over a special port
* Don't assign in expression
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Mark functions as private
* Remove constructor side effects
* Use safer handler invocation
* Mark functions as private
* Mark fields as private
* Update BackendApiForwarder public API
|
|
|
|
|
|
|
| |
* Update how audio is added to Anki cards
* Upgrade Anki templates
* Update comments
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Make Frontend use composition instead of inheritance for TextScanner
* Use push instead of concat
* Update setOptions and setEnabled APIs
* Update how onWindowMessage event listener is added/removed
* Rename options to _options
* Use bind instead of arrow function
* Fix selection being cleared due to settings changes
|
| |
|
|
|
|
|
|
|
|
|
| |
* Add duplicateScope: 'deck' option
* Add option to control duplicate scope
* Use duplicateScope for findNoteIds
* Update location of quotes
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Remove _getVisualViewportScale
* Use super's mouse event listener definitions
* Remove redundant override
* Remove getTouchEventListeners override
* Rename Display.onSearchClear to onEscape
* Change onSearchClear to clearSelection and use an event
* Update how text is marked for selection and deselection
* Replace onError with yomichan.logError
* Update setEnabled to refresh all event listeners
|
|
|
|
|
| |
* Update style of search-main and float-main to have better parity
* Use dynamicLoader to inject scripts and CSS
|
|
|
|
|
|
|
| |
* Create Yomichan icon SVG and 32x32 PNG
* Update icons
* Add 32x32 icon definition to HTML pages
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Create new logging methods on yomichan object
* Use new yomichan.logError instead of global logError
* Remove old logError
* Handle unhandledrejection events
* Add addEventListener stub
* Update log function
* Update error conversion to support more types
* Add log event
* Add API log function
* Log errors to the backend
* Make error/warning logs update the badge
* Clear log error indicator on extension button click
* Log correct URL on the background page
* Fix incorrect error conversion
* Remove unhandledrejection handling
Firefox doesn't support it properly.
* Remove unused argument type from log function
* Improve function name
* Change console.warn to yomichan.logWarning
* Move log forwarding initialization into main scripts
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* set optionsContext from Frontend
* update Popup+Display options on Frontend change
* remove popup setOptions
* only update DisplayFloat options from Frontend
* fix optionsContext usage
* fix preview frame arguments
* keep Frontend URL up to date
* cache url
* fix preview frame
* trigger modifyingProfileChange in correct places
* remove async from function not using await
* refactor optionsContext in Frontend
|
|\
| |
| | |
Fix high pitch calculation
|
| | |
|
| | |
|
|\ \
| | |
| | | |
Create dynamic script/CSS loader utility
|
| | | |
|
| |/ |
|
|\ \
| | |
| | | |
Explicit entry points
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
Also move DisplaySearch creation into the main() function.
|
| | | |
|
| | | |
|
| | | |
|
|\ \ \
| | | |
| | | | |
fix custom anki templates
|
|/ / / |
|
| |/
|/| |
|
|\ \
| |/
|/| |
Use wanakana object directly
|
|/ |
|
|\
| |
| | |
Dictionary images
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|