summaryrefslogtreecommitdiff
path: root/editor/project_manager.cpp
AgeCommit message (Collapse)Author
2019-04-05Fix -Wimplicit-fallthrough warnings from GCC 8Rémi Verschelde
Adds `FALLTHROUGH` macro to specify when a fallthrough is intentional. Can be replaced by `[[fallthrough]]` if/when we switch to C++17. The warning is now enabled by default for GCC on `extra` warnings level (part of GCC's `-Wextra`). It's not enabled in Clang's `-Wextra` yet, but we could enable it manually once we switch to C++11. There's no equivalent feature in MSVC for now. Fixes #26135.
2019-02-20Add -Wshadow=local to warnings and fix reported issues.marxin
Fixes #25316.
2019-02-20Add small spacing between top bars in main editor and project managerMichael Alexsander Silva Dias
2019-02-19Fix project opening while filter is applied.Kārlis Seņko
Fixes #25268
2019-02-12Minor cleanup in the Project ManagerMichael Alexsander Silva Dias
2019-02-08Merge pull request #25562 from IronicallySerious/fix-empty-projectRémi Verschelde
Fix prompt for empty project files when loaded
2019-02-06Fix prompt for empty project files when loadedTwarit
Fixes #25541
2019-01-25Add renderer selection to New Project dialogLeon Krause
2019-01-01Update copyright statements to 2019Rémi Verschelde
Happy new year to the wonderful Godot community!
2018-12-21ProjectManager: Warn when projects have different config_versionRémi Verschelde
When opening projects for edition through the project manager, the following checks are now done: 1. If the config_version is lower than the one used by the current engine version, users are asked if they want to convert to the new format or abort editing. Fixes #20626. 2. If the config_version is higher than the expected one (project from a more recent and incompatible engine version), projects are grayed out and can't be edited. Fixes #18758. When editing from the command line, the behaviour is unchanged: projects in situation (1) are automatically converted, while projects in situation (2) show an error message (made more explicit). The "Run" option from the project manager was not changed, so it will still run (1) projects without converting them, and fail running (2) projects. Co-authored-by: groud <gilles.roudiere@gmail.com>
2018-12-1524303: remember sorting order in the project managerGleb Mineev
2018-12-13i18n: Sync translation template with current sourceRémi Verschelde
Also French translation update and misc fixes to source strings.
2018-12-06Merge pull request #23935 from helenaMontenegro/masterRémi Verschelde
Add sorting to the project manager
2018-11-26Fixed project name line edit focus lost when open project-create dialog.qichunren
This also select default project name text for convenience.
2018-11-23Add sorting to project manager. Fixes #8794.helenaMontenegro
2018-10-26Small capitalization fixes across the editorMichael Alexsander Silva Dias
2018-10-02Project manager: remove projects with delete keylupoDharkael
2018-09-15Bundle SSL certs with the templates.Fabio Alessandrelli
If this is undesired it can be avoided by specifying builtin_certs=no . Bundled SSL certs will be used unless you specify an override in: Project Settings -> SSL -> Certificates .
2018-09-12Make core/ includes absolute, remove subfolders from include pathRémi Verschelde
This allows more consistency in the manner we include core headers, where previously there would be a mix of absolute, relative and include path-dependent includes.
2018-09-02Fix the project manager window size on hiDPI displays on macOSHugo Locurcio
This closes #21525.
2018-08-24Make some debug prints verbose-only, remove othersRémi Verschelde
2018-08-14Merge pull request #20831 from Calinou/project-manager-window-size-hidpiRémi Verschelde
Scale the project manager window size with the editor scale
2018-08-14Always show "Open in File Manager"Ivan Vodopiviz
Now this button is always shown in the project manager. Fixes #20799.
2018-08-13Merge pull request #20155 from Tunous/line-edit-clearRémi Verschelde
Add clear button to search fields
2018-08-11Do not use theme to set LineEdit right_iconŁukasz Rutkowski
2018-08-11Add clear text button to LineEditŁukasz Rutkowski
- Add pressed state to clear button - Enable clear button on all inputs with search icon - Remove duplicate clear buttons - Fix rendering of icon for center and right alignments - Add clear button to more search fields - Add clear icon to default theme - Add method to control enabled state of clear button - Add property to enable clear button from inspector
2018-08-09Scale the project manager window size with the editor scaleHugo Locurcio
This also makes the project search field slightly larger.
2018-08-07removed some surplus null appends that got typoed in ↵Ibrahn Sahir
0e29f7974b59e4440cf02e1388fb9d8ab2b5c5fd A couple of null appends got typoed to append a '0' character instead. Removed them here since String already takes care of the null terminator for us.
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-06-22Add ability to import projects via ZIP archive.Nathan Harrell
2018-05-20fixup project_manager and find_in_files for text_changed signal change.Ibrahn Sahir
Background: Commit 2abec59db96496611bb16dd1300d9b7d3def9780 removing text_changed signal emmision from LineEdit::set_text broke the project manager and find_in_files.
2018-05-09Disable 'run' button if any project not selected and tiny refactoringDmitryKrutskikh
2018-05-03Fix for Issue#18457 - Folder name with trailing space on WindowsFelix Yang
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-05skip demo download prompt if ssl is unavailableEmanuele Fornara
2018-02-23Refactor version macros and fix related bugsRémi Verschelde
The previous logic with VERSION_MKSTRING was a bit unwieldy, so there were several places hardcoding their own variant of the version string, potentially with bugs (e.g. forgetting the patch number when defined). The new logic defines: - VERSION_BRANCH, the main 'major.minor' version (e.g. 3.1) - VERSION_NUMBER, which can be 'major.minor' or 'major.minor.patch', depending on whether the latter is defined (e.g. 3.1.4) - VERSION_FULL_CONFIG, which contains the version status (e.g. stable) and the module-specific suffix (e.g. mono) - VERSION_FULL_BUILD, same as above but with build/reference name (e.g. official, custom_build, mageia, etc.) Note: Slight change here, as the previous format had the build name *before* the module-specific suffix; now it's after - VERSION_FULL_NAME, same as before, so VERSION_FULL_BUILD prefixed with "Godot v" for readability Bugs fixed thanks to that: - Export templates version matching now properly takes VERSION_PATCH into account by relying on VERSION_FULL_CONFIG. - ClassDB hash no longer takes the build name into account, but limits itself to VERSION_FULL_CONFIG (build name is cosmetic, not relevant for the API hash). - Docs XML no longer hardcode the VERSION_STATUS, this was annoying. - Small cleanup in Windows .rc file thanks to new macros.
2018-02-19Add show path button to project managerBernhard Liebl
2018-02-19Improve error reporting of ProjectSettings::setup()Rémi Verschelde
And use it to better report errors in the console and project manager when a project.godot file is corrupted. Fixes #14963.
2018-01-28ProjectManager: prevent installing project template in non-empty dirPoommetee Ketson
2018-01-18Fix typos in code and docs with codespellRémi Verschelde
Using v1.11.0 from https://github.com/lucasdemarchi/codespell
2018-01-18Merge pull request #15803 from Noshyaar/pmRémi Verschelde
ProjectManager: show error/warning by default
2018-01-18ProjectManager: show error/warning by defaultPoommetee Ketson
Deprecate "That's a BINGO" message
2018-01-18Disallow creating new projects in a non-empty folder.bruvzg
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-04Project Manager: fix random breaking of scrollingBernhard Liebl
2018-01-03Merge pull request #15102 from YeldhamDev/project_manager_changesRémi Verschelde
Changes to the Project Manager's New Project/Export dialogs
2018-01-02Merge pull request #15230 from RyanStein/bugfix-14989Rémi Verschelde
Move Project Manager favorite icon back to center.
2018-01-01Update copyright statements to 2018Rémi Verschelde
Happy new year to the wonderful Godot community!
2017-12-31Move Project Manager favorite icon back to center.Ryan Stein
2017-12-27Changes to the Project Manager's New Project/Export dialogs.Michael Alexsander Silva Dias