Skip to content

Commit

Permalink
Merge branch '2.4' of github.com:mixxxdj/mixxx
Browse files Browse the repository at this point in the history
  • Loading branch information
Holzhaus committed Sep 25, 2023
2 parents 48884a8 + aa5ed24 commit 8fdd662
Show file tree
Hide file tree
Showing 23 changed files with 55 additions and 155 deletions.
2 changes: 1 addition & 1 deletion src/controllers/hid/hiddenylist.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ typedef struct hid_denylist {
} hid_denylist_t;

/// USB HID device that should not be recognized as controllers
hid_denylist_t hid_denylisted[] = {
constexpr hid_denylist_t hid_denylisted[] = {
{0x1157, 0x300, 0x1, 0x2, -1}, // EKS Otus mouse pad (OS/X,windows)
{0x1157, 0x300, 0x0, 0x0, 0x3}, // EKS Otus mouse pad (linux)
{0x04f3, 0x2d26, 0x0, 0x0, -1}, // ELAN2D26:00 Touch screen
Expand Down
32 changes: 0 additions & 32 deletions src/effects/effectxmlelements.h

This file was deleted.

2 changes: 2 additions & 0 deletions src/effects/presets/effectxmlelements.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#pragma once

namespace EffectXml {
const QString kFileHeader(QStringLiteral("<?xml version=\"1.0\" encoding=\"utf-8\"?>\n"));
// Version history:
Expand Down
2 changes: 2 additions & 0 deletions src/library/rekordbox/rekordboxconstants.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#pragma once

namespace mixxx {
namespace rekordboxconstants {
const QString beatsSubversion = QStringLiteral("Rekordbox USB drive");
Expand Down
23 changes: 0 additions & 23 deletions src/test/baseeffecttest.cpp

This file was deleted.

83 changes: 0 additions & 83 deletions src/test/baseeffecttest.h

This file was deleted.

2 changes: 2 additions & 0 deletions src/util/lcs.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#pragma once

#include <QString>
#include <QVector>
#include <cstring>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

#include "waveform/renderers/waveformwidgetrenderer.h"

using namespace allshader;
namespace allshader {

WaveformRenderBackground::WaveformRenderBackground(
WaveformWidgetRenderer* waveformWidgetRenderer)
Expand All @@ -28,3 +28,5 @@ void WaveformRenderBackground::paintGL() {
1.f);
glClear(GL_COLOR_BUFFER_BIT);
}

} // namespace allshader
4 changes: 3 additions & 1 deletion src/waveform/renderers/allshader/waveformrenderbeat.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#include "widget/wskincolor.h"
#include "widget/wwidget.h"

using namespace allshader;
namespace allshader {

WaveformRenderBeat::WaveformRenderBeat(WaveformWidgetRenderer* waveformWidget)
: WaveformRenderer(waveformWidget) {
Expand Down Expand Up @@ -125,3 +125,5 @@ void WaveformRenderBeat::paintGL() {
m_shader.disableAttributeArray(vertexLocation);
m_shader.release();
}

} // namespace allshader
4 changes: 3 additions & 1 deletion src/waveform/renderers/allshader/waveformrenderer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

#include "waveform/widgets/allshader/waveformwidget.h"

using namespace allshader;
namespace allshader {

WaveformRenderer::WaveformRenderer(WaveformWidgetRenderer* widget)
: ::WaveformRendererAbstract(widget) {
Expand All @@ -13,3 +13,5 @@ void WaveformRenderer::draw(QPainter* painter, QPaintEvent* event) {
Q_UNUSED(event);
DEBUG_ASSERT(false);
}

} // namespace allshader
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ constexpr float horizontalGradientArray[] = {-1.f, 1.f, -1.f, 1.f};

} // anonymous namespace

using namespace allshader;
namespace allshader {

WaveformRendererEndOfTrack::WaveformRendererEndOfTrack(
WaveformWidgetRenderer* waveformWidget)
Expand Down Expand Up @@ -109,3 +109,5 @@ void WaveformRendererEndOfTrack::paintGL() {
fillWithGradient(color);
}
}

} // namespace allshader
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include "widget/wskincolor.h"
#include "widget/wwidget.h"

using namespace allshader;
namespace allshader {

WaveformRendererFiltered::WaveformRendererFiltered(
WaveformWidgetRenderer* waveformWidget)
Expand Down Expand Up @@ -196,3 +196,5 @@ void WaveformRendererFiltered::paintGL() {
m_shader.disableAttributeArray(positionLocation);
m_shader.release();
}

} // namespace allshader
4 changes: 3 additions & 1 deletion src/waveform/renderers/allshader/waveformrendererhsv.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#include "widget/wskincolor.h"
#include "widget/wwidget.h"

using namespace allshader;
namespace allshader {

WaveformRendererHSV::WaveformRendererHSV(
WaveformWidgetRenderer* waveformWidget)
Expand Down Expand Up @@ -211,3 +211,5 @@ void WaveformRendererHSV::paintGL() {
m_shader.disableAttributeArray(colorLocation);
m_shader.release();
}

} // namespace allshader
4 changes: 3 additions & 1 deletion src/waveform/renderers/allshader/waveformrendererlrrgb.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include "widget/wskincolor.h"
#include "widget/wwidget.h"

using namespace allshader;
namespace allshader {

namespace {
inline float math_pow2(float x) {
Expand Down Expand Up @@ -226,3 +226,5 @@ void WaveformRendererLRRGB::paintGL() {
m_shader.disableAttributeArray(colorLocation);
m_shader.release();
}

} // namespace allshader
4 changes: 3 additions & 1 deletion src/waveform/renderers/allshader/waveformrendererpreroll.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include "widget/wskincolor.h"
#include "widget/wwidget.h"

using namespace allshader;
namespace allshader {

WaveformRendererPreroll::WaveformRendererPreroll(WaveformWidgetRenderer* waveformWidget)
: WaveformRenderer(waveformWidget) {
Expand Down Expand Up @@ -141,3 +141,5 @@ void WaveformRendererPreroll::paintGL() {
m_shader.disableAttributeArray(vertexLocation);
m_shader.release();
}

} // namespace allshader
4 changes: 3 additions & 1 deletion src/waveform/renderers/allshader/waveformrendererrgb.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include "widget/wskincolor.h"
#include "widget/wwidget.h"

using namespace allshader;
namespace allshader {

namespace {
inline float math_pow2(float x) {
Expand Down Expand Up @@ -225,3 +225,5 @@ void WaveformRendererRGB::paintGL() {
m_shader.disableAttributeArray(colorLocation);
m_shader.release();
}

} // namespace allshader
4 changes: 3 additions & 1 deletion src/waveform/renderers/allshader/waveformrenderersimple.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include "widget/wskincolor.h"
#include "widget/wwidget.h"

using namespace allshader;
namespace allshader {

WaveformRendererSimple::WaveformRendererSimple(
WaveformWidgetRenderer* waveformWidget)
Expand Down Expand Up @@ -177,3 +177,5 @@ void WaveformRendererSimple::paintGL() {
m_shader.disableAttributeArray(positionLocation);
m_shader.release();
}

} // namespace allshader
4 changes: 3 additions & 1 deletion src/waveform/widgets/allshader/filteredwaveformwidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include "waveform/renderers/allshader/waveformrendermarkrange.h"
#include "waveform/widgets/allshader/moc_filteredwaveformwidget.cpp"

using namespace allshader;
namespace allshader {

FilteredWaveformWidget::FilteredWaveformWidget(const QString& group, QWidget* parent)
: WaveformWidget(group, parent) {
Expand All @@ -31,3 +31,5 @@ void FilteredWaveformWidget::castToQWidget() {
void FilteredWaveformWidget::paintEvent(QPaintEvent* event) {
Q_UNUSED(event);
}

} // namespace allshader
4 changes: 3 additions & 1 deletion src/waveform/widgets/allshader/hsvwaveformwidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include "waveform/renderers/allshader/waveformrendermarkrange.h"
#include "waveform/widgets/allshader/moc_hsvwaveformwidget.cpp"

using namespace allshader;
namespace allshader {

HSVWaveformWidget::HSVWaveformWidget(const QString& group, QWidget* parent)
: WaveformWidget(group, parent) {
Expand All @@ -31,3 +31,5 @@ void HSVWaveformWidget::castToQWidget() {
void HSVWaveformWidget::paintEvent(QPaintEvent* event) {
Q_UNUSED(event);
}

} // namespace allshader
4 changes: 3 additions & 1 deletion src/waveform/widgets/allshader/lrrgbwaveformwidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include "waveform/renderers/allshader/waveformrendermarkrange.h"
#include "waveform/widgets/allshader/moc_lrrgbwaveformwidget.cpp"

using namespace allshader;
namespace allshader {

LRRGBWaveformWidget::LRRGBWaveformWidget(const QString& group, QWidget* parent)
: WaveformWidget(group, parent) {
Expand All @@ -31,3 +31,5 @@ void LRRGBWaveformWidget::castToQWidget() {
void LRRGBWaveformWidget::paintEvent(QPaintEvent* event) {
Q_UNUSED(event);
}

} // namespace allshader
4 changes: 3 additions & 1 deletion src/waveform/widgets/allshader/rgbwaveformwidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include "waveform/renderers/allshader/waveformrendermarkrange.h"
#include "waveform/widgets/allshader/moc_rgbwaveformwidget.cpp"

using namespace allshader;
namespace allshader {

RGBWaveformWidget::RGBWaveformWidget(const QString& group, QWidget* parent)
: WaveformWidget(group, parent) {
Expand All @@ -31,3 +31,5 @@ void RGBWaveformWidget::castToQWidget() {
void RGBWaveformWidget::paintEvent(QPaintEvent* event) {
Q_UNUSED(event);
}

} // namespace allshader
4 changes: 3 additions & 1 deletion src/waveform/widgets/allshader/simplewaveformwidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include "waveform/renderers/allshader/waveformrendermarkrange.h"
#include "waveform/widgets/allshader/moc_simplewaveformwidget.cpp"

using namespace allshader;
namespace allshader {

SimpleWaveformWidget::SimpleWaveformWidget(const QString& group, QWidget* parent)
: WaveformWidget(group, parent) {
Expand All @@ -31,3 +31,5 @@ void SimpleWaveformWidget::castToQWidget() {
void SimpleWaveformWidget::paintEvent(QPaintEvent* event) {
Q_UNUSED(event);
}

} // namespace allshader
Loading

0 comments on commit 8fdd662

Please sign in to comment.