summaryrefslogtreecommitdiff
path: root/core
AgeCommit message (Collapse)Author
2019-04-05Reorder reverse caps characters table for string lower case conversionAndrii Doroshenko (Xrayez)
The binary search algorithm used to lookup character codes in the table relies that the data must be ordered. This fixes `to_lower()` string method to convert upper case to lower case properly, so that the algorithm doesn't terminate prematurely. Co-authored-by: AndreevAndrei (avandrei) <avandrei@MacBookAAV.local>
2019-03-07Ensure ETC2 textures are ALSO compressed to Po2 when have mipmaps. Fixes #26733Juan Linietsky
2019-03-07Fixed get_seed() not returning the correct seed.MidZik
2019-03-06Merge pull request #26665 from bojidar-bg/19704-singleton-constantsRémi Verschelde
Fix enums coming from other classes without preload
2019-03-06Safer way to update animation if changed, fixes #26670Juan Linietsky
2019-03-05Use GCC builtins for bswap as compiler can then emit these via instructions.marxin
Using current macros, one get for: static inline int BSWAP32(int x) { return ((x << 24) | ((x << 8) & 0x00FF0000) | ((x >> 8) & 0x0000FF00) | (x >> 24)); } int main(int argc, char **argv) { return BSWAP32(argc); } main: .LFB1: .cfi_startproc movl %edi, %eax movl %edi, %edx sarl $24, %edx sall $24, %eax orl %edx, %eax movl %edi, %edx sarl $8, %edi sall $8, %edx andl $65280, %edi andl $16711680, %edx orl %edx, %eax orl %edi, %eax ret while using: int main(int argc, char **argv) { return __builtin_bswap32(argc); } one gets: main: .LFB0: .cfi_startproc movl %edi, %eax bswap %eax ret
2019-03-05Fix enums coming from other classes without preloadBojidar Marinov
Fix #19704, fix #26001
2019-03-05Merge pull request #26629 from bojidar-bg/18386-object-callv-errorsRémi Verschelde
Print errors comming from callv
2019-03-05Print errors comming from callvBojidar Marinov
Fixes #18386
2019-03-05Merge pull request #26614 from MarianoGnu/tileset_editorHein-Pieter van Braam
TileSet/TileMap: Decompose solid non-convex polygons into convexes.
2019-03-04TileSet/TileMap: Decompose solid non-convex polygons into convexes. Real fix ↵Mariano Suligoy
for #24003
2019-03-04Make sure ResurceLoader.exists works on imported files, fixes #23555Juan Linietsky
2019-03-04Better warnings when resources can't be saved. Fixes #26531Juan Linietsky
2019-03-04More style cleanup...Rémi Verschelde
2019-03-03Add support for event accumlation (off by default, on for editor), fixes #26536Juan Linietsky
2019-03-03Merge pull request #26547 from vnen/gdscript-dependency-parseJuan Linietsky
Add a parse mode for GDScript which doesn't load dependencies
2019-03-03Implement a more coherent (and way less hack) way to block animation ↵Juan Linietsky
updates, fixes #24618
2019-03-03Ability to keep pumping messages while being debugged, may be a solution for ↵Juan Linietsky
#21431
2019-03-03Add function to get String from FileAccessGeorge Marques
2019-03-03Merge pull request #25934 from mrcdk/pool_int_real_color_interpolateRémi Verschelde
Added PoolIntArray, PoolRealArray and PoolColorArray interpolate
2019-03-01Scale quickhull tolerance with mesh sizeHein-Pieter van Braam
Taken from three.js's implementation. Tested with a wide variety of meshes.
2019-03-01Clean up blend shape support in GLES2 and GLES3.Juan Linietsky
2019-02-27-Fix problem of order of import plugins, closes #26340Juan Linietsky
-Ensure resource previewer does not start until first import is done
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.