diff --git a/Core/src/org/sleuthkit/autopsy/coreutils/Installer.java b/Core/src/org/sleuthkit/autopsy/coreutils/Installer.java index 09ba8a35db..b934fcf82a 100644 --- a/Core/src/org/sleuthkit/autopsy/coreutils/Installer.java +++ b/Core/src/org/sleuthkit/autopsy/coreutils/Installer.java @@ -45,7 +45,6 @@ public class Installer extends ModuleInstall { @Override public void restored() { - //Logger.init(); autopsyLogger.log(Level.INFO, "Default charset: " + PlatformUtil.getDefaultPlatformCharset()); autopsyLogger.log(Level.INFO, "Default file encoding: " + PlatformUtil.getDefaultPlatformFileEncoding()); diff --git a/Core/src/org/sleuthkit/autopsy/directorytree/TagDialog.form b/Core/src/org/sleuthkit/autopsy/directorytree/TagDialog.form index 71174010c6..700886674e 100644 --- a/Core/src/org/sleuthkit/autopsy/directorytree/TagDialog.form +++ b/Core/src/org/sleuthkit/autopsy/directorytree/TagDialog.form @@ -3,7 +3,6 @@
- @@ -105,6 +104,9 @@ + + + diff --git a/Core/src/org/sleuthkit/autopsy/directorytree/TagDialog.java b/Core/src/org/sleuthkit/autopsy/directorytree/TagDialog.java index aab5bed9d0..37369cba09 100644 --- a/Core/src/org/sleuthkit/autopsy/directorytree/TagDialog.java +++ b/Core/src/org/sleuthkit/autopsy/directorytree/TagDialog.java @@ -98,13 +98,13 @@ public class TagDialog extends javax.swing.JDialog { if (tagNames != null) { for (String tagName : tagNames) { - tagCombo.addItem(tagName); + tagCombo.addItem(tagName); if (tagName.equals(defaultTagName)) { tagCombo.setSelectedItem(tagName); } } } else { - tagCombo.addItem(defaultTagName); + tagCombo.addItem(defaultTagName); tagCombo.setSelectedItem(defaultTagName); } } @@ -127,7 +127,7 @@ public class TagDialog extends javax.swing.JDialog { okButton = new javax.swing.JButton(); cancelButton = new javax.swing.JButton(); - tagCombo = new javax.swing.JComboBox(); + tagCombo = new javax.swing.JComboBox(); tagLabel = new javax.swing.JLabel(); commentLabel = new javax.swing.JLabel(); commentText = new javax.swing.JTextField(); diff --git a/Core/src/org/sleuthkit/autopsy/ingest/IngestMessagePanel.form b/Core/src/org/sleuthkit/autopsy/ingest/IngestMessagePanel.form index 074ed79dc8..280a1c571d 100644 --- a/Core/src/org/sleuthkit/autopsy/ingest/IngestMessagePanel.form +++ b/Core/src/org/sleuthkit/autopsy/ingest/IngestMessagePanel.form @@ -142,6 +142,9 @@ + + + diff --git a/Core/src/org/sleuthkit/autopsy/ingest/IngestMessagePanel.java b/Core/src/org/sleuthkit/autopsy/ingest/IngestMessagePanel.java index 088dad2c95..094b8efdc2 100644 --- a/Core/src/org/sleuthkit/autopsy/ingest/IngestMessagePanel.java +++ b/Core/src/org/sleuthkit/autopsy/ingest/IngestMessagePanel.java @@ -108,7 +108,7 @@ class IngestMessagePanel extends javax.swing.JPanel { messageTable = new javax.swing.JTable(); controlPanel = new javax.swing.JPanel(); sortByLabel = new javax.swing.JLabel(); - sortByComboBox = new javax.swing.JComboBox(); + sortByComboBox = new javax.swing.JComboBox(); totalMessagesNameLabel = new javax.swing.JLabel(); totalMessagesNameVal = new javax.swing.JLabel(); totalUniqueMessagesNameLabel = new javax.swing.JLabel(); @@ -120,7 +120,7 @@ class IngestMessagePanel extends javax.swing.JPanel { jScrollPane1.setOpaque(false); messageTable.setBackground(new java.awt.Color(221, 221, 235)); - messageTable.setFont(new java.awt.Font("Arial", 0, 10)); + messageTable.setFont(new java.awt.Font("Arial", 0, 10)); // NOI18N messageTable.setModel(tableModel); messageTable.setAutoResizeMode(javax.swing.JTable.AUTO_RESIZE_OFF); messageTable.setAutoscrolls(false); diff --git a/Core/src/org/sleuthkit/autopsy/ingest/IngestModuleLoader.java b/Core/src/org/sleuthkit/autopsy/ingest/IngestModuleLoader.java index ee41c96eb8..f3210f032c 100644 --- a/Core/src/org/sleuthkit/autopsy/ingest/IngestModuleLoader.java +++ b/Core/src/org/sleuthkit/autopsy/ingest/IngestModuleLoader.java @@ -228,7 +228,7 @@ public final class IngestModuleLoader { if (intfs.length != 0 && pType != null) { //check if one of the module interfaces matches the pipeline type boolean interfaceFound = false; - Class moduleMeta = ((IngestModuleMapping) pType).getIngestModuleInterface(); + Class moduleMeta = ((IngestModuleMapping) pType).getIngestModuleInterface(); String moduleIntNameCan = moduleMeta.getCanonicalName(); String[] moduleIntNameTok = moduleIntNameCan.split(" "); String moduleIntName = moduleIntNameTok[moduleIntNameTok.length - 1]; @@ -1073,7 +1073,7 @@ interface IngestModuleMapping { * * @return ingest module interface meta type */ - public Class getIngestModuleInterface(); + public Class getIngestModuleInterface(); } /** diff --git a/Core/src/org/sleuthkit/autopsy/report/ArtifactSelectionDialog.java b/Core/src/org/sleuthkit/autopsy/report/ArtifactSelectionDialog.java index 1127d68cf5..2c3f0f9576 100644 --- a/Core/src/org/sleuthkit/autopsy/report/ArtifactSelectionDialog.java +++ b/Core/src/org/sleuthkit/autopsy/report/ArtifactSelectionDialog.java @@ -259,18 +259,17 @@ public class ArtifactSelectionDialog extends javax.swing.JDialog { } } - private class ArtifactRenderer extends JCheckBox implements ListCellRenderer { + private class ArtifactRenderer extends JCheckBox implements ListCellRenderer { @Override - public Component getListCellRendererComponent(JList list, Object value, int index, boolean isSelected, boolean cellHasFocus) { + public Component getListCellRendererComponent(JList list, BlackboardArtifact.ARTIFACT_TYPE value, int index, boolean isSelected, boolean cellHasFocus) { if (value != null) { - BlackboardArtifact.ARTIFACT_TYPE type = (BlackboardArtifact.ARTIFACT_TYPE) value; setEnabled(list.isEnabled()); - setSelected(artifactStates.get(type)); + setSelected(artifactStates.get(value)); setFont(list.getFont()); setBackground(list.getBackground()); setForeground(list.getForeground()); - setText(type.getDisplayName()); + setText(value.getDisplayName()); return this; } return new JLabel(); diff --git a/CoreLibs/build.xml b/CoreLibs/build.xml index 5d408d5bb8..359fc04ca1 100644 --- a/CoreLibs/build.xml +++ b/CoreLibs/build.xml @@ -6,7 +6,11 @@ Builds, tests, and runs the project org.sleuthkit.autopsy.corelibs. - + + + + + @@ -34,7 +38,14 @@ uri="antlib:org.apache.ivy.ant" classpathref="ivy.lib.path"/> - + + + + + + + + diff --git a/CoreLibs/ivy.xml b/CoreLibs/ivy.xml index be975ecead..5fd194307d 100644 --- a/CoreLibs/ivy.xml +++ b/CoreLibs/ivy.xml @@ -25,7 +25,7 @@ - + diff --git a/KeywordSearch/build.xml b/KeywordSearch/build.xml index 05927377f3..cfbffe2dfd 100644 --- a/KeywordSearch/build.xml +++ b/KeywordSearch/build.xml @@ -7,7 +7,7 @@ - + diff --git a/KeywordSearch/src/org/sleuthkit/autopsy/keywordsearch/ExtractedContentPanel.java b/KeywordSearch/src/org/sleuthkit/autopsy/keywordsearch/ExtractedContentPanel.java index 0ec7a77809..86ca0c2d7c 100644 --- a/KeywordSearch/src/org/sleuthkit/autopsy/keywordsearch/ExtractedContentPanel.java +++ b/KeywordSearch/src/org/sleuthkit/autopsy/keywordsearch/ExtractedContentPanel.java @@ -349,7 +349,7 @@ class ExtractedContentPanel extends javax.swing.JPanel { setPanelText(null, false); for (MarkupSource ms : sources) { - sourceComboBox.addItem(ms); + sourceComboBox.addItem(ms); } if (!sources.isEmpty()) { diff --git a/KeywordSearch/src/org/sleuthkit/autopsy/keywordsearch/Installer.java b/KeywordSearch/src/org/sleuthkit/autopsy/keywordsearch/Installer.java index 5dcd20ef0d..009674b7e5 100644 --- a/KeywordSearch/src/org/sleuthkit/autopsy/keywordsearch/Installer.java +++ b/KeywordSearch/src/org/sleuthkit/autopsy/keywordsearch/Installer.java @@ -18,7 +18,6 @@ */ package org.sleuthkit.autopsy.keywordsearch; -import com.sun.corba.se.impl.util.Version; import java.util.logging.Level; import org.openide.modules.ModuleInstall; import org.openide.windows.WindowManager; @@ -26,6 +25,7 @@ import org.sleuthkit.autopsy.casemodule.Case; import org.sleuthkit.autopsy.keywordsearch.Server.SolrServerNoPortException; import org.sleuthkit.autopsy.coreutils.Logger; import org.sleuthkit.autopsy.coreutils.MessageNotifyUtil; +import org.sleuthkit.autopsy.coreutils.Version; /** * Starts up the Solr server when the module is loaded, and stops it when the @@ -186,7 +186,7 @@ public class Installer extends ModuleInstall { @Override public void run() { final String msg = "Indexing server port " + curFailPort + " is not available. " - + " Check if your security software does not block " + Version.PROJECT_NAME + + " Check if your security software does not block " + Version.getName() + " and consider changing " + Server.PROPERTIES_CURRENT_SERVER_PORT + " in " + Server.PROPERTIES_FILE + " property file in the application user folder." + " Then try rebooting your system if another process was causing the conflict. "; @@ -212,7 +212,7 @@ public class Installer extends ModuleInstall { @Override public void run() { final String msg = "Indexing server port " + KeywordSearch.getServer().getCurrentSolrServerPort() + " is not available. " - + " Check if your security software does not block " + Version.PROJECT_NAME + + " Check if your security software does not block " + Version.getName() + " and consider changing " + Server.PROPERTIES_CURRENT_SERVER_PORT + " in " + Server.PROPERTIES_FILE + " property file in the application user folder." + " Then try rebooting your system if another process was causing the conflict. "; diff --git a/KeywordSearch/src/org/sleuthkit/autopsy/keywordsearch/KeywordSearchEditListPanel.form b/KeywordSearch/src/org/sleuthkit/autopsy/keywordsearch/KeywordSearchEditListPanel.form index 0274ded2f7..326354f950 100644 --- a/KeywordSearch/src/org/sleuthkit/autopsy/keywordsearch/KeywordSearchEditListPanel.form +++ b/KeywordSearch/src/org/sleuthkit/autopsy/keywordsearch/KeywordSearchEditListPanel.form @@ -285,6 +285,9 @@ + + + diff --git a/KeywordSearch/src/org/sleuthkit/autopsy/keywordsearch/KeywordSearchEditListPanel.java b/KeywordSearch/src/org/sleuthkit/autopsy/keywordsearch/KeywordSearchEditListPanel.java index 70889cd3fc..c8657a0026 100644 --- a/KeywordSearch/src/org/sleuthkit/autopsy/keywordsearch/KeywordSearchEditListPanel.java +++ b/KeywordSearch/src/org/sleuthkit/autopsy/keywordsearch/KeywordSearchEditListPanel.java @@ -199,9 +199,9 @@ class KeywordSearchEditListPanel extends javax.swing.JPanel implements ListSelec //selectors selectorsCombo.setEnabled(false); for (BlackboardAttribute.ATTRIBUTE_TYPE type : BlackboardAttribute.ATTRIBUTE_TYPE.values()) { - selectorsCombo.addItem(type.getDisplayName()); + selectorsCombo.addItem(type.getDisplayName()); } - selectorsCombo.addItem(""); + selectorsCombo.addItem(""); selectorsCombo.setSelectedIndex(selectorsCombo.getItemCount() - 1); } @@ -295,7 +295,7 @@ class KeywordSearchEditListPanel extends javax.swing.JPanel implements ListSelec addWordButton = new javax.swing.JButton(); addWordField = new javax.swing.JTextField(); chRegex = new javax.swing.JCheckBox(); - selectorsCombo = new javax.swing.JComboBox(); + selectorsCombo = new javax.swing.JComboBox(); deleteWordButton = new javax.swing.JButton(); ingestMessagesCheckbox = new javax.swing.JCheckBox(); keywordsLabel = new javax.swing.JLabel(); diff --git a/Testing/build.xml b/Testing/build.xml index 1bcf3729f0..2757fa74f1 100644 --- a/Testing/build.xml +++ b/Testing/build.xml @@ -6,16 +6,9 @@ Builds, tests, and runs the project org.sleuthkit.autopsy.testing. - - - - - - - - + - + @@ -48,7 +41,8 @@ - + + diff --git a/thirdparty/sigar/1.6.4/sigar-native.zip b/thirdparty/sigar/1.6.4/sigar-native.zip new file mode 100644 index 0000000000..67a92c423c Binary files /dev/null and b/thirdparty/sigar/1.6.4/sigar-native.zip differ