Commit Graph

35014 Commits

Author SHA1 Message Date
Rémi Verschelde 84d2f884f8
Sync controller mappings DB with SDL2 community repo
Synced with gabomdq/SDL_GameControllerDB@adf7ec1edf

(cherry picked from commit 5f35b1d516)
2022-12-12 14:49:23 +01:00
Dawid Marzec ecef4804f2
Fix errors while deselecting all tree items; issue #65185
(cherry picked from commit d4d5df2314)
2022-12-12 14:49:23 +01:00
kobewi b5bf60e04f
Fix crash in EditorPropertyArray
(cherry picked from commit d80a2a89f0)
2022-12-12 14:49:23 +01:00
Fredia Huya-Kouadio de45636fd3
Upgrade Android gradle plugin to version 7.2.1
(cherry picked from commit 151233b702)
2022-12-12 14:49:23 +01:00
Fabio Alessandrelli eda014197f
[Web] Add the "serve" and "run" scons targets.
You can now run the test HTTP server by calling:

scons p=javascript serve

If you also wish to run the browser, call instead:

scons p=javascript run

The default listen port is 8060, but can be overriden via the env
variable GODOT_WEB_TEST_PORT which must be a valid integer.

(cherry picked from commit a06602363c)
2022-12-12 14:49:22 +01:00
Hugo Locurcio 816db5c215
Replace local web server setup for web editor with a Python-based solution
This makes it easier to set up, as you always have Python installed
when building Godot. On the other hand, you don't always have Node.js
+ npm installed (and you may not want to spend time running `npm install`).

Co-authored-by: Fabio Alessandrelli <fabio.alessandrelli@gmail.com>
(cherry picked from commit 1be1b15a57)
2022-12-12 14:49:22 +01:00
Rémi Verschelde b0b759e6da
SCons: Cleanup `DEBUG`, `_DEBUG` and `NDEBUG` defines
- `_DEBUG` is MSVC specific so it didn't make much sense to define for
  Android and iOS builds.
- iOS was the only platform to define `DEBUG`. We don't use it anywhere
  outside thirdparty code, which we usually don't intend to debug, so it
  seems better to be consistent with other platforms.
- Consistently define `NDEBUG` to disable assert behavior in both `release`
  and `release_debug` targets. This used to be set for `release` for all
  platforms, and `release_debug` for Android and iOS only.
- Due to the above, I removed the only use we made of `assert()` in Godot
  code, which was only implemented for Unix anyway, should have been
  `DEV_ENABLED`, and is in PoolAllocator which we don't actually use.
- The denoise and recast modules keep defining `NDEBUG` even for the `debug`
  target as we don't want OIDN and Embree asserting all over the place.

(cherry picked from commit 26e9145c26)
2022-12-12 14:49:21 +01:00
DeeJayLSP bd248650d1
Update miniupnpc to 2.2.4
(cherry picked from commit f592f6ba0c)
2022-12-12 14:15:06 +01:00
Rémi Verschelde 912cd43418
miniupnpc: Update to version 2.2.3
Library code and public headers are now properly separated, we can fix include paths
to remove the redundant subfolder.

