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.
Files changed (170) hide show
  1. {statable-3.3.0 → statable-3.4.3}/PKG-INFO +1 -1
  2. {statable-3.3.0 → statable-3.4.3}/codegen/__init__.py +1 -1
  3. {statable-3.3.0 → statable-3.4.3}/pyproject.toml +1 -1
  4. {statable-3.3.0 → statable-3.4.3}/statable/__init__.py +1 -1
  5. {statable-3.3.0 → statable-3.4.3}/statable/cli.py +10 -5
  6. {statable-3.3.0 → statable-3.4.3}/statable.egg-info/PKG-INFO +1 -1
  7. {statable-3.3.0 → statable-3.4.3}/statable.egg-info/SOURCES.txt +3 -1
  8. {statable-3.3.0 → statable-3.4.3}/statable_gui/matrix_table.py +421 -412
  9. statable-3.4.3/statable_gui/state_actions_dialog.py +891 -0
  10. {statable-3.3.0 → statable-3.4.3}/statable_gui/widgets.py +1322 -1314
  11. {statable-3.3.0 → statable-3.4.3}/tests/test_v2_2_p3.py +577 -577
  12. {statable-3.3.0 → statable-3.4.3}/tests/test_v2_2_p4a.py +691 -682
  13. {statable-3.3.0 → statable-3.4.3}/tests/test_v2_2_p4b.py +427 -427
  14. {statable-3.3.0 → statable-3.4.3}/tests/test_v2_3_p1.py +1 -1
  15. {statable-3.3.0 → statable-3.4.3}/tests/test_v2_5_p1.py +1 -1
  16. {statable-3.3.0 → statable-3.4.3}/tests/test_v2_5_p11.py +1 -1
  17. {statable-3.3.0 → statable-3.4.3}/tests/test_v2_5_p5.py +1 -1
  18. {statable-3.3.0 → statable-3.4.3}/tests/test_v2_5_p6.py +1 -1
  19. {statable-3.3.0 → statable-3.4.3}/tests/test_v2_5_p9.py +1 -1
  20. {statable-3.3.0 → statable-3.4.3}/tests/test_v2_6_p2.py +1 -1
  21. {statable-3.3.0 → statable-3.4.3}/tests/test_v2_6_p3.py +1 -1
  22. {statable-3.3.0 → statable-3.4.3}/tests/test_v2_7_p4.py +661 -645
  23. {statable-3.3.0 → statable-3.4.3}/tests/test_v2_8_p4_gui_integration.py +1 -1
  24. {statable-3.3.0 → statable-3.4.3}/tests/test_v3_2_s1_wizard.py +1 -1
  25. {statable-3.3.0 → statable-3.4.3}/tests/test_v3_2_s2_signals.py +1 -1
  26. statable-3.4.3/tests/test_v3_4_0_signal_safety.py +160 -0
  27. statable-3.4.3/tests/test_v3_4_0_state_actions.py +216 -0
  28. statable-3.3.0/statable_gui/state_actions_dialog.py +0 -398
  29. {statable-3.3.0 → statable-3.4.3}/README.md +0 -0
  30. {statable-3.3.0 → statable-3.4.3}/codegen/c_code_generator.py +0 -0
  31. {statable-3.3.0 → statable-3.4.3}/codegen/code_merger.py +0 -0
  32. {statable-3.3.0 → statable-3.4.3}/codegen/code_templates.py +0 -0
  33. {statable-3.3.0 → statable-3.4.3}/codegen/config.py +0 -0
  34. {statable-3.3.0 → statable-3.4.3}/codegen/enum_generator.py +0 -0
  35. {statable-3.3.0 → statable-3.4.3}/codegen/event_queue_generator.py +0 -0
  36. {statable-3.3.0 → statable-3.4.3}/codegen/interrupt_generator.py +0 -0
  37. {statable-3.3.0 → statable-3.4.3}/codegen/naming_convention.py +0 -0
  38. {statable-3.3.0 → statable-3.4.3}/codegen/osal_generator.py +0 -0
  39. {statable-3.3.0 → statable-3.4.3}/codegen/role_function_generator.py +0 -0
  40. {statable-3.3.0 → statable-3.4.3}/codegen/sample_data.py +0 -0
  41. {statable-3.3.0 → statable-3.4.3}/codegen/state_actions_generator.py +0 -0
  42. {statable-3.3.0 → statable-3.4.3}/codegen/struct_generator.py +0 -0
  43. {statable-3.3.0 → statable-3.4.3}/codegen/timer_generator.py +0 -0
  44. {statable-3.3.0 → statable-3.4.3}/codegen/transition_generator.py +0 -0
  45. {statable-3.3.0 → statable-3.4.3}/codegen/type_mapper.py +0 -0
  46. {statable-3.3.0 → statable-3.4.3}/codegen/validate/__init__.py +0 -0
  47. {statable-3.3.0 → statable-3.4.3}/codegen/validate/change_actions.py +0 -0
  48. {statable-3.3.0 → statable-3.4.3}/codegen/validate/change_applier.py +0 -0
  49. {statable-3.3.0 → statable-3.4.3}/codegen/validate/clipboard_manager.py +0 -0
  50. {statable-3.3.0 → statable-3.4.3}/codegen/validate/data/__init__.py +0 -0
  51. {statable-3.3.0 → statable-3.4.3}/codegen/validate/data/action_definitions.py +0 -0
  52. {statable-3.3.0 → statable-3.4.3}/codegen/validate/data/keywords.py +0 -0
  53. {statable-3.3.0 → statable-3.4.3}/codegen/validate/data/prompt_templates.py +0 -0
  54. {statable-3.3.0 → statable-3.4.3}/codegen/validate/data/validation_rules.py +0 -0
  55. {statable-3.3.0 → statable-3.4.3}/codegen/validate/items/__init__.py +0 -0
  56. {statable-3.3.0 → statable-3.4.3}/codegen/validate/items/base_validator.py +0 -0
  57. {statable-3.3.0 → statable-3.4.3}/codegen/validate/items/cell_validator.py +0 -0
  58. {statable-3.3.0 → statable-3.4.3}/codegen/validate/items/custom_type_validator.py +0 -0
  59. {statable-3.3.0 → statable-3.4.3}/codegen/validate/items/event_validator.py +0 -0
  60. {statable-3.3.0 → statable-3.4.3}/codegen/validate/items/flag_validator.py +0 -0
  61. {statable-3.3.0 → statable-3.4.3}/codegen/validate/items/interrupt_validator.py +0 -0
  62. {statable-3.3.0 → statable-3.4.3}/codegen/validate/items/queue_validator.py +0 -0
  63. {statable-3.3.0 → statable-3.4.3}/codegen/validate/items/role_function_validator.py +0 -0
  64. {statable-3.3.0 → statable-3.4.3}/codegen/validate/items/state_validator.py +0 -0
  65. {statable-3.3.0 → statable-3.4.3}/codegen/validate/items/timer_validator.py +0 -0
  66. {statable-3.3.0 → statable-3.4.3}/codegen/validate/items/transition_validator.py +0 -0
  67. {statable-3.3.0 → statable-3.4.3}/codegen/validate/items/variable_validator.py +0 -0
  68. {statable-3.3.0 → statable-3.4.3}/codegen/validate/logger.py +0 -0
  69. {statable-3.3.0 → statable-3.4.3}/codegen/validate/models.py +0 -0
  70. {statable-3.3.0 → statable-3.4.3}/codegen/validate/prompt_generator.py +0 -0
  71. {statable-3.3.0 → statable-3.4.3}/codegen/validate/response_parser.py +0 -0
  72. {statable-3.3.0 → statable-3.4.3}/codegen/validate/response_validator.py +0 -0
  73. {statable-3.3.0 → statable-3.4.3}/codegen/validate/validation_dialog.py +0 -0
  74. {statable-3.3.0 → statable-3.4.3}/codegen/validate/validator.py +0 -0
  75. {statable-3.3.0 → statable-3.4.3}/codegen/variable_generator.py +0 -0
  76. {statable-3.3.0 → statable-3.4.3}/setup.cfg +0 -0
  77. {statable-3.3.0 → statable-3.4.3}/statable/__main__.py +0 -0
  78. {statable-3.3.0 → statable-3.4.3}/statable/global_defs.py +0 -0
  79. {statable-3.3.0 → statable-3.4.3}/statable/mermaid_gen.py +0 -0
  80. {statable-3.3.0 → statable-3.4.3}/statable/model.py +0 -0
  81. {statable-3.3.0 → statable-3.4.3}/statable/parser.py +0 -0
  82. {statable-3.3.0 → statable-3.4.3}/statable/sample_data.py +0 -0
  83. {statable-3.3.0 → statable-3.4.3}/statable/shared/__init__.py +0 -0
  84. {statable-3.3.0 → statable-3.4.3}/statable/shared/condition_library.py +0 -0
  85. {statable-3.3.0 → statable-3.4.3}/statable/shared/literal_library.py +0 -0
  86. {statable-3.3.0 → statable-3.4.3}/statable/shared/role_function_library.py +0 -0
  87. {statable-3.3.0 → statable-3.4.3}/statable/state_machine.py +0 -0
  88. {statable-3.3.0 → statable-3.4.3}/statable/xml_io.py +0 -0
  89. {statable-3.3.0 → statable-3.4.3}/statable.egg-info/dependency_links.txt +0 -0
  90. {statable-3.3.0 → statable-3.4.3}/statable.egg-info/entry_points.txt +0 -0
  91. {statable-3.3.0 → statable-3.4.3}/statable.egg-info/requires.txt +0 -0
  92. {statable-3.3.0 → statable-3.4.3}/statable.egg-info/top_level.txt +0 -0
  93. {statable-3.3.0 → statable-3.4.3}/statable_gui/__init__.py +0 -0
  94. {statable-3.3.0 → statable-3.4.3}/statable_gui/action_edit_dialog.py +0 -0
  95. {statable-3.3.0 → statable-3.4.3}/statable_gui/code_generation_dialog.py +0 -0
  96. {statable-3.3.0 → statable-3.4.3}/statable_gui/code_generation_settings_dialog.py +0 -0
  97. {statable-3.3.0 → statable-3.4.3}/statable_gui/common_widgets.py +0 -0
  98. {statable-3.3.0 → statable-3.4.3}/statable_gui/condition_builder_dialog.py +0 -0
  99. {statable-3.3.0 → statable-3.4.3}/statable_gui/condition_edit_dialog.py +0 -0
  100. {statable-3.3.0 → statable-3.4.3}/statable_gui/condition_template_dialog.py +0 -0
  101. {statable-3.3.0 → statable-3.4.3}/statable_gui/config.py +0 -0
  102. {statable-3.3.0 → statable-3.4.3}/statable_gui/dialogs.py +0 -0
  103. {statable-3.3.0 → statable-3.4.3}/statable_gui/event_definition_dialog.py +0 -0
  104. {statable-3.3.0 → statable-3.4.3}/statable_gui/event_delivery_settings_dialog.py +0 -0
  105. {statable-3.3.0 → statable-3.4.3}/statable_gui/event_queue_dialog.py +0 -0
  106. {statable-3.3.0 → statable-3.4.3}/statable_gui/global_defs.py +0 -0
  107. {statable-3.3.0 → statable-3.4.3}/statable_gui/global_defs_dialog.py +0 -0
  108. {statable-3.3.0 → statable-3.4.3}/statable_gui/i18n/__init__.py +0 -0
  109. {statable-3.3.0 → statable-3.4.3}/statable_gui/interrupt_handler_edit_dialog.py +0 -0
  110. {statable-3.3.0 → statable-3.4.3}/statable_gui/layer_settings_dialog.py +0 -0
  111. {statable-3.3.0 → statable-3.4.3}/statable_gui/libcntrl/__init__.py +0 -0
  112. {statable-3.3.0 → statable-3.4.3}/statable_gui/libcntrl/condition_library.py +0 -0
  113. {statable-3.3.0 → statable-3.4.3}/statable_gui/libcntrl/literal_library.py +0 -0
  114. {statable-3.3.0 → statable-3.4.3}/statable_gui/libcntrl/literal_management_dialog.py +0 -0
  115. {statable-3.3.0 → statable-3.4.3}/statable_gui/libcntrl/role_function_edit_dialog.py +0 -0
  116. {statable-3.3.0 → statable-3.4.3}/statable_gui/libcntrl/role_function_library.py +0 -0
  117. {statable-3.3.0 → statable-3.4.3}/statable_gui/literal_definition_dialog.py +0 -0
  118. {statable-3.3.0 → statable-3.4.3}/statable_gui/logger.py +0 -0
  119. {statable-3.3.0 → statable-3.4.3}/statable_gui/main_window.py +0 -0
  120. {statable-3.3.0 → statable-3.4.3}/statable_gui/new_project_templates.py +0 -0
  121. {statable-3.3.0 → statable-3.4.3}/statable_gui/new_project_wizard.py +0 -0
  122. {statable-3.3.0 → statable-3.4.3}/statable_gui/preference_keys.py +0 -0
  123. {statable-3.3.0 → statable-3.4.3}/statable_gui/preferences.py +0 -0
  124. {statable-3.3.0 → statable-3.4.3}/statable_gui/role_function_dialog.py +0 -0
  125. {statable-3.3.0 → statable-3.4.3}/statable_gui/sample_data.py +0 -0
  126. {statable-3.3.0 → statable-3.4.3}/statable_gui/symbol_picker.py +0 -0
  127. {statable-3.3.0 → statable-3.4.3}/statable_gui/traceball.py +0 -0
  128. {statable-3.3.0 → statable-3.4.3}/statable_gui/transition_editor_direct/__init__.py +0 -0
  129. {statable-3.3.0 → statable-3.4.3}/statable_gui/transition_editor_direct/actions_tab.py +0 -0
  130. {statable-3.3.0 → statable-3.4.3}/statable_gui/transition_editor_direct/code_widget.py +0 -0
  131. {statable-3.3.0 → statable-3.4.3}/statable_gui/transition_editor_direct/coverage_analyzer.py +0 -0
  132. {statable-3.3.0 → statable-3.4.3}/statable_gui/transition_editor_direct/dialog.py +0 -0
  133. {statable-3.3.0 → statable-3.4.3}/statable_gui/transition_editor_direct/draft.py +0 -0
  134. {statable-3.3.0 → statable-3.4.3}/statable_gui/transition_editor_direct/edit_dialogs.py +0 -0
  135. {statable-3.3.0 → statable-3.4.3}/statable_gui/transition_editor_direct/overview_tab.py +0 -0
  136. {statable-3.3.0 → statable-3.4.3}/statable_gui/transition_editor_direct/palette_widget.py +0 -0
  137. {statable-3.3.0 → statable-3.4.3}/statable_gui/transition_editor_direct/relations_edit_dialog.py +0 -0
  138. {statable-3.3.0 → statable-3.4.3}/statable_gui/transition_editor_direct/relations_tab.py +0 -0
  139. {statable-3.3.0 → statable-3.4.3}/statable_gui/transition_editor_direct/system_global_dialog.py +0 -0
  140. {statable-3.3.0 → statable-3.4.3}/statable_gui/transition_editor_direct/transition_actions_dialog.py +0 -0
  141. {statable-3.3.0 → statable-3.4.3}/statable_gui/transition_editor_direct/transitions_tab.py +0 -0
  142. {statable-3.3.0 → statable-3.4.3}/statable_gui/validation_dialog.py +0 -0
  143. {statable-3.3.0 → statable-3.4.3}/tests/test_ci_registration.py +0 -0
  144. {statable-3.3.0 → statable-3.4.3}/tests/test_readme_consistency.py +0 -0
  145. {statable-3.3.0 → statable-3.4.3}/tests/test_v2_2_p1.py +0 -0
  146. {statable-3.3.0 → statable-3.4.3}/tests/test_v2_2_p12_10.py +0 -0
  147. {statable-3.3.0 → statable-3.4.3}/tests/test_v2_2_p12_2.py +0 -0
  148. {statable-3.3.0 → statable-3.4.3}/tests/test_v2_2_p12_5.py +0 -0
  149. {statable-3.3.0 → statable-3.4.3}/tests/test_v2_2_p12_6.py +0 -0
  150. {statable-3.3.0 → statable-3.4.3}/tests/test_v2_2_p12_7.py +0 -0
  151. {statable-3.3.0 → statable-3.4.3}/tests/test_v2_2_p12_8.py +0 -0
  152. {statable-3.3.0 → statable-3.4.3}/tests/test_v2_2_p12_9.py +0 -0
  153. {statable-3.3.0 → statable-3.4.3}/tests/test_v2_2_p2.py +0 -0
  154. {statable-3.3.0 → statable-3.4.3}/tests/test_v2_4_p1_merge.py +0 -0
  155. {statable-3.3.0 → statable-3.4.3}/tests/test_v2_5_p10.py +0 -0
  156. {statable-3.3.0 → statable-3.4.3}/tests/test_v2_5_p2.py +0 -0
  157. {statable-3.3.0 → statable-3.4.3}/tests/test_v2_5_p3.py +0 -0
  158. {statable-3.3.0 → statable-3.4.3}/tests/test_v2_5_p4.py +0 -0
  159. {statable-3.3.0 → statable-3.4.3}/tests/test_v2_5_p8.py +0 -0
  160. {statable-3.3.0 → statable-3.4.3}/tests/test_v2_6_p1.py +0 -0
  161. {statable-3.3.0 → statable-3.4.3}/tests/test_v2_7_p3.py +0 -0
  162. {statable-3.3.0 → statable-3.4.3}/tests/test_v2_7_p5_validation.py +0 -0
  163. {statable-3.3.0 → statable-3.4.3}/tests/test_v2_8_p1_ai_prompt.py +0 -0
  164. {statable-3.3.0 → statable-3.4.3}/tests/test_v2_8_p2_response_parser.py +0 -0
  165. {statable-3.3.0 → statable-3.4.3}/tests/test_v2_8_p3_response_validator.py +0 -0
  166. {statable-3.3.0 → statable-3.4.3}/tests/test_v3_0_g1_shared.py +0 -0
  167. {statable-3.3.0 → statable-3.4.3}/tests/test_v3_0_s1_packaging.py +0 -0
  168. {statable-3.3.0 → statable-3.4.3}/tests/test_v3_0_s2_public_api.py +0 -0
  169. {statable-3.3.0 → statable-3.4.3}/tests/test_v3_0_s3_cli.py +0 -0
  170. {statable-3.3.0 → statable-3.4.3}/tests/test_v3_0_s4_docs.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: statable
