Commit Graph
10311 Commits
Author SHA1 Message Date
Rémi VerscheldeandGitHub 653f95282c Merge pull request #62996 from reduz/feature-build-profiles 2022-07-22 12:50:20 +02:00
reduz 6236a688b7 Implement Feature Build Profiles
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-22 10:53:23 +02:00
Rémi VerscheldeandGitHub 19db9ed863 Merge pull request #63286 from RandomShaper/fix_debugger_focus 2022-07-22 00:48:06 +02:00
kobewi b42bbca266 Fix node dragging not working when dock is moved 2022-07-21 23:57:52 +02:00
Pedro J. Estébanez 033001375f Fix editor re-focus on debugger break on Windows 2022-07-21 21:47:05 +02:00
Rémi VerscheldeandGitHub f40aafeb39 Merge pull request #63244 from KoBeWi/canvas_picker 2022-07-21 16:34:16 +02:00
luz paz 38aaaa3cf9 Fix various typos not caught by codespell
Revert upstream `core/input/gamecontrollerdb.txt`. Upstream fix: https://github.com/gabomdq/SDL_GameControllerDB/pull/600
2022-07-21 07:38:23 -04:00
kobewi dabe021f19 Fix selection list in 2D editor 2022-07-21 12:24:02 +02:00
bruvzg 8823eae328 Rename OSX to macOS and iPhoneOS to iOS. 2022-07-21 09:37:52 +03:00
MinusKube a4ddb033c9 Fix FileInfo::import_valid always being set to false for TextFile in some cases 2022-07-20 23:51:29 +02:00
Rémi VerscheldeandGitHub 010289a076 Merge pull request #58457 from PhoenixFlame101/master
Fix code folding icon color not matching defined color
2022-07-20 22:34:25 +02:00
Rémi VerscheldeandGitHub 4ba6c9a19f Merge pull request #63229 from Chaosus/vs_fix_icons 2022-07-20 22:25:04 +02:00
PhoenixFlame101andYuri Sizov dd8cee4b50 Fix code folding icon color not matching defined color
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-20 23:05:47 +03:00
Rémi VerscheldeandGitHub e1901008a5 Merge pull request #63247 from YuriSizov/toolbars-go-with-the-flow 2022-07-20 21:38:56 +02:00
Rémi VerscheldeandGitHub e1c50152a0 Merge pull request #63232 from nathanfranke/simplify-editor-anchors
Simplify alignment preset, fixing icon for full rect
2022-07-20 21:15:14 +02:00
Rémi VerscheldeandGitHub 9a941ea35e Merge pull request #61347 from fire-forge/theme-icons
Add type icons to Theme editor Import Items tab
2022-07-20 21:05:34 +02:00
Yuri Sizov dcd64799ef Use FlowContainer to handle toolbar overflow more gracefully 2022-07-20 20:43:45 +03:00
Nathan Franke f3d43a384d simplify alignment preset, fixing icon for full rect 2022-07-20 12:18:33 -05:00
Yuri Rubinsky 702b6a00d8 Fix icons not loaded correctly in the visual shader editor 2022-07-20 19:24:42 +03:00
Rémi VerscheldeandGitHub 715f556cd4 Merge pull request #62139 from bruvzg/label_font_setttings
Add LabelSettings resource for quick Label theme property override.
2022-07-19 20:16:01 +02:00
Rémi VerscheldeandGitHub 8351d75b7f Merge pull request #63195 from Rindbee/fix-wrong-clear-edit-menu 2022-07-19 13:49:43 +02:00
Rindbee 8972dd8492 Fix incorrectly clearing edit menu
Delete only if `editor_enabled` is true, otherwise destructor may delete it repeatedly.
2022-07-19 19:09:27 +08:00
Rémi VerscheldeandGitHub 7fd29b5464 Merge pull request #59301 from fire-forge/layout-preset-full-rect 2022-07-19 12:06:00 +02:00
Rémi VerscheldeandGitHub 00c0fbb8cf Merge pull request #62871 from fire-forge/vector2i 2022-07-19 08:45:49 +02:00
FireForge 468157bfe0 Capitalize the SpriteFrames search bar placeholder
Follow-up to https://github.com/godotengine/godot/pull/49488
2022-07-18 20:15:50 -05:00
FireForgeandFireForge 97dfbea6ad Rename Control PRESET_WIDE to PRESET_FULL_RECT 2022-07-18 20:08:11 -05:00
FireForge 84431bd782 Use integer types in Image and ImageTexture methods
- Image.blit_rect()
- Image.blit_rect_mask()
- Image.blend_rect()
- Image.blend_rect_mask()
- Image.fill_rect()
- Image.get_used_rect()
- Image.get_rect()
- ImageTexture.set_size_override()
2022-07-18 19:43:32 -05:00
kleonc a4d8c78e48 SpriteFramesEditor Add animation searchbox 2022-07-18 15:47:12 +02:00
Rémi VerscheldeandGitHub 1c6148aa86 Merge pull request #63062 from Chaosus/vs_fix 2022-07-18 12:05:36 +02:00
Rémi Verschelde 2bc9b7b76b i18n: Sync editor translations with Weblate
(cherry picked from commit 556e090bcc)
2022-07-18 10:28:22 +02:00
Rémi VerscheldeandGitHub ecc86afc00 Merge pull request #63124 from Calinou/editor-help-codeblock-add-padding 2022-07-17 23:28:59 +02:00
Hugo Locurcio 976d12c3c1 Add padding for code blocks in the editor help
This improves their appearance, making them look closer to code blocks
in the online manual.
2022-07-17 22:55:20 +02:00
Pedro J. Estébanez b46a2aaa4b Create reset tracks with the right update mode 2022-07-17 19:51:15 +02:00
Aaron Franke 94779c9e30 Alphabetize editor plugins and move 2D plugins to their own section 2022-07-16 17:34:33 -05:00
Rémi VerscheldeandGitHub 5a6b13b8bb Merge pull request #62939 from TokageItLab/implement-rest-fixer
Add Rest Fixer to importer retarget
2022-07-16 16:54:20 +02:00
Yuri Rubinsky f05fce405e Fix visual shader graph not correctly updating when multiple tabs opened 2022-07-16 16:43:06 +03:00
Silc Renew 9be288edf9 refactor sync in AnimationTree 2022-07-16 21:45:32 +09:00
Silc Renew f3af3aedfe add rest fixer to importer retarget 2022-07-16 19:53:11 +09:00
Rémi VerscheldeandGitHub 2c11e6d9ef Merge pull request #62980 from garychia/scene_tree_editor_improvement 2022-07-14 17:45:48 +02:00
kobewi 87fb95f1ff Clear drag_selection when drag ends 2022-07-14 14:51:47 +02:00
Chia-Hsiang Cheng 83d478ffcd Disable the OK button when no node is selected. 2022-07-14 12:03:27 +08:00
kobewi 38d8cb4782 Fix drag_selection crash on scene close 2022-07-14 02:31:52 +02:00
Rémi VerscheldeandGitHub 5fec0d232a Merge pull request #58763 from Calinou/editor-fix-default-float-step 2022-07-14 00:21:33 +02:00
Rémi VerscheldeandGitHub 41dda3bea0 Merge pull request #62919 from MinusKube/dock-layout-save-bug 2022-07-14 00:12:10 +02:00
Rémi VerscheldeandGitHub cf9994ed03 Merge pull request #62952 from and-rad/results-count-no-negative 2022-07-14 00:07:01 +02:00
Rémi VerscheldeandGitHub 991f78183d Merge pull request #60696 from Calinou/shadow-quality-rename-project-settings 2022-07-14 00:03:17 +02:00
Rémi VerscheldeandGitHub a0f0eb5e03 Merge pull request #62710 from Calinou/editor-help-improve-code-kbd-ref-highlight 2022-07-13 23:55:59 +02:00
Hugo Locurcio 21ea1c3835 Rename soft shadow quality project settings for easier searching
`rendering/quality/shadows` is now `rendering/quality/positional_shadow`
to explicitly denote that the settings only affect positional light shadows,
not directional light shadows.

Shadow atlas settings now contain the word "atlas" for easier searching.

Soft shadow quality settings were renamed to contain the word "filter".
This makes the settings appear when searching for "filter" in the
project settings dialog, like in Godot 3.x.
2022-07-13 19:56:02 +02:00
FireForge 0df23111b3 Show Resource type name in Array editor
Follow-up to #60409

Example: @export var gradient_array: Array[Gradient]
Before: Array[Object]
After: Array[Gradient]
2022-07-13 12:07:01 -05:00
Rémi VerscheldeandGitHub 9b29f18631 Merge pull request #59680 from fire-forge/property-help
Add "Open Documentation" button to EditorProperty context menu
2022-07-13 14:12:53 +02:00