Skip to content
Success

Changes

Summary

  1. Begin splitting files up (#76) (commit: e29c9cb) (details)
  2. Change debug C# version to default (commit: 1191841) (details)
  3. VS, why u do dis? (commit: d2fd007) (details)
  4. Add ImmutableStack class (commit: 536ff0c) (details)
  5. Add PatchContext struct (commit: abba87e) (details)
  6. Use ImmutableStack and PatchContext in MM (commit: 05342e2) (details)
  7. Remove unused code (commit: 8685da9) (details)
  8. Implement IEnumerable<T> (commit: 038db23) (details)
  9. Add Depth property (commit: 946194e) (details)
  10. Use immutability in CheckNeeds (commit: 475aa66) (details)
  11. Forgot a using directive (commit: 27f788f) (details)
  12. Ged rid of Win64 specific code (commit: 04df683) (details)
  13. Needs to be included in the project too (commit: 340d113) (details)
  14. Add logging interface (commit: b1a8863) (details)
  15. Extract progress into its own object (commit: ad61311) (details)
  16. Use logger and progress (commit: 76c998c) (details)
  17. Remove blocking option (commit: 55fc4e6) (details)
  18. Use inline variable declaration (commit: bf640f4) (details)
  19. Make log messages consistent (commit: f751ed4) (details)
  20. Make deletes and copies count toward patch count (commit: f03b578) (details)
  21. Make names more accurate (commit: 51b6f75) (details)
  22. Simplify null check (commit: 8179c44) (details)
  23. move main project to its own directory (commit: 1a12a25) (details)
  24. Better output dir for debug (commit: f02f418) (details)
  25. Do not copy local (commit: 95362b5) (details)
  26. Add test project (commit: c4ba1b9) (details)
  27. Add MM, Assembly-CSharp, UnityEngine refs (commit: e8159e1) (details)
  28. Add console runner (commit: 563a942) (details)
  29. Yo dawg, I heard you like tests (commit: a7f901e) (details)
  30. Add TestConfigNode class (commit: be37f18) (details)
  31. Reference TestUtils (commit: 278dad8) (details)
  32. Don't reference a specific version of System (commit: 66e6612) (details)
  33. Add test for ImmutableStack (commit: df9c8ec) (details)
  34. Add test for GetPath (commit: 3e71009) (details)
  35. Add NSubstitute (commit: 6e8285c) (details)
  36. Add tests for ModLogger (commit: 7398d4d) (details)
  37. Fix an error (commit: a5a095f) (details)
  38. Add UrlBuilder (commit: 564b226) (details)
  39. Progress shouldn't depend on deleted subnodes (commit: f190d17) (details)
  40. These should use actual URLs (commit: fca9717) (details)
  41. These too (commit: 28e4ce7) (details)
  42. Minor logging tweak (commit: 8d8463d) (details)
  43. Add tests for PatchProgress (commit: d37f58b) (details)
  44. Replace DeepCopy with ConfigNode.CreateCopy (commit: ca12c39) (details)
  45. Inline out variable declarations (commit: 2b82489) (details)
  46. Obey naming conventions (commit: 47ce015) (details)
  47. Pull Command and ParseCommand out of MMPatchLoader (commit: a9a990d) (details)
  48. Extract ShallowCopy (commit: b43f79b) (details)
  49. Don't create duplicates in UrlBuilder (commit: 534eee2) (details)
  50. Add ArrayEnumerator (commit: 24f2143) (details)
  51. PatchList (commit: 7138bbc) (details)
  52. Add PatchExtractor (commit: 9a55a65) (details)
  53. Add SafeUrl extension method for UrlConfig (commit: 90027c2) (details)
  54. Use SafeUrl in logging (commit: 504354d) (details)
  55. Remove unused (commit: 331ab18) (details)
  56. Log when BEFORE or AFTER patch deleted (commit: 3f8adee) (details)
  57. Fix case issues (commit: 50346dc) (details)
  58. Extract IsBracketBalanced (commit: 99bc0bf) (details)
  59. Remove bracket unbalanced nodes when sorting (commit: e52a646) (details)
  60. Unused method (commit: 8a81310) (details)
  61. Bring back DeepCopy (commit: 5a468be) (details)
  62. Fix bad region (commit: 2e5854d) (details)
  63. Make sure badly formed mod passes are an error (commit: 9bd8253) (details)
  64. That's a bug (commit: b010243) (details)
  65. Add some explanatory comments (commit: cacc840) (details)
  66. Unnecessary using directives (commit: c00735d) (details)
  67. Use sorted patches when applying (commit: 8d71ac6) (details)
  68. Remove now-unnecessary try-catch (commit: aa990db) (details)
  69. Replace big if with guard clause (commit: 3ca1801) (details)
  70. Simplify this (commit: ec7c67c) (details)
  71. Invalid command = error on the patch extractor (commit: 8098313) (details)
  72. Extract RemoveWS (commit: 180c2ee) (details)
  73. Fix logging (commit: 20a8afb) (details)
  74. Extract PrettyPrint (commit: 35d89f8) (details)
  75. Get rid of unnecesary using directives (commit: b52a80e) (details)
  76. Don't run PrePatchInit if cache is being used (commit: 45a4c0c) (details)
  77. Eliminate mods instance variable (commit: d397a80) (details)
  78. Use method param rather than instance var (commit: 12780a6) (details)
  79. Eliminate Update (commit: b6b628c) (details)
  80. Eliminate redundant logging (commit: 7a40730) (details)
  81. Keep track of progress fraction independently (commit: 7e714a4) (details)
  82. Make StatusUpdate less general (commit: 9236be1) (details)
  83. Move this (commit: 8696143) (details)
  84. Eliminate Progress instance variable (commit: 58d52d9) (details)
  85. Make more methods static (commit: 2645d22) (details)
  86. This is no longer necessary (commit: 824b077) (details)
  87. Move exception handling outside of PrettyConfig (commit: ac0a149) (details)
  88. Tweak test (commit: eb18b60) (details)
  89. Allow adding a ConfigNode.Value in initializer (commit: 4fdfb89) (details)
  90. Extract PrettyConfig (for UrlConfig) (commit: 70eca81) (details)
  91. Add one more test (commit: 55308af) (details)
  92. Make CheckNeeds static (commit: 1a7d1e3) (details)
  93. This can already be static (commit: bc451c5) (details)
  94. Remove unnecessary Using (commit: 60cb30a) (details)
  95. Improve url and node printing (commit: a035b67) (details)
  96. Extract CheckNeeds (commit: 59a9220) (details)
  97. Ensure that final string printed to the screen is the actual status (commit: 784e7a8) (details)
  98. Fix up mod list logging (commit: 13850b6) (details)
  99. Use Path.Combine (commit: cd3a468) (details)
  100. Unnecessary now (commit: 901b5a5) (details)
  101. Improve assembly list (commit: a5b1547) (details)
  102. Accidentally removed (commit: 9cf0011) (details)
  103. Move tracking number of patches (commit: fde3fbc) (details)
  104. Put progress counts in their own object (commit: f09622f) (details)
  105. Move exception handling out of FIleSHA (commit: ce43104) (details)
  106. Extract FileSHA (commit: 2dc9f91) (details)
  107. Fix unassigned variable (commit: 6f26939) (details)
  108. Make this extractable (commit: f3352db) (details)
  109. Extract GenerateModList (commit: e40426a) (details)
  110. Add MessageQueue (commit: 7a2e18d) (details)
  111. Add QueueLogger and supporting classes (commit: 7d0c587) (details)
  112. Don't keep track of non-root needs unsatisfied (commit: d1975db) (details)
  113. Add FatalErrorHandler (commit: 78d4635) (details)
  114. Add background task support (commit: 172e2f3) (details)
  115. Begin creating Progress namespace (commit: 7f90887) (details)
  116. Finish creating Progress namespace (commit: b0f72c2) (details)
  117. Unnecessary directives (commit: 3dbfbb1) (details)
  118. Add needs test for and/or and capitalization (commit: 92ae91f) (details)
  119. Separate out progress counter (commit: 6596b47) (details)
  120. Ensure Counter behaves like an int (commit: 9a05e1b) (details)
  121. More unnecessary using (commit: 9736800) (details)
  122. Add test for ! (not) in :NEEDS (commit: a1af725) (details)
  123. More unnecessary using directives (commit: 3a19ff8) (details)
  124. Extract application of patches to its own thread (commit: e9c341a) (details)
  125. Test and fix PatchProgress.ProgressFraction (commit: b0e02e0) (details)
  126. Tweak (commit: ba24af3) (details)
  127. Only convert to array once per pass (commit: 5fe79fd) (details)
  128. Make node matching its own method (commit: 20e6192) (details)
  129. Loop only applies to edit patches (commit: 244af1a) (details)
  130. Don't convert to an array at all (commit: cdeb5f7) (details)
  131. Ensure that user gets updates during long passes (commit: 30eeb6f) (details)
  132. Without switch, i is valid here (commit: 7e42de5) (details)
  133. Ensure time between each check of the log queue (commit: dc1a167) (details)
  134. Convert to an array initially (commit: ec5310b) (details)
  135. Having an actual array here no longer necessary (commit: 7cc6c51) (details)
  136. Apparently Linq slows things down (commit: bd82d53) (details)
  137. Improve access of name a bit (commit: ce3893f) (details)
  138. Move loop out of loop (commit: 203ad88) (details)
  139. case should match filename (commit: 73f7b39) (details)
  140. v3.0.0 for KSP 1.3.1 (commit: 2caefbd) (details)
Commit e29c9cb61eb97df6e68bfea1bb6290d3ca49e97e by sarbian
Begin splitting files up (#76)
* rename file
most of it is MMPatchLoader so that's what it'll be

* Remove corrupt #region
It starts in one class and ends in another, I can't tell where it's
really supposed to go

* Move addon to its own file

* Put cats in a box

* Can has namespace

* Promote business cat to manager

* Unnecessary now

* Old stuff
(commit: e29c9cb)
The file was addedCats/CatManager.cs
The file was addedMMPatchLoader.cs
The file was addedCats/CatMover.cs
The file was addedCats/CatAnimator.cs
The file was removedCatMover.cs
The file was removedmoduleManager.cs
The file was removedCatAnimator.cs
The file was addedModuleManager.cs
The file was removedCatOrbiter.cs
The file was addedCats/CatOrbiter.cs
The file was modified ModuleManager.csproj (diff)
Commit 1191841d6f532aa88c1b53441d1c88687d29fca2 by joeydwong
Change debug C# version to default
(commit: 1191841)
The file was modified ModuleManager.csproj (diff)
The file was modified .gitignore (diff)
The file was addedCollections/ImmutableStack.cs
The file was modified ModuleManager.csproj (diff)
The file was addedPatchContext.cs
The file was modified ModuleManager.csproj (diff)
Commit 05342e2e8914bb5bb221db1ab80921554b006cad by joeydwong
Use ImmutableStack and PatchContext in MM
(commit: 05342e2)
The file was modified MMPatchLoader.cs (diff)
Commit 8685da977f63049acc2ab326cfb89e8c189049ff by joeydwong
Remove unused code
Apparently had to do with texture replacer corruption, but not called
anywhere
(commit: 8685da9)
The file was modified MMPatchLoader.cs (diff)
The file was addedExtensions/NodeStackExtensions.cs
The file was modified Collections/ImmutableStack.cs (diff)
The file was modified Collections/ImmutableStack.cs (diff)
Commit 475aa6627978100bb3cf0aa24eacefea4779b095 by joeydwong
Use immutability in CheckNeeds
(commit: 475aa66)
The file was modified MMPatchLoader.cs (diff)
The file was modified MMPatchLoader.cs (diff)
Commit 04df68375017aabfe67e589e050325357463952c by joeydwong
Ged rid of Win64 specific code
Doesn't matter anymore
(commit: 04df683)
The file was modified MMPatchLoader.cs (diff)
Commit 340d113a0ab871b9df635e07db5d974dad458092 by joeydwong
Needs to be included in the project too
(commit: 340d113)
The file was modified ModuleManager.csproj (diff)
The file was modified ModuleManager.csproj (diff)
The file was addedLogging/ModLogger.cs
The file was addedLogging/IBasicLogger.cs
Commit ad61311dcc5cd6c9ed2973e6470a9dc2a4797e1f by joeydwong
Extract progress into its own object
(commit: ad61311)
The file was modified ModuleManager.csproj (diff)
The file was addedPatchProgress.cs
The file was addedIPatchProgress.cs
Commit 76c998c61895de68f63f79fc57d0f64b30069d40 by joeydwong
Use logger and progress
Make some things static that no longer depend on the patch loader's
state
(commit: 76c998c)
The file was modified MMPatchLoader.cs (diff)
The file was modified ModuleManager.cs (diff)
The file was modified PatchContext.cs (diff)
Commit 55fc4e6cc9dddb4b3c3e634002d893d987923463 by joeydwong
Remove blocking option
It's no longer used
(commit: 55fc4e6)
The file was modified MMPatchLoader.cs (diff)
Commit bf640f41e969b14922242a6a6fad577fa8f48b34 by joeydwong
Use inline variable declaration
(commit: bf640f4)
The file was modified MMPatchLoader.cs (diff)
Commit f751ed43916ed68a37c5f3d921c8caa41c67ca0e by joeydwong
Make log messages consistent
(commit: f751ed4)
The file was modified PatchProgress.cs (diff)
Commit f03b5789becb4fb64dfd237ee12490bd2f1fa654 by joeydwong
Make deletes and copies count toward patch count
(commit: f03b578)
The file was modified PatchProgress.cs (diff)
Commit 51b6f75a9e2462d28fc67967cfab16cfcb92b24d by joeydwong
Make names more accurate
These are called before the patch is applied
(commit: 51b6f75)
The file was modified IPatchProgress.cs (diff)
The file was modified MMPatchLoader.cs (diff)
The file was modified PatchProgress.cs (diff)
The file was modified MMPatchLoader.cs (diff)
Commit 1a12a253a3addda038bfcd8fef7fa0b0f1840c0c by joeydwong
move main project to its own directory
Allows more to be added
(commit: 1a12a25)
The file was addedModuleManager/ModuleManager.csproj
The file was addedModuleManager/Cats/CatOrbiter.cs
The file was addedModuleManager/Properties/cat-9.png
The file was addedModuleManager/Properties/cat-7.png
The file was removedExtensions/NodeStackExtensions.cs
The file was removedCats/CatOrbiter.cs
The file was addedModuleManager/Logging/ModLogger.cs
The file was removedProperties/cat-2.png
The file was removedLogging/ModLogger.cs
The file was removedProperties/cat-12.png
The file was addedModuleManager/Properties/cat-8.png
The file was removedMMPatchLoader.cs
The file was addedModuleManager/Properties/cat-3.png
The file was removedProperties/cat-6.png
The file was addedModuleManager/Properties/cat-5.png
The file was addedModuleManager/Properties/rainbow2.png
The file was removedProperties/cat-5.png
The file was addedModuleManager/Cats/CatManager.cs
The file was addedModuleManager/Properties/cat-12.png
The file was addedModuleManager/Properties/Resources.resx
The file was addedModuleManager/Properties/cat-1.png
The file was removedProperties/cat-1.png
The file was addedModuleManager/Collections/ImmutableStack.cs
The file was removedProperties/cat-10.png
The file was addedModuleManager/Properties/cat-2.png
The file was removedProperties/cat-3.png
The file was addedModuleManager/PatchProgress.cs
The file was modified ModuleManager.sln (diff)
The file was addedModuleManager/Cats/CatMover.cs
The file was removedCats/CatAnimator.cs
The file was addedModuleManager/Properties/cat-6.png
The file was addedModuleManager/Cats/CatAnimator.cs
The file was addedModuleManager/Properties/Resources.Designer.cs
The file was addedModuleManager/MMPatchLoader.cs
The file was addedModuleManager/IPatchProgress.cs
The file was addedModuleManager/PatchContext.cs
The file was removedProperties/cat-7.png
The file was removedProperties/cat-8.png
The file was removedModuleManager.csproj
The file was removedpackages.config
The file was removedProperties/cat-11.png
The file was addedModuleManager/Logging/IBasicLogger.cs
The file was removedPatchContext.cs
The file was addedModuleManager/Properties/AssemblyInfo.cs
The file was removedCats/CatMover.cs
The file was removedProperties/rainbow2.png
The file was removedPatchProgress.cs
The file was removedCollections/ImmutableStack.cs
The file was removedCats/CatManager.cs
The file was addedModuleManager/Properties/cat-11.png
The file was removedLogging/IBasicLogger.cs
The file was addedModuleManager/Properties/cat-4.png
The file was removedCustomConfigsManager.cs
The file was removedProperties/cat-9.png
The file was addedModuleManager/ModuleManager.cs
The file was addedModuleManager/Properties/cat-10.png
The file was addedModuleManager/packages.config
The file was removedProperties/AssemblyInfo.cs
The file was addedModuleManager/CustomConfigsManager.cs
The file was removedModuleManager.cs
The file was removedProperties/Resources.resx
The file was removedIPatchProgress.cs
The file was removedProperties/cat-4.png
The file was removedProperties/Resources.Designer.cs
The file was addedModuleManager/Extensions/NodeStackExtensions.cs
The file was modified ModuleManager/ModuleManager.csproj (diff)
The file was modified ModuleManager/ModuleManager.csproj (diff)
The file was modified ModuleManager.sln (diff)
The file was addedModuleManagerTests/packages.config
The file was addedModuleManagerTests/DummyTest.cs
The file was addedModuleManagerTests/Properties/AssemblyInfo.cs
The file was addedModuleManagerTests/ModuleManagerTests.csproj
Commit e8159e1f9d8f8c292c827dc0e47f1b93431efcb2 by joeydwong
Add MM, Assembly-CSharp, UnityEngine refs
(commit: e8159e1)
The file was modified ModuleManagerTests/ModuleManagerTests.csproj (diff)
Commit 563a9427e4b3cd21da3ccaa3c38b149c2bb1ee9c by joeydwong
Add console runner
Will be needed eventually
(commit: 563a942)
The file was modified ModuleManagerTests/packages.config (diff)
Commit a7f901e4654900cde28f93c15e27154d66a36e30 by joeydwong
Yo dawg, I heard you like tests
(commit: a7f901e)
The file was modified ModuleManager.sln (diff)
The file was addedTestUtilsTests/TestUtilsTests.csproj
The file was addedTestUtilsTests/Properties/AssemblyInfo.cs
The file was addedTestUtilsTests/DummyTest.cs
The file was addedTestUtilsTests/packages.config
The file was addedTestUtils/Properties/AssemblyInfo.cs
The file was addedTestUtils/TestUtils.csproj
Commit be37f18a9cff44b889ecbc150b1a9b164b098c66 by joeydwong
Add TestConfigNode class
Makes testing with ConfigNodes by simplifying creating them
(commit: be37f18)
The file was addedTestUtilsTests/TestConfigNodeTest.cs
The file was addedTestUtils/TestConfigNode.cs
The file was modified TestUtilsTests/TestUtilsTests.csproj (diff)
The file was modified TestUtils/TestUtils.csproj (diff)
The file was modified ModuleManagerTests/ModuleManagerTests.csproj (diff)
Commit 66e6612df80ebeac9c8cd23e37430ad527014a96 by joeydwong
Don't reference a specific version of System
(commit: 66e6612)
The file was modified ModuleManager/ModuleManager.csproj (diff)
The file was modified ModuleManagerTests/ModuleManagerTests.csproj (diff)
The file was addedModuleManagerTests/Collections/ImmutableStackTest.cs
The file was addedModuleManagerTests/Extensions/NodeStackExtensionsTest.cs
The file was modified ModuleManagerTests/ModuleManagerTests.csproj (diff)
The file was modified ModuleManagerTests/packages.config (diff)
The file was modified ModuleManagerTests/ModuleManagerTests.csproj (diff)
The file was modified ModuleManagerTests/ModuleManagerTests.csproj (diff)
The file was addedModuleManagerTests/Logging/ModLoggerTest.cs
The file was modified ModuleManager/MMPatchLoader.cs (diff)
Commit 564b226028542cf258b2792fb8612baab6b939dc by joeydwong
Add UrlBuilder
Hackily creates UrlDir, UrlFile, UrlConfig for testing purposes
(commit: 564b226)
The file was addedTestUtils/URLBuilder.cs
The file was modified TestUtilsTests/TestUtilsTests.csproj (diff)
The file was addedTestUtilsTests/UrlBuilderTest.cs
The file was modified TestUtils/TestUtils.csproj (diff)
Commit f190d17f56a1837204b62ad004da8005df624c2b by joeydwong
Progress shouldn't depend on deleted subnodes
The number of needs unsatisfied nodes it should be counting is the
number of root nodes that have been removed, not subnodes as well
(commit: f190d17)
The file was modified ModuleManager/MMPatchLoader.cs (diff)
The file was modified ModuleManager/PatchProgress.cs (diff)
The file was modified ModuleManager/IPatchProgress.cs (diff)
Commit fca971747aa52e91653941cc5988cf7fa8119503 by joeydwong
These should use actual URLs
Since all the calls were just using .url anyway
(commit: fca9717)
The file was modified ModuleManager/MMPatchLoader.cs (diff)
The file was modified ModuleManager/IPatchProgress.cs (diff)
The file was modified ModuleManager/PatchProgress.cs (diff)
The file was modified ModuleManager/PatchProgress.cs (diff)
The file was modified ModuleManager/IPatchProgress.cs (diff)
The file was modified ModuleManager/MMPatchLoader.cs (diff)
The file was modified ModuleManager/PatchProgress.cs (diff)
The file was modified ModuleManagerTests/ModuleManagerTests.csproj (diff)
The file was addedModuleManagerTests/PatchProgressTest.cs
Commit ca12c392d34244cddc3eca746d66070f90ae9eee by joeydwong
Replace DeepCopy with ConfigNode.CreateCopy
It does 100% the same thing (and is recursive)
(commit: ca12c39)
The file was modified ModuleManager/MMPatchLoader.cs (diff)
Commit 2b824899ff271c0681f7d03f527ec5b549a2f98a by joeydwong
Inline out variable declarations
Yay C#7
(commit: 2b82489)
The file was modified ModuleManager/MMPatchLoader.cs (diff)
The file was modified ModuleManager/ModuleManager.cs (diff)
The file was modified ModuleManager/MMPatchLoader.cs (diff)
The file was modified ModuleManager/CustomConfigsManager.cs (diff)
Commit a9a990d7f119d0d2d30f50f85a10d8398d27c2b1 by joeydwong
Pull Command and ParseCommand out of MMPatchLoader
Would be nice if enums allowed static methods
(commit: a9a990d)
The file was addedModuleManager/Command.cs
The file was modified ModuleManagerTests/ModuleManagerTests.csproj (diff)
The file was addedModuleManager/CommandParser.cs
The file was modified ModuleManager/ModuleManager.csproj (diff)
The file was addedModuleManagerTests/CommandParserTest.cs
The file was modified ModuleManager/MMPatchLoader.cs (diff)
Commit b43f79b20c2759797aa1ad6323331d3e5e834b85 by joeydwong
Extract ShallowCopy
"this" is the node you're copying to so that the extension method is
only modifying "its" node
(commit: b43f79b)
The file was modified ModuleManagerTests/ModuleManagerTests.csproj (diff)
The file was addedModuleManagerTests/Extensions/ConfigNodeExtensionsTest.cs
The file was modified ModuleManager/MMPatchLoader.cs (diff)
The file was addedModuleManager/Extensions/ConfigNodeExtensions.cs
The file was modified ModuleManager/ModuleManager.csproj (diff)
Commit 534eee2d6cc93d7e3bf6a8899e201f674c957cb2 by joeydwong
Don't create duplicates in UrlBuilder
(commit: 534eee2)
The file was modified TestUtils/URLBuilder.cs (diff)
The file was modified TestUtilsTests/UrlBuilderTest.cs (diff)
Commit 24f21435b3efc6e0064de654a679ec8d5afba2d3 by joeydwong
Add ArrayEnumerator
Enumerates arrays in a garbage-free way
(commit: 24f2143)
The file was addedModuleManagerTests/Collections/ArrayEnumeratorTest.cs
The file was modified ModuleManager/ModuleManager.csproj (diff)
The file was addedModuleManager/Collections/ArrayEnumerator.cs
The file was modified ModuleManagerTests/ModuleManagerTests.csproj (diff)
Commit 7138bbca48c127dda038d199b1518a0dfc84a0a5 by joeydwong
PatchList
list of patches, 'nuff said
(commit: 7138bbc)
The file was modified ModuleManager/ModuleManager.csproj (diff)
The file was addedModuleManagerTests/PatchListTest.cs
The file was addedModuleManager/PatchList.cs
The file was modified ModuleManagerTests/ModuleManagerTests.csproj (diff)
Commit 9a55a65987f83afbc0d2df67b0c1e4c8d80a47e6 by joeydwong
Add PatchExtractor
Extracts patches from the game database and sorts them
(commit: 9a55a65)
The file was modified ModuleManager/ModuleManager.csproj (diff)
The file was addedModuleManager/PatchExtractor.cs
The file was modified ModuleManagerTests/ModuleManagerTests.csproj (diff)
The file was addedModuleManagerTests/PatchExtractorTest.cs
Commit 90027c2abade9c7f035948bcfed4e6cddbc32e7e by joeydwong
Add SafeUrl extension method for UrlConfig
Makes sure logging doesn't mess up, and fixes the weird quirk where a
node with a name value ends up displaying that instead of its actual
name
(commit: 90027c2)
The file was addedModuleManager/Extensions/UrlConfigExtensions.cs
The file was modified ModuleManager/ModuleManager.csproj (diff)
The file was modified ModuleManagerTests/ModuleManagerTests.csproj (diff)
The file was addedModuleManagerTests/Extensions/UrlConfigExtensionsTest.cs
The file was modified ModuleManager/MMPatchLoader.cs (diff)
The file was modified ModuleManager/PatchExtractor.cs (diff)
The file was modified ModuleManager/PatchProgress.cs (diff)
Commit 331ab180365a6e243f4d2f192197b762a6820ba0 by joeydwong
Remove unused
Doesn't really have any benefit
(commit: 331ab18)
The file was modified ModuleManager/MMPatchLoader.cs (diff)
Commit 3f8adeeb9ca45e6afd879602d8bf5176ba6f7a65 by joeydwong
Log when BEFORE or AFTER patch deleted
This is pretty much equivalent to unsatisfied NEEDS, so it should be
noted as such.  Also log on an unsatisfied FOR, although this shouldn't
happen (make it a warning)
(commit: 3f8adee)
The file was modified ModuleManager/PatchExtractor.cs (diff)
The file was modified ModuleManagerTests/PatchProgressTest.cs (diff)
The file was modified ModuleManagerTests/PatchExtractorTest.cs (diff)
The file was modified ModuleManager/IPatchProgress.cs (diff)
The file was modified ModuleManager/PatchProgress.cs (diff)
Commit 50346dc2f17ca43b5d47132e636df295ae95a992 by joeydwong
Fix case issues
Mods may not be lowercase to begin with, need to handle this
(commit: 50346dc)
The file was modified ModuleManagerTests/PatchListTest.cs (diff)
The file was modified ModuleManager/PatchList.cs (diff)
The file was addedModuleManagerTests/Extensions/StringExtensionsTest.cs
The file was modified ModuleManagerTests/ModuleManagerTests.csproj (diff)
The file was modified ModuleManager/ModuleManager.csproj (diff)
The file was addedModuleManager/Extensions/StringExtensions.cs
The file was modified ModuleManager/MMPatchLoader.cs (diff)
Commit e52a646ba73fb0639218d779508e7f110aaa1a3f by joeydwong
Remove bracket unbalanced nodes when sorting
(commit: e52a646)
The file was modified ModuleManagerTests/PatchExtractorTest.cs (diff)
The file was modified ModuleManager/PatchExtractor.cs (diff)
The file was modified ModuleManager/MMPatchLoader.cs (diff)
Commit 5a468bea8d010631895e3e7bdbf40a5682748b13 by joeydwong
Bring back DeepCopy
Apparently KSP's default implementation fails on badly formed nodes
(commit: 5a468be)
The file was modified ModuleManager/MMPatchLoader.cs (diff)
The file was modified ModuleManagerTests/Extensions/ConfigNodeExtensionsTest.cs (diff)
The file was modified ModuleManager/Extensions/ConfigNodeExtensions.cs (diff)
The file was modified ModuleManager/MMPatchLoader.cs (diff)
Commit 9bd8253f26f0aaf03891cbef10d5a3c27de3ec6d by joeydwong
Make sure badly formed mod passes are an error
(commit: 9bd8253)
The file was modified ModuleManager/PatchExtractor.cs (diff)
The file was modified ModuleManagerTests/PatchExtractorTest.cs (diff)
The file was modified ModuleManager/MMPatchLoader.cs (diff)
Commit cacc840da0d34307ef18796288eaafb30d2f3229 by joeydwong
Add some explanatory comments
(commit: cacc840)
The file was modified ModuleManager/PatchExtractor.cs (diff)
The file was modified ModuleManager/Extensions/ConfigNodeExtensions.cs (diff)
Commit c00735d7f3322aba14159706f996e7c45bc13dff by joeydwong
Unnecessary using directives
(commit: c00735d)
The file was modified ModuleManagerTests/Extensions/ConfigNodeExtensionsTest.cs (diff)
The file was modified ModuleManager/PatchExtractor.cs (diff)
The file was modified ModuleManager/Extensions/ConfigNodeExtensions.cs (diff)
Commit 8d71ac691054fcc9e1fa236d4debbb2687be4632 by joeydwong
Use sorted patches when applying
Improves performance somewhat
Verified that sorting patches takes almost no time even for a fairly
large number of patches
(commit: 8d71ac6)
The file was modified ModuleManager/MMPatchLoader.cs (diff)
Commit aa990db608166c83fd2fdbf9cd62fdba40788ff8 by joeydwong
Remove now-unnecessary try-catch
There's already one around it and we no longer care about removing
patches from the database at this stage
(commit: aa990db)
The file was modified ModuleManager/MMPatchLoader.cs (diff)
Commit 3ca180142d1cc787cf92ceae683b64cbab04c964 by joeydwong
Replace big if with guard clause
Reduces indentation.  Insert nodes shouldn't exist here anyway
(commit: 3ca1801)
The file was modified ModuleManager/MMPatchLoader.cs (diff)
Commit ec7c67cea50bc2b67ceadeac9b57ae3284816a24 by joeydwong
Simplify this
It no longer has to look in actual passes here, so we can just use the
name we want it to display.
It does change the way it displays in the loading screen but that seems
fine.
(commit: ec7c67c)
The file was modified ModuleManager/MMPatchLoader.cs (diff)
Commit 809831304b89671c1abf746c91f5d166dd5a1a86 by joeydwong
Invalid command = error on the patch extractor
This seems like the right place to check it
(commit: 8098313)
The file was modified ModuleManager/PatchExtractor.cs (diff)
The file was modified ModuleManagerTests/PatchExtractorTest.cs (diff)
The file was modified ModuleManager/MMPatchLoader.cs (diff)
The file was modified ModuleManager/Extensions/StringExtensions.cs (diff)
The file was modified ModuleManagerTests/Extensions/StringExtensionsTest.cs (diff)
The file was modified ModuleManager/MMPatchLoader.cs (diff)
The file was modified ModuleManager/MMPatchLoader.cs (diff)
The file was modified ModuleManagerTests/Extensions/ConfigNodeExtensionsTest.cs (diff)
The file was modified ModuleManager/Extensions/ConfigNodeExtensions.cs (diff)
The file was modified ModuleManager/MMPatchLoader.cs (diff)
Commit b52a80ea42e54cef13a90290c84eaeb493823649 by joeydwong
Get rid of unnecesary using directives
(commit: b52a80e)
The file was modified ModuleManager/Extensions/UrlConfigExtensions.cs (diff)
The file was modified ModuleManagerTests/Extensions/UrlConfigExtensionsTest.cs (diff)
Commit 45a4c0c2222159a75c17415c16ef499c9e785c71 by joeydwong
Don't run PrePatchInit if cache is being used
Mod list is not necessary
(commit: 45a4c0c)
The file was modified ModuleManager/MMPatchLoader.cs (diff)
Commit d397a80a1157dbd74374fc9abd8a4f9e4b1ebbb3 by joeydwong
Eliminate mods instance variable
(commit: d397a80)
The file was modified ModuleManager/MMPatchLoader.cs (diff)
Commit 12780a636b8ace12511cfd71d8ec9302b3a15201 by joeydwong
Use method param rather than instance var
Makes things easier to disentagle
(commit: 12780a6)
The file was modified ModuleManager/MMPatchLoader.cs (diff)
Commit b6b628cbed7806607a53eca2815e5e6be441eebf by joeydwong
Eliminate Update
Status will be updated when necessary anyway
(commit: b6b628c)
The file was modified ModuleManager/MMPatchLoader.cs (diff)
Commit 7a40730ad2b966bcc0eccee8968af93d950efaa7 by joeydwong
Eliminate redundant logging
MMPatchLoader logs this info itself
(commit: 7a40730)
The file was modified ModuleManager/ModuleManager.cs (diff)
Commit 7e714a47ba7f158718e878ffcad83324f5b30453 by joeydwong
Keep track of progress fraction independently
(commit: 7e714a4)
The file was modified ModuleManager/MMPatchLoader.cs (diff)
Commit 9236be107824be90bb56840dc20486aacb4fce7d by joeydwong
Make StatusUpdate less general
If cache is used, status only needs to be set once, no need to check it
every time
(commit: 9236be1)
The file was modified ModuleManager/MMPatchLoader.cs (diff)
Commit 8696143e2f3fd17dab5f92f81798141d4eeff69f by joeydwong
Move this
What I get for trying to make a bunch of changes and then split them
into small commits
(commit: 8696143)
The file was modified ModuleManager/MMPatchLoader.cs (diff)
Commit 58d52d9572fce69dc234dbd7d1ba4f5b78e48313 by joeydwong
Eliminate Progress instance variable
Make it local, inject where needed
(commit: 58d52d9)
The file was modified ModuleManager/MMPatchLoader.cs (diff)
Commit 2645d222082cf9a5913590ac97ad6253c6ec92a3 by joeydwong
Make more methods static
All their instance variable dependencies have been eliminated
(commit: 2645d22)
The file was modified ModuleManager/MMPatchLoader.cs (diff)
Commit 824b077dfc46eee2998bbc56ea3fb28f7c96b776 by joeydwong
This is no longer necessary
And will probably result in an error anyway
(commit: 824b077)
The file was modified ModuleManager/MMPatchLoader.cs (diff)
Commit ac0a149a21efe830c2c8e7df2468526395b6fe6d by joeydwong
Move exception handling outside of PrettyConfig
Callers really shouldn't be trying to print the result if it resulted in
an exception anyway
(commit: ac0a149)
The file was modified ModuleManager/MMPatchLoader.cs (diff)
Commit eb18b601a5662c74712af4eea74c0c60cb7ca467 by joeydwong
Tweak test
This isn't the case it was trying to test
(commit: eb18b60)
The file was modified ModuleManagerTests/Extensions/ConfigNodeExtensionsTest.cs (diff)
Commit 4fdfb8911e4b93c8f7c332e8fab077a8a1bc6861 by joeydwong
Allow adding a ConfigNode.Value in initializer
Not useful yet but maybe at some point
(commit: 4fdfb89)
The file was modified TestUtilsTests/TestConfigNodeTest.cs (diff)
The file was modified TestUtils/TestConfigNode.cs (diff)
Commit 70eca817c4d6d398c471b84d6ac0288ad4128e37 by joeydwong
Extract PrettyConfig (for UrlConfig)
(commit: 70eca81)
The file was modified ModuleManagerTests/Extensions/UrlConfigExtensionsTest.cs (diff)
The file was modified ModuleManager/Extensions/UrlConfigExtensions.cs (diff)
The file was modified ModuleManager/MMPatchLoader.cs (diff)
The file was modified ModuleManager/Extensions/ConfigNodeExtensions.cs (diff)
The file was modified ModuleManagerTests/Extensions/ConfigNodeExtensionsTest.cs (diff)
The file was modified ModuleManagerTests/Extensions/UrlConfigExtensionsTest.cs (diff)
Commit 1a7d1e36c64d27318b002a5505f5959be21551d1 by joeydwong
Make CheckNeeds static
Can now be extracted
(commit: 1a7d1e3)
The file was modified ModuleManager/MMPatchLoader.cs (diff)
The file was modified ModuleManager/MMPatchLoader.cs (diff)
The file was modified ModuleManager/Extensions/NodeStackExtensions.cs (diff)
Commit a035b672edecdefd73f22fefef00c56a9270360f by joeydwong
Improve url and node printing
* Handle null name explicitly
* Include url when printing a UrlConfig
(commit: a035b67)
The file was modified ModuleManager/Extensions/UrlConfigExtensions.cs (diff)
The file was modified ModuleManagerTests/Extensions/UrlConfigExtensionsTest.cs (diff)
Commit 59a922067956db3ba32b6c248e53714958425296 by joeydwong
Extract CheckNeeds
Equality vs sameness mostly not tested for now, need to determine
desired behavior
(commit: 59a9220)
The file was modified ModuleManager/ModuleManager.csproj (diff)
The file was addedModuleManager/NeedsChecker.cs
The file was modified ModuleManager/MMPatchLoader.cs (diff)
The file was addedModuleManagerTests/NeedsCheckerTest.cs
The file was modified ModuleManagerTests/ModuleManagerTests.csproj (diff)
Commit 784e7a80059574c888b4626a711359ce5463a5ae by joeydwong
Ensure that final string printed to the screen is the actual status
(commit: 784e7a8)
The file was modified ModuleManager/MMPatchLoader.cs (diff)
Commit 13850b617ff7cdadd06a6bf943c7be22cf51b21a by joeydwong
Fix up mod list logging
* Use a string builder
* Print assemblies in a nicer format (table)
(commit: 13850b6)
The file was modified ModuleManager/MMPatchLoader.cs (diff)
Commit cd3a4680ae697b04680743db8120434c42c135d0 by joeydwong
Use Path.Combine
It's more concise then concatenating with the separator char
(commit: cd3a468)
The file was modified ModuleManager/MMPatchLoader.cs (diff)
The file was modified ModuleManager/MMPatchLoader.cs (diff)
Commit a5b1547d4b6020ebad74d1e9cf2668fc9514e58e by joeydwong
Improve assembly list
* Get rid of unused code
* Include KSPAssembly version
(commit: a5b1547)
The file was modified ModuleManager/MMPatchLoader.cs (diff)
The file was modified ModuleManager/MMPatchLoader.cs (diff)
Commit fde3fbc3782c23cbc0527e4128c49d08eb2cfbba by joeydwong
Move tracking number of patches
from mod list to sorting patches
(commit: fde3fbc)
The file was modified ModuleManagerTests/PatchExtractorTest.cs (diff)
The file was modified ModuleManager/MMPatchLoader.cs (diff)
The file was modified ModuleManager/PatchExtractor.cs (diff)
Commit f09622f190f8bb289df5229f6c45cf1a71885838 by joeydwong
Put progress counts in their own object
Allows the same counts to be used with a different logger.  Also remove
unused setter for NeedsUnsatisfiedRootCount
(commit: f09622f)
The file was modified ModuleManager/IPatchProgress.cs (diff)
The file was modified ModuleManager/PatchProgress.cs (diff)
Commit ce43104059244df30ebad90bfd928ab08ec4bd7d by joeydwong
Move exception handling out of FIleSHA
Callers should be aware of exceptions anyway
(commit: ce43104)
The file was modified ModuleManager/MMPatchLoader.cs (diff)
Commit 2dc9f9121be35ea1c30ada09c0dc0456cc7b0c1a by joeydwong
Extract FileSHA
Interacts with the file system so difficult to test unfortunately
(commit: 2dc9f91)
The file was modified ModuleManager/ModuleManager.csproj (diff)
The file was addedModuleManager/Utils/FileUtils.cs
The file was modified ModuleManager/MMPatchLoader.cs (diff)
The file was modified ModuleManager/MMPatchLoader.cs (diff)
The file was modified ModuleManager/MMPatchLoader.cs (diff)
Commit e40426a633c90762f8fb034d561aefb388f57634 by joeydwong
Extract GenerateModList
Unfortunately interacts with AssemblyLoader and the file system so not
really testable
(commit: e40426a)
The file was modified ModuleManager/ModuleManager.csproj (diff)
The file was addedModuleManager/ModListGenerator.cs
The file was modified ModuleManager/MMPatchLoader.cs (diff)
The file was addedModuleManager/Collections/MessageQueue.cs
The file was modified ModuleManagerTests/ModuleManagerTests.csproj (diff)
The file was addedModuleManagerTests/Collections/MessageQueueTest.cs
The file was modified ModuleManager/ModuleManager.csproj (diff)
Commit 7d0c5878014b0e000808f8cb7b04d5665e280aa9 by joeydwong
Add QueueLogger and supporting classes
Allows logging to a queue
(commit: 7d0c587)
The file was addedModuleManager/Logging/QueueLogger.cs
The file was addedModuleManager/Logging/ExceptionMessage.cs
The file was modified ModuleManagerTests/ModuleManagerTests.csproj (diff)
The file was modified ModuleManager/ModuleManager.csproj (diff)
The file was addedModuleManagerTests/Logging/NormalMessageTest.cs
The file was addedModuleManagerTests/Logging/QueueLoggerTest.cs
The file was addedModuleManagerTests/Logging/ExceptionMessageTest.cs
The file was addedModuleManager/Logging/ILogMessage.cs
The file was addedModuleManager/Logging/NormalMessage.cs
Commit d1975dbdd1bc2c61488644dd8e53ab92c557befd by joeydwong
Don't keep track of non-root needs unsatisfied
Isn't used anywhere
(commit: d1975db)
The file was modified ModuleManager/PatchProgress.cs (diff)
The file was modified ModuleManagerTests/PatchProgressTest.cs (diff)
Commit 78d46359c18677bf34a7cbe0f1b510e2c2b9dc1e by joeydwong
Add FatalErrorHandler
Allows us to display a message to the user and quit when an
unrecoverable error occurs.
Can't really be tested unfortunately.
(commit: 78d4635)
The file was addedModuleManager/FatalErrorHandler.cs
The file was modified ModuleManager/ModuleManager.csproj (diff)
Commit 172e2f3c845c42f1a4b4fb14182314891b00939a by joeydwong
Add background task support
Allows a background task to be run and monitored, including if it exits
due to an exception
(commit: 172e2f3)
The file was modified ModuleManagerTests/ModuleManagerTests.csproj (diff)
The file was addedModuleManager/Threading/TaskStatusWrapper.cs
The file was addedModuleManagerTests/Threading/TaskStatusTest.cs
The file was addedModuleManager/Threading/TaskStatus.cs
The file was addedModuleManagerTests/Threading/BackgroundTaskTest.cs
The file was addedModuleManager/Threading/BackgroundTask.cs
The file was addedModuleManager/Threading/ITaskStatus.cs
The file was modified ModuleManager/ModuleManager.csproj (diff)
Commit 7f9088719a5d478f5b5119fe7123ad06ba17a340 by joeydwong
Begin creating Progress namespace
(commit: 7f90887)
The file was addedModuleManager/Progress/PatchProgress.cs
The file was removedModuleManager/PatchProgress.cs
The file was modified ModuleManagerTests/ModuleManagerTests.csproj (diff)
The file was removedModuleManager/IPatchProgress.cs
The file was addedModuleManager/Progress/IPatchProgress.cs
The file was addedModuleManagerTests/Progress/PatchProgressTest.cs
The file was modified ModuleManager/ModuleManager.csproj (diff)
The file was removedModuleManagerTests/PatchProgressTest.cs
Commit b0f72c293f1ae36994c73c628eca346906ba59b5 by joeydwong
Finish creating Progress namespace
(commit: b0f72c2)
The file was modified ModuleManager/PatchExtractor.cs (diff)
The file was modified ModuleManager/NeedsChecker.cs (diff)
The file was modified ModuleManagerTests/Progress/PatchProgressTest.cs (diff)
The file was modified ModuleManagerTests/NeedsCheckerTest.cs (diff)
The file was modified ModuleManager/MMPatchLoader.cs (diff)
The file was modified ModuleManager/Progress/IPatchProgress.cs (diff)
The file was modified ModuleManagerTests/PatchExtractorTest.cs (diff)
The file was modified ModuleManager/ModListGenerator.cs (diff)
The file was modified ModuleManager/Progress/PatchProgress.cs (diff)
The file was modified ModuleManager/PatchContext.cs (diff)
The file was modified ModuleManager/MMPatchLoader.cs (diff)
The file was modified ModuleManagerTests/Progress/PatchProgressTest.cs (diff)
Commit 92ae91f6a8fef397d17f658e67538bc060a50d23 by joeydwong
Add needs test for and/or and capitalization
(commit: 92ae91f)
The file was modified ModuleManagerTests/NeedsCheckerTest.cs (diff)
Commit 6596b47e64677ee615718e6194d85e7ee6787659 by joeydwong
Separate out progress counter
Make it so that all the values can be incremented but not otherwise
messed with.
Allow a new progress tracker to be initialized that shares a counter
with another but uses a different logger
(commit: 6596b47)
The file was modified ModuleManagerTests/Progress/PatchProgressTest.cs (diff)
The file was modified ModuleManager/Progress/IPatchProgress.cs (diff)
The file was modified ModuleManager/ModuleManager.csproj (diff)
The file was addedModuleManager/Utils/Counter.cs
The file was addedModuleManager/Progress/ProgressCounter.cs
The file was modified ModuleManager/Progress/PatchProgress.cs (diff)
The file was modified ModuleManager/MMPatchLoader.cs (diff)
The file was modified ModuleManagerTests/ModuleManagerTests.csproj (diff)
The file was addedModuleManagerTests/Utils/CounterTest.cs
Commit 9a05e1b8902043f474c6d8bec4ed88da10ecf328 by joeydwong
Ensure Counter behaves like an int
(commit: 9a05e1b)
The file was modified ModuleManager/Utils/Counter.cs (diff)
The file was modified ModuleManagerTests/Utils/CounterTest.cs (diff)
The file was modified ModuleManager/Utils/Counter.cs (diff)
Commit a1af72527f8c6356509a9e12cfecea7c76a86570 by joeydwong
Add test for ! (not) in :NEEDS
(commit: a1af725)
The file was modified ModuleManagerTests/NeedsCheckerTest.cs (diff)
Commit 3a19ff8e6698a8f15660cc8cb2edacd3cb2fcf70 by joeydwong
More unnecessary using directives
(commit: 3a19ff8)
The file was modified ModuleManager/Command.cs (diff)
The file was modified ModuleManager/Progress/PatchProgress.cs (diff)
The file was modified ModuleManager/CommandParser.cs (diff)
Commit e9c341a3e1fcfa5061a441bc9c1455acd60bf275 by joeydwong
Extract application of patches to its own thread
Allows it to not be bound by logging which can be slow
(commit: e9c341a)
The file was modified ModuleManagerTests/ModuleManagerTests.csproj (diff)
The file was addedModuleManager/PatchApplier.cs
The file was addedModuleManagerTests/PatchApplierTest.cs
The file was modified ModuleManager/ModuleManager.csproj (diff)
The file was modified ModuleManager/MMPatchLoader.cs (diff)
Commit b0e02e098a73aa19b1ef214f75aaaec2790d33ce by joeydwong
Test and fix PatchProgress.ProgressFraction
Patches are now only counted after needs are checked, so this shouldn't
consider needs unsatisfied nodes
(commit: b0e02e0)
The file was modified ModuleManagerTests/Progress/PatchProgressTest.cs (diff)
The file was modified ModuleManager/Progress/PatchProgress.cs (diff)
The file was modified ModuleManager/MMPatchLoader.cs (diff)
Commit 5fe79fd6b901eed0768ec3452ab65c97389b2971 by joeydwong
Only convert to array once per pass
This is expensive
(commit: 5fe79fd)
The file was modified ModuleManager/PatchApplier.cs (diff)
Commit 20e619287f1e8637476ada51f3a2470200b9b09b by joeydwong
Make node matching its own method
Saves a level of indentation
(commit: 20e6192)
The file was modified ModuleManager/PatchApplier.cs (diff)
Commit 244af1ac93d9c32a017666ff0e59e88d01c75449 by joeydwong
Loop only applies to edit patches
Saves another indentation level.  Also remove MM_PATCH_LOOP {} after
done
(commit: 244af1a)
The file was modified ModuleManager/PatchApplier.cs (diff)
The file was modified ModuleManagerTests/PatchApplierTest.cs (diff)
Commit cdeb5f76dbf574eb5d310c71ea5cc605f7077508 by joeydwong
Don't convert to an array at all
It's not necessary.  Also don't use switch - makes things cleaner.  It's
only 3 cases anyway
(commit: cdeb5f7)
The file was modified ModuleManager/PatchApplier.cs (diff)
The file was modified ModuleManagerTests/PatchApplierTest.cs (diff)
Commit 30eeb6f3c1a6ba1525b762ef6583f362b84e64ab by joeydwong
Ensure that user gets updates during long passes
The patcher can potentially generate log messages faster than the main
thread can log them, causing frames that are noticeably long with no
updates.  This ensures that yields still happen then.
Verified that this does not meaningfully affect performance.  Previous
tests suggest that the time wasted by waiting until the next frame is
relatively small.
(commit: 30eeb6f)
The file was modified ModuleManager/MMPatchLoader.cs (diff)
Commit 7e42de5a4e85a83ef6711885255a9f1b8b64aa0d by joeydwong
Without switch, i is valid here
(commit: 7e42de5)
The file was modified ModuleManager/PatchApplier.cs (diff)
Commit dc1a167b0874120c893962e097388bd8be2a84e3 by joeydwong
Ensure time between each check of the log queue
This prevents the queue from being locked too often, slowing down the
patching thread
(commit: dc1a167)
The file was modified ModuleManager/MMPatchLoader.cs (diff)
Commit ec5310bdfa4ebd10da8de9e675a2150d3beff098 by joeydwong
Convert to an array initially
Apparently it saves a bit of time, and this won't be changed while
patches run
(commit: ec5310b)
The file was modified ModuleManager/PatchApplier.cs (diff)
Commit 7cc6c5130dc9fe86d6bed7158b1390be88fa5edf by joeydwong
Having an actual array here no longer necessary
(commit: 7cc6c51)
The file was modified ModuleManager/PatchApplier.cs (diff)
Commit bd82d53b561931630a1c5ddda4491e56ab46e727 by joeydwong
Apparently Linq slows things down
I guess it matters at scale
(commit: bd82d53)
The file was modified ModuleManager/PatchApplier.cs (diff)
Commit ce3893f9682c3dae5232491b3ee9f4f97a6e3b2a by joeydwong
Improve access of name a bit
Looks like GetValue("name") has a bit of overhead, instead we can check
if the UrlConfig's type == name
(commit: ce3893f)
The file was modified ModuleManager/PatchApplier.cs (diff)
Commit 203ad88debd4cd772d754da569e35d0efd241943 by joeydwong
Move loop out of loop
This is all a bit loopy
(commit: 203ad88)
The file was modified ModuleManager/PatchApplier.cs (diff)
Commit 73f7b397ab6cc0930be850a9f8c33dc86a1b58dc by joeydwong
case should match filename
matters on some filesystems
(commit: 73f7b39)
The file was addedTestUtils/UrlBuilder.cs
The file was removedTestUtils/URLBuilder.cs
The file was modified ModuleManager/Properties/AssemblyInfo.cs (diff)