Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | 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 | ||
* | 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 | ||
| * | Fix high pitch calculation | toasted-nutbread | 2020-04-22 |
| | | |||
* | | Remove sentinel script node after load | toasted-nutbread | 2020-04-22 |
| | | |||
* | | Create dynamic script/CSS loader utility | toasted-nutbread | 2020-04-21 |
|/ | |||
* | Change some more variables using 'source' instead of 'content' | toasted-nutbread | 2020-04-19 |
| | |||
* | Use 'content' instead of 'source' to contain media file data | toasted-nutbread | 2020-04-19 |
| | |||
* | Add support for displaying images | toasted-nutbread | 2020-04-18 |
| | |||
* | Add API for getting media data | toasted-nutbread | 2020-04-18 |
| | |||
* | Merge pull request #442 from toasted-nutbread/audio-system-refactoring | toasted-nutbread | 2020-04-18 |
|\ | | | | | Audio system refactoring | ||
| * | Fix overlapping audio.play calls due to await | toasted-nutbread | 2020-04-18 |
| | | |||
| * | Await and handle errors from audio.play() | toasted-nutbread | 2020-04-18 |
| | | |||
| * | Update style | toasted-nutbread | 2020-04-18 |
| | | |||
| * | Fix button title text not updating correctly in merge mode | toasted-nutbread | 2020-04-18 |
| | | |||
| * | Return index of the source instead of the source value | toasted-nutbread | 2020-04-18 |
| | | |||
| * | Only return the cached value if it uses a valid source | toasted-nutbread | 2020-04-18 |
| | | |||
| * | Disable cache on the backend and fix a bug with the cache key | toasted-nutbread | 2020-04-18 |
| | | |||
| * | Remove de/structuring from public API | toasted-nutbread | 2020-04-18 |
| | | |||
| * | Update the parameters passed to various audio-related functions | toasted-nutbread | 2020-04-18 |
| | | |||
* | | use getFullscreenElement to check fullscreen | siikamiika | 2020-04-18 |
|/ | |||
* | Merge pull request #447 from toasted-nutbread/util-conversions | toasted-nutbread | 2020-04-18 |
|\ | | | | | Util conversions | ||
| * | Convert some util* functions into api* functions | toasted-nutbread | 2020-04-11 |
| | | |||
| * | Add isExtensionUrl utility function to yomichan object | toasted-nutbread | 2020-04-11 |
| | | |||
* | | Merge pull request #456 from siikamiika/parse-text-refactor | siikamiika | 2020-04-17 |
|\ \ | | | | | | | Parse text refactor | ||
| * | | move QueryParser.parseText to Backend | siikamiika | 2020-04-13 |
| | | | |||
* | | | Merge pull request #439 from siikamiika/popup-live-toggle | siikamiika | 2020-04-17 |
|\ \ \ | |/ / |/| | | Popup live toggle | ||
| * | | simplify frontend disable override | siikamiika | 2020-04-11 |
| | | | |||
| * | | change iframe popup live | siikamiika | 2020-04-11 |
| | | | |||
| * | | limit popup depth live | siikamiika | 2020-04-11 |
| |/ | |||
* | | Merge pull request #443 from toasted-nutbread/fix-get-selection | toasted-nutbread | 2020-04-12 |
|\ \ | |/ |/| | Fix getSelection not working in QueryParser | ||
| * | Fix getSelection not working in QueryParser | toasted-nutbread | 2020-04-10 |
| | | |||
* | | Merge pull request #438 from toasted-nutbread/display-generator-refactoring | toasted-nutbread | 2020-04-11 |
|\ \ | | | | | | | Display generator refactoring | ||
| * | | Simplify access to details fields in createTermEntry | toasted-nutbread | 2020-04-09 |
| | | | |||
| * | | Update how termTags is passed to _createTermExpression | toasted-nutbread | 2020-04-09 |
| | | | |||
| * | | Rename "only" to "disambiguation" to match naming convention used for pitch ↵ | toasted-nutbread | 2020-04-09 |
| | | | | | | | | | | | | accents | ||
| * | | Update _appendMultiple to not use a fallback | toasted-nutbread | 2020-04-09 |
| | | | |||
| * | | Organize | toasted-nutbread | 2020-04-09 |
| | | | |||
| * | | Mark functions as private | toasted-nutbread | 2020-04-09 |
| | | | |||
| * | | Remove statics | toasted-nutbread | 2020-04-09 |
| | | | |||
| * | | Remove data-multi assignments | toasted-nutbread | 2020-04-09 |
| |/ | |||
* | | Merge pull request #437 from toasted-nutbread/backend-api-handler-changes | toasted-nutbread | 2020-04-11 |
|\ \ | | | | | | | Backend api handler changes | ||
| * | | apiBroadcast => apiBroadcastTab | toasted-nutbread | 2020-04-10 |
| | | | |||
| * | | Rename apiForward to apiBroadcast | toasted-nutbread | 2020-04-07 |
| |/ | |||
* / | 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 :) | ||
* | Fix not awaiting this._getNoteContext | toasted-nutbread | 2020-04-06 |
| | |||
* | Add overridable getDocumentTitle | toasted-nutbread | 2020-04-06 |
| | |||
* | Add support for {document-title} | toasted-nutbread | 2020-04-06 |
| |