Skip to content

Commit

Permalink
Release RapidMiner 9.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Andreas Timm committed Feb 26, 2020
1 parent 92d3c49 commit df2298d
Show file tree
Hide file tree
Showing 3,939 changed files with 6,872 additions and 5,354 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
6 changes: 4 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ dependencies {
}

// OS X adapter to add platform specific UI
compile 'com.rapidminer.studio:rapidminer-studio-osx-adapter:1.0.2'
compile 'com.rapidminer.studio:rapidminer-studio-osx-adapter:1.0.3'

// RapidMiner license framework for license management
compile "com.rapidminer.license:rapidminer-license-api:$licenseVersion"
Expand Down Expand Up @@ -161,9 +161,11 @@ dependencies {
// matrix library (https://www.ojalgo.org/)
compile 'org.ojalgo:ojalgo:47.3.0'

// OpenJDK 8 does not come with JavaFX, so we need the core libs from it separately
compile 'com.dukescript.api:javafx.base:8.60.11'

// tests require mockito
testCompile 'org.mockito:mockito-core:2.13.0'

}

task wrapper(type: Wrapper) { gradleVersion = '4.0.1' }
Expand Down
2 changes: 1 addition & 1 deletion doc/doc/AbstractOperatorDocGenerator.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (C) 2001-2019 RapidMiner GmbH
* Copyright (C) 2001-2020 RapidMiner GmbH
*/
package com.rapidminer.doc;

Expand Down
2 changes: 1 addition & 1 deletion doc/doc/CiteTaglet.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (C) 2001-2019 RapidMiner GmbH
* Copyright (C) 2001-2020 RapidMiner GmbH
*/
package com.rapidminer.doc;

Expand Down
2 changes: 1 addition & 1 deletion doc/doc/CommentStripper.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (C) 2001-2019 RapidMiner GmbH
* Copyright (C) 2001-2020 RapidMiner GmbH
*/
package com.rapidminer.doc;

Expand Down
2 changes: 1 addition & 1 deletion doc/doc/DocumentationGenerator.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (C) 2001-2019 RapidMiner GmbH
* Copyright (C) 2001-2020 RapidMiner GmbH
*/
package com.rapidminer.doc;

Expand Down
2 changes: 1 addition & 1 deletion doc/doc/LatexOperatorDocGenerator.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (C) 2001-2019 RapidMiner GmbH
* Copyright (C) 2001-2020 RapidMiner GmbH
*/
package com.rapidminer.doc;

Expand Down
2 changes: 1 addition & 1 deletion doc/doc/MathTaglet.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (C) 2001-2019 RapidMiner GmbH
* Copyright (C) 2001-2020 RapidMiner GmbH
*/
package com.rapidminer.doc;

Expand Down
2 changes: 1 addition & 1 deletion doc/doc/OperatorDocGenerator.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (C) 2001-2019 RapidMiner GmbH
* Copyright (C) 2001-2020 RapidMiner GmbH
*/
package com.rapidminer.doc;

Expand Down
2 changes: 1 addition & 1 deletion doc/doc/ProgramHTMLOperatorDocGenerator.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (C) 2001-2019 RapidMiner GmbH
* Copyright (C) 2001-2020 RapidMiner GmbH
*/
package com.rapidminer.doc;

Expand Down
2 changes: 1 addition & 1 deletion doc/doc/RefTaglet.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (C) 2001-2019 RapidMiner GmbH
* Copyright (C) 2001-2020 RapidMiner GmbH
*/
package com.rapidminer.doc;

Expand Down
2 changes: 1 addition & 1 deletion doc/doc/ReferenceTaglet.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (C) 2001-2019 RapidMiner GmbH
* Copyright (C) 2001-2020 RapidMiner GmbH
*/
package com.rapidminer.doc;

Expand Down
2 changes: 1 addition & 1 deletion doc/doc/TexTaglet.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (C) 2001-2019 RapidMiner GmbH
* Copyright (C) 2001-2020 RapidMiner GmbH
*/
package com.rapidminer.doc;

Expand Down
2 changes: 1 addition & 1 deletion doc/doc/XMLExampleTaglet.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (C) 2001-2019 RapidMiner GmbH
* Copyright (C) 2001-2020 RapidMiner GmbH
*/
package com.rapidminer.doc;

Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version=9.5.0
version=9.6.0
group=com.rapidminer.studio

