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

Components es6 apply code review fix suggestions #56

Closed
wants to merge 1,783 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1783 commits
Select commit Hold shift + click to select a range
64944d3
Merge pull request #4426 from daschuer/effects_refactoring_loaded_effect
Be-ing Oct 18, 2021
9e8209a
EffectChain: name ControlObjects consistently with chain_preset
Be-ing Oct 18, 2021
ace3166
EffectChain: make setting chain_preset_selector to 0 a no-op
Be-ing Oct 18, 2021
6367bf2
Merge pull request #4457 from Be-ing/chain_preset_selector_0
daschuer Oct 18, 2021
712e8ad
WTrackMenu: Extract hide/remove key sequence to a constant
ninomp Oct 19, 2021
242e631
Switch to automatic datatype: std::vector
tcoyvwac Sep 30, 2021
0925269
Merge pull request #4456 from Be-ing/chain_preset_co
Be-ing Oct 19, 2021
b2aeb08
WTrackTableView: Use separate i18n string for each track removal message
ninomp Oct 19, 2021
5a80cc8
WTrackTableView: Use curly braces for single-statement ifs
ninomp Oct 19, 2021
172decc
WTrackTableView: Deduplicate local variable declaration
ninomp Oct 19, 2021
914b14c
GH Actions: lower compiler cache size to 0.5 GB
Be-ing Oct 17, 2021
b077d80
Merge pull request #4452 from Be-ing/cache_size
Holzhaus Oct 19, 2021
d8535a2
Rename variables of type EnigineParameter to engineParameters
daschuer Oct 19, 2021
1f3a4f9
Initialize sampleRate
daschuer Oct 19, 2021
00dad56
Added missing virtual destructor in EffectRequestHandler
daschuer Oct 19, 2021
e817b69
Merge pull request #4459 from daschuer/effects_refactoring_enginePara…
Holzhaus Oct 19, 2021
070a475
Merge pull request #4341 from tcoyvwac/fix/remove-raw-pointer-types
uklotzde Oct 19, 2021
2f32842
librarycontrol: allow to focus the library widget directly...
ronso0 Oct 8, 2021
94f324b
library: add CO to read and set the currently focused library widget
ronso0 Oct 14, 2021
768cb9e
WTrackMenu: Use auto instead of QKeySequence
ninomp Oct 19, 2021
c511446
WTrackTableView: Make hide/remove confirmation messages consistent
ninomp Oct 19, 2021
45e8068
Merge pull request #4369 from ronso0/focus-library-directly
Holzhaus Oct 19, 2021
9b1bd42
Improve Text for saving a effect chain as a preset
daschuer Oct 19, 2021
452a803
Merge branch '2.3' of github.com:mixxxdj/mixxx into updateaudible
ywwg Oct 20, 2021
fb999ac
Update Audible: Better location for call
ywwg Oct 20, 2021
300c160
AnalyzerBeats: Fix wrong log message about detected BPM
Holzhaus Oct 20, 2021
9638b4f
Beats: Fix wrong comment stating that getBpmInRage returns average BPM
Holzhaus Oct 20, 2021
8decc52
Beats: Clarify that getBpmAroundPosition returns the arithmetic average
Holzhaus Oct 20, 2021
afc940c
Initalize RampedSample::currentValue
daschuer Oct 20, 2021
4ffe76c
Beats: Add new unified beats implementation
Holzhaus Aug 31, 2021
b813753
Beats: Implement methods to create object from const tempo or beat ve…
Holzhaus Sep 4, 2021
a2c8c1b
Beats: Implement BPM scaling
Holzhaus Sep 9, 2021
00e80d5
Beats: Use new beats implementation for beatgrids
Holzhaus Sep 1, 2021
466b425
Beats: Remove old BeatMap/BeatGrid classes
Holzhaus Sep 9, 2021
4e9ffdc
BeatMapTest: Fix broken TestNthBeat test
Holzhaus Sep 9, 2021
9dbe081
Beats: Merge new beats implementation into abstract Beats class
Holzhaus Oct 10, 2021
1a66fee
Beats: Add methods to access underlying data structures as tests
Holzhaus Oct 11, 2021
766f4f5
BeatMapTest: Fix number of beats in scale test
Holzhaus Oct 11, 2021
a1b9b43
Beats: Fix Serato BeatGrid import
Holzhaus Oct 12, 2021
e4f4460
BeatsTest: Add more tests for `getBpm` methods
Holzhaus Oct 13, 2021
9cac181
BeatMapTest: Remove TestBpmAround due to rounding issues
Holzhaus Oct 13, 2021
e575f27
Beats: Skip additional marker insertion if beats are beatgrid-compatible
Holzhaus Oct 19, 2021
b74f015
Merge pull request #4361 from Holzhaus/getbpminrange
daschuer Oct 20, 2021
11fcfcd
Merge pull request #4330 from ninomp/del-key-to-remove-tracks
uklotzde Oct 20, 2021
6554e66
Search: fix popup highlight
ronso0 Oct 18, 2021
ac0c5da
Search: Del or Backspace in popup deletes query
ronso0 Oct 18, 2021
d5f0398
Search: add ControlPushButton to remove selected query
ronso0 Oct 18, 2021
40f33d6
Search: add isEnabled() tests
ronso0 Oct 18, 2021
d3f24fa
Search: save queries across restarts and when switching skins
ronso0 Oct 18, 2021
c3f328e
Search: don't store duplicates in slotSaveSearch()
ronso0 Oct 19, 2021
c5be3f3
Search: also save search on focus out
ronso0 Oct 20, 2021
a93b621
Search: don't update empty combobox when removing list items
ronso0 Oct 20, 2021
b96d24b
Merge pull request #4462 from daschuer/effects_refactoring_1
Be-ing Oct 21, 2021
625cebd
add supported file types for Engine DJ (#4463)
toszlanyi Oct 21, 2021
7089250
Beats: Don't return arithmetic average from getBpmInRange()
Holzhaus Oct 21, 2021
b8a5f94
Merge pull request #4466 from daschuer/effects_refactoring_4
Be-ing Oct 21, 2021
7845142
Merge remote-tracking branch 'upstream/main' into effects_refactoring
daschuer Oct 21, 2021
e918be0
effects preferences: fix update()
ronso0 Oct 22, 2021
0a8e7fb
effects prefs: use '---' instead of 'None' to spot empty slots easier
ronso0 Oct 22, 2021
4757242
Merge pull request #4469 from ronso0/effects-pref-none
Be-ing Oct 22, 2021
d09fd60
effects preferences: allow only single selection in each tab
ronso0 Oct 22, 2021
82ebe77
fix setting of effect parameters programatically
Be-ing Oct 22, 2021
f6ef330
Merge pull request #4468 from ronso0/effects-pref-fixes
Be-ing Oct 22, 2021
cb92f03
EffectChain: fix aliasing to nonexistent ControlObject
Be-ing Oct 22, 2021
cfaeec9
Merge pull request #4472 from Be-ing/wrong_alias
Swiftb0y Oct 22, 2021
d59011f
DlgPrefEffects: fix preset removed from list when canceling delete
Be-ing Oct 22, 2021
3a5fac3
Merge pull request #4470 from Be-ing/preset_delete
Swiftb0y Oct 22, 2021
7f55425
ControlDoublePrivate: change warnings to debug assertions
Be-ing Oct 22, 2021
c3f913a
Merge pull request #4366 from daschuer/fuzzy_beats
ywwg Oct 23, 2021
f2b1192
Merge pull request #4473 from Be-ing/alias_debug_assert
daschuer Oct 23, 2021
1fa010f
Sync Lock: make sure to reinit leader params after scratching ends
ywwg Oct 23, 2021
b181060
Sync Lock: Have bpmcontrol override notifySeek
ywwg Oct 23, 2021
146fcb3
Disconnect connections from controllers when deleting controller prefs
ywwg Oct 23, 2021
2c800c3
Controller disconnect: be more restrictive about what we disconnect
ywwg Oct 23, 2021
7b595c0
controller disconnect: store an explicit list of connections
ywwg Oct 23, 2021
095de26
TrackDAO: Load a single track by URL
uklotzde Oct 23, 2021
55d2461
Merge pull request #4475 from uklotzde/track-by-url
Be-ing Oct 23, 2021
1a77559
TrackModel: Delete unused member functions
uklotzde Oct 23, 2021
6f91401
TrackModel: Add getTrackUrl()
uklotzde Oct 23, 2021
3b62816
TrackModel: Replace getTrackLocation() with getTrackUrl()
uklotzde Oct 23, 2021
181988d
Merge pull request #4477 from uklotzde/trackmodel-url
Be-ing Oct 24, 2021
30c3a76
TrackAnalysisScheduler: Delete unused function
uklotzde Oct 23, 2021
9dd4ab7
AnalyzerWaveform: Delete obsolete include directive
uklotzde Oct 23, 2021
d843bf4
TrackAnalysisScheduler: Remove dependency on Library
uklotzde Oct 24, 2021
bf107a7
Merge pull request #4478 from uklotzde/trackanalysisscheduler
Be-ing Oct 24, 2021
36adc58
Qt6: Re-enable Waveform and WaveformFactory classes
uklotzde Oct 24, 2021
3a2cabc
Sync Lock: Make sure to update the leader beat distance after a seek
ywwg Oct 24, 2021
6e04d58
Merge pull request #4479 from uklotzde/qt6-waveform
Be-ing Oct 24, 2021
81b087d
TrackAnalysisScheduler: Remove dependency on TrackDAO
uklotzde Oct 24, 2021
2271ec0
Merge pull request #4480 from uklotzde/trackanalysisscheduler
Be-ing Oct 24, 2021
3d50240
Finalize implementing class and methods
uklotzde Oct 24, 2021
f95e049
Add TODO for possible replacement of a plain pointer
uklotzde Oct 24, 2021
30bdf83
Merge pull request #4471 from Be-ing/main_eq
daschuer Oct 24, 2021
ac01e5b
Initalize WEffectCahinPresetButton::m_iChainNumber
daschuer Oct 24, 2021
c99b8ba
Improve description why we don't want to rebased PRs (#4464)
daschuer Oct 24, 2021
22d2d78
Improve code style in dlgprefeq.cpp
daschuer Oct 24, 2021
362236f
rename kEffectForGroupPrefix
daschuer Oct 24, 2021
a194d49
Make use of QStringLiteral in dlgprefeq.cpp
daschuer Oct 24, 2021
4973180
Added missing null check in loadChainPreset()
daschuer Oct 24, 2021
351d9c8
Clear effect chain when trying to load one that no longer exists
daschuer Oct 24, 2021
e7b5f07
rename kConfigGroup
daschuer Oct 24, 2021
8f1925a
Merge pull request #4483 from daschuer/effects_refactoring_lp1948606
Be-ing Oct 25, 2021
5e2bbb2
Merge pull request #4482 from daschuer/effects_refactoring_6
uklotzde Oct 25, 2021
925c68c
Merge pull request #4481 from uklotzde/trackanalysisscheduler
Swiftb0y Oct 25, 2021
ab40243
controller disconnect: use the list of controllers to determine what …
ywwg Oct 25, 2021
bf92f0d
Merge branch 'main' of github.com:mixxxdj/mixxx into newbeats
Holzhaus Oct 25, 2021
2a41dff
Rename presetNameChanged() to chainPresetChanged(), because not only …
daschuer Oct 25, 2021
b65dc20
Added new signal EffectChainPresetManager::effectChainPresetRenamed a…
daschuer Oct 25, 2021
6ca87fe
Merge pull request #4005 from ywwg/synclock-06-scratch-phase
daschuer Oct 25, 2021
cb2a2c8
Merge pull request #4255 from Holzhaus/newbeats
daschuer Oct 25, 2021
6d7bcc1
Merge pull request #4484 from daschuer/effects_refactoring_lp1948567
Be-ing Oct 26, 2021
5158e62
Merge pull request #4467 from mixxxdj/effects_refactoring
Be-ing Oct 26, 2021
bfb8a86
Beats: Remove leftover qWarning() from debugging
Holzhaus Oct 26, 2021
98ed207
Beats: Remove legacy BeatIterator class in favor of std::iterator
Holzhaus Oct 13, 2021
72e2969
Merge pull request #4488 from Holzhaus/newbeats-leftover-warning
Swiftb0y Oct 26, 2021
eb937bb
controller disconnect : Make sure to associate the connection with th…
ywwg Oct 26, 2021
9480561
Beats: Add comments for iterator methods (cbegin/cend/cearliest/clatest)
Holzhaus Oct 26, 2021
3189515
Merge remote-tracking branch 'mixxx/main' into lib-selection-state
ronso0 Oct 26, 2021
40966a5
DlgAutoDJ: use setFocus() instead of keypress emulation
ronso0 Oct 26, 2021
198278c
Reintroduce the Quick effect selectors in the EQ preferences
daschuer Oct 27, 2021
44cfd28
Merge pull request #4490 from ronso0/autodj-setfocus
daschuer Oct 28, 2021
2192a41
Merge branch 'main' into lib-selection-state
ronso0 Oct 28, 2021
66be9a8
Merge pull request #4458 from ronso0/search-delete-saved-queries
daschuer Oct 29, 2021
96d979f
Merge pull request #4363 from ywwg/updateaudible
daschuer Oct 29, 2021
c09332b
Merge pull request #4411 from Holzhaus/newbeats-iterator
daschuer Oct 29, 2021
b87316e
Merge pull request #4486 from daschuer/effects_refactoring_lp1948537
ronso0 Oct 30, 2021
4ec46c6
midi-components-0.0.js: Pot support for arbitrary maximums in 7-/14-b…
Swiftb0y Oct 30, 2021
acfcdce
Revert "midi-components-0.0.js: Pot support for arbitrary maximums in…
Swiftb0y Oct 30, 2021
769ba03
.pre-commit-config.yaml: disallow commiting to version branches
Swiftb0y Oct 30, 2021
5577f36
Merge pull request #4494 from Swiftb0y/pre-commit-disallow-committing…
daschuer Oct 31, 2021
1e7e544
Add environment var CMAKE_PREFIX_PATH back in so a valid json file is…
qgazq Nov 1, 2021
930cb32
chan tab to a space to match
qgazq Nov 1, 2021
f54c6c6
Add quotes to match
qgazq Nov 1, 2021
fd1c944
Merge branch '2.3'
ywwg Nov 1, 2021
728255c
Beats: Rename cbegin/cend to cfirstmarker/clastmarker
Holzhaus Nov 2, 2021
c540be7
Beats: Let clastmarker() point to the marker, not the beat behind it
Holzhaus Nov 2, 2021
92b34f7
Beats: Rename cearliest/clatest to cbegin/cend
Holzhaus Nov 2, 2021
54c7486
Browse model: inline clearPath()
ronso0 Nov 2, 2021
3ac1a24
Merge pull request #4498 from Holzhaus/beats-cbegin-cend
daschuer Nov 3, 2021
ab26f76
Beats: Round positions to lower frame boundary on translate
Holzhaus Nov 3, 2021
c1d9301
library models: move modelKey prefixes to namespaces
ronso0 Nov 2, 2021
7bc610f
libraryvie.h: satisfy clang-format
ronso0 Nov 4, 2021
d55011f
Merge pull request #4497 from qgazq/main
Holzhaus Nov 5, 2021
9e90da7
Beats: Remove leftover qWarning from debugging
Holzhaus Nov 5, 2021
e9da247
Merge pull request #4476 from ywwg/disconnect-controllers
Holzhaus Nov 5, 2021
5738739
Merge pull request #4500 from Holzhaus/newbeats-qwarning
Be-ing Nov 5, 2021
38a33c7
Effect chain selector: allow individual text alignment
ronso0 Oct 31, 2021
2759522
Effect chain selector: individual elide for button & popup text
ronso0 Oct 31, 2021
1b5ca65
Effect chain selector: pass focus to library after selecting effect
ronso0 Nov 6, 2021
53cce66
Effect selector: elide item texts depending on popup width
ronso0 Oct 31, 2021
7806776
skins: add default effect menu styles
ronso0 Nov 4, 2021
4f21f6d
LateNight: add Quick Effect selector
ronso0 Nov 4, 2021
50615a4
Pref > Library: add tabstop for Serato Metadata
ronso0 Nov 6, 2021
86925d3
Pref > Library: fix reset/default search debounce timeout + update
ronso0 Nov 6, 2021
83f2342
Merge pull request #4501 from ronso0/fxrfct-chain-selector
daschuer Nov 7, 2021
5e7f80b
Merge pull request #4502 from ronso0/fxrfct-latenight
daschuer Nov 7, 2021
0cc3a1e
Merge pull request #4504 from ronso0/pref-lib-tab-order
ronso0 Nov 7, 2021
b8f9c88
LegacySkin: Add missing include for QRegularExpression
Holzhaus Nov 7, 2021
e16a342
Merge pull request #4506 from Holzhaus/legacyskin-qregularexpression-…
Be-ing Nov 7, 2021
9209ada
double click to reset knobs and sliders
ywwg May 20, 2021
441181a
Merge pull request #4509 from ronso0/knob-reset-double-click
daschuer Nov 8, 2021
3f596c7
Beats: Improve position variable name in `tryTranslate`
Holzhaus Nov 9, 2021
21dacd6
Merge pull request #4499 from Holzhaus/newbeats-translate-assert
daschuer Nov 10, 2021
b2c57a9
.eslintrc.json: adjust eslint rules to enforce readable chain syntax
Swiftb0y Nov 10, 2021
44accaf
Merge pull request #4512 from Swiftb0y/eslint-chained-method-calls
Holzhaus Nov 10, 2021
bfd6858
Adjust the download directory and name of external dependencies
uklotzde Nov 10, 2021
787a536
Adjust the download directory and name of external dependencies
uklotzde Nov 10, 2021
af78c34
Beats: Use "last marker" term instead of "end marker"
Holzhaus Nov 9, 2021
741c8e3
Beats: Add some comments
Holzhaus Nov 10, 2021
f981c8e
Merge pull request #4510 from Holzhaus/newbeats-lastmarker
ywwg Nov 11, 2021
675f68c
Search: Ctrl+F in focused search box selects the entire search string
ronso0 Nov 11, 2021
bc0941d
Merge pull request #4514 from uklotzde/cmake-external-downloads-libdj…
Be-ing Nov 12, 2021
9e1bee3
Update libkeyfinder versions
uklotzde Nov 12, 2021
abbfb22
Merge pull request #4511 from uklotzde/cmake-external-downloads
Be-ing Nov 12, 2021
2725177
Roland DJ-505: Use let/const instead of var
Holzhaus Nov 13, 2021
7a930af
LateNight: fixup width of Quick Effect popup
ronso0 Nov 13, 2021
eec8c59
Merge pull request #4515 from ronso0/search-ctrl-f
ywwg Nov 13, 2021
bfd5b1d
Merge remote-tracking branch 'upstream/2.3'
Be-ing Nov 13, 2021
b03b362
Merge pull request #4518 from ronso0/late-quickeffect-popup-width
Be-ing Nov 13, 2021
9b39907
Update res/controllers/Roland_DJ-505-scripts.js
Holzhaus Nov 13, 2021
1b079da
Merge pull request #4328 from fellock/2.3
Be-ing Nov 13, 2021
dea9f71
Merge pull request #4517 from Holzhaus/roland-dj-505-var-const
Swiftb0y Nov 13, 2021
f92d287
Merge remote-tracking branch 'mixxx/main' into remove-from-disk
ronso0 Nov 14, 2021
d84c8a3
create QDialogs on the stack
ronso0 Nov 14, 2021
3a06d9c
refine comment in RemoveTrackFilesFromDiskTrackPointerOperation
ronso0 Nov 14, 2021
8a2130f
instantiate dialog ingredients just before they're needed
ronso0 Nov 14, 2021
90094d0
Use info not warning for skin COs
poelzi Nov 19, 2020
bef04ac
Merge pull request #4525 from ronso0/skin-control-info
daschuer Nov 16, 2021
a602dba
common-controller-scripts.js: Make engine.log use console.log internally
Holzhaus Nov 16, 2021
6d3b4c5
Hercules DJ Console 4 Mx: use console.log instead of engine.log
Be-ing Aug 22, 2021
5d3595c
This reverts a comment with a wrong assumption
daschuer Nov 16, 2021
9c4210b
Merge pull request #4527 from daschuer/commentRevert
Holzhaus Nov 16, 2021
259b635
Merge pull request #4524 from Holzhaus/controller-console-log
Swiftb0y Nov 16, 2021
8fa367b
Controller: make m_sDeviceName const
Be-ing Aug 21, 2021
81b02f6
replace --controller-debug CLI argument with Qt logging categories
Be-ing Aug 22, 2021
be1cd0f
HSS1394/PortMidiController: remove superfluous QString formatting
Be-ing Aug 23, 2021
6298841
MidiOutputHandler: correct comment
Be-ing Aug 24, 2021
ed7fb50
ControllerDebug: Remove singleton in favor of categorized logging
Holzhaus Nov 15, 2021
03ebbf9
Logging: Filter all debug messages from the controller category
Holzhaus Nov 16, 2021
81e5fe3
Logging: Improve documentation for special --controller-debug logging
Holzhaus Nov 17, 2021
aa9c7e8
PortMidiController: Check for outputDeviceInfo nullptr in constructor
Holzhaus Nov 17, 2021
dfef281
Merge pull request #4523 from Holzhaus/logging-controller-debug
daschuer Nov 17, 2021
7e450c6
HidController: return QByteArrays for get[Input/Feature]Report
Be-ing Nov 14, 2021
c3e9479
HidController: take QByteArray for sendFeatureReport
Be-ing Nov 18, 2021
2bdf17c
HidController: avoid extra copy of data
Be-ing Nov 18, 2021
abf04a0
WEffectChainPresetSelector: don't set elide padding in c++
ronso0 Nov 20, 2021
a7a6a08
Merge pull request #4177 from ronso0/lib-selection-state
daschuer Nov 20, 2021
81cbc21
Merge pull request #4532 from ronso0/fxpresetselector-elide
Be-ing Nov 20, 2021
d25897e
rename maybeStartOrStopPolling to pollIfAnyControllersOpen
Be-ing Feb 18, 2021
96c6ef6
CMake: remove obsolete references to files generated by scons
Be-ing Jan 11, 2021
c99d3c4
Add missing const qualifiers to isDirty()
uklotzde Nov 20, 2021
04210b9
TrackDAO: Fix semantics of marking a track clean after update
uklotzde Nov 20, 2021
c175027
Merge pull request #3550 from Be-ing/remove_scons_cpack
daschuer Nov 20, 2021
4cdc52b
Merge pull request #1966 from Be-ing/audio_engine_cleanup
rryan Nov 21, 2021
0801b7c
ChannelMixer: Use range-based for loops
uklotzde Nov 21, 2021
7e1f609
Merge pull request #4535 from uklotzde/audio_engine_cleanup
Be-ing Nov 21, 2021
b3bf167
Merge pull request #4534 from uklotzde/is-dirty-const
Holzhaus Nov 21, 2021
3e2c90d
Merge pull request #4533 from Be-ing/rename_maybe
uklotzde Nov 22, 2021
886aa4f
gitignore: change /build to /build*
Be-ing Nov 22, 2021
5de8c5c
Merge pull request #4537 from Be-ing/gitignore-build
daschuer Nov 22, 2021
bbb0469
remove unused includes QDesktop/QStandardPaths
ronso0 Nov 23, 2021
9187e38
remove files from disk: de-duplicate file list
ronso0 Nov 23, 2021
f1b20af
remove files from disk: fix comment typo
ronso0 Nov 23, 2021
e9b70a6
remove files from disk: replace length() > 0 with isEmpty()
ronso0 Nov 23, 2021
ed79726
WTrackTableView: use QModelIndexList::isEmpty(), return early
ronso0 Nov 23, 2021
ab31361
const ref purge/keep track lists, more const
ronso0 Nov 23, 2021
809e4bb
Merge pull request #3212 from ronso0/remove-from-disk
uklotzde Nov 23, 2021
e590711
Update Benchmark library to v1.6.0
uklotzde Nov 23, 2021
6b015fb
WTrackMenu: Add missing feature to all features enum variant
uklotzde Nov 23, 2021
365d0a1
Merge pull request #4541 from uklotzde/UpdateReplayGain
Holzhaus Nov 24, 2021
c78fdf1
Merge pull request #4540 from uklotzde/benchmark-v1.6.0
Holzhaus Nov 24, 2021
0347143
Merge branch '2.3' of git@github.com:mixxxdj/mixxx.git
uklotzde Nov 25, 2021
576e2cf
WTrackMenu::featureIsEnabled(): Fix unhandled case
uklotzde Nov 25, 2021
1fb9645
Merge pull request #4543 from uklotzde/WTrackMenu_featureIsEnabled
daschuer Nov 26, 2021
b570bf5
keep inapplicable sound config until new config is accepted
ronso0 Nov 26, 2021
bbb70de
Merge pull request #4544 from ronso0/sound-config-error
daschuer Nov 27, 2021
e9681f2
Merge remote-tracking branch 'mixxx/2.3' into main
ronso0 Nov 28, 2021
6d8d95f
Define CFBundleName in macOS bundle
fwcd Nov 28, 2021
7763476
Merge pull request #4546 from fwcd/cfbundlename
Holzhaus Nov 28, 2021
1209b46
Merge pull request #4521 from Be-ing/hid_getInputReport_bytearray
Swiftb0y Nov 28, 2021
fb58995
Add Big Sur-style rounded rectangle icon for macOS
fwcd Nov 28, 2021
576ce05
Merge pull request #4545 from fwcd/macos-bigsur-icon
ronso0 Nov 29, 2021
c0679a2
Minimixxx controller config (#4350)
ywwg Nov 29, 2021
ae4b7e5
Merge pull request #4542 from ronso0/include-cleanup-desktop.stadartp…
Holzhaus Dec 5, 2021
0504c79
Components: rewrite with ES6 classes in version 0.1
Be-ing Aug 1, 2021
6550016
midi-components-0.1: "use-strict" for library
Swiftb0y Aug 5, 2021
7204728
midi-components-0.1: improve Button.types API (breaking)
Swiftb0y Aug 5, 2021
fa00f31
midi-components-0.1: use arrow func where possible
Swiftb0y Aug 5, 2021
762775b
midi-components-0.1: simplify Component.trigger() & .disconnect()
Swiftb0y Aug 5, 2021
bb47432
midi-components-0.1: reorder comparision with constants to be consistent
Swiftb0y Aug 5, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .codespellignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ Crate
crate
InOut
copyable
sord
18 changes: 15 additions & 3 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,44 +13,56 @@
"brace-style": ["warn", "1tbs", {
"allowSingleLine": true
}],
"curly": "warn",
"camelcase": "warn",
"comma-spacing": "warn",
"computed-property-spacing" : ["warn", "never", {
"enforceForClassMembers": true
}],
"dot-location": "warn",
"dot-location": ["warn", "property"],
"dot-notation": "warn",
"eqeqeq": ["error", "always"],
"func-call-spacing": "warn",
"func-style": ["error", "expression", {
"allowArrowFunctions": true
}],
"indent": ["warn", 4],
"key-spacing": "warn",
"keyword-spacing": "warn",
"linebreak-style": ["warn", "unix"],
"newline-per-chained-call": "warn",
"no-constructor-return": "warn",
"no-extra-bind": "warn",
"no-sequences": "warn",
"no-useless-call": "warn",
"no-useless-return": "warn",
"no-trailing-spaces": "warn",
"no-unneeded-ternary": ["warn", {
"defaultAssignment": false
}],
"no-unused-vars": ["error", {
"argsIgnorePattern": "^_"
}],
"no-var": "warn",
"object-curly-newline" : ["warn", {
"consistent": true,
"multiline": true
}],
"object-curly-spacing" : "warn",
"prefer-const": "warn",
"prefer-regex-literals": "warn",
"quotes": ["warn", "double"],
"require-atomic-updates": "error",
"semi": "warn",
"semi-spacing": "warn",
"space-before-blocks": ["warn", "always"],
"space-before-function-paren": ["warn", "never"],
"space-in-parens": "warn"
"space-in-parens": "warn",
"yoda": "warn"
},
"globals": {
"console": "writable",
"svg": "writable",
"print": "readonly",
"HIDController": "writable",
"HIDDebug": "writable",
"HIDPacket": "writable",
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/build-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ jobs:
working-directory: build
- name: "Upload Coverage Report to coveralls.io"
if: matrix.name == 'coverage'
continue-on-error: true
uses: coverallsapp/github-action@master
with:
flag-name: ubuntu-20.04
Expand Down
77 changes: 45 additions & 32 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
qt_qpa_platform: offscreen
- name: Windows 2019 (MSVC)
os: windows-2019
# TODO: Reenable FFmpeg after licensing issues have been clarified
# TODO: Re-enable FFmpeg after licensing issues have been clarified
# Attention: If you change the cmake_args for the Windows CI build,
# also adjust the for the local Windows build setup in
# ./tools/windows_buildenv.bat
Expand Down Expand Up @@ -94,35 +94,6 @@ jobs:
artifact-windows-win64: ${{ steps.prepare_deploy.outputs.artifact-windows-win64 }}
steps:

- name: "[Windows] Install rsync and openssh"
if: runner.os == 'Windows'
run: |
$Env:PATH="c:\msys64\usr\bin;$Env:PATH"
pacman -S --noconfirm coreutils bash rsync openssh
# Unfortunately, mixing executables from msys64 and mingw (i.e. Git
# Bash) does not work properly and leads to errors like these:
#
# 0 [main] python3 (5248) C:\msys64\usr\bin\python3.exe: *** fatal error - cygheap base mismatch detected - 0x180347408/0x180352408.
#
# Even when prepending the MSYS2 binary directory to %PATH%, GitHub
# Actions will still pick the Git Bash executable over the MSYS2 one
# when using `shell: bash`. Since it's not feasible to set `shell` to
# an absolute path in a cross-platform build workflow, we overwrite the
# git bash executable with the MSYS2 one.
#
# Also see related issue:
# https://github.com/actions/virtual-environments/issues/594
Copy-Item -Path "C:\msys64\usr\bin\bash.exe" -Destination "C:\Program Files\Git\bin\bash.exe" -Force
# By default, MSYS2 uses an
# /etc/profile file that changes
# the current working directory
# when bash is started. We don't
# want this behavior,so we just
# delete it.
Remove-Item -Path "C:\msys64\etc\profile"
# Add MSYS2's tools to %PATH%.
Add-Content -Path "$Env:GITHUB_ENV" -Value "PATH=$Env:PATH"

# sccache's handling of the /fp:fast MSVC compiler option is broken, so use our fork with the fix.
# https://github.com/mozilla/sccache/issues/950
- name: "[Windows] Set up cargo cache"
Expand Down Expand Up @@ -168,6 +139,11 @@ jobs:
if: runner.os == 'Windows'
uses: seanmiddleditch/gha-setup-vsdevenv@v3

- name: "[macOS] install ccache and make"
if: runner.os == 'macOS'
run: |
brew install ccache ninja

- name: "[macOS/Windows] Get build environment name"
if: runner.os != 'Linux'
id: buildenv_name
Expand Down Expand Up @@ -223,8 +199,12 @@ jobs:
BUILDENV_BASEPATH: ${{ matrix.buildenv_basepath }}

- name: "[Ubuntu/macOS] Set compiler cache size limit"
# Set size to 2 GiB
run: ${{ matrix.compiler_cache }} -M 2097152
# A full build without a cache fills the cache with about 300 MB.
# GitHub Actions gives us 5 GB of cache for free.
# 3 operating systems * 2 conditions (Qt5 & Qt6) * 512 MB = 3 GB
# We use a new cache key for every job, so we would run out of
# space frequently if the cache was much bigger.
run: ${{ matrix.compiler_cache }} -M 524288
if: runner.os != 'windows'

- name: "Set up compiler cache"
Expand Down Expand Up @@ -362,6 +342,39 @@ jobs:
--dest-url 'https://downloads.mixxx.org'
${{ matrix.artifacts_path }}

# Warning: do not move this step before restoring caches or it will break caching due to
# https://github.com/actions/cache/issues/531
- name: "[Windows] Install rsync and openssh"
env:
SSH_PRIVATE_KEY: ${{ secrets.DOWNLOADS_HOSTGATOR_DOT_MIXXX_DOT_ORG_KEY }}
if: runner.os == 'Windows' && github.event_name == 'push' && env.SSH_PRIVATE_KEY != null
run: |
$Env:PATH="c:\msys64\usr\bin;$Env:PATH"
pacman -S --noconfirm coreutils bash rsync openssh
# Unfortunately, mixing executables from msys64 and mingw (i.e. Git
# Bash) does not work properly and leads to errors like these:
#
# 0 [main] python3 (5248) C:\msys64\usr\bin\python3.exe: *** fatal error - cygheap base mismatch detected - 0x180347408/0x180352408.
#
# Even when prepending the MSYS2 binary directory to %PATH%, GitHub
# Actions will still pick the Git Bash executable over the MSYS2 one
# when using `shell: bash`. Since it's not feasible to set `shell` to
# an absolute path in a cross-platform build workflow, we overwrite the
# git bash executable with the MSYS2 one.
#
# Also see related issue:
# https://github.com/actions/virtual-environments/issues/594
Copy-Item -Path "C:\msys64\usr\bin\bash.exe" -Destination "C:\Program Files\Git\bin\bash.exe" -Force
# By default, MSYS2 uses an
# /etc/profile file that changes
# the current working directory
# when bash is started. We don't
# want this behavior,so we just
# delete it.
Remove-Item -Path "C:\msys64\etc\profile"
# Add MSYS2's tools to %PATH%.
Add-Content -Path "$Env:GITHUB_ENV" -Value "PATH=$Env:PATH"

- name: "Set up SSH Agent"
if: github.event_name == 'push' && env.SSH_PRIVATE_KEY != null
shell: bash
Expand Down
27 changes: 27 additions & 0 deletions .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Changelog

on:
push:
branches:
- "main"
- "[0-9].[0-9]"
paths:
- "CHANGELOG.md"

jobs:
trigger-changelog-update:
name: Trigger Changelog update on manual repository
runs-on: ubuntu-latest
steps:
- name: Get current branch name
uses: nelonoel/branch-name@v1.0.1
- name: Start workflow run on manual repository
uses: peter-evans/repository-dispatch@v1
if: env.MIXXXBOT_TOKEN != null
with:
token: ${{ env.MIXXXBOT_TOKEN }}
repository: mixxxdj/manual
event-type: update-changelog
client-payload: '{"branch": "${{ env.BRANCH_NAME }}", "ref": "${{ github.ref }}", "sha": "${{ github.sha }}"}'
env:
MIXXXBOT_TOKEN: ${{ secrets.MIXXXBOT_CHANGELOG_AUTOUPDATER_PAT }}
12 changes: 8 additions & 4 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,24 +10,24 @@ jobs:
runs-on: ubuntu-latest
# The Dockerfile for this container can be found at:
# https://github.com/Holzhaus/mixxx-ci-docker
container: holzhaus/mixxx-ci:20210526
container: holzhaus/mixxx-ci:20210923
steps:
- name: "Check out repository"
uses: actions/checkout@v2
with:
fetch-depth: 2

- name: "Detect code style issues (push)"
uses: pre-commit/action@v2.0.0
uses: pre-commit/action@v2.0.3
if: github.event_name == 'push'
# There are too many files in the repo that have formatting issues. We'll
# disable these checks for now when pushing directly (but still run these
# on Pull Requests!).
env:
SKIP: end-of-file-fixer,trailing-whitespace,clang-format,eslint,no-commit-to-branch
SKIP: clang-format,eslint,no-commit-to-branch

- name: "Detect code style issues (pull_request)"
uses: pre-commit/action@v2.0.0
uses: pre-commit/action@v2.0.3
if: github.event_name == 'pull_request'
env:
SKIP: no-commit-to-branch
Expand All @@ -50,3 +50,7 @@ jobs:
with:
name: ${{ env.UPLOAD_PATCH_FILE }}
path: ${{ env.UPLOAD_PATCH_FILE }}

# AppStream metadata has been generated/updated by a pre-commit hook
- name: "Validate AppStream metadata"
run: appstreamcli validate res/linux/org.mixxx.Mixxx.metainfo.xml
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ compile_commands.json
/CMakeSettings*.json

# Build and distribution directories for various build configurations
/build
/build*
/install

# Exclude unneeded files from GoogleTest library when updating our bundled
Expand Down
38 changes: 38 additions & 0 deletions .markdownlint-cli2.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
#
# An example .markdownlint-cli2.yaml file
#

# Disable some built-in rules
config:
default: true

# The same headline in different nested sections is okay (and necessary for
# CHANGELOG.md).
no-duplicate-header:
allow_different_nesting: true

# We use ordered lists to make stuff easier to read in a text editor.
ol-prefix:
style: ordered

# Not wrapping long lines makes diffs easier to read, especially for prose.
# Instead, we should follow the "one sentence per line" pattern.
line-length: false

# Dollar signs are useful to indicate shell commands/type and help
# distinguishing wrapped lines from new commands.
commands-show-output: false

# Indented code blocks are easier to read in a text editor, but don't allow
# specifying a language for syntax highlighting. Therefore both indented and
# fenced code block should be allowed depending on the use case.
code-block-style: false

# Fix any fixable errors
fix: true

# Disable inline config comments
noInlineConfig: true

# Disable progress on stdout (only valid at root)
noProgress: true
Loading