- Mar 10, 2019
-
-
Lioncash authored
Relocates the error code to where it's most related, similar to how all the other error codes are. Previously we were including a non-generic error in the main result code header.
-
- Mar 05, 2019
-
-
Lioncash authored
Removes a few inclusion dependencies from the headers or replaces existing ones with ones that don't indirectly include the required headers. This allows removing an inclusion of core/memory.h, meaning that if the memory header is ever changed in the future, it won't result in rebuilding the entirety of the HLE services (as the IPC headers are used quite ubiquitously throughout the HLE service implementations).
-
- Nov 16, 2018
-
-
Lioncash authored
Keeps filesystem-related error codes in one spot.
-
- Aug 28, 2018
-
-
Lioncash authored
Many containers within the standard library provide different behaviors based on whether or not a move constructor/assignment operator can be guaranteed not to throw or not. Notably, implementations will generally use std::move_if_noexcept (or an internal implementation of it) to provide strong exception guarantees. If a move constructor potentially throws (in other words, is not noexcept), then certain behaviors will create copies, rather than moving the values. For example, consider std::vector. When a std::vector calls resize(), there are two ways the elements can be relocated to the new block of memory (if a reallocation happens), by copy, or by moving the existing elements into the new block of memory. If a type does not have a guarantee that it will not throw in the move constructor, a copy will happen. However, if it can be guaranteed that the move constructor won't throw, then the elements will be moved. This just allows ResultVal to be moved instead of copied all the time if ever used in conjunction with containers for whatever reason.
-
- May 23, 2018
-
-
greggameplayer authored
-
- May 19, 2018
-
-
greggameplayer authored
* Add and correct some Error Modules
-
- Mar 28, 2018
-
-
Lioncash authored
Avoids doing work that doesn't need to be done.
-
- Feb 27, 2018
-
-
Subv authored
-
- Jan 21, 2018
-
-
bunnei authored
-
- Oct 31, 2017
-
-
bunnei authored
-
- Jun 19, 2017
-
-
Yuri Kunde Schlesner authored
Replace it with std::move(result_val).Unwrap(), or Foo().Unwrap() in case you already have an rvalue.
-
Yuri Kunde Schlesner authored
-
- Jun 06, 2017
-
-
Yuri Kunde Schlesner authored
-
- May 25, 2017
-
-
Yuri Kunde Schlesner authored
-
Yuri Kunde Schlesner authored
-
Yuri Kunde Schlesner authored
-
Yuri Kunde Schlesner authored
It is now known that result code description vary depending on the module, and so they're best defined on a per-module basis. To support this, allow passing in an arbitrary integer instead of limiting to the ones in the ErrorDescription enum. These will be gradually migrated to their individual users, but a few will be kept as "common" codes shared by all modules.
-
Yuri Kunde Schlesner authored
-
- May 15, 2017
-
-
Subv authored
Reduce the associated port's connection count when a ServerSession is destroyed.
-
- Feb 13, 2017
-
-
wwylele authored
-
- Dec 05, 2016
-
-
Subv authored
The error code was taken from the 3DS kernel.
-
- Nov 29, 2016
-
-
wwylele authored
-
- Nov 19, 2016
- Sep 21, 2016
-
-
Emmanuel Gil Peyrot authored
This makes clang-format useful on those. Also add a bunch of forgotten transitive includes, which otherwise prevented compilation.
-
- Sep 19, 2016
-
-
Yuri Kunde Schlesner authored
-
- Sep 18, 2016
-
-
Emmanuel Gil Peyrot authored
-
- Jul 04, 2016
-
-
JamePeng authored
-
- Jun 30, 2016
-
-
wwylele authored
-
- Jun 01, 2016
-
-
mailwl authored
-
- May 13, 2016
-
-
Subv authored
-
- Apr 30, 2016
-
-
Emmanuel Gil Peyrot authored
-
- Apr 27, 2016
-
-
MerryMage authored
-
- Mar 31, 2016
-
-
purpasmart96 authored
-
- Mar 20, 2016
-
-
Subv authored
Format information is currently only implemented for the ExtSaveData, SharedExtSaveData and SaveData archives, the information is stored in a file alongside the root folder of the archive.
-
Subv authored
These operations are limited by the open flags specified while opening the file.
-
Subv authored
-
- Mar 05, 2016
-
-
Yuri Kunde Schlesner authored
-
- Feb 12, 2016
-
-
MerryMage authored
-