summaryrefslogtreecommitdiff
path: root/Source/Core/Common/MsgHandler.cpp
AgeCommit message (Collapse)Author
2019-07-20Improve thread safety and remove an unnecessary string allocation from MsgAlertSilent
s_msg_handler still seems thread unsafe, not sure if it should be or not
2019-06-19Common/MsgHandler: Namespace code within the Common namespaceLioncash
Closes another gap in the Common library where code isn't being namespaced under it.
2019-06-19Common/MsgHandler: Brace if statement in MsgAlertLioncash
The condition travels more than one line, so the body should be braced. While we're at it, make the comparison against nullptr explicit.
2019-06-19Common/MsgHandler: Use std::string's empty for emptiness checking in MsgAlertLioncash
Provides more straightforward code compared to negating a length check.
2019-06-16Common/MsgHandler: Amend file-scope variable namesLioncash
Makes them follow our coding style.
2019-06-16Common/MsgHandler: Make default message handler and translator's internally ↵Lioncash
linked Previously these functions were declared without the static specifier, giving them external linkage, which isn't really ideal. Instead, we can place these functions up by the relevant file-scope variables and place them inside an anonymous namespace with said variables, giving them internal linkage.
2019-06-16Common/MsgHandler: Use fmt::print on non-Windows OSesLioncash
Provides the same behavior.
2018-08-07Cleanup: Remove some left over references to wxWidgetsspycrab
2017-08-03MsgHandler: small cleanupMichael M
2017-01-23Add includes for building on Windows without PCHMichael Maltese
2016-06-24Reformat all the things. Have fun with merge conflicts.Pierre Bourdon
2015-11-20Mark more strings for translationJosJuice
2015-11-08NoGui: Return no to yes/no panic alerts.Scott Mansell
Also, print to stderr instead of stdio.
2015-09-28Fix building with PCH disabled.Rohit Nirmal
2015-09-26Common: Remove other Common prefixed headers from Common.hLioncash
2015-05-25Set copyright year to when a file was createdTillmann Karras
2015-05-25Update license headers to GPLv2+Tillmann Karras
2015-02-25Formatting/Whitespace CleanupStevoisiak
Various fixes to formatting and whitespace
2014-09-08Include CommonTypes.h instead of Common.h.Rohit Nirmal
2014-03-11Fixes spacing for "for", "while", "switch" and "if"Matthew Parlane
Also moved && and || to ends of lines instead of start. Fixed misc vertical alignments and some { needed newlining.
2014-02-22Make Common/ mostly IWYU clean (and fix errors in rest of the project ↵Pierre Bourdon
detected by this change).
2014-02-18Convert all includes to relative paths.Lioncash
2013-12-31Remove unnecessary Src/ foldersJasper St. Pierre