Commit Graph

1732 Commits

Author SHA1 Message Date
Davy Hélard 5e250d4e42 Fix compilation 2026-07-21 17:36:25 +02:00
Davy Hélard 5b16d01e5c Review changes 2026-07-21 17:36:14 +02:00
Davy Hélard e2e0142ad4 Check child-object variables 2026-07-21 16:28:15 +02:00
Davy Hélard 1533c93be7 Don't check object variable declaration in extensions 2026-07-21 16:28:14 +02:00
Davy Hélard dae265281c Fix flow 2026-07-21 16:28:14 +02:00
Davy Hélard db9ef29dac Fix leaf structure error in variable parameters 2026-07-21 16:28:14 +02:00
Davy Hélard 52fb0ece21 Add tests on leaf structure variable 2026-07-21 16:28:14 +02:00
Davy Hélard 6280cf6fda Fix a NPE 2026-07-21 16:28:14 +02:00
Davy Hélard da21301f91 Add tests on variable declaration 2026-07-21 16:28:14 +02:00
Davy Hélard 7334b31da1 Fix variable type check 2026-07-21 16:28:13 +02:00
Davy Hélard 534d5dd8aa Fix missing undeclared object variable errors 2026-07-21 16:28:13 +02:00
Davy Hélard a9dcbc05c6 Generalize child-variable check 2026-07-21 16:28:13 +02:00
Davy Hélard ee771f3ac9 Add errors for undeclared object variable (but not child) 2026-07-21 16:28:13 +02:00
Davy Hélard a19facba4f Add a parameter for the object name 2026-07-21 16:28:13 +02:00
Davy Hélard a342ffbd9f Display an error on undeclared child of scene variables 2026-07-21 16:28:13 +02:00
D8H f4a91c66fc Fix to avoid incompatible behaviors when adding objects to a group (#8846) 2026-07-15 18:27:57 +02:00
Florian Rival 2d9d8c3a41 Fix scene variables "persistentUuid" field in JSON being regenerated or deleted on save (#8837)
Only show in developer changelog
2026-07-15 14:59:16 +02:00
Clément Pasteau 97eccf98c3 Reduce possible crashes in the event sheet when undoing/redoing (#8820) 2026-07-09 08:53:29 +02:00
Florian Rival 8348172593 Improve AI tool error messages and input validation (#8813)
Don't show in changelog
2026-07-07 11:15:57 +02:00
Florian Rival e91e071805 Fix "mixed values" wrongly shown for some objects when added to an object group (#8807)
Fix #8805
2026-07-06 15:12:36 +02:00
D8H 04119d25a0 Add tests on undeclared object variables (#8800) 2026-07-03 16:49:35 +02:00
D8H f9af900c24 Add tests on parser about variables declaration (#8783)
Cover combinations of
- expression, variable parameter, legacy variable parameter
- variables from a depth of 1 to 3
- declared or undeclared variable at each level

Some cases were already covered and don't appear in the diff.

Don't show in changelog
2026-06-29 17:58:20 +02:00
D8H e8f39990f8 Fix object variables color in events (#8781) 2026-06-29 11:06:20 +02:00
D8H b2222005d9 Allow to edit behavior properties of object groups in the side panel (#8758) 2026-06-25 16:34:53 +02:00
D8H 733c560ec9 Fix behavior overriding for Physics2, Physics3D, Multiplayer and SaveState (#8766)
- Don't show in changelog
2026-06-25 15:51:30 +02:00
D8H 4db3fd3eb9 Fix empty number properties of behavior initial value (#8763)
Don't show in changelog
2026-06-25 11:08:19 +02:00
D8H 4d5ea2fb89 Allow to change behavior property values on object instances from the side panel (#8737) 2026-06-25 10:46:48 +02:00
Clément Pasteau 2aa0fdea7b Fix checking resource types on every parameter when launching preview (#8757)
* This was causing slow preview times
2026-06-23 16:44:05 +02:00
Clément Pasteau 3358d5e2ba Fix showing default parameter values as errored in the event sheet (#8753)
Do not show in changelog
2026-06-23 12:00:34 +02:00
Clément Pasteau b5c44d9694 Fix possible crashes when serializing large projects (#8749) 2026-06-22 17:17:01 +02:00
Clément Pasteau 7860c22ecd Fix initial value displayed for optional Boolean parameters with default value (#8748) 2026-06-22 11:18:37 +02:00
D8H 429099981d Fix project loading when 2 extensions uses each other custom objects (#8711) 2026-06-15 19:38:44 +02:00
D8H 33dd671c61 Fix an error when building a project that uses object variables (#8697) 2026-06-11 09:32:11 +02:00
D8H 258a541b48 Fix build of games with parameter or property resources in custom extensions (#8695) 2026-06-11 08:54:46 +02:00
D8H e4f85fb580 Fix a crash when opening an extension tab where the function tree is corrupted (#8694) 2026-06-10 12:39:59 +02:00
D8H 5b84c0c73c Fix a memory corruption when updating an extension without function folders (#8690)
Fix #8678
2026-06-09 15:04:58 +02:00
D8H c6d40449c8 Automatically add a return action in custom expressions (#8682)
* And ensure the type is right when the expression type is changed
2026-06-07 22:01:32 +02:00
Clément Pasteau 663edf81ec Improve a lot the time to launch previews (and other operations like modifying groups/renaming objects) when using very long expressions (#8662) 2026-06-01 14:40:33 +02:00
D8H 46a6a66552 Hide deprecated extensions in new projects (#8634) 2026-05-28 18:07:48 +02:00
Florian Rival 080bc15f56 Add missing override specifiers to event classes (#8633)
Don't show in changelog
2026-05-21 16:31:37 +02:00
Florian Rival 12867be225 Fix potential crashes (#8625)
And add GDCore tests with ASan/UBSan as a new CI job to catch any regression in the future
2026-05-21 12:46:30 +02:00
D8H e3f3a1ffac Fix editor crashes after modifying custom object extensions (#8626) 2026-05-20 18:33:18 +02:00
opaldi 749a78650b Persist the preference "Start all previews from scene X" in the project file (#8622) 2026-05-20 16:49:23 +02:00
D8H 6dc9ed5d2c Fix minus sign color for negative numbers (#8621)
Don't show in changelog
2026-05-20 16:35:51 +02:00
ViktorVovk f39d8bb080 Add experimental support for "canonical" serialization of events (#8552)
- When activated, the JSON of the project is saved with properties always in alphabetical order. Fields in events are also never omitted.
- The preference is controlled via `gdevelop-settings.yaml` (already read
by the IDE on project open):

  ```yaml
  # gdevelop-settings.yaml
  preferences:
    canonicalEventSerialization: true
  ```

Only show in developer changelog
Co-authored-by: Viktor Vovk <vvovk@playtika.com>
2026-05-20 16:10:12 +02:00
D8H 830587f25b Fix object parameter color in expression (#8611)
Don't show in changelog
2026-05-18 19:42:10 +02:00
D8H cea1410fb3 Add syntax highlighting for expressions in events (#8538)
Complex expressions and formula will now be shown using multiple colors, like the rest of events. This allows to identify objects, numbers, strings in a long formula.
2026-05-18 18:10:00 +02:00
D8H cacd28eed7 Add a "layer" property type for custom behaviors (#8596) 2026-05-14 12:50:25 +02:00
D8H e2de846279 Allow to load and unload objects from other scenes (#8592)
- Also fix manually loaded objects not being unload with their scene
2026-05-14 10:56:19 +02:00
Clément Pasteau 0eb6014a93 Fix some visual glitches in the Events Sheet when opening and scrolling (#8571) 2026-05-11 10:52:30 +02:00