summaryrefslogtreecommitdiff
path: root/core
AgeCommit message (Collapse)Author
2019-11-20Merge pull request #33583 from qarmin/fix_overflows_unitializedRémi Verschelde
Fix some overflows and unitialized variables
2019-11-20Fix some overflows and unitialized variablesRafał Mikrut
2019-11-19Fixed bug caused by a copy/paste error in Face3::get_closest_point_tostoofin
s * edge0 = -d / a * edge0 = -edge0⋅v0 / (edge0⋅edge0) * edge0 = vector projection of -v0 onto edge0 By incorrectly using -e/c instead of -d/a, Face3::get_closest_point_to was returning the wrong point in certain cases. Specifically, I noticed it returning vertex[0] when it should have been returning vertex[1].
2019-11-13Fix explain message not being stripped in release.Fabio Alessandrelli
Messages coming from ERR_EXPLAIN / ERR_*_MSG macros used to strip the error explanation in release builds and was changed in a recent refactoring. This commit restores the old behaviour (fixing release builds).
2019-11-11Merge pull request #33517 from madmiraal/fix-_MSG-macrosRémi Verschelde
Send *_MSG macros' explanations directly to the _err_print_error().
2019-11-11Remove ERR_EXPLAIN macros and the scaffolding they needed.Marcel Admiraal
2019-11-11Remove all uses of ERR_EXPLAIN macros.Marcel Admiraal
2019-11-10Send m_msg directly to _err_print_error().Marcel Admiraal
2019-11-08Expose the `OS.low_processor_usage_mode_sleep_usec` propertyHugo Locurcio
This makes it possible to change it at runtime in projects.
2019-11-08doc: Sync classref with current sourceRémi Verschelde
Fix incomplete binding.
2019-11-08Merge pull request #33445 from kawa-yoiko/astar-soft-errorRémi Verschelde
Emit an error rather than crash in A*
2019-11-08Fix MinGW/clang/LLD/UCRT build.bruvzg
2019-11-08Emit an error rather than crash in A*Shiqing
2019-11-08Merge pull request #27742 from rxlecky/camera-replicationRémi Verschelde
Game camera override
2019-11-08Merge pull request #33052 from KoBeWi/naughty_slidersRémi Verschelde
Fix analog input in sliders
2019-11-08Merge pull request #33376 from jamie-pate/masterRémi Verschelde
Fix #24137 Different number of leading zeros on MINGW printf("%lg")
2019-11-07Fix #24137 Different number of leading zeros on MINGW printf("%lg")Jamie Pate
Use _set_output_format() on MINGW platform to force _snprintf_s() to conform to the C99 standard and match the other platforms. Fixes #24137
2019-11-07Fix analog input in slidersTomasz Chabora
2019-11-07Merge pull request #32477 from aaronfranke/equal-approx-separateRémi Verschelde
Make is_equal_approx separate and make == exact again
2019-11-07Merge pull request #30556 from kawa-yoiko/astar-directedRémi Verschelde
Improve support for directed graphs in A*; docs update included
2019-11-06Merge pull request #33380 from SaracenOne/localise_path_fixRémi Verschelde
Fix localise_path method
2019-11-06Remove implicit dependency on String from error_macros.h.Marcel Admiraal
2019-11-06Fix localise_path method so that uncached scripts don't sometimes get loaded ↵Saracen
with two backslashes
2019-11-03Merge pull request #33254 from SneakyFish5/update-zstdRémi Verschelde
Update zstd to 1.4.3
2019-11-03Update zstd to 1.4.3unknown
2019-11-01Merge pull request #33238 from qarmin/other_fixesRémi Verschelde
Fix some crashes, overflows and using variables without values
2019-11-01Fix some crashes, overflows and using variables without valuesRafał Mikrut
2019-11-01Merge pull request #32643 from mewin/add_global_classGeorge Marques
Check for cyclic inheritance when adding a global script class
2019-11-01Merge pull request #33210 from nekomatata/pool-array-emptyRémi Verschelde
Added empty() function to pool array types
2019-10-31Added empty() function to pool array typesPouleyKetchoupp
2019-10-31Fix "seperate" typosAaron Franke
2019-10-31Provide and print error messages for JSON parsingAndrii Doroshenko (Xrayez)
Core is not touched, only for binding and scripting.
2019-10-31Merge pull request #33174 from hbina/fix_srgb_to_linearRémi Verschelde
Fixed uinitialized variable in srgb_to_linear table
2019-10-30[macOS, Windows, X11] Add graphic tablet pen pressure and tilt support to ↵bruvzg
InputEventMouseMotion event.
2019-10-30Fixed uinitialized variable in srgb_to_linear tableHanif Bin Ariffin
Old array's size was actually 255. Fixes #33133
2019-10-28Fixed remote inspector for tool scriptsPouleyKetchoupp
Fixes #29506
2019-10-28Merge pull request #32416 from bojidar-bg/32415-shared-metadataRémi Verschelde
Ensure object metadata is unique
2019-10-28Merge pull request #33104 from qarmin/fix_some_crashesRémi Verschelde
Fix some crashes and using null pointers
2019-10-28Fix some crashes and using null pointersRafał Mikrut
2019-10-26Merge pull request #32719 from nekomatata/dictionary-optimizationRémi Verschelde
Optimized Dictionary hash() and duplicate() methods
2019-10-25MultiplayerAPI cleanup cache when peer disconnectsFabio Alessandrelli
We used to only cleanup path_get_cache and not path_send_cache causing issues when a peer disconnects and then reconnects with the same ID.
2019-10-25Fix missing `z_verbose` and `z_error` symbols in debug iOS build.bruvzg
2019-10-24Merge pull request #33030 from Xrayez/vformat-err-msgRémi Verschelde
Display error messages in console when vformat is called
2019-10-24Display error messages in console when vformat is calledAndrii Doroshenko (Xrayez)
2019-10-24Initialise VMap and HashMap values to the default when they are created.Marcel Admiraal
Assigns a default value in VMap and HashMap when new keys are created using the array operator so they are the same as the other Map classes. The non const version of the array operator can be used for both assigning a value and retrieving a writeable version. In the Map template classes the assign version is being used to create new keys, but sometimes not assigning a value when retrieving a writeable version. This does not address the problem that the default value may not be the correct one, and it does not address the problem that new keys probably should not be created when the array operator is used. These problems will be addressed in a separate commit.
2019-10-23Merge pull request #32670 from aaronfranke/mono-planeRémi Verschelde
[Mono] Change Plane intersect methods to return nullable Vector3
2019-10-23Implement game camera overrideErik
Implemented uniform API in Viewport class to override 2D and/or 3D camera. Added buttons in 2D and 3D editor viewport toolbars that override the running game camera transform with the editor viewport camera transform. Implemented via remote debugger protocol and camera override API. Removed LiveEditFuncs function pointers from ScriptDebugger class. Since the debugger got access to the SceneTree instance (if one exists), there is no need to store the function pointers. The live edit functions in SceneTree are used directly instead. Also removed the static version of live edit functions in SceneTree for the same reason. This reduced the SceneTree -> Debugger coupling too since the function pointers don't need to be set from SceneTree anymore. Moved script_debugger_remote.h/cpp from 'core/' to 'scene/debugger/'. This is because the remote debugger is now using SceneTree directly and 'core/' classes should not depend on 'scene/' classes.
2019-10-22Add request permission automatically at androidCagdas
2019-10-21Merge pull request #30622 from creikey/fix-path-cachingRémi Verschelde
PackedScene resources are freed before they are saved
2019-10-14Expose is_equal_approx and restore == to be exact againAaron Franke
This commit changes behavior for GDScript and C#. Also did some organizing of the order to logically group related methods, mostly for Rect2 and AABB.