summaryrefslogtreecommitdiffstats
path: root/core
Commit message (Collapse)AuthorAgeFilesLines
* Safer way to update animation if changed, fixes #26670Juan Linietsky2019-03-061-5/+2
|
* Use GCC builtins for bswap as compiler can then emit these via instructions.marxin2019-03-051-1/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Merge pull request #26629 from bojidar-bg/18386-object-callv-errorsRémi Verschelde2019-03-051-13/+12
|\ | | | | Print errors comming from callv
| * Print errors comming from callvBojidar Marinov2019-03-051-13/+12
| | | | | | | | Fixes #18386
* | Merge pull request #26614 from MarianoGnu/tileset_editorHein-Pieter van Braam2019-03-052-0/+37
|\ \ | | | | | | TileSet/TileMap: Decompose solid non-convex polygons into convexes.
| * | TileSet/TileMap: Decompose solid non-convex polygons into convexes. Real fix ↵Mariano Suligoy2019-03-042-0/+37
| |/ | | | | | | for #24003
* / Make sure ResurceLoader.exists works on imported files, fixes #23555Juan Linietsky2019-03-042-0/+6
|/
* Better warnings when resources can't be saved. Fixes #26531Juan Linietsky2019-03-043-0/+28
|
* More style cleanup...Rémi Verschelde2019-03-041-1/+1
|
* Add support for event accumlation (off by default, on for editor), fixes #26536Juan Linietsky2019-03-034-0/+47
|
* Merge pull request #26547 from vnen/gdscript-dependency-parseJuan Linietsky2019-03-032-0/+18
|\ | | | | Add a parse mode for GDScript which doesn't load dependencies
| * Add function to get String from FileAccessGeorge Marques2019-03-032-0/+18
| |
* | Implement a more coherent (and way less hack) way to block animation ↵Juan Linietsky2019-03-032-1/+14
| | | | | | | | updates, fixes #24618
* | Ability to keep pumping messages while being debugged, may be a solution for ↵Juan Linietsky2019-03-032-0/+2
|/ | | | #21431
* Merge pull request #25934 from mrcdk/pool_int_real_color_interpolateRémi Verschelde2019-03-031-3/+67
|\ | | | | Added PoolIntArray, PoolRealArray and PoolColorArray interpolate
| * Added PoolIntArray, PoolRealArray and PoolColorArray interpolateMrCdK2019-02-161-3/+67
| |
* | Scale quickhull tolerance with mesh sizeHein-Pieter van Braam2019-03-012-3/+3
| | | | | | | | | | Taken from three.js's implementation. Tested with a wide variety of meshes.
* | Clean up blend shape support in GLES2 and GLES3.Juan Linietsky2019-03-011-0/+20
| |
* | -Fix problem of order of import plugins, closes #26340Juan Linietsky2019-02-272-3/+7
| | | | | | | | -Ensure resource previewer does not start until first import is done
* | Merge pull request #26159 from marxin/fix-Wsuggest-attribute=formatRémi Verschelde2019-02-273-8/+16
|\ \ | | | | | | Fix -Wsuggest-attribute=format warnings.
| * | Fix -Wsuggest-attribute=format warnings.marxin2019-02-273-8/+16
| | |
* | | Merge pull request #26134 from marxin/fix-Wsign-compareRémi Verschelde2019-02-272-2/+2
|\ \ \ | | | | | | | | Fix -Wsign-compare warnings.
| * | | Fix -Wsign-compare warnings.marxin2019-02-272-2/+2
| |/ / | | | | | | | | | | | | I decided to modify code in a defensive way. Ideally functions like size() or length() should return an unsigned type.
* | | Fix GCC 5 build after #26331 and cleanup styleRémi Verschelde2019-02-273-11/+12
| | | | | | | | | | | | Also cleanup after 01a3dd3.
* | | -Properly handle missing ETC support on exportJuan Linietsky2019-02-262-2/+62
|/ / | | | | | | | | -Added ability for resource importers to save metadata -Added ability for resource importers to validate depending on project settings
* | -Remove harcoded opengl extension testing from OS, ask rasterizer instead.Juan Linietsky2019-02-262-0/+15
| | | | | | | | -Fixed a bug where etc textures were imported broken
* | Remove setting that caused is_inside_tree() errors on doppler tracking enabled.Juan Linietsky2019-02-261-8/+2
| |
* | Several fixes to make GLES2 on HTML5 work much better.Juan Linietsky2019-02-256-33/+72
| | | | | | | | Changed math class error reporting to be a bit less paranoid.
* | Revert "Fix 'UndoRedo's 'MERGE_ALL' mode repeating instructions when quickly ↵Michael Alexsander Silva Dias2019-02-251-13/+19
| | | | | | | | | | | | commiting actions" This reverts commit 79f1d8b4fbac564cb55669bbf05034bb9e15ae4a.
* | Fix wrapi to use int64_t instead intChaosus2019-02-251-2/+2
| |
* | Ensure all properties are refreshed when setting a script, fixes #24845Juan Linietsky2019-02-241-1/+1
| |
* | Prevent circular references to scene being saved, fixes #24384Juan Linietsky2019-02-242-1/+7
| |
* | Merge pull request #26171 from Calinou/fix-wrapi-crashRémi Verschelde2019-02-241-3/+3
|\ \ | | | | | | Fix crash when using `wrapi()` with a range of zero
| * | Fix crash when using `wrapi()` with a range of zeroHugo Locurcio2019-02-231-3/+3
| | | | | | | | | | | | | | | `wrapi()` and `wrapf()` will now return the value of the `min` parameter if the range is equal to zero.
* | | Make allowed pid for window takeover happen immediately, fixes #21431Juan Linietsky2019-02-232-12/+0
|/ /
* | Don't crash when parse_utf8 receives a NULL pointerHein-Pieter van Braam2019-02-221-0/+3
| | | | | | | | | | This can happen when chaining calls to various string methods when the string is empty.
* | Merge pull request #26129 from YeldhamDev/undoredo_merge_all_fixRémi Verschelde2019-02-221-19/+13
|\ \ | | | | | | Fix 'UndoRedo's 'MERGE_ALL' mode repeating instructions when quickly commiting actions
| * | Fix 'UndoRedo's 'MERGE_ALL' mode repeating instructions when quickly ↵Michael Alexsander Silva Dias2019-02-211-19/+13
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | Merge pull request #26132 from marxin/fix-Wignored-qualifiersRémi Verschelde2019-02-222-6/+4
|\ \ \ | | | | | | | | Fix warnings seen with -Wignored-qualifiers.
| * | | Fix warnings seen with -Wignored-qualifiers.marxin2019-02-212-6/+4
| |/ /
* | | Merge pull request #26099 from marxin/fix-Wtype-limits-warningsRémi Verschelde2019-02-222-0/+16
|\ \ \ | | | | | | | | Fix all -Wtype-limits warnings.
| * | | Fix all -Wtype-limits warnings.marxin2019-02-212-0/+16
| |/ /
* / / Implement a cleaner (and better) way to save imagedata from ImageTexture, ↵Juan Linietsky2019-02-213-2/+34
|/ / | | | | | | fixes #18801
* | Merge pull request #26115 from WindyDarian/fix_dictionary_erase_returing_nullRémi Verschelde2019-02-211-1/+1
|\ \ | | | | | | Fix return value for Dictionary.erase(key) in script
| * | Fix return value for Dictionary.erase()Windy Darian2019-02-211-1/+1
| | |
* | | Fix VariantWriter overflow on 64-bit intRémi Verschelde2019-02-211-1/+1
|/ / | | | | | | | | | | | | | | 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.
* | Add -Wshadow=local to warnings and fix reported issues.marxin2019-02-2018-133/+132
| | | | | | | | Fixes #25316.
* | Merge pull request #26015 from hedin-hiervard/masterRémi Verschelde2019-02-201-5/+8
|\ \ | | | | | | fixed AStar improper point deletion (leads to crash)
| * | fixed AStar improper point deletion (leads to crash)hedin2019-02-201-5/+8
| | |
* | | Merge pull request #26095 from lupoDharkael/right-leftRémi Verschelde2019-02-201-4/+4
|\ \ \ | |/ / |/| | Fix wrong bounds check in String::right