aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/js/search-query-parser.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 #456 from siikamiika/parse-text-refactorsiikamiika2020-04-17
|\ | | | | Parse text refactor
| * assume and propagate strings for text parsingsiikamiika2020-04-13
| |
| * move QueryParser.parseText to Backendsiikamiika2020-04-13
| |
* | fix ignoreElements in QueryParsersiikamiika2020-04-11
|/
* 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 :)
* remove stubssiikamiika2020-03-21
|
* use dependency injection in QueryParsersiikamiika2020-03-21
| | | | | Also fix an issue with settings update triggering a lookup on unprepared QueryParser.
* apply all options on profile changesiikamiika2020-03-21
|
* Update global declarationstoasted-nutbread2020-03-10
|
* fix options object locationsiikamiika2020-03-07
|
* use docSentenceExtract in QueryParsersiikamiika2020-03-07
|
* Changed type returned by apiTextParseMecab to avoid using for intoasted-nutbread2020-02-25
|
* Don't use innerHTMLtoasted-nutbread2020-02-23
|
* Simplify ternarytoasted-nutbread2020-02-22
|
* Remove unusedtoasted-nutbread2020-02-11
|
* Define more globalstoasted-nutbread2020-02-11
|
* Change no-undef from off to errortoasted-nutbread2020-02-11
|
* fix async issuessiikamiika2020-02-10
|
* query parser html templatessiikamiika2020-02-10
|
* query parser: add toggle for term spacingsiikamiika2020-01-25
|
* use TextScanner in QueryParsersiikamiika2020-01-16
|
* Update license info URLtoasted-nutbread2020-01-01
|
* Update copyrighttoasted-nutbread2020-01-01
|
* Use string.split instead of Array.fromtoasted-nutbread2019-12-08
|
* Use substring instead of slicetoasted-nutbread2019-12-08
|
* fix query parsersiikamiika2019-12-05
|
* fix clicking on query parsersiikamiika2019-11-28
|
* Update arrow-parens to alwaystoasted-nutbread2019-11-26
|
* Remove trailing commastoasted-nutbread2019-11-26
|
* Use const rather than let where possibletoasted-nutbread2019-11-26
|
* Move additional utility functions to DOMtoasted-nutbread2019-11-26
|
* refactor selected parser refreshingsiikamiika2019-11-23
|
* remove asyncsiikamiika2019-11-23
|
* store local copy of selected parsersiikamiika2019-11-23
| | | | Options don't update early enough even after awaiting
* add parser selectionsiikamiika2019-11-23
|
* explicit checks in while and ifsiikamiika2019-11-23
|
* promise improvementssiikamiika2019-11-23
|
* use constsiikamiika2019-11-23
|
* remove dead codesiikamiika2019-11-23
|
* add parser selection optionssiikamiika2019-11-23
|
* remove code duplicationsiikamiika2019-11-23
|
* click & text selection improvements on search pagesiikamiika2019-11-23
|
* switch to mousemove events in query parsersiikamiika2019-11-23
|
* respect text selection option in query parsersiikamiika2019-11-23
|
* optimize mouseover scanning in query parsersiikamiika2019-11-23
|
* add mecab supportsiikamiika2019-11-23
|
* use handlebars templates for query parsersiikamiika2019-11-23
|