Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
53a7b28
Move content and list iteration abstraction
dmonad Nov 8, 2021
56ab251
make moved a separate prop on item
dmonad Nov 8, 2021
a723c32
use new ListPosition abstraction in Y.Array .slice and .get
dmonad Nov 9, 2021
b9ccbb2
created new abstraction for search marker
dmonad Nov 19, 2021
a77221f
fix toJSON value
dmonad Nov 19, 2021
8b82c57
fix basic inserd & delete bug
dmonad Nov 19, 2021
a057bf1
fix disconnect issue
dmonad Nov 19, 2021
fc38f3b
formatting bug
dmonad Nov 19, 2021
6df152c
proper iteration through arrays (for mappings, toJSON, ..)
dmonad Nov 19, 2021
4a8ebc3
fix listiterator.map returning undefined as the last element
dmonad Nov 20, 2021
40c3be1
fix backwards edge case
dmonad Nov 21, 2021
2a33507
fixed pos.rel cases
dmonad Nov 21, 2021
d314c3e
fixed ListIterator.reachedEnd edge case
dmonad Nov 22, 2021
fc5e361
made simple one-time move work
dmonad Dec 6, 2021
0948229
handle nested moves
dmonad Dec 6, 2021
4356d70
reinit search marker after transaction
dmonad Dec 6, 2021
6230abb
make sure that markers are correct without reinit
dmonad Dec 6, 2021
f5781f8
update searchmarkers after insert correctly
dmonad Dec 6, 2021
bd47efe
fix all tests
dmonad Dec 6, 2021
3d31ba8
adding more sanity checkss to yarray.tests
dmonad Dec 7, 2021
b756820
skip tests in preversion (should be handled by np)
dmonad Dec 7, 2021
24bca2a
13.6.0-0
dmonad Dec 7, 2021
53e2c83
add meta property to AbstractType
dmonad Dec 7, 2021
6fc4fbd
13.6.0-1
dmonad Dec 7, 2021
d3dcd24
fix various tests
dmonad Dec 8, 2021
cc93f34
13.6.0-2
dmonad Dec 8, 2021
c4b28ac
fix prevMove bug
dmonad Mar 26, 2022
f65d1b8
fix ListIterator backwards iteration within moved ranges
dmonad Mar 29, 2022
285dc79
fix edge case when moving backwards from move operation
dmonad Mar 30, 2022
51c095e
fix search marker issues - splitting of items with stored rel search …
dmonad Mar 31, 2022
b32f88c
fix all remaining bugs for single-item moves (mainly event bugs)
dmonad Apr 4, 2022
e8ecc8f
fix circlic move-loops
dmonad Apr 4, 2022
a0c9235
fix test-move logic
dmonad Apr 4, 2022
b2b7b8c
tmp commit
dmonad Apr 11, 2022
69b7f4b
implement solid move-range approach - tests not running
dmonad May 5, 2022
1f99e82
fix a bunch of issues with range-move approach
dmonad May 7, 2022
2e9a7df
use uint8 type encoding for relative-positions
dmonad May 10, 2022
7e9319f
filter empty ranges when calculating minMoveRanges
dmonad May 15, 2022
bf05061
fix all tests for range-moves of length 1
dmonad May 18, 2022
b63d22e
lint
dmonad May 18, 2022
44499cb
fix move-range tests of moved-moved items
dmonad Jun 16, 2022
ab5061c
normalize ranges
dmonad Jul 4, 2022
4078e11
optimize encoding of move ops
dmonad Jul 4, 2022
0ce4059
remove old move-ranges if collapsed
dmonad Jul 6, 2022
1972367
fix several issues of supporting deleted move ops
dmonad Jul 8, 2022
3b31764
Fixed all tests - full support for collapsed move deletions
dmonad Jul 9, 2022
100e436
cleanup
dmonad Jul 11, 2022
4de3c00
remove todo comment
dmonad Jul 11, 2022
efcfe4b
extend move info field by three bits for future usage
dmonad Jul 19, 2022
a3b97d9
rename to ListCursor
dmonad Jul 19, 2022
56d747f
14.0.0-0
dmonad Aug 18, 2022
3c98d97
remove toDom methods
dmonad Aug 23, 2022
7ced59c
fix #485 - forEach index
dmonad Jun 27, 2023
5b16071
fix #481 - calculate path correctly when parents are moved
dmonad Jun 28, 2023
b56debe
14.0.0-1
dmonad Jun 28, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -482,8 +482,6 @@ or any of its children.
<dd>Clone this type into a fresh Yjs type.</dd>
<b><code>toArray():Array&lt;Y.XmlElement|Y.XmlText&gt;</code></b>
<dd>Copies the children to a new Array.</dd>
<b><code>toDOM():DocumentFragment</code></b>
<dd>Transforms this type and all children to new DOM elements.</dd>
<b><code>toString():string</code></b>
<dd>Get the XML serialization of all descendants.</dd>
<b><code>toJSON():string</code></b>
Expand Down Expand Up @@ -557,8 +555,6 @@ content and be actually XML compliant.
<dd>Clone this type into a fresh Yjs type.</dd>
<b><code>toArray():Array&lt;Y.XmlElement|Y.XmlText&gt;</code></b>
<dd>Copies the children to a new Array.</dd>
<b><code>toDOM():Element</code></b>
<dd>Transforms this type and all children to a new DOM element.</dd>
<b><code>toString():string</code></b>
<dd>Get the XML serialization of all descendants.</dd>
<b><code>toJSON():string</code></b>
Expand Down
Loading