summaryrefslogtreecommitdiff
path: root/src/error_gui.cpp
AgeCommit message (Collapse)Author
2021-06-13Change: unify the style of console error messages and convert to fmtrubidium42
Always start with a capital, do not add "ERROR: " in front of it.
2021-06-13Codechange: add std::string accepting SetDParamStr to ErrorMessageDatarubidium42
2021-05-29Fix f6d5c01: Delay deletion when closing windowsglx22
2021-03-14Fix: errors during bootstrap could still show up after bootstrapPatric Stout
For example, if you have a config that defines OpenGFX as baseset but for some reason you have no basesets anymore. In that case bootstrap downloads OpenGFX for you, but it will still show the error that "OpenGFX was not found" after the bootstrap. This was an error generated before the bootstrapped kicked in. Simply muting all errors during bootstrap solves this; as we cannot show them anyway, this is fine. Any errors that remain after bootstrap will be generated again anyway.
2021-01-10Fix: Use realtime for error message and console backlog timeoutsglx22
2021-01-08Codechange: Remove min/max functions in favour of STL variants (#8502)Charles Pigott
2020-09-24Feature: Make news and errors close hotkeys configurabledP
2020-07-27Codechange: Spell 'Viewport' consistentlyTechGeekNZ
Some places in the codebase misspell 'Viewport' as 'ViewPort' or 'view_port'. This patch makes everything consistent.
2019-11-14Fix: Out of bounds tile access in ErrmsgWindow::OnInitialPositionJonathan G Rennison
This fixes part A of #7619, but not part B. Vehicle::x_pos and Vehicle::y_pos are not required to be within the map bounds. See also: GetTileHeightBelowAircraft()
2019-11-10Cleanup: Removed SVN headersS. D. Cloudt
2019-10-06Fix 71a3e8346: strings need to be copied too.Michael Lutz
If it's not, iterating on it in a loop is quite pointless.
2019-10-04Fix 71a3e8346: decode_params need to be copied too (#7760)glx22
2019-09-30Fix: GCC9's warnings about deprecated implicit assignment operatorsCharles Pigott
2019-04-10Codechange: Use null pointer literal instead of the NULL macroHenry Wilson
2019-03-24Codechange: Use override specifier in Window-derived classes.peter1138
2018-10-31Doc: Lots and lots of doxymentation fixesCharles Pigott
2015-06-20(svn r27307) -Fix [FS#6259]: Error message window with manager face failed ↵frosch
with GUI zoom. (Johnnei)
2014-04-25(svn r26509) -Codechange: replace strdup with stredup (the latter ensures ↵rubidium
the return is not NULL)
2014-04-23(svn r26482) -Codechange: add an include that allows us to undefine/redefine ↵rubidium
"unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
2014-01-12(svn r26241) -Codechange: Remember the GRFFile which filled the TextRefStack ↵frosch
in the TextRefStack.
2013-08-05(svn r25668) -Codechange: Pass proper Unicode UCS-4 characters instead of ↵michi_cc
just UCS-2 to the window key press handlers.
2013-05-26(svn r25290) -Add: Assign string names to notable windows.frosch
2013-05-26(svn r25287) -Codechange: Keep a reference to the WindowDesc in the Window ↵frosch
after construction.
2013-01-08(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by ↵planetmaker
Eagle_rainbow)
2012-07-08(svn r24388) -Fix [FS#5233]: Do not consider not finding a particular base ↵frosch
set critical; just load a different one and display an in-game error later on.
2012-05-14(svn r24250) -Fix [FS#5154]: Do not immediately display error messages from ↵frosch
parsing the cfg file, but schedule them for displaying after the GUI is prepared for it.
2012-05-14(svn r24249) -Codechange: Split the extraction of current DParams from the ↵frosch
ErrorMessageData constructor into a separate function.
2012-05-14(svn r24248) -Codechange: Move ErrorMessageData class definition to header file.frosch
2012-01-15(svn r23803) -Fix [FS#4969]: newgrf textstack was not properly used when ↵yexo
storing parameters for the error message window
2011-12-17(svn r23583) -Codechange: prevent name collision with strgen variablerubidium
2011-12-16(svn r23531) -Codechange: document and rename widgets to be consistent and ↵truebrain
understandable
2011-12-15(svn r23528) -Codechange: move widget enums to widgets/NNN_type.htruebrain
2011-12-11(svn r23493) -Fix (r23476): clearing errors didn't clear the currently shown ↵rubidium
critical error
2011-12-10(svn r23479) -Codechange: keep a copy of raw strings from the parameters of ↵rubidium
the error messages
2011-12-10(svn r23476) -Codechange: use the error queue to replace switch mode error ↵rubidium
strings, again making it possible to return multiple errors
2011-12-10(svn r23475) -Codechange: queue critical error messages, so when multiple ↵rubidium
happen you won't miss any
2011-12-10(svn r23474) -Codechange: move the declaration error related functions to ↵rubidium
error.h
2011-12-10(svn r23473) -Codechange: refactor the error message data into a separate ↵rubidium
structure
2011-12-10(svn r23471) -Codechange: move the error related code out of misc_gui.cpp ↵rubidium
into error_gui.cpp