Age | Commit message (Collapse) | Author |
|
Of course, quite a few of them indirectly get it through other header
files.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
|
|
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
|
|
And make export-html build again.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
|
|
No point in having it defined in each main program's .cpp. Especially
since the unit tests don't define them.
Signed-off-by: Thiago Macieira <thiago@macieira.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
|
|
Otherwise they will always be empty.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
|
|
We need to instantiate the window title updater...
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
|
|
When just assigning one structure to the other we copy the string
pointers. If we then modify those strings in the copy, we happily free
the strings of the original. And then resetting the preferences equally
happily reused those strings, pointing to long since freed memory.
I think what I did now is excessive for the current use case in that it
copies a ton of strings that are unset in the default_prefs. But I figured
this is a rarely used function and I might as well do it correctly.
Also, once we implement multi user support with per user preferences we
will be copying completely populated preferences around (at least that's
my guess).
Fixes #940
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
|
|
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
|
|
There's no point in trying to export after not being able to read the data
in the first place.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
|
|
We don't need them and they can cause the application to crash when called
in a git hook.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
|
|
Also update the exporter to match the latest changes in the Subsurface
code.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
|
|
This is mostly a proof of concept right now; it shows that it is possible
to create a headless server application that exports a git repository
based data file as html.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
|