summaryrefslogtreecommitdiff
path: root/ext/fg/js/source.js
Commit message (Collapse)AuthorAge
* Use DOMTextScanner (#536)toasted-nutbread2020-06-21
| | | | | | | | | | | | | | | | | * Use DOMTextScanner instead of TextSourceRange.seek* * Move getNodesInRange to dom.js * Move anyNodeMatchesSelector to dom.js * Remove unused functions * Update tests * Add layoutAwareScan option * Use layoutAwareScan for source and sentence scanning * Remove unused IGNORE_TEXT_PATTERN
* Text source refactor (#527)toasted-nutbread2020-05-10
| | | | | | | | | * Update TextSourceElement API to have parity with TextSourceRange * Make fields private * Update equality check * Fix "this.element" being used instead of just "element"
* Fix setStartOffset not appending (#526)toasted-nutbread2020-05-09
|
* Text scanning update (#507)toasted-nutbread2020-05-06
| | | | | * Fix unity test missing a parameter * Update docSentenceExtract to not rescan content
* Style fixes (#494)toasted-nutbread2020-05-02
| | | | | | | * Place multi-line expression parentheses on the correct line * Add function-paren-newline eslint rule * Add some additional eslint rules
* Catch WrongDocumentError thrown by compareBoundaryPoints (#491)toasted-nutbread2020-05-02
| | | | | * Catch WrongDocumentError thrown by compareBoundaryPoints * Filter error based on name
* 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 :)
* Don't use innerHTMLtoasted-nutbread2020-02-23
|
* Check type of other for equals functionstoasted-nutbread2020-02-15
| | | | Fixes #361
* Fix equals function on TextSourceRange when imposter elements are usedtoasted-nutbread2020-01-26
|
* Update license info URLtoasted-nutbread2020-01-01
|
* Update copyrighttoasted-nutbread2020-01-01
|
* Update unused argumentstoasted-nutbread2019-11-26
|
* Use const rather than let where possibletoasted-nutbread2019-11-26
|
* Use single quotestoasted-nutbread2019-11-26
|
* Fix seekForward and seekBackward not handling length=0 case correctlytoasted-nutbread2019-11-08
|
* add missing return to fix vertical text modesiikamiika2019-10-16
|
* Fix getElementWritingMode returning deprecated values on Edgetoasted-nutbread2019-10-13
|
* 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
|
* Normalize XHTML document node.nodeNode to upper casetoasted-nutbread2019-09-15
|
* 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.
* | Move static DOM scanning functions into TextSourceRangetoasted-nutbread2019-09-02
|/
* Merge pull request #196 from toasted-nutbread/vertical-text-popup-positionAlex Yatskov2019-09-02
|\ | | | | Vertical text popup position
| * Improve popup position for vertical texttoasted-nutbread2019-08-31
| |
* | Create container for imposter elementtoasted-nutbread2019-09-01
| | | | | | | | The container will prevent the imposter element's size from affecting the document's primary scrollbars.
* | Make the imposter element tracked using TextSourceRangetoasted-nutbread2019-08-31
|/
* fix off by one errorsiikamiika2019-08-19
|
* ensure that content is iterablesiikamiika2019-08-15
|
* reimplement ignored chars inside source.js onlysiikamiika2019-08-15
|
* ignore zero-width non-joinersiikamiika2019-08-14
| | | | fixes #179
* add option to automatically hide search results (fixes #71)Alex Yatskov2017-09-16
|
* frontend cleanupAlex Yatskov2017-08-15
|
* unify filesAlex Yatskov2017-08-13