Skip to content

Commit c103c75

Browse files
committed
Merge remote-tracking branch 'origin/main' into ai-agent
2 parents 6c399c8 + 52bf3a5 commit c103c75

File tree

19 files changed

+518
-279
lines changed

19 files changed

+518
-279
lines changed

CHANGELOG.md

Lines changed: 73 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,80 @@
11
# Change Log
22

3+
## v1.11.2 (958)
4+
5+
* fix: cors related issues when installing plugins from remote by @bajrangCoder
6+
* fix: Acode ignoring main, readme and icon fields in plugin manifest by @alMukaafih
7+
* feat: inapp acode account login by @bajrangCoder
8+
* fix: launchApp function by @RohitKushvaha01
9+
* Update plugin documentation url by @RohitKushvaha01
10+
* Backup restore fixes by @bajrangCoder
11+
* file: re-emit switch and load file events after plugin load by @bajrangCoder
12+
* fix: File copy-paste retains paste option after file is copied. by @RohitKushvaha01
13+
* Fix sftp sidebar UI issue by @bajrangCoder
14+
* fix: http relative path by @RohitKushvaha01
15+
* Download support by @RohitKushvaha01
16+
* Add Custom File Type Handler API by @bajrangCoder
17+
* fix: applying folds on reopening the app by @bajrangCoder
18+
* feat(tabs): Implement Shadow DOM isolation for non-editor tabs by @bajrangCoder
19+
* remove invalid font by @bajrangCoder
20+
* Improve Indonesian Translation by @hyperz111
21+
* feat: improve changelogs page by @bajrangCoder
22+
* Refactor, feat: Select dialog by @overskul
23+
* Fix: Translate "Donation Message" and some words by @hyperz111
24+
* Fix: "File Not Found" error when previewing HTML files from a Termux directory by @RohitKushvaha01
25+
* Update zh-cn.json and zh-hant.json by @LaunchLee
26+
* fix: console not showing on unsaved html file by @RohitKushvaha01
27+
* File Menu & QuickTools Visibility for editor tabs by @bajrangCoder
28+
* fix: handle edge case for `hideQuickTools` property by @bajrangCoder
29+
* feat: add more new keys(<kbd>Home</kbd>,<kbd>End</kbd>, <kbd>PageUp</kbd>, <kbd>PageDown</kbd>, <kbd>Delete</kbd>) and symbols(`~` `Backtick`,`#` ,`$` ,`%` ,`^`) for quicktools by @bajrangCoder
30+
* Fixed select box issue and improved it by @bajrangCoder
31+
* Added `x` to delete recent files/folder from dialog
32+
* Update Hungarian translation by @summoner001
33+
* chore(i18n): update vi-vn.json by @Nekitori17
34+
* fix: file not found error by @RohitKushvaha01
35+
* feat: revamped file tree by @bajrangCoder
36+
* fix: pagedown key issue in editor by @bajrangCoder
37+
* feat: open files with arbitrary extension names by @RohitKushvaha01
38+
* add Hebrew language by @elid34
39+
* feat: add support for compound file paths like `.blade.php` by @bajrangCoder
40+
* support string content in tabs by @overskul
41+
* update Tagalog/Filipino language by @ychwah
42+
* fix: keyboard shortcuts leaks into ace editor by @RohitKushvaha01
43+
* Resizeable activity by @RohitKushvaha01
44+
* update ace v1.41.0 by @bajrangCoder
45+
* Fix html content access by @RohitKushvaha01
46+
* fix: path overlap issue in html viewer by @RohitKushvaha01
47+
* fix: only initiate iap stuff in case of paid plugin on sidebar by @bajrangCoder
48+
349
## v1.11.1 (957)
450

