summaryrefslogtreecommitdiff
path: root/ext/bg/js/search.js
Commit message (Collapse)AuthorAge
* 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
* Update Popup and DisplayFloat optionsContext from Frontend (#464)siikamiika2020-04-26
| | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Merge pull request #463 from toasted-nutbread/explicit-entry-pointtoasted-nutbread2020-04-23
|\ | | | | Explicit entry points
| * Rename search-frontend.js to search-main.jstoasted-nutbread2020-04-19
| | | | | | | | Also move DisplaySearch creation into the main() function.
* | Use wanakana object directlytoasted-nutbread2020-04-20
|/
* Merge pull request #443 from toasted-nutbread/fix-get-selectiontoasted-nutbread2020-04-12
|\ | | | | Fix getSelection not working in QueryParser
| * Use window.getSelection instead of document.getSelectiontoasted-nutbread2020-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 :)
* 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 searchQueryUpdatesiikamiika2020-03-09
|
* Use explicit dependency injection for ClipboardMonitortoasted-nutbread2020-03-07
|
* Use events for ClipboardMonitortoasted-nutbread2020-03-07
|
* ensure Backend prepare in other placessiikamiika2020-03-02
|
* Fix empty keys definitions and add Shift/Alt checkstoasted-nutbread2020-02-29
|
* Use .bind instead of () => {}toasted-nutbread2020-02-26
|
* Move event handler definitionstoasted-nutbread2020-02-26
|
* Refactor DisplaySearch.onKeyDownIgnoreKeystoasted-nutbread2020-02-26
|
* Organize, remove unnecessary null checkstoasted-nutbread2020-02-26
|
* Move event handler function bodiestoasted-nutbread2020-02-26
|
* Add no-shadowtoasted-nutbread2020-02-22
|
* Merge pull request #357 from siikamiika/simplify-display-preparesiikamiika2020-02-14
|\ | | | | Simplify display prepare
| * use Promise.all to await dependenciessiikamiika2020-02-13
| |
| * rename display initialize methods to preparesiikamiika2020-02-13
| |
* | 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
|
* preserve search page mode on manual searchsiikamiika2020-02-10
|
* update popup search with chrome.tabs.sendMessagesiikamiika2020-02-10
|
* use parseUrl in Backendsiikamiika2020-02-10
|
* simplify setQuery kana conversionsiikamiika2020-02-09
|
* disable internal clipboard monitor in native popupsiikamiika2020-02-09
|
* fix constant usage from wrong scopesiikamiika2020-02-09
|
* hide search input in native popupssiikamiika2020-02-09
|
* extract ClipboardMonitor from DisplaySearchsiikamiika2020-02-09
|
* move apiClipboardGet Firefox handling to Backendsiikamiika2020-02-09
|
* Replace and remove old character/string testing functionstoasted-nutbread2020-01-24
|
* Update detection of Japanese characterstoasted-nutbread2020-01-24
|
* Only use Display.setContenttoasted-nutbread2020-01-16
|
* use TextScanner in QueryParsersiikamiika2020-01-16
|
* Update license info URLtoasted-nutbread2020-01-01
|
* Update copyrighttoasted-nutbread2020-01-01
|
* Update comment on getClipboardTexttoasted-nutbread2019-12-22
|
* Add comment describing what token is used fortoasted-nutbread2019-12-22
|
* Improve performance of DisplaySearch's clipboard monitortoasted-nutbread2019-12-22
|
* Replace window.yomichan_search with DisplaySearch.instancetoasted-nutbread2019-12-20
|
* Remove redundant getUrl handlerstoasted-nutbread2019-12-13
|
* Add support for prefix wildcardstoasted-nutbread2019-12-07
|