Richard Hansen
|
3fe2b17094
|
Changeset: Make the Builder attribs and pool args optional
|
2021-12-16 00:49:12 -05:00 |
|
Richard Hansen
|
29da9815ae
|
Changeset: Add new Builder.prototype.build() method
|
2021-12-16 00:49:12 -05:00 |
|
Richard Hansen
|
a1c4382386
|
Changeset: Turn builder() into a real class
|
2021-12-16 00:49:12 -05:00 |
|
Richard Hansen
|
d3d2090ca5
|
Changeset: Migrate from smartOpAssembler() to canonicalizeOps()
|
2021-12-16 00:49:12 -05:00 |
|
Richard Hansen
|
23e7809b4a
|
Changeset: Use a generator to implement SmartOpAssembler
Eventually all uses of the class will be switched to the generator.
|
2021-12-16 00:49:12 -05:00 |
|
Richard Hansen
|
2448fb8e41
|
Changeset: Migrate from mergingOpAssembler() to squashOps()
|
2021-12-16 00:49:12 -05:00 |
|
Richard Hansen
|
daa6b9074a
|
Changeset: Use a generator to implement MergingOpAssembler
Eventually all uses of the class will be switched to the generator.
|
2021-12-16 00:49:12 -05:00 |
|
Richard Hansen
|
b5486b6753
|
Changeset: Migrate from opAssembler() to serializeOps()
|
2021-12-16 00:49:12 -05:00 |
|
Richard Hansen
|
d5a7bf7a8f
|
Changeset: Implement OpAssembler with a new serializeOps() function
|
2021-12-16 00:49:12 -05:00 |
|
Richard Hansen
|
04ed432a01
|
Changeset: Use clear() to initialize
This avoids some duplicate code and it helps ensure that `clear()`
works properly.
|
2021-12-16 00:49:11 -05:00 |
|
Richard Hansen
|
8c01b66d40
|
Changeset: Add missing StringAssembler.clear() method
|
2021-12-16 00:49:11 -05:00 |
|
Richard Hansen
|
36d06006dc
|
Changeset: Turn smartOpAssembler() into a real class
|
2021-12-16 00:49:11 -05:00 |
|
Richard Hansen
|
cf82261d2b
|
Changeset: Turn mergingOpAssembler() into a real class
|
2021-12-16 00:49:11 -05:00 |
|
Richard Hansen
|
9ea424c8f9
|
Changeset: Turn opAssembler() into a real class
|
2021-12-16 00:49:11 -05:00 |
|
Richard Hansen
|
748d661495
|
Changeset: Fix off-by-one bug in makeSplice
|
2021-12-16 00:48:07 -05:00 |
|
Richard Hansen
|
30d68df396
|
Changeset: Add range checks to makeSplice
|
2021-12-16 00:48:07 -05:00 |
|
Richard Hansen
|
fdf1fdbc23
|
Changeset: Improve readability of makeSplice()
|
2021-12-16 00:48:07 -05:00 |
|
Richard Hansen
|
cff089e54e
|
PadMessageHandler: Accept retransmissions of USER_CHANGES
|
2021-12-14 01:02:00 -05:00 |
|
Richard Hansen
|
a370cfa5c6
|
Pad: Don't create no-op revisions
|
2021-12-14 01:02:00 -05:00 |
|
Richard Hansen
|
99fae2ec6e
|
pad: Fix application of padOptions values from settings.json
|
2021-12-04 23:06:17 -05:00 |
|
Richard Hansen
|
f8b4189bc4
|
pad: Always pass strings to pad option callbacks
|
2021-12-04 23:06:17 -05:00 |
|
Richard Hansen
|
7ff71cd41e
|
pad: Ignore null values in padOptions from settings.json
|
2021-12-04 23:06:16 -05:00 |
|
Richard Hansen
|
f4257a28ba
|
pad: Delete duplicate decodeURIComponent() calls
`URL.searchParams` already decodes the value.
Also delete some useless comments.
|
2021-12-04 23:06:09 -05:00 |
|
Richard Hansen
|
6beb5dcaf5
|
tests: Disable deprecation warnings when testing deprecated functions
|
2021-11-30 23:17:35 -05:00 |
|
Richard Hansen
|
c4f18a9b3a
|
padutils: Rename warnWithStack() to warnDeprecated()
This makes it more legitimate for tests to disable the warnings when
testing deprecated functionality.
|
2021-11-30 23:11:23 -05:00 |
|
Richard Hansen
|
a02e45499d
|
Use the new AttributeMap and Changeset APIs
|
2021-11-28 23:47:27 -05:00 |
|
Richard Hansen
|
f00b1ae89b
|
Merge branch 'master' into develop
|
2021-11-28 23:10:45 -05:00 |
|
Richard Hansen
|
7c870f8a58
|
Pad: Add strict validation checks
|
2021-11-28 22:28:55 -05:00 |
|
Richard Hansen
|
2608a81654
|
Changeset: Stricter validation checks
|
2021-11-28 22:28:55 -05:00 |
|
Richard Hansen
|
89fe40e080
|
Changeset: Migrate from OpIter to deserializeOps()
|
2021-11-23 01:21:49 -05:00 |
|
Richard Hansen
|
0eca0251f2
|
Changeset: Use a generator to implement OpIter
|
2021-11-23 01:21:49 -05:00 |
|
Richard Hansen
|
a4aec006dc
|
Changeset: Turn opIterator() into a real class
|
2021-11-23 01:21:12 -05:00 |
|
Richard Hansen
|
86959f7ebc
|
Changeset: Throw on unexpected chars while iterating ops
|
2021-11-23 01:21:12 -05:00 |
|
Richard Hansen
|
657492e191
|
Changeset: Turn newOp() into a real class
|
2021-11-23 01:21:12 -05:00 |
|
Richard Hansen
|
fba0bb6dff
|
Changeset: Turn textLinesMutator() into a real class
|
2021-11-23 01:21:12 -05:00 |
|
Richard Hansen
|
dab881139d
|
Pad: Fix copyPadWithoutHistory apool corruption bug
|
2021-11-22 18:40:22 -05:00 |
|
Richard Hansen
|
d74dd235a4
|
Changeset: Replace appendATextToAssembler() with a generator
|
2021-11-22 18:10:37 -05:00 |
|
Richard Hansen
|
2fc06a0884
|
Changeset: Add TODO comments for issues noticed
|
2021-11-21 04:11:41 -05:00 |
|
Richard Hansen
|
f1eb7a25a6
|
Changeset: Migrate to the new attribute API
|
2021-11-21 04:11:41 -05:00 |
|
Richard Hansen
|
1f227200da
|
Replace separate attrib key, value calls with single pair call
|
2021-11-21 04:11:41 -05:00 |
|
Richard Hansen
|
6cf2055199
|
Changeset: New API to simplify attribute processing
|
2021-11-21 04:11:41 -05:00 |
|
Richard Hansen
|
982d8ad0f2
|
Changeset: Refactor makeAttribsString for readability
|
2021-11-21 04:11:41 -05:00 |
|
Richard Hansen
|
9e7b142bb7
|
Invert conditions to improve readability
|
2021-11-21 04:11:41 -05:00 |
|
Richard Hansen
|
93abc31936
|
changesettracker: Fix author attribute ID fetch
|
2021-11-21 04:11:41 -05:00 |
|
Richard Hansen
|
d0e74ada2f
|
changesettracker: Remove unnecessary .numToAttrib check
|
2021-11-21 04:11:41 -05:00 |
|
Richard Hansen
|
a65498e849
|
Changeset: Move SmartOpAssembler.appendOpWithText() to a standalone function
|
2021-11-14 04:17:00 -05:00 |
|
Richard Hansen
|
eae814f5a0
|
pad_utils: New warnWithStack() function
|
2021-11-14 04:15:10 -05:00 |
|
Richard Hansen
|
1bbe0d9215
|
Changeset: Use in check to help TypeScript narrowing
|
2021-11-13 17:44:38 -05:00 |
|
Richard Hansen
|
4f4a775d9e
|
Changeset: Improve handling of missing attribute in old pool
|
2021-11-13 17:44:38 -05:00 |
|
Richard Hansen
|
b62534a6b2
|
Changeset: Use Maps to simplify attribute processing
|
2021-11-13 17:44:38 -05:00 |
|