Anshul7sp1
91181c2086
Fixes small typos and grammar correction
2021-03-12 19:05:16 +05:30
Aitor Cereceto
1e820b3d9d
[46188] fix: get unix from datetime when empty dict
2021-03-12 09:27:21 +01:00
Gilles Roudière
ba1344408f
Implement Navigation layers
2021-03-10 11:23:06 +01:00
Rémi Verschelde
83b1acdc60
Merge pull request #45545 from abaire/relaxes_gltf_name_sanitization
...
Relaxes node name sanitization in gltf documents.
2021-03-09 14:54:33 +01:00
bruvzg
741e1cf672
Move caller_id init to Thread constructor to fix UWP build.
2021-03-09 08:40:30 +02:00
Rémi Verschelde
afd0df7921
Merge pull request #46386 from KoBeWi/projekt_settingz
...
Clarify ProjectSettings.save for exported projects
2021-03-07 10:17:59 +01:00
kobewi
156c402f2b
Allow to save override.cfg with ProjectSettings
2021-03-07 01:21:44 +01:00
bruvzg
9887c2b4f0
Improve thread IDs to avoid collisions with threads not created by the Godot API.
2021-03-07 00:17:20 +02:00
Ev1lbl0w
1f0b60c47d
Fix negative VRAM values
2021-03-05 21:48:20 +00:00
Alex Hirsch
6985967c3b
Add missing ERR_FAIL_INDEX check to Variant::construct
...
Other functions in the same file validate parameters using the ERR_FAIL
macros. This validation was missing for Variant::construct resulting in
a crash when called with invalid data (p_type < 0).
fix #46067
2021-03-04 18:50:37 +01:00
Rémi Verschelde
614566ddb5
RemoteDebugger: Fix possible division by zero
2021-03-04 12:55:53 +01:00
Pedro Rodrigues
a3a731ed92
Fix crash on HTTPClient::poll method
...
The problem happened because `poll` assumed that when the SSL flag was
true, the `connection` would be a subclass of StreamPeerSSL. However
that invariant could be broken by calling HTTPClient::set_connection
with a `connection` that is not a subclass of StreamPeerSSL.
Fixes #46138
2021-03-03 21:00:30 +00:00
Rémi Verschelde
8fbe644b6e
Merge pull request #46423 from kleonc/color_from_hsv_fix
...
Make Color::from_hsv use Color::set_hsv
2021-03-01 19:37:58 +01:00
bruvzg
76b653528d
JSON parser: add UTF-16 surrogate pairs support.
2021-03-01 13:23:12 +02:00
Mateo Kuruk Miccino
89283b7b53
Logger: Cache 'flush_stdout_on_print' to improve performance, and works before ProjectSettings starts.
...
ProjectSetting: Now 'application/run/flush_stdout_on_print' requires a restart of the Editor to take effect
2021-02-28 19:36:10 -03:00
Mateo Kuruk Miccino
472673b38d
ResourceLoader: Fix inverse 'if' on the cache mode
2021-02-27 21:53:27 -03:00
Fabio Alessandrelli
dfbeb5ae29
Fix thread_process_array when NO_THREADS.
2021-02-26 12:13:20 +01:00
Rémi Verschelde
94f78f276b
Merge pull request #45061 from razonixx/Add_warning_when_dir_is_inaccesible
...
Add descriptive error message when trying to access a dir fails
2021-02-25 22:39:59 +01:00
Rémi Verschelde
f3f6c62b14
Merge pull request #46424 from RandomShaper/fix_no_threads
...
Fix SafeNumeric::conditional_increment() for NO_THREADS
2021-02-25 22:31:32 +01:00
Carlos Cabello
edb8c11970
Add descriptive error message when trying to access a dir fails
2021-02-25 22:24:21 +01:00
Pedro J. Estébanez
b1edb69249
Fix SafeNumeric::conditional_increment() for NO_THREADS
2021-02-25 21:22:01 +01:00
Rémi Verschelde
6ef0538f18
Merge pull request #38929 from touilleMan/exit-status-on-godot-error
...
Fix Godot returned status code on unexpected error
2021-02-25 21:16:34 +01:00
kleonc
b59a06da25
Make Color::from_hsv use Color::set_hsv
2021-02-25 19:50:43 +01:00
Emmanuel Leblond
60d2c1fd47
Remove GDScript bindings for OS.get/set_exit_code, SceneTree.quit(<exit_code>) should be used instead
2021-02-25 18:34:50 +01:00
Emmanuel Leblond
0e4abcb77f
Fix Godot returned status code on unexpected error
2021-02-25 18:01:37 +01:00
Rémi Verschelde
5d8025ec66
Merge pull request #38844 from hbina/patch-5
...
Avoid copying vector in constructor of PathMD5
2021-02-25 17:49:47 +01:00
Hugo Locurcio
355803db1b
Improve the OS.get_environment()
/OS.set_environment()
documentation
2021-02-25 15:38:51 +01:00
Rémi Verschelde
ba048b8b6e
Merge pull request #46414 from RandomShaper/fix_thread_self_join
...
Prevent thread wait on itself for finish
2021-02-25 14:27:20 +01:00
Bastiaan Olij
4c8f5b998f
Expose set_environment to GDScript
2021-02-25 23:36:14 +11:00
Pedro J. Estébanez
afc5af8dfa
Prevent thread wait on itself for finish
2021-02-25 13:16:27 +01:00
Rémi Verschelde
c0614bc059
Merge pull request #46401 from kleonc/geometry2d_make_atlas_crash_fix
...
Geometry2D::make_atlas Fail is passed invalid rect size
2021-02-25 07:18:39 +01:00
kleonc
988f4cdc90
Geometry2D::make_atlas Fail is passed invalid rect size
2021-02-24 23:38:30 +01:00
Rafał Mikrut
bb6ece1450
Change CRASH_COND to ERR_FAIL in Cowdata::set
2021-02-24 21:36:08 +01:00
abaire
61cc1c8624
Relaxes Node naming constraints in glTF documents to match the Editor.
2021-02-24 08:22:27 -08:00
Rémi Verschelde
65305ea001
Merge pull request #46371 from EricEzaM/PR/fix-osx-inputmap-spammed-errors
...
Fixed 'nonexistent action' errors spammed at startup on OSX
2021-02-24 16:52:52 +01:00
Eric M
d91e915d79
Fixed 'nonexistent action' errors spammed at startup on OSX
2021-02-24 23:16:22 +10:00
Liz Haas
2aee71d52d
Input: Throw error if action doesn't exist
...
Thow errors if requesting an unexisting InputMap action.
Makes `Input.is_action_*` methods consistents with `Event.is_action_*` which already throw errors.
fixes #33303
2021-02-24 13:49:21 +01:00
Rémi Verschelde
049d654c49
Merge pull request #46354 from reduz/importer-defaults-editor
...
Added Import Defaults Editor in Project Settings
2021-02-24 13:19:05 +01:00
Rémi Verschelde
5a10f52ee8
Merge pull request #45914 from HenryWConklin/45841-xml-entities
...
Add support for numeric XML entities to XMLParser
2021-02-24 13:03:46 +01:00
Rémi Verschelde
19bfbcfec2
Merge pull request #46195 from AndyBarcia/FixLanguageCodesIncosistencies
...
Fix some inconsistent ISO-639 language codes
2021-02-24 11:52:08 +01:00
reduz
b6fce5d750
Added Import Defaults Editor in Project Settings
...
-Change importer defaults in project settings.
-Ability to change them or reset them.
2021-02-23 14:18:02 -03:00
George Marques
f1088e1b70
Bind ClockDirection enum
...
It's the only enum in math_defs.h not bound, and it's used by Plane.
2021-02-23 13:56:28 -03:00
Rémi Verschelde
e254715e79
Merge pull request #46316 from akien-mga/input-ui_redo-swap-order
...
Input: Swap events for ui_redo to favor Shift+Ctrl+Z over Ctrl+Y
2021-02-23 08:10:37 +01:00
Delf Neumärker
f054f760e6
Fix unchecked array access in build_*_planes
2021-02-22 16:32:51 +01:00
Rémi Verschelde
12cc660d7d
Input: Swap events for ui_redo to favor Shift+Ctrl+Z over Ctrl+Y
...
That's the most common one we've been using for the general editor, and while the script editor
also supports Ctrl+Y, it should have lower priority.
In theory this code should make both be supported the same but for some reason the general editor
only seems to use the first entry (the script editor does support both).
2021-02-22 15:04:09 +01:00
Rémi Verschelde
efddb8a0cb
Merge pull request #46194 from Calinou/os-delay-no-negative
...
Don't allow negative values for `OS.delay_usec()`/`OS.delay_msec()`
2021-02-19 15:14:36 +01:00
Rémi Verschelde
0d1d719178
doc: Sync classref with current source
...
And fix various bogus bindings following previous PRs.
2021-02-19 14:39:14 +01:00
Pedro J. Estébanez
e3ec31f999
Improve robustness of atomics
...
And fix increment in `CowData` not being conditional anymore after the recent changes.
Co-authored-by: Hein-Pieter van Braam-Stewart <hp@tmm.cx>
2021-02-19 03:05:56 +01:00
Hugo Locurcio
76f1f9b3c5
Don't allow negative values for OS.delay_usec()
/OS.delay_msec()
...
This closes #46190 .
2021-02-18 23:01:45 +01:00
andybarcia
476df5e198
Fixes some inconsistent ISO-639 language codes
...
And also adds tmz (Central Atlas Tamazight) as a language
2021-02-18 22:58:43 +01:00