licenseVersion=4.2.3
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (C) 2001-2019 by RapidMiner and the contributors
* Copyright (C) 2001-2020 by RapidMiner and the contributors
*
* Complete list of developers available at our web site:
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (C) 2001-2019 by RapidMiner and the contributors
* Copyright (C) 2001-2020 by RapidMiner and the contributors
*
* Complete list of developers available at our web site:
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (C) 2001-2019 by RapidMiner and the contributors
* Copyright (C) 2001-2020 by RapidMiner and the contributors
*
* Complete list of developers available at our web site:
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (C) 2001-2019 by RapidMiner and the contributors
* Copyright (C) 2001-2020 by RapidMiner and the contributors
*
* Complete list of developers available at our web site:
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (C) 2001-2019 by RapidMiner and the contributors
* Copyright (C) 2001-2020 by RapidMiner and the contributors
*
* Complete list of developers available at our web site:
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (C) 2001-2019 by RapidMiner and the contributors
* Copyright (C) 2001-2020 by RapidMiner and the contributors
*
* Complete list of developers available at our web site:
*
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/rapidminer/BreakpointListener.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (C) 2001-2019 by RapidMiner and the contributors
* Copyright (C) 2001-2020 by RapidMiner and the contributors
*
* Complete list of developers available at our web site:
*
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/rapidminer/ConsoleInputHandler.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (C) 2001-2019 by RapidMiner and the contributors
* Copyright (C) 2001-2020 by RapidMiner and the contributors
*
* Complete list of developers available at our web site:
*
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/rapidminer/Experiment.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (C) 2001-2019 by RapidMiner and the contributors
* Copyright (C) 2001-2020 by RapidMiner and the contributors
*
* Complete list of developers available at our web site:
*
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/rapidminer/FileProcessLocation.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (C) 2001-2019 by RapidMiner and the contributors
* Copyright (C) 2001-2020 by RapidMiner and the contributors
*
* Complete list of developers available at our web site:
*
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/rapidminer/InputHandler.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (C) 2001-2019 by RapidMiner and the contributors
* Copyright (C) 2001-2020 by RapidMiner and the contributors
*
* Complete list of developers available at our web site:
*
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/rapidminer/LoggingListener.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (C) 2001-2019 by RapidMiner and the contributors
* Copyright (C) 2001-2020 by RapidMiner and the contributors
*
* Complete list of developers available at our web site:
*
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/rapidminer/MacroHandler.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (C) 2001-2019 by RapidMiner and the contributors
* Copyright (C) 2001-2020 by RapidMiner and the contributors
*
* Complete list of developers available at our web site:
*
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/rapidminer/NoBugError.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (C) 2001-2019 by RapidMiner and the contributors
* Copyright (C) 2001-2020 by RapidMiner and the contributors
*
* Complete list of developers available at our web site:
*
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/rapidminer/NoOpUserError.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (C) 2001-2019 by RapidMiner and the contributors
* Copyright (C) 2001-2020 by RapidMiner and the contributors
*
* Complete list of developers available at our web site:
*
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/rapidminer/ObjectVisualizer.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (C) 2001-2019 by RapidMiner and the contributors
* Copyright (C) 2001-2020 by RapidMiner and the contributors
*
* Complete list of developers available at our web site:
*
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/rapidminer/OperatorLibraryService.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (C) 2001-2019 by RapidMiner and the contributors
* Copyright (C) 2001-2020 by RapidMiner and the contributors
*
* Complete list of developers available at our web site:
*
Expand Down
9 changes: 7 additions & 2 deletions src/main/java/com/rapidminer/Process.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (C) 2001-2019 by RapidMiner and the contributors
* Copyright (C) 2001-2020 by RapidMiner and the contributors
*
* Complete list of developers available at our web site:
*
Expand Down Expand Up @@ -27,6 +27,7 @@
import java.io.StringReader;
import java.net.URL;
import java.nio.charset.Charset;
import java.nio.charset.StandardCharsets;
import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
Expand Down Expand Up @@ -310,7 +311,7 @@ public Process(final InputStream in) throws IOException, XMLException {
/** Reads an process configuration from the given URL. */
public Process(final URL url) throws IOException, XMLException {
initContext();
try (Reader in = new InputStreamReader(WebServiceTools.openStreamFromURL(url), getEncoding(null))) {
try (Reader in = new InputStreamReader(WebServiceTools.openStreamFromURL(url), StandardCharsets.UTF_8)) {
readProcess(in);
}

Expand Down Expand Up @@ -1454,6 +1455,10 @@ private void tearDown() {
// Process IO
// ----------------------

/**
* @deprecated since 9.6.0. Use the {@link com.rapidminer.tools.io.Encoding Encoding} class instead if you cannot use UTF-8 for some reason (there should be zero reasons!)
*/
@Deprecated
public static Charset getEncoding(String encoding) {
if (encoding == null) {
encoding = ParameterService.getParameterValue(RapidMiner.PROPERTY_RAPIDMINER_GENERAL_DEFAULT_ENCODING);
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/rapidminer/ProcessContext.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (C) 2001-2019 by RapidMiner and the contributors
* Copyright (C) 2001-2020 by RapidMiner and the contributors
*
* Complete list of developers available at our web site:
*
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/rapidminer/ProcessListener.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (C) 2001-2019 by RapidMiner and the contributors
* Copyright (C) 2001-2020 by RapidMiner and the contributors
*
* Complete list of developers available at our web site:
*
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/rapidminer/ProcessLocation.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (C) 2001-2019 by RapidMiner and the contributors
* Copyright (C) 2001-2020 by RapidMiner and the contributors
*
* Complete list of developers available at our web site:
*
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/rapidminer/ProcessSetupListener.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (C) 2001-2019 by RapidMiner and the contributors
* Copyright (C) 2001-2020 by RapidMiner and the contributors
*
* Complete list of developers available at our web site:
*
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/rapidminer/ProcessStateListener.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (C) 2001-2019 by RapidMiner and the contributors
* Copyright (C) 2001-2020 by RapidMiner and the contributors
*
* Complete list of developers available at our web site:
*
Expand Down
37 changes: 37 additions & 0 deletions src/main/java/com/rapidminer/ProcessStoppedListener.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
/**
* Copyright (C) 2001-2020 by RapidMiner and the contributors
*
* Complete list of developers available at our web site:
*
* http://rapidminer.com
*
* This program is free software: you can redistribute it and/or modify it under the terms of the
* GNU Affero General Public License as published by the Free Software Foundation, either version 3
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
* even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License along with this program.
* If not, see http://www.gnu.org/licenses/.
*/
package com.rapidminer;

/**
* A functional interface to observe a Process only when it is stopped.
*
* @author Jan Czogalla
* @since 9.6
*/
public interface ProcessStoppedListener extends ProcessStateListener {

@Override
default void started(Process process){}

@Override
default void paused(Process process){}

@Override
default void resumed(Process process){}
}
2 changes: 1 addition & 1 deletion src/main/java/com/rapidminer/ProcessStorageListener.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (C) 2001-2019 by RapidMiner and the contributors
* Copyright (C) 2001-2020 by RapidMiner and the contributors
*
* Complete list of developers available at our web site:
*
Expand Down
15 changes: 14 additions & 1 deletion src/main/java/com/rapidminer/RapidMiner.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (C) 2001-2019 by RapidMiner and the contributors
* Copyright (C) 2001-2020 by RapidMiner and the contributors
*
* Complete list of developers available at our web site:
*
Expand Down Expand Up @@ -429,6 +429,11 @@ public boolean isLoadingManagedExtensions() {
*/
public static final String PROPERTY_RAPIDMINER_UPDATE_ADDITIONAL_PERMISSIONS = "rapidminer.init.additional_permissions";

/**
* The name of the property indicating whether or not development permissions should be enabled
*/
public static final String PROPERTY_RAPIDMINER_UPDATE_DEVELOPMENT_PERMISSIONS = "rapidminer.init.development_permissions";

// --- INIT PROPERTIES ---

/**
Expand Down Expand Up @@ -478,6 +483,11 @@ public boolean isLoadingManagedExtensions() {
*/
public static final String RAPIDMINER_FOLLOW_HTTP_TO_HTTPS = "rapidminer.system.network.follow_http_to_https";

/**
* Defines a default user-agent
*/
public static final String RAPIDMINER_DEFAULT_USER_AGENT = "rapidminer.system.network.default_user_agent";

public static final String PROCESS_FILE_EXTENSION = "rmp";

/**
Expand Down Expand Up @@ -584,8 +594,11 @@ public boolean isLoadingManagedExtensions() {
registerParameter(new ParameterTypeBoolean(RAPIDMINER_FOLLOW_HTTP_TO_HTTPS, "", true), "system");
registerParameter(new ParameterTypeBoolean(RAPIDMINER_FOLLOW_HTTPS_TO_HTTP, "", true), "system");

registerParameter(new ParameterTypeString(RAPIDMINER_DEFAULT_USER_AGENT, "", true), "system");

registerParameter(new ParameterTypeBoolean(RapidMiner.PROPERTY_RAPIDMINER_UPDATE_BETA_FEATURES, "", false));
registerProtectedParameter(new ParameterTypeBoolean(RapidMiner.PROPERTY_RAPIDMINER_UPDATE_ADDITIONAL_PERMISSIONS, "", false));
registerProtectedParameter(new ParameterTypeBoolean(RapidMiner.PROPERTY_RAPIDMINER_UPDATE_DEVELOPMENT_PERMISSIONS, "", false));

// initialize the state of IOObjects
ioObjectCache = new IOObjectMap();
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/rapidminer/RapidMinerVersion.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (C) 2001-2019 by RapidMiner and the contributors
* Copyright (C) 2001-2020 by RapidMiner and the contributors
*
* Complete list of developers available at our web site:
*
Expand Down
Loading

0 comments on commit df2298d

Please sign in to comment.