Moar Tracing #54
EmJayGee
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Generally, added a lot of use of the tracing facility for the error paths in m::filesystem so that future failures can be most easily diagnosed by logs persisted from sinks.
Also found another defect in
m::filesystem::loadwhere if the file had shortened in the time since it was initially opened, the space between the new EOF and the old was returned as 0 (zero)s. Not the worst behavior but not good.Moved the error handling macros to their own CMake project (
m_error_handling) to untangle some of the dependency web since they depend onm_tracing.Created a project, the purpose of which is solely to have headers which give the platform dependent string conversion and comparison operations.
The whole "I must be going!" "No, I must stay!" "No, but I really must be going!" nature of this relationship is annoying. I want to keep code that is behaving in a platform specific manner, especially something that's not even a universally agreed upon platform specific behavior (std::string == CP_ACP encoded strings for example) available as a choice, but certainly not by default.
But then on Linux, all five character types (7 if you keep
char,signed charandunsigned chardistinct, but I'm ignoring the latter two) are expected to be encodings of a UCS character code point.It makes it difficult to have a smooth implementation surface area if you can't have trivial conversions to/from
charon Windows.What's Changed
Full Changelog: v0.0.29...v0.0.30
This discussion was created from the release Moar Tracing.
Beta Was this translation helpful? Give feedback.
All reactions