Commit graph

308 commits

Author SHA1 Message Date
Dmitri Ovodok
d243bcea83
Merge pull request #5477 from MarcSabatella/281253-spacer-down-system
fix #281253: staff spacer down ignored on bottom of page
2019-12-05 14:15:22 +02:00
MarcSabatella
1d56d5564b fix #281253: staff spacer down ignored on bottom of page
Resolves: https://musescore.org/en/node/281253

A staff spacer on the bottom system of a page does not work correctly:
we are looking foir a spacer on the *first* staff rather than the *last*.
So a spacer on the last staff is ignored, and one on the first is used
when it shouldn't be.

The code to calculate the amount of spacer required below the last
system of a page relies on System::lastVisibleSysStaff(),
which is return the correct SysStaff, but we are then attempting
to access the idx member, which has never been set up and is always 0.
Fix is to initialize idx when setting up the list of staves.
2019-11-20 12:37:41 -07:00
Marc Sabatella
eb6de76dbc fix #295892: barline not displayed before horizontal frame followed by start repeat
Resolves: https://musescore.org/en/node/295892

If a measure is followed by a horizontal frame and then a measure with a start repeat,
the end barline of the first measure is not displayed.
This is because we are optiizing that away thinking it won't be needed
because we will simply use the start repeat of the next measure.
This would be true if not for the frame.
So I simply added a check to make sure the next measure is the same as the next measurebase,
and clarified the comments.
2019-11-05 09:58:30 -07:00
Marc Sabatella
8f5c957184 fix #279964: bend font not connected to style
The bend symbol displays in the palette using
a "random" (first in alphabetical order) font.
This is simply because the bendStyle fails to set up
the association between Sid::bendFontFace and Pid::FONT_FACE.
It seems this line was inadvertently removed
when we made  the change to merge italic/bold/underline into style.
2019-10-08 13:45:29 -06:00
Dmitri Ovodok
e2df93c1e0 Upload latest vtest metadata to vtest.musescore.org
That would allow http://vtest.musescore.org/compare.html to always
use actual data regarding existing tests and MuseScore versions
2019-10-03 13:43:19 +02:00
Peter Hieu Vu
ec100e5805 add vtest for dashed lines 2019-08-30 23:40:24 -07:00
anatoly-os
ca3eb206cc
Merge pull request #5246 from MarcSabatella/chord-symbol-format
expansion of chord symbol formatting
2019-08-30 20:26:59 +02:00
Marc Sabatella
4eadb70636 fix #287245: allow symbols and images on barlines
It sometimes comes up that the best way to solve some particular problem
would be to attach a symbol to a barline
(eg, think about the commonly-requested multimeasure repeat symbol).
But we don't support symbols on barlines, so you end up settling for
attaching to the first note or rest in the bar then moving manually,
and this adjustment does not necessarily survicve layout changes.

