Commit graph

265 commits

Author SHA1 Message Date
Gleb Smirnov
98bb9e3008 fix: don't check on confusing object ID in signal node 2022-01-17 05:37:17 +00:00
Gleb Smirnov
4d3c2569c4 decompiler: add support for signal's object attribute 2022-01-17 05:37:17 +00:00
Gleb Smirnov
bce852020c feat: add support for signal's object attribute
Closes a half of #26
2022-01-17 05:37:17 +00:00
James Westman
6b78338d1a
Make template parent optional
Not recommended, since you lose some type checking.
2022-01-16 21:08:16 -06:00
James Westman
1897478480
tests: Exclude lines from coverage
Exclude things like "raise NotImplementedError" and compiler bug
handlers.
2022-01-16 20:59:11 -06:00
James Westman
85150d397b
gir: Fix assignable_to for interface implementations
Part of #29
2022-01-11 22:37:24 -06:00
James Westman
8e1a9f72dd
parser: Merge consecutive "Unexpected tokens" errors
Fixes #24
2021-12-16 23:18:31 -06:00
James Westman
5b76a3b8dd
Clean up some unused code 2021-12-16 22:08:04 -06:00
James Westman
34e78de338
decompiler: Support GtkFileFilter tags 2021-12-15 11:32:33 -06:00
Tijder
168b87bb4a Add bind for bidirectional 2021-12-14 19:59:09 +00:00
James Westman
d23c06b8fd
lsp: Fix text encoding issue
Content-Length is the number of bytes in the message, but the JSONRPC
code was interpreting it as a number of characters (when both reading and
writing), which caused it to fail on multibyte UTF-8 characters.
2021-12-06 11:46:33 -06:00
James Westman
08f7a4ebbd
Update completion snippets 2021-12-06 10:26:53 -06:00
James Westman
1f677725d8
interactive_port: Ignore "_build" and "build" dirs
Fixes #15
2021-12-04 19:14:04 -06:00
James Westman
8e4433a487
Create an interactive porting tool
`blueprint-compiler port` interactively ports a project to blueprint.
It will create the subproject wrap file, add it to .gitignore, decompile
your GtkBuilder XML files, emit code to copy and paste into your
meson.build file, and update POTFILES.in.

It can't quite handle all of the features the forward compiler can, so
it will skip those files.
2021-12-01 23:38:28 -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