Finishing normalizing filename capitalization

This commit is contained in:
mlong 2021-03-13 14:02:45 -06:00
parent e71e963bad
commit 7b4d71a1e4
95 changed files with 112 additions and 211 deletions

View File

@ -1,4 +1,3 @@
/*****************************************************************************
* AppleSAWS - The Apple Software Analysis WorkShop *
* Copyright (C) 2015-2021 Mark D. Long *
@ -17,9 +16,9 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
*****************************************************************************/
#include "applesoftfile.h"
#include "util.h"
#include <QDebug>
#include <QRegularExpression>
#include <QRegularExpressionMatch>

View File

@ -29,7 +29,7 @@
#include "applesoftline.h"
#include "genericfile.h"
#include "applesofttoken.h"
#include "ApplesoftRetokenizer.h"
#include "applesoftretokenizer.h"
class ApplesoftFile : public GenericFile

View File

@ -1,4 +1,3 @@
/*****************************************************************************
* AppleSAWS - The Apple Software Analysis WorkShop *
* Copyright (C) 2015-2021 Mark D. Long *
@ -17,9 +16,9 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
*****************************************************************************/
#include "applesoftformatter.h"
#include "util.h"
#include <QTextCursor>
#include <QTextCharFormat>
#include <QChar>

View File

@ -17,7 +17,6 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
*****************************************************************************/
#include "applesofttoken.h"
QMap<quint16, QString> ApplesoftToken::m_tokens = QMap<quint16, QString>();

View File

@ -18,7 +18,7 @@
*****************************************************************************/
#include "AssemblerSymbolModel.h"
#include "assemblersymbolmodel.h"
#include "util.h"
#include <QDebug>

View File

@ -19,7 +19,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
*****************************************************************************/
#include "AssemblerSymbols.h"
#include "assemblersymbols.h"
#include <QDataStream>
#include <QAbstractTableModel>

View File

@ -17,7 +17,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
*****************************************************************************/
#include "AssemblerSymbols.h"
#include "assemblersymbols.h"
AssemblerSymbols::AssemblerSymbols(QObject *parent) : QObject(parent)

View File

