summaryrefslogtreecommitdiff
path: root/core
AgeCommit message (Collapse)Author
2018-05-17Fix PoolAllocator::resize for too large p_new_sizenemerle
The code had a subtle signed/unsigned bug - ```cpp if( signed - unsigned < 0) // signed - unsigned is unsigned in c++, so if( unsigned < 0) // and thus the if block will never be executed ``` Thus all the following code would be ran, including unnecessary retries of compacting the pool.
2018-05-16Merge pull request #18804 from tagcup/vec_slerpRémi Verschelde
Add SLERP to Vector{2,3}, optimize Quat's Vector3 rotation.
2018-05-16Add missing copyright headersGuilherme Felipe
2018-05-15-New inspector.Juan Linietsky
-Changed UI resizing code, gained huge amount of speed. -Reorganized timer sync to clean up behavior (sorry forgot commit this before) -
2018-05-14Merge pull request #18545 from vnen/editor-autoloadJuan Linietsky
Enable autoload in editor
2018-05-12Allow sending raw bytes through MultiplayerAPIFabio Alessandrelli
2018-05-12Add SLERP to Vector{2,3}, optimize Quat's Vector3 rotation.tagcup
Also even out Basis and Quat APIs a little.
2018-05-09Merge pull request #18709 from Faless/multiplayer_docsMax Hilbrunner
Rename multiplayer_api to multiplayer, add docs
2018-05-08Merge pull request #14622 from bruvzg/non-rectangular-windowsHein-Pieter van Braam
Experimental support for windows with per-pixel transparency.
2018-05-08Merge pull request #15305 from poke1024/checks-peerJuan Linietsky
Checks on input_buffer in PacketPeerStream
2018-05-08Merge pull request #15282 from poke1024/check-obj-classJuan Linietsky
Check implicit casts on object classes in bound method calls
2018-05-08Internal methods in MultiplayerAPI start with _Fabio Alessandrelli
2018-05-07Local debugger fixes and extensionsBlazej Floch
- Adds q/quit option to console debugging - Adds options (variable_prefix) - Breaks into debugger with Ctrl-C in local debug mode (Unix/Windows) - Added option to list all breakpoints - Fixes add/remove breakpoint bug (invalid path parsing) - Minor cleanup
2018-05-07Merge pull request #17316 from ShyRed/significantdigitsJuan Linietsky
Adjust decimal precision
2018-05-07Merge pull request #17353 from zmanuel/timer_hysteresis_multiframe_pr1Juan Linietsky
Use hysteresis for smoother physics update frequency
2018-05-07Merge pull request #15943 from poke1024/geometry-line-lineJuan Linietsky
Add Geometry::line_intersects_line_2d()
2018-05-07Merge pull request #16033 from poke1024/marshalls-dictJuan Linietsky
Detects crash-related marshalling errors due to NAN values
2018-05-07Add is_instance_valid() method to GDScript, ending more than a decade of pain.Juan Linietsky
2018-05-07Merge pull request #16893 from GodotExplorer/debugger-improvement-3Juan Linietsky
Save runtime node as scene from remote scene tree.
2018-05-07Merge pull request #18121 from ↵Juan Linietsky
Crazy-P/Resolves-Freeze-on-change-reflection-probe Resolves editor freezes on change of reflection probe
2018-05-07Merge pull request #18219 from AlexHolly/fix-image-blit-blendJuan Linietsky
blit and blend fix when dst<Vector2
2018-05-07Merge pull request #18505 from AlexHolly/image-point2-helperJuan Linietsky
add Point2 helper for Image.get_pixel and Image.set_pixel
2018-05-05add condition check in Imgae::create(...)RaphaelHunter
2018-05-05Merge pull request #18501 from touilleMan/clean-variant-_data-RefPtrMax Hilbrunner
Remove unused Variant._data.RefPtr
2018-05-05Merge pull request #18488 from AndreaCatania/ie0Max Hilbrunner
Added method to clear input events of an action
2018-05-04Vector3::round, Vector2::round & Vector2::ceil methods were added.Alexander Alekseev
Now both structs (Vector2 & Vector3) have round, floor & ceil methods. (see #18603)
2018-05-03Merge pull request #18589 from karroffel/oahashmap-robinhoodJuan Linietsky
updated OAHashMap to use robinhood hashing
2018-05-03updated OAHashMap to use robinhood hashingkarroffel
2018-05-03Merge pull request #18514 from neikeq/api-hash-fixesRémi Verschelde
API hash fixes
2018-05-03Added method to clear input events of an actionAndreaCatania
2018-05-02Merge pull request #17196 from RandomShaper/improve-gui-touchRémi Verschelde
Implement universal translation of touch to mouse (3.1)
2018-05-02Merge pull request #18520 from paulloz/gdscript-api-string-pathRémi Verschelde
fix API string path
2018-05-01Merge pull request #18530 from garyo/missing-arg-errRémi Verschelde
Handle missing arg pointer in Variant::get_call_error_text
2018-05-01Merge pull request #18291 from akien-mga/coverity-uninitialized-scalar-varRémi Verschelde
Fix Coverity reports of uninitialized scalar variable
2018-05-01Merge pull request #16649 from ibrahn/visual-script-release-crashRémi Verschelde
fix for segfault when using CallBasic in visual script on release build
2018-05-01Enable autoload in editorGeorge Marques
- Tool scripts will be executed and can be accessed by plugins. - Other script languages can implement add/remove_named_global_constant to make use of this functionality.
2018-05-01Fix #17019 : overrides with unknown base settingManuel Moos
If at the time of the _GLOBAL_DEF call a setting itself was unknown, the function would always return the supplied default value instead of checking for overrides. This commit changes that, lookup now always happens which correctly takes overrides into account.
2018-05-01Merge pull request #18428 from groud/fix_inputRémi Verschelde
Fixing input strength and the impossibility to erase action events
2018-05-01Merge pull request #18355 from ShyRed/fix18344Rémi Verschelde
Keep alpha when changing h, s or v Color property in GDScript
2018-05-01Merge pull request #18321 from Crazy-P/Fixes-logically-dead-codeRémi Verschelde
Fixes logically dead code (Coverity)
2018-04-30Handle missing arg pointer in get_call_error_textGary Oberbrunner
I had a situation coming from godot-python where the caller of Variant::get_call_error_text() passed null for `p_argptrs`. In addition to fixing that in the caller, seems like good practice to defend against that situation in the callee to prevent a crash. So this patch just substitutes some semi-useful text for the source type name and keeps going so the user's actual error gets emitted.
2018-04-30Implement universal translation of touch to mousePedro J. Estébanez
Now generating mouse events from touch is optional (on by default) and it's performed by `InputDefault` instead of having each OS abstraction doing it. (*) The translation algorithm waits for a touch index to be pressed and tracks it translating its events to mouse events until it is raised, while ignoring other pointers. Furthermore, to avoid an stuck "touch mouse", since not all platforms may report touches raised when the window is unfocused, it checks if touches are still down by the time it's focused again and if so it resets the state of the emulated mouse. *: In the case of Windows, since it already provides touch-to-mouse translation by itself, "echo" mouse events are filtered out to have it working like the rest. On X11 a little hack has been needed to avoid a case of a spurious mouse motion event that is generated during touch interaction. Plus: Improve/fix tracking of current mouse position. ** Summary of changes to settings: ** - `display/window/handheld/emulate_touchscreen` becomes `input/pointing_devices/emulate_touch_from_mouse` - New setting: `input/pointing_devices/emulate_mouse_from_touch`
2018-04-30Merge pull request #18284 from mhilbrunner/pck-versionMax Hilbrunner
Fix .pck exporting via PCKPacker
2018-04-30fix API string pathPaul Joannon
2018-04-29Add option to renormalize mipmaps when generating them for normalmaps.Juan Linietsky
Reduces some aliasing.
2018-04-29ClassDB API hash now only includes exposed classesIgnacio Etcheverry
2018-04-29add Point2 helper for Image.get_pixel and Image.set_pixelAlexander Holland
image-point2-helper
2018-04-29Remove unused Variant._data.RefPtrEmmanuel Leblond
2018-04-25Fixing input strength and the impossibility to erase action eventsgroud
2018-04-22Change ".." punctuation for "..." in editor strings (#16507)Hugo Locurcio