Commit graph

1692 commits

Author SHA1 Message Date
anatoly-os
522b147413
Merge pull request #4488 from lvinken/more-musicxml-fixes
More musicxml fixes
2019-01-29 11:27:50 +02:00
MarcSabatella
8942ed8a7b fix #280807: improve fingering layout (for piano & guitar) 2019-01-27 08:44:42 -07:00
Dmitri Ovodok
e506b5e63a Fix plugins tests
Also fix tst_links building. The test was broken since the
Score::addText function was moved to plugins API where it was used
exclusively aside from this test.
2019-01-24 17:43:55 +03:00
Dmitri Ovodok
ed07282ea5 Move files related to plugins to a separate directory 2019-01-24 17:36:01 +03:00
mirabilos
f941562f8a Fix build without SCRIPT_INTERFACE on Qt 5.7
* without SCRIPT_INTERFACE, Qt 5.7 is enough
 * cursor.cpp depends on FractionWrapper
 * backwards-compatible QString + QStringRef construction
 * let Q_NAMESPACE and Q_ENUM_NS depend on SCRIPT_INTERFACE
 * Ms::Direction must be Q_DECLARE_METATYPE
 * elide plugin-related headers from the build without SCRIPT_INTERFACE
 * supply matching ifdefs for pluginManager calls in main code

This is based on changes by ABL <antonio.lotti@alice.it>
and I merely made it rely on the SCRIPT_INTERFACE compilation
option more (so it does not break anything when SCRIPT_INTERFACE
is on — that is, by default), to make backporting this easier.

Add header defining DBL_MIN and DBL_MAX, and add multiple
inclusion guards around "config.h" as it’s included in many
places.
2019-01-24 17:36:01 +03:00
James Thistlewood
f565b5e8cb fix #279585: frame gap not imported correctly 2.x->3.0 2019-01-13 12:33:57 +00:00
anatoly-os
f9dd162c5a
Merge pull request #3500 from Jojo-Schmitz/channel-switching
More channels to instruments
2019-01-11 14:47:37 +02:00
anatoly-os
451cdc101f
Merge pull request #4552 from dmitrio95/pedal-write-offset-and-length
fix #280631: fix writing offset and length for pedal lines
2019-01-11 11:06:24 +02:00
Dmitri Ovodok
2bd75bb3a7 Fix fermata time stretch handling on partial re-layout 2019-01-10 14:58:19 +03:00
Dmitri Ovodok
c982fc3d09 fix #280631: fix writing offset and length for pedal lines 2019-01-10 11:40:54 +03:00
anatoly-os
cd85689755
Merge pull request #4551 from MarcSabatella/save-placement
Save placement
2019-01-09 08:48:10 +02:00
MarcSabatella
26f2f968b4 update mtests 2019-01-08 19:22:54 -07:00
anatoly-os
b352826cea
Merge pull request #4515 from AntonioBL/nestedtuplets
fix #280547 tuplet brackets connected to two staves
2019-01-08 01:03:57 +02:00
AntonioBL
a8a519a3f5 fix #280547 tuplet brackets connected to two staves 2018-12-28 15:47:11 +01:00
Dmitri Ovodok
3c6999a457 fix #280574: fix corruption on time delete of start of measure with full-measure rests 2018-12-25 14:14:22 +03:00
Leon Vinken
ff8da2124e fix #163726 - [MusicXML Import] Losing Tempotext when saving as mscz/mscx 2018-12-25 11:35:39 +01:00
Leon Vinken
b0cc6b1609 fix #21435 - [MusicXML] always export Slur placement 2018-12-25 11:35:39 +01:00
anatoly-os
12d0e18b5d
Merge pull request #4462 from dmitrio95/280364-timewise-input-crash
fix #280364: measure start timewise input
2018-12-21 18:09:30 +02:00
Dmitri Ovodok
1eecf01ebb fix #280092: move clef properly on inserting measure to score start 2018-12-21 17:36:31 +02:00
Eric Fontaine
31a6aafaca fix #280364: measure start timewise input
Previous code crashed when doing a timewise insert at the beginning of
a measure. This was because the call to msMeasure->findFirst searches
for a segment at tick 0, but segment ticks had already been shifted
forward in time with the earlier call to InsertTime. Using
msMeasure->first(SegmentType::ChordRest) avoids that problem.

Second problem was a crash when inserting to beginning of a
multi-measure rest. This was fixed by testing for isMMRest() and using
the multi-measure rest if true.

I also had to change behavior to convert all measure-rests into normal
(non-measure) rests(s) of equivalent duration first before inserting
any additional space.  Unfortunately it would have been ideal to
simply keep measure rests and exapand them to fill the new space, but
I couldn't figure out a clean way to do that.  So I opted for the
simpler and safer method of converting them into...

