Commit graph

440 commits

Author SHA1 Message Date
Simon Ask Ulsnes
d64879c3f1 Update README, doc links 2024-02-04 09:02:16 +01:00
Simon Ask Ulsnes
2bff17e0b8 Minor reorganization 2024-02-04 09:01:56 +01:00
Simon Ask Ulsnes
6f7b184678 Fix license 2024-02-04 09:00:36 +01:00
Simon Ask Ulsnes
5ebedb67ec More lints 2024-02-03 10:39:04 +01:00
Simon Ask Ulsnes
c3d1aba783 Update fuzz testers 2024-02-03 10:35:21 +01:00
Simon Ask Ulsnes
b865e1459b Lint: &mut Vec to &[] 2024-02-03 10:24:14 +01:00
Simon Ask Ulsnes
1e8de81f66 Lint 2024-02-03 10:21:09 +01:00
Simon Ask Ulsnes
f46efd6a29 CI: Update required Rust versions 2024-02-03 09:56:37 +01:00
Simon Ask Ulsnes
ae66ae2f6c Lint: clippy --fix 2024-02-03 09:54:38 +01:00
Simon Ask Ulsnes
9cc9513c2b Remove unneeded #[allow]s 2024-02-03 09:49:20 +01:00
Simon Ask Ulsnes
6fcb075289 Fixup const doc comments 2024-02-03 09:46:56 +01:00
Simon Ask Ulsnes
b65896d04b Rustify constants 2024-02-03 09:45:44 +01:00
Simon Ask Ulsnes
b394312eda Rustify enums 2024-02-03 09:43:57 +01:00
Simon Ask Ulsnes
4f8f997d8f Rustify type names 2024-02-03 09:28:18 +01:00
Simon Ask Ulsnes
a35a2cd14b Adjust some documentation 2024-02-03 09:23:56 +01:00
Simon Ask Ulsnes
59c8812335 Remove #[repr] attributes 2024-02-03 09:16:46 +01:00
Simon Ask Ulsnes
3886250b24 Simplify dumper 2024-02-03 09:11:58 +01:00
Simon Ask Ulsnes
1cdd80506f Impl Clone for yaml_document_t 2024-02-03 09:11:24 +01:00
Simon Ask Ulsnes
2529a96869 delete -> reset 2024-02-03 09:02:02 +01:00
Simon Ask Ulsnes
ad81646702 Restore public tag constants from C libyaml 2024-02-03 08:59:37 +01:00
Simon Ask Ulsnes
2af7352f28 write() -> write_all() 2024-02-03 08:24:17 +01:00
Simon Ask Ulsnes
5bf087e0a3 Parser: Replace internal buffering with std::io::BufRead 2024-02-03 08:19:12 +01:00
Simon Ask Ulsnes
e28400ee5f Remove ForceAdd/ForceMul 2024-02-02 11:18:25 +01:00
Simon Ask Ulsnes
176c0edfdb Remove unused PointerExt trait 2024-02-02 11:15:45 +01:00
Simon Ask Ulsnes
01246c21c8 Replace __assert macro with standard assert!() 2024-02-02 11:15:05 +01:00
Simon Ask Ulsnes
11c9cd60c9 Replace libc integer types with Rust integer types 2024-02-02 11:10:04 +01:00
Simon Ask Ulsnes
ac00cee574 Remove vestigial input/output structs 2024-02-02 10:56:44 +01:00
Simon Ask Ulsnes
666034cf5c Change out-parameter to return values 2024-02-02 10:55:16 +01:00
Simon Ask Ulsnes
8a080a1ce7 Lint; Remove Result from infallible functions 2024-02-02 10:38:33 +01:00
Simon Ask Ulsnes
cac3d2d788 Lint 2024-02-02 10:16:36 +01:00
Simon Ask Ulsnes
cccbbfc163 Replace yaml_emitter_t::default() with yaml_emitter_new() 2024-02-02 10:13:15 +01:00
Simon Ask Ulsnes
9238cd0412 Replace yaml_emitter_initialize with safe alternative 2024-02-02 10:10:24 +01:00
Simon Ask Ulsnes
4a863e1f78 Replace yaml_parser_initialize with safe alternative 2024-02-02 10:05:15 +01:00
Simon Ask Ulsnes
47351cfe7c Remove unsafe from parser functions 2024-02-02 09:58:01 +01:00
Simon Ask Ulsnes
cd9bccecee Remove yaml_error_type_t 2024-02-02 09:54:07 +01:00
Simon Ask Ulsnes
04168ca612 Parser: Safe token queue, Rustify errors 2024-02-02 09:53:17 +01:00
Simon Ask Ulsnes
77716c3b53 Parser: Safe reading, Rustify errors 2024-02-01 09:06:08 +01:00
Simon Ask Ulsnes
d1357d92df Emitter: Rustify errors 2024-01-31 22:32:43 +01:00
Simon Ask Ulsnes
28f28b472b Emitter: Remove almost all unsafe 2024-01-31 21:50:31 +01:00
Simon Ask Ulsnes
a38da75864 Emitter: Safe writing 2024-01-31 21:45:00 +01:00
Simon Ask Ulsnes
11b47abdb7 Emitter: Safe event analysis 2024-01-31 21:16:04 +01:00
Simon Ask Ulsnes
8f7ec75545 Parser: Get rid of yaml_document_t pointer 2024-01-31 17:34:38 +01:00
Simon Ask Ulsnes
4630800a8a Get rid of some unsafe paranoia 2024-01-31 17:23:45 +01:00
Simon Ask Ulsnes
a31d33f9cb Parser: Replace yaml_buffer_t with VecDeque 2024-01-31 17:15:49 +01:00
Simon Ask Ulsnes
a4d7fcfbe8 Emitter: Replace yaml_buffer_t with String/Vec 2024-01-31 09:41:24 +01:00
Simon Ask Ulsnes
9f681e6306 Remove more c2rust artifacts (gotos) 2024-01-31 09:02:16 +01:00
Simon Ask Ulsnes
edf4843cae Replace yaml_string_t with String 2024-01-31 08:46:26 +01:00
Simon Ask Ulsnes
94cab62a41 Forensics 2024-01-29 08:36:46 +01:00
Simon Ask Ulsnes
3272af1405 Minor cleanup 2024-01-29 08:13:07 +01:00
Simon Ask Ulsnes
73fd13a85c Replace yaml_stack_t with Vec 2024-01-29 07:31:05 +01:00