bruvzg
89f37d4105
Add support for getting native display, window, and view handles.
2022-01-14 13:36:32 +02:00
luz paz
858bcd5058
Fix various typos
...
Found via `codespell -q 3 -S ./thirdparty,*.po,./DONORS.md -L ackward,ang,ans,ba,beng,cas,childs,childrens,dof,doubleclick,expct,fave,findn,gird,hist,inh,inout,leapyear,lod,nd,numer,ois,ony,paket,ro,seeked,sinc,switchs,te,uint,varn,vew`
2022-01-13 23:20:01 -05:00
Marcel Admiraal
5250cdd150
Use mouse event relative motion to calculate mouse velocity
2022-01-13 15:23:21 +00:00
Rémi Verschelde
cd93bb9130
Merge pull request #56673 from winterpixelgames/bugfix-android-keystore-paths
2022-01-12 16:45:44 +01:00
Rémi Verschelde
585231a172
Merge pull request #56492 from akien-mga/remove-author-docstrings
2022-01-12 15:24:17 +01:00
Rémi Verschelde
adf8af86f8
Merge pull request #56700 from bruvzg/macos_terminal_activation
2022-01-12 11:37:37 +01:00
Rémi Verschelde
dc3b2e6ea2
Merge pull request #56717 from bruvzg/macos_opengl_hdr
2022-01-12 11:35:31 +01:00
bruvzg
a38f56cfc3
[macOS] Fix OpenGL color space on HDR displays.
2022-01-12 10:50:17 +02:00
clayjohn
99064d57db
New OpenGL batching canvas renderer
2022-01-11 22:26:18 -08:00
bruvzg
927105692f
[macOS] Improve window activation hack.
2022-01-11 23:25:12 +02:00
Rémi Verschelde
46624388d4
Merge pull request #56322 from madmiraal/fix-42450
2022-01-11 11:33:59 +01:00
Jason Knight
3e288f65bb
Android export plugin passes absolute file paths to gradle for keystores.
2022-01-10 14:34:00 -06:00
bruvzg
4e2c6c1444
[macOS export] Improve code signing/notarization options validation.
2022-01-10 13:18:59 +02:00
Rémi Verschelde
a489eb853d
Merge pull request #56618 from Pineapple/uwp-qpc-tweaks
...
UWP: Simplify QueryPerformanceCounter usage
2022-01-08 23:40:24 +01:00
Rémi Verschelde
277a159c48
Merge pull request #56497 from Pineapple/qpc-tweaks
...
Windows: Simplify QueryPerformanceCounter usage
2022-01-08 23:40:01 +01:00
Bartłomiej T. Listwon
24fe82da63
UWP: Simplify QueryPerformanceCounter usage
2022-01-08 13:10:27 +01:00
Rémi Verschelde
7cb0f9d079
Merge pull request #56514 from mhilbrunner/windows-missing-inputs
2022-01-07 10:29:55 +01:00
Aaron Franke
9a0e4ea550
Fix UTC typos in UWP platform
2022-01-06 10:49:48 -08:00
bruvzg
c69e0d16bc
Fix multiple missing UTF-8 decoding.
2022-01-06 14:35:22 +02:00
Marcel Admiraal
ac1e7e10eb
Set window to focused when created
2022-01-06 08:04:59 +00:00
Rémi Verschelde
75c06289c4
Merge pull request #56517 from bruvzg/fix_export_utf8
2022-01-05 15:08:27 +01:00
Rémi Verschelde
63d9308b4b
Merge pull request #56047 from piiertho/feature/osx-sign-directory
2022-01-05 14:38:17 +01:00
bruvzg
d2573c1636
Fix decoding UTF-8 filenames on unzipping.
2022-01-05 14:31:20 +02:00
Max Hilbrunner
6a6c4f2197
Windows input: Fix wrong OEM key, add missing keys
2022-01-05 12:20:47 +01:00
Bartłomiej T. Listwon
5ba38fb208
Windows: Simplify QueryPerformanceCounter usage
2022-01-05 07:40:46 +01:00
Rémi Verschelde
ba2bdc478b
Style: Remove inconsistently used @author
docstrings
...
Each file in Godot has had multiple contributors who co-authored it over the
years, and the information of who was the original person to create that file
is not very relevant, especially when used so inconsistently.
`git blame` is a much better way to know who initially authored or later
modified a given chunk of code, and most IDEs now have good integration to
show this information.
2022-01-04 20:42:50 +01:00
Marcel Admiraal
f107139979
Rename Project Window width and height settings to match their function
2022-01-04 13:59:16 +00:00
Rémi Verschelde
1d6f8ad837
Merge pull request #56438 from madmiraal/fix-56428
...
Fix tablet tilt values returning bad values
2022-01-03 23:48:46 +01:00
Rémi Verschelde
fe52458154
Update copyright statements to 2022
...
Happy new year to the wonderful Godot community!
2022-01-03 21:27:34 +01:00
Fredia Huya-Kouadio
a8a20a0e02
Merge pull request #56132 from m4gr3d/fix_android_studio_builds
...
Fix Android Studio builds
2022-01-03 09:19:21 -08:00
Rémi Verschelde
5e4d1c26aa
Merge pull request #56297 from Chaosus/fix_win32_cursor_resize
2022-01-03 14:00:00 +01:00
Marcel Admiraal
75a58360fd
Fix tablet tilt values returning bad values
2022-01-02 12:15:14 +00:00
luz paz
a124f1effe
Fix various typos
...
Found via ` codespell -q 3 -S ./thirdparty,*.po,./DONORS.md -L ackward,ang,ans,ba,beng,cas,childs,childrens,dof,doubleclick,expct,fave,findn,gird,hist,inout,leapyear,lod,nd,numer,ois,ony,paket,seeked,sinc,switchs,te,uint,varn`
Update editor/import/resource_importer_layered_texture.cpp
Co-authored-by: Raul Santos <raulsntos@gmail.com>
Update doc/classes/TileSetScenesCollectionSource.xml
Co-authored-by: Raul Santos <raulsntos@gmail.com>
Update scene/gui/graph_edit.cpp
Co-authored-by: Raul Santos <raulsntos@gmail.com>
Update scene/resources/animation.cpp
Co-authored-by: Raul Santos <raulsntos@gmail.com>
Update scene/resources/animation.cpp
Co-authored-by: Raul Santos <raulsntos@gmail.com>
Update scene/resources/animation.cpp
Co-authored-by: Raul Santos <raulsntos@gmail.com>
Update scene/gui/rich_text_label.cpp
Co-authored-by: Raul Santos <raulsntos@gmail.com>
Revert previously committed change
2022-01-02 01:03:58 -05:00
Marcel Admiraal
3105d9b1f3
Rename speed to velocity when it's a directional Vector
2021-12-29 15:35:26 +00:00
Pierre-Thomas Meisels
5e0e4f209a
OSX: Add signing of directory structure in Library when exporting for OSX.
...
OSX: Add exporting of folder structure in PlugIns when exporting for OSX.
2021-12-28 14:39:42 +01:00
Yuri Roubinsky
0f83d7272c
Fix cursor stucking in resize shape
2021-12-28 13:35:07 +03:00
Aaron Franke
cd6ac96bbb
Remove build system code for 32-bit iOS
2021-12-22 00:44:19 -08:00
ne0fhyk
1345e66935
Fix Android Studio builds.
2021-12-21 07:41:12 -08:00
Rémi Verschelde
51c5fa48ab
Merge pull request #56039 from Rubonnek/update-detect-prime-formatting-master
2021-12-20 10:28:16 +01:00
bruvzg
ea5bb8b47d
[Windows] Improve console handling and execute/create_process.
...
Always build with the GUI subsystem.
Redirect stdout and stderr output to the parent process console.
Use CreateProcessW for blocking `execute` calls with piped stdout and stderr (prevent console windows for popping up when used with the GUI subsystem build, and have more consistent behavior with `create_process`).
Add `open_console` argument to the `execute` and `create_process` to open a new console window.
Remove `interface/editor/hide_console_window` editor setting.
Remove `Toggle System Console` menu option.
Remove `set_console_visible` and `is_console_visible` functions.
2021-12-18 10:14:07 +02:00
Bastiaan Olij
d08b28aeb0
Fix initialising of gl_manager and checking gl_manager and context_vulkan preventing crash issues.
2021-12-18 12:21:16 +11:00
Wilson E. Alvarez
3c198aecaa
Sync detect_prime_x11.cpp formatting changes from 3.x branch
2021-12-17 16:08:13 -05:00
Rémi Verschelde
33e03386b3
Merge pull request #55966 from bruvzg/wt 💩 4
2021-12-16 23:05:24 +01:00
Sam Lantinga
8df0baf6f5
Fixed detecting the Valve Streaming Gamepad
...
Fixed the GUID, and compare the contents of the GUID, not just the pointers
2021-12-16 08:52:47 -08:00
Marcel Admiraal
6e38fc4b80
Only rotate Android sensor values for sensors that need them rotated
2021-12-15 18:15:08 +00:00
bruvzg
1fdb6a99c8
[Windows] Detect new Windows Terminal and disable unsupported set_console_visible code.
2021-12-15 20:00:57 +02:00
bruvzg
6ee48afb4e
[Windows] Open a new console window for the editor instances.
2021-12-14 14:49:58 +02:00
Aaron Franke
368c0bc0ac
Misc build system fixes
2021-12-10 12:14:27 -06:00
Rémi Verschelde
bdf8340e59
Merge pull request #43181 from nathanfranke/string-empty
...
Replace String comparisons with "", String() to is_empty()
2021-12-10 08:56:31 +01:00
Rémi Verschelde
89b8de71c0
Merge pull request #55767 from m4gr3d/config_hand_tracking_frequency_master
2021-12-09 23:04:41 +01:00
Rémi Verschelde
e3b0282080
Merge pull request #55759 from m4gr3d/enable_exclude_from_recents_master
2021-12-09 23:03:10 +01:00
Rémi Verschelde
1a2cdcbcc8
Merge pull request #55737 from m4gr3d/add_min_target_sdk_configs_master
2021-12-09 23:01:30 +01:00
ne0fhyk
862c0d06fb
Add support for configuring the xr hand tracking frequency mode
2021-12-09 12:25:48 -08:00
Fredia Huya-Kouadio
cfa81ff32a
Enable configuration of the android:excludeFromRecents
activity attribute.
2021-12-09 08:50:47 -08:00
Nathan Franke
49403cbfa0
Replace String comparisons with "", String() to is_empty()
...
Also:
- Adds two stress tests to test_string.h
- Changes to .empty() on std::strings
2021-12-09 04:48:38 -06:00
Fredia Huya-Kouadio
2e7e6502dd
Add configs to specify the min and target sdk versions.
2021-12-08 09:13:07 -08:00
Luis Sanchez
40f26cb260
Fix files_dropped in HTML5 export.
...
(Ignore trailing slash when creating the temporary directory)
2021-12-03 20:21:39 +01:00
Rémi Verschelde
7da392bcc5
Don't return reference on copy assignment operators
...
We prefer to prevent using chained assignment (`T a = b = c = T();`) as this
can lead to confusing code and subtle bugs.
According to https://en.wikipedia.org/wiki/Assignment_operator_(C%2B%2B) , C++
allows any arbitrary return type, so this is standard compliant.
This could be re-assessed if/when we have an actual need for a behavior more
akin to that of the C++ STL, for now this PR simply changes a handful of
cases which were inconsistent with the rest of the codebase (`void` return
type was already the most common case prior to this commit).
2021-11-30 16:26:29 +01:00
Fabio Alessandrelli
470496d8d4
[HTML5] Fix multi-touch input handling.
...
The code to populate the input data for WebAssembly was incorrectly
overriding values when multiple touches were present due to wrong
indexing.
2021-11-30 11:10:21 +01:00
Rémi Verschelde
8f0c6ce726
Merge pull request #55347 from Faless/js/4.x_scons_emcc_abspath
2021-11-26 13:41:16 +01:00
Fabio Alessandrelli
eaedc92c61
[HTML5] Use absolute path for JS lib/pre/externs.
...
Ensure better compatibility when emcc which may run some tools from
different paths (e.g. closure compiler).
This fixes externs include issues with modern emcc using the closure
compiler.
2021-11-26 12:44:51 +01:00
Yuri Roubinsky
ab6e370a9e
Merge pull request #55344 from Chaosus/repair_error_func
2021-11-26 14:06:00 +03:00
Yuri Roubinsky
a4b7de6b23
Fix console colors on Windows
2021-11-26 13:10:55 +03:00
Fabio Alessandrelli
63e2db2499
[HTML5] Fix focus (again) in Firefox's iframes.
...
This actually makes sense(?), when running inside an iframe the active
element might be our canvas, while the iframe itself is not active in
the parent window. Since we consume the event, the iframe does not get
focused in Firefox (but does in Chromium-based browsers), so we must
always call focus to handle such occasions.
2021-11-26 09:44:00 +01:00
Yuri Roubinsky
675111e480
Restore console window output for editor app on Windows
2021-11-25 22:06:45 +03:00
Lightning_A
e078f970db
Rename remove()
to remove_at()
when removing by index
2021-11-23 18:58:57 -07:00
Rémi Verschelde
c038768379
Merge pull request #55159 from m4gr3d/add_oculus_openxr_config_master
2021-11-22 10:28:06 +01:00
Marcel Admiraal
2fa4c6498a
Fix Android get_screen_orientation()
not returning valid values
2021-11-21 12:05:25 +00:00
Fredia Huya-Kouadio
882ec0d611
Add support for OpenXR export configurations.
2021-11-20 06:10:44 -08:00
Fabio Alessandrelli
46fdba5f8b
[HTML5] Add WebGL2 (GLES3) support using the OpenGL renderer.
...
Note, the editor build requires the mbedtls module to be manually
enabled, as it is currently needed as a ResourceUID dependency.
This will need to be addressed in a separate PR.
2021-11-19 16:59:27 +01:00
Rémi Verschelde
fc9de5ba7f
Merge pull request #54499 from Faless/threads/4.x_work_pool_default
2021-11-19 09:39:21 +01:00
Fabio Alessandrelli
91dbc288cc
[HTML5] Add checks to Gamepad API events.
...
In some conditions the events might be generated even when the `gamepad`
object is not accessible due to Security Context requirements.
This commit adds a check to avoid firing the handler in those cases.
2021-11-19 04:07:01 +01:00
Fabio Alessandrelli
f13c7fc83e
[HTML5] Fix input not focusing canvas.
...
mousedown and touchstart should focus the canvas to ensure correct
application lifecycle.
2021-11-19 04:06:55 +01:00
Rémi Verschelde
e7216d4085
Merge pull request #55072 from KoBeWi/untitled_goose_project
2021-11-18 13:47:32 +01:00
kobewi
f6d16d55c6
Fix data directory of unnamed projects
2021-11-18 12:31:29 +01:00
Rémi Verschelde
64d7df1e5f
Windows: Use /bigobj
only for debug builds, breaks GCC LTO
...
Building `target=release` and `target=release_debug` builds with MinGW-GCC
errors when linking with LTO.
Since it's only needed for `target=debug` builds anyway (bigger objects), which
we don't build with LTO, this works around the issue.
2021-11-18 10:38:35 +01:00
Will Jordan
283e31a3e2
Fix crash on macOS (AS) when dualshock4 is removed
2021-11-17 15:13:53 +01:00
bruvzg
c8037ef2e5
[macOS] Fix crash handler not printing function names on M1 Macs.
2021-11-16 08:45:34 +02:00
Rémi Verschelde
6715bc7754
Merge pull request #54992 from RandomShaper/drop_android_db_setting
2021-11-15 17:54:23 +01:00
Pedro J. Estébanez
cab870e9d3
Drop pointless Android depth buffer setting
2021-11-15 11:02:01 +01:00
Aaron Franke
35b9263e5b
Fix typo in architecture name for x86_64 macOS
2021-11-12 20:46:08 -06:00
Aaron Franke
3c0fdcc8ac
Use "enum class" for input enums
2021-11-12 15:37:54 -06:00
Rémi Verschelde
88c4380737
Modules: Make sure to include modules_enabled.gen.h where needed
2021-11-12 13:42:58 +01:00
Rémi Verschelde
7d2900e1bd
Merge pull request #54876 from bruvzg/no_captured_move
2021-11-11 14:47:13 +01:00
bruvzg
f6e449a194
Make window unmovable by dragging title bar, when mouse in captured or confined mode.
2021-11-11 14:02:08 +02:00
Rémi Verschelde
2beaae4b6f
String: Remove erase
method, bindings can't mutate String
2021-11-11 11:23:32 +01:00
Rémi Verschelde
9b6897307c
Merge pull request #54837 from akien-mga/windows-bigobj
2021-11-10 17:48:35 +01:00
Rémi Verschelde
11d1319afd
Windows: Enable /bigobj
to increase max size for obj files
...
Equivalent `-Wa,-mbig-obj` for GCC/Clang.
This started being needed to compile harfbuzz in `target=debug` with MinGW/GCC,
but there doesn't seem to be any drawback to enabling `/bigobj` (aside from
losing support for pre-VS 2005 linkers, which we don't support).
2021-11-10 16:06:39 +01:00
Rémi Verschelde
b727061ce0
Windows: Fix compilation warnings with GCC 11.2.1
2021-11-10 15:13:05 +01:00
Rémi Verschelde
8a15e404b2
Merge pull request #54463 from RandomShaper/fix_gl3_32bits
2021-11-09 11:55:26 +01:00
Rémi Verschelde
43ff899fa7
Merge pull request #54315 from nekomatata/x11-key-events-log
2021-11-09 00:03:12 +01:00
bruvzg
73a774d8d1
[macOS] Use pre-wait observer to keep main run loop running and redraw window during the window resize and displaying modal popups.
2021-11-08 12:35:13 +02:00
bruvzg
d0490d140b
[iOS export] Capture and display xcodebuild output.
2021-11-07 11:05:05 +02:00
bruvzg
c8f3dd776b
[Export] Read and ZIP project files in 16K chunks instead of reading the whole file at once.
2021-11-06 18:58:03 +02:00
Rémi Verschelde
bf10956b7f
Merge pull request #54601 from nekomatata/x11-struts-fix-bad-window-error
2021-11-05 10:20:09 +01:00
PouleyKetchoupp
4215d694f8
Fix BadWindow X11 errors when a window is closed while processing struts
...
A window can be closed on the server side while processing results from
_NET_CLIENT_LIST, which causes BadWindow fatal errors by default in
XGetWindowProperty.
The only way to safely catch this case is to set an error handler to
ignore BadWindow errors while these commands are processed.
2021-11-04 09:47:18 -07:00
Rémi Verschelde
197169b92a
Merge pull request #54591 from WoLfulus/master
2021-11-04 17:45:52 +01:00
WoLfulus
3c9d7203ea
Fix dwFlags on CreateProcessW calls
2021-11-04 09:50:45 -03:00
Fredia Huya-Kouadio
bd3d99ca8a
Add default minSdkVersion
and targetSdkVersion
in the AndroidManifest.xml file
2021-11-03 21:54:19 -07:00
bruvzg
1ad14eb14b
[macOS] Add support for OpenGLES3 video driver.
2021-11-02 13:11:55 +02:00