3 years agoDebugLogger: Added a boolean to Print() to avoid printing messages to the screen, to avoid crashes when the application is shutting down. ARdev-LOS
toadicus []
DebugLogger: Added a boolean to Print() to avoid printing messages to the screen, to avoid crashes when the application is shutting down.

4 years agoSparseTable: Disable compile for release builds until we start using it.
Andy Wilkinson []
SparseTable: Disable compile for release builds until we start using it.

4 years agoTable: Made the headers two lines deep for now.
Andy Wilkinson []
Table: Made the headers two lines deep for now.

4 years agoVesselExtensions: Added getLineOfSight methods to return an Enum of Blocked, Clear, Margin line of sight status.
toadicus []
VesselExtensions: Added getLineOfSight methods to return an Enum of Blocked, Clear, Margin line of sight status.

4 years agoMerge branch 'master' of ssh://toad.homelinux.net:22222/ToadicusTools
toadicus []
Merge branch 'master' of ssh://toad.homelinux.net:22222/ToadicusTools

4 years agoIOTools: Removed a few extraneous bits from LoadTexture.
toadicus []
IOTools: Removed a few extraneous bits from LoadTexture.

4 years agoMerge branch 'master' of zeetha:ToadicusTools
Andy Wilkinson []
Merge branch 'master' of zeetha:ToadicusTools

4 years agoRegion tags.
Andy Wilkinson []
Region tags.

4 years agoMerge branch 'master' of ssh://toad.homelinux.net:22222/ToadicusTools
toadicus []
Merge branch 'master' of ssh://toad.homelinux.net:22222/ToadicusTools

4 years agoIOTools: Added fallback support to GameDatabase if the file does not existing, e.g. if someone is using DDSLoader and changed it to a dds.
toadicus []
IOTools: Added fallback support to GameDatabase if the file does not existing, e.g. if someone is using DDSLoader and changed it to a dds.

4 years agoSparseTable: Reorganizing into a namespace.
toadicus []
SparseTable: Reorganizing into a namespace.

4 years agoAnother operator.
Andy Wilkinson []
Another operator.

4 years agoA bunch more operators for Cell.
Andy Wilkinson []
A bunch more operators for Cell.

4 years agoA little more for the Sequential containers.
Andy Wilkinson []
A little more for the Sequential containers.

4 years agoRemoved some random noise.
Andy Wilkinson []
Removed some random noise.

4 years agoSparseTable: Fixed the index gates on row and column, and started SequentialColumn.
Andy Wilkinson []
SparseTable: Fixed the index gates on row and column, and started SequentialColumn.

4 years agoNew SparseTable class, aiming to do Table right this time.
toadicus []
New SparseTable class, aiming to do Table right this time.

4 years agoWindowTools: Added improved support for clamping away from the parts/crew/action panels in the editors.
Andy Wilkinson []
WindowTools: Added improved support for clamping away from the parts/crew/action panels in the editors.

4 years agoTable: Improved support for styles.
Andy Wilkinson []
Table: Improved support for styles.

4 years agoNew Table class for drawing tables by column with GUILayout.
Andy Wilkinson []
New Table class for drawing tables by column with GUILayout.

4 years agoDebugPartModule: Only build the code if debugging.
toadicus []
DebugPartModule: Only build the code if debugging.

4 years agoSlightly cleaned up the logic fordetecting crew types, probably.
Andy Wilkinson []
Slightly cleaned up the logic fordetecting crew types, probably.

4 years agoVesselExtensions: New, more robust command methods to handle the full set of use cases. Of course, now Squad has removed one.
Andy Wilkinson []
VesselExtensions: New, more robust command methods to handle the full set of use cases. Of course, now Squad has removed one.

4 years agoVesselExtensions: Remove the minimumCrew gate, which caused false negatives for optionally-crewed parts like the Taurus capsule.
Andy Wilkinson []
VesselExtensions: Remove the minimumCrew gate, which caused false negatives for optionally-crewed parts like the Taurus capsule.

4 years agoConfigNodeExtensions: New TryGetValue extension methods.
Andy []
ConfigNodeExtensions: New TryGetValue extension methods.

4 years agoStep 1 for excising ModuleDB.
Andy Wilkinson []
Step 1 for excising ModuleDB.

