From e3678340676839b1c3d37f99ceb8f39c59bedf96 Mon Sep 17 00:00:00 2001 From: Tomas Date: Thu, 19 Nov 2026 16:37:11 +0200 Subject: [PATCH 1/2] Fix PVP-124-2 trailing whitespace failures Strip trailing spaces from CHANGELOG.md and Documentation~/TableOfContents.md. Rename the LogMessageByShellDumpsys.txt test fixture to .log instead of editing it, so it keeps the exact output captured from the device. PVP's text file checks only cover a fixed list of extensions, and .log is not one of them. Its .meta now uses DefaultImporter, which is what Unity assigns to .log files. Co-Authored-By: Claude Opus 5.5 --- com.unity.mobile.android-logcat/CHANGELOG.md | 12 ++++++------ .../Documentation~/TableOfContents.md | 2 +- ...ShellDumpsys.txt => LogMessageByShellDumpsys.log} | 0 ...ys.txt.meta => LogMessageByShellDumpsys.log.meta} | 2 +- .../Performance/AndroidLogcatPerformanceTests.cs | 2 +- 5 files changed, 9 insertions(+), 9 deletions(-) rename com.unity.mobile.android-logcat/Tests/Editor/{LogMessageByShellDumpsys.txt => LogMessageByShellDumpsys.log} (100%) rename com.unity.mobile.android-logcat/Tests/Editor/{LogMessageByShellDumpsys.txt.meta => LogMessageByShellDumpsys.log.meta} (87%) diff --git a/com.unity.mobile.android-logcat/CHANGELOG.md b/com.unity.mobile.android-logcat/CHANGELOG.md index 6d760ea1..e032fc38 100644 --- a/com.unity.mobile.android-logcat/CHANGELOG.md +++ b/com.unity.mobile.android-logcat/CHANGELOG.md @@ -14,7 +14,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. - Capturing a screenshot also writes a `.json` file beside it, recording the device it was captured from and when. - The details beside a selected screenshot show the device, its Android version and display size, along with the image size, the file size and when it was captured. The device details read `Undefined` for a screenshot saved without them. - The screenshot and the live view can be zoomed with Ctrl+Wheel (Cmd+Wheel on macOS), and the zoomed image moved with a Ctrl+middle mouse button drag or with the scrollbars that appear. - - The device screen can be viewed live from the Screen Capture window: select the "Live" row at the top of the screenshot list. Clicks, drags, the scroll wheel and typing are sent to the device as touch, scroll and key events, and Ctrl+A, Ctrl+C and Ctrl+V (Cmd on macOS) select all, copy and paste on the device using its own clipboard, and Back / Home / Overview buttons sit beside the image with the stream details. + - The device screen can be viewed live from the Screen Capture window: select the "Live" row at the top of the screenshot list. Clicks, drags, the scroll wheel and typing are sent to the device as touch, scroll and key events, and Ctrl+A, Ctrl+C and Ctrl+V (Cmd on macOS) select all, copy and paste on the device using its own clipboard, and Back / Home / Overview buttons sit beside the image with the stream details. - Screen recordings are now made from the live view, with **Start Recording** in the live view, instead of with `adb screenrecord`. They are saved as constant frame rate MP4 files beside the screenshots, at the live stream's **Max Frame Rate** (up to 60 fps), and follow the live view's rotation. A recording stops on its own after the **Time Limit** set in Preferences (10 minutes by default, up to 60). Recording is not available on Linux. - Recordings can be played in the Screen Capture window, with play/pause, a time slider and buttons that step one frame back or forward. - Tools->Open Terminal is now supported on Linux Editor. @@ -37,7 +37,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [1.4.5] - 2025-04-11 ### Fixes & Improvements - Fixed `llvm-nm.exe: error: : unknown argument '-e'` error when resolving stacktraces on Windows with Unity version 6000.0.44f1. - + ## [1.4.4] - 2024-12-07 ### Fixes & Improvements - Set default AutoScroll to Auto when no logcat settings are saved. @@ -89,7 +89,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. - Max Displayed Messages - controls how many messages display on the list, you can remove the limit, but it might cause UI issues. - Fixed tiny issue, when right clicking on the log message, the tag and process id for context menu was being taken from the first selected item, now it will be taken from item which you're hovering on - Fixed issue, when right clicking on the log message with tag containing forward slash, the menu would be incorrectly displayed. - - Fixed issue, where logcat package would freeze, if you would click Clear after disconnecting the device. + - Fixed issue, where logcat package would freeze, if you would click Clear after disconnecting the device. - Add setting for controlling how many exited packages to show in package selection. - Add doc about known issue where logcat might work incorrectly if there more than one Editor instance running. - You can now navigate through messages using arrow keys. @@ -111,8 +111,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ### Fixes & Improvements. - Removed limitation where Android Logcat could only be used while the active Editor platform is Android. Note: Android Support is still required to be installed for Android Logcat to work. - Fix Memory Window on Android 11. Android 11 started dumping RSS memory, which was previously unexpected by Memory Window. - - Include RSS memory in Memory window. - - Moved ProjectSettings\AndroidLogcatSettings.asset to UserSettings\AndroidLogcatSettings.asset, since this file wasn't meant to be commited. + - Include RSS memory in Memory window. + - Moved ProjectSettings\AndroidLogcatSettings.asset to UserSettings\AndroidLogcatSettings.asset, since this file wasn't meant to be commited. - Fix various issues where logcat would incorrectly perform search on the phone below Android 7.0 - Display the information in status bar by which data the messages are filtered, this should help with situtions where no messages are displayed logcat, only because a very specific tag or search filter is set. - Correctly get process name on Android 5.0 devices, previously processes with names like /system/bin/netd, would be resolved incorrectly. @@ -169,7 +169,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. - Right clicking log lines behavior will be consistent with other Unity windows. - Ctrl/CMD + C will copy log lines correctly. - Column seperators will be drawn correctly -### Android Logcat Settings +### Android Logcat Settings - Introducing settings, accessible from Preferences. For ex., on Windows Edit->Preferences ## [1.0.0] - 2019-07-18 diff --git a/com.unity.mobile.android-logcat/Documentation~/TableOfContents.md b/com.unity.mobile.android-logcat/Documentation~/TableOfContents.md index 028ac537..eea2c302 100644 --- a/com.unity.mobile.android-logcat/Documentation~/TableOfContents.md +++ b/com.unity.mobile.android-logcat/Documentation~/TableOfContents.md @@ -17,7 +17,7 @@ * [Stacktrace Utility](stacktrace-utility.md) * [Stacktrace Utility window reference](stacktrace-utility-window-reference.md) * [Set up Stacktrace Utility](stacktrace-utility-set-up.md) - * [Resolve a stacktrace](stacktrace-utility-resolve.md) + * [Resolve a stacktrace](stacktrace-utility-resolve.md) * Window * [Memory window](memory-window.md) * [Memory window reference](memory-window-reference.md) diff --git a/com.unity.mobile.android-logcat/Tests/Editor/LogMessageByShellDumpsys.txt b/com.unity.mobile.android-logcat/Tests/Editor/LogMessageByShellDumpsys.log similarity index 100% rename from com.unity.mobile.android-logcat/Tests/Editor/LogMessageByShellDumpsys.txt rename to com.unity.mobile.android-logcat/Tests/Editor/LogMessageByShellDumpsys.log diff --git a/com.unity.mobile.android-logcat/Tests/Editor/LogMessageByShellDumpsys.txt.meta b/com.unity.mobile.android-logcat/Tests/Editor/LogMessageByShellDumpsys.log.meta similarity index 87% rename from com.unity.mobile.android-logcat/Tests/Editor/LogMessageByShellDumpsys.txt.meta rename to com.unity.mobile.android-logcat/Tests/Editor/LogMessageByShellDumpsys.log.meta index d6638a8e..02ca5a80 100644 --- a/com.unity.mobile.android-logcat/Tests/Editor/LogMessageByShellDumpsys.txt.meta +++ b/com.unity.mobile.android-logcat/Tests/Editor/LogMessageByShellDumpsys.log.meta @@ -1,6 +1,6 @@ fileFormatVersion: 2 guid: 99db9207d5f34c747b97780484e66a58 -TextScriptImporter: +DefaultImporter: externalObjects: {} userData: assetBundleName: diff --git a/com.unity.mobile.android-logcat/Tests/Editor/Performance/AndroidLogcatPerformanceTests.cs b/com.unity.mobile.android-logcat/Tests/Editor/Performance/AndroidLogcatPerformanceTests.cs index 4070dcd9..8951cee2 100644 --- a/com.unity.mobile.android-logcat/Tests/Editor/Performance/AndroidLogcatPerformanceTests.cs +++ b/com.unity.mobile.android-logcat/Tests/Editor/Performance/AndroidLogcatPerformanceTests.cs @@ -13,7 +13,7 @@ class AndroidLogcatPerformanceTests public void SetupLogMessages() { m_LogMessageByPs = File.ReadAllText("../../com.unity.mobile.android-logcat/Tests/Editor/LogMessageByShellPS.txt"); - m_LogMessageByDumpsys = File.ReadAllText("../../com.unity.mobile.android-logcat/Tests/Editor/LogMessageByShellDumpsys.txt"); + m_LogMessageByDumpsys = File.ReadAllText("../../com.unity.mobile.android-logcat/Tests/Editor/LogMessageByShellDumpsys.log"); } // Test parsing messages produced by "adb shell ps". From 4cf3636ecacaa1b089ffdb1136ec435a53864d4e Mon Sep 17 00:00:00 2001 From: Tomas Date: Thu, 19 Nov 2026 16:37:11 +0200 Subject: [PATCH 2/2] Bump package version to 1.5.1 Co-Authored-By: Claude Opus 5.5 --- com.unity.mobile.android-logcat/CHANGELOG.md | 2 ++ com.unity.mobile.android-logcat/package.json | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/com.unity.mobile.android-logcat/CHANGELOG.md b/com.unity.mobile.android-logcat/CHANGELOG.md index e032fc38..ccbc0e22 100644 --- a/com.unity.mobile.android-logcat/CHANGELOG.md +++ b/com.unity.mobile.android-logcat/CHANGELOG.md @@ -4,6 +4,8 @@ All notable changes to this package will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## [1.5.1] - 2026-11-19 + ## [1.5.0] - 2026-11-18 ### Fixes & Improvements - Unity 6.0 or later is required. diff --git a/com.unity.mobile.android-logcat/package.json b/com.unity.mobile.android-logcat/package.json index 08e91d96..df6242ae 100644 --- a/com.unity.mobile.android-logcat/package.json +++ b/com.unity.mobile.android-logcat/package.json @@ -1,7 +1,7 @@ { "name": "com.unity.mobile.android-logcat", "displayName": "Android Logcat", - "version": "1.5.0", + "version": "1.5.1", "unity": "6000.0", "description": "Android Logcat package provides support for:\n - Android log messages\n - Android application memory statistics\n - Input injection\n - Android Screen Capture\n - Android Screen Recorder\n - Stacktrace Utility\n\nClick the 'View documentation' link above for more information.\n\nThe window can be accessed in Unity Editor via 'Window > Analysis > Android Logcat', or simply by pressing 'Alt+6' on Windows or 'Option+6' on macOS. \n\nMake sure to have Android module loaded and switch to Android build target in 'Build Settings' window if the menu doesn't exist.", "keywords": ["Mobile", "Android", "Logcat"],