Skip to content
Success

Changes

Summary

  1. Make patch stopwatch local (commit: 5a5b3e7) (details)
  2. Make useCache local (commit: bedb00c) (details)
  3. Make Patch an object (commit: 5ab92f6) (details)
  4. Simplify a bit (commit: a551c2c) (details)
  5. Extra semicolon (commit: f96c333) (details)
  6. Extract interface for PatchList, modify PatchExtractor (commit: 83288b5) (details)
  7. Allow null value in wildcard match (commit: cccdc85) (details)
  8. Extract node matcher (commit: 3698d7c) (details)
  9. Extract IPatch interface, split up root patches (commit: 5d77647) (details)
  10. Fix tests depending on line endings (commit: d331d9e) (details)
Commit 5a5b3e7c542f0a0e55c0bbc72ea2ee299a4a8e62 by joeydwong
Make patch stopwatch local
It's not needed outside of ProcessPatch(), which contains everything it
needs to time
(commit: 5a5b3e7)
The file was modified ModuleManager/MMPatchLoader.cs (diff)
Commit bedb00c654f69cfe2ecf87b29bc25190d048901a by joeydwong
Make useCache local
Really only needed for a few lines in ProcessPatch()
(commit: bedb00c)
The file was modified ModuleManager/MMPatchLoader.cs (diff)
Commit 5ab92f618ac9e51ebc5bb55a86ab3244ea28f47d by joeydwong
Make Patch an object
Saves having to parse things multiple times, error/info messages can now
show the original name (except NEEDS, will be worked on).  More
functionality will be added to this class in future commits.
(commit: 5ab92f6)
The file was addedModuleManagerTests/PatchTest.cs
The file was modified ModuleManager/PatchExtractor.cs (diff)
The file was modified ModuleManagerTests/PatchApplierTest.cs (diff)
The file was modified ModuleManagerTests/PatchExtractorTest.cs (diff)
The file was modified ModuleManagerTests/ModuleManagerTests.csproj (diff)
The file was addedModuleManager/Patch.cs
The file was modified ModuleManager/ModuleManager.csproj (diff)
The file was modified ModuleManager/PatchApplier.cs (diff)
The file was modified ModuleManager/PatchList.cs (diff)
The file was modified ModuleManager/PatchExtractor.cs (diff)
The file was modified ModuleManager/PatchExtractor.cs (diff)
Commit 83288b5773b3115ce6870e6107a8f0eb1d97703b by joeydwong
Extract interface for PatchList, modify PatchExtractor
PatchExtractor did too much at once, it shouldn't enumerate and extract
at the same time (still some work to be done there...).  PatchList now
has a clearer interface and obscures more of the details - iterating
through patches is now handled by it rater than PatchApplier
(commit: 83288b5)
The file was modified ModuleManager/PatchApplier.cs (diff)
The file was addedModuleManagerTests/PassTest.cs
The file was addedModuleManager/Pass.cs
The file was modified ModuleManager/MMPatchLoader.cs (diff)
The file was modified ModuleManagerTests/PatchListTest.cs (diff)
The file was modified ModuleManager/PatchExtractor.cs (diff)
The file was modified ModuleManagerTests/ModuleManagerTests.csproj (diff)
The file was modified ModuleManagerTests/PatchApplierTest.cs (diff)
The file was modified ModuleManagerTests/PatchExtractorTest.cs (diff)
The file was modified ModuleManager/Collections/ArrayEnumerator.cs (diff)
The file was modified ModuleManager/ModuleManager.csproj (diff)
The file was modified ModuleManager/PatchList.cs (diff)
Commit cccdc85fcb522b7be1f0682baf8807934b43cea1 by joeydwong
Allow null value in wildcard match
Allows for instance :HAS[#someValue] instead of :HAS[#someValue[*]]
(commit: cccdc85)
The file was modified ModuleManager/MMPatchLoader.cs (diff)
Commit 3698d7c53885fb090ed1ef7b5ba5b4fedc22a377 by joeydwong
Extract node matcher
Will eventually be useful in modifying nodes too, but not without some
refactoring.  For now it is only used on root patches.
(commit: 3698d7c)
The file was modified ModuleManagerTests/ModuleManagerTests.csproj (diff)
The file was modified ModuleManager/PatchApplier.cs (diff)
The file was addedModuleManager/NodeMatcher.cs
The file was modified ModuleManagerTests/PatchTest.cs (diff)
The file was modified ModuleManager/ModuleManager.csproj (diff)
The file was modified ModuleManager/Patch.cs (diff)
The file was modified ModuleManagerTests/PatchExtractorTest.cs (diff)
The file was addedModuleManagerTests/NodeMatcherTest.cs
Commit 5d77647f910ee0a35f2b0c1d3148314ff4344263 by joeydwong
Extract IPatch interface, split up root patches
(commit: 5d77647)
The file was modified ModuleManager/PatchExtractor.cs (diff)
The file was modified ModuleManagerTests/PatchListTest.cs (diff)
The file was modified ModuleManager/Pass.cs (diff)
The file was modified ModuleManagerTests/ModuleManagerTests.csproj (diff)
The file was modified ModuleManagerTests/PatchExtractorTest.cs (diff)
The file was addedModuleManagerTests/Patches/CopyPatchTest.cs
The file was removedModuleManagerTests/PatchTest.cs
The file was removedModuleManager/Patch.cs
The file was addedModuleManagerTests/Patches/DeletePatchTest.cs
The file was modified ModuleManager/PatchApplier.cs (diff)
The file was addedModuleManager/Patches/PatchCompiler.cs
The file was addedModuleManagerTests/Patches/PatchCompilerTest.cs
The file was modified ModuleManagerTests/PassTest.cs (diff)
The file was modified ModuleManager/ModuleManager.csproj (diff)
The file was addedModuleManager/Patches/EditPatch.cs
The file was addedModuleManager/Patches/DeletePatch.cs
The file was modified ModuleManager/PatchList.cs (diff)
The file was addedModuleManager/Patches/IPatch.cs
The file was modified ModuleManagerTests/PatchApplierTest.cs (diff)
The file was addedModuleManager/Patches/CopyPatch.cs
The file was addedModuleManagerTests/Patches/EditPatchTest.cs
Commit d331d9e7efd2b3c0cc1b565072492c2669e9bb26 by joeydwong
Fix tests depending on line endings
Since we're already asserting on the ParamName, we can trust that the
2nd part of the message will be there and not test it.
(commit: d331d9e)
The file was modified ModuleManagerTests/PatchListTest.cs (diff)
The file was modified ModuleManagerTests/PassTest.cs (diff)
The file was modified ModuleManagerTests/Patches/PatchCompilerTest.cs (diff)
The file was modified ModuleManagerTests/NodeMatcherTest.cs (diff)