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

Conversation

Swiftb0y
Copy link

@Swiftb0y Swiftb0y commented Aug 9, 2021

These are some of the minimally invasive fixes I suggested during code review. I don't have have access to my controller atm so it'll take some time until I'll be able to implement other stuff I suggested during review.

@@ -357,6 +358,7 @@
options.group = "[Sampler" + options.number + "]";
options.outKey = null, // hack to get Component constructor to call connect()
super(options);
// this.connect();
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you commit this on accident?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ups, yes this was on accident. It was left from a previous experiment where I tried to call connect after the parent constructor but that didn't work out-right so I wanted to take a look some other time.

@@ -125,6 +125,7 @@
}
}
trigger() {

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

stray line

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

eslint broke when I removed it. Seems to me like some obscure bug but idk.

Be-ing and others added 27 commits October 18, 2021 10:42
…ded_effect

Effects refactoring: loaded effect
EffectChain: make setting chain_preset_selector to 0 a no-op
Notes:
* m_pFifoChunkBuffer was actualy an array pointer; was not deleted
safely. Refactor fixes memory leak.
* Used void*[] implicit conversions for protobuf.
* Used "auto _ = std::vector{}" style for some assignments.
* Default'ed empty virtual destructors and fully removed other empty
destructors from codebase.
* Used std::vector<T>.resize() in place of raw-new.
EffectChain: name ControlObjects consistently with chain_preset
Hopefully this will result in less frequent cache misses.
GH Actions: lower compiler cache size to 0.5 GB
…ineParameters

Rename variables of type EnigineParameter to engineParameters
…types

Removed raw array pointer types for std::vector
without the indirection via sidebar, and without assuming the library is next/after the sidebar.
uklotzde and others added 16 commits November 24, 2021 00:08
WTrackMenu: Add missing feature to all features enum variant
Update vendored Benchmark library to v1.6.0
…bled

WTrackMenu::featureIsEnabled(): Fix unhandled case
don't wipe inapplicable sound config immediately
Define `CFBundleName` in macOS bundle
HidController: return QByteArrays for get[Input/Feature]Report
- Add initial macOS Big Sur icon draft
- Replace macOS icon lens flare with brighter gradient
- Add drop shadow to macOS icon
- Update macOS ICNS files
- Remove hidden layers from new macOS icon
Add a Big Sur-style rounded rectangle icon on macOS
* MiniMixxx: Initial implementation

* MiniMixxx: Start implementing buttons

* MiniMixxx: Implement layers

* MiniMixxx: relative pitch slider mode

* MiniMixxx: wheel spinnies!

* MiniMixxx: forgot to hook up a connection

* MiniMixxx: small light tweak

* MiniMixxx: sampler layer

* MiniMixxx: Fix some layer switching issues

* MiniMixxx: library mode

* MiniMixxx: add fx layer

oh no I have no room for hotcues!

* MiniMixxx: rearrange file

* MiniMixxx: factor out vu meter color

* MiniMixxx: Add hotcue layer

Because we are out of buttons, hotcues are activated for both decks at once.  That seems ok.

MiniMixxx is now feature complete!

* MiniMixxx: allow for scrubbing through track in library mode

* MiniMixxx: Add newline to satisfy linter

* MiniMixxx: Factor out colors

* MiniMixxx: Add main output adjustments

* MiniMixxx: trying to get consistent behavior with layers

* MiniMixxx: cleanup

* MiniMixxx: more cleanup

* MiniMixxx: Apply eslint

* MiniMixxx: cleanup and fix comments

* MiniMixxx: Upgrade to javascript classes

* MiniMixx: fix sync button push-and-lock

* MiniMixxx: Use newer engine connection API

* MiniMixxx: use proper debug output

* Minimixxx: make it possible to expand tree items in library browsing

* MiniMixxx: bind booth volume adjustment

Also create mode where pitch sliders don't do anything *unless* shift is held.
This prevents mixtakes

* minimixxx: adjust jog sensitivity

* MiniMixxx: make righthand library encoder scroll horizontally

also some minor tweaks

* Minimixxx: fix typo

* raspi: make hotcues the non-shift action

* Minimixxx: rename files to be consistent

* Minimixxx: use switches where possible

* Update res/controllers/Yaeltex MiniMixxx.midi.xml

Co-authored-by: Jan Holthuis <holthuis.jan@googlemail.com>

* Update res/controllers/Yaeltex-MiniMixxx-scripts.js

Co-authored-by: Be <be.0@gmx.com>

* Minimixxx: revert bad change (var was undefined)

* Minimixxx: disclaimer

Co-authored-by: Jan Holthuis <holthuis.jan@googlemail.com>
Co-authored-by: Be <be.0@gmx.com>
…tadartpaths

remove unused includes QDesktop/QStandardPaths
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.