summaryrefslogtreecommitdiff
path: root/core
AgeCommit message (Collapse)Author
2019-02-27Merge pull request #26159 from marxin/fix-Wsuggest-attribute=formatRémi Verschelde
Fix -Wsuggest-attribute=format warnings.
2019-02-27Merge pull request #26134 from marxin/fix-Wsign-compareRémi Verschelde
Fix -Wsign-compare warnings.
2019-02-27Fix GCC 5 build after #26331 and cleanup styleRémi Verschelde
Also cleanup after 01a3dd3.
2019-02-27Fix -Wsign-compare warnings.marxin
I decided to modify code in a defensive way. Ideally functions like size() or length() should return an unsigned type.
2019-02-27Fix -Wsuggest-attribute=format warnings.marxin
2019-02-26-Properly handle missing ETC support on exportJuan Linietsky
-Added ability for resource importers to save metadata -Added ability for resource importers to validate depending on project settings
2019-02-26-Remove harcoded opengl extension testing from OS, ask rasterizer instead.Juan Linietsky
-Fixed a bug where etc textures were imported broken
2019-02-26Remove setting that caused is_inside_tree() errors on doppler tracking enabled.Juan Linietsky
2019-02-25Several fixes to make GLES2 on HTML5 work much better.Juan Linietsky
Changed math class error reporting to be a bit less paranoid.
2019-02-25Revert "Fix 'UndoRedo's 'MERGE_ALL' mode repeating instructions when quickly ↵Michael Alexsander Silva Dias
commiting actions" This reverts commit 79f1d8b4fbac564cb55669bbf05034bb9e15ae4a.
2019-02-25Fix wrapi to use int64_t instead intChaosus
2019-02-24Ensure all properties are refreshed when setting a script, fixes #24845Juan Linietsky
2019-02-24Prevent circular references to scene being saved, fixes #24384Juan Linietsky
2019-02-24Merge pull request #26171 from Calinou/fix-wrapi-crashRémi Verschelde
Fix crash when using `wrapi()` with a range of zero
2019-02-23Fix crash when using `wrapi()` with a range of zeroHugo Locurcio
`wrapi()` and `wrapf()` will now return the value of the `min` parameter if the range is equal to zero.
2019-02-23Make allowed pid for window takeover happen immediately, fixes #21431Juan Linietsky
2019-02-22Don't crash when parse_utf8 receives a NULL pointerHein-Pieter van Braam
This can happen when chaining calls to various string methods when the string is empty.
2019-02-22Merge pull request #26129 from YeldhamDev/undoredo_merge_all_fixRémi Verschelde
Fix 'UndoRedo's 'MERGE_ALL' mode repeating instructions when quickly commiting actions
2019-02-22Merge pull request #26132 from marxin/fix-Wignored-qualifiersRémi Verschelde
Fix warnings seen with -Wignored-qualifiers.
2019-02-22Merge pull request #26099 from marxin/fix-Wtype-limits-warningsRémi Verschelde
Fix all -Wtype-limits warnings.
2019-02-21Implement a cleaner (and better) way to save imagedata from ImageTexture, ↵Juan Linietsky
fixes #18801
2019-02-21Fix warnings seen with -Wignored-qualifiers.marxin
2019-02-21Fix 'UndoRedo's 'MERGE_ALL' mode repeating instructions when quickly ↵Michael Alexsander Silva Dias
commiting actions It seems that the merge operation validation is only useful to the 'MERGE_ENDS' mode, causing problems when in 'MERGE_ALL'. Fixes #26118.
2019-02-21Fix all -Wtype-limits warnings.marxin
2019-02-21Merge pull request #26115 from WindyDarian/fix_dictionary_erase_returing_nullRémi Verschelde
Fix return value for Dictionary.erase(key) in script
2019-02-21Fix return value for Dictionary.erase()Windy Darian
2019-02-21Fix VariantWriter overflow on 64-bit intRémi Verschelde
Integers in Godot are signed 64-bit ints (int64_t), but var2str used int behind the scenes and would thus overflow after 2^31. Also properly documented the actual bounds of int and the behaviour when overflowing them.
2019-02-20Add -Wshadow=local to warnings and fix reported issues.marxin
Fixes #25316.
2019-02-20Merge pull request #26015 from hedin-hiervard/masterRémi Verschelde
fixed AStar improper point deletion (leads to crash)
2019-02-20Merge pull request #26095 from lupoDharkael/right-leftRémi Verschelde
Fix wrong bounds check in String::right
2019-02-20fixed AStar improper point deletion (leads to crash)hedin
2019-02-20Fix wrong bounds check in String::rightlupoDharkael
2019-02-20Merge pull request #26069 from hpvb/align-variantRémi Verschelde
Align the Variant data member
2019-02-20Align the Variant data memberHein-Pieter van Braam
This should avoid potential alignment issues when _mem holds real values and speed up some floating point operations in some cases.
2019-02-20Fix HTTPClient keep alive with chunked encoding.Fabio Alessandrelli
We need to consume the trailer part and final CRLF after last chunk as per RFC 7230 section 4.1: ``` chunked-body = *chunk last-chunk trailer-part CRLF ``` We do not return the trailer part, just consume it allowing following requests to work as expected when using keep alive.
2019-02-20HTTPClient read until EOF fixesFabio Alessandrelli
2019-02-18Fix warnings seen with warnings=all and recent GCC 8.2.marxin
2019-02-17Add hex-encoded version number to Engine singleton for easy comparisonsRémi Verschelde
2019-02-16Merge pull request #25680 from Chaosus/random_fixRémi Verschelde
Fix random generation, to not always retrieve 0 after seed()
2019-02-16Merge pull request #25952 from pbrunet/fix/randRémi Verschelde
Fix typo for randd and randf
2019-02-16Make resource loader cycle checker work on a per-thread basis.Juan Linietsky
This removes editor errors saying cycles existed when the thumbnailer was running.
2019-02-16Fix typo for randd and randfPierrick Brunet
* And improve documentation according to issue #25938
2019-02-16Merge pull request #25944 from Faless/net/http_editor_fixesRémi Verschelde
Fix keep-alive without header in HTTP client
2019-02-16Fix keep-alive without header in HTTP clientFabio Alessandrelli
2019-02-16Expose OS::get_current_video_driver to scripting languagesRémi Verschelde
2019-02-16Merge pull request #25924 from Calinou/add-gamepad-button-shortcutRémi Verschelde
Make Button shortcuts triggerable by gamepads
2019-02-16Fix alignment and locking issues with CommandQueueMTHein-Pieter van Braam
The allocations of commands in CommandQueueMT weren't aligned. This commit aligns all accesses on 64bit boundaries regardless of target platform. This ensures that all types are aligned. Lock-wise the semaphores were maked as usable when the command had ran but not when the synchronous stub had finished with it. This lead to a race condition where sometimes the semaphore got reused before it was waited on. We now mark the semaphore as free only once we're done waiting on it.
2019-02-16Make Button shortcuts triggerable by gamepadsHugo Locurcio
This closes #25741.
2019-02-14-Fixes to undo redo to avoid crash, closes #24251Juan Linietsky
-Changed Animation to have a special signal when tracks are changed, to avoid unnecesary track cache rebuilds in AnimationPlayer -Added missing emit_changed whe modifying keys to Animation -Changed AnimationPlayer to use the new refcounted connections instead of the previous hacky way to keep references -Changed AnimationEditor to update the current track when keys are edited -Fixed bug where undo/redo did not work with AnimationKeyEdit (was not being updated) -Made sure UndoRedo does not mind deleted objects in undo/redo history, this would corrupt the history or clear it without need.
2019-02-13Fix typos with codespellRémi Verschelde
Using codespell 1.14.0. Method: ``` $ cat > ../godot-word-whitelist.txt << EOF ang doubleclick lod nd numer que te unselect EOF $ codespell -w -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po" $ git diff // undo unwanted changes ```