4 years agoNew class IOTools, currently with texture-loading powers.
Andy []
New class IOTools, currently with texture-loading powers.

4 years agoPartExtensions: Added some debug code to hasModuleType.
Andy []
PartExtensions: Added some debug code to hasModuleType.

4 years agoModuleDBWrapper: Major Surgery to work around some reflection issues. Seems to be working?
Andy []
ModuleDBWrapper: Major Surgery to work around some reflection issues. Seems to be working?

4 years agoAppLauncherTools: Added another override and a GameScenes extension for translating to AppScens.
Andy Wilkinson []
AppLauncherTools: Added another override and a GameScenes extension for translating to AppScens.

4 years agoEventSniffer: Moved to ToadicusTools namespace and added onVesselGoO{n,ff}Rails sniffers.
Andy Wilkinson []
EventSniffer: Moved to ToadicusTools namespace and added onVesselGoO{n,ff}Rails sniffers.

4 years agoTweakableAnimationWrapper: Moved to ToadicusTools namespace.
Andy Wilkinson []
TweakableAnimationWrapper: Moved to ToadicusTools namespace.

4 years agoNew AppLauncherTools class with extensions, tools for the stock ApplicationLauncher.
Andy []
New AppLauncherTools class with extensions, tools for the stock ApplicationLauncher.

4 years agoVesselExtensions: Added optional sqrRatio parameter to all hasLineOfSightTo overloads.
Andy []
VesselExtensions: Added optional sqrRatio parameter to all hasLineOfSightTo overloads.

4 years agoDebugPartModule: Converted DumpModule to DumpClassObject, added new DumpModule and DumpPart callers.
Andy Wilkinson []
DebugPartModule: Converted DumpModule to DumpClassObject, added new DumpModule and DumpPart callers.

4 years agoTools: New SetIfDefault extension method for all types that assigns a new value only if the target is its default value / non-value.
Andy Wilkinson []
Tools: New SetIfDefault extension method for all types that assigns a new value only if the target is its default value / non-value.

4 years agoSingleton: Probably more thread-safe now.
Andy Wilkinson []
Singleton: Probably more thread-safe now.

4 years agocsproj: Two new files.
Andy Wilkinson []
csproj: Two new files.

4 years agoSecurePartModule: New PartModule derivative allowing KSPField targets to be non-public.
Andy Wilkinson []
SecurePartModule: New PartModule derivative allowing KSPField targets to be non-public.

4 years agoDebugPartModule: New PartModule derivative to facilitate debugging PartModules.
Andy Wilkinson []
DebugPartModule: New PartModule derivative to facilitate debugging PartModules.

4 years agoNew Singleton abstract.
Andy Wilkinson []
New Singleton abstract.

4 years agoStringTools: New SIFormatter class implementing a new SI format string for invoking MuMech_ToSI within string.Format.
Andy []
StringTools: New SIFormatter class implementing a new SI format string for invoking MuMech_ToSI within string.Format.
Tools: New Format() method for caling string.Format with the new SIFormatter.

4 years agoRevert "Added AssemblyInfo, so we can check on versions in log submissions."
Andy []
Revert "Added AssemblyInfo, so we can check on versions in log submissions."

This reverts commit 4701621aa0c4f46bfe9d9d716cec35d9a867ff4c.

4 years agoAdded AssemblyInfo, so we can check on versions in log submissions.
Andy []
Added AssemblyInfo, so we can check on versions in log submissions.

4 years agoNew class VectorTools, just as-needed stuff for now.
Andy []
New class VectorTools, just as-needed stuff for now.

4 years agoMerge branch 'master' of ssh://toad.homelinux.net:22222/ToadicusTools
Andy []
Merge branch 'master' of ssh://toad.homelinux.net:22222/ToadicusTools

4 years agoTools: Properly flush a log buffer when it prints.
Andy []
Tools: Properly flush a log buffer when it prints.

4 years agoTools: Improved one of the debug message functions.
Andy Wilkinson []
Tools: Improved one of the debug message functions.

4 years agoNo longer build deprecated PrefabPartDBWrapper.
Andy Wilkinson []
No longer build deprecated PrefabPartDBWrapper.

