• Jehan's avatar
    app: make the backtrace GUI actually work on Win32. · 4e5a5dbb
    Jehan authored
    It was previously untested, hence as expected needed fixes. First I add
    our own exception handler using Win32 API SetUnhandledExceptionFilter().
    Second, I reorder things so that ExcHndlInit() is run after this setter,
    since they will be executed as a FILO and we need backtraces to be
    generated before our separate GUI runs. Last I run the backtrace GUI as
    async. No need to keep the main GIMP waiting since the traces have
    already been generated into a separate file.
    
    Also replace gtk_show_uri() by the implementation taken straight from
    our web-browser plug-in, since apparently gtk_show_uri() doesn't work in
    Windows (and probably not macOS either since I see we have a separate
    implementation for this platform as well). I would like to be able to
    use the PDB but can't because this code needs to be usable both within
    the main process and into a separate tool process. Ideally, this should
    just be a utils function which could be included without a problem.
    4e5a5dbb
Name
Last commit
Last update
..
actions Loading commit data...
config Loading commit data...
core Loading commit data...
dialogs Loading commit data...
display Loading commit data...
file Loading commit data...
gegl Loading commit data...
gui Loading commit data...
menus Loading commit data...
operations Loading commit data...
paint Loading commit data...
pdb Loading commit data...
plug-in Loading commit data...
propgui Loading commit data...
tests Loading commit data...
text Loading commit data...
tools Loading commit data...
vectors Loading commit data...
widgets Loading commit data...
xcf Loading commit data...
.gitignore Loading commit data...
Makefile.am Loading commit data...
about.h Loading commit data...
app.c Loading commit data...
app.h Loading commit data...
errors.c Loading commit data...
errors.h Loading commit data...
gimp-debug.c Loading commit data...
gimp-debug.h Loading commit data...
gimp-intl.h Loading commit data...
gimp-log.c Loading commit data...
gimp-log.h Loading commit data...
gimp-priorities.h Loading commit data...
gimpcore.def Loading commit data...
language.c Loading commit data...
language.h Loading commit data...
main.c Loading commit data...
sanity.c Loading commit data...
sanity.h Loading commit data...
signals.c Loading commit data...
signals.h Loading commit data...
tests.c Loading commit data...
tests.h Loading commit data...
unique.c Loading commit data...
unique.h Loading commit data...
version.c Loading commit data...
version.h Loading commit data...