aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
Diffstat (limited to 'ui')
-rw-r--r--ui/cli/.editorconfig2
-rw-r--r--ui/cli/tap-sipstat.c2
-rw-r--r--ui/qt/capture_file_dialog.h2
-rw-r--r--ui/qt/follow_stream_dialog.cpp2
-rw-r--r--ui/qt/iax2_analysis_dialog.cpp4
-rw-r--r--ui/qt/io_graph_dialog.cpp4
-rw-r--r--ui/qt/main.cpp4
-rw-r--r--ui/qt/main_window.h6
-rw-r--r--ui/qt/models/fileset_entry_model.cpp2
-rw-r--r--ui/qt/models/sparkline_delegate.cpp2
-rw-r--r--ui/qt/rtp_analysis_dialog.cpp4
-rw-r--r--ui/qt/sequence_diagram.cpp2
-rw-r--r--ui/qt/sequence_dialog.cpp2
-rw-r--r--ui/qt/utils/qt_ui_utils.cpp2
-rw-r--r--ui/qt/utils/stock_icon.cpp16
-rw-r--r--ui/qt/wireshark_application.cpp14
-rw-r--r--ui/qt/wireshark_dialog.cpp9
-rw-r--r--ui/tap-rtp-analysis.c6
-rw-r--r--ui/util.c2
-rw-r--r--ui/win32/file_dlg_win32.c8
20 files changed, 50 insertions, 45 deletions
diff --git a/ui/cli/.editorconfig b/ui/cli/.editorconfig
index b40064a363..43fe1d71a2 100644
--- a/ui/cli/.editorconfig
+++ b/ui/cli/.editorconfig
@@ -1,7 +1,7 @@
#
# Editor configuration
#
-# http://editorconfig.org/
+# https://editorconfig.org
#
[tap-camelsrt.[ch]]
diff --git a/ui/cli/tap-sipstat.c b/ui/cli/tap-sipstat.c
index 274a8de6a8..2ece8d732f 100644
--- a/ui/cli/tap-sipstat.c
+++ b/ui/cli/tap-sipstat.c
@@ -60,7 +60,7 @@ typedef struct _sip_request_method_t {
} sip_request_method_t;
/* TODO: extra codes to be added from SIP extensions?
-* http://www.iana.org/assignments/sip-parameters/sip-parameters.xhtml#sip-parameters-6
+* https://www.iana.org/assignments/sip-parameters/sip-parameters.xhtml#sip-parameters-6
*/
static const value_string vals_status_code[] = {
{ 100, "Trying"},
diff --git a/ui/qt/capture_file_dialog.h b/ui/qt/capture_file_dialog.h
index f9bd637b33..ac8e890347 100644
--- a/ui/qt/capture_file_dialog.h
+++ b/ui/qt/capture_file_dialog.h
@@ -42,7 +42,7 @@ class CaptureFileDialog : public QFileDialog
//
// You can subclass QFileDialog (which we've done here) and add widgets as
// described at
- // http://developer.qt.nokia.com/faq/answer/how_can_i_add_widgets_to_my_qfiledialog_instance
+ // https://web.archive.org/web/20100528190736/http://developer.qt.nokia.com/faq/answer/how_can_i_add_widgets_to_my_qfiledialog_instance
// However, Qt's idea of what a file dialog looks like isn't what Microsoft
// and Apple think a file dialog looks like.
//
diff --git a/ui/qt/follow_stream_dialog.cpp b/ui/qt/follow_stream_dialog.cpp
index 2dbe9671e5..6af72f133c 100644
--- a/ui/qt/follow_stream_dialog.cpp
+++ b/ui/qt/follow_stream_dialog.cpp
@@ -244,7 +244,7 @@ void FollowStreamDialog::findText(bool go_back)
if (ui->leFind->text().isEmpty()) return;
/* Version check due to find on teStreamContent. Expects regex since 5.3
- * http://doc.qt.io/qt-5/qplaintextedit.html#find-1 */
+ * https://doc.qt.io/qt-5/qplaintextedit.html#find-1 */
#if (QT_VERSION >= QT_VERSION_CHECK(5, 3, 0))
bool found;
if (use_regex_find_) {
diff --git a/ui/qt/iax2_analysis_dialog.cpp b/ui/qt/iax2_analysis_dialog.cpp
index 0c63bbfb78..2ebdf5f916 100644
--- a/ui/qt/iax2_analysis_dialog.cpp
+++ b/ui/qt/iax2_analysis_dialog.cpp
@@ -581,7 +581,7 @@ void Iax2AnalysisDialog::on_actionSaveGraph_triggered()
if (!file_name.isEmpty()) {
bool save_ok = false;
- // http://www.qcustomplot.com/index.php/support/forum/63
+ // https://www.qcustomplot.com/index.php/support/forum/63
// ui->streamGraph->legend->setVisible(true);
if (extension.compare(pdf_filter) == 0) {
save_ok = ui->streamGraph->savePdf(file_name);
@@ -922,7 +922,7 @@ void Iax2AnalysisDialog::saveAudio(Iax2AnalysisDialog::StreamDirection direction
ui->hintLabel->setText(tr("Saving %1" UTF8_HORIZONTAL_ELLIPSIS).arg(save_file.fileName()));
ui->progressFrame->showProgress(true, true, &stop_flag);
- if (save_format == save_audio_au_) { /* au format; http://pubs.opengroup.org/external/auformat.html */
+ if (save_format == save_audio_au_) { /* au format; https://pubs.opengroup.org/external/auformat.html */
/* First we write the .au header. All values in the header are
* 4-byte big-endian values, so we use pntoh32() to copy them
* to a 4-byte buffer, in big-endian order, and then write out
diff --git a/ui/qt/io_graph_dialog.cpp b/ui/qt/io_graph_dialog.cpp
index 15abbc26dd..afe765aa64 100644
--- a/ui/qt/io_graph_dialog.cpp
+++ b/ui/qt/io_graph_dialog.cpp
@@ -47,7 +47,7 @@
// Bugs and uncertainties:
// - Regular (non-stacked) bar graphs are drawn on top of each other on the Z axis.
// The QCP forum suggests drawing them side by side:
-// http://www.qcustomplot.com/index.php/support/forum/62
+// https://www.qcustomplot.com/index.php/support/forum/62
// - We retap and redraw more than we should.
// - Smoothing doesn't seem to match GTK+
// - Closing the color picker on macOS sends the dialog to the background.
@@ -911,7 +911,7 @@ void IOGraphDialog::updateLegend()
}
// Differing labels. Create a legend with a Title label at top.
- // Legend Title thanks to: http://www.qcustomplot.com/index.php/support/forum/443
+ // Legend Title thanks to: https://www.qcustomplot.com/index.php/support/forum/443
QCPStringLegendItem* legendTitle = qobject_cast<QCPStringLegendItem*>(iop->legend->elementAt(0));
if (legendTitle == NULL) {
legendTitle = new QCPStringLegendItem(iop->legend, QString(""));
diff --git a/ui/qt/main.cpp b/ui/qt/main.cpp
index 203c39a5b6..3a7575089c 100644
--- a/ui/qt/main.cpp
+++ b/ui/qt/main.cpp
@@ -571,8 +571,8 @@ int main(int argc, char *qt_argv[])
// in Info.plist.
// Note that this enables Windows 8.1-style Per-monitor DPI
// awareness but not Windows 10-style Per-monitor v2 awareness.
- // http://doc.qt.io/qt-5/scalability.html
- // http://doc.qt.io/qt-5/highdpi.html
+ // https://doc.qt.io/qt-5/scalability.html
+ // https://doc.qt.io/qt-5/highdpi.html
// https://bugreports.qt.io/browse/QTBUG-53022 - The device pixel ratio is pretty much bogus on Windows.
// https://bugreports.qt.io/browse/QTBUG-55510 - Windows have wrong size
#if defined(Q_OS_WIN) && QT_VERSION >= QT_VERSION_CHECK(5, 6, 0)
diff --git a/ui/qt/main_window.h b/ui/qt/main_window.h
index 15d52da6ec..1ad363b89b 100644
--- a/ui/qt/main_window.h
+++ b/ui/qt/main_window.h
@@ -420,9 +420,9 @@ private slots:
// Automatically connected slots ("on_<object>_<signal>").
//
// The slots below follow the naming conventaion described in
- // http://doc.qt.io/qt-4.8/qmetaobject.html#connectSlotsByName and are
- // automatically connected at initialization time via main_ui_->setupUi,
- // which in turn calls connectSlotsByName.
+ // https://doc.qt.io/archives/qt-4.8/qmetaobject.html#connectSlotsByName
+ // and are automatically connected at initialization time via
+ // main_ui_->setupUi, which in turn calls connectSlotsByName.
//
// If you're manually connecting a signal to a slot, don't prefix its name
// with "on_". Otherwise you'll get runtime warnings.
diff --git a/ui/qt/models/fileset_entry_model.cpp b/ui/qt/models/fileset_entry_model.cpp
index 3b93ff23d9..194a87fe32 100644
--- a/ui/qt/models/fileset_entry_model.cpp
+++ b/ui/qt/models/fileset_entry_model.cpp
@@ -49,7 +49,7 @@ QVariant FilesetEntryModel::data(const QModelIndex &index, int role) const
if(created.length() < 1) {
/* if this file doesn't follow the file set pattern, */
/* use the creation time of that file if available */
- /* http://en.wikipedia.org/wiki/ISO_8601 */
+ /* https://en.wikipedia.org/wiki/ISO_8601 */
/*
* macOS provides 0 if the file system doesn't support the
* creation time; FreeBSD provides -1.
diff --git a/ui/qt/models/sparkline_delegate.cpp b/ui/qt/models/sparkline_delegate.cpp
index e142556de1..1c86809d24 100644
--- a/ui/qt/models/sparkline_delegate.cpp
+++ b/ui/qt/models/sparkline_delegate.cpp
@@ -77,7 +77,7 @@ void SparkLineDelegate::paint(QPainter *painter, const QStyleOptionViewItem &opt
// As a general rule, aliased painting renders to pixels and
// antialiased painting renders to mathematical coordinates:
- // http://doc.qt.io/qt-5/coordsys.html
+ // https://doc.qt.io/qt-5/coordsys.html
// Shift our coordinates by 0.5 pixels, otherwise our lines end
// up blurry.
painter->setRenderHint(QPainter::Antialiasing, true);
diff --git a/ui/qt/rtp_analysis_dialog.cpp b/ui/qt/rtp_analysis_dialog.cpp
index cf4f4e288d..cf06a6dbb7 100644
--- a/ui/qt/rtp_analysis_dialog.cpp
+++ b/ui/qt/rtp_analysis_dialog.cpp
@@ -617,7 +617,7 @@ void RtpAnalysisDialog::on_actionSaveGraph_triggered()
if (!file_name.isEmpty()) {
bool save_ok = false;
- // http://www.qcustomplot.com/index.php/support/forum/63
+ // https://www.qcustomplot.com/index.php/support/forum/63
// ui->streamGraph->legend->setVisible(true);
if (extension.compare(pdf_filter) == 0) {
save_ok = ui->streamGraph->savePdf(file_name);
@@ -1157,7 +1157,7 @@ gboolean RtpAnalysisDialog::saveAudioAU(StreamDirection direction, QFile *save_f
size_t rev_total_len;
size_t total_len;
- /* http://pubs.opengroup.org/external/auformat.html */
+ /* https://pubs.opengroup.org/external/auformat.html */
/* First we write the .au header. All values in the header are
* 4-byte big-endian values, so we use pntoh32() to copy them
* to a 4-byte buffer, in big-endian order, and then write out
diff --git a/ui/qt/sequence_diagram.cpp b/ui/qt/sequence_diagram.cpp
index a83116fb04..690b725305 100644
--- a/ui/qt/sequence_diagram.cpp
+++ b/ui/qt/sequence_diagram.cpp
@@ -24,7 +24,7 @@
const int max_comment_em_width_ = 20;
// UML-like network node sequence diagrams.
-// http://www.ibm.com/developerworks/rational/library/3101.html
+// https://developer.ibm.com/articles/the-sequence-diagram/
WSCPSeqData::WSCPSeqData() :
key(0),
diff --git a/ui/qt/sequence_dialog.cpp b/ui/qt/sequence_dialog.cpp
index b97b72ba68..84295b4716 100644
--- a/ui/qt/sequence_dialog.cpp
+++ b/ui/qt/sequence_dialog.cpp
@@ -46,7 +46,7 @@
// this easier.
// - For general flows, let the user show columns other than COL_INFO.
// - Add UTF8 to text dump
-// - Save to XMI? http://www.umlgraph.org/
+// - Save to XMI? https://www.spinellis.gr/umlgraph/
// - Time: abs vs delta
// - Hide nodes
// - Clickable time + comments?
diff --git a/ui/qt/utils/qt_ui_utils.cpp b/ui/qt/utils/qt_ui_utils.cpp
index 66acfab44e..bb4151b0e6 100644
--- a/ui/qt/utils/qt_ui_utils.cpp
+++ b/ui/qt/utils/qt_ui_utils.cpp
@@ -194,7 +194,7 @@ bool qStringCaseLessThan(const QString &s1, const QString &s2)
return s1.compare(s2, Qt::CaseInsensitive) < 0;
}
-// http://stackoverflow.com/questions/3490336/how-to-reveal-in-finder-or-show-in-explorer-with-qt
+// https://stackoverflow.com/questions/3490336/how-to-reveal-in-finder-or-show-in-explorer-with-qt
void desktop_show_in_folder(const QString file_path)
{
bool success = false;
diff --git a/ui/qt/utils/stock_icon.cpp b/ui/qt/utils/stock_icon.cpp
index 9ae99eb8b5..d83afd724c 100644
--- a/ui/qt/utils/stock_icon.cpp
+++ b/ui/qt/utils/stock_icon.cpp
@@ -18,15 +18,17 @@
// References:
//
-// http://standards.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html
-// http://standards.freedesktop.org/icon-naming-spec/icon-naming-spec-latest.html
+// https://specifications.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html
+// https://specifications.freedesktop.org/icon-naming-spec/icon-naming-spec-latest.html
//
-// http://mithatkonar.com/wiki/doku.php/qt/icons
+// https://mithatkonar.com/wiki/doku.php/qt/icons
//
-// https://developer.apple.com/library/mac/documentation/userexperience/conceptual/applehiguidelines/IconsImages/IconsImages.html#//apple_ref/doc/uid/20000967-TPXREF102
-// http://msdn.microsoft.com/en-us/library/windows/desktop/dn742485.aspx
-// https://developer.gnome.org/hig-book/stable/icons-types.html.en
-// http://msdn.microsoft.com/en-us/library/ms246582.aspx
+// https://web.archive.org/web/20140829010224/https://developer.apple.com/library/mac/documentation/userexperience/conceptual/applehiguidelines/IconsImages/IconsImages.html
+// https://developer.apple.com/design/human-interface-guidelines/macos/icons-and-images/image-size-and-resolution/
+// https://developer.apple.com/design/human-interface-guidelines/macos/icons-and-images/app-icon/
+// https://docs.microsoft.com/en-us/windows/win32/uxguide/vis-icons
+// https://developer.gnome.org/hig/stable/icons-and-artwork.html.en
+// https://docs.microsoft.com/en-us/visualstudio/designers/the-visual-studio-image-library
// To do:
// - 32x32, 48x48, 64x64, and unscaled (.svg) icons.
diff --git a/ui/qt/wireshark_application.cpp b/ui/qt/wireshark_application.cpp
index 341e95f15d..fcb62812e5 100644
--- a/ui/qt/wireshark_application.cpp
+++ b/ui/qt/wireshark_application.cpp
@@ -154,7 +154,7 @@ set_last_open_dir(const char *dirname)
*/
/*
* XXX - We might want to call SHAddToRecentDocs under Windows 7:
- * http://stackoverflow.com/questions/437212/how-do-you-register-a-most-recently-used-list-with-windows-in-preparation-for-win
+ * https://stackoverflow.com/questions/437212/how-do-you-register-a-most-recently-used-list-with-windows-in-preparation-for-win
*/
extern "C" void
add_menu_recent_capture_file(const gchar *cf_name) {
@@ -304,7 +304,7 @@ void WiresharkApplication::setMonospaceFont(const char *font_string) {
}
}
- // http://en.wikipedia.org/wiki/Category:Monospaced_typefaces
+ // https://en.wikipedia.org/wiki/Category:Monospaced_typefaces
const char *win_default_font = "Consolas";
const char *win_alt_font = "Lucida Console";
// SF Mono might be a system font someday. Right now (Oct 2016) it appears
@@ -315,7 +315,7 @@ void WiresharkApplication::setMonospaceFont(const char *font_string) {
const QStringList osx_alt_fonts = QStringList() << "Menlo" << "Monaco";
// XXX Detect Ubuntu systems (e.g. via /etc/os-release and/or
// /etc/lsb_release) and add "Ubuntu Mono Regular" there.
- // http://font.ubuntu.com/
+ // https://design.ubuntu.com/font/
const char *x11_default_font = "Liberation Mono";
const QStringList x11_alt_fonts = QStringList() << "DejaVu Sans Mono" << "Bitstream Vera Sans Mono";
const QStringList fallback_fonts = QStringList() << "Lucida Sans Typewriter" << "Inconsolata" << "Droid Sans Mono" << "Andale Mono" << "Courier New" << "monospace";
@@ -525,11 +525,11 @@ void WiresharkApplication::storeCustomColorsInRecent()
// Dell Backup and Recovery is awful and terrible.
// https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=12036
// https://bugreports.qt.io/browse/QTBUG-41416
-// http://en.community.dell.com/support-forums/software-os/f/3526/t/19634253
-// http://stackoverflow.com/a/33697140/82195
+// https://www.dell.com/community/Productivity-Software/Backup-and-Recovery-causing-applications-using-Qt5-DLLs-to-crash/m-p/4590325
+// https://stackoverflow.com/questions/30833889/dll-hell-with-sqlite/33697140#33697140
//
// According to https://www.portraitprofessional.com/support/?qid=79 , which
-// points to http://cloudfront.portraitprofessional.com/Tools/unregister_dell_backup.cmd
+// points to https://cloudfrontsecure.anthropics.com/Tools/unregister_dell_backup.cmd
// DBAR's shell extension DLLs are named DBROverlayIconBackuped.dll,
// DBROverlayIconNotBackuped.dll, and DBRShellExtension.dll.
//
@@ -573,7 +573,7 @@ void WiresharkApplication::checkForDbar()
<< "DBRShellExtension.dll";
// List of HKCR subkeys in which to look for "shellex\ContextMenuHandlers".
// This may be incomplete.
- // https://msdn.microsoft.com/en-us/library/windows/desktop/cc144110
+ // https://docs.microsoft.com/en-us/windows/win32/shell/reg-shell-exts
QStringList hkcr_subkeys = QStringList()
<< "*"
<< "AllFileSystemObjects"
diff --git a/ui/qt/wireshark_dialog.cpp b/ui/qt/wireshark_dialog.cpp
index d9535b7524..5f3a95cea3 100644
--- a/ui/qt/wireshark_dialog.cpp
+++ b/ui/qt/wireshark_dialog.cpp
@@ -83,9 +83,12 @@ void WiresharkDialog::setWindowTitleFromSubtitle()
// we were deep in the bowels of a routine that retaps packets. Track our
// tapping state using retap_depth_ and our closed state using dialog_closed_.
//
-// The Delta Object Rules (http://delta.affinix.com/dor/) page on nested
-// event loops effectively says "don't do that." However, we don't really
-// have a choice if we want to have a usable application that retaps packets.
+// The Delta Object Rules page on nested event loops:
+//
+// https://jblog.andbit.net/2007/04/28/delta-object-rules/
+//
+// effectively says "don't do that." However, we don't really have a choice
+// if we want to have a usable application that retaps packets.
void WiresharkDialog::tryDeleteLater()
{
diff --git a/ui/tap-rtp-analysis.c b/ui/tap-rtp-analysis.c
index 474761ed04..876cc18957 100644
--- a/ui/tap-rtp-analysis.c
+++ b/ui/tap-rtp-analysis.c
@@ -39,7 +39,7 @@ typedef struct _key_value {
/* RTP sampling clock rates for fixed payload types as defined in
- http://www.iana.org/assignments/rtp-parameters */
+ https://www.iana.org/assignments/rtp-parameters/rtp-parameters.xhtml */
static const key_value clock_map[] = {
{PT_PCMU, 8000},
{PT_1016, 8000},
@@ -94,8 +94,8 @@ typedef struct _mimetype_and_clock {
Payload Types table, there are additional payload formats that do not
have static RTP payload types assigned but instead use dynamic payload
type number assignment. Each payload format is named by a registered
- MIME subtype"
- http://www.iana.org/assignments/rtp-parameters.
+ media subtype"
+ https://www.iana.org/assignments/rtp-parameters/rtp-parameters.xhtml.
NOTE: Please keep the mimetypes in case insensitive alphabetical order.
*/
diff --git a/ui/util.c b/ui/util.c
index f3e7049e21..f3d9a92110 100644
--- a/ui/util.c
+++ b/ui/util.c
@@ -320,7 +320,7 @@ const gchar *get_conn_cfilter(void) {
g_free(phostname);
#ifdef _WIN32
} else if (GetSystemMetrics(SM_REMOTESESSION)) {
- /* We have a remote session: http://msdn.microsoft.com/en-us/library/aa380798%28VS.85%29.aspx */
+ /* We have a remote session: https://docs.microsoft.com/en-us/windows/win32/termserv/detecting-the-terminal-services-environment */
g_string_printf(filter_str, "not port 3389");
#endif /* _WIN32 */
} else {
diff --git a/ui/win32/file_dlg_win32.c b/ui/win32/file_dlg_win32.c
index e9c8c19eb6..c7760dcbca 100644
--- a/ui/win32/file_dlg_win32.c
+++ b/ui/win32/file_dlg_win32.c
@@ -155,7 +155,7 @@ static char *g_dfilter_str = NULL;
static unsigned int g_format_type = WTAP_TYPE_AUTO;
/*
- * According to http://msdn.microsoft.com/en-us/library/bb776913.aspx
+ * According to https://docs.microsoft.com/en-us/previous-versions/windows/desktop/legacy/bb776913(v=vs.85)
* we should use IFileOpenDialog and IFileSaveDialog on Windows Vista
* and later.
*/
@@ -251,15 +251,15 @@ win32_check_save_as_with_comments(HWND parent, capture_file *cf, int file_type)
XXX - given that we no longer support releases prior to
Windows Vista, we should use a task dialog:
- https://msdn.microsoft.com/en-us/library/windows/desktop/ff486057(v=vs.85).aspx
+ https://docs.microsoft.com/en-us/windows/win32/controls/bumper-task-dialog-task-dialogs-reference
created with TaskDialogIndirect():
- https://msdn.microsoft.com/en-us/library/windows/desktop/bb760544(v=vs.85).aspx
+ https://docs.microsoft.com/en-us/windows/win32/api/commctrl/nf-commctrl-taskdialogindirect
because the TASKDIALOGCONFIG structure
- https://msdn.microsoft.com/en-us/library/windows/desktop/bb787473(v=vs.85).aspx
+ https://docs.microsoft.com/en-us/windows/win32/api/commctrl/ns-commctrl-taskdialogconfig
supports adding custom buttons, with custom labels, unlike
a MessageBox(), which doesn't appear to offer a clean way to