summaryrefslogtreecommitdiff
path: root/core
AgeCommit message (Collapse)Author
2019-04-07core_bind: Use the appropriate enum instead of intIgnacio Etcheverry
2019-04-06Merge pull request #26699 from Schroedi/fix-line-circle-intersectRémi Verschelde
Fixes Geometry.segment_intersects_circle working only one way.
2019-04-05Revert "Properly explain RPC/RSET mode failure."Rémi Verschelde
This reverts commit 95ad747deaa474b30c04b01f60634f2be9a5ea18. It introduced regressions, see #27655.
2019-04-05Merge pull request #27677 from akien-mga/Wimplicit-fallthroughRémi Verschelde
Fix -Wimplicit-fallthrough warnings from GCC 8
2019-04-05Fix -Wimplicit-fallthrough warnings from GCC 8Rémi Verschelde
Adds `FALLTHROUGH` macro to specify when a fallthrough is intentional. Can be replaced by `[[fallthrough]]` if/when we switch to C++17. The warning is now enabled by default for GCC on `extra` warnings level (part of GCC's `-Wextra`). It's not enabled in Clang's `-Wextra` yet, but we could enable it manually once we switch to C++11. There's no equivalent feature in MSVC for now. Fixes #26135.
2019-04-04Fix 'UndoRedo' increasing its version on actions that should be mergedMichael Alexsander Silva Dias
2019-04-04Clean up notifications and merge Node and MainLoop ones for clarity, closes ↵Juan Linietsky
#27614
2019-04-03Properly explain RPC/RSET mode failure.Fabio Alessandrelli
_can_call_mode used to call is_network_master/get_network_master internally. This would reset any potential last error set via ERR_EXPLAIN, preventing it from being displayed correctly. _can_call_mode now expects the node master ID to be passed instead.
2019-04-03Merge pull request #27214 from marcelofg55/midi_note_offRémi Verschelde
Fix MIDI Note Off missing on some devices
2019-04-02Merge pull request #27597 from marxin/fix-Wnon-virtual-dtor-warningsRémi Verschelde
Fix -Wnon-virtual-dtor warnings.
2019-04-02Enable warnings=extra on clang and GCC testers.marxin
And remove 2 warnings from warnings=extra.
2019-04-02Fix -Wnon-virtual-dtor warnings.marxin
Example of the warning: ./core/script_language.h:198:7: warning: 'class ScriptCodeCompletionCache' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor]
2019-04-01Merge pull request #27171 from Chaosus/randfixRémi Verschelde
Properly setup seed in RNG
2019-04-01Merge pull request #27485 from Faless/io/encode_decode_safety_prRémi Verschelde
Safer encode/decode variant.
2019-04-01Some improvements to is_equal_approx, restored Quat operator.Juan Linietsky
2019-04-01Add object encoding param to serialization methodsFabio Alessandrelli
Network peers get_var/put_var File get_var/store_var GDScript/Mono/VisualScript bytes2var/var2bytes Add MultiplayerAPI.allow_object_decoding member which deprecates PacketPeer.allow_object_decoding. Break ABI compatibaility (API compatibility for GDNative).
2019-04-01Multiplayer API now respects allow_object_decodingFabio Alessandrelli
Add doc about allow_object_decoding in PacketPeer
2019-03-28Use same boolean for objects encode and decode.Fabio Alessandrelli
In a very unintuitive move encode needed false to encode an object, decode needed true to decode it. They now need the same value: `true`.
2019-03-27Properly setup seed in RNGChaosus
2019-03-20Revert accidental commitsPedro J. Estébanez
This reverts commit fb37284c027b494ed3ec21124001fcb729f42cc4. This reverts commit 4db0f51b9aa76cfc7649787fe1970af606ce8dab.
2019-03-20Create live view dock [wip]Pedro J. Estébanez
2019-03-20Create class for shared memory blocks [wip]Pedro J. Estébanez
2019-03-18Fix MIDI Note Off missing on some devicesMarcelo Fernandez
2019-03-16Merge pull request #25495 from IronicallySerious/fix-expand-macrosRémi Verschelde
Fix parameterised macros in core. Addresses #25488
2019-03-09Merge pull request #26851 from RandomShaper/fix-26460-fake-event-floodRémi Verschelde
Fix fake null-motion mouse event flood
2019-03-09Fix fake null-motion mouse event floodPedro J. Estébanez
This commit also improves a bit the code quality by making the intent of fake events (and themselves) more explicit. Fixes #26460.
2019-03-09Merge pull request #26818 from vnen/class_name-inheritanceRémi Verschelde
Allow class_name scripts to have nested inheritance
2019-03-09Allow class_name scripts to have nested inheritanceGeorge Marques
2019-03-08Request Android record permission when neededDESKTOP-3H3MR3A\eloisa
2019-03-07Merge pull request #26745 from akien-mga/android-modules-defRémi Verschelde
Define android/modules globally so it appears in Project Settings
2019-03-07Fix -Wc++11-extensions warning after #26737Rémi Verschelde
Fixes #26769.
2019-03-07Ensure ETC2 textures are ALSO compressed to Po2 when have mipmaps. Fixes #26733Juan Linietsky
2019-03-07Define android/modules globally so it appears in Project SettingsRémi Verschelde
Until now people had to add it manually to project.godot to load custom modules.
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-06Fixes Geometry.segment_intersects_circle working only one way.Christoph Schroeder
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