Commit Graph
166 Commits
Author SHA1 Message Date
Carlos MartinoandGitHub 169c8c13fd Update README.md 2026-07-21 11:12:45 -04:00
Carlos MartinoandGitHub 42ce0fa6d9 Update README.md 2026-07-21 11:12:18 -04:00
Carlos MartinoandGitHub 00ea296f56 Update README.md 2026-07-21 11:12:03 -04:00
Carlos MartinoandGitHub a8840261dc Add files via upload 2026-07-21 11:11:49 -04:00
imcarlost da1245bbef Update readme 2026-07-20 11:47:36 -04:00
imcarlost 80fd6ba760 Bump version to 2.4.0
Fix click-to-line behavior in the interactive UI (no-op without a filter,
correct row math when the log hasn't filled the screen) and add a hover
highlight, a persistent pin on the clicked line, and always-visible process
create/death separators so filtered runs stay distinguishable.
v2.4.0
2026-07-20 11:44:13 -04:00
imcarlost 0cb6331afc Bump version to 2.3.0
Adds Esc-to-quit, working scroll (keys + mouse wheel), and click-to-jump
in the interactive filter UI.
v2.3.0
2026-07-20 11:07:20 -04:00
imcarlost 112291d61b add: claude md 2026-07-20 10:03:09 -04:00
imcarlost 8cdee851fa Update readme 2026-07-20 09:48:08 -04:00
imcarlost f365772bff Bump version to 2.2.0 v2.2.0 2026-07-20 09:43:26 -04:00
imcarlost 468f625df4 Add interactive filter UI and finish the Python 3 port
Logs now render in a full-screen view above a bottom prompt line when both
stdin and stdout are a terminal; typing live-filters the scrollback to lines
containing every typed word, case-insensitively. --plain restores the
previous streaming output, and piped usage is unaffected either way.

Also finishes the Python 3 port that #177 and #173 started:

- print(linebuf.encode('utf-8')) printed the bytes repr of every line instead
  of the line itself
- named_processes was still a lazily-exhausted map() object after #177
  wrapped catchall_package in list()
- piping adb logcat into pidcat crashed, since FakeStdinProcess read
  sys.stdin (str) where the rest of the script expected bytes
- indent_wrap could hang given a non-positive wrap area
- the shebang invoked python, which does not exist on systems that only ship
  python3
2026-07-20 09:23:55 -04:00
Jake WhartonandGitHub 61cd1ee1be Merge pull request #177 from ozziefallick/issue-147
Fixed #147 to unbreak pidcat on Python 3.
2022-01-31 13:35:36 -05:00
Ozzie Fallick 389dacef01 Fixed Issue #147 to unbreak pidcat on Python 3.
Wrapped filter() calls with list() to restore previous functionality. This is backwards-compatible with Python 2.
2022-01-31 10:23:16 -08:00
Jake WhartonandGitHub 0cb1c2c619 Merge pull request #173 from ramanr1/patch-1
Convert system_dump to str for current app lookup
2021-04-05 09:19:13 -04:00
Rajesh RamanandGitHub e77586b535 Convert system_dump to str for current app lookup
Fixes #172
2021-02-11 18:25:20 -08:00
Jake WhartonandGitHub b2e38a071d Merge pull request #163 from rossmacarthur/ft/only-color-a-tty
Only output in color when stdout is a TTY
2020-11-20 10:26:27 -05:00
Ross MacArthur 1a0a58bc60 Only output in color when stdout is a TTY 2020-07-24 17:16:50 +02:00
Jake WhartonandGitHub 73ec19248f Merge pull request #162 from msfjarvis/readme-update-coreutils-8-30
Mention coreutils 8.30 requirement and upgrade path in README
2020-07-17 10:32:36 -04:00
Harsh Shandilya f82c052229 Mention coreutils 8.30 requirement and upgrade path in README
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-07-17 19:57:23 +05:30
Jake WhartonandGitHub be2a7def6c Merge pull request #158 from msfjarvis/fixup-shebang
Make shebang more portable
2020-07-11 22:12:13 -04:00
Harsh Shandilya e5fa59974b pidcat: make shebang more portable
Distros like NixOS[1] do not have a typical /usr/bin/, and rely on shebangs
using /usr/bin/env to go to the correct binary.

Passing options to interpreters is not directly supported in env, and thus
requires passing an extra -S [2] to ensure they go through correctly.

1: https://nixos.org
2: https://jhermann.github.io/blog/linux/know-how/2020/02/28/env_with_arguments.html

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-07-11 18:33:14 +05:30
Jake WhartonandGitHub 2c6600dfd0 Merge pull request #144 from pedronveloso/patch-1
Update README.md
2017-06-04 14:13:18 -04:00
Pedro VelosoandGitHub a15a9b1b7d Update README.md
Add Arch Linux easy to install instructions
2017-06-04 19:12:02 +01:00
Jake WhartonandGitHub 8bd97429c0 Merge pull request #143 from jtietema/license
Add missing LICENSE file
2017-04-25 10:22:41 -04:00
Jeroen Tietema 437bd412c5 Add missing LICENSE file 2017-04-25 17:23:24 +10:00
Jake WhartonandGitHub fc2b43f2dc Merge pull request #141 from Pear0/master
Add pass-through of adb errors
2017-02-17 18:59:54 -05:00
William Gulian 99699dc78e Passthrough adb's stderr to the terminal. 2017-02-17 18:47:35 -05:00
Jake Wharton 44b4a106bb Update version and change log to 2.1.0. 2016-09-07 16:37:22 -04:00
Daniel Gomez RicoandJake Wharton 5d2df02af8 Help users to avoid errors installing it. (#126)
* Help users to avoid errors installing it.

Just a description that paths should be absolute and not relative.

* Remove link to issue.
2016-04-12 23:21:18 -04:00
Jake Wharton f818e10526 Merge pull request #125 from vigilancer/master
fix bug: '--tag-width 0' does not remove tags
2016-01-29 19:30:59 -05:00
Andrey Elizarov 48aaceea44 fix bug: '--tag-width 0' does not remove tags 2016-01-30 03:12:27 +03:00
Andrey Elizarov 9e2cca93e6 fix bug: '--tag-width 0' does not remove tags 2016-01-29 22:15:14 +03:00
Jake Wharton a6815e906a Merge pull request #111 from rxwen/fix_race_condition_in_getpid
Fix bug: may fail to get target pid
2015-09-18 08:28:03 -04:00
rxwen 04ca2bd219 Fix bug: may fail to get target pid
if use ps_pid.poll() to check for termination condition, there is a
    race condition. consider this, the check for ps_pid.poll() succeed
    and continue to process the output. when the output is being
    processed, the "ps_pid" process terminated, generating some more
    output, which hasn't yet been read by pidcat process. after pidcat
    continues next loop iteration, the ps_pid.poll() check terminate the
    loop, and the remaining output is lost. if the target process's pid
    is in the lost output, then the target pid can't be retrieved.
2015-09-18 16:51:22 +08:00
rxwenandJake Wharton 0ef40cce9b Add -a/--all flag for showing all logs. 2015-08-22 15:05:56 -05:00
rxwenandJake Wharton 8e326454a2 allow package filter to match pattern like: /system/bin/native_app, so that we can use it for native app
and can print log messages from all packages
2015-08-22 15:02:38 -05:00
Jake Wharton bd0e7b015a Merge pull request #107 from rxwen/zsh_completion
fix bug in _pidcat completion, all colons should be escaped
2015-08-21 18:56:13 -05:00
rxwen 9965288132 fix bug in _pidcat completion, all colons should be escaped 2015-08-22 07:41:26 +08:00
Jake Wharton a0b72d91d8 Merge pull request #106 from rxwen/zsh_completion
add zsh-completion
2015-08-21 11:23:57 -05:00
rxwen 2f7b9d302b add zsh-completion
- support tab-completion for process name
- support tab-completion for tag name
- support all arguments
2015-08-13 07:42:03 +08:00
Jake Wharton 999ffa506d Merge pull request #99 from takahirom/master
Fix "--curent" bugs
2015-06-10 11:03:50 -04:00
Jake Wharton b56aaac8cf Merge pull request #101 from wuman/parse_on_brief_format
explicitly run adb logcat command in brief format
2015-06-07 22:38:26 -04:00
David Wu 53306b82b3 explicitly run adb command in brief format 2015-06-06 11:14:02 +08:00
takahirom 9c90c7e474 fix clash lollipop and 2.x devices. 2015-05-27 23:39:24 +09:00
Jake Wharton e2ee65a9f2 You left out the only fix people care about dummy. 2015-05-25 18:02:35 -07:00
Jake Wharton 961ded1b1d Prepare version 2.0.0. 2015-05-25 17:52:07 -07:00
Jake Wharton a2604bb793 Change default tag length to 23. 2015-05-25 17:50:58 -07:00
takahiromandJake Wharton 215212683a add feature filter running app 2015-05-25 17:28:59 -07:00
Jake Wharton a77f3e3697 Merge pull request #77 from eighthave/master
bash completion for pidcat
2015-05-25 17:23:07 -07:00
Jake Wharton 39133c42fe Merge pull request #96 from jmfayard/patch-1
Trick: brew can build pidcat from latest git commit
2015-05-25 17:10:56 -07:00