Skip to content

Commit 808f7fb

Browse files
committed
better changelog
1 parent 81ac7db commit 808f7fb

File tree

7 files changed

+39
-15
lines changed

7 files changed

+39
-15
lines changed

README.md

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,25 @@ java -cp bin;lib/classgraph-4.8.47.jar main.ArrayVisualizer
2424
- Refactored / optimized code
2525

2626
## 5/21/2020 - Version 3.0 is now released!
27+
- Sound effects are much more pleasant at slower speeds
2728
- Revamped "Run All Sorts" (It is now easier to create your own sequence of sorts!)
29+
- More accurate delay algorithm
30+
- Improved random shuffle algorithm (now with 0% bias!)
2831
- Cleaner statistics
2932
- Sort an array up to 16,384 (2^14) numbers!
33+
- The "green sweep" animation also verifies an array is properly sorted after watching a sort.
34+
If a sort fails, a warning message pops up, highlighting where the first out-of-order item is.
35+
- Minor tweak to the sort time method. It should be a slight bit more accurate now.
36+
- Slowsort and Sillysort's comparisons are now shown.
37+
- Gravity Sort has a more detailed visual now
38+
- Pancake Sorting is fixed
3039
- Counting Sort is fixed
3140
- Holy Grail Sort is enabled, but just note that it's a mock algorithm; not finished yet.
32-
- Bug fixes
33-
- - Minor fixes to "Skip Sort" button
34-
- - Weird static line bug with linked dots squashed
35-
- - Other miscellaneous fixes here and there
41+
- "Auxillary" typo fixed; program now says 'Writes to Auxiliary Array(s)'
42+
- Bug fixes and minor tweaks
43+
- Minor fixes to "Skip Sort" button
44+
- Weird static line bug with linked dots squashed
45+
- Other miscellaneous fixes and changes here and there
3646

3747
## 10/19/2019 - Version 2.1
3848
- Both Odd-Even Mergesorts now display comparisons

build.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@
4242
<mkdir dir="bin"/>
4343
<copy includeemptydirs="false" todir="bin">
4444
<fileset dir="src">
45-
<exclude name="**/*.launch"/>
4645
<exclude name="**/*.java"/>
4746
</fileset>
4847
</copy>

dist/Java.xml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2+
<project default="create_run_jar" name="Create Runnable Jar for Project ArrayVisualizer-master with Jar-in-Jar Loader">
3+
<!--this file was created by Eclipse Runnable JAR file Export Wizard-->
4+
<!--ANT 1.7 is required-->
5+
<!--define folder properties-->
6+
<property name="dir.buildfile" value="."/>
7+
<property name="dir.workspace" value="${dir.buildfile}/../.."/>
8+
<property name="dir.jarfile" value="${dir.buildfile}"/>
9+
<target name="create_run_jar">
10+
<jar destfile="${dir.jarfile}/arrayVisualizer.jar">
11+
<manifest>
12+
<attribute name="Main-Class" value="org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader"/>
13+
<attribute name="Rsrc-Main-Class" value="main.ArrayVisualizer"/>
14+
<attribute name="Class-Path" value="."/>
15+
<attribute name="Rsrc-Class-Path" value="./ classgraph-4.8.47-javadoc.jar classgraph-4.8.47-sources.jar classgraph-4.8.47.jar"/>
16+
</manifest>
17+
<zipfileset src="jar-in-jar-loader.zip"/>
18+
<fileset dir="${dir.workspace}/ArrayVisualizer-master/bin"/>
19+
<zipfileset dir="${dir.workspace}/ArrayVisualizer-master/lib" includes="classgraph-4.8.47-javadoc.jar"/>
20+
<zipfileset dir="${dir.workspace}/ArrayVisualizer-master/lib" includes="classgraph-4.8.47-sources.jar"/>
21+
<zipfileset dir="${dir.workspace}/ArrayVisualizer-master/lib" includes="classgraph-4.8.47.jar"/>
22+
</jar>
23+
</target>
24+
</project>

dist/arrayVisualizer.jar

-99 Bytes
Binary file not shown.

dist/jar-in-jar-loader.zip

7.55 KB
Binary file not shown.

src/sorts/RecursiveCombSort.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
*
1111
MIT License
1212
Copyright (c) 2019 w0rthy
13+
Copyright (c) 2019 PiotrGrochowski
1314
Permission is hereby granted, free of charge, to any person obtaining a copy
1415
of this software and associated documentation files (the "Software"), to deal
1516
in the Software without restriction, including without limitation the rights

src/templates/BogoSorting.java

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -57,16 +57,6 @@ protected boolean bogoIsSorted(int[] array, int length){
5757
return true;
5858
}
5959

60-
protected boolean bogoIsSortedWithDelay(int[] array, int length, double sleep){
61-
for(int i = 0; i < length - 1; i++) {
62-
Highlights.markArray(1, i);
63-
Delays.sleep(sleep);
64-
if(Reads.compare(array[i], array[i + 1]) == 1) return false;
65-
}
66-
Highlights.clearMark(1);
67-
return true;
68-
}
69-
7060
protected boolean isMinSorted(int[] array, int length, int offset) {
7161
Highlights.clearAllMarks();
7262

0 commit comments

Comments
 (0)