Skip to content

Commit

Permalink
Merge branch 'hotfix/2.9.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
kunstmusik committed Sep 10, 2023
2 parents 4615e18 + aea6ab7 commit 84bef85
Show file tree
Hide file tree
Showing 74 changed files with 70 additions and 304 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/blue_ci_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- uses: actions/upload-artifact@v2
with:
name: Blue (macOS arm64 .app)
path: application/target/blue-macOS-arm64-2.9.0.zip
path: application/target/blue-macOS-arm64-2.9.1.zip
macos_x86_64:
runs-on: macos-latest
steps:
Expand All @@ -37,7 +37,7 @@ jobs:
- uses: actions/upload-artifact@v2
with:
name: Blue (macOS x86_64 .app)
path: application/target/blue-macOS-x86_64-2.9.0.zip
path: application/target/blue-macOS-x86_64-2.9.1.zip
linux:
runs-on: ubuntu-latest
steps:
Expand All @@ -51,12 +51,12 @@ jobs:
- name: Build Blue
run: mvn -Dmaven.test.skip=true -Pgenerate-manual clean install

- run: mv application/target/blue-2.9.0.zip blue-linux-2.9.0.zip
- run: mv application/target/blue-2.9.1.zip blue-linux-2.9.1.zip

- uses: actions/upload-artifact@v2
with:
name: Blue Linux Zip
path: blue-linux-2.9.0.zip
path: blue-linux-2.9.1.zip

windows:
runs-on: windows-latest
Expand All @@ -71,9 +71,9 @@ jobs:
- name: Build Blue
run: mvn -Pgenerate-manual clean install

- run: mv application/target/blue-2.9.0.zip blue-windows-2.9.0.zip
- run: mv application/target/blue-2.9.1.zip blue-windows-2.9.1.zip

- uses: actions/upload-artifact@v2
with:
name: Blue Windows Zip
path: blue-windows-2.9.0.zip
path: blue-windows-2.9.1.zip
8 changes: 8 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,14 @@ information.

# CHANGE LOG

## [2.9.1] - 2023-09-10

### FIX

* Issues #758 - fixed issues with selection of JMask, Tracker, and other objects
due to issue with implementing equals()


## [2.9.0] - 2023-07-26

### NEW
Expand Down
2 changes: 1 addition & 1 deletion application/build-mac.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<property name="app.name" value="blue"/>
<!-- for Info.plist, must be only numbers and periods per Apple guidelines -->
<property name="app.version" value="2.9.0"/>
<property name="app.version" value="2.9.1"/>
<property name="app.root" value="target/${app.name}.app"/>
<property name="blue.root" value="target/${app.name}.app/Contents/Resources/blue/"/>

Expand Down
2 changes: 1 addition & 1 deletion application/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.kunstmusik</groupId>
<artifactId>blue-parent</artifactId>
<version>2.9.0</version>
<version>2.9.1</version>
</parent>

<artifactId>blue</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion blue-application/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>com.kunstmusik</groupId>
<artifactId>blue-parent</artifactId>
<version>2.9.0</version>
<version>2.9.1</version>
</parent>
<artifactId>blue-application</artifactId>
<packaging>nbm</packaging>
Expand Down
2 changes: 1 addition & 1 deletion blue-clojure/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>com.kunstmusik</groupId>
<artifactId>blue-parent</artifactId>
<version>2.9.0</version>
<version>2.9.1</version>
</parent>
<artifactId>blue-clojure</artifactId>
<packaging>nbm</packaging>
Expand Down
2 changes: 1 addition & 1 deletion blue-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>com.kunstmusik</groupId>
<artifactId>blue-parent</artifactId>
<version>2.9.0</version>
<version>2.9.1</version>
</parent>
<artifactId>blue-core</artifactId>
<packaging>nbm</packaging>
Expand Down
23 changes: 0 additions & 23 deletions blue-core/src/main/java/blue/automation/Parameter.java
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
import javafx.beans.property.SimpleBooleanProperty;
import javax.swing.event.TableModelEvent;
import javax.swing.event.TableModelListener;
import org.apache.commons.lang3.builder.EqualsBuilder;
import org.apache.commons.lang3.builder.ToStringBuilder;

