Commit graph

12693 commits

Author SHA1 Message Date
Rémi Verschelde d1954f464c
Merge pull request #16152 from hpvb/fix-16131
Allow focus on disabled buttons
2018-01-30 13:44:28 +01:00
Rémi Verschelde ed6bf28014
Merge pull request #15980 from mrcdk/audio_stream_get_length
Expose audio streams get_length()
2018-01-30 13:43:34 +01:00
Rémi Verschelde 5b580fb69b
Merge pull request #15995 from GodotExplorer/pr-debugger-weakref
Remote debugger send the real instance of WeakRef referenced to
2018-01-30 13:43:02 +01:00
Rémi Verschelde 899e277519
Merge pull request #16111 from Noshyaar/b
3DEditor: fix multiple node selection crash the editor
2018-01-30 13:42:11 +01:00
Rémi Verschelde 4f94d4378f
Merge pull request #16091 from Noshyaar/t
TemplateManager: hold shift to open link in browser
2018-01-30 13:41:46 +01:00
Rémi Verschelde 22ef1fa23d
Merge pull request #16162 from hpvb/implement-windows-processor-count
Implement OS::get_processor_count() for Windows
2018-01-30 13:41:03 +01:00
Rémi Verschelde fb08607aee
Merge pull request #16156 from hpvb/fix-x11-copy-paste
Fix Copy/Paste problems on X11
2018-01-30 13:39:31 +01:00
Rémi Verschelde 354fdb1261
Merge pull request #16191 from Noshyaar/d
Fix wrong return type of xform functions
2018-01-30 13:38:07 +01:00
Poommetee Ketson ebe2337515 Fix wrong return type of xform functions 2018-01-30 18:45:54 +07:00
Rémi Verschelde 9f3138eea9 Bump version to 3.1-dev
On the road again!
2018-01-30 00:19:24 +01:00
Rémi Verschelde 9bd402698c Bump version to 3.0-stable \o/
Congratulations to everyone in the Godot community for the tremendous work
done on this release since 18 months, with hundreds of contributors pushing
almost 7500 commits with more than 3000 PRs and closing over 2000 issues
(and fixing even more than that, as many work-in-progress bugs were fixed
before an issue could be filled).

Godot 3.0 is definitely our biggest and boldest release so far, and we want
to thank the whole community for their unswerving support during this long
wait.

From there on, there is a lot of work to do to strengthen the foundations
that we built with 3.0, fixing the bugs that the many refactorings probably
introduced, optimizing new features and enhancing the usability again...

The 3.x era should be a fruitful one for Godot, and we hope that you will
continue using it to create awesome 2D and 3D games and increase the
notoriety of your favourite engine in the game development industry.

And now, let's all start waiting for 3.1...
2018-01-29 19:15:56 +01:00
Hein-Pieter van Braam fb60f2dbe6 Fix Copy/Paste problems on X11
The target of the TARGETS type should be XA_ATOM and not XA_TARGETS when
requested. Since we are sending a number of ATOMS the size should be set
to the integer size and not the char size.

The size field of the atoms is also the number of atoms and not the size
of the array. This caused some clients to wrongly interpret the data and
read garbage in the X11 packet.

I also add the more modern representation for UTF-8 and clarify the
error message if a client attempts to request a type we don't know
about.

This fixes #10431
2018-01-29 18:38:04 +01:00
Hein-Pieter van Braam b4d369c887 Implement OS::get_processor_count() for Windows
Current this is hardcoded as '1' for any platform except Unix. The
little is_wow64() dance is required to get correct output on a 32bit
compiled godot running on 64bit Windows according to MSDN.

This code should be UWP safe but I have no way to test that so it's not
implemented for UWP yet.
2018-01-29 16:50:49 +01:00
Hein-Pieter van Braam 713f190a30 Allow focus on disabled buttons
This behavior better matches other gui toolkits. A selected disabled
button still can't be interacted with but it can now be selected. This
seems to be what QT and GTK do also.

This fixes #16131
2018-01-28 18:49:22 +01:00
Rémi Verschelde 4caadae0f1
Merge pull request #16132 from Noshyaar/p
ProjectManager: prevent installing project template in non-empty dir
2018-01-28 18:15:54 +01:00
Poommetee Ketson 499a0b77dc ProjectManager: prevent installing project template in non-empty dir 2018-01-28 21:48:27 +07:00
Rémi Verschelde f12e8568d4
Merge pull request #16081 from djgaspa/dll-directory
Fix remove_dll_directory crash when cookie is null
2018-01-27 23:32:05 +01:00
Rémi Verschelde 4553c81ceb
Merge pull request #16080 from volzhs/doc-projectsettings
Update ProjectSettings description to correct usage
2018-01-27 23:31:47 +01:00
Rémi Verschelde 1fb18f15d9
Merge pull request #16114 from hpvb/fix-16031
Use the appropriate Variant hash and compare functions for Dictionaries
2018-01-27 23:29:42 +01:00
Rémi Verschelde dcacf36118
Merge pull request #16118 from neikeq/i-dont-know-what-to-write-here-anymore
Mono: Fix build errors with tools=no and target=release
2018-01-27 23:29:27 +01:00
Rémi Verschelde 947abe909d
Merge pull request #16119 from robfram/fix-camera_drag_limit
Fix inverted RIGHT/LEFT and TOP/BOTTOM Camera2d drag margins
2018-01-27 23:29:09 +01:00
Rémi Verschelde 13596bb09a
Merge pull request #16123 from neikeq/lmao
Mono: Fix method_bind fields being generated as instance members
2018-01-27 23:25:29 +01:00
Ignacio Etcheverry 72b0a9432b Mono: Fix method_bind fields being generated as instance members 2018-01-27 22:45:57 +01:00
robfram 3cf2d6524b Fix inverted RIGHT/LEFT TOP/BOTTOM Camera2D drag margin in runtime (editor works fine). Fix #16095. 2018-01-27 19:37:04 +01:00
Ignacio Etcheverry 0c3bbcaa00 Mono: Fix build errors with tools=no and target=release 2018-01-27 18:44:04 +01:00
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