Commit Graph

270 Commits

Author SHA1 Message Date
Tom Alexander 4b94dc60d2
Fix handling of documents containing only whitespace. 2023-12-15 19:49:12 -05:00
Tom Alexander 2046603d01
Fix handling post blank for org documents. 2023-12-15 19:42:43 -05:00
Tom Alexander 30412361e1
Fix handling fixed width area post-blank inside a list. 2023-12-15 19:37:33 -05:00
Tom Alexander e846c85188
Fix handling fixed width areas with empty lines in the middle. 2023-12-15 19:17:16 -05:00
Tom Alexander 99b74095e6
Fix heading post-blank. 2023-12-15 19:10:14 -05:00
Tom Alexander 6b802d36bf
Implement the new fields for target. 2023-12-15 18:57:19 -05:00
Tom Alexander 6ce25c8a3b
Update property drawer empty test to include a variety of whitespace. 2023-12-15 14:25:01 -05:00
Tom Alexander 68a220aa1c
Implement the new fields for babel call.
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 failed Details
2023-12-15 10:45:16 -05:00
Tom Alexander b18a703529
Handle nil values for compare_property_object_tree. 2023-10-31 17:20:35 -04:00
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
2023-10-27 21:50:08 -04:00
Tom Alexander cf5d3ed745
Add tests for the 🔚 bullshitium. 2023-10-18 11:59:55 -04:00
Tom Alexander 3eff85059a
Add support for planning before property drawer when calculating additional properties for headlines. 2023-10-16 13:35:03 -04:00
Tom Alexander e7c3c7aab6
Switch the keyword parsers over to using the settings from GlobalSettings. 2023-10-15 15:17:08 -04:00
Tom Alexander 7603b0a1cc
Add a test showing we are not handling optval properly. 2023-10-15 15:16:23 -04:00
Tom Alexander 68f8e04ee8
Add tests for affiliated keywords before elements that cannot have affiliated keywords. 2023-10-12 17:46:25 -04:00
Tom Alexander 6679db98a8
Add comments. 2023-10-11 17:53:32 -04:00
Tom Alexander 5363324bbf
Add a test showing we are not handling optional values properly. 2023-10-11 17:37:39 -04:00
Tom Alexander 42dcd41e48
Add tests for document properties. 2023-10-11 16:02:44 -04:00
Tom Alexander a9f067e25a
Update name tests to use all the affiliated keywords. 2023-10-11 15:25:09 -04:00
Tom Alexander e767892dd5
Add capitalization. 2023-10-11 12:42:42 -04:00
Tom Alexander 0d1ab0e75a
Add a debug assert for org entities being sorted. 2023-10-11 12:16:35 -04:00
Tom Alexander d550966516
Add a test with all the affiliated keyword types. 2023-10-10 18:02:23 -04:00
Tom Alexander f543caee00
compare_properties plain list item. 2023-10-09 21:55:29 -04:00
Tom Alexander 45074e3be3
Add a test. 2023-10-09 20:50:19 -04:00
Tom Alexander 4bc2f48738
Compare inline source block properties. 2023-10-09 19:31:57 -04:00
Tom Alexander 6bc6fdc87b
Compare properties for inline babel calls. 2023-10-09 19:21:58 -04:00
Tom Alexander 627f16e3a0
Update text markup tests with failure cases. 2023-10-09 19:10:55 -04:00
Tom Alexander 5cd34ba3a2
Create a new context tree when calling into confine_context.
The parent exit matchers were causing an issue.
2023-10-09 18:02:36 -04:00
Tom Alexander 085e728c34
Add an all entities test without escaping braces. 2023-10-09 10:33:07 -04:00
Tom Alexander fc17fc224c
Update definitions to the version of entities used in the org-mode in the docker container. 2023-10-09 10:33:07 -04:00
Tom Alexander f07d041eb9
Fix handling capitalization in macro names.
rust-build Build rust-build has succeeded Details
rust-test Build rust-test has succeeded Details
rust-foreign-document-test Build rust-foreign-document-test has succeeded Details
2023-10-08 16:51:44 -04:00
Tom Alexander b9ead09dde
Add test showing we are not handling trailing whitespace in macro args properly. 2023-10-08 16:34:28 -04:00
Tom Alexander a6adeee40b
Handle escaping the characters in org macro arguments. 2023-10-08 15:54:56 -04:00
Tom Alexander 37bc5ef712
Do not include whitespace at the end of value. 2023-10-08 14:48:29 -04:00
Tom Alexander 8bc79f9ef3
Add tests for angle links. 2023-10-08 10:57:04 -04:00
Tom Alexander 120a06055f
Handle 3 or more slashes in the path for regular links. 2023-10-08 09:54:10 -04:00
Tom Alexander bbcafef8bf
Handle 3 or more slashes in the path for plain links. 2023-10-08 09:51:12 -04:00
Tom Alexander 3aa84c1743
Add test showing we are not handling puncutation-only search options properly. 2023-10-07 03:23:45 -04:00
Tom Alexander 7196e10b69
Set up regular links for adding application. 2023-10-07 03:14:16 -04:00
Tom Alexander 0c34df159f
Add test showing we are not handling application in regular links properly. 2023-10-07 03:03:57 -04:00
Tom Alexander a55694176c
Compare the properties of plain links. 2023-10-07 02:22:36 -04:00
Tom Alexander 592e773920
Add tests for plain link search options and relative paths. 2023-10-07 01:44:31 -04:00
Tom Alexander be553aefb1
Add test showing plain links cannot be templates. 2023-10-07 01:44:31 -04:00
Tom Alexander 56348a6d54
Actually absolute paths are files too.
rust-build Build rust-build has succeeded Details
rust-test Build rust-test has succeeded Details
rust-foreign-document-test Build rust-foreign-document-test has succeeded Details
2023-10-07 00:15:37 -04:00
Tom Alexander 65e142a215
Link templates support single-colons and inject the value at the end if no %s is found. 2023-10-06 23:55:21 -04:00
Tom Alexander aa0a0b890e
Relative paths are file links, absolute paths are fuzzy. 2023-10-06 23:48:55 -04:00
Tom Alexander ab33730830
Search option also supports regex.
rust-build Build rust-build has succeeded Details
rust-test Build rust-test has succeeded Details
rust-foreign-document-test Build rust-foreign-document-test has failed Details
As seen on the list of possible search options at https://orgmode.org/manual/Search-Options.html.
2023-10-06 23:33:09 -04:00
Tom Alexander 4c8828b91b
Apply the link templates. 2023-10-06 23:33:09 -04:00
Tom Alexander ae3a6ff919
Turns out links can have templates. 2023-10-06 20:23:19 -04:00
Tom Alexander 7cf1f7b7bb
Only orgify the link text if there are line breaks present. 2023-10-06 19:05:56 -04:00