blueprint-compiler/tests/samples
James Westman c1a82a034b decompiler: Add more decompilable tags
Add more tags to the list of things the decompiler can handle. This
required some changes to track the containing object class in the
DecompileCtx, since some objects use the same tag names.

The improved support means we can test the decompiler on most of the
test suite. Any new test samples will by default be tested to ensure the
decompiler produces the original blueprint file.

Also, updated the decompiler to always use double quotes.
2024-07-26 23:05:37 -05:00
..
accessibility.blp decompiler: Add more decompilable tags 2024-07-26 23:05:37 -05:00
accessibility.ui xgettext compatibility: Output 'yes' for translatable 2024-07-04 22:29:16 +02:00
accessibility_dec.blp decompiler: Add more decompilable tags 2024-07-26 23:05:37 -05:00
action_widgets.blp decompiler: Add more decompilable tags 2024-07-26 23:05:37 -05:00
action_widgets.ui xgettext compatibility: Output 'yes' for translatable 2024-07-04 22:29:16 +02:00
adw_alertdialog_responses.blp decompiler: Add more decompilable tags 2024-07-26 23:05:37 -05:00
adw_alertdialog_responses.ui xgettext compatibility: Output 'yes' for translatable 2024-07-04 22:29:16 +02:00
adw_breakpoint.blp Add Adw.Breakpoint custom syntax 2023-05-08 10:11:40 -05:00
adw_breakpoint.ui xgettext compatibility: Output 'yes' for translatable 2024-07-04 22:29:16 +02:00
adw_breakpoint_template.blp Add test for recent bugfix 2024-07-22 20:38:58 -05:00
adw_breakpoint_template.ui Add test for recent bugfix 2024-07-22 20:38:58 -05:00
adw_messagedialog_responses.blp decompiler: Add more decompilable tags 2024-07-26 23:05:37 -05:00
adw_messagedialog_responses.ui xgettext compatibility: Output 'yes' for translatable 2024-07-04 22:29:16 +02:00
child_type.blp tests: Update to reflect current foramtting style 2023-12-29 02:30:13 +00:00
child_type.ui Add generated notice to test files 2023-09-17 02:25:39 +03:00
combo_box_text.blp Remove some semicolons 2021-11-30 21:04:35 -06:00
combo_box_text.ui xgettext compatibility: Output 'yes' for translatable 2024-07-04 22:29:16 +02:00
comments.blp tokenizer: Fix multiline comment regex 2021-11-25 18:43:33 -06:00
comments.ui xgettext compatibility: Output 'yes' for translatable 2024-07-04 22:29:16 +02:00
enum.blp Fix enums with "-"/"_" in the name 2021-11-24 14:57:34 -06:00
enum.ui Add generated notice to test files 2023-09-17 02:25:39 +03:00
expr_closure.blp decompiler: Add more decompilable tags 2024-07-26 23:05:37 -05:00
expr_closure.ui Add generated notice to test files 2023-09-17 02:25:39 +03:00
expr_closure_args.blp decompiler: Add more decompilable tags 2024-07-26 23:05:37 -05:00
expr_closure_args.ui Add generated notice to test files 2023-09-17 02:25:39 +03:00
expr_closure_dec.blp decompiler: Add more decompilable tags 2024-07-26 23:05:37 -05:00
expr_lookup.blp decompiler: Add more decompilable tags 2024-07-26 23:05:37 -05:00
expr_lookup.ui Add generated notice to test files 2023-09-17 02:25:39 +03:00
file_filter.blp decompiler: Add more decompilable tags 2024-07-26 23:05:37 -05:00
file_filter.ui Add generated notice to test files 2023-09-17 02:25:39 +03:00
flags.blp Fix type check for flags when only one is present 2022-03-02 13:57:30 -06:00
flags.ui Add generated notice to test files 2023-09-17 02:25:39 +03:00
gtkcolumnview.blp lang: Also allow Gtk.ListHeader in factory template 2024-05-04 12:27:12 -05:00
gtkcolumnview.ui lang: Also allow Gtk.ListHeader in factory template 2024-05-04 12:27:12 -05:00
id_prop.blp tests: Update to reflect current foramtting style 2023-12-29 02:30:13 +00:00
id_prop.ui Add generated notice to test files 2023-09-17 02:25:39 +03:00
issue_119.blp decompiler: Add more decompilable tags 2024-07-26 23:05:37 -05:00
issue_119.ui Add generated notice to test files 2023-09-17 02:25:39 +03:00
issue_119_dec.blp decompiler: Add more decompilable tags 2024-07-26 23:05:37 -05:00
layout.blp Add compilation tests 2021-10-31 23:36:20 -05:00
layout.ui Add generated notice to test files 2023-09-17 02:25:39 +03:00
layout_dec.blp decompiler: Add more decompilable tags 2024-07-26 23:05:37 -05:00
list_factory.blp decompiler: Add more decompilable tags 2024-07-26 23:05:37 -05:00
list_factory.ui output: Don't add @generated notice to subtemplates 2024-05-02 20:19:00 -05:00
menu.blp Update menu syntax 2023-04-12 21:44:07 -05:00
menu.ui xgettext compatibility: Output 'yes' for translatable 2024-07-04 22:29:16 +02:00
menu_dec.blp decompiler: Add more decompilable tags 2024-07-26 23:05:37 -05:00
multiline_string.blp tokenizer: Allow escaped newlines 2023-10-26 18:50:07 -05:00
multiline_string.ui tokenizer: Allow escaped newlines 2023-10-26 18:50:07 -05:00
multiline_string_dec.blp decompiler: Add more decompilable tags 2024-07-26 23:05:37 -05:00
numbers.blp Fix parsing decimals 2023-07-20 19:25:25 -05:00
numbers.ui Add generated notice to test files 2023-09-17 02:25:39 +03:00
numbers_dec.blp decompiler: Add more decompilable tags 2024-07-26 23:05:37 -05:00
object_prop.blp tests: Test XML outputs 2022-12-19 13:53:52 -06:00
object_prop.ui Add generated notice to test files 2023-09-17 02:25:39 +03:00
parseable.blp decompiler: Add more decompilable tags 2024-07-26 23:05:37 -05:00
parseable.ui Add generated notice to test files 2023-09-17 02:25:39 +03:00
placeholder.ui Add generated notice to test files 2023-09-17 02:25:39 +03:00
placeholder_dec.blp tests: Update to reflect current foramtting style 2023-12-29 02:30:13 +00:00
property.blp Improve value parsing 2021-11-01 21:51:25 -05:00
property.ui Add generated notice to test files 2023-09-17 02:25:39 +03:00
property_binding.blp Remove PropertyBinding rule, just use Binding 2023-07-20 18:46:45 -05:00
property_binding.ui Add generated notice to test files 2023-09-17 02:25:39 +03:00
property_binding_dec.blp decompiler: Use bind instead of bind-property 2024-06-29 13:32:34 +00:00
scale_marks.blp decompiler: Add more decompilable tags 2024-07-26 23:05:37 -05:00
scale_marks.ui xgettext compatibility: Output 'yes' for translatable 2024-07-04 22:29:16 +02:00
signal.blp signals: Support after keyword 2024-05-30 22:34:05 +00:00
signal.ui signals: Support after keyword 2024-05-30 22:34:05 +00:00
size_group.blp decompiler: Add more decompilable tags 2024-07-26 23:05:37 -05:00
size_group.ui Add generated notice to test files 2023-09-17 02:25:39 +03:00
string_array.blp decompiler: Add more decompilable tags 2024-07-26 23:05:37 -05:00
string_array.ui Support array type 2024-07-04 22:02:51 +00:00
string_list.blp decompiler: Add more decompilable tags 2024-07-26 23:05:37 -05:00
string_list.ui xgettext compatibility: Output 'yes' for translatable 2024-07-04 22:29:16 +02:00
strings.blp Parse escape sequences instead of using replace 2023-09-28 17:18:45 -05:00
strings.ui Parse escape sequences instead of using replace 2023-09-28 17:18:45 -05:00
strings_dec.blp decompiler: Add more decompilable tags 2024-07-26 23:05:37 -05:00
style.blp decompiler: Add more decompilable tags 2024-07-26 23:05:37 -05:00
style.ui Add generated notice to test files 2023-09-17 02:25:39 +03:00
style_dec.blp Create an interactive porting tool 2021-12-01 23:38:28 -06:00
subscope.blp decompiler: Add more decompilable tags 2024-07-26 23:05:37 -05:00
subscope.ui output: Don't add @generated notice to subtemplates 2024-05-02 20:19:00 -05:00
template.blp decompiler: Add more decompilable tags 2024-07-26 23:05:37 -05:00
template.ui Add generated notice to test files 2023-09-17 02:25:39 +03:00
template_bind_property.blp decompiler: Add more decompilable tags 2024-07-26 23:05:37 -05:00
template_bind_property.ui Add generated notice to test files 2023-09-17 02:25:39 +03:00
template_binding.blp decompiler: Add more decompilable tags 2024-07-26 23:05:37 -05:00
template_binding.ui Add generated notice to test files 2023-09-17 02:25:39 +03:00
template_binding_extern.blp decompiler: Add more decompilable tags 2024-07-26 23:05:37 -05:00
template_binding_extern.ui Add generated notice to test files 2023-09-17 02:25:39 +03:00
template_id.blp decompiler: Add more decompilable tags 2024-07-26 23:05:37 -05:00
template_id.ui Add generated notice to test files 2023-09-17 02:25:39 +03:00
template_id_dec.blp decompiler: Add more decompilable tags 2024-07-26 23:05:37 -05:00
template_no_parent.blp decompiler: Add more decompilable tags 2024-07-26 23:05:37 -05:00
template_no_parent.ui Add generated notice to test files 2023-09-17 02:25:39 +03:00
template_orphan.blp decompiler: Add more decompilable tags 2024-07-26 23:05:37 -05:00
template_orphan.ui Support template without parent 2024-07-04 22:14:16 +00:00
template_simple_binding.blp decompiler: Add more decompilable tags 2024-07-26 23:05:37 -05:00
template_simple_binding.ui Add generated notice to test files 2023-09-17 02:25:39 +03:00
translated.blp decompiler: Add more decompilable tags 2024-07-26 23:05:37 -05:00
translated.ui xgettext compatibility: Output 'yes' for translatable 2024-07-04 22:29:16 +02:00
translation_domain.blp decompiler: Add more decompilable tags 2024-07-26 23:05:37 -05:00
translation_domain.ui language: Add translation-domain 2023-12-13 23:43:29 +00:00
typeof.blp decompiler: Add more decompilable tags 2024-07-26 23:05:37 -05:00
typeof.ui Add generated notice to test files 2023-09-17 02:25:39 +03:00
uint.blp Fix uint properties 2021-11-24 14:46:49 -06:00
uint.ui Add generated notice to test files 2023-09-17 02:25:39 +03:00
unchecked_class.blp language: Change extern type syntax 2023-01-12 15:49:19 -06:00
unchecked_class.ui Add generated notice to test files 2023-09-17 02:25:39 +03:00
unchecked_class_dec.blp decompiler: Add more decompilable tags 2024-07-26 23:05:37 -05:00
using.blp tests: Update to reflect current foramtting style 2023-12-29 02:30:13 +00:00
using.ui Add generated notice to test files 2023-09-17 02:25:39 +03:00