Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
Found via `codespell -q 3`
  • Loading branch information
luzpaz committed Oct 22, 2021
1 parent 5f2899e commit 8493cf3
Show file tree
Hide file tree
Showing 21 changed files with 32 additions and 32 deletions.
4 changes: 2 additions & 2 deletions Components/AudioPanel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -600,7 +600,7 @@ AudioPanel::getOrbit(void) const
return this->fcDialog->getOrbit();
}

// Overriden getters
// Overridden getters
bool
AudioPanel::getRecordState(void) const
{
Expand All @@ -613,7 +613,7 @@ AudioPanel::getRecordSavePath(void) const
return this->ui->savePath->text().toStdString();
}

// Overriden methods
// Overridden methods
Suscan::Serializable *
AudioPanel::allocConfig(void)
{
Expand Down
2 changes: 1 addition & 1 deletion Components/DataSaverUI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ DataSaverUI::~DataSaverUI()
}


// Overriden methods
// Overridden methods
Suscan::Serializable *
DataSaverUI::allocConfig(void)
{
Expand Down
2 changes: 1 addition & 1 deletion Components/DopplerDialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ DopplerDialog::onSave(void)
QMessageBox::warning(
this,
"Cannot open file",
"Cannote save file in the specified location. Please choose "
"Cannot save file in the specified location. Please choose "
"a different location and try again.",
QMessageBox::Ok);
} else {
Expand Down
4 changes: 2 additions & 2 deletions Components/PanoramicDialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -849,7 +849,7 @@ PanoramicDialog::refreshGains(Suscan::Source::Device &device)
}
}

