Cole
e4223760b0
- rollback shorter url to original and ignore max length check for specific line
...
- add opts sanitize for applyDelata in YText
- apply applyDelata document about YText
2020-06-03 11:18:09 +09:00
Cole
5a4ff33bf4
Merge branch 'master' of github.com:yjs/yjs
2020-06-03 11:12:38 +09:00
Kevin Jahns
60fab42b3f
improve memory allocation ⇒ less "minor gc" cleanups
2020-06-02 23:20:45 +02:00
Cole
469404c6e1
move quill relate newline remove logic to y-quill
2020-06-01 19:17:54 +09:00
Kevin Jahns
4547b35641
cleanup formatting attributes
2020-05-11 01:45:27 +02:00
Kevin Jahns
f40e09d156
type fixes for breaking typescript@3.8.* release
2020-04-02 01:03:30 +02:00
Kevin Jahns
c87caafeb6
lint & refactor PR #187
2020-04-01 23:39:27 +02:00
Joe Reeve
a4ce8ae07d
🐛 fix for #187
2020-03-31 16:06:28 +01:00
Kevin Jahns
78fa98c000
add type definition for YText.length
2020-02-03 12:22:35 +01:00
Kevin Jahns
0e6deab9c9
type toJSON returns
2020-01-22 16:44:30 +01:00
Kevin Jahns
6cd9e2be32
lint
2020-01-22 16:42:16 +01:00
Garth Williams
38ed725c2c
basic Y.Text toJSON returns unformatted string
...
This avoids text nodes in nested structures returning undefined when toJSON is called by a parent.
2020-01-22 13:34:13 +01:00
Kevin Jahns
d1f5ff0f59
implement PermanentUserData storage prototype
2019-09-17 18:53:59 +02:00
Kevin Jahns
8bcff6138c
Y.Text snapshot support (toDelta)
2019-08-31 22:42:18 +02:00
Kevin Jahns
e78d84ee59
md lint
2019-08-31 16:47:12 +02:00
Kevin Jahns
c23bcb66ce
delta format: use flat attr comparison
2019-08-31 16:44:07 +02:00
Kevin Jahns
13ad0c8464
implement Y.XmlFragment.length
2019-08-27 02:17:08 +02:00
Kevin Jahns
03458dc641
Port Undo/Redo approach with a clean API
2019-06-23 13:04:14 +02:00
Kevin Jahns
b4e5c5cc1f
Correctly insert embed when using YText.applyDelta
2019-06-13 10:30:39 +02:00
Kevin Jahns
2192aa5821
Use generic Item with typed content to reduce cache misses
2019-05-28 14:18:20 +02:00
calibr
ee45b4fdd6
process embeds in YText.toDelta
2019-05-25 13:48:57 +03:00
Kevin Jahns
72e470c5f0
Fix ytext event.delta - items that are synced and deleted
...
When items are added and deleted in the same transaction, event.delta would recognize them as added (though they are actually deleted). Now it just ignores them.
2019-05-19 20:42:53 +02:00
Kevin Jahns
8c36f67f0b
rework and document api
2019-05-07 13:44:23 +02:00
Kevin Jahns
a336cc167c
order observer and transaction cleanups after one another
2019-04-26 13:31:00 +02:00
Kevin Jahns
1d0f9faa91
AbstractItem.mergeWith helper outsourced into separate function
2019-04-24 18:10:33 +02:00
Kevin Jahns
45237571b7
gc more efficiently
2019-04-23 20:51:32 +02:00
Kevin Jahns
07ac1d03e3
fix jsdoc
2019-04-11 23:34:56 +02:00
Kevin Jahns
31ff7ac78c
improve jsdoc comments
2019-04-11 13:22:59 +02:00
Kevin Jahns
ed3b31e58f
jsdoc fixes
2019-04-11 00:49:07 +02:00
Kevin Jahns
2ef11a5344
splitting an item must always happen inside a transaction, because we always need to check if we can merge it back
2019-04-11 00:23:08 +02:00
Kevin Jahns
52ec698635
implement some of the commented todos
2019-04-09 04:01:37 +02:00
Kevin Jahns
1b06f59d1c
fixed remaining tests
2019-04-09 00:48:24 +02:00
Kevin Jahns
90b3fa9dd9
fixed merging and adapted writeStructs to write end of message
2019-04-07 12:47:04 +02:00
Kevin Jahns
1b17b5e400
fixed 10 tests
2019-04-06 13:00:32 +02:00
Kevin Jahns
7d0c048708
Items accept origins as IDs
2019-04-05 19:46:18 +02:00
Kevin Jahns
e56899a02c
after refactor - some tests are working again
2019-04-05 00:37:09 +02:00
Kevin Jahns
30bf3742c9
add internals file and use it to organize imports
2019-04-04 19:35:38 +02:00
Kevin Jahns
92ca001cdc
implement getMap, getArray, getXml, ..
2019-04-03 03:08:10 +02:00
Kevin Jahns
415de1cc4c
all YArray.tests type fixes
2019-04-03 02:30:44 +02:00
Kevin Jahns
1bc1e88d6a
fix y-text
2019-03-30 01:08:09 +01:00
Kevin Jahns
c188f813a4
fixed YMap
2019-03-29 13:49:13 +01:00
Kevin Jahns
ff981a8697
fixed YArray
2019-03-29 01:03:02 +01:00
Kevin Jahns
d9ab593b07
prelim refactor commit
2019-03-26 01:14:15 +01:00
Kevin Jahns
293527e62b
fix a few tsc errors (96 remaining)
2019-03-13 02:15:43 +01:00
Kevin Jahns
585265e9a5
refactor and remove dependency circles
2019-03-13 00:04:19 +01:00
Kevin Jahns
75f4a0a5f0
restructuring the project
2019-03-01 23:28:11 +01:00