Commit Graph

24984 Commits

Author SHA1 Message Date
Hugo Locurcio 17add2dc86
Add a pre-commit hook to check the class reference syntax
This also makes documentation helper scripts executable.
2019-12-06 23:40:19 +01:00
Rémi Verschelde 111ba06310
Merge pull request #34155 from Calinou/doc-richtexteffect
Document RichTextEffect and CharFXTransform
2019-12-06 23:14:05 +01:00
Rémi Verschelde 6c6ee8fe41
Merge pull request #34141 from YeldhamDev/filediag_parenthesis_space_removal
Remove extra spaces from parenthesis in *FileDialog's filter menu
2019-12-06 23:13:53 +01:00
Hugo Locurcio 7c6c32b500
Document RichTextEffect and CharFXTransform 2019-12-06 22:50:29 +01:00
Ignacio Roldán Etcheverry c5c320412f
Merge pull request #34142 from NoFr1ends/fix-missing-null-checks-mono
Fix missing null checks in Mono Binding of GD
2019-12-06 14:53:29 +01:00
Jonas 11258db001
Fix missing null checks in Mono Binding of GD
The print methods of mono binding was missing null checks for the params
2019-12-06 11:56:50 +01:00
Michael Alexsander 80dcd4423a Remove extra spaces from parenthesis in *FileDialog's filter menu 2019-12-06 07:31:42 -03:00
Rémi Verschelde 0aea0d0b39
Merge pull request #34138 from akien-mga/ios-disable-armv7
iOS: Disable armv7 as target arch by default
2019-12-06 09:35:14 +01:00
Rémi Verschelde 5f64d773ba
Merge pull request #34128 from akien-mga/doc-animplayer-play-stop
doc: Fix and clarify AnimationPlayer play and stop descriptions
2019-12-06 09:35:03 +01:00
Rémi Verschelde 4a56b45f87 iOS: Disable armv7 as target arch by default
We no longer compile for armv7 and x86 in the official export templates,
as those architectures are no longer relevant for iOS.

If users really want to support armv7 (used on devices from before
September 2013, e.g. iPhone 5), they can still build their own templates
and toggle the option.

We might remove the option altogether in a later release to avoid the
confusion for users that might tick the checkbox without having compiled
their own templates.

Fixes #34135.
2019-12-06 09:16:42 +01:00
Rémi Verschelde 4b64ef88d8
Merge pull request #34132 from flyingpimonster/arvr-docs
Docs: ARVRController and ARVRInterface
2019-12-06 08:38:29 +01:00
Rémi Verschelde 2acba6dcde
Merge pull request #34133 from timothyqiu/guides-meta
Call clear_meta when clearing guides with the ruler
2019-12-06 08:36:44 +01:00
Haoyu Qiu 0b4cc12b4f clear_meta when clearing guides with the ruler 2019-12-06 09:19:54 +08:00
James Westman 5978e6afac Docs: ARVRController and ARVRInterface
This commit clarifies a few methods and members in the AR/VR docs. It
also updates some wording according to the style guide and fixes a
couple typos.
2019-12-05 18:10:11 -06:00
Rémi Verschelde 9a12b40100 doc: Fix and clarify AnimationPlayer play and stop descriptions
Closes #34125.
2019-12-05 21:56:31 +01:00
Rémi Verschelde e9eea4f3ce
Merge pull request #34114 from simpuid/clear-guides-meta
changed set_meta to remove_meta in CLEAR_GUIDES menu option
2019-12-05 21:38:59 +01:00
Rémi Verschelde ce02725cc1
Merge pull request #34106 from KoBeWi/convoluted_ownership
Don't store index of root nodes
2019-12-05 21:38:44 +01:00
Rémi Verschelde 9002b045c6
Merge pull request #34123 from nekomatata/joint-spatial-gizmo-errors
Fixed errors in JointSpatialGizmoPlugin when selecting a joint with unset nodes
2019-12-05 19:51:00 +01:00
PouleyKetchoupp 06e4a3aa75 Fixed errors in JointSpatialGizmoPlugin when selecting a joint with unset nodes
Fixes #34122
2019-12-05 19:27:57 +01:00
Ignacio Roldán Etcheverry 6544a0e908
Merge pull request #34018 from dsge/show-template-directory-path-in-error-message
Make sure to include the path in the "Data template directory not found" error message
2019-12-05 14:17:23 +01:00
Rémi Verschelde 0192f7712c
Merge pull request #34113 from timothyqiu/clear-guides
Fixes crash when clearing guides in empty scene
2019-12-05 10:00:38 +01:00
Haoyu Qiu e8838f4385 Fixes crash when clearing guides in empty scene 2019-12-05 16:19:00 +08:00
Rémi Verschelde fbfd56c247 GLES2: Fix uninitialized members in ShaderGLES2::Version
Fixes #34109.
2019-12-05 09:15:31 +01:00
Rémi Verschelde 129a22cd90
Merge pull request #34107 from codecustard/fix-vseditor-add-node-pos
Fixes wrong position when adding node in VS editor
2019-12-05 06:57:09 +01:00
Rémi Verschelde fe2144967a
Merge pull request #34103 from akien-mga/resourceloader-remap-locale-near-matching
Translation: Use proper language code for locale near matching, including in ResourceLoader
2019-12-05 06:50:41 +01:00
Rémi Verschelde 99b81aa1b9
Merge pull request #34039 from Eoin-ONeill-Yokai/multimeshfix
Added Missing Binding for `multimesh_create` to VisualServer
2019-12-05 06:49:43 +01:00
codecustard 601d870ae9 Fixes wrong position when adding node in VS editor
When adding a node in the visual script editor while zoomed in, the position of the newly added node would be wrong.
2019-12-04 17:12:01 -08:00
Tomasz Chabora 3b80eb06b7 Don't store index of root nodes 2019-12-05 01:18:48 +01:00
Eoin O'Neill f7f7544997 Added method binding for `multimesh_create` that was missing from VisualServer class. 2019-12-04 16:00:18 -08:00
simpuid 83194f4a50 changed set_meta to remove_meta in CLEAR_GUIDES menu option 2019-12-05 02:46:22 +05:30
Rémi Verschelde 36164168b5
Merge pull request #34101 from neikeq/baka
Mono/C#: Several android fixes
2019-12-04 20:21:23 +01:00
Ignacio Etcheverry 066ae9d83b Mono/C#: Several android fixes
- Added correct config file for android dllmaps.
- Fix __Internal DllImports with a dlopen fallback.
- Add missing P/Invoke functions and internal calls expected by the monodroid BCL and our custom version of the 'Android.Runtime.AndroidEnvironment' class (this last one can be found in the godot-mono-builds repo).
- Make sure to set 'btls' instead of 'legacy' as the default TLS provider on Android.
2019-12-04 19:03:42 +01:00
Rémi Verschelde 95242b7faf ResourceLoader: Add language code matching for localized resources
Near matching was not implemented like in TranslationServer, so a
resource remapped for 'ru' (but not 'ru_RU') would not be used as
fallback if the system locale was 'ru_RU'.