3
- Version: 3.3.0
3
+ Version: 3.4.3
4
4
  Summary: MISRA C:2012-aware state machine design and C code generation for embedded systems
5
5
  Author: Hideki Akashi
6
6
  License-Expression: Apache-2.0
@@ -8,7 +8,7 @@ StaTable code generation layer
8
8
  so it is not re-exported at top level (to reduce startup time)
9
9
  """
10
10
 
11
- __version__ = "3.3.0"
11
+ __version__ = "3.4.3"
12
12
 
13
13
  __all__ = [
14
14
  'CCodeGenerator',
@@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta"
6
6
 
7
7
  [project]
8
8
  name = "statable"
9
- version = "3.3.0"
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"
@@ -40,7 +40,7 @@ from .global_defs import (
40
40
  StructMemberDef,
41
41
  )
42
42
 
43
- __version__ = "3.3.0"
43
+ __version__ = "3.4.3"
44
44
 
45
45
  __all__ = [
46
46
  # model
@@ -27,11 +27,16 @@ import json
27
27
  import sys
28
28
  from pathlib import Path
29
29
 
30
- try:
31
- from statable import __version__ as _pkg_version
32
- CLI_VERSION = _pkg_version
33
- except Exception:
34
- CLI_VERSION = "0.0.0"
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:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: statable
3
- Version: 3.3.0
3
+ Version: 3.4.3
4
4
  Summary: MISRA C:2012-aware state machine design and C code generation for embedded systems
5
5
  Author: Hideki Akashi
6
6
  License-Expression: Apache-2.0
@@ -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