Skip to content

Commit 6355228

Browse files
committed
Merge remote-tracking branch 'origin/main' into LateNightQML/Deck-week6
2 parents fb4f207 + 1788945 commit 6355228

34 files changed

Lines changed: 418 additions & 185 deletions

.github/workflows/labeler.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
runs-on: ubuntu-slim
2323

2424
steps:
25-
- uses: actions/labeler@v6.1.0
25+
- uses: actions/labeler@v6.2.0
2626
with:
2727
repo-token: "${{ secrets.GITHUB_TOKEN }}"
2828
sync-labels: false

.github/workflows/pr-command.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
softfix:
88
name: Softfix action
99
if: github.event.issue.pull_request != '' && startsWith(github.event.comment.body, '/softfix')
10-
runs-on: ubuntu-slim
10+
runs-on: ubuntu-latest
1111
steps:
1212
- name: Check if commenter is maintainer
1313
id: check-maintainer

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ repos:
5151
# protect main and any branch that has a semver-like name
5252
args: [-b, main, -p, '^\d+\.\d+(?:\.\d+)?$']
5353
- repo: https://github.com/codespell-project/codespell
54-
rev: v2.4.2
54+
rev: v2.4.3
5555
hooks:
5656
- id: codespell
5757
args:
@@ -66,7 +66,7 @@ repos:
6666
]
6767
exclude: ^(packaging/wix/LICENSE.rtf.in|src/dialog/dlgabout\.cpp|res/linux/org\.mixxx\.Mixxx\.desktop|.*\.(?:pot?|(?<!\.d\.)ts|wxl|svg))$
6868
- repo: https://github.com/pre-commit/mirrors-eslint
69-
rev: v10.6.0
69+
rev: v10.7.0
7070
hooks:
7171
- id: eslint
7272
args: [--fix, --report-unused-disable-directives]
@@ -77,7 +77,7 @@ repos:
7777
- pre-commit
7878
- manual
7979
additional_dependencies:
80-
- eslint@^10.6.0
80+
- eslint@^10.7.0
8181
- "@eslint/js"
8282
- typescript-eslint
8383
- eslint-plugin-jsdoc@^v50.4.3

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3742,7 +3742,7 @@ target_include_directories(mixxx-lib SYSTEM PUBLIC lib/portaudio)
37423742
target_link_libraries(mixxx-lib PRIVATE PortAudioRingBuffer)
37433743

37443744
# PipeWire
3745-
default_option(PIPEWIRE "Enable the PipeWire backend" "UNIX AND NOT APPLE AND NOT ANDROID")
3745+
option(PIPEWIRE "Enable the PipeWire backend" OFF)
37463746
if(PIPEWIRE)
37473747
find_package(PipeWire REQUIRED)
37483748
target_link_libraries(mixxx-lib PUBLIC PipeWire::PipeWire)

packaging/flatpak/modules/soundtouch.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ config-opts:
55
- -DSOUNDSTRETCH=OFF
66
sources:
77
- type: archive
8-
url: https://codeberg.org/soundtouch/soundtouch/archive/2.4.0.tar.gz
9-
sha256: 3dda3c9ab1e287f15028c010a66ab7145fa855dfa62763538f341e70b4d10abd
8+
url: https://codeberg.org/soundtouch/soundtouch/archive/2.4.1.tar.gz
9+
sha256: 35d404e6e8c2ebd12fb4000da6fadd75c99e37eed2126a04721828c11c0377ec
1010
x-checker-data:
1111
type: anitya
1212
project-id: 115722

res/controllers/Numark-Mixtrack-3-scripts.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,25 +4,25 @@
44
**********************************************************************/
55
// TrackEndWarning: "true": when you reach the end of the track,
66
// the jog wheel Button will flash. "false": No flash of Jog Wheel Button
7-
const TrackEndWarning = engine.getSetting("TrackEndWarning") === "true";
7+
const TrackEndWarning = engine.getSetting("TrackEndWarning") === true;
88

99
//iCutEnabled: iCut mode will automatically cut your track with the cross fader
1010
// when SHIFT enabled and scratching with the jog wheel
11-
const iCutEnabled = engine.getSetting("iCutEnabled") === "true";
11+
const iCutEnabled = engine.getSetting("iCutEnabled") === true;
1212

