| Commit message (Collapse) | Author | Age | Files | Lines |
| |\
| |
| | |
Don't stop closing on unsaved script
|
| | | |
|
| |/ |
|
| |\
| |
| | |
Implement more advanced features for DAP
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Respect client "supportsVariableType" capability
Implement "breakpointLocations" request
Implement "restart" request
Implement "evaluate" request
Fix error messages not being shown, and improved wrong path message
Removed thread option and behavior
Implemented detailed inspection of complex variables
Fix "const"ness of functions
Added a configurable timeout for requests
Implement Godot custom data request/event
Implement syncing of breakpoints
Added support for debugging native platforms
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| |
| | |
* `_gui_input`, `_input`, `_unhandled_input` and `_unhandled_key_input` are now regular C++ virutal functions.
* Everything else converted to GDVIRTUAL
* BIND_VMETHOD is gone, always use the new syntax from now on.
Creating `_gui_input` method and using the binder to register events will no longer work, simply override the virtual function now.
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* New syntax is type safe.
* New syntax allows for type safe virtuals in native extensions.
* New syntax permits extremely fast calling.
Note: Everything was replaced where possible except for `_gui_input` `_input` and `_unhandled_input`.
These will require API rework on a separate PR as they work different than the rest of the functions.
Added a new method flag METHOD_FLAG_OBJECT_CORE, used internally. Allows to not dump the core virtuals like `_notification` to the json API, since each language will implement those as it is best fits.
|
| |\ \ |
|
| | | |
| | |
| | |
| | |
| | |
| | | |
Way less cruft. :)
Co-authored-by: Ignacio Roldán Etcheverry <neikeq@users.noreply.github.com>
|
| |/ / |
|
| | | |
|
| |/ |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
| |
* Added a new macro SNAME() that constructs and caches a local stringname.
* Subsequent usages use the cached version.
* Since these use a global static variable, a second refcounter of static usages need to be kept for cleanup time.
* Replaced all theme usages by this new macro.
* Replace all signal emission usages by this new macro.
* Replace all call_deferred usages by this new macro.
This is part of ongoing work to optimize GUI and the editor.
|
| |\
| |
| | |
Fix crash with FindReplaceBar
|
| | | |
|
| | |
| |
| |
| | |
Also MIDIMessage
|
| |/ |
|
| | |
|
| |
|
|
|
| |
File handling APIs are typically considered part of I/O, and we did have most
`FileAccess` implementations in `core/io` already.
|
| |\
| |
| | |
Move FindReplaceBar out of CodeTextEditor
|
| | | |
|
| | | |
|
| |\ \
| |/
|/| |
Rename the `.shader` file extension to `.gdshader`
|
| | |
| |
| |
| |
| | |
This lets third-party software recognize Godot shaders more easily,
without relying on guesswork since the `.shader` extension is generic.
|
| | | |
|
| | | |
|
| | |
| |
| |
| |
| | |
This could occur when attempting to save project settings when
no scenes or scripts are open (which is common in a brand new project).
|
| |\ \
| | |
| | | |
Improve consistency in file order
|
| | | |
| | |
| | |
| | |
| | |
| | | |
consistency.
Fixes #37721.
|
| |/ / |
|
| | | |
|
| | |
| |
| |
| |
| |
| | |
- Tweak the dialog messages to be more informative.
- The "Saved N modified resources" dialog is not a warning per se,
so make it more explicit.
|
| |\ \
| | |
| | | |
Highlight control flow keywords with a different color
|
| | | |
| | |
| | |
| | | |
This makes them easier to distinguish from other keywords.
|
| |\ \ \
| | | |
| | | | |
Improve the editor theme
|
| | |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The editor theme now makes use of rounded corners and less borders
to follow modern visual trends.
The default theme's colors were also tweaked to make the blue hue
more subtle (similar to the Arc theme, which was removed as a
consequence). The Alien theme was replaced by a Breeze Dark theme,
which should blend in well with the KDE theme.
|
| |/ /
| |
| |
| |
| |
| |
| |
| |
| | |
This makes it possible for external editors to pick up the changes.
Most modern editors should reload the file automatically,
but some older/lightweight editors may ask the user instead
(or only warn after trying to save in the external editor).
This closes #41283.
|
| |/ |
|
| | |
|
| | |
|
| |
|
|
|
|
| |
-Added a new method in Resource: reset_state , used for reloading the same resource from disk
-Added a new cache mode "replace" in ResourceLoader, which reuses existing loaded sub-resources but resets their data from disk (or replaces them if they chaged type)
-Because the correct sub-resource paths are always loaded now, this fixes bugs with subresource folding or subresource ordering when saving.
|
| |\
| |
| | |
Split OS::execute into two methods
|
| | |
| |
| |
| |
| | |
1. execute(): Executes a command and returns the results.
2. create_process(): Creates a new process and returns the new process' id.
|
| |/ |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Happy new year to the wonderful Godot community!
2020 has been a tough year for most of us personally, but a good year for
Godot development nonetheless with a huge amount of work done towards Godot
4.0 and great improvements backported to the long-lived 3.2 branch.
We've had close to 400 contributors to engine code this year, authoring near
7,000 commit! (And that's only for the `master` branch and for the engine code,
there's a lot more when counting docs, demos and other first-party repos.)
Here's to a great year 2021 for all Godot users 🎆
|
| |
|
|
|
|
|
|
|
|
|
| |
EditorNode::get_viewport()
Fixes #44761, was a regression from #44524.
The PR passed CI because EditorNode::get_viewport() used to shadow Node::get_viewport()
(which was a bug in itself, fixed by #44524), so once it was renamed the existing code
relying on it fell back to the now available Node::get_viewport().
This might bite some thirdparty modules too.
|
| | |
|