27463 Commits

Author SHA1 Message Date
Rémi Verschelde
6477481e68
Merge pull request #41131 from totlmstr/3.2-missing-svg
[3.2] Add missing #ifdef SVG_ENABLED
2020-08-11 11:52:05 +02:00
Rémi Verschelde
702a16ffc4
Merge pull request #41146 from capnm/capnm-32x-pr41139
[3.2] Add option to disable virtual keyboard for TextEdit
2020-08-11 11:48:54 +02:00
Rémi Verschelde
efbeafd08c
Merge pull request #41041 from qarmin/leak_bullet_shape
[3.2] Fixes leak when creating bullet shape
2020-08-10 19:47:08 +02:00
Rémi Verschelde
bbb4999292
Merge pull request #41126 from Razoric480/fix-enum-line-number
Fix line num of enums reported as the line before
2020-08-10 19:25:01 +02:00
Martin Capitanio
71bad8dba6 Add option to disable virtual keyboard for TextEdit
Adding support for disabling virtual keyboard on mobile platforms, in
order to make it consistent with LineEdit.

It allows implementing a custom virtual keyboard.

See: https://github.com/godotengine/godot/pull/41139
2020-08-09 18:22:11 +02:00
totlmstr
f550af9da7 Add missing #ifdef SVG_ENABLED 2020-08-08 14:03:14 -07:00
Francois Belair
e3f16a83dc Fix line num of enums reported as the line before 2020-08-08 11:52:25 -04:00
Rafał Mikrut
808615ec3e Fixes leak when creating bullet shape 2020-08-05 10:08:05 +02:00
Rémi Verschelde
23b553ba06
Merge pull request #40914 from akien-mga/3.2-ci-emscripten-1.39.20
CI: Pin Emscripten version to 1.39.20 to fix regression
2020-07-31 14:29:22 +02:00
Rémi Verschelde
1244986f98 CI: Pin Emscripten version to 1.39.20 temporarily
1.40.0 introduced a regression for us:
https://github.com/emscripten-core/emscripten/issues/11771

This is not necessary in the master branch, presumably because
it doesn't build any WebGL code (yet).
2020-07-31 14:09:33 +02:00
Hugo Locurcio
fc7451204e Improve JSON-related documentation
This closes https://github.com/godotengine/godot-docs/issues/3848.

(cherry picked from commit 930e10ffffa5f1117a8816cfd93a7acd4fa3942d)
2020-07-31 13:09:21 +02:00
codetorex
3869b82bc1 Added missing information about File.open_encrypted function to docs.
(cherry picked from commit 3f6a7c74e3ebb3d8e0e204c8a68d110c5dc3991d)
2020-07-31 13:08:59 +02:00
TheDuriel
7e9b7b0462 Clarify TreeItem return values
(cherry picked from commit 0ff1ca4655863056240dc1e186bbeebf3d10b218)
2020-07-31 13:08:40 +02:00
Hugo Locurcio
7c728f0ee4 Add an example for creating a button in the Button class documentation
This closes https://github.com/godotengine/godot-docs/issues/3798.

(cherry picked from commit 8836c7203b1dd3a4a31db7a769cc656b87c240b4)
2020-07-31 13:08:24 +02:00
Rémi Verschelde
c49be9bf84
Merge pull request #40791 from nekomatata/android-keyboard-cleaning-3.2
[3.2] Move PopupWindow logic to GodotEditText on Android
2020-07-31 13:00:50 +02:00
Rémi Verschelde
f4d6830949
Merge pull request #40869 from clayjohn/3.2-polygon-aabb
Properly calculate polygon2D AABB with skeleton
2020-07-31 12:55:47 +02:00
clayjohn
32928c2112 Properly calculate polygon2D AABB with skeleton 2020-07-30 16:40:05 -07:00
Hugo Locurcio
78a6a57884 makerst: Add descriptions to method qualifiers
This closes https://github.com/godotengine/godot-docs/issues/1753.

