Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Catch WrongDocumentError thrown by compareBoundaryPoints (#491) | toasted-nutbread | 2020-05-02 |
| | | | | | * Catch WrongDocumentError thrown by compareBoundaryPoints * Filter error based on name | ||
* | Remove and unload the popup frame if an unexpected load occurs (#490) | toasted-nutbread | 2020-05-02 |
| | | | | | | | | | * Remove and unload the popup frame if an unexpected load occurs * Remove unused fields * Only update _injectPromiseComplete if the promise is the most recent one * Remove redundant this._injectPromise !== null check | ||
* | Don't parent the popup frame to elements which cause unload (#488) | toasted-nutbread | 2020-05-02 |
| | |||
* | 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 | ||
* | 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 | ||
* | 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 | ||
* | 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 | ||
* | 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 |
| | |||
* | Change frontend-initialize.js to content-script-main.js | toasted-nutbread | 2020-04-19 |
| | |||
* | cache invalidation | siikamiika | 2020-04-18 |
| | |||
* | simplify element source lazy load | siikamiika | 2020-04-18 |
| | |||
* | cache closed shadow dom content windows | siikamiika | 2020-04-18 |
| | |||
* | lazy load element sources | siikamiika | 2020-04-18 |
| | |||
* | optimize source frame finding | siikamiika | 2020-04-18 |
| | |||
* | use getFullscreenElement to check fullscreen | siikamiika | 2020-04-18 |
| | |||
* | move open shadow root iframe finder to a function | siikamiika | 2020-04-18 |
| | |||
* | show popup inside iframe for closed shadow dom | siikamiika | 2020-04-18 |
| | |||
* | support iframes inside open shadow dom | siikamiika | 2020-04-18 |
| | |||
* | disable root frame popup when iframe is fullscreen | siikamiika | 2020-04-18 |
| | |||
* | Merge pull request #447 from toasted-nutbread/util-conversions | toasted-nutbread | 2020-04-18 |
|\ | | | | | Util conversions | ||
| * | Add isExtensionUrl utility function to yomichan object | toasted-nutbread | 2020-04-11 |
| | | |||
* | | Merge pull request #439 from siikamiika/popup-live-toggle | siikamiika | 2020-04-17 |
|\ \ | | | | | | | Popup live toggle | ||
| * | | fix _canEnable being used before setting options | siikamiika | 2020-04-14 |
| | | | |||
| * | | don't focus tab when changing settings | siikamiika | 2020-04-14 |
| | | | |||
| * | | prevent spawning multiple FrameOffsetForwarders | siikamiika | 2020-04-12 |
| | | | |||
| * | | fix optionsContext URL for root popup | siikamiika | 2020-04-12 |
| | | | |||
| * | | remove redundant call guard | siikamiika | 2020-04-11 |
| | | | |||
| * | | simplify frontend disable override | siikamiika | 2020-04-11 |
| | | | |||
| * | | use setters instead of EventDispatcher | siikamiika | 2020-04-11 |
| | | | |||
| * | | fix preview frame error | siikamiika | 2020-04-11 |
| | | | |||
| * | | change iframe popup live | siikamiika | 2020-04-11 |
| | | | |||
| * | | cache created popups | siikamiika | 2020-04-11 |
| | | | |||
| * | | extract different popup creation functions | siikamiika | 2020-04-11 |
| | | | |||
| * | | allow disabling scan on search page live | siikamiika | 2020-04-11 |
| | | | |||
| * | | limit popup depth live | siikamiika | 2020-04-11 |
| | | | |||
| * | | prevent injecting frontend multiple times | siikamiika | 2020-04-11 |
| | | | |||
| * | | listen to optionsUpdated in popup-nested.js | siikamiika | 2020-04-11 |
| |/ | |||
* / | Fix default value of _orphaned | toasted-nutbread | 2020-04-11 |
|/ | |||
* | 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 :) | ||
* | Add support for getting the document title | toasted-nutbread | 2020-04-06 |
| | |||
* | refactor _updateFrameOffset | siikamiika | 2020-04-05 |
| | |||
* | reduce code duplication | siikamiika | 2020-04-05 |
| | |||
* | add option for iframe popups | siikamiika | 2020-04-05 |
| |