<feed xmlns='http://www.w3.org/2005/Atom'>
<title>yomitan/ext/js/dom, branch 23.3.18.0</title>
<subtitle>refold-tools yomitan fork</subtitle>
<id>https://git.pipeframe.xyz/fork/yomitan/atom?h=23.3.18.0</id>
<link rel='self' href='https://git.pipeframe.xyz/fork/yomitan/atom?h=23.3.18.0'/>
<link rel='alternate' type='text/html' href='https://git.pipeframe.xyz/fork/yomitan/'/>
<updated>2022-09-28T00:17:59+00:00</updated>
<entry>
<title>Cleanup and refactoring (#2239)</title>
<updated>2022-09-28T00:17:59+00:00</updated>
<author>
<name>toasted-nutbread</name>
<email>toasted-nutbread@users.noreply.github.com</email>
</author>
<published>2022-09-28T00:17:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.pipeframe.xyz/fork/yomitan/commit/?id=f76c7d74d076b53d2f17ef4d234d4fa894bbf611'/>
<id>urn:sha1:f76c7d74d076b53d2f17ef4d234d4fa894bbf611</id>
<content type='text'>
* Remove unused ignoreSelectors

* Remove unused isMouseButtonPressed

* Update getWritingMode to use the immediate element if possible

* Move static functions to DocumentUtil

* Fix documentation</content>
</entry>
<entry>
<title>More API documentation (#2238)</title>
<updated>2022-09-26T23:37:14+00:00</updated>
<author>
<name>toasted-nutbread</name>
<email>toasted-nutbread@users.noreply.github.com</email>
</author>
<published>2022-09-26T23:37:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.pipeframe.xyz/fork/yomitan/commit/?id=be7855bad2e3b452ca0700246a376f107a75e79e'/>
<id>urn:sha1:be7855bad2e3b452ca0700246a376f107a75e79e</id>
<content type='text'>
* Document TextSourceRange

* Document TextSourceElement

* Document DocumentUtil

* Document DocumentFocusController</content>
</entry>
<entry>
<title>TextSource* API updates (#2236)</title>
<updated>2022-09-25T13:37:33+00:00</updated>
<author>
<name>toasted-nutbread</name>
<email>toasted-nutbread@users.noreply.github.com</email>
</author>
<published>2022-09-25T13:37:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.pipeframe.xyz/fork/yomitan/commit/?id=75d30594511a6593044565829ad55369fecaf4cd'/>
<id>urn:sha1:75d30594511a6593044565829ad55369fecaf4cd</id>
<content type='text'>
* Move TextSourceRange static functions to DocumentUtil

getWritingMode is also simplified

* Update Google Docs range to be empty to match other range sources

* Rename imposterContainer to imposterElement

* Add static creation functions

* Add static creation function

* Remove unused collapse function

* Don't select imposter elements

* Refactor setEndOffset

* Adjust argument order for setEndOffset

* Update TextSourceRange constructor

* Remove unused isConnected

* Cache rects

* Fix test

* Remove unused getRect

* Revert "Fix test"

* Remove cachedRect

* Use the source element rect to handle scroll differences

* Writing mode update

* Remove _cachedRects update

This shouldn't be necessary as the imposter is usually detached
almost immediately after scanning, giving no time for the window
to be resized or scrolled.</content>
</entry>
<entry>
<title>DocumentUtil extensibility (#2234)</title>
<updated>2022-09-24T21:17:10+00:00</updated>
<author>
<name>toasted-nutbread</name>
<email>toasted-nutbread@users.noreply.github.com</email>
</author>
<published>2022-09-24T21:17:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.pipeframe.xyz/fork/yomitan/commit/?id=da52caa15247f82377e5d914306de1713ed63cea'/>
<id>urn:sha1:da52caa15247f82377e5d914306de1713ed63cea</id>
<content type='text'>
* Update DocumentUtil.getRangeFromPoint to be extensible

* Add documentation</content>
</entry>
<entry>
<title>DocumentUtil static (#2232)</title>
<updated>2022-09-24T20:05:19+00:00</updated>
<author>
<name>toasted-nutbread</name>
<email>toasted-nutbread@users.noreply.github.com</email>
</author>
<published>2022-09-24T20:05:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.pipeframe.xyz/fork/yomitan/commit/?id=1e91bf151f43ad05138e862ba4a03abad6929e5f'/>
<id>urn:sha1:1e91bf151f43ad05138e862ba4a03abad6929e5f</id>
<content type='text'>
* Make all methods static

The two non-static methods are kept for temporary compatibility

* Use this instead of class name now that functions are static

* Update test

* Don't instantiate DocumentUtil

* Remove temporary non-static methods

* Remove unused global declaration</content>
</entry>
<entry>
<title>Exclude documentElement from zoom calculation (#2227)</title>
<updated>2022-09-21T01:06:39+00:00</updated>
<author>
<name>toasted-nutbread</name>
<email>toasted-nutbread@users.noreply.github.com</email>
</author>
<published>2022-09-21T01:06:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.pipeframe.xyz/fork/yomitan/commit/?id=480869c3d1d820b344d23989d2deae64a594869e'/>
<id>urn:sha1:480869c3d1d820b344d23989d2deae64a594869e</id>
<content type='text'>
* Exclude documentElement from zoom calculation

* Add an option

* Refactor zoom coordinate conversion functions

* Convert zoom coordinates for text sources

* Rename variable

* Convert rect coordinate spaces

* Handle shadow DOM</content>
</entry>
<entry>
<title>TextSourceElement surrogate pair support (#2217)</title>
<updated>2022-08-20T18:32:34+00:00</updated>
<author>
<name>toasted-nutbread</name>
<email>toasted-nutbread@users.noreply.github.com</email>
</author>
<published>2022-08-20T18:32:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.pipeframe.xyz/fork/yomitan/commit/?id=e7944d29b0380d46e44cc316e10a3088e9da3a8c'/>
<id>urn:sha1:e7944d29b0380d46e44cc316e10a3088e9da3a8c</id>
<content type='text'>
* Update StringUtil

* Refactor

* Handle UTF-16 surrogate pairs</content>
</entry>
<entry>
<title>New StringUtil (#2216)</title>
<updated>2022-08-20T17:11:38+00:00</updated>
<author>
<name>toasted-nutbread</name>
<email>toasted-nutbread@users.noreply.github.com</email>
</author>
<published>2022-08-20T17:11:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.pipeframe.xyz/fork/yomitan/commit/?id=4194252fe363e9737abf4aa407d8ce14e7743559'/>
<id>urn:sha1:4194252fe363e9737abf4aa407d8ce14e7743559</id>
<content type='text'>
* Create new StringUtil

* Use StringUtil in DOMTextScanner

* Fix order</content>
</entry>
<entry>
<title>Fix setEndOffset (#2214)</title>
<updated>2022-08-20T16:38:55+00:00</updated>
<author>
<name>toasted-nutbread</name>
<email>toasted-nutbread@users.noreply.github.com</email>
</author>
<published>2022-08-20T16:38:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.pipeframe.xyz/fork/yomitan/commit/?id=cd0a6b60e2f910e497a5b72bee1a27a0d1c575d2'/>
<id>urn:sha1:cd0a6b60e2f910e497a5b72bee1a27a0d1c575d2</id>
<content type='text'>
* Add _layoutAwareScan option to TextSourceElement.setEndOffset for parity

* Remove default param</content>
</entry>
<entry>
<title>Update DOMTextScanner to support UTF-16 surrogate pairs (#2213)</title>
<updated>2022-08-20T15:32:20+00:00</updated>
<author>
<name>toasted-nutbread</name>
<email>toasted-nutbread@users.noreply.github.com</email>
</author>
<published>2022-08-20T15:32:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.pipeframe.xyz/fork/yomitan/commit/?id=c5c5308ff2addbce1f1d55dd5a8a91bbed610ee1'/>
<id>urn:sha1:c5c5308ff2addbce1f1d55dd5a8a91bbed610ee1</id>
<content type='text'>
</content>
</entry>
</feed>