This commit adds direct support for symbols on barlines.
Also images, since the code involved is so similar, they are handled here as well.
Symbols and images are recorded as child elements,
which were already being laid out so no special handling was needed
beyond adding & removing, reading nd writing.
Although I did need to make sure the track & score were managed correctly.
2019-08-29 09:59:58 -06:00
Marc Sabatella
e1e51ac955 add vtest for RNA & Nashville + collect_artifacts 2019-08-27 08:53:39 -06:00
Marc Sabatella
800c89a651 style settings for chord symbol formatting 2019-08-27 08:53:38 -06:00
Marc Sabatella
75437bf8c0 add vtest 2019-07-25 15:41:10 -06:00
Marc Sabatella
4f44158d46 fix #277039: barline alignment 2019-05-13 06:55:43 -06:00
Marc Sabatella
c1763d5e45 add tests 2019-05-09 22:46:59 -06:00
Marc Sabatella
2371e40744 add vtest for backwards melisma fixes 2019-04-22 12:14:45 -06:00
Marc Sabatella
ade9f8ce28 fix #281651: stretch not having much affect on mmrests 2019-04-17 13:22:00 -06:00
Marc Sabatella
bddbad2618 fix #284440: scale spatium-dependent properties 2019-04-11 06:36:32 -06:00
Marc Sabatella
9a9b3b6d68 add vtest for invisible staff spacing (followup to PR #4769) 2019-03-28 07:29:36 -06:00
Marc Sabatella
699edbf4b7 vtest 2019-03-25 14:32:53 -06:00
Marc Sabatella
d4ba1aedbf add vtest 2019-03-20 16:02:11 -06:00
Marc Sabatella
d89033363d vtest 2019-03-15 11:20:51 -06:00
mirabilos
263ac953b0
log vtest comparison in machine-parsable format 2019-02-06 20:27:33 +01:00
Dr. Hermann Vogt
de59f490ae fix #280013: new vtests for new layout sequence. 2018-12-19 08:16:22 +01:00
mirabilos
ce064bc44c
fix I/O redirection 2018-12-07 15:02:11 +01:00
Joachim Schmitz
ef59d24275 fix #275809: MM rests should not include irregular measures 2018-11-24 21:56:53 +01:00
ws
417d89e07d fix layout regressions for Jump and Marker 2018-10-25 18:32:23 +02:00
Dmitri Ovodok
0d14658413 Convert vtest from old 3.00 format 2018-10-23 10:24:33 +03:00
ws
fc927fa53e fix regression: fermata position 2018-10-22 16:16:01 +02:00
anatoly-os
4937472ffd Update some vtest scores to 3.01 file version
Fix path for gen-ref.bat
2018-09-25 17:23:34 +02:00
alexandr
b679b9a1fe fix vtest
update ref png because source mscx is updated
2018-09-18 16:32:55 +02:00
ws
ab2d9696d1 fix wrong tuplet layout after switching from linear to page mode 2018-09-17 14:06:13 +02:00
ws
bb08200e10 fix autoplace for articulations 2018-09-12 10:51:08 +02:00
anatoly-os
8035689770 fix vtests
Add new tests to gen for linux/mac
Fix vtest generation on Windows. We cannot use one element strings with "^" symbol
2018-09-06 11:14:07 +02:00
alexandr
1d48226720 fix #275382: Tuplet numbers are incorrectly positioned
Add new position of tuplet number.

Set default font of the number in tuplet to italic

add different tuplets to vtests
2018-08-30 17:33:25 +02:00
anatoly-os
c27d0e62d5 fixed vtest on Windows
Use msvc.install by default.
To use it with mingw, you need to run "gen.bat win32install"
Replace mistaken .mscz with .mscx
2018-08-18 13:08:27 +02:00
lasconic
a687e83533 try to fix the build by defining VTEST_BROWSER 2018-07-17 13:56:07 +02:00
ws
ebad23ec19 fix regression: add missing ON_STAFF flag for various spanner 2018-07-16 16:29:16 +02:00
anatoly-os
bebc557ebf fix #273921: incorrect augmentation dot position
Cherry-pick fix from 2.3.1. Fix dot position and aligned it with noteHeadWidth as it was before, not stemPosX as it has been done (incorrectly?) during refactoring.
2018-07-03 17:01:54 +02:00
ws
be40742eed fix #272630 Entering '_' and '-' as symbols doesn't work in lyrics 2018-06-15 14:03:18 +02:00
anatoly-os
caf2af6dcb follow up dd1edc
add vtest for the case
2018-05-26 14:31:00 +02:00
Joachim Schmitz
1717f7637e Avoid compiler- and shell warning 2018-05-17 09:30:22 +02:00
anatoly-os
13c138496b Add vtest for 206 read
The test checks reading 206 drumset with custom noteheads
2018-05-12 15:53:07 +02:00
anatoly-os
b46e13679c Add vtest for custom noteheads 2018-05-05 18:30:45 +02:00
anatoly-os
ae3fd168be add visual tests
Refs need alignment
2018-05-05 11:05:58 +02:00
lasconic
c48048a301 vtest/gen/.bat: now use magick compare, fix missing test 2018-05-04 16:47:55 +02:00
lasconic
0f3480a3c2 fix vtest/gen.bat 2018-05-04 16:20:21 +02:00
ws
105d38e391 add slur visual tests 2018-02-20 09:14:15 +01:00
ws
f09f554044 fix breath mark vertical position 2018-02-20 09:14:15 +01:00
ws
c3b37f1435 fix 2.x import of stafftext position 2018-02-19 10:03:00 +01:00
ws
a8d771f952 autoplace for Jump and Mark elements 2018-01-30 21:08:47 +01:00
ws
5d1b3549d5 fix vtest articulation-1 2018-01-16 14:36:39 +01:00