Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Query parser refactor (#514) | toasted-nutbread | 2020-05-07 |
| | | | | | | | * Make functions private * Make fields private * Organize | ||
* | Remove search query parser inheritance (#509) | toasted-nutbread | 2020-05-06 |
| | | | | | | | | | * Remove getMouseEventListeners override * Use this._options instead of this.options * Make QueryParser use composition instead of inheritance for TextScanner * Remove repeat call to document.querySelector('#query-parser-content') | ||
* | Add apiModifySettings (#501) | toasted-nutbread | 2020-05-06 |
| | | | | | | | | | | | | | | | | | * Update getProfile/getProfileFromContext to store this.options in a variable * Add useSchema parameter to options getter functions * Add apiModifySettings * Use apiModifySettings instead of apiOptionsSet * Remove apiOptionsSet * Fix incorrect deleteCount check * Require explicit scope for options * Throw on invalid scope | ||
* | Extract textSource text inside TextScanner (#500) | siikamiika | 2020-05-05 |
| | | | | | * extract text inside TextScanner * clone textSource before text extraction | ||
* | Remove Frontend inheritance (#486) | toasted-nutbread | 2020-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-nutbread | 2020-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-nutbread | 2020-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 #456 from siikamiika/parse-text-refactor | siikamiika | 2020-04-17 |
|\ | | | | | Parse text refactor | ||
| * | assume and propagate strings for text parsing | siikamiika | 2020-04-13 |
| | | |||
| * | move QueryParser.parseText to Backend | siikamiika | 2020-04-13 |
| | | |||
* | | fix ignoreElements in QueryParser | siikamiika | 2020-04-11 |
|/ | |||
* | Update license author field to broader to explicitly reflect that | Alex Yatskov | 2020-04-10 |
| | | | | | Yomichan is an ongoing community project. It really does take a village, and everyone who contributes code owns a part of it :) | ||
* | remove stubs | siikamiika | 2020-03-21 |
| | |||
* | use dependency injection in QueryParser | siikamiika | 2020-03-21 |
| | | | | | Also fix an issue with settings update triggering a lookup on unprepared QueryParser. | ||
* | apply all options on profile change | siikamiika | 2020-03-21 |
| | |||
* | Update global declarations | toasted-nutbread | 2020-03-10 |
| | |||
* | fix options object location | siikamiika | 2020-03-07 |
| | |||
* | use docSentenceExtract in QueryParser | siikamiika | 2020-03-07 |
| | |||
* | Changed type returned by apiTextParseMecab to avoid using for in | toasted-nutbread | 2020-02-25 |
| | |||
* | Don't use innerHTML | toasted-nutbread | 2020-02-23 |
| | |||
* | Simplify ternary | toasted-nutbread | 2020-02-22 |
| | |||
* | Remove unused | toasted-nutbread | 2020-02-11 |
| | |||
* | Define more globals | toasted-nutbread | 2020-02-11 |
| | |||
* | Change no-undef from off to error | toasted-nutbread | 2020-02-11 |
| | |||
* | fix async issues | siikamiika | 2020-02-10 |
| | |||
* | query parser html templates | siikamiika | 2020-02-10 |
| | |||
* | query parser: add toggle for term spacing | siikamiika | 2020-01-25 |
| | |||
* | use TextScanner in QueryParser | siikamiika | 2020-01-16 |
| | |||
* | Update license info URL | toasted-nutbread | 2020-01-01 |
| | |||
* | Update copyright | toasted-nutbread | 2020-01-01 |
| | |||
* | Use string.split instead of Array.from | toasted-nutbread | 2019-12-08 |
| | |||
* | Use substring instead of slice | toasted-nutbread | 2019-12-08 |
| | |||
* | fix query parser | siikamiika | 2019-12-05 |
| | |||
* | fix clicking on query parser | siikamiika | 2019-11-28 |
| | |||
* | Update arrow-parens to always | toasted-nutbread | 2019-11-26 |
| | |||
* | Remove trailing commas | toasted-nutbread | 2019-11-26 |
| | |||
* | Use const rather than let where possible | toasted-nutbread | 2019-11-26 |
| | |||
* | Move additional utility functions to DOM | toasted-nutbread | 2019-11-26 |
| | |||
* | refactor selected parser refreshing | siikamiika | 2019-11-23 |
| | |||
* | remove async | siikamiika | 2019-11-23 |
| | |||
* | store local copy of selected parser | siikamiika | 2019-11-23 |
| | | | | Options don't update early enough even after awaiting | ||
* | add parser selection | siikamiika | 2019-11-23 |
| | |||
* | explicit checks in while and if | siikamiika | 2019-11-23 |
| | |||
* | promise improvements | siikamiika | 2019-11-23 |
| | |||
* | use const | siikamiika | 2019-11-23 |
| | |||
* | remove dead code | siikamiika | 2019-11-23 |
| | |||
* | add parser selection options | siikamiika | 2019-11-23 |
| | |||
* | remove code duplication | siikamiika | 2019-11-23 |
| | |||
* | click & text selection improvements on search page | siikamiika | 2019-11-23 |
| | |||
* | switch to mousemove events in query parser | siikamiika | 2019-11-23 |
| |