summaryrefslogtreecommitdiff
path: root/core
AgeCommit message (Collapse)Author
2021-03-01Merge pull request #46423 from kleonc/color_from_hsv_fixRémi Verschelde
Make Color::from_hsv use Color::set_hsv
2021-03-01JSON parser: add UTF-16 surrogate pairs support.bruvzg
2021-02-28Logger: Cache 'flush_stdout_on_print' to improve performance, and works ↵Mateo Kuruk Miccino
before ProjectSettings starts. ProjectSetting: Now 'application/run/flush_stdout_on_print' requires a restart of the Editor to take effect
2021-02-27ResourceLoader: Fix inverse 'if' on the cache modeMateo Kuruk Miccino
2021-02-26Fix thread_process_array when NO_THREADS.Fabio Alessandrelli
2021-02-25Merge pull request #45061 from razonixx/Add_warning_when_dir_is_inaccesibleRémi Verschelde
Add descriptive error message when trying to access a dir fails
2021-02-25Merge pull request #46424 from RandomShaper/fix_no_threadsRémi Verschelde
Fix SafeNumeric::conditional_increment() for NO_THREADS
2021-02-25Add descriptive error message when trying to access a dir failsCarlos Cabello
2021-02-25Fix SafeNumeric::conditional_increment() for NO_THREADSPedro J. Estébanez
2021-02-25Merge pull request #38929 from touilleMan/exit-status-on-godot-errorRémi Verschelde
Fix Godot returned status code on unexpected error
2021-02-25Make Color::from_hsv use Color::set_hsvkleonc
2021-02-25Remove GDScript bindings for OS.get/set_exit_code, ↵Emmanuel Leblond
SceneTree.quit(<exit_code>) should be used instead
2021-02-25Fix Godot returned status code on unexpected errorEmmanuel Leblond
2021-02-25Merge pull request #38844 from hbina/patch-5Rémi Verschelde
Avoid copying vector in constructor of PathMD5
2021-02-25Improve the `OS.get_environment()`/`OS.set_environment()` documentationHugo Locurcio
2021-02-25Merge pull request #46414 from RandomShaper/fix_thread_self_joinRémi Verschelde
Prevent thread wait on itself for finish
2021-02-25Expose set_environment to GDScriptBastiaan Olij
2021-02-25Prevent thread wait on itself for finishPedro J. Estébanez
2021-02-25Merge pull request #46401 from kleonc/geometry2d_make_atlas_crash_fixRémi Verschelde
Geometry2D::make_atlas Fail is passed invalid rect size
2021-02-24Geometry2D::make_atlas Fail is passed invalid rect sizekleonc
2021-02-24Change CRASH_COND to ERR_FAIL in Cowdata::setRafał Mikrut
2021-02-24Merge pull request #46371 from EricEzaM/PR/fix-osx-inputmap-spammed-errorsRémi Verschelde
Fixed 'nonexistent action' errors spammed at startup on OSX
2021-02-24Fixed 'nonexistent action' errors spammed at startup on OSXEric M
2021-02-24Input: Throw error if action doesn't existLiz Haas
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-24Merge pull request #46354 from reduz/importer-defaults-editorRémi Verschelde
Added Import Defaults Editor in Project Settings
2021-02-24Merge pull request #45914 from HenryWConklin/45841-xml-entitiesRémi Verschelde
Add support for numeric XML entities to XMLParser
2021-02-24Merge pull request #46195 from AndyBarcia/FixLanguageCodesIncosistenciesRémi Verschelde
Fix some inconsistent ISO-639 language codes
2021-02-23Added Import Defaults Editor in Project Settingsreduz
-Change importer defaults in project settings. -Ability to change them or reset them.
2021-02-23Bind ClockDirection enumGeorge Marques
It's the only enum in math_defs.h not bound, and it's used by Plane.
2021-02-23Merge pull request #46316 from akien-mga/input-ui_redo-swap-orderRémi Verschelde
Input: Swap events for ui_redo to favor Shift+Ctrl+Z over Ctrl+Y
2021-02-22Fix unchecked array access in build_*_planesDelf Neumärker
2021-02-22Input: Swap events for ui_redo to favor Shift+Ctrl+Z over Ctrl+YRémi Verschelde
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-19Merge pull request #46194 from Calinou/os-delay-no-negativeRémi Verschelde
Don't allow negative values for `OS.delay_usec()`/`OS.delay_msec()`
2021-02-19doc: Sync classref with current sourceRémi Verschelde
And fix various bogus bindings following previous PRs.
2021-02-19Improve robustness of atomicsPedro J. Estébanez
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-18Don't allow negative values for `OS.delay_usec()`/`OS.delay_msec()`Hugo Locurcio
This closes #46190.
2021-02-18Fixes some inconsistent ISO-639 language codesandybarcia
And also adds tmz (Central Atlas Tamazight) as a language
2021-02-18Merge pull request #46131 from bruvzg/move_tablet_to_dsRémi Verschelde
Move tablet driver API from OS to DisplayServer
2021-02-18Merge pull request #45617 from RandomShaper/modernize_atomicsRémi Verschelde
Modernize atomics (and fix `volatile`)
2021-02-18Modernize atomicsPedro J. Estébanez
- Based on C++11's `atomic` - Reworked `SafeRefCount` (based on the rewrite by @hpvb) - Replaced free atomic functions by the new `SafeNumeric<T>` - Replaced wrong cases of `volatile bool` by the new `SafeFlag` - Platform-specific implementations no longer needed Co-authored-by: Hein-Pieter van Braam-Stewart <hp@tmm.cx>
2021-02-18Removed hardcoded shortcuts from /scene and converted to input actionsEric M
This removes hardcoded actions from things like LineEdit and TextEdit. Previously, things like copy, paste, etc were all hardcoded to Ctrl+C, Ctrl+V, etc. They could not be changed. This allows the possibility of them being changed, by making them use the action map. This has the added benefit of greatly simplifying the input handling logic in those controls. The logic which was previously in a huge and hard to follow switch statement has been extracted to individual methods.
2021-02-18Added ability to override built-in actions for the editorEric M
This adds the ability to add overrides for built-in actions (i.e. ui_*) in the editor. Also added a number of additional built-in actions for various text-related actions, gui-generic actions (like copy and paste) and graph-related actions (duplicate nodes), etc. Moved the definition of input actions to input_map, rather than in project_settings so the editor can make use of these actions as well.
2021-02-18Added convenience create_reference methods for Key and JoyButton inputsEric M
2021-02-18Move tablet driver API from OS to DisplayServer.bruvzg
2021-02-18Reorganize Project Settingsreduz
-Advanced Settings toggle also hides advanced properties when disabled -Simplified Advanced Bar (errors were just plain redundant) -Reorganized rendering quality settings. -Reorganized miscelaneous settings for clean up.
2021-02-16Use Vector3.UP as a default value for look_at's up vectorAaron Franke
2021-02-16Added signed_angle_to for Vector3JestemStefan
2021-02-15Merge pull request #44355 from ↵Rémi Verschelde
EricEzaM/PR/fix-action-false-positives-and-allow-checking-exact-matches Allow checking for exact matches with Action events.
2021-02-14Add support for numeric XML entities to XMLParserHenry Conklin
* Add support for decimal numeric entities to String::xml_unescape * Add more error checks to String::xml_unescape * Refactor XMLParser to use String::xml_unescape instead of an internal implementation
2021-02-13Don't save project settings when not necessarykobewi