Commit Graph

89 Commits

Author SHA1 Message Date
Jack Andersen 2783337c36 Update fmtlib 2020-04-11 12:45:06 -10:00
Jack Andersen 48a2981a93 Shared NFS data class not necessary 2019-11-24 13:47:48 -10:00
Jack Andersen 75fc574f81 Support for Wii U VC NFS images 2019-11-23 17:24:33 -10:00
Jack Andersen 11a0351d1c Merge branch 'master' of ssh://git.axiodl.com:6431/AxioDL/nod 2019-09-30 21:30:57 -10:00
Jack Andersen 4ec6c6697b Update logvisor 2019-09-30 21:30:42 -10:00
Lioncash 221bc7c7f2 General: Be explicit about athena's SeekOrigin type
Allows this code to function if the enum is turned into an enum class.
2019-09-08 17:29:38 -04:00
Henrique Gemignani Passos Lima 091262ace1 Use std::optional for CalculateTotalSizeBuild 2019-09-06 22:17:06 +02:00
Lioncash f5c3cbdcd7 DiscBase: Amend typo within getPartitonNodeCount() name
Adds an extra 'i' to correct a typo.
2019-09-05 21:57:44 -04:00
Lioncash 7ddff919c1 DiscBase: Prevent potential off-by-one case within getPartitonNodeCount()
We should be comparing with >= instead of >.
2019-09-05 21:56:49 -04:00
Lioncash 4bba7af2c2 DiscBase: std::move std::function instance
std::function isn't a trivial type (it's allowed to heap allocate to
store any necessary captures), so we can move it in the constructor to
avoid any unnecessary allocations
2019-09-05 21:52:43 -04:00
Lioncash f443b60bde DiscBase: Mark member functions as const where applicable
These don't modify instance state, so they can be marked as const.
2019-09-05 21:51:20 -04:00
Lioncash 998d6a77c3 General: Remove redundant inline keyword
Functions defined within the class declaration are already inline by
default, so we don't need to specify the keyword here.
2019-09-05 21:48:07 -04:00
Lioncash 5935e84dab General: Include headers directly where necessary
Ensures includes are explicitly included where necessary to avoid
indirect inclusions.
2019-08-30 04:34:49 -04:00
Phillip Stephens 255a37216f Merge branch 'override' of git://github.com/lioncash/nod into lioncash-override 2019-08-09 23:14:32 -07:00
Lioncash 2171388b9d General: Make use of override where applicable
Makes it explicit where functions are being overridden in derived
classes/structs.
2019-08-10 01:41:44 -04:00
Lioncash a572439967 DirectoryEnumerator: Handle non-null-terminated strings in CaseInsensitiveCompare
std::string_view instances aren't required to be null terminated. Given
this, we can make the functions a little safer by performing an explicit
bounded comparison on the range of characters, making the code more
generic with regards to handling the underlying string data.
2019-08-10 01:16:21 -04:00
Jack Andersen 37792ba116 Massive libfmt refactor 2019-07-19 18:21:57 -10:00
Jack Andersen be8409681f New code style refactor 2018-12-07 19:21:47 -10:00
Jack Andersen 3d380fdc3b macOS build fixes 2018-10-15 17:16:08 -10:00
Jack Andersen f87b286ff3 Windows build fixes 2018-10-14 10:11:28 -10:00
Jack Andersen e964a013fe Convert to pragma once 2018-10-06 17:39:24 -10:00
Jack Andersen d5f5db440c Windows build fixes and warning avoidance 2018-05-24 20:38:06 -10:00
Jack Andersen a557f86974 Huge compile performance refactor 2017-12-28 21:57:54 -10:00
Jack Andersen 34de6276b0 UWP fix 2017-12-06 18:11:03 -10:00
Jack Andersen 3d70a568dc UWP support 2017-12-05 17:23:58 -10:00
Jack Andersen 27a2cb5998 string_view refactor 2017-11-12 20:18:53 -10:00
Jack Andersen d597400f4a Fix FST parent directory index 2017-07-11 19:13:44 -10:00
Phillip Stephens 72169e8e77 Added `writeSysFiles` for convience of integration 2017-07-09 01:25:43 -07:00
Jack Andersen 6454d68abc Windows Fixes 2017-07-01 20:08:26 -10:00
Jack Andersen 2a472651ae Proper extract structure for GCN images 2017-07-01 19:39:41 -10:00
Jack Andersen 41148a1368 Refactor of extracted directory structure and API simplification 2017-07-01 13:36:16 -10:00
Phillip Stephens e49568ac83 Initial modifications to support Dolphin's VolumeDirectory 2017-06-30 03:30:10 -07:00
cylgom 82edc597ba fixed functional include 2017-06-07 20:05:21 +02:00
Jack Andersen dd20c1d255 Add floating point progress to builder callbacks 2017-05-21 23:12:48 -04:00
Phillip Stephens e494dbba9f Add completion percentage to ExtractionContext's callback 2017-05-21 03:26:22 -07:00
Phillip Stephens 2bc7c4e568 Add DiscBase::getPartitionNodeCount 2017-05-20 23:00:11 -07:00
Jack Andersen dc474ad156 Major refactor, better error handling and directory/image merge 2017-02-04 20:19:34 -10:00
Jack Andersen d106299a11 Remove unnecessary and RVO-detrimental moves 2016-10-02 18:37:20 -10:00
Jack Andersen 556a5868bb Humungous refactor 2016-03-04 13:04:30 -10:00
Jack Andersen 48f79b2369 File-size limiting 2016-02-02 11:18:16 -10:00
Jack Andersen 528b5cad0c Minor fixes 2016-01-25 20:39:49 -10:00
Jack Andersen 02a7b95606 CheckFreeSpace POSIX fix 2016-01-25 16:01:55 -10:00
Jack Andersen df5e8d068c Removed direct stdio usage 2016-01-24 19:55:31 -10:00
Jack Andersen 9ce2e0a3b2 Additional windows additions 2016-01-24 16:13:09 -10:00
Jack Andersen 044a393ff8 Merge branch 'master' of https://github.com/AxioDL/NODLib 2016-01-24 16:12:26 -10:00
Jack Andersen c4aaecbc8f Single-pass image creation refactor 2016-01-24 16:00:02 -10:00
Phillip 0819101986 More windows fixes 2016-01-23 22:44:17 -08:00
Phillip 9114be2a4d Various windows fixes (microsoft plz) 2016-01-23 21:12:40 -08:00
Jack Andersen 5d5dfdc3da OS X build fixes 2016-01-23 13:36:58 -10:00
Jack Andersen e7f8bbed8a System files added to Wii partition first to keep 32-bit loaders happy 2016-01-22 17:39:38 -10:00