(cherry picked from commit 432ac521ef)
2022-12-12 14:15:06 +01:00
Fabio Alessandrelli 41b880582e
[Web] Add PS3 gamepad mapping for FF+Linux.
(cherry picked from commit 0fe0505f77)
2022-12-12 14:15:06 +01:00
Rémi Verschelde 0e594bb815
Merge pull request #48037 from ray90514/bug#47720
Fix Script editor completion doesn't suggest members of a script for type hints
2022-12-12 13:40:28 +01:00
Rémi Verschelde bfce0c1e52
Merge pull request #59765 from pfertyk/issue-59359-wrong-visible-line-count-if-newline
Fix wrong visible line count for newline
2022-12-12 13:40:14 +01:00
ray90514 7afbd5904e
Fix Script editor completion doesn't suggest members of a script for type hints 2022-12-12 13:36:32 +01:00
Rémi Verschelde 004c174086
Merge pull request #69929 from aaronfranke/3.x-gltf-subclasses
[3.x] Backport moving camera and light logic to GLTF subclasses, fix ortho cameras
2022-12-12 12:28:07 +01:00
Rémi Verschelde 16ad014dd3
Merge pull request #67040 from Calinou/xdg-paths-linux-only-3.x
Only support XDG directory path configuration on Linux (3.x)
2022-12-12 12:27:56 +01:00
Rémi Verschelde 0efa2cec08
Merge pull request #67767 from Calinou/doc-debanding-3d-only-3.x
Document debanding only affecting 3D rendering by default (3.x)
2022-12-12 12:27:50 +01:00
Hugo Locurcio 06c266f231
Only support XDG directory path configuration on Linux
This also harmonizes the server code to be consistent with Linux desktop
(with warnings printed for relative XDG paths).

Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2022-12-12 11:13:19 +01:00
Hugo Locurcio 4475a93736
Document debanding only affecting 3D rendering by default 2022-12-12 11:01:26 +01:00
Rémi Verschelde 9ef525c3a0
Merge pull request #69946 from godotengine/revert-59234-3.x-rid-comparison-id
Revert "RID: Change comparison operators to use RID_Data id instead of address"
2022-12-12 10:23:50 +01:00
Rémi Verschelde c404cc0e58
Revert "RID: Change comparison operators to use RID_Data id instead of address" 2022-12-12 09:10:37 +01:00
Haoyu Qiu 433be4aa3e Add open scene button in Inspector for PackedScene resource 2022-12-12 16:10:00 +08:00
Rémi Verschelde 495a1e3fb9
Merge pull request #69943 from timothyqiu/3.x-cherrypicks
Cherry-picks for the 3.x branch (future 3.6) - 9th batch
2022-12-12 08:23:24 +01:00
Hugo Locurcio 5e0ef339ff Document `print_stack()` and `get_stack()` requiring a debugger connection
(cherry picked from commit 530e31d4a3)
2022-12-12 14:55:23 +08:00
Pedro J. Estébanez 0873cf0656 Keep a single, portable implementation of `OS::get_processor_count()`
(cherry picked from commit 6bf02c0162)
2022-12-12 14:47:37 +08:00
Emmanouil Papadeas 0754c7ee1a Fix `InputEventAction`'s `is_action` method ignoring `exact_match` parameter
(cherry picked from commit 38b51942d6)
2022-12-12 14:44:20 +08:00
nyanpasu64 8f5ccfa21f Fix burning CPU with udev disabled on Flatpak
Fixes #67355.

(cherry picked from commit 0cbd1c85a9)
2022-12-12 14:42:23 +08:00
Phnix 9ac09dfb64 incorrect range value with min value and step
If the minimum value and the steps are greater than 0, the value will not be calculated correctly.

Co-Authored-By: Astral-Sheep <109028693+Astral-Sheep@users.noreply.github.com>
(cherry picked from commit fe1f8443a4)
2022-12-12 14:22:54 +08:00
smix8 16bb34d23d Add detail to NavigationPolygon outline error msg
Adds additional information to the error msg when the convex partition fails due to invalid outline arrays.

(cherry picked from commit f30ebacbe8)
2022-12-12 14:19:46 +08:00
Steve Cotton 8770197731 doc: link GPUParticles2D to the 2D Particles demo
Add a comment in the link to the Dodge The Creeps demo too. That demo only uses
particles for one thing (to leave a trail when the player moves), they're not
interacting with anything else in the demo; it took me a bit of searching to
find where they were used.

