Modernize coding style and document it in the Git tree
We should document our coding style in the Git tree (currently it's at https://wiki.gnome.org/Projects/Tracker/Documentation/CodingStyle)
We may also want to modernize some things:
- do we recommend or disallow
g_auto
andg_autoptr
? (We use it in a couple of places already; it means we are GCC/Clang only) - do we use C99 standard or C89 standard? (it means we drop support for MSVC)
- We currently avoid mixing code and variable declarations, we could start to do this if we allowed C99
My opinion is that nobody has ever expressed interest in building Tracker on Windows, so it's fine to require GCC/Clang and we should embrace autoptrs and C99.