5-
### Features
6-
- **Syntax Highlighting**: Added syntax highlighting for code blocks on the plugin page using Ace Editor.
7-
- **Theme Settings Fallback**: Implemented a fallback mechanism on the theme settings page when a custom tab is opened.
8-
- **QuickTools Scroll Wheel Support**: Added support for scroll wheel events in QuickTools when in click mode.
9-
- **SFTP Improvements**:
10-
- Enhanced logging for better debugging.
11-
- Enabled Bouncy Castle for SFTP, resolving connection issues with certain key types.
12-
- **App Update Mechanism**:
13-
- Now checks for updates after app startup.
14-
- Uses a native approach instead of traditional fetch.
15-
16-
### Fixes & Improvements
17-
- **SD Card Plugin**: Handled a few edge cases to prevent crashes.
18-
- **GitHub Plugin Palette Fix**: Resolved an issue where the color palette was breaking the GitHub plugin.
19-
- **Plugin Installation Fixes**:
20-
- Updated the install button in the sidebar to prevent multiple installations.
21-
- Fixed the installation mechanism in both the sidebar and the `installPlugin` API.
22-
- **Quality of Life Enhancements**:
23-
- Various small improvements when installing/uninstalling plugins from the sidebar.
24-
25-
#### ⚠️ Experimental Changes ⚠️
26-
- **Improved Plugin Loading**:
27-
- Only **theme plugins** load on Acode startup for faster performance.
28-
- All other plugins load **after** Acode startup.
29-
- **Important for Theme Developers**:
30-
- Ensure your **plugin ID includes the word "theme"** to be correctly recognized as a theme plugin.
31-
- No changes are needed for existing theme plugins.
51+
### Features
52+
- **Syntax Highlighting**: Added syntax highlighting for code blocks on the plugin page using Ace Editor.
53+
- **Theme Settings Fallback**: Implemented a fallback mechanism on the theme settings page when a custom tab is opened.
54+
- **QuickTools Scroll Wheel Support**: Added support for scroll wheel events in QuickTools when in click mode.
55+
- **SFTP Improvements**:
56+
- Enhanced logging for better debugging.
57+
- Enabled Bouncy Castle for SFTP, resolving connection issues with certain key types.
58+
- **App Update Mechanism**:
59+
- Now checks for updates after app startup.
60+
- Uses a native approach instead of traditional fetch.
61+
62+
### Fixes & Improvements
63+
- **SD Card Plugin**: Handled a few edge cases to prevent crashes.
64+
- **GitHub Plugin Palette Fix**: Resolved an issue where the color palette was breaking the GitHub plugin.
65+
- **Plugin Installation Fixes**:
66+
- Updated the install button in the sidebar to prevent multiple installations.
67+
- Fixed the installation mechanism in both the sidebar and the `installPlugin` API.
68+
- **Quality of Life Enhancements**:
69+
- Various small improvements when installing/uninstalling plugins from the sidebar.
70+
71+
#### ⚠️ Experimental Changes ⚠️
72+
- **Improved Plugin Loading**:
73+
- Only **theme plugins** load on Acode startup for faster performance.
74+
- All other plugins load **after** Acode startup.
75+
- **Important for Theme Developers**:
76+
- Ensure your **plugin ID includes the word "theme"** to be correctly recognized as a theme plugin.
77+
- No changes are needed for existing theme plugins.
3278
- **Potential Issues**: Since this is an experimental change, some features may break. Please report any issues encountered.
3379

3480
## v1.11.0 (956)

config.xml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version='1.0' encoding='utf-8' ?>
2-
<widget id="com.foxdebug.acode" android-versionCode="957" version="1.11.1"
2+
<widget id="com.foxdebug.acode" android-versionCode="958" version="1.11.2"
33
xmlns="http://www.w3.org/ns/widgets"
44
xmlns:android="http://schemas.android.com/apk/res/android"
55
xmlns:cdv="http://cordova.apache.org/ns/1.0">
@@ -33,13 +33,18 @@
3333
<preference name="prerendered-icon" value="false" />
3434
<preference name="androidxEnabled" value="true" />
3535

36+
3637
<edit-config file="app/src/main/AndroidManifest.xml" mode="merge" target="/manifest/application">
3738
<application android:networkSecurityConfig="@xml/network_security_config" />
3839
<application android:hardwareAccelerated="true" />
3940
<application android:requestLegacyExternalStorage="true" />
4041
<application android:largeHeap="true" />
4142
</edit-config>
4243

44+
<edit-config file="app/src/main/AndroidManifest.xml" mode="merge" target="/manifest/application/activity[@android:name='MainActivity']">
45+
<activity android:resizeableActivity="true" />
46+
</edit-config>
47+
4348
<config-file parent="./application/activity" target="AndroidManifest.xml">
4449
<intent-filter>
4550
<action android:name="android.intent.action.VIEW" />

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "com.foxdebug.acode",
33
"displayName": "Acode",
4-
"version": "1.11.0",
4+
"version": "1.11.2",
55
"description": "Acode is a code editor for android",
66
"scripts": {
77
"lang": "node ./utils/lang.js",

res/android/values/themes.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44
<item name="windowSplashScreenBackground">@color/ic_splash_background</item>
55
<item name="windowSplashScreenAnimatedIcon">@drawable/ic_launcher_foreground</item>
66
<item name="windowSplashScreenAnimationDuration">200</item>
7-
<item name="postSplashScreenTheme">@style/Theme.AppCompat.NoActionBar</item>
7+
<item name="postSplashScreenTheme">@style/Theme.AppCompat.DayNight.NoActionBar</item>
88
</style>
99
</resources>

src/dialogs/prompt.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,18 @@ import appSettings from "lib/settings";
1919
* @param {PromptOptions} options
2020
* @returns {Promise<string|number|null>} Returns null if cancelled
2121
*/
22+
2223
export default function prompt(
2324
message,
2425
defaultValue,
2526
type = "text",
2627
options = {},
2728
) {
29+
const commands = editorManager.editor.commands;
30+
const originalExec = commands.exec;
31+
32+
commands.exec = () => {}; // Disable all shortcuts
33+
2834
return new Promise((resolve) => {
2935
const inputType = type === "textarea" ? "textarea" : "input";
3036
type = type === "filename" ? "text" : type;
@@ -50,6 +56,7 @@ export default function prompt(
5056
hide();
5157
let { value } = input;
5258
if (type === "number") value = +value;
59+
5360
resolve(value);
5461
},
5562
});
@@ -151,6 +158,7 @@ export default function prompt(
151158
}
152159

153160
function hide() {
161+
commands.exec = originalExec;
154162
actionStack.remove("prompt");
155163
system.setInputType(appSettings.value.keyboardMode);
156164
hidePrompt();

0 commit comments

Comments
 (0)