Commit Graph

30076 Commits

Author SHA1 Message Date
Rémi Verschelde 183697f466
Merge pull request #41181 from Calinou/mime-type-fix-indentation
Fix inconsistent indentation in the FreeDesktop MIME type XML
2020-08-11 07:56:28 +02:00
Hugo Locurcio b0713e9e6c
Improve the project README
- Use the SVG version of the logo.
- Mention console support in the first paragraph.
- Point contributors to the `#godotengine-devel` IRC channel.
- Improve formatting for better readability.
- Add more links when needed.
- Fix warnings reported by markdownlint.
2020-08-10 23:07:34 +02:00
Hugo Locurcio 4dc6efc08e
Fix inconsistent indentation in the FreeDesktop MIME type XML 2020-08-10 23:04:13 +02:00
Rémi Verschelde a32b427f99
Merge pull request #41043 from ShivamMukherjee/fix-variant-call
Fix Vector3i and Vector2i AXIS_* constants
2020-08-10 19:30:39 +02:00
Rémi Verschelde cb0009fcd0
Merge pull request #41163 from raulsntos/default-env-formatting
Create default_env.tres with the same format used to save it
2020-08-10 19:22:22 +02:00
Rémi Verschelde d6c9dc0442
Merge pull request #40445 from hinlopen/project-settings-editor
Rewrite ProjectSettings editor header
2020-08-10 19:20:59 +02:00
Stijn Hinlopen 5563722628 Rewrite ProjectSettings editor advanced options
- New layout: advanced options hidden by default, error labels added.
 - Disallow adding invalid new settings, or overwriting built-in settings.
2020-08-10 17:32:01 +02:00
Sergey Minakov f9989a1a58 iOS: simplify OS value retrieval 2020-08-10 15:54:44 +03:00
Raul Santos f997004ee8
Create default_env.tres with the same format used to save it 2020-08-10 09:51:47 +02:00
PouleyKetchoupp 1c231cacb3 Fix 2D Particle velocity with directed emission mask
Changed CPU velocity calculation for EMISSION_SHAPE_DIRECTED_POINTS
to follow the same logic as in the GPU version:
mat2 rotm;
rotm[0] = texelFetch(emission_texture_normal, emission_tex_ofs, 0).xy;
rotm[1] = rotm[0].yx * vec2(1.0, -1.0);
VELOCITY.xy = rotm * VELOCITY.xy;

Now both CPUParticles2D & CPUParticles3D (z disabled) show the same results
as their GPU counterparts and take the initial velocity settings into account.
2020-08-09 18:16:53 +02:00
George Marques f2149fe763
Merge pull request #41124 from Paulb23/colour_region_blank_lines
Fix colour region continuation over blank lines
2020-08-09 09:27:16 -03:00
PouleyKetchoupp 095331fae4 Add option to disable virtual keyboard for TextEdit
Adding support for disabling virtual keyboard on mobile platforms, in
order to make it consistent with LineEdit.

It allows implementing a custom virtual keyboard.
2020-08-09 11:06:36 +02:00
totlmstr bfede1c060 Add missing #ifdef MODULE_SVG_ENABLED 2020-08-08 12:57:00 -07:00
Andrii Doroshenko (Xrayez) 6a495f4d04 Properly detect `--test` command-line argument
Do not prematurely parse anything which beings with `--test`
to run doctest. This allows other commands to be run, such as
`--test-gdscript` or other custom arguments.
2020-08-08 21:54:23 +03:00
Paulb23 5cf2cf8646 Fix colour region continuation over blank lines, issue 41120 2020-08-08 15:36:46 +01:00
George Marques 69c81309cc
Merge pull request #40673 from ThakeeNathees/gdscript-op-eval-validation
GDScript operator evaluation validation bug fix
2020-08-08 10:52:40 -03:00
George Marques 1f14068727
Merge pull request #40951 from bruvzg/gds_cleanup
[GDScript] Add static HashMap cleanup.
2020-08-08 10:44:57 -03:00
George Marques 3aef60591b
GDScript: Tidy up assignment operator check
The operator is already gathered by the parser, no need to do it again
in the analyzer.
2020-08-08 10:37:51 -03:00
Aladdin Al-Khafaji 9118a41dea Port OrderedHashMap tests to doctest 2020-08-08 15:49:50 +03:00
Hugo Locurcio eaa52cbb36
Reference Range signals in the Slider class documentations
See https://github.com/godotengine/godot-docs/issues/3837.
2020-08-08 13:56:22 +02:00
Eric M 8c4c2bceab Added search box to signals dock.
Also made localised code changes for better documentation and readability.
2020-08-08 14:15:46 +10:00
Hugo Locurcio e506479fce
Document the lack of kerning support in DynamicFont 2020-08-07 15:03:35 +02:00
Hugo Locurcio 028de11db8
Improve the inspector easing editor
- Make it possible to drag a negative easing or an easing of 0 back to
  a positive value.
- Clamp the value between -1000000 and 1000000 to avoid issues
  related to infinity.
- Display more decimals for numbers closer to 0, less for large numbers.
- Display trailing zeroes in decimals to avoid flickering when dragging.

