Commit Graph

  • a2f53361eb Record element start events and report them when the event_count feature is enabled. Tom Alexander 2023-10-17 13:32:01 -04:00
  • 17db05c2c7 Unify more error handling. Tom Alexander 2023-10-17 12:42:34 -04:00
  • 6139ea328d Unify some more error handling. Tom Alexander 2023-10-17 12:22:52 -04:00
  • d20b4a410b Remove pointless map_err calls. Tom Alexander 2023-10-17 11:56:36 -04:00
  • 05c64f53b1 Remove boxed error from CustomError. Tom Alexander 2023-10-17 11:40:11 -04:00
  • f65d0bb82d Remove redundant call to space0. Tom Alexander 2023-10-17 11:33:26 -04:00
  • 50d2831081 Cleanup. Tom Alexander 2023-10-17 11:30:23 -04:00
  • bc9bd4f97b Eliminate some closures. Tom Alexander 2023-10-17 11:10:18 -04:00
  • 369d3e8c50 Add a full-document parse benchmark. Tom Alexander 2023-10-17 10:57:04 -04:00
  • 7d73eb6bd4 Merge branch 'error_rework' Tom Alexander 2023-10-17 10:40:46 -04:00
  • f59f153ee7 Clean up. Tom Alexander 2023-10-17 10:39:21 -04:00
  • 20c4a0f8f7 Continue removing MyError. Tom Alexander 2023-10-17 10:35:33 -04:00
  • e776a051ad Continue removing MyError. Tom Alexander 2023-10-17 10:13:00 -04:00
  • 77e6c22ad8 Continue removing MyError. Tom Alexander 2023-10-17 10:09:37 -04:00
  • c9d7251e3b Begin removing the MyError type. Tom Alexander 2023-10-17 09:45:18 -04:00
  • 8417b5fc9d Add an owned string entry for CustomError. Tom Alexander 2023-10-17 09:27:15 -04:00
  • acc29e7977 Publish version 0.1.11. v0.1.11 Tom Alexander 2023-10-16 19:53:46 -04:00
  • ebc0a30035 Merge branch 'clippy_ci_job' Tom Alexander 2023-10-16 19:50:01 -04:00
  • e2d55e13d3 Fix some clippy errors that didn't appear on my host version of clippy. Tom Alexander 2023-10-16 19:43:15 -04:00
  • e4d9c5f467 Add makefile command to run clippy through docker. Tom Alexander 2023-10-16 19:38:45 -04:00
  • d8e3a85ef7 We need to add dependencies so we are now building a container. Tom Alexander 2023-10-16 19:34:53 -04:00
  • 464685b52b Use a cargo cache for the clippy CI job. Tom Alexander 2023-10-16 19:27:15 -04:00
  • 5fed4e80a7 Add a CI job to run clippy for every push. Tom Alexander 2023-10-16 19:22:59 -04:00
  • e53140426f Merge branch 'clippy' Tom Alexander 2023-10-16 19:14:19 -04:00
  • 9a4d290cf8 Apply more suggestions. Tom Alexander 2023-10-16 19:12:25 -04:00
  • acd24d6198 Apply more suggestions. Tom Alexander 2023-10-16 19:02:34 -04:00
  • 880b00ef3f Apply more suggestions. Tom Alexander 2023-10-16 18:54:41 -04:00
  • 3069711447 Apply more suggestions. Tom Alexander 2023-10-16 18:29:21 -04:00
  • 4b6c717812 Apply more suggestions. Tom Alexander 2023-10-16 17:58:52 -04:00
  • 1d329cc310 Apply more suggestions. Tom Alexander 2023-10-16 17:28:28 -04:00
  • b4f9a3b9b6 Apply more suggestions. Tom Alexander 2023-10-16 17:14:44 -04:00
  • 2dd5246506 Apply more suggestions. Tom Alexander 2023-10-16 17:03:16 -04:00
  • 4ba0e3611b Apply more suggestions. Tom Alexander 2023-10-16 16:51:26 -04:00
  • 728f79b86c Apply more suggestions. Tom Alexander 2023-10-16 16:42:34 -04:00
  • 192a4a2891 Remove unnecessary lifetimes. Tom Alexander 2023-10-16 16:30:39 -04:00
  • fafd85fb30 Apply some clippy fixes. Tom Alexander 2023-10-16 16:23:50 -04:00
  • 1c23065329 Add a clippy command to the makefile. Tom Alexander 2023-10-16 16:16:37 -04:00
  • ed105b04ad Merge branch 'cargo_bench' Tom Alexander 2023-10-16 16:03:56 -04:00
  • f10efec21d No performance change switching affiliated_key to using element macro. Tom Alexander 2023-10-16 15:57:18 -04:00
  • 72b4cf8e71 Add the first use of the rust benchmark tests. Tom Alexander 2023-10-16 15:50:08 -04:00
  • 547fc40dbe No measurable performance improvement with native builds over LTO release builds. Tom Alexander 2023-10-16 15:20:42 -04:00
  • 9f1671658d Merge branch 'object_parser_perf' Tom Alexander 2023-10-16 15:04:04 -04:00
  • 18d0676fad Clean up. Tom Alexander 2023-10-16 15:03:23 -04:00
  • 7833a58461 Apply a similar optimization to the detect element parser but also unify detection of affiliated keywords. Tom Alexander 2023-10-16 14:55:40 -04:00
  • 0020d71089 Extend that optimization to more object parsers. Tom Alexander 2023-10-16 14:36:17 -04:00
  • cfdf39d1fa Significantly reduce the use of closures in the object parsers. Tom Alexander 2023-10-16 14:23:53 -04:00
  • 26f1eae9a1 Merge branch 'planning_before_property_drawer' Tom Alexander 2023-10-16 13:48:03 -04:00
  • 3eff85059a Add support for planning before property drawer when calculating additional properties for headlines. Tom Alexander 2023-10-16 13:35:03 -04:00
  • d2d0e9e5dd Merge branch 'optval_affiliated_keywords' Tom Alexander 2023-10-16 13:16:44 -04:00
  • c86d1000c0 Do not clear values in lists of strings. Tom Alexander 2023-10-16 12:58:20 -04:00
  • 911634cb42 Attr_ affiliated keywords should be lists of strings. Tom Alexander 2023-10-16 12:55:18 -04:00
  • 0aa746fb1e Implement comparison for object tree. Tom Alexander 2023-10-16 12:50:53 -04:00
  • 33800c4a88 Implement comparison for optional pair. Tom Alexander 2023-10-16 12:05:36 -04:00
  • 909ccadfa1 Beginning update to compare_affiliated_keywords. Tom Alexander 2023-10-16 11:45:54 -04:00
  • e352deb989 Update parse_affiliated_keywords for handling optional pairs. Tom Alexander 2023-10-16 11:42:20 -04:00
  • f5a6a26c43 Disable the existing handling of affiliated keywords. Tom Alexander 2023-10-15 20:31:14 -04:00
  • dd7184da54 Add analysis from test. Tom Alexander 2023-10-15 20:22:46 -04:00
  • 1168ddb1fe Start an investigation into affiliated keyword behavior. Tom Alexander 2023-10-15 17:38:56 -04:00
  • 77ab636e6a Merge branch 'unify_keyword_constants' Tom Alexander 2023-10-15 15:59:21 -04:00
  • f5dcacc79d Do not match keyword name if a longer keyword name would match. Tom Alexander 2023-10-15 15:55:19 -04:00
  • e7c3c7aab6 Switch the keyword parsers over to using the settings from GlobalSettings. Tom Alexander 2023-10-15 14:22:01 -04:00
  • 7603b0a1cc Add a test showing we are not handling optval properly. Tom Alexander 2023-10-15 13:59:21 -04:00
  • dea3721b1c Fix reporting errors in tests. Tom Alexander 2023-10-15 15:15:38 -04:00
  • 4b54f95087 Publish version 0.1.10. v0.1.10 Tom Alexander 2023-10-14 19:21:05 -04:00
  • 17c2e9fefe Add a build of compare and foreign document test without tracing. Tom Alexander 2023-10-14 19:30:04 -04:00
  • d2d8c1ffcf Fix build for compare with tracing. Tom Alexander 2023-10-14 19:20:49 -04:00
  • b9c638c280 Fix tracing. Tom Alexander 2023-10-14 19:02:35 -04:00
  • 8ac8f9fe6e Merge branch 'foreign_document_test' Tom Alexander 2023-10-14 18:53:52 -04:00
  • ddb3144e66 Fix the tests. Tom Alexander 2023-10-14 18:25:26 -04:00
  • ad5efc4b0f Only require sync on FileAccessInterface when compiling for compare utilities. Tom Alexander 2023-10-14 18:09:50 -04:00
  • 2de33b8150 Enable release-lto profile on foreign document test. Tom Alexander 2023-10-14 18:00:20 -04:00
  • e1fde88a60 Switch to using tokio too invoke emacs async. Tom Alexander 2023-10-14 17:55:53 -04:00
  • 123da9cca3 Make the compare functions async. Tom Alexander 2023-10-14 17:48:38 -04:00
  • c20e7b5f2f Make compare an always-async program. Tom Alexander 2023-10-14 17:43:49 -04:00
  • 74a3512038 Report whether all the tests passed. Tom Alexander 2023-10-14 17:38:53 -04:00
  • ff04c4a131 Sort files in a compare_all_org_document. Tom Alexander 2023-10-14 17:26:59 -04:00
  • 00611e05c2 Remove old bash script. Tom Alexander 2023-10-14 15:32:36 -04:00
  • 3e7e54a1bd Add the foreign_document_test to the build tests. Tom Alexander 2023-10-14 15:26:04 -04:00
  • aa35d1dc03 Copy over the rest of the foreign document test config. Tom Alexander 2023-10-14 15:18:16 -04:00
  • 92afdc0ea6 Strip prefix from file path. Tom Alexander 2023-10-14 15:07:17 -04:00
  • f43920fc7c Add a silent mode for running the diff. Tom Alexander 2023-10-14 14:47:57 -04:00
  • dde4bc7920 Add code for structured printing of test results. Tom Alexander 2023-10-14 14:30:24 -04:00
  • 3d68e1fd00 Switch the docker container over to invoking the rust-based foreign document test. Tom Alexander 2023-10-13 13:28:24 -04:00
  • 8271f6b44a Start invoking the tests. Tom Alexander 2023-10-13 13:20:21 -04:00
  • 8a26965e14 Write a function to compare all org-mode files in a directory. Tom Alexander 2023-10-13 13:02:17 -04:00
  • 3927889e66 Change test status to pass/fail. Tom Alexander 2023-10-13 12:14:46 -04:00
  • 5ecd7b8bef Launch tests in parallel. Tom Alexander 2023-10-13 12:07:52 -04:00
  • b0b795d13b Limit concurrency of running tests. Tom Alexander 2023-10-13 11:41:49 -04:00
  • 182c2737cd Add futures. Tom Alexander 2023-10-11 19:47:30 -04:00
  • 5f93cabff5 Hit recursive async. Tom Alexander 2023-10-11 19:41:32 -04:00
  • a1f8cbe079 Working on invoking the tests. Tom Alexander 2023-10-08 17:17:32 -04:00
  • d7e870cba1 Starting to make result structs. Tom Alexander 2023-10-08 07:54:21 -04:00
  • 591b5ed382 Starting to define a TestConfig enum. Tom Alexander 2023-10-07 01:13:26 -04:00
  • fd141762f0 Start a rust-based foreign document test. Tom Alexander 2023-10-07 00:35:21 -04:00
  • d59bbfa7d2 Update org-mode. Tom Alexander 2023-10-13 11:26:41 -04:00
  • 1d9f91cdd2 Merge branch 'paragraph_without_affiliated_keyword' Tom Alexander 2023-10-12 17:46:56 -04:00
  • 68f8e04ee8 Add tests for affiliated keywords before elements that cannot have affiliated keywords. Tom Alexander 2023-10-12 17:46:25 -04:00
  • c039e0d62c Keywords without affiliated keywords should be lower priority than paragraphs with affiliated keywords. Tom Alexander 2023-10-12 17:32:29 -04:00
  • e6e3783ec6 Support parsing affiliated keywords as keywords. Tom Alexander 2023-10-12 17:23:54 -04:00
  • 5ae19e455d Remove unused imports. Tom Alexander 2023-10-12 17:14:18 -04:00