Fixes #34058.
2019-12-04 16:53:40 +01:00
Rémi Verschelde 0fcb68ffa1 Translation: Refactor locale matching to use proper language code
The previous code only parsed the first two characters (potentially reading
out of bounds if input was invalid), but some locales use a 3-letter language
code (e.g. 'nah_MX').

So I refactored the logic a bit to properly parse the locale and extract the
part left of the regional code, if provided (supports both 'en_US' and 'en-US'
style).

I made TranslationServer::get_language_code() public as I'll use it in a
follow up commit.
2019-12-04 16:53:08 +01:00
Ignacio Etcheverry 3797f19926 C#: Add Duplicate method to the Array and Dictionary bindings 2019-12-04 15:22:30 +01:00
Rémi Verschelde 73fb08289a
Merge pull request #34099 from akien-mga/gles3-polygon-buffer-orphaning-fix-2
Properly orphan polygon index buffer after binding (take 2)
2019-12-04 12:29:50 +01:00
Rémi Verschelde 745a8915fc Properly orphan polygon index buffer after binding (take 2)
Follow-up to #34088, patch by @oeleo1 from
https://github.com/godotengine/godot/issues/34065#issuecomment-561530896
2019-12-04 12:16:50 +01:00
TerminalJack e1dda5195c Added support for vertical syncing via the Windows OS compositor (DWM.) 2019-12-04 11:14:21 +01:00
Rémi Verschelde 10481046e5 i18n: Sync translations with Weblate 2019-12-04 09:08:11 +01:00
Rémi Verschelde f0ae0a9958
Merge pull request #34097 from Calinou/travis-doc-makerst
Travis CI: Run `makerst.py` to check for documentation errors
2019-12-04 09:05:16 +01:00
Rémi Verschelde fec8c164a0
Merge pull request #34096 from timothyqiu/i18n-ttr
Fixes translation for project sort options
2019-12-04 08:56:10 +01:00
Hugo Locurcio bc4dbcf793
Travis CI: Run `makerst.py` to check for documentation errors 2019-12-04 08:51:32 +01:00
Haoyu Qiu 22b345c969 Fixes translation for project sort options 2019-12-04 15:17:45 +08:00
Rémi Verschelde ed69744e7d
Merge pull request #34087 from bruvzg/os_docs_platform_support
OS class docs, adds platform compatibility notes.
2019-12-04 07:30:22 +01:00
Rémi Verschelde fc8bbaa8e9
Merge pull request #34094 from volzhs/compile-windows-on-linux
Fix compile error for Windows on Linux
2019-12-04 07:08:23 +01:00
Rémi Verschelde f326913f4d
Merge pull request #34067 from bojidar-bg/32370-retype-message
Make error when accidentially redeclaring a variable's type clearer
2019-12-04 06:52:22 +01:00
volzhs d1270f3d4c Fix compile error for Windows on Linux 2019-12-04 08:06:07 +09:00
Rémi Verschelde 40d1486cb3
Merge pull request #34088 from clayjohn/GLES3-polygon-buffer-orphaning-fix
Properly orphan polygon index buffer after binding
2019-12-03 18:13:28 +01:00
Rémi Verschelde 65f5ef9a42
Merge pull request #34079 from KoBeWi/rcexport
Don't stop export if rcedit path is invalid
2019-12-03 17:23:25 +01:00
bruvzg 0aebba2388
[ci skip] OS class documentations, adds platform compatibility notes. 2019-12-03 18:14:14 +02:00