summaryrefslogtreecommitdiff
path: root/ext/mixed/js/text-scanner.js
Commit message (Collapse)AuthorAge
* Remove Frontend inheritance (#486)toasted-nutbread2020-05-02
| | | | | | | | | | | | | | | * 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
* Frontend refactor (part 1) (#484)toasted-nutbread2020-04-27
| | | | | | | | | | | | | | | | | | | * 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
* Error logging refactoring (#454)toasted-nutbread2020-04-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Merge pull request #439 from siikamiika/popup-live-togglesiikamiika2020-04-17
|\ | | | | Popup live toggle
| * simplify frontend disable overridesiikamiika2020-04-11
| |
| * change iframe popup livesiikamiika2020-04-11
| |
| * limit popup depth livesiikamiika2020-04-11
| |
* | Merge pull request #443 from toasted-nutbread/fix-get-selectiontoasted-nutbread2020-04-12
|\ \ | |/ |/| Fix getSelection not working in QueryParser
| * Fix getSelection not working in QueryParsertoasted-nutbread2020-04-10
| |
* | Update license author field to broader to explicitly reflect thatAlex Yatskov2020-04-10
|/ | | | | Yomichan is an ongoing community project. It really does take a village, and everyone who contributes code owns a part of it :)
* apply all options on profile changesiikamiika2020-03-21
|
* Update global declarationstoasted-nutbread2020-03-10
|
* Fix indentationtoasted-nutbread2020-02-22
|
* Replace getIndexOfTouch with getTouchtoasted-nutbread2020-02-22
|
* Create EventListenerCollection classtoasted-nutbread2020-02-16
|
* Change no-undef from off to errortoasted-nutbread2020-02-11
|
* Ensure textSource is cleaned up if it isn't usedtoasted-nutbread2020-01-26
|
* use TextScanner in QueryParsersiikamiika2020-01-16
|
* Update license info URLtoasted-nutbread2020-01-01
|
* Update copyrighttoasted-nutbread2020-01-01
|
* Simplify options passed to docRangeFromPointtoasted-nutbread2019-12-17
|
* simplify with inheritancesiikamiika2019-12-06
|
* move text selection to TextScannersiikamiika2019-12-05
|
* scan decouplingsiikamiika2019-12-05
|
* initial text scanner extractsiikamiika2019-12-05