statable 3.3.0__tar.gz → 3.4.3__tar.gz
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.
- {statable-3.3.0 → statable-3.4.3}/PKG-INFO +1 -1
- {statable-3.3.0 → statable-3.4.3}/codegen/__init__.py +1 -1
- {statable-3.3.0 → statable-3.4.3}/pyproject.toml +1 -1
- {statable-3.3.0 → statable-3.4.3}/statable/__init__.py +1 -1
- {statable-3.3.0 → statable-3.4.3}/statable/cli.py +10 -5
- {statable-3.3.0 → statable-3.4.3}/statable.egg-info/PKG-INFO +1 -1
- {statable-3.3.0 → statable-3.4.3}/statable.egg-info/SOURCES.txt +3 -1
- {statable-3.3.0 → statable-3.4.3}/statable_gui/matrix_table.py +421 -412
- statable-3.4.3/statable_gui/state_actions_dialog.py +891 -0
- {statable-3.3.0 → statable-3.4.3}/statable_gui/widgets.py +1322 -1314
- {statable-3.3.0 → statable-3.4.3}/tests/test_v2_2_p3.py +577 -577
- {statable-3.3.0 → statable-3.4.3}/tests/test_v2_2_p4a.py +691 -682
- {statable-3.3.0 → statable-3.4.3}/tests/test_v2_2_p4b.py +427 -427
- {statable-3.3.0 → statable-3.4.3}/tests/test_v2_3_p1.py +1 -1
- {statable-3.3.0 → statable-3.4.3}/tests/test_v2_5_p1.py +1 -1
- {statable-3.3.0 → statable-3.4.3}/tests/test_v2_5_p11.py +1 -1
- {statable-3.3.0 → statable-3.4.3}/tests/test_v2_5_p5.py +1 -1
- {statable-3.3.0 → statable-3.4.3}/tests/test_v2_5_p6.py +1 -1
- {statable-3.3.0 → statable-3.4.3}/tests/test_v2_5_p9.py +1 -1
- {statable-3.3.0 → statable-3.4.3}/tests/test_v2_6_p2.py +1 -1
- {statable-3.3.0 → statable-3.4.3}/tests/test_v2_6_p3.py +1 -1
- {statable-3.3.0 → statable-3.4.3}/tests/test_v2_7_p4.py +661 -645
- {statable-3.3.0 → statable-3.4.3}/tests/test_v2_8_p4_gui_integration.py +1 -1
- {statable-3.3.0 → statable-3.4.3}/tests/test_v3_2_s1_wizard.py +1 -1
- {statable-3.3.0 → statable-3.4.3}/tests/test_v3_2_s2_signals.py +1 -1
- statable-3.4.3/tests/test_v3_4_0_signal_safety.py +160 -0
- statable-3.4.3/tests/test_v3_4_0_state_actions.py +216 -0
- statable-3.3.0/statable_gui/state_actions_dialog.py +0 -398
- {statable-3.3.0 → statable-3.4.3}/README.md +0 -0
- {statable-3.3.0 → statable-3.4.3}/codegen/c_code_generator.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/codegen/code_merger.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/codegen/code_templates.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/codegen/config.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/codegen/enum_generator.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/codegen/event_queue_generator.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/codegen/interrupt_generator.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/codegen/naming_convention.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/codegen/osal_generator.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/codegen/role_function_generator.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/codegen/sample_data.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/codegen/state_actions_generator.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/codegen/struct_generator.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/codegen/timer_generator.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/codegen/transition_generator.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/codegen/type_mapper.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/codegen/validate/__init__.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/codegen/validate/change_actions.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/codegen/validate/change_applier.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/codegen/validate/clipboard_manager.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/codegen/validate/data/__init__.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/codegen/validate/data/action_definitions.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/codegen/validate/data/keywords.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/codegen/validate/data/prompt_templates.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/codegen/validate/data/validation_rules.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/codegen/validate/items/__init__.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/codegen/validate/items/base_validator.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/codegen/validate/items/cell_validator.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/codegen/validate/items/custom_type_validator.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/codegen/validate/items/event_validator.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/codegen/validate/items/flag_validator.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/codegen/validate/items/interrupt_validator.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/codegen/validate/items/queue_validator.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/codegen/validate/items/role_function_validator.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/codegen/validate/items/state_validator.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/codegen/validate/items/timer_validator.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/codegen/validate/items/transition_validator.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/codegen/validate/items/variable_validator.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/codegen/validate/logger.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/codegen/validate/models.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/codegen/validate/prompt_generator.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/codegen/validate/response_parser.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/codegen/validate/response_validator.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/codegen/validate/validation_dialog.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/codegen/validate/validator.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/codegen/variable_generator.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/setup.cfg +0 -0
- {statable-3.3.0 → statable-3.4.3}/statable/__main__.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/statable/global_defs.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/statable/mermaid_gen.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/statable/model.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/statable/parser.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/statable/sample_data.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/statable/shared/__init__.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/statable/shared/condition_library.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/statable/shared/literal_library.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/statable/shared/role_function_library.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/statable/state_machine.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/statable/xml_io.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/statable.egg-info/dependency_links.txt +0 -0
- {statable-3.3.0 → statable-3.4.3}/statable.egg-info/entry_points.txt +0 -0
- {statable-3.3.0 → statable-3.4.3}/statable.egg-info/requires.txt +0 -0
- {statable-3.3.0 → statable-3.4.3}/statable.egg-info/top_level.txt +0 -0
- {statable-3.3.0 → statable-3.4.3}/statable_gui/__init__.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/statable_gui/action_edit_dialog.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/statable_gui/code_generation_dialog.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/statable_gui/code_generation_settings_dialog.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/statable_gui/common_widgets.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/statable_gui/condition_builder_dialog.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/statable_gui/condition_edit_dialog.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/statable_gui/condition_template_dialog.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/statable_gui/config.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/statable_gui/dialogs.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/statable_gui/event_definition_dialog.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/statable_gui/event_delivery_settings_dialog.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/statable_gui/event_queue_dialog.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/statable_gui/global_defs.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/statable_gui/global_defs_dialog.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/statable_gui/i18n/__init__.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/statable_gui/interrupt_handler_edit_dialog.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/statable_gui/layer_settings_dialog.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/statable_gui/libcntrl/__init__.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/statable_gui/libcntrl/condition_library.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/statable_gui/libcntrl/literal_library.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/statable_gui/libcntrl/literal_management_dialog.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/statable_gui/libcntrl/role_function_edit_dialog.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/statable_gui/libcntrl/role_function_library.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/statable_gui/literal_definition_dialog.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/statable_gui/logger.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/statable_gui/main_window.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/statable_gui/new_project_templates.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/statable_gui/new_project_wizard.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/statable_gui/preference_keys.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/statable_gui/preferences.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/statable_gui/role_function_dialog.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/statable_gui/sample_data.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/statable_gui/symbol_picker.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/statable_gui/traceball.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/statable_gui/transition_editor_direct/__init__.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/statable_gui/transition_editor_direct/actions_tab.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/statable_gui/transition_editor_direct/code_widget.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/statable_gui/transition_editor_direct/coverage_analyzer.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/statable_gui/transition_editor_direct/dialog.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/statable_gui/transition_editor_direct/draft.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/statable_gui/transition_editor_direct/edit_dialogs.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/statable_gui/transition_editor_direct/overview_tab.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/statable_gui/transition_editor_direct/palette_widget.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/statable_gui/transition_editor_direct/relations_edit_dialog.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/statable_gui/transition_editor_direct/relations_tab.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/statable_gui/transition_editor_direct/system_global_dialog.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/statable_gui/transition_editor_direct/transition_actions_dialog.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/statable_gui/transition_editor_direct/transitions_tab.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/statable_gui/validation_dialog.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/tests/test_ci_registration.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/tests/test_readme_consistency.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/tests/test_v2_2_p1.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/tests/test_v2_2_p12_10.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/tests/test_v2_2_p12_2.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/tests/test_v2_2_p12_5.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/tests/test_v2_2_p12_6.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/tests/test_v2_2_p12_7.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/tests/test_v2_2_p12_8.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/tests/test_v2_2_p12_9.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/tests/test_v2_2_p2.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/tests/test_v2_4_p1_merge.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/tests/test_v2_5_p10.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/tests/test_v2_5_p2.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/tests/test_v2_5_p3.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/tests/test_v2_5_p4.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/tests/test_v2_5_p8.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/tests/test_v2_6_p1.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/tests/test_v2_7_p3.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/tests/test_v2_7_p5_validation.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/tests/test_v2_8_p1_ai_prompt.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/tests/test_v2_8_p2_response_parser.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/tests/test_v2_8_p3_response_validator.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/tests/test_v3_0_g1_shared.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/tests/test_v3_0_s1_packaging.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/tests/test_v3_0_s2_public_api.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/tests/test_v3_0_s3_cli.py +0 -0
- {statable-3.3.0 → statable-3.4.3}/tests/test_v3_0_s4_docs.py +0 -0
|
@@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta"
|
|
|
6
6
|
|
|
7
7
|
[project]
|
|
8
8
|
name = "statable"
|
|
9
|
-
version = "3.3
|
|
9
|
+
version = "3.4.3"
|
|
10
10
|
description = "MISRA C:2012-aware state machine design and C code generation for embedded systems"
|
|
11
11
|
readme = "README.md"
|
|
12
12
|
requires-python = ">=3.10"
|
|
@@ -27,11 +27,16 @@ import json
|
|
|
27
27
|
import sys
|
|
28
28
|
from pathlib import Path
|
|
29
29
|
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
30
|
+
def _resolve_cli_version() -> str:
|
|
31
|
+
"""Resolve CLI version dynamically from statable.__version__."""
|
|
32
|
+
try:
|
|
33
|
+
from statable import __version__ as _pkg_version
|
|
34
|
+
return _pkg_version
|
|
35
|
+
except Exception:
|
|
36
|
+
return "0.0.0"
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
CLI_VERSION = _resolve_cli_version()
|
|
35
40
|
|
|
36
41
|
|
|
37
42
|
def _err(msg: str) -> None:
|
|
@@ -162,4 +162,6 @@ tests/test_v3_0_s2_public_api.py
|
|
|
162
162
|
tests/test_v3_0_s3_cli.py
|
|
163
163
|
tests/test_v3_0_s4_docs.py
|
|
164
164
|
tests/test_v3_2_s1_wizard.py
|
|
165
|
-
tests/test_v3_2_s2_signals.py
|
|
165
|
+
tests/test_v3_2_s2_signals.py
|
|
166
|
+
tests/test_v3_4_0_signal_safety.py
|
|
167
|
+
tests/test_v3_4_0_state_actions.py
|