@ -16,10 +16,11 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
*****************************************************************************/
#include <QDebug>
#include "binaryfile.h"
#include "util.h"
#include <QDebug>
BinaryFile::BinaryFile(Dos33DiskImage *image, FileDescriptiveEntry &fde)
: GenericFile(image,fde)
{

View File

@ -18,9 +18,11 @@
#include "binaryfilemetadata.h"
#include "genericfile.h"
#include <QFile>
#include <QDataStream>
#include <QDebug>
BinaryFileMetadata::BinaryFileMetadata(GenericFile *file, quint16 defaultAddress, QObject *parent)
: QObject(parent)
{

View File

@ -21,8 +21,8 @@
#include "EntryPoints.h"
#include "AssemblerSymbols.h"
#include "entrypoints.h"
#include "assemblersymbols.h"
#include "genericfile.h"
#include "binaryfile.h"

View File

@ -21,9 +21,11 @@
#include "role_asm_opcode.h"
#include "role_asm_operand.h"
#include "util.h"
#include <QByteArray>
#include <QDebug>
#include <QList>
#include <math.h>

View File

@ -19,9 +19,9 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
*****************************************************************************/
#include "MemoryUsageMap.h"
#include "memoryusagemap.h"
#include "util.h"
#include "JumpLineManager.h"
#include "jumplinemanager.h"
#include "opcodes.h"
#include "attributedmemory.h"

View File

@ -16,7 +16,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
*****************************************************************************/
#include "EntryPointModel.h"
#include "entrypointmodel.h"
#include "util.h"
#include <QDebug>

View File

@ -21,7 +21,7 @@
#include "EntryPoints.h"
#include "entrypoints.h"
#include <QDataStream>
#include <QAbstractTableModel>

View File

@ -16,7 +16,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
*****************************************************************************/
#include "EntryPoints.h"
#include "entrypoints.h"
#include <QDebug>
EntryPoints::EntryPoints(QObject *parent) : QObject(parent)

View File

@ -22,7 +22,6 @@
#include <QObject>
#include "DiskImg.h"
class CPressDiskFS : public QObject
{
Q_OBJECT

View File

@ -17,6 +17,7 @@
*****************************************************************************/
#include "asdiskimporter.h"
#include "DiskImg.h"
#include <QDir>

View File

@ -19,10 +19,10 @@
#ifndef ASDISKIMPORTER_H
#define ASDISKIMPORTER_H
#include <QObject>
#include "asdiskdata.h"
#include <QObject>
class ASDiskImporter : public QObject
{
Q_OBJECT

View File

@ -18,21 +18,21 @@
#include "dos33diskimage.h"
#include "tracksectorlist.h"
#include "genericfile.h"
#include "applesoftfile.h"
#include "binaryfile.h"
#include "intbasicfile.h"
#include "relocatablefile.h"
#include "textfile.h"
#include "sector.h"
#include <QFile>
#include <QDataStream>
#include <QFileInfo>
#include <QDebug>
#include <QDir>
#include "tracksectorlist.h"
#include "genericfile.h"
#include "applesoftfile.h"
#include "binaryfile.h"
#include "IntBasicFile.h"
#include "relocatablefile.h"
#include "textfile.h"
#include "sector.h"
Dos33DiskImage::Dos33DiskImage(QString filename)
{
m_disk_image = new ASDiskData();

View File

@ -17,11 +17,10 @@
*****************************************************************************/
#include "dos33imagemodel.h"
#include "tspair.h"
#include <QIcon>
#include "tspair.h"
Dos33ImageModel::Dos33ImageModel(QObject *parent) : QStandardItemModel(parent)
{
setHorizontalHeaderLabels({"Disk Images"});

View File

@ -19,12 +19,11 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
*****************************************************************************/
#include "tspair.h"
#include <QDebug>
#include "applestring.h"
#include <QDebug>
class GenericFile;

View File

@ -18,7 +18,6 @@
#include "genericfile.h"
quint8 GenericFile::rawDataAt(int offset)
{
return rawData().at(offset);

View File

@ -19,8 +19,6 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
*****************************************************************************/
#include "dos33diskimage.h"
#include "filedescriptiveentry.h"

View File

@ -21,7 +21,6 @@
#include <QByteArray>
#include <QSharedPointer>
//#include "rawdiskimage.h"
#include "vtoc.h"
#include "catalogsector.h"

View File

@ -19,8 +19,6 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
*****************************************************************************/
#include "tspair.h"
#include <QSharedPointer>

View File

@ -17,13 +17,12 @@
*****************************************************************************/
#include "vtoc.h"
#include "sector.h"
#include "util.h"
#include <QDebug>
#include <QString>
#include "sector.h"
#include "util.h"
VTOC::VTOC(QSharedPointer<const Sector> data)
{
m_data = data;

View File

@ -19,16 +19,11 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
*****************************************************************************/
#include <Qt>
#include "util.h"
#include "tspair.h"
class Sector;
class QString;
class VTOC

View File

@ -16,7 +16,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
*****************************************************************************/
#include "IntBasicFile.h"
#include "intbasicfile.h"
#include <QDebug>
#include "util.h"

View File

@ -1,7 +1,5 @@
#ifndef INTBASICFILE_H
#define INTBASICFILE_H
/*****************************************************************************
* AppleSAWS - The Apple Software Analysis WorkShop *
* Copyright (C) 2015-2021 Mark D. Long *
* *
@ -19,7 +17,8 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
*****************************************************************************/
#ifndef INTBASICFILE_H
#define INTBASICFILE_H
#include "genericfile.h"

View File

@ -16,7 +16,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
*****************************************************************************/
#include "JumpLineManager.h"
#include "jumplinemanager.h"
JumpLineManager::JumpLineManager(quint16 from, quint16 to)
: m_start(from),

View File

@ -1,7 +1,5 @@
#ifndef JUMPLINEMANAGER_H
#define JUMPLINEMANAGER_H
/*****************************************************************************
* AppleSAWS - The Apple Software Analysis WorkShop *
* Copyright (C) 2015-2021 Mark D. Long *
* *
@ -18,8 +16,8 @@
* You should have received a copy of the GNU General Public License *
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
*****************************************************************************/
#ifndef JUMPLINEMANAGER_H
#define JUMPLINEMANAGER_H
#include <QPair>
#include <QMap>

View File

@ -29,22 +29,9 @@
#include "applesoftfile.h"
#include "startupdialog.h"
//#include <QByteArray>
//#include "sector.h"
int main(int argc, char** argv)
{
// QByteArray ba(256,0xff);
// Sector s(ba,1,2);
// s.dump();
// Sector t(s);
// t.dump();
//qDebug () << "S at 1: " << s.at(1);
//qDebug () << "T at 1: " << s.at(1);
//qDebug () << "S at 2: " << s.at(2);
//qDebug () << "T at 2: " << s.at(2);
// return 0;
QCoreApplication::setOrganizationName("LydianScaleSoftware");

View File

@ -19,8 +19,6 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
*****************************************************************************/
#include "memorycell.h"

View File

@ -19,8 +19,6 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
*****************************************************************************/
#include "memrole.h"
#include <Qt>

View File

@ -19,8 +19,6 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
*****************************************************************************/
#include <QString>
// IDs:

View File

@ -19,8 +19,6 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
*****************************************************************************/
#include "memrole.h"
#include "opcodes.h"

View File

@ -19,8 +19,6 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
*****************************************************************************/
#include <QString>
#include "memrole.h"

View File

@ -16,10 +16,11 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
*****************************************************************************/
#include <QDebug>
#include "relocatablefile.h"
#include "util.h"
#include <QDebug>
RelocatableFile::RelocatableFile(Dos33DiskImage *image, FileDescriptiveEntry &fde)
: GenericFile(image,fde)
{

View File

@ -19,8 +19,6 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
*****************************************************************************/
#include <QPair>
#include <QByteArray>

View File

@ -19,8 +19,6 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
*****************************************************************************/
#include <QString>
class SequenceEvent

View File

@ -19,8 +19,6 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
*****************************************************************************/
#include "sequenceevent.h"
#include <QAbstractListModel>

View File

@ -19,8 +19,6 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
*****************************************************************************/
#include <QListView>
class SequenceEventListWidget : public QListView

View File

@ -34,7 +34,7 @@ SequenceOutputView::SequenceOutputView(QWidget *parent) : QPlainTextEdit(parent)
updateLineNumberAreaWidth(0);
highlightCurrentLine();
auto hl = new TestHighlighter(document());
/*auto hl = */new TestHighlighter(document());
}
void SequenceOutputView::lineNumberAreaPaintEvent(QPaintEvent *event)

View File

@ -26,8 +26,6 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
*****************************************************************************/
class SOVNumberPanel;

View File

@ -35,7 +35,7 @@ void SequenceTool::setSequenceEvent(SequenceEvent *event)
}
void SequenceTool::mousePressEvent(QMouseEvent *event)
void SequenceTool::mousePressEvent(QMouseEvent * /*event*/)
{
}

View File

@ -19,8 +19,6 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
*****************************************************************************/
#include "sequenceevent.h"
#include <QWidget>

View File

@ -28,8 +28,6 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
*****************************************************************************/
class SequenceToolBoxHeader : public QCheckBox
{
Q_OBJECT

View File

@ -19,8 +19,6 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
*****************************************************************************/
#include <QWidget>
namespace Ui {

View File

@ -19,8 +19,6 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
*****************************************************************************/
#include <QTextBlockUserData>
#include <QSyntaxHighlighter>

View File

@ -16,9 +16,10 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
*****************************************************************************/
#include <QDebug>
#include "textfile.h"
#include <QDebug>
TextFile::TextFile(Dos33DiskImage *image, FileDescriptiveEntry &fde)
: GenericFile(image,fde)
{

View File

@ -19,8 +19,6 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
*****************************************************************************/
#include "genericfile.h"
class TextFile : public GenericFile

View File

@ -22,7 +22,8 @@
#include "binaryfile.h"
#include "applesoftfile.h"
#include "genericfile.h"
#include "IntBasicFile.h"
#include "intbasicfile.h"
#include <QUrl>
#include <QDebug>
#include <QMenu>

View File

@ -22,8 +22,6 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
*****************************************************************************/
#include "dos33diskimage.h"
namespace Ui {

View File

@ -23,7 +23,7 @@
#include "dos33imagemodel.h"
#include "dos33disktreeview.h"
#include "sequencetoolbox.h"
#include "DiskExplorerMapWidget.h"
#include "diskexplorermapwidget.h"
#include <QTreeView>
#include <QAction>
@ -108,7 +108,7 @@ void CentralAppWindow::initMenuBar()
filemenu->addAction(m_quitAction);
auto toolsmenu = menuBar()->addMenu(tr("&Tools"));
/*auto toolsmenu =*/ menuBar()->addMenu(tr("&Tools"));
}
void CentralAppWindow::initStatusBar()

View File

@ -20,10 +20,8 @@
*****************************************************************************/
#include <QMainWindow>
#include "mainapptoolbar.h"
class QTreeView;
class QAction;
class QStatusBar;
@ -34,6 +32,7 @@ class QStackedWidget;
#include "DockWidget.h"
#include "DockManager.h"
#include <QActionGroup>
#include <QMainWindow>
class CentralAppWindow : public QMainWindow

View File

@ -19,8 +19,6 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
*****************************************************************************/
#include <QToolBar>
class MainAppToolbar : public QToolBar

View File

@ -16,7 +16,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
*****************************************************************************/
#include "DiskExplorer.h"
#include "diskexplorer.h"
#include <QGridLayout>
#include <QMenuBar>

View File

@ -24,13 +24,14 @@
#include <QMainWindow>
#include "catalogwidget.h"
#include "DiskExplorerMapWidget.h"
#include "diskexplorermapwidget.h"
#include "dos33diskimage.h"
#include "hrcgcontrolsinfo.h"
#include "hexconverter.h"
//#include "hexdumpviewer.h"
#include "viewerbase.h"
#include "asciiinfodialog.h"
//#include "hexdumpviewer.h"
//#include "notesdialog.h"
#include "viewwidgetstack.h"

View File

@ -16,10 +16,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
*****************************************************************************/
#include "DiskExplorerMapWidget.h"
//#include "vtoc.h"
//#include "catalogsector.h"
#include "diskexplorermapwidget.h"
#include "util.h"
#include <QPushButton>

View File

@ -19,8 +19,6 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
*****************************************************************************/
#include <QTextBrowser>
class Sector;

View File

@ -21,7 +21,7 @@
#include "vtocview.h"
#include "catalogsectorview.h"
#include "tslistview.h"
#include "DiskExplorerMapWidget.h"
#include "diskexplorermapwidget.h"
ViewWidgetStack::ViewWidgetStack(QWidget *parent) : QTabWidget(parent)
{

View File

@ -19,8 +19,6 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
*****************************************************************************/
#include <QTabWidget>
class Sector;

View File

@ -19,8 +19,6 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
*****************************************************************************/
#include <QWidget>
class Sector;

View File

@ -19,7 +19,7 @@
#include "startupdialog.h"
#include "ui_startupdialog.h"
#include "diskexplorer/DiskExplorer.h"
#include "diskexplorer.h"
#include <QFileDialog>
#include "centralappwindow.h"

View File

@ -19,15 +19,14 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
*****************************************************************************/
#include "notesdialog.h"
#include "hrcgcontrolsinfo.h"
#include "hexconverter.h"
#include "hexdumpviewer.h"
#include <QDialog>
#include "asciiinfodialog.h"
#include <QDialog>
namespace Ui {
class StartupDialog;
}

View File

@ -19,13 +19,12 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
*****************************************************************************/
#include <QWidget>
#include "applesoftline.h"
#include "applesofttoken.h"
#include "applesoftfile.h"
#include <QDebug>
#include <QWidget>
namespace Ui {
class ApplesoftFileDetailViewer;

View File

@ -20,6 +20,7 @@
#include "ui_applesoftfileviewer.h"
#include "applesoftformatter.h"
#include "util.h"
#include <QDebug>
#include <QSettings>
#include <QPrinter>

View File

@ -19,17 +19,15 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
*****************************************************************************/
#include <QWidget>
#include <QMenu>
#include <QAction>
#include "applesoftfile.h"
#include "applesoftformatter.h"
#include "viewerbase.h"
#include "applesoftfiledetailviewer.h"
#include <QWidget>
#include <QMenu>
#include <QAction>
namespace Ui {
class ApplesoftFileViewer;

View File

@ -17,6 +17,7 @@
*****************************************************************************/
#include "charsetviewer.h"
#include <QGridLayout>
#include <QSettings>
#include <QAction>

View File

@ -19,12 +19,10 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
*****************************************************************************/
#include "binaryfile.h"
#include "characterwidget.h"
#include "fileviewerinterface.h"
#include "CharacterSetExplorer.h"
#include "charactersetexplorer.h"
#include <QWidget>

View File

@ -24,7 +24,6 @@
#include "relocatablefile.h"
#include "opcodes.h"
#include <QSettings>
#include <QMenu>
#include <QAction>