Merge lp://staging/~daschuer/mixxx/atomic-co into lp://staging/~mixxxdevelopers/mixxx/atomic-co
Proposed by
Daniel Schürmann
Status: | Needs review |
---|---|
Proposed branch: | lp://staging/~daschuer/mixxx/atomic-co |
Merge into: | lp://staging/~mixxxdevelopers/mixxx/atomic-co |
Diff against target: |
416 lines (+59/-76) 12 files modified
mixxx/src/control/control.cpp (+10/-7) mixxx/src/control/control.h (+6/-6) mixxx/src/control/controlbehavior.cpp (+20/-14) mixxx/src/control/controlbehavior.h (+6/-3) mixxx/src/controllers/midi/midicontroller.cpp (+1/-1) mixxx/src/controlobject.cpp (+5/-12) mixxx/src/controlobject.h (+0/-3) mixxx/src/controlobjectthread.cpp (+1/-1) mixxx/src/engine/bpmcontrol.cpp (+0/-9) mixxx/src/engine/enginebuffer.cpp (+0/-3) mixxx/src/engine/ratecontrol.cpp (+0/-6) mixxx/src/vinylcontrol/vinylcontrolmanager.cpp (+10/-11) |
To merge this branch: | bzr merge lp://staging/~daschuer/mixxx/atomic-co |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Daniel Schürmann | Needs Fixing | ||
Review via email: mp+164281@code.staging.launchpad.net |
Description of the change
See commit log
To post a comment you must log in.
Unmerged revisions
- 3369. By Daniel Schürmann
-
merged from lp:~mixxxdevelopers/mixxx/atomic-co
- 3368. By Daniel Schürmann
-
removed pSender from ControlDoublePr
ivate:: reset() - 3367. By Daniel Schürmann
-
removed setValueFromThread
- 3366. By Daniel Schürmann
-
added pSender to setMidiParameter
- 3365. By Daniel Schürmann
-
unified word choice for pSender, pSetter is the a function pointer to set() for me
- 3364. By Daniel Schürmann
-
removed valueChangedFro
mEngine( )
We have to keep valueChangedFro mEngine. It's important to be able to react
to internal sets of controls. For example this breaks BpmControl reacting
to engine rate changes. Try hitting the sync button. The BPM text won't
change.
On May 16, 2013 7:49 PM, "Daniel Schürmann" <email address hidden> wrote:
> Daniel Schürmann has proposed merging lp:~daschuer/mixxx/atomic-co into /code.launchpad .net/~daschuer/ mixxx/atomic- co/+merge/ 164281 /code.launchpad .net/~daschuer/ mixxx/atomic- co/+merge/ 164281 src/control/ control. cpp' control/ control. cpp 2013-05-16 01:40:06 +0000 control/ control. cpp 2013-05-16 23:48:28 +0000 ivate:: reset(QObject* pSender) { ivate:: reset() { getValue( ); ivate:: set(const double& value, QObject* pSender) { fetchAndStoreRe laxed(pBehavior ); ivate:: setWidgetParame ter(double dParam, QObject* ivate:: setWidgetParame ter(double dParam, QObject* ehavior* pBehavior = m_pBehavior; >widgetParamete rToValue( dParam) : dParam, >widgetParamete rToValue( dParam) : dParam, ivate:: getWidgetParame ter() const { >valueToWidgetP arameter( get()) : get(); ivate:: setMidiParamete r(MidiOpCode opcode, double ivate:: setMidiParamete r(MidiOpCode opcode, double ehavior* pBehavior = m_pBehavior; >setValueFromMi diParameter( opcode, dParam, this); >setValueFromMi diParameter( opcode, dParam, this, src/control/ control. h' control/ control. h 2013-05-16 01:40:06 +0000 control/ control. h 2013-05-16 23:48:28 +0000
> lp:~mixxxdevelopers/mixxx/atomic-co.
>
> Requested reviews:
> Mixxx Development Team (mixxxdevelopers)
>
> For more details, see:
> https:/
>
> See commit log
> --
> https:/
> Your team Mixxx Development Team is requested to review the proposed merge
> of lp:~daschuer/mixxx/atomic-co into lp:~mixxxdevelopers/mixxx/atomic-co.
>
> === modified file 'mixxx/
> --- mixxx/src/
> +++ mixxx/src/
> @@ -77,9 +77,12 @@
> return m_value.getValue();
> }
>
> -void ControlDoublePr
> +void ControlDoublePr
> double defaultValue = m_defaultValue.
> - set(defaultValue, pSender);
> + // NOTE: pSender = NULL is important. The originator of this action
> does
> + // not know the resulting value so it makes sense that we should emit
> a
> + // general valueChanged() signal even though we know the originator.
> + set(defaultValue, NULL);
> }
>
> void ControlDoublePr
> @@ -106,9 +109,9 @@
> return m_pBehavior.
> }
>
> -void ControlDoublePr
> pSetter) {
> +void ControlDoublePr
> pSender) {
> ControlNumericB
> - set(pBehavior ? pBehavior-
> pSetter);
> + set(pBehavior ? pBehavior-
> pSender);
> }
>
> double ControlDoublePr
> @@ -116,12 +119,12 @@
> return pBehavior ? pBehavior-
> }
>
> -void ControlDoublePr
> dParam) {
> +void ControlDoublePr
> dParam, QObject* pSender) {
> ControlNumericB
> if (pBehavior) {
> - pBehavior-
> + pBehavior-
> pSender);
> } else {
> - set(dParam, NULL);
> + set(dParam, pSender);
> }
> }
>
>
> === modified file 'mixxx/
> --- mixxx/src/
> +++ mixxx/src/
> @@ -32,11 +32,11 @@
> }
>
> // Sets the control value.
> - void set(const double& value, QObject* pSetter);
> + void set(const double& value, QObject* pSender);
> // Gets the control value.
> double get...