(cherry picked from commit c162a39c7b915dd8ff592e0ca4f6a55160643ec2)
2020-07-30 22:46:16 +02:00
Marcel Admiraal
c8d8134288 Ensure CSG parent's _make_dirty() is called when entering a tree.
(cherry picked from commit 9be7b30f3536057b22fd70d5367268749c1a7ea9)
2020-07-30 22:45:17 +02:00
Hugo Locurcio
2987fb3b45 Improve the EditorInterface.get_editor_viewport() description
This closes https://github.com/godotengine/godot-docs/issues/1109.

(cherry picked from commit 60d40d84302b15ffe387030ef32067ad3520b359)
2020-07-30 16:27:11 +02:00
Hugo Locurcio
2494224f96 Link to Thread-safe APIs in the Thread class documentation
This closes https://github.com/godotengine/godot-docs/issues/2276.

(cherry picked from commit f50a4b8a3b30ed49757e7a8b180ef6a14ff0260a)
2020-07-30 16:26:55 +02:00
Rémi Verschelde
6d2f8dd827 doc: Sync classref with current source 2020-07-30 16:26:45 +02:00
Rémi Verschelde
19802f7dc0
Merge pull request #33646 from NeoSpark314/gles2_highp
Added option to enable high precision float in GLES2
2020-07-30 07:52:29 +02:00
Holger Dammertz
efe6b50f17 Added option to enable high precision float in GLES2
An additional project setting under rendering/gles2/compatibility with the name
enable_high_float.Android is introduced that enables #define USE_HIGHP_PRECISION
in GLES2 shader on Android when it is supported by the shader compiler.
This fixes #33633 and #32813 and also https://github.com/GodotVR/godot_oculus_mobile/issues/60
and https://github.com/GodotVR/godot_oculus_mobile/issues/68 on devices that
support the highp (high precision) modifier.
2020-07-30 05:40:15 +02:00
Fabio Alessandrelli
e36c100365 Fix crash in ENet changing refuse_new_connections
When the host is not started.

(cherry picked from commit e5f3159a2323d1b5da19ee77936c40e04ef776df)
2020-07-29 18:24:12 +02:00
Hugo Locurcio
4a0568b609 Document how to perform advanced string splitting using RegEx
This closes https://github.com/godotengine/godot-docs/issues/3607.

(cherry picked from commit 5f2b6bd476327d2319f1066ab002deec586df8ec)
2020-07-29 18:24:00 +02:00
Hugo Locurcio
bd76fcd43b Add an example to the CanvasItem.draw_string() documentation
This closes https://github.com/godotengine/godot-docs/issues/3374.

(cherry picked from commit 0c7735be5b3404b87a1801d7494dd2ac42e6571b)
2020-07-29 18:23:45 +02:00
Hugo Locurcio
b3effe5faa Fix incorrect key name in the Animation documentation code sample
This closes https://github.com/godotengine/godot-docs/issues/3841.

(cherry picked from commit 4257aa5c5c8cf9f93c20922da97e56ee0cc3d7bc)
2020-07-29 18:23:31 +02:00
Wilson E. Alvarez
4f9ca00294 Check if global class file still exists before registering it
(cherry picked from commit e264ae20d2a828201a50868b3af334a3f8c8a37c)
2020-07-29 18:23:03 +02:00
Rémi Verschelde
36b746d903
Merge pull request #40822 from Calinou/doc-canvasitem-draw_multiline_colors-antialiased
Document `CanvasItem.draw_multiline_colors()` not supporting width and AA
2020-07-29 12:45:17 +02:00
Hugo Locurcio
39ec3ad2e5 Document CanvasItem.draw_multiline_colors() not supporting width and AA 2020-07-29 11:45:49 +02:00
PouleyKetchoupp
ff0ada164b [3.2] Move PopupWindow logic to GodotEditText on Android 2020-07-28 21:03:55 +02:00
Rémi Verschelde
fe4aa393f0
Merge pull request #40803 from aaronfranke/3.2_revert-dir
[3.2] Revert "Fix Directory" PRs
2020-07-28 20:48:34 +02:00
Nathan Franke
b9e1db7e03
Revert "Fix Directory Open Check"
This reverts commit 3f898f52076f29ad564c0bec77019f0c792fae39.
2020-07-28 13:54:13 -04:00
Nathan Franke
9de0439a45
Revert "Follow-Up Fix Directory Open"
This reverts commit ec787f01340ff37840580dd21401456123670e83.
2020-07-28 13:53:57 -04:00
Nathan Franke
4c100a593f
Revert "Fix Directory make_dir and make_dir_recursive"
This reverts commit 9b36357544851afe5648220fd0a9a8e0197960a9.
2020-07-28 13:53:30 -04:00
Rémi Verschelde
ac2e7d87d1
Merge pull request #40786 from akien-mga/3.2-cherrypicks
Cherry-picks for the 3.2 branch (future 3.2.3) - 5th batch
2020-07-28 13:06:31 +02:00
Rémi Verschelde
ed20772c09 i18n: Sync translations with Weblate 2020-07-28 12:07:45 +02:00
Rémi Verschelde
e82e9588fd doc: Sync classref with current source 2020-07-28 11:50:39 +02:00
Rémi Verschelde
10544f1cf7 Revert "Move Bullet physics query flush from Bullet space pre-tick callback to"
This reverts commit e7d8464f87881af455d49e505d9a5bd9b3b3bf43.

