Citron/src/yuzu
yzct12345 001675dced
logging: Simplify and make thread-safe
This simplifies the logging system.

This also fixes some lost messages on startup.

The simplification is simple. I removed unused functions and moved most things in the .h to the .cpp. I replaced the unnecessary linked list with its contents laid out as three member variables. Anything that went through the linked list now directly accesses the backends. Generic functions are replaced with those for each specific use case and there aren't many. This change increases coupling but we gain back more KISS and encapsulation.

With those changes it was easy to make it thread-safe. I just removed the mutex and turned a boolean atomic. I was planning to use this thread-safety in my next PR about stacktraces. It was actually async-signal-safety at first but I ended up using a different approach. Anyway getting rid of the linked list is important for that because have the list of backends constantly changing complicates things.
2021-08-13 18:39:45 +00:00
..
applets qt_web_browser: Fix lambda capture for HIDButton 2021-07-27 11:31:12 -04:00
configuration Merge pull request #6839 from ameerj/frame-cap-positon 2021-08-09 12:32:07 -07:00
debugger logging: Simplify and make thread-safe 2021-08-13 18:39:45 +00:00
util limitable_input_dialog: Implement character limiter 2021-06-06 09:07:55 +02:00
about_dialog.cpp General: Resolve fmt specifiers to adhere to 8.0.0 API where applicable 2021-06-23 13:48:21 -04:00
about_dialog.h qt: Add missing override specifiers where applicable 2018-08-06 13:29:14 -04:00
aboutdialog.ui yuzu/main: Fix version info in logging and about dialog 2021-05-16 22:17:17 -04:00
bootmanager.cpp renderers: Add explicit invert_y bool to screenshot callback 2021-07-28 21:46:08 -04:00
bootmanager.h bootmanager: Use std::stop_source for stopping emulation 2021-06-22 00:04:57 -03:00
CMakeLists.txt applets: Append qt_ prefix to Qt frontend applets 2021-07-14 01:07:09 -04:00
compatdb.cpp general: Fix various spelling errors 2021-01-02 10:23:41 -05:00
compatdb.h compatdb: Use a seperate endpoint for testcase submission 2018-10-28 13:23:02 +01:00
compatdb.ui Port web_service from Citra 2018-10-02 15:30:48 +02:00
compatibility_list.cpp yuzu: Move compatibility list specifics to their own source files 2018-09-09 19:45:25 -04:00
compatibility_list.h yuzu: Move compatibility list specifics to their own source files 2018-09-09 19:45:25 -04:00
discord.h Port web_service from Citra 2018-10-02 15:30:48 +02:00
discord_impl.cpp yuzu/discord_impl: Update the applicationID (#3977) 2020-05-22 18:26:26 +02:00
discord_impl.h Address a bunch of review comments 2018-10-02 15:30:48 +02:00
game_list.cpp game_list: Make game list folder icons smaller (#6762) 2021-08-01 12:59:36 -04:00
game_list.h main: Update Shader Cache menu options 2021-07-22 21:51:40 -04:00
game_list_p.h game_list: Make game list folder icons smaller (#6762) 2021-08-01 12:59:36 -04:00
game_list_worker.cpp file_sys: Support load game collection (#6582) 2021-07-20 01:10:05 -04:00
game_list_worker.h common: fs: Rework the Common Filesystem interface to make use of std::filesystem (#6270) 2021-05-25 19:32:56 -04:00
hotkeys.cpp yuzu/CMakeLists: Remove qt5_wrap_ui macro usage 2019-08-09 17:54:08 -04:00
hotkeys.h yuzu/hotkeys: Remove unnecessary constructor 2019-05-09 02:17:22 -04:00
Info.plist macOS: Update Info.plist 2018-01-13 23:11:51 +00:00
install_dialog.cpp Update the install and progress dialogs 2020-07-10 00:38:28 -04:00
install_dialog.h install_dialog: Make use of [[nodiscard]] where applicable 2020-09-23 13:22:04 -04:00
loading_screen.cpp frontend: Set minimum window size to 640x360 instead of 1280x720 (#3413) 2020-05-15 22:22:27 +02:00
loading_screen.h Fix mingw compile error and warnings 2019-01-21 09:39:45 -07:00
loading_screen.ui QT: Fix the loading screen 'H' switch logo to not glitch out 2019-02-05 18:24:15 -07:00
main.cpp logging: Simplify and make thread-safe 2021-08-13 18:39:45 +00:00
main.h Merge pull request #6575 from FernandoS27/new_settings 2021-07-25 11:45:45 -07:00
main.ui yuzu: Various frontend improvements to avoid crashes and improve experience on Linux. 2021-02-14 00:20:41 -08:00
uisettings.cpp Project Mjölnir: Part 1 2020-08-26 02:32:32 -04:00
uisettings.h game_list: Make game list folder icons smaller (#6762) 2021-08-01 12:59:36 -04:00
yuzu.qrc yuzu: Various frontend improvements to avoid crashes and improve experience on Linux. 2021-02-14 00:20:41 -08:00
yuzu.rc Fix: fatal error CVT1100 when compiling manifest file 2020-06-21 03:11:23 +02:00