Kevin Jahns
d1e8d50c43
13.0.4
2020-02-12 10:53:56 +01:00
Kevin Jahns
18bb2d0719
fix imports in esm bundle
2020-02-12 10:52:51 +01:00
Kevin Jahns
45df311dd7
13.0.3
2020-02-12 10:38:28 +01:00
Kevin Jahns
62888b4004
bundle yjs as a module to prevent declaration issues from circular dependencies
2020-02-12 10:37:22 +01:00
Kevin Jahns
76c389dba0
13.0.2
2020-02-03 12:23:39 +01:00
Kevin Jahns
78fa98c000
add type definition for YText.length
2020-02-03 12:22:35 +01:00
Kevin Jahns
e9f9e08450
13.0.1
2020-01-27 03:43:45 +01:00
Kevin Jahns
e3c59b0aa7
more options to gc data (undomanager.clear and tryGc)
2020-01-27 03:42:32 +01:00
Kevin Jahns
705dce7838
add y-indexeddb section
2020-01-23 22:49:04 +01:00
Kevin Jahns
0fb55981ba
13.0.0
2020-01-23 21:53:02 +01:00
Kevin Jahns
89378e29ae
publish stable Yjs release 🎆
2020-01-23 21:51:26 +01:00
Kevin Jahns
cce35270ec
typescript typingis!!! fixes #180
2020-01-23 21:45:56 +01:00
Kevin Jahns
d78180bf97
make opts optional in PermanentUserData
2020-01-23 18:05:12 +01:00
Kevin Jahns
0ab415de3e
13.0.0-108
2020-01-23 05:01:05 +01:00
Kevin Jahns
ff3969caeb
dedupe npm
2020-01-23 05:00:11 +01:00
Kevin Jahns
c82cc9f8d6
lint
2020-01-23 04:59:17 +01:00
Kevin Jahns
ef5c71bd8b
PermanentUserData fixes
2020-01-23 04:58:02 +01:00
Kevin Jahns
bd6be3d23b
13.0.0-107
2020-01-22 16:45:48 +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
Kevin Jahns
ac8dab1e88
Merge pull request #179 from garth/text-tojson
...
basic Y.Text toJSON returns {unformatted:string}
2020-01-22 16:19:01 +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
a210bad25e
update keywords
2020-01-19 00:43:23 +01:00
Kevin Jahns
6929a4f0f8
13.0.0-106
2020-01-14 05:16:43 +01:00
Kevin Jahns
52dacfa5f2
update package-lock
2020-01-14 05:15:36 +01:00
Kevin Jahns
27efe86f9c
isParentOf
2020-01-14 05:13:51 +01:00
Kevin Jahns
882b9055c7
fix localimports path ending
2020-01-14 02:36:29 +01:00
Kevin Jahns
e089089413
fix debug resolve
2020-01-13 17:03:56 +01:00
Kevin Jahns
197932752e
13.0.0-105
2020-01-13 14:55:05 +01:00
Kevin Jahns
f0b2bdaf34
revert to classic cjs module
2020-01-13 14:54:07 +01:00
Kevin Jahns
b96362c0f1
use correct module script
2020-01-13 07:55:58 +01:00
Kevin Jahns
67f241cd7a
13.0.0-104
2020-01-13 07:48:47 +01:00
Kevin Jahns
c8af0bebf7
fix preversion script
2020-01-13 07:47:43 +01:00
Kevin Jahns
4f35e799a6
update to lib0@.2
2020-01-13 07:41:31 +01:00
Kevin Jahns
eb2a52dd26
update README with podcast links, consulting info, and y-webrtc
2019-12-11 13:26:46 +01:00
Kevin Jahns
189b1068ae
13.0.0-103
2019-12-10 20:52:20 +01:00
Kevin Jahns
7a3b60a5d7
add markdownlint-cli as dep
2019-12-10 20:51:07 +01:00
Kevin Jahns
99f06fc093
bump lib0 for improved encoding performance
2019-12-10 20:46:58 +01:00
Kevin Jahns
22917bca19
fix gc & proper options typings for Y.Doc, fixes #176
2019-12-10 17:51:49 +01:00
Kevin Jahns
7f0e25dcba
permanent user store writes updates in separate transaction
2019-12-10 17:18:57 +01:00
Kevin Jahns
d90c9b1cb2
bump lib0 for faster text encoding
2019-12-10 00:26:28 +01:00
Kevin Jahns
c426055f17
spelling
2019-12-10 00:19:02 +01:00
Kevin Jahns
18c9010b63
Merge branch 'master' of github.com:y-js/yjs
2019-11-26 13:02:49 +01:00
Kevin Jahns
c3edac62ef
doc typo
2019-11-26 13:02:43 +01:00
Kevin Jahns
755de18fd5
Create Funding.yml
2019-11-07 14:41:50 +01:00
Kevin Jahns
641dc25076
13.0.0-102
2019-10-25 23:47:23 +02:00
Kevin Jahns
1d58ea785f
Merge branch 'master' of github.com:yjs/yjs
2019-10-25 23:45:50 +02:00
Kevin Jahns
f53dff5043
delay errors in observe callbacks to throw after cleanup is done
2019-10-25 23:44:09 +02:00
Kevin Jahns
74d1a31f49
Merge pull request #174 from boschDev/master
...
Fix attrs loop in yXmlText
2019-10-15 17:19:30 +02:00
Roeland Bosch
d1063ab70b
Fix attrs loop in yXmlText
2019-10-15 17:07:20 +02:00
Kevin Jahns
f4c919d9ec
13.0.0-101
2019-10-08 18:33:50 +02:00
Kevin Jahns
aeb23dbaa9
follow redone items to prevent some undo-redo issues. Fixes #162
2019-10-08 18:31:56 +02:00
Kevin Jahns
6d4f0c0cdd
13.0.0-100
2019-10-08 17:40:32 +02:00
Kevin Jahns
303138f309
sanitize items before undoing. fixes #165
2019-10-08 17:36:00 +02:00
Kevin Jahns
ad373a3dce
Merge pull request #172 from istvank/patch-1
...
Fixing Y.Map's documentation of forEach
2019-10-05 20:09:53 +02:00
István Koren
2150fa58f2
Fixing Y.Map's documentation of forEach
...
fixes #171 As always, it's an honor to submit a PR! 🐒 There was also a missing dot in the Y.XmlFragment title.
2019-10-05 15:14:30 +02:00
Kevin Jahns
ece4841b5c
update stackItem.meta doc
2019-10-03 22:06:07 +02:00
Kevin Jahns
8103220c05
Merge branch 'master' of github.com:yjs/yjs
2019-09-30 11:10:13 +02:00
Kevin Jahns
66d500f08d
YEvent: consider case that item was added & removed in the same transaction
2019-09-30 11:10:03 +02:00
Kevin Jahns
5f8e7c7ba7
Merge pull request #169 from yjs/improve-readme
...
update quill cursors support
2019-09-23 11:22:51 +02:00
Nik Graf
7b8eee6b25
update quill cursors support
2019-09-23 11:22:24 +02:00
Kevin Jahns
1d5947c602
13.0.0-99
2019-09-23 11:11:45 +02:00
Kevin Jahns
53e4028952
Merge pull request #168 from yjs/fix-absolute-position-calculation
...
fix absolute position calculation
2019-09-23 11:09:48 +02:00
Nik Graf
b38a8d99e5
fix absolute position calculation
2019-09-23 11:05:50 +02:00
Kevin Jahns
6c4971ae25
13.0.0-98
2019-09-17 18:55:04 +02:00
Kevin Jahns
d1f5ff0f59
implement PermanentUserData storage prototype
2019-09-17 18:53:59 +02:00
Kevin Jahns
1d297601e8
export .createDeleteSet functionality
2019-09-04 22:08:05 +02:00
Kevin Jahns
d9fface0be
13.0.0-97
2019-09-04 13:21:10 +02:00
Kevin Jahns
7d5db917da
fix type error >= tsc@3.6
2019-09-04 13:19:25 +02:00
Kevin Jahns
6e7529723d
update lib0
2019-09-04 13:15:34 +02:00
Kevin Jahns
6cb64b3707
move repository to yjs org
2019-09-04 13:08:34 +02:00
Kevin Jahns
bb1c0b809f
implement snapshot & event.changes
2019-09-03 16:33:29 +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
5fddcef3ea
Update logo
2019-08-29 12:51:16 +02:00
Kevin Jahns
e1e46c6eb1
Merge branch 'master' of github.com:y-js/yjs
2019-08-27 02:17:16 +02:00
Kevin Jahns
13ad0c8464
implement Y.XmlFragment.length
2019-08-27 02:17:08 +02:00
Kevin Jahns
7700b50470
Merge pull request #161 from blackening/master
...
Updated documentation for Y.Array forEach
2019-08-20 23:18:46 +02:00
Kevin Jahns
fc4d6165b4
13.0.0-96
2019-08-20 22:29:56 +02:00
Kevin Jahns
251c8aaefc
UndoManager configuration to filter deletes
2019-08-20 22:28:49 +02:00
Kevin Jahns
1337d38ada
13.0.0-95
2019-08-09 01:18:15 +02:00
Kevin Jahns
f5c66e41cb
audit
2019-08-09 01:16:40 +02:00
Kevin Jahns
0e7da017fe
Use lib0/any-encoding instead of JSON
2019-08-09 01:15:46 +02:00
blackening
f0262ffaae
Updated documentation for Y.Array forEach
...
Reference:
https://github.com/y-js/yjs/blob/master/src/types/YArray.js#L186
https://github.com/y-js/yjs/blob/master/src/types/AbstractType.js#L239
2019-07-09 19:58:06 +08:00
Kevin Jahns
36203af88e
should not rely on all deconstructing features because not all parsers support it
2019-06-29 14:47:34 +02:00
Kevin Jahns
dd2b8bc6c7
13.0.0-94
2019-06-25 11:57:50 +02:00
Kevin Jahns
463065ac21
UndoManager: keep item before item is deleted (fixes some edge cases of followRedo)
2019-06-25 11:56:41 +02:00
Kevin Jahns
d064e6e96e
UndoManager accepts an array of types as scope. Implements #156
2019-06-25 02:26:18 +02:00
Kevin Jahns
b1ed2df208
proper TOC links
2019-06-25 00:10:12 +02:00
Kevin Jahns
1fe4ef135c
13.0.0-93
2019-06-24 23:06:11 +02:00
Kevin Jahns
e376b5d472
UndoManager fixes
2019-06-24 23:04:53 +02:00
Kevin Jahns
952a9b2c41
13.0.0-92
2019-06-23 13:05:30 +02:00
Kevin Jahns
03458dc641
Port Undo/Redo approach with a clean API
2019-06-23 13:04:14 +02:00
Kevin Jahns
14df5b72af
fix consistency bug - ref.toStruct does not correctly create GC when offset is specified
2019-06-18 18:46:19 +02:00
Kevin Jahns
338968031b
13.0.0-91
2019-06-18 18:05:39 +02:00
Kevin Jahns
1aac245b93
New types dont fire events - fixes #155
2019-06-18 17:41:19 +02:00
Kevin Jahns
1faff323c1
13.0.0-90
2019-06-14 16:00:02 +02:00
Kevin Jahns
e7280c7ae2
allow case sensitive yxml nodes
2019-06-14 15:59:00 +02:00
Kevin Jahns
4c38619b5d
13.0.0-89
2019-06-13 10:33:35 +02:00
Kevin Jahns
b4e5c5cc1f
Correctly insert embed when using YText.applyDelta
2019-06-13 10:30:39 +02:00
Kevin Jahns
b0dbd84f7f
lint markdown
2019-06-13 10:28:30 +02:00
Kevin Jahns
4a990963d9
13.0.0-88
2019-06-05 18:37:21 +02:00
Kevin Jahns
7e7c9d5b11
add relevant type information
2019-06-05 14:53:00 +02:00
Kevin Jahns
775f6eed1d
fix websocket example
2019-06-02 15:16:14 +02:00
Kevin Jahns
1e83b9418c
13.0.0-87
2019-05-28 14:20:44 +02:00
Kevin Jahns
ac3f672c80
Merge branch 'master' of github.com:y-js/yjs
2019-05-28 14:19:11 +02:00
Kevin Jahns
2192aa5821
Use generic Item with typed content to reduce cache misses
2019-05-28 14:18:20 +02:00
Kevin Jahns
70bb523005
Merge branch 'master' of github.com:y-js/yjs
2019-05-27 12:50:21 +02:00
Kevin Jahns
10ce6de57a
import statement fix
2019-05-27 12:50:12 +02:00
Kevin Jahns
3fba4f25a5
Merge pull request #153 from calibr/124-text-embeds
...
process embeds in YText.toDelta
2019-05-25 13:04:10 +02:00
Kevin Jahns
66c35d8499
testing: do not stringify array values before comparing
2019-05-25 12:54:30 +02:00
Kevin Jahns
4c14157dcf
13.0.0-86
2019-05-25 12:50:05 +02:00
Kevin Jahns
ef6c382e20
fix array iterator on merged content. fixes #152
2019-05-25 12:49:08 +02:00
calibr
ee45b4fdd6
process embeds in YText.toDelta
2019-05-25 13:48:57 +03:00
Kevin Jahns
668e9e8a9b
13.0.0-85
2019-05-25 03:13:54 +02:00
Kevin Jahns
37a6d68543
implement support for boolean values. fixes #151
2019-05-25 03:12:56 +02:00
Kevin Jahns
f893198769
remove examples. fixes #149
2019-05-22 17:32:51 +02:00
Kevin Jahns
d3ee1a0ec2
Add editor support to v13 readme
2019-05-22 01:26:13 +02:00
Kevin Jahns
d6593412a2
13.0.0-84
2019-05-19 21:49:36 +02:00
Kevin Jahns
d31bf36531
use generated esm module by default
2019-05-19 21:48:09 +02:00
Kevin Jahns
a485f550db
13.0.0-83
2019-05-19 20:59:56 +02:00
Kevin Jahns
0610b16227
bump lib0 for webpack compatibility
2019-05-19 20:43:18 +02: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
4d12a02e2f
fix offset in state vector
2019-05-16 12:31:53 +02:00
Kevin Jahns
4a7d6f0a2d
fix sorting bug that only affects older node versions (probably because old sorting algorithms are not stable)
2019-05-14 15:21:34 +02:00
Kevin Jahns
c80f446b5f
README: update provider tutorial
2019-05-12 11:18:43 +02:00
Kevin Jahns
81a529d8dc
update *getting started* yjs version
2019-05-07 15:43:09 +02:00
Kevin Jahns
4f0ab78914
13.0.0-82
2019-05-07 13:54:00 +02:00
Kevin Jahns
8c36f67f0b
rework and document api
2019-05-07 13:44:23 +02:00
Kevin Jahns
77687d94e6
13.0.0-81
2019-04-28 17:32:05 +02:00
Kevin Jahns
4644511303
bump y-protocols dependency
2019-04-28 17:30:52 +02:00
Kevin Jahns
20005eecdb
Merge deleted items more efficiently.
...
Previously deleted items were simply added to transaction._mergeStructs. But this inherently inefficient as it will splice the struct store for every item.
Now Yjs iterates over transaction.ds and tries to merge structs. It iterates from right to left so merging should be more efficient that before. But more work needs to be done.
For example we could set structs[i] = null and filter the structs after merging is done.
2019-04-28 17:20:35 +02:00
Kevin Jahns
c9dda245bf
v13 api docs
2019-04-28 02:53:25 +02:00
Kevin Jahns
1417470156
update demos link
2019-04-27 03:44:48 +02:00
Kevin Jahns
584e5dfd40
Link to v13 docs from README
2019-04-27 03:35:44 +02:00
Kevin Jahns
805acbb9f5
13.0.0-80
2019-04-26 19:55:14 +02:00
Kevin Jahns
32c4c09072
update parent._map when splitting an item
2019-04-26 19:54:00 +02:00
Kevin Jahns
8c5a06bbf8
fix gc when item is deleted in observer call
2019-04-26 18:37:38 +02:00
Kevin Jahns
a336cc167c
order observer and transaction cleanups after one another
2019-04-26 13:31:00 +02:00
Kevin Jahns
21d86cd2be
Delete all children of ItemType when it is deleted
2019-04-26 12:29:28 +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
bb6f6cd141
13.0.0-79
2019-04-20 00:03:30 +02:00
Kevin Jahns
729c1f16b8
fix test provider
2019-04-20 00:02:40 +02:00
Kevin Jahns
b6059704aa
update dependencies
2019-04-20 00:00:09 +02:00
Kevin Jahns
fa3c92f44c
change parameter order of transaction events
2019-04-19 23:36:00 +02:00
Kevin Jahns
cd82de7742
lint
2019-04-12 20:08:38 +02:00
Kevin Jahns
07a6a0044b
simplify exposed APi
2019-04-12 20:04:07 +02:00
Kevin Jahns
4582832a71
rework intro
2019-04-12 14:24:31 +02:00
Kevin Jahns
07ac1d03e3
fix jsdoc
2019-04-11 23:34:56 +02:00
Kevin Jahns
cbcf1facb8
remove todo.md
2019-04-11 17:35:09 +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
759ecb21f7
rename transaction._replacedItems to transaction._mergeStructs
2019-04-11 00:31:43 +02:00
Kevin Jahns
9c29d820c8
rename AbstractRef to AbstractStructRef
2019-04-11 00:26:42 +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
9fe47e98d5
type._map points to the last element instead to enable merging of deletes in Map
2019-04-10 21:01:59 +02:00
Kevin Jahns
654510f3ff
read struct refs as array
2019-04-10 18:52:22 +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
12bcc4d080
fix remaining random tests
2019-04-09 00:31:28 +02:00
Kevin Jahns
e1a9f314a7
fixed part of split/merge logic
2019-04-08 13:41:28 +02:00
Kevin Jahns
7a111de186
refactor read/write of structs
2019-04-07 23:08:08 +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
c635963747
Compare origin ids in item.integrate
2019-04-06 15:55:20 +02:00
Kevin Jahns
1b17b5e400
fixed 10 tests
2019-04-06 13:00:32 +02:00
Kevin Jahns
61d9d96d15
fix replace with delete
2019-04-05 21:06:43 +02:00
Kevin Jahns
7d0c048708
Items accept origins as IDs
2019-04-05 19:46:18 +02:00
Kevin Jahns
8a7416ad50
Create Structs based on offset, if necessary
...
implement offset parameter in Ref.toStruct
2019-04-05 12:38:02 +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
8dbd2c4696
restructure EventHandler
2019-04-04 13:50:00 +02:00
Kevin Jahns
6578727c9c
fixed all type issues
2019-04-03 13:23:27 +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
e23582b1cd
more type fixes and rethinking writeStructs
2019-04-02 23:08:58 +02:00
Kevin Jahns
73c28952c2
fix all types but yxmlelement
2019-03-30 11:00:54 +01: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
5a42a94cf4
add typescript to lint script
2019-03-13 01:49:51 +01:00
Kevin Jahns
040808300c
clean up build script - no more warnings
2019-03-13 01:16:31 +01:00
Kevin Jahns
57975d409e
cleanup dependencies
2019-03-13 00:22:38 +01:00
Kevin Jahns
306b2c64f3
Merge branch 'master' of https://github.com/y-js/yjs
2019-03-13 00:04:42 +01:00
Kevin Jahns
585265e9a5
refactor and remove dependency circles
2019-03-13 00:04:19 +01:00
Kevin Jahns
777ae9503a
Merge pull request #142 from mtn/mtn-patch-1
...
Correct typo in README example
2019-03-12 03:36:51 +01:00
Kevin Jahns
4c1798e5fa
fix all remaining tests (xml tests)
2019-03-12 01:42:51 +01:00
Kevin Jahns
f4d85e2a3e
fix y-text tests
2019-03-12 01:22:06 +01:00
Kevin Jahns
a0f0c9c377
testing: use lib0.testing.compare to compare Maps and sets
2019-03-11 18:34:50 +01:00
Kevin Jahns
95ec2a435a
fix remaining y-map tests
2019-03-11 17:52:51 +01:00
Kevin Jahns
da9836fe59
added all y-map tests
2019-03-11 12:31:37 +01:00
Kevin Jahns
3a7411f9e8
reworked some ymap tests (a few are running again)
2019-03-11 00:00:41 +01:00
Kevin Jahns
39cee7c6e7
refix array tests and switch to lib0
2019-03-10 23:26:53 +01:00
Kevin Jahns
0a5753c191
decode items before they are decoded. fixes lots of y-array tests
2019-03-07 18:57:39 +01:00
Kevin Jahns
76b7d0b651
fixed some issues in random tests
2019-03-06 13:29:16 +01:00
Kevin Jahns
99e3e95a00
added remaining y-array tests (random still failing)
2019-03-05 14:00:31 +01:00
Kevin Jahns
93ee4ee287
converted first y-array test to funlib/testing
2019-03-04 14:28:18 +01:00
Kevin Jahns
c5cc403a29
update test commands
2019-03-01 23:45:09 +01:00
Kevin Jahns
75f4a0a5f0
restructuring the project
2019-03-01 23:28:11 +01:00
Michael Noronha
591df5c00a
Correct typo in README example
...
/bower_components -> ./bower_components
2019-02-23 17:30:05 -06:00
Kevin Jahns
f6b4819ae3
prosemirror: implement isChangeOrigin in state
2019-01-31 09:50:52 +01:00
Kevin Jahns
d483d9cc83
13.0.0-78
2019-01-29 01:38:40 +01:00
Kevin Jahns
453407b93d
fix connection status and awareness info when disconnected (ws-provider)
2019-01-29 01:38:23 +01:00
Kevin Jahns
e699f92333
13.0.0-77
2019-01-29 00:56:15 +01:00
Kevin Jahns
6ff47719ef
Merge branch 'master' of github.com:y-js/yjs
2019-01-29 00:55:22 +01:00
Kevin Jahns
3a0694c35c
added utilities to make and recover snapshots
2019-01-29 00:54:58 +01:00
Kevin Jahns
74e5243742
Merge pull request #138 from calibr/yjs
...
updating YArray's iterator to iterate Types correctly
2019-01-23 11:00:37 +01:00
calibr
dcf43b9797
switch to the next item in YArray's iterator after processing a Type item
2019-01-16 03:12:58 +03:00
Kevin Jahns
77e479c03b
working on snapshotting and version history
2019-01-09 23:54:36 +01:00
Kevin Jahns
ec58a99748
add clock vector to awareness protocol
2018-12-22 15:51:09 +01:00
Kevin Jahns
f1eb66655b
implemented leveldb persistence for websocket server
2018-12-22 13:45:59 +01:00
Kevin Jahns
7f4ae9fe14
implemented codemirror binding with cursor support
2018-12-21 13:51:38 +01:00
Kevin Jahns
c0ba56a21f
update v13 docs
2018-12-19 01:12:29 +01:00
Kevin Jahns
4063e28b5e
13.0.0-76
2018-12-11 20:19:07 +01:00
Kevin Jahns
b6f7cd7869
fix broadcast channel communication
2018-12-11 20:18:11 +01:00
Kevin Jahns
1a79e429ed
13.0.0-75
2018-12-11 19:49:50 +01:00
Kevin Jahns
04066a5678
permission protocol + reduce circular dependencies
2018-12-11 19:49:21 +01:00
Kevin Jahns
e09ef15349
13.0.0-74
2018-12-04 18:07:04 +01:00
Kevin Jahns
3d70eee959
item: increase parent length only if parentSub=null
2018-12-03 23:09:59 +01:00
Kevin Jahns
582095e5a3
improved granularity of prosemirror binding
2018-12-03 17:09:00 +01:00
Kevin Jahns
c9ea3a412e
more efficient length computing
2018-11-28 13:20:14 +01:00
Kevin Jahns
a2c51c36e9
implement generic broadcastchannel and apply it to websocket provider
2018-11-27 18:29:25 +01:00
Kevin Jahns
ab3dba5b06
add source file info to examples
2018-11-27 15:24:58 +01:00
Kevin Jahns
3ddff186c2
back to .js extension
2018-11-27 14:59:24 +01:00
Kevin Jahns
9bd199a6e7
add description to each example
2018-11-27 00:57:15 +01:00
Kevin Jahns
01d0825ae6
13.0.0-73
2018-11-26 17:14:48 +01:00
Kevin Jahns
e2f98525d2
clean examples build
2018-11-26 17:14:45 +01:00
Kevin Jahns
70a0a03130
no start content in prosemirror example
2018-11-26 16:59:01 +01:00
Kevin Jahns
656d85c62e
add dom example
2018-11-26 16:06:17 +01:00
Kevin Jahns
e168dd48fb
proper api endpoints for examples
2018-11-26 14:54:46 +01:00
Kevin Jahns
12d43199d5
add http listener to websocket-server
2018-11-26 13:08:23 +01:00
Kevin Jahns
539fa8b21d
examples use hosted server
2018-11-26 02:13:06 +01:00
Kevin Jahns
f572f94586
port support
2018-11-25 23:41:17 +01:00
Kevin Jahns
c12d00b227
mjs nodejs support
2018-11-25 22:39:50 +01:00
Kevin Jahns
e4a5f2caec
jsdoc fixes
2018-11-25 05:43:18 +01:00
Kevin Jahns
9f9f465238
update logo link
2018-11-25 04:50:23 +01:00
Kevin Jahns
8450ff86d7
make npm build ready for netlify
2018-11-25 04:41:52 +01:00
Kevin Jahns
70139262c5
add rollup-cli as dependency
2018-11-25 03:36:06 +01:00
Kevin Jahns
9c0da271eb
large scale refactoring
2018-11-25 03:17:00 +01:00
Kevin Jahns
ade3e1949d
update cdn destination. closes #128
2018-11-20 15:03:28 +01:00
Kevin Jahns
eec63a008f
13.0.0-72
2018-11-20 03:53:55 +01:00
Kevin Jahns
52abcdd043
fix all tests
2018-11-16 12:33:41 +01:00
Kevin Jahns
f94653424a
add prosemirror tests
2018-11-14 07:20:06 +01:00
Kevin Jahns
d67a794e2c
13.0.0-71
2018-11-09 01:49:59 +01:00
Kevin Jahns
60318083a6
make websocket-server a binary and add bindings and provider to npm package
2018-11-09 01:49:43 +01:00
Kevin Jahns
7607070452
13.0.0-70
2018-11-09 01:24:06 +01:00
Kevin Jahns
28fb7b6e9c
remove logging in prosemirror binding
2018-11-09 01:23:16 +01:00
Kevin Jahns
aafe15757f
implemented awareness protocol and added cursor support
2018-11-09 00:13:30 +01:00
Kevin Jahns
31d6ef6296
cleanup prosemirror example
2018-11-06 15:15:27 +01:00
Kevin Jahns
32b8fac37f
added prosemirror binding
2018-11-06 13:44:35 +01:00
Kevin Jahns
e8060de914
13.0.0-69
2018-11-02 01:54:53 +01:00
Kevin Jahns
22b036527c
further refine build process to also include lib
2018-11-02 01:54:40 +01:00
Kevin Jahns
feb1e030d7
13.0.0-68
2018-11-02 01:52:24 +01:00
Kevin Jahns
bd271e3952
update publish process
2018-11-02 01:52:20 +01:00
Kevin Jahns
df80938190
13.0.0-67
2018-11-02 00:47:09 +01:00
Kevin Jahns
67bbc0a3fe
implemented websocket provider
2018-10-30 00:51:09 +01:00
Kevin Jahns
e1ece6dc66
refactoring: removed default connector and persistence, new code style, proper jsdocs, enabled typechecking
2018-10-29 21:58:21 +01:00
Kevin Jahns
fe038822a3
Merge branch 'ydb-integration' of https://github.com/y-js/yjs into ydb-integration
2018-10-22 12:23:47 +02:00
Kevin Jahns
dece14486c
start refactoring
2018-10-22 12:23:35 +02:00
Kevin Jahns
2daffbc2ca
implement syncstate
2018-10-17 15:14:47 +02:00
Kevin Jahns
4c01a34d09
integrate ydb client and adapt some demos
2018-10-13 14:38:29 +02:00
Kevin Jahns
3b08267daa
merge experimental-connectors
2018-10-08 17:11:18 +02:00
Kevin
b98ebddb69
ydb client
2018-10-08 16:09:50 +02:00
Kevin Jahns
9d5bf50676
13.0.0-66
2018-07-17 18:50:03 +02:00
Kevin Jahns
c0972f8158
reset selection also for local transactions
2018-07-17 18:49:28 +02:00
Kevin Jahns
548125a944
13.0.0-65
2018-07-16 18:38:09 +02:00
Kevin Jahns
a7b124ca6e
13.0.0-64
2018-07-16 18:19:36 +02:00
Kevin Jahns
4022374620
dombinding: always set browser range after change
2018-07-16 18:15:24 +02:00
Kevin Jahns
860e4d7af6
13.0.0-63
2018-06-23 00:30:45 +02:00
Kevin Jahns
6376d69b58
fix undo of map update
2018-06-23 00:29:44 +02:00
Kevin Jahns
5cf6f45f19
13.0.0-62
2018-06-13 00:08:01 +02:00
Kevin Jahns
967903673b
fixed undo/redo issues and implemented ability to manually flush the UndoManager
2018-06-13 00:06:38 +02:00
Kevin Jahns
2d897f1844
add function to create lots of rooms
2018-06-07 16:36:42 +02:00
Kevin Jahns
fb2f9bc493
add client-server updateCounter support to sync all persisted rooms
2018-06-04 17:35:39 +02:00
Kevin Jahns
6f9ae0c4fc
save current state at the beginning in YIndexedDB
2018-06-03 22:39:22 +02:00
Kevin Jahns
9df20fac8a
added YIndexedDB
2018-06-03 21:58:51 +02:00
Kevin Jahns
a1fb1a6258
add persistence decoder
2018-06-02 22:16:12 +02:00
Kevin Jahns
417d0ef3b5
save state in FilePersistence
2018-06-02 13:33:04 +02:00
Kevin Jahns
9be256231b
enable gc in demo
2018-05-23 16:15:11 +02:00
Kevin Jahns
c122bdc750
BinaryEncoder writes directly to ArrayBuffer, improves memory consumption
2018-05-23 16:06:38 +02:00
Kevin Jahns
4ef36ab81c
fix tests
2018-05-23 14:16:54 +02:00
Kevin Jahns
cccc0e1015
implemented experimental websockets-connector
2018-05-23 14:01:00 +02:00
Kevin Jahns
db5312443e
13.0.0-61
2018-05-18 02:02:44 +02:00
Kevin Jahns
dbda07424b
fix DomBinding destroy
2018-05-18 02:01:53 +02:00
Kevin Jahns
684d38d6c8
make compatible with webpack and less sophisticated module bundlers
2018-05-13 13:07:24 +02:00
Kevin Jahns
44fa064eb2
Merge branch 'master' of github.com:y-js/yjs
2018-05-12 16:43:28 +02:00
Kevin Jahns
9b6fffd880
Add rollup dependency - closes #110
2018-05-12 16:43:05 +02:00
Kevin Jahns
e9993b2643
Merge pull request #111 from larskarbo/patch-1
...
(DOCS) Remove y-array duplicates
2018-05-12 16:41:14 +02:00
Kevin Jahns
762e9e8a3a
do not log _start in logItemHelper. Fixes #114
2018-05-12 15:42:31 +02:00
Kevin Jahns
6ddeb788c7
Merge branch 'master' of github.com:y-js/yjs
2018-05-09 16:28:07 +02:00
Kevin Jahns
b9245f323c
prefer !== undefined check instead of hasOwnProperty
2018-05-09 16:27:55 +02:00
Kevin Jahns
c0e630b635
prefer parentElement instead of parentNode
2018-05-09 14:42:24 +02:00
Kevin Jahns
e56457a0ef
13.0.0-60
2018-05-08 13:46:27 +02:00
Kevin Jahns
ca13849828
fix domBinding infinite loop
2018-05-08 13:45:51 +02:00
Kevin Jahns
92c2fbd6d3
remove debug dependency
2018-05-07 11:52:37 +02:00
Kevin Jahns
65b8921f05
13.0.0-59
2018-05-07 11:45:39 +02:00
Kevin Jahns
1ace7f4b73
fix parentNode binding in case parent doesn't fire MO
2018-05-07 11:44:22 +02:00
Kevin Jahns
6336064516
13.0.0-58
2018-05-05 15:33:53 +02:00
Kevin Jahns
49d2e42b41
fix missing dom-binding - still investigating
2018-05-05 15:33:16 +02:00
Kevin Jahns
c098e8e745
implement scroll-fixer
2018-05-05 14:47:59 +02:00
Kevin Jahns
38558a7fad
13.0.0-57
2018-05-02 18:42:56 +02:00
Kevin Jahns
bdb3782f8f
add option to disable gc (compatible with older versions)
2018-05-02 18:42:18 +02:00
Kevin Jahns
bc32f7348e
13.0.0-56
2018-04-27 18:43:24 +02:00
Kevin Jahns
09a94f053e
merge with master
2018-04-27 18:39:34 +02:00
Kevin Jahns
0df0079fa3
Merge branch 'master' of github.com:y-js/yjs
2018-04-27 18:33:51 +02:00
Kevin Jahns
a54d826d6d
bugfixes
2018-04-27 18:33:28 +02:00
Kevin Jahns
99f92cb9a0
fix filtering
2018-04-26 16:01:17 +02:00
Kevin Jahns
e788ad1333
fix hook binding
2018-04-26 14:07:12 +02:00
Kevin Jahns
1fe37c565e
hooks port to domBinding
2018-04-26 13:26:21 +02:00
Lars Karbo
ed2273e2ed
Remove y-array duplicates
2018-04-24 12:59:51 -07:00
Kevin Jahns
94933a704d
correctly handle gc with UndoManager and un-merge when syncing
2018-04-23 13:25:40 +02:00
Kevin Jahns
ef6eb08335
fix most gc bugs - test suite running again
2018-04-19 18:28:25 +02:00
Kevin Jahns
d915c8dd13
prelim gc
2018-04-03 13:28:24 +02:00
Kevin Jahns
32207cbca0
implement new mark deleted / gc approach
2018-03-29 16:36:34 +02:00
Kevin Jahns
135c6d31be
documentation and fix tests
2018-03-29 11:58:02 +02:00
Kevin Jahns
61149b458a
less duplicate code
2018-03-23 05:22:45 +01:00
Kevin Jahns
ba97bfdd9e
remove fundraiser campaign
2018-03-23 04:44:26 +01:00
Kevin Jahns
689bca8602
Merge remote-tracking branch 'origin' into v13-doc
2018-03-23 04:40:08 +01:00
Kevin Jahns
6dd43cde17
cleanup docs
2018-03-23 04:39:32 +01:00
Kevin Jahns
026675b438
separate dom binding
2018-03-23 01:55:47 +01:00
Kevin Jahns
941a22b257
13.0.0-55
2018-03-14 18:52:49 -07:00
Kevin Jahns
4aa41b98a9
fix dom filtering bug
2018-03-14 18:51:48 -07:00
Kevin Jahns
acf443aacb
reworking bindings
2018-03-12 03:36:37 +01:00
Kevin Jahns
aa8c934833
Add fundraiser campaign
2018-03-06 05:27:03 +01:00
Kevin Jahns
814af5a3d7
fix import locations
2018-03-06 05:22:18 +01:00
Kevin Jahns
bbc207aaa6
restructer and move to esdoc
2018-03-06 03:17:50 +01:00
Kevin Jahns
a9b610479d
big documentation update - all public functions and classes are documented now
2018-03-05 03:12:04 +01:00
Kevin Jahns
079de07eff
13.0.0-54
2018-03-01 16:45:25 +01:00
Kevin Jahns
54453e87fa
fix consecutive undo,redo,undo,redo.. (abc test)
2018-03-01 16:44:26 +01:00
Kevin Jahns
1b0e3659c3
undo fixes for consecutive undo-redo
2018-03-01 13:50:01 +01:00
Kevin Jahns
dc22a79ac4
properly unregister event when binding is destroyed
2018-02-27 03:52:40 +01:00
Kevin Jahns
384a4b72b0
add quill-cursors example
2018-02-26 17:24:28 +01:00
Kevin Jahns
f35c056bde
fix some tests
2018-02-26 03:23:22 +01:00
Kevin Jahns
250050e83b
Merge remote-tracking branch 'origin' into y-richtext-rewrite
2018-02-26 02:19:08 +01:00
Kevin Jahns
248d08be30
implement quill binding for y-text
2018-02-26 02:18:39 +01:00
Kevin Jahns
641f426339
13.0.0-53
2018-02-25 02:31:59 +01:00
Kevin Jahns
fcbca65d8f
fromBinary is a transaction
2018-02-25 02:31:20 +01:00
Kevin Jahns
5f8ae0dd43
13.0.0-52
2018-02-18 19:20:00 +01:00
Kevin Jahns
de14fe0f3e
fix getAttribute vs attributes.value fixes y-js/y-xml#8
2018-02-18 18:58:49 +01:00
Kevin Jahns
5e4b071693
actually use clock in undo-manager
2018-02-15 18:58:43 +01:00
Kevin Jahns
937de2c59f
fix fast undo-redo bug
2018-02-15 18:28:53 +01:00
Kevin Jahns
f1f1bff901
preliminary undo-redo fixes
2018-02-15 17:58:14 +01:00
Kevin Jahns
da748a78f4
start rewriting y-richtext
2018-02-15 01:25:08 +01:00
Kevin Jahns
4855b2d590
13.0.0-51
2018-02-07 14:08:43 +01:00
Kevin Jahns
908ce31e2f
Merge branch 'master' of github.com:y-js/yjs
2018-02-07 14:08:07 +01:00
Kevin Jahns
e4d4c23f0b
bugfix - persist deletes when syncing
2018-02-07 14:07:57 +01:00
Kevin Jahns
fc500a8247
Merge pull request #94 from LukasDrgon/patch-3
...
Add CDN usage
2018-01-31 20:36:26 -08:00
Kevin Jahns
4b84541d76
13.0.0-50
2018-01-30 20:12:58 -08:00
Kevin Jahns
a3ab42c157
implemnt mutual exclude pattern directly in Persistence.js
2018-01-30 20:11:59 -08:00
Kevin Jahns
bbd3317d62
13.0.0-49
2018-01-30 15:53:33 -08:00
Kevin Jahns
5d3922cb64
fix undo-redo
2018-01-30 15:52:36 -08:00
Kevin Jahns
a81a2cd553
13.0.0-48
2018-01-29 16:41:52 -08:00
Kevin Jahns
c0d24bdba4
lint
2018-01-29 16:41:27 -08:00
Kevin Jahns
40e913e9c5
add toBinary and fromBinary to Y.utils
2018-01-29 16:39:09 -08:00
Kevin Jahns
94f6a0fd9c
implement Y.*Binding approach
2018-01-29 11:55:28 -08:00
Kevin Jahns
41a88dbc43
fix examples for Yjs@13
2018-01-25 17:28:33 -07:00
Kevin Jahns
1d4f283955
13.0.0-47
2018-01-18 18:44:56 +01:00
Kevin Jahns
fc3a4c376c
implement when-handler
2018-01-18 18:44:20 +01:00
Lukas Drgon
acb0affa33
Add CDN usage
2018-01-17 22:03:49 +01:00
Kevin Jahns
0b510b64a3
persistence updates + make Persistence.init async
2018-01-16 16:13:47 +01:00
Kevin Jahns
c8f0cf5556
13.0.0-46
2018-01-10 00:20:03 +01:00
Kevin Jahns
11a4271fd1
13.0.0-45
2018-01-10 00:18:50 +01:00
Kevin Jahns
c7670915c7
Merge branch 'master' of github.com:y-js/yjs
2018-01-10 00:17:34 +01:00
Kevin Jahns
eb2d596538
implement mutualExclude factory
2018-01-10 00:17:26 +01:00
Kevin Jahns
48e17ea1a7
13.0.0-44
2018-01-10 00:16:33 +01:00
Kevin Jahns
1a22fdd45e
persistence improvements
2018-01-10 00:11:25 +01:00
Kevin Jahns
07cf0b3436
export AbstractPersistence
2018-01-08 17:30:30 +01:00
Kevin Jahns
5a68b9f4ad
loaded event when loaded from persistence adapter
2018-01-08 02:28:46 +01:00
Kevin Jahns
445dd3e0da
fix several y-xml bugs
2018-01-03 03:50:27 +01:00
Kevin Jahns
0ba97d78f8
better relative cursor positions for text editing - decrease number of generated messages for cursor
2017-12-31 16:14:02 +01:00
Kevin Jahns
fc5be5c7cc
fix empty string insertion bug
2017-12-31 14:49:20 +01:00
Kevin Jahns
f2debc150c
reimplement persistence approach
2017-12-24 03:18:00 +01:00
Kevin Jahns
08f37a86e3
13.0.0-43
2017-12-21 16:06:29 +01:00
Kevin Jahns
f5d17e6236
filter y-xml when domFilter is set
2017-12-21 16:05:50 +01:00
Kevin Jahns
8f3bd7170a
13.0.0-42
2017-12-19 17:39:01 +01:00
Kevin Jahns
5586334549
fix initial content in y-array
2017-12-19 17:37:04 +01:00
Kevin Jahns
24c1e4dcc8
13.0.0-41
2017-12-14 14:30:02 +01:00
Kevin Jahns
d61bbecf4e
fix tree walker on YXmlFragment
2017-12-14 14:29:16 +01:00
Kevin Jahns
85492ad2e0
fix drawing example. Add drawing hook for y-xml
2017-12-13 12:49:34 +01:00
Kevin Jahns
02253f9a8d
fix log outputs
2017-12-13 10:28:19 +01:00
Kevin Jahns
8105bef1af
work on drawing demo
2017-12-06 19:20:52 -08:00
Kevin Jahns
4efa16e2dd
13.0.0-40
2017-12-05 21:50:34 -08:00
Kevin Jahns
ad44f59def
implement new dom update algorithm
2017-12-05 21:50:00 -08:00
Kevin Jahns
9c471ea24d
13.0.0-39
2017-12-05 17:06:01 -08:00
Kevin Jahns
d9e76014f5
fix remaining cursor relocation issues
2017-12-05 17:05:12 -08:00
Kevin Jahns
4091b7d004
13.0.0-38
2017-12-05 00:53:25 -08:00
Kevin Jahns
dfc183643d
support data-yjs-hook attribute for yjs hooks
2017-12-05 00:52:52 -08:00
Kevin Jahns
cf8698f2b6
13.0.0-37
2017-12-02 01:45:55 -08:00
Kevin Jahns
3595f14da7
fix insert in y-text
2017-12-02 01:45:22 -08:00
Kevin Jahns
c6e671b1d5
13.0.0-36
2017-11-30 18:39:17 -08:00
Kevin Jahns
e4c10fd6b3
handle xmlhook in mutation observer
2017-11-30 18:38:12 -08:00
Kevin Jahns
e70aa09f88
Implement YXml element hooks (based on _yjsHook property)
2017-11-29 17:16:06 -08:00
Kevin Jahns
7808b143da
13.0.0-35
2017-11-28 17:38:31 -08:00
Kevin Jahns
b35092928e
fix user selection issues
2017-11-28 17:37:15 -08:00
Kevin Jahns
b7dbcf69d3
13.0.0-34
2017-11-26 23:24:41 -08:00
Kevin Jahns
377df18788
prevent updating cursor position if not necessary
2017-11-26 23:23:29 -08:00
Kevin Jahns
26a323733d
13.0.0-33
2017-11-26 14:42:59 -08:00
Kevin Jahns
d0d1015074
filter remote changes in YXml*
2017-11-26 14:42:06 -08:00
Kevin Jahns
2e3240b379
13.0.0-32
2017-11-14 21:31:11 -08:00
Kevin Jahns
2558652356
fix attribute filter (it used to filter everything)
2017-11-14 21:19:39 -08:00
Kevin Jahns
783cbd63fc
13.0.0-31
2017-11-14 20:44:12 -08:00
Kevin Jahns
41be80e751
fix y-xml server environment
2017-11-14 20:43:30 -08:00
Kevin Jahns
3d6050d8a2
13.0.0-30
2017-11-12 13:37:37 -08:00
Kevin Jahns
3d5ba7b4cc
fix the case that a new transaction starts in an event listener (afterTransaction, observe, observeDeep)
2017-11-12 13:37:06 -08:00
Kevin Jahns
415b66607c
fixed filtering
2017-11-10 19:04:00 -08:00
Kevin Jahns
05cd1d0575
13.0.0-29
2017-11-10 18:46:10 -08:00
Kevin Jahns
4edc22bedb
remove prematurely commited dom-filter update
2017-11-10 18:45:41 -08:00
Kevin Jahns
16f84c67d5
13.0.0-28
2017-11-10 18:41:39 -08:00
Kevin Jahns
290d3c8ffe
support undefined as an attribute value
2017-11-10 18:41:10 -08:00
Kevin Jahns
c51e8b46c2
13.0.0-27
2017-11-10 12:55:05 -08:00
Kevin Jahns
0cda1630d2
fix path bugs
2017-11-10 12:54:33 -08:00
Kevin Jahns
d232b883e9
13.0.0-26
2017-11-09 17:32:45 -08:00
Kevin Jahns
3a0e65403f
fix undo scope
2017-11-09 17:31:58 -08:00
Kevin Jahns
224fff93ba
13.0.0-25
2017-11-08 17:31:50 -08:00
Kevin Jahns
4f55e8c655
fix event.path by using event.currentTarget
2017-11-08 17:31:12 -08:00
Kevin Jahns
a08624c04e
implemented tree-walker
2017-11-08 13:40:36 -08:00
Kevin Jahns
9b00929172
13.0.0-24
2017-11-08 00:02:24 -08:00
Kevin Jahns
b94267e14a
prevent mangling of Types and other useful data
2017-11-08 00:01:18 -08:00
Kevin Jahns
e696304845
13.0.0-23
2017-11-07 22:52:33 -08:00
Kevin Jahns
d503c9d640
lint
2017-11-07 22:51:46 -08:00
Kevin Jahns
e5f289506f
observeDeep receives array of events
2017-11-07 22:44:43 -08:00
Kevin Jahns
c453593ee7
y-xml: hand over fake document if necessary
2017-11-07 21:06:29 -08:00
Kevin Jahns
5ed1818de5
fix selection RootID name
2017-11-07 20:47:00 -08:00
Kevin Jahns
0310500c4e
add YEvent
2017-11-07 20:34:44 -08:00
Kevin Jahns
b7defc32e8
fix selecting multiple paragraphs
2017-11-07 20:28:31 -08:00
Kevin Jahns
dbdd49af23
fix relativePosition if startof is a root type
2017-11-07 20:10:01 -08:00
Kevin Jahns
b7c05ba133
fix YMap.keys()
2017-11-07 19:56:03 -08:00
Kevin Jahns
9298903bdb
filter out attribute events for YXmlFragment
2017-11-07 19:31:57 -08:00
Kevin Jahns
d59e30b239
implement generic YEvent with path property
2017-11-07 19:18:41 -08:00
Kevin Jahns
d29b83a457
improve backwards-compatibility
2017-11-07 18:31:04 -08:00
Kevin Jahns
0208d83f91
implemented undo 🙌
2017-10-30 11:47:56 +01:00
Kevin Jahns
c545118637
fixed selection handler befor/after transactions
2017-10-28 23:02:48 +02:00
Kevin Jahns
c619aa33d9
fixed inserting large xml portions
2017-10-27 22:28:42 +02:00
Kevin Jahns
1dea8f394f
unbind yxml immediately when deleted
2017-10-26 21:02:25 +02:00
Kevin Jahns
5cf8d20cf6
delete child if parent is deleted
2017-10-26 20:53:27 +02:00
Kevin Jahns
74f9ceab01
fixed dom filtering tests
2017-10-26 20:24:09 +02:00
Kevin Jahns
ca81cdf3be
fixed xml tests
2017-10-26 19:50:43 +02:00
Kevin Jahns
96c6aa2751
fixed ds syncing bug
2017-10-26 19:12:33 +02:00
Kevin Jahns
e6b5e258fb
several DS fixes (logging works now)
2017-10-26 16:22:35 +02:00
Kevin Jahns
e8170a09a7
fixed all insert tests
2017-10-26 14:40:21 +02:00
Kevin Jahns
9d1ad8cb28
fix item-splitting
2017-10-24 16:41:19 +02:00
Kevin Jahns
d859fd68fe
fixed several random tests
2017-10-23 22:43:41 +02:00
Kevin Jahns
2b7d2ed1e6
implemented logTable method on data stores
2017-10-22 23:50:49 +02:00
Kevin Jahns
142a5ada60
fix some tests, implement event classes for types, and re-implement logging
2017-10-22 19:13:12 +02:00
Kevin Jahns
c92f987496
fix some tests, implement event classes for types, and re-implement logging
2017-10-22 19:12:50 +02:00
Kevin Jahns
755c9eb16e
implemented xml type for new event system
2017-10-19 17:36:28 +02:00
Kevin Jahns
1311c7a0d8
fix first y-array test
2017-10-16 04:53:12 +02:00
Kevin Jahns
4eec8ecdd3
fix encoding and rb tree tests
2017-10-15 12:21:14 +02:00
Kevin Jahns
0e426f8928
fix compiling issues
2017-10-14 23:03:24 +02:00
Kevin Jahns
82015d5a37
refactor the whole damn thing
2017-10-11 03:41:54 +02:00
Kevin Jahns
d9ee67d2f3
13.0.0-22
2017-10-07 00:42:06 +02:00
Kevin Jahns
791f6c12f0
add indexeddb example
2017-10-07 00:40:34 +02:00
Kevin Jahns
23d019c244
add writeObjectToYMap and writeArrayToYArray helper utilities
2017-10-07 00:39:26 +02:00
Kevin Jahns
c8ca80d15f
13.0.0-21
2017-10-02 15:52:11 +02:00
Kevin Jahns
be282c8338
fix lint
2017-10-02 15:50:56 +02:00
Kevin Jahns
829a094c6d
check for responsiveness when maxBufferSize is set
2017-10-02 15:45:23 +02:00
Kevin Jahns
725273167e
13.0.0-20
2017-09-29 22:34:18 +02:00
Kevin Jahns
581264c5e3
implement relative position helper
2017-09-29 22:33:28 +02:00
Kevin Jahns
be537c9f8c
13.0.0-19
2017-09-26 21:53:01 +02:00
Kevin Jahns
4028eee39d
implemented chunked broadcast of updates
2017-09-26 21:52:07 +02:00
Kevin Jahns
0e3e561ec7
13.0.0-18
2017-09-20 11:34:03 +02:00
Kevin Jahns
7df46cb731
Merge branch 'master' of github.com:y-js/yjs
2017-09-20 11:30:24 +02:00
Kevin Jahns
40fb16ef32
catch y-* related errors
2017-09-20 11:29:13 +02:00
Kevin Jahns
ada5d36cd5
add more y-xml tests
2017-09-19 03:16:48 +02:00
Kevin Jahns
f537a43e29
implement tests for dom filter
2017-09-18 22:14:45 +02:00
Kevin Jahns
3a305fb228
13.0.0-17
2017-09-11 17:38:21 +02:00
Kevin Jahns
1afdab376d
fix linting
2017-09-11 17:37:39 +02:00
Kevin Jahns
526c862071
added test case for moving nodes
2017-09-11 17:35:20 +02:00
Kevin Jahns
fdbb558ce2
persistence db fixes
2017-09-11 16:02:19 +02:00
Kevin Jahns
76ad58bb59
fix example dist script
2017-09-07 23:02:19 +02:00
Kevin Jahns
c88a813bb0
fix tests by removing y-memory include
2017-09-06 20:52:52 +02:00
Kevin Jahns
ccf6d86c98
removed generators
2017-09-06 20:10:38 +02:00
Kevin Jahns
6b5c02f1ce
13.0.0-16
2017-08-26 01:11:31 +02:00
Kevin Jahns
2be6e935a4
fix lint in xml tests
2017-08-26 01:10:50 +02:00
Kevin Jahns
0ddf3bf742
Y.Xml renamed to Y.XmlElement
2017-08-25 20:35:17 +02:00
Kevin Jahns
5f29724578
merge textarea example
2017-08-24 14:46:16 +02:00
Kevin Jahns
ab6cde07e6
Implemented Xml Struct
2017-08-24 14:44:40 +02:00
Kevin Jahns
0455eaa8ad
13.0.0-15
2017-08-14 15:53:54 +02:00
Kevin Jahns
9ed7e15d0f
13.0.0-14
2017-08-14 15:49:15 +02:00
Kevin Jahns
6e633d0bd9
lint
2017-08-14 15:41:37 +02:00
Kevin Jahns
e16195cb54
implement timeout for creating Yjs instance
2017-08-14 15:39:17 +02:00
Kevin Jahns
86c46cf0ec
13.0.0-13
2017-08-13 01:04:37 +02:00
Kevin Jahns
8770c8e934
Implement persistence layer
2017-08-13 01:03:54 +02:00
Kevin Jahns
7e12ea2db5
move array tests and map tests to yjs
2017-08-09 02:21:17 +02:00
Kevin Jahns
3ca260e0da
13.0.0-12
2017-08-04 18:07:44 +02:00
Kevin Jahns
edb5e4f719
send sync step 1 after sync step 2 is processed (for slaves)
2017-08-04 18:06:36 +02:00
Kevin Jahns
be3b8b65ce
13.0.0-11
2017-08-04 16:30:58 +02:00
Kevin Jahns
d093ef56c8
userJoined accepts auth parameter. Sync with all users at once, instead of one at a time
2017-08-04 16:27:07 +02:00
Kevin Jahns
90b2a895b8
13.0.0-10
2017-08-03 00:25:13 +02:00
Kevin Jahns
4f57c91b82
fix syncing protocol - compute messages after auth
2017-08-03 00:24:01 +02:00
Kevin Jahns
3e1d89253f
fix unhandled message bug in connector
2017-08-01 17:49:37 +02:00
Kevin Jahns
03e1a3fc12
13.0.0-9
2017-08-01 16:21:38 +02:00
Kevin Jahns
5c33f41c30
fix linting
2017-08-01 16:19:25 +02:00
Kevin Jahns
65e8c29b33
remove all async-functions - making it compatible with node 6
2017-08-01 16:15:36 +02:00
Kevin Jahns
fed77d532f
13.0.0-8
2017-07-31 16:05:30 +02:00
Kevin Jahns
d129184f7b
fix linting
2017-07-31 15:43:04 +02:00
Kevin Jahns
a05bb1d4f9
merge bugfix-unable-to-deliver-message branch
2017-07-31 15:40:25 +02:00
Kevin Jahns
65af4963e6
merge bugfix-multiple-clients-sync branch
2017-07-31 15:35:27 +02:00
Kevin Jahns
4dce0816a6
fix preferUntransformed sync
2017-07-31 14:41:40 +02:00
Kevin Jahns
5384bf4faf
remove unneccesarry whenTransactionsFinished command
2017-07-31 14:01:34 +02:00
Kevin Jahns
454ac9ba16
remove ds.length == 0 condition for preferUntransformed
2017-07-31 03:19:47 +02:00
Kevin Jahns
e2ec53be65
implemented three-way sync for master-slave apps
2017-07-31 02:06:07 +02:00
Kevin Jahns
aa6edcfd9b
add warning for message type when ArrayBuffer is expected
2017-07-31 01:13:52 +02:00
Kevin Jahns
f31ec9a8b8
fixed varUint encoding issue
2017-07-30 22:16:59 +02:00
Kevin Jahns
003fa735a0
enable y-map tests
2017-07-27 15:15:20 +02:00
Kevin Jahns
574f0c3269
fix logging message type
2017-07-27 14:49:36 +02:00
Kevin Jahns
eb4fb3a225
binary encoding bugfixes & export BinaryEncoder + BinaryDecoder
2017-07-24 15:37:04 +02:00
Kevin Jahns
c97130abc4
implement generateUserId for node & clients that dont support crypto
2017-07-22 18:37:48 +02:00
Kevin Jahns
a19cfa1465
redesigned connector protocol - enabled binary compression
2017-07-22 18:07:56 +02:00
Kevin Jahns
bb45abbb70
13.0.0-7
2017-07-22 01:16:50 +02:00
Kevin Jahns
67b47fd868
bugfix - sync step 2 also authenticates)
2017-07-22 01:15:13 +02:00
Kevin Jahns
2c18b9ffad
13.0.0-6
2017-07-21 23:56:13 +02:00
Kevin Jahns
a6b7d76544
bugfix: unable to deliver message. fixes receiving message before authentication
2017-07-21 23:55:11 +02:00
Kevin Jahns
442ea7ec70
13.0.0-5
2017-07-19 21:22:37 +02:00
Kevin Jahns
747da52c0b
fix two clients syncing at the time
2017-07-19 21:19:41 +02:00
Kevin Jahns
6c37bd4463
Merge remote-tracking branch 'origin/master' into v13
2017-07-13 20:03:29 +02:00
Kevin Jahns
dd6c196135
link to the IPFS connector
2017-07-13 19:51:29 +02:00
Kevin Jahns
252bec0ad2
implemented binary encoding for all basic structs
2017-07-13 17:42:21 +02:00
Kevin Jahns
6c8876d282
remove option forwardToSyncing clients as it is no longer necessary - it was previously only used by y-webrtc
2017-07-13 00:48:14 +02:00
Kevin Jahns
3c317828d1
Use integer as userId instead of String
2017-07-13 00:37:35 +02:00
Kevin Jahns
cd3f4a72d6
13.0.0-4
2017-07-06 15:17:23 +02:00
Kevin Jahns
2c852c85c6
add node build
2017-07-06 15:16:13 +02:00
Kevin Jahns
434ec84837
13.0.0-3
2017-07-06 03:29:09 +02:00
Kevin Jahns
2b618cd83c
change to correct main file
2017-07-06 03:28:06 +02:00
Kevin Jahns
f4327529b9
13.0.0-2
2017-07-05 18:41:26 +02:00
Kevin Jahns
67189f4d44
dont lint in postversion
2017-07-05 18:40:41 +02:00
Kevin Jahns
6225fb4dfd
fix linting of examples
2017-07-05 18:33:16 +02:00
Kevin Jahns
a7550fe5d3
13.0.0-1
2017-07-05 18:12:35 +02:00
Kevin Jahns
9d9c84f40e
fit y-memory in helper.js
2017-07-05 18:10:24 +02:00
Kevin Jahns
ae91902de3
Yjs throws "error" event in unexpected cases. fixes #72
2017-07-05 17:58:19 +02:00
Kevin Jahns
033d24eee7
use y-memory@v8 directory structure
2017-07-05 17:44:17 +02:00
Kevin Jahns
8abef69aa7
implemented named event handler
2017-07-05 17:01:21 +02:00
Kevin Jahns
7e4dedab38
always use generateUniqueUserId. fixes #74
2017-07-05 11:40:19 +02:00
Kevin Jahns
85e488bbe6
Throw proper error stack when observer function thrown an error - implements #75
2017-07-05 11:37:22 +02:00
Kevin Jahns
a6a321da10
fix textarea example to fit new directory structure
2017-07-05 11:34:28 +02:00
Kevin Jahns
008764ccdc
remove dist submodule
2017-07-05 11:26:20 +02:00
Kevin Jahns
de5f4abe32
filter deleted ops only if gc is disabled
2017-07-04 04:59:07 -07:00
Kevin Jahns
382d06f6d4
reworked getOperations (decrease size of sent operations, fixe some gc issues). garbageCollectOperation now sets origin to the direct left operation, if possible
2017-07-03 23:19:11 -07:00
Kevin Jahns
66de422749
fix issues with new master-slave tests
2017-06-30 15:18:07 -07:00
Kevin Jahns
bbf5e39408
implemented client-server model (untested)
2017-06-30 14:07:14 -07:00
Kevin Jahns
c8bca15d72
13.0.0-0
2017-06-30 09:16:58 -07:00
Kevin Jahns
a64730e651
fix several sync issues. improve performance a bit by removing ds from first sync step
2017-06-29 15:04:36 -07:00
Kevin Jahns
409a9414f1
fix the "gc state" warning
2017-06-27 02:07:03 +02:00
Kevin Jahns
24facaab09
fix os comparison in compareUsers
2017-06-21 16:29:51 +02:00
Kevin Jahns
060549f2cb
enable gc in random tests
2017-06-19 21:16:42 +02:00
Kevin Jahns
dfe3b0b1d1
Merge branch 'master' into v13
2017-06-19 10:48:16 +02:00
Kevin Jahns
a5506a5ded
Release 12.3.1
2017-06-17 14:32:28 +02:00
Kevin Jahns
361d4a48e1
implement getPath for any type. types now initialize _parent. fix some cases where observeDeep is not fired
2017-06-17 14:31:00 +02:00
Kevin Jahns
e23154bec2
update dependencies
2017-06-16 01:04:58 +02:00
Kevin Jahns
1682d43c26
added chancejs to dependencies
2017-06-07 21:43:52 +02:00
Kevin Jahns
68c417fe6f
fix gc timeout
2017-05-24 16:34:57 +02:00
Kevin Jahns
2ea163a5cf
outsourced helper and test-connector
2017-05-22 13:57:16 +02:00
Kevin Jahns
020dacdad4
removed some unnecessary setTimeouts
2017-05-21 00:31:16 +02:00
Kevin Jahns
42abcc897c
added examples
2017-05-19 02:22:00 +02:00
Kevin Jahns
0a321610aa
use rollup for yjs
2017-05-16 18:35:30 +02:00
Kevin Jahns
edf47d3491
add disconnect / reconnect return values
2017-05-12 04:19:14 +02:00
Kevin Jahns
14ee42cad5
Release 12.3.0
2017-05-08 12:40:31 +02:00
Kevin Jahns
f990927d3e
implemented Y.utils.bubbleEvent
2017-05-08 12:01:51 +02:00
Kevin Jahns
a1cef4662f
Release 12.2.1
2017-05-03 18:00:59 +02:00
Kevin Jahns
2c343970c4
fixed sync issue with "preferUntransformed"
2017-05-03 18:00:20 +02:00
Kevin Jahns
74b41e03e3
Release 12.2.0
2017-05-03 16:17:13 +02:00
Kevin Jahns
b242aab955
implemented "preferUntransformed"
2017-05-03 16:13:52 +02:00
Kevin Jahns
8e4efd9bba
fixed "waiting for auth" issue in the test suite
2017-04-28 11:21:26 +02:00
Kevin Jahns
47d5899058
fixed test suite. It stopped working because of previous adoptions on the gc behavior. I failed to notice it..
2017-04-27 14:58:08 +02:00
Kevin Jahns
a126a29876
Added Monaco editor example
2017-04-18 18:24:03 +02:00
Kevin Jahns
4aa720116f
add serviceworker example
2017-04-11 16:21:00 +02:00
Kevin Jahns
e29162c3fc
Release 12.1.7
2017-04-10 11:22:34 +02:00
Kevin Jahns
aa40855953
Add debug package as dependency. Fixes #66
2017-04-10 10:30:28 +02:00
Kevin Jahns
b6545d62fc
update CodeMirror example
2017-03-29 13:43:26 +02:00
Kevin Jahns
3425d95507
update CodeMirror example
2017-03-29 13:23:28 +02:00
Kevin Jahns
53682c17fb
added CodeMirror example
2017-03-29 13:21:30 +02:00
Kevin Jahns
a492a83f0c
Release 12.1.6
2017-03-20 19:16:06 +01:00
Kevin Jahns
d340e557c1
removed the Changelog from README.md. Instead use the github releases to describe the changes
2017-03-20 19:13:08 +01:00
Kevin Jahns
d5cd9d94d5
implemented logging with the debug logging utility (read the updated docs)
2017-03-20 19:11:59 +01:00
Kevin Jahns
e1a160b894
Release 12.1.5
2017-03-06 13:27:32 +01:00
Kevin Jahns
f996ac83d2
added option *generateUserId* in abstract connector
2017-03-06 13:27:04 +01:00
Kevin Jahns
922637930f
Release 12.1.4
2016-12-19 10:42:05 +01:00
Kevin Jahns
ff7e9cdef2
var/let declaration - fixes #61
2016-12-19 10:41:15 +01:00
Kevin Jahns
f02641deb7
Added Yjs Polymer element to module section
2016-12-01 11:15:39 +01:00
Kevin Jahns
f97144356c
Release 12.1.3
2016-11-22 13:12:36 +01:00
Kevin Jahns
a9fdd5df66
updated webworker example
2016-11-21 16:29:03 +01:00
Kevin Jahns
e90f241ae0
implemented resetAuth
2016-11-21 01:22:15 +01:00
Kevin Jahns
102bef4f92
added sw example
2016-11-14 16:29:58 +01:00
Kevin Jahns
96e9c3c166
enable empty share property
2016-11-14 16:27:08 +01:00
Kevin Jahns
1080f83990
implemented moduleName, made window statements failsafe
2016-11-14 13:01:41 +01:00
Kevin Jahns
66b6b2a568
added banner to distribution files. Fixes #56
2016-11-14 10:30:10 +01:00
Kevin Jahns
7415f27fbc
Release 12.1.2
2016-11-10 17:01:58 +01:00
Kevin Jahns
c9d1f34864
reconnect only when disconnected (and reverse)
2016-11-10 12:54:01 +01:00
Kevin Jahns
34997f940b
Release 12.1.1
2016-11-09 14:26:37 +01:00
Kevin Jahns
4e9e21e75e
lint
2016-11-09 14:19:13 +01:00
Kevin Jahns
6c375a37c8
update dist dir
2016-11-09 14:18:06 +01:00
Kevin Jahns
cd0cddaf35
fixed several sync issues
2016-11-04 11:42:50 +01:00
Kevin Jahns
93c23ddc09
fixed some gc issues (unfinished)
2016-11-03 16:28:48 +01:00
Kevin Jahns
480dfdfb77
dont modify gc buffer if gcTimeout > 0 or disconnected
2016-11-02 20:55:24 +01:00
Kevin Jahns
dda2a1ef82
another take on sourcedir: null specifies not to load anything automatically
2016-10-31 02:58:21 +01:00
Kevin Jahns
f32ff1b613
fixed several consistency issues with y-indexeddb. Implemented support for .close() - a soft replacement for .destroy()
2016-10-31 01:17:24 +01:00
Kevin Jahns
8ab16f4ada
Release 12.1.0
2016-10-29 21:45:38 +02:00
Kevin Jahns
3fdcf82bcc
fixed error description for observers that throw errors
2016-10-29 16:55:16 +02:00
Kevin Jahns
6dd33f4f90
copy db, connector, and type properties before handing them over to the connector, etc. This prevents some weird errors using y-elements
2016-10-24 23:10:44 +02:00
Kevin Jahns
0521fac8d8
implemented auth utilities for yjs
2016-10-24 11:57:59 +02:00
Kevin Jahns
666ab8285c
update examples
2016-10-13 17:29:24 +02:00
Kevin Jahns
675c7f6638
rephrase intro
2016-10-13 15:53:41 +02:00
Kevin Jahns
463608cb5c
Release 12.0.4
2016-10-12 15:52:04 +02:00
Kevin Jahns
d1059b5d04
local sourceDir causes troubles if modules are required by a yjs instance
2016-10-12 15:51:42 +02:00
Kevin Jahns
8b24284e25
Release 12.0.3
2016-10-07 21:00:46 +02:00
Kevin Jahns
08bcdfb008
implemented es6 import utility function (Y.extend(module) === module(Y))
2016-10-07 21:00:17 +02:00
Kevin Jahns
f93d7b1e70
Release 12.0.2
2016-10-05 01:00:00 +02:00
Kevin Jahns
4d024883bc
Fixed "[0] of undefined" server issue
2016-10-04 16:12:24 +02:00
Kevin Jahns
ecd412c6f6
sourcedir is no longer a global variable
2016-10-04 14:54:52 +02:00
Kevin Jahns
b939cdd086
Release 12.0.1
2016-09-27 16:17:33 +02:00
Kevin Jahns
17803266d4
repairChecker: Yjs is now able to detect incorrect states that happen when messages get lost. When Yjs is in an incorrect state it repairs itself and syncs again
2016-09-27 16:12:35 +02:00
Kevin Jahns
f0e88d192c
Release 12.0.0
2016-09-20 19:19:18 +02:00
Kevin Jahns
e66c0f8a4e
update doc
2016-09-20 19:13:09 +02:00
Kevin Jahns
eba3d590cc
update doc
2016-09-20 19:12:41 +02:00
Kevin Jahns
0b31e63b82
update dist
2016-09-20 18:30:52 +02:00
Kevin Jahns
d22fbca6cc
ready to publish (lint)
2016-09-01 02:40:35 +02:00
Kevin Jahns
330434ee24
update npm example
2016-08-31 02:58:28 +02:00
Kevin Jahns
2f0216bf89
update help
2016-08-30 21:03:08 +02:00
Kevin Jahns
f9d0625bd2
simplify example
2016-08-30 20:58:17 +02:00
Kevin Jahns
7a9d60770a
simplify documentation
2016-08-30 20:43:05 +02:00
Kevin Jahns
059f72ffe1
fix init problems with v12, update examples to be synchronous
2016-08-30 18:10:19 +02:00
Kevin Jahns
d2d74a64ab
update dist & added note to changelog
2016-08-29 17:56:39 +02:00
Kevin Jahns
a1f0140069
updated documentation (changelog for v12, added leveldb, consistency)
2016-08-29 17:21:30 +02:00
Kevin Jahns
7bd8e81342
fix test verifier
2016-08-28 22:13:07 +02:00
Kevin Jahns
34f365cd8f
implemented support for synchronous type creation
2016-08-26 13:53:31 +02:00
Kevin Jahns
b3ba8e7546
Merge branch 'master' of github.com:y-js/yjs into v12
2016-08-25 04:43:43 +02:00
Kevin Jahns
e1e94bcf5d
made createType synchronous
2016-08-25 04:42:23 +02:00
Kevin Jahns
4a83ff8514
updated quill example
2016-08-23 11:13:09 +02:00
Kevin Jahns
4078020afd
Release 11.2.5
2016-08-22 12:15:32 +02:00
Kevin Jahns
e31d5e0e1d
fixed late-join sync issue & use leveldb only in node environment
2016-08-22 12:05:39 +02:00
Kevin Jahns
acbc884eb5
Release 11.2.4
2016-08-04 19:25:36 +02:00
Kevin Jahns
f9315288d0
found another bug that only happens in persistent databases (operationAdded changes an operation, so it needs to be retrieved again after calling it)
2016-08-01 20:48:55 +02:00
Kevin Jahns
3b0d0343f4
Release 11.2.2
2016-08-01 17:04:06 +02:00
Kevin Jahns
74c881bb5b
Fixed bug that only occurs in persistent databases (setOperation was not called).
2016-08-01 16:52:02 +02:00
Kevin Jahns
63f8a891be
update dist
2016-07-05 16:21:19 +02:00
Kevin Jahns
2083cdb6b0
several bug-fixes (for y-richtext beta)
2016-07-01 17:45:53 +02:00
Kevin Jahns
2091392031
implemented random seed generator, in order to reproduce tests
2016-06-29 17:48:56 +02:00
Kevin Jahns
3dc67e075b
debugged some of the special cases of Utils.receivedOp & found some bugs
2016-06-28 16:23:02 +02:00
Kevin Jahns
81e72126ce
implemented new extention for awaitOps. It fixes several consistency issues (they were previously hard to detect), and it is also pretty efficient. It still has some debugger statements, so enjoy with care
2016-06-14 21:27:42 +02:00
Kevin Jahns
e77a753708
fixed bug in array & richtext
2016-06-03 19:04:47 +02:00
Kevin Jahns
bc856a09f5
Release 11.2.1
2016-05-24 15:25:14 +02:00
Kevin Jahns
f7ae62a906
Release 11.2.0
2016-05-10 18:13:01 +02:00
Kevin Jahns
6669be104e
Release 11.1.0
2016-05-07 13:20:43 +01:00
Kevin Jahns
14d59de2bd
improved awaitOps
2016-05-07 13:16:48 +01:00
Kevin Jahns
483d2c78aa
Use uglify-js v2.5.0 to fix #52
2016-05-06 12:57:07 +01:00
Kevin Jahns
5b835563c8
implement new method awaitedOps in favor of awaitedDeletes/awaitedInserts. This will fix some bugs when the type gets out of sync with the state of yjs
2016-05-06 12:53:10 +01:00
Kevin Jahns
996566419c
some flush updates
2016-05-04 17:14:39 +02:00
Kevin Jahns
5d6a9872e2
Michael found a weird character in my code
2016-05-02 11:04:24 +02:00
Kevin Jahns
8930865a21
Release 11.0.4
2016-05-02 11:00:07 +02:00
Kevin Jahns
2897695680
update dist, more args for SmallLookupBuffer
2016-04-30 23:01:36 +01:00
Kevin Jahns
5118f02b49
Release 11.0.3
2016-04-27 12:04:39 +01:00
Kevin Jahns
a10933beef
fixed awaitedInserts (critical for y-richtext)
2016-04-27 12:02:39 +01:00
Kevin Jahns
c2ffe0b697
Release 11.0.2
2016-04-26 21:28:21 +02:00
Kevin Jahns
2d1a7b067b
fixed some minor problems related to compareId
2016-04-26 21:27:08 +02:00
Kevin Jahns
2675f0277c
Release 11.0.1
2016-04-26 15:34:19 +02:00
Kevin Jahns
918bc334b2
Release 11.0.0
2016-04-26 15:02:44 +02:00
Kevin Jahns
accf0dbafb
fixed bump script
2016-04-26 15:01:22 +02:00
Kevin Jahns
6b8ce0ab4f
changed the observe functionality
2016-04-25 16:32:45 +02:00
Kevin Jahns
71bf6438e1
found some gc bugs that occur when using deletion lengths
2016-04-25 13:09:52 +02:00
Kevin Jahns
90b7b01e9a
fixes #49
2016-04-22 22:09:49 +01:00
Kevin Jahns
895ec86ff6
all tests working. Fixed an older bug: When gc an op I forgot to update the state. This only affected offline editing, and was very hard to catch in the past
2016-04-22 21:27:43 +01:00
Kevin Jahns
bffd130b92
fixed first two random cases, (gc seems still to be an issue ..)
2016-04-21 18:04:46 +02:00
Kevin Jahns
feae0d51bd
fixed content.length in tryExecute
2016-04-20 12:37:56 +02:00
Kevin Jahns
f46c8df605
fixed some cases that lead to inconsistencies
2016-04-20 12:03:06 +02:00
Kevin Jahns
82025c5de9
better debugging, pretty print (no undefined) in logtable
2016-04-19 16:34:14 +02:00
Kevin Jahns
153ec811e2
fixed some gc bugs, improved applyDeleteSet
2016-04-18 16:13:29 +02:00
Kevin Jahns
01031d27c3
some gc fixes
2016-04-18 10:48:48 +01:00
Kevin Jahns
c72f62ecb6
implemented support for range of deletions (unfinished)
2016-04-14 18:09:27 +02:00
Kevin Jahns
e1df1a7a12
fixed one more problem with ds & fixed ace example & insertions are combined even when created in different execution tasks
2016-04-13 16:59:54 +02:00
Kevin Jahns
a7f845f553
fixed some old todos, fixed some cases related to "content is an array"
2016-04-12 16:18:05 +02:00
Kevin Jahns
20321c8a7d
fixed test connector buffer to really be parallel!
2016-04-11 16:20:27 +02:00
Kevin Jahns
f3fadd3895
test suite works again with "contentS" feature!
2016-04-11 15:07:08 +02:00
Kevin Jahns
08a79d0e7b
several bug fixes regarding "content is an array"
2016-04-07 15:54:47 +02:00
Kevin Jahns
5b21104da3
del is applied after ins (type is always called when ins already deleted)
2016-04-06 15:45:30 +02:00
Kevin Jahns
ecc2aef0f8
update
2016-04-05 15:38:22 +02:00
Kevin Jahns
1c32067908
implementing new insertion struct (unfinished)
2016-04-05 10:43:57 +01:00
Kevin Jahns
fe75ed6208
typos in README.md
2016-03-24 12:00:19 +01:00
Kevin Jahns
c2404b1e98
Release 10.0.3
2016-03-23 19:55:56 +01:00
Kevin Jahns
f363e1e9fc
Merge branch 'master' of https://github.com/y-js/yjs
2016-03-23 19:54:40 +01:00
Kevin Jahns
749514c074
update dist
2016-03-23 19:54:28 +01:00
Kevin Jahns
24f8616386
Release 10.0.2
2016-03-23 14:42:26 +01:00
Kevin Jahns
d4ee8af772
Release 10.0.1
2016-03-23 14:41:08 +01:00
Kevin Jahns
83a42271ad
fix remaining memory leaks
2016-03-23 14:33:51 +01:00
Kevin Jahns
88971b4e69
fixed several issues of the gc. I.e. the gc sometimes did not collect the whole subtree when deleting an operation
2016-03-21 21:00:28 +01:00
Kevin Jahns
f844dcbc1e
bugfixes creating structs without loading type (e.g. for y-websockets-server)
2016-03-14 19:46:57 +01:00
Kevin Jahns
c9c00b5a08
found bug: types are not called anymore
2016-03-11 01:08:26 +01:00
Kevin Jahns
d79e3102fc
new approach for type definitions
2016-03-10 17:49:36 +01:00
Kevin Jahns
ba4f444f32
Implemented support for composite type, fixed insert type issues for y-array
2016-02-29 13:46:08 +01:00
Kevin Jahns
effc2fe576
Release 9.0.4
2016-02-24 12:00:50 +01:00
Kevin Jahns
f9a54626b1
update dist
2016-02-24 12:00:27 +01:00
Kevin Jahns
808a07d218
added some error messages
2016-02-24 11:40:19 +01:00
Kevin Jahns
afbe81a602
update .gitignore
2016-02-24 10:09:56 +01:00
Kevin Jahns
2883947641
remove jsconfig
2016-02-24 10:08:11 +01:00
Kevin Jahns
1c15edd332
remove another .vscode
2016-02-24 10:07:07 +01:00
Kevin Jahns
214380c3ca
updated changelog
2016-02-23 16:24:07 +01:00
Kevin Jahns
ecbf03ab10
Release 9.0.3
2016-02-23 15:50:19 +01:00
Kevin Jahns
5aedddeea3
update dist
2016-02-23 15:48:15 +01:00
Kevin Jahns
babdb765c5
Release 9.0.2
2016-02-23 15:42:13 +01:00
Kevin Jahns
43b4d59f9b
updated package.json, major version upgrade, added peerDependencies
2016-02-23 15:41:28 +01:00
Kevin Jahns
64a5fae838
Release 9.0.1
2016-02-23 11:58:14 +01:00
Kevin Jahns
5036053d9c
added peer dependencies, upgraded version to major (new versioning scheme)
2016-02-23 11:57:44 +01:00
Kevin Jahns
0ec249d388
Release 0.8.28
2016-02-23 11:27:30 +01:00
Kevin Jahns
be68a25904
Implement vesion header. Different version headers must not sync. implements #48
2016-02-23 11:21:37 +01:00
Kevin Jahns
fc92b12e85
Release 0.8.27
2016-02-22 13:08:05 +01:00
Kevin Jahns
e35f4d19f3
Release 0.8.26
2016-02-22 13:06:15 +01:00
Kevin Jahns
6d3c4b21fb
Release 0.8.25
2016-02-22 13:04:36 +01:00
Kevin Jahns
339590f49e
Release 0.8.22
2016-02-22 12:38:26 +01:00
Kevin Jahns
429c1f83c1
Merge pull request #45 from istvank/master
...
Making documentation consistent
2016-02-18 17:33:04 +01:00
Kevin Jahns
03bab63358
Release 0.8.21
2016-02-18 16:57:32 +01:00
Kevin Jahns
06ef22b8ca
sorry sorry sorry -.- fixes #47
2016-02-18 16:52:13 +01:00
Kevin Jahns
f579a436c7
Release 0.8.20
2016-02-16 16:08:54 +01:00
Kevin Jahns
da7e67d97d
implemented destroy & updated disconnect
2016-02-16 15:51:12 +01:00
Kevin Jahns
bd54a43a33
Release 0.8.18
2016-02-15 15:22:55 +01:00
Kevin Jahns
68c21131d3
Remove that single \for.. in\ loop that appearantly causes troubles for istvan (why am I fixing this again?) fixes #46
2016-02-15 15:21:11 +01:00
István Koren
3826d9b592
Make it consistent with npm doc few lines below
2016-02-14 13:24:12 +01:00
István Koren
fa9ff669e4
Merge pull request #1 from y-js/master
...
Updating to latest yjs version
2016-02-13 13:14:43 +01:00
Kevin Jahns
bca7477ca5
Release 0.8.17
2016-02-04 23:13:51 +01:00
Kevin Jahns
b40b7e10ab
Release 0.8.16
2016-02-04 23:12:53 +01:00
Kevin Jahns
d20141fec1
Release 0.8.15
2016-02-04 23:11:11 +01:00
Kevin Jahns
5f2a81d064
updated api documentation
2016-02-04 23:08:29 +01:00
Kevin Jahns
56ba55cbab
Release 0.8.14
2016-02-04 15:26:32 +01:00
Kevin Jahns
7be262e9f3
fixing @Joeao bug
2016-02-04 15:26:09 +01:00
Kevin Jahns
1da76dbc20
update dist
2016-02-04 12:53:39 +01:00
Kevin Jahns
8924c3e163
Release 0.8.13
2016-02-04 12:47:09 +01:00
Kevin Jahns
608b5e3319
Release 0.8.12
2016-02-04 12:12:57 +01:00
Kevin Jahns
d532fc530f
update dist
2016-02-04 12:06:06 +01:00
Kevin Jahns
a5760a45bb
Release 0.8.11
2016-02-04 10:53:04 +01:00
Kevin Jahns
437955ba84
update
2016-02-03 11:47:07 +01:00
Kevin Jahns
dab72be87f
update
2016-02-03 11:37:36 +01:00
Kevin Jahns
89a6ec374e
update
2016-01-27 17:05:28 +01:00
Kevin Jahns
4b6352b11a
typo
2016-01-27 11:34:11 +01:00
Kevin Jahns
31d2a231e3
Further reduced number of db requests
2016-01-26 15:30:19 +01:00
Kevin Jahns
6b1cf18822
Improvements on DS lookups
2016-01-26 11:29:58 +01:00
Kevin Jahns
39dc2317b7
Implemented more efficient garbage collectior
...
from worst case of O(n) -> O(1) - where n is the number of insertions in
a list
So this is a huge improvement, I guess :)
2016-01-23 20:09:30 +01:00
Kevin Jahns
38bf398709
Improvements that are required for offline editing
2016-01-23 01:02:01 +01:00
Kevin Jahns
364ed325b0
fixed spec
2016-01-22 14:16:16 +01:00
Kevin Jahns
1b3f5443b3
implemented small lookup buffer. This heavily improves lookups for slow databases
2016-01-22 14:09:51 +01:00
Kevin Jahns
37ac7787d0
Update garbage collect algorithm. Fixed some tests appearantly :)
2016-01-21 21:08:20 +01:00
Kevin Jahns
8e4cf83330
typos
2016-01-18 17:21:47 +01:00
Kevin Jahns
5524ab9c20
Release 0.8.9
2016-01-18 16:45:46 +01:00
Kevin Jahns
65dc716936
Release 0.8.8
2016-01-18 15:40:38 +01:00
Kevin Jahns
5b7a4482cf
Release 0.8.7
2016-01-16 01:45:58 +01:00
Kevin Jahns
cfa089f7cf
Release 0.8.6
2016-01-16 01:42:00 +01:00
Kevin Jahns
190442a58d
update documentation
2016-01-16 01:40:26 +01:00
Kevin Jahns
0398b5260a
Release 0.8.5
2016-01-15 18:09:46 +01:00
Kevin Jahns
8544c16771
Release 0.8.4
2016-01-15 17:58:08 +01:00
Kevin Jahns
a5f55359c3
improve data exchange performance
2016-01-15 17:57:06 +01:00
Kevin Jahns
102555a3b0
Release 0.8.3
2016-01-15 03:46:55 +01:00
Kevin Jahns
ece8268e44
Release 0.8.2
2016-01-15 03:10:58 +01:00
Kevin Jahns
dd279bccf7
Release 0.8.1
2016-01-15 00:03:43 +01:00
Kevin Jahns
7e046e0753
Release 0.8.0
2016-01-15 00:02:12 +01:00
Kevin Jahns
51a834d6c9
Implemente a new sync procedure that is optimal with respect to big O notation (there is probably a way to reduce it by a factor of 1/2)
2016-01-15 00:00:41 +01:00
Kevin Jahns
a33d0bf7bc
Release 0.7.6
2016-01-11 15:48:10 +01:00
Kevin Jahns
fd6a28eb25
Release 0.7.5
2016-01-11 15:47:24 +01:00
Kevin Jahns
579fd52455
publish v0.7.3
2016-01-09 21:08:02 +01:00
Kevin Jahns
8cfc9d41c3
Made compatible with windows
2016-01-09 04:17:23 +01:00
Kevin Jahns
bdf290adb2
added safety to setUserId (when called twice)
2015-12-30 16:37:35 +01:00
Kevin Jahns
98d87cb26d
update
2015-12-18 16:34:21 +01:00
Kevin Jahns
fbbfa9fd47
added example
2015-12-09 18:40:10 +01:00
Kevin Jahns
72bd0d9c3a
update map type
2015-12-08 16:26:55 +01:00
Kevin Jahns
3dbeb2c415
Merge pull request #34 from istvank/master
...
Changed to semver ;)
2015-12-08 14:17:29 +01:00
István Koren
2a9fd96958
Changed to semver ;)
...
Two lines below it states you switch to semver, still there was 1.0... ;)
2015-12-08 12:08:12 +01:00
Kevin Jahns
9d34ccfdbc
update
2015-12-03 18:05:12 +01:00
Kevin Jahns
7753994e36
fixed bugs resolving from new init style
2015-12-03 17:27:13 +01:00
Kevin Jahns
709779425c
make module import safer
2015-12-02 20:04:59 +01:00
Kevin Jahns
334db3234b
outsourced Y.Map type
2015-12-02 16:57:55 +01:00
Kevin Jahns
0db7fe5d46
added support for static content, added jigsaw puzzle
2015-12-02 15:58:22 +01:00
Kevin Jahns
3a55ca4f21
update
2015-12-01 19:27:14 +01:00
Kevin Jahns
8d14a9cbba
starting to implement new sharedObjects idea
2015-11-30 15:56:45 +01:00
Kevin Jahns
f6c5051472
added es6 distribution & gulp task for es6 distribution
2015-11-30 15:25:55 +01:00
Kevin Jahns
eff6fb1cc5
added flow support for everything except tests
2015-11-30 15:02:34 +01:00
Kevin Jahns
0ebfae6997
added flow support for Transaction.js
2015-11-30 14:26:22 +01:00
Kevin Jahns
e9c40f9a83
added flow support for Struct.js
2015-11-30 12:47:33 +01:00
Kevin Jahns
da2762edf5
added flow support for Connector.js
2015-11-30 12:26:02 +01:00
Kevin Jahns
bd9c3813fd
* starting flow integration
...
* found a bug in EventHelper
* reduce wait() calls
2015-11-26 00:46:02 +01:00
Kevin Jahns
940a44bb7c
fix transaction wait bug
2015-11-25 16:04:01 +01:00
Kevin Jahns
aa2e7fd917
Added jsconfig.json, fixed tests for large numbers
2015-11-20 21:18:34 +01:00
Kevin Jahns
9fc55f5386
update readme
2015-11-19 18:10:31 +01:00
Kevin Jahns
8ee563f873
finally fixed the timeout hack for tests
2015-11-18 16:17:59 +01:00
Kevin Jahns
5fcfbbfe94
updated build process
2015-11-17 15:28:45 +01:00
Kevin Jahns
8870fdc495
lint
2015-11-15 02:14:06 +01:00
Kevin Jahns
58a612eaa1
added option for servers that want to propagate applied operations (aka the websockets connector)
2015-11-15 02:04:06 +01:00
Kevin Jahns
ae12b087e7
fixed module loading issue
2015-11-14 20:53:38 +01:00
Kevin Jahns
528dbc6e5a
announcing new version in readme
2015-11-14 20:44:54 +01:00
Kevin Jahns
1deb453cc5
fixed the dist build process
2015-11-14 20:41:34 +01:00
Kevin Jahns
099297ebdf
working on build process
2015-11-13 16:09:40 +01:00
Kevin Jahns
3faeb628fd
updated dist build process
2015-11-12 20:42:58 +01:00
Kevin Jahns
d1e30c5040
updated examples and dist build
2015-11-11 17:19:22 +01:00
Kevin Jahns
fa45ce04ef
prettyfied README for website
2015-11-11 00:00:15 +01:00
Kevin Jahns
2d20fd59d0
outsourced Textbind, improved automatic module loader
2015-11-09 03:03:37 +01:00
Kevin Jahns
08d07796ee
added spec helper
2015-11-07 22:20:47 +01:00
Kevin Jahns
010d0d684e
fixed linting
2015-11-07 22:18:28 +01:00
Kevin Jahns
6dc347642b
implemented module loader for yjs
2015-11-07 22:12:48 +01:00
Kevin Jahns
138afe39dc
improving.. breaking.. the gulpfile
2015-11-06 16:16:38 +01:00
Kevin Jahns
0832be2380
improved error messaging.. thats it for today
2015-11-05 17:20:27 +01:00
Kevin Jahns
8a2a184f30
Release 0.6.32
2015-11-05 17:09:01 +01:00
Kevin Jahns
4882e77fdd
improved gulpfile.helper
2015-11-05 16:55:03 +01:00
Kevin Jahns
78f4f6f5b9
implemented gulpfile.helper
2015-11-05 15:53:26 +01:00
Kevin Jahns
317f7f19bb
updated gulpfile to wiki
2015-11-05 00:35:11 +01:00
Kevin Jahns
00f58ba68f
fixed travis
2015-11-04 17:12:59 +01:00
Kevin Jahns
029a169114
fixed serve:examples
2015-11-04 17:06:20 +01:00
Kevin Jahns
f58889a05d
outsourced examples
2015-11-04 16:53:02 +01:00
Kevin Jahns
e9ac59dcf8
fixed tests, finalizing the scripts (sorry for all the commits -.-)
2015-11-04 15:01:12 +01:00
Kevin Jahns
57cf20555f
Deploy 0.6.21
2015-11-04 14:39:54 +01:00