blueprint-compiler 0.20.4__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 (520) hide show
  1. blueprint_compiler-0.20.4/.coveragerc +6 -0
  2. blueprint_compiler-0.20.4/.gitignore +16 -0
  3. blueprint_compiler-0.20.4/.gitlab-ci.yml +71 -0
  4. blueprint_compiler-0.20.4/CONTRIBUTING.md +28 -0
  5. blueprint_compiler-0.20.4/COPYING +165 -0
  6. blueprint_compiler-0.20.4/MAINTENANCE.md +19 -0
  7. blueprint_compiler-0.20.4/NEWS.md +341 -0
  8. blueprint_compiler-0.20.4/PKG-INFO +286 -0
  9. blueprint_compiler-0.20.4/README.md +112 -0
  10. blueprint_compiler-0.20.4/blueprint-compiler.doap +27 -0
  11. blueprint_compiler-0.20.4/blueprint-compiler.py +43 -0
  12. blueprint_compiler-0.20.4/blueprintcompiler/__init__.py +0 -0
  13. blueprint_compiler-0.20.4/blueprintcompiler/annotations.py +224 -0
  14. blueprint_compiler-0.20.4/blueprintcompiler/ast_utils.py +359 -0
  15. blueprint_compiler-0.20.4/blueprintcompiler/completions.py +456 -0
  16. blueprint_compiler-0.20.4/blueprintcompiler/completions_utils.py +123 -0
  17. blueprint_compiler-0.20.4/blueprintcompiler/data/collect_stats.py +99 -0
  18. blueprint_compiler-0.20.4/blueprintcompiler/data/stats.json +669 -0
  19. blueprint_compiler-0.20.4/blueprintcompiler/decompiler.py +491 -0
  20. blueprint_compiler-0.20.4/blueprintcompiler/errors.py +244 -0
  21. blueprint_compiler-0.20.4/blueprintcompiler/formatter.py +372 -0
  22. blueprint_compiler-0.20.4/blueprintcompiler/gir.py +1048 -0
  23. blueprint_compiler-0.20.4/blueprintcompiler/interactive_port.py +332 -0
  24. blueprint_compiler-0.20.4/blueprintcompiler/language/__init__.py +82 -0
  25. blueprint_compiler-0.20.4/blueprintcompiler/language/adw_breakpoint.py +254 -0
  26. blueprint_compiler-0.20.4/blueprintcompiler/language/adw_response_dialog.py +198 -0
  27. blueprint_compiler-0.20.4/blueprintcompiler/language/binding.py +138 -0
  28. blueprint_compiler-0.20.4/blueprintcompiler/language/common.py +63 -0
  29. blueprint_compiler-0.20.4/blueprintcompiler/language/contexts.py +89 -0
  30. blueprint_compiler-0.20.4/blueprintcompiler/language/expression.py +534 -0
  31. blueprint_compiler-0.20.4/blueprintcompiler/language/gobject_object.py +148 -0
  32. blueprint_compiler-0.20.4/blueprintcompiler/language/gobject_property.py +131 -0
  33. blueprint_compiler-0.20.4/blueprintcompiler/language/gobject_signal.py +262 -0
  34. blueprint_compiler-0.20.4/blueprintcompiler/language/gtk_a11y.py +294 -0
  35. blueprint_compiler-0.20.4/blueprintcompiler/language/gtk_combo_box_text.py +129 -0
  36. blueprint_compiler-0.20.4/blueprintcompiler/language/gtk_file_filter.py +152 -0
  37. blueprint_compiler-0.20.4/blueprintcompiler/language/gtk_layout.py +110 -0
  38. blueprint_compiler-0.20.4/blueprintcompiler/language/gtk_level_bar.py +134 -0
  39. blueprint_compiler-0.20.4/blueprintcompiler/language/gtk_list_item_factory.py +117 -0
  40. blueprint_compiler-0.20.4/blueprintcompiler/language/gtk_menu.py +324 -0
  41. blueprint_compiler-0.20.4/blueprintcompiler/language/gtk_scale.py +192 -0
  42. blueprint_compiler-0.20.4/blueprintcompiler/language/gtk_size_group.py +123 -0
  43. blueprint_compiler-0.20.4/blueprintcompiler/language/gtk_string_list.py +106 -0
  44. blueprint_compiler-0.20.4/blueprintcompiler/language/gtk_styles.py +99 -0
  45. blueprint_compiler-0.20.4/blueprintcompiler/language/gtkbuilder_child.py +145 -0
  46. blueprint_compiler-0.20.4/blueprintcompiler/language/gtkbuilder_template.py +109 -0
  47. blueprint_compiler-0.20.4/blueprintcompiler/language/imports.py +115 -0
  48. blueprint_compiler-0.20.4/blueprintcompiler/language/response_id.py +164 -0
  49. blueprint_compiler-0.20.4/blueprintcompiler/language/translated.py +72 -0
  50. blueprint_compiler-0.20.4/blueprintcompiler/language/translation_domain.py +35 -0
  51. blueprint_compiler-0.20.4/blueprintcompiler/language/types.py +198 -0
  52. blueprint_compiler-0.20.4/blueprintcompiler/language/ui.py +160 -0
  53. blueprint_compiler-0.20.4/blueprintcompiler/language/values.py +516 -0
  54. blueprint_compiler-0.20.4/blueprintcompiler/linter.py +77 -0
  55. blueprint_compiler-0.20.4/blueprintcompiler/linter_rules/__init__.py +42 -0
  56. blueprint_compiler-0.20.4/blueprintcompiler/linter_rules/avoid_all_caps.py +24 -0
  57. blueprint_compiler-0.20.4/blueprintcompiler/linter_rules/incorrect_widget_placement.py +34 -0
  58. blueprint_compiler-0.20.4/blueprintcompiler/linter_rules/missing_user_facing_properties.py +30 -0
  59. blueprint_compiler-0.20.4/blueprintcompiler/linter_rules/no_gtk_switch_state.py +23 -0
  60. blueprint_compiler-0.20.4/blueprintcompiler/linter_rules/no_visible_true.py +39 -0
  61. blueprint_compiler-0.20.4/blueprintcompiler/linter_rules/number_of_children.py +32 -0
  62. blueprint_compiler-0.20.4/blueprintcompiler/linter_rules/order_properties_gtk_adjustment.py +28 -0
  63. blueprint_compiler-0.20.4/blueprintcompiler/linter_rules/prefer_adw_bin.py +48 -0
  64. blueprint_compiler-0.20.4/blueprintcompiler/linter_rules/prefer_unicode_chars.py +111 -0
  65. blueprint_compiler-0.20.4/blueprintcompiler/linter_rules/require_a11y_label.py +69 -0
  66. blueprint_compiler-0.20.4/blueprintcompiler/linter_rules/scrollable_parent.py +43 -0
  67. blueprint_compiler-0.20.4/blueprintcompiler/linter_rules/translatable_display_string.py +33 -0
  68. blueprint_compiler-0.20.4/blueprintcompiler/linter_rules/unused_widget.py +32 -0
  69. blueprint_compiler-0.20.4/blueprintcompiler/linter_rules/use_styles_over_css_classes.py +21 -0
  70. blueprint_compiler-0.20.4/blueprintcompiler/linter_rules/utils.py +30 -0
  71. blueprint_compiler-0.20.4/blueprintcompiler/lsp.py +569 -0
  72. blueprint_compiler-0.20.4/blueprintcompiler/lsp_utils.py +226 -0
  73. blueprint_compiler-0.20.4/blueprintcompiler/main.py +488 -0
  74. blueprint_compiler-0.20.4/blueprintcompiler/outputs/__init__.py +9 -0
  75. blueprint_compiler-0.20.4/blueprintcompiler/outputs/xml/__init__.py +474 -0
  76. blueprint_compiler-0.20.4/blueprintcompiler/outputs/xml/xml_emitter.py +90 -0
  77. blueprint_compiler-0.20.4/blueprintcompiler/parse_tree.py +620 -0
  78. blueprint_compiler-0.20.4/blueprintcompiler/parser.py +47 -0
  79. blueprint_compiler-0.20.4/blueprintcompiler/tokenizer.py +119 -0
  80. blueprint_compiler-0.20.4/blueprintcompiler/types.py +379 -0
  81. blueprint_compiler-0.20.4/blueprintcompiler/utils.py +244 -0
  82. blueprint_compiler-0.20.4/blueprintcompiler/xml_reader.py +98 -0
  83. blueprint_compiler-0.20.4/build-aux/Dockerfile +13 -0
  84. blueprint_compiler-0.20.4/build-aux/install_deps.sh +26 -0
  85. blueprint_compiler-0.20.4/data/blueprint-compiler-installed.py.in +45 -0
  86. blueprint_compiler-0.20.4/data/blueprint-compiler.pc.in +3 -0
  87. blueprint_compiler-0.20.4/docs/_static/styles.css +32 -0
  88. blueprint_compiler-0.20.4/docs/collect-sections.py +139 -0
  89. blueprint_compiler-0.20.4/docs/conf.py +53 -0
  90. blueprint_compiler-0.20.4/docs/experimental.svg +163 -0
  91. blueprint_compiler-0.20.4/docs/flatpak.rst +26 -0
  92. blueprint_compiler-0.20.4/docs/index.rst +151 -0
  93. blueprint_compiler-0.20.4/docs/linter.rst +327 -0
  94. blueprint_compiler-0.20.4/docs/meson.build +19 -0
  95. blueprint_compiler-0.20.4/docs/packaging.rst +36 -0
  96. blueprint_compiler-0.20.4/docs/reference/diagnostics.rst +329 -0
  97. blueprint_compiler-0.20.4/docs/reference/document_root.rst +88 -0
  98. blueprint_compiler-0.20.4/docs/reference/expressions.rst +134 -0
  99. blueprint_compiler-0.20.4/docs/reference/extensions.rst +412 -0
  100. blueprint_compiler-0.20.4/docs/reference/gir-namespace.png +0 -0
  101. blueprint_compiler-0.20.4/docs/reference/index.rst +50 -0
  102. blueprint_compiler-0.20.4/docs/reference/menus.rst +62 -0
  103. blueprint_compiler-0.20.4/docs/reference/objects.rst +190 -0
  104. blueprint_compiler-0.20.4/docs/reference/templates.rst +96 -0
  105. blueprint_compiler-0.20.4/docs/reference/values.rst +181 -0
  106. blueprint_compiler-0.20.4/docs/setup.rst +64 -0
  107. blueprint_compiler-0.20.4/docs/translations.rst +43 -0
  108. blueprint_compiler-0.20.4/justfile +22 -0
  109. blueprint_compiler-0.20.4/meson.build +56 -0
  110. blueprint_compiler-0.20.4/meson_options.txt +3 -0
  111. blueprint_compiler-0.20.4/pyproject.toml +17 -0
  112. blueprint_compiler-0.20.4/tests/__init__.py +0 -0
  113. blueprint_compiler-0.20.4/tests/formatting/comment_in.blp +4 -0
  114. blueprint_compiler-0.20.4/tests/formatting/comment_out.blp +4 -0
  115. blueprint_compiler-0.20.4/tests/formatting/correct1.blp +70 -0
  116. blueprint_compiler-0.20.4/tests/formatting/in1.blp +1 -0
  117. blueprint_compiler-0.20.4/tests/formatting/in2.blp +40 -0
  118. blueprint_compiler-0.20.4/tests/formatting/lists_in.blp +21 -0
  119. blueprint_compiler-0.20.4/tests/formatting/lists_out.blp +31 -0
  120. blueprint_compiler-0.20.4/tests/formatting/out.blp +28 -0
  121. blueprint_compiler-0.20.4/tests/formatting/string_in.blp +5 -0
  122. blueprint_compiler-0.20.4/tests/formatting/string_out.blp +5 -0
  123. blueprint_compiler-0.20.4/tests/formatting/wrapping_in.blp +7 -0
  124. blueprint_compiler-0.20.4/tests/formatting/wrapping_out.blp +18 -0
  125. blueprint_compiler-0.20.4/tests/fuzz.py +61 -0
  126. blueprint_compiler-0.20.4/tests/fuzz.sh +12 -0
  127. blueprint_compiler-0.20.4/tests/linter_samples/avoid_all_caps.blp +30 -0
  128. blueprint_compiler-0.20.4/tests/linter_samples/incorrect_widget_placement.blp +16 -0
  129. blueprint_compiler-0.20.4/tests/linter_samples/label_with_child.blp +13 -0
  130. blueprint_compiler-0.20.4/tests/linter_samples/missing_user_facing_properties.blp +10 -0
  131. blueprint_compiler-0.20.4/tests/linter_samples/no_gtk_switch_state.blp +12 -0
  132. blueprint_compiler-0.20.4/tests/linter_samples/no_visible_true.blp +19 -0
  133. blueprint_compiler-0.20.4/tests/linter_samples/number_of_children.blp +33 -0
  134. blueprint_compiler-0.20.4/tests/linter_samples/order_properties_gtk_adjustment.blp +40 -0
  135. blueprint_compiler-0.20.4/tests/linter_samples/prefer_adw_bin.blp +12 -0
  136. blueprint_compiler-0.20.4/tests/linter_samples/prefer_unicode.blp +94 -0
  137. blueprint_compiler-0.20.4/tests/linter_samples/require_a11y_label.blp +32 -0
  138. blueprint_compiler-0.20.4/tests/linter_samples/scrollable_parent.blp +12 -0
  139. blueprint_compiler-0.20.4/tests/linter_samples/translatable_display_string.blp +12 -0
  140. blueprint_compiler-0.20.4/tests/linter_samples/unused_widget.blp +14 -0
  141. blueprint_compiler-0.20.4/tests/linter_samples/use_styles_over_css_classes.blp +21 -0
  142. blueprint_compiler-0.20.4/tests/meson.build +1 -0
  143. blueprint_compiler-0.20.4/tests/sample_errors/a11y_in_non_widget.blp +6 -0
  144. blueprint_compiler-0.20.4/tests/sample_errors/a11y_in_non_widget.err +1 -0
  145. blueprint_compiler-0.20.4/tests/sample_errors/a11y_list_empty.blp +9 -0
  146. blueprint_compiler-0.20.4/tests/sample_errors/a11y_list_empty.err +1 -0
  147. blueprint_compiler-0.20.4/tests/sample_errors/a11y_non_list_property.blp +15 -0
  148. blueprint_compiler-0.20.4/tests/sample_errors/a11y_non_list_property.err +1 -0
  149. blueprint_compiler-0.20.4/tests/sample_errors/a11y_prop_dne.blp +7 -0
  150. blueprint_compiler-0.20.4/tests/sample_errors/a11y_prop_dne.err +1 -0
  151. blueprint_compiler-0.20.4/tests/sample_errors/a11y_prop_obj_dne.blp +7 -0
  152. blueprint_compiler-0.20.4/tests/sample_errors/a11y_prop_obj_dne.err +1 -0
  153. blueprint_compiler-0.20.4/tests/sample_errors/a11y_prop_type.blp +7 -0
  154. blueprint_compiler-0.20.4/tests/sample_errors/a11y_prop_type.err +1 -0
  155. blueprint_compiler-0.20.4/tests/sample_errors/abstract_class.blp +4 -0
  156. blueprint_compiler-0.20.4/tests/sample_errors/abstract_class.err +1 -0
  157. blueprint_compiler-0.20.4/tests/sample_errors/action_widget_float_response.blp +8 -0
  158. blueprint_compiler-0.20.4/tests/sample_errors/action_widget_float_response.err +1 -0
  159. blueprint_compiler-0.20.4/tests/sample_errors/action_widget_have_no_id.blp +8 -0
  160. blueprint_compiler-0.20.4/tests/sample_errors/action_widget_have_no_id.err +1 -0
  161. blueprint_compiler-0.20.4/tests/sample_errors/action_widget_in_invalid_container.blp +8 -0
  162. blueprint_compiler-0.20.4/tests/sample_errors/action_widget_in_invalid_container.err +1 -0
  163. blueprint_compiler-0.20.4/tests/sample_errors/action_widget_multiple_default.blp +13 -0
  164. blueprint_compiler-0.20.4/tests/sample_errors/action_widget_multiple_default.err +1 -0
  165. blueprint_compiler-0.20.4/tests/sample_errors/action_widget_negative_response.blp +8 -0
  166. blueprint_compiler-0.20.4/tests/sample_errors/action_widget_negative_response.err +1 -0
  167. blueprint_compiler-0.20.4/tests/sample_errors/action_widget_response_dne.blp +8 -0
  168. blueprint_compiler-0.20.4/tests/sample_errors/action_widget_response_dne.err +1 -0
  169. blueprint_compiler-0.20.4/tests/sample_errors/adw_alert_dialog_duplicate_flags.blp +9 -0
  170. blueprint_compiler-0.20.4/tests/sample_errors/adw_alert_dialog_duplicate_flags.err +2 -0
  171. blueprint_compiler-0.20.4/tests/sample_errors/adw_breakpoint.blp +12 -0
  172. blueprint_compiler-0.20.4/tests/sample_errors/adw_breakpoint.err +4 -0
  173. blueprint_compiler-0.20.4/tests/sample_errors/adw_message_dialog_duplicate_flags.blp +9 -0
  174. blueprint_compiler-0.20.4/tests/sample_errors/adw_message_dialog_duplicate_flags.err +2 -0
  175. blueprint_compiler-0.20.4/tests/sample_errors/array_wrong_type.blp +5 -0
  176. blueprint_compiler-0.20.4/tests/sample_errors/array_wrong_type.err +1 -0
  177. blueprint_compiler-0.20.4/tests/sample_errors/array_wrong_type_value.blp +6 -0
  178. blueprint_compiler-0.20.4/tests/sample_errors/array_wrong_type_value.err +1 -0
  179. blueprint_compiler-0.20.4/tests/sample_errors/bad_escape_sequence.blp +5 -0
  180. blueprint_compiler-0.20.4/tests/sample_errors/bad_escape_sequence.err +1 -0
  181. blueprint_compiler-0.20.4/tests/sample_errors/binding_flags.blp +5 -0
  182. blueprint_compiler-0.20.4/tests/sample_errors/binding_flags.err +1 -0
  183. blueprint_compiler-0.20.4/tests/sample_errors/binding_object_not_found.blp +5 -0
  184. blueprint_compiler-0.20.4/tests/sample_errors/binding_object_not_found.err +1 -0
  185. blueprint_compiler-0.20.4/tests/sample_errors/bitfield_member_dne.blp +6 -0
  186. blueprint_compiler-0.20.4/tests/sample_errors/bitfield_member_dne.err +2 -0
  187. blueprint_compiler-0.20.4/tests/sample_errors/children.blp +5 -0
  188. blueprint_compiler-0.20.4/tests/sample_errors/children.err +1 -0
  189. blueprint_compiler-0.20.4/tests/sample_errors/class_assign.blp +6 -0
  190. blueprint_compiler-0.20.4/tests/sample_errors/class_assign.err +1 -0
  191. blueprint_compiler-0.20.4/tests/sample_errors/class_dne.blp +3 -0
  192. blueprint_compiler-0.20.4/tests/sample_errors/class_dne.err +1 -0
  193. blueprint_compiler-0.20.4/tests/sample_errors/consecutive_unexpected_tokens.blp +7 -0
  194. blueprint_compiler-0.20.4/tests/sample_errors/consecutive_unexpected_tokens.err +1 -0
  195. blueprint_compiler-0.20.4/tests/sample_errors/convert_bool_to_obj.blp +5 -0
  196. blueprint_compiler-0.20.4/tests/sample_errors/convert_bool_to_obj.err +1 -0
  197. blueprint_compiler-0.20.4/tests/sample_errors/does_not_implement.blp +7 -0
  198. blueprint_compiler-0.20.4/tests/sample_errors/does_not_implement.err +1 -0
  199. blueprint_compiler-0.20.4/tests/sample_errors/duplicate_internal_child.blp +8 -0
  200. blueprint_compiler-0.20.4/tests/sample_errors/duplicate_internal_child.err +1 -0
  201. blueprint_compiler-0.20.4/tests/sample_errors/duplicate_obj_id.blp +4 -0
  202. blueprint_compiler-0.20.4/tests/sample_errors/duplicate_obj_id.err +1 -0
  203. blueprint_compiler-0.20.4/tests/sample_errors/duplicates.blp +45 -0
  204. blueprint_compiler-0.20.4/tests/sample_errors/duplicates.err +12 -0
  205. blueprint_compiler-0.20.4/tests/sample_errors/empty.blp +0 -0
  206. blueprint_compiler-0.20.4/tests/sample_errors/empty.err +1 -0
  207. blueprint_compiler-0.20.4/tests/sample_errors/enum_member_dne.blp +5 -0
  208. blueprint_compiler-0.20.4/tests/sample_errors/enum_member_dne.err +1 -0
  209. blueprint_compiler-0.20.4/tests/sample_errors/expected_semicolon.blp +6 -0
  210. blueprint_compiler-0.20.4/tests/sample_errors/expected_semicolon.err +1 -0
  211. blueprint_compiler-0.20.4/tests/sample_errors/expr_cast_conversion.blp +7 -0
  212. blueprint_compiler-0.20.4/tests/sample_errors/expr_cast_conversion.err +1 -0
  213. blueprint_compiler-0.20.4/tests/sample_errors/expr_cast_needed.blp +5 -0
  214. blueprint_compiler-0.20.4/tests/sample_errors/expr_cast_needed.err +1 -0
  215. blueprint_compiler-0.20.4/tests/sample_errors/expr_closure_not_cast.blp +5 -0
  216. blueprint_compiler-0.20.4/tests/sample_errors/expr_closure_not_cast.err +1 -0
  217. blueprint_compiler-0.20.4/tests/sample_errors/expr_item_not_cast.blp +5 -0
  218. blueprint_compiler-0.20.4/tests/sample_errors/expr_item_not_cast.err +1 -0
  219. blueprint_compiler-0.20.4/tests/sample_errors/expr_lookup_dne.blp +5 -0
  220. blueprint_compiler-0.20.4/tests/sample_errors/expr_lookup_dne.err +1 -0
  221. blueprint_compiler-0.20.4/tests/sample_errors/expr_lookup_no_properties.blp +5 -0
  222. blueprint_compiler-0.20.4/tests/sample_errors/expr_lookup_no_properties.err +1 -0
  223. blueprint_compiler-0.20.4/tests/sample_errors/expr_try_cast.blp +5 -0
  224. blueprint_compiler-0.20.4/tests/sample_errors/expr_try_cast.err +2 -0
  225. blueprint_compiler-0.20.4/tests/sample_errors/expr_try_type_mismatch.blp +5 -0
  226. blueprint_compiler-0.20.4/tests/sample_errors/expr_try_type_mismatch.err +1 -0
  227. blueprint_compiler-0.20.4/tests/sample_errors/expr_unknown_object.blp +5 -0
  228. blueprint_compiler-0.20.4/tests/sample_errors/expr_unknown_object.err +1 -0
  229. blueprint_compiler-0.20.4/tests/sample_errors/expr_value_assignment.blp +5 -0
  230. blueprint_compiler-0.20.4/tests/sample_errors/expr_value_assignment.err +1 -0
  231. blueprint_compiler-0.20.4/tests/sample_errors/expr_value_closure_arg.blp +5 -0
  232. blueprint_compiler-0.20.4/tests/sample_errors/expr_value_closure_arg.err +1 -0
  233. blueprint_compiler-0.20.4/tests/sample_errors/expr_value_item.blp +5 -0
  234. blueprint_compiler-0.20.4/tests/sample_errors/expr_value_item.err +1 -0
  235. blueprint_compiler-0.20.4/tests/sample_errors/filters_in_non_file_filter.blp +7 -0
  236. blueprint_compiler-0.20.4/tests/sample_errors/filters_in_non_file_filter.err +3 -0
  237. blueprint_compiler-0.20.4/tests/sample_errors/float_to_int_assignment.blp +5 -0
  238. blueprint_compiler-0.20.4/tests/sample_errors/float_to_int_assignment.err +1 -0
  239. blueprint_compiler-0.20.4/tests/sample_errors/gtk_3.blp +1 -0
  240. blueprint_compiler-0.20.4/tests/sample_errors/gtk_3.err +1 -0
  241. blueprint_compiler-0.20.4/tests/sample_errors/gtk_exact_version.blp +1 -0
  242. blueprint_compiler-0.20.4/tests/sample_errors/gtk_exact_version.err +1 -0
  243. blueprint_compiler-0.20.4/tests/sample_errors/incomplete_signal.blp +5 -0
  244. blueprint_compiler-0.20.4/tests/sample_errors/incomplete_signal.err +2 -0
  245. blueprint_compiler-0.20.4/tests/sample_errors/int_object.blp +3 -0
  246. blueprint_compiler-0.20.4/tests/sample_errors/int_object.err +1 -0
  247. blueprint_compiler-0.20.4/tests/sample_errors/invalid_bool.blp +5 -0
  248. blueprint_compiler-0.20.4/tests/sample_errors/invalid_bool.err +1 -0
  249. blueprint_compiler-0.20.4/tests/sample_errors/issue_230.blp +1 -0
  250. blueprint_compiler-0.20.4/tests/sample_errors/issue_230.err +1 -0
  251. blueprint_compiler-0.20.4/tests/sample_errors/layout_in_non_widget.blp +6 -0
  252. blueprint_compiler-0.20.4/tests/sample_errors/layout_in_non_widget.err +1 -0
  253. blueprint_compiler-0.20.4/tests/sample_errors/legacy_template.blp +10 -0
  254. blueprint_compiler-0.20.4/tests/sample_errors/legacy_template.err +2 -0
  255. blueprint_compiler-0.20.4/tests/sample_errors/level_bar_offset_value.blp +7 -0
  256. blueprint_compiler-0.20.4/tests/sample_errors/level_bar_offset_value.err +1 -0
  257. blueprint_compiler-0.20.4/tests/sample_errors/list_factory.blp +5 -0
  258. blueprint_compiler-0.20.4/tests/sample_errors/list_factory.err +1 -0
  259. blueprint_compiler-0.20.4/tests/sample_errors/menu_assignment.blp +7 -0
  260. blueprint_compiler-0.20.4/tests/sample_errors/menu_assignment.err +1 -0
  261. blueprint_compiler-0.20.4/tests/sample_errors/menu_toplevel_attribute.blp +5 -0
  262. blueprint_compiler-0.20.4/tests/sample_errors/menu_toplevel_attribute.err +2 -0
  263. blueprint_compiler-0.20.4/tests/sample_errors/newline_in_string_array.blp +6 -0
  264. blueprint_compiler-0.20.4/tests/sample_errors/newline_in_string_array.err +1 -0
  265. blueprint_compiler-0.20.4/tests/sample_errors/newline_in_string_array_multi.blp +6 -0
  266. blueprint_compiler-0.20.4/tests/sample_errors/newline_in_string_array_multi.err +2 -0
  267. blueprint_compiler-0.20.4/tests/sample_errors/no_import_version.blp +1 -0
  268. blueprint_compiler-0.20.4/tests/sample_errors/no_import_version.err +1 -0
  269. blueprint_compiler-0.20.4/tests/sample_errors/not_a_class.blp +3 -0
  270. blueprint_compiler-0.20.4/tests/sample_errors/not_a_class.err +1 -0
  271. blueprint_compiler-0.20.4/tests/sample_errors/ns_not_found.blp +6 -0
  272. blueprint_compiler-0.20.4/tests/sample_errors/ns_not_found.err +1 -0
  273. blueprint_compiler-0.20.4/tests/sample_errors/ns_not_imported.blp +3 -0
  274. blueprint_compiler-0.20.4/tests/sample_errors/ns_not_imported.err +1 -0
  275. blueprint_compiler-0.20.4/tests/sample_errors/obj_in_string_list.blp +9 -0
  276. blueprint_compiler-0.20.4/tests/sample_errors/obj_in_string_list.err +1 -0
  277. blueprint_compiler-0.20.4/tests/sample_errors/obj_prop_type.blp +5 -0
  278. blueprint_compiler-0.20.4/tests/sample_errors/obj_prop_type.err +1 -0
  279. blueprint_compiler-0.20.4/tests/sample_errors/object_dne.blp +5 -0
  280. blueprint_compiler-0.20.4/tests/sample_errors/object_dne.err +1 -0
  281. blueprint_compiler-0.20.4/tests/sample_errors/prop_null.blp +5 -0
  282. blueprint_compiler-0.20.4/tests/sample_errors/prop_null.err +1 -0
  283. blueprint_compiler-0.20.4/tests/sample_errors/property_dne.blp +5 -0
  284. blueprint_compiler-0.20.4/tests/sample_errors/property_dne.err +1 -0
  285. blueprint_compiler-0.20.4/tests/sample_errors/read_only_properties.blp +6 -0
  286. blueprint_compiler-0.20.4/tests/sample_errors/read_only_properties.err +2 -0
  287. blueprint_compiler-0.20.4/tests/sample_errors/scale_mark_position.blp +7 -0
  288. blueprint_compiler-0.20.4/tests/sample_errors/scale_mark_position.err +1 -0
  289. blueprint_compiler-0.20.4/tests/sample_errors/signal_dne.blp +5 -0
  290. blueprint_compiler-0.20.4/tests/sample_errors/signal_dne.err +1 -0
  291. blueprint_compiler-0.20.4/tests/sample_errors/signal_exclusive_flags.blp +5 -0
  292. blueprint_compiler-0.20.4/tests/sample_errors/signal_exclusive_flags.err +1 -0
  293. blueprint_compiler-0.20.4/tests/sample_errors/signal_object_dne.blp +5 -0
  294. blueprint_compiler-0.20.4/tests/sample_errors/signal_object_dne.err +1 -0
  295. blueprint_compiler-0.20.4/tests/sample_errors/signal_unnecessary_flags.blp +6 -0
  296. blueprint_compiler-0.20.4/tests/sample_errors/signal_unnecessary_flags.err +2 -0
  297. blueprint_compiler-0.20.4/tests/sample_errors/single_quoted_translated.blp +5 -0
  298. blueprint_compiler-0.20.4/tests/sample_errors/single_quoted_translated.err +1 -0
  299. blueprint_compiler-0.20.4/tests/sample_errors/size_group_non_widget.blp +9 -0
  300. blueprint_compiler-0.20.4/tests/sample_errors/size_group_non_widget.err +1 -0
  301. blueprint_compiler-0.20.4/tests/sample_errors/size_group_obj_dne.blp +7 -0
  302. blueprint_compiler-0.20.4/tests/sample_errors/size_group_obj_dne.err +1 -0
  303. blueprint_compiler-0.20.4/tests/sample_errors/string_to_num_assignment.blp +5 -0
  304. blueprint_compiler-0.20.4/tests/sample_errors/string_to_num_assignment.err +1 -0
  305. blueprint_compiler-0.20.4/tests/sample_errors/string_to_object_assignment.blp +5 -0
  306. blueprint_compiler-0.20.4/tests/sample_errors/string_to_object_assignment.err +1 -0
  307. blueprint_compiler-0.20.4/tests/sample_errors/string_to_type_assignment.blp +6 -0
  308. blueprint_compiler-0.20.4/tests/sample_errors/string_to_type_assignment.err +1 -0
  309. blueprint_compiler-0.20.4/tests/sample_errors/strv.blp +6 -0
  310. blueprint_compiler-0.20.4/tests/sample_errors/strv.err +1 -0
  311. blueprint_compiler-0.20.4/tests/sample_errors/styles_in_non_widget.blp +6 -0
  312. blueprint_compiler-0.20.4/tests/sample_errors/styles_in_non_widget.err +1 -0
  313. blueprint_compiler-0.20.4/tests/sample_errors/subscope.blp +9 -0
  314. blueprint_compiler-0.20.4/tests/sample_errors/subscope.err +1 -0
  315. blueprint_compiler-0.20.4/tests/sample_errors/template_parent.blp +3 -0
  316. blueprint_compiler-0.20.4/tests/sample_errors/template_parent.err +1 -0
  317. blueprint_compiler-0.20.4/tests/sample_errors/translated_assignment.blp +5 -0
  318. blueprint_compiler-0.20.4/tests/sample_errors/translated_assignment.err +1 -0
  319. blueprint_compiler-0.20.4/tests/sample_errors/translated_string_array.blp +7 -0
  320. blueprint_compiler-0.20.4/tests/sample_errors/translated_string_array.err +1 -0
  321. blueprint_compiler-0.20.4/tests/sample_errors/two_templates.blp +6 -0
  322. blueprint_compiler-0.20.4/tests/sample_errors/two_templates.err +2 -0
  323. blueprint_compiler-0.20.4/tests/sample_errors/typeof_assignment.blp +5 -0
  324. blueprint_compiler-0.20.4/tests/sample_errors/typeof_assignment.err +1 -0
  325. blueprint_compiler-0.20.4/tests/sample_errors/uint.blp +5 -0
  326. blueprint_compiler-0.20.4/tests/sample_errors/uint.err +1 -0
  327. blueprint_compiler-0.20.4/tests/sample_errors/unrecognized_syntax.blp +1 -0
  328. blueprint_compiler-0.20.4/tests/sample_errors/unrecognized_syntax.err +1 -0
  329. blueprint_compiler-0.20.4/tests/sample_errors/upgrade_sync_create.blp +5 -0
  330. blueprint_compiler-0.20.4/tests/sample_errors/upgrade_sync_create.err +1 -0
  331. blueprint_compiler-0.20.4/tests/sample_errors/upgrade_template_list_item.blp +5 -0
  332. blueprint_compiler-0.20.4/tests/sample_errors/upgrade_template_list_item.err +1 -0
  333. blueprint_compiler-0.20.4/tests/sample_errors/using_invalid_namespace.blp +2 -0
  334. blueprint_compiler-0.20.4/tests/sample_errors/using_invalid_namespace.err +1 -0
  335. blueprint_compiler-0.20.4/tests/sample_errors/warn_old_bind.blp +10 -0
  336. blueprint_compiler-0.20.4/tests/sample_errors/warn_old_bind.err +2 -0
  337. blueprint_compiler-0.20.4/tests/sample_errors/warn_old_extern.blp +6 -0
  338. blueprint_compiler-0.20.4/tests/sample_errors/warn_old_extern.err +4 -0
  339. blueprint_compiler-0.20.4/tests/sample_errors/warn_unused_import.blp +5 -0
  340. blueprint_compiler-0.20.4/tests/sample_errors/warn_unused_import.err +1 -0
  341. blueprint_compiler-0.20.4/tests/sample_errors/widgets_in_non_size_group.blp +5 -0
  342. blueprint_compiler-0.20.4/tests/sample_errors/widgets_in_non_size_group.err +1 -0
  343. blueprint_compiler-0.20.4/tests/samples/accessibility.blp +11 -0
  344. blueprint_compiler-0.20.4/tests/samples/accessibility.ui +17 -0
  345. blueprint_compiler-0.20.4/tests/samples/accessibility_dec.blp +15 -0
  346. blueprint_compiler-0.20.4/tests/samples/accessibility_multiple_labelled_by.blp +21 -0
  347. blueprint_compiler-0.20.4/tests/samples/accessibility_multiple_labelled_by.ui +21 -0
  348. blueprint_compiler-0.20.4/tests/samples/action_widgets.blp +25 -0
  349. blueprint_compiler-0.20.4/tests/samples/action_widgets.ui +41 -0
  350. blueprint_compiler-0.20.4/tests/samples/adw_alertdialog_responses.blp +10 -0
  351. blueprint_compiler-0.20.4/tests/samples/adw_alertdialog_responses.ui +16 -0
  352. blueprint_compiler-0.20.4/tests/samples/adw_breakpoint.blp +14 -0
  353. blueprint_compiler-0.20.4/tests/samples/adw_breakpoint.ui +16 -0
  354. blueprint_compiler-0.20.4/tests/samples/adw_breakpoint_template.blp +10 -0
  355. blueprint_compiler-0.20.4/tests/samples/adw_breakpoint_template.ui +16 -0
  356. blueprint_compiler-0.20.4/tests/samples/adw_breakpoint_template_dec.blp +10 -0
  357. blueprint_compiler-0.20.4/tests/samples/adw_messagedialog_responses.blp +10 -0
  358. blueprint_compiler-0.20.4/tests/samples/adw_messagedialog_responses.ui +16 -0
  359. blueprint_compiler-0.20.4/tests/samples/bind_expr_prop.blp +9 -0
  360. blueprint_compiler-0.20.4/tests/samples/bind_expr_prop.ui +17 -0
  361. blueprint_compiler-0.20.4/tests/samples/bind_literal.blp +5 -0
  362. blueprint_compiler-0.20.4/tests/samples/bind_literal.ui +14 -0
  363. blueprint_compiler-0.20.4/tests/samples/cast_simple_binding.blp +5 -0
  364. blueprint_compiler-0.20.4/tests/samples/cast_simple_binding.ui +12 -0
  365. blueprint_compiler-0.20.4/tests/samples/cast_simple_binding_dec.blp +5 -0
  366. blueprint_compiler-0.20.4/tests/samples/cast_uint_to_bool.blp +5 -0
  367. blueprint_compiler-0.20.4/tests/samples/cast_uint_to_bool.ui +12 -0
  368. blueprint_compiler-0.20.4/tests/samples/child_type.blp +11 -0
  369. blueprint_compiler-0.20.4/tests/samples/child_type.ui +19 -0
  370. blueprint_compiler-0.20.4/tests/samples/combo_box_text.blp +9 -0
  371. blueprint_compiler-0.20.4/tests/samples/combo_box_text.ui +16 -0
  372. blueprint_compiler-0.20.4/tests/samples/comments.blp +15 -0
  373. blueprint_compiler-0.20.4/tests/samples/comments.ui +14 -0
  374. blueprint_compiler-0.20.4/tests/samples/empty_array.blp +5 -0
  375. blueprint_compiler-0.20.4/tests/samples/empty_array.ui +12 -0
  376. blueprint_compiler-0.20.4/tests/samples/enum.blp +5 -0
  377. blueprint_compiler-0.20.4/tests/samples/enum.ui +12 -0
  378. blueprint_compiler-0.20.4/tests/samples/expr_closure.blp +5 -0
  379. blueprint_compiler-0.20.4/tests/samples/expr_closure.ui +16 -0
  380. blueprint_compiler-0.20.4/tests/samples/expr_closure_args.blp +5 -0
  381. blueprint_compiler-0.20.4/tests/samples/expr_closure_args.ui +18 -0
  382. blueprint_compiler-0.20.4/tests/samples/expr_closure_dec.blp +5 -0
  383. blueprint_compiler-0.20.4/tests/samples/expr_closure_inferred_type.blp +5 -0
  384. blueprint_compiler-0.20.4/tests/samples/expr_closure_inferred_type.ui +14 -0
  385. blueprint_compiler-0.20.4/tests/samples/expr_lookup.blp +9 -0
  386. blueprint_compiler-0.20.4/tests/samples/expr_lookup.ui +23 -0
  387. blueprint_compiler-0.20.4/tests/samples/expr_null.blp +5 -0
  388. blueprint_compiler-0.20.4/tests/samples/expr_null.ui +16 -0
  389. blueprint_compiler-0.20.4/tests/samples/expr_null_infer_type.blp +5 -0
  390. blueprint_compiler-0.20.4/tests/samples/expr_null_infer_type.ui +17 -0
  391. blueprint_compiler-0.20.4/tests/samples/expr_translated.blp +9 -0
  392. blueprint_compiler-0.20.4/tests/samples/expr_translated.ui +23 -0
  393. blueprint_compiler-0.20.4/tests/samples/expr_try.blp +6 -0
  394. blueprint_compiler-0.20.4/tests/samples/expr_try.ui +26 -0
  395. blueprint_compiler-0.20.4/tests/samples/expr_value.blp +5 -0
  396. blueprint_compiler-0.20.4/tests/samples/expr_value.ui +14 -0
  397. blueprint_compiler-0.20.4/tests/samples/expr_value_closure.blp +5 -0
  398. blueprint_compiler-0.20.4/tests/samples/expr_value_closure.ui +16 -0
  399. blueprint_compiler-0.20.4/tests/samples/expr_value_literal.blp +5 -0
  400. blueprint_compiler-0.20.4/tests/samples/expr_value_literal.ui +14 -0
  401. blueprint_compiler-0.20.4/tests/samples/extern_class_with_namespace.blp +5 -0
  402. blueprint_compiler-0.20.4/tests/samples/extern_class_with_namespace.ui +12 -0
  403. blueprint_compiler-0.20.4/tests/samples/extern_class_with_namespace_dec.blp +5 -0
  404. blueprint_compiler-0.20.4/tests/samples/file_filter.blp +18 -0
  405. blueprint_compiler-0.20.4/tests/samples/file_filter.ui +22 -0
  406. blueprint_compiler-0.20.4/tests/samples/flags.blp +10 -0
  407. blueprint_compiler-0.20.4/tests/samples/flags.ui +15 -0
  408. blueprint_compiler-0.20.4/tests/samples/gtkcolumnview.blp +21 -0
  409. blueprint_compiler-0.20.4/tests/samples/gtkcolumnview.ui +49 -0
  410. blueprint_compiler-0.20.4/tests/samples/id_prop.blp +7 -0
  411. blueprint_compiler-0.20.4/tests/samples/id_prop.ui +13 -0
  412. blueprint_compiler-0.20.4/tests/samples/inline_menu.blp +5 -0
  413. blueprint_compiler-0.20.4/tests/samples/inline_menu.ui +14 -0
  414. blueprint_compiler-0.20.4/tests/samples/issue_119.blp +5 -0
  415. blueprint_compiler-0.20.4/tests/samples/issue_119.ui +14 -0
  416. blueprint_compiler-0.20.4/tests/samples/issue_119_dec.blp +5 -0
  417. blueprint_compiler-0.20.4/tests/samples/issue_177.blp +5 -0
  418. blueprint_compiler-0.20.4/tests/samples/issue_177.ui +12 -0
  419. blueprint_compiler-0.20.4/tests/samples/issue_187.ui +15 -0
  420. blueprint_compiler-0.20.4/tests/samples/issue_187_dec.blp +7 -0
  421. blueprint_compiler-0.20.4/tests/samples/issue_195.blp +11 -0
  422. blueprint_compiler-0.20.4/tests/samples/issue_195.ui +16 -0
  423. blueprint_compiler-0.20.4/tests/samples/issue_221.blp +5 -0
  424. blueprint_compiler-0.20.4/tests/samples/issue_221.ui +14 -0
  425. blueprint_compiler-0.20.4/tests/samples/layout.blp +10 -0
  426. blueprint_compiler-0.20.4/tests/samples/layout.ui +19 -0
  427. blueprint_compiler-0.20.4/tests/samples/layout_dec.blp +10 -0
  428. blueprint_compiler-0.20.4/tests/samples/level_bar_offsets.blp +9 -0
  429. blueprint_compiler-0.20.4/tests/samples/level_bar_offsets.ui +16 -0
  430. blueprint_compiler-0.20.4/tests/samples/list_factory.blp +11 -0
  431. blueprint_compiler-0.20.4/tests/samples/list_factory.ui +29 -0
  432. blueprint_compiler-0.20.4/tests/samples/list_factory_dec.blp +11 -0
  433. blueprint_compiler-0.20.4/tests/samples/list_factory_nested.blp +17 -0
  434. blueprint_compiler-0.20.4/tests/samples/list_factory_nested.ui +42 -0
  435. blueprint_compiler-0.20.4/tests/samples/list_factory_nested_dec.blp +18 -0
  436. blueprint_compiler-0.20.4/tests/samples/menu.blp +17 -0
  437. blueprint_compiler-0.20.4/tests/samples/menu.ui +31 -0
  438. blueprint_compiler-0.20.4/tests/samples/menu_dec.blp +28 -0
  439. blueprint_compiler-0.20.4/tests/samples/menu_no_id.blp +3 -0
  440. blueprint_compiler-0.20.4/tests/samples/menu_no_id.ui +10 -0
  441. blueprint_compiler-0.20.4/tests/samples/multiline_string.blp +6 -0
  442. blueprint_compiler-0.20.4/tests/samples/multiline_string.ui +13 -0
  443. blueprint_compiler-0.20.4/tests/samples/multiline_string_dec.blp +5 -0
  444. blueprint_compiler-0.20.4/tests/samples/numbers.blp +8 -0
  445. blueprint_compiler-0.20.4/tests/samples/numbers.ui +15 -0
  446. blueprint_compiler-0.20.4/tests/samples/numbers_dec.blp +8 -0
  447. blueprint_compiler-0.20.4/tests/samples/object_prop.blp +7 -0
  448. blueprint_compiler-0.20.4/tests/samples/object_prop.ui +16 -0
  449. blueprint_compiler-0.20.4/tests/samples/parseable.blp +13 -0
  450. blueprint_compiler-0.20.4/tests/samples/parseable.ui +18 -0
  451. blueprint_compiler-0.20.4/tests/samples/placeholder.ui +14 -0
  452. blueprint_compiler-0.20.4/tests/samples/placeholder_dec.blp +3 -0
  453. blueprint_compiler-0.20.4/tests/samples/property.blp +5 -0
  454. blueprint_compiler-0.20.4/tests/samples/property.ui +12 -0
  455. blueprint_compiler-0.20.4/tests/samples/property_binding.blp +12 -0
  456. blueprint_compiler-0.20.4/tests/samples/property_binding.ui +18 -0
  457. blueprint_compiler-0.20.4/tests/samples/resource_prop.blp +5 -0
  458. blueprint_compiler-0.20.4/tests/samples/resource_prop.ui +12 -0
  459. blueprint_compiler-0.20.4/tests/samples/scale_marks.blp +10 -0
  460. blueprint_compiler-0.20.4/tests/samples/scale_marks.ui +17 -0
  461. blueprint_compiler-0.20.4/tests/samples/signal.blp +10 -0
  462. blueprint_compiler-0.20.4/tests/samples/signal.ui +16 -0
  463. blueprint_compiler-0.20.4/tests/samples/signal_not_swapped.blp +5 -0
  464. blueprint_compiler-0.20.4/tests/samples/signal_not_swapped.ui +12 -0
  465. blueprint_compiler-0.20.4/tests/samples/signal_template_object.blp +7 -0
  466. blueprint_compiler-0.20.4/tests/samples/signal_template_object.ui +16 -0
  467. blueprint_compiler-0.20.4/tests/samples/signal_unnecessary_swapped.ui +13 -0
  468. blueprint_compiler-0.20.4/tests/samples/signal_unnecessary_swapped_dec.blp +6 -0
  469. blueprint_compiler-0.20.4/tests/samples/size_group.blp +14 -0
  470. blueprint_compiler-0.20.4/tests/samples/size_group.ui +18 -0
  471. blueprint_compiler-0.20.4/tests/samples/string_array.blp +10 -0
  472. blueprint_compiler-0.20.4/tests/samples/string_array.ui +14 -0
  473. blueprint_compiler-0.20.4/tests/samples/string_list.blp +12 -0
  474. blueprint_compiler-0.20.4/tests/samples/string_list.ui +18 -0
  475. blueprint_compiler-0.20.4/tests/samples/strings.blp +5 -0
  476. blueprint_compiler-0.20.4/tests/samples/strings.ui +13 -0
  477. blueprint_compiler-0.20.4/tests/samples/strings_dec.blp +5 -0
  478. blueprint_compiler-0.20.4/tests/samples/style.blp +8 -0
  479. blueprint_compiler-0.20.4/tests/samples/style.ui +15 -0
  480. blueprint_compiler-0.20.4/tests/samples/style_dec.blp +8 -0
  481. blueprint_compiler-0.20.4/tests/samples/subscope.blp +12 -0
  482. blueprint_compiler-0.20.4/tests/samples/subscope.ui +24 -0
  483. blueprint_compiler-0.20.4/tests/samples/subscope_dec.blp +12 -0
  484. blueprint_compiler-0.20.4/tests/samples/template.blp +10 -0
  485. blueprint_compiler-0.20.4/tests/samples/template.ui +16 -0
  486. blueprint_compiler-0.20.4/tests/samples/template_bind_property.blp +5 -0
  487. blueprint_compiler-0.20.4/tests/samples/template_bind_property.ui +12 -0
  488. blueprint_compiler-0.20.4/tests/samples/template_binding.blp +5 -0
  489. blueprint_compiler-0.20.4/tests/samples/template_binding.ui +16 -0
  490. blueprint_compiler-0.20.4/tests/samples/template_binding_extern.blp +5 -0
  491. blueprint_compiler-0.20.4/tests/samples/template_binding_extern.ui +16 -0
  492. blueprint_compiler-0.20.4/tests/samples/template_id.blp +6 -0
  493. blueprint_compiler-0.20.4/tests/samples/template_id.ui +12 -0
  494. blueprint_compiler-0.20.4/tests/samples/template_id_dec.blp +5 -0
  495. blueprint_compiler-0.20.4/tests/samples/template_no_parent.blp +3 -0
  496. blueprint_compiler-0.20.4/tests/samples/template_no_parent.ui +10 -0
  497. blueprint_compiler-0.20.4/tests/samples/template_orphan.blp +5 -0
  498. blueprint_compiler-0.20.4/tests/samples/template_orphan.ui +12 -0
  499. blueprint_compiler-0.20.4/tests/samples/template_simple_binding.blp +5 -0
  500. blueprint_compiler-0.20.4/tests/samples/template_simple_binding.ui +12 -0
  501. blueprint_compiler-0.20.4/tests/samples/translated.blp +9 -0
  502. blueprint_compiler-0.20.4/tests/samples/translated.ui +15 -0
  503. blueprint_compiler-0.20.4/tests/samples/translation_domain.blp +2 -0
  504. blueprint_compiler-0.20.4/tests/samples/translation_domain.ui +9 -0
  505. blueprint_compiler-0.20.4/tests/samples/translator_comments.blp +6 -0
  506. blueprint_compiler-0.20.4/tests/samples/translator_comments.ui +12 -0
  507. blueprint_compiler-0.20.4/tests/samples/typeof.blp +11 -0
  508. blueprint_compiler-0.20.4/tests/samples/typeof.ui +15 -0
  509. blueprint_compiler-0.20.4/tests/samples/uint.blp +5 -0
  510. blueprint_compiler-0.20.4/tests/samples/uint.ui +12 -0
  511. blueprint_compiler-0.20.4/tests/samples/unchecked_class.blp +7 -0
  512. blueprint_compiler-0.20.4/tests/samples/unchecked_class.ui +16 -0
  513. blueprint_compiler-0.20.4/tests/samples/unchecked_class_dec.blp +7 -0
  514. blueprint_compiler-0.20.4/tests/samples/using.blp +4 -0
  515. blueprint_compiler-0.20.4/tests/samples/using.ui +10 -0
  516. blueprint_compiler-0.20.4/tests/test_deprecations.py +110 -0
  517. blueprint_compiler-0.20.4/tests/test_formatter.py +51 -0
  518. blueprint_compiler-0.20.4/tests/test_linter.py +283 -0
  519. blueprint_compiler-0.20.4/tests/test_samples.py +263 -0
  520. blueprint_compiler-0.20.4/tests/test_tokenizer.py +88 -0
