Commit Graph

28478 Commits

Author SHA1 Message Date
Hugo Locurcio 9c0d214776
Print errors when calling MIDI input methods on unsupported platforms
This partially addresses #32065.
2020-05-31 19:10:27 +02:00
Rémi Verschelde a8787d1ae5
Merge pull request #39159 from NutmegStudio/fix-mono-templates
Fix building mono release templates
2020-05-30 17:10:35 +02:00
Rémi Verschelde 20a6fcd3ea
Merge pull request #39163 from madmiraal/dinput-nullptr-checks
Add dinput nullptr checks.
2020-05-30 15:54:29 +02:00
Marcel Admiraal bc49d34123 Add dinput nullptr checks. 2020-05-30 13:59:30 +01:00
Rémi Verschelde 240032ade7
Merge pull request #39168 from madmiraal/fix-javascript-ci
Activate emscripten with no-embedded option.
2020-05-30 14:39:04 +02:00
Marcel Admiraal 43371c9fbe Activate emscripten with no-embedded option. 2020-05-30 12:51:06 +01:00
NutmegStudio a77f633161 Fixes building mono release templates 2020-05-30 12:21:24 +07:00
George Marques 0f1da72492
Actually set GDScript static reference 2020-05-29 11:01:48 -03:00
Rémi Verschelde ef5910eea5
Merge pull request #39143 from madmiraal/fix-39116
Do not probe joypads if DirectInput cannot be initialized.
2020-05-29 13:44:53 +02:00
Marcel Admiraal 97a529b1d8 Do not probe joypads if DirectInput cannot be initialized. 2020-05-29 12:07:07 +01:00
Rémi Verschelde d19257eb2b
Merge pull request #39010 from gvekan/fix-documentation
Fix ProjectSettings.save_custom documentation
2020-05-29 12:11:19 +02:00
Rémi Verschelde e67339eeca
Merge pull request #39085 from madmiraal/fix-39059
Correct Bullet's default Area angular damp value.
2020-05-29 12:10:47 +02:00
Rémi Verschelde 1620669f4e
Merge pull request #39051 from Xrayez/geometry-split
Split `Geometry` singleton into `Geometry2D` and `Geometry3D`
2020-05-29 12:10:37 +02:00
Rémi Verschelde 6aa399be59
Merge pull request #39137 from Xrayez/custom-modules-profile
SCons: Allow to read `custom_modules` option via a file
2020-05-29 11:42:53 +02:00
Andrii Doroshenko (Xrayez) 6304d16915 SCons: Allow to read `custom_modules` option via a file
The `custom_modules` option was only read via the command line
by fetching `ARGUMENTS` dictionary directly.

Instead, the option's value can now be read via any existing
configuration files (`custom.py`) as well as command line, while also
updating the environment.
2020-05-29 12:11:53 +03:00
Rémi Verschelde 4448aca3a6
Merge pull request #39142 from akien-mga/all-your-bugs-are-belong-to-us
GitHub: Remove feature request placeholder template
2020-05-29 10:53:33 +02:00
Rémi Verschelde a7214a4b9b GitHub: Remove feature request placeholder template
We now have a proper link to godotengine/godot-proposals thanks to
#39019 and #39132, so that hacky 'Don't open issues here' template
is no longer needed.
2020-05-29 10:21:01 +02:00
Rémi Verschelde f65787a63e
Merge pull request #39129 from Xrayez/exit-here
SCons: Prefer `Exit()` method over `sys.exit()`
2020-05-29 09:39:20 +02:00
Rémi Verschelde 21686b89da
Merge pull request #39132 from aaronfranke/configdotyml
Fix GitHub issue template config not working
2020-05-29 09:38:37 +02:00
Rémi Verschelde d2be503ebb
Merge pull request #39122 from Calinou/travis-xcode-11.5
Travis CI: Use the Xcode 11.5 image for macOS builds
2020-05-28 23:01:36 +02:00
Aaron Franke 389227bff1
Fix GitHub issue template config not working
It was in the wrong folder
2020-05-28 16:38:03 -04:00
Andrii Doroshenko (Xrayez) 5afe8cd782 SCons: Prefer `Exit()` method over `sys.exit()`
Sconscript provides it's own `Exit()` method which is currently
an alias for `sys.exit()` internally, with the only difference that if
no exit code is specified, it defaults to 0.

This encourages the usage of SCons-implemented methods like
`Glob()` over `glob.glob()`, which may overcome limitations of the
built-in Python features in the future.
2020-05-28 22:54:37 +03:00
Rémi Verschelde 105bef19ff
Merge pull request #39125 from Xrayez/py-modules-order-4.0
SCons: use `OrderedDict` to ensure insertion order of modules
2020-05-28 20:55:56 +02:00
Andrii Doroshenko (Xrayez) 17938fd547 SCons: use `OrderedDict` to ensure insertion order of modules
The insertion order for dictionaries is only a language feature for
Python 3.6/3.7+ implementations, and not prior to that.

