Commit graph

28665 commits

Author SHA1 Message Date
Rémi Verschelde
d0b89c42bf
Merge pull request #39286 from akien-mga/gamepad-update-controllerdb
Sync controller mappings DB with SDL2 community repo
2020-06-05 11:19:11 +02:00
Rémi Verschelde
06a2fb0bac
Merge pull request #39293 from madmiraal/fix-27921
Correct misspellings of damped spring.
2020-06-05 11:04:46 +02:00
Rémi Verschelde
399c88dcaa
Merge pull request #39289 from mbrlabs/shader-has-param-fix
Add "shader_param/" prefix in Shader::has_param()
2020-06-05 11:04:23 +02:00
Rémi Verschelde
150ba031de
Merge pull request #39276 from ThakeeNathees/predefined-check-for-loop-counter
Added predefined var check for `for` loop counter
2020-06-05 11:01:55 +02:00
unknown
c9edc82b3b Remove unused function get_key_value_ptr_array from hash_map.h and also fix parameter name in function get_key_list. 2020-06-05 13:13:42 +05:30
johan
fea6ca20c9 2D Editor: modified zoom increment to the twelveth root of two
- properly visit power of 2 factors (50%, 100%, 200%...)
- index based zoom values to prevent floating point issues
- Fix 2d editor not able to reach min and max zoom values
2020-06-04 21:48:55 -04:00
Fredia Huya-Kouadio
2bf1f8e4b3 Add support for focus awareness 2020-06-04 15:49:55 -07:00
Hugo Locurcio
30053de182
Tweak the GDScript error message about passed argument type mismatch
This makes it less confusing.

This closes https://github.com/godotengine/godot-proposals/issues/670.
2020-06-04 22:31:37 +02:00
Fabio Alessandrelli
0a35b97b62 Swtich HTML5 key detection from keyCode to code.
The value of this, does not include the layout.
The code has extra logic to map the unicode value to our keylist,
supporting ASCII and Latin-1.
Also add support for `physical_keycode` in HTML5 platform.
2020-06-04 21:15:05 +02:00
Fabio Alessandrelli
39bcbf5690 Fix WebRTCPeerConnection set_local_description doc
ice_candidate_created should be emitted after set_local_description no
matter the type of the description (assuming no error is returned of
course).
2020-06-04 21:10:34 +02:00
Marcel Admiraal
b5e31b70dc Correct misspellings of damped spring. 2020-06-04 18:07:24 +01:00
Marcus Brummer
ffbb211bbe Set "shader_param/" prefix in Shader::has_param() 2020-06-04 17:41:10 +02:00
Rémi Verschelde
c0ff2a388d
Merge pull request #39281 from mbrlabs/check-android-release-keystore
Check if the specified Android release keystore exists
2020-06-04 16:24:24 +02:00
Rémi Verschelde
938334cc9e Sync controller mappings DB with SDL2 community repo
Synced with gabomdq/SDL_GameControllerDB@6191f6333b.
2020-06-04 15:52:27 +02:00
Rémi Verschelde
b8ff8fe85c
Merge pull request #39284 from mbrlabs/editornode-execute-output-selection
Enable text selection in the execute output of EditorNode
2020-06-04 15:45:36 +02:00
Marcus Brummer
85175c67b8 Enable text selection in execute output of EditorNode 2020-06-04 14:38:55 +02:00
Marcus Brummer
21263a65a9 Check if the specified Android release keystore exists 2020-06-04 13:37:14 +02:00
Rémi Verschelde
f05b4fea33
Merge pull request #39099 from YeldhamDev/create_dialog_icon_fallback
Add fallback icons and make custom ones appear in the recent/favorites list in the "Create New" dialog
2020-06-04 11:58:55 +02:00
Rémi Verschelde
6a7b55805b
Merge pull request #39041 from swarnimarun/patch-1
Fix crashing of VisualScript due to function change
2020-06-04 11:55:12 +02:00
Rémi Verschelde
f66eed7d58
Merge pull request #38924 from Calinou/tweak-import-compression-hint
Tweak the import compression property hint for clarity
2020-06-04 11:48:40 +02:00
Rémi Verschelde
c47a6f6325
Merge pull request #39060 from madmiraal/fix-38869
Update Windows GUID to SDL uid conversion.
2020-06-04 11:40:57 +02:00
Rémi Verschelde
f1d9d50da1
Merge pull request #39154 from dreamsComeTrue/sync-script-change-remember
Preserving "Sync Scene Changes" & "Sync Script Changes" with Project Settings
2020-06-04 11:11:35 +02:00
Rémi Verschelde
d642cc1d70
Merge pull request #39271 from RandomShaper/fix_atlas_crop
Fix excessive bottom cropping in atlas generation
2020-06-04 11:09:59 +02:00
Rémi Verschelde
910ddd2817 Update AUTHORS and DONORS list
New contributor added to AUTHORS:
@jbuck3