(cherry picked from commit 6db9752f23)
2022-12-12 14:06:49 +08:00
Rémi Verschelde ae94cc4ecc SCons: Fix MSVC warning LNK4042 about dupe objects in regex
(cherry picked from commit 3fd9452a8c)
2022-12-12 14:03:04 +08:00
Ricardo Buring 40357471dc Fix typo bug in heightmap shape
(cherry picked from commit 55eceb5150)
2022-12-12 14:00:37 +08:00
Hugo Locurcio ac14c31ca6 Fix libtheora source code being mistakenly `.gitignore`d
(cherry picked from commit ffb9f2b53f)
2022-12-12 13:57:58 +08:00
Haoyu Qiu dd1c96b547 Add note about GROUP_CALL_UNIQUE not considering arguments
(cherry picked from commit 3f2d6f5f6c)
2022-12-12 13:57:28 +08:00
DeeJayLSP b661ed90f5 Update CA certificates to 2022.10 revision
(cherry picked from commit a81c1e8a58)
2022-12-12 13:55:26 +08:00
bruvzg 5978268f79 [MSVC] Use symbols from .pdb only, to avoid incorrect names in the backtrace when symbols are missing.
(cherry picked from commit d99c32668a)
2022-12-12 13:54:32 +08:00
ocean (they/them) e8c2e0e876 Add VS's enc_temp_folder to .gitignore
(cherry picked from commit 8ae66c143b)
2022-12-12 13:53:56 +08:00
Josh Jones 7b20f05db6 Add MSVC problem matcher to CI
(cherry picked from commit ed2c1d1c51)
2022-12-12 13:53:03 +08:00
Raul Santos 72b6c4062a Add GCC problem matcher to CI
(cherry picked from commit d3641c9d0d)
2022-12-12 13:52:38 +08:00
Aaron Franke a887f48d1d
[3.x] Backport moving camera and light logic to GLTF subclasses 2022-12-11 14:05:08 -06:00
Rémi Verschelde f128170a18
Merge pull request #69558 from timothyqiu/canvas-layer-unique-call
[3.x] Fix CanvasLayer visibility toggle can only run once per frame
2022-12-11 15:39:57 +01:00
Rémi Verschelde bd4be9f644
Merge pull request #69775 from Calinou/backbuffercopy-only-show-rect-when-relevant-3.x
Fix BackBufferCopy `rect` property appearing when not relevant in inspector (3.x)
2022-12-11 13:39:14 +01:00
Rémi Verschelde bf295fcc6b
Merge pull request #69879 from aaronfranke/3.x-gltf-doc-p-parameter
[3.x] Consistently use `p_` for parameters in GLTFDocument
2022-12-11 13:39:05 +01:00
Rémi Verschelde 25f02bf920
Merge pull request #69823 from madmiraal/fix-65773
[3.x] Store Bullet total gravity, linear damp and angular damp calculations
2022-12-11 13:38:56 +01:00
Aaron Franke d8b1c9ff3c
[3.x] Consistently use `p_` for parameters in GLTFDocument 2022-12-10 17:02:13 -06:00
norrath-hero aca8999cc9 Fix GLES 2 Spotlight Bug
Fixes https://github.com/godotengine/godot/issues/69759
Fixes https://github.com/godotengine/godot/issues/54343
Fixes https://github.com/godotengine/godot/issues/25526
2022-12-11 05:45:45 +08:00
Marcel Admiraal 7669f6e660 Store Bullet total gravity, linear damp and angular damp calculations
so they can be retrieved from PhysicsDirectBodyState
2022-12-09 19:53:50 +01:00
Hugo Locurcio 5115db63aa
Fix BackBufferCopy `rect` property appearing when not relevant in inspector
The `rect` property is only effective if `copy_mode` is Rect.
2022-12-08 20:04:56 +01:00
Rémi Verschelde 9983df9210
Merge pull request #69526 from m4gr3d/polish_navigation_controls_opacity_3x
[3.x] Minor tweaks/polish to the navigation controls to prevent interference
2022-12-05 11:33:43 +01:00
Rémi Verschelde 0cd3db459d
Merge pull request #65079 from lawnjelly/faster_variant_parser
Add readahead to VariantParser
2022-12-05 00:13:52 +01:00
Rémi Verschelde c42bbc6feb
Merge pull request #69585 from bruvzg/fix_tm_tr
[TextMesh, 3.x] Fix auto-translation and ignore control chars.
2022-12-05 00:13:42 +01:00