summaryrefslogtreecommitdiff
path: root/editor/editor_settings.cpp
AgeCommit message (Collapse)Author
2018-07-26Reduce unnecessary COW on Vector by make writing explicitHein-Pieter van Braam
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.
2018-07-25Merge pull request #20300 from Chaosus/editorsettings_fixesRémi Verschelde
Few fixes for editor tab in editor settings
2018-07-20Add editor highlight for type-safe linesGeorge Marques
The line number is hightlighted to indicate that the line contains only type-safe code.
2018-07-20Use type hints to improve completionGeorge Marques
- 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).
2018-07-20Few fixes for editor tab in editor settingsChaosus
2018-07-19-Project/Editor settings now use new inspectorJuan Linietsky
-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
2018-06-23Changed themes presets to String formatChaosus
2018-06-13Removed duplicate default colours and removed GDScriptHighligher colours ↵Paulb23
from main editor.
2018-06-13Theme saving no longer hard codedPaulb23
2018-06-13Merge pull request #19503 from akien-mga/osx-ctrl-cmdRémi Verschelde
Fix shortcuts using KEY_MASK_CTRL instead of KEY_MASK_CMD
2018-06-13Added Solarized Dark and Light themesChaosus
2018-06-11Fix shortcuts using KEY_MASK_CTRL instead of KEY_MASK_CMDRémi Verschelde
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.
2018-05-16Exposed set/get_project_metadata in EditorSettings.Michael Alexsander Silva Dias
2018-05-16Merge pull request #18442 from StraToN/add-button-sort-methods-overviewRémi Verschelde
Add a ToggleButton for alphabetic sorting in methods overview
2018-05-14TextEdit word wrapIan
2018-05-13Editor: make custom bold font config workingMartin Capitanio
Fixes #18737
2018-05-11Add button hbox with alphabetic sort toggle above methods outline.Julian Murgia
2018-05-11fixed bodl font error messagetoger5
2018-05-10Merge pull request #18183 from Paulb23/gdscript_highlighter_inital_changesRémi Verschelde
GDScript function definition and get_node shortcut syntax highlighting
2018-05-08Fix the 3D grid color setting hintsHugo Locurcio
It was mistakenly changed to RGBA in #18525 when it should have stayed RGB (the 3D grid does not currently support transparency).
2018-05-07Merge pull request #18113 from toger5/bold_fontJuan Linietsky
added bold font to editor (support for coustom bold font)
2018-05-07Merge pull request #18525 from Calinou/improve-3d-gridJuan Linietsky
Improve the 3D editor grid
2018-05-04Make bones have more contrast with outlineJuan Linietsky
2018-04-30Improve the 3D editor gridHugo Locurcio
- 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
2018-04-28Tweak the property hint ranges of caret blink and line length guidelineHugo Locurcio
This allows for more precise adjustments.
2018-04-20Added GDScript NodePath highlightingPaulb23
2018-04-20Added GDScript function definition highlightingPaulb23
2018-04-19added bold font to editor (support for coustom bold font)toger5
2018-03-23Merge pull request #17706 from Calinou/overhaul-hidpi-settingsRémi Verschelde
Overhaul the display scaling editor settings
2018-03-23Overhaul the display scaling editor settingsHugo Locurcio
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.
2018-03-23Merge pull request #17505 from ArkDShiggy/invert_y-axisRémi Verschelde
add option to invert y-axis
2018-03-20add option to invert y-axisJulien CATINEAU
2018-03-14Merge pull request #17420 from marcelofg55/fscache_err_checksRémi Verschelde
Added error checks for fscache saving
2018-03-13Added error checks for fscache savingMarcelo Fernandez
2018-02-28Add an hinting mode setting to DynamicFontsHugo Locurcio
- 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.
2018-02-14Merge pull request #15399 from poke1024/load-one-translationRémi Verschelde
Load needed editor translation only on demand
2018-02-02Changes for the "Recent Scripts" menu.Michael Alexsander Silva Dias
2018-01-25maximum recent files increment fixRazah
2018-01-12Properly save the new save safe setting, avoid crash.Juan Linietsky
2018-01-12Bind many more properties to scriptsBojidar Marinov
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
2018-01-09Fix bindings of EditorSettings.set_initial_valueRémi Verschelde
Also ran doctool.
2018-01-08Merge pull request #15458 from volzhs/fix-editor-settings-1Rémi Verschelde
Fix editor setting value is back to default
2018-01-08Merge pull request #15457 from volzhs/custom-font-source-codeRémi Verschelde
Set source code font with ttf, otf
2018-01-08Set source code font with ttf, otfvolzhs
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
2018-01-08Fix editor setting value is back to defaultvolzhs
Fix #15449
2018-01-06Load needed translation on demandBernhard Liebl
2018-01-06Fix editor settings weird behaviorvolzhs
2018-01-05Add missing copyright headers and fix formattingRémi Verschelde
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.
2018-01-04Merge pull request #15033 from poke1024/shortcuts-macRémi Verschelde
Alternative keyboard shortcuts for macOS
2018-01-03Merge pull request #15073 from volzhs/editor-custom-fontRémi Verschelde
Use .ttf or .otf file for editor custom font