@@ -0,0 +1,6 @@
1
+ [report]
2
+ exclude_lines =
3
+ pragma: no cover
4
+ raise AssertionError
5
+ raise NotImplementedError
6
+ raise CompilerBugError
@@ -0,0 +1,16 @@
1
+ __pycache__
2
+ /build
3
+ /dist
4
+ *.egg-info
5
+ blueprint-compiler.pc
6
+
7
+ /.coverage
8
+ /htmlcov
9
+ coverage.xml
10
+ .mypy_cache
11
+ /blueprint-regression-tests
12
+
13
+ /corpus
14
+ /crashes
15
+
16
+ .vscode
@@ -0,0 +1,71 @@
1
+ include:
2
+ - project: "GNOME/citemplates"
3
+ file: "templates/default-rules.yml"
4
+ - component: "gitlab.gnome.org/GNOME/citemplates/release-service@master"
5
+ inputs:
6
+ dist-job-name: "build"
7
+
8
+ build:
9
+ image: registry.gitlab.gnome.org/gnome/blueprint-compiler
10
+ stage: build
11
+ script:
12
+ - black --check --diff ./ tests
13
+ - isort --check --diff --profile black ./ tests
14
+ - mypy --python-version=3.9 blueprintcompiler/
15
+ - G_DEBUG=fatal-warnings xvfb-run coverage run -m unittest
16
+ - coverage report
17
+ - coverage html
18
+ - coverage xml
19
+ - meson _build -Ddocs=true --prefix=/usr
20
+ - ninja -C _build
21
+ - ninja -C _build install
22
+ - ninja -C _build docs/en
23
+ - git clone https://gitlab.gnome.org/jwestman/blueprint-regression-tests.git
24
+ - cd blueprint-regression-tests
25
+ - git checkout c4c8a52e03616c1cf5a4f879c14a5feb1cb1679f
26
+ - ./test.sh
27
+ - cd ..
28
+ - meson dist -C _build --include-subprojects --no-tests
29
+ - cp -r "_build/meson-dist/" "${CI_PROJECT_DIR}/public-dist/"
30
+ # Make sure uninstalling works
31
+ - ninja -C _build uninstall
32
+ # Make sure the python wheel build works
33
+ - pip install .
34
+ - blueprint-compiler compile tests/samples/using.blp
35
+ - pip uninstall -y blueprint-compiler
36
+ coverage: '/TOTAL.*\s([.\d]+)%/'
37
+ artifacts:
38
+ paths:
39
+ - _build
40
+ - htmlcov
41
+ - public-dist
42
+ reports:
43
+ coverage_report:
44
+ coverage_format: cobertura
45
+ path: coverage.xml
46
+
47
+ fuzz:
48
+ image: registry.gitlab.gnome.org/gnome/blueprint-compiler
49
+ stage: build
50
+ script:
51
+ - meson _build
52
+ - ninja -C _build install
53
+ - ./tests/fuzz.sh 5000
54
+ artifacts:
55
+ when: always
56
+ paths:
57
+ - corpus
58
+ - crashes
59
+
60
+ pages:
61
+ stage: deploy
62
+ dependencies:
63
+ - build
64
+ script:
65
+ - mv _build/docs/en public
66
+ - mv htmlcov public/coverage
67
+ artifacts:
68
+ paths:
69
+ - public
70
+ only:
71
+ - main
@@ -0,0 +1,28 @@
1
+ First of all, thank you for contributing to Blueprint.
2
+
3
+ If you learn something useful, please add it to this file.
4
+
5
+ # Run the test suite
6
+
7
+ ```sh
8
+ python -m unittest
9
+ ```
10
+
11
+ # Formatting
12
+
13
+ Blueprint uses [Black](https://github.com/psf/black) for code formatting.
14
+
15
+ # Build the docs
16
+
17
+ ```sh
18
+ pip install -U sphinx furo
19
+
20
+ meson -Ddocs=true build
21
+ # or
22
+ meson --reconfigure -Ddocs=true build
23
+
24
+ ninja -C build docs/en
25
+
26
+ python -m http.server 2310 --bind 127.0.0.1 --directory build/docs/en/
27
+ xdg-open http://127.0.0.1:2310/
28
+ ```
@@ -0,0 +1,165 @@
1
+ GNU LESSER GENERAL PUBLIC LICENSE
2
+ Version 3, 29 June 2007
3
+
4
+ Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
5
+ Everyone is permitted to copy and distribute verbatim copies
6
+ of this license document, but changing it is not allowed.
7
+
8
+
9
+ This version of the GNU Lesser General Public License incorporates
10
+ the terms and conditions of version 3 of the GNU General Public
11
+ License, supplemented by the additional permissions listed below.
12
+
13
+ 0. Additional Definitions.
14
+
15
+ As used herein, "this License" refers to version 3 of the GNU Lesser
16
+ General Public License, and the "GNU GPL" refers to version 3 of the GNU
17
+ General Public License.
18
+
19
+ "The Library" refers to a covered work governed by this License,
20
+ other than an Application or a Combined Work as defined below.
21
+
22
+ An "Application" is any work that makes use of an interface provided
23
+ by the Library, but which is not otherwise based on the Library.
24
+ Defining a subclass of a class defined by the Library is deemed a mode
25
+ of using an interface provided by the Library.
26
+
27
+ A "Combined Work" is a work produced by combining or linking an
28
+ Application with the Library. The particular version of the Library
29
+ with which the Combined Work was made is also called the "Linked
30
+ Version".
31
+
32
+ The "Minimal Corresponding Source" for a Combined Work means the
33
+ Corresponding Source for the Combined Work, excluding any source code
34
+ for portions of the Combined Work that, considered in isolation, are
35
+ based on the Application, and not on the Linked Version.
36
+
37
+ The "Corresponding Application Code" for a Combined Work means the
38
+ object code and/or source code for the Application, including any data
39
+ and utility programs needed for reproducing the Combined Work from the
40
+ Application, but excluding the System Libraries of the Combined Work.
41
+
42
+ 1. Exception to Section 3 of the GNU GPL.
43
+
44
+ You may convey a covered work under sections 3 and 4 of this License
45
+ without being bound by section 3 of the GNU GPL.
46
+
47
+ 2. Conveying Modified Versions.
48
+
49
+ If you modify a copy of the Library, and, in your modifications, a
50
+ facility refers to a function or data to be supplied by an Application
51
+ that uses the facility (other than as an argument passed when the
52
+ facility is invoked), then you may convey a copy of the modified
53
+ version:
54
+
55
+ a) under this License, provided that you make a good faith effort to
56
+ ensure that, in the event an Application does not supply the
57
+ function or data, the facility still operates, and performs
58
+ whatever part of its purpose remains meaningful, or
59
+
60
+ b) under the GNU GPL, with none of the additional permissions of
61
+ this License applicable to that copy.
62
+
63
+ 3. Object Code Incorporating Material from Library Header Files.
64
+
65
+ The object code form of an Application may incorporate material from
66
+ a header file that is part of the Library. You may convey such object
67
+ code under terms of your choice, provided that, if the incorporated
68
+ material is not limited to numerical parameters, data structure
69
+ layouts and accessors, or small macros, inline functions and templates
70
+ (ten or fewer lines in length), you do both of the following:
71
+
72
+ a) Give prominent notice with each copy of the object code that the
73
+ Library is used in it and that the Library and its use are
74
+ covered by this License.
75
+
76
+ b) Accompany the object code with a copy of the GNU GPL and this license
77
+ document.
78
+
79
+ 4. Combined Works.
80
+
81
+ You may convey a Combined Work under terms of your choice that,
82
+ taken together, effectively do not restrict modification of the
83
+ portions of the Library contained in the Combined Work and reverse
84
+ engineering for debugging such modifications, if you also do each of
85
+ the following:
86
+
87
+ a) Give prominent notice with each copy of the Combined Work that
88
+ the Library is used in it and that the Library and its use are
89
+ covered by this License.
90
+
91
+ b) Accompany the Combined Work with a copy of the GNU GPL and this license
92
+ document.
93
+
94
+ c) For a Combined Work that displays copyright notices during
95
+ execution, include the copyright notice for the Library among
96
+ these notices, as well as a reference directing the user to the
97
+ copies of the GNU GPL and this license document.
98
+
99
+ d) Do one of the following:
100
+
101
+ 0) Convey the Minimal Corresponding Source under the terms of this
102
+ License, and the Corresponding Application Code in a form
103
+ suitable for, and under terms that permit, the user to
104
+ recombine or relink the Application with a modified version of
105
+ the Linked Version to produce a modified Combined Work, in the
106
+ manner specified by section 6 of the GNU GPL for conveying
107
+ Corresponding Source.
108
+
109
+ 1) Use a suitable shared library mechanism for linking with the
110
+ Library. A suitable mechanism is one that (a) uses at run time
111
+ a copy of the Library already present on the user's computer
112
+ system, and (b) will operate properly with a modified version
113
+ of the Library that is interface-compatible with the Linked
114
+ Version.
115
+
116
+ e) Provide Installation Information, but only if you would otherwise
117
+ be required to provide such information under section 6 of the
118
+ GNU GPL, and only to the extent that such information is
119
+ necessary to install and execute a modified version of the
120
+ Combined Work produced by recombining or relinking the
121
+ Application with a modified version of the Linked Version. (If
122
+ you use option 4d0, the Installation Information must accompany
123
+ the Minimal Corresponding Source and Corresponding Application
124
+ Code. If you use option 4d1, you must provide the Installation
125
+ Information in the manner specified by section 6 of the GNU GPL
126
+ for conveying Corresponding Source.)
127
+
128
+ 5. Combined Libraries.
129
+
130
+ You may place library facilities that are a work based on the
131
+ Library side by side in a single library together with other library
132
+ facilities that are not Applications and are not covered by this
133
+ License, and convey such a combined library under terms of your
134
+ choice, if you do both of the following:
135
+
136
+ a) Accompany the combined library with a copy of the same work based
137
+ on the Library, uncombined with any other library facilities,
138
+ conveyed under the terms of this License.
139
+
140
+ b) Give prominent notice with the combined library that part of it
141
+ is a work based on the Library, and explaining where to find the
142
+ accompanying uncombined form of the same work.
143
+
144
+ 6. Revised Versions of the GNU Lesser General Public License.
145
+
146
+ The Free Software Foundation may publish revised and/or new versions
147
+ of the GNU Lesser General Public License from time to time. Such new
148
+ versions will be similar in spirit to the present version, but may
149
+ differ in detail to address new problems or concerns.
150
+
151
+ Each version is given a distinguishing version number. If the
152
+ Library as you received it specifies that a certain numbered version
153
+ of the GNU Lesser General Public License "or any later version"
154
+ applies to it, you have the option of following the terms and
155
+ conditions either of that published version or of any later version
156
+ published by the Free Software Foundation. If the Library as you
157
+ received it does not specify a version number of the GNU Lesser
158
+ General Public License, you may choose any version of the GNU Lesser
159
+ General Public License ever published by the Free Software Foundation.
160
+
161
+ If the Library as you received it specifies that a proxy can decide
162
+ whether future versions of the GNU Lesser General Public License shall
163
+ apply, that proxy's public statement of acceptance of any version is
164
+ permanent authorization for you to choose that version for the
165
+ Library.
@@ -0,0 +1,19 @@
1
+ ## Releasing a new version
2
+
3
+ 1. Look at the git log since the previous release. Note every significant change
4
+ in the NEWS file.
5
+ 2. Update the version number, according to semver:
6
+ - At the top of meson.build
7
+ - In pyproject.toml
8
+ - In docs/flatpak.rst
9
+ 3. Make a new commit with just these two changes. Use `Release v{version}` as the commit message. Tag the commit as `v{version}` and push the tag.
10
+ 4. Create a "Post-release version bump" commit.
11
+ 5. Go to the Releases page in GitLab and create a new release from the tag.
12
+ 6. Announce the release through relevant channels (Mastodon, TWIG, etc.)
13
+
14
+ ## Related projects
15
+
16
+ Blueprint is supported by the following syntax highlighters. If changes are made to the syntax, remember to update these projects as well.
17
+
18
+ - Pygments (https://github.com/pygments/pygments/blob/master/pygments/lexers/blueprint.py)
19
+ - GtkSourceView (https://gitlab.gnome.org/GNOME/gtksourceview/-/blob/master/data/language-specs/blueprint.lang)
@@ -0,0 +1,341 @@
1
+ # v0.20.4
2
+
3
+ ## Fixed
4
+ - Fixed a crash in Python 3.9.
5
+
6
+ # v0.20.3
7
+
8
+ ## Fixed
9
+ - Fixed GtkTryExpression tests that were failing on GTK 4.22.
10
+ - The decompiler no longer emits some unnecessary casts.
11
+
12
+ # v0.20.2
13
+
14
+ ## Fixed
15
+ - Fixed a test failure due to an updated version of black.
16
+
17
+ # v0.20.1
18
+
19
+ ## Fixed
20
+ - Fix casting from uint to bool, which should work but was generating an error.
21
+
22
+ ## Docs
23
+ - Fixed the syntax documentation for TryExpression. (Jamie Gravendeel)
24
+
25
+ # v0.20.0
26
+
27
+ ## Added
28
+ - Added help-text and visited accessibility properties
29
+ - Added a --minify argument to compile and batch-compile to emit XML with no comments or whitespace
30
+ - Extern class names can now include a "." for readability
31
+ - Added a linter (Sonny Piers, Neighborhoodie/STA)
32
+ - Added extension syntax for Gtk.LevelBar offsets (Matthijs Velsink)
33
+ - Allow translated string constants in expressions (Julian Sparber)
34
+ - Added support for some Pango types to be specified as strings (Matthijs Velsink)
35
+ - The formatter wraps long lines now
36
+ - Added support for Gtk.TryExpression
37
+ - Added support for `null` in expressions
38
+
39
+ ### Language Server
40
+ - Added the signature of a long block as an inlay hint at the end of the block
41
+ - Added completions for available namespaces when typing a class name
42
+ - Added completions for imports
43
+ - Added completion for `translation-domain`
44
+ - Added object value completions
45
+ - Completions are now sorted. Up to five commonly used completions are highlighted at the top, based on statistics from a collection of open-source projects that use Blueprint.
46
+ - Hovering over the object in a signal shows the object's signature
47
+
48
+ ## Changed
49
+ - blueprint-compiler now uses libgirepository to load typelib information, rather than a custom parser.
50
+ - Lookup expressions on an object reference no longer emit an unnecessary `<constant>` tag
51
+
52
+ ## Fixed
53
+ - Skip unchanged files in batch-compile to prevent unnecessary rebuilds (Alice Mikhaylenko)
54
+ - Don't allow assigning true or false to an object
55
+ - Reversed the GIR search order so it searches user-configured paths before default ones (Qiu Wenbo)
56
+ - The decompiler properly quotes Gio.File properties
57
+ - Fixed a crash when an Adw.AlertDialog response block is malformed
58
+ - Error messages in the CLI show at least one caret under the source code line, even for diagnostics reported with zero length
59
+ - Fixed a crash when using `typeof` with enum and boxed types (Jamie Gravendeel)
60
+ - Treat `/* ... */` comments as inline in the formatter (Matthijs Velsink)
61
+ - Fixed a crash when an error is reported on an empty last line
62
+ - The decompiler no longer emits unnecessary signal flags
63
+ - Closure arguments are now type checked
64
+ - Expressions in property bindings are now type checked
65
+ - Added support for more primitive types and added type checking for conversions between them
66
+ - Fixed a crash when a string array is empty
67
+ - Bindings consisting of a single lookup can use flags even if they have a cast at the end
68
+
69
+ ### Language Server
70
+ - Completions no longer add the body of an object when you're editing the class name of an existing object. Made similar changes for properties and signals.
71
+ - Fixed a crash that occurred when you hovered over a reference to an object that has an invalid class name.
72
+ - Signal completions now include a default name for the handler function
73
+
74
+ ## Documentation
75
+ - Add Kate editor as having built in support (Zoey Ahmed)
76
+ - Link to Sublime Text syntax highlighting plugin (Nelson Benítez León)
77
+ - Link to Zed plugin (tfuxu)
78
+
79
+ # v0.18.0
80
+
81
+ ## Added
82
+ - GtkBuilder now allows menus to be specified inline as a property value. Blueprint now supports this as well.
83
+
84
+ ## Fixed
85
+ - Made reference_docs.json build reproducible (Sertonix)
86
+ - Correctly emit XML for nested templates (Tom Greig)
87
+ - Fix crash in language server while typing an AdwBreakpointSetter rule
88
+ - Update URLs after move to GNOME namespace on GitLab
89
+ - Fix crash when decompiling a lookup tag with no type attribute
90
+ - Fix incorrect result when decompiling a signal that has the template as its object
91
+ - Fix an incorrect "Duplicate object ID" error when an Adw.AlertDialog response had the same ID as an object
92
+
93
+ ## Documentation
94
+ - Updated syntax in the example on the Overview page (Chris Mayo)
95
+ - Added examples of Gtk.Scale marks (Matthijs Velsink)
96
+ - Corrected errors in the index on the Extensions page (Matthijs Velsink)
97
+
98
+ # v0.16.0
99
+
100
+ ## Added
101
+ - Added more "go to reference" implementations in the language server
102
+ - Added semantic token support for flag members in the language server
103
+ - Added property documentation to the hover tooltip for notify signals
104
+ - The language server now shows relevant sections of the reference documentation when hovering over keywords and symbols
105
+ - Added `not-swapped` flag to signal handlers, which may be needed for signal handlers that specify an object
106
+ - Added expression literals, which allow you to specify a Gtk.Expression property (as opposed to the existing expression support, which is for property bindings)
107
+
108
+ ## Changed
109
+ - The formatter adds trailing commas to lists (Alexey Yerin)
110
+ - The formatter removes trailing whitespace from comments (Alexey Yerin)
111
+ - Autocompleting a commonly translated property automatically adds the `_("")` syntax
112
+ - Marking a single-quoted string as translatable now generates a warning, since gettext does not recognize it when using the configuration recommended in the blueprint documentation
113
+
114
+ ## Fixed
115
+ - Added support for libgirepository-2.0 so that blueprint doesn't crash due to import conflicts on newer versions of PyGObject (Jordan Petridis)
116
+ - Fixed a bug when decompiling/porting files with enum values
117
+ - Fixed several issues where tests would fail with versions of GTK that added new deprecations
118
+ - Addressed a problem with the language server protocol in some editors (Luoyayu)
119
+ - Fixed an issue where the compiler would crash instead of reporting compiler errors
120
+ - Fixed a crash in the language server that occurred when a detailed signal (e.g. `notify::*`) was not complete
121
+ - The language server now properly implements the shutdown command, fixing support for some editors and improving robustness when restarting (Alexey Yerin)
122
+ - Marking a string in an array as translatable now generates an error, since it doesn't work
123
+ -
124
+
125
+ ## Documentation
126
+ - Added mention of `null` in the Literal Values section
127
+ - Add apps to Built with Blueprint section (Benedek Dévényi, Vladimir Vaskov)
128
+ - Corrected and updated many parts of the documentation
129
+
130
+ # v0.14.0
131
+
132
+ ## Added
133
+ - Added a warning for unused imports.
134
+ - Added an option to not print the diff when formatting with the CLI. (Gregor Niehl)
135
+ - Added support for building Gtk.ColumnViewRow, Gtk.ColumnViewCell, and Gtk.ListHeader widgets with Gtk.BuilderListItemFactory.
136
+ - Added support for the `after` keyword for signals. This was previously documented but not implemented. (Gregor Niehl)
137
+ - Added support for string arrays. (Diego Augusto)
138
+ - Added hover documentation for properties in lookup expressions.
139
+ - The decompiler supports action widgets, translation domains, `typeof<>` syntax, and expressions. It also supports extension syntax for Adw.Breakpoint, Gtk.BuilderListItemFactory, Gtk.ComboBoxText, Gtk.SizeGroup, and Gtk.StringList.
140
+ - Added a `decompile` subcommand to the CLI, which decompiles an XML .ui file to blueprint.
141
+ - Accessibility relations that allow multiple values are supported using list syntax. (Julian Schmidhuber)
142
+
143
+ ## Changed
144
+ - The decompiler sorts imports alphabetically.
145
+ - Translatable strings use `translatable="yes"` instead of `translatable="true"` for compatibility with xgettext. (Marco Köpcke)
146
+ - The first line of the documentation is shown in the completion list when using the language server. (Sonny Piers)
147
+ - Object autocomplete uses a snippet to add the braces and position the cursor inside them. (Sonny Piers)
148
+ - The carets in the CLI diagnostic output now span the whole error message up to the end of the first line, rather than just the first character.
149
+ - The decompiler emits double quotes, which are compatible with gettext.
150
+
151
+ ## Fixed
152
+ - Fixed deprecation warnings in the language server.
153
+ - The decompiler no longer duplicates translator comments on properties.
154
+ - Subtemplates no longer output a redundant `@generated` comment.
155
+ - When extension syntax from a library that is not available is used, the compiler emits an error instead of crashing.
156
+ - The language server reports semantic token positions correctly. (Szepesi Tibor)
157
+ - The decompiler no longer emits the deprecated `bind-property` syntax. (Sonny Piers)
158
+ - Fixed the tests when used as a Meson subproject. (Benoit Pierre)
159
+ - Signal autocomplete generates correct syntax. (Sonny Piers)
160
+ - The decompiler supports templates that do not specify a parent class. (Sonny Piers)
161
+ - Adw.Breakpoint setters that set a property on the template no longer cause a crash.
162
+ - Fixed type checking with templates that do not have a parent class.
163
+ - Fixed online documentation links for interfaces.
164
+ - The wording of edit suggestions is fixed for insertions and deletions.
165
+ - When an input file uses tabs instead of spaces, the diagnostic output on the CLI aligns the caret correctly.
166
+ - The decompiler emits correct syntax when a property binding refers to the template object.
167
+
168
+ ## Documentation
169
+ - Fixed typos in "Built with Blueprint" section. (Valéry Febvre, Dexter Reed)
170
+
171
+ # v0.12.0
172
+
173
+ ## Added
174
+
175
+ - Add support for Adw.AlertDialog (Sonny Piers)
176
+ - Emit warnings for deprecated APIs - lsp and compiler
177
+ - lsp: Document symbols
178
+ - lsp: "Go to definition" (ctrl+click)
179
+ - lsp: Code action for "namespace not imported" diagnostics, that adds the missing import
180
+ - Add a formatter - cli and lsp (Gregor Niehl)
181
+ - Support for translation domain - see documentation
182
+ - cli: Print code actions in error messages
183
+
184
+ ## Changed
185
+
186
+ - compiler: Add a header notice mentionning the file is generated (Urtsi Santsi)
187
+ - decompiler: Use single quotes for output
188
+
189
+ ## Fixed
190
+
191
+ - Fixed multine strings support with the escape newline character
192
+ - lsp: Fixed the signal completion, which was missing the "$"
193
+ - lsp: Fixed property value completion (Ivan Kalinin)
194
+ - lsp: Added a missing semantic highlight (for the enum in Gtk.Scale marks)
195
+ - Handle big endian bitfields correctly (Jerry James)
196
+ - batch-compile: Fix mixing relative and absolute paths (Marco Köpcke )
197
+
198
+ ## Documentation
199
+
200
+ - Fix grammar for bindings
201
+ - Add section on referencing templates
202
+
203
+ # v0.10.0
204
+
205
+ ## Added
206
+
207
+ - The hover documentation now includes a link to the online documentation for the symbol, if available.
208
+ - Added hover documentation for the Adw.Breakpoint extensions, `condition` and `setters`.
209
+
210
+ ## Changed
211
+
212
+ - Decompiling an empty file now produces an empty file rather than an error. (AkshayWarrier)
213
+ - More relevant documentation is shown when hovering over an identifier literal (such as an enum value or an object ID).
214
+
215
+ ## Fixed
216
+
217
+ - Fixed an issue with the language server not conforming the spec. (seshotake)
218
+ - Fixed the signature section of the hover documentation for properties and signals.
219
+ - Fixed a bug where documentation was sometimes shown for a different symbol with the same name.
220
+ - Fixed a bug where documentation was not shown for accessibility properties that contain `-`.
221
+ - Number literals are now correctly parsed as floats if they contain a `.`, even if they are divisible by 1.
222
+
223
+ ## Removed
224
+
225
+ - The `bind-property` keyword has been removed. Use `bind` instead. The old syntax is still accepted with a warning.
226
+
227
+ ## Documentation
228
+
229
+ - Fixed the grammar for Extension, which was missing ExtAdwBreakpoint.
230
+
231
+
232
+ # v0.8.1
233
+
234
+ ## Breaking Changes
235
+
236
+ - Duplicates in a number of places are now considered errors. For example, duplicate flags in several places, duplicate
237
+ strings in Gtk.FileFilters, etc.
238
+
239
+ ## Fixed
240
+
241
+ - Fixed a number of bugs in the XML output when using `template` to refer to the template object.
242
+
243
+ ## Documentation
244
+
245
+ - Fixed the example for ExtListItemFactory
246
+
247
+ # v0.8.0
248
+
249
+ ## Breaking Changes
250
+
251
+ - A trailing `|` is no longer allowed in flags.
252
+ - The primitive type names `gboolean`, `gchararray`, `gint`, `gint64`, `guint`, `guint64`, `gfloat`, `gdouble`, `utf8`, and `gtype` are no longer permitted. Use the non-`g`-prefixed versions instead.
253
+ - Translated strings may no longer have trailing commas.
254
+
255
+ ## Added
256
+
257
+ - Added cast expressions, which are sometimes needed to specify type information in expressions.
258
+ - Added support for closure expressions.
259
+ - Added the `--typelib-path` command line argument, which allows adding directories to the search path for typelib files.
260
+ - Added custom compile and decompile commands to the language server. (Sonny Piers)
261
+ - Added support for [Adw.MessageDialog](https://gnome.pages.gitlab.gnome.org/libadwaita/doc/1-latest/class.MessageDialog.html#adwmessagedialog-as-gtkbuildable) custom syntax.
262
+ - Added support for inline sub-templates for [Gtk.BuilderListItemFactory](https://docs.gtk.org/gtk4/class.BuilderListItemFactory.html). (Cameron Dehning)
263
+ - Added support for [Adw.Breakpoint](https://gnome.pages.gitlab.gnome.org/libadwaita/doc/main/class.Breakpoint.html) custom syntax.
264
+ - Added a warning when an object ID might be confusing.
265
+ - Added support for [Gtk.Scale](https://docs.gtk.org/gtk4/class.Scale.html#gtkscale-as-gtkbuildable) custom syntax.
266
+
267
+ ## Changed
268
+
269
+ Some of these changes affect syntax, but the old syntax is still accepted with a purple "upgrade" warning, so they are not breaking changes yet. In editors that support code actions, such as Visual Studio Code, the blueprint language server can automatically fix these warnings.
270
+
271
+ - The XML output uses the integer value rather than GIR name for enum values.
272
+ - Compiler errors are now printed to stderr rather than stdout. (Sonny Piers)
273
+ - Introduced `$` to indicate types or callbacks that are provided in application code.
274
+ - Types that are provided by application code are now begin with a `$` rather than a leading `.`.
275
+ - The handler name in a signal is now prefixed with `$`.
276
+ - Closure expressions, which were added in this version, are also prefixed with `$`.
277
+ - When a namespace is not found, errors are supressed when the namespace is used.
278
+ - The compiler bug message now reports the version of blueprint-compiler.
279
+ - The `typeof` syntax now uses `<>` instead of `()` to match cast expressions.
280
+ - Menu sections and subsections can now have an ID.
281
+ - The interactive porting tool now ignores hidden folders. (Sonny Piers)
282
+ - Templates now use the typename syntax rather than an ID to specify the template's class. In most cases, this just means adding a `$` prefix to the ID, but for GtkListItem templates it should be shortened to ListItem (since the Gtk namespace is implied). The template object is now referenced with the `template` keyword rather than with the ID.
283
+
284
+ ## Fixed
285
+
286
+ - Fixed a bug in the language server's acceptance of text change commands. (Sonny Piers)
287
+ - Fixed a bug in the display of diagnostics when the diagnostic is at the beginning of a line.
288
+ - Fixed a crash that occurred when dealing with array types.
289
+ - Fixed a bug that prevented Gio.File properties from being settable.
290
+
291
+ ## Documentation
292
+
293
+ - Added a reference section to the documentation. This replaces the Examples page with a detailed description of each syntax feature, including a formal specification of the grammar.
294
+
295
+ # v0.6.0
296
+
297
+ ## Breaking Changes
298
+ - Quoted and numeric literals are no longer interchangeable (e.g. `"800"` is no longer an accepted value for an
299
+ integer type).
300
+ - Boxed types are now type checked.
301
+
302
+ ## Added
303
+ - There is now syntax for `GType` literals: the `typeof()` pseudo-function. For example, list stores have an `item-type`
304
+ property which is now specifiable like this: `item-type: typeof(.MyDataModel)`. See the documentation for more details.
305
+
306
+ ## Changed
307
+ - The language server now logs to stderr.
308
+
309
+ ## Fixed
310
+ - Fix the build on Windows, where backslashes in paths were not escaped. (William Roy)
311
+ - Remove the syntax for specifying menu objects inline, since it does not work.
312
+ - Fix a crash in the language server that was triggered in files with incomplete `using Gtk 4.0;` statements.
313
+ - Fixed compilation on big-endian systems.
314
+ - Fix an issue in the interactive port tool that would lead to missed files. (Frank Dana)
315
+
316
+ ## Documentation
317
+ - Fix an issue for documentation contributors where changing the documentation files would not trigger a rebuild.
318
+ - Document the missing support for Gtk.Label `<attributes>`, which is intentional, and recommend alternatives. (Sonny
319
+ Piers)
320
+ - Add a prominent warning that Blueprint is still experimental
321
+
322
+
323
+ # v0.4.0
324
+
325
+ ## Added
326
+ - Lookup expressions
327
+ - With the language server, hovering over a diagnostic message now shows any
328
+ associated hints.
329
+
330
+ ## Changed
331
+ - The compiler now uses .typelib files rather than XML .gir files, which reduces
332
+ dependencies and should reduce compile times by about half a second.
333
+
334
+ ## Fixed
335
+ - Fix the decompiler/porting tool not importing the Adw namespace when needed
336
+ - Fix a crash when trying to compile an empty file
337
+ - Fix parsing of number tokens
338
+ - Fix a bug where action widgets did not work in templates
339
+ - Fix a crash in the language server that occurred when a `using` statement had
340
+ no version
341
+ - If a compiler bug is reported, the process now exits with a non-zero code