Fixes #40508 regression.

This will be re-applied and the regression fixed for a future 3.2.x release.
2020-07-28 11:42:04 +02:00
ConorLPBoyle
ba3f0fa971 Fixed reload_goal not being called when SkeletonIK3D::start is invoked with p_one_time = true
(cherry picked from commit fa4d9c944637ae37c798806980cd78c806570da7)
2020-07-28 11:28:34 +02:00
Aaron Franke
40d118ce4a Fix incorrect comments in file formatting script
(cherry picked from commit 05a418f9e648191e45fbc8e4cd43cd0c1c56b56f)
2020-07-28 11:27:27 +02:00
Nhiqill
8d5dab5a05 Pop from front to avoid infinite loop with nested classes
(cherry picked from commit 42d1b4f38921af356e8912cf995cf2b5f73c3cbe)
2020-07-28 00:57:27 +02:00
Yuri Sizov
44ff9cdea5 Fix errors saving a 2D scene preview when the 2D editor was never opened
(cherry picked from commit e2b85b74a29e2a95c3d9c262e05bb4f166f45d26)
2020-07-28 00:56:20 +02:00
Fabio Alessandrelli
31c21b9750 Implement HTML5 cancel/ok button swap on Windows.
Platform is detected on init via the `navigator.platform` string.

(cherry picked from commit 0b286a287ca35275988f22a60f307521c5b08437)
2020-07-28 00:55:46 +02:00
Hugo Locurcio
451648c34d Improve visibility documentation for CanvasItem and Node3D
This closes https://github.com/godotengine/godot-docs/issues/3840.

(cherry picked from commit 27b09dfc44cd85f5620bac99d624a48f8adedd5a)
2020-07-28 00:53:16 +02:00
Marcel Admiraal
cdb3712992 Clarify the difference between contacts and collisions.
(cherry picked from commit 6f1c99e5b430adbb7f52922fb43ea0fde2a8e7cc)
2020-07-28 00:52:07 +02:00
Hugo Locurcio
b717a61903 Improve the Object, Reference and Resource class documentations
(cherry picked from commit 4275e6aad53c0662c208c899ebcadd1d7b3cbbaa)
2020-07-28 00:48:33 +02:00
Rémi Verschelde
518f109927 Script editor: Don't open dominant script in external editor
Fixes #13429.

(cherry picked from commits b5f110c77eaef5d9f1b3b0c9308a4eed65f04363,
6b3f013a82557624aac49b567f4a8139848aa40e, and
e016859c3b4a324ece0023c34faf9cfe9d729e21)
2020-07-28 00:47:24 +02:00
bruvzg
a2f034d3ab [macOS] Refocus last key window after DisplayServer::alert is closed.
(cherry picked from commit a05776e20da8220ea7af364bbffbd43cd4605981)
2020-07-28 00:45:06 +02:00