aboutsummaryrefslogtreecommitdiff
path: root/ext/fg/js
Commit message (Collapse)AuthorAge
* Use a Promise to trigger callback when delay is 0 or lesstoasted-nutbread2019-09-19
|
* Normalize XHTML document node.nodeNode to upper casetoasted-nutbread2019-09-15
|
* Merge pull request #212 from toasted-nutbread/frontend-cleanupAlex Yatskov2019-09-15
|\ | | | | Frontend cleanup
| * Remove redundant call of popupTimerCleartoasted-nutbread2019-09-14
| | | | | | | | Also use explicit null checks rather than truthy checks.
| * Return only single element when deepDomScan is not enabledtoasted-nutbread2019-09-14
| |
| * Rename type to causetoasted-nutbread2019-09-14
| |
| * Remove destructuring from searchAt, containsPoint, docRangeFromPointtoasted-nutbread2019-09-14
| |
| * Remove unused variabletoasted-nutbread2019-09-14
| |
| * Remove mouseDownLeft and mouseDownMiddletoasted-nutbread2019-09-14
| | | | | | | | MouseEvent.buttons can be used instead.
* | Merge pull request #211 from toasted-nutbread/validate-content-windowAlex Yatskov2019-09-14
|\ \ | | | | | | Validate contentWindow before focus
| * | Validate contentWindow before focustoasted-nutbread2019-09-14
| |/
* | Merge pull request #210 from toasted-nutbread/defer-port-creationAlex Yatskov2019-09-14
|\ \ | | | | | | Defer creation of communication port until required
| * | Defer creation of communication port until requiredtoasted-nutbread2019-09-14
| |/
* / Fix nested popups being shown if parent is hiddentoasted-nutbread2019-09-13
|/
* Merge pull request #207 from toasted-nutbread/popup-proxy-writing-modeAlex Yatskov2019-09-12
|\ | | | | Add writingMode to PopupProxy* termsShow and kanjiShow
| * Add writingMode to PopupProxy* termsShow and kanjiShowtoasted-nutbread2019-09-11
| |
* | Add a context object for all calls to fetch optionstoasted-nutbread2019-09-10
| |
* | Ensure both Popup and PopupProxy have valid depthtoasted-nutbread2019-09-10
| |
* | Change how options updates are handled on the frontendtoasted-nutbread2019-09-10
|/ | | | Only an 'optionsUpdate' signal is now sent to the frontend with empty data. The frontend then responds by performing apiOptionsGet to update the options. This makes it so that there is only a single function which is responsible for requesting options from the backend.
* Merge pull request #204 from toasted-nutbread/settings-improvementsAlex Yatskov2019-09-08
|\ | | | | Settings improvements
| * Use consistent structure for paramstoasted-nutbread2019-09-06
| |
| * Remove unnecessary functionstoasted-nutbread2019-09-06
| | | | | | | | | | | | apiOptionsSet not required in bg/js/api.js after optionsSave; optionsSave already invokes apiOptionsSet. apiOptionsSet not required in fg/js/api.js since it's never invoked by the foreground. optionsSet handler not required in bg/js/backend.js since the message is never sent by the foreground.
* | Merge pull request #201 from toasted-nutbread/omit-contains-point-checkAlex Yatskov2019-09-05
|\ \ | | | | | | Omit containsPoint check on searchAt
| * | Omit containsPoint check on searchAttoasted-nutbread2019-09-03
| | | | | | | | | | | | The range returned by docRangeFromPoint is now guaranteed to contain the point due to the addition of isPointInRange checks.
* | | Merge pull request #202 from toasted-nutbread/temporary-object-optimizationAlex Yatskov2019-09-05
|\ \ \ | |_|/ |/| | Temporary object optimization
| * | Replace some instances of Array.concattoasted-nutbread2019-09-02
| |/ | | | | | | .push or .unshift can accomplish the same operation without constructing new arrays.
* | Fix nested popups closing when the mouse leaves the parent's recttoasted-nutbread2019-09-03
| |
* | Move static DOM scanning functions into TextSourceRangetoasted-nutbread2019-09-02
| |
* | fix parent focus issues for Firefox and Chromesiikamiika2019-09-02
| |
* | change Popup.children to Popup.childsiikamiika2019-09-02
| |
* | focus the site when closing multi-level popupssiikamiika2019-09-02
| |
* | simplified if statement back to single linesiikamiika2019-09-02
| |
* | prevent closing new child popup on parent mouseoutsiikamiika2019-09-02
| |
* | focus parent popup on hide instead of blurringsiikamiika2019-09-02
| |
* | make containsPoint async everywheresiikamiika2019-09-02
| |
* | Add option to enable/disable scanning of source expressions in popupstoasted-nutbread2019-09-02
| |
* | Update nested initialization parameters passed via message rather than using ↵toasted-nutbread2019-09-02
| | | | | | | | the URL query string
* | Fix messaging issues when iframes are present in the documenttoasted-nutbread2019-09-02
| |
* | Add option for maximum nested popup depthtoasted-nutbread2019-09-02
| |
* | Add support for showing recursive popupstoasted-nutbread2019-09-02
|/
* Fix typotoasted-nutbread2019-09-02
|
* Fix issues caused by scanning ranges which don't start with a text nodetoasted-nutbread2019-09-02
| | | | The rects returned by range.getClientRects() could include the entire start element's bounding box.
* Fix issue with whitespace rangestoasted-nutbread2019-09-02
| | | | The size of the rects for these ranges will sometimes be excessively large on Firefox, leading to false positives.
* Reduce amount of isPointInRange calls for repeated rangestoasted-nutbread2019-09-02
|
* Add option for enabling deep scanningtoasted-nutbread2019-09-02
|
* Allow elements behind other transparent elements to be scannedtoasted-nutbread2019-09-02
|
* Improve definition of caretRangeFromPointtoasted-nutbread2019-09-02
|
* Destructure point to {x, y} only oncetoasted-nutbread2019-09-02
|
* Merge pull request #196 from toasted-nutbread/vertical-text-popup-positionAlex Yatskov2019-09-02
|\ | | | | Vertical text popup position
| * Add option for position of popup for horizontal texttoasted-nutbread2019-08-31
| |