Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2020-01-23 | common/logging: don't use regex for path trimming | BreadFish64 | 3 | -14/+23 | |
2019-11-15 | common/logging: Silence no return value warnings | ReinUsesLisp | 1 | -2/+6 | |
2019-09-22 | log: Add logging class for Cheat Engine | Zach Hilman | 2 | -0/+2 | |
This is better than just using something like Common.Filesystem or Common.Memory | |||||
2019-04-01 | general: Use deducation guides for std::lock_guard and std::unique_lock | Lioncash | 1 | -3/+3 | |
Since C++17, the introduction of deduction guides for locking facilities means that we no longer need to hardcode the mutex type into the locks themselves, making it easier to switch mutex types, should it ever be necessary in the future. | |||||
2019-03-02 | logging/backend: Make time_origin a class variable instead of a local static | Lioncash | 1 | -2/+1 | |
Moves local global state into the Impl class itself and initializes it at the creation of the instance instead of in the function. This makes it nicer for weakly-ordered architectures, given the CreateEntry() class won't need to have atomic loads executed for each individual call to the CreateEntry class. | |||||
2019-03-02 | logging/backend: Move CreateEntry into the Impl class | Lioncash | 2 | -29/+26 | |
This function is only ever used within this source file and makes it easier to remove static state in the following change. | |||||
2019-02-15 | Adressed review comments | B3n30 | 1 | -1/+2 | |
2019-02-15 | threadsafe_queue: Add WaitIfEmpty and use it in logging | B3n30 | 2 | -13/+8 | |
2019-02-12 | logging: Add Vulkan backend logging class type | ReinUsesLisp | 2 | -0/+2 | |
2018-12-07 | Backport review comment from citra-emu/citra#4418 | Tobias | 1 | -2/+2 | |
Original reason: As Windows multi-byte character codec is unspecified while we always assume std::string uses UTF-8 in our code base, this can output gibberish when the string contains non-ASCII characters. ::OutputDebugStringW combined with Common::UTF8ToUTF16W is preferred here. | |||||
2018-10-24 | logging/backend: Add missing services to the log filters | Lioncash | 2 | -0/+5 | |
Just a few overlooked services. | |||||
2018-10-21 | service: Add skeleton for psm service | Zach Hilman | 1 | -0/+1 | |
Seems to be the power controller. Listed in switchbrew under the category PTM services. | |||||
2018-10-07 | logging: Add DebuggerBackend for logging to Visual Studio | Carl Kenner | 2 | -2/+23 | |
2018-10-05 | text_formatter: Avoid unnecessary string temporary creation in PrintMessage() | Lioncash | 1 | -1/+1 | |
operator+ for std::string creates an entirely new string, which is kind of unnecessary here if we just want to append a null terminator to the existing one. Reduces the total amount of potential allocations that need to be done in the logging path. | |||||
2018-09-24 | Stubbed IRS (#1349) | David | 2 | -0/+2 | |
* Stubbed IRS Currently we have no ideal way of implementing IRS. For the time being we should have the functions stubbed until we come up with a way to emulate IRS properly. * Added IRS to logging backend * Forward declared shared memory for irs | |||||
2018-09-15 | Port #4182 from Citra: "Prefix all size_t with std::" | fearlessTobi | 4 | -5/+6 | |
2018-09-04 | common/logging: Amend documentation comments | Lioncash | 2 | -6/+6 | |
Multi-line doc comments still need the '<' after the ///, otherwise it's treated as a regular comment and makes the original doc comment broken in viewers, IDEs, etc. While we're at it, also fix some typos in the comments. | |||||
2018-09-04 | common/logging/filter: Replace C-style case with C++ static_cast | Lioncash | 1 | -1/+1 | |
2018-09-04 | common/logging/filter: Make constructor explicit | Lioncash | 1 | -1/+1 | |
Implicit conversions aren't desirable here. | |||||
2018-08-21 | logging/text_formatter: Use empty braces for initializing CONSOLE_SCREEN_BUFFER_INFO instance | Lioncash | 1 | -1/+1 | |
The previous form of initializing done here is a C-ism, an empty set of braces is sufficient for initializing (and doesn't potentially cause missing brace warnings, given the first member of the struct is a COORD struct). | |||||
2018-08-14 | logging/backend: Use const reference to refer to log filter | Lioncash | 1 | -2/+3 | |
The filter is returned via const reference, so this was making a pointless copy of the entire filter every time a message was being pushed into the logger instance. | |||||
2018-08-08 | common/logging: Add missing service log categories | Lioncash | 2 | -0/+16 | |
These weren't added when the services were introduced. | |||||
2018-08-07 | service: Add usb services | Lioncash | 2 | -0/+2 | |
Adds basic skeleton for the usb services based off the information provided by Switch Brew. | |||||
2018-08-05 | service: Add arp services | Lioncash | 2 | -0/+2 | |
Adds the basic skeleton of the arp services based off the information provided by Switch Brew. | |||||
2018-08-02 | service: Add migration services | Lioncash | 2 | -0/+2 | |
Adds the basic skeleton for the mig:usr service based off information provided by Switch Brew. | |||||
2018-08-02 | logging/log: Remove incorrect description in PCV doc comment | Lioncash | 1 | -1/+1 | |
PCV isn't the parental control service. | |||||
2018-08-02 | service: Add psc services | Lioncash | 2 | -0/+2 | |
Adds the basic skeleton for the psc services based off the information provided by Switch Brew. | |||||
2018-08-01 | service: Add capture services | Lioncash | 2 | -0/+2 | |
Adds the basic skeleton for the capture services based off information provided by Switch Brew. | |||||
2018-08-01 | service: Add bpc and pcv services | Lioncash | 2 | -0/+4 | |
Adds the basic skeleton for the remaining pcv-related services based off information on Switch Brew. | |||||
2018-08-01 | Remove files that are not used | Zach Hilman | 2 | -0/+2 | |
2018-07-31 | service: Add fgm services | Lioncash | 2 | -0/+2 | |
Adds the basic skeleton for the fgm services based off the information provided by Switch Brew. | |||||
2018-07-31 | service: Add the pcie service | Lioncash | 2 | -0/+2 | |
Adds the basic skeleton of the pcie service based off information on Switch Brew. | |||||
2018-07-31 | Port #3758 from Citra (#852): Add missing std::string import in text_formatter | Tobias | 1 | -0/+1 | |
2018-07-29 | service: Add wlan services | Lioncash | 2 | -0/+2 | |
Adds the basic skeleton for the wlan services based off the information on Switch Brew. | |||||
2018-07-29 | service: Add btm services | Lioncash | 2 | -0/+2 | |
Adds the skeleton for the btm services based off the information on Switch Brew. | |||||
2018-07-27 | service: Add ncm services | Lioncash | 2 | -0/+2 | |
Adds the basic skeleton for the ncm services based off information on Switch Brew. | |||||
2018-07-27 | service: Add mii services | Lioncash | 2 | -0/+2 | |
Adds the skeleton for the mii services based off information provided by Switch Brew | |||||
2018-07-27 | service: Add nfc services | Lioncash | 2 | -0/+2 | |
Adds the skeleton of the nfc service based off the information provided on Switch Brew. | |||||
2018-07-27 | service/lbl: Implement EnableVrMode, DisableVrMode and GetVrMode | Lioncash | 2 | -0/+2 | |
Implements these functions according to the information available on Switch Brew. | |||||
2018-07-26 | service: Add ldn services | Lioncash | 2 | -0/+2 | |
Adds ldn services based off information provided by Switch Brew. | |||||
2018-07-20 | logging/filter: Use std::string_view in ParseFilterString() | Lioncash | 2 | -41/+40 | |
Allows avoiding constructing std::string instances, since this only reads an arbitrary sequence of characters. We can also make ParseFilterRule() internal, since it doesn't depend on any private instance state of Filter | |||||
2018-07-20 | logging/backend: Add missing standard includes | Lioncash | 2 | -4/+3 | |
A few inclusions were being satisfied indirectly. To prevent breakages in the future, include these directly. | |||||
2018-07-20 | logging/backend: Use std::string_view in RemoveBackend() and GetBackend() | Lioncash | 2 | -12/+13 | |
These can just use a view to a string since its only comparing against two names in both cases for matches. This avoids constructing std::string instances where they aren't necessary. | |||||
2018-07-18 | externals: update fmt to version 5.1.0 | Lioncash | 1 | -1/+1 | |
Previously, we were on 4.1.0, which was a major version behind. | |||||
2018-07-15 | Logging: Dump all logs in the queue on close in debug mode | James Rowe | 3 | -1/+12 | |
2018-07-14 | Logging: Don't lock the queue for the duration of the write | James Rowe | 1 | -3/+5 | |
2018-07-03 | Fix build and address review feedback | bunnei | 1 | -4/+4 | |
2018-07-03 | Add configurable logging backends | James Rowe | 2 | -11/+233 | |
2018-07-03 | Update clang format | James Rowe | 1 | -1/+1 | |
2018-07-03 | Rename logging macro back to LOG_* | James Rowe | 2 | -10/+10 | |
2018-06-05 | Service/MM: add service and stub some functions | mailwl | 2 | -0/+2 | |
2018-05-28 | Service/BCAT: add module and services | mailwl | 2 | -0/+2 | |
2018-04-27 | log: Remove old logging macros and functions | Lioncash | 2 | -54/+1 | |
Now that the old macros are no longer used, we can remove all functionality related to them. | |||||
2018-04-27 | Switched to NGLOG_WARNING | David Marcec | 1 | -1/+1 | |
2018-04-26 | Added PREPO to logging backend, Removed comments from SaveReportWithUser | David Marcec | 1 | -0/+1 | |
2018-04-23 | GetIUserInterface->CreateUserInterface, Added todos and stub logs. Playreport->PlayReport. | David Marcec | 1 | -0/+1 | |
2018-04-06 | Update fmtlib to fix msvc warnings | James Rowe | 2 | -5/+8 | |
Additionally, when updating fmtlib, there was a change in fmtlib broke how the old logging macro was overloaded, so this works around that by just naming the fmtlib macro impl something different | |||||
2018-04-03 | logging: Change FmtLogMessage to use variadic template instead of FMT_VARIADIC | Daniel Lim Wee Soong | 2 | -5/+11 | |
Due to premature merging of #262 I think the build may be failing right now. Should merge this ASAP to fix it. | |||||
2018-03-30 | service: Add NFP module interface. | bunnei | 2 | -0/+2 | |
service: Initialize NFP service. Log: Add NFP service as a log subtype. | |||||
2018-03-26 | log.h: Change comment from citra to yuzu | N00byKing | 1 | -1/+1 | |
2018-03-23 | Service/SSL: add ssl service | mailwl | 2 | -0/+2 | |
2018-03-22 | Remove dependency chrono | Daniel Lim Wee Soong | 1 | -1/+0 | |
Earlier chrono was included but after some code changed it was no longer needed Forgot to remove it so I'm removing it now | |||||
2018-03-22 | Logging: Create logging macros based on fmtlib | Daniel Lim Wee Soong | 7 | -66/+75 | |
Add a new set of logging macros based on fmtlib Similar but not exactly the same as https://github.com/citra-emu/citra/pull/3533 Citra currently uses a different version of fmt, which does not support FMT_VARIADIC so make_args is used instead. On the other hand, yuzu uses fmt 4.1.0 which doesn't have make_args yet so FMT_VARIADIC is used. | |||||
2018-03-22 | Service/spl: add module and services | mailwl | 2 | -0/+2 | |
2018-03-20 | Service: add fatal:u, fatal:p services | mailwl | 2 | -0/+2 | |
2018-02-20 | Service/AOC: stub ListAddOnContent function | mailwl | 2 | -0/+2 | |
2018-02-19 | logging: Add category for Friend service. | bunnei | 2 | -0/+2 | |
2018-02-15 | log: Add logging category for NS services. | bunnei | 2 | -0/+2 | |
2018-02-05 | logger: Add Time service logging category. | bunnei | 2 | -0/+2 | |
2018-02-05 | logger: Add SET service logging category. | bunnei | 2 | -15/+11 | |
2018-02-05 | logger: Add PCTL service logging category. | bunnei | 2 | -0/+2 | |
2018-02-05 | logger: Add LM service logging category. | bunnei | 2 | -0/+2 | |
2018-02-05 | logger: Add APM service logging category. | bunnei | 2 | -0/+2 | |
2018-02-05 | logger: Add NIFM service logging category. | bunnei | 2 | -0/+2 | |
2018-02-05 | logger: Add VI service logging category. | bunnei | 2 | -0/+2 | |
2018-02-04 | logger: Add AM service logging category. | bunnei | 2 | -0/+2 | |
2018-02-04 | logger: Add "account" service logging category. | bunnei | 2 | -0/+2 | |
2018-01-25 | audout:u OpenAudioOut and IAudioOut (#138) | st4rk | 2 | -0/+2 | |
* Updated the audout:u and IAudioOut, now it might work with RetroArch without trigger an assert, however it's not the ideal implementation * Updated the audout:u and IAudioOut, now it might work with RetroArch without trigger an assert, however it's not the ideal implementation * audout:u OpenAudioOut implementation and IAudioOut cmd 1,2,3,4,5 implementation * using an enum for audio_out_state as well as changing its initialize to member initializer list * Minor fixes, added Service_Audio for LOG_*, changed PcmFormat enum to EnumClass * Minor fixes, added Service_Audio for LOG_*, changed PcmFormat enum to EnumClass * added missing Audio loggin subclass, minor fixes, clang comment breakline * Solving backend logging conflict * minor fix * Fixed duplicated Service NVDRV in backend.cpp, my bad | |||||
2018-01-24 | logging: add missing NVDRV subclass to macro list | Rozlette | 1 | -0/+1 | |
2018-01-21 | Added nvmemp, Added /dev/nvhost-ctrl, SetClientPID now stores pid (#114) | David | 1 | -0/+1 | |
* Added nvmemp, Added /dev/nvhost-ctrl, SetClientPID now stores pid * used clang-format-3.9 instead * lowercase pid * Moved nvmemp handlers to cpp * Removed unnecessary logging for NvOsGetConfigU32. Cleaned up log and changed to LOG_DEBUG * using std::arrays instead of c arrays * nvhost get config now uses std::array completely * added pid logging back * updated cmakelist * missing includes * added array, removed memcpy * clang-format6.0 | |||||
2018-01-21 | Format: Run the new clang format on everything | James Rowe | 6 | -6/+6 | |
2018-01-17 | loggin: Add IPC logging category. | bunnei | 2 | -1/+3 | |
2017-10-23 | logging: Rename category "Core_ARM11" to "Core_ARM". | bunnei | 2 | -2/+2 | |
2017-10-15 | hle: Initial implementation of NX service framework and IPC. | bunnei | 2 | -2/+2 | |
2017-10-10 | hle: Remove a large amount of 3ds-specific service code. | bunnei | 2 | -42/+0 | |
2017-07-10 | logging: Add WebService as a log cateogry. | bunnei | 2 | -1/+3 | |
2017-07-07 | Implement basic virtual Room support based on enet (#2803) | B3n30 | 2 | -0/+2 | |
* Added support for network with ENet lib, connecting is possible, but data can't be sent, yet. * fixup! Added support for network with ENet lib, * fixup! CLang * fixup! Added support for network with ENet lib, * fixup! Added support for network with ENet lib, * fixup! Clang format * More fixups! * Moved ENetHost* and ENetPeer* into pimpl classes * fixup! Moved ENetHost* and ENetPeer* into pimpl classes * fixup! Clang again * fixup! Moved ENetHost* and ENetPeer* into pimpl classes * fixup! Moved ENetHost* and ENetPeer* into pimpl classes * fixup! Moved ENetHost* and ENetPeer* into pimpl classes | |||||
2017-06-30 | Remove unnecessary WIN32_LEAN_AND_MEAN macro definition | Kloen | 1 | -1/+0 | |
2017-03-01 | Input: add device and factory template | wwylele | 2 | -0/+2 | |
2017-02-21 | HW: add AES engine & implement AES-CCM | wwylele | 2 | -0/+2 | |
2017-02-14 | applied the change suggested by @wwylele | noah the goodra | 1 | -0/+1 | |
2017-02-14 | added http service enum to the log.h file | noah the goodra | 1 | -0/+1 | |
2016-12-30 | Service/NFC: stub GetTagInRangeEvent | mailwl | 2 | -0/+2 | |
Fix Fatal Error in Mini-Mario & Friends - amiibo Challenge | |||||
2016-12-12 | csnd:SND reformat source code | mailwl | 2 | -0/+2 | |
2016-12-05 | Support mingw cross-compile | Jannik Vogel | 1 | -1/+1 | |
2016-11-30 | Set client SDK version to Service APIs | mailwl | 1 | -3/+2 | |
2016-11-25 | MIC_U: Stub service funcions | mailwl | 2 | -0/+2 | |
2016-10-20 | Fix typos | Ricardo de Almeida Gonzaga | 1 | -1/+1 | |
2016-10-02 | Update the stub code of BOSS | JamePeng | 2 | -0/+2 | |
2016-09-21 | Use negative priorities to avoid special-casing the self-include | Yuri Kunde Schlesner | 2 | -2/+2 | |
2016-09-21 | Remove empty newlines in #include blocks. | Emmanuel Gil Peyrot | 5 | -9/+4 | |
This makes clang-format useful on those. Also add a bunch of forgotten transitive includes, which otherwise prevented compilation. | |||||
2016-09-18 | Sources: Run clang-format on everything. | Emmanuel Gil Peyrot | 7 | -164/+181 | |
2016-06-25 | Remove superfluous std::move in return std::move(local_var) | scurest | 1 | -1/+1 | |
2016-05-07 | AudioCore: SDL2 Sink | MerryMage | 2 | -1/+3 | |
2016-04-08 | cecd:u: stub GetCecStateAbbreviated (#1648) | mailwl | 1 | -1/+1 | |
2016-04-02 | Dummy implementation dlp:SRVR Service. | exhalatio | 2 | -0/+2 | |
2016-03-31 | cecd:u: stub GetCecInfoEventHandle, GetChangeStateEventHandle | mailwl | 2 | -0/+2 | |
2016-03-27 | frd:u: Initial stub some functions | mailwl | 2 | -0/+2 | |
2016-03-14 | Reorganize the ndm service path for dummy implement function | JamePeng | 2 | -0/+2 | |
SuspendDaemons , ResumeDaemons , OverrideDefaultDaemons The NDM file move to /core/hle/service/ndm/ now! | |||||
2016-02-26 | Initial implementation ir:user | mailwl | 2 | -0/+2 | |
2016-02-21 | AudioCore: Skeleton Implementation | MerryMage | 2 | -0/+4 | |
This commit: * Adds a new subproject, audio_core. * Defines structures that exist in DSP shared memory. * Hooks up various other parts of the emulator into audio core. This sets the foundation for a later HLE DSP implementation. | |||||
2016-02-05 | backend: defaulted move constructor/assignment | Lioncash | 1 | -18/+2 | |
2015-11-23 | Services/Cam: Added new log type and camera enums from 3dbrew. | Subv | 2 | -0/+2 | |
Followup to #1102 Original author @mailwl | |||||
2015-10-04 | Implement gdbstub | polaris- | 2 | -0/+2 | |
2015-09-20 | Implement gdbstub | polaris- | 2 | -0/+2 | |
2015-08-16 | VMManager: Make LogLayout log level configurable as a parameter | Yuri Kunde Schlesner | 1 | -8/+7 | |
2015-08-15 | Handle invalid `Log::Class` | Benjamin Barenblat | 1 | -1/+2 | |
Add a case of `Log::Class::Count` to the switch statement that dispatches on `Log::Class`. The case simply calls the `UNREACHABLE` macro. | |||||
2015-08-03 | Use UNREACHABLE macro for impossible cases in previous commit | Benjamin Barenblat | 2 | -4/+3 | |
Use the UNREACHABLE macro instead of `ASSERT(false, ...);`. | |||||
2015-08-02 | Handle invalid `Log::Level::Count` | Benjamin Barenblat | 2 | -1/+9 | |
Add a case of `Log::Level::Count` to all switch statements that dispatch on `Log::Level`. The case simply asserts `false` and notes the invalid log level. | |||||
2015-06-28 | CitraQt: Cleanup includes. | Emmanuel Gil Peyrot | 1 | -0/+1 | |
2015-06-28 | Common: Cleanup memory and misc includes. | Emmanuel Gil Peyrot | 1 | -4/+0 | |
2015-06-12 | Services: Continue separation of services into their own folders | purpasmart96 | 2 | -2/+4 | |
2015-05-22 | Service::Y2R: Support for grayscale decoding of specific formats | Yuri Kunde Schlesner | 2 | -0/+2 | |
Implements unrotated planar YUV 4:2:0 -> RGB24 conversions in Y2R. Currently only the Y (luma) channel is used, so the results don't contain color. This will be added in a later PR at some point. This is enough to get all currently know Moflex videos to decode. (Some don't display on-screen due to seemingly unrelated reasons.) Thanks to @archshift for doing the initial implementation which I cleaned up and then fixed the 8x8 block mode. | |||||
2015-05-12 | Common: Remove async logging | Yuri Kunde Schlesner | 7 | -210/+32 | |
It provided a large increase in complexity of the logging system while having a negligible performance impact: the usage patterns of the ring buffer meant that each log contended with the logging thread, causing it to effectively act as a synchronous extra buffering. Also removed some broken code related to filtering of subclasses which was broken since it was introduced. (Which means no one ever used that feature anyway, since, 8 months later, no one ever complained.) | |||||
2015-05-07 | Common: Remove common.h | Yuri Kunde Schlesner | 1 | -0/+1 | |
2015-04-03 | Services: Stubs and minor changes | purpasmart96 | 2 | -0/+4 | |
2015-03-09 | Added LCD registers, and implementation for color filling in OGL code. | archshift | 2 | -0/+2 | |
2015-03-06 | Logging: check for filter before sending to the queue, to skip all heavy formatting on the other thread. | Emmanuel Gil Peyrot | 5 | -7/+17 | |
2015-02-22 | Added information reporting from ThrowFatalError | archshift | 2 | -0/+2 | |
This was RE'd from the errdisp applet. | |||||
2015-02-13 | backend: Add logging subentry for ldr | Lioncash | 1 | -0/+1 | |
Fixes an assertion upon executing citra in debug mode. | |||||
2015-02-11 | Asserts: break/crash program, fit to style guide; log.h->assert.h | archshift | 1 | -2/+2 | |
Involves making asserts use printf instead of the log functions (log functions are asynchronous and, as such, the log won't be printed in time) As such, the log type argument was removed (printf obviously can't use it, and it's made obsolete by the file and line printing) Also removed some GEKKO cruft. | |||||
2015-02-08 | Services: Stub some functions | purpasmart96 | 1 | -0/+1 | |
2015-02-07 | Fix a wrong file name in a comment | chinhodado | 1 | -1/+1 | |
2015-01-10 | Logging: Log all called service functions (under trace). Compile out all trace logs under release for performance. | archshift | 1 | -16/+7 | |
2015-01-07 | CoreTiming: Ported the CoreTiming namespace from PPSSPP | Subv | 2 | -0/+2 | |
Implemented the required calls to make it work. CoreTiming: Added a new logging class Core_Timing. | |||||
2014-12-31 | SOC_U: Preliminary implementation of sockets. | Subv | 2 | -0/+2 | |
Stubbed CreateMemoryBlock Using Berkeley sockets, and Winsock2.2 on Windows. So far ftpony creates the socket and accepts incoming connections SOC_U: Renamed functions to maintain consistency Also prevents possible scope errors / conflicts with the actual Berkeley socket functions SOCU: Close all the opened sockets when cleaning up SOCU | |||||
2014-12-21 | License change | purpasmart96 | 7 | -7/+7 | |
2014-12-14 | Restore the original console color after logging a message. | Yuri Kunde Schlesner | 2 | -13/+25 | |
Fixes #277 | |||||
2014-12-13 | Add configurable per-class log filtering | Yuri Kunde Schlesner | 4 | -3/+203 | |
2014-12-13 | Implement text path trimming for shorter paths. | Yuri Kunde Schlesner | 2 | -1/+38 | |
2014-12-13 | Re-add coloring to the console logging output. | Yuri Kunde Schlesner | 1 | -0/+50 | |
2014-12-13 | New logging system | Yuri Kunde Schlesner | 5 | -0/+473 | |