Tom Alexander
b1244de1dc
Compare row type.
2023-10-03 00:03:58 -04:00
Tom Alexander
e5a402ee1b
Compare type and value.
...
rust-build Build rust-build has succeeded
rust-test Build rust-test has succeeded
rust-foreign-document-test Build rust-foreign-document-test has succeeded
Since we only support org-mode tables, type is always org. Value seems to always be nil, not sure why.
2023-10-02 23:57:17 -04:00
Tom Alexander
3d1b2713ed
Compare key and value.
2023-10-02 23:45:31 -04:00
Tom Alexander
d992947ff1
Compare name.
2023-10-02 23:34:06 -04:00
Tom Alexander
8169499de3
Compare value.
2023-10-02 23:28:32 -04:00
Tom Alexander
4d356b855e
Compare label.
2023-10-02 22:48:54 -04:00
Tom Alexander
0fb80e3fee
Compare name and parameters.
2023-10-02 22:41:56 -04:00
Tom Alexander
4a72747dc9
Compare name and parameters.
2023-10-02 22:33:00 -04:00
Tom Alexander
2352636672
Split GreaterBlock into CenterBlock, QuoteBlock, and SpecialBlock.
...
Center and quote blocks do not have parameters nor do they store their name so I am separating them out.
2023-10-02 22:33:00 -04:00
Tom Alexander
a80d171e4d
Bubble up planning variables to the headline.
2023-10-02 20:37:46 -04:00
Tom Alexander
2e1a946ac9
Compare scheduled, deadline, and closed.
2023-10-02 20:25:08 -04:00
Tom Alexander
6a8ae9d838
Compare warning delay and repeater.
2023-10-02 18:58:30 -04:00
Tom Alexander
512432c5f0
Do not allow time range timestamps with REST on the first TIME.
2023-10-02 17:51:33 -04:00
Tom Alexander
890cd3e4fd
Compare start/end time.
2023-10-02 17:17:05 -04:00
Tom Alexander
9846cde2f0
Trim whitespace from raw value.
2023-10-02 16:32:33 -04:00
Tom Alexander
a8a34e2d9c
Compare date start/end.
2023-10-02 16:16:19 -04:00
Tom Alexander
c55fae86f8
Improve lifetimes for get_property_numeric.
2023-10-02 15:51:29 -04:00
Tom Alexander
e7ec23af3d
Move the Date struct into types and implement a get_property_numeric.
2023-10-02 15:49:51 -04:00
Tom Alexander
ecdfd7087f
Compare raw-value.
2023-10-02 14:45:20 -04:00
Tom Alexander
3ed9b552e2
Compare range type.
2023-10-02 14:35:45 -04:00
Tom Alexander
d04c8c832c
Compare timestamp type.
2023-10-02 13:40:37 -04:00
Tom Alexander
06ecf41663
Add notes about the fields for timestamps.
2023-10-02 13:19:43 -04:00
Tom Alexander
a62c3fc522
Move AstNode into the types crate.
...
Now that it is used for more than just iteration, it makes sense to promote it to the types crate.
2023-10-02 13:10:45 -04:00
Tom Alexander
25f664e69e
Fix warnings.
2023-10-02 13:05:51 -04:00
Tom Alexander
52e0d305aa
Remove compare_element and compare_object.
2023-10-02 13:05:29 -04:00
Tom Alexander
418c5c1ce8
Implement the traits for all ast node types.
2023-10-02 12:53:23 -04:00
Tom Alexander
ecd523fa8f
Fix lifetimes in the compare functions.
2023-10-02 12:36:09 -04:00
Tom Alexander
c0555dec0b
Fix lifetimes for DiffEntry/DiffResult.
2023-10-02 12:28:48 -04:00
Tom Alexander
178894680b
Compare footnote section.
2023-10-02 10:48:34 -04:00
Tom Alexander
d78ce10a0b
Compare raw-value.
2023-10-02 10:26:57 -04:00
Tom Alexander
6c77586960
Improve error message.
2023-09-29 23:59:32 -04:00
Tom Alexander
f1e35e317b
Compare document path.
2023-09-29 21:20:23 -04:00
Tom Alexander
3fb2b5d31c
Undo the getters change.
...
The getters were a good idea, but if we are going to support editing later, we will need to expose the fields or write A LOT of boiler-plate. The getters also would prevent people from moving values out of the AST without even more boiler-plate. It is simply not worth it at this stage, so we will need to tolerate frequently changing semver versions as the public interface changes since *every* field in the AST is public.
2023-09-29 21:14:55 -04:00
Tom Alexander
d1dac0b8de
Compare document category.
2023-09-29 20:57:09 -04:00
Tom Alexander
064a4eeee7
Compare plain list item pre blank.
2023-09-29 19:30:02 -04:00
Tom Alexander
7727b5ef47
Compare plain list item counter.
2023-09-29 18:45:38 -04:00
Tom Alexander
967e74c147
Compare plain list item bullets.
2023-09-29 17:28:50 -04:00
Tom Alexander
f820e27b17
Compare plain list type in diff.rs.
2023-09-29 13:03:25 -04:00
Tom Alexander
d5b1014fe4
Unify the standard properties checks in diff.
...
Instead of copy+pasting them into each compare function, we now call a shared function from a handful of places.
2023-09-23 21:05:56 -04:00
Tom Alexander
dd8a8207ce
Move assert bounds for elements and objects (except PlainText) to the compare element/object functions.
2023-09-23 19:35:12 -04:00
Tom Alexander
b4c985071c
Add a GetStandardProperties trait.
2023-09-23 19:13:01 -04:00
Tom Alexander
1f64e289a2
Add TODOs for all of the properties that need to be compared.
rust-foreign-document-test Build rust-foreign-document-test has started
rustfmt Build rustfmt has failed
rust-build Build rust-build has failed
rust-test Build rust-test has failed
2023-09-23 14:46:36 -04:00
Tom Alexander
c892d406c3
Do not parse the tag for a plain list item if it is an ordered plain list item.
2023-09-21 20:58:03 -04:00
Tom Alexander
ba15999534
Add a test showing we are not handling parenthesis in links properly.
rust-test Build rust-test has failed
rust-build Build rust-build has succeeded
rust-foreign-document-test Build rust-foreign-document-test has failed
2023-09-21 14:31:13 -04:00
Tom Alexander
4c8d9a3063
Do not require a colon to close dynamic blocks.
2023-09-20 02:37:26 -04:00
Tom Alexander
1a704dd312
Honor the odd startup setting from org-mode files.
rust-test Build rust-test has succeeded
rust-build Build rust-build has succeeded
rust-foreign-document-test Build rust-foreign-document-test has failed
2023-09-15 22:54:49 -04:00
Tom Alexander
bfe67b1f75
Parse plain list item checkboxes.
2023-09-15 16:09:57 -04:00
Tom Alexander
876d33239e
Allow any character to be escaped in the path for links.
2023-09-14 03:05:11 -04:00
Tom Alexander
44e9f708c9
Handle the possibility of a title-less headline.
2023-09-14 02:01:24 -04:00
Tom Alexander
a651b79e77
Move sexp into compare.
2023-09-11 15:37:20 -04:00