Commit Graph

8637 Commits

Author SHA1 Message Date
Ruslan Mustakov 5804308c57 Fix passing Refs via ptrcall
There was no constructor for Ref from const pointer, so compiler decided
to construct Variant from pointer and then construct Ref from Variant
which turned it into NULL, because the Variant had null ref field.
2017-07-28 22:51:17 +07:00
Ruslan Mustakov 3193460c4a Pass GDNativeLibrary pointer to library init 2017-07-28 22:43:23 +07:00
George Marques 260d179d31 Merge pull request #9941 from brenttaylor/gd3-msvc-2015-fix
BUGFIX:  Check for "VCINSTALLDIR" environment variable
2017-07-28 10:40:33 -03:00
Rémi Verschelde e224528710 Merge pull request #9943 from kubecz3k/fix-inh-inst-edit
correct RMB options for instanced inherited scene
2017-07-28 11:16:21 +02:00
Rémi Verschelde 1b5a6a800c Merge pull request #9937 from AlexHolly/tabs-add-tab-defaults
fix missing DEFVAL
2017-07-28 11:16:08 +02:00
Rémi Verschelde 204ec5459b Merge pull request #9932 from djrm/vs_fixes
Do not allow multiple data connections to the same data input slot, f…
2017-07-28 11:15:56 +02:00
Rémi Verschelde d9b4969c18 Merge pull request #9921 from RandomShaper/fix-android-debug
Fix Android debug/run
2017-07-28 11:15:40 +02:00
Rémi Verschelde 3ea3c2d4cb Merge pull request #9916 from bruvzg/3.0-msaa-check
Add missing max. number of samples (MSAA) check
2017-07-28 11:14:51 +02:00
Rémi Verschelde a4c150d26c Merge pull request #9906 from Noshyaar/pr-theme
ThemeEditor: fix broken dialog
2017-07-28 11:14:21 +02:00
Rémi Verschelde 3866829115 Merge pull request #9879 from RandomShaper/fix-mutating-settings-file
Fix mutating project.godot
2017-07-28 11:10:59 +02:00
Rémi Verschelde 2d162a60da Merge pull request #9863 from kubecz3k/move-docs
Documentation update for KinematicBody.move()
2017-07-28 11:06:23 +02:00
Rémi Verschelde a7b35edf7b Merge pull request #9874 from bruvzg/3.0-osx-menu
Add macOS main menu (3.0)
2017-07-28 11:05:05 +02:00
Rémi Verschelde 5caf9d0d08 Merge pull request #9876 from bruvzg/3.0-resize-fix
Improved macOS window resizing behaviour (3.0)
2017-07-28 11:02:28 +02:00
Jakub Grzesik 9a838568b6 correct RMB options for instanced inherited scene
When scene is inherited and later instanced as a part of another
scene, only options related to instancing will be visible - same
behavior as in 2.x
closes #9901
2017-07-28 10:32:49 +02:00
Brent Taylor 7121228818 BUGFIX: Check for "VCINSTALLDIR" environment variable instead of "VSINSTALLDIR". 2017-07-27 21:39:49 -07:00
L. Krause 0c693595d6 Implement touch-screen check in HTML5 platform 2017-07-28 05:39:25 +02:00
AlexHolly 4062456c41 fix missing DEFVAL 2017-07-28 04:00:03 +02:00
BastiaanOlij d2ba2d0873 Adding base classes and structures for ARVR support
Added ArVrScriptInterface