This ensures that the engine won't be rebuilt if the order of detected
modules changes in any way, as the `OrderedDict` should guarantee
inerstion order.
2020-05-28 18:17:49 +03:00
Rémi Verschelde 4eef88b2c1
Merge pull request #39120 from volzhs/godotpayment-consume-master
Add missing consumePurchase plugin method for GodotPayment
2020-05-28 16:38:16 +02:00
Hugo Locurcio 4fec548065 Travis CI: Use the Xcode 11.5 image for macOS builds 2020-05-28 15:51:22 +02:00
volzhs c227733bd8 Add missing consumePurchase plugin method for GodotPayment 2020-05-28 22:48:48 +09:00
Rémi Verschelde 1455776958
Merge pull request #39111 from nathanfranke/directory_remove_print
Remove "erasing" print from Directory.remove (Windows)
2020-05-28 13:54:57 +02:00
Rémi Verschelde 6d63974af1
Merge pull request #39118 from akien-mga/doc-l10n-propertyselector
Use translated docs in PropertySelector
2020-05-28 13:21:39 +02:00
Nathan Franke e48fb01d59
fix(Directory): remove erasing print
Fixes #39106
2020-05-28 05:46:01 -05:00
Rémi Verschelde a16031beb6 Use translated docs in PropertySelector
And do the dedent and stripping for both translated and
non-translated strings for consistency, and so that we
don't need to do it at the call site.
2020-05-28 12:02:12 +02:00
Rémi Verschelde 055624d94b
Merge pull request #39116 from Calinou/tweak-failed-dinput-message
Tweak the DirectInput initialization failure message
2020-05-28 11:04:33 +02:00
Hugo Locurcio fe09b4d2b3 Tweak the DirectInput initialization failure message
This closes #36662.
2020-05-28 09:45:17 +02:00
Rémi Verschelde 1a53ee66c1
Merge pull request #39097 from m4gr3d/validate_plugins_build_config
Validate that `Use Custom Build` is enabled when `Plugins` are selected
2020-05-27 22:54:45 +02:00
Rémi Verschelde ffe2066bb5
Merge pull request #39102 from Calinou/makerst-print-status-messages
makerst: Print status messages to make the CI output clearer
2020-05-27 22:43:33 +02:00
Hugo Locurcio 9065b7ed4e
makerst: Print status messages to make the CI output clearer
This also removes an unused method.
2020-05-27 22:24:33 +02:00
Fredia Huya-Kouadio c948d25b6e Validate that `Use Custom Build` is enabled when `Plugins` are selected
Remove `GodotPayment` from the default build template
2020-05-27 12:07:53 -07:00
Rémi Verschelde 52814d111c
Merge pull request #39089 from mrushyendra/localVectorBug
Fix unsigned integer bug in LocalVector::erase
2020-05-27 16:18:32 +02:00
Maganty Rushyendra 4ef246f804 Fix unsigned integer bug in LocalVector::erase
`erase()` calls `find()` to get the index of the element to remove, if
any.

c2151e1813/core/local_vector.h (L77-L81)

`find()` returns a signed integer. In particular, it returns -1 if
no element is found. Since `erase()` converts this to an unsigned type, the
wrong element may be erroneously removed from the vector.

Other ways to fix this would involve changing function signatures, so
this seemed to be the least disruptive change.

Fixes #38884
2020-05-27 21:53:34 +08:00
Rémi Verschelde 2aa46ee4ae
Merge pull request #37198 from Xrayez/progress-inside
SCons: Move build progress related logic out of main SConstruct
2020-05-27 14:34:04 +02:00
Andrii Doroshenko (Xrayez) 69d5de632e Split `Geometry` singleton into `Geometry2D` and `Geometry3D`
Extra `_2d` suffixes are removed from 2D methods accoringly.
2020-05-27 14:28:34 +03:00
Rémi Verschelde 7b7b872d94
Merge pull request #39080 from m4gr3d/fix_emit_signal
Use compile-time constant for the size of the signal parameters
2020-05-27 13:05:32 +02:00
Marcel Admiraal ddcc2a0360 Correct Bullet's default Area angular damp value. 2020-05-27 11:57:48 +01:00
Rémi Verschelde 9dc96c0dd8
Merge pull request #39062 from akien-mga/du-pain-et-des-jeux
Add shortcut for Pan Mode (G)
2020-05-27 12:55:34 +02:00
Rémi Verschelde bd14c6406a
Merge pull request #39064 from bruvzg/gdn_packed_array_ptr
GDNative: Add bindings for the Packed*Array ptr() and ptrw() functions.
2020-05-27 12:55:17 +02:00
Rémi Verschelde 5c98de273d
Merge pull request #39066 from Xrayez/is-module-yes
Do not rely on the existence of `config.py` while detecting modules
2020-05-27 12:54:59 +02:00
Rémi Verschelde c10dab134a
Merge pull request #39079 from mrushyendra/exposeGetCharSize
Expose `get_char_size()` from Font instead of BitmapFont
2020-05-27 12:53:24 +02:00
Fredia Huya-Kouadio 63286ebba4 Use compile-time constant for the size of the signal parameters 2020-05-27 03:40:26 -07:00
Rémi Verschelde a5a7f5f73e
Merge pull request #39077 from m4gr3d/override_command_line_args
Provide the ability to override the command line arguments
2020-05-27 11:47:42 +02:00
Maganty Rushyendra a4413710f9 Expose `get_char_size()` from Font instead of BitmapFont
`get_char_size()` is a public virtual function defined in the `Font`
class. Implementations exist for both `BitmapFont` and `Dynamic Font`.
However, it was only exposed to the GDScript API through the Bitmap
Font, and not for Dynamic Font.

This commit exposes the function through `Font` instead.

Fixes #23967
2020-05-27 17:28:23 +08:00