/**
Expand Down Expand Up @@ -388,28 +387,6 @@ public static Parameter loadFromXML(Element data) {
return retVal;
}

@Override
public boolean equals(Object obj) {
if (!(obj instanceof Parameter)) {
return false;
}

Parameter other = (Parameter) obj;

return new EqualsBuilder()
.append(uniqueId, other.uniqueId)
.append(min, other.min)
.append(max, other.max)
.append(label, other.label)
.append(resolution, other.resolution)
.append(line, other.line)
.append(automationEnabled.get(), other.automationEnabled.get())
.append(updatingLine, other.updatingLine)
.append(value, other.value)
.isEquals();

}

@Override
public String toString() {
return ToStringBuilder.reflectionToString(this);
Expand Down
5 changes: 0 additions & 5 deletions blue-core/src/main/java/blue/automation/ParameterIdList.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
import javax.swing.event.ListDataListener;
import javax.swing.event.ListSelectionEvent;
import javax.swing.event.ListSelectionListener;
import org.apache.commons.lang3.builder.EqualsBuilder;
import org.apache.commons.lang3.builder.ToStringBuilder;

public class ParameterIdList implements Iterable<String> {
Expand Down Expand Up @@ -259,10 +258,6 @@ private void fireListSelectionEvent(int index) {
}

/* OTHER METHODS */
@Override
public boolean equals(Object obj) {
return EqualsBuilder.reflectionEquals(this, obj);
}

