Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | 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 | ||
* | Text selection fixes (#511) | siikamiika | 2020-05-07 |
| | | | | | * select matched text in Frontend.findKanji * blur search query input when setting content | ||
* | Modifier key profile condition (#487) | siikamiika | 2020-05-03 |
| | | | | | | | | | | | | | | | | | | | | | | | | | * update Frontend options on modifier change * add modifier key profile condition * use select element for modifier condition value * support "is" and "is not" modifier key conditions * use plural * remove dead null check it's never null in that function * pass element on rather than assigning to this * rename event * remove Firefox OS key to Meta detection * hide Meta from dropdown on Firefox * move input type | ||
* | 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 | ||
* | Update Popup and DisplayFloat optionsContext from Frontend (#464) | siikamiika | 2020-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-point | toasted-nutbread | 2020-04-23 |
|\ | | | | | Explicit entry points | ||
| * | Rename search-frontend.js to search-main.js | toasted-nutbread | 2020-04-19 |
| | | | | | | | | Also move DisplaySearch creation into the main() function. | ||
* | | Use wanakana object directly | toasted-nutbread | 2020-04-20 |
|/ | |||
* | Merge pull request #443 from toasted-nutbread/fix-get-selection | toasted-nutbread | 2020-04-12 |
|\ | | | | | Fix getSelection not working in QueryParser | ||
| * | Use window.getSelection instead of document.getSelection | toasted-nutbread | 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 :) | ||
* | 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 searchQueryUpdate | siikamiika | 2020-03-09 |
| | |||
* | Use explicit dependency injection for ClipboardMonitor | toasted-nutbread | 2020-03-07 |
| | |||
* | Use events for ClipboardMonitor | toasted-nutbread | 2020-03-07 |
| | |||
* | ensure Backend prepare in other places | siikamiika | 2020-03-02 |
| | |||
* | Fix empty keys definitions and add Shift/Alt checks | toasted-nutbread | 2020-02-29 |
| | |||
* | Use .bind instead of () => {} | toasted-nutbread | 2020-02-26 |
| | |||
* | Move event handler definitions | toasted-nutbread | 2020-02-26 |
| | |||
* | Refactor DisplaySearch.onKeyDownIgnoreKeys | toasted-nutbread | 2020-02-26 |
| | |||
* | Organize, remove unnecessary null checks | toasted-nutbread | 2020-02-26 |
| | |||
* | Move event handler function bodies | toasted-nutbread | 2020-02-26 |
| | |||
* | Add no-shadow | toasted-nutbread | 2020-02-22 |
| | |||
* | Merge pull request #357 from siikamiika/simplify-display-prepare | siikamiika | 2020-02-14 |
|\ | | | | | Simplify display prepare | ||
| * | use Promise.all to await dependencies | siikamiika | 2020-02-13 |
| | | |||
| * | rename display initialize methods to prepare | siikamiika | 2020-02-13 |
| | | |||
* | | 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 |
| | |||
* | preserve search page mode on manual search | siikamiika | 2020-02-10 |
| | |||
* | update popup search with chrome.tabs.sendMessage | siikamiika | 2020-02-10 |
| | |||
* | use parseUrl in Backend | siikamiika | 2020-02-10 |
| | |||
* | simplify setQuery kana conversion | siikamiika | 2020-02-09 |
| | |||
* | disable internal clipboard monitor in native popup | siikamiika | 2020-02-09 |
| | |||
* | fix constant usage from wrong scope | siikamiika | 2020-02-09 |
| | |||
* | hide search input in native popups | siikamiika | 2020-02-09 |
| | |||
* | extract ClipboardMonitor from DisplaySearch | siikamiika | 2020-02-09 |
| | |||
* | move apiClipboardGet Firefox handling to Backend | siikamiika | 2020-02-09 |
| | |||
* | Replace and remove old character/string testing functions | toasted-nutbread | 2020-01-24 |
| | |||
* | Update detection of Japanese characters | toasted-nutbread | 2020-01-24 |
| | |||
* | Only use Display.setContent | toasted-nutbread | 2020-01-16 |
| | |||
* | use TextScanner in QueryParser | siikamiika | 2020-01-16 |
| | |||
* | Update license info URL | toasted-nutbread | 2020-01-01 |
| | |||
* | Update copyright | toasted-nutbread | 2020-01-01 |
| | |||
* | Update comment on getClipboardText | toasted-nutbread | 2019-12-22 |
| | |||
* | Add comment describing what token is used for | toasted-nutbread | 2019-12-22 |
| |