1
0
Fork 0
Commit Graph

14 Commits

Author SHA1 Message Date
Max Neunhoeffer bde48d524d Change undocumented behaviour in case of invalid rev in JS document ops.
An invalid rev should lead to a 1200 ("conflict") error rather than a
1239 ("illegal document revision") error. This is more intuitive and
in line with the corresponding change in the HTTP API. No tests needed
adjustment.
2017-02-08 10:59:04 +01:00
Max Neunhoeffer 6d5f70b6f4 Add a global DECODE_REV function in JS. 2016-11-08 10:25:35 +01:00
Jan Steemann 8e591c16c2 fixed random number generator initialization 2016-08-02 12:25:46 +02:00
Jan Steemann 2870a9f10f visual studio 2016-08-02 11:46:44 +02:00
Frank Celler af6cbe272a fixed epoch computation 2016-08-01 13:43:30 +02:00
Wilfried Goesgens 15f1990b57 by @servusoft : use signed char if we want to operate with `-1` 2016-07-18 11:19:43 +02:00
Max Neunhoeffer 4202b817ed Fix fix. 2016-07-13 12:22:00 +02:00
Max Neunhoeffer 3df0d2dc32 Fix bug in HybridLogicalClock. 2016-07-13 12:21:17 +02:00
Max Neunhoeffer 27fcfecee3 Handle overflow of counter in HLC better. 2016-07-12 23:00:23 +02:00
Max Neunhoeffer 1a04b0112f Fix lastRevision in collection to use revision. 2016-07-06 09:38:20 +02:00
Max Neunhoeffer 3e789c0519 Improve checking of valid revision timestamps. 2016-07-05 22:53:06 +02:00
Max Neunhoeffer bf3a6de760 Fix extractRevision for new revision format. 2016-07-05 21:55:42 +02:00
Max Neunhoeffer 7fe9fcc00e Use hybrid logical clock for _rev entries. 2016-07-05 21:15:32 +02:00
Max Neunhoeffer bc82322353 Start adding a hybrid logical clock. 2016-07-05 00:28:04 +02:00