gdharness 1.2.31 → 1.2.32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (27) hide show
  1. package/build/cli.js +7212 -6230
  2. package/build/godot/addons/gdharness_editor/bridge_client.gd +14 -0
  3. package/build/godot/addons/gdharness_editor/file_reads.gd +237 -0
  4. package/build/godot/addons/gdharness_editor/file_reads.gd.uid +1 -0
  5. package/build/godot/addons/gdharness_editor/plugin.gd +27 -0
  6. package/build/godot/addons/gdharness_editor/scene_file.gd +38 -1
  7. package/build/godot/addons/gdharness_editor/tool_executor.gd +1 -0
  8. package/build/godot/addons/gdharness_editor/tools/class_tools.gd +22 -0
  9. package/build/godot/addons/gdharness_editor/tools/filesystem_tools.gd +64 -1
  10. package/build/godot/addons/gdharness_editor/tools/resource_tools.gd +4 -41
  11. package/build/godot/addons/gdharness_editor/tools/scene_placing.gd +178 -0
  12. package/build/godot/addons/gdharness_editor/tools/scene_placing.gd.uid +1 -0
  13. package/build/godot/addons/gdharness_editor/tools/scene_tools.gd +54 -120
  14. package/build/godot/addons/gdharness_runtime/runtime_autoload.gd +39 -0
  15. package/build/godot/addons/gdharness_runtime/runtime_hover.gd +285 -0
  16. package/build/godot/addons/gdharness_runtime/runtime_hover.gd.uid +1 -0
  17. package/build/godot/addons/gdharness_runtime/runtime_input.gd +151 -106
  18. package/build/godot/addons/gdharness_runtime/runtime_mouse.gd +112 -0
  19. package/build/godot/addons/gdharness_runtime/runtime_mouse.gd.uid +1 -0
  20. package/build/godot/operations/file_reads.gd +237 -0
  21. package/build/godot/operations/gdscript_authoring.gd +136 -19
  22. package/build/godot/operations/godot_operations.gd +24 -0
  23. package/build/godot/operations/property_values.gd +767 -0
  24. package/build/godot/operations/rename_checks.gd +5 -2
  25. package/build/index.js +5437 -4469
  26. package/build/keeper.js +184 -71
  27. package/package.json +1 -1
@@ -67,14 +67,17 @@ static func _named(entries: Array[Dictionary], name: String) -> bool:
67
67
 
68
68
  # Whether each script compiles in a fresh engine, which reads the class cache as it starts and so
69
69
  # resolves every class the cache lists. The engine's reasons go to stderr and come back with the
70
- # answer.
70
+ # answer. It names the scripts it checked rather than counting them, since a caller told one was
71
+ # checked could not say which.
71
72
  func check_scripts(params: Dictionary) -> Dictionary:
72
73
  var paths: Array = params.get("paths", [])
74
+ var checked: Array[String] = []
73
75
  var failed: Array[String] = []
74
76
  for value: Variant in paths:
75
77
  var path: String = str(value)
78
+ checked.append(path)
76
79
  var script: Script = ResourceLoader.load(path, "Script", ResourceLoader.CACHE_MODE_IGNORE)
77
80
  if not GdscriptAuthoring._parses(script):
78
81
  _log.error("Does not compile: " + path)
79
82
  failed.append(path)
80
- return {"checked": paths.size(), "failed": failed}
83
+ return {"checked": checked, "failed": failed}