Commit graph

73 commits

Author SHA1 Message Date
6d63d0ee8f Refactor & improve diffing 2026-03-14 11:59:41 +00:00
fc0d17837d Implement hash 2026-03-14 11:59:41 +00:00
c2144a2634 Use stable rust 2026-03-11 21:07:23 +00:00
7b81034625 Update tests 2026-03-11 20:47:44 +00:00
1a984427ab Minimise allocations 2026-03-11 20:47:44 +00:00
79dfe992d1 Add snapshots 2026-03-11 20:47:44 +00:00
9a82d6d8dd Implement makrdown tokeniser 2026-03-11 20:47:44 +00:00
bd2ef79fb1 Handle bare \r 2026-03-10 21:44:25 +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
776571bc5e Return result instead of panicking 2026-03-10 20:34:07 +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
2bb647cdac Always return numbers instead of bigint 2025-11-16 19:52:43 +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
86825c177b
Fix typos and clarify 2025-07-12 22:17:25 +01:00
61bea53b7c
Always use wee_alloc for wasm 2025-07-12 21:59:18 +01:00
e02410ba91
Run ignored test 2025-07-12 21:58:17 +01:00
55b37039ef
Improve docs 2025-07-12 21:58:05 +01:00
ddd065dd3a
Improve docs 2025-07-12 11:21:57 +01:00
12c367db21
Lint & fix typos 2025-07-10 22:39:41 +01:00
9c79ebc653
Improve docs 2025-07-10 21:52:03 +01:00
7e9ea69a08
Rename package 2025-07-09 23:21:01 +01:00
f1be16221c
Format 2025-07-08 22:43:22 +01:00
564dfe4418
Update docs 2025-07-06 22:47:44 +01:00
a2df120e66
Update tests 2025-07-06 22:16:40 +01:00
75835ac9a3
Formatting and typos 2025-07-06 22:07:26 +01:00
a2119b0f32
Improve docs 2025-07-06 13:07:26 +01:00
78fe3fd6fd
Lint 2025-07-06 13:04:56 +01:00
469e62106c
Add line tokenizer 2025-07-06 13:03:25 +01:00
6b6b16af3c
Fix names 2025-07-06 12:40:26 +01:00
2a4b5dd496
Address comment 2025-07-06 12:28:24 +01:00
24e027517f Generate docs 2025-07-05 10:13:51 +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
da59156e07 Add wee_alloc 2025-07-03 16:41:33 +01:00
9cb73680f8 Add character tokenizer 2025-06-29 19:35:21 +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
806a5bc113 Add docs for History 2025-06-29 15:57:12 +01:00
d23fad5382 Import Debug instead of full reference 2025-06-29 15:57:04 +01:00