Thaddeus Crews
780cf03051
Merge pull request #104556 from Ivorforce/string-extend-instead-of-parse
...
Use `append_` instead of `parse_` for `String` methods.
2025-03-29 10:16:33 -05:00
Rémi Verschelde
3b90bb56ad
Merge pull request #89782 from KoBeWi/stdArrayList
...
Use initializer list in Arrays
2025-03-28 17:29:40 +01:00
Yyf2333
22b5ec17fb
Using iterator pattern instead of List::Element *.
...
Co-authored-by: Adam Scott <ascott.ca@gmail.com >
2025-03-28 13:29:15 +08:00
Lukas Tenbrink
ffa6ef220b
Use append_ instead of parse_ for String methods.
2025-03-27 17:51:02 +01:00
kobewi
75881f8322
Use initializer list in Arrays
2025-03-26 18:38:15 +01:00
Thaddeus Crews
c687e4f692
Merge pull request #104509 from HolonProduction/completion-super-method
...
GDScript: Return early when parsing invalid super call
2025-03-24 15:27:26 -05:00
HolonProduction
b67dcb21fd
GDScript: Return early when parsing invalid super call
2025-03-24 17:40:26 +01:00
Thaddeus Crews
1cb3cfaa8e
Style: Convert namespaces to PascalCase
2025-03-23 19:10:24 -05:00
Thaddeus Crews
f09ee0171a
Style: Begin integrating simple .clangd fixes
2025-03-22 13:24:35 -05:00
Rémi Verschelde
d3676e9352
Merge pull request #99872 from HolonProduction/plugin-template
...
Add `_enable`/`_disable_plugin` to plugin script template
2025-03-21 13:03:03 +01:00
Rémi Verschelde
2fa721b1bc
Merge pull request #104127 from Ivorforce/360-noclip
...
Remove `String` clipping constructors.
2025-03-19 12:27:10 +01:00
Mikael Hermansson
db5e843e46
Add clearing of static_gdscript_cache to GDScriptCache
2025-03-17 18:19:23 +01:00
Lukas Tenbrink
a23f630781
Remove String clipping constructors.
...
Callers should instead call constructors with explicit encoding names, with known length `Span`.
2025-03-15 12:34:44 +01:00
Thaddeus Crews
b377562b52
Merge pull request #91660 from AThousandShips/methodinfo_vec
...
[Core] Use `Vector` for `MethodInfo::arguments`
2025-03-14 10:06:13 -05:00
Thaddeus Crews
e68ac1c89d
Merge pull request #104114 from HolonProduction/lsp-spec-selection-range-round-3
...
GDScript: Fix head class range to include `class_name`
2025-03-14 10:06:11 -05:00
HolonProduction
d6da30e9c7
GDScript: Fix head class range to include class_name
2025-03-14 11:36:55 +01:00
Michael Alexsander
ce8d2e4917
Implement class detection in GDScript for build configuration
2025-03-13 21:24:56 -03:00
David Snopek
393465ce92
Register editor classes normally, rather than via ClassDB::set_current_api()
2025-03-13 15:17:45 -05:00
Thaddeus Crews
e97bb76142
Merge pull request #100314 from Ivorforce/use-string-chr
...
Optimize `String::chr` to avoid calling `strlen`. Use `String::chr` instead of `String(&chr, 1)` where appropriate.
2025-03-13 08:57:20 -05:00
Thaddeus Crews
0a30831bed
Merge pull request #100023 from Repiteo/core/module-includes-header-strip
...
Core: Avoid including `modules/modules_enabled.gen.h` in headers
2025-03-11 19:54:48 -05:00
Thaddeus Crews
754e3b3f9a
Merge pull request #103825 from JulianHeuser/region_highlight_crash_fix
...
Fix crash related to #region/#endregion caused by trailing spaces
2025-03-11 19:54:46 -05:00
Thaddeus Crews
6c4f17db1a
Core: Avoid including modules_enabled in headers
2025-03-11 19:42:13 -05:00
Julian
659d1b5d0c
Fix crash caused by trailing spaces
2025-03-11 00:06:08 -04:00
A Thousand Ships
d9721954e6
[Core] Use Vector for MethodInfo::arguments
2025-03-10 13:57:53 +01:00
A Thousand Ships
331a43a9d8
Add String::remove_char(s) methods for performance and convenience
2025-03-10 13:19:28 +01:00
A Thousand Ships
466590d0ec
Use get_slicec instead of get_slice for single character splitters
2025-03-08 20:36:37 +01:00
Thaddeus Crews
324512e11c
Style: Replace header guards with #pragma once
2025-03-07 17:33:47 -06:00
Thaddeus Crews
3d9b37911d
Merge pull request #103011 from Repiteo/style/svgo-newline
...
Style: Ensure svgs have trailing newlines
2025-03-07 15:12:41 -06:00
Thaddeus Crews
3c43508ed7
Merge pull request #102427 from AThousandShips/fix_substr
...
Clean up some uses of `String::substr`
2025-03-07 15:12:33 -06:00
Thaddeus Crews
c937b6d180
Merge pull request #102419 from Ivorforce/std-size
...
Use `std::size` instead of `sizeof(a) / sizeof(a[0])` pattern throughout the codebase.
2025-03-07 15:12:25 -06:00
Thaddeus Crews
9e7fbdf52b
Merge pull request #103663 from pafuent/fixing_errors_warnings_output_on_tests
...
Fix `SCRIPT ERROR/ERROR/WARNING` on test output
2025-03-07 15:12:11 -06:00
Thaddeus Crews
e0a040c0d3
Merge pull request #101319 from JulianHeuser/region_syntax_highlighting_fix
...
Improve consistency of code regions
2025-03-07 12:06:34 -06:00
A Thousand Ships
5113022dfe
Clean up some uses of String::substr
...
Cases where the end position is either equvalent to the default or past
the end of the string.
2025-03-07 14:50:38 +01:00
Pablo Andres Fuente
5775d29ad8
Fix SCRIPT ERROR/ERROR/WARNING on test output
...
Also "fixing" some GDScript completion tests which
where named wrongly.
2025-03-06 13:44:48 +01:00
HolonProduction
f4172445f3
Add _enable/_disable_plugin to plugin script template
2025-03-06 11:41:21 +01:00
A Thousand Ships
fec3d9e68c
[Editor] Fix return of EditorTranslationParserPlugin._parse_file
...
Merged `_get_comments` into `_parse_file` and changed to using a
returned `Array[PackedStringArray]` instead.
2025-02-19 20:11:24 +01:00
Thaddeus Crews
7e5baa0426
Style: Enforce trailing newlines on svgs
2025-02-18 11:02:45 -06:00
HolonProduction
c00518eec7
Autocompletion: Override context for preload
2025-02-13 22:56:06 +01:00
Rémi Verschelde
83b3c1e11e
Merge pull request #102389 from Meorge/bugfix/unique-name-error
...
Display correct symbol in warning when unique name is used without @onready annotation
2025-02-11 23:59:01 +01:00
HolonProduction
62eebf1266
Autocompletion: Account for invalid annotations when making arghint
2025-02-11 09:17:22 +01:00
Lukas Tenbrink
e34f1f504c
Use std::size instead of sizeof(a) / sizeof(a[0]) pattern throughout the codebase.
2025-02-07 14:57:48 +01:00
Pāvels Nadtočajevs
7da0767f35
[TextEdit] Update syntax highlighting when IME composition string is updated.
2025-02-07 11:54:56 +02:00
Malcolm Anderson
8e8f93cf0c
Display correct symbol in warning when unique name is used without @onready annotation
...
Add tests for `GET_NODE_DEFAULT_WITHOUT_ONREADY` warning with unique nodes
Small modifications to tests
2025-02-06 10:49:08 -08:00
HolonProduction
d616ea5462
Fix enum value lookup jump
2025-02-06 10:04:01 +01:00
Pāvels Nadtočajevs
b50d9742c2
Fix is_valid_float, Variant parser, Expression parser, script highlighter, and TextServer not handing capital E in scientific notation.
2025-02-05 18:39:40 +02:00
bruvzg
3be46a69c4
Fix uppercase B and X parsing in the integer literals.
2025-02-05 16:02:06 +02:00
Rémi Verschelde
daa074881b
Revert "Fixed resource loader using not fully loaded scripts"
...
This reverts commit fd5fc9f3ee .
This caused significant regressions which are worse than the bug that #96499
aimed to address.
- Reverts #96499 .
- Reopens #95909 .
- Supersedes #102063 .
- Fixes #99006 .
- Fixes #101615 .
2025-02-04 19:51:54 +01:00
Thaddeus Crews
0b6a717ac1
Merge pull request #101127 from dalexeev/gds-edit-fix-enum-value-ctrl-click
...
Editor: Fix `Ctrl+Click` on enum values does nothing
2025-02-04 09:04:17 -06:00
Pedro J. Estébanez
318af42020
Include more attributes in the global class names cache
2025-01-29 09:39:50 +01:00
Thaddeus Crews
9630d4e2fc
Merge pull request #101632 from bruvzg/gds_tween_property_crash
...
Fix GDScript editor crash on invalid `tween_property` arguments.
2025-01-17 10:16:55 -06:00