* tmp
* intermediate work
* delete some code
* hook things up
* use QueryOptions everywhere instead
* comments
* more cleanup
* even more cleanup
* fmt
* update comment
* some more tests while I'm at it
* add todo for additional tests
* more empty quotes
* more empty quote testing
* even more tests
* driveby test for arg tests
When a process name contains multi-byte characters, cmdline[start..end]
is unsafe since it operates on bytes and can cause panic when start/end
are not char boundaries.
* refactor: move around some files related to the time graphs
* fmt
* fmt again
* update changelog
* add docs for time_graph
* rename time_graph to time_chart to be consistent
* nvm, that just makes it more annoying
* fmt
* Update documentation comment for time_graph.rs
* add extra rustdoc lint as well while I'm here
Looks like the issue was related to how we were getting priority in Windows, using the winprocinfo crate. This is resolved by just manually doing the windows API calls necessary.
---
* test if leak is caused by winprocinfo
* manually implement priority code
* cleanup
* update changelog
* Revert "refactor: migrate to Rust 2024 edition (#1678)"
This reverts commit b07eb646ce.
* other: temporarily revert 2024 changes
* additionally work around some issues
* refactor query error to another file
* refactor and/or/prefix
* more refactoring and tests
* clippy
* more tests
* even more tests
Also add some comments with context about some tests.
* todo and comments
* fix a bug around quote parsing
* update changelog
* add comment
* add comment
* update changelog
* basic priority and nice functionality
* fix fmt, clippy and tests
* trying to fix other platform build errors
* fmt fix
* trying more fixes
* clean project
* refactored nice to be for all unix systems
* few more places where I had to change cfg for Nice
* Fix scheme names issues
* fix for schema
* fmt
* fixed clippy errors
* 'nice' fix
* fmt
* fixed cfg in tests also
* trying to fix macos test errors
* fix nice value extraction for mac
* modularised nice and priority for mac and freebsd
* fmt
* more multi target to unix
* removing unnecesary guards
* added safety comments
- also reverted string array reference changes
utils fix
* weird utils clippy error fix
* removed unneeded commit
* not needed after main merge(?)
* add nohash and rustc-hash
* use fxhash by default
* comment
* fmt
* clippy
* use nohash for pid stuff
* fix import
* fix imports again
* fix windows type for gpu pid
Added the ability to press Enter after typing a search term in the Proc widget, making it more Vim-like for those with muscle-memory for Vim's '/' search.
* feature: added spacebar as a toggle for proc tree mode
* bug: added check if the app is currently in search widget state
* refactor: moved the if statements inside the match case
* docs: added documentation for Spaec as tree toggle
* revert: changes
* feat: added space key to toggle tree
* refactor: clippy errors
* docs: updated documentation for space as toggle
* feat: experimental change to Minus, collapse entire tree
* fix: clippy errors
* feat: finished - and + as full tree collapse/expand
* refactor: clippy errors
* Made the all collapse function more concise
* Changed i32 calls to Pid
* updated help text
* Fixed array
* reverted total collapse and expand of trees
* array fix
* bug: fix using the wrong timestamp to invalidate network axis scaling cache
* fix bug with starting with 0.0 leading to having a max height of 0.0
* comment
* driveby
* fix potential logic bug with generate points logic, but this isn't the actual issue
* update changelog
* why was that there
* okay let's not bother
* Revert "okay let's not bother"
This reverts commit 1ce8f5619f.
* Revert "why was that there"
This reverts commit 6a2a4da04a.
* Revert "fix potential logic bug with generate points logic, but this isn't the actual issue"
This reverts commit 7f7de8055b.
* Revert "bug/refactor: draw average CPU last, refactor CPU data code (#1804)"
This reverts commit 43e1b34899.
* reverse as a lazy fix for avg
This PR adds an explicit check for the case where the `Instant` is somehow too small and falls back to manually checking for the oldest visible timestamp.
* hide k-threads init
comment
* add config for hide_k_threads
arg help
* update docs for hide_k_threads
* add test_toggle_k_thread for process_table
* update help text and schema
* add hide_k_threads to sample_configs default
* add Virt column to sample default config
* update sample demo config column name for schema ci
* force_rerender_and_update from toggle_k_threads for updates when frozen
* use is_kernel for ProcessType
* remove todo
* Apply suggestions from code review
Co-authored-by: Clement Tsang <34804052+ClementTsang@users.noreply.github.com>
---------
Co-authored-by: Clement Tsang <34804052+ClementTsang@users.noreply.github.com>
* add no key setting
* do it here instead of in main loop
* add a warning
* docs: update a bunch of docs with features
* linux-only test
* oop
* skip field check for other os
* oop
* easier way of doing it
* use dead code
* oop
* huh guess I don't need it
* driveby use rustix
* refactor some code aeround
* bug: fix colon at end of process name for now
* clippy
* comments
* changelog
* some other changes + test
* extra test
* feature: add support for threads in linux
* bump version too
* only enable for linux for now
* thread some things around
* update changelog
* add highlighting support
* fmt and run schema
* how did this get added
* hmmm cfg in if seems to not work
* fix updated fields
* fixes
* revert uptime rename
* some cleanup
* fix doc
* oop