Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | PopupProxy refactor (#609) | toasted-nutbread | 2020-06-14 |
| | | | | | | | | | | | * Remove setDisabled member; replace with an event * Pass frameOffsetForwarder directly to PopupProxy * Replace .start with .prepare * Make onMessage private * Make message safer and handle unexpected inputs | ||
* | Use cross frame API (#553) | toasted-nutbread | 2020-06-07 |
| | | | | | | | | | * Use new CrossFrameAPI for popup proxy communication * Remove use of old cross-frame communication classes * Remove use of old cross-frame communication files * Make the crossFrame object a member of the api object | ||
* | Frontend/popup proxy message refactoring (#520) | toasted-nutbread | 2020-05-09 |
| | | | | | | | | | | | | | * Use direct message handler functions * Remove unused targetPopupId * Make target a member of FrontendApiSender * Rename frameId to parentFrameId for clarity * Remove _parentFrameId * Rename _parentId to _parentPopupId for clarity | ||
* | Popup proxy host refactor (#516) | toasted-nutbread | 2020-05-08 |
| | | | | | | | | | | | | | | | | | | | | | | | * Rename PopupProxyHost to PopupFactory * Update FrontendApiReceiver to support non-async handlers * Make some functions non-async * Make setCustomCss non-async * Make setContentScale non-async * Remove static * Rename variables * Pass frameId into PopupFactory's constructor * Change FrontendApiReceiver source from popup-proxy-host to popup-factor * Rename _invokeHostApi to _invoke * Rename PopupProxy.getHostUrl to getUrl | ||
* | 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 | ||
* | show popup inside iframe for closed shadow dom | siikamiika | 2020-04-18 |
| | |||
* | 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 :) | ||
* | refactor _updateFrameOffset | siikamiika | 2020-04-05 |
| | |||
* | reduce code duplication | siikamiika | 2020-04-05 |
| | |||
* | give a name to a timeout | siikamiika | 2020-04-05 |
| | |||
* | move broadcastRootPopupInformation to Frontend | siikamiika | 2020-04-05 |
| | |||
* | default to [0, 0] when sourceFrame is not found | siikamiika | 2020-04-05 |
| | |||
* | error handling | siikamiika | 2020-04-05 |
| | |||
* | throttle frame offset getting | siikamiika | 2020-04-05 |
| | |||
* | refactor | siikamiika | 2020-04-05 |
| | |||
* | move frame offset forwarding code to a class | siikamiika | 2020-04-05 |
| | |||
* | simplify popup proxy prepare | siikamiika | 2020-04-05 |
| | |||
* | fix and simplify | siikamiika | 2020-04-05 |
| | |||
* | adjust iframe popup position to root page | siikamiika | 2020-04-05 |
| | |||
* | apply all options on profile change | siikamiika | 2020-03-21 |
| | |||
* | Update global declarations | toasted-nutbread | 2020-03-10 |
| | |||
* | Update how popups are created | toasted-nutbread | 2020-02-16 |
| | |||
* | Simplify process to wait for iframe prepare completion | toasted-nutbread | 2020-02-16 |
| | |||
* | 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 |
| | | |||
* | | Define more globals | toasted-nutbread | 2020-02-11 |
|/ | |||
* | Fix undefined id | toasted-nutbread | 2020-02-11 |
| | |||
* | Scale popup based on current page zoom factor | toasted-nutbread | 2020-01-22 |
| | |||
* | Update license info URL | toasted-nutbread | 2020-01-01 |
| | |||
* | Update copyright | toasted-nutbread | 2020-01-01 |
| | |||
* | Make PopupProxy functions async enabled status match Popup | toasted-nutbread | 2019-12-16 |
| | |||
* | isVisibleAsync => isVisible | toasted-nutbread | 2019-12-16 |
| | |||
* | Remove unused child getter | toasted-nutbread | 2019-12-16 |
| | |||
* | Add Popup.isProxy | toasted-nutbread | 2019-12-16 |
| | |||
* | Flag members as private | toasted-nutbread | 2019-12-16 |
| | |||
* | Mark PopupProxy internal functions as private | toasted-nutbread | 2019-12-16 |
| | |||
* | Reposition popup on window resize rather than clear the search | toasted-nutbread | 2019-10-17 |
| | | | | Fixes #107 | ||
* | Update *show* APIs to unified showContent and setContent | toasted-nutbread | 2019-10-17 |
| | |||
* | Update how custom CSS is applied | toasted-nutbread | 2019-10-12 |
| | |||
* | Don't pass options around for calls to termsShow, kanjiShow, etc. | toasted-nutbread | 2019-10-12 |
| | |||
* | Remove .show popup proxy API since it's not used | toasted-nutbread | 2019-10-12 |
| | |||
* | Make popups store options | toasted-nutbread | 2019-10-12 |
| | |||
* | Update rejections to use Error | toasted-nutbread | 2019-10-08 |
| | |||
* | Rename Popup.setVisible to setVisibleOverride | toasted-nutbread | 2019-10-05 |
| | |||
* | Fix tab focus being changed due to settings changes | toasted-nutbread | 2019-09-29 |
| | |||
* | Add support for using optionsContext to select which profile to use | toasted-nutbread | 2019-09-18 |
| | |||
* | Remove destructuring from searchAt, containsPoint, docRangeFromPoint | toasted-nutbread | 2019-09-14 |
| | |||
* | Merge pull request #207 from toasted-nutbread/popup-proxy-writing-mode | Alex Yatskov | 2019-09-12 |
|\ | | | | | Add writingMode to PopupProxy* termsShow and kanjiShow | ||
| * | Add writingMode to PopupProxy* termsShow and kanjiShow | toasted-nutbread | 2019-09-11 |
| | |