Marcel Admiraal
57317ce7b8
Remove Android onKeyMultiple override
2021-07-06 17:39:42 +01:00
Marcel Admiraal
1856f16378
Queue the calls to GodotLib.key when Android virtual done is pressed
2021-07-06 17:32:09 +01:00
Rémi Verschelde
c47b6f4b5c
Merge pull request #50107 from madmiraal/android-use-lambdas
...
Replace single method anonymous classes with lambdas in Godot Java code
2021-07-06 18:10:38 +02:00
Hendrik Brucker
043ae91560
Restructure and reimplement vsync options
...
-Add a v-sync mode setting which allows to choose between DISABLED, ON, ADAPTIVE and MAILBOX
-Removed the V-Sync via Compositor option
2021-07-06 16:34:26 +02:00
Rémi Verschelde
7931ebb7bb
Merge pull request #39139 from ThakeeNathees/windows-err-to-stderr
...
Windows error logs directed to stderr
2021-07-06 12:14:29 +02:00
Rémi Verschelde
f2d8bad2d1
Merge pull request #50109 from madmiraal/android-static-inner-classes
...
Use static inner classes in Godot Java code
2021-07-05 14:18:26 +02:00
miere43
119a59f872
Replace backslash with forward slash in OS_Windows path methods
2021-07-04 09:04:21 +03:00
Marcel Admiraal
23e152040b
Use static inner classes in Godot Java code
2021-07-03 05:50:04 +01:00
Marcel Admiraal
a7825ca12a
Replace single method anonymous classes with lambdas in Godot Java code
2021-07-03 05:13:31 +01:00
Rémi Verschelde
f2229bb1ea
Merge pull request #50085 from madmiraal/android-replace-stringbuffer
...
Use StringBuilder instead StringBuffer in Godot Java code
2021-07-02 22:09:50 +02:00
Rémi Verschelde
aee59c3547
Merge pull request #50083 from madmiraal/android-fix-raw-use
...
Fix raw use of parameterized Class
2021-07-02 22:09:39 +02:00
Marcel Admiraal
3f95bbed73
Remove redundant explicit types in Godot Java code
2021-07-02 17:45:30 +01:00
Marcel Admiraal
61ee51d2bf
Use StringBuilder instead StringBuffer in Godot Java code
2021-07-02 16:57:12 +01:00
Rémi Verschelde
710effdaad
Merge pull request #50078 from madmiraal/android-remove-unused-imports
2021-07-02 17:45:29 +02:00
Marcel Admiraal
d237f7d33d
Fix raw use of parameterized Class
2021-07-02 16:35:52 +01:00
thebestnom
e200195564
Android: Initialize mouse mode
2021-07-02 18:00:33 +03:00
Marcel Admiraal
a38fd4a4c2
Remove unused imports from Android Java code
2021-07-02 12:57:55 +01:00
Rémi Verschelde
6ef0b8fcd3
Merge pull request #50074 from madmiraal/android-replace-c-array
...
Use Java array declarations not C-style declarations in Android Java code
2021-07-02 13:44:22 +02:00
Rémi Verschelde
42184dd6d5
Merge pull request #50072 from madmiraal/android-remove-interface-modifiers
...
Remove redundant interface modifiers from Android Java code
2021-07-02 12:35:14 +02:00
Marcel Admiraal
721b3d56c5
Use Java array declarations not C-style declarations in Android Java code
2021-07-02 11:09:09 +01:00
Marcel Admiraal
a74e803a4f
Remove redundant interface modifiers from Android Java code
2021-07-02 09:37:45 +01:00
Marcel Admiraal
360447001d
Remove unnecessary semicolons from Android Java code
2021-07-02 08:54:09 +01:00
Rémi Verschelde
40a594c6ea
Android: Add isGame
application attribute, default to true
...
It can be turned off in the export preset with `package/classify_as_game`.
Upstream definition: https://developer.android.com/guide/topics/manifest/application-element#isGame
> `android:isGame`
>
> Whether or not the application is a game. The system may group together
> applications classifed as games or display them separately from other
> applications.
Also fixes replacing `android:allowBackup` in custom builds.
2021-07-01 11:00:23 +02:00
Marcel Admiraal
8270e101a7
Fix unchecked call to put() warning in GodotInputHandler.java
2021-06-30 12:13:05 +01:00
Rémi Verschelde
52e3f986ac
Merge pull request #49911 from madmiraal/fix-49878
...
Add GDNative libraries to Android custom Gradle builds
2021-06-29 14:58:23 +02:00
Rémi Verschelde
871a338376
Merge pull request #49910 from Faless/js/4.x_canvas_resize
...
[HTML5] Add option to focus canvas on start.
2021-06-29 12:40:25 +02:00
Marcel Admiraal
7b63f0a22d
Add GDNative libraries to Android custom Gradle builds
2021-06-29 09:26:28 +01:00
bruvzg
8f7c2ccefd
[Windows Export] Use temporary file for osslsigncode signing.
2021-06-29 10:38:28 +03:00
Rémi Verschelde
a738ddb9a4
Merge pull request #35536 from shroudedcode/keep-screen-on-linux
...
Make "Keep screen on" work on Linux
2021-06-27 19:33:23 +02:00
Fabio Alessandrelli
c12fca57f4
[HTML5] Add option to focus canvas on start.
...
Enabled by default.
2021-06-25 19:07:17 +02:00
Fabio Alessandrelli
fdccc0b219
Merge pull request #49889 from timothyqiu/url-path
...
Strip query string when parsing HTTP request line for path
2021-06-24 23:52:53 +02:00
Haoyu Qiu
91477cd4a9
Strip query string when parsing HTTP request line for path
2021-06-25 00:20:28 +08:00
ne0fhyk
d1a9363c4c
Update config versions and deprecate the use of the jcenter maven repo.
2021-06-24 08:58:56 -07:00
Rémi Verschelde
e55be041d8
Merge pull request #49833 from m4gr3d/add_support_for_custom_debug_keystore_master
...
Add support for custom debug keystore
2021-06-23 15:28:25 +02:00
Fabio Alessandrelli
b00c4a4360
[Net] Makes HTTPClient a custom instance class.
2021-06-23 14:10:45 +02:00
Fabio Alessandrelli
421e771012
[Net] Unify HTTPClient request and request_raw.
2021-06-23 13:53:43 +02:00
bruvzg
f7797bf1b3
[macOS] Fix custom mouse cursor not set after mouse mode change.
2021-06-23 10:51:01 +03:00
ne0fhyk
532b0e3462
Add support for custom debug keystore.
2021-06-22 10:05:55 -07:00
Rémi Verschelde
277db14b64
Merge pull request #49803 from naithar/feature/ios-plugin-multitype-plist-4.0
...
[4.0] [iOS] Support multiple `plist` types in plugin
2021-06-22 12:48:55 +02:00
Sergey Minakov
771e3aae1e
[iOS] Support multiple plist types
2021-06-21 18:17:41 +03:00
Niklas Higi
0c83a23ab5
Add "Keep screen on" feature to DisplayServerX11
2021-06-20 21:57:33 +02:00
Aaron Franke
0ce49800ac
Use mouse and joypad enums instead of plain integers
...
Also MIDIMessage
2021-06-20 11:54:24 -04:00
Aaron Franke
e919d894f8
Move many input enums to their own file
2021-06-20 11:53:01 -04:00
Lightning_A
e28fd07b2b
Rename instance()
->instantiate()
when it's a verb
2021-06-19 20:49:18 -06:00
Rémi Verschelde
d88be9b70c
Merge pull request #44806 from madmiraal/consolidate_json
...
Consolidate JSON, JSONParseResults and JSONParser into JSON
2021-06-19 21:45:34 +02:00
Marcel Admiraal
de2acbd495
Add adb output to error message when install fails
2021-06-19 17:46:57 +01:00
Marcel Admiraal
2bafcd3422
Consolidate JSON, JSONParseResults and JSONParser into JSON
...
Renames JSON.parse_string() to parse()
Renames JSON.decode_data() to stringify()
2021-06-19 08:01:40 +01:00
Fabio Alessandrelli
ad5bdaf5aa
[HTML5] JS callback functions now returns passed value.
...
JavaScript callbacks created via the `JavaScript.create_callback` method
used to always return void.
With this patch they return the value returned by the Godot function as
one would expect.
2021-06-18 17:47:48 +02:00
Gromph
c87e49d7bc
UWP: Keep upstream names for capabilities preset settings to avoid mismatch
...
The previous code used `camelcase_to_underscore` to prettify the names for
display in the export preset, but it leads to inconsistencies if we don't make
sure to do the reverse operation when writing to the `AppxManifest.xml`.
It's simpler to keep the same names as in the manifest, which is also what
users will see referenced in MS documentation.
Fixes #47900 .
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2021-06-17 12:59:17 +02:00
Rémi Verschelde
91d6382786
Merge pull request #49594 from bruvzg/macos_app_category
...
Add LSApplicationCategoryType to the template and export dialog.
2021-06-15 14:53:42 +02:00
Rémi Verschelde
88e671e0b7
Merge pull request #49592 from Faless/js/4.x_fix_sigs
...
[HTML5] Fix build without eval, library functions signatures.
2021-06-15 00:01:54 +02:00
Fabio Alessandrelli
a1cbb6daa6
[HTML5] Update eslint and jsdoc dependencies.
2021-06-14 13:42:03 +02:00
bruvzg
cb480376d8
Add LSApplicationCategoryType to the template and export dialog.
2021-06-14 14:28:34 +03:00
Fabio Alessandrelli
049b5159f1
[HTML5] Fix JS build without eval.
...
Also fix download_buffer return type.
2021-06-14 12:32:53 +02:00
Fabio Alessandrelli
9b7b0a28b9
[HTML5] Fix some JS library signature.
2021-06-14 12:32:32 +02:00
Rémi Verschelde
ac73059b56
Merge pull request #49123 from aaronfranke/it-is-time
...
Add a Time singleton
2021-06-12 22:55:25 +02:00
Pedro J. Estébanez
04688b92ff
Rename Reference to RefCounted
2021-06-11 18:48:42 +02:00
Rémi Verschelde
8d4046929c
Merge pull request #49511 from akien-mga/core-diraccess-fileaccess-io
...
Core: Move DirAccess and FileAccess to `core/io`
2021-06-11 16:51:10 +02:00
Rémi Verschelde
6b0183ec89
Merge pull request #49279 from Calinou/rename-string-is-abs-path-method
...
Rename `String.is_abs_path()` to `String.is_absolute_path()`
2021-06-11 15:58:16 +02:00
Aaron Franke
f64fea1b23
Add Time singleton
2021-06-11 09:32:39 -04:00
Rémi Verschelde
9e328bb5b7
Core: Move DirAccess and FileAccess to core/io
...
File handling APIs are typically considered part of I/O, and we did have most
`FileAccess` implementations in `core/io` already.
2021-06-11 14:52:39 +02:00
Rémi Verschelde
bc1fcb9c65
Merge pull request #49435 from madmiraal/add-android-external-dir
...
Add OS.get_external_data_dir() to get Android external directory
2021-06-10 22:11:02 +02:00
Marcel Admiraal
b3a962945e
Add OS.get_external_data_dir() to get Android external directory
2021-06-10 16:48:17 +01:00
Marcel Admiraal
4ba2ed332e
Remove unused AudioDriverAndroid from Android
2021-06-10 08:32:56 +01:00
Arthur Bikmullin
ee2bea7a86
Fixed missed IDHandler dependency in GodotFetch
2021-06-08 00:20:24 +02:00
Rémi Verschelde
d567abd714
Merge pull request #49382 from akien-mga/misc-cleanup
...
Style: Cleanup uses of double spaces between words
2021-06-07 11:57:47 +02:00
Rémi Verschelde
c1c76850cb
Style: Cleanup uses of double spaces between words
...
Or after punctuation. Tried to leave third-party stuff alone, unless it has
been heavily modified for Godot.
2021-06-07 11:03:08 +02:00
Marcel Admiraal
78e791045c
Update Gradle archiveName and destinationDir properties
2021-06-07 06:41:10 +01:00
Marcel Admiraal
8acd13a456
Rename Quat to Quaternion
2021-06-04 18:14:32 +01:00
Rémi Verschelde
5d9cab3aeb
Merge pull request #38430 from aaronfranke/transform3d
2021-06-03 23:07:21 +02:00
Aaron Franke
98aa3b669e
Add MOUSE_MODE_CONFINED_HIDDEN
...
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2021-06-03 11:44:28 -04:00
Hugo Locurcio
5ea1c75d63
Rename String.is_abs_path()
to String.is_absolute_path()
...
This is more consistent with `NodePath.is_absolute()`.
2021-06-03 16:00:06 +02:00
Aaron Franke
08a85352fb
Rename Variant TRANSFORM to TRANSFORM3D
...
Also _transform to _transform3d
2021-06-03 07:30:01 -04:00
Hendrik Brucker
6abd842a5a
Fixed window_can_draw of DisplayServerWindows
2021-06-02 12:51:36 +02:00
Fabio Alessandrelli
8cdef21d6c
Move remaining dummy drivers to servers.
2021-06-01 16:50:32 +02:00
Fabio Alessandrelli
8594613f94
LinuxBSD now compiles without vulkan/x11.
2021-06-01 16:27:54 +02:00
Fabio Alessandrelli
ae04dac2db
Remove server platform
2021-06-01 16:27:54 +02:00
Rémi Verschelde
af3ee1c860
Merge pull request #48963 from HaywardMorihara/export-android-keystore-debug-warnings
...
Exporting -> Android: Keystore Warnings
2021-06-01 15:22:05 +02:00
Rémi Verschelde
596eb783fe
Merge pull request #49050 from reduz/implement-spirv-cache
...
Implement shader caching
2021-05-31 11:02:19 +02:00
Rémi Verschelde
f7bcada709
Merge pull request #49137 from RandomShaper/ios_targeted_family
...
Add iOS export option for device family
2021-05-31 10:34:49 +02:00
reduz
0d2e02945b
Implement shader caching
...
* Shader compilation is now cached. Subsequent loads take less than a millisecond.
* Improved game, editor and project manager startup time.
* Editor uses .godot/shader_cache to store shaders.
* Game uses user://shader_cache
* Project manager uses $config_dir/shader_cache
* Options to tweak shader caching in project settings.
* Editor path configuration moved from EditorSettings to new class, EditorPaths, so it can be available early on (before shaders are compiled).
* Reworked ShaderCompilerRD to ensure deterministic shader code creation (else shader may change and cache will be invalidated).
* Added shader compression with SMOLV: https://github.com/aras-p/smol-v
2021-05-31 10:13:09 +02:00
Pedro J. Estébanez
19ae8193ee
Add iOS export option for device family
2021-05-27 11:46:22 +02:00
Rémi Verschelde
ae5735af60
Merge pull request #49069 from RandomShaper/android_data_backup
...
Allow basic user data backup on Android
2021-05-25 18:06:46 +02:00
Rémi Verschelde
72a7ddaddc
Merge pull request #48422 from szymonm-google/android_orientation_fix
...
Fixed changing screen orientation on Android
2021-05-25 18:06:00 +02:00
Pedro J. Estébanez
1179421068
Allow basic user data backup on Android
2021-05-25 17:47:32 +02:00
Rémi Verschelde
6b6a351aa1
Merge pull request #49064 from RandomShaper/default_config_xcode
...
Set schemes' build config to debug/release in iOS Xcode export
2021-05-25 17:46:38 +02:00
Marcel Admiraal
da5d7db610
Rename File::get_len() get_length()
2021-05-25 11:54:28 +01:00
Rémi Verschelde
9bc2ba3b64
Merge pull request #48955 from Calinou/editor-tweak-property-hints
...
Tweak dozens of editor property hints for consistency
2021-05-25 11:44:43 +02:00
Pedro J. Estébanez
1534b4e65e
Set schemes' build config to debug/release in iOS Xcode export
2021-05-25 10:26:54 +02:00
Hugo Locurcio
87f503310b
Tweak dozens of editor property hints for consistency
...
- Update Viewport MSAA property hints to match the currently
exposed values.
- Add some performance hints to property hints.
2021-05-25 02:50:35 +02:00
Szymon Majewski
5634093703
Fixed screen orientation on Android
2021-05-24 16:58:35 -07:00
Nathaniel Morihara
2cf19293ba
Exporting: Android Debug Keystore Warnings
2021-05-24 19:48:29 -04:00
Rémi Verschelde
af03e9c830
Merge pull request #48939 from Calinou/screen-orientation-use-enum
...
Use an enum to represent screen orientation in the Project Settings
2021-05-24 19:53:19 +02:00
Hugo Locurcio
660952a857
Use an enum to represent screen orientation in the Project Settings
...
- Tweak the setting property hint to be more informative.
- Make the setting a "basic" setting so it appears when Advanced Settings
is disabled.
- Remove redundant orientation setting in the iOS export preset.
The project setting is now used (like on Android).
Projects upgrading from a previous version will have to set the
screen orientation again in the Project Settings if it wasn't set
to the default value ("landscape").
2021-05-24 18:53:10 +02:00
Rémi Verschelde
65eff1cfdd
Merge pull request #46866 from bruvzg/symlinks_and_macos_gdn_framework_export_4
2021-05-24 15:14:02 +02:00
bruvzg
a1cb6f07a1
Add GDNative Framework loading and export support.
2021-05-24 12:49:05 +03:00
bruvzg
d14eae141e
[macOS] Allow "on top" windows to enter full-screen mode.
2021-05-24 10:53:01 +03:00
Rémi Verschelde
43e843ac98
Merge pull request #48940 from omar-polo/add-openbsd
...
add OpenBSD to OS_LinuxBSD::get_name()
2021-05-22 18:35:42 +02:00
bruvzg
139a9d6370
Add symlink API to the DirAccess (on macOS and Linux).
2021-05-22 17:33:34 +03:00
bruvzg
494c54b98c
[UWP] Add missing get_scansym
argument.
2021-05-22 16:39:31 +03:00