summaryrefslogtreecommitdiff
path: root/core
AgeCommit message (Collapse)Author
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")
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