summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-02-26Merge pull request #7848 from hpvb/fix-7839Rémi Verschelde
Windows: Close audiodriver sooner on exit
2017-02-26Merge pull request #7842 from Zylann/fix_line2d_editorRémi Verschelde
Fixed Line2D editor doesn't respond to input
2017-02-26Merge pull request #7831 from volzhs/tr-buttonarray-3Rémi Verschelde
Translate ButtonArray text
2017-02-26Merge pull request #7830 from volzhs/str-format-3Rémi Verschelde
Fix zero padding formatting
2017-02-26Merge pull request #7827 from volzhs/libwebp-0.6.0Rémi Verschelde
Update libwebp to 0.6.0
2017-02-26Merge pull request #7809 from hpvb/fix-6798Rémi Verschelde
Allow preload to accept a const string.
2017-02-26Merge pull request #7802 from tagcup/physics_64bitRémi Verschelde
Use real_t as floating point type in physics code.
2017-02-24Merge pull request #7880 from bojidar-bg/fix-iphone-buildsRémi Verschelde
Really fix iphone builds
2017-02-23Really fix iphone buildsBojidar Marinov
2017-02-23Merge pull request #7879 from bojidar-bg/fix-iphone-buildsRémi Verschelde
Complete the globals.h -> global_config.h conversion
2017-02-23Complete the globals.h -> global_config.h conversionBojidar Marinov
2017-02-22Fixes to webgl/opengl es 3.0 for compatibility with webgl2.0, still does not ↵Juan Linietsky
work though
2017-02-21working on template validationJuan Linietsky
2017-02-21Merge pull request #7863 from eska014/webbuildJuan Linietsky
Web builds: Zip automatically; Fix on Windows; Parallel wasm/asm.js builds
2017-02-21Fix WebAssembly builds on Windowseska
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-19Windows: Close audiodriver sooner on exitHein-Pieter van Braam
In #7839 I see the same error that was fixed in #7833 occuring on the Windows platform. This moves the audio driver closing to the same place in OS_Windows::finalize() as it is in OS_X11::finalize() This fixes #7839
2017-02-19Fixed Line2D editor doesn't respond to inputMarc Gilleron
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-18Translate ButtonArray textvolzhs
2017-02-18Fix zero padding formattingvolzhs
2017-02-17Update libwebp to 0.6.0volzhs
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-16Allow preload to accept a const string.Hein-Pieter van Braam
In preload() parsing this code will lookup the identifier in the local constant database. If the identifier corresponds to a string constant it is used as the path for preload(). Currently this does not work for global constants, only constants declared in the same class as the preload is happening. We can implement a full fix too. Maybe we can use this PR to discuss the possibilities. This (partially) fixes #6798
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-13Use real_t as floating point type in physics code.Ferenc Arn
This is a continuation of an on-going work for 64-bit floating point builds, started in PR #7528. Covers physics, physics/joints and physics_2d code. Also removed matrixToEulerXYZ function in favor of Basis::get_euler.
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