Commit Graph

12884 Commits

Author SHA1 Message Date
Hein-Pieter van Braam 7577252b1b Use the appropriate Variant hash and compare functions for Dictionaries
Dictionaires did not use the VariantHasher and VariantComparator making
them unsafe for use with NaN values as keys. This PR uses the
appropriate Variant implementations for these functions.

   var d = {}
   d[Vector2(NAN, NAN)] = 0
   d[Vector2(NAN, NAN)] = 0
   print(d.size())

will now output '1' and not '2'

This fixes #16031
2018-01-27 15:11:39 +01:00
Poommetee Ketson 25dd1f0681 3DEditor: fix multiple node selection crash the editor
I'm not sure about this fix. This seems to also fixes the weird
selection bug where when selecting node 1 to 3 it focuses on
2nd node.
2018-01-27 17:28:01 +07:00
Hein-Pieter van Braam 4a042b1f7a
Merge pull request #16094 from bruvzg/fix_mac_os_build
Fix macOS build after #16092
2018-01-26 21:52:39 +01:00
bruvzg 24b01fe70c
Fix macOS build after #16092 2018-01-26 22:39:08 +02:00
Rémi Verschelde 88aed259f9
Merge pull request #16092 from hpvb/make-separate-debug-symbols-opt-in
Make separate debug symbols opt-in
2018-01-26 21:25:20 +01:00
Hein-Pieter van Braam c6d9a7665a Make separate debug symbols opt-in
This adds a separate_debug_symbols option to the x11, windows, and osx
targets. This will default to adding normal debugging symbols to the
artifacts and only splits them when separate_debug_symbols=yes on the
Scons command line.
2018-01-26 20:46:56 +01:00
Poommetee Ketson 2bdd8f86e7 TemplateManager: hold shift to open link in browser 2018-01-27 02:40:23 +07:00
Rémi Verschelde 9ba5fb87f0 Bullet: allow unbundling only if > 2.87
Looks like we are using cutting edge methods which are not even
if the current stable 2.87.
2018-01-26 19:17:24 +01:00
djgaspa 18e66a28bc Fix remove_dll_directory crash when cookie is null 2018-01-26 12:30:02 +01:00
volzhs a62d8de062 Update ProjectSettings description to correct usage
Fix #16078
2018-01-26 17:17:53 +09:00
Rémi Verschelde a98e9496eb
Merge pull request #16073 from neikeq/AaaaHH
Mono: Don't defer call to dispose queue objects when finalizing domain
2018-01-26 07:28:50 +01:00
Ignacio Etcheverry 562ec3f5e6 Mono: Don't defer call to dispose queue objects when finalizing domain
It's going to be called anyway after `mono_domain_finalize`.
This also prevents crashes, since the MessageQueue singleton could already be freed at this point (see: #15702).
2018-01-26 01:10:25 +01:00
Rémi Verschelde 76ec728003
Merge pull request #16071 from neikeq/issue-15656
Mono: Fix NodePath and RID bindings
2018-01-25 23:59:43 +01:00
Ignacio Etcheverry 58448561c7 Mono: Fix NodePath and RID bindings 2018-01-25 23:46:54 +01:00
Rémi Verschelde bcbf744b73 i18n: Sync translations with Weblate 2018-01-25 23:29:19 +01:00
Rémi Verschelde 03d42e9e0d Dist: Update manpage and macOS version string 2018-01-25 23:21:31 +01:00
Rémi Verschelde 51060a3651
Merge pull request #16062 from icnikerazah/keyboard_shortcut_conflict
Fixes The "script_text_editor/clone_down" shortcut that conflicts with the "editor/play" shortcut on macOS
2018-01-25 23:11:22 +01:00
Razah 72901936cc Fix shortcut conflict
fix https://github.com/godotengine/godot/issues/16054
The clone_down shortcut that conflicts with the "editor / play" shortcut has been replaced by "SHIFT + COMMAND + C" instead of "COMMAND + B" on macOS
2018-01-25 19:24:51 +03:00
Rémi Verschelde 018168153f
Merge pull request #16063 from bojidar-bg/16051-double-autoplay
Remove duplicate "autoplay" property
2018-01-25 16:01:07 +01:00
Bojidar Marinov 57bed14e95
Remove duplicate "autoplay" property
Part of #16051
2018-01-25 16:17:35 +02:00
Rémi Verschelde 8afe5b4d9f
Merge pull request #16059 from eska014/html5-notls
Disable OpenSSL module in HTML5 platform by default
2018-01-25 09:14:50 +01:00
Leon Krause 4a3aaaf276 Disable OpenSSL module in HTML5 platform by default 2018-01-25 09:07:07 +01:00
Rémi Verschelde f2e3825616 doc: Fix references to online tutorials after godotengine/godot-docs#1015 2018-01-25 09:03:59 +01:00
Rémi Verschelde d516aab8fa doc: Sync with current source
Also enhance RigidBody docs as per https://github.com/godotengine/godot-docs/pull/1018
and fix the version tag in all files (not really stable yet, but it makes no sense
to hardcode rc3 at this stage).
2018-01-25 08:50:56 +01:00
Rémi Verschelde abccd47ad0
Merge pull request #16044 from icnikerazah/maximum_recent_files
Fix slider range step of  maximum_recent_files
2018-01-25 08:00:07 +01:00
Poommetee Ketson 4700f2d79a
Merge pull request #16057 from kurtisharms/fix_ts
Fix mixed use of tabs and spaces in methods.py
2018-01-25 13:02:00 +07:00
Kurtis Harms e6f787cb02 Fix mixed use of tabs and spaces 2018-01-24 21:45:18 -08:00
Juan Linietsky 94b88c7b0f
Merge pull request #16049 from Zylann/fix_vs_free_rid
Fix VisualServer.free conflicting with Object.free
2018-01-24 21:17:13 -03:00
Marc Gilleron 8dc62bbc96 Fix VisualServer.free conflicting with Object.free 2018-01-25 00:23:31 +01:00
Ariel Manzur 70fca42cd9 removed debug print 2018-01-24 19:42:33 -03:00
Ariel Manzur 81426ff0a8 - Improves portability in joystick buttons enum
- Fixes linking bug in modules split library
2018-01-24 19:12:54 -03:00
Razah 3455e43a13
maximum recent files increment fix 2018-01-25 00:52:49 +03:00
Rémi Verschelde 81d7b01596 Update AUTHORS list
Adds @Nutriz and @nounoursheureux.
2018-01-24 22:05:04 +01:00
Rémi Verschelde 4808dfb06b doc: Sync with current source 2018-01-24 21:58:39 +01:00
Rémi Verschelde bd716cf81e i18n: Sync translations with Weblate 2018-01-24 21:54:44 +01:00
Rémi Verschelde 94f315df01 Silence verbose stderr info message on X11 2018-01-24 21:49:11 +01:00
Rémi Verschelde 08b7cd0d3d
Merge pull request #16041 from Chaosus/fixcolordoc
Fix small bug in color doc
2018-01-24 21:47:24 +01:00
Chaosus 70bba4e62d Fix bug in color doc 2018-01-24 23:39:36 +03:00
Rémi Verschelde 44cce2bdfb
Merge pull request #16025 from AndreaCatania/raysh
Improved stabilization of ray shape in Bullet
2018-01-24 16:25:48 +01:00
Andrea Catania b1d35f62dd Improved stabilization of ray shape in Bullet 2018-01-24 16:00:52 +01:00
Rémi Verschelde 5342ec32b5
Merge pull request #15844 from letheed/better-error-msg
Make cyclic resource inclusion error message more helpful
2018-01-24 11:52:52 +01:00
Rémi Verschelde 925791dd8a
Merge pull request #15869 from guilhermefelipecgs/fix_always_open_output_on_play
Fix option run/output/always_open_output_on_play
2018-01-24 11:51:59 +01:00
Rémi Verschelde 0ecf2fdd51
Merge pull request #16018 from volzhs/rotate-line
Rotate Control node with respecting pivot offset
2018-01-24 08:32:32 +01:00
Rémi Verschelde 5ff8d4b07d
Merge pull request #16019 from eska014/html5-fix-no-resize-on-start
Fix HTML5 JS API setResizeCanvasOnStart
2018-01-24 08:30:43 +01:00
Rémi Verschelde fb56315ea2
Merge pull request #16005 from Zephilinox/print_fps
Print FPS setting now only prints the game FPS
2018-01-24 08:26:06 +01:00
volzhs 48611afb80 Rotate Control node with respecting pivot offset 2018-01-24 15:44:28 +09:00
Leon Krause dcc55bad20 Fix HTML5 JS API setResizeCanvasOnStart 2018-01-24 05:08:35 +01:00
Ignacio Etcheverry e1ae7dffd3
Merge pull request #16016 from neikeq/issue-13316
Fix CSharpInstance::call not initializing CallError
2018-01-24 01:35:10 +01:00
Ignacio Etcheverry 8c33939ce6 Fix CSharpInstance::call not initializing CallError 2018-01-24 01:31:51 +01:00
Zephilinox 1c473a47e5 Print FPS setting now only prints the game FPS 2018-01-23 23:40:24 +00:00