summaryrefslogtreecommitdiff
path: root/core
AgeCommit message (Collapse)Author
2017-11-20Merge pull request #12387 from santouits/x1111Rémi Verschelde
Fix x11 boot logo position in fullscreen and in maximized
2017-11-20Merge pull request #13006 from hoelzl/pr-placement-deleteRémi Verschelde
Add placement deletes to avoid warnings on VC++
2017-11-20Make old scenes readable againJuan Linietsky
2017-11-20Basis accepts Vector3 as constructor argument.Chip Collier
2017-11-20Rename the version's "revision" to "build"Rémi Verschelde
That "revision" was inherited from SVN days but had been since then used to give information about the build: "custom_build", "official", "<some distro's build>". It can now be overridden with the BUILD_NAME environment variable.
2017-11-20Pass engine name and version parts as proper stringsRémi Verschelde
Removes the need for _MKSTR all over the place which has the drawback of converting _MKSTR(UNKNOWN_DEFINE) to "UKNOWN_DEFINE" instead of throwing a compilation error.
2017-11-20Merge pull request #12988 from akien-mga/xdg-home-pathsRémi Verschelde
Add support for XDG Base Directory spec
2017-11-19Add placement deletes to avoid warnings on VC++Matthias Hoelzl
When compiling with VC++ 2017, Godot generates huge numbers of C4291 warnings about missing placement delete. I have not found a way to disable these warnings using compiler options: AFAICT there is no equivalent to `-f-no-exceptions` for VC++ (there is only /EH to change the exception-handling model, /GX is deprecated) and adding /wd4291 to the `disable_nonessential_warnings` list in the `SConstruct` file or even compiling with `warnings=no` does not disable the messages. Placement delete is only called when placement new throws an exception, since Godot doesn't use exceptions this change should have no runtime effect. Fixes #12654 (probably, difficult to say without log)
2017-11-19Add initial support for the XDG Base Directory specRémi Verschelde
Spec version 0.7 from https://standards.freedesktop.org/basedir-spec/basedir-spec-0.7.html (latest as of this commit). Three virtual methods are added to OS for the various XDG paths we will use: - OS::get_data_path gives XDG_DATA_HOME, or if missing: ~/.local/share on X11, ~/Library/Application Support/ on macOS and %APPDATA% on Windows - OS::get_config_path gives XDG_CONFIG_HOME, or if missing: ~/.config on X11, ~/Library/Application Support/ on macOS and %APPDATA% on Windows - OS::get_cache_path gives XDG_CACHE_HOME, or if missing: ~/.cache on X11, ~/Library/Caches on macOS and %APPDATA% on Windows So for Windows there are no changes, for Linux we follow the full split spec and for macOS stuff will move from ~/.godot to ~/Library/Application Support/Godot. Support for system-wide installation of templates on Unix was removed for now, as it's a bit hackish and I don't think anyone uses it. user:// will still be OS::get_data_path() + "/godot/app_userdata/$name" by default, but when using the application/config/use_shared_user_dir option it will now use XDG_DATA_HOME/$name, e.g. ~/.local/share/MyGame. For now everything still goes in EditorSettings::get_settings_dir(), but this will be changed in a later commit to make use of the new splitting where relevant. Part of #3513.
2017-11-17Improved packed scene previews.Daniel J. Ramirez
2017-11-17Rename OS::get_data_dir to OS::get_user_data_dirRémi Verschelde
Will be needed to avoid confusion with system data path (XDG_DATA_HOME) and editor data dir in upcoming refactoring.
2017-11-17Merge pull request #12930 from vnen/gdscrit-output-printJuan Linietsky
Make tool scripts print on the editor Output panel
2017-11-17Rename Rect3 to AABB.Ferenc Arn
Fixes #12973.
2017-11-16Add print_error function, akin to print_lineGeorge Marques
2017-11-17Merge pull request #12932 from willnationsdev/capitalize-enhancementRémi Verschelde
Fixes a bug where capitalize didn't work with camelCase names
2017-11-14Fixed a bug where capitalize didn't work with camelCase namesWill Nations
2017-11-14Fail when attempting to retrieve a non-existent singletonLeon Krause
2017-11-14Move singleton management from ProjectSettings to EngineLeon Krause
2017-11-13Merge pull request #12867 from eska014/html5-httpRémi Verschelde
Implement HTTPClient in HTML5 platform
2017-11-13Implement HTTPClient in HTML5 platformLeon Krause
Limitations: - Subject to same-origin policy - No persistent connection (but simulated for compatibility) - No blocking mode - No StreamPeer access - No chunked responses - Cannot disable host verification
2017-11-12Add support for the TAU constant. Fixes #12094.Goutte
2017-11-09Remove get_default_video_mode definition on OSX/iOSRémi Verschelde
It had been missed in d09160a8b67fdc60e8108962c4e9bd4c0bc7f13e and broke compilation for those platforms. Took the opportunity to run clang-format on the code base to fix some corner cases that went through our static tests/were overlooked recently.
2017-11-09Make video mode initialization more intuitive, fixes #12022Juan Linietsky
2017-11-09Merge pull request #12780 from karroffel/dictionary-crashRémi Verschelde
fix dictionary constant access crash
2017-11-09fix dictionary constant access crashKarroffel
2017-11-08Increase joystick axis from 8 to 10Bastiaan Olij
2017-11-07Use UTF-8 for locale names. Fixes #12462.mhilbrunner
2017-11-06Merge pull request #12656 from karroffel/dictionary-ordered-hashmapRémi Verschelde
make Dictionary use OrderedHashMap
2017-11-06Merge pull request #12646 from poke1024/geomdocsPoommetee Ketson
Basic docs for Geometry plus two new functions
2017-11-05make Dictionary use OrderedHashMapKarroffel
2017-11-05Basic docs for Geometry plus two new functionsBernhard Liebl
2017-11-05Fixed dedent() binding did not return resultZher Huei Lee
2017-11-04make ConfigFile sections orderedKarroffel
2017-11-04Merge pull request #12593 from DmDerbin/masterPoommetee Ketson
AStar: implementation of get_point_connections
2017-11-04AStar: implementation of get_point_connectionsDmDerbin
2017-11-03make ConfigFile use OrderedHashMapKarroffel
2017-11-01-Modules can now add custom version info (added it for Mono)Juan Linietsky
-Version string takes this version info -Ability to download templates from the interweb (listing does not work yet)
2017-11-01Added String::dedent() to remove text indentationZher Huei Lee
This functions similarly to Python's textwrap.dedent() It's also been applied to doc_data.cpp to remove extra whitespace while parsing the XML.
2017-10-31Merge pull request #12035 from Chaosus/wrapfuncRémi Verschelde
Added new Wrap functions for numbers
2017-10-31Merge pull request #11249 from m4nu3lf/bugfix/get_eulerRémi Verschelde
Fix inertia tensor update & Generic6DOFJoint & Simplify Basis::get_euler()
2017-10-30Add Colemak keybindings to editor for osxN0hbdy
2017-10-30Added difference between function which return value or notЗахаров Андрей
Now ADDFUNC with suffix R add function with return value. It was changed because addfunc considers that the function doesn't return a value if it returns NIL.
2017-10-30Merge pull request #12471 from mhilbrunner/autocompleteRémi Verschelde
Fix get_node() and $ autocompletion when using single quotes
2017-10-30Fix get_node() and $ autocompletion when using single quotesUnknown
2017-10-30Add support for non-ISO locale identifiers via renames mapRémi Verschelde
Windows apparently uses "no" for Norwegian Bokmål, even though its ISO 639-1 language code is "nb"... Closes #12479. Also did some non-intrusive cleanup while at it.
2017-10-29Merge pull request #12437 from mhilbrunner/astar-setpointweightscaleRémi Verschelde
AStar: Add setters for point position and scale weight, cleanup
2017-10-27Merge pull request #12423 from tagcup/zstd_1.3.2Rémi Verschelde
Update zstd to 1.3.2.
2017-10-27AStar: Add setters for point position and scale weight, cleanupUnknown
2017-10-27Add an option to use zstd's recently introduced long range matching (off by ↵Ferenc Arn
default).
2017-10-26Merge pull request #12422 from eska014/httpclient-apiRémi Verschelde
Remove HTTPClient::send_body_text and ::send_body_data