aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils/logging.rs (follow)
Commit message (Collapse)AuthorAge
* wip: oops shouldn't forget thatdenis2021-01-24
|
* feat(infrastructure): introduce ErrorContext for tracking errors across ↵Kunal Mohan2020-12-09
| | | | | | | | | | | | | | | | | | | | | | | threads (#83) * Implement ErrorContext for tracking errors across threads * reorder Instruction and ErrorContext * Add ContextType, AppContext, ScreenContext, PtyContext * Use ArrayVec in ErrorContext * increase MAX_THREAD_CALL_STACK to 6 * Custom implement Debug for ErrorContext ad ContextType and color output * Use os_input instead of println!() * Use array instead of ArrayVec and some cleanup * Introduce SenderWithContext * Keep arrayvec at v0.5.1
* fix(compatibility): do not offset first scroll region line (#82)Aram Drevekenin2020-12-04
|
* fix(threads): a race condition, build-times, and warnings (#79)Brooks Rady2020-12-02
| | | | | | | | | * Fix a race condition, build-times, and warnings * Yeah, yeah... I know * style(code): add comment to explain race condition Co-authored-by: Aram Drevekenin <aram@poor.dev>
* fic(compatibility): htop scrolling issues (#77)Aram Drevekenin2020-11-30
| | | | | | | | | * fix(compatibility): scrolling inside scroll region with 'M' esc dispatch * style(format): make rustfmt happy * fix(tests): send proper data * fix(logs): do not crash if log file doesn't exist
* chore(infra): added clippy check. (#65)Roee Shapira2020-11-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Added clippy check. * Changed step name. * Used the suggested ci config. * Some more clippy fixes. * Some more clippy fixes. * More clippy fixes. * Removed allow annotations. * Minor lint edit. * More clippy fixes. * Ran cargo fmt. * More clippy fixes. * More clippy fixes. * More clippy fixes. * More clippy fixes. * More clippy fixes. * More clippy fixes. * Code review edits. * Code review edits. * Code review edits. * CI update. * CI update. * CI update. * Added clippy warn so wip won't fail ci. * Cargo fmt.
* hotfix(logging): atomically create tmp foldersAram Drevekenin2020-11-25
|
* fix(compatibility): various htop issues (#66)Aram Drevekenin2020-11-23
| | | | | | | | | | | * fix(compatibility): various htop issues * style(format): make rustfmt happy * fix(logging): do not delete log dir on startup * fix(tests): update htop with command toggle * chore(ci): reduce test concurrency to 1
* fix(layout): total layout percent 100 validation (#57)Roee Shapira2020-11-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Fix for issue #52 * Added missing fixtures. * Added missing validation. * Moved layout creation and validation to the Layout struct. * Ran cargo fmt. * Added creation of tmp folder if needed. * Code review edit. * Code review edit. * Fancied code up. * PR request change. * PR code review. * Merge from upstream/main. * Merge from upstream/main.
* fix(compatibility): some fixes for htop (#53)Roee Shapira2020-11-19
* Moved all log to file functions to one module. * Moved logging to file function to utils module. * Housekeeping. * Housekeeping. * Started investigation into htop CSIs. * Used better function for scrolling. * Minor cleanup. * Cleanup and start of scroll region rotation. * Implemented scroll region rotation. * Improved performace. * New SCI found. * Typo. * Typo. * Removed logging function. * Added scroll rotation functions. * Typo. * Moved all logging function to one module. * Attempt at making htop work. * Reverted unneeded changes. * Improved log file name creation. * Ran rust fmt. * PR review edits. * PR review edits. * Used mark_for_rerender function. * Removed _ prefix from logging functions.