History log of /sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/logcat/LogCatFilter.java
Revision Date Author Comments
6e8efa22a0b375e141daf7497272fe70c6425bc0 04-May-2012 Siva Velusamy <vsiva@google.com> logcat: Validate regex patterns before creating filters.

Currently, when users create regex based filters, any error in the
regex pattern is logged. When the error is logged, context switches
to the Eclipse console view. As a result, users have to switch back
to the logcat view and fix the error.

This patch validates the text on entry and sets the text color to
be red if the pattern is incorrect. There are no context switches
as a result.

This fixes issue: http://code.google.com/p/android/issues/detail?id=22019

Change-Id: I5b571e34c1517b0a78046b56ad83c2aa8632abdb
b01b72c7a868b4171f78569cace5c2f62e3a98c3 26-Aug-2011 Siva Velusamy <vsiva@google.com> Make search case insensitive by default.

Change-Id: Ib09281dea211cffbd5c6f8352c7002f95e99f019
d51df69ca6809f5d75f42dee9a0239afa9675e86 26-Aug-2011 Siva Velusamy <vsiva@google.com> Display with transient filter selected on logcat errors.

When a error message is detected on logcat, display logcat view but
with a filter for the application selected so that only the relevant
messages are displayed.

Change-Id: Ic84c59b63519302eac286ae243b228a305288b3d
55af75792cc4b2783b1ffda1ae204c4014ab1be3 20-Aug-2011 Siva Velusamy <vsiva@google.com> Make variable/method names consistent.

Always use mixed case for pid: change PID to Pid.
Rename getPidString() to getPid().
All changes are syntactical only..

Change-Id: I85309d46ff1a14510271f6402debdc1e17747928
3ce01fe8f2ecbbd97042858cb2e099036b33a712 19-Aug-2011 Siva Velusamy <vsiva@google.com> Add support for filtering by application name.

Change-Id: I07be20ac89108c181cfb2793c90f5cf697a304e2
124f447774b065c1dde88c7e3e9ecc18f13cb0d8 16-Aug-2011 Siva Velusamy <vsiva@google.com> Show count of unread messages associated with each filter.

Change-Id: I871ddc550b1d63844b8501a59c079b62f0de4cca
4d932c0e3fe3f0e3716ae9a32174fa6e4453aab8 16-Aug-2011 Siva Velusamy <vsiva@google.com> Refactor code for filtering into LogCatFilter class.

- Move the code out of LogCatViewerFilter into LogCatFilterSettings
- Rename LogCatFilterSettings to LogCatFilter as it now does the
filtering as well.
- Update tests appropriately.

Change-Id: I68840d8292cc7ad2b3ef5415bd7a0bdd56aa4da2