Permalink
Browse files

Move PureUtilities out as a separate library

This cannot be merged yet, and builds of this branch will fail,
until the binaries are added to some repository that is used by
the project. Ideally, this will be Maven Central, but this has
yet to be determined.
  • Loading branch information...
LadyCailin committed Aug 14, 2018
1 parent 992c273 commit b40de7e51d66609cfbfd925314e27261d3366147
Showing with 921 additions and 22,363 deletions.
  1. +2 −0 nb-configuration.xml
  2. +16 −2 pom.xml
  3. +0 −1,150 src/main/java/com/laytonsmith/PureUtilities/ArgumentParser.java
  4. +0 −305 src/main/java/com/laytonsmith/PureUtilities/ArgumentSuite.java
  5. +0 −1,087 src/main/java/com/laytonsmith/PureUtilities/ClassLoading/ClassDiscovery.java
  6. +0 −162 src/main/java/com/laytonsmith/PureUtilities/ClassLoading/ClassDiscoveryCache.java
  7. +0 −116 src/main/java/com/laytonsmith/PureUtilities/ClassLoading/ClassDiscoveryURLCache.java
  8. +0 −225 src/main/java/com/laytonsmith/PureUtilities/ClassLoading/ClassMirror/AbstractElementMirror.java
  9. +0 −164 src/main/java/com/laytonsmith/PureUtilities/ClassLoading/ClassMirror/AbstractMethodMirror.java
  10. +0 −286 src/main/java/com/laytonsmith/PureUtilities/ClassLoading/ClassMirror/AnnotationMirror.java
  11. +0 −630 src/main/java/com/laytonsmith/PureUtilities/ClassLoading/ClassMirror/ClassMirror.java
  12. +0 −230 src/main/java/com/laytonsmith/PureUtilities/ClassLoading/ClassMirror/ClassMirrorVisitor.java
  13. +0 −113 src/main/java/com/laytonsmith/PureUtilities/ClassLoading/ClassMirror/ClassReferenceMirror.java
  14. +0 −79 src/main/java/com/laytonsmith/PureUtilities/ClassLoading/ClassMirror/ConstructorMirror.java
  15. +0 −75 src/main/java/com/laytonsmith/PureUtilities/ClassLoading/ClassMirror/FieldMirror.java
  16. +0 −87 src/main/java/com/laytonsmith/PureUtilities/ClassLoading/ClassMirror/MethodMirror.java
  17. +0 −263 src/main/java/com/laytonsmith/PureUtilities/ClassLoading/ClassMirror/ModifierMirror.java
  18. +0 −58 src/main/java/com/laytonsmith/PureUtilities/ClassLoading/ClassMirror/PackageMirror.java
  19. +0 −132 src/main/java/com/laytonsmith/PureUtilities/ClassLoading/DynamicClassLoader.java
  20. +0 −41 src/main/java/com/laytonsmith/PureUtilities/ClassLoading/DynamicEnum.java
  21. +0 −846 src/main/java/com/laytonsmith/PureUtilities/Color.java
  22. +0 −268 src/main/java/com/laytonsmith/PureUtilities/CommandExecutor.java
  23. +0 −178 src/main/java/com/laytonsmith/PureUtilities/Common/Annotations/AnnotationChecks.java
  24. +0 −374 src/main/java/com/laytonsmith/PureUtilities/Common/Annotations/CheckOverrides.java
  25. +0 −16 src/main/java/com/laytonsmith/PureUtilities/Common/Annotations/ForceImplementation.java
  26. +0 −21 src/main/java/com/laytonsmith/PureUtilities/Common/Annotations/InterfaceRunnerFor.java
  27. +0 −827 src/main/java/com/laytonsmith/PureUtilities/Common/ArrayUtils.java
  28. +0 −135 src/main/java/com/laytonsmith/PureUtilities/Common/AutoFlushObjectOutputStream.java
  29. +0 −279 src/main/java/com/laytonsmith/PureUtilities/Common/ClassUtils.java
  30. +0 −52 src/main/java/com/laytonsmith/PureUtilities/Common/DateUtils.java
  31. +0 −438 src/main/java/com/laytonsmith/PureUtilities/Common/FileUtil.java
  32. +0 −239 src/main/java/com/laytonsmith/PureUtilities/Common/GNUErrorMessageFormat.java
  33. +0 −41 src/main/java/com/laytonsmith/PureUtilities/Common/HTMLUtils.java
  34. +0 −81 src/main/java/com/laytonsmith/PureUtilities/Common/LogUtils.java
  35. +0 −94 src/main/java/com/laytonsmith/PureUtilities/Common/LogicUtils.java
  36. +0 −22 src/main/java/com/laytonsmith/PureUtilities/Common/Misc.java
  37. +0 −73 src/main/java/com/laytonsmith/PureUtilities/Common/MutableObject.java
  38. +0 −40 src/main/java/com/laytonsmith/PureUtilities/Common/OSUtils.java
  39. +0 −249 src/main/java/com/laytonsmith/PureUtilities/Common/RSAEncrypt.java
  40. +0 −170 src/main/java/com/laytonsmith/PureUtilities/Common/Range.java
  41. +0 −432 src/main/java/com/laytonsmith/PureUtilities/Common/ReflectionUtils.java
  42. +0 −50 src/main/java/com/laytonsmith/PureUtilities/Common/StackTraceUtils.java
  43. +0 −156 src/main/java/com/laytonsmith/PureUtilities/Common/StreamUtils.java
  44. +0 −989 src/main/java/com/laytonsmith/PureUtilities/Common/StringUtils.java
  45. +0 −128 src/main/java/com/laytonsmith/PureUtilities/Common/TemplateBuilder.java
  46. +0 −109 src/main/java/com/laytonsmith/PureUtilities/Common/TimeConversionUtil.java
  47. +0 −98 src/main/java/com/laytonsmith/PureUtilities/Common/UIUtils.java
  48. +0 −19 src/main/java/com/laytonsmith/PureUtilities/Common/Wildcard.java
  49. +0 −363 src/main/java/com/laytonsmith/PureUtilities/Common/WinRegistry.java
  50. +0 −170 src/main/java/com/laytonsmith/PureUtilities/ConcurrentSingletonHashMap.java
  51. +0 −75 src/main/java/com/laytonsmith/PureUtilities/DaemonManager.java
  52. +0 −295 src/main/java/com/laytonsmith/PureUtilities/ExecutionQueue.java
  53. +0 −318 src/main/java/com/laytonsmith/PureUtilities/ExhaustiveVisitor.java
  54. +0 −87 src/main/java/com/laytonsmith/PureUtilities/FileLocations.java
  55. +0 −59 src/main/java/com/laytonsmith/PureUtilities/HeapDumper.java
  56. +0 −61 src/main/java/com/laytonsmith/PureUtilities/LimitedQueue.java
  57. +0 −177 src/main/java/com/laytonsmith/PureUtilities/LinkedComparatorSet.java
  58. +0 −91 src/main/java/com/laytonsmith/PureUtilities/Marquee.java
  59. +0 −176 src/main/java/com/laytonsmith/PureUtilities/MemoryMapFileUtil.java
  60. +0 −76 src/main/java/com/laytonsmith/PureUtilities/Pair.java
  61. +0 −111 src/main/java/com/laytonsmith/PureUtilities/Point3D.java
  62. +0 −389 src/main/java/com/laytonsmith/PureUtilities/Preferences.java
  63. +0 −19 src/main/java/com/laytonsmith/PureUtilities/ProgressIterator.java
  64. +0 −398 src/main/java/com/laytonsmith/PureUtilities/PropertiesManager.java
  65. +0 −320 src/main/java/com/laytonsmith/PureUtilities/PublicSuffix.java
  66. +0 −67 src/main/java/com/laytonsmith/PureUtilities/RollingAverage.java
  67. +0 −92 src/main/java/com/laytonsmith/PureUtilities/RunnableQueue.java
  68. +0 −243 src/main/java/com/laytonsmith/PureUtilities/SAXDocument.java
  69. +0 −77 src/main/java/com/laytonsmith/PureUtilities/SignalHandler.java
  70. +0 −58 src/main/java/com/laytonsmith/PureUtilities/SignalType.java
  71. +0 −211 src/main/java/com/laytonsmith/PureUtilities/Signals.java
  72. +0 −226 src/main/java/com/laytonsmith/PureUtilities/SimpleVersion.java
  73. +0 −196 src/main/java/com/laytonsmith/PureUtilities/Sizes.java
  74. +0 −163 src/main/java/com/laytonsmith/PureUtilities/SmartComment.java
  75. +0 −324 src/main/java/com/laytonsmith/PureUtilities/TermColors.java
  76. +0 −218 src/main/java/com/laytonsmith/PureUtilities/ThreadPump.java
  77. +0 −156 src/main/java/com/laytonsmith/PureUtilities/Vector3D.java
  78. +0 −80 src/main/java/com/laytonsmith/PureUtilities/Version.java
  79. +0 −206 src/main/java/com/laytonsmith/PureUtilities/Web/Cookie.java
  80. +0 −142 src/main/java/com/laytonsmith/PureUtilities/Web/CookieJar.java
  81. +0 −24 src/main/java/com/laytonsmith/PureUtilities/Web/HTTPHeader.java
  82. +0 −8 src/main/java/com/laytonsmith/PureUtilities/Web/HTTPMethod.java
  83. +0 −142 src/main/java/com/laytonsmith/PureUtilities/Web/HTTPResponse.java
  84. +0 −23 src/main/java/com/laytonsmith/PureUtilities/Web/HTTPResponseCallback.java
  85. +0 −38 src/main/java/com/laytonsmith/PureUtilities/Web/RawHTTPResponse.java
  86. +0 −357 src/main/java/com/laytonsmith/PureUtilities/Web/RequestSettings.java
  87. +0 −613 src/main/java/com/laytonsmith/PureUtilities/Web/WebUtility.java
  88. +0 −439 src/main/java/com/laytonsmith/PureUtilities/XMLDocument.java
  89. +0 −73 src/main/java/com/laytonsmith/PureUtilities/ZipIterator.java
  90. +0 −109 src/main/java/com/laytonsmith/PureUtilities/ZipMaker.java
  91. +0 −451 src/main/java/com/laytonsmith/PureUtilities/ZipReader.java
  92. +0 −12 src/main/java/com/laytonsmith/PureUtilities/package-info.java
  93. +2 −2 ...n/java/com/laytonsmith/{PureUtilities/ClassLoading/Annotations → Utilities}/CacheAnnotations.java
  94. +52 −0 src/main/java/com/laytonsmith/Utilities/CheckOverrides.java
  95. +1 −1 src/main/java/com/laytonsmith/{PureUtilities → Utilities}/MSP/Burst.java
  96. +1 −1 src/main/java/com/laytonsmith/{PureUtilities → Utilities}/MSP/CapabilityList.java
  97. +3 −3 src/main/java/com/laytonsmith/{PureUtilities → Utilities}/MSP/Connection.java
  98. +1 −1 src/main/java/com/laytonsmith/{PureUtilities → Utilities}/MSP/MSPUtil.java
  99. +1 −1 src/main/java/com/laytonsmith/{PureUtilities → Utilities}/MSP/RemoteCapability.java
  100. +1 −1 src/main/java/com/laytonsmith/{PureUtilities → Utilities}/SSHWrapper.java
  101. 0 src/main/java/com/laytonsmith/{PureUtilities → Utilities}/UI/TextDialog.form
  102. +69 −65 src/main/java/com/laytonsmith/{PureUtilities → Utilities}/UI/TextDialog.java
  103. +1 −1 src/main/java/com/laytonsmith/{PureUtilities → Utilities}/VirtualFS/FileSystemLayer.java
  104. +1 −1 src/main/java/com/laytonsmith/{PureUtilities → Utilities}/VirtualFS/InvalidVirtualFile.java
  105. +1 −1 src/main/java/com/laytonsmith/{PureUtilities → Utilities}/VirtualFS/PermissionException.java
  106. +1 −1 src/main/java/com/laytonsmith/{PureUtilities → Utilities}/VirtualFS/RealFileSystemLayer.java
  107. +1 −1 src/main/java/com/laytonsmith/{PureUtilities → Utilities}/VirtualFS/VirtualFile.java
  108. +2 −2 src/main/java/com/laytonsmith/{PureUtilities → Utilities}/VirtualFS/VirtualFileSystem.java
  109. +1 −1 src/main/java/com/laytonsmith/{PureUtilities → Utilities}/VirtualFS/VirtualFileSystemSettings.java
  110. +1 −1 src/main/java/com/laytonsmith/{PureUtilities → Utilities}/VirtualFS/VirtualGlob.java
  111. +1 −1 src/main/java/com/laytonsmith/{PureUtilities → Utilities}/VirtualFS/VirtualSymlink.java
  112. +1 −1 src/main/java/com/laytonsmith/{PureUtilities → Utilities}/rParser.java
  113. +0 −17 src/main/java/com/laytonsmith/annotations/MustUseOverride.java
  114. +0 −80 src/main/java/com/laytonsmith/annotations/NonInheritImplements.java
  115. +0 −1 src/main/java/com/laytonsmith/commandhelper/CommandHelperPlugin.java
  116. +670 −0 src/main/java/com/laytonsmith/commandhelper/Metrics.java
  117. +2 −1 src/main/java/com/laytonsmith/core/MainSandbox.java
  118. +1 −1 src/main/java/com/laytonsmith/core/functions/FileHandling.java
  119. +1 −1 src/main/java/com/laytonsmith/persistence/DataSource.java
  120. +1 −1 src/main/java/com/laytonsmith/persistence/io/SSHConnection.java
  121. +80 −73 src/main/java/com/laytonsmith/tools/Interpreter.java
  122. +1 −1 src/main/java/com/laytonsmith/tools/docgen/DocGenTemplates.java
  123. +1 −1 src/main/java/com/laytonsmith/tools/docgen/sitedeploy/RemoteDeploymentMethod.java
  124. +1 −1 src/main/java/com/laytonsmith/tools/pnviewer/PNViewer.java
  125. +0 −672 src/main/java/org/bstats/bukkit/Metrics.java
  126. +0 −203 src/test/java/com/laytonsmith/PureUtilities/ArgumentParserTest.java
  127. +0 −254 src/test/java/com/laytonsmith/PureUtilities/ClassLoading/GeneralTest.java
  128. +0 −145 src/test/java/com/laytonsmith/PureUtilities/Common/GNUErrorMessageFormatTest.java
  129. +0 −91 src/test/java/com/laytonsmith/PureUtilities/Common/RangeTest.java
  130. +0 −49 src/test/java/com/laytonsmith/PureUtilities/Common/TimeConversionUtilTest.java
  131. +0 −52 src/test/java/com/laytonsmith/PureUtilities/ConcurrentSingletonHashMapTest.java
  132. +0 −63 src/test/java/com/laytonsmith/PureUtilities/LinkedComparatorSetTest.java
  133. +0 −57 src/test/java/com/laytonsmith/PureUtilities/LogicUtilsTest.java
  134. +0 −56 src/test/java/com/laytonsmith/PureUtilities/NonInheritImplementsTest.java
  135. +0 −56 src/test/java/com/laytonsmith/PureUtilities/RSAEncryptTest.java
  136. +0 −53 src/test/java/com/laytonsmith/PureUtilities/ReflectionUtilsTest.java
  137. +0 −121 src/test/java/com/laytonsmith/PureUtilities/SAXDocumentTest.java
  138. +0 −69 src/test/java/com/laytonsmith/PureUtilities/SimpleVersionTest.java
  139. +0 −103 src/test/java/com/laytonsmith/PureUtilities/SmartCommentTest.java
  140. +0 −203 src/test/java/com/laytonsmith/PureUtilities/StringUtilsTest.java
  141. +0 −166 src/test/java/com/laytonsmith/PureUtilities/XMLDocumentTest.java
  142. +0 −45 src/test/java/com/laytonsmith/PureUtilities/ZipMakerTest.java
  143. +0 −75 src/test/java/com/laytonsmith/PureUtilities/ZipReaderTest.java
  144. +3 −1 src/test/java/com/laytonsmith/{PureUtilities → Utilities}/VirtualFS/VirtualFSTest.java
  145. +0 −1 src/test/resources/test.txt
  146. BIN src/test/resources/test.zip
  147. BIN src/test/resources/testNested.zip
  148. +0 −1 src/test/resources/zippables/inner/test.txt
  149. +0 −1 src/test/resources/zippables/test.txt
