Initial Rust highlighting support
* Basic support for the language
* Line comments (`//`)
* Block comments (`/* */`), but no recursion
* Chars
* Strings (`"..."`)
* Raw strings (`r"..."`, `r#"..."#`, up to 5 levels)
* Added some Rust syntax test files
Co-authored-by: Romain Failliot <romain.failliot@foolstep.com>
Here we strip away Linux-only stuff so devs
can create a local "Mac build".
There might be other Linux-only stuff that
are not needed on Mac still. Follow-ups are
welcome.
* Linters can be run sooner (before install)
* Moved some constants in the config file
* Added a new keyword in the config syntax: "option"
* Better messages when an error occurs while parsing the config
* The entry point (`__main__`) is in diffuxe.in
* The main (almost all) code is now in main.py
* Some util functions and variables are in utils.py
* Following the same folder structure as with a new project with GNOME
Builder:
- `src/` is now just for the code itself
- `data/` is for the other files (metainfo, desktop, config, ...)
- `po/` for the translations
- The Desktop file is renamed with the app ID
- The `meson.build` files are closer to what GNOME Builder generates
- More tests for the package (appstream and desktop)
- Almost all the files in `etc/`, `usr/` are properly handled by
meson now
- Just use `gettext.install()` to initialize gettext
- Remove call to `Gtk.Window.set_default_icon_name()`
* Website now points to https://mightycreak.github.io/diffuse/