~mendomusic/lmms/+git/lmms-github:master-cf-autofix

Last commit made on 2021-01-18
Get this branch:
git clone -b master-cf-autofix https://git.launchpad.net/~mendomusic/lmms/+git/lmms-github

Branch merges

Branch information

Name:
master-cf-autofix
Repository:
lp:~mendomusic/lmms/+git/lmms-github

Recent commits

80e77df... by codefactor-io <email address hidden>

[CodeFactor] Apply fixes

ca17641... by Ray Redondo <email address hidden>

Fix 32-bit winegcc call on Linux when using LLD (#5878)

f7fbb9a... by the-bebop <email address hidden>

Use case insensitive alphabetical sort in tree-browsers (#5875)

* sort items in tree-browsers caseinsensitively in alphabetical order

24761a4... by deenadayalan

Fix the unit of Bitcrush Output clip level from % to dBFS

d769459... by Oskar Wallgren

Arpeggiator - Note repeats (#5784)

Co-authored-by: Kevin Zander <email address hidden>
Co-authored-by: IanCaio <email address hidden>

aa02a21... by Oskar Wallgren

FPE debug - Disable FE_UNDERFLOW

FE_UNDERFLOW gives a fair amount of hits with LMMS but is of lower
importance than the other tests and slows down debugging considerably.
Commenting out for the time being.

a058047... by Hyunjin Song

Revert submodule changes in a5dc3fee6a5c51065f268cb19f686284752e69da

bf7c87d... by Spekular <email address hidden>

Fix rule of three for SampleBuffer, SampleTCO (#5727)

* Automatic formatting changes

* Add copy constructor and assignemnt to SampleBuffer

* Add copy constructor to SampleTCO

* Delete SampleTCO copy assignment, initial work on SampleBuffer swap method

* SampleBuffer: Finish(?) swap and use it for copy assignment, lock for read in copy constructor

* Don't forget to unlock in copy assignment!

* Formatting changes

* Lock ordering in swap

* Fix leak and constness

Co-authored-by: Dominic Clark <email address hidden>

* Fix multiplication style, ensure lock is held when necessary

... by switching from an initializer list to manual assignments.

* Fixes from review

* Avoid more undefined behavior

* Update src/tracks/SampleTrack.cpp

Co-authored-by: Dominic Clark <email address hidden>

67a5da8... by Alexandre Almeida <email address hidden>

Workaround for SDL race condition (#5815)

8655d50... by IanCaio <email address hidden>

Fixes bug with pasting of TCOs (#5840) (#5847)

* Fixes bug with pasting of TCOs (#5840)

 TimePos::quantize works for negative values, but ends
up snapping the TCO to the opposite direction. This is because the
snapping happens in the direction of the origin, which is left for
positive values and right for negative values.
 That wasn't accounted for in the pasteSelection method
and we ended up with wrong positions when pasting before the
TCO(s) we copied.
 This PR fixes the issue by ensuring that we snap in the same direction when halfway through an interval, regardless of negative or positive offset.

* Fixes a calculation on TimePos::quantize

 Since we are working with integers, using "offset /
(interval/2)" would be problematic if interval was odd. We instead
multiply both sides by two and use "(2 * offset) / interval" to obtain
the result for snapUp.