Added ARVRCamera, ARVRController and ARVROrigin helper objects
2017-07-28 10:39:15 +10:00
Daniel J. Ramirez 707bb96fa8 Do not allow multiple data connections to the same data input slot, fixes #6357.Improved curve rendering when nodes are close. 2017-07-27 16:39:53 -05:00
Jakub Grzesik bb4b98defe Documentation update for KinematicBody.move() 2017-07-27 18:41:44 +02:00
Pedro J. Estébanez c8d1457898 Fix Android debug/run
- Prefix all __adb__ commands with device specification to avoid errors when multiple devices connected.
- Include Android release in device data collection.
- Force system user:.
    - Ability to enable/disable.
    - Apply only if OS release >= 17 (when multiuser was introduced.
    - Fix argument passing.
- Rename local variable `port` to `dbg_port` to better match its partner `fs_port`.
- Fix typo in error message.
2017-07-27 17:32:39 +02:00
bruvzg 1a03cd537f Add missing max. number of samples (MSAA) check 2017-07-27 17:56:43 +03:00
Thomas Herzog 246b574909 Merge pull request #9914 from karroffel/nativescript-init-call
[NativeScript] fixed optional _init call
2017-07-27 16:04:57 +02:00
Karroffel 3185c9c374 [NativeScript] fixed optional _init call
In 3c53b35 a call to an "_init" function was introduced,
that however was only executed in the `_new` function,
also it *required* that such a function exists.

With this patch the "_init" function will be optionally called on
every instance creation.
2017-07-27 15:30:39 +02:00
Thomas Herzog 64e26f98e2 Merge pull request #9911 from karroffel/nativescript-init-call
[NativeScript] fix mutex double lock
2017-07-27 14:57:42 +02:00
Karroffel aae8accadd [NativeScript] fix mutex double lock
In 3c53b35 a bug got introduced where a mutex gets locked twice
instead of locked and then unlocked.
This path fixes that.
2017-07-27 14:56:47 +02:00
Thomas Herzog 3c53b3560f Merge pull request #9907 from karroffel/nativescript-init-call
NativeScript changes and OS symbol lookup optional error handling
2017-07-27 13:03:10 +02:00
Jakub Grzesik fe7365dcde firsts docs for CollisionObject -> collision shape api 2017-07-27 11:30:19 +02:00
Karroffel 135c2112ad added an optional parameter to OS symbol lookup
When looking up a symbol from a library, previously an error was
shown when the symbol did not exist. That caused confusion when the
lookup was completely optional.
This adds a new parameter to that method so that those errors can
be handled manually if needed.
2017-07-27 11:13:21 +02:00
Karroffel a2795e9531 [NativeScript] call _init on instance creation
This also adds basic locking for the set of owners
to avoid threading problems
2017-07-27 11:12:49 +02:00
Poommetee Ketson 8350e4853e ThemeEditor: fix broken dialog 2017-07-27 14:17:02 +07:00
bruvzg 3220fee6b2 Fix is_window_fullscreen() and set_window_fullscreen() behaviour after window has entered/left full-screen mode via green zoom button.
Fix get/set_current_screen & set_window_maximized.
2017-07-27 10:05:33 +03:00
bruvzg f98a203377 Add macOS main menu 2017-07-27 10:05:29 +03:00
Rémi Verschelde 411f09a512 Merge pull request #9887 from StraToN/power-fix-x11
Fix power management on x11 platform and removes explicit NULL pointer dereference
2017-07-27 08:53:27 +02:00
Rémi Verschelde 6645c7cc18 Merge pull request #9872 from bruvzg/3.0-num-enter-fix
Remove duplicate keycode constant for Numpad Enter key (3.0)
2017-07-27 08:52:52 +02:00
Rémi Verschelde 7c4a5f1392 Merge pull request #9870 from Noshyaar/pr-fixsave
Fix !save_each_scene saving scenes with no filename
2017-07-27 08:52:34 +02:00
Rémi Verschelde a6d67b89b0 Merge pull request #9869 from BastiaanOlij/add_features_ios
Added export features for image formats
2017-07-27 08:52:20 +02:00
Rémi Verschelde f5c3ee595d Merge pull request #9852 from groud/canvas_editor_update
Some more CanvasItemEditor improvements
2017-07-27 08:52:07 +02:00
Rémi Verschelde fec5157df5 Merge pull request #9904 from Noshyaar/pr-off
PropertyEditor: display "Off" if property is false
2017-07-27 08:46:44 +02:00
Poommetee Ketson 5adb94e726 PropertyEditor: display "Off" if property is false 2017-07-27 13:12:28 +07:00
Rémi Verschelde c8c9bcb451 Merge pull request #9900 from Zylann/fix_freelook_shortcuts
Initialize freelook shortcuts properly
2017-07-27 07:56:34 +02:00
Marc Gilleron 754679da0a Initialize freelook shortcuts properly 2017-07-27 04:00:23 +02:00
Pedro J. Estébanez 9aecc83cda Merge pull request #9892 from RandomShaper/fix-err-format
Fix misplaced quote in error messsage
2017-07-27 01:29:22 +02:00
Pedro J. Estébanez 748240b090 Fix misplaced quote in error messsage 2017-07-27 01:26:30 +02:00
Julian Murgia 71dcb7fcc4 Fixes power management on x11 platform and removes explicit NULL pointer dereference. 2017-07-26 23:29:51 +02:00
Thomas Herzog 18e23ad4dc Merge pull request #9882 from endragor/nativescript-refcount
Forward refcount changes to NativeScriptInstance
2017-07-26 21:29:26 +02:00
bruvzg 66d3022516 Fix Numpad Enter key on Windows 2017-07-26 21:35:54 +03:00
Rémi Verschelde 88bd18244b Merge pull request #9883 from bojidar-bg/8217-fixup-get_node-shortcut
Fix $a/b being parsed as division
2017-07-26 18:17:51 +02:00
Bojidar Marinov a5fb82c28c
Fix $a/b being parsed as division 2017-07-26 18:51:03 +03:00
Ruslan Mustakov db9dcbddbc Forward refcount changes to NativeScriptInstance
This also changes Reference::unreference() to always invoke
refcount_decremented. Previously it was not invoked until the count
reached zero due to short-circuit evalution of boolean expressions.
2017-07-26 22:36:57 +07:00