James Westman
e9d61cb6f9
Update URLs after move to GNOME namespace on GitLab
2025-04-25 18:29:55 -05:00
Marco Capypara Köpcke
f1cf70b6eb
xgettext compatibility: Output 'yes' for translatable
2024-07-04 22:29:16 +02:00
gregorni
9cfacb9898
Apply isort and black formatting everywhere
2023-12-13 01:36:18 +00:00
Urtsi Santsi
1371dec494
Use the updated test repo
2023-09-17 02:25:39 +03:00
James Westman
883a136103
Fix parsing decimals
...
A number literal is a float if it contains ".", not if it is divisible
by 1. For example, 1.0 should be considered a float literal.
2023-07-20 19:25:25 -05:00
gregorni
3730e2e726
Add isort to CI and run on files
2023-07-09 14:26:37 +00:00
James Westman
9346ee039e
ci: Fuzzer is no longer allowed to fail
2023-05-13 19:57:45 -05:00
James Westman
5bfed72674
Update regression tests
2023-04-12 21:24:18 -05:00
James Westman
1df46b5a06
Change the way values work
...
Change the parsing for values to make them more reusable, in particular
for when I implement extensions.
2023-01-12 15:49:19 -06:00
James Westman
039d88ab45
Fix CI
2022-12-19 15:41:29 -06:00
James Westman
6c67e1fc5a
xml: Fix flags and enums
...
GtkBuilder XML uses enum nicknames, full names, or integer values, but
we accept GIR names, so passing those through doesn't work if the name
has an underscore (which traditionally turns into a dash in the
nickname). Avoid the problem by always writing the integer value of the
enum member.
2022-12-19 15:15:25 -06:00
James Westman
8a1dba662a
ci: Run tests with G_DEBUG=fatal-warnings
2022-12-19 15:15:24 -06:00
James Westman
83a7503e3a
ci: Check formatting
2022-12-19 12:06:48 -06:00
James Westman
6a36d92380
ci: Update regression tests
2022-11-29 11:17:36 -06:00
James Westman
0b8012b8e1
Support Python 3.9
...
Remove the '|' syntax for type unions, since it's a 3.10 feature, and
set mypy to check with version 3.9.
2022-10-27 13:16:18 -05:00
James Westman
a24f16109f
Separate output into its own module
2022-10-15 19:40:47 -05:00
James Westman
c0c40b1577
language: Support boxed types and GType
...
- Add support for type checking boxed types
- Remove support for converting string and number literals
- Add the `typeof()` operator for GType literals
2022-10-06 13:03:33 -05:00
James Westman
15496353de
ci: Update regression tests
2022-10-04 16:12:31 -05:00
James Westman
12c1c7b8d6
docs: Fix build setting
...
The docs need to be set to build_always_stale so you don't need to
delete the directory to rebuild them. This also means we want to disable
build_by_default.
2022-10-03 20:27:07 -05:00
James Westman
9542f72ce2
Ci: Update coverage configuration
2022-07-08 10:30:03 -05:00
James Westman
06f54c8ff8
Use typelib instead of XML
...
For normal compilation, use .typelib files rather than .gir XML files.
This is much faster.
Rather than using libgirepository, which would try to actually load the
libraries, we use a custom parser.
The language server will still read XML because it needs to access
documentation, which is not in the typelib, but that's generally fine
because it's a long lived process and only has to do that once.
2022-06-25 00:15:20 -05:00
James Westman
fac311d3c3
Update regression tests
2022-06-09 15:06:38 -05:00
James Westman
9c5e697119
ci: Lock regression test repo to a specific commit
...
That way, changes to blueprint-regression-tests don't break CI for
unrelated commits (they should instead break the commit that updates
this `git checkout` line).
2022-06-09 00:07:13 -05:00
James Westman
4e1398f238
ci: Add coverage
2022-04-30 16:33:55 -05:00
James Westman
9144ac67f0
tests: Add fuzz test
2022-04-18 20:22:31 -05:00
James Westman
8ba4742efe
ci: Add regression testing
...
Fixes #19
2022-01-16 22:34:36 -06:00
James Westman
a74779326b
ci: Use a custom image
...
Use a custom image for CI to reduce build times.
2022-01-16 22:02:00 -06:00
James Westman
544d152fb6
Rename to blueprint-compiler
...
This isn't an official GTK project so better to avoid using "GTK" in the
name.
2021-12-01 15:35:58 -06:00
James Westman
a0ba59af77
ci: Integrate coverage with GitLab CI
2021-11-04 00:19:07 -05:00
James Westman
08a74acb37
ci: Generate test coverage report
2021-11-03 23:30:04 -05:00
James Westman
89ff88881b
ci: Fix dependencies
2021-10-30 18:49:38 -05:00
James Westman
c1ee4151d0
ci: Build and publish docs
2021-10-27 11:28:47 -05:00
James Westman
f2f6bcc198
Run mypy in CI
2021-10-26 23:14:33 -05:00
James Westman
419faf0362
Use meson instead of setup.py
...
This project will usually be used as a subproject, so it needs a meson
file, and I'd like to not support two different buildsystems.
2021-10-22 23:27:19 -05:00
James Westman
2ad2f1c54a
Add CI
2021-10-18 12:46:49 -05:00