This is an automated email from the ASF dual-hosted git repository.
gerben pushed a change to branch import-dom-seek
in repository https://gitbox.apache.org/repos/asf/incubator-annotator.git.
discard 2ec7100 Export describeTextPosition & use it in demo
discard ec53350 Create basic tests for describe text position
discard d6a0be0 Make CodePointSeeker.seekToChunk count units, not points
discard 84ae601 Handle half-characters in CodePointSeeker.seekToChunk
discard 645eb77 Factor out chunkRangeToRange
discard 5b4debb Implement describe text position
discard 36f1631 Make ChunkSeeker interface, drop BoundaryPointer/DomSeeker
discard 23bb877 Make abstract TextPosition matcher
discard 4c7fdcd Fix normalizeRange edge case
new b972ddc Fix normalizeRange edge case
new 25d753a Make abstract TextPosition matcher
new 15aec21 Make ChunkSeeker interface, drop BoundaryPointer/DomSeeker
new 5706821 Implement describe text position
new 610ba79 Factor out chunkRangeToRange
new 9c1ef9a Handle half-characters in CodePointSeeker.seekToChunk
new 06ea5d5 Make CodePointSeeker.seekToChunk count units, not points
new 114b98c Create basic tests for describe text position
new 213c49e Export describeTextPosition & use it in demo
new 953f0d4 Make demo more challenging.
new 2fbc7bf fix type of matchers
new 36bb0b8 Add note on fragility. May need to rethink approach.
new 2da2f50 Require all Chunkers to be non-empty
new f37e397 This is what do–while was invented for :)
new a174e4c Refactor clip range to scope
new 8b7d302 Refactor pre/suffix disambiguation
new 9ccb88c Compare *extra* pre/suffix lengths (ignore sunk costs)
new d27ba4e tweak comments
new 436b3a0 Tweak seeker
This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version. This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:
* -- * -- B -- O -- O -- O (2ec7100)
\
N -- N -- N refs/heads/import-dom-seek (436b3a0)
You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.
Any revisions marked "omit" are not gone; other references still
refer to them. Any revisions marked "discard" are gone forever.
The 19 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
packages/dom/src/chunker.ts | 38 +++++++---
packages/dom/src/seek.ts | 10 +--
packages/dom/src/text-position/describe.ts | 15 ++--
packages/dom/src/text-position/match.ts | 22 ++----
packages/dom/src/text-quote/describe.ts | 112 ++++++++++++-----------------
packages/dom/src/text-quote/match.ts | 32 ++++-----
web/demo/index.html | 4 +-
7 files changed, 108 insertions(+), 125 deletions(-)