summaryrefslogtreecommitdiffstats
path: root/editor/editor_about.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix UTF-8 encoding for copyright in About dialogStanislav Labzyuk2023-01-081-2/+2
|
* One Copyright Update to rule them allRémi Verschelde2023-01-051-31/+31
| | | | | | | | | | | | | | | | | | | | As many open source projects have started doing it, we're removing the current year from the copyright notice, so that we don't need to bump it every year. It seems like only the first year of publication is technically relevant for copyright notices, and even that seems to be something that many companies stopped listing altogether (in a version controlled codebase, the commits are a much better source of date of publication than a hardcoded copyright statement). We also now list Godot Engine contributors first as we're collectively the current maintainers of the project, and we clarify that the "exclusive" copyright of the co-founders covers the timespan before opensourcing (their further contributions are included as part of Godot Engine contributors). Also fixed "cf." Frenchism - it's meant as "refer to / see".
* Revert "Remove NOTIFICATION_ENTER_TREE when paired with ↵Rémi Verschelde2022-08-291-10/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | NOTIFICATION_THEME_CHANGED" This reverts commit 4b817a565cab8af648c88cfc7ab6481e86ee3625. Fixes #64988. Fixes #64997. This caused several regressions (#64988, #64997, https://github.com/godotengine/godot/issues/64997#issuecomment-1229970605) which point at a flaw in the current logic: - `Control::NOTIFICATION_ENTER_TREE` triggers a *deferred* notification with `NOTIFCATION_THEME_CHANGED` as introduced in #62845. - Some classes use their `THEME_CHANGED` to cache theme items in member variables (e.g. `style_normal`, etc.), and use those member variables in `ENTER_TREE`, `READY`, `DRAW`, etc. Since the `THEME_CHANGE` notification is now deferred, they end up accessing invalid state and this can lead to not applying theme properly (e.g. for EditorHelp) or crashing (e.g. for EditorLog or CodeEdit). So we need to go back to the drawing board and see if `THEME_CHANGED` can be called earlier so that the previous logic still works? Or can we refactor all engine code to make sure that: - `ENTER_TREE` and similar do not depend on theme properties cached in member variables. - Or `THEME_CHANGE` does trigger a general UI update to make sure that any bad theme handling in `ENTER_TREE` and co. gets fixed when `THEME_CHANGE` does arrive for the first time. But that means having a temporary invalid (and possibly still crashing) state, and doing some computations twice which might be heavy (e.g. `EditorHelp::_update_doc()`).
* Merge pull request #64885 from Mickeon/rename-tooltip-hintRémi Verschelde2022-08-281-1/+1
|\ | | | | Rename `hint_tooltip` to `tooltip_text` & setter getter
| * Rename `hint_tooltip` to `tooltip_text` & setgetMicky2022-08-271-1/+1
| | | | | | | | | | | | | | | | `hint_tooltip` -> `tooltip_text` `set_tooltip` -> `set_tooltip_text` `_get_tooltip` -> `get_tooltip_text` Updates documentation, too.
* | Remove NOTIFICATION_ENTER_TREE when paired with NOTIFICATION_THEME_CHANGEDAaron Record2022-08-271-15/+10
|/
* Move duplicate AutoWrap, Overrun and VisibleChar behavior enums to the ↵bruvzg2022-06-161-1/+1
| | | | TextServer.
* Use "odd" style for TabContainers on base BG colorFireForge2022-05-261-0/+1
| | | | - Use the "odd" style for TabContainers that are on a background with the same color as the default TabContainer background color to add contrast
* Tweaks to improve the Project Manager display at small sizesAaron Franke2022-05-191-1/+1
|
* [RTL] Add support for shaping in background thread.bruvzg2022-05-191-0/+2
|
* Keep logo aspect ratio in About dialogHaoyu Qiu2022-05-011-0/+1
|
* Rename theme properties to include underscoresFireForge2022-04-231-1/+1
| | | | | | | | | | | | | | - check_vadjust -> check_v_adjust - close_h_ofs -> close_h_offset - close_v_ofs -> close_v_offset - commentfocus -> comment_focus - hseparation -> h_separation - ofs -> offset - selectedframe -> selected_frame - state_machine_selectedframe -> state_machine_selected_frame - table_hseparation -> table_h_separation - table_vseparation -> table_v_separation - vseparation -> v_separation
* Decrease the default line spacing in the script editorHugo Locurcio2022-03-211-2/+2
| | | | | | | | This brings the level of line spacing closer to what it was like in Godot 3.x, which improves usability on small displays. This also decreases the default line spacing for fixed-width texts in the About dialog (license text).
* Improves editor property name extractionHaoyu Qiu2022-03-181-3/+1
|
* Make `TabBar/Container` default their alignments to the left instead of centerMichael Alexsander2022-03-171-0/+1
|
* Editor: Cleanup some includes dependenciesRémi Verschelde2022-02-151-1/+0
| | | | | | | | | | | Removes some unnecessary includes from `editor_node.h`, and instead add those where they're used. Removes unnecessary `editor_node.h` includes in various editor classes. Renames `dynamicfont` to `dynamic_font` in a couple files. Misc cleanup while jumping through that rabbit hole.
* Improve compilation speed (forward declarations/includes cleanup)Hendrik Brucker2022-02-121-1/+1
|
* Core: Move generated `VERSION_HASH` to a `.cpp` fileRémi Verschelde2022-02-091-2/+1
| | | | | This lets us have its definition in `core/version.h` and avoid rebuilding a handful of files every time the commit hash changes.
* Revert "Add missing SNAME macro optimization to all theme methods call"Rémi Verschelde2022-02-081-8/+8
| | | | | | | | This reverts commit a988fad9a092053434545c32afae91ccbdfbe792. As discussed in #57725 and clarified in #57788, `SNAME` is not meant to be used everywhere but only in critical code paths. For theme methods specifically, it was by design that only getters use `SNAME` and not setters.
* Add missing SNAME macro optimization to all theme methods calljmb4622022-02-061-8/+8
|
* Update copyright statements to 2022Rémi Verschelde2022-01-031-3/+3
| | | | Happy new year to the wonderful Godot community!
* align to horizontal_alignment, valign to vertical_alignment, relatedNathan Franke2021-12-091-1/+1
|
* clang-format: Disable alignment of operands, too unreliableRémi Verschelde2021-10-281-1/+1
| | | | | | | | | Sets `AlignOperands` to `DontAlign`. `clang-format` developers seem to mostly care about space-based indentation and every other version of clang-format breaks the bad mismatch of tabs and spaces that it seems to use for operand alignment. So it's better without, so that it respects our two-tabs `ContinuationIndentWidth`.
* Optimize StringName usagereduz2021-07-181-3/+3
| | | | | | | | | | | * 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.
* Add header theme type variations to labelskobewi2021-07-131-0/+1
|
* Improvements to Label's layout optionsHendrik Brucker2021-07-041-1/+1
| | | | | | - Added options to trim the text in case it overruns - Added more autowrap modes - Improved line breaking, which ignores trailing spaces
* Separate version hash from version number in editor and project managerAndrii Doroshenko (Xrayez)2021-06-081-1/+1
| | | | | When copy-pasting the version from About dialog to bug reports at GitHub, this makes the version hash linkable to commits at GitHub.
* Make it possible to copy the Godot version identifier by clicking itHugo Locurcio2021-04-281-3/+26
| | | | This closes #24317.
* Add the About dialog to the project managerHugo Locurcio2021-04-161-4/+3
| | | | | | | | The About button is located in the bottom-right corner of the project manager. This allows removing the copyright notice from the window title (which looked a bit ugly in comparison to other applications).
* Update copyright statements to 2021Rémi Verschelde2021-01-011-3/+3
| | | | | | | | | | | | | | 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 🎆
* [Complex Text Layouts] Refactor Font class, default themes and controls to ↵bruvzg2020-11-261-5/+8
| | | | | | | | use Text Server interface. Implement interface mirroring. Add TextLine and TextParagraph classes. Handle UTF-16 input on macOS and Windows.
* i18n: Sync translations with WeblateRémi Verschelde2020-09-081-1/+4
| | | | | | | Add translators comment for the two 'Project Manager' strings, and fix some of the translations. (cherry picked from commit c5f6d2097bcbe1826b9111774ed0f8deb5839060)
* Update AUTHORS and DONORS listRémi Verschelde2020-08-141-2/+5
| | | | | | | | | | | | New contributors added to AUTHORS: @hinlopen, @naithar, @rrcore, @SkyLucilfer, @TwistedTwigleg Thanks to all contributors and donors for making Godot possible! --- Also changes to relevant code that parses the DONORS.md to match the new tiers.
* Style: Enforce braces around if blocks and loopsRémi Verschelde2020-05-141-1/+2
| | | | | Using clang-tidy's `readability-braces-around-statements`. https://clang.llvm.org/extra/clang-tidy/checks/readability-braces-around-statements.html
* Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocksRémi Verschelde2020-05-141-11/+0
| | | | | | | | | | | | | | Which means that reduz' beloved style which we all became used to will now be changed automatically to remove the first empty line. This makes us lean closer to 1TBS (the one true brace style) instead of hybridating it with some Allman-inspired spacing. There's still the case of braces around single-statement blocks that needs to be addressed (but clang-format can't help with that, but clang-tidy may if we agree about it). Part of #33027.
* Replace NULL with nullptrlupoDharkael2020-04-021-1/+1
|
* Popups are now windows also (broken!)Juan Linietsky2020-03-261-8/+8
|
* Working multiple window support, including editorJuan Linietsky2020-03-261-11/+14
|
* Signals: Port connect calls to use callable_mpRémi Verschelde2020-02-281-3/+1
| | | | | | | | | Remove now unnecessary bindings of signal callbacks in the public API. There might be some false positives that need rebinding if they were meant to be public. No regular expressions were harmed in the making of this commit. (Nah, just kidding.)
* Reworked signal connection system, added support for Callable and Signal ↵Juan Linietsky2020-02-201-1/+1
| | | | objects and made them default.
* Update copyright statements to 2020Rémi Verschelde2020-01-011-3/+3
| | | | | | | | | | | Happy new year to the wonderful Godot community! We're starting a new decade with a well-established, non-profit, free and open source game engine, and tons of further improvements in the pipeline from hundreds of contributors. Godot will keep getting better, and we're looking forward to all the games that the community will keep developing and releasing with it.
* Make text in the "About" dialog reset its position when changedMichael Alexsander2019-11-061-0/+1
|
* Increase the size of the About dialogHugo Locurcio2019-10-051-1/+1
| | | | | | | | This makes third-party license texts display without any soft wrapping. The About dialog still fits in the editor when using the smallest window size permitted (1024x600).
* Tweak a few strings displayed in the editor for consistencyHugo Locurcio2019-08-211-2/+2
|
* Display longer Git hashes in engine version dialogsHugo Locurcio2019-06-011-1/+1
| | | | | | | | Due to the high number of commits in the Godot repository, 7-character hashes were starting to become occasionally ambiguous. In contrast, 9-character hashes are currently unambiguous for all commits.
* Update copyright statements to 2019Rémi Verschelde2019-01-011-3/+3
| | | | Happy new year to the wonderful Godot community!
* Removed unnecessary assignmentsWilson E. Alvarez2018-11-171-2/+0
|
* Increase the source font's line spacingHugo Locurcio2018-10-141-0/+2
| | | | | This also increases line spacing in license texts in the editor's About dialog.
* Remove unnecessary "OK"s text settingsMichael Alexsander Silva Dias2018-09-151-1/+0
|
* Use a standard "OK" text for confirmation buttons in error dialogsHugo Locurcio2018-08-051-1/+1
| | | | [ci skip]