summaryrefslogtreecommitdiff
path: root/ext/fg/js
Commit message (Collapse)AuthorAge
* Create utility function for logging errorstoasted-nutbread2019-10-08
|
* Update rejections to use Errortoasted-nutbread2019-10-08
|
* Throw Error instead of stringtoasted-nutbread2019-10-08
|
* Merge pull request #234 from toasted-nutbread/remove-frontend-event-listenersAlex Yatskov2019-10-05
|\ | | | | Remove event listeners when scanning is disabled
| * Remove event listeners when scanning is disabledtoasted-nutbread2019-10-05
| |
* | Make the window.onresize handler not change focustoasted-nutbread2019-10-05
| |
* | Update how popup visibility workstoasted-nutbread2019-10-05
| |
* | Rename Popup.setVisible to setVisibleOverridetoasted-nutbread2019-10-05
|/
* Merge pull request #233 from toasted-nutbread/static-handlersAlex Yatskov2019-10-05
|\ | | | | Static handlers
| * Simplify float initializationtoasted-nutbread2019-10-02
| |
| * Use static object for float message handlerstoasted-nutbread2019-10-02
| |
| * Use static object for frontend message handlerstoasted-nutbread2019-10-02
| |
| * Use KeyboardEvent.key for onKeyDown handlerstoasted-nutbread2019-10-02
| |
* | Fix inconsistent return typetoasted-nutbread2019-10-01
|/
* Merge pull request #225 from toasted-nutbread/text-source-range-improvementsAlex Yatskov2019-09-30
|\ | | | | TextSourceRange improvements
| * Refactor seekForward and seekBackwardtoasted-nutbread2019-09-28
| |
| * Fix incorrect checktoasted-nutbread2019-09-28
| |
| * Directly return rather than use a temporary variabletoasted-nutbread2019-09-28
| |
| * Change skipped node types to use a switch statementtoasted-nutbread2019-09-28
| |
* | Fix tab focus being changed due to settings changestoasted-nutbread2019-09-29
| |
* | Use raw element references for container and spinnertoasted-nutbread2019-09-27
| |
* | Remove jQuery usage from float.jstoasted-nutbread2019-09-27
|/
* Merge pull request #218 from toasted-nutbread/settings-profile-conditionsAlex Yatskov2019-09-23
|\ | | | | Settings profile conditions
| * Add support for using optionsContext to select which profile to usetoasted-nutbread2019-09-18
| |
* | Merge pull request #219 from toasted-nutbread/fix-null-caret-positionAlex Yatskov2019-09-22
|\ \ | | | | | | Handle null return value of document.caretPositionFromPoint
| * | Handle null return value of document.caretPositionFromPointtoasted-nutbread2019-09-18
| |/
* / 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.