summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-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-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-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
2022-07-21Merge pull request #63244 from KoBeWi/canvas_pickerRémi Verschelde
2022-07-21Merge pull request #63281 from luzpaz/typosRémi Verschelde
2022-07-21Fix various typos not caught by codespellluz paz
Revert upstream `core/input/gamecontrollerdb.txt`. Upstream fix: https://github.com/gabomdq/SDL_GameControllerDB/pull/600
2022-07-21Merge pull request #63280 from bruvzg/macos_help_scrRémi Verschelde
2022-07-21[Export] Update generated CLI helper script to work on clean macOS Monterey ↵bruvzg
installation.
2022-07-21Fix selection list in 2D editorkobewi
2022-07-21Merge pull request #63225 from bruvzg/mac_renameRémi Verschelde
2022-07-21Merge pull request #63272 from akien-mga/ci-linux-san-lldRémi Verschelde
2022-07-21CI: Use Gold (GCC) and LLD (Clang) as linker for Linux sanitizers buildsRémi Verschelde
They're very memory hungry to a point where GNU ld can crash on CI. Both Gold and LLD should be nicer to RAM and thus a safer option.
2022-07-21Rename OSX to macOS and iPhoneOS to iOS.bruvzg
2022-07-21Merge pull request #63264 from MinusKube/file-bad-icon-bugRémi Verschelde
Fix FileInfo::import_valid always being set to false for TextFile in some cases
2022-07-20Fix FileInfo::import_valid always being set to false for TextFile in some casesMinusKube
2022-07-20Merge pull request #63235 from kleonc/canvas-item-remove-from-canvas-groupRémi Verschelde
2022-07-20Merge pull request #58457 from PhoenixFlame101/masterRémi Verschelde
Fix code folding icon color not matching defined color
2022-07-20Merge pull request #63127 from KoBeWi/raise_from_pictureRémi Verschelde
2022-07-20Merge pull request #47935 from HaSa1002/doc-loading-run-timeRémi Verschelde
2022-07-20Merge pull request #63170 from KoBeWi/main_failedRémi Verschelde
2022-07-20Merge pull request #63229 from Chaosus/vs_fix_iconsRémi Verschelde
2022-07-20Fix code folding icon color not matching defined colorPhoenixFlame101
Caused by reusing icons from the main editor in the code editor. These icons were converted based on the main editor theme and not the code editor theme. - Create new icons for use specifically in the code editor - Add these icons to the exceptions when converting dark theme icons to light theme automatically - Change the default value of the code folding color to match previous color - Code folding icon is now pure white by default to correctly match the color defined in settings
2022-07-20Merge pull request #63237 from RandomShaper/amend_error_msgRémi Verschelde
2022-07-20Merge pull request #63247 from YuriSizov/toolbars-go-with-the-flowRémi Verschelde
2022-07-20Fix `CanvasItem` not exiting its canvas group on canvas exitkleonc