Thanks to all contributors and donors for making Godot possible!
2020-06-04 11:04:23 +02:00
Rémi Verschelde
4ac78e6a5f doc: Sync classref with current source 2020-06-04 10:07:56 +02:00
Thakee Nathees
e153772de2 predefined var check for for loop counter 2020-06-04 10:37:22 +05:30
Hugo Locurcio
bbc435624f
Add visual feedback when hovering layer checkboxes in the Inspector
This also changes how checkboxes are selected, which makes it possible
to click in the small area between two checkboxes and
still toggle a value successfully (which is arguably less frustrating).
2020-06-03 23:15:59 +02:00
Rémi Verschelde
243cb503e1
Merge pull request #39204 from Calinou/distraction-free-property-getter
Add a getter and property for the editor distraction-free mode
2020-06-03 23:08:43 +02:00
Rémi Verschelde
19dc5c42d8
Merge pull request #37839 from MrRevington/3.2-_input_focus_check
FIX CodeTextEditor not respecting focus in _input
2020-06-03 22:49:45 +02:00
Rémi Verschelde
9a44dd6e1e
Merge pull request #39167 from Calinou/tileset-editor-zoom-mouse-wheel-anywhere
Allow mouse zooming without hovering the texture in the TileSet editor
2020-06-03 22:48:39 +02:00
Rémi Verschelde
8fc6766d72
Merge pull request #39165 from Calinou/tilemap-editor-zoom-mouse-wheel
Implement zooming using Ctrl + Mouse wheel in the TileMap editor
2020-06-03 22:48:22 +02:00
Rémi Verschelde
1a5d472be5
Merge pull request #39270 from Phischermen/fix-mesh-property-list
Update property hint from ArrayMesh to be consistent with other property hints
2020-06-03 22:47:55 +02:00
Rémi Verschelde
176e6a0be3
Merge pull request #39262 from aaronfranke/ok
Change OK text in snap dialog to OK
2020-06-03 22:47:18 +02:00
Rémi Verschelde
7c3dc855ca
Merge pull request #39164 from theoway/richlabeltext_align_bug
Fixes the right and center alignment bug of rich text label
2020-06-03 22:46:13 +02:00
Rémi Verschelde
b1b49d966d
Merge pull request #39009 from Calinou/improve-script-editor-warnings-text
Improve the text appearance in the script editor warnings panel
2020-06-03 22:44:37 +02:00
Rémi Verschelde
0b76417d81
Merge pull request #36366 from dreamsComeTrue/fix-rich-text-label-scroll
RichTextLabel: allow 'scroll_to_line' when scroll_active is 'false'
2020-06-03 22:32:36 +02:00
Rémi Verschelde
a3328bcead
Merge pull request #39264 from Chaosus/fix_length
Fix shader's length() function parsing in expressions
2020-06-03 22:28:36 +02:00
Pedro J. Estébanez
fb7ae73045 Fix excessive bottom cropping in atlas generation 2020-06-03 22:24:49 +02:00
Hugo Locurcio
cc1859efed
Add a getter and property for the editor distraction-free mode 2020-06-03 22:18:49 +02:00
Hugo Locurcio
def2059d67
Implement zooming using Ctrl + Mouse wheel in the TileMap editor
This was previously implemented in the GridMap editor. This makes
the same feature available in the TileMap editor.
2020-06-03 22:17:13 +02:00
Hugo Locurcio
d10a5b2928
Allow mouse zooming without hovering the texture in the TileSet editor
This partially addresses
https://github.com/godotengine/godot-proposals/issues/968.
2020-06-03 22:16:36 +02:00
Phischermen
2fc274d572 Made property hint consistent with other property hints 2020-06-03 13:01:27 -07:00
Dominik 'dreamsComeTrue' Jasiński
8f11a91917 Allow scroll_to_line when scroll_active is 'false'
Fix #36134
2020-06-03 19:55:27 +02:00
Yuri Roubinsky
1a7e101324 Fix shader's length() function parsing in expressions 2020-06-03 19:39:48 +03:00
Umang Kalra
b2a32d007d Fixes the right and center alignment bug of rich text label 2020-06-03 21:37:48 +05:30
Aaron Franke
8f85858224
Change OK text in snap dialog to OK 2020-06-03 10:55:03 -04:00
Maganty Rushyendra
b7d835d9ca Enable zero padding with float specifier for format strings
Godot currently supports zero padding for integers, octals and
hexadecimals when using format strings, but not for floats.

This commit adds support for zero padding for floats, thus ensuring
consistent behavior for all types, and making Godot's format specifiers'
behavior closer to c's `printf()`.

Before: `print("<%07.2f>" % -0.2345)` prints `<  -0.23>`.
Now: `print("<%07.2f>" % -0.2345)` prints `<-000.23>`.
     `print("<%7.2f>" % -0.2345)` prints `<  -0.23>`.
2020-06-03 21:21:27 +08:00
Rémi Verschelde
dc67d0737b
Merge pull request #39257 from Chaosus/fix_integer_vectors_doc
Fix docs generation for Vector2i/Vector3i/Rect2i
2020-06-03 15:12:39 +02:00
Rémi Verschelde
4db1f1602c
Merge pull request #39254 from akien-mga/vulkan-init-declare
Vulkan: Initialize struct members on declaration
2020-06-03 14:40:15 +02:00
Rémi Verschelde
65a787111d
Merge pull request #39240 from akien-mga/scons-fix-multimedia-lib-deps
SCons: Validate dependencies for linked multimedia modules
2020-06-03 14:38:30 +02:00