mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-17 18:17:43 +00:00
This commit is contained in:
commit
abfdd3e640
@ -88,4 +88,3 @@ DataContentViewerHex.goToPageLabel.text=Go to Page:
|
|||||||
DataContentViewerString.languageLabel.toolTipText=
|
DataContentViewerString.languageLabel.toolTipText=
|
||||||
DataContentViewerString.languageLabel.text=Script:
|
DataContentViewerString.languageLabel.text=Script:
|
||||||
DataContentViewerString.languageCombo.toolTipText=Language to attempt when interpreting (extracting and decoding) strings from binary data
|
DataContentViewerString.languageCombo.toolTipText=Language to attempt when interpreting (extracting and decoding) strings from binary data
|
||||||
DataContentViewerString.noTextLabel.text=offset info
|
|
||||||
|
@ -55,33 +55,36 @@
|
|||||||
<Layout>
|
<Layout>
|
||||||
<DimensionLayout dim="0">
|
<DimensionLayout dim="0">
|
||||||
<Group type="103" groupAlignment="0" attributes="0">
|
<Group type="103" groupAlignment="0" attributes="0">
|
||||||
<Group type="102" attributes="0">
|
<Group type="102" alignment="0" attributes="0">
|
||||||
<EmptySpace max="-2" attributes="0"/>
|
<EmptySpace max="-2" attributes="0"/>
|
||||||
<Component id="pageLabel" min="-2" max="-2" attributes="0"/>
|
<Group type="103" groupAlignment="0" attributes="0">
|
||||||
<EmptySpace type="separate" max="-2" attributes="0"/>
|
<Component id="jScrollPane1" pref="0" max="32767" attributes="0"/>
|
||||||
<Component id="currentPageLabel" min="-2" max="-2" attributes="0"/>
|
<Group type="102" attributes="0">
|
||||||
<EmptySpace type="unrelated" max="-2" attributes="0"/>
|
<Component id="pageLabel" min="-2" max="-2" attributes="0"/>
|
||||||
<Component id="ofLabel" min="-2" max="-2" attributes="0"/>
|
<EmptySpace type="separate" max="-2" attributes="0"/>
|
||||||
<EmptySpace type="unrelated" max="-2" attributes="0"/>
|
<Component id="currentPageLabel" min="-2" max="-2" attributes="0"/>
|
||||||
<Component id="totalPageLabel" min="-2" max="-2" attributes="0"/>
|
<EmptySpace type="unrelated" max="-2" attributes="0"/>
|
||||||
<EmptySpace min="-2" pref="50" max="-2" attributes="0"/>
|
<Component id="ofLabel" min="-2" max="-2" attributes="0"/>
|
||||||
<Component id="pageLabel2" min="-2" max="-2" attributes="0"/>
|
<EmptySpace type="unrelated" max="-2" attributes="0"/>
|
||||||
<EmptySpace min="-2" max="-2" attributes="0"/>
|
<Component id="totalPageLabel" min="-2" max="-2" attributes="0"/>
|
||||||
<Component id="prevPageButton" min="-2" pref="23" max="-2" attributes="0"/>
|
<EmptySpace min="-2" pref="50" max="-2" attributes="0"/>
|
||||||
<EmptySpace min="-2" pref="0" max="-2" attributes="0"/>
|
<Component id="pageLabel2" min="-2" max="-2" attributes="0"/>
|
||||||
<Component id="nextPageButton" min="-2" pref="23" max="-2" attributes="0"/>
|
<EmptySpace min="-2" max="-2" attributes="0"/>
|
||||||
<EmptySpace type="separate" min="-2" max="-2" attributes="0"/>
|
<Component id="prevPageButton" min="-2" pref="23" max="-2" attributes="0"/>
|
||||||
<Component id="goToPageLabel" min="-2" max="-2" attributes="0"/>
|
<EmptySpace min="-2" pref="0" max="-2" attributes="0"/>
|
||||||
<EmptySpace max="-2" attributes="0"/>
|
<Component id="nextPageButton" min="-2" pref="23" max="-2" attributes="0"/>
|
||||||
<Component id="goToPageTextField" min="-2" pref="79" max="-2" attributes="0"/>
|
<EmptySpace type="separate" min="-2" max="-2" attributes="0"/>
|
||||||
<EmptySpace max="-2" attributes="0"/>
|
<Component id="goToPageLabel" min="-2" max="-2" attributes="0"/>
|
||||||
<Component id="noTextLabel" min="-2" max="-2" attributes="0"/>
|
<EmptySpace max="-2" attributes="0"/>
|
||||||
<EmptySpace max="32767" attributes="0"/>
|
<Component id="goToPageTextField" min="-2" pref="79" max="-2" attributes="0"/>
|
||||||
<Component id="languageLabel" min="-2" max="-2" attributes="0"/>
|
<EmptySpace min="-2" pref="33" max="-2" attributes="0"/>
|
||||||
<EmptySpace max="-2" attributes="0"/>
|
<Component id="languageLabel" min="-2" max="-2" attributes="0"/>
|
||||||
<Component id="languageCombo" min="-2" pref="229" max="-2" attributes="0"/>
|
<EmptySpace max="-2" attributes="0"/>
|
||||||
|
<Component id="languageCombo" min="-2" pref="155" max="-2" attributes="0"/>
|
||||||
|
<EmptySpace min="0" pref="11" max="32767" attributes="0"/>
|
||||||
|
</Group>
|
||||||
|
</Group>
|
||||||
</Group>
|
</Group>
|
||||||
<Component id="jScrollPane1" pref="756" max="32767" attributes="0"/>
|
|
||||||
</Group>
|
</Group>
|
||||||
</DimensionLayout>
|
</DimensionLayout>
|
||||||
<DimensionLayout dim="1">
|
<DimensionLayout dim="1">
|
||||||
@ -102,7 +105,6 @@
|
|||||||
<Component id="goToPageTextField" alignment="3" min="-2" max="-2" attributes="0"/>
|
<Component id="goToPageTextField" alignment="3" min="-2" max="-2" attributes="0"/>
|
||||||
<Component id="languageCombo" alignment="3" min="-2" max="-2" attributes="0"/>
|
<Component id="languageCombo" alignment="3" min="-2" max="-2" attributes="0"/>
|
||||||
<Component id="languageLabel" alignment="3" min="-2" max="-2" attributes="0"/>
|
<Component id="languageLabel" alignment="3" min="-2" max="-2" attributes="0"/>
|
||||||
<Component id="noTextLabel" alignment="3" min="-2" max="-2" attributes="0"/>
|
|
||||||
</Group>
|
</Group>
|
||||||
</Group>
|
</Group>
|
||||||
<EmptySpace min="-2" pref="0" max="-2" attributes="0"/>
|
<EmptySpace min="-2" pref="0" max="-2" attributes="0"/>
|
||||||
@ -285,13 +287,6 @@
|
|||||||
</Property>
|
</Property>
|
||||||
</Properties>
|
</Properties>
|
||||||
</Component>
|
</Component>
|
||||||
<Component class="javax.swing.JLabel" name="noTextLabel">
|
|
||||||
<Properties>
|
|
||||||
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
|
||||||
<ResourceString bundle="org/sleuthkit/autopsy/corecomponents/Bundle.properties" key="DataContentViewerString.noTextLabel.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
||||||
</Property>
|
|
||||||
</Properties>
|
|
||||||
</Component>
|
|
||||||
</SubComponents>
|
</SubComponents>
|
||||||
</Container>
|
</Container>
|
||||||
</SubComponents>
|
</SubComponents>
|
||||||
|
@ -113,7 +113,6 @@ public class DataContentViewerString extends javax.swing.JPanel implements DataC
|
|||||||
goToPageTextField = new javax.swing.JTextField();
|
goToPageTextField = new javax.swing.JTextField();
|
||||||
languageCombo = new javax.swing.JComboBox();
|
languageCombo = new javax.swing.JComboBox();
|
||||||
languageLabel = new javax.swing.JLabel();
|
languageLabel = new javax.swing.JLabel();
|
||||||
noTextLabel = new javax.swing.JLabel();
|
|
||||||
|
|
||||||
copyMenuItem.setText(org.openide.util.NbBundle.getMessage(DataContentViewerString.class, "DataContentViewerString.copyMenuItem.text")); // NOI18N
|
copyMenuItem.setText(org.openide.util.NbBundle.getMessage(DataContentViewerString.class, "DataContentViewerString.copyMenuItem.text")); // NOI18N
|
||||||
rightClickMenu.add(copyMenuItem);
|
rightClickMenu.add(copyMenuItem);
|
||||||
@ -192,38 +191,37 @@ public class DataContentViewerString extends javax.swing.JPanel implements DataC
|
|||||||
languageLabel.setText(org.openide.util.NbBundle.getMessage(DataContentViewerString.class, "DataContentViewerString.languageLabel.text")); // NOI18N
|
languageLabel.setText(org.openide.util.NbBundle.getMessage(DataContentViewerString.class, "DataContentViewerString.languageLabel.text")); // NOI18N
|
||||||
languageLabel.setToolTipText(org.openide.util.NbBundle.getMessage(DataContentViewerString.class, "DataContentViewerString.languageLabel.toolTipText")); // NOI18N
|
languageLabel.setToolTipText(org.openide.util.NbBundle.getMessage(DataContentViewerString.class, "DataContentViewerString.languageLabel.toolTipText")); // NOI18N
|
||||||
|
|
||||||
noTextLabel.setText(org.openide.util.NbBundle.getMessage(DataContentViewerString.class, "DataContentViewerString.noTextLabel.text")); // NOI18N
|
|
||||||
|
|
||||||
javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);
|
javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);
|
||||||
jPanel1.setLayout(jPanel1Layout);
|
jPanel1.setLayout(jPanel1Layout);
|
||||||
jPanel1Layout.setHorizontalGroup(
|
jPanel1Layout.setHorizontalGroup(
|
||||||
jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
|
jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
|
||||||
.addGroup(jPanel1Layout.createSequentialGroup()
|
.addGroup(jPanel1Layout.createSequentialGroup()
|
||||||
.addContainerGap()
|
.addContainerGap()
|
||||||
.addComponent(pageLabel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
|
.addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
|
||||||
.addGap(18, 18, 18)
|
.addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 0, Short.MAX_VALUE)
|
||||||
.addComponent(currentPageLabel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
|
.addGroup(jPanel1Layout.createSequentialGroup()
|
||||||
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
|
.addComponent(pageLabel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
|
||||||
.addComponent(ofLabel)
|
.addGap(18, 18, 18)
|
||||||
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
|
.addComponent(currentPageLabel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
|
||||||
.addComponent(totalPageLabel)
|
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
|
||||||
.addGap(50, 50, 50)
|
.addComponent(ofLabel)
|
||||||
.addComponent(pageLabel2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
|
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
|
||||||
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
|
.addComponent(totalPageLabel)
|
||||||
.addComponent(prevPageButton, javax.swing.GroupLayout.PREFERRED_SIZE, 23, javax.swing.GroupLayout.PREFERRED_SIZE)
|
.addGap(50, 50, 50)
|
||||||
.addGap(0, 0, 0)
|
.addComponent(pageLabel2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
|
||||||
.addComponent(nextPageButton, javax.swing.GroupLayout.PREFERRED_SIZE, 23, javax.swing.GroupLayout.PREFERRED_SIZE)
|
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
|
||||||
.addGap(18, 18, 18)
|
.addComponent(prevPageButton, javax.swing.GroupLayout.PREFERRED_SIZE, 23, javax.swing.GroupLayout.PREFERRED_SIZE)
|
||||||
.addComponent(goToPageLabel)
|
.addGap(0, 0, 0)
|
||||||
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
|
.addComponent(nextPageButton, javax.swing.GroupLayout.PREFERRED_SIZE, 23, javax.swing.GroupLayout.PREFERRED_SIZE)
|
||||||
.addComponent(goToPageTextField, javax.swing.GroupLayout.PREFERRED_SIZE, 79, javax.swing.GroupLayout.PREFERRED_SIZE)
|
.addGap(18, 18, 18)
|
||||||
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
|
.addComponent(goToPageLabel)
|
||||||
.addComponent(noTextLabel)
|
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
|
||||||
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
|
.addComponent(goToPageTextField, javax.swing.GroupLayout.PREFERRED_SIZE, 79, javax.swing.GroupLayout.PREFERRED_SIZE)
|
||||||
.addComponent(languageLabel)
|
.addGap(33, 33, 33)
|
||||||
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
|
.addComponent(languageLabel)
|
||||||
.addComponent(languageCombo, javax.swing.GroupLayout.PREFERRED_SIZE, 229, javax.swing.GroupLayout.PREFERRED_SIZE))
|
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
|
||||||
.addComponent(jScrollPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 756, Short.MAX_VALUE)
|
.addComponent(languageCombo, javax.swing.GroupLayout.PREFERRED_SIZE, 155, javax.swing.GroupLayout.PREFERRED_SIZE)
|
||||||
|
.addGap(0, 11, Short.MAX_VALUE))))
|
||||||
);
|
);
|
||||||
jPanel1Layout.setVerticalGroup(
|
jPanel1Layout.setVerticalGroup(
|
||||||
jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
|
jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
|
||||||
@ -241,8 +239,7 @@ public class DataContentViewerString extends javax.swing.JPanel implements DataC
|
|||||||
.addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
|
.addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
|
||||||
.addComponent(goToPageTextField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
|
.addComponent(goToPageTextField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
|
||||||
.addComponent(languageCombo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
|
.addComponent(languageCombo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
|
||||||
.addComponent(languageLabel)
|
.addComponent(languageLabel)))
|
||||||
.addComponent(noTextLabel)))
|
|
||||||
.addGap(0, 0, 0)
|
.addGap(0, 0, 0)
|
||||||
.addComponent(jScrollPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 401, Short.MAX_VALUE))
|
.addComponent(jScrollPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 401, Short.MAX_VALUE))
|
||||||
);
|
);
|
||||||
@ -312,7 +309,6 @@ public class DataContentViewerString extends javax.swing.JPanel implements DataC
|
|||||||
private javax.swing.JComboBox languageCombo;
|
private javax.swing.JComboBox languageCombo;
|
||||||
private javax.swing.JLabel languageLabel;
|
private javax.swing.JLabel languageLabel;
|
||||||
private javax.swing.JButton nextPageButton;
|
private javax.swing.JButton nextPageButton;
|
||||||
private javax.swing.JLabel noTextLabel;
|
|
||||||
private javax.swing.JLabel ofLabel;
|
private javax.swing.JLabel ofLabel;
|
||||||
private javax.swing.JTextPane outputViewPane;
|
private javax.swing.JTextPane outputViewPane;
|
||||||
private javax.swing.JLabel pageLabel;
|
private javax.swing.JLabel pageLabel;
|
||||||
@ -354,12 +350,10 @@ public class DataContentViewerString extends javax.swing.JPanel implements DataC
|
|||||||
StringExtractResult res = stringExtract.extract(data, bytesRead, 0);
|
StringExtractResult res = stringExtract.extract(data, bytesRead, 0);
|
||||||
text = res.getText();
|
text = res.getText();
|
||||||
if (text.trim().isEmpty()) {
|
if (text.trim().isEmpty()) {
|
||||||
noTextLabel.setText("(offset " + currentOffset + "-" + (currentOffset + pageLength)
|
text = "(offset " + currentOffset + "-" + (currentOffset + pageLength)
|
||||||
+ " contains no text)");
|
+ " contains no text)";
|
||||||
}
|
|
||||||
else {
|
|
||||||
noTextLabel.setText("");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
setVisible = true;
|
setVisible = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -468,7 +462,6 @@ public class DataContentViewerString extends javax.swing.JPanel implements DataC
|
|||||||
prevPageButton.setEnabled(false);
|
prevPageButton.setEnabled(false);
|
||||||
nextPageButton.setEnabled(false);
|
nextPageButton.setEnabled(false);
|
||||||
setComponentsVisibility(false); // hides the components that not needed
|
setComponentsVisibility(false); // hides the components that not needed
|
||||||
noTextLabel.setText("");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -28,7 +28,9 @@
|
|||||||
casesensitive="false" />
|
casesensitive="false" />
|
||||||
<echo>Found CRT.version linked against: ${CRT.version}</echo>
|
<echo>Found CRT.version linked against: ${CRT.version}</echo>
|
||||||
-->
|
-->
|
||||||
<property name="CRT.version">10.0.40219.1</property>
|
<!-- <property name="CRT.version">10.0.40219.1</property> -->
|
||||||
|
<property name="CRT.version">10.0.40219.325</property>
|
||||||
|
|
||||||
|
|
||||||
<!-- Get C++ Runtime dlls -->
|
<!-- Get C++ Runtime dlls -->
|
||||||
<property environment="env"/>
|
<property environment="env"/>
|
||||||
@ -40,7 +42,7 @@
|
|||||||
<property name="CRT.path">${thirdparty.dir}/crt/x86-32/${CRT.version}/crt.zip</property>
|
<property name="CRT.path">${thirdparty.dir}/crt/x86-32/${CRT.version}/crt.zip</property>
|
||||||
<available file="${CRT.path}" property="crtFound"/>
|
<available file="${CRT.path}" property="crtFound"/>
|
||||||
|
|
||||||
<fail unless="crtFound" message="Detected CRT version ${CRT.version} not found in the thirdparty repo."/>
|
<fail unless="crtFound" message="Detected CRT version ${CRT.version} not found in the thirdparty repo in path: ${CRT.path}"/>
|
||||||
|
|
||||||
<!-- unzip from thirdparty repo to modules/lib in staged dir -->
|
<!-- unzip from thirdparty repo to modules/lib in staged dir -->
|
||||||
<unzip src="${CRT.path}" dest="${zip-tmp}/${app.name}/${app.name}/modules/lib"/>
|
<unzip src="${CRT.path}" dest="${zip-tmp}/${app.name}/${app.name}/modules/lib"/>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user