Commit graph

29411 commits

Author SHA1 Message Date
PouleyKetchoupp
a2dd966301 Fix virtual keyboard height regression
Disabling virtual keyboard focus adjustement caused get_keyboard_height
to always return 0 because it was calculated when the view is resized.

In order to fix it, a PopupWindow is now created on top of the main view
and is set for focus adjustments so the keyboard size can be calculated
based on this popup without affecting the main view.
2020-07-24 19:54:06 +02:00
Rémi Verschelde
f6b6d51052
Merge pull request #40562 from nekomatata/osxcross-vulkan-layer
Fix Vulkan layer creation when compiling with OSXCross
2020-07-21 12:57:52 +02:00
Rémi Verschelde
15d07f489d
Merge pull request #40565 from akien-mga/enetgodot-style
ENetGodot: Apply clang-format and style guide
2020-07-21 12:57:32 +02:00
Rémi Verschelde
d78976b1d9
Merge pull request #40548 from nekomatata/osxcross-min-version-10.12
Set minimum osx version to 10.12 for OSXCross compilation
2020-07-21 12:57:12 +02:00
PouleyKetchoupp
08b0fd4330 Set minimum osx version to 10.12 for OSXCross compilation
Fixes this compilation error:

In file included from thirdparty/vulkan/vk_mem_alloc.cpp:7:
thirdparty/vulkan/vk_mem_alloc.h:3691:18: error: 'shared_mutex' is unavailable: introduced in macOS 10.12
            std::shared_mutex m_Mutex;
                 ^
/home/[user]/sources/osxcross/target/bin/../SDK/MacOSX10.14.sdk/usr/include/c++/v1/shared_mutex:178:58: note: 'shared_mutex' has been explicitly marked unavailable here
class _LIBCPP_TYPE_VIS _LIBCPP_AVAILABILITY_SHARED_MUTEX shared_mutex
2020-07-21 12:37:56 +02:00
PouleyKetchoupp
ce34b77c4a Fix MoltenVK layer creation when compiling with OSXCross 2020-07-21 12:37:20 +02:00
Rémi Verschelde
e060a28183
Merge pull request #40560 from akien-mga/tileseteditor-polygon-size-crash
TileSet Editor: Check polygon size before indexing
2020-07-21 11:54:21 +02:00
Rémi Verschelde
896e7193d8 ENetGodot: Apply clang-format and style guide 2020-07-21 11:48:14 +02:00
Rémi Verschelde
6f428f2494 TileSet Editor: Check polygon size before indexing
Fixes #39722.
2020-07-21 11:18:19 +02:00
Rémi Verschelde
fa3ac7deae
Merge pull request #40563 from akien-mga/travis-pin-emscripten-1.39.19
Travis: Pin Emscripten version to 1.39.19
2020-07-21 11:07:23 +02:00
Rémi Verschelde
ca325856cf Travis: Pin Emscripten version to 1.39.19
1.39.20 dropped support for the no-embedded mode we use since #39168,
as our detection logic hasn't been fixed yet to support the embedded
mode.
2020-07-21 10:02:59 +02:00
Rémi Verschelde
15a97679bb
Merge pull request #40476 from Calinou/doc-visibilitynotifier
Improve the VisibilityNotifier and VisibilityEnabler class descriptions
2020-07-20 23:50:08 +02:00
Rémi Verschelde
ca5033e8ab
Merge pull request #40463 from Calinou/doc-editorsettings
Complete the EditorSettings class documentation
2020-07-20 23:48:23 +02:00
Rémi Verschelde
2334a1cf19
Merge pull request #40493 from Calinou/doc-editor-plugins-interfaces
Document several editor-related classes to 100% completion
2020-07-20 23:47:50 +02:00
Rémi Verschelde
6746f8b890
Merge pull request #40477 from Calinou/doc-vector-dot
Document `Vector2.dot()` and `Vector3.dot()` more extensively
2020-07-20 23:46:28 +02:00
Rémi Verschelde
b7aa474680
Merge pull request #40422 from amanj120/forward_port_bundle_pr_resources
Create strings.xml files in the Gradle project to handle localization
2020-07-20 22:26:44 +02:00
Rémi Verschelde
80a8a36ca1
Merge pull request #39801 from ChristopheLY/tween-bool-state
bug with Tween.is_active, fixes #39760
2020-07-20 22:23:43 +02:00
Rémi Verschelde
0a1dd5b6e4
Merge pull request #38763 from fire/38751
Allow gltf2 morph targets including animations with no default value…
2020-07-20 22:22:16 +02:00
Chistpohe LY
d60617de10 bug with Tween.is_active, fixes #39760 2020-07-20 19:36:02 +02:00
Rémi Verschelde
aada93afc0
Merge pull request #40491 from RandomShaper/font_avail_chars
Add DynamicFont::get_available_chars()
2020-07-20 19:18:53 +02:00
Pedro J. Estébanez
80a5df4821 Add DynamicFont::get_available_chars() 2020-07-20 17:44:39 +02:00
Rémi Verschelde
173ebe4872
Merge pull request #40484 from nekomatata/android-virtual-keyboard-adjustment
Disable virtual keyboard focus adjustment on Android
2020-07-20 17:05:12 +02:00
Rémi Verschelde
818bfbc5b5
Merge pull request #40161 from vnen/classdb-info-methods
Add methods in ClassDB to get property/method/constant/enum info
2020-07-20 16:29:33 +02:00
Rémi Verschelde
0e1c235d95
Merge pull request #40468 from asmaloney/spelling-code
Fix spelling of a var, a struct, and some message output
2020-07-20 15:51:05 +02:00
Rémi Verschelde
0d4838950d
Merge pull request #40542 from Calinou/doc-httpclient-cors
Document HTML5 CORS restrictions in HTTPClient and HTTPRequest
2020-07-20 15:27:18 +02:00
Hugo Locurcio
90db42d9db Document HTML5 CORS restrictions in HTTPClient and HTTPRequest
See https://github.com/godotengine/godot/issues/40247.
2020-07-20 15:15:55 +02:00
Rémi Verschelde
d520755bbc
Merge pull request #40424 from SecretPanda420/patch-1
Add GitHub Actions badge to README.md
2020-07-20 14:58:49 +02:00
Rémi Verschelde
5697a9a9d0
Merge pull request #40489 from madmiraal/fix-40381
Use difference in position to check whether motion in Bullet is too close to zero.
2020-07-20 14:53:00 +02:00
Rémi Verschelde
0edb49ad16
Merge pull request #40500 from KoBeWi/inspector_magic
Convert some resource types in the inspector
2020-07-20 14:50:06 +02:00
Hugo Locurcio
fb2e4d77eb Document several editor-related classes to 100% completion 2020-07-20 14:48:42 +02:00
Hugo Locurcio
1554fce23c Document Vector2.dot() and Vector3.dot() more extensively
These methods are commonly used in games. It's time to make the
documentation more explicit about them :)
2020-07-20 14:20:17 +02:00
Rémi Verschelde
639252d0f8
Merge pull request #40409 from Calinou/doc-control-rect-scale
Document caveats related to Control scaling
2020-07-20 13:56:50 +02:00
Rémi Verschelde
fe1ec3beab
Merge pull request #40521 from Xrayez/doc-cmdline-parsing
Document the process of parsing command-line arguments
2020-07-20 13:55:30 +02:00
Rémi Verschelde
84fe3d7df5
Merge pull request #40528 from nathanfranke/fix-directory-make-dir
Fix Directory make_dir and make_dir_recursive
2020-07-20 13:53:51 +02:00
Rémi Verschelde
474333e9a0
Merge pull request #40524 from KoBeWi/loop_destroyer
Prevent infinite loop in Tree incremental search
2020-07-20 13:51:07 +02:00
Rémi Verschelde
b62db93ba4
Merge pull request #40520 from KoBeWi/selection_fail
Prevent multiple Controls moving inside container
2020-07-20 13:49:47 +02:00
Nathan Franke
210ccb3a75
Fix Directory make_dir and make_dir_recursive 2020-07-20 06:38:10 -05:00
Tomasz Chabora
fb8b399ddf Convert some resource types in the inspector 2020-07-20 13:22:22 +02:00
Tomasz Chabora
e44c9101da Prevent multiple Controls moving inside container 2020-07-20 13:22:13 +02:00
Tomasz Chabora
c0479496fa Prevent infinite loop in Tree incremental search 2020-07-20 13:22:00 +02:00
PouleyKetchoupp
d7aaec8ffe Disable virtual keyboard focus adjustment on Android
Fixes #37190

