Age | Commit message (Collapse) | Author |
|
This commit makes operator[] on Vector const and adds a write proxy to it. From
now on writes to Vectors need to happen through the .write proxy. So for
instance:
Vector<int> vec;
vec.push_back(10);
std::cout << vec[0] << std::endl;
vec.write[0] = 20;
Failing to use the .write proxy will cause a compilation error.
In addition COWable datatypes can now embed a CowData pointer to their data.
This means that String, CharString, and VMap no longer use or derive from
Vector.
_ALWAYS_INLINE_ and _FORCE_INLINE_ are now equivalent for debug and non-debug
builds. This is a lot faster for Vector in the editor and while running tests.
The reason why this difference used to exist is because force-inlined methods
used to give a bad debugging experience. After extensive testing with modern
compilers this is no longer the case.
|
|
Few fixes for editor tab in editor settings
|
|
The line number is hightlighted to indicate that the line contains only
type-safe code.
|
|
- Allow type hints to be completed.
- Use type information to infer completion candidates.
- Show typed function signature in tooltip.
- Add type hints when completing declaration from virtual functions
(optional).
|
|
|
|
-Project/Editor settings now show tooltips properly
-Settings thar require restart now will show a restart warning
-Video driver is now visible all the time, can be changed easily
-Added function to request current video driver
|
|
|
|
from main editor.
|
|
|
|
Fix shortcuts using KEY_MASK_CTRL instead of KEY_MASK_CMD
|
|
|
|
KEY_MASK_CMD is automatically replaced by KEY_MASK_CTRL on non-OSX
and KEY_MASK_META (Command key) on OSX, so it should be used for all
Ctrl/Cmd + key shortcuts.
Also de-hacked the macOS shortcut replacements with proper conditional
definition. Not tested on macOS, cannot judge if they are good shortcuts.
Fixes #10761.
|
|
|
|
Add a ToggleButton for alphabetic sorting in methods overview
|
|
|
|
Fixes #18737
|
|
|
|
|
|
GDScript function definition and get_node shortcut syntax highlighting
|
|
It was mistakenly changed to RGBA in #18525 when it should have
stayed RGB (the 3D grid does not currently support transparency).
|
|
added bold font to editor (support for coustom bold font)
|
|
Improve the 3D editor grid
|
|
|
|
- The grid's primary and secondary colors can now be changed
- The number of grid steps (subdivisions) can now be changed
- The grid size can now be changed
- The grid is now darker by default
|
|
This allows for more precise adjustments.
|
|
|
|
|
|
|
|
Overhaul the display scaling editor settings
|
|
This adds more scaling options, in addition to a custom scaling option
which allows any scale between 0.75 and 3.0 to be used.
|
|
add option to invert y-axis
|
|
|
|
Added error checks for fscache saving
|
|
|
|
- Editor font hinting can now be tweaked in the Editor Settings.
- DynamicFonts used in projects now have tweakable hinting settings
in their DynamicFontData child. Changes will be visible upon
reloading the scene in the editor.
|
|
Load needed editor translation only on demand
|
|
|
|
|
|
|
|
Notable potentially breaking changes:
- PROPERTY_USAGE_NOEDITOR is now PROPERTY_USAGE_STORAGE | PROPERTY_USAGE_NETWORK, without PROPERTY_USAGE_INTERNAL
- Some properties were renamed, and sometimes even shadowed by new ones
- New getter methods (some virtual) were added
|
|
Also ran doctool.
|
|
Fix editor setting value is back to default
|
|
Set source code font with ttf, otf
|
|
renamed interface/editor/custom_font to interface/editor/main_font
moved text_editor/theme/font to interface/editor/code_font
renamed interface/editor/font_size to interface/editor/main_font_size
renamed interface/editor/source_code_size to interface/editor/code_font_size
|
|
Fix #15449
|
|
|
|
|
|
Using `misc/scripts/fix_headers.py` on all Godot files.
Some missing header guards were added, and the header inclusion order
was fixed in the Bullet module.
|
|
Alternative keyboard shortcuts for macOS
|
|
Use .ttf or .otf file for editor custom font
|