Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Validate document nodes before use (#493) | toasted-nutbread | 2020-05-02 |
| | | | | | | | | | | | | | * Validate document.body before use in loadScripts This also fixes an issue where reject wasn't being passed to loadScriptSentinel. * Validate document nodes before use in _getSiteColor * Validate document.body before use in _getViewport * Validate document.body before use in setContentScale * Validate document.body before use in docImposterCreate | ||
* | 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 | ||
* | Create float-main.js | toasted-nutbread | 2020-04-19 |
| | |||
* | 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 |
| | |||
* | apply all options on profile change | siikamiika | 2020-03-21 |
| | |||
* | Update global declarations | toasted-nutbread | 2020-03-10 |
| | |||
* | fix hotkeys in popup | siikamiika | 2020-03-01 |
| | |||
* | Use .bind instead of () => {} | toasted-nutbread | 2020-02-26 |
| | |||
* | Move event handler definitions | toasted-nutbread | 2020-02-26 |
| | |||
* | Use a token to ensure that messages are coming from Yomichan | toasted-nutbread | 2020-02-17 |
| | |||
* | Prevent multiple prepare calls | toasted-nutbread | 2020-02-16 |
| | |||
* | Simplify process to wait for iframe prepare completion | toasted-nutbread | 2020-02-16 |
| | |||
* | Add global apiForward | toasted-nutbread | 2020-02-14 |
| | |||
* | Merge pull request #357 from siikamiika/simplify-display-prepare | siikamiika | 2020-02-14 |
|\ | | | | | Simplify display prepare | ||
| * | use sendMessage to notify about initialization | siikamiika | 2020-02-14 |
| | | |||
| * | notify popup about initialization | siikamiika | 2020-02-13 |
| | | |||
| * | rename display initialize methods to prepare | siikamiika | 2020-02-13 |
| | | |||
* | | Define more globals | toasted-nutbread | 2020-02-11 |
|/ | |||
* | Scale popup based on current page zoom factor | toasted-nutbread | 2020-01-22 |
| | |||
* | Only use Display.setContent | toasted-nutbread | 2020-01-16 |
| | |||
* | Update license info URL | toasted-nutbread | 2020-01-01 |
| | |||
* | Update copyright | toasted-nutbread | 2020-01-01 |
| | |||
* | Replace window.yomichan_display with DisplayFloat.instance | toasted-nutbread | 2019-12-20 |
| | |||
* | Update how orphan state is observed | toasted-nutbread | 2019-12-20 |
| | |||
* | Update display float key handlers | toasted-nutbread | 2019-12-13 |
| | |||
* | Update float message handlers | toasted-nutbread | 2019-12-13 |
| | |||
* | Replace hasOwnProperty with simplified hasOwn function | toasted-nutbread | 2019-11-26 |
| | |||
* | Update *show* APIs to unified showContent and setContent | toasted-nutbread | 2019-10-17 |
| | |||
* | Update how custom CSS is applied | toasted-nutbread | 2019-10-12 |
| | |||
* | Remove Display.dependencies | toasted-nutbread | 2019-10-12 |
| | |||
* | Don't pass options around for calls to termsShow, kanjiShow, etc. | toasted-nutbread | 2019-10-12 |
| | |||
* | Update Display initialization process | toasted-nutbread | 2019-10-12 |
| | |||
* | Frontend updates | toasted-nutbread | 2019-10-11 |
| | |||
* | Create utility function for logging errors | toasted-nutbread | 2019-10-08 |
| | |||
* | Simplify float initialization | toasted-nutbread | 2019-10-02 |
| | |||
* | Use static object for float message handlers | toasted-nutbread | 2019-10-02 |
| | |||
* | Use KeyboardEvent.key for onKeyDown handlers | toasted-nutbread | 2019-10-02 |
| | |||
* | Use raw element references for container and spinner | toasted-nutbread | 2019-09-27 |
| | |||
* | Remove jQuery usage from float.js | toasted-nutbread | 2019-09-27 |
| | |||
* | Add support for using optionsContext to select which profile to use | toasted-nutbread | 2019-09-18 |
| | |||
* | Add a context object for all calls to fetch options | toasted-nutbread | 2019-09-10 |
| | |||
* | Update nested initialization parameters passed via message rather than using ↵ | toasted-nutbread | 2019-09-02 |
| | | | | the URL query string | ||
* | Add support for Edge browser | toasted-nutbread | 2019-08-26 |
| | |||
* | inject doc functions as dependencies | siikamiika | 2019-08-03 |
| |