32#ifndef TROUBLESHOOTINGCHECKS_H
33#define TROUBLESHOOTINGCHECKS_H
163bool IsPngData(
const unsigned char *data, std::size_t size);
TroubleshootingCheck
One thing the troubleshooting dialog checks. The order is the display order.
Definition: TroubleshootingChecks.h:42
@ wxMaximaHtmlManual
wxMaxima's own HTML manual exists
@ maximaInfoManual
Maxima's info manual (used by ? and describe())
@ maximaConnects
Maxima connects to our server.
@ translations
The translation of wxMaxima's texts was found.
@ helpSidebar
The integrated help browser can be offered.
@ svgText
wxWidgets' SVG renderer draws text (scalable plots)
@ maximaHtmlManual
Maxima's HTML manual exists.
@ loadPackage
Maxima can load a package from its share directory.
@ maximaStops
Maxima can be stopped from wxMaxima.
@ maximaFound
The configured Maxima program exists.
@ gnuplotPng
gnuplot can draw a png file
@ externalBrowser
Something can open the manual in a web browser.
@ firstPrompt
Maxima sends its first prompt.
@ authentication
Maxima proves it is the Maxima we started.
@ gnuplotFound
The gnuplot program exists.
@ tempDir
Maxima's temp directory is usable for plots.
@ gnuplotPngCairo
gnuplot can draw a pngcairo file (nicer plots)
@ maximaStarts
The Maxima program can be run and stays alive.
@ helpKnowsManual
wxMaxima's help finds Maxima's manual
@ server
We can open the local server Maxima connects to.
@ aiSidebar
The AI chat sidebar can be offered.
@ loadDraw
Maxima can load draw, which most wxMaxima plots use.
@ count
Not a check: the number of checks.
@ bidiText
libfribidi handles lines mixing both text directions
bool GnuplotLacksTerminal(const wxString &gnuplotErrors)
True if gnuplot's error output says that it doesn't know a terminal.
Definition: TroubleshootingChecks.cpp:293
TroubleshootingSection
The groups the dialog shows the checks in, one page each.
Definition: TroubleshootingChecks.h:86
@ userInterface
Translations and the AI sidebar (not "interface": a macro on MSW)
@ help
The manuals and where help is shown.
@ maxima
Starting and talking to Maxima.
TroubleshootingStatus
What a check found.
Definition: TroubleshootingChecks.h:71
@ warning
Works, but not fully: some feature won't.
@ info
Not a problem, but worth knowing (e.g.
@ skipped
Couldn't be run, since a check it depends on failed.
wxString GnuplotSingleQuoted(const wxString &path)
A path as a single-quoted gnuplot string: gnuplot doubles a quote inside one.
Definition: TroubleshootingChecks.cpp:287
wxString TroubleshootingProbeValue(const wxString &text, const wxString &key, bool *found)
The value a probe query printed, as "wxprobe-<key>=<value>" on a line of its own.
Definition: TroubleshootingChecks.cpp:250
wxString TroubleshootingReport(const std::vector< TroubleshootingResult > &results)
The report the dialog copies to the clipboard, to be pasted into a bug report.
Definition: TroubleshootingChecks.cpp:239
bool PathHasQuote(const wxString &path)
True if a path contains a character draw can't cope with in its temp dir (GH #1106)
Definition: TroubleshootingChecks.cpp:273
std::vector< TroubleshootingSection > AllTroubleshootingSections()
All sections, in the order they are shown.
Definition: TroubleshootingChecks.cpp:134
wxString TroubleshootingStatusSymbol(TroubleshootingStatus status)
The Unicode symbol the dialog shows in front of a status.
Definition: TroubleshootingChecks.cpp:114
wxString TroubleshootingSectionTitle(TroubleshootingSection section)
The (translated) name of a section.
Definition: TroubleshootingChecks.cpp:176
wxString TroubleshootingStatusName(TroubleshootingStatus status)
The (translated) word the dialog shows for a status.
Definition: TroubleshootingChecks.cpp:94
bool IsPngData(const unsigned char *data, std::size_t size)
True if data starts with the signature every PNG file starts with.
Definition: TroubleshootingChecks.cpp:277
TroubleshootingStatus TroubleshootingSummaryStatus(const std::vector< TroubleshootingStatus > &statuses)
The status that sums up a section.
Definition: TroubleshootingChecks.cpp:193
std::vector< TroubleshootingCheck > AllTroubleshootingChecks()
All checks, in the order they are shown.
Definition: TroubleshootingChecks.cpp:31
TroubleshootingSection TroubleshootingSectionOf(TroubleshootingCheck check)
The section a check is shown in.
Definition: TroubleshootingChecks.cpp:141
wxString TroubleshootingCheckTitle(TroubleshootingCheck check)
The (translated) one-line name of a check.
Definition: TroubleshootingChecks.cpp:38
Definition: wxMathml.h:37
The result of one check.
Definition: TroubleshootingChecks.h:95
wxString details
What was found: paths, versions, error messages, ...
Definition: TroubleshootingChecks.h:99
wxString hint
What the user can do about a problem. Empty if there is none.
Definition: TroubleshootingChecks.h:101