summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-02-26Better handling of joypad device IDs.Andreas Haas
Now InputDefault is responsible for giving out joypad device IDs to the platform, instead of each platform handling this itself. This makes it possible for c++ modules to add their own "custom" gamepad devices, without the risk of messing up events in case the user also has regular gamepads attached (using the OS code). For now, it's implemented for the main desktop platforms. Possible targets for future work: android, uwp, javascript
2017-02-21-renamed globals.h to global_config.cpp (this seems to have caused a few ↵Juan Linietsky
modified files) -.pck and .zip exporting redone, seems to be working..
2017-02-20Automatically zip web export templateseska
Also fix web builds on Windows and clean up
2017-02-20Fix parallel asm.js/WebAssembly buildseska
2017-02-19Editor Export Settings Dialog is completed!! Now on to make some exporters..Juan Linietsky
2017-02-18Merge pull request #7835 from toger5/gitignoreToXcodeRémi Verschelde
xCode added xcuserdata to gitignore
2017-02-18xCode added xcuserdata to gitignoretoger5
2017-02-17Merge pull request #7833 from hpvb/x11-move-audio-drive-finalizeRémi Verschelde
X11: Move audio driver finalize to the start of cleanup
2017-02-17X11: Move audio driver finalize to the start of cleanupHein-Pieter van Braam
The audio driver cleanup needs to happen at the start of finish otherwise a race still seems to exist with the destruction of the audioserver. I think that destroying the X resoures before has something to do with it.
2017-02-17Merge pull request #7826 from hpvb/unix-finalize-audio-on-exitRémi Verschelde
X11: Finalize audiodrivers on exit
2017-02-17X11: Finalize audiodrivers on exitHein-Pieter van Braam
The audiodrivers loaded by OS_X11 are not destroyed before the audioserver is. This causes a segfault on exit. The code is taken from os_windows.cpp which did have the cleanup code.
2017-02-17Merge pull request #7815 from hpvb/fix-7354Rémi Verschelde
Correct hash behavior for floating point numbers
2017-02-16Correct hash behavior for floating point numbersHein-Pieter van Braam
This fixes HashMap where a key or part of a key is a floating point number. To fix this the following has been done: * HashMap now takes an extra template argument Comparator. This class gets used to compare keys. The default Comperator now works correctly for common types and floating point numbets. * Variant implements ::hash_compare() now. This function implements nan-safe comparison for all types with components that contain floating point numbers. * Variant now has a VariantComparator which uses Variant::hash_compare() safely compare floating point components of variant's types. * The hash functions for floating point numbers will now normalize NaN values so that all floating point numbers that are NaN hash to the same value. C++ module writers that want to use HashMap internally in their modules can now also safeguard against this crash by defining their on Comperator class that safely compares their types. GDScript users, or writers of modules that don't use HashMap internally in their modules don't need to do anything. This fixes #7354 and fixes #6947.
2017-02-16a ton of bug fixes to the rendererJuan Linietsky
2017-02-16Merge pull request #7814 from Hinsbart/timer_pauseRémi Verschelde
SceneTreeTimer: Ability to set pause mode
2017-02-15Many fixes to make exported scenes work better, still buggy.Juan Linietsky
2017-02-15-begin of export work, not done yetJuan Linietsky
-fixes to make scenes exported from godot 2.x work
2017-02-15SceneTreeTimer: Ability to set pause modeAndreas Haas
Adds an additional flag to SceneTree::create_timer() that tells it whether or not to process when the game is paused. Defaults to false in order to not break existing functionality.
2017-02-14Merge pull request #7811 from godotengine/revert-7807-fix-7354Juan Linietsky
Revert "Make nan==nan true for GDScript"
2017-02-14Revert "Make nan==nan true for GDScript"Juan Linietsky
2017-02-14Merge pull request #7807 from hpvb/fix-7354Rémi Verschelde
Make nan==nan true for GDScript
2017-02-14Make nan==nan true for GDScriptHein-Pieter van Braam
After discussing this with Reduz this seemed like the best way to fix #7354. This will make composite values that contain NaN in the same places as well as the same other values compare as the same. Additionally non-composite values now also compare equal if they are both NaN. This breaks IEEE specifications but this is probably what most users expect. There is a GDScript function check for NaN if the user needs this information. This fixes #7354 and probably also fixes #6947
2017-02-14Merge pull request #7803 from Hinsbart/spinbox_clickRémi Verschelde
Spinbox: don't ignore double clicks.
2017-02-14Merge pull request #7801 from hpvb/fix-7796Rémi Verschelde
Remove bounds check when resuming from yield. (fixes #7796)
2017-02-14Merge pull request #7792 from Hinsbart/inputmap_fixesRémi Verschelde
ProjectSettings: InputMap dialog fixes
2017-02-14Spinbox: don't ignore double clicks.Andreas Haas
Fixes the problem with spinboxes not updating when clicking too fast.
2017-02-13Fix missing semicolon in previous commitRémi Verschelde
2017-02-13Remove bounds check when resuming from yield.Hein-Pieter van Braam
The code would get a pointer to the beginning of the call_args by using operator[] at the stack Vector. This does bound checking. When there are no call_args this bound check fails and the error mentioned in #7796 gets triggered. This bound check is actually not necessary as call_args just gets set to NULL and never dereferenced. This new code will just unconditionally set the pointer to the place where the call_args are if there are any. There is no NULL check for call_args anywhere so this is safe. Fixes #7796
2017-02-13Merge pull request #7797 from Brett-Mitchell/patch-1Rémi Verschelde
Fix for issue #7766
2017-02-13Fix for issue #7766Brett-Mitchell
Add initialization for OS_OSX.mouse_mode in OS_OSX::OS_OSX(). mouse_mode now defaults to OS::MOUSE_MODE_VISIBLE.
2017-02-13Merge pull request #7795 from hpvb/rename-md-macroRémi Verschelde
Rename the _MD macro to D_METHOD
2017-02-13Merge pull request #7794 from GodotExplorer/pr-fix-texturebuttonRémi Verschelde
Fix compile error with TextureButton
2017-02-13Fix compile error with TextureButtongeequlim
Export TextureButton::ResizeMode as its own enum values
2017-02-13Rename the _MD macro to D_METHODHein-Pieter van Braam
This new name also makes its purpose a little clearer This is a step towards fixing #56
2017-02-13Merge pull request #7784 from hpvb/kill-scs-macroRémi Verschelde
Remove use of _SCS
2017-02-13Remove use of _SCS from ADD_METHODHein-Pieter van Braam
This saves typing and is a step towards fixing #56
2017-02-13ProjectSettings: InputMap dialog fixesAndreas Haas
Now the selection jumps to the correct action after a new event has been added. Also sets the default device id for Joypad button events to 0.
2017-02-12Merge pull request #7581 from Faless/v6_wild_bindRémi Verschelde
TCP/UDP listen bind to address and bugfixes
2017-02-12Merge pull request #7352 from Zylann/polylineRémi Verschelde
Polyline
2017-02-12Merge pull request #7789 from volzhs/update-script-buttonRémi Verschelde
Update attach/clear script tool bar icon in Scene panel
2017-02-12Merge pull request #7782 from SaracenOne/windows_relative_cursor_fixRémi Verschelde
Fix relative cursor data in CAPTURED mouse mode on Windows.
2017-02-12Merge pull request #7775 from Hinsbart/particles_flipRémi Verschelde
Particles2D: implement texture flip parameters.
2017-02-12Merge pull request #7774 from hpvb/masterRémi Verschelde
Add a simple signal handler for SIGCHLD on Unix
2017-02-12Merge pull request #7772 from Limb/fixgiprobeeditorRémi Verschelde
Remove memdelete of button in GIProbeEditor exit
2017-02-12Merge pull request #7771 from Limb/winaudiodriverRémi Verschelde
Close out audio drivers when exiting on Windows.
2017-02-12Merge pull request #7770 from Limb/removedx9Rémi Verschelde
Removed DX9 Rasterizer in windows
2017-02-12Merge pull request #7769 from GodotExplorer/pr-resizeable-texturebutton_3Rémi Verschelde
Enhance TextureButton and TextureRect with resize
2017-02-12Merge pull request #7768 from bojidar-bg/sc-multiple-namesRémi Verschelde
Make _sc_ files work like ._sc_
2017-02-12Merge pull request #7763 from Limb/fixwindowscompileRémi Verschelde
Fixed compilation issues with Visual Studio
2017-02-12Merge pull request #7746 from sanikoyes/Pr-fix-msvc-compileRémi Verschelde
Fix msvc compile error