Additional note from dmitrio95:
Added handling of situations where other tracks contain non-measure
rests or notes overlapping with the input area. Ensured that all
changes are undoable.
2018-12-21 17:06:54 +02:00
Dmitri Ovodok
d2f4f5c3db fix #279593: fix handling spanners on changing time signature 2018-12-17 12:10:43 +02:00
anatoly-os
935f546e79
Merge pull request #4371 from Rockettwo/279700-voices-exchange-issue
fix#279700 Corruption and bad links using exchange voices on score with parts
2018-12-14 13:47:54 +02:00
anatoly-os
637b56651d
Merge pull request #4385 from MarcSabatella/custom-chords
Custom chords
2018-12-14 13:46:39 +02:00
Felix Brauchle
8f58a412ed fix #279700 fix behavior of exchange voices, fix small excerptsdialog bug, make code readable 2018-12-13 17:10:25 -06:00
anatoly-os
2e2af5047d
Merge pull request #4384 from mattmcclinch/279607-stem-side-articulations
Fix issues with articulation placement
2018-12-13 17:07:45 +02:00
MarcSabatella
687dea0328 update mtest 2018-12-13 07:26:45 -07:00
Matt McClinch
9749d3a898 fix #279607: Place chord-anchored stem-side articulations at the end of the stem.
fix #279672: Staccato and tenuto overlap.
Do not center tenuto over the stem.
Only center staccato over the stem if it is the only articulation.
2018-12-13 08:41:55 -05:00
Dmitri Ovodok
4eb78bab62 fix #279080: update beam info for rests, tweak rest beams parameters 2018-12-13 09:32:48 +02:00
anatoly-os
e5d17fc306
Merge pull request #4342 from pthvogt/278153-voltas
278153 voltas
2018-12-12 21:20:19 +02:00
Hermann Vogt
e3d1051c25 fix #278153: Moved layout of voltas behind Tempo Text: Voltas set the right tempo now, as they now reference the correct tempo set by the tempo text.
Also corrected testVoltaTemp.
2018-12-11 12:57:18 +01:00
Dmitri Ovodok
2362307459 fix #120271: rework timewise insert to handle linked staves 2018-12-11 09:30:27 +02:00
AntonioBL
7008b841e3 fix typo in courtesy clef test 2018-12-06 20:07:03 +01:00
Felix Brauchle
1f3a84371b Adding testscript for #279386, crash when pasting measures if number > to last mm rest 2018-12-05 20:54:54 -06:00
anatoly-os
39501b5adf
Merge pull request #4278 from dmitrio95/fix-bad-memory-access
Fix some cases of bad memory access
2018-12-05 22:22:21 +02:00
anatoly-os
03fffbc3f6
Merge pull request #4246 from mattmcclinch/278943-paste-tuplet
fix #278943: Can't copy tuplet to last beat of measure
2018-12-05 17:22:27 +02:00
AntonioBL
1c8c0372db fix use-after-free and buffer-overflow found with AddressSanitizer running over the tests 2018-12-05 17:04:35 +02:00
anatoly-os
eb47a254ca
Merge pull request #4295 from jthistle/279280-default-bold-not-saved
fix #279280: changes to font style for text that is bold by default are not saved
2018-12-05 15:32:14 +02:00
anatoly-os
9a5ebb9ec5
Merge pull request #4296 from lvinken/276227-musicxml-tuplet-crash
fix #276227 MusicXML import causes corruption, attempts to fix causes…
2018-12-05 15:30:51 +02:00
MarcSabatella
45350f0cab update mtest 2018-12-04 20:39:03 -07:00
James Thistlewood
752328610e fix #279280: changes to font style for text that is bold by default are not saved 2018-12-04 16:55:25 +00:00
Leon Vinken
2d88e02a4f fix #276227 MusicXML import causes corruption, attempts to fix causes crash 2018-12-03 22:00:07 +01:00
anatoly-os
960fcfca27
Merge pull request #4260 from dmitrio95/122561-tab-rests
fix #122561: layout rests in tablatures
2018-12-03 17:04:38 +02:00
Dmitri Ovodok
3353e5e0a9 fix #22561: layout rests in tablatures
Also add a test on layout of tablature elements
2018-12-03 10:00:00 +02:00
Matt McClinch
7ff253cae0 fix #278943: Can't copy tuplet to last beat of measure 2018-12-02 22:38:09 -05:00
Matt McClinch
b3cca7c0bf fix #279099: Dotted tuplet has incorrect duration after save/reload 2018-11-30 23:24:01 -05:00
anatoly-os
bf05b50864
Merge pull request #4243 from dmitrio95/278039-layout-segment-symbol
fix #278039: layout symbols attached to segments
2018-11-29 22:07:50 +02:00
ws
5fadc466bd fix #276978 crash during open .gpx file 2018-11-29 11:50:45 +01:00
Dmitri Ovodok
85551d8f18 fix #278039: layout symbols attached to segments 2018-11-28 10:45:41 +02:00
Dmitri Ovodok
8a93b0c6f2 Add a compatibility function to read obsolete text style properties 2018-11-27 17:59:11 +02:00
Joachim Schmitz
70cd5dbd6e More channels to instruments
Add channel switch texts to Text palette and make most instruments
with multiple channels have a name for the 1st channel rather than
fallback to 'normal' (all but harp and the e-basses), having 'open' for
brass, 'arco' for strings, 'pizzicato' for acoustic bass. Add 'mute'
(and' open') channel to all brass using trumpet sound, add 'pop' and
'slap' to bass guitar and 6-string electric bass., add 'mute' to
classical guitar.
Naming unnamed channels, more channels for guitars and bass
and naming the sounds of the channels after GM in comments to the
channels
See also https://musescore.org/en/node/269784 and
https://musescore.org/en/node/278497
2018-11-27 08:20:46 +01:00