4 years agoMerge branch 'master' of ssh://toad.homelinux.net:22222/ToadicusTools
Andy []
Merge branch 'master' of ssh://toad.homelinux.net:22222/ToadicusTools

4 years agoMerge branch 'master' of zeetha:ToadicusTools
Andy Wilkinson []
Merge branch 'master' of zeetha:ToadicusTools

4 years agoVesselExtensions: Added a set of hasLineOfSightTo methods with an out parameter for the first body found blocking line of sight. Also improved hasCrewCommand to be more accurate.
Andy Wilkinson []
VesselExtensions: Added a set of hasLineOfSightTo methods with an out parameter for the first body found blocking line of sight. Also improved hasCrewCommand to be more accurate.

4 years agoVesselExtensions: Added a set of hasLineOfSightTo methods with an out parameter for the first body found blocking line of sight.
Andy Wilkinson []
VesselExtensions: Added a set of hasLineOfSightTo methods with an out parameter for the first body found blocking line of sight.

4 years agoRevert "Enabled MSBuild engine because of reasons."
Andy []
Revert "Enabled MSBuild engine because of reasons."

This reverts commit 068525c576aeaf5d1e92eb8d77d39c4913790a41.

4 years agoVesselExtensions: Added hasCrewCommand.
Andy []
VesselExtensions: Added hasCrewCommand.

4 years agoEnabled MSBuild engine because of reasons.
Andy []
Enabled MSBuild engine because of reasons.

4 years agoDefine our own project version so solutions will stop changing it.
Andy Wilkinson []
Define our own project version so solutions will stop changing it.

4 years agoPartExtensions: Changed hasAncestorPart to fail unexceptionally if one of the part arguments is null.
Andy Wilkinson []
PartExtensions: Changed hasAncestorPart to fail unexceptionally if one of the part arguments is null.

4 years agoVesselExtensions: Added excludedBodies parameter for hasLineOfSightTo.
Andy Wilkinson []
VesselExtensions: Added excludedBodies parameter for hasLineOfSightTo.

4 years agoTools: Added CelestialBody[].Contains.
Andy Wilkinson []
Tools: Added CelestialBody[].Contains.

4 years agoVesselExtensions: Rewrote hasLineOfSightTo using all original code with overloads for Vector3d, Vessel, and CelestialBody targets.
Andy []
VesselExtensions: Rewrote hasLineOfSightTo using all original code with overloads for Vector3d, Vessel, and CelestialBody targets.

4 years agoWrappers: Added runOnce behavior.
Andy []
Wrappers: Added runOnce behavior.

4 years agoPartExtensions: Removed dependence on PrefabPartDB. Added some more ArgumentNullException guards.
Andy []
PartExtensions: Removed dependence on PrefabPartDB. Added some more ArgumentNullException guards.

4 years agoSomething weird about versions.
Andy []
Something weird about versions.

4 years agoMoved References to something more local so we can make Linux and Windows happy at the same time, maybe.
Andy Wilkinson []
Moved References to something more local so we can make Linux and Windows happy at the same time, maybe.

4 years agoProject: Added linux configurations.
Andy Wilkinson []
Project: Added linux configurations.

4 years agoIModuleDB: Added XML comments.
Andy []
IModuleDB: Added XML comments.

4 years agoDBWrappers: Changed the way objects are cast to fix runtime InvalidCastException tosses.
Andy []
DBWrappers: Changed the way objects are cast to fix runtime InvalidCastException tosses.

4 years agoTools: Changed PostDebugMessage(sender, format, args[]) to work with a null sender.
Andy []
Tools: Changed PostDebugMessage(sender, format, args[]) to work with a null sender.

4 years agoTools: Removed VERBOSE-conditionPostDebugMessage, because I'm not really using it anymore.
Andy []
Tools: Removed VERBOSE-conditionPostDebugMessage, because I'm not really using it anymore.

4 years agoRevert "Tools: New PostDebugMessage mirroring string.Format."
Andy []
Revert "Tools: New PostDebugMessage mirroring string.Format."

This reverts commit 3627ebd0ea5016dadb135d49041739f412d29f82.

4 years agoTools: New PostDebugMessage mirroring string.Format.
Andy []
Tools: New PostDebugMessage mirroring string.Format.