This closes #18712 and closes #22079.
2020-08-07 14:51:55 +02:00
George Marques 241e709462
Merge pull request #41062 from ThakeeNathees/unsafe-arithmatic-assignment-bug-fix
GDScript: unsafe arithmetic assignment bug fix
2020-08-06 10:51:48 -03:00
Thakee Nathees 38c7d080e8 GDScript: unsafe arithmetic assignment bug fix
Fix: #41051
2020-08-06 11:12:26 +05:30
Stephen Nichols fbd07bf3bf Adding error message for empty grouping expression 2020-08-05 14:42:33 -05:00
Stephen Nichols 8a13be50ab Fixing null callee crash. 2020-08-05 14:41:46 -05:00
Aman Jain 2b89944a3d Add 'Export App Bundle' to Android Export Options 2020-08-05 12:55:02 -04:00
Andrea Catania 6831da630f
Merge pull request #40989 from madmiraal/fix-40739
Reload Bullet space override modifier even when RigidBody is inactive.
2020-08-05 13:54:25 +02:00
Andrea Catania 8de57bde13
Merge pull request #41040 from qarmin/fixes_leak_bulet
Fixes leak when creating bullet shape
2020-08-05 13:22:42 +02:00
Vivraan 8629cfdb08 Fix Vector3i and Vector2i AXIS_* constants 2020-08-05 14:15:28 +05:30
Rafał Mikrut ac1b2da96e Fixes leak when creating bullet shape 2020-08-05 10:04:04 +02:00
Maganty Rushyendra cf04aabef1 Fix tile placement preview for rotated, skewed or scaled TileMaps
Ensures that the editor preview when placing a tile on a TileMap takes
into account the transformation of the TileMap. Previously, only the
origin of the Tile was transformed, but not its orientation or
scaling.
2020-08-05 10:12:08 +08:00
Tomasz Chabora a09078e64b Improve Vector2.angle() description 2020-08-05 00:18:19 +02:00
Fabio Alessandrelli fceb64827e Remap script path when registering class.
Was causing `class_name`-defined scripts to not being loaded in exported
games due to the remap from `*.gd` to `*.gdc`/`*.gde`.
2020-08-04 15:46:40 +02:00
George Marques ec678c5e94
Merge pull request #40992 from vnen/fix-input-call
Fix _input being mistakenly called twice on script
2020-08-04 09:17:01 -03:00
Hugo Locurcio 2a8bbda2a7
Improve the documentation related to overriding GUI theme items
Overriding theme items is a common point of confusion.
Hopefully, these code samples should clear things up.
2020-08-04 12:57:53 +02:00
Maganty Rushyendra 5e77eea216 Updated cursor positioning description for File open()
Added more details about the cursor offsets for the different ModeFlags
in the `File` class.
2020-08-04 13:53:52 +08:00
Antoine Félix f3626364fc Modify the scene only when color changed
Editor now changes a color in the inspector only when it is different
from the current one.

Solves fake unsaved changes in editor after using the ColorPicker.

Resolves: #40879
2020-08-03 19:46:44 +02:00
Hugo Locurcio 2f577facc9
Document HTTPRequest not supporting request data with GET method
This also improves the HTTPClient class documentation to be easier
to read and more informative.

This closes #40564.
2020-08-03 14:57:27 +02:00
George Marques 9adf6d3441
Merge pull request #40690 from ThakeeNathees/arithmetic-assign-type-check-bug-fix
GDScript arithmetic assignment type check bug fix
2020-08-03 09:26:09 -03:00
George Marques 9048e72ae9
Merge pull request #40986 from Anutrix/grammer-fix
Fixed tiny grammar issues in error messages
2020-08-03 09:23:16 -03:00
Hugo Locurcio c73c327bab
Reference the online documentation in collision layer/mask properties
See https://github.com/godotengine/godot-docs/pull/3863.
2020-08-03 13:58:51 +02:00
George Marques b8671b61fc
Fix _input being mistakenly called twice on script
Instead it calls both the script and the native method.
2020-08-03 08:40:08 -03:00
Marcel Admiraal 3a05ca9c2b Reload Bullet space override modifier even when RigidBody is inactive. 2020-08-03 11:39:16 +01:00
unknown 561af0c17d Fixed tiny grammar issues in error messages 2020-08-03 14:03:28 +05:30
Arkadiusz Marcin Kołek 8e1c9ff1c1 Shape3D::get_debug_mesh_lines const methods 2020-08-02 11:10:43 +02:00
Christopher Davis 41d8c0c818 platform: Update metadata for export platforms
Updates the logos of for macOS, Android, and iOS; Also
changes "Mac OSX" to "macOS"

Addresses https://github.com/godotengine/godot-proposals/issues/1161
2020-08-01 23:43:14 -07:00
Andrii Doroshenko (Xrayez) 76e00d2405 Stringify `Variant` compatible types for doctest output 2020-08-02 01:38:24 +03:00
bruvzg ee973f5b90
[GDScript] Add static HashMap cleanup. 2020-08-01 22:08:12 +03:00