Commit Graph

1739 Commits (9e908935f8f336318debfc9267e771e7f0a23731)
 

Author SHA1 Message Date
Tom Alexander 9e908935f8
Add special case to delete invalid org-mode file.
clippy Build clippy has failed Details
rust-foreign-document-test Build rust-foreign-document-test has succeeded Details
rust-build Build rust-build has succeeded Details
rust-test Build rust-test has succeeded Details
6 months ago
Tom Alexander b18a703529
Handle nil values for compare_property_object_tree. 6 months ago
Tom Alexander ea52dc60be
Add a literate tutorial for building emacs to the foreign documents test. 6 months ago
Tom Alexander f5699ce830
Remove PartialEq from Object.
rustfmt Build rustfmt has succeeded Details
clippy Build clippy has failed Details
rust-foreign-document-test Build rust-foreign-document-test has succeeded Details
rust-test Build rust-test has succeeded Details
rust-build Build rust-build has succeeded Details
6 months ago
Tom Alexander 10aa0956ee
Merge branch 'lesser_block_memory_optimization'
clippy Build clippy has succeeded Details
rustfmt Build rustfmt has succeeded Details
rust-foreign-document-test Build rust-foreign-document-test has succeeded Details
rust-build Build rust-build has succeeded Details
rust-test Build rust-test has succeeded Details
6 months ago
Tom Alexander 816c164996
Only allocate memory if removing text for lesser blocks.
clippy Build clippy has succeeded Details
rust-build Build rust-build has succeeded Details
rust-foreign-document-test Build rust-foreign-document-test has succeeded Details
rust-test Build rust-test has succeeded Details
6 months ago
Tom Alexander ee201e1336
Merge branch 'explicit_all_node_iter'
rustfmt Build rustfmt has succeeded Details
clippy Build clippy has succeeded Details
rust-foreign-document-test Build rust-foreign-document-test has succeeded Details
rust-build Build rust-build has succeeded Details
rust-test Build rust-test has succeeded Details
6 months ago
Tom Alexander 4897952330
Make creating AllAstNodeIter explicit.
clippy Build clippy has succeeded Details
rust-foreign-document-test Build rust-foreign-document-test has succeeded Details
rust-build Build rust-build has succeeded Details
rust-test Build rust-test has succeeded Details
This is to remove the ambiguity between calling iter on the specific structs like Document and calling iter on an AstNode by having an explicitly-named function to create the iterator.
6 months ago
Tom Alexander e1d85c6dc2
Merge branch 'remove_set_source'
rustfmt Build rustfmt has succeeded Details
clippy Build clippy has succeeded Details
rust-build Build rust-build has succeeded Details
rust-foreign-document-test Build rust-foreign-document-test has succeeded Details
rust-test Build rust-test has succeeded Details
6 months ago
Tom Alexander c420ccd029
Fix clippy errors.
clippy Build clippy has succeeded Details
rust-foreign-document-test Build rust-foreign-document-test has succeeded Details
rust-build Build rust-build has succeeded Details
rust-test Build rust-test has succeeded Details
6 months ago
Tom Alexander a880629831
Make clippy not write to the host git repo. 6 months ago
Tom Alexander 5e2dea1f28
Remove the SetSource trait.
It was only being used for creating paragraphs of specific text, so I just adjusted the of_text function to handle it.
6 months ago
Tom Alexander f47d688be4
Remove owned String from CustomError.
rustfmt Build rustfmt has failed Details
rust-test Build rust-test has failed Details
clippy Build clippy has failed Details
rust-build Build rust-build has failed Details
rust-foreign-document-test Build rust-foreign-document-test has succeeded Details
This is a 15% performance improvement.
6 months ago
Tom Alexander acfc5e5e68
Only allocate memory when unquoting sexp string that contains escapes.
clippy Build clippy has succeeded Details
rustfmt Build rustfmt has succeeded Details
rust-build Build rust-build has succeeded Details
rust-foreign-document-test Build rust-foreign-document-test has succeeded Details
rust-test Build rust-test has succeeded Details
If the quoted string contains no escape sequences, then unquoting the string can be done by simply shaving off the leading and trailing quotation marks which can be a slice operation. By returning Cow, we can return either a borrowed slice or an owned String.
6 months ago
Tom Alexander 503db94b2c
Publish version 0.1.12.
rustfmt Build rustfmt has succeeded Details
clippy Build clippy has succeeded Details
rust-foreign-document-test Build rust-foreign-document-test has succeeded Details
rust-build Build rust-build has succeeded Details
rust-test Build rust-test has succeeded Details
6 months ago
Tom Alexander a4381e5e39
Merge branch 'keyword_constants' 6 months ago
Tom Alexander e11de60def
Clippy fixes.
clippy Build clippy has succeeded Details
rust-foreign-document-test Build rust-foreign-document-test has succeeded Details
rust-build Build rust-build has succeeded Details
rust-test Build rust-test has succeeded Details
6 months ago
Tom Alexander b2479e9de8
Remove Debug from the context variables.
Now that entities are stored in the settings struct, these variables are massive which makes them balloon trace sizes while being mostly unreadable. This removes Debug from them to serve as a static-analysis check that context is ALWAYS ignored in tracing calls.
6 months ago
Tom Alexander 49d1cef7ae
Remove context from functions that no longer need it. 6 months ago
Tom Alexander ba72cc1b29
The variables for keywords are actually constants.
These settings do not need to exist in GlobalSettings because they are actually constants in upstream Org-Mode.
6 months ago
Tom Alexander c58b0e7c35
Add a script to dump an AST using docker.
clippy Build clippy has succeeded Details
rustfmt Build rustfmt has succeeded Details
rust-foreign-document-test Build rust-foreign-document-test has succeeded Details
rust-build Build rust-build has succeeded Details
rust-test Build rust-test has succeeded Details
6 months ago
Tom Alexander f19d262825
Merge branch 'bullshitium'
rustfmt Build rustfmt has succeeded Details
clippy Build clippy has succeeded Details
rust-build Build rust-build has succeeded Details
rust-foreign-document-test Build rust-foreign-document-test has succeeded Details
rust-test Build rust-test has succeeded Details
6 months ago
Tom Alexander 68f3f2e159
Clippy fixes.
clippy Build clippy has succeeded Details
rust-foreign-document-test Build rust-foreign-document-test has succeeded Details
rust-build Build rust-build has succeeded Details
rust-test Build rust-test has succeeded Details
6 months ago
Tom Alexander 269e23c1b1
No more expect-fail tests! 6 months ago
Tom Alexander e111b8b9b8
Performance optimization. 6 months ago
Tom Alexander 353ff07420
Handle bullshitium for broken dynamic blocks. 6 months ago
Tom Alexander 94dec31130
Consuming trailing whitespace for 🔚 bullshitium. 6 months ago
Tom Alexander cf5d3ed745
Add tests for the 🔚 bullshitium. 6 months ago
Tom Alexander b0b287cd47
Handle bullshitium for 🔚. 6 months ago
Tom Alexander bcdf1f5e9d
Merge branch 'entity_special_case'
rustfmt Build rustfmt has succeeded Details
clippy Build clippy has succeeded Details
rust-build Build rust-build has succeeded Details
rust-foreign-document-test Build rust-foreign-document-test has succeeded Details
rust-test Build rust-test has succeeded Details
6 months ago
Tom Alexander 17d8e76e05
Do not match POST for entities that end with a space.
This is a special case for en-spaces.
6 months ago
Tom Alexander 8db9038c53
Merge branch 'list_perf_improvement'
rust-test Build rust-test has failed Details
rustfmt Build rustfmt has succeeded Details
clippy Build clippy has succeeded Details
rust-build Build rust-build has succeeded Details
rust-foreign-document-test Build rust-foreign-document-test has failed Details
6 months ago
Tom Alexander a276ba70e0
Fix empty content items with final item whitespace cut-off before headlines.
clippy Build clippy has succeeded Details
rust-foreign-document-test Build rust-foreign-document-test has failed Details
rust-build Build rust-build has succeeded Details
rust-test Build rust-test has succeeded Details
6 months ago
Tom Alexander b7442c1e92
Do not match headlines as plain list items. 6 months ago
Tom Alexander 364ba79517
It actually worked on trailing whitespace ownership test case 2. 6 months ago
Tom Alexander 47408763e5
A first stab at a final item whitespace cut-off exit matcher. 6 months ago
Tom Alexander bd187ebfe7
Remove re-parsing of the final list child. 6 months ago
Tom Alexander 59cb3c2bbf
Remove unnecessary closures in plain lists. 6 months ago
Tom Alexander 44f7412a5c
Merge branch 'perf_improvement'
rustfmt Build rustfmt has succeeded Details
clippy Build clippy has succeeded Details
rust-build Build rust-build has succeeded Details
rust-foreign-document-test Build rust-foreign-document-test has failed Details
rust-test Build rust-test has succeeded Details
6 months ago
Tom Alexander 01464057ad
Remove unused event types. 6 months ago
Tom Alexander 0208020e3e
Also print byte offset.
clippy Build clippy has failed Details
rust-foreign-document-test Build rust-foreign-document-test has failed Details
rust-build Build rust-build has succeeded Details
rust-test Build rust-test has succeeded Details
6 months ago
Tom Alexander a2f53361eb
Record element start events and report them when the event_count feature is enabled. 6 months ago
Tom Alexander 17db05c2c7
Unify more error handling. 6 months ago
Tom Alexander 6139ea328d
Unify some more error handling. 6 months ago
Tom Alexander d20b4a410b
Remove pointless map_err calls. 6 months ago
Tom Alexander 05c64f53b1
Remove boxed error from CustomError. 6 months ago
Tom Alexander f65d0bb82d
Remove redundant call to space0. 6 months ago
Tom Alexander 50d2831081
Cleanup. 6 months ago
Tom Alexander bc9bd4f97b
Eliminate some closures. 6 months ago
Tom Alexander 369d3e8c50
Add a full-document parse benchmark. 6 months ago