Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

migrate legacy controller system to QJSEngine #2682

Merged
merged 169 commits into from
Jun 14, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
169 commits
Select commit Hold shift + click to select a range
e2441bd
Replace QtScript classes with QtQml script classes
ferranpujolcamins Mar 25, 2018
8e21856
Move controllerengine files into new engine subfolder
ferranpujolcamins Aug 18, 2018
3bf236a
Expose Controller and ControllerEngine scripting apis through a proxy
ferranpujolcamins Aug 18, 2018
08dd110
Add checks for JS engine evaluation errors
ferranpujolcamins Aug 19, 2018
6ddae3d
Remove unused evaluate slot in ControllerEngine
ferranpujolcamins Aug 19, 2018
9b3b28f
Refactor exceptions
ferranpujolcamins Aug 19, 2018
50f8059
Add nullengine exception handling
ferranpujolcamins Aug 20, 2018
2b14555
Fix tests build
ferranpujolcamins Aug 30, 2018
a3475d8
Add controller script name to assertion message
ferranpujolcamins Aug 30, 2018
9009fc9
Fix script error not displaying file name
ferranpujolcamins Aug 30, 2018
d7b6811
Remove comment
ferranpujolcamins Aug 30, 2018
6bd1f15
Adapt hid devices to new JS Engine
ferranpujolcamins Sep 1, 2018
4047bf8
Add QtQml dependency to travis config file
ferranpujolcamins Sep 3, 2018
5ed5280
Update comments
ferranpujolcamins Sep 3, 2018
b3380ba
Remove QScriptEngineDebugger from SkinContext
ferranpujolcamins Sep 3, 2018
6274220
Components: use Function.prototype.bind for QJSEngine
Be-ing Nov 22, 2018
ed4b00c
Xone K2: use Function.prototype.bind for QJSEngine
Be-ing Nov 22, 2018
ccbc73c
Hercules P32: use Function.prototype.bind for QJSEngine
Be-ing Nov 22, 2018
eb06da4
Add comment to depends.py
ferranpujolcamins Nov 24, 2018
1200db3
Merge branch 'master' into migrate-to-QJSEngine
ferranpujolcamins Nov 25, 2018
9143bb3
Add missing file to depends.py
ferranpujolcamins Nov 25, 2018
7c65f81
Fix usage of deprecated parameter
ferranpujolcamins Nov 25, 2018
c34427d
Replace checks with VERIFY_OR_DEBUG_ASSERT
ferranpujolcamins Nov 25, 2018
630c781
Replace tabs with spaces
ferranpujolcamins Nov 25, 2018
da214be
Rename ControllerEngine member
ferranpujolcamins Nov 25, 2018
4bee8ab
Replace tabs with spaces
ferranpujolcamins Nov 25, 2018
98818df
Rename function in ControllerEngine
ferranpujolcamins Nov 25, 2018
86efb47
Rename variable
ferranpujolcamins Nov 25, 2018
b69b9b9
Improve comments
ferranpujolcamins Nov 25, 2018
cf40beb
Rename method in ControllerEngine
ferranpujolcamins Nov 25, 2018
d572eb1
Let subclasses of Controller provide custom JS api
ferranpujolcamins Nov 25, 2018
8521131
Remove redundant warning
ferranpujolcamins Nov 25, 2018
d9013e8
Replace tabs with spaces
ferranpujolcamins Nov 25, 2018
85b7855
Rename MidiController member
ferranpujolcamins Nov 27, 2018
d6d86e8
Merge branch 'master' into migrate-to-QJSEngine
ferranpujolcamins Nov 27, 2018
bd58277
Add missing Q_OBJECT macro
Be-ing Nov 27, 2018
f6291d7
Add missing Q_OBJECT macro
Be-ing Nov 27, 2018
6f5dfd2
Add HidControllerJSProxy
ferranpujolcamins Nov 27, 2018
e8e25a4
Make Controller::send virtual
ferranpujolcamins Nov 27, 2018
70b16f7
Remove unused method of ControllerEngine
ferranpujolcamins Nov 27, 2018
a353c34
Centralise script evaluation handling
ferranpujolcamins Nov 29, 2018
06ad456
Merge branch 'master' into migrate-to-QJSEngine
ferranpujolcamins Nov 29, 2018
8da5220
Remove close button from script error dialog
ferranpujolcamins Nov 29, 2018
e804155
Fix the retry button of the script error dialog
ferranpujolcamins Nov 29, 2018
ad2e814
Fix typo in comment
Pegasus-RPG Nov 29, 2018
11c7508
Revert renaming of send(QByteArray) to sendByteArray
ferranpujolcamins Nov 29, 2018
ca59d2d
Fix method hiding warning in FakeController
ferranpujolcamins Nov 29, 2018
3053d2e
Fix connectionExecutesWithCorrectThisObject test
ferranpujolcamins Nov 29, 2018
fb54489
Check precondition of showScriptExceptionDialog(QJSValue)
ferranpujolcamins Nov 29, 2018
77d2372
Add warnings when m_pScriptEngine is null
ferranpujolcamins Nov 29, 2018
733e7b0
Revert "Add warnings when m_pScriptEngine is null"
ferranpujolcamins Nov 30, 2018
c0c3268
Rename evaluateProgram to evaluateCodeString
Nov 30, 2018
1170b0b
Add missing override
Nov 30, 2018
a003f1f
Delete ControllerEngine::isReady()
Nov 30, 2018
2cfa4bc
Merge pull request #5 from Be-ing/update_scripts_for_qjsengine
ferranpujolcamins Dec 1, 2018
0ab3fee
showScriptExceptionDialog inside evaluateCodeString
ferranpujolcamins Dec 1, 2018
907d9df
Rename internalExecute and remove execute methods
ferranpujolcamins Dec 1, 2018
17cb8eb
Remove internalExecute methods
ferranpujolcamins Dec 1, 2018
183eb08
Update comments
ferranpujolcamins Dec 1, 2018
70ed3c9
Fix log message
ferranpujolcamins Dec 1, 2018
e0295ad
Add script error dialog on executeFunction and ScriptConnection
ferranpujolcamins Dec 2, 2018
3337dfd
Remove controllerengineexceptions.h
ferranpujolcamins Dec 2, 2018
aa28540
Don't open new error dialogs when there's already one
ferranpujolcamins Dec 2, 2018
80263a9
Rename variable
ferranpujolcamins Dec 8, 2018
075664d
Evaluate timer callback strings on beginTimer
ferranpujolcamins Dec 8, 2018
bd2185a
Avoid recalculation of m_byteArrayToScriptValueJSFunction
ferranpujolcamins Dec 8, 2018
4fa82f7
Remove m_bPopups
ferranpujolcamins Dec 8, 2018
b57ef7b
Add missing function in header file
ferranpujolcamins Dec 8, 2018
49e01ed
Fix controller scripts
ferranpujolcamins Dec 8, 2018
2deded5
Merge branch 'master' into migrate-to-QJSEngine
ferranpujolcamins Dec 8, 2018
f2f04d2
Patch novation launchpad generated scripts
ferranpujolcamins Dec 8, 2018
90d6770
Add QtQml to linux appveyor config
ferranpujolcamins Dec 9, 2018
ecedd59
remove 'use strict' from Novation Launchpad scripts
Be-ing Dec 28, 2018
a4c198b
Components.js: remove dependency on Lodash
Be-ing Dec 28, 2018
c2ebe26
Merge remote-tracking branch 'upstream/master' into qjsengine_migration
Be-ing Dec 28, 2018
28497ba
remove controller scripts' dependency on Lodash
Be-ing Dec 28, 2018
fa6393b
remove Lodash
Be-ing Dec 28, 2018
99f9f36
Merge pull request #6 from Be-ing/qjsengine_migration
ferranpujolcamins Dec 28, 2018
619b1df
Throw QJSEngine exceptions on evaluation failure of callbacks
ferranpujolcamins Dec 19, 2018
4e1d544
Remove warning in ControllerEngine
ferranpujolcamins Dec 28, 2018
454d1ed
Improve ControllerEngine error messages
ferranpujolcamins Dec 28, 2018
6740331
make ControllerEngine throw an errorr on faulty makeConnection callback
ferranpujolcamins Dec 28, 2018
d3c5f65
make ControllerEngine throw an errorr on faulty makeConnection callback
ferranpujolcamins Dec 28, 2018
11f4be3
Fix build error in ControllerEngine
ferranpujolcamins Dec 28, 2018
ac6b3ba
Display controller name on ControllerEngine script error dialog
ferranpujolcamins Dec 28, 2018
8906c5d
Correct message on ControllerEngine script error dialog
ferranpujolcamins Dec 28, 2018
b845529
Improve ControllerEngine error message on callbacks
ferranpujolcamins Dec 29, 2018
191ce6f
use function pointers for Qt connections in ControllerEngine
Be-ing Dec 29, 2018
bb885fb
Merge pull request #7 from Be-ing/qjsengine_migration
ferranpujolcamins Dec 29, 2018
2d2bac7
Add alternative to QJSEngine::throwError for QT < 5.12.0
ferranpujolcamins Dec 30, 2018
9158b50
Check presets for compatibility with ControllerEngine version
ferranpujolcamins Dec 30, 2018
3a00f84
Correct engine version
ferranpujolcamins Dec 30, 2018
76f4b77
Revert "remove Lodash"
ferranpujolcamins Dec 31, 2018
e14c247
Revert "remove controller scripts' dependency on Lodash"
ferranpujolcamins Dec 31, 2018
996df30
Revert "Components.js: remove dependency on Lodash"
ferranpujolcamins Dec 31, 2018
8eeb00f
Merge branch 'master' into migrate-to-QJSEngine
ferranpujolcamins Dec 31, 2018
de53702
Add comment on ControllerEngine version
ferranpujolcamins Dec 31, 2018
c7dd4db
Disable apply and accept buttons when loading an incompatible mapping
ferranpujolcamins Jan 2, 2019
059e6a3
Merge branch 'master' into migrate-to-QJSEngine
ferranpujolcamins Jan 6, 2019
3ca5bfd
Disconnect DlgPreferences::changePage before deleting controller dele…
ferranpujolcamins Jan 6, 2019
c1d34f9
Replace Qt foreach macro with standard C++11 for loop
ferranpujolcamins Jan 6, 2019
299fcfd
Use new signals and slots syntax in DlgPrefControllers
ferranpujolcamins Jan 7, 2019
98ffee1
Hide unsupported mapping warning when controller is disabled
ferranpujolcamins Jan 7, 2019
9058f5f
Mixtrack Platinum: use Function.prototype.bind for QJSEngine
Be-ing Jan 7, 2019
718f971
Numark N4: use Function.prototype.bind for QJSEngine
Be-ing Jan 7, 2019
8bd4ad9
Pioneer DDJ-SB2: use Function.prototype.bind for QJSEngine
Be-ing Jan 7, 2019
72cd1ca
fix script validation tests failing with nonexistent COs
Be-ing Jan 7, 2019
a7a7bdb
Add FakeControllerJSProxy
Be-ing Jan 7, 2019
e5916c1
Merge branch 'master' into migrate-to-QJSEngine
ferranpujolcamins Jan 11, 2019
d5a980e
Fix beginTimer trying to evaluate the result of an evaluation
ferranpujolcamins Jan 11, 2019
e622a07
Merge branch 'master' into migrate-to-QJSEngine
ferranpujolcamins Jan 22, 2019
cc13e7c
Merge branch 'master' into migrate-to-QJSEngine
ferranpujolcamins Feb 17, 2019
60ac314
Merge branch 'master' into migrate-to-QJSEngine
ferranpujolcamins Feb 17, 2019
431c40a
Fix merge and simplify tests
ferranpujolcamins Feb 17, 2019
1df12b1
add bundles
dszakallas Feb 27, 2019
276f0dc
add sources
dszakallas Feb 27, 2019
f2610e3
Merge pull request #10 from dszakallas/upgrade-lp
ferranpujolcamins Mar 2, 2019
c86cc16
Merge branch 'master' into migrate-to-QJSEngine
ferranpujolcamins Jun 8, 2019
ab78036
Merge branch 'master' into migrate-to-QJSEngine
ferranpujolcamins Jun 8, 2019
db6aadc
Merge branch 'master' into migrate-to-QJSEngine
ferranpujolcamins Jun 21, 2019
e1a1b71
Merge branch 'master' into migrate-to-QJSEngine
ferranpujolcamins Jun 24, 2019
803d1cb
Remove mixco based controlelr scripts
ferranpujolcamins Jun 24, 2019
eb62363
Merge branch 'master' into migrate-to-QJSEngine
ferranpujolcamins Jun 27, 2019
2c4936a
Merge branch 'master' into migrate-to-QJSEngine
ferranpujolcamins Oct 23, 2019
0f50ff6
Format code
ferranpujolcamins Oct 23, 2019
a17bdf8
Merge branch 'master' into migrate-to-QJSEngine
ferranpujolcamins Jan 19, 2020
9cdf435
Merge branch 'master' into migrate-to-QJSEngine
ferranpujolcamins Jan 19, 2020
155f066
Merge branch 'master' into migrate-to-QJSEngine
Mar 27, 2020
cfc4142
Merge branch 'master' into migrate-to-QJSEngine
Mar 27, 2020
e122b79
controllers/bulk: Fix BulkController constructor
Holzhaus Apr 9, 2020
97d5623
Merge pull request #15 from Holzhaus/bulk-controller-fix
ferranpujolcamins Apr 12, 2020
381214a
Fix wrong file path in scons
ferranpujolcamins Apr 12, 2020
9b658d1
Merge branch 'master' of github.com:mixxxdj/mixxx into migrate-to-QJS…
Holzhaus Apr 9, 2020
863b59c
Merge branch 'migrate-to-QJSEngine' of https://github.com/ferranpujol…
Holzhaus Apr 18, 2020
e5984a6
Merge branch 'master' of github.com:mixxxdj/mixxx into migrate-to-QJS…
Holzhaus Apr 18, 2020
a99fd38
ColorMapper(JSProxy): port to QJSEngine/QJSValue API
Be-ing Apr 19, 2020
7949bc6
MidiControllerPreset/HidControllerPreset: add missing 'override's
Be-ing Apr 19, 2020
7e47924
Merge remote-tracking branch 'upstream/master' into migrate-to-QJSEngine
Be-ing Apr 19, 2020
b65729e
ControllerMapperJSProxyTest: remove tests we can't test anymore
Be-ing Apr 19, 2020
bfbed64
ControllerMapperJSProxy: prevent segfault with default constructor
Be-ing Apr 19, 2020
2aa0433
controllers: allow scripts to work without XML mappings
Be-ing Apr 19, 2020
2068ce6
MidiControllerTest: fix segfault
Be-ing Apr 19, 2020
5b6bea1
ColorMapperJSProxy: remove hack for string-indexed maps
Be-ing Apr 19, 2020
44f11ef
Merge remote-tracking branch 'upstream/master' into migrate-to-QJSEngine
Be-ing Apr 22, 2020
082908f
Merge remote-tracking branch 'upstream/master' into migrate-to-QJSEngine
Be-ing Apr 25, 2020
3970b4e
Revert "controllers: allow scripts to work without XML mappings"
Be-ing Apr 25, 2020
00feedc
Merge remote-tracking branch 'upstream/master' into migrate-to-QJSEngine
Be-ing May 7, 2020
4b297dd
Roland DJ 505: use Function.prototype.bind for QJSEngine
Be-ing May 7, 2020
cb3c6f0
Merge remote-tracking branch 'upstream/master' into migrate-to-QJSEngine
Be-ing May 12, 2020
1cbcaf7
Merge remote-tracking branch 'upstream/master' into migrate-to-QJSEngine
Be-ing May 19, 2020
e1896f8
Merge remote-tracking branch 'upstream/master' into migrate-to-QJSEngine
Be-ing May 20, 2020
3130882
controllers: assorted code cleanup
Be-ing May 22, 2020
4b43d25
ControllerEngine: assorted code cleanup
Be-ing May 22, 2020
ec1d9aa
remove "controller engine version" concept
Be-ing May 22, 2020
68b6330
move ScriptConnection & ScriptConnectionJSProxy to their own files
Be-ing May 22, 2020
98bc040
ControllerEngine: cleaup comments and code formatting
Be-ing May 22, 2020
18aaec7
ControllerEngine: reorganize method order
Be-ing May 22, 2020
1b777b6
disable JS JIT compilation for Qt >= 5.14.0 to work around Qt bug
Be-ing May 27, 2020
4af2051
Merge remote-tracking branch 'upstream/master' into migrate-to-QJSEngine
Be-ing May 27, 2020
214ae8e
fix SCons build
Be-ing May 20, 2020
ec51aff
Merge remote-tracking branch 'upstream/master' into migrate-to-QJSEngine
Be-ing May 27, 2020
ccbe088
DlgPrefController: break long line
Be-ing May 27, 2020
48952ad
disable QV4_FORCE_INTERPRETER for Qt 5.15.1
Be-ing May 28, 2020
ca1e353
Merge remote-tracking branch 'upstream/master' into migrate-to-QJSEngine
Be-ing May 28, 2020
469eda7
fix disconnection of ScriptConnectionJSProxy by connectControl
Be-ing May 28, 2020
91bc471
try to fix Hss1394Controller build
Be-ing May 28, 2020
ada0929
Merge remote-tracking branch 'upstream/master' into migrate-to-QJSEngine
Be-ing Jun 6, 2020
d596ded
ColorMapper: fixes from PR #2733
Be-ing Jun 6, 2020
6e96bdb
Components: fix HotcueButton color output
Be-ing Jun 13, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Merge remote-tracking branch 'upstream/master' into migrate-to-QJSEngine
  • Loading branch information
