aboutsummaryrefslogtreecommitdiff
path: root/ext/fg/js/popup-proxy-host.js
Commit message (Collapse)AuthorAge
* Popup proxy host refactor (#516)toasted-nutbread2020-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
* Refactor frontend API classes (#482)toasted-nutbread2020-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
* Update Popup and DisplayFloat optionsContext from Frontend (#464)siikamiika2020-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
* Update license author field to broader to explicitly reflect thatAlex Yatskov2020-04-10
| | | | | Yomichan is an ongoing community project. It really does take a village, and everyone who contributes code owns a part of it :)
* move frame offset forwarding code to a classsiikamiika2020-04-05
|
* adjust iframe popup position to root pagesiikamiika2020-04-05
|
* simplify popup preparesiikamiika2020-04-05
|
* use random ID as popup IDsiikamiika2020-03-21
|
* Update global declarationstoasted-nutbread2020-03-10
|
* strict check if popup depth has been setsiikamiika2020-03-09
|
* start popup depth from 1 on search pagesiikamiika2020-03-09
|
* replace spread with destructuringsiikamiika2020-03-07
|
* fix popup containsPoint offsetsiikamiika2020-03-07
|
* Use .bind instead of () => {}toasted-nutbread2020-02-26
|
* Update how popups are createdtoasted-nutbread2020-02-16
|
* Simplify process to wait for iframe prepare completiontoasted-nutbread2020-02-16
|
* Merge pull request #357 from siikamiika/simplify-display-preparesiikamiika2020-02-14
|\ | | | | Simplify display prepare
| * use sendMessage to notify about initializationsiikamiika2020-02-14
| |
* | Define more globalstoasted-nutbread2020-02-11
|/
* Scale popup based on current page zoom factortoasted-nutbread2020-01-22
|
* Update license info URLtoasted-nutbread2020-01-01
|
* Update copyrighttoasted-nutbread2020-01-01
|
* Move PopupProxyHost initializationtoasted-nutbread2019-12-21
|
* isVisibleAsync => isVisibletoasted-nutbread2019-12-16
|
* isVisible => isVisibleSynctoasted-nutbread2019-12-16
|
* Add setParent to popuptoasted-nutbread2019-12-16
|
* Add _createPopupInternal to return both popup and new IDtoasted-nutbread2019-12-16
|
* Add getContainerRect to popuptoasted-nutbread2019-12-16
|
* Reorganize popup-only public functionstoasted-nutbread2019-12-16
|
* Mark private memberstoasted-nutbread2019-12-16
|
* Mark private message handlerstoasted-nutbread2019-12-16
|
* Mark private functionstoasted-nutbread2019-12-16
|
* jsonRectToDOMRect => convertJsonRectToDOMRecttoasted-nutbread2019-12-16
| | | | Also make static
* Group nested message handlers togethertoasted-nutbread2019-12-16
|
* Update PopupProxyHost.popups to use a Maptoasted-nutbread2019-12-16
|
* Update frontend API receiver handlerstoasted-nutbread2019-12-13
|
* Replace hasOwnProperty with simplified hasOwn functiontoasted-nutbread2019-11-26
|
* Reposition popup on window resize rather than clear the searchtoasted-nutbread2019-10-17
| | | | Fixes #107
* Update *show* APIs to unified showContent and setContenttoasted-nutbread2019-10-17
|
* Assign first popup on the search page as a depth of 1toasted-nutbread2019-10-15
|
* Update how custom CSS is appliedtoasted-nutbread2019-10-12
|
* Don't pass options around for calls to termsShow, kanjiShow, etc.toasted-nutbread2019-10-12
|
* Remove .show popup proxy API since it's not usedtoasted-nutbread2019-10-12
|
* Make popups store optionstoasted-nutbread2019-10-12
|
* Throw Error instead of stringtoasted-nutbread2019-10-08
|
* Rename Popup.setVisible to setVisibleOverridetoasted-nutbread2019-10-05
|
* Fix tab focus being changed due to settings changestoasted-nutbread2019-09-29
|
* Merge pull request #212 from toasted-nutbread/frontend-cleanupAlex Yatskov2019-09-15
|\ | | | | Frontend cleanup
| * Remove destructuring from searchAt, containsPoint, docRangeFromPointtoasted-nutbread2019-09-14
| |
* | Fix nested popups being shown if parent is hiddentoasted-nutbread2019-09-13
|/