summaryrefslogtreecommitdiff
path: root/core
AgeCommit message (Collapse)Author
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 ```
2019-02-13Merge pull request #25821 from akien-mga/sync-class-and-filenamesRémi Verschelde
Ensure classes match their header filename
2019-02-12[Core] Transform2D add set_scale and fix set_rotationAaron Franke
Note: These are still not exposed to GDScript
2019-02-12Merge pull request #25721 from neikeq/wwRémi Verschelde
Use script instance binding for objects constructed from C#
2019-02-12Core: Ensure classes match their header filenameRémi Verschelde
Also drop some unused files. Renamed: - `core/dvector.h` -> `pool_vector.h` - `core/io/resource_import.h` -> `resource_importer.h` - `core/sort.h` -> `sort_array.h` - `core/string_db.h` -> `string_name.h` Dropped: - `core/allocators.h` - `core/os/shell.h` - `core/variant_construct_string.cpp`
2019-02-12Merge pull request #25481 from hpvb/fix-ubsan-asan-reportsRémi Verschelde
Fix many asan and ubsan reported issues
2019-02-10Merge pull request #25727 from aaronfranke/matrix3-basisRémi Verschelde
[Core] Rename Matrix3 file to Basis
2019-02-10Fix random generation, to not retrieve 0 after seed()Chaosus
2019-02-09Warn when using GPU particles with GLES2Rémi Verschelde
Closes #25733.