View
@@ -33,5 +33,7 @@
<org-netbeans-modules-editor-indent.CodeStyle.project.text-limit-width>120</org-netbeans-modules-editor-indent.CodeStyle.project.text-limit-width>
<org-netbeans-modules-editor-indent.CodeStyle.project.expand-tabs>false</org-netbeans-modules-editor-indent.CodeStyle.project.expand-tabs>
<org-netbeans-modules-editor-indent.CodeStyle.usedProfile>project</org-netbeans-modules-editor-indent.CodeStyle.usedProfile>
<netbeans.checkstyle.format>true</netbeans.checkstyle.format>
<org-netbeans-modules-javascript2-requirejs.enabled>true</org-netbeans-modules-javascript2-requirejs.enabled>
</properties>
</project-shared-configuration>
View
18 pom.xml
@@ -167,6 +167,13 @@
IMPORTANT: When adding a new non-test dependency, add the license that it uses in a comment
within the dependency
-->
<!-- Pure Utilities -->
<dependency>
<groupId>com.laytonsmith</groupId>
<artifactId>pureutilities</artifactId>
<version>1.0.0-SNAPSHOT</version>
</dependency>
<!-- Bukkit -->
<dependency>
@@ -525,6 +532,7 @@
<include>javax.activation:activation:jar:*</include>
<include>postgresql:postgresql:jar:*</include>
<include>org.apache.oltu.oauth2:org.apache.oltu.oauth2.client:jar:*</include>
<include>com.laytonsmith:pureutilities:jar:*</include>
</includes>
</artifactSet>
<relocations>
@@ -719,6 +727,12 @@
<include>**</include>
</includes>
</filter>
<filter>
<artifact>com.laytonsmith:pureutilities:jar:*</artifact>
<includes>
<include>**</include>
</includes>
</filter>
</filters>
</configuration>
</execution>
@@ -738,7 +752,7 @@
</execution>
</executions>
<configuration>
<mainClass>com.laytonsmith.PureUtilities.ClassLoading.Annotations.CacheAnnotations</mainClass>
<mainClass>com.laytonsmith.Utilities.CacheAnnotations</mainClass>
<arguments>
<argument>${basedir}/target/classes</argument>
<argument>${basedir}/target/classes</argument>
@@ -761,7 +775,7 @@
<configuration>
<outputDirectory>src/main/generated</outputDirectory>
<processors>
<processor>com.laytonsmith.PureUtilities.Common.Annotations.CheckOverrides</processor>
<processor>com.laytonsmith.Utilities.CheckOverrides</processor>
<processor>com.laytonsmith.core.extensions.ExtensionAnnotationProcessor</processor>
<processor>com.laytonsmith.core.MObjectAnnotationProcessor</processor>
</processors>
Oops, something went wrong.

0 comments on commit b40de7e

Please sign in to comment.