summaryrefslogtreecommitdiff
path: root/core
AgeCommit message (Collapse)Author
2019-12-20Encodes property names properly in project.godotHaoyu Qiu
2019-12-19Merge pull request #34421 from Chaosus/fix_strcpy_warningRémi Verschelde
Fix build warning in ustring.cpp on Windows/MSVC platform
2019-12-18Suggest use of deferred or oneshot on disconnect if the signal is locked. ↵Juan Linietsky
Closes #34443.
2019-12-18Fix build warning in ustring.cpp on Windows/MSVC platformYuri Roubinsky
2019-12-17Merge pull request #34348 from Catchawink/masterRémi Verschelde
Fixed issues with using a relative path in the export window.
2019-12-17Improve error message and do not spam forever.Juan Linietsky
2019-12-17Restore signal locking, for some reason missing.Juan Linietsky
2019-12-16Fixed issues with using a relative path in the export window.Catchawink
Before this fix, opening relative export paths inside of an EditorFileDialog was not possible. This was fixed by modifying String::path_to_file() to save relative paths in EditorExportPreset::set_export_path() more appropriately and changing EditorFileDialog::set_current_dir() to open relative paths.
2019-12-15Document that translated does not behave like rotated or scaledAaron Franke
2019-12-14Merge pull request #33910 from Faless/net/android_mlockRémi Verschelde
Acquire MulticastLock on Android when using broadcast/multicast
2019-12-14UDP sockets broadcast is now disabled by default.Fabio Alessandrelli
Add method `set_broadcast_enabled` to allow enabling broadcast via GDScript.
2019-12-13Drop b2d_convexdecomp. no longer necessary.Rémi Verschelde
We now use `thirdparty/misc/triangulator.h` for all physics-related (collision, navigation) triangulation needs. Follow-up to #34293.
2019-12-13Merge pull request #34310 from qarmin/shift_operatorsRémi Verschelde
Don't allow to use too big or too small shift count
2019-12-12Don't allow to use too big or too small shift operatorsRafał Mikrut
2019-12-11Merge pull request #27792 from Giacom/fix_quatRémi Verschelde
Fixes being unable to use the Quat(Vector3) constructor
2019-12-10NetSocket set_broadcast_enabled returns Error enumFabio Alessandrelli
2019-12-10Merge pull request #34040 from qarmin/unused_variable_more_precise_numbersRémi Verschelde
Removed unused variables, add some constants numbers
2019-12-10Removed unused variables, add some constants numbersRafał Mikrut
2019-12-07Make some arguments in PCKPacker methods optionalHugo Locurcio
Those arguments aren't required for most common use cases, so making them optional should help with code readability.
2019-12-04ResourceLoader: Add language code matching for localized resourcesRémi Verschelde
Near matching was not implemented like in TranslationServer, so a resource remapped for 'ru' (but not 'ru_RU') would not be used as fallback if the system locale was 'ru_RU'. Fixes #34058.
2019-12-04Translation: Refactor locale matching to use proper language codeRémi Verschelde
The previous code only parsed the first two characters (potentially reading out of bounds if input was invalid), but some locales use a 3-letter language code (e.g. 'nah_MX'). So I refactored the logic a bit to properly parse the locale and extract the part left of the regional code, if provided (supports both 'en_US' and 'en-US' style). I made TranslationServer::get_language_code() public as I'll use it in a follow up commit.
2019-12-04Added support for vertical syncing via the Windows OS compositor (DWM.)TerminalJack
2019-12-03Fix severe performance drop while deflating polylinesAndrii Doroshenko (Xrayez)
Underscaled arc tolerance produced very small values so that changes to this parameter were negligible when scaled internally, hence significant performance drop (lots of intermediate points inserted in an arc). Now the performance is mostly the same compared to other types of offsetting (SQUARE, MITER).
2019-12-03Merge pull request #34072 from arlez80/masterRémi Verschelde
fixed pitch bend value and MIDI running status on the InputEventMIDI.
2019-12-03fixed set pitch bend value and implemented midi running statusあるる / きのもと 結衣
2019-12-03Merge pull request #33857 from nekomatata/polygon-2d-antialiasingRémi Verschelde
Fixed antialiased option for Polygon2D
2019-12-01Merge pull request #33640 from mewin/http_head_requestFabio Alessandrelli
Fix HTTP HEAD requests
2019-11-28Fixed antialiased option for Polygon2D / Line2DPouleyKetchoupp
Polygon2D: The property wasn't used anymore after switching from canvas_item_add_polygon() to canvas_item_add_triangle_array() for drawing. Line2D: Added the same property as for Polygon2D & fixed smooth line drawing to use indices correctly. Fixes #26823
2019-11-26do not wait for response body when making a HEAD requestPatrick Wuttke
2019-11-26Revert "Fix localise_path method so that uncached scripts don't sometimes ↵Emmanuel Leblond
get loaded with two backslashes" This reverts commit 1342551664091c1ceb931ee45d9c43f09df5f1ff.
2019-11-25Merge pull request #33862 from Faless/net/http_request_chunk_sizeRémi Verschelde
Add download_chunk_size property to HTTPRequest.
2019-11-24Add download_chunk_size property to HTTPRequest.Fabio Alessandrelli
This allows setting the `read_chunk_size` of the internal HTTPClient. This is important to reduce the allocation overhead and number of file writes when downloading large files, allowing for better download speed.
2019-11-23Merge pull request #33652 from Black-Cat/http-client-fixFabio Alessandrelli
Fix HTTPClient::poll crash when connection set to null
2019-11-23Fix HTTPClient::poll crash when connection set to nullArtem Burjachenko
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")