// Overriden methods
// Overridden methods
Suscan::Serializable *
PanoramicDialog::allocConfig(void)
{
Expand Down Expand Up @@ -1110,7 +1110,7 @@ PanoramicDialog::onExport(void)
QMessageBox::warning(
this,
"Cannot open file",
"Cannote save file in the specified location. Please choose "
"Cannot save file in the specified location. Please choose "
"a different location and try again.",
QMessageBox::Ok);
} else {
Expand Down
2 changes: 1 addition & 1 deletion Misc/GenericDataSaver.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// GenericDataSaver.h: save hight bandwidth data
// GenericDataSaver.h: save height bandwidth data
// Copyright (C) 2019 Gonzalo José Carracedo Carballal
//
// This program is free software: you can redistribute it and/or modify
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ SigDigger is a free digital signal analyzer for GNU/Linux and macOS, designed to
## Wait, why does it look like Gqrx?
Because I'm a terrible person. Also, because after dealing with a lot of software of the sort, I realized that Gqrx had the best UI of them all: minimalistic yet operative. Earlier versions of the UI were somewhat different, but after a lot of debugging I came to the conclusion that it would be better off if I just tried to mimic existing (and successful) software, reducing the learning curve to the new feature set.

You may notice that the spectrum widget looks a lot like Gqrx's. This is because the specturm widget is actually Gqrx's with minimal modifications (like support for configurable Waterfall palettes). I tried to code my own Waterfall widget in Suscan and Xorg ended up hogging the CPU, so I'm not reinventing the wheel anymore: I decided to extend the existing Gqrx's Plotter widget so it fits SigDigger's set of features.
You may notice that the spectrum widget looks a lot like Gqrx's. This is because the spectrum widget is actually Gqrx's with minimal modifications (like support for configurable Waterfall palettes). I tried to code my own Waterfall widget in Suscan and Xorg ended up hogging the CPU, so I'm not reinventing the wheel anymore: I decided to extend the existing Gqrx's Plotter widget so it fits SigDigger's set of features.

Apart from the UI layout and the plotter widget, SigDigger bears little resemblance to Gqrx: Gqrx depends on GNU Radio, while SigDigger is a Qt5 frontend for Suscan. The DSP chains are totally different and Suscan's thread model is optimized for a very specific set of tasks.

Expand All @@ -16,7 +16,7 @@ SigDigger depends on three different projects: **Sigutils**, **Suscan** and **Su
* Sigutils build instructions can be found [here](https://github.com/BatchDrake/sigutils/blob/master/README.md).
* Suscan build instructions can be found [here](https://github.com/BatchDrake/suscan/blob/master/README.md).

Before even attempting to run `cmake`, you may want to decide which branch you want to build. If you build from `master` (this is the default for SigDigger and all its dependencies), you will get a fresh executable of the latest stable release of SigDigger. If you build from `develop` (by running `git fetch origin develop` and `git checkout develop` in all four projects, right after `git clone`), you will get SigDigger with the latest experimental features. Plese note that the `develop` branch is still under validation, so if you want to build from it, expect bugs, inconsistent behaviors and crashes. Any feedback is welcome though.
Before even attempting to run `cmake`, you may want to decide which branch you want to build. If you build from `master` (this is the default for SigDigger and all its dependencies), you will get a fresh executable of the latest stable release of SigDigger. If you build from `develop` (by running `git fetch origin develop` and `git checkout develop` in all four projects, right after `git clone`), you will get SigDigger with the latest experimental features. Please note that the `develop` branch is still under validation, so if you want to build from it, expect bugs, inconsistent behaviors and crashes. Any feedback is welcome though.

After successfully building Sigutils and Suscan, you can now proceed to build **SuWidgets**. SuWidgets is Qt 5 graphical library containing all SigDigger's custom widgets. In order to build it, ensure you have the Qt 5 (>= 5.9) development framework installed in your system and then run:

Expand Down
2 changes: 1 addition & 1 deletion Scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,5 @@ try "Moving files out of /usr..." mv "$DEPLOYROOT"/usr/* "$DEPLOYROOT"
try "Remove empty /usr..." rmdir "$DEPLOYROOT"/usr
try "Setting permissions to wrapper scripts..." chmod a+x "$DEPLOYROOT"/SigDigger "$DEPLOYROOT"/suscli
echo
echo "Done. SigDigger compiled succesfully in $DEPLOYROOT"
echo "Done. SigDigger compiled successfully in $DEPLOYROOT"

2 changes: 1 addition & 1 deletion Suscan/Library.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ Singleton::init_bookmarks(void)
bm.info.color = QColor(QString::fromStdString(list[i].getField("color").value()));

try {
// try parse extended informations
// try parse extended information
std::string lowFreqCut = list[i].getField("low_freq_cut").value();
std::string highFreqCut = list[i].getField("high_freq_cut").value();
bm.info.modulation = QString::fromStdString(list[i].getField("modulation").value());
Expand Down
2 changes: 1 addition & 1 deletion UIMediator/UIMediator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -987,7 +987,7 @@ UIMediator::onTriggerExport(bool)
QMessageBox::warning(
this->ui->main->centralWidget,
"Cannot open file",
"Cannote save file in the specified location. Please choose "
"Cannot save file in the specified location. Please choose "
"a different location and try again.",
QMessageBox::Ok);
} else {
Expand Down
2 changes: 1 addition & 1 deletion include/AppConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ namespace SigDigger {

void loadDefaults(void);

// Overriden methods
// Overridden methods
void deserialize(Suscan::Object const &conf) override;
Suscan::Object &&serialize(void) override;
};
Expand Down
8 changes: 4 additions & 4 deletions include/AudioPanel.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ namespace SigDigger {
std::string satName = "ISS (ZARYA)";
std::string tleData = "";

// Overriden methods
// Overridden methods
void deserialize(Suscan::Object const &conf) override;
Suscan::Object &&serialize(void) override;
};
Expand Down Expand Up @@ -111,7 +111,7 @@ namespace SigDigger {
void notifyOrbitReport(Suscan::OrbitReport const &);
void notifyDisableCorrection(void);

// Overriden setters
// Overridden setters
void setRecordSavePath(std::string const &) override;
void setSaveEnabled(bool enabled) override;
void setCaptureSize(quint64) override;
Expand All @@ -133,11 +133,11 @@ namespace SigDigger {
SUFLOAT getSquelchLevel(void) const;
Suscan::Orbit getOrbit(void) const;

// Overriden getters
// Overridden getters
bool getRecordState(void) const override;
std::string getRecordSavePath(void) const override;

// Overriden methods
// Overridden methods
Suscan::Serializable *allocConfig(void) override;
void applyConfig(void) override;

Expand Down
2 changes: 1 addition & 1 deletion include/ColorConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ namespace SigDigger {
ColorConfig();
ColorConfig(Suscan::Object const &conf);

// Overriden methods
// Overridden methods
void loadDefaults(void);
void deserialize(Suscan::Object const &conf) override;
Suscan::Object &&serialize(void) override;
Expand Down
4 changes: 2 additions & 2 deletions include/DataSaverUI.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ namespace SigDigger {
public:
std::string path;

// Overriden methods
// Overridden methods
void deserialize(Suscan::Object const &conf) override;
Suscan::Object &&serialize(void) override;
};
Expand All @@ -57,7 +57,7 @@ namespace SigDigger {
bool getRecordState(void) const override;
std::string getRecordSavePath(void) const override;

// Other overriden methods
// Other overridden methods
Suscan::Serializable *allocConfig(void) override;
void applyConfig(void) override;

Expand Down
4 changes: 2 additions & 2 deletions include/FftPanel.h
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ namespace SigDigger {

int zoom = 1;

// Overriden methods
// Overridden methods
void deserialize(Suscan::Object const &conf) override;
Suscan::Object &&serialize(void) override;
};
Expand Down Expand Up @@ -169,7 +169,7 @@ namespace SigDigger {
void setSampleRate(unsigned int);
void setWindowFunction(enum Suscan::AnalyzerParams::WindowFunction func);

// Overriden methods
// Overridden methods
Suscan::Serializable *allocConfig(void) override;
void applyConfig(void) override;

Expand Down
2 changes: 1 addition & 1 deletion include/GuiConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ namespace SigDigger {
GuiConfig();
GuiConfig(Suscan::Object const &conf);

// Overriden methods
// Overridden methods
void loadDefaults(void);
void deserialize(Suscan::Object const &conf) override;
Suscan::Object &&serialize(void) override;
Expand Down
4 changes: 2 additions & 2 deletions include/InspectorPanel.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ namespace SigDigger {
int paletteContrast;
bool precise = false;

// Overriden methods
// Overridden methods
void deserialize(Suscan::Object const &conf) override;
Suscan::Object &&serialize(void) override;
};
Expand Down Expand Up @@ -118,7 +118,7 @@ namespace SigDigger {
bool getPrecise(void) const;
enum State getState(void) const;

// Overriden methods
// Overridden methods
Suscan::Serializable *allocConfig(void) override;
void applyConfig(void) override;

Expand Down
4 changes: 2 additions & 2 deletions include/PanoramicDialog.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ namespace SigDigger {
SUFLOAT getGain(std::string const &dev, std::string const &name) const;
void setGain(std::string const &dev, std::string const &name, SUFLOAT val);

// Overriden methods
// Overridden methods
void deserialize(Suscan::Object const &conf) override;
Suscan::Object &&serialize(void) override;
};
Expand Down Expand Up @@ -140,7 +140,7 @@ namespace SigDigger {
void setBannedDevice(QString const &);
void saveConfig(void);

// Overriden methods
// Overridden methods
Suscan::Serializable *allocConfig(void) override;
void applyConfig(void) override;

Expand Down
4 changes: 2 additions & 2 deletions include/SourcePanel.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ namespace SigDigger {

unsigned int throttleRate = 196000;

// Overriden methods
// Overridden methods
void deserialize(Suscan::Object const &conf) override;
Suscan::Object &&serialize(void) override;
};
Expand Down Expand Up @@ -177,7 +177,7 @@ namespace SigDigger {
float getBandwidth(void) const;
float getPPM(void) const;

// Overriden methods
// Overridden methods
Suscan::Serializable *allocConfig(void) override;
void applyConfig(void) override;

Expand Down
2 changes: 1 addition & 1 deletion include/UIMediator.h
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ namespace SigDigger {
void setSourceTimeEnd(struct timeval const &);
void setTimeStamp(struct timeval const &);

// Overriden methods
// Overridden methods
Suscan::Serializable *allocConfig() override;
void applyConfig(void) override;

Expand Down
2 changes: 1 addition & 1 deletion ui/AboutDialog.ui
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ p, li { white-space: pre-wrap; }
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:9pt;"><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:9pt;">Multiple UX improvements were possible thanks to Bartek's tips (</span><a href="https://github.com/BSAsecure"><span style=" font-size:9pt; text-decoration: underline; color:#0986d3;">https://github.com/BSAsecure</span></a><span style=" font-size:9pt;">). Many features and UI enhancements were suggested by cemaxecuter (</span><a href="https://github.com/BSAsecure"><span style=" font-size:9pt; text-decoration: underline; color:#0986d3;">https://cemaxecuter.com/</span></a><span style=" font-size:9pt;">) during his extensive testing of the application in DragonOS.</span></p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:9pt;"><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:9pt;">This release also cointains bugfixes by Mehdi Asgari and Kai Wolf, as well as frequency navigation improvements and bookmark handling enhancements by Jaroslav Šafka (</span><a href="https://github.com/jedi7"><span style=" font-size:9pt; text-decoration: underline; color:#007af4;">https://github.com/jedi7</span></a><span style=" font-size:9pt;">)</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:9pt;">This release also contains bugfixes by Mehdi Asgari and Kai Wolf, as well as frequency navigation improvements and bookmark handling enhancements by Jaroslav Šafka (</span><a href="https://github.com/jedi7"><span style=" font-size:9pt; text-decoration: underline; color:#007af4;">https://github.com/jedi7</span></a><span style=" font-size:9pt;">)</span></p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:9pt;"><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:9pt;">Unsigned 8-bit raw file support, FreeBSD compatibility, benchmarks, bugfixes and several design ideas were possible thanks to </span><span style=" font-size:9pt; font-weight:600;">Josef "Jeff" Sipek</span><span style=" font-size:9pt;"> (</span><a href="https://josefsipek.net/"><span style=" font-size:9pt; text-decoration: underline; color:#007af4;">https://josefsipek.net/</span></a><span style=" font-size:9pt;">)</span></p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:9pt;"><br /></p>
Expand Down
2 changes: 1 addition & 1 deletion ui/RMSViewTab.ui
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
</font>
</property>
<property name="toolTip">
<string>Toggle logaritmic scale</string>
<string>Toggle logarithmic scale</string>
</property>
<property name="text">
<string>dB</string>
Expand Down

0 comments on commit 8493cf3

Please sign in to comment.