Be-ing committed Apr 25, 2020
commit 082908fe72eb4beae3da3a4215fe966edec6a27a
22 changes: 18 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -356,6 +356,7 @@ add_library(mixxx-lib STATIC EXCLUDE_FROM_ALL
src/library/baseplaylistfeature.cpp
src/library/basesqltablemodel.cpp
src/library/basetrackcache.cpp
src/library/basetracksetfeature.cpp
src/library/basetracktablemodel.cpp
src/library/bpmdelegate.cpp
src/library/browse/browsefeature.cpp
Expand Down Expand Up @@ -1248,8 +1249,11 @@ option(STATIC_DEPS "Link dependencies statically" OFF)
# Chromaprint
find_package(Chromaprint REQUIRED)
target_link_libraries(mixxx-lib PUBLIC Chromaprint::Chromaprint)
if(WIN32 AND STATIC_DEPS)
target_compile_definitions(mixxx-lib PUBLIC CHROMAPRINT_NODLL)
if(WIN32)
if(STATIC_DEPS)
target_compile_definitions(mixxx-lib PUBLIC CHROMAPRINT_NODLL)
endif()
# Rubberband is always built statically and needs fftw.
find_package(FFTW REQUIRED)
target_link_libraries(mixxx-lib PUBLIC FFTW::FFTW)
endif()
Expand Down Expand Up @@ -1511,6 +1515,12 @@ elseif(WIN32)
target_link_libraries(mixxx-lib PUBLIC "${QTLIBPNG_LIBRARY}")
find_library(QTPCRE2_LIBRARY qtpcre2)
target_link_libraries(mixxx-lib PUBLIC "${QTPCRE2_LIBRARY}")
else()
#libshout is always built statically
target_link_libraries(mixxx-lib PUBLIC
ws2_32 # libshout
gdi32 # libshout
)
endif()
endif()

Expand Down Expand Up @@ -1594,7 +1604,8 @@ if(SndFile_SUPPORTS_SET_COMPRESSION_LEVEL)
target_compile_definitions(mixxx-lib PUBLIC SFC_SUPPORTS_SET_COMPRESSION_LEVEL)
endif()

if(WIN32 AND STATIC_DEPS)
#libsndfile is always build statically, so we don't check for STATIC_DEPS
if(WIN32)
find_package(G72X REQUIRED)
target_link_libraries(mixxx-lib PUBLIC G72X::G72X)
endif()
Expand Down Expand Up @@ -1891,7 +1902,8 @@ if(OPUS)
target_compile_definitions(mixxx-lib PUBLIC __OPUS__)
target_include_directories(mixxx-lib SYSTEM PUBLIC ${Opus_INCLUDE_DIRS})
target_link_libraries(mixxx-lib PUBLIC ${Opus_LIBRARIES})
if(WIN32 AND STATIC_DEPS)
# Opus is always built statically so we don't check STATIC_DEPS
if(WIN32)
find_package(Celt)
if(NOT Celt_FOUND)
message(FATAL_ERROR "Opus support with static dependencies requires the celt library.")
Expand Down Expand Up @@ -2126,6 +2138,8 @@ if(NOT OPTIMIZE STREQUAL "off")
# Jenkins logs) Should we turn on PGO ?
# http://msdn.microsoft.com/en-us/library/xbf3tbeh.aspx
target_link_options(mixxx-lib PUBLIC "/LTCG:OFF")
elseif(CMAKE_BUILD_TYPE STREQUAL "Debug")
target_compile_options(mixxx-lib PUBLIC "/GL-")
else()
target_compile_options(mixxx-lib PUBLIC "/GL")
target_link_options(mixxx-lib PUBLIC "/LTCG:NOSTATUS")
Expand Down
15 changes: 9 additions & 6 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -150,20 +150,19 @@ for:
environment:
ENVIRONMENTS_URL: https://downloads.mixxx.org/builds/buildserver/2.3.x-windows/
ENVIRONMENTS_PATH: C:\mixxx-buildserver
ENVIRONMENT_NAME: 2.3-j00013-PLATFORM-CONFIGURATION-static-36f44bd2-minimal
QT_VERSION: 5.12.0
MSVC_PATH: "C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community"
PATH: 'C:\Python37-x64;C:\Python37-x64\Scripts;%PATH%'


install:
- set ENVIRONMENT_NAME=%%ENVIRONMENT_NAME:PLATFORM=%platform%%%
- set ENVIRONMENT_NAME=%%ENVIRONMENT_NAME:CONFIGURATION=%configuration%%%
- set /P ENVIRONMENT_NAME=<build/windows/golden_environment
- call set ENVIRONMENT_NAME=%%ENVIRONMENT_NAME:PLATFORM=%platform%%%
- call set ENVIRONMENT_NAME=%%ENVIRONMENT_NAME:CONFIGURATION=%configuration%%%
- set WINLIB_PATH=%ENVIRONMENTS_PATH%\%ENVIRONMENT_NAME%
- IF EXIST %WINLIB_PATH% (
echo Using cached environment %WINLIB_PATH%...
) else (
mkdir %ENVIRONMENTS_PATH% &&
mkdir %ENVIRONMENTS_PATH% &
echo Downloading environment %ENVIRONMENT_NAME%... &&
curl -fsS -L -o%ENVIRONMENTS_PATH%\%ENVIRONMENT_NAME%.zip %ENVIRONMENTS_URL%/%ENVIRONMENT_NAME%.zip &&
echo Unpacking environment %ENVIRONMENT_NAME% to %ENVIRONMENTS_PATH%... &&
Expand All @@ -173,8 +172,12 @@ for:
- python -m pip install git+https://github.com/frerich/clcache.git

before_build:
- FOR /D %%G IN (%WINLIB_PATH%\Qt-*) DO SET QT_PATH=%%G
- IF "%QT_PATH%" EQU "" (
echo QT not found on %WINLIB_PATH%
)
# Remove C:\Program Files\Git\usr\bin from the PATH
- set PATH=%PATH:C:\Program Files\Git\usr\bin;=%
- set QT_PATH=%WINLIB_PATH%\Qt-%QT_VERSION%
- set CMAKE_BUILD_PARALLEL_LEVEL=%NUMBER_OF_CORES%
- call "%MSVC_PATH%\VC\Auxiliary\Build\vcvarsall.bat" x64
- cd %APPVEYOR_BUILD_FOLDER%
Expand Down
14 changes: 9 additions & 5 deletions build/appveyor/build_mixxx.bat
Original file line number Diff line number Diff line change
Expand Up @@ -86,17 +86,21 @@ if "%4" == "skipinstaller" (
if "%5" == "skipinstaller" (
set PARAM_INSTALLER=
) else (
set PARAM_INSTALLER=makerelease
set PARAM_INSTALLER=makerelease
)
)
set WINLIB_DIR=%3

SET BIN_DIR=%WINLIB_DIR%\bin
SET LIB_DIR=%WINLIB_DIR%\lib
SET INCLUDE_DIR=%WINLIB_DIR%\include
REM TODO(rryan): Remove hard-coding of Qt version.
set QT_VERSION=5.12.0
SET QTDIR=%WINLIB_DIR%\Qt-%QT_VERSION%
FOR /D %%G IN (%WINLIB_DIR%\Qt-*) DO SET QTDIR=%%G
IF "!QTDIR!" EQU "" (
echo QT not found on %WINLIB_DIR%
exit /b 1
)



if NOT EXIST "%BIN_DIR%\scons.py" (
echo.
Expand Down Expand Up @@ -179,6 +183,6 @@ FOR /F %%G IN ('dir "%BUILDTOOLS_PATH%\Tools\MSVC\%PARAM_VCVARSVER%*" /b /ad-h /
set "LOCAL_64_CL=%BUILDTOOLS_PATH%\Tools\MSVC\%%G\bin\Hostx64\x64\cl.exe"
if EXIST "!LOCAL_64_CL!" (
EXIT /B 0
)
)
)
EXIT /B 1
1 change: 1 addition & 0 deletions build/depends.py
Original file line number Diff line number Diff line change
Expand Up @@ -1055,6 +1055,7 @@ def sources(self, build):
"src/library/autodj/autodjprocessor.cpp",
"src/library/dao/directorydao.cpp",
"src/library/mixxxlibraryfeature.cpp",
"src/library/basetracksetfeature.cpp",
"src/library/baseplaylistfeature.cpp",
"src/library/playlistfeature.cpp",
"src/library/setlogfeature.cpp",
Expand Down
32 changes: 16 additions & 16 deletions res/controllers/Roland_DJ-505-scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -1017,22 +1017,22 @@ DJ505.PadColor = {
};

DJ505.PadColorMap = new ColorMapper({
"#CC0000": DJ505.PadColor.RED,
"#CC4400": DJ505.PadColor.CORAL,
"#CC8800": DJ505.PadColor.ORANGE,
"#CCCC00": DJ505.PadColor.YELLOW,
"#88CC00": DJ505.PadColor.GREEN,
"#00CC00": DJ505.PadColor.APPLEGREEN,
"#00CC88": DJ505.PadColor.AQUAMARINE,
"#00CCCC": DJ505.PadColor.TURQUOISE,
"#0088CC": DJ505.PadColor.CELESTE,
"#0000CC": DJ505.PadColor.BLUE,
"#4400CC": DJ505.PadColor.AZURE,
"#8800CC": DJ505.PadColor.PURPLE,
"#CC00CC": DJ505.PadColor.MAGENTA,
"#CC0044": DJ505.PadColor.RED,
"#FFCCCC": DJ505.PadColor.APRICOT,
"#FFFFFF": DJ505.PadColor.WHITE,
0xCC0000: DJ505.PadColor.RED,
0xCC4400: DJ505.PadColor.CORAL,
0xCC8800: DJ505.PadColor.ORANGE,
0xCCCC00: DJ505.PadColor.YELLOW,
0x88CC00: DJ505.PadColor.GREEN,
0x00CC00: DJ505.PadColor.APPLEGREEN,
0x00CC88: DJ505.PadColor.AQUAMARINE,
0x00CCCC: DJ505.PadColor.TURQUOISE,
0x0088CC: DJ505.PadColor.CELESTE,
0x0000CC: DJ505.PadColor.BLUE,
0x4400CC: DJ505.PadColor.AZURE,
0x8800CC: DJ505.PadColor.PURPLE,
0xCC00CC: DJ505.PadColor.MAGENTA,
0xCC0044: DJ505.PadColor.RED,
0xFFCCCC: DJ505.PadColor.APRICOT,
0xFFFFFF: DJ505.PadColor.WHITE,
});

DJ505.PadSection = function(deck, offset) {
Expand Down
47 changes: 27 additions & 20 deletions src/dialog/dlgabout.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,32 +57,16 @@ DlgAbout::DlgAbout(QWidget* parent) : QDialog(parent), Ui::DlgAboutDlg() {
// New Contributors are added at the end.
QStringList recentContributors;
recentContributors
<< "Stefan N&uuml;rnberger"
<< "Tuukka Pasanen"
<< "Nino MP"
<< "Nico Schl&ouml;mer"
<< "Ferran Pujol Camins"
<< "Markus Kl&ouml;sges"
<< "Pavel Potocek"
<< "Joan Marc&egrave; i Igual"
<< "Timothy Rae"
<< "Leigh Scott"
<< "William Lemus"
<< "Josep Maria Antol&iacute;n Segura"
<< "Nimit Bhardwaj"
<< "Pavel Sokolov"
<< "Devananda van der Veen"
<< "Tatsuyuki Ishi"
<< "Kilian Feess"
<< "Conner Phillips"
<< "Daniel Poelzleithner"
<< "Artyom Lyan"
<< "Johan Lasperas"
<< "Olaf Hering"
<< "St&eacute;phane Lepin"
<< "Stefan Weber"
<< "Eduardo Acero"
<< "Kshitij Gupta"
<< "Thomas Jarosch"
<< "Matthew Nicholson"
<< "Jamie Gifford"
<< "luzpaz"
Expand All @@ -95,14 +79,21 @@ DlgAbout::DlgAbout(QWidget* parent) : QDialog(parent), Ui::DlgAboutDlg() {
<< "Nik Martin"
<< "Kerrick Staley"
<< "Raphael Graf"
<< "Nik Martin"
<< "YunQiang Su"
<< "Sebastian Hasler"
<< "Philip Gottschling"
<< "Melissa"
<< "Ned Haughton"
<< "Adam Szmigin"
<< "Cristiano Lacerda"
<< "Sergey Ukolov"
<< "Ketan Lambat"
<< "Evan Dekker"
<< "Edward Kigwana"
<< "Simon Harst";
<< "Simon Harst"
<< "Harshit Maurya"
<< "Janek Fischer";

QStringList specialThanks;
specialThanks
Expand Down Expand Up @@ -295,8 +286,24 @@ DlgAbout::DlgAbout(QWidget* parent) : QDialog(parent), Ui::DlgAboutDlg() {
<< "Jan Ypma"
<< "Andreas M&uuml;ller"
<< "Sam Cross"
<< "Joey Pabalinas";

<< "Joey Pabalinas"
<< "Stefan N&uuml;rnberger"
<< "Markus Kl&ouml;sges"
<< "Pavel Potocek"
<< "Timothy Rae"
<< "Leigh Scott"
<< "William Lemus"
<< "Nimit Bhardwaj"
<< "Pavel Sokolov"
<< "Devananda van der Veen"
<< "Tatsuyuki Ishi"
<< "Kilian Feess"
<< "Conner Phillips"
<< "Artyom Lyan"
<< "Johan Lasperas"
<< "Olaf Hering"
<< "Eduardo Acero"
<< "Thomas Jarosch";

QString sectionTemplate = QString(
"<p align=\"center\"><b>%1</b></p><p align=\"center\">%2</p>");
Expand Down
2 changes: 1 addition & 1 deletion src/library/analysislibrarytablemodel.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma once

#include "librarytablemodel.h"
#include "library/librarytablemodel.h"

class AnalysisLibraryTableModel : public LibraryTableModel
{
Expand Down
5 changes: 4 additions & 1 deletion src/library/autodj/autodjprocessor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -278,9 +278,12 @@ void AutoDJProcessor::fadeNow() {
double introStart = getIntroStartSecond(pToDeck);
double timeUntilOutroEnd = outroEnd - fromDeckCurrentSecond;

// IntroStart ends up being equal to introEnd when pToDeck is
// paused and its introEnd marker is not set. getIntroEndSecond returns
// introStart thus the two end up having equal values
if (toDeckCurrentSecond >= introStart &&
toDeckCurrentSecond <= introEnd &&
introEnd >= 0) {
introStart != introEnd) {
double timeUntilIntroEnd = introEnd - toDeckCurrentSecond;
// The fade must end by the outro end at the latest.
fadeTime = math_min(timeUntilIntroEnd, timeUntilOutroEnd);
Expand Down
Loading
You are viewing a condensed version of this merge commit. You can view the full changes here.