Commit graph

28464 commits

Author SHA1 Message Date
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
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
Fredia Huya-Kouadio
75100e5644 Provide the ability for clients of the Godot library to add their own command line arguments 2020-05-27 02:13:52 -07:00
Rémi Verschelde
84d9e10f88
Merge pull request #36409 from fire/skeleton-custom-inspector
Custom Skeleton3DEditorPlugin
2020-05-27 11:04:37 +02:00
Rémi Verschelde
ab460e7a6f
Merge pull request #39074 from vnen/gdscript-assert-message
Fix assert message when no custom message is set
2020-05-27 08:23:17 +02:00
George Marques
f29a2e2606
GDScript: Fix assert message when no custom message is set 2020-05-26 20:40:59 -03:00
Rémi Verschelde
9daee31ba9
Merge pull request #39070 from bruvzg/win7_ignore_empty_tab_driver
Ignore invalid tablet driver name, when non are available.
2020-05-26 21:39:07 +02:00
bruvzg
ef1a305e50
Ignore invalid tablet driver name, when non are available. 2020-05-26 21:03:45 +03:00
Andrii Doroshenko (Xrayez)
12389b3736 Do not rely on the existence of config.py while detecting modules
The existence of `SCsub` is checked instead. This file is required for
all modules, and prevents the build system to leave modules without
`config.py` undetected, leading to silently ignoring the module during
compilation.
2020-05-26 18:00:30 +03:00
bruvzg
9fbc424d4c
GDNative: Add bindings for the Packed*Array ptr() and ptrw() functions. 2020-05-26 17:02:02 +03:00
Rémi Verschelde
24ad4894cc
Merge pull request #39050 from timoschwarzer/google-play-billing-4.0
(4.0) Re-implement GodotPayment Android plugin using the Google Play Billing library
2020-05-26 15:34:06 +02:00
Rémi Verschelde
28b33718b0 Add shortcut for Pan Mode (G)
And change TileMap Bucket Fill shortcut to (B).

Fixes #8582.
2020-05-26 15:31:32 +02:00
Rémi Verschelde
f8005cb699
Merge pull request #28289 from aaronfranke/grid
Dynamic infinite 3D grid
2020-05-26 13:39:53 +02:00
Rémi Verschelde
da73cd5756
Merge pull request #37088 from ThakeeNathees/color-picker-margin-bug-fix
Fix: colorpicker margin bug fixed
2020-05-26 11:08:27 +02:00
Rémi Verschelde
ad34c1e544
Merge pull request #39057 from mrushyendra/mono_csharp_warning
Update Mono C# warning to reflect latest list of platforms supported
2020-05-26 08:23:44 +02:00