From 3d65fbabeab1317e2644bf711b29cd06ab4f9aa1 Mon Sep 17 00:00:00 2001 From: Akash Yadav Date: Thu, 23 Jun 2022 16:52:30 +0530 Subject: [PATCH] Moved changelogs into separate files --- CHANGELOG.md | 204 -------------------------------------- changelogs/v2.0.0-beta.md | 68 +++++++++++++ changelogs/v2.0.1-beta.md | 61 ++++++++++++ changelogs/v2.1.0-beta.md | 78 +++++++++++++++ 4 files changed, 207 insertions(+), 204 deletions(-) delete mode 100644 CHANGELOG.md create mode 100644 changelogs/v2.0.0-beta.md create mode 100644 changelogs/v2.0.1-beta.md create mode 100644 changelogs/v2.1.0-beta.md diff --git a/CHANGELOG.md b/CHANGELOG.md deleted file mode 100644 index 5e6809d38..000000000 --- a/CHANGELOG.md +++ /dev/null @@ -1,204 +0,0 @@ -# AndroidIDE Changelog -This is the changelog of all the releases of AndroidIDE. - -## **v2.0.2-beta** (in development) - -### Important notes -- The `HOME` and `SYSROOT` directories has been renamed to `home` and `usr` respectively. -- The packages for the AndroidIDE terminal has been updated. But, it requires you to reinstall the bootstrap packages. Please follow [this](https://t.me/androidide_discussions/30564) guide to install the new bootstrap packages. -- Android 12 devices no longer need to use 32-bit build tools. You can simply reinstall AndroidIDE with 64-bit build tools. -- You can now easily open/show the `ide-environment.properties` file using the `ideenv` command. Execute : - - `ideenv -e`: To edit the environments file. Uses `nano` editor to edit. - - `ideenv -s`: To print the contents of the file in the terminal. -- The minimum Android Gradle Plugin version required to build projects in AndroidIDE is now set to version `7.2.0`. The build process will fail for projects using older versions. However, those projects would still be able to build with terminal. - -### Additions -- Warn about empty body for the following statements : - - `if` - - `else` - - `try` - - `catch` - - `finally` - - `for` - - `while` - - `do while` -- New java code actions : - - `Generate toString()`: Overrides the `toString()` method for the current class. Always accessible. - - `Generate constructor`: Allows the user to select fields from the current class, then generates a constructor with those fields as parameters. - - `Remove unused imports`: Removes imports that are not used in the source file. - - `Import orderer`: Organizes the imports. Thanks to @MrIkso (#180). -- XML Code formatter. Thanks to @MrIkso (#182). -- New Gradle command line options: `--build-cache` and `--offline`. Thanks to @MrIkso (#180). -- Highlight IDE logs based on the log line priority. -- Option to share Build Output, App log and IDE logs as text file. -- Syntax highlighting for Kotlin and C/C++ language. Thanks to @MrIkso (#196). -- Highlight hex color code in string literals. Thanks to @MrIkso (#209). -- Save all files before executing any build process. (#209). -- New Template: Jetpack Compose. Thanks to @BanDroid (#198). -- Added Brazilian Portuguese translations. Thanks to @Hakaisu (#165). - -### Removals -- `$ANDROID_HOME/cmake/bin` is no longer prefixed to the `PATH` variable. You can install now install `cmake` using `pkg install cmake`. -- Removed syntax highlighting from log views. - -### Fixes -- Crash when performing 'Replace all' action in editor (#158). -- Crash when layout inflation fails (#168). -- Always show toasts on UI thread (#160). -- Fixed: Multiline logs in IDE logs are not highlighted properly. -- Fixed: Invalid log line formatting when tag to too long. -- Fixed: Application crashes when layout inflation fails (#168). -- Fixed: Invalid syntax highlighting for text tags in XML files. Thanks to @MrIkso (#180). -- Memory leaks in some fragments. Thanks to @MrIkso (#209). -- Fixed: Extra empty `new line` gets appendend to files while saving. -- Fixed: `SuperNotCalledException` in `DesignerActivity` (#214). Thanks for @MrIkso (#219). -- - -### Improvements -- Do not show 'Cut' & 'Paste' action if editor is not editable. -- Include `aapt2` in IDE itself. The IDE now automatically specifies 'android.aapt2FromMavenOverride' property while building projects. -- Use [ported version of NetBeans' `nb-javac`](https://github.com/itsaky/nb-javac-android) for Java language server. -- Removed extra Maven repository URLs from project templates. Thanks to @MrIkso (#188). -- Show progress indicator when initializing project -- Update dependency versions in project templates and update the Kotlin project template image. Thanks to @BanDroid (#191). -- Ability to cache completion results for faster completions on next completion request. -- Use Gradle v7.4.2 in template projects and updated template dependencies Thanks to @MrIkso (#209). -- The project creator UI and logic has been improved (#209). -- Use of `libhook.so` is now optional and is DISABLED by default. This hook is only required if you use JDK 11 and if you have an Android 11 or lower device. -- JDK 17 is now preferred by the IDE. It looks for JDK 11 only if JDK 17 is not found on path `$SYSROOT/opt/openjdk`. -- Implemented incremental analysis for supported languages. -- Updated Hindi translations. Thanks to @Premjit-Chowdhury (#171). -- Updated Russian translation. Thansk to @AndreyKozhev (#181 and #220). -- Updated Chinese translations. Thanks to @mikofe (#192). -- Added missing translations for PT-BR. Thanks to @Frederick'XS (#176). - -## **v2.0.1-beta** -AndroidIDE v2.0.1-beta is here with new features, improvements and bug fixes. - -### Important notes -- As 64-bit installation does not work on Android 12 (due - to [restriction by the OS](https://source.android.com/devices/tech/debug/tagged-pointers)), 32-bit - build tools need to be installed when installing AndroidIDE on devices running Android 12. -- Google services and Firebase integration has been removed. - -### Additions -- Code formatter for Java source code. -- Support for - [`GestureOverlayView`](https://developer.android.com/reference/android/gesture/GestureOverlayView), - [`ToggleButton`](https://developer.android.com/reference/android/widget/ToggleButton), - [`Switch`](https://developer.android.com/reference/android/widget/Switch), - [`GridLayout`](https://developer.android.com/reference/android/widget/GridLayout), - [`ListView`](https://developer.android.com/reference/android/widget/ListView) (#145) in layout - inflater. -- Preference to disable use of `TYPE_TEXT_VARIATION_VISIBLE_PASSWORD` flag in editor. -- Automatically trigger completion when attributes are inserted from completion window. -- New java code actions : - - Add import - - Add 'throws' - - Generate constructor - - Generate setters/getters - - Field to block - - Remove unused class - - Remove unused method - - Remove unused 'throws' -- You can now override multiple superclass methods at once. -- `DocumentsProvider` for providing access to files in `HOME` directory. - -### Removals -- Removed initial view attributes from view tags completion in XMLCompletionProvider. -- Vertical text action window has been removed. -- Removed Google services and Firebase integration. -- Removed the horizontal text actions menu from the editor in favour of the new actions menu. - -### Fixes -- Cash in attribute editors when adding an attribute. -- Crash when selecting diagnostic item from diagnostics list. -- Some diagnostic items are not shown in diagnostic window (#96). -- Diagnostics were updated late in the editor. -- Popup windows created by editor are not dismissed even when the file is closed. -- No build output when activity is recreated (#121). -- Crash in UI Designer when activity is recreated (#124). -- Invalid syntax highlighting for application logs (#152). -- Illegal argument exception while overriding methods in Java completion provider. - -### Improvements -- Do not import classes from `java.lang` package when completion items are selected. -- XML completion provider now uses 'Match completions in lower case' preference. -- Dismiss all windows shown by editor when file tab is unselected or when the bottom sheet is - expanded. -- Improved the editor actions menu. -- Sort completion items according to their kind and sort text. -- Restore file tree state when application is resumed (#150). -- Updated templates to work with Android 12 (#144). -- Updated Chinese translation. Thanks to @mikofe (#128). -- Updated French translation. Thanks to @Se-Lyan (#136). -- Updated German translation (#144). - -## **v2.0.0-beta** - -AndroidIDE v2.0.0-beta is here with new features and improvements. - -### Important Notes - -- This is a pre-release and is not so stable. There are some features that are partially - implemented. -- The minimum SDK has been raised to `26` (`Android O`). - -### Additions - -- XML Layout Designer with ability to preview XML drawables. -- Added packages for terminal. -- libGDx project template. Thanks to @Smooth-E (#81). -- Kotlin project template. Thanks to @BanDroid (#60). -- Preference to switch between `bash` and `/system/bin/sh` in terminal. -- Preference for matching partial names in java completion. -- Preference to choose between `floating window text actions` and `text actions in ActionMode`. -- Preference to enable/disable font ligatures. -- Show process output when build tools installation fails. -- Ability to expand selection in supported languages. -- Ask user to save unsaved files before closing project. -- Hindi translation. Thanks to @Premjit-Chowdhury (#70, #127). -- German translation. Thanks to @MarvinStelter. -- Indonesian translation. Thanks to @BanDroid (#54, #57, #60, #72, #125). -- Chinese translation. Thanks to @Rosemoe (#56, #73, #104) and @mikofe (#118, #119, #123). -- French translation. Thanks to @Se-Lyan (#79). -- Russian translation. Thanks to @Smooth-E (#97). - -### Removals - -- Autosave of files is removed. However, a preference has been added for the same which, when - enabled, saves the files automatically before close. - -### Fixes - -- File does not close and crashes if reopened and closed again. -- Flickering of whole auto completion window. -- Flickering of completion item due to API info. -- Build tools installation fails if `JAVA_HOME` does not exist. -- Invalid syntax highlight for method invocations in java. -- Package private classes not included in java completion. -- IDE crashes when `Paste` option is selected in terminal and no clip is available. -- Fixed a bug due to which the IDE was not able to open empty files. -- `LogSender` class not included in JLS workspace. - -### Improvements - -- Show crash report when the IDE crashes. -- The Java language server is now embedded in the IDE itself. -- The AndroidIDE Gradle plugin is now packaged with the IDE. -- Show name of opened project. -- Show signature help in window instead of using a `TextView`. -- The java completion provider now uses a custom JDK runtime image with Android framework classes - and is no more dependent on JDK installation. -- Disable `Save` option when all files are saved. -- Allow installation of files from file tree. - -### New Contributors - -* @BanDroid -* @Rosemoe -* @Premjit-Chowdhury -* @Se-Lyan -* @Smooth-E -* @ansh2166 -* @mikofe diff --git a/changelogs/v2.0.0-beta.md b/changelogs/v2.0.0-beta.md new file mode 100644 index 000000000..daf9aa303 --- /dev/null +++ b/changelogs/v2.0.0-beta.md @@ -0,0 +1,68 @@ +## **AndroidIDE v2.0.0-beta** + +AndroidIDE v2.0.0-beta is here with new features and improvements. + +### Important Notes + +- This is a pre-release and is not so stable. There are some features that are partially + implemented. +- The minimum SDK has been raised to `26` (`Android O`). + +### Additions + +- XML Layout Designer with ability to preview XML drawables. +- Added packages for terminal. +- libGDx project template. Thanks to @Smooth-E (#81). +- Kotlin project template. Thanks to @BanDroid (#60). +- Preference to switch between `bash` and `/system/bin/sh` in terminal. +- Preference for matching partial names in java completion. +- Preference to choose between `floating window text actions` and `text actions in ActionMode`. +- Preference to enable/disable font ligatures. +- Show process output when build tools installation fails. +- Ability to expand selection in supported languages. +- Ask user to save unsaved files before closing project. +- Hindi translation. Thanks to @Premjit-Chowdhury (#70, #127). +- German translation. Thanks to @MarvinStelter. +- Indonesian translation. Thanks to @BanDroid (#54, #57, #60, #72, #125). +- Chinese translation. Thanks to @Rosemoe (#56, #73, #104) and @mikofe (#118, #119, #123). +- French translation. Thanks to @Se-Lyan (#79). +- Russian translation. Thanks to @Smooth-E (#97). + +### Removals + +- Autosave of files is removed. However, a preference has been added for the same which, when + enabled, saves the files automatically before close. + +### Fixes + +- File does not close and crashes if reopened and closed again. +- Flickering of whole auto completion window. +- Flickering of completion item due to API info. +- Build tools installation fails if `JAVA_HOME` does not exist. +- Invalid syntax highlight for method invocations in java. +- Package private classes not included in java completion. +- IDE crashes when `Paste` option is selected in terminal and no clip is available. +- Fixed a bug due to which the IDE was not able to open empty files. +- `LogSender` class not included in JLS workspace. + +### Improvements + +- Show crash report when the IDE crashes. +- The Java language server is now embedded in the IDE itself. +- The AndroidIDE Gradle plugin is now packaged with the IDE. +- Show name of opened project. +- Show signature help in window instead of using a `TextView`. +- The java completion provider now uses a custom JDK runtime image with Android framework classes + and is no more dependent on JDK installation. +- Disable `Save` option when all files are saved. +- Allow installation of files from file tree. + +### New Contributors + +* @BanDroid +* @Rosemoe +* @Premjit-Chowdhury +* @Se-Lyan +* @Smooth-E +* @ansh2166 +* @mikofe diff --git a/changelogs/v2.0.1-beta.md b/changelogs/v2.0.1-beta.md new file mode 100644 index 000000000..19c16c0de --- /dev/null +++ b/changelogs/v2.0.1-beta.md @@ -0,0 +1,61 @@ +# **AndroidIDE v2.0.1-beta** +AndroidIDE v2.0.1-beta is here with new features, improvements and bug fixes. + +### Important notes +- As 64-bit installation does not work on Android 12 (due + to [restriction by the OS](https://source.android.com/devices/tech/debug/tagged-pointers)), 32-bit + build tools need to be installed when installing AndroidIDE on devices running Android 12. +- Google services and Firebase integration has been removed. + +### Additions +- Code formatter for Java source code. +- Support for + [`GestureOverlayView`](https://developer.android.com/reference/android/gesture/GestureOverlayView), + [`ToggleButton`](https://developer.android.com/reference/android/widget/ToggleButton), + [`Switch`](https://developer.android.com/reference/android/widget/Switch), + [`GridLayout`](https://developer.android.com/reference/android/widget/GridLayout), + [`ListView`](https://developer.android.com/reference/android/widget/ListView) (#145) in layout + inflater. +- Preference to disable use of `TYPE_TEXT_VARIATION_VISIBLE_PASSWORD` flag in editor. +- Automatically trigger completion when attributes are inserted from completion window. +- New java code actions : + - Add import + - Add 'throws' + - Generate constructor + - Generate setters/getters + - Field to block + - Remove unused class + - Remove unused method + - Remove unused 'throws' +- You can now override multiple superclass methods at once. +- `DocumentsProvider` for providing access to files in `HOME` directory. + +### Removals +- Removed initial view attributes from view tags completion in XMLCompletionProvider. +- Vertical text action window has been removed. +- Removed Google services and Firebase integration. +- Removed the horizontal text actions menu from the editor in favour of the new actions menu. + +### Fixes +- Cash in attribute editors when adding an attribute. +- Crash when selecting diagnostic item from diagnostics list. +- Some diagnostic items are not shown in diagnostic window (#96). +- Diagnostics were updated late in the editor. +- Popup windows created by editor are not dismissed even when the file is closed. +- No build output when activity is recreated (#121). +- Crash in UI Designer when activity is recreated (#124). +- Invalid syntax highlighting for application logs (#152). +- Illegal argument exception while overriding methods in Java completion provider. + +### Improvements +- Do not import classes from `java.lang` package when completion items are selected. +- XML completion provider now uses 'Match completions in lower case' preference. +- Dismiss all windows shown by editor when file tab is unselected or when the bottom sheet is + expanded. +- Improved the editor actions menu. +- Sort completion items according to their kind and sort text. +- Restore file tree state when application is resumed (#150). +- Updated templates to work with Android 12 (#144). +- Updated Chinese translation. Thanks to @mikofe (#128). +- Updated French translation. Thanks to @Se-Lyan (#136). +- Updated German translation (#144). \ No newline at end of file diff --git a/changelogs/v2.1.0-beta.md b/changelogs/v2.1.0-beta.md new file mode 100644 index 000000000..a7e6f66cc --- /dev/null +++ b/changelogs/v2.1.0-beta.md @@ -0,0 +1,78 @@ +# **AndroidIDE v2.1.0-beta** + +AndroidIDE v2.0.0-beta is here with new features, improvements, bug fixes and a whole new + +### Important notes +- The `HOME` and `SYSROOT` directories has been renamed to `home` and `usr` respectively. +- The packages for the AndroidIDE terminal has been updated. But, it requires you to reinstall the bootstrap packages. Please follow [this](https://t.me/androidide_discussions/30564) guide to install the new bootstrap packages. +- Android 12 devices no longer need to use 32-bit build tools. You can simply reinstall AndroidIDE with 64-bit build tools. +- You can now easily open/show the `ide-environment.properties` file using the `ideenv` command. Execute : + - `ideenv -e`: To edit the environments file. Uses `nano` editor to edit. + - `ideenv -s`: To print the contents of the file in the terminal. +- The minimum Android Gradle Plugin version required to build projects in AndroidIDE is now set to version `7.2.0`. The build process will fail for projects using older versions. However, those projects would still be able to build with terminal. +- The installation process in this version vastly different from previous version. Please see [this](https://github.com/itsaky/androidide-build-tools#installing-in-androidide) for the new installation process. + +### Additions +- Warn about empty body for the following statements : + - `if` + - `else` + - `try` + - `catch` + - `finally` + - `for` + - `while` + - `do while` +- New java code actions : + - `Generate toString()`: Overrides the `toString()` method for the current class. Always accessible. + - `Generate constructor`: Allows the user to select fields from the current class, then generates a constructor with those fields as parameters. + - `Remove unused imports`: Removes imports that are not used in the source file. + - `Import orderer`: Organizes the imports. Thanks to @MrIkso (#180). +- XML Code formatter. Thanks to @MrIkso (#182). +- New Gradle command line options: `--build-cache` and `--offline`. Thanks to @MrIkso (#180). +- Highlight IDE logs based on the log line priority. +- Option to share Build Output, App log and IDE logs as text file. +- Syntax highlighting for Kotlin and C/C++ language. Thanks to @MrIkso (#196). +- Highlight hex color code in string literals. Thanks to @MrIkso (#209). +- Save all files before executing any build process. (#209). +- New Template: Jetpack Compose. Thanks to @BanDroid (#198). +- Added Brazilian Portuguese translations. Thanks to @ghost (#165). + +### Removals +- `$ANDROID_HOME/cmake/bin` is no longer prefixed to the `PATH` variable. +- Removed syntax highlighting from log views. + +### Fixes +- Crash when performing 'Replace all' action in editor (#158). +- Crash when layout inflation fails (#168). +- Always show toasts on UI thread (#160). +- Fixed: Invalid log line formatting when tag to too long. +- Fixed: Application crashes when layout inflation fails (#168). +- Fixed: Invalid syntax highlighting for text tags in XML files. Thanks to @MrIkso (#180). +- Memory leaks in some fragments. Thanks to @MrIkso (#209). +- Fixed: Extra empty `new line` gets appendend to files while saving. +- Fixed: `SuperNotCalledException` in `DesignerActivity` (#214). Thanks for @MrIkso (#219). + +### Improvements +- Do not show 'Cut' & 'Paste' action if editor is not editable. +- Include `aapt2` in IDE itself. The IDE now automatically specifies `android.aapt2FromMavenOverride` property while building projects. +- Use [ported version of NetBeans' `nb-javac`](https://github.com/itsaky/nb-javac-android) for Java language server. +- Removed extra Maven repository URLs from project templates. Thanks to @MrIkso (#188). +- Show progress indicator when initializing project +- Update dependency versions in project templates and update the Kotlin project template image. Thanks to @BanDroid (#191). +- Ability to cache completion results for faster completions on next completion request. +- Use Gradle v7.4.2 in template projects and updated template dependencies Thanks to @MrIkso (#209). +- The project creator UI and logic has been improved (#209). +- Use of `libhook.so` is now optional and is DISABLED by default. This hook is only required if you use JDK 11 and if you have an Android 11 or lower device. +- JDK 17 is now preferred by the IDE. It looks for JDK 11 only if JDK 17 is not found on path `$SYSROOT/opt/openjdk`. +- Implemented incremental analysis for supported languages. +- Updated Hindi translations. Thanks to @Premjit-Chowdhury (#171). +- Updated Russian translation. Thansk to @AndreyKozhev (#181 and #220). +- Updated Chinese translations. Thanks to @mikofe (#192). +- Added missing translations for PT-BR. Thanks to @ghost (#176). + +## New Contributors +* @BryanGIG made their first contribution in https://github.com/itsaky/AndroidIDE/pull/179 +* @MrIkso made their first contribution in https://github.com/itsaky/AndroidIDE/pull/180 +* @AndreyKozhev made their first contribution in https://github.com/itsaky/AndroidIDE/pull/181 + +**Full Changelog**: https://github.com/itsaky/AndroidIDE/compare/v2.0.1-beta...v2.1.0-beta \ No newline at end of file