Commit Graph

96 Commits

Author SHA1 Message Date
c0bf52822e Add missing build step
All checks were successful
buildbot/mdml-cgi-linux-builder Build done.
buildbot/mdml-cgi-freebsd-builder Build done.
buildbot/mdml-cgi-macos-builder Build done.
2024-04-19 20:19:38 -04:00
e0d46c18a8 Re-use code from my new external library, IOCore. Fix compile errors.
Some checks failed
buildbot/mdml-cgi-linux-builder Build done.
buildbot/mdml-cgi-freebsd-builder Build done.
- Change vim-integrated build directory.
- Add WIP CgiServerApp class.
- Fix IOCore repository URL
2024-04-19 20:14:27 -04:00
2582bf7e2f Add CI/CD status badge to README.md
Some checks failed
buildbot/mdml-cgi-linux-builder Build done.
buildbot/mdml-cgi-freebsd-builder Build done.
buildbot/mdml-cgi-macos-builder Build done.
2024-04-19 20:01:38 -04:00
28d9cc89ee Use v0.2.9 of IOCore and set data target's proper production data path
All checks were successful
buildbot/freebsd-jail-cmake-builder Build done.
buildbot/darwin-macos-cmake-builder Build done.
buildbot/linux-podman-cmake-builder Build done.
2024-03-31 00:54:35 -04:00
21a6286af3 Finish migrating to IOCore framework and its pre-built classes 2024-03-30 17:40:29 -04:00
582d736ee5 Stop reading the cmark target for include directories
Properly set public scope for link_libraries, so their header paths
are properly exported by consumers of mdml.
2024-03-30 14:37:48 -04:00
f2d009dd3e Update CMakeLists.txt to use IOCore library framewokr 2024-03-30 14:32:13 -04:00
0fc2c38572 CMake: Add CPM Package Manager for dependency resolution and source builds. 2024-03-27 18:16:16 -04:00
4cdc86bda5 Minor formatting changes
All checks were successful
buildbot/linux-podman-cmake-builder Build done.
buildbot/freebsd-jail-cmake-builder Build done.
buildbot/darwin-macos-cmake-builder Build done.
2024-03-18 11:15:55 -04:00
a0039cf5b6 Switch from using references in Result class, to using getter methods.
All checks were successful
buildbot/linux-podman-cmake-builder Build done.
buildbot/freebsd-jail-cmake-builder Build done.
buildbot/darwin-macos-cmake-builder Build done.
Linux seemed to be unable to copy references when I passed the object by copy or returned by copy
2024-03-15 23:44:39 -04:00
e2ac3fb3cd Fix Linux build. Need to rework how Result type handles strings 2024-03-15 23:44:39 -04:00
cf5d14ebce Fix outdated constexpr names in platform.hpp 2024-03-15 23:44:39 -04:00
1da9da7e6f Add nlohmann::json dependency 2024-03-15 23:44:27 -04:00
4bded5e501 Write tentative interfaces for async operation 2024-03-15 23:44:14 -04:00
cc456733fd Temporarily switch GenerateRoute to use shared_ptrs 2024-03-15 23:43:13 -04:00
f57dbae491 Fix unit tests, all tests now passing
Some checks failed
buildbot/freebsd-jail-cmake-builder Build done.
buildbot/linux-podman-cmake-builder Build done.
buildbot/darwin-macos-cmake-builder Build done.
2024-03-15 19:28:57 -04:00
802d86686a Editorconfig: remove lsp vim folding mode 2024-03-15 19:28:46 -04:00
8ed2a666f8 Run clang-tidy; improve types.hpp, added subheaders 2024-03-15 18:37:30 -04:00
cf9f791de1 Add helper scripts from other project 2024-03-15 13:32:02 -04:00
528cef9374 Fix clang-tidy errors and fix local.vimrc warnings 2024-03-15 13:31:50 -04:00
e0faeef2ba Commence refactoring and code style conformity changes 2024-03-15 13:12:54 -04:00
fc5e5188e4 Fix typo in CMakeLists.txt project description
All checks were successful
buildbot/mdml-cgi-darwin-macos-builder Build done.
buildbot/mdml-cgi-freebsd-jail-builder Build done.
buildbot/mdml-cgi-linux-podman-builder Build done.
2023-12-09 22:00:16 -05:00
736e97a68c Add support for using system Catch2 to speed up compilation
All checks were successful
buildbot/mdml-cgi-linux-podman-builder Build done.
buildbot/mdml-cgi-freebsd-jail-builder Build done.
buildbot/mdml-cgi-darwin-macos-builder Build done.
2023-12-09 17:19:49 -05:00
7f023003f1 Write README.md
All checks were successful
buildbot/mdml-cgi-darwin-macos-builder Build done.
buildbot/mdml-cgi-linux-podman-builder Build done.
buildbot/mdml-cgi-freebsd-jail-builder Build done.
2023-11-28 22:42:44 -05:00
bb9bde76bf Fix typo
All checks were successful
buildbot/mdml-cgi-linux-podman-builder Build done.
buildbot/mdml-cgi-darwin-macos-builder Build done.
buildbot/mdml-cgi-freebsd-jail-builder Build done.
2023-11-24 15:41:46 -05:00
9b8d2f566e Add a directory scanner to detect application routes
All checks were successful
buildbot/mdml-cgi-linux-podman-builder Build done.
buildbot/mdml-cgi-darwin-macos-builder Build done.
buildbot/mdml-cgi-freebsd-jail-builder Build done.
Close #24
2023-11-24 15:27:53 -05:00
79e0206fc1 Work #23 - Fix linux stack traces by using addr2line instead of libbacktrace
All checks were successful
buildbot/mdml-cgi-linux-podman-builder Build done.
buildbot/mdml-cgi-darwin-macos-builder Build done.
buildbot/mdml-cgi-freebsd-jail-builder Build done.
2023-11-24 12:47:14 -05:00
7c0d6eae76 Removing a URL that was accidentally copy-pasted into CMakeLists.txt
Some checks failed
buildbot/mdml-cgi-freebsd-jail-builder Build done.
buildbot/mdml-cgi-linux-podman-builder Build done.
buildbot/mdml-cgi-darwin-macos-builder Build done.
2023-11-24 12:01:34 -05:00
3134177c74 Adding workaround for very short stack traces that are breaking unit test code
Some checks failed
buildbot/mdml-cgi-freebsd-jail-builder Build done.
buildbot/mdml-cgi-linux-podman-builder Build done.
buildbot/mdml-cgi-darwin-macos-builder Build done.
2023-11-24 11:53:52 -05:00
4835883587 Add CgIApplication class to main() function & fix bugs.
Some checks failed
buildbot/mdml-cgi-freebsd-jail-builder Build done.
buildbot/mdml-cgi-darwin-macos-builder Build done.
buildbot/mdml-cgi-linux-podman-builder Build done.
Close #22 - Fix mdml-cgi build so it uses the correct .cpp
implementation.
Close #21 - Fix issue where std::exception is used to create
mdml::exception in CgiApplication class when REQUEST_URI is missing
Close #20 - Implement CgiApplicaiton CGI request handler in mdml-cgi
2023-11-24 11:42:30 -05:00
0b9fc10c6a Add pkg-config support for cmark in release builds
Some checks failed
buildbot/mdml-cgi-freebsd-jail-builder Build done.
buildbot/mdml-cgi-darwin-macos-builder Build done.
buildbot/mdml-cgi-linux-podman-builder Build done.
Close #19
2023-11-21 16:15:12 -05:00
b3ab6505d1 Delete unneded ci/run-tests.sh file
All checks were successful
buildbot/mdml-cgi-darwin-macos-builder Build done.
buildbot/mdml-cgi-freebsd-jail-builder Build done.
Using cmake's ctest is much more consistent.
2023-11-21 14:41:47 +00:00
ad86793517 Update .gitattributes
All checks were successful
buildbot/mdml-cgi-darwin-macos-builder Build done.
buildbot/mdml-cgi-freebsd-jail-builder Build done.
2023-11-21 14:40:35 +00:00
31a78f0fec Update .gitattributes
All checks were successful
buildbot/mdml-cgi-darwin-macos-builder Build done.
buildbot/mdml-cgi-freebsd-jail-builder Build done.
2023-11-21 14:37:26 +00:00
a4595c3a4f Merge pull request 'Add copyright notices for third-party libraries' (#18) from copyright-notices into devel
All checks were successful
buildbot/mdml-cgi-darwin-macos-builder Build done.
buildbot/mdml-cgi-freebsd-jail-builder Build done.
Reviewed-on: #18
2023-11-21 14:26:51 +00:00
c0ffefd496 Add Catch2 dependency copyright info 2023-11-21 14:26:51 +00:00
e260584913 Add copyright information for dependency, 'cmark' 2023-11-21 14:26:51 +00:00
e1a6132a90 Exclude the data directory in the source tree from being indexed as code in gitea
All checks were successful
buildbot/mdml-cgi-darwin-macos-builder Build done.
buildbot/mdml-cgi-freebsd-jail-builder Build done.
2023-11-21 14:22:30 +00:00
39eaee382c Implement MarkdownRouteHandler text HTML template text substitution
All checks were successful
buildbot/mdml-cgi-darwin-macos-builder Build done.
buildbot/mdml-cgi-linux-podman-builder Build done.
buildbot/mdml-cgi-freebsd-jail-builder Build done.
Close #11 - Add CMAke target that moves program data to the build folder
Close #17 - Implement MarkdownRouteHandler text HTML template text substitution
2023-11-18 08:10:03 -05:00
3d0b08a612 Implement and document the CgiApplication class 2023-10-30 14:45:04 -04:00
e65aef4037 Renamed Application class getters. Better naming conventions. See changes 2023-10-28 09:17:00 -04:00
4ac18ac53f Add unit testing functionality to local.vimrc 2023-10-26 21:07:09 -04:00
42250b5860 Fix Linux build: vector type must be non-const and copyable.
All checks were successful
buildbot/mdml-cgi-linux-podman-builder Build done.
buildbot/mdml-cgi-darwin-macos-builder Build done.
buildbot/mdml-cgi-freebsd-jail-builder Build done.
2023-10-23 21:46:28 -04:00
dc935288aa Add missing header(s) to fix FreeBSD build.
Some checks reported errors
buildbot/mdml-cgi-darwin-macos-builder Build done.
buildbot/mdml-cgi-freebsd-jail-builder Build done.
buildbot/mdml-cgi-linux-podman-builder Build done.
2023-10-23 21:27:35 -04:00
0a072ce286 Create Application class that handles parameters & environment.
Some checks failed
buildbot/mdml-cgi-linux-podman-builder Build done.
buildbot/mdml-cgi-darwin-macos-builder Build done.
buildbot/mdml-cgi-freebsd-jail-builder Build done.
Close #16
2023-10-23 21:01:47 -04:00
d8173aae98 Improve exception what() message, tab-format the output
Some checks failed
buildbot/mdml-cgi-darwin-macos-builder Build done.
buildbot/mdml-cgi-linux-podman-builder Build done.
buildbot/mdml-cgi-freebsd-jail-builder Build done.
Add platform detection static class with flags.

Close #8 - Exceptions with stack traces.
2023-10-20 23:17:52 -04:00
9ffbaa5abe Separate Catch2 runtime tests; remove debug conent from vim's BuildDebug
function.
2023-10-20 23:17:52 -04:00
9f5ca3c6d1 Fix Vim-integration build debug command; rename excpetions-test to singular. 2023-10-20 23:17:52 -04:00
67be36bb40 Improve boost::stacktrace output with libboost_stacktrace_backtrace.so
Some checks failed
buildbot/mdml-cgi-linux-podman-builder Build done.
buildbot/mdml-cgi-freebsd-jail-builder Build done.
buildbot/mdml-cgi-darwin-macos-builder Build done.
This makes the excpetions printed on Linux helpful, instead of being a
dump of hex addresses.

work #8 - Exceptions with Stack Traces
2023-10-20 16:20:41 -04:00
0ec19cb6f9 Fix comment wording
All checks were successful
buildbot/mdml-cgi-linux-podman-builder Build done.
buildbot/mdml-cgi-freebsd-jail-builder Build done.
buildbot/mdml-cgi-darwin-macos-builder Build done.
2023-10-20 15:42:20 -04:00