Linux style brackets are now used also for source files.
One line blocks can now be without brackets.
Example:
if (test)
foo();
Multi-line if statements are now written with conditionals (||, &&, ...)
at the end of line. The last line of if body does not ends with closing
bracket, instead the closing bracket is written on separate line.
One line blocks in multi-line if statements should not be without brackets.
Example:
if (test ||
test2 &&
test3
) {
foo();
}
[ci skip]
It's mostly just copied implementation from qtwebkit-plugins repo.
Spellcheck is only very basic.
Spellcheck will be automaticaly compiled if pkg-config detects
installed hunspell library.