Commit Graph

799 Commits

Author SHA1 Message Date
Tom Alexander ab17904b1c
Clean up run_integration_test.bash. 2023-08-14 15:53:17 -04:00
Tom Alexander 306878c95d
Clean up run_docker_integration_test.bash 2023-08-14 15:50:05 -04:00
Tom Alexander 5768c8acda
Add a script to run compare using the docker image. 2023-08-14 15:30:13 -04:00
Tom Alexander e28290ed79
Merge branch 'source_based_tests'
rustfmt Build rustfmt has succeeded Details
rust-build Build rust-build has succeeded Details
rust-test Build rust-test has succeeded Details
2023-08-14 14:14:26 -04:00
Tom Alexander fbabf60559
Add ignore to test export_snippet_paragraph_break_precedence. 2023-08-14 14:01:00 -04:00
Tom Alexander 92abac37e2
s/precedent/precedence/
I used the wrong word. This is referring to the priority between paragraphs ending vs export snippets ending, not a reference to something occurring in the past.
2023-08-14 13:57:01 -04:00
Tom Alexander 899073e54f
Update to the latest org-mode. 2023-08-14 13:33:05 -04:00
Tom Alexander eb379af78d
Switch export snippet to use exit matchers. 2023-08-14 13:13:32 -04:00
Tom Alexander 422804d846
Add script for running specific tests inside docker.
rust-build Build rust-build has failed Details
rust-test Build rust-test has failed Details
2023-08-14 12:21:15 -04:00
Tom Alexander cc83431d62
Consume trailing whitespace for property drawers.
rust-build Build rust-build has failed Details
rust-test Build rust-test has failed Details
This is a change between the org-mode in emacs 29.1 and the org-mode currently in main.
2023-08-14 11:57:12 -04:00
Tom Alexander 00354ccc20
Add a volume for cargo cache.
This is to be a good citizen by not downloading all the rust dependencies every time I run the tests locally. Unfortunately, it will still compile all the dependencies each time, but that is a local operation.
2023-08-14 10:57:48 -04:00
Tom Alexander b75eed6b1e
Enable tests that were disabled before.
rust-test Build rust-test has started Details
rust-build Build rust-build has succeeded Details
2023-08-13 02:21:02 -04:00
Tom Alexander e33ec4a02c
Add support for reading begin/end bounds in the new standard-properties format. 2023-08-13 02:21:02 -04:00
Tom Alexander f7afcec824
Add support for hash notation in the elisp parser. 2023-08-13 02:21:02 -04:00
Tom Alexander cf0991fdff
Add support for parsing vectors in the elisp parser. 2023-08-13 02:21:02 -04:00
Tom Alexander d1e0ee831c
Switch to installing emacs and org-mode from source in test container.
This is to integrate fixes that have been committed to org-mode but have not made it into emacs, while also getting the latest emacs on alpine.
2023-08-13 02:21:01 -04:00
Tom Alexander 34985c9045
Add makefile target for running the tests inside the docker container.
rust-build Build rust-build has failed Details
rust-test Build rust-test has failed Details
rustfmt Build rustfmt has succeeded Details
2023-08-13 02:20:16 -04:00
Tom Alexander 7da09fea74
Switch to specifying timeouts instead of timeout in tekton pipelinerun. 2023-08-13 02:20:16 -04:00
Tom Alexander fc28e3b514
Add a test for trailing blank lines after paragraphs.
rust-test Build rust-test has failed Details
rustfmt Build rustfmt has succeeded Details
rust-build Build rust-build has succeeded Details
The behavior in emacs does not match the description in the org-mode documentation. I have sent an email to the org-mode mailing list and I am waiting their response so I can adjust (or not adjust) my parser accordingly.
2023-08-11 01:37:04 -04:00
Tom Alexander df5ee5af16
Explicitly list which files to include in the cargo package.
rust-build Build rust-build has failed Details
rust-test Build rust-test has failed Details
rustfmt Build rustfmt has succeeded Details
We are including a bunch of files that are not needed for running the rust code. This excludes them to be a better citizen to both crates.io and all users of this package.
2023-08-11 00:11:54 -04:00
Tom Alexander 012c192aed
Bump version to 0.1.2 and change README to markdown.
rustfmt Build rustfmt has succeeded Details
crates.io does not support org-mode for README files so I am changing this to markdown.
2023-08-11 00:00:49 -04:00
Tom Alexander 67ca0fe8dd
Merge branch 'feature_gate'
rustfmt Build rustfmt has started Details
rust-test Build rust-test has failed Details
rust-build Build rust-build has failed Details
2023-08-10 23:56:44 -04:00
Tom Alexander 290a700a22
New, updated opentelemetry tracing exporter. 2023-08-10 23:27:15 -04:00
Tom Alexander 729be9302b
Update tekton pipeline to build all the permutations of Organic.
This is to catch regressions in feature-gating since I won't be building every possible permutation all the time.
2023-08-10 20:46:54 -04:00
Tom Alexander 44ad6753ca
Fix feature gating the compare code. 2023-08-10 20:22:34 -04:00
Tom Alexander cd1b4ba785
Make the tracing macros optional. 2023-08-10 20:22:34 -04:00
Tom Alexander 1f10d3d064
Disable all the old tracing stuff. 2023-08-10 20:22:34 -04:00
Tom Alexander f6e539a40b
Remove run targets from makefile.
These no longer make sense since we have to pass a parameter to the script for the path to the org-mode document.
2023-08-10 19:34:43 -04:00
Tom Alexander 3ee18072c2
Merge branch 'toy_cleanup'
rustfmt Build rustfmt has started Details
rust-test Build rust-test has started Details
2023-08-10 18:53:08 -04:00
Tom Alexander 77de97703f
Remove all the old references to "toy language"
This is a relic from the early development days in this repo. When I first started this repo, it was a clean-slate playground to test ideas for solving the road blocks I hit with my previous attempt at an org-mode parser. To keep things simple, I originally only had a very basic set of syntax rules that only vaguely looked similar to org-mode. Once I had things figured out, I kept developing in this repo, morphing it into a full org-mode parser. A couple of references to those early days still remained, and this patch should get rid of the last of them.
2023-08-10 18:52:57 -04:00
Tom Alexander 023dd05267
Remove outdated notes. 2023-08-10 18:52:57 -04:00
Tom Alexander 66c71e7e40
Switch the compiled bin to running a diff just like the automated tests.
This is mostly so I can test a variety of org-mode documents without needing to integrate them into the org samples folder.
2023-08-10 18:46:19 -04:00
Tom Alexander 6941825e75
Fix package category.
rustfmt Build rustfmt has succeeded Details
rust-test Build rust-test has succeeded Details
2023-07-27 21:22:24 -04:00
Tom Alexander bda291f771
Remove detect-tag from pipeline.
rustfmt Build rustfmt has succeeded Details
rust-test Build rust-test has succeeded Details
2023-07-27 21:13:14 -04:00
Tom Alexander 06b83f9156
Merge branch 'publish_crate'
rustfmt Build rustfmt has failed Details
rust-test Build rust-test has succeeded Details
2023-07-27 21:06:05 -04:00
Tom Alexander ef31900b51
Remove semver pipeline.
Since I'm publishing this to crates.io it doesn't make sense to have a separate version string from the one in Cargo.toml.
2023-07-27 21:05:27 -04:00
Tom Alexander 8a221e0e0d
Add metadata for publishing crate. 2023-07-27 21:05:27 -04:00
Tom Alexander f359676e28
Separate out the persistent volumes for cargo cache for tekton pipelines.
semver Build semver has succeeded Details
rust-test Build rust-test has succeeded Details
rustfmt Build rustfmt has succeeded Details
Both pipelines running simultaneously is causing non-deterministic failures.
2023-07-27 20:46:18 -04:00
Tom Alexander 7d7446d843
Merge branch 'timestamp'
semver Build semver has succeeded Details
rustfmt Build rustfmt has failed Details
rust-test Build rust-test has succeeded Details
2023-07-27 20:39:51 -04:00
Tom Alexander 17e523b74c
Do not consume space in time rest when leading into a repeater or delay. 2023-07-27 20:39:13 -04:00
Tom Alexander ece8fcd0c4
Implement parser for active/inactive timestamp time ranges. 2023-07-27 20:26:56 -04:00
Tom Alexander 1a5b7ca30c
Implement parser for active/inactive timestamp date ranges. 2023-07-27 19:59:36 -04:00
Tom Alexander b5a029e2bf
Implement parser for inactive timestamps. 2023-07-27 19:54:33 -04:00
Tom Alexander c5f81298ba
Switch to passing in the exit matcher from a higher context to reduce the permutations of functions. 2023-07-27 19:52:35 -04:00
Tom Alexander 529418a9d1
Implement parser for active timestamps. 2023-07-27 19:45:57 -04:00
Tom Alexander d4a3628481
Implement parser for date. 2023-07-27 19:20:28 -04:00
Tom Alexander 70f2747291
Implement parser for diary timestamps. 2023-07-27 18:59:32 -04:00
Tom Alexander 49d5a4e4b5
Call out to the parsers for the various timestamp types.
The parsers for those types remain unimplemented.
2023-07-24 17:54:49 -04:00
Tom Alexander fa5fc41121
Create structure for timestamps. 2023-07-24 17:34:07 -04:00
Tom Alexander 73e15286dc
Add test cases. 2023-07-24 17:15:27 -04:00