summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-07-23Make tooltips be shown at different directions if there's not enough spaceMichael Alexsander
2022-07-23Merge pull request #63341 from RandomShaper/fix_uwp_accum_inputRémi Verschelde
Flush buffered input events on UWP
2022-07-23Flush buffered input events on UWPPedro J. Estébanez
2022-07-23Merge pull request #63265 from reduz/stream-bpm-supportRémi Verschelde
Implement BPM support in AudioStream files.
2022-07-23Merge pull request #63339 from Chaosus/shader_editor_fixRémi Verschelde
Fix clearing errors indication in the shader editor
2022-07-23Fix clearing errors indication in the shader editorYuri Rubinsky
2022-07-23Merge pull request #63338 from Chaosus/fix_shader_preprocessor_errorsRémi Verschelde
Fix some errors after shader preprocessor PR
2022-07-23Fix some errors after shader preprocessor PRYuri Rubinsky
2022-07-23Implement BPM supportreduz
Based on #62896, only implements the BPM support part. * Implements BPM support in the AudioStreamOGG/MP3 importers. * Can select BPM/Bar Size and total beats in a song file, as well as edit looping points. * Looping is now BPM aware * Added a special importer UI for configuring this. * Added a special preview showing the audio waveform as well as the playback position in the resource picker. * Renamed `AudioStream::instance` to `instantiate` for correctness.
2022-07-23Merge pull request #62513 from reduz/shader_preprocessor_remakeRémi Verschelde
2022-07-22Merge pull request #62093 from Rindbee/fix-undecided-min_size-in-ScrollContainerRémi Verschelde
2022-07-22Merge pull request #62581 from Guh-Feng/Color-Picker-UpdateRémi Verschelde
2022-07-22Merge pull request #62478 from BastiaanOlij/split_effects_20220628Rémi Verschelde
2022-07-22Merge pull request #63313 from python273/fix-xr-doc-linksRémi Verschelde
2022-07-22Merge pull request #63093 from aaronfranke/export-templates-dirRémi Verschelde
2022-07-22Merge pull request #63331 from Calinou/doc-font-get-string-size-exampleRémi Verschelde
2022-07-22Merge pull request #63321 from kleonc/generic-nodepath-drag-and-drop-fixRémi Verschelde
2022-07-22Clean up Shader Preprocessorreduz
* Moved preprocessor to Shader and ShaderInclude * Clean up RenderingServer side * Preprocessor is separate from parser now, but it emits tokens with include location hints. * Improved ShaderEditor validation code * Added include file code completion * Added notification for all files affected by a broken include.
2022-07-22Adding shader preprocessor supportYuri Roubinsky
Co-authored-by: TheOrangeDay <6472143+TheOrangeDay@users.noreply.github.com>
2022-07-22Add example usage for `Font.get_string_size()`Hugo Locurcio
The font size is now separated from the font itself, so it makes sense to have an example for people coming from Godot 3.x.
2022-07-22Rename directory for export templates from templates to export_templatesAaron Franke
2022-07-22Fix in editor drag and dropping a `Node` to generic `NodePath` propertykleonc
2022-07-22Merge pull request #63310 from akien-mga/scons-vsproj-windowsRémi Verschelde
SCons: Prevent using `vsproj` option outside Windows
2022-07-22Merge pull request #63317 from dallonf/redundant-gdscript-errorsRémi Verschelde
2022-07-22Don't print redundant errors when parsing GDScriptDallon Feldner
The error macros print a generic error, which isn't necessary, and could be confusing to end users.
2022-07-22Fix tutorial links in XR classes docspython273
2022-07-22Merge pull request #63141 from reduz/implement-thread-runnerRémi Verschelde
2022-07-22SCons: Prevent using `vsproj` option outside WindowsRémi Verschelde
Fixes #63305.
2022-07-22Merge pull request #62996 from reduz/feature-build-profilesRémi Verschelde
2022-07-22Implement a Worker ThreadPoolreduz
This PR implements a worked thread pool. It uses a fixed amount of threads in a pool and allows scheduling tasks that can be run on threads (and then waited for). It satisfies the following use cases: * HTML5 thread count is fixed (and similar restrictions are known in consoles) so we need to reuse threads. * Thread spawning is slow in general, so reusing threads is faster anyway. * This implementation supports recursive waiting for tasks, making it less prone to deadlocks if threads from the pool also run tasks. After this is approved and merged, subsequent PRs will be needed to replace the ThreadWorkPool usage by this class.
2022-07-22Merge pull request #63278 from akien-mga/scons-linux-refactor-linkerRémi Verschelde
2022-07-22Implement Feature Build Profilesreduz
This PR is a continuation of #50381 (which was implemented exactly a year ago!) * Add a visual interface to select which classes should not be built into Godot (well, they are built if something else uses them, but if not used the optimizer will remove them out). * Add a detection system to scan the project and figure out the actual classes used. * Added the ability for SCons to load build profiles. Obligatory Screen: A simple test with a couple of nodes in the scene resulted in a 25% reduction for the final binary size TODO: * Script languages need to implement used class detection (left for another PR). * Options to disable servers or server functionalities (like 2D or 3D physics, navigation, etc). Are missing, that should also greatly aid in reducing binary size. * Options to disable some modules would be desired. * More options to disable drivers (OpenGL, Vulkan, etc) would be desired. In general this PR is a starting point for more contributors to improve and enhance this functionality.
2022-07-22Merge pull request #63303 from hansemro/x11-eraser-case-insensitiveRémi Verschelde
[X11] Do case-insensitive search for pen inversion detection
2022-07-22Merge pull request #63302 from nathanfranke/rounded-svgRémi Verschelde
Round dimensions of SVG to work around floating point precision errors
2022-07-21[X11] Do case-insensitive search for pen inversion detectionHansem Ro
2022-07-21round dimensions of svgNathan Franke
2022-07-22SCons: Refactor Linux linker options with `linker=<bfd|gold|lld|mold>`Rémi Verschelde
The new option is `linker` and lets the user specify the argument to the`-fuse_ld=` linker flag directly. The supported options are: - `default`: No change, typically uses GNU ld (bfd) unless the user or distro picked a different default `/usr/bin/ld`. - `bfd`: GNU ld from binutils - `gold`: GNU gold from binutils - `lld`: lld from LLVM - `mold`: mold, an extremely fast modern linker, not (yet) intended for use in production but great for development speed. Provided by distro `mold` package or needs to be compiled from source and installed to `/usr` otherwise. Removes the `use_lld=yes` option, and make lld actually usable with GCC too. Not all the above are compatible or recommend for LTO, we recommend using GNU ld with GCC LTO, or lld with LLVM ThinLTO.
2022-07-22Merge pull request #63295 from ↵Rémi Verschelde
winterpixelgames/master-allow-scroll-container-scroll-to-be-set-instantly
2022-07-22Merge pull request #63286 from RandomShaper/fix_debugger_focusRémi Verschelde
2022-07-22Merge pull request #63300 from KoBeWi/local_specialityRémi Verschelde
2022-07-22Merge pull request #63242 from m4gr3d/fix_slow_copy_mainRémi Verschelde
Address slow copy performance when using the `FileAccessFilesystemJAndroid` implementation
2022-07-21Color Pickers Respect SettingsGuh-Feng
Updated editor_node with function that sets up color pickers throughout Godot to respect editor's settings.
2022-07-21Fix node dragging not working when dock is movedkobewi
2022-07-21Fix editor re-focus on debugger break on WindowsPedro J. Estébanez
2022-07-21Merge pull request #63289 from Chaosus/code_style_toleranceYuri Rubinsky
Rename `epsilon` to `tolerance` in the `Plane::has_point` method
2022-07-21Call update_scrollbars() in sort_children() so the max is set properly so ↵Jason Knight
you can set scroll_container.scroll_vertical instantly after adding children to a scroll container.
2022-07-21Rename `epsilon` to `tolerance` in the `Plane::has_point` methodYuri Rubinsky
2022-07-21Address slow copy performance when using the `FileAccessFilesystemJAndroid` ↵Fredia Huya-Kouadio
implementation. Read/write ops for this implementation are done through the java layer via jni, and so for good performance, it's key to avoid numerous repeated small read/write ops due the jni overhead. The alternative is to allocate a (conversatively-sized) large buffer to reduce the number of read/write ops over the jni boundary.
2022-07-21Merge pull request #63128 from ↵Rémi Verschelde
cdemirer/fix-callable-comparator-error-message-argcount
2022-07-21Merge pull request #62433 from KoBeWi/🌈Rémi Verschelde