Commit graph

47 commits

Author SHA1 Message Date
c2144a2634 Use stable rust 2026-03-11 21:07:23 +00:00
1a984427ab Minimise allocations 2026-03-11 20:47:44 +00:00
a80da338e4 Clean up API and small fixes 2026-03-10 21:35:09 +00:00
deffa195b3 Change style 2026-03-10 20:42:09 +00:00
408ce5268f Mini perf optimisation 2026-03-10 20:40:14 +00:00
6d1d5ca3bc Fix utf8 handling 2026-03-10 20:39:21 +00:00
3d382ad741 Improve docs and compare with alternatives 2026-03-10 20:29:35 +00:00
88d48afce3
Add diff applying error & improve CI (#32)
* Use stable rust

* Add From impls

* Revert to nightly

* Improve dev env & CI setup

* Update lock

* Add thiserror

* Add diff error

* Fix tests

* Lint

* Rename NumberOrString

* Format

* Fix lint script
2025-12-06 21:54:08 +00:00
e85eb485e8
Improve compact diff API (#24)
* Remove is_binary from API

* Format

* Rename file

* Test with more feature combinations

* Don't depend on serde for wasm

* Fix lint & tests

* Don't unwrap to MAX number

* Expose undiff to JS

* Add undiff tests

* Lint

* Change name
2025-11-16 15:43:19 +00:00
a1a339b23d Improve formatting 2025-10-27 06:59:08 +00:00
1b46e5d237 Expose to JS 2025-10-26 21:44:43 +00:00
450eaaff05 Fix lints 2025-10-26 21:29:52 +00:00
3da0673af6 Add optimal representation 2025-10-26 21:19:56 +00:00
de89532880 Move Side to EditedText from Operation 2025-10-26 20:23:22 +00:00
55b37039ef
Improve docs 2025-07-12 21:58:05 +01:00
ddd065dd3a
Improve docs 2025-07-12 11:21:57 +01:00
7e9ea69a08
Rename package 2025-07-09 23:21:01 +01:00
a2119b0f32
Improve docs 2025-07-06 13:07:26 +01:00
78fe3fd6fd
Lint 2025-07-06 13:04:56 +01:00
6b6b16af3c
Fix names 2025-07-06 12:40:26 +01:00
7d242e1999 Enable cast lints 2025-07-05 10:13:22 +01:00
8bd803c9b2 Rename TextWithHistory to SpanWithHistory 2025-07-04 03:14:18 +01:00
8004ac3742 Fix wrapping 2025-07-04 02:16:17 +01:00
4fda83fe17 Remove the exponential API 2025-06-29 19:03:55 +01:00
5378ffb547 Unify WASM and Rust API types 2025-06-29 17:42:37 +01:00
b18a692d46 Extract types into a separate module 2025-06-29 16:22:32 +01:00
d23fad5382 Import Debug instead of full reference 2025-06-29 15:57:04 +01:00
17f67602d9 Improve docs & api 2025-06-29 15:48:50 +01:00
c682520b88 Update imports 2025-06-29 15:30:35 +01:00
5e64297cec
Adjustments 2025-06-22 22:14:43 +01:00
779579d38f
Add mergeTextWithHistory function 2025-06-22 20:49:11 +01:00
f9ac4d1a2d
Add test 2025-06-22 15:04:24 +01:00
9af06183e7
Fix lints 2025-06-22 15:02:50 +01:00
df6ec254ca
Lint 2025-06-22 14:58:38 +01:00
a070872bd3
Remove OrderedOperation 2025-06-22 14:53:45 +01:00
5759b6bf66
Fix cursors 2025-06-22 13:06:36 +01:00
f95bd43240
Works without indexes 2025-06-22 12:02:18 +01:00
917d47fbaa
Remove indexes from Operation 2025-06-22 09:50:37 +01:00
a4f1a496bd
Remove merge context 2025-06-22 09:48:56 +01:00
46d2e0c485
Remove start_index from sorting 2025-06-22 09:48:26 +01:00
d58b474669
DOn't use start_index in EditedText 2025-06-22 09:24:36 +01:00
2089cbc7aa
Fix with new string builder 2025-06-21 13:58:06 +01:00
7589e1bf2e
Sort deletes first 2025-06-21 13:18:13 +01:00
5afb2c21f8
Remove indices from string builder 2025-06-21 13:18:02 +01:00
1e974c4c9a
Format 2025-06-21 10:52:45 +01:00
351caf74b5
Remove a few index uses 2025-06-21 10:50:35 +01:00
bcbac03228
Merge crates 2025-06-15 11:30:07 +01:00