4 years agoMigrated Part and Vessel Extensions from compile-time DB use to runtime DB use via wrappers.
Andy []
Migrated Part and Vessel Extensions from compile-time DB use to runtime DB use via wrappers.

4 years agoMoved ModuleDB and PrefabPartDB to their own library. Added new wrappers.
Andy []
Moved ModuleDB and PrefabPartDB to their own library. Added new wrappers.

4 years agoProject: Added PrefabPartDB.cs.
Andy []
Project: Added PrefabPartDB.cs.

4 years agoNow defining _DB_AVAILABLE symbols.
Andy []
Now defining _DB_AVAILABLE symbols.

4 years agoAdded csproj to see if I can't make my workflow better.
Andy []
Added csproj to see if I can't make my workflow better.

4 years agoMerge branch 'master' of zeetha:ToadicusTools
Andy Wilkinson []
Merge branch 'master' of zeetha:ToadicusTools

4 years agoAdded some BENCH-contingent benchmarking code.
Andy Wilkinson []
Added some BENCH-contingent benchmarking code.

4 years agoVesselExtensions: Added hasLineOfSightTo, based on RT2.
Andy []
VesselExtensions: Added hasLineOfSightTo, based on RT2.

4 years agomdproj: added PrefabPartDB.
Andy Wilkinson []
mdproj: added PrefabPartDB.

4 years agoVesselExtensions: Added new sqrDistanceTo extension methods.
Andy Wilkinson []
VesselExtensions: Added new sqrDistanceTo extension methods.

4 years agoTools: Fixed erroneous second AppendFormat definition to AppendLine.
Andy Wilkinson []
Tools: Fixed erroneous second AppendFormat definition to AppendLine.

4 years agoPrefabPartDB: New database of ModuleInfos in AvailableParts, keyed by part name nad module name, for O(1) lookups of modules by name.
Andy Wilkinson []
PrefabPartDB: New database of ModuleInfos in AvailableParts, keyed by part name nad module name, for O(1) lookups of modules by name.

4 years agoPartExtensions: Minor debug changes.
Andy Wilkinson []
PartExtensions: Minor debug changes.

4 years agoModuleDB: Added special vessel handling while in the editor.
Andy Wilkinson []
ModuleDB: Added special vessel handling while in the editor.

4 years agoChanged solution version to 1.0 for reasons.
Andy Wilkinson []
Changed solution version to 1.0 for reasons.

4 years agoPartExtensions: Changed getFirstModuleOfType from try/catch to a proper guard.
Andy Wilkinson []
PartExtensions: Changed getFirstModuleOfType from try/catch to a proper guard.

4 years agoAdded Part.tryGetFirstModuleOfType and hasAncestorPart.
Andy Wilkinson []
Added Part.tryGetFirstModuleOfType and hasAncestorPart.

4 years agoMerged ToolbarWrapper from Toolbar/master.
Andy Wilkinson []
Merged ToolbarWrapper from Toolbar/master.

4 years agoMoved ToolbarWrapper from VOID.
Andy Wilkinson []
Moved ToolbarWrapper from VOID.

4 years agoAdded .mdproj because there's nothing system-specific here.
Andy []
Added .mdproj because there's nothing system-specific here.

4 years agoA bunch of documenting.
Andy []
A bunch of documenting.

4 years agoMoved ARTools and some vessel extensions from AntennaRange.
Andy []
Moved ARTools and some vessel extensions from AntennaRange.

4 years agoNamespace changes, moving some CommonTools code into Tools.cs, etc.
Andy []
Namespace changes, moving some CommonTools code into Tools.cs, etc.

4 years agoMoved CommonTools from TweakableEverything.
Andy []
Moved CommonTools from TweakableEverything.

4 years agoEventSniffer license changed to Simplified BSD.
Andy []
EventSniffer license changed to Simplified BSD.

4 years agoMoved EventSniffer from AntennaRange.
Andy []
Moved EventSniffer from AntennaRange.

4 years agoRelicensed to Simplified BSD.
Andy []
Relicensed to Simplified BSD.

4 years agoMoved IntCollection from VOID.
Andy []
Moved IntCollection from VOID.