From 6d00198dbae7e95593c841c765e1a64d70612e8f Mon Sep 17 00:00:00 2001 From: Trashguy Date: Fri, 8 Nov 2024 17:40:55 -0500 Subject: [PATCH] Rebrand android editor to allow play store signing --- .../gdextension_build/SConstruct | 2 +- .../gdextension_build/SConstruct | 2 +- platform/android/java/app/AndroidManifest.xml | 2 +- .../java/app/src/com/godot/game/GodotApp.java | 2 +- platform/android/java/editor/build.gradle | 4 +-- .../editor/EditorMessageDispatcher.kt | 2 +- .../godotengine/editor/EditorWindowInfo.kt | 2 +- .../org/godotengine/editor/GodotEditor.kt | 10 +++--- .../java/org/godotengine/editor/GodotGame.kt | 4 +-- platform/android/java/lib/AndroidManifest.xml | 2 +- platform/android/java/lib/build.gradle | 2 +- ...android.vending.expansion.downloader.patch | 4 +-- ...com.google.android.vending.licensing.patch | 2 +- .../vending/expansion/downloader/Helpers.java | 2 +- .../downloader/impl/DownloadNotification.java | 2 +- .../vending/licensing/util/Base64.java | 2 +- .../src/org/godotengine/godot/Dictionary.java | 2 +- .../godotengine/godot/FullScreenGodotApp.java | 2 +- .../lib/src/org/godotengine/godot/Godot.kt | 32 +++++++++---------- .../org/godotengine/godot/GodotActivity.kt | 6 ++-- .../godot/GodotDownloaderAlarmReceiver.java | 2 +- .../godot/GodotDownloaderService.java | 2 +- .../org/godotengine/godot/GodotFragment.java | 6 ++-- .../godotengine/godot/GodotGLRenderView.java | 24 +++++++------- .../src/org/godotengine/godot/GodotHost.java | 4 +-- .../src/org/godotengine/godot/GodotIO.java | 4 +-- .../src/org/godotengine/godot/GodotLib.java | 16 +++++----- .../godotengine/godot/GodotRenderView.java | 4 +-- .../src/org/godotengine/godot/GodotService.kt | 2 +- .../godot/GodotVulkanRenderView.java | 8 ++--- .../godotengine/godot/gl/EGLLogWrapper.java | 2 +- .../godotengine/godot/gl/GLSurfaceView.java | 2 +- .../godotengine/godot/gl/GodotRenderer.java | 8 ++--- .../godot/input/GodotEditText.java | 4 +-- .../godot/input/GodotGestureHandler.kt | 4 +-- .../godot/input/GodotInputHandler.java | 8 ++--- .../godot/input/GodotTextInputWrapper.java | 4 +-- .../org/godotengine/godot/input/Joystick.java | 2 +- .../org/godotengine/godot/io/StorageScope.kt | 2 +- .../io/directory/AssetsDirectoryAccess.kt | 6 ++-- .../io/directory/DirectoryAccessHandler.kt | 6 ++-- .../io/directory/FilesystemDirectoryAccess.kt | 10 +++--- .../godotengine/godot/io/file/DataAccess.kt | 4 +-- .../godot/io/file/FileAccessFlags.kt | 2 +- .../godot/io/file/FileAccessHandler.kt | 4 +-- .../org/godotengine/godot/io/file/FileData.kt | 2 +- .../godotengine/godot/io/file/FileErrors.kt | 2 +- .../godot/io/file/MediaStoreData.kt | 2 +- .../godotengine/godot/plugin/GodotPlugin.java | 10 +++--- .../godot/plugin/GodotPluginRegistry.java | 8 ++--- .../godotengine/godot/plugin/SignalInfo.java | 2 +- .../godotengine/godot/plugin/UsedByGodot.java | 2 +- .../org/godotengine/godot/tts/GodotTTS.java | 4 +-- .../godotengine/godot/tts/GodotUtterance.java | 2 +- .../godotengine/godot/utils/BenchmarkUtils.kt | 8 ++--- .../godot/utils/CommandLineFileParser.kt | 2 +- .../org/godotengine/godot/utils/Crypt.java | 2 +- .../org/godotengine/godot/utils/GLUtils.java | 2 +- .../godot/utils/GodotNetUtils.java | 2 +- .../godot/utils/PermissionsUtil.java | 2 +- .../godot/utils/ProcessPhoenix.java | 2 +- .../godotengine/godot/vulkan/VkRenderer.kt | 6 ++-- .../godotengine/godot/vulkan/VkSurfaceView.kt | 2 +- .../org/godotengine/godot/vulkan/VkThread.kt | 2 +- .../src/org/godotengine/godot/xr/XRMode.java | 2 +- .../godot/xr/ovr/OvrConfigChooser.java | 4 +-- .../godot/xr/ovr/OvrContextFactory.java | 4 +-- .../godot/xr/ovr/OvrWindowSurfaceFactory.java | 4 +-- .../xr/regular/RegularConfigChooser.java | 6 ++-- .../xr/regular/RegularContextFactory.java | 6 ++-- .../regular/RegularFallbackConfigChooser.java | 2 +- .../godot/utils/CommandLineFileParserTest.kt | 2 +- .../java/nativeSrcsConfigs/build.gradle | 2 +- platform/android/jni_utils.cpp | 6 ++-- platform/macos/display_server_macos.mm | 8 ++--- 75 files changed, 169 insertions(+), 169 deletions(-) diff --git a/modules/text_server_adv/gdextension_build/SConstruct b/modules/text_server_adv/gdextension_build/SConstruct index d0d13fec3fe..800500e1a9a 100644 --- a/modules/text_server_adv/gdextension_build/SConstruct +++ b/modules/text_server_adv/gdextension_build/SConstruct @@ -767,7 +767,7 @@ if env["platform"] == "macos": methods.write_macos_plist( f'./bin/libtextserver_advanced.macos.{env["target"]}.framework', f'libtextserver_advanced.macos.{env["target"]}', - "org.godotengine.textserver_advanced", + "org.redotengine.textserver_advanced", "ICU / HarfBuzz / Graphite Text Server", ) library = env.SharedLibrary( diff --git a/modules/text_server_fb/gdextension_build/SConstruct b/modules/text_server_fb/gdextension_build/SConstruct index a3c20520404..171e629c75c 100644 --- a/modules/text_server_fb/gdextension_build/SConstruct +++ b/modules/text_server_fb/gdextension_build/SConstruct @@ -312,7 +312,7 @@ if env["platform"] == "macos": methods.write_macos_plist( f'./bin/libtextserver_fallback.macos.{env["target"]}.framework', f'libtextserver_fallback.macos.{env["target"]}', - "org.godotengine.textserver_fallback", + "org.redotengine.textserver_fallback", "Fallback Text Server", ) library = env.SharedLibrary( diff --git a/platform/android/java/app/AndroidManifest.xml b/platform/android/java/app/AndroidManifest.xml index 0cc929d226c..671d46fbe36 100644 --- a/platform/android/java/app/AndroidManifest.xml +++ b/platform/android/java/app/AndroidManifest.xml @@ -31,7 +31,7 @@ diff --git a/platform/android/java/lib/build.gradle b/platform/android/java/lib/build.gradle index 81ab598b90e..c139a9f194c 100644 --- a/platform/android/java/lib/build.gradle +++ b/platform/android/java/lib/build.gradle @@ -29,7 +29,7 @@ android { manifestPlaceholders = [godotLibraryVersion: getGodotLibraryVersionName()] } - namespace = "org.godotengine.godot" + namespace = "org.redotengine.godot" compileOptions { sourceCompatibility versions.javaVersion diff --git a/platform/android/java/lib/patches/com.google.android.vending.expansion.downloader.patch b/platform/android/java/lib/patches/com.google.android.vending.expansion.downloader.patch index 49cc41e817f..16c2f50b568 100644 --- a/platform/android/java/lib/patches/com.google.android.vending.expansion.downloader.patch +++ b/platform/android/java/lib/patches/com.google.android.vending.expansion.downloader.patch @@ -175,7 +175,7 @@ index e4b1b0f1c..36cd6aacf 100644 -import com.android.vending.expansion.downloader.R; +// -- GODOT start -- +//import com.android.vending.expansion.downloader.R; -+import org.godotengine.godot.R; ++import org.redotengine.godot.R; +// -- GODOT end -- import java.io.File; @@ -250,7 +250,7 @@ index f1536e80e..4b214b22d 100644 -import com.android.vending.expansion.downloader.R; +// -- GODOT start -- +//import com.android.vending.expansion.downloader.R; -+import org.godotengine.godot.R; ++import org.redotengine.godot.R; +// -- GODOT end -- + import com.google.android.vending.expansion.downloader.DownloadProgressInfo; diff --git a/platform/android/java/lib/patches/com.google.android.vending.licensing.patch b/platform/android/java/lib/patches/com.google.android.vending.licensing.patch index 4adb81d9519..bd000670a67 100644 --- a/platform/android/java/lib/patches/com.google.android.vending.licensing.patch +++ b/platform/android/java/lib/patches/com.google.android.vending.licensing.patch @@ -21,7 +21,7 @@ index a0d2779af..a8bf65f9c 100644 */ +// -- GODOT start -- -import org.godotengine.godot.BuildConfig; +import org.redotengine.godot.BuildConfig; +// -- GODOT end -- + /** diff --git a/platform/android/java/lib/src/com/google/android/vending/expansion/downloader/Helpers.java b/platform/android/java/lib/src/com/google/android/vending/expansion/downloader/Helpers.java index 9aa65fd7861..4d00162d025 100644 --- a/platform/android/java/lib/src/com/google/android/vending/expansion/downloader/Helpers.java +++ b/platform/android/java/lib/src/com/google/android/vending/expansion/downloader/Helpers.java @@ -26,7 +26,7 @@ // -- GODOT start -- //import com.android.vending.expansion.downloader.R; -import org.godotengine.godot.R; +import org.redotengine.godot.R; // -- GODOT end -- import java.io.File; diff --git a/platform/android/java/lib/src/com/google/android/vending/expansion/downloader/impl/DownloadNotification.java b/platform/android/java/lib/src/com/google/android/vending/expansion/downloader/impl/DownloadNotification.java index d481c222042..7f75eb1aa2a 100644 --- a/platform/android/java/lib/src/com/google/android/vending/expansion/downloader/impl/DownloadNotification.java +++ b/platform/android/java/lib/src/com/google/android/vending/expansion/downloader/impl/DownloadNotification.java @@ -18,7 +18,7 @@ // -- GODOT start -- //import com.android.vending.expansion.downloader.R; -import org.godotengine.godot.R; +import org.redotengine.godot.R; // -- GODOT end -- import com.google.android.vending.expansion.downloader.DownloadProgressInfo; diff --git a/platform/android/java/lib/src/com/google/android/vending/licensing/util/Base64.java b/platform/android/java/lib/src/com/google/android/vending/licensing/util/Base64.java index 79efca9621d..2e349b5ef8d 100644 --- a/platform/android/java/lib/src/com/google/android/vending/licensing/util/Base64.java +++ b/platform/android/java/lib/src/com/google/android/vending/licensing/util/Base64.java @@ -32,7 +32,7 @@ */ // -- GODOT start -- -import org.godotengine.godot.BuildConfig; +import org.redotengine.godot.BuildConfig; // -- GODOT end -- /** diff --git a/platform/android/java/lib/src/org/godotengine/godot/Dictionary.java b/platform/android/java/lib/src/org/godotengine/godot/Dictionary.java index 78e39eec410..2fbf92e44ea 100644 --- a/platform/android/java/lib/src/org/godotengine/godot/Dictionary.java +++ b/platform/android/java/lib/src/org/godotengine/godot/Dictionary.java @@ -30,7 +30,7 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /**************************************************************************/ -package org.godotengine.godot; +package org.redotengine.godot; import java.util.HashMap; import java.util.Set; diff --git a/platform/android/java/lib/src/org/godotengine/godot/FullScreenGodotApp.java b/platform/android/java/lib/src/org/godotengine/godot/FullScreenGodotApp.java index 6c6bb129b92..6df884e99b9 100644 --- a/platform/android/java/lib/src/org/godotengine/godot/FullScreenGodotApp.java +++ b/platform/android/java/lib/src/org/godotengine/godot/FullScreenGodotApp.java @@ -30,7 +30,7 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /**************************************************************************/ -package org.godotengine.godot; +package org.redotengine.godot; /** * Base abstract activity for Android apps intending to use Godot as the primary screen. diff --git a/platform/android/java/lib/src/org/godotengine/godot/Godot.kt b/platform/android/java/lib/src/org/godotengine/godot/Godot.kt index 5543dfeddf9..b344894f515 100644 --- a/platform/android/java/lib/src/org/godotengine/godot/Godot.kt +++ b/platform/android/java/lib/src/org/godotengine/godot/Godot.kt @@ -30,7 +30,7 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /**************************************************************************/ -package org.godotengine.godot +package org.redotengine.godot import android.annotation.SuppressLint import android.app.Activity @@ -54,21 +54,21 @@ import androidx.core.view.ViewCompat import androidx.core.view.WindowInsetsAnimationCompat import androidx.core.view.WindowInsetsCompat import com.google.android.vending.expansion.downloader.* -import org.godotengine.godot.input.GodotEditText -import org.godotengine.godot.io.directory.DirectoryAccessHandler -import org.godotengine.godot.io.file.FileAccessHandler -import org.godotengine.godot.plugin.GodotPluginRegistry -import org.godotengine.godot.tts.GodotTTS -import org.godotengine.godot.utils.CommandLineFileParser -import org.godotengine.godot.utils.GodotNetUtils -import org.godotengine.godot.utils.PermissionsUtil -import org.godotengine.godot.utils.PermissionsUtil.requestPermission -import org.godotengine.godot.utils.beginBenchmarkMeasure -import org.godotengine.godot.utils.benchmarkFile -import org.godotengine.godot.utils.dumpBenchmark -import org.godotengine.godot.utils.endBenchmarkMeasure -import org.godotengine.godot.utils.useBenchmark -import org.godotengine.godot.xr.XRMode +import org.redotengine.godot.input.GodotEditText +import org.redotengine.godot.io.directory.DirectoryAccessHandler +import org.redotengine.godot.io.file.FileAccessHandler +import org.redotengine.godot.plugin.GodotPluginRegistry +import org.redotengine.godot.tts.GodotTTS +import org.redotengine.godot.utils.CommandLineFileParser +import org.redotengine.godot.utils.GodotNetUtils +import org.redotengine.godot.utils.PermissionsUtil +import org.redotengine.godot.utils.PermissionsUtil.requestPermission +import org.redotengine.godot.utils.beginBenchmarkMeasure +import org.redotengine.godot.utils.benchmarkFile +import org.redotengine.godot.utils.dumpBenchmark +import org.redotengine.godot.utils.endBenchmarkMeasure +import org.redotengine.godot.utils.useBenchmark +import org.redotengine.godot.xr.XRMode import java.io.File import java.io.FileInputStream import java.io.InputStream diff --git a/platform/android/java/lib/src/org/godotengine/godot/GodotActivity.kt b/platform/android/java/lib/src/org/godotengine/godot/GodotActivity.kt index 2d159ebbd0f..370f37f8721 100644 --- a/platform/android/java/lib/src/org/godotengine/godot/GodotActivity.kt +++ b/platform/android/java/lib/src/org/godotengine/godot/GodotActivity.kt @@ -30,7 +30,7 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /**************************************************************************/ -package org.godotengine.godot +package org.redotengine.godot import android.app.Activity import android.content.Intent @@ -40,8 +40,8 @@ import android.util.Log import androidx.annotation.CallSuper import androidx.annotation.LayoutRes import androidx.fragment.app.FragmentActivity -import org.godotengine.godot.utils.PermissionsUtil -import org.godotengine.godot.utils.ProcessPhoenix +import org.redotengine.godot.utils.PermissionsUtil +import org.redotengine.godot.utils.ProcessPhoenix /** * Base abstract activity for Android apps intending to use Godot as the primary screen. diff --git a/platform/android/java/lib/src/org/godotengine/godot/GodotDownloaderAlarmReceiver.java b/platform/android/java/lib/src/org/godotengine/godot/GodotDownloaderAlarmReceiver.java index b416cba5276..742b1dce4ee 100644 --- a/platform/android/java/lib/src/org/godotengine/godot/GodotDownloaderAlarmReceiver.java +++ b/platform/android/java/lib/src/org/godotengine/godot/GodotDownloaderAlarmReceiver.java @@ -30,7 +30,7 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /**************************************************************************/ -package org.godotengine.godot; +package org.redotengine.godot; import android.content.BroadcastReceiver; import android.content.Context; diff --git a/platform/android/java/lib/src/org/godotengine/godot/GodotDownloaderService.java b/platform/android/java/lib/src/org/godotengine/godot/GodotDownloaderService.java index 94e25660c93..bd8edeb3d0d 100644 --- a/platform/android/java/lib/src/org/godotengine/godot/GodotDownloaderService.java +++ b/platform/android/java/lib/src/org/godotengine/godot/GodotDownloaderService.java @@ -30,7 +30,7 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /**************************************************************************/ -package org.godotengine.godot; +package org.redotengine.godot; import android.content.Context; import android.content.SharedPreferences; diff --git a/platform/android/java/lib/src/org/godotengine/godot/GodotFragment.java b/platform/android/java/lib/src/org/godotengine/godot/GodotFragment.java index 3e131074d6c..3e8d2c982f2 100644 --- a/platform/android/java/lib/src/org/godotengine/godot/GodotFragment.java +++ b/platform/android/java/lib/src/org/godotengine/godot/GodotFragment.java @@ -30,10 +30,10 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /**************************************************************************/ -package org.godotengine.godot; +package org.redotengine.godot; -import org.godotengine.godot.plugin.GodotPlugin; -import org.godotengine.godot.utils.BenchmarkUtils; +import org.redotengine.godot.plugin.GodotPlugin; +import org.redotengine.godot.utils.BenchmarkUtils; import android.app.Activity; import android.app.PendingIntent; diff --git a/platform/android/java/lib/src/org/godotengine/godot/GodotGLRenderView.java b/platform/android/java/lib/src/org/godotengine/godot/GodotGLRenderView.java index c70841b27dd..7be5f1365bd 100644 --- a/platform/android/java/lib/src/org/godotengine/godot/GodotGLRenderView.java +++ b/platform/android/java/lib/src/org/godotengine/godot/GodotGLRenderView.java @@ -30,18 +30,18 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /**************************************************************************/ -package org.godotengine.godot; - -import org.godotengine.godot.gl.GLSurfaceView; -import org.godotengine.godot.gl.GodotRenderer; -import org.godotengine.godot.input.GodotInputHandler; -import org.godotengine.godot.xr.XRMode; -import org.godotengine.godot.xr.ovr.OvrConfigChooser; -import org.godotengine.godot.xr.ovr.OvrContextFactory; -import org.godotengine.godot.xr.ovr.OvrWindowSurfaceFactory; -import org.godotengine.godot.xr.regular.RegularConfigChooser; -import org.godotengine.godot.xr.regular.RegularContextFactory; -import org.godotengine.godot.xr.regular.RegularFallbackConfigChooser; +package org.redotengine.godot; + +import org.redotengine.godot.gl.GLSurfaceView; +import org.redotengine.godot.gl.GodotRenderer; +import org.redotengine.godot.input.GodotInputHandler; +import org.redotengine.godot.xr.XRMode; +import org.redotengine.godot.xr.ovr.OvrConfigChooser; +import org.redotengine.godot.xr.ovr.OvrContextFactory; +import org.redotengine.godot.xr.ovr.OvrWindowSurfaceFactory; +import org.redotengine.godot.xr.regular.RegularConfigChooser; +import org.redotengine.godot.xr.regular.RegularContextFactory; +import org.redotengine.godot.xr.regular.RegularFallbackConfigChooser; import android.annotation.SuppressLint; import android.content.res.AssetManager; diff --git a/platform/android/java/lib/src/org/godotengine/godot/GodotHost.java b/platform/android/java/lib/src/org/godotengine/godot/GodotHost.java index 61639d1cd1a..d484c92dfe2 100644 --- a/platform/android/java/lib/src/org/godotengine/godot/GodotHost.java +++ b/platform/android/java/lib/src/org/godotengine/godot/GodotHost.java @@ -30,9 +30,9 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /**************************************************************************/ -package org.godotengine.godot; +package org.redotengine.godot; -import org.godotengine.godot.plugin.GodotPlugin; +import org.redotengine.godot.plugin.GodotPlugin; import android.app.Activity; diff --git a/platform/android/java/lib/src/org/godotengine/godot/GodotIO.java b/platform/android/java/lib/src/org/godotengine/godot/GodotIO.java index b1e2fb24b3e..ebda4c40931 100644 --- a/platform/android/java/lib/src/org/godotengine/godot/GodotIO.java +++ b/platform/android/java/lib/src/org/godotengine/godot/GodotIO.java @@ -30,9 +30,9 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /**************************************************************************/ -package org.godotengine.godot; +package org.redotengine.godot; -import org.godotengine.godot.input.GodotEditText; +import org.redotengine.godot.input.GodotEditText; import android.app.Activity; import android.content.ActivityNotFoundException; diff --git a/platform/android/java/lib/src/org/godotengine/godot/GodotLib.java b/platform/android/java/lib/src/org/godotengine/godot/GodotLib.java index 12ecd441ef8..fdd1ec0aa44 100644 --- a/platform/android/java/lib/src/org/godotengine/godot/GodotLib.java +++ b/platform/android/java/lib/src/org/godotengine/godot/GodotLib.java @@ -30,13 +30,13 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /**************************************************************************/ -package org.godotengine.godot; +package org.redotengine.godot; -import org.godotengine.godot.gl.GodotRenderer; -import org.godotengine.godot.io.directory.DirectoryAccessHandler; -import org.godotengine.godot.io.file.FileAccessHandler; -import org.godotengine.godot.tts.GodotTTS; -import org.godotengine.godot.utils.GodotNetUtils; +import org.redotengine.godot.gl.GodotRenderer; +import org.redotengine.godot.io.directory.DirectoryAccessHandler; +import org.redotengine.godot.io.file.FileAccessHandler; +import org.redotengine.godot.tts.GodotTTS; +import org.redotengine.godot.utils.GodotNetUtils; import android.app.Activity; import android.content.res.AssetManager; @@ -82,7 +82,7 @@ public static native boolean initialize(Activity activity, * @param p_surface * @param p_width * @param p_height - * @see org.godotengine.godot.gl.GLSurfaceView.Renderer#onSurfaceChanged(GL10, int, int) + * @see org.redotengine.godot.gl.GLSurfaceView.Renderer#onSurfaceChanged(GL10, int, int) */ public static native void resize(Surface p_surface, int p_width, int p_height); @@ -99,7 +99,7 @@ public static native boolean initialize(Activity activity, /** * Invoked on the GL thread to draw the current frame. - * @see org.godotengine.godot.gl.GLSurfaceView.Renderer#onDrawFrame(GL10) + * @see org.redotengine.godot.gl.GLSurfaceView.Renderer#onDrawFrame(GL10) */ public static native boolean step(); diff --git a/platform/android/java/lib/src/org/godotengine/godot/GodotRenderView.java b/platform/android/java/lib/src/org/godotengine/godot/GodotRenderView.java index 2704ce88745..9a85a803514 100644 --- a/platform/android/java/lib/src/org/godotengine/godot/GodotRenderView.java +++ b/platform/android/java/lib/src/org/godotengine/godot/GodotRenderView.java @@ -30,9 +30,9 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /**************************************************************************/ -package org.godotengine.godot; +package org.redotengine.godot; -import org.godotengine.godot.input.GodotInputHandler; +import org.redotengine.godot.input.GodotInputHandler; import android.view.SurfaceView; diff --git a/platform/android/java/lib/src/org/godotengine/godot/GodotService.kt b/platform/android/java/lib/src/org/godotengine/godot/GodotService.kt index 795dc921c7f..2d49cb5725a 100644 --- a/platform/android/java/lib/src/org/godotengine/godot/GodotService.kt +++ b/platform/android/java/lib/src/org/godotengine/godot/GodotService.kt @@ -1,4 +1,4 @@ -package org.godotengine.godot +package org.redotengine.godot import android.app.Service import android.content.Intent diff --git a/platform/android/java/lib/src/org/godotengine/godot/GodotVulkanRenderView.java b/platform/android/java/lib/src/org/godotengine/godot/GodotVulkanRenderView.java index a22bc1f4b02..26de92c6a52 100644 --- a/platform/android/java/lib/src/org/godotengine/godot/GodotVulkanRenderView.java +++ b/platform/android/java/lib/src/org/godotengine/godot/GodotVulkanRenderView.java @@ -30,11 +30,11 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /**************************************************************************/ -package org.godotengine.godot; +package org.redotengine.godot; -import org.godotengine.godot.input.GodotInputHandler; -import org.godotengine.godot.vulkan.VkRenderer; -import org.godotengine.godot.vulkan.VkSurfaceView; +import org.redotengine.godot.input.GodotInputHandler; +import org.redotengine.godot.vulkan.VkRenderer; +import org.redotengine.godot.vulkan.VkSurfaceView; import android.annotation.SuppressLint; import android.content.res.AssetManager; diff --git a/platform/android/java/lib/src/org/godotengine/godot/gl/EGLLogWrapper.java b/platform/android/java/lib/src/org/godotengine/godot/gl/EGLLogWrapper.java index af16cfce744..b82b72bdc8c 100644 --- a/platform/android/java/lib/src/org/godotengine/godot/gl/EGLLogWrapper.java +++ b/platform/android/java/lib/src/org/godotengine/godot/gl/EGLLogWrapper.java @@ -16,7 +16,7 @@ * limitations under the License. */ -package org.godotengine.godot.gl; +package org.redotengine.godot.gl; import android.opengl.GLDebugHelper; import android.opengl.GLException; diff --git a/platform/android/java/lib/src/org/godotengine/godot/gl/GLSurfaceView.java b/platform/android/java/lib/src/org/godotengine/godot/gl/GLSurfaceView.java index 6a4e9da699e..9001ff6fec4 100644 --- a/platform/android/java/lib/src/org/godotengine/godot/gl/GLSurfaceView.java +++ b/platform/android/java/lib/src/org/godotengine/godot/gl/GLSurfaceView.java @@ -16,7 +16,7 @@ * limitations under the License. */ -package org.godotengine.godot.gl; +package org.redotengine.godot.gl; import android.content.Context; import android.opengl.EGL14; diff --git a/platform/android/java/lib/src/org/godotengine/godot/gl/GodotRenderer.java b/platform/android/java/lib/src/org/godotengine/godot/gl/GodotRenderer.java index b40ffa026fa..685dcab08dc 100644 --- a/platform/android/java/lib/src/org/godotengine/godot/gl/GodotRenderer.java +++ b/platform/android/java/lib/src/org/godotengine/godot/gl/GodotRenderer.java @@ -30,11 +30,11 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /**************************************************************************/ -package org.godotengine.godot.gl; +package org.redotengine.godot.gl; -import org.godotengine.godot.GodotLib; -import org.godotengine.godot.plugin.GodotPlugin; -import org.godotengine.godot.plugin.GodotPluginRegistry; +import org.redotengine.godot.GodotLib; +import org.redotengine.godot.plugin.GodotPlugin; +import org.redotengine.godot.plugin.GodotPluginRegistry; import android.util.Log; diff --git a/platform/android/java/lib/src/org/godotengine/godot/input/GodotEditText.java b/platform/android/java/lib/src/org/godotengine/godot/input/GodotEditText.java index 6850825f9fb..e1646779a04 100644 --- a/platform/android/java/lib/src/org/godotengine/godot/input/GodotEditText.java +++ b/platform/android/java/lib/src/org/godotengine/godot/input/GodotEditText.java @@ -30,9 +30,9 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /**************************************************************************/ -package org.godotengine.godot.input; +package org.redotengine.godot.input; -import org.godotengine.godot.*; +import org.redotengine.godot.*; import android.content.Context; import android.content.res.Configuration; diff --git a/platform/android/java/lib/src/org/godotengine/godot/input/GodotGestureHandler.kt b/platform/android/java/lib/src/org/godotengine/godot/input/GodotGestureHandler.kt index a344778e521..d52bca49c8f 100644 --- a/platform/android/java/lib/src/org/godotengine/godot/input/GodotGestureHandler.kt +++ b/platform/android/java/lib/src/org/godotengine/godot/input/GodotGestureHandler.kt @@ -30,7 +30,7 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /**************************************************************************/ -package org.godotengine.godot.input +package org.redotengine.godot.input import android.os.Build import android.view.GestureDetector.SimpleOnGestureListener @@ -38,7 +38,7 @@ import android.view.InputDevice import android.view.MotionEvent import android.view.ScaleGestureDetector import android.view.ScaleGestureDetector.OnScaleGestureListener -import org.godotengine.godot.GodotLib +import org.redotengine.godot.GodotLib /** * Handles regular and scale gesture input related events for the [GodotView] view. diff --git a/platform/android/java/lib/src/org/godotengine/godot/input/GodotInputHandler.java b/platform/android/java/lib/src/org/godotengine/godot/input/GodotInputHandler.java index 5dc7cce09b6..b9b1212816e 100644 --- a/platform/android/java/lib/src/org/godotengine/godot/input/GodotInputHandler.java +++ b/platform/android/java/lib/src/org/godotengine/godot/input/GodotInputHandler.java @@ -30,12 +30,12 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /**************************************************************************/ -package org.godotengine.godot.input; +package org.redotengine.godot.input; -import static org.godotengine.godot.utils.GLUtils.DEBUG; +import static org.redotengine.godot.utils.GLUtils.DEBUG; -import org.godotengine.godot.GodotLib; -import org.godotengine.godot.GodotRenderView; +import org.redotengine.godot.GodotLib; +import org.redotengine.godot.GodotRenderView; import android.content.Context; import android.hardware.input.InputManager; diff --git a/platform/android/java/lib/src/org/godotengine/godot/input/GodotTextInputWrapper.java b/platform/android/java/lib/src/org/godotengine/godot/input/GodotTextInputWrapper.java index 48dbf37eaaf..86be5fe9d8f 100644 --- a/platform/android/java/lib/src/org/godotengine/godot/input/GodotTextInputWrapper.java +++ b/platform/android/java/lib/src/org/godotengine/godot/input/GodotTextInputWrapper.java @@ -30,9 +30,9 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /**************************************************************************/ -package org.godotengine.godot.input; +package org.redotengine.godot.input; -import org.godotengine.godot.*; +import org.redotengine.godot.*; import android.content.Context; import android.text.Editable; diff --git a/platform/android/java/lib/src/org/godotengine/godot/input/Joystick.java b/platform/android/java/lib/src/org/godotengine/godot/input/Joystick.java index 891aae035d0..528c6d55eb3 100644 --- a/platform/android/java/lib/src/org/godotengine/godot/input/Joystick.java +++ b/platform/android/java/lib/src/org/godotengine/godot/input/Joystick.java @@ -30,7 +30,7 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /**************************************************************************/ -package org.godotengine.godot.input; +package org.redotengine.godot.input; import android.util.SparseArray; diff --git a/platform/android/java/lib/src/org/godotengine/godot/io/StorageScope.kt b/platform/android/java/lib/src/org/godotengine/godot/io/StorageScope.kt index 57dca0df9d8..04019602c90 100644 --- a/platform/android/java/lib/src/org/godotengine/godot/io/StorageScope.kt +++ b/platform/android/java/lib/src/org/godotengine/godot/io/StorageScope.kt @@ -30,7 +30,7 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /**************************************************************************/ -package org.godotengine.godot.io +package org.redotengine.godot.io import android.content.Context import android.os.Build diff --git a/platform/android/java/lib/src/org/godotengine/godot/io/directory/AssetsDirectoryAccess.kt b/platform/android/java/lib/src/org/godotengine/godot/io/directory/AssetsDirectoryAccess.kt index 3175f7f2415..9991783f55c 100644 --- a/platform/android/java/lib/src/org/godotengine/godot/io/directory/AssetsDirectoryAccess.kt +++ b/platform/android/java/lib/src/org/godotengine/godot/io/directory/AssetsDirectoryAccess.kt @@ -30,13 +30,13 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /**************************************************************************/ -package org.godotengine.godot.io.directory +package org.redotengine.godot.io.directory import android.content.Context import android.util.Log import android.util.SparseArray -import org.godotengine.godot.io.directory.DirectoryAccessHandler.Companion.INVALID_DIR_ID -import org.godotengine.godot.io.directory.DirectoryAccessHandler.Companion.STARTING_DIR_ID +import org.redotengine.godot.io.directory.DirectoryAccessHandler.Companion.INVALID_DIR_ID +import org.redotengine.godot.io.directory.DirectoryAccessHandler.Companion.STARTING_DIR_ID import java.io.File import java.io.IOException diff --git a/platform/android/java/lib/src/org/godotengine/godot/io/directory/DirectoryAccessHandler.kt b/platform/android/java/lib/src/org/godotengine/godot/io/directory/DirectoryAccessHandler.kt index 7324a8079b0..5309ba47975 100644 --- a/platform/android/java/lib/src/org/godotengine/godot/io/directory/DirectoryAccessHandler.kt +++ b/platform/android/java/lib/src/org/godotengine/godot/io/directory/DirectoryAccessHandler.kt @@ -30,12 +30,12 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /**************************************************************************/ -package org.godotengine.godot.io.directory +package org.redotengine.godot.io.directory import android.content.Context import android.util.Log -import org.godotengine.godot.io.directory.DirectoryAccessHandler.AccessType.ACCESS_FILESYSTEM -import org.godotengine.godot.io.directory.DirectoryAccessHandler.AccessType.ACCESS_RESOURCES +import org.redotengine.godot.io.directory.DirectoryAccessHandler.AccessType.ACCESS_FILESYSTEM +import org.redotengine.godot.io.directory.DirectoryAccessHandler.AccessType.ACCESS_RESOURCES /** * Handles files and directories access and manipulation for the Android platform diff --git a/platform/android/java/lib/src/org/godotengine/godot/io/directory/FilesystemDirectoryAccess.kt b/platform/android/java/lib/src/org/godotengine/godot/io/directory/FilesystemDirectoryAccess.kt index d43a72a58a2..9c55e34f748 100644 --- a/platform/android/java/lib/src/org/godotengine/godot/io/directory/FilesystemDirectoryAccess.kt +++ b/platform/android/java/lib/src/org/godotengine/godot/io/directory/FilesystemDirectoryAccess.kt @@ -30,7 +30,7 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /**************************************************************************/ -package org.godotengine.godot.io.directory +package org.redotengine.godot.io.directory import android.annotation.SuppressLint import android.content.Context @@ -38,10 +38,10 @@ import android.os.Build import android.os.storage.StorageManager import android.util.Log import android.util.SparseArray -import org.godotengine.godot.io.StorageScope -import org.godotengine.godot.io.directory.DirectoryAccessHandler.Companion.INVALID_DIR_ID -import org.godotengine.godot.io.directory.DirectoryAccessHandler.Companion.STARTING_DIR_ID -import org.godotengine.godot.io.file.FileAccessHandler +import org.redotengine.godot.io.StorageScope +import org.redotengine.godot.io.directory.DirectoryAccessHandler.Companion.INVALID_DIR_ID +import org.redotengine.godot.io.directory.DirectoryAccessHandler.Companion.STARTING_DIR_ID +import org.redotengine.godot.io.file.FileAccessHandler import java.io.File /** diff --git a/platform/android/java/lib/src/org/godotengine/godot/io/file/DataAccess.kt b/platform/android/java/lib/src/org/godotengine/godot/io/file/DataAccess.kt index 65aced8660b..0f190752035 100644 --- a/platform/android/java/lib/src/org/godotengine/godot/io/file/DataAccess.kt +++ b/platform/android/java/lib/src/org/godotengine/godot/io/file/DataAccess.kt @@ -30,12 +30,12 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /**************************************************************************/ -package org.godotengine.godot.io.file +package org.redotengine.godot.io.file import android.content.Context import android.os.Build import android.util.Log -import org.godotengine.godot.io.StorageScope +import org.redotengine.godot.io.StorageScope import java.io.IOException import java.nio.ByteBuffer import java.nio.channels.ClosedChannelException diff --git a/platform/android/java/lib/src/org/godotengine/godot/io/file/FileAccessFlags.kt b/platform/android/java/lib/src/org/godotengine/godot/io/file/FileAccessFlags.kt index cabe251d4de..bf3dc9d96a0 100644 --- a/platform/android/java/lib/src/org/godotengine/godot/io/file/FileAccessFlags.kt +++ b/platform/android/java/lib/src/org/godotengine/godot/io/file/FileAccessFlags.kt @@ -30,7 +30,7 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /**************************************************************************/ -package org.godotengine.godot.io.file +package org.redotengine.godot.io.file /** * Android representation of Godot native access flags. diff --git a/platform/android/java/lib/src/org/godotengine/godot/io/file/FileAccessHandler.kt b/platform/android/java/lib/src/org/godotengine/godot/io/file/FileAccessHandler.kt index 2c3cd5862a1..9c0a187c24c 100644 --- a/platform/android/java/lib/src/org/godotengine/godot/io/file/FileAccessHandler.kt +++ b/platform/android/java/lib/src/org/godotengine/godot/io/file/FileAccessHandler.kt @@ -30,12 +30,12 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /**************************************************************************/ -package org.godotengine.godot.io.file +package org.redotengine.godot.io.file import android.content.Context import android.util.Log import android.util.SparseArray -import org.godotengine.godot.io.StorageScope +import org.redotengine.godot.io.StorageScope import java.io.FileNotFoundException import java.nio.ByteBuffer diff --git a/platform/android/java/lib/src/org/godotengine/godot/io/file/FileData.kt b/platform/android/java/lib/src/org/godotengine/godot/io/file/FileData.kt index 027ad22808e..14b3dddccfa 100644 --- a/platform/android/java/lib/src/org/godotengine/godot/io/file/FileData.kt +++ b/platform/android/java/lib/src/org/godotengine/godot/io/file/FileData.kt @@ -30,7 +30,7 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /**************************************************************************/ -package org.godotengine.godot.io.file +package org.redotengine.godot.io.file import java.io.File import java.io.FileOutputStream diff --git a/platform/android/java/lib/src/org/godotengine/godot/io/file/FileErrors.kt b/platform/android/java/lib/src/org/godotengine/godot/io/file/FileErrors.kt index 3bc043ab15b..e37923ca2fd 100644 --- a/platform/android/java/lib/src/org/godotengine/godot/io/file/FileErrors.kt +++ b/platform/android/java/lib/src/org/godotengine/godot/io/file/FileErrors.kt @@ -30,7 +30,7 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /**************************************************************************/ -package org.godotengine.godot.io.file +package org.redotengine.godot.io.file /** * Set of errors that may occur when performing data access. diff --git a/platform/android/java/lib/src/org/godotengine/godot/io/file/MediaStoreData.kt b/platform/android/java/lib/src/org/godotengine/godot/io/file/MediaStoreData.kt index 74bb99a286a..d989f710df2 100644 --- a/platform/android/java/lib/src/org/godotengine/godot/io/file/MediaStoreData.kt +++ b/platform/android/java/lib/src/org/godotengine/godot/io/file/MediaStoreData.kt @@ -30,7 +30,7 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /**************************************************************************/ -package org.godotengine.godot.io.file +package org.redotengine.godot.io.file import android.content.ContentUris import android.content.ContentValues diff --git a/platform/android/java/lib/src/org/godotengine/godot/plugin/GodotPlugin.java b/platform/android/java/lib/src/org/godotengine/godot/plugin/GodotPlugin.java index 16c4b6bddcf..0c5611ab34f 100644 --- a/platform/android/java/lib/src/org/godotengine/godot/plugin/GodotPlugin.java +++ b/platform/android/java/lib/src/org/godotengine/godot/plugin/GodotPlugin.java @@ -30,10 +30,10 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /**************************************************************************/ -package org.godotengine.godot.plugin; +package org.redotengine.godot.plugin; -import org.godotengine.godot.BuildConfig; -import org.godotengine.godot.Godot; +import org.redotengine.godot.BuildConfig; +import org.redotengine.godot.Godot; import android.app.Activity; import android.content.Intent; @@ -66,7 +66,7 @@ * - The plugin must have a dependency on the Godot Android library: `implementation "org.godotengine:godot:"` *

* - The plugin must include a tag in its Android manifest with the following format: - * + * *

* Where: *

@@ -169,7 +169,7 @@ public final void onRegisterPluginWithGodotNative() { /** * Invoked once during the initialization process after creation of the - * {@link org.godotengine.godot.GodotRenderView} view. + * {@link org.redotengine.godot.GodotRenderView} view. *

* The plugin can return a non-null {@link View} layout which will be added to the Godot view * hierarchy. diff --git a/platform/android/java/lib/src/org/godotengine/godot/plugin/GodotPluginRegistry.java b/platform/android/java/lib/src/org/godotengine/godot/plugin/GodotPluginRegistry.java index d3144c196b6..d7c52cecc8f 100644 --- a/platform/android/java/lib/src/org/godotengine/godot/plugin/GodotPluginRegistry.java +++ b/platform/android/java/lib/src/org/godotengine/godot/plugin/GodotPluginRegistry.java @@ -30,9 +30,9 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /**************************************************************************/ -package org.godotengine.godot.plugin; +package org.redotengine.godot.plugin; -import org.godotengine.godot.Godot; +import org.redotengine.godot.Godot; import android.app.Activity; import android.content.pm.ApplicationInfo; @@ -57,11 +57,11 @@ public final class GodotPluginRegistry { /** * Prefix used for version 1 of the Godot plugin, mostly compatible with Godot 3.x */ - private static final String GODOT_PLUGIN_V1_NAME_PREFIX = "org.godotengine.plugin.v1."; + private static final String GODOT_PLUGIN_V1_NAME_PREFIX = "org.redotengine.plugin.v1."; /** * Prefix used for version 2 of the Godot plugin, compatible with Godot 4.2+ */ - private static final String GODOT_PLUGIN_V2_NAME_PREFIX = "org.godotengine.plugin.v2."; + private static final String GODOT_PLUGIN_V2_NAME_PREFIX = "org.redotengine.plugin.v2."; private static GodotPluginRegistry instance; private final ConcurrentHashMap registry; diff --git a/platform/android/java/lib/src/org/godotengine/godot/plugin/SignalInfo.java b/platform/android/java/lib/src/org/godotengine/godot/plugin/SignalInfo.java index 38519fc98a6..491c7a18b31 100644 --- a/platform/android/java/lib/src/org/godotengine/godot/plugin/SignalInfo.java +++ b/platform/android/java/lib/src/org/godotengine/godot/plugin/SignalInfo.java @@ -30,7 +30,7 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /**************************************************************************/ -package org.godotengine.godot.plugin; +package org.redotengine.godot.plugin; import android.text.TextUtils; diff --git a/platform/android/java/lib/src/org/godotengine/godot/plugin/UsedByGodot.java b/platform/android/java/lib/src/org/godotengine/godot/plugin/UsedByGodot.java index e679860468a..3e2047ad551 100644 --- a/platform/android/java/lib/src/org/godotengine/godot/plugin/UsedByGodot.java +++ b/platform/android/java/lib/src/org/godotengine/godot/plugin/UsedByGodot.java @@ -30,7 +30,7 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /**************************************************************************/ -package org.godotengine.godot.plugin; +package org.redotengine.godot.plugin; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; diff --git a/platform/android/java/lib/src/org/godotengine/godot/tts/GodotTTS.java b/platform/android/java/lib/src/org/godotengine/godot/tts/GodotTTS.java index 366fd3083ba..339b162ba18 100644 --- a/platform/android/java/lib/src/org/godotengine/godot/tts/GodotTTS.java +++ b/platform/android/java/lib/src/org/godotengine/godot/tts/GodotTTS.java @@ -30,9 +30,9 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /**************************************************************************/ -package org.godotengine.godot.tts; +package org.redotengine.godot.tts; -import org.godotengine.godot.GodotLib; +import org.redotengine.godot.GodotLib; import android.app.Activity; import android.content.Context; diff --git a/platform/android/java/lib/src/org/godotengine/godot/tts/GodotUtterance.java b/platform/android/java/lib/src/org/godotengine/godot/tts/GodotUtterance.java index b89f983056d..0ba9d354aba 100644 --- a/platform/android/java/lib/src/org/godotengine/godot/tts/GodotUtterance.java +++ b/platform/android/java/lib/src/org/godotengine/godot/tts/GodotUtterance.java @@ -30,7 +30,7 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /**************************************************************************/ -package org.godotengine.godot.tts; +package org.redotengine.godot.tts; /** * A speech request for GodotTTS. diff --git a/platform/android/java/lib/src/org/godotengine/godot/utils/BenchmarkUtils.kt b/platform/android/java/lib/src/org/godotengine/godot/utils/BenchmarkUtils.kt index 0ccbb6a34bf..faa7e39c1aa 100644 --- a/platform/android/java/lib/src/org/godotengine/godot/utils/BenchmarkUtils.kt +++ b/platform/android/java/lib/src/org/godotengine/godot/utils/BenchmarkUtils.kt @@ -32,15 +32,15 @@ @file:JvmName("BenchmarkUtils") -package org.godotengine.godot.utils +package org.redotengine.godot.utils import android.os.Build import android.os.SystemClock import android.os.Trace import android.util.Log -import org.godotengine.godot.BuildConfig -import org.godotengine.godot.io.file.FileAccessFlags -import org.godotengine.godot.io.file.FileAccessHandler +import org.redotengine.godot.BuildConfig +import org.redotengine.godot.io.file.FileAccessFlags +import org.redotengine.godot.io.file.FileAccessHandler import org.json.JSONObject import java.nio.ByteBuffer import java.util.Collections diff --git a/platform/android/java/lib/src/org/godotengine/godot/utils/CommandLineFileParser.kt b/platform/android/java/lib/src/org/godotengine/godot/utils/CommandLineFileParser.kt index 4e083efd369..421f36828e7 100644 --- a/platform/android/java/lib/src/org/godotengine/godot/utils/CommandLineFileParser.kt +++ b/platform/android/java/lib/src/org/godotengine/godot/utils/CommandLineFileParser.kt @@ -30,7 +30,7 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /**************************************************************************/ -package org.godotengine.godot.utils +package org.redotengine.godot.utils import java.io.InputStream import java.nio.charset.StandardCharsets diff --git a/platform/android/java/lib/src/org/godotengine/godot/utils/Crypt.java b/platform/android/java/lib/src/org/godotengine/godot/utils/Crypt.java index 3ff220dd77e..57250ce1704 100644 --- a/platform/android/java/lib/src/org/godotengine/godot/utils/Crypt.java +++ b/platform/android/java/lib/src/org/godotengine/godot/utils/Crypt.java @@ -30,7 +30,7 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /**************************************************************************/ -package org.godotengine.godot.utils; +package org.redotengine.godot.utils; import java.security.MessageDigest; import java.util.Random; diff --git a/platform/android/java/lib/src/org/godotengine/godot/utils/GLUtils.java b/platform/android/java/lib/src/org/godotengine/godot/utils/GLUtils.java index 815dedc7e46..af95a198344 100644 --- a/platform/android/java/lib/src/org/godotengine/godot/utils/GLUtils.java +++ b/platform/android/java/lib/src/org/godotengine/godot/utils/GLUtils.java @@ -30,7 +30,7 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /**************************************************************************/ -package org.godotengine.godot.utils; +package org.redotengine.godot.utils; import android.util.Log; diff --git a/platform/android/java/lib/src/org/godotengine/godot/utils/GodotNetUtils.java b/platform/android/java/lib/src/org/godotengine/godot/utils/GodotNetUtils.java index 7f987033997..0bbb2b68cda 100644 --- a/platform/android/java/lib/src/org/godotengine/godot/utils/GodotNetUtils.java +++ b/platform/android/java/lib/src/org/godotengine/godot/utils/GodotNetUtils.java @@ -30,7 +30,7 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /**************************************************************************/ -package org.godotengine.godot.utils; +package org.redotengine.godot.utils; import android.app.Activity; import android.content.Context; diff --git a/platform/android/java/lib/src/org/godotengine/godot/utils/PermissionsUtil.java b/platform/android/java/lib/src/org/godotengine/godot/utils/PermissionsUtil.java index 966b323bf62..5db2bb94ec2 100644 --- a/platform/android/java/lib/src/org/godotengine/godot/utils/PermissionsUtil.java +++ b/platform/android/java/lib/src/org/godotengine/godot/utils/PermissionsUtil.java @@ -30,7 +30,7 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /**************************************************************************/ -package org.godotengine.godot.utils; +package org.redotengine.godot.utils; import android.Manifest; import android.app.Activity; diff --git a/platform/android/java/lib/src/org/godotengine/godot/utils/ProcessPhoenix.java b/platform/android/java/lib/src/org/godotengine/godot/utils/ProcessPhoenix.java index d9afdf90b13..f9a53177ea3 100644 --- a/platform/android/java/lib/src/org/godotengine/godot/utils/ProcessPhoenix.java +++ b/platform/android/java/lib/src/org/godotengine/godot/utils/ProcessPhoenix.java @@ -20,7 +20,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.godotengine.godot.utils; +package org.redotengine.godot.utils; import android.app.Activity; import android.app.ActivityManager; diff --git a/platform/android/java/lib/src/org/godotengine/godot/vulkan/VkRenderer.kt b/platform/android/java/lib/src/org/godotengine/godot/vulkan/VkRenderer.kt index 04e64b21a2d..3d06ebf90b9 100644 --- a/platform/android/java/lib/src/org/godotengine/godot/vulkan/VkRenderer.kt +++ b/platform/android/java/lib/src/org/godotengine/godot/vulkan/VkRenderer.kt @@ -31,12 +31,12 @@ /**************************************************************************/ @file:JvmName("VkRenderer") -package org.godotengine.godot.vulkan +package org.redotengine.godot.vulkan import android.util.Log import android.view.Surface -import org.godotengine.godot.GodotLib -import org.godotengine.godot.plugin.GodotPluginRegistry +import org.redotengine.godot.GodotLib +import org.redotengine.godot.plugin.GodotPluginRegistry /** * Responsible to setting up and driving the Vulkan rendering logic. diff --git a/platform/android/java/lib/src/org/godotengine/godot/vulkan/VkSurfaceView.kt b/platform/android/java/lib/src/org/godotengine/godot/vulkan/VkSurfaceView.kt index 3bfe2a313a2..c24b5ac8482 100644 --- a/platform/android/java/lib/src/org/godotengine/godot/vulkan/VkSurfaceView.kt +++ b/platform/android/java/lib/src/org/godotengine/godot/vulkan/VkSurfaceView.kt @@ -31,7 +31,7 @@ /**************************************************************************/ @file:JvmName("VkSurfaceView") -package org.godotengine.godot.vulkan +package org.redotengine.godot.vulkan import android.content.Context import android.view.SurfaceHolder diff --git a/platform/android/java/lib/src/org/godotengine/godot/vulkan/VkThread.kt b/platform/android/java/lib/src/org/godotengine/godot/vulkan/VkThread.kt index 783fc707dac..36d59721617 100644 --- a/platform/android/java/lib/src/org/godotengine/godot/vulkan/VkThread.kt +++ b/platform/android/java/lib/src/org/godotengine/godot/vulkan/VkThread.kt @@ -31,7 +31,7 @@ /**************************************************************************/ @file:JvmName("VkThread") -package org.godotengine.godot.vulkan +package org.redotengine.godot.vulkan import android.util.Log import java.util.concurrent.locks.ReentrantLock diff --git a/platform/android/java/lib/src/org/godotengine/godot/xr/XRMode.java b/platform/android/java/lib/src/org/godotengine/godot/xr/XRMode.java index 3e08c6e952b..09c35e8aeeb 100644 --- a/platform/android/java/lib/src/org/godotengine/godot/xr/XRMode.java +++ b/platform/android/java/lib/src/org/godotengine/godot/xr/XRMode.java @@ -30,7 +30,7 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /**************************************************************************/ -package org.godotengine.godot.xr; +package org.redotengine.godot.xr; /** * Godot available XR modes. diff --git a/platform/android/java/lib/src/org/godotengine/godot/xr/ovr/OvrConfigChooser.java b/platform/android/java/lib/src/org/godotengine/godot/xr/ovr/OvrConfigChooser.java index bb57e0643ff..b73334850a5 100644 --- a/platform/android/java/lib/src/org/godotengine/godot/xr/ovr/OvrConfigChooser.java +++ b/platform/android/java/lib/src/org/godotengine/godot/xr/ovr/OvrConfigChooser.java @@ -30,9 +30,9 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /**************************************************************************/ -package org.godotengine.godot.xr.ovr; +package org.redotengine.godot.xr.ovr; -import org.godotengine.godot.gl.GLSurfaceView; +import org.redotengine.godot.gl.GLSurfaceView; import android.opengl.EGLExt; diff --git a/platform/android/java/lib/src/org/godotengine/godot/xr/ovr/OvrContextFactory.java b/platform/android/java/lib/src/org/godotengine/godot/xr/ovr/OvrContextFactory.java index 4c55a66ef32..ec772736198 100644 --- a/platform/android/java/lib/src/org/godotengine/godot/xr/ovr/OvrContextFactory.java +++ b/platform/android/java/lib/src/org/godotengine/godot/xr/ovr/OvrContextFactory.java @@ -30,9 +30,9 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /**************************************************************************/ -package org.godotengine.godot.xr.ovr; +package org.redotengine.godot.xr.ovr; -import org.godotengine.godot.gl.GLSurfaceView; +import org.redotengine.godot.gl.GLSurfaceView; import android.opengl.EGL14; diff --git a/platform/android/java/lib/src/org/godotengine/godot/xr/ovr/OvrWindowSurfaceFactory.java b/platform/android/java/lib/src/org/godotengine/godot/xr/ovr/OvrWindowSurfaceFactory.java index 00d31f44d85..8a409795b26 100644 --- a/platform/android/java/lib/src/org/godotengine/godot/xr/ovr/OvrWindowSurfaceFactory.java +++ b/platform/android/java/lib/src/org/godotengine/godot/xr/ovr/OvrWindowSurfaceFactory.java @@ -30,9 +30,9 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /**************************************************************************/ -package org.godotengine.godot.xr.ovr; +package org.redotengine.godot.xr.ovr; -import org.godotengine.godot.gl.GLSurfaceView; +import org.redotengine.godot.gl.GLSurfaceView; import javax.microedition.khronos.egl.EGL10; import javax.microedition.khronos.egl.EGLConfig; diff --git a/platform/android/java/lib/src/org/godotengine/godot/xr/regular/RegularConfigChooser.java b/platform/android/java/lib/src/org/godotengine/godot/xr/regular/RegularConfigChooser.java index 76b6eed3378..02229247081 100644 --- a/platform/android/java/lib/src/org/godotengine/godot/xr/regular/RegularConfigChooser.java +++ b/platform/android/java/lib/src/org/godotengine/godot/xr/regular/RegularConfigChooser.java @@ -30,10 +30,10 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /**************************************************************************/ -package org.godotengine.godot.xr.regular; +package org.redotengine.godot.xr.regular; -import org.godotengine.godot.gl.GLSurfaceView; -import org.godotengine.godot.utils.GLUtils; +import org.redotengine.godot.gl.GLSurfaceView; +import org.redotengine.godot.utils.GLUtils; import javax.microedition.khronos.egl.EGL10; import javax.microedition.khronos.egl.EGLConfig; diff --git a/platform/android/java/lib/src/org/godotengine/godot/xr/regular/RegularContextFactory.java b/platform/android/java/lib/src/org/godotengine/godot/xr/regular/RegularContextFactory.java index 110616a9bbf..99926e6bb31 100644 --- a/platform/android/java/lib/src/org/godotengine/godot/xr/regular/RegularContextFactory.java +++ b/platform/android/java/lib/src/org/godotengine/godot/xr/regular/RegularContextFactory.java @@ -30,10 +30,10 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /**************************************************************************/ -package org.godotengine.godot.xr.regular; +package org.redotengine.godot.xr.regular; -import org.godotengine.godot.gl.GLSurfaceView; -import org.godotengine.godot.utils.GLUtils; +import org.redotengine.godot.gl.GLSurfaceView; +import org.redotengine.godot.utils.GLUtils; import android.util.Log; diff --git a/platform/android/java/lib/src/org/godotengine/godot/xr/regular/RegularFallbackConfigChooser.java b/platform/android/java/lib/src/org/godotengine/godot/xr/regular/RegularFallbackConfigChooser.java index 1a2e68cf0f1..f789c726bad 100644 --- a/platform/android/java/lib/src/org/godotengine/godot/xr/regular/RegularFallbackConfigChooser.java +++ b/platform/android/java/lib/src/org/godotengine/godot/xr/regular/RegularFallbackConfigChooser.java @@ -30,7 +30,7 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /**************************************************************************/ -package org.godotengine.godot.xr.regular; +package org.redotengine.godot.xr.regular; import android.util.Log; diff --git a/platform/android/java/lib/srcTest/java/org/godotengine/godot/utils/CommandLineFileParserTest.kt b/platform/android/java/lib/srcTest/java/org/godotengine/godot/utils/CommandLineFileParserTest.kt index a4be4d2a069..f9e858edef1 100644 --- a/platform/android/java/lib/srcTest/java/org/godotengine/godot/utils/CommandLineFileParserTest.kt +++ b/platform/android/java/lib/srcTest/java/org/godotengine/godot/utils/CommandLineFileParserTest.kt @@ -30,7 +30,7 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /**************************************************************************/ -package org.godotengine.godot.utils +package org.redotengine.godot.utils import org.junit.Test import org.junit.runner.RunWith diff --git a/platform/android/java/nativeSrcsConfigs/build.gradle b/platform/android/java/nativeSrcsConfigs/build.gradle index a7282411810..bb9df54f697 100644 --- a/platform/android/java/nativeSrcsConfigs/build.gradle +++ b/platform/android/java/nativeSrcsConfigs/build.gradle @@ -9,7 +9,7 @@ android { buildToolsVersion versions.buildTools ndkVersion versions.ndkVersion - namespace = "org.godotengine.godot" + namespace = "org.redotengine.godot" defaultConfig { minSdkVersion versions.minSdk diff --git a/platform/android/jni_utils.cpp b/platform/android/jni_utils.cpp index b9413248f77..c6b71bcc200 100644 --- a/platform/android/jni_utils.cpp +++ b/platform/android/jni_utils.cpp @@ -338,7 +338,7 @@ Variant _jobject_to_variant(JNIEnv *env, jobject obj) { return varr; } - if (name == "java.util.HashMap" || name == "org.godotengine.godot.Dictionary") { + if (name == "java.util.HashMap" || name == "org.redotengine.godot.Dictionary") { Dictionary ret; jclass oclass = c; jmethodID get_keys = env->GetMethodID(oclass, "get_keys", "()[Ljava/lang/String;"); @@ -383,7 +383,7 @@ Variant::Type get_jni_type(const String &p_type) { { "[F", Variant::PACKED_FLOAT32_ARRAY }, { "[D", Variant::PACKED_FLOAT64_ARRAY }, { "[Ljava.lang.String;", Variant::PACKED_STRING_ARRAY }, - { "org.godotengine.godot.Dictionary", Variant::DICTIONARY }, + { "org.redotengine.godot.Dictionary", Variant::DICTIONARY }, { nullptr, Variant::NIL } }; @@ -412,7 +412,7 @@ const char *get_jni_sig(const String &p_type) { { "float", "F" }, { "double", "D" }, { "java.lang.String", "Ljava/lang/String;" }, - { "org.godotengine.godot.Dictionary", "Lorg/godotengine/godot/Dictionary;" }, + { "org.redotengine.godot.Dictionary", "Lorg/godotengine/godot/Dictionary;" }, { "[I", "[I" }, { "[J", "[J" }, { "[B", "[B" }, diff --git a/platform/macos/display_server_macos.mm b/platform/macos/display_server_macos.mm index d55eb22763f..ac8ca0dedf8 100644 --- a/platform/macos/display_server_macos.mm +++ b/platform/macos/display_server_macos.mm @@ -3381,7 +3381,7 @@ if (was_empty && popup_list.is_empty()) { // Inform OS that popup was opened, to close other native popups. - [[NSDistributedNotificationCenter defaultCenter] postNotificationName:@"com.apple.HIToolbox.beginMenuTrackingNotification" object:@"org.godotengine.godot.popup_window"]; + [[NSDistributedNotificationCenter defaultCenter] postNotificationName:@"com.apple.HIToolbox.beginMenuTrackingNotification" object:@"org.redotengine.godot.popup_window"]; } time_since_popup = OS::get_singleton()->get_ticks_msec(); popup_list.push_back(p_window); @@ -3406,7 +3406,7 @@ } if (!was_empty && popup_list.is_empty()) { // Inform OS that all popups are closed. - [[NSDistributedNotificationCenter defaultCenter] postNotificationName:@"com.apple.HIToolbox.endMenuTrackingNotification" object:@"org.godotengine.godot.popup_window"]; + [[NSDistributedNotificationCenter defaultCenter] postNotificationName:@"com.apple.HIToolbox.endMenuTrackingNotification" object:@"org.redotengine.godot.popup_window"]; } } @@ -3424,7 +3424,7 @@ } if (!was_empty) { // Inform OS that all popups are closed. - [[NSDistributedNotificationCenter defaultCenter] postNotificationName:@"com.apple.HIToolbox.endMenuTrackingNotification" object:@"org.godotengine.godot.popup_window"]; + [[NSDistributedNotificationCenter defaultCenter] postNotificationName:@"com.apple.HIToolbox.endMenuTrackingNotification" object:@"org.redotengine.godot.popup_window"]; } } else { uint64_t delta = OS::get_singleton()->get_ticks_msec() - time_since_popup; @@ -3456,7 +3456,7 @@ } if (!was_empty && popup_list.is_empty()) { // Inform OS that all popups are closed. - [[NSDistributedNotificationCenter defaultCenter] postNotificationName:@"com.apple.HIToolbox.endMenuTrackingNotification" object:@"org.godotengine.godot.popup_window"]; + [[NSDistributedNotificationCenter defaultCenter] postNotificationName:@"com.apple.HIToolbox.endMenuTrackingNotification" object:@"org.redotengine.godot.popup_window"]; } } return closed;