summaryrefslogtreecommitdiff
path: root/core
AgeCommit message (Collapse)Author
2019-05-15Fix NaN with get_action_strengthGilles Roudière
2019-05-12Better handle some self-RSET/RPC in MultiplayerAPIFabio Alessandrelli
Allow calling yourself via RPC/RSET if the mode allows it. Better error messages when you are not allowed to call yourself.
2019-05-09Change "ID" to lowercase "id"Aaron Franke
Reasoning: ID is not an acronym, it is simply short for identification, so it logically should not be capitalized. But even if it was an acronym, other acronyms in Godot are not capitalized, like p_rid, p_ip, and p_json.
2019-05-08Avoid _can_call_mode resetting error message in MultiplayerAPIFabio Alessandrelli
2019-05-06Merge pull request #28525 from MunWolf/func_ref_validationRémi Verschelde
Added an is_valid function to FuncRef
2019-05-02Locales: Add some missing locale namesRémi Verschelde
2019-05-01Merge pull request #27676 from qarmin/small_fixes_2Rémi Verschelde
Small fixes to static analyzer bugs
2019-04-30Make "decimal" functions more consistentAaron Franke
In GDScript, rename "decimals" to "step_decimals". In C#, add "StepDecimals", but keep the old functionality in a method called "DecimalCount".
2019-04-30Merge pull request #28530 from akien-mga/scons-prepend-cpppathRémi Verschelde
SCons: Always use env.Prepend for CPPPATH
2019-04-30Merge pull request #24437 from mateusfccp/single_quotes_optionRémi Verschelde
Add settings for single-quotes on completion
2019-04-30SCons: Always use env.Prepend for CPPPATHRémi Verschelde
Include paths are processed from left to right, so we use Prepend to ensure that paths to bundled thirdparty files will have precedence over system paths (e.g. `/usr/include` should have lowest priority).
2019-04-30Merge pull request #27294 from lupoDharkael/rect2iRémi Verschelde
Add missing methods to Rect2i
2019-04-29Added an is_valid function to FuncRef so script can check if it is safe to ↵Rikhardur Bjarni Einarsson
call it.
2019-04-29Merge pull request #28423 from ↵Rémi Verschelde
neikeq/dont-forget-to-think-a-name-for-this-branch C#: Deprecate accessor methods and generate correct int and float types
2019-04-29Merge pull request #28452 from Sintinium/undoredo-lockRémi Verschelde
Undo support for locking and grouping for both 2D and 3D
2019-04-27C#: Generate the correct integer and floating point typesIgnacio Etcheverry
2019-04-26Undo support for locking and grouping for both 2D and 3DSintinium
2019-04-25Use approximate equallity methods in many placesAaron Franke
2019-04-25[Core] Approximate equalityAaron Franke
2019-04-25Merge pull request #28376 from ↵Rémi Verschelde
MuffinManKen/translation_server_get_all_loaded_locales Add method to get locales that have loaded translations
2019-04-24Added TranslationServer::get_loaded_locales to return an array of all ↵Ken Paulson
locales with a loaded Translation
2019-04-24SCons: Review uses of CCFLAGS, CXXFLAGS and CPPFLAGSRémi Verschelde
Many contributors (me included) did not fully understand what CCFLAGS, CXXFLAGS and CPPFLAGS refer to exactly, and were thus not using them in the way they are intended to be. As per the SCons manual: https://www.scons.org/doc/HTML/scons-user/apa.html - CCFLAGS: General options that are passed to the C and C++ compilers. - CFLAGS: General options that are passed to the C compiler (C only; not C++). - CXXFLAGS: General options that are passed to the C++ compiler. By default, this includes the value of $CCFLAGS, so that setting $CCFLAGS affects both C and C++ compilation. - CPPFLAGS: User-specified C preprocessor options. These will be included in any command that uses the C preprocessor, including not just compilation of C and C++ source files [...], but also [...] Fortran [...] and [...] assembly language source file[s]. TL;DR: Compiler options go to CCFLAGS, unless they must be restricted to either C (CFLAGS) or C++ (CXXFLAGS). Preprocessor defines go to CPPFLAGS.
2019-04-07Add FileAccess::set_unix_permissions for Unix platformsJuan Linietsky
2019-04-23Merge pull request #24269 from xsellier/feature/master-add-sha256Hein-Pieter van Braam
Add SHA256 for PoolByteArray
2019-04-23Merge pull request #26064 from JFonS/add_frustum_camera_modeHein-Pieter van Braam
Add FRUSTUM camera mode, allowing tilted frustums
2019-04-22fixed an access after free in OS_X11::set_context.Ibrahn Sahir
Added constructor and assignment operator for CharString from const char* to simplify memory management when working with utf8/ascii strings for APIs taking char*. Reworked OS_X11::set_context to use CharString and avoid some manual memory management.
2019-04-22Merge pull request #26787 from ptrojahn/utf8assignRémi Verschelde
Support UTF-8 input action names
2019-04-22Merge pull request #28179 from neikeq/welpRémi Verschelde
Use StringBuilder in C# bindings generator
2019-04-21Merge pull request #27376 from follower/patch-1Rémi Verschelde
Typo fix: "the function exists" -> "the function exits"
2019-04-21Merge pull request #28217 from hpvb/fix-28089Hein-Pieter van Braam
Don't crash on printing nested types
2019-04-20Merge pull request #24951 from Mr-Slurpy/local-rpc-sender-id-fixFabio Alessandrelli
Sender network id is now set to local network id for local rpc calls.
2019-04-20Merge pull request #28210 from hpvb/fix-28134Rémi Verschelde
Object::script may not be a valid Ref<Script>
2019-04-20Object::script may not be a valid Ref<Script>Hein-Pieter van Braam-Stewart
It appears that Object::script may be a valid ScriptInstance but not be castable to Ref<Script>. There were only 5 places in the code that made this assumption. This commit fixes that.
2019-04-20Don't crash on printing nested typesHein-Pieter van Braam-Stewart
When adding an Array or Dictionary to itself operator String() got in an infinite loop. This commit adds a stack to operator String() (Through the use of a new 'stringify method'). This stack keeps track of all unique Arrays and Dictionaries it has seen. When a duplicate is found only a static string is printed '[...]' or '{...}'. This mirror Python's behavior in a similar case.
2019-04-19Added ability for multiple images to be imported as an atlasJuan Linietsky
This adds support for groups in the import system, which point to a single file. Add property hint for saving files in file field
2019-04-19Use StringBuilder in C# bindings generatorIgnacio Etcheverry
- Also fixed generation of empty summary comments when no comment should have been generated.
2019-04-18Compression: Set Zstd max window size via public parameterRémi Verschelde
`ZSTD_DCtx_setMaxWindowSize` is still part of the experimental API (thus unexposed in the shared library). Upstream examples seem to use `ZSTD_d_windowLogSize` instead, so it's probably what we should use too. Fixes #17374. Distro packagers can now unbundle Zstd.
2019-04-16Sender network id is now set to local network id for local rpc calls.Daniel Eliasinski
2019-04-16Merge pull request #28052 from muiroc/settings_decodes_objectsRémi Verschelde
Enable object decoding when serializing binary project settings
2019-04-15Add Input::get_current_cursor_shapeGuilherme Felipe
[Clean up] Removed unused/unnecessary methods.
2019-04-15Enable object decoding when serializing binary project settingsmuiroc
2019-04-11No more metadata and dependency indices kept in resources saved.Juan Linietsky
-Node folding is now saved externally together with the properties -External resources remember their ID when scenes are saved.
2019-04-10Added generator audio stream, and spectrum analyzer audio effectJuan Linietsky
Made AudioFrame and Vector2 equivalent for casting. Added ability to obtain the playback object from stream players. Added ability to obtain effect instance from audio server.
2019-04-09Style: Apply new changes from clang-format 8.0Rémi Verschelde
It seems to stay compatible with formatting done by clang-format 6.0 and 7.0, so contributors can keep using those versions for now (they will not undo those changes).
2019-04-08Add ability to edit editor feature profilesJuan Linietsky
Allows enabling/disabling parts of the editor and storing/loading profiles for that.
2019-04-08Merge pull request #27711 from neikeq/ifdef-clang-tidyRémi Verschelde
Replace a few #if/#elif with #ifdef and "#elif defined"
2019-04-08Merge pull request #27506 from Chaosus/astarRémi Verschelde
Added functions to AStar for disable/enable points to effectivly create obstacles
2019-04-08Merge pull request #27452 from Chaosus/direction_toRémi Verschelde
Added method to retrieve a direction vector from one point to another
2019-04-08Merge pull request #27644 from lupoDharkael/busRémi Verschelde
Allow default audio bus layout modification
2019-04-08Merge pull request #26760 from Xrayez/26744-fix-string-to-lowerRémi Verschelde
Reorder reverse caps characters table for string lower case conversion