Commit Graph

34003 Commits

Author SHA1 Message Date
Fabio Alessandrelli 472482013e [HTML5] Add jsdoc2rst tool.
A template for `jsdoc` that generat the HTML5 public classref.

The script can be run via `npm run docs` to print to stdout.

You can dry run via `npm run docs -- --d dry-run` or write to file via
`npm run docs -- -d /path/to/file.rst`

Also update Makefile in `doc/` and add dry run test to CI.
2021-02-26 11:33:59 +01:00
Fabio Alessandrelli 018ee5a4dc [HTML5] Document Engine and EngineConfig (jsdoc).
This commit also removes the utils.js engine file, moving some of it's
content to config.js and some to engine.js .
2021-02-26 11:33:59 +01:00
Rémi Verschelde d7e6c20c82
Merge pull request #46443 from timothyqiu/doc-bsearch
Fixes typo in Array::bsearch_custom doc
2021-02-26 11:28:32 +01:00
Haoyu Qiu 31243e377f Fixes typo in Array::bsearch_custom doc 2021-02-26 18:01:08 +08:00
Rémi Verschelde d02535f509
Merge pull request #46429 from VedatGunel/add-guide-outline
Add outline to dragged guide text
2021-02-26 10:53:50 +01:00
Rémi Verschelde 9e995e081e
Merge pull request #46432 from nmrkr/uncreatable-type-scene-load
Fix crash when loading a scene containing an uncreatable type
2021-02-26 07:51:28 +01:00
Rémi Verschelde 1f702e35d8
Merge pull request #46430 from kuruk-mm/fix_profile_type
SCons: Fix profile type. It is a string
2021-02-26 07:44:50 +01:00
hilfazer e28cc34db8 Prevent 'Change Type' on nodes from an instanced scene 2021-02-26 07:18:21 +01:00
Aaron Franke 3f50954ced
Add generic support to PackedScene.Instance 2021-02-25 20:49:22 -05:00
Vedat Günel 929da94e2c Add outline to dragged guide text 2021-02-26 03:12:50 +03:00
Delf Neumärker 04a4828c5e
Fix crash when loading a scene containing an uncreatable type 2021-02-25 23:58:30 +01:00
Mateo Kuruk Miccino 42f6d7a401 SCons: Fix profile type. It is a string 2021-02-25 19:45:36 -03: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
Rémi Verschelde b7b70004bc
Merge pull request #46379 from ThakeeNathees/signal-idf-not-found-fix
GDScript: False positive "Identifier not found" error on signals fixed
2021-02-25 22:30:22 +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 3ad5aa8ce3
Merge pull request #43279 from Calinou/doc-opensimplexnoise-seamless-contrast
Document seamless noise having a lower contrast than non-seamless noise
2021-02-25 21:18:59 +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
Hugo Locurcio 2e8e6e26a8 Document seamless noise having a lower contrast than non-seamless noise
See #41787.
2021-02-25 18:33:11 +01:00
Rémi Verschelde 494e1cb148
Merge pull request #38918 from EricEzaM/fix-slider-focus-on-scroll-input
Fixed issue with slider focus and scroll input
2021-02-25 18:09:04 +01:00
Emmanuel Leblond 0e4abcb77f
Fix Godot returned status code on unexpected error 2021-02-25 18:01:37 +01:00
Rémi Verschelde 9e24ad5a3f
Merge pull request #41575 from kotelifelif/31627
Chorus effect inspector update voices automatically
2021-02-25 17:50:00 +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
booer 65975b9a08 Update Inspector when changing AudioEffectChorus voice_count
Fixes #31627.
2021-02-25 17:32:50 +01:00
Rémi Verschelde ee5ea64e83
Merge pull request #40276 from Taywee/master
remove invalid codeLensProvider value from lsp
2021-02-25 17:26:26 +01:00
Rémi Verschelde f01e95eb55
Merge pull request #46416 from nekomatata/draw-collision-outline-option
Added option in project settings to draw Shape2D outlines
2021-02-25 17:15:22 +01:00
Rémi Verschelde 369dffc217
Merge pull request #46399 from YeldhamDev/import_defaults_another_fix
Fix heap-use-after-free in Import Defaults Editor
2021-02-25 16:05:28 +01:00
Rémi Verschelde 68ebcb915e
Merge pull request #46398 from iatenine/master
Added GridMap description to get_bake_meshes()
2021-02-25 15:57:27 +01:00
Rémi Verschelde 6e7f5c7c44
Merge pull request #46400 from Calinou/improve-editor-html-template-2
Improve the editor HTML template
2021-02-25 15:56:15 +01:00
Rémi Verschelde 4d0f01a786
Merge pull request #46418 from Calinou/doc-os-environment
Improve the `OS.get_environment()`/`OS.set_environment()` documentation
2021-02-25 15:55:53 +01:00
PouleyKetchoupp c4b116cff7 Added option in project settings to draw Shape2D outlines
Disabling collision outlines can be useful for performance when the game
is running and many collision shapes are displayed.
2021-02-25 07:52:50 -07:00
Michael Alexsander f2ad7c5f12 Fix heap-use-after-free in Import Defaults Editor 2021-02-25 11:50:10 -03:00
Jack Linhart 03fd2b4c86 Added GridMap description to get_bake_meshes() 2021-02-25 15:42:49 +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 58cb152565
Merge pull request #45424 from aaronfranke/cs-bindings
Fix C# bindings generator for default value types
2021-02-25 15:31:37 +01:00
Aaron Franke 4b4721f5bd
Fix C# bindings generator for default value types 2021-02-25 08:30:48 -05: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
Rémi Verschelde a61fbe3b32
Merge pull request #46415 from BastiaanOlij/set_environment_gdscript
Expose set_environment to GDScript
2021-02-25 14:26:31 +01:00
Rémi Verschelde 2032960a09
Merge pull request #46403 from m4gr3d/fix_android_resources_inclusion_master
Update the filtering logic to properly handle directories with `.gdignore` files
2021-02-25 14:14:47 +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 2adacd751c
Merge pull request #46402 from nekomatata/natvis-local-vector
Added LocalVector to Visual Studio debugger visualization
2021-02-25 07:22:08 +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
Bastiaan Olij 1f96ba5141 Moving GI code into RendererServerGIRD
Moving Skyshader code into RendererServerSkyRD
2021-02-25 15:15:48 +11:00
Fredia Huya-Kouadio eda18fcc1f Update the filtering logic to properly handle directories with `.gdignore` files. 2021-02-24 18:40:36 -08:00
PouleyKetchoupp 27d5e1fff0 Added LocalVector to Visual Studio debugger visualization 2021-02-24 18:35:39 -07:00
kleonc 988f4cdc90 Geometry2D::make_atlas Fail is passed invalid rect size 2021-02-24 23:38:30 +01:00