Commit Graph
152 Commits
Author SHA1 Message Date
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
Jean-Michel Fayard ef7d544fe2 correct markdown syntax 2015-04-24 16:26:39 +02:00
Jean-Michel Fayard cd4df5ad67 Trick: brew can build pidcat from latest git commit
This is what I used to get pidcat working on Android 5.1 / Nexus 4
2015-04-24 11:31:02 +02:00
Jake Wharton 660a8197f5 Merge pull request #94 from dmarcato/master
Allow tag filters with regex
2015-03-17 12:56:45 -05:00
Dario Marcato 95749e44a3 Allow tag filters with regex 2015-03-14 18:15:28 -07:00
Jake Wharton b050e6a491 Merge pull request #93 from JakeWharton/jw/five-one
Add support for Android 5.1.
2015-03-14 16:14:14 -05:00
Jake Wharton d85c10c25d Add support for Android 5.1. 2015-03-14 02:36:24 -04:00
Jake Wharton d23340de05 Merge pull request #88 from Pixplicity/master
Obtain unknown process IDs using `adb shell ps`
2015-02-17 17:56:36 -08:00
Jake Wharton e5bc8c8766 Merge pull request #89 from aried3r/master
Add --version, remove trailing spaces in help texts
2015-02-17 17:06:26 -08:00
Anton Rieder c0620537c5 Add --version, remove trailing spaces in help texts 2015-02-17 14:11:25 +01:00
Paul Lammertsma e6fa71ef98 reintegrated pull request #71 (https://github.com/JakeWharton/pidcat/pull/71) onto master 2015-02-17 10:56:38 +01:00
Jake Wharton 00ebabb4d4 Merge pull request #81 from laramaki/master
Added ignore tag switch
2015-01-19 23:23:26 -08:00
laramaki fd999b79f7 Add ignore tag switch. Useful when inspecting the full log on over flooded log devices 2015-01-19 19:26:46 -02:00
Hans-Christoph Steiner 1126d14126 bash completion for pidcat
I just wrote up a bash completion script, this goes into `/etc/bash_completion.d/` then the next time you launch `/bin/bash`, `pidcat` will have full, interactive completion, including automatic fetching of device serials and package names, i.e.:

```bash
pidcat --serial e [Tab]
pidcat --serial emulator-5554
```

and

```bash
pidcat info.g [Tab]
pidcat info.guardianproject.o [Tab]
pidcat info.guardianproject.otr.app.im
```

Use under whatever free software license you want: (GPL, LGPL, MIT, BSD, Apache, public domain, etc)
2014-10-27 11:23:16 -04:00
Jake Wharton 4c79363e5a Support any number of spaces before the PID. 2014-10-07 14:10:01 -07:00