Commit Graph

484 Commits

Author SHA1 Message Date
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 23d019c244 add writeObjectToYMap and writeArrayToYArray helper utilities 2017-10-07 00:39:26 +02:00
Kevin Jahns 829a094c6d check for responsiveness when maxBufferSize is set 2017-10-02 15:45:23 +02:00
Kevin Jahns 581264c5e3 implement relative position helper 2017-09-29 22:33:28 +02:00
Kevin Jahns 4028eee39d implemented chunked broadcast of updates 2017-09-26 21:52:07 +02:00
Kevin Jahns 40fb16ef32 catch y-* related errors 2017-09-20 11:29:13 +02:00
Kevin Jahns 1afdab376d fix linting 2017-09-11 17:37:39 +02:00
Kevin Jahns fdbb558ce2 persistence db fixes 2017-09-11 16:02:19 +02:00
Kevin Jahns ccf6d86c98 removed generators 2017-09-06 20:10:38 +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 e16195cb54 implement timeout for creating Yjs instance 2017-08-14 15:39:17 +02:00
Kevin Jahns 8770c8e934 Implement persistence layer 2017-08-13 01:03:54 +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 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 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 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 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 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 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 67b47fd868 bugfix - sync step 2 also authenticates) 2017-07-22 01:15: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 747da52c0b fix two clients syncing at the time 2017-07-19 21:19:41 +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 ae91902de3 Yjs throws "error" event in unexpected cases. fixes #72 2017-07-05 17:58:19 +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 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 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 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 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 68c417fe6f fix gc timeout 2017-05-24 16:34:57 +02:00