The default adjustment setting was causing the view to pan down in order
to adjust the focus on the text content.

We don't need any focus adjustment since we're using a fixed size window
for our application.

Documentation:
https://developer.android.com/reference/android/view/WindowManager.LayoutParams#SOFT_INPUT_ADJUST_NOTHING
2020-07-20 12:04:02 +02:00
Rémi Verschelde
d14932aeca
Merge pull request #40536 from akien-mga/stb_vorbis-1.20
stb_vorbis: Update to upstream version 1.20
2020-07-20 11:59:50 +02:00
Rémi Verschelde
8dffca4196 stb_vorbis: Update to upstream version 1.20
Upstreams our crash fixes from #38422 and #40174.
2020-07-20 11:18:26 +02:00
Rémi Verschelde
115ad47a0c
Merge pull request #40535 from akien-mga/ci-drop-appveyor-travis-desktop
CI: Drop AppVeyor and desktop Travis builds
2020-07-20 11:17:36 +02:00
Andrii Doroshenko (Xrayez)
df80e259cd Document the process of parsing command-line arguments
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2020-07-20 12:09:46 +03:00
Rémi Verschelde
431930bd09 CI: Drop AppVeyor and desktop Travis builds
These have been replaced by GitHub Actions.
The remaining Travis builds will also be ported eventually.
2020-07-20 10:35:53 +02:00
Rémi Verschelde
862c877f43
Merge pull request #40510 from RevoluPowered/fix-github-linux-builds
fix github actions source repository down for linux [urgent]
2020-07-20 10:30:13 +02:00
RevoluPowered
d560f654ff fix CI builds on linux by using ubuntu default apt repositories 2020-07-20 09:51:12 +02:00
Marcel Admiraal
ec92a26d08 Use difference in position to check whether motion in Bullet is too close
to zero.
2020-07-18 13:15:10 +01:00
Hugo Locurcio
ce57cc43dd
Improve the VisibilityNotifier and VisibilityEnabler class descriptions 2020-07-18 00:30:30 +02:00