Skip to content

Commit

Permalink
Merge branch 'main' into Add-bpm-scaling-controls
Browse files Browse the repository at this point in the history
  • Loading branch information
mxmilkiib authored Apr 12, 2024
2 parents 8d64376 + bee7674 commit 5332212
Show file tree
Hide file tree
Showing 121 changed files with 5,367 additions and 894 deletions.
16 changes: 14 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,11 @@

### Controller Mappings

* Pioneer DDJ-FLX4 mapping improvements [#12842](https://github.com/mixxxdj/mixxx/pull/12842)
* Hercules Inpulse 200: Configure shift-browser knob to scroll the library (quick) [#12932](https://github.com/mixxxdj/mixxx/pull/12932)
* Pioneer DDJ-FLX4: Add waveform zoom and other mapping improvements
[#12896](https://github.com/mixxxdj/mixxx/pull/12896)
[#12842](https://github.com/mixxxdj/mixxx/pull/12842)
* Traktor Kontrol F1: Fixes for hid-parser and related script [#12876](https://github.com/mixxxdj/mixxx/pull/12876)
* Traktor S3: Fix mapping crash on macOS [#12840](https://github.com/mixxxdj/mixxx/pull/12840)

### Target Support
Expand All @@ -195,6 +199,14 @@
[#12853](https://github.com/mixxxdj/mixxx/pull/12853)
[#12847](https://github.com/mixxxdj/mixxx/pull/12847)
[#12822](https://github.com/mixxxdj/mixxx/pull/12822)
[#12892](https://github.com/mixxxdj/mixxx/pull/12892)

### Miscellaneous

* Remove unnecessary unpolish operation of the style, before polish the new style [#12445](https://github.com/mixxxdj/mixxx/pull/12445)
* Developer Tools: Initially sort controls by group name, ascending [#12884](https://github.com/mixxxdj/mixxx/pull/12884)
* History: Show track count and duration in sidebar [#12811](https://github.com/mixxxdj/mixxx/pull/12811)
* Prevent removing tracks from locked playlists [#12927](https://github.com/mixxxdj/mixxx/pull/12927)

## [2.4.0](https://github.com/mixxxdj/mixxx/milestone/15?closed=1) (2024-02-16)

Expand Down Expand Up @@ -691,7 +703,7 @@
[#11975](https://github.com/mixxxdj/mixxx/pull/11975)
[#11957](https://github.com/mixxxdj/mixxx/issues/11957)
* Fix 500ms blocking of the whole event loop, when holding mouse down on title bar on Windows [#12359](https://github.com/mixxxdj/mixxx/pull/12359) [#12358](https://github.com/mixxxdj/mixxx/issues/12358) [#12433](https://github.com/mixxxdj/mixxx/pull/12433) [#12458](https://github.com/mixxxdj/mixxx/pull/12458)
* change SKIN_WARNING to show the skin file:line first, then c++ context [#12253](https://github.com/mixxxdj/mixxx/pull/12253)
* Change SKIN_WARNING to show the skin file and line first, then c++ context [#12253](https://github.com/mixxxdj/mixxx/pull/12253)
* Fix style of selected QComboBox items on Windows [#12339](https://github.com/mixxxdj/mixxx/pull/12339) [#12323](https://github.com/mixxxdj/mixxx/issues/12323)
* Fix reading the Spinny cover on Windows [#12103](https://github.com/mixxxdj/mixxx/pull/12103) [#11131](https://github.com/mixxxdj/mixxx/issues/11131)
* Fix inconsistent/wrong musical keys in the UI [#12051](https://github.com/mixxxdj/mixxx/pull/12051) [#12044](https://github.com/mixxxdj/mixxx/issues/12044)
Expand Down
27 changes: 22 additions & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -731,10 +731,14 @@ add_library(mixxx-lib STATIC EXCLUDE_FROM_ALL
src/controllers/controllerlearningeventfilter.cpp
src/controllers/controllermanager.cpp
src/controllers/controllermappinginfo.cpp
src/controllers/legacycontrollersettings.cpp
src/controllers/legacycontrollersettingslayout.cpp
src/controllers/controllermappinginfoenumerator.cpp
src/controllers/controllermappingtablemodel.cpp
src/controllers/controlleroutputmappingtablemodel.cpp
src/controllers/controlpickermenu.cpp
src/controllers/legacycontrollermappingfilehandler.cpp
src/controllers/legacycontrollermapping.cpp
src/controllers/delegates/controldelegate.cpp
src/controllers/delegates/midibytedelegate.cpp
src/controllers/delegates/midichanneldelegate.cpp
Expand Down Expand Up @@ -1591,6 +1595,21 @@ if(APPLE)
target_compile_definitions(mixxx-lib PUBLIC __MACOS_ITUNES_LIBRARY__)
endif()
endif()

option(AU_EFFECTS "Audio Unit (AU) effects integration" ON)
if(AU_EFFECTS)
target_sources(mixxx-lib PRIVATE
src/effects/backends/audiounit/audiounitbackend.mm
src/effects/backends/audiounit/audiounitmanager.mm
src/effects/backends/audiounit/audiouniteffectprocessor.mm
src/effects/backends/audiounit/audiounitmanifest.mm
)
target_link_libraries(mixxx-lib PRIVATE
"-weak_framework AudioToolbox"
"-weak_framework AVFAudio"
)
target_compile_definitions(mixxx-lib PUBLIC __AU_EFFECTS__)
endif()
endif()

if(EMSCRIPTEN)
Expand Down Expand Up @@ -2070,6 +2089,8 @@ add_executable(mixxx-test
src/test/colorpalette_test.cpp
src/test/configobject_test.cpp
src/test/controller_mapping_validation_test.cpp
src/test/controller_mapping_settings_test.cpp
src/test/controllers/controller_columnid_regression_test.cpp
src/test/controllerscriptenginelegacy_test.cpp
src/test/controlobjecttest.cpp
src/test/controlobjectaliastest.cpp
Expand Down Expand Up @@ -3243,11 +3264,7 @@ target_link_libraries(mixxx-lib PRIVATE SoundTouch::SoundTouch)
# TagLib
find_package(TagLib 1.11 REQUIRED)
if (NOT TagLib_VERSION VERSION_LESS 2.0.0)
message(FATAL_ERROR "Installed Taglib ${TagLib_VERSION} is not supported. Use Version >= 1.11 and < 2.0 and its development headers.")
# Dear package maintainer: Do not patch away this fatal error
# using taglib 2.0.0 will put user data at risk!!
# Mixxx is a complex application that needs to be adapted and tested thoroughly
# https://github.com/mixxxdj/mixxx/issues/12708
message(WARNING "Installed Taglib ${TagLib_VERSION} is not supported and might lead to data loss (https://github.com/mixxxdj/mixxx/issues/12708). Use version >= 1.11 and < 2.0 instead.")
endif()
target_link_libraries(mixxx-lib PUBLIC TagLib::TagLib)
if (QML)
Expand Down
17 changes: 13 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ Have a bug or feature request? [File a bug on Github][fileabug].

Want to get involved in Mixxx development? Assign yourself a bug from the [easy
bug list][easybugs] and get started!
Read [CONTRIBUTING](CONTRIBUTING.md) for more information.

## Building Mixxx

Expand All @@ -36,10 +37,18 @@ source code and navigate to it:
$ git clone https://github.com/mixxxdj/mixxx.git
$ cd mixxx

Fetch the required dependencies and set up the build environment (on Windows,
macOS and Debian/Ubuntu, you can do that by running
`tools\windows_buildenv.bat`, `source tools/macos_buildenv.sh setup` or `source
tools/debian_buildenv.sh setup` respectively), then run:
Fetch the required dependencies and set up the build environment by running the
corresponding command for your operating system:

| OS | Command |
| -- | ------- |
| Windows | `tools\windows_buildenv.bat` |
| macOS | `source tools/macos_buildenv.sh setup` |
| Debian/Ubuntu | `tools/debian_buildenv.sh setup` |
| Fedora | `tools/rpm_buildenv.sh setup` |
| Other Linux distros | See the [wiki article](https://github.com/mixxxdj/mixxx/wiki/Compiling%20on%20Linux) |

To build Mixxx, run

$ mkdir build
$ cd build
Expand Down
4 changes: 2 additions & 2 deletions res/controllers/Behringer-Extension-scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -239,12 +239,12 @@
isEnabled: function() { return this.id !== 0; },
start: function() {
this.reset();
this.id = engine.beginTimer(this.timeout, () => {
this.id = engine.beginTimer(this.timeout, function() {
if (this.oneShot) {
this.disable();
}
this.action.call(this.owner);
}, this.oneShot);
}.bind(this), this.oneShot); // .bind(this) is required instead of arrow function for Qt < 6.2.4 due to QTBUG-95677
},
reset: function() {
if (this.isEnabled()) {
Expand Down
Loading

0 comments on commit 5332212

Please sign in to comment.