statable 3.5.1__tar.gz → 3.5.2__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 (176) hide show
  1. {statable-3.5.1 → statable-3.5.2}/PKG-INFO +1 -1
  2. {statable-3.5.1 → statable-3.5.2}/codegen/__init__.py +1 -1
  3. {statable-3.5.1 → statable-3.5.2}/codegen/c_code_generator.py +1 -1
  4. {statable-3.5.1 → statable-3.5.2}/codegen/enum_generator.py +376 -376
  5. {statable-3.5.1 → statable-3.5.2}/codegen/naming_convention.py +171 -170
  6. {statable-3.5.1 → statable-3.5.2}/codegen/transition_generator.py +906 -906
  7. {statable-3.5.1 → statable-3.5.2}/codegen/validate/data/action_definitions.py +3 -1
  8. {statable-3.5.1 → statable-3.5.2}/codegen/validate/data/keywords.py +3 -1
  9. {statable-3.5.1 → statable-3.5.2}/codegen/validate/logger.py +3 -1
  10. {statable-3.5.1 → statable-3.5.2}/codegen/validate/validation_dialog.py +321 -321
  11. {statable-3.5.1 → statable-3.5.2}/codegen/variable_generator.py +418 -418
  12. {statable-3.5.1 → statable-3.5.2}/pyproject.toml +9 -1
  13. {statable-3.5.1 → statable-3.5.2}/statable/__init__.py +1 -1
  14. {statable-3.5.1 → statable-3.5.2}/statable/model.py +7 -5
  15. {statable-3.5.1 → statable-3.5.2}/statable/shared/condition_library.py +3 -1
  16. {statable-3.5.1 → statable-3.5.2}/statable/shared/literal_library.py +3 -1
  17. {statable-3.5.1 → statable-3.5.2}/statable/xml_io.py +1175 -1163
  18. {statable-3.5.1 → statable-3.5.2}/statable.egg-info/PKG-INFO +1 -1
  19. {statable-3.5.1 → statable-3.5.2}/README.md +0 -0
  20. {statable-3.5.1 → statable-3.5.2}/codegen/code_merger.py +0 -0
  21. {statable-3.5.1 → statable-3.5.2}/codegen/code_templates.py +0 -0
  22. {statable-3.5.1 → statable-3.5.2}/codegen/config.py +0 -0
  23. {statable-3.5.1 → statable-3.5.2}/codegen/event_queue_generator.py +0 -0
  24. {statable-3.5.1 → statable-3.5.2}/codegen/interrupt_generator.py +0 -0
  25. {statable-3.5.1 → statable-3.5.2}/codegen/osal_generator.py +0 -0
  26. {statable-3.5.1 → statable-3.5.2}/codegen/role_function_generator.py +0 -0
  27. {statable-3.5.1 → statable-3.5.2}/codegen/sample_data.py +0 -0
  28. {statable-3.5.1 → statable-3.5.2}/codegen/state_actions_generator.py +0 -0
  29. {statable-3.5.1 → statable-3.5.2}/codegen/struct_generator.py +0 -0
  30. {statable-3.5.1 → statable-3.5.2}/codegen/timer_generator.py +0 -0
  31. {statable-3.5.1 → statable-3.5.2}/codegen/type_mapper.py +0 -0
  32. {statable-3.5.1 → statable-3.5.2}/codegen/validate/__init__.py +0 -0
  33. {statable-3.5.1 → statable-3.5.2}/codegen/validate/change_actions.py +0 -0
  34. {statable-3.5.1 → statable-3.5.2}/codegen/validate/change_applier.py +0 -0
  35. {statable-3.5.1 → statable-3.5.2}/codegen/validate/clipboard_manager.py +0 -0
  36. {statable-3.5.1 → statable-3.5.2}/codegen/validate/data/__init__.py +0 -0
  37. {statable-3.5.1 → statable-3.5.2}/codegen/validate/data/prompt_templates.py +0 -0
  38. {statable-3.5.1 → statable-3.5.2}/codegen/validate/data/validation_rules.py +0 -0
  39. {statable-3.5.1 → statable-3.5.2}/codegen/validate/items/__init__.py +0 -0
  40. {statable-3.5.1 → statable-3.5.2}/codegen/validate/items/base_validator.py +0 -0
  41. {statable-3.5.1 → statable-3.5.2}/codegen/validate/items/cell_validator.py +0 -0
  42. {statable-3.5.1 → statable-3.5.2}/codegen/validate/items/custom_type_validator.py +0 -0
  43. {statable-3.5.1 → statable-3.5.2}/codegen/validate/items/event_validator.py +0 -0
  44. {statable-3.5.1 → statable-3.5.2}/codegen/validate/items/flag_validator.py +0 -0
  45. {statable-3.5.1 → statable-3.5.2}/codegen/validate/items/interrupt_validator.py +0 -0
  46. {statable-3.5.1 → statable-3.5.2}/codegen/validate/items/queue_validator.py +0 -0
  47. {statable-3.5.1 → statable-3.5.2}/codegen/validate/items/role_function_validator.py +0 -0
  48. {statable-3.5.1 → statable-3.5.2}/codegen/validate/items/state_validator.py +0 -0
  49. {statable-3.5.1 → statable-3.5.2}/codegen/validate/items/timer_validator.py +0 -0
  50. {statable-3.5.1 → statable-3.5.2}/codegen/validate/items/transition_validator.py +0 -0
  51. {statable-3.5.1 → statable-3.5.2}/codegen/validate/items/variable_validator.py +0 -0
  52. {statable-3.5.1 → statable-3.5.2}/codegen/validate/models.py +0 -0
  53. {statable-3.5.1 → statable-3.5.2}/codegen/validate/prompt_generator.py +0 -0
  54. {statable-3.5.1 → statable-3.5.2}/codegen/validate/response_parser.py +0 -0
  55. {statable-3.5.1 → statable-3.5.2}/codegen/validate/response_validator.py +0 -0
  56. {statable-3.5.1 → statable-3.5.2}/codegen/validate/validator.py +0 -0
  57. {statable-3.5.1 → statable-3.5.2}/setup.cfg +0 -0
  58. {statable-3.5.1 → statable-3.5.2}/statable/__main__.py +0 -0
  59. {statable-3.5.1 → statable-3.5.2}/statable/cli.py +0 -0
  60. {statable-3.5.1 → statable-3.5.2}/statable/global_defs.py +0 -0
  61. {statable-3.5.1 → statable-3.5.2}/statable/mermaid_gen.py +0 -0
  62. {statable-3.5.1 → statable-3.5.2}/statable/output_utils.py +0 -0
  63. {statable-3.5.1 → statable-3.5.2}/statable/parser.py +0 -0
  64. {statable-3.5.1 → statable-3.5.2}/statable/sample_data.py +0 -0
  65. {statable-3.5.1 → statable-3.5.2}/statable/shared/__init__.py +0 -0
  66. {statable-3.5.1 → statable-3.5.2}/statable/shared/role_function_library.py +0 -0
  67. {statable-3.5.1 → statable-3.5.2}/statable/smoke.py +0 -0
  68. {statable-3.5.1 → statable-3.5.2}/statable/state_machine.py +0 -0
  69. {statable-3.5.1 → statable-3.5.2}/statable.egg-info/SOURCES.txt +0 -0
  70. {statable-3.5.1 → statable-3.5.2}/statable.egg-info/dependency_links.txt +0 -0
  71. {statable-3.5.1 → statable-3.5.2}/statable.egg-info/entry_points.txt +0 -0
  72. {statable-3.5.1 → statable-3.5.2}/statable.egg-info/requires.txt +0 -0
  73. {statable-3.5.1 → statable-3.5.2}/statable.egg-info/top_level.txt +0 -0
  74. {statable-3.5.1 → statable-3.5.2}/statable_gui/__init__.py +0 -0
  75. {statable-3.5.1 → statable-3.5.2}/statable_gui/action_edit_dialog.py +0 -0
  76. {statable-3.5.1 → statable-3.5.2}/statable_gui/code_generation_dialog.py +0 -0
  77. {statable-3.5.1 → statable-3.5.2}/statable_gui/code_generation_settings_dialog.py +0 -0
  78. {statable-3.5.1 → statable-3.5.2}/statable_gui/common_widgets.py +0 -0
  79. {statable-3.5.1 → statable-3.5.2}/statable_gui/condition_builder_dialog.py +0 -0
  80. {statable-3.5.1 → statable-3.5.2}/statable_gui/condition_edit_dialog.py +0 -0
  81. {statable-3.5.1 → statable-3.5.2}/statable_gui/condition_template_dialog.py +0 -0
  82. {statable-3.5.1 → statable-3.5.2}/statable_gui/config.py +0 -0
  83. {statable-3.5.1 → statable-3.5.2}/statable_gui/dialogs.py +0 -0
  84. {statable-3.5.1 → statable-3.5.2}/statable_gui/event_definition_dialog.py +0 -0
  85. {statable-3.5.1 → statable-3.5.2}/statable_gui/event_delivery_settings_dialog.py +0 -0
  86. {statable-3.5.1 → statable-3.5.2}/statable_gui/event_queue_dialog.py +0 -0
  87. {statable-3.5.1 → statable-3.5.2}/statable_gui/fs_cleanup.py +0 -0
  88. {statable-3.5.1 → statable-3.5.2}/statable_gui/global_defs.py +0 -0
  89. {statable-3.5.1 → statable-3.5.2}/statable_gui/global_defs_dialog.py +0 -0
  90. {statable-3.5.1 → statable-3.5.2}/statable_gui/i18n/__init__.py +0 -0
  91. {statable-3.5.1 → statable-3.5.2}/statable_gui/interrupt_handler_edit_dialog.py +0 -0
  92. {statable-3.5.1 → statable-3.5.2}/statable_gui/layer_settings_dialog.py +0 -0
  93. {statable-3.5.1 → statable-3.5.2}/statable_gui/libcntrl/__init__.py +0 -0
  94. {statable-3.5.1 → statable-3.5.2}/statable_gui/libcntrl/condition_library.py +0 -0
  95. {statable-3.5.1 → statable-3.5.2}/statable_gui/libcntrl/literal_library.py +0 -0
  96. {statable-3.5.1 → statable-3.5.2}/statable_gui/libcntrl/literal_management_dialog.py +0 -0
  97. {statable-3.5.1 → statable-3.5.2}/statable_gui/libcntrl/role_function_edit_dialog.py +0 -0
  98. {statable-3.5.1 → statable-3.5.2}/statable_gui/libcntrl/role_function_library.py +0 -0
  99. {statable-3.5.1 → statable-3.5.2}/statable_gui/literal_definition_dialog.py +0 -0
  100. {statable-3.5.1 → statable-3.5.2}/statable_gui/logger.py +0 -0
  101. {statable-3.5.1 → statable-3.5.2}/statable_gui/main_window.py +0 -0
  102. {statable-3.5.1 → statable-3.5.2}/statable_gui/matrix_table.py +0 -0
  103. {statable-3.5.1 → statable-3.5.2}/statable_gui/new_project_templates.py +0 -0
  104. {statable-3.5.1 → statable-3.5.2}/statable_gui/new_project_wizard.py +0 -0
  105. {statable-3.5.1 → statable-3.5.2}/statable_gui/output_warning.py +0 -0
  106. {statable-3.5.1 → statable-3.5.2}/statable_gui/preference_keys.py +0 -0
  107. {statable-3.5.1 → statable-3.5.2}/statable_gui/preferences.py +0 -0
  108. {statable-3.5.1 → statable-3.5.2}/statable_gui/role_function_dialog.py +0 -0
  109. {statable-3.5.1 → statable-3.5.2}/statable_gui/sample_data.py +0 -0
  110. {statable-3.5.1 → statable-3.5.2}/statable_gui/state_actions_dialog.py +0 -0
  111. {statable-3.5.1 → statable-3.5.2}/statable_gui/symbol_picker.py +0 -0
  112. {statable-3.5.1 → statable-3.5.2}/statable_gui/traceball.py +0 -0
  113. {statable-3.5.1 → statable-3.5.2}/statable_gui/transition_editor_direct/__init__.py +0 -0
  114. {statable-3.5.1 → statable-3.5.2}/statable_gui/transition_editor_direct/actions_tab.py +0 -0
  115. {statable-3.5.1 → statable-3.5.2}/statable_gui/transition_editor_direct/code_widget.py +0 -0
  116. {statable-3.5.1 → statable-3.5.2}/statable_gui/transition_editor_direct/coverage_analyzer.py +0 -0
  117. {statable-3.5.1 → statable-3.5.2}/statable_gui/transition_editor_direct/dialog.py +0 -0
  118. {statable-3.5.1 → statable-3.5.2}/statable_gui/transition_editor_direct/draft.py +0 -0
  119. {statable-3.5.1 → statable-3.5.2}/statable_gui/transition_editor_direct/edit_dialogs.py +0 -0
  120. {statable-3.5.1 → statable-3.5.2}/statable_gui/transition_editor_direct/overview_tab.py +0 -0
  121. {statable-3.5.1 → statable-3.5.2}/statable_gui/transition_editor_direct/palette_widget.py +0 -0
  122. {statable-3.5.1 → statable-3.5.2}/statable_gui/transition_editor_direct/relations_edit_dialog.py +0 -0
  123. {statable-3.5.1 → statable-3.5.2}/statable_gui/transition_editor_direct/relations_tab.py +0 -0
  124. {statable-3.5.1 → statable-3.5.2}/statable_gui/transition_editor_direct/system_global_dialog.py +0 -0
  125. {statable-3.5.1 → statable-3.5.2}/statable_gui/transition_editor_direct/transition_actions_dialog.py +0 -0
  126. {statable-3.5.1 → statable-3.5.2}/statable_gui/transition_editor_direct/transitions_tab.py +0 -0
  127. {statable-3.5.1 → statable-3.5.2}/statable_gui/validation_dialog.py +0 -0
  128. {statable-3.5.1 → statable-3.5.2}/statable_gui/widgets.py +0 -0
  129. {statable-3.5.1 → statable-3.5.2}/tests/test_ci_registration.py +0 -0
  130. {statable-3.5.1 → statable-3.5.2}/tests/test_readme_consistency.py +0 -0
  131. {statable-3.5.1 → statable-3.5.2}/tests/test_v2_2_p1.py +0 -0
  132. {statable-3.5.1 → statable-3.5.2}/tests/test_v2_2_p12_10.py +0 -0
  133. {statable-3.5.1 → statable-3.5.2}/tests/test_v2_2_p12_2.py +0 -0
  134. {statable-3.5.1 → statable-3.5.2}/tests/test_v2_2_p12_5.py +0 -0
  135. {statable-3.5.1 → statable-3.5.2}/tests/test_v2_2_p12_6.py +0 -0
  136. {statable-3.5.1 → statable-3.5.2}/tests/test_v2_2_p12_7.py +0 -0
  137. {statable-3.5.1 → statable-3.5.2}/tests/test_v2_2_p12_8.py +0 -0
  138. {statable-3.5.1 → statable-3.5.2}/tests/test_v2_2_p12_9.py +0 -0
  139. {statable-3.5.1 → statable-3.5.2}/tests/test_v2_2_p2.py +0 -0
  140. {statable-3.5.1 → statable-3.5.2}/tests/test_v2_2_p3.py +0 -0
  141. {statable-3.5.1 → statable-3.5.2}/tests/test_v2_2_p4a.py +0 -0
  142. {statable-3.5.1 → statable-3.5.2}/tests/test_v2_2_p4b.py +0 -0
  143. {statable-3.5.1 → statable-3.5.2}/tests/test_v2_3_p1.py +0 -0
  144. {statable-3.5.1 → statable-3.5.2}/tests/test_v2_4_p1_merge.py +0 -0
  145. {statable-3.5.1 → statable-3.5.2}/tests/test_v2_5_p1.py +0 -0
  146. {statable-3.5.1 → statable-3.5.2}/tests/test_v2_5_p10.py +0 -0
  147. {statable-3.5.1 → statable-3.5.2}/tests/test_v2_5_p11.py +0 -0
  148. {statable-3.5.1 → statable-3.5.2}/tests/test_v2_5_p2.py +0 -0
  149. {statable-3.5.1 → statable-3.5.2}/tests/test_v2_5_p3.py +0 -0
  150. {statable-3.5.1 → statable-3.5.2}/tests/test_v2_5_p4.py +0 -0
  151. {statable-3.5.1 → statable-3.5.2}/tests/test_v2_5_p5.py +0 -0
  152. {statable-3.5.1 → statable-3.5.2}/tests/test_v2_5_p6.py +0 -0
  153. {statable-3.5.1 → statable-3.5.2}/tests/test_v2_5_p8.py +0 -0
  154. {statable-3.5.1 → statable-3.5.2}/tests/test_v2_5_p9.py +0 -0
  155. {statable-3.5.1 → statable-3.5.2}/tests/test_v2_6_p1.py +0 -0
  156. {statable-3.5.1 → statable-3.5.2}/tests/test_v2_6_p2.py +0 -0
  157. {statable-3.5.1 → statable-3.5.2}/tests/test_v2_6_p3.py +0 -0
  158. {statable-3.5.1 → statable-3.5.2}/tests/test_v2_7_p3.py +0 -0
  159. {statable-3.5.1 → statable-3.5.2}/tests/test_v2_7_p4.py +0 -0
  160. {statable-3.5.1 → statable-3.5.2}/tests/test_v2_7_p5_validation.py +0 -0
  161. {statable-3.5.1 → statable-3.5.2}/tests/test_v2_8_p1_ai_prompt.py +0 -0
  162. {statable-3.5.1 → statable-3.5.2}/tests/test_v2_8_p2_response_parser.py +0 -0
  163. {statable-3.5.1 → statable-3.5.2}/tests/test_v2_8_p3_response_validator.py +0 -0
  164. {statable-3.5.1 → statable-3.5.2}/tests/test_v2_8_p4_gui_integration.py +0 -0
  165. {statable-3.5.1 → statable-3.5.2}/tests/test_v3_0_g1_shared.py +0 -0
  166. {statable-3.5.1 → statable-3.5.2}/tests/test_v3_0_s1_packaging.py +0 -0
  167. {statable-3.5.1 → statable-3.5.2}/tests/test_v3_0_s2_public_api.py +0 -0
  168. {statable-3.5.1 → statable-3.5.2}/tests/test_v3_0_s3_cli.py +0 -0
  169. {statable-3.5.1 → statable-3.5.2}/tests/test_v3_0_s4_docs.py +0 -0
  170. {statable-3.5.1 → statable-3.5.2}/tests/test_v3_2_s1_wizard.py +0 -0
  171. {statable-3.5.1 → statable-3.5.2}/tests/test_v3_2_s2_signals.py +0 -0
  172. {statable-3.5.1 → statable-3.5.2}/tests/test_v3_4_0_signal_safety.py +0 -0
  173. {statable-3.5.1 → statable-3.5.2}/tests/test_v3_4_0_state_actions.py +0 -0
  174. {statable-3.5.1 → statable-3.5.2}/tests/test_v3_5_1_eclipse_installer.py +0 -0
  175. {statable-3.5.1 → statable-3.5.2}/tests/test_v3_5_gui_output_clean.py +0 -0
  176. {statable-3.5.1 → statable-3.5.2}/tests/test_v3_5_s1_smoke.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: statable
3
- Version: 3.5.1
3
+ Version: 3.5.2
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.5.1"
11
+ __version__ = "3.5.2"
12
12
 
13
13
  __all__ = [
14
14
  'CCodeGenerator',
@@ -952,7 +952,7 @@ class CCodeGenerator:
952
952
  enum_code = self.enum_gen.generate_all_enums(
953
953
  self._get_states_list(sm),
954
954
  self._get_events_list(sm),
955
- None,
955
+ [],
956
956
  )
957
957
  if enum_code:
958
958
  results.append(enum_code)