summaryrefslogtreecommitdiffstats
path: root/core
Commit message (Collapse)AuthorAgeFilesLines
* Fix explain message not being stripped in release.Fabio Alessandrelli2019-11-131-72/+79
| | | | | | | | 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).
* Merge pull request #33517 from madmiraal/fix-_MSG-macrosRémi Verschelde2019-11-115-231/+125
|\ | | | | Send *_MSG macros' explanations directly to the _err_print_error().
| * Remove ERR_EXPLAIN macros and the scaffolding they needed.Marcel Admiraal2019-11-114-131/+2
| |
| * Remove all uses of ERR_EXPLAIN macros.Marcel Admiraal2019-11-111-6/+3
| |
| * Send m_msg directly to _err_print_error().Marcel Admiraal2019-11-102-116/+142
| |
* | Expose the `OS.low_processor_usage_mode_sleep_usec` propertyHugo Locurcio2019-11-082-0/+18
|/ | | | This makes it possible to change it at runtime in projects.
* doc: Sync classref with current sourceRémi Verschelde2019-11-081-1/+1
| | | | Fix incomplete binding.
* Merge pull request #33445 from kawa-yoiko/astar-soft-errorRémi Verschelde2019-11-081-6/+6
|\ | | | | Emit an error rather than crash in A*
| * Emit an error rather than crash in A*Shiqing2019-11-081-6/+6
| |
* | Fix MinGW/clang/LLD/UCRT build.bruvzg2019-11-081-2/+2
|/
* Merge pull request #27742 from rxlecky/camera-replicationRémi Verschelde2019-11-083-1445/+0
|\ | | | | Game camera override
| * Implement game camera overrideErik2019-10-233-1445/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Merge pull request #33052 from KoBeWi/naughty_slidersRémi Verschelde2019-11-082-4/+4
|\ \ | | | | | | Fix analog input in sliders
| * | Fix analog input in slidersTomasz Chabora2019-11-072-4/+4
| | |
* | | Merge pull request #33376 from jamie-pate/masterRémi Verschelde2019-11-081-0/+10
|\ \ \ | | | | | | | | Fix #24137 Different number of leading zeros on MINGW printf("%lg")
| * | | Fix #24137 Different number of leading zeros on MINGW printf("%lg")Jamie Pate2019-11-071-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Use _set_output_format() on MINGW platform to force _snprintf_s() to conform to the C99 standard and match the other platforms. Fixes #24137
* | | | Merge pull request #32477 from aaronfranke/equal-approx-separateRémi Verschelde2019-11-0724-67/+129
|\ \ \ \ | | | | | | | | | | Make is_equal_approx separate and make == exact again
| * | | | Expose is_equal_approx and restore == to be exact againAaron Franke2019-10-144-40/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | | Replace vector == and is_zero_approx(distance) with is_equal_approxAaron Franke2019-10-145-14/+5
| | | | | | | | | | | | | | | | | | | | Internal changes only
| * | | | Make is_equal_approx separate for structuresAaron Franke2019-10-1421-16/+68
| | | | | | | | | | | | | | | | | | | | This commit adds exposed behavior for C#
* | | | | Merge pull request #30556 from kawa-yoiko/astar-directedRémi Verschelde2019-11-072-35/+76
|\ \ \ \ \ | | | | | | | | | | | | Improve support for directed graphs in A*; docs update included
| * | | | | Reduce memory usage for edges in A* and add testsShiqing2019-09-282-37/+69
| | | | | |
| * | | | | Improve support for directed graphs in AStarShiqing2019-09-112-26/+35
| | | | | |
* | | | | | Merge pull request #33380 from SaracenOne/localise_path_fixRémi Verschelde2019-11-061-1/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | Fix localise_path method
| * | | | | | Fix localise_path method so that uncached scripts don't sometimes get loaded ↵Saracen2019-11-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | with two backslashes
* | | | | | | Remove implicit dependency on String from error_macros.h.Marcel Admiraal2019-11-062-12/+25
| |_|_|/ / / |/| | | | |
* | | | | | Merge pull request #33254 from SneakyFish5/update-zstdRémi Verschelde2019-11-031-0/+2
|\ \ \ \ \ \ | | | | | | | | | | | | | | Update zstd to 1.4.3
| * | | | | | Update zstd to 1.4.3unknown2019-11-031-0/+2
| |/ / / / /
* | | | | | Merge pull request #33238 from qarmin/other_fixesRémi Verschelde2019-11-013-2/+9
|\ \ \ \ \ \ | | | | | | | | | | | | | | Fix some crashes, overflows and using variables without values
| * | | | | | Fix some crashes, overflows and using variables without valuesRafał Mikrut2019-11-013-2/+9
| | | | | | |
* | | | | | | Merge pull request #32643 from mewin/add_global_classGeorge Marques2019-11-011-0/+1
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Check for cyclic inheritance when adding a global script class
| * | | | | | | check for cyclic inheritance when adding a global classPatrick Wuttke2019-10-081-0/+1
| | | | | | | |
* | | | | | | | Merge pull request #33210 from nekomatata/pool-array-emptyRémi Verschelde2019-11-012-0/+21
|\ \ \ \ \ \ \ \ | |_|/ / / / / / |/| | | | | | | Added empty() function to pool array types
| * | | | | | | Added empty() function to pool array typesPouleyKetchoupp2019-10-312-0/+21
| | | | | | | |
* | | | | | | | Fix "seperate" typosAaron Franke2019-10-311-1/+1
| | | | | | | |
* | | | | | | | Provide and print error messages for JSON parsingAndrii Doroshenko (Xrayez)2019-10-311-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Core is not touched, only for binding and scripting.
* | | | | | | | Merge pull request #33174 from hbina/fix_srgb_to_linearRémi Verschelde2019-10-311-1/+1
|\ \ \ \ \ \ \ \ | |_|_|/ / / / / |/| | | | | | | Fixed uinitialized variable in srgb_to_linear table
| * | | | | | | Fixed uinitialized variable in srgb_to_linear tableHanif Bin Ariffin2019-10-301-1/+1
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Old array's size was actually 255. Fixes #33133
* / / / / / / [macOS, Windows, X11] Add graphic tablet pen pressure and tilt support to ↵bruvzg2019-10-302-0/+43
|/ / / / / / | | | | | | | | | | | | | | | | | | InputEventMouseMotion event.
* | | | | | Fixed remote inspector for tool scriptsPouleyKetchoupp2019-10-282-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | Fixes #29506
* | | | | | Merge pull request #32416 from bojidar-bg/32415-shared-metadataRémi Verschelde2019-10-281-1/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | Ensure object metadata is unique
| * | | | | | Ensure object metadata is uniqueBojidar Marinov2019-09-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Closes #32415
* | | | | | | Merge pull request #33104 from qarmin/fix_some_crashesRémi Verschelde2019-10-284-2/+11
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Fix some crashes and using null pointers
| * | | | | | | Fix some crashes and using null pointersRafał Mikrut2019-10-284-2/+11
| | |_|_|_|_|/ | |/| | | | |
* | | | | | | Merge pull request #32719 from nekomatata/dictionary-optimizationRémi Verschelde2019-10-261-14/+9
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Optimized Dictionary hash() and duplicate() methods
| * | | | | | | Optimized Dictionary hash() and duplicate() methodsPouleyKetchoupp2019-10-101-14/+9
| | | | | | | |
* | | | | | | | MultiplayerAPI cleanup cache when peer disconnectsFabio Alessandrelli2019-10-251-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | | | | Fix missing `z_verbose` and `z_error` symbols in debug iOS build.bruvzg2019-10-251-0/+2
| |_|_|_|_|_|/ |/| | | | | |
* | | | | | | Merge pull request #33030 from Xrayez/vformat-err-msgRémi Verschelde2019-10-241-1/+1
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Display error messages in console when vformat is called
| * | | | | | | Display error messages in console when vformat is calledAndrii Doroshenko (Xrayez)2019-10-241-1/+1
| | | | | | | |