@Override
public String toString() {
Expand Down
6 changes: 0 additions & 6 deletions blue-core/src/main/java/blue/components/lines/Line.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,13 @@
import java.math.RoundingMode;
import java.rmi.dgc.VMID;
import java.util.*;
import java.util.stream.Collectors;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javax.swing.event.ChangeEvent;
import javax.swing.event.ChangeListener;
import javax.swing.event.TableModelEvent;
import javax.swing.event.TableModelListener;
import javax.swing.table.TableModel;
import org.apache.commons.lang3.builder.EqualsBuilder;
import org.apache.commons.lang3.text.StrBuilder;

/**
Expand Down Expand Up @@ -761,10 +759,6 @@ public double getValue(double time) {
return y;
}

@Override
public boolean equals(Object obj) {
return EqualsBuilder.reflectionEquals(this, obj);
}

public boolean isRightBound() {
return rightBound;
Expand Down
6 changes: 0 additions & 6 deletions blue-core/src/main/java/blue/mixer/Channel.java
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
import java.util.Iterator;
import java.util.List;
import java.util.Vector;
import org.apache.commons.lang3.builder.EqualsBuilder;
import org.apache.commons.lang3.builder.ToStringBuilder;

/**
Expand Down Expand Up @@ -375,11 +374,6 @@ public int compareTo(Channel chanB) {
}
}

@Override
public boolean equals(Object obj) {
return EqualsBuilder.reflectionEquals(this, obj);
}

@Override
public String toString() {
return ToStringBuilder.reflectionToString(this);
Expand Down
7 changes: 0 additions & 7 deletions blue-core/src/main/java/blue/mixer/ChannelList.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,7 @@
import java.beans.PropertyChangeListener;
import java.beans.PropertyChangeSupport;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Iterator;
import org.apache.commons.lang3.builder.EqualsBuilder;
import org.apache.commons.lang3.builder.HashCodeBuilder;
import org.apache.commons.lang3.builder.ToStringBuilder;

Expand Down Expand Up @@ -214,11 +212,6 @@ public int hashCode() {
return HashCodeBuilder.reflectionHashCode(11, 41, this, false);
}

@Override
public boolean equals(Object obj) {
return EqualsBuilder.reflectionEquals(this, obj, false);
}

public void addPropertyChangeListener(PropertyChangeListener pcl) {
if (propSupport == null) {
propSupport = new PropertyChangeSupport(this);
Expand Down
6 changes: 0 additions & 6 deletions blue-core/src/main/java/blue/mixer/EffectsChain.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
import javax.swing.ListModel;
import javax.swing.event.ListDataEvent;
import javax.swing.event.ListDataListener;
import org.apache.commons.lang3.builder.EqualsBuilder;
import org.apache.commons.lang3.builder.ToStringBuilder;

public class EffectsChain implements ListModel, PropertyChangeListener {
Expand Down Expand Up @@ -143,11 +142,6 @@ public int size() {
return effects.size();
}

@Override
public boolean equals(Object obj) {
return EqualsBuilder.reflectionEquals(this, obj);
}

public void pushUp(int index) {
if (index > 0 && index < size()) {
Object a = effects.remove(index - 1);
Expand Down
7 changes: 0 additions & 7 deletions blue-core/src/main/java/blue/mixer/Mixer.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
import blue.CompileData;
import blue.orchestra.GenericInstrument;
import blue.udo.OpcodeList;
import blue.utility.ObjectUtilities;
import blue.util.ObservableArrayList;
import blue.util.ObservableList;
import blue.utility.XMLUtilities;
Expand All @@ -33,7 +32,6 @@
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.apache.commons.lang3.builder.EqualsBuilder;
import org.apache.commons.lang3.text.StrBuilder;

/**
Expand Down Expand Up @@ -459,9 +457,4 @@ public Map<String, Channel> getSubChannelCache() {
}



@Override
public boolean equals(Object obj) {
return EqualsBuilder.reflectionEquals(this, obj);
}
}
6 changes: 0 additions & 6 deletions blue-core/src/main/java/blue/noteProcessor/Code.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@
*/
package blue.noteProcessor;

import org.apache.commons.lang3.builder.EqualsBuilder;

public class Code {

private String code = "";
Expand All @@ -45,8 +43,4 @@ public String toString() {
return "Edit Code";
}

@Override
public boolean equals(Object obj) {
return EqualsBuilder.reflectionEquals(this, obj);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
import javafx.beans.property.SimpleBooleanProperty;
import javafx.collections.FXCollections;
import javafx.collections.ObservableSet;
import org.apache.commons.lang3.builder.EqualsBuilder;

/**
* Stores BSBObjects, notification of changes used by BSBParameterList to keep
Expand Down Expand Up @@ -133,11 +132,6 @@ public Element saveAsXML() {
return retVal;
}

@Override
public boolean equals(Object obj) {
return EqualsBuilder.reflectionEquals(this, obj);
}

public final void setEditEnabled(boolean value) {
editEnabled.set(value);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,10 @@
import electric.xml.Element;
import java.beans.PropertyChangeListener;
import java.beans.PropertyChangeSupport;
import java.util.Iterator;
import java.util.Vector;
import javafx.beans.property.IntegerProperty;
import javafx.beans.property.SimpleIntegerProperty;
import javafx.beans.property.SimpleStringProperty;
import javafx.beans.property.StringProperty;
import org.apache.commons.lang3.builder.EqualsBuilder;

/**
* @author Steven Yi
Expand Down Expand Up @@ -212,11 +209,6 @@ public static Element getBasicXML(BSBObject bsbObj) {

public abstract void setPresetValue(String val);

@Override
public boolean equals(Object obj) {
return EqualsBuilder.reflectionEquals(this, obj);
}

// EVENT LISTENERS
public void addPropertyChangeListener(PropertyChangeListener pcl) {
propListeners.addPropertyChangeListener(pcl);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
import electric.xml.Elements;
import java.util.ArrayList;
import java.util.Iterator;
import org.apache.commons.lang3.builder.EqualsBuilder;

/**
* @author steven
Expand Down Expand Up @@ -279,9 +278,4 @@ public String toString() {
return getPresetGroupName();
}

@Override
public boolean equals(Object obj) {
return EqualsBuilder.reflectionEquals(this, obj);
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import blue.utility.XMLUtilities;
import electric.xml.Element;
import electric.xml.Elements;
import org.apache.commons.lang3.builder.EqualsBuilder;

/**
* <p>
Expand Down Expand Up @@ -84,8 +83,4 @@ public Element saveAsXML() {
return retVal;
}

@Override
public boolean equals(Object obj) {
return EqualsBuilder.reflectionEquals(this, obj);
}
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package blue.orchestra.blueX7;

import electric.xml.Element;
import org.apache.commons.lang3.builder.EqualsBuilder;

/**
* <p>
Expand Down Expand Up @@ -53,9 +52,4 @@ public Element saveAsXML() {

return retVal;
}

@Override
public boolean equals(Object obj) {
return EqualsBuilder.reflectionEquals(this, obj);
}
}
Loading

0 comments on commit 84bef85

Please sign in to comment.