Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Api invoke with progress (#483) | toasted-nutbread | 2020-05-02 |
| | | | | | | | * Create an internal API function to open a port * Create system for running actions over a special port * Don't assign in expression | ||
* | Refactor frontend API classes (#482) | toasted-nutbread | 2020-05-02 |
| | | | | | | | | | | | | | * Mark functions as private * Remove constructor side effects * Use safer handler invocation * Mark functions as private * Mark fields as private * Update BackendApiForwarder public API | ||
* | Anki audio download (#477) | toasted-nutbread | 2020-05-02 |
| | | | | | | | * Update how audio is added to Anki cards * Upgrade Anki templates * Update comments | ||
* | 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 | ||
* | Add helpful link for markers in settings.html (#489) | Allan Wirth | 2020-05-01 |
| | |||
* | Add duplicateScope: 'deck' option (#476) | toasted-nutbread | 2020-04-27 |
| | | | | | | | | | * Add duplicateScope: 'deck' option * Add option to control duplicate scope * Use duplicateScope for findNoteIds * Update location of quotes | ||
* | 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 | ||
* | Use dynamicLoader for main (#481) | toasted-nutbread | 2020-04-26 |
| | | | | | * Update style of search-main and float-main to have better parity * Use dynamicLoader to inject scripts and CSS | ||
* | Add Yomichan icon SVG (#478) | toasted-nutbread | 2020-04-26 |
| | | | | | | | * Create Yomichan icon SVG and 32x32 PNG * Update icons * Add 32x32 icon definition to HTML pages | ||
* | 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 #472 from toasted-nutbread/fix-pitch-accent-high-calculation | toasted-nutbread | 2020-04-23 |
|\ | | | | | Fix high pitch calculation | ||
| * | Update tests | toasted-nutbread | 2020-04-22 |
| | | |||
| * | Fix high pitch calculation | toasted-nutbread | 2020-04-22 |
| | | |||
* | | Merge pull request #467 from toasted-nutbread/dynamic-loader | toasted-nutbread | 2020-04-23 |
|\ \ | | | | | | | Create dynamic script/CSS loader utility | ||
| * | | Remove sentinel script node after load | toasted-nutbread | 2020-04-22 |
| | | | |||
| * | | Create dynamic script/CSS loader utility | toasted-nutbread | 2020-04-21 |
| |/ | |||
* | | Merge pull request #463 from toasted-nutbread/explicit-entry-point | toasted-nutbread | 2020-04-23 |
|\ \ | | | | | | | Explicit entry points | ||
| * | | Use IIFE for entry points | toasted-nutbread | 2020-04-22 |
| | | | |||
| * | | Move popup-nested content into float-main | toasted-nutbread | 2020-04-21 |
| | | | |||
| * | | Create float-main.js | toasted-nutbread | 2020-04-19 |
| | | | |||
| * | | Create popup-preview-frame-main.js | toasted-nutbread | 2020-04-19 |
| | | | |||
| * | | Rename search-frontend.js to search-main.js | toasted-nutbread | 2020-04-19 |
| | | | | | | | | | | | | Also move DisplaySearch creation into the main() function. | ||
| * | | Rename context.js to context-main.js | toasted-nutbread | 2020-04-19 |
| | | | |||
| * | | Create background-main.js | toasted-nutbread | 2020-04-19 |
| | | | |||
| * | | Change frontend-initialize.js to content-script-main.js | toasted-nutbread | 2020-04-19 |
| | | | |||
* | | | Merge pull request #474 from siikamiika/fix-custom-anki-templates | siikamiika | 2020-04-24 |
|\ \ \ | | | | | | | | | fix custom anki templates | ||
| * | | | fix custom anki templates | siikamiika | 2020-04-23 |
|/ / / | |||
* | / | Pitch accent support now available everywhere | Alex Yatskov | 2020-04-22 |
| |/ |/| | |||
* | | Merge pull request #466 from toasted-nutbread/wanakana-global | toasted-nutbread | 2020-04-21 |
|\ \ | |/ |/| | Use wanakana object directly | ||
| * | Use wanakana object directly | toasted-nutbread | 2020-04-20 |
|/ | |||
* | Merge pull request #446 from toasted-nutbread/dictionary-images | toasted-nutbread | 2020-04-19 |
|\ | | | | | Dictionary images | ||
| * | Change some test variables using 'source' instead of 'content' | toasted-nutbread | 2020-04-19 |
| | | |||
| * | Change some more variables using 'source' instead of 'content' | toasted-nutbread | 2020-04-19 |
| | | |||
| * | Add documentation | toasted-nutbread | 2020-04-19 |
| | | |||
| * | Rename loadImage to loadImageBase64 for clarity | toasted-nutbread | 2020-04-19 |
| | | |||
| * | Make getFileNameExtension properly handle directory separators | toasted-nutbread | 2020-04-19 |
| | | |||
| * | Use 'content' instead of 'source' to contain media file data | toasted-nutbread | 2020-04-19 |
| | | |||
| * | Show small image preview on [Image] link hover/focus | toasted-nutbread | 2020-04-18 |
| | | |||
| * | Fix space being inside the <a> and thus being underlined | toasted-nutbread | 2020-04-18 |
| | | |||
| * | Add tests | toasted-nutbread | 2020-04-18 |
| | | |||
| * | Add support for displaying images | toasted-nutbread | 2020-04-18 |
| | | |||
| * | Add API for getting media data | toasted-nutbread | 2020-04-18 |
| | | |||
| * | Add support for importing and storing media files | toasted-nutbread | 2020-04-18 |
|/ | |||
* | Merge pull request #448 from toasted-nutbread/badge-improvements | toasted-nutbread | 2020-04-18 |
|\ | | | | | Badge improvements | ||
| * | Fix _prepareError check | toasted-nutbread | 2020-04-18 |
| | | |||
| * | Remove unused global | toasted-nutbread | 2020-04-18 |
| | | |||
| * | Update style, use isObject | toasted-nutbread | 2020-04-18 |
| | | |||
| * | Show error status for prepare() errors | toasted-nutbread | 2020-04-18 |
| | | |||
| * | Add a delay before showing the loading state | toasted-nutbread | 2020-04-18 |
| | | | | | | | | Intended to prevent flickering when startup is quick |