1313
//activate PFL of deck on track load
14-
const smartPFL = engine.getSetting("smartPFL") === "true";
14+
const smartPFL = engine.getSetting("smartPFL") === true;
1515

1616
//Disable Play on Sync button Double Press
17-
const noPlayOnSyncDoublePress = engine.getSetting("noPlayOnSyncDoublePress") === "true";
17+
const noPlayOnSyncDoublePress = engine.getSetting("noPlayOnSyncDoublePress") === true;
1818

1919
// Shift+Filter control behavior
2020
// true (default) - FX parameter 4 (when the FX is focused)
2121
// false - Channel Gain
22-
const ShiftFilterFX4 = engine.getSetting("ShiftFilterFX4") === "true";
22+
const ShiftFilterFX4 = engine.getSetting("ShiftFilterFX4") === true;
2323

2424
// allow pitch bend with wheel when wheel is not active
25-
const PitchBendOnWheelOff = engine.getSetting("PitchBendOnWheelOff") === "true";
25+
const PitchBendOnWheelOff = engine.getSetting("PitchBendOnWheelOff") === true;
2626

2727
/**************************
2828
* scriptpause

res/qml/Mixxx/Controls/Slider.qml

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ Item {
1313
readonly property real availableHeight: Math.max(0, height - topPadding - bottomPadding)
1414
readonly property real availableWidth: Math.max(0, width - leftPadding - rightPadding)
1515
property alias background: backgroundItem.data
16-
property alias bar: barPath
16+
// A typed property is required so inherited controls accept grouped bindings such as bar.margin.
17+
property BarSettings bar: BarSettings {
18+
}
1719
property real bottomPadding: 0
1820
readonly property real displayValue: dragHandler.active ? dragHandler.value : value
1921
property real from: 0
@@ -115,17 +117,11 @@ Item {
115117
ShapePath {
116118
id: barPath
117119

118-
property color color: "transparent"
119-
property bool enabled: false
120-
property real margin: 0
121-
property real start: 0
122-
property real width: 2
123-
124120
fillColor: "transparent"
125121
startX: barShape.width * (root.horizontal ? (1 - root.bar.start) : 0.5)
126122
startY: barShape.height * (root.vertical ? (1 - root.bar.start) : 0.5)
127-
strokeColor: color
128-
strokeWidth: width
123+
strokeColor: root.bar.color
124+
strokeWidth: root.bar.width
129125

130126
PathLine {
131127
x: root.horizontal ? (barShape.width * root.position) : barPath.startX
@@ -181,4 +177,12 @@ Item {
181177
event.accepted = true;
182178
}
183179
}
180+
181+
component BarSettings: QtObject {
182+
property color color: "transparent"
183+
property bool enabled: false
184+
property real margin: 0
185+
property real start: 0
186+
property real width: 2
187+
}
184188
}

src/controllers/hid/hiddevice.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
#include <QDebugStateSaver>
66

77
#include "controllers/controllermappinginfo.h"
8+
#include "util/path.h"
89
#include "util/string.h"
910

1011
#ifndef Q_OS_ANDROID

src/controllers/rendering/controllerrenderingengine.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ class ControllerRenderingEngine : public QObject {
7373

7474
signals:
7575
void frameRendered(const LegacyControllerMapping::ScreenInfo& screeninfo,
76-
QImage frame,
76+
const QImage& frame,
7777
const QDateTime& timestamp);
7878
void stopping();
7979
/// @brief Request the screen thread to send a frame to the device.

src/controllers/scripting/legacy/controllerscriptenginelegacy.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,9 @@ class ControllerScriptEngineLegacy : public ControllerScriptEngineBase {
7373
/// Emitted when a screen has been rendered.
7474
// TODO (XXX) Move this signal in ControllerScriptEngineBase when ScreenInfo
7575
// isn't tight to LegacyControllerMapping anymore.
76-
void previewRenderedScreen(const LegacyControllerMapping::ScreenInfo& screen, QImage frame);
76+
void previewRenderedScreen(
77+
const LegacyControllerMapping::ScreenInfo& screen,
78+
const QImage& frame);
7779
#endif
7880

7981
private:

0 commit comments

Comments
 (0)