Commit graph

552 commits

Author SHA1 Message Date
Maurizio M. Gavioli
a4a51787bb Do not expect padding for lyrics syllabi dashes in Measure layout
In `Measure::layoutX()` and in `Score::computeMinWidth()` there is code to add room for dash padding in lyrics syllables, with a reference to `System::layoutLyrics()`.

As `System_layoutLLyrics()` no longer exists and as `LyricsLineSegment::layout()` now adjusts (and occasionally skips) dash width to actual note distance, this is now redundant and may in some cases interfere with the `LyricsLineSegment::layout()` calculations.

Some tests with rather dense polyphonic scores did show that some space may be gained, without raising any evident 'crowding' problem.
2015-01-23 22:26:44 +01:00
ws
69febbce94 fix #44676: Change of duration of measures including grace notes (acciaccatura) causes a crash in tab staff 2015-01-21 11:57:57 +01:00
ws
16764d4614 fix #44466: Crash extending volta over mmrest starting a new system + other cleanups 2015-01-19 12:41:16 +01:00
Maurizio M. Gavioli
c69d2a9262 Lyrics multi-system melisma and dashes
Implements melisma and dash lines for lyrics spanning several systems.

The melisma and dash line is based on the `SLine` class and its segments on the `LineSegment` class. Both the whole line and its segments are not selectable, marked as generated and not saved in the score file, which is not changed in any way.

For very wide dash segments, several dashes are drawn; the distance between the dashes is not configurable.

Lyrics layout code in `Measure` class and in `layout.cpp` file has been commented out as the lyrics line layout is all contained in the lyrics.cpp file

The line is registered with the `Score` (to have its layout delayed until all elements are positioned) with a mechanism similar to other `Spanner`'s, but in a different container (`_unmanagedSpanner`), as the owning `Lyrics` should decide when create, register, unregister and delete its line.

The line segments are registered with the `System` they belong to (to have them drawn), in the same way as other `Spanner`'s.

There is code for using the dash metrics of the lyrics font, but it is turned off via a conditional directive, as there does not seem to be a reliable way to determine the dash metrics; conventional values (determined by trials and errors and based on my taste!) are used when the conditional directive is off.
2015-01-11 10:16:19 +01:00
ws
328503f0a8 fix #42131: Infinite loop on score internal element adding 2015-01-08 10:12:34 +01:00
ws
58fec699ce do not create invisible c-keysig in new scores 2015-01-05 13:31:42 +01:00
Marc Sabatella
0b48254691 slightly more conservative hyphen padding 2014-12-31 17:01:17 -07:00
Nicolas Froment
90855910dd Merge pull request #1595 from MarcSabatella/separator-padding
Separator padding
2014-12-31 10:17:03 +01:00
Marc Sabatella
77e3a87ebf fix #42261: add space before melisma 2014-12-30 23:45:35 -07:00
ws
12a05414d6 fix: save Box topGap/bottomGap in spatium units 2014-12-30 21:14:31 +01:00
ws
7a7c1fc567 make page layout debug output DPI independant 2014-12-30 18:44:27 +01:00
ws
f6d6a527a7 add some debug code to pageLayout 2014-12-30 15:14:21 +01:00
Joachim Schmitz
cdb31d60cb fix compiler warnings in RELEASE mode under Windows
reg. possible uninitialized use of some variables and some unused
parameters
2014-12-18 21:45:49 +01:00
Marc Sabatella
9d7185d89a fix #32231: width of initial measure & other measures with key signatures in continuous view 2014-12-13 17:43:17 -07:00
ws
8ff4a8f95e fix #29931: Custom key signatures do not show 2014-12-08 18:02:29 +01:00
Werner Schweer
e4e377a36b Merge pull request #1316 from mgavioli/system_initial_barline_style
Style of the initial bar line of a system.
2014-12-08 13:03:03 +01:00
ws
f3071ac9d0 fix #29931: Custom key signatures do not show 2014-12-04 14:40:26 +01:00
Marc Sabatella
90c3c1593d fix #6535: grace note ties, articulations, and undo fixes 2014-11-29 19:46:33 -07:00
lasconic
c61c9aee68 fix #40036: Tremolo through stem on grace note all eighths in 1.3 score 2014-11-28 19:56:09 +01:00
ws
d5b29fd815 fix #34531 2014-11-23 13:34:30 +01:00
Nicolas Froment
6b0ff3a887 Merge pull request #1460 from MarcSabatella/slash-notation
fix #8924: native support for slash notation
2014-11-21 00:02:50 +01:00
ws
6c03319d5c fix #39006 2014-11-20 14:34:47 +01:00
Marc Sabatella
58e5a74588 fix #8924: native support for slash notation 2014-11-17 22:02:12 -07:00
ws
f53ca60935 fix #35601 2014-11-17 11:59:28 +01:00
Marc Sabatella
fef82c1a10 beam beats in X/4 according to minimum durations 2014-11-15 11:04:10 -07:00
Nicolas Froment
1e8c3a35c9 Merge pull request #1439 from MarcSabatella/38501-cross-staff-gliss
fix #38501: cheap partial fix for cross-staff and cross-system gliss
2014-11-11 13:33:51 +00:00
lasconic
5199474150 fix #38731: Beams connected to irregular tuplets in a 4/4 time signature and on beats one and three are incorrect 2014-11-10 19:08:53 +00:00
Marc Sabatella
98235e52b2 fix #38501: cheap partial fix for start position of cross-staff and cross-system gliss 2014-11-07 13:23:07 -07:00
Werner Schweer
1d02427ec7 Merge pull request #1388 from MarcSabatella/fingering-improvements
Fingering improvements
2014-11-01 13:40:30 +01:00
ws
6e8ed9b196 addition to fix #37651: complete layout calculations 2014-10-28 15:22:39 +01:00
ws
4be8014426 fix #37666 2014-10-28 11:47:04 +01:00
Marc Sabatella
25e43f2f1b fix #36256: layout shift due to courtesy elements 2014-10-26 22:53:50 -06:00
ws
fc3ea8e434 fix #29931 2014-10-23 17:00:23 +02:00
ws
8019c2846c fix #31451 2014-10-22 19:29:07 +02:00
ws
aa6b0c8e63 fix #30941 2014-10-22 17:17:26 +02:00
ws
c51599bb81 fix #36256 2014-10-21 18:57:43 +02:00
Marc Sabatella
4189822f54 add new fingering styles 2014-10-17 11:47:57 -06:00
ws
9b8c7c67ee fix #35496 2014-10-10 11:52:44 +02:00
ws
161dcb083d fix #14548 2014-10-07 11:32:09 +02:00
Marc Sabatella
ab15653628 avoid overlaps of melisma syllables, extenders, and hyphens 2014-09-22 11:56:32 -06:00
lasconic
d9bf96ba9a add comment 2014-09-20 22:32:31 +02:00
Maurizio M. Gavioli
5621af1c2b Style of the initial bar line of a system.
In some engraving styles (mainly jazz), a double system initial bar line is used at structural articulations of the piece.

The PR supports this style, by adding a `_systemInitialBarLineStyle` variable to the `Measure` class which controls the style of the system bar line when the measure is the first of the system and by default it is set to NORMAL. This variable is not accessed directly; rather it is controlled by manipulating the system bar line. A system bar line can be edited:

- by dropping on it a bar line style from the palette (structural styles, like any repeat or END are ignored);
- by selecting it and double clicking a bar line style from the palette (same note as above).

It can be reset:

- by undo;
- by dropping on it (or selecting and double clicking) a NORMAL bar line style from the palette;
- by selecting and deleting it.

As the system bar line style is stored in the measure, if the first measure of a system changes (because of some other editing), the system bar line style will follow accordingly.
2014-09-16 13:20:15 +02:00
Marc Sabatella
f13dfa6f0d fix #32826: end repeat on mmrest 2014-09-15 16:40:58 -06:00
lasconic
6e5926dd90 fix #33236: Impossible to right click a measure in continuous view if the measure is out of paper in normal view 2014-09-14 09:40:36 +02:00
Nicolas Froment
957d26e98b Merge pull request #1285 from MarcSabatella/32441-empty-key
fix #32441: bad layout with empty key signature
2014-09-09 22:04:14 +02:00
Marc Sabatella
52c0a97b0f fix #32611: alignment of small upstem chords 2014-09-09 07:50:49 -06:00
Marc Sabatella
7f2c2e894c fix #32161: false collisions with crossstaff notes 2014-09-08 11:31:00 -06:00
Marc Sabatella
107772a987 fix #32441: bad layout with empty key signature 2014-09-07 15:40:23 -06:00
Nicolas Froment
e89b028941 Merge pull request #1269 from MarcSabatella/31436-segno-mmrest
fix #31436: segno et al do not display in mmrest
2014-09-04 00:34:05 +02:00
Nicolas Froment
1ac50eb564 Merge pull request #1268 from MarcSabatella/31711-chord-mmrest
fix #31711: chord symbols & mmrests
2014-09-04 00:21:44 +02:00
Marc Sabatella
81c361ce6e fix #31436: segno et al do not display in mmrest 2014-09-02 11:55:45 -06:00
Marc Sabatella
dfdf16e87c fix #31711: chord symbols & mmrests 2014-09-02 11:50:30 -06:00
Marc Sabatella
97192e05df fix #31301: misaligned half notes 2014-08-31 13:22:50 -06:00
ws
0af0091e11 fix #30961 2014-08-27 14:36:42 +02:00
Marc Sabatella
067ae89944 fix crash on score with no measures 2014-08-23 08:22:49 -06:00
ws
0de0a1264c fix #28761 2014-08-23 11:58:50 +02:00
ws
f2ea47bc3a fix for #28761 and #29511 2014-08-22 13:33:46 +02:00
ws
8547e27734 fix #30041 2014-08-21 15:01:54 +02:00
ws
1886d6d911 fix #29796 2014-08-17 12:41:44 +02:00
ws
1dcdd1037d update instrument handling 2014-08-16 11:21:56 +02:00
ws
9e93f15037 fix #29511 2014-08-13 15:42:55 +02:00
ws
88636cbfee fix #23515 2014-08-11 21:17:55 +02:00
Marc Sabatella
aeff1a7810 tweaks for chord offsets (small, dots) 2014-08-10 22:57:11 -06:00
Marc Sabatella
020898c324 fix #22883: glitches with size / distance settings 2014-08-10 11:39:52 -06:00
ws
567dc89ff6 fix #25250 new staff flag showIfSystemEmpty 2014-08-06 16:37:41 +02:00
ws
5fd6c61b72 fix #29001 2014-08-06 10:44:27 +02:00
Marc Sabatella
42f8ece19d fix #28881: bad spacing of full measure rest in multivoice context 2014-08-03 21:02:37 -06:00
ws
4e426c4808 implement 'never hide' flag for staff 2014-07-31 18:46:58 +02:00
lasconic
98cfe578e4 fix time signature properties scores 2014-07-26 09:08:44 +02:00
ws
f97a8b22c6 cleaner clef/cleflist implementation 2014-07-25 17:13:42 +02:00
ws
26bb716f25 link section break in parts 2014-07-24 12:37:08 +02:00
lasconic
c4f4dd16f5 fix #25790: Not enough margin between first and second system with 3+ verses on 2nd and 3rd page 2014-07-22 18:31:32 +02:00
ws
17910f7441 remove id from spanner class 2014-07-21 14:28:37 +02:00
lasconic
1b7441f882 revert PR #1030 2014-07-21 11:43:50 +02:00
lasconic
b8f6725873 set mscVersion to the current version after the first layout of 1.3 scores 2014-07-19 12:29:20 +02:00
ws
1e94611118 partial fix for #18510 2014-07-17 15:28:02 +02:00
ws
a2c0bf6188 fix #26476 2014-07-15 12:49:51 +02:00
Bartlomiej Lewandowski
28becd3b3a Fix for paste of 2 note tremolo that will not fit into bar. 2014-07-11 15:13:27 +02:00
ws
d59cc84ee2 fix some spanner bugs 2014-07-09 18:05:58 +02:00
ws
2da5273597 fix #22132 2014-07-03 15:02:36 +02:00
ws
7aa55d072e fix #25941 2014-07-02 09:56:05 +02:00
Joachim Schmitz
e95d169d5c move Direction and DirectionH into MScore
needed to make them available to the plugin framework
2014-06-26 12:03:14 +02:00
Joachim Schmitz
dc5c0b48f6 move BeamMode to Beam::Mode
needed to make it available to the plugin framework
2014-06-26 12:01:55 +02:00
Joachim Schmitz
54e2e167b6 move NoteHeadType to NoteHead::Type
needed to make it available to the plugin framework
2014-06-26 12:01:50 +02:00
Joachim Schmitz
e6e7436177 move SegmentType to Segment::Type and make int again
needed to make it available to the plugin framework
and the memory saved is not worth the performance penalty
2014-06-26 11:57:39 +02:00
Joachim Schmitz
75623c53dc move ElementType to Element::Type
needed to make it available to the Plugin framework
2014-06-26 11:57:35 +02:00
Maurizio M. Gavioli
bfb388d682 Fix even-odd page contiguous-ness.
In page view, the pages are shown in contiguous pairs, unconditionally starting with the second page, regardless of page numbering.

This fix makes each even page contiguous with the odd page following it, according to page numbering, i.e. taking into account `_pageNumberOffset`.
2014-06-24 23:16:34 +02:00
ws
83ead22c35 cleaner implem. for reading ties 2014-06-24 14:45:50 +02:00
ws
247a055c91 fix #26741 2014-06-24 13:18:37 +02:00
ws
b4066a7976 stronger typing for key 2014-06-20 17:07:22 +02:00
Joachim Schmitz
9a636ac9c6 remove some unneeded '\n'
and also fix a typo
2014-06-10 09:27:55 +02:00
Marc Sabatella
4f42fb0d82 fix #24735: correct layout of fret diagrams & chord symbols 2014-06-07 20:23:50 -06:00
ws
9a6d909a29 fix #25945 2014-06-05 11:37:21 +02:00
ws
e8be73f41b fix transposition when changing instrument 2014-06-04 10:40:26 +02:00
ws
b7dd5af499 update KeySig implementation 2014-06-03 15:28:10 +02:00
ws
7eca27a6c8 25921 2014-06-02 13:07:19 +02:00
ws
e1b1246e0c make SegmentType an global enum class 2014-06-01 20:24:29 +02:00
ws
27e3e060bb fix for mtest/measure 2014-05-31 13:23:27 +02:00
ws
6edea9fd9e fix mtest & regression 2014-05-31 12:04:41 +02:00
ws
3ae79f8b3e fix #25238 2014-05-30 17:25:52 +02:00
Nicolas Froment
5022f0271a Merge pull request #925 from BartlomiejLewandowski/25823-copied-tie
fix #25823 removal of ties
2014-05-30 16:09:03 +02:00
Nicolas Froment
e4ca2a3d23 Merge pull request #936 from Jojo-Schmitz/enum-class
convert as many "enum" as possible to "enum class", and make them ": char" in the due course #4
2014-05-30 15:39:43 +02:00
Nicolas Froment
1ac9d5e7a6 Merge pull request #928 from MarcSabatella/25648-move-accidentals
fix layout issues with offset chords & notes
2014-05-30 15:37:55 +02:00
Joachim Schmitz
6f3a7d1957 whitespace cleanup 2014-05-30 13:37:44 +02:00
Joachim Schmitz
562c92e2bc convert enum PlayMode into enum class
and make enum LayoutFlag a ": char" (making it an enum class requires
more work, as it is used for flags)
2014-05-30 13:37:35 +02:00
Joachim Schmitz
6c3c437b55 convert enum LayoutMode into enum class 2014-05-30 13:37:34 +02:00
Joachim Schmitz
eac6e60fbd convert enum BarLineType into enum class 2014-05-30 13:37:31 +02:00
ws
401f48fcd7 fix #25884 2014-05-29 14:04:14 +02:00
Marc Sabatella
c26d619282 fix #15125: spacing of lyric on offset note 2014-05-27 15:27:26 -06:00
Marc Sabatella
69e4c2170b fix #25809: space before initial chord with grace note after 2014-05-27 15:27:23 -06:00
Marc Sabatella
fbc676111d fix #25803: account for user offset during chord layout 2014-05-27 15:27:22 -06:00
Marc Sabatella
a7f05dac1b fix #25648: move accidentals with notes/chords 2014-05-27 15:27:20 -06:00
Joachim Schmitz
c79ae39d0e convert enum Anchor into enum class 2014-05-26 20:48:27 +02:00
Joachim Schmitz
7f1b612615 convert enum P_ID into enum class 2014-05-26 18:18:01 +02:00
Joachim Schmitz
0b43247956 convert enum StyleIdx into enum class 2014-05-26 15:31:36 +02:00
Bartlomiej Lewandowski
5494cbbb2e fix #25823 removal of ties
Added removal of ties that do not have an end element when pasted.
2014-05-23 22:06:21 +02:00
Joachim Schmitz
6c6c6ad22c convert unnamed enum to enum Repeat
and make it ": char". Making it a class requires more work,
unfortunatly.
2014-05-23 12:10:15 +02:00
Joachim Schmitz
931e837c5e convert enum ElementType into enum class 2014-05-23 10:35:27 +02:00
Joachim Schmitz
27f8ca023f convert enum DurationType to enum class 2014-05-23 10:34:57 +02:00
Joachim Schmitz
93799b7c58 convert unnamed enum to enum class CrossMeasure 2014-05-23 10:34:54 +02:00
ws
1cd4416c82 fix #25815 2014-05-22 09:04:08 +02:00
ws
fb0e15eb10 update measure properties + parts 2014-05-20 17:59:32 +02:00
ws
5ca653f70c fix #24468 2014-05-15 13:42:03 +02:00
Marc Sabatella
3e0f8fdd3f update to SMuFL 0.9 - glyphsWithAnchors 2014-05-13 21:39:02 -06:00
Werner Schweer
2f5b22ab48 Merge pull request #862 from Isensee/24951-grace-after-new
fix #24951: grace notes after enabled
2014-05-13 13:06:58 +02:00
Marc Sabatella
5c2aa173ef fix issues with accidental note distance versus accidental distance 2014-05-12 11:15:21 -06:00
Marc Sabatella
04c3ced6d6 migrate code to use cutOuts 2014-05-12 11:15:19 -06:00
vgstef
0f24dcdef9 Fix #21990 - Dragging staves problems in continuous view 2014-05-11 00:07:41 -04:00
Marc Sabatella
bbb45d92cc fix merge conflicts 2014-05-09 10:17:52 -06:00
Marc Sabatella
933cc07ddd improve handling of unisons and import of mirror property 2014-05-09 09:24:24 -06:00
Marc Sabatella
2cca9e0502 more tweaks; back out accidental change for now 2014-05-09 08:51:12 -06:00
Marc Sabatella
a43544247c fix #25648: manual positioning of note/chord should affect accidental 2014-05-09 08:51:09 -06:00
ws
76eb9ebfb0 use char for some enums 2014-05-07 18:09:01 +02:00
Nicolas Froment
c60e648179 Merge pull request #870 from MarcSabatella/25278-chord-symbol-spacing
fix #25278: allow chord symbols to overlap barline
2014-04-29 14:36:40 +02:00
Marc Sabatella
86096cac19 rebase, minor code cleanup 2014-04-28 17:12:30 -06:00
Marc Sabatella
d5a2141a3f add style parameter to control space to barline 2014-04-28 16:06:28 -06:00
Marc Sabatella
e6722713a6 correct measure width calculation 2014-04-28 16:06:26 -06:00
Marc Sabatella
2185d1c6be fix #25278: chords won't overlap barline 2014-04-28 16:06:25 -06:00
Marc Sabatella
0d8614d7b4 fix #25497: unison head size comparison fails sometimes 2014-04-28 15:59:33 -06:00
ws
c7adfb85d2 fix #24357 2014-04-25 10:37:34 +02:00
ws
199feb566d fix #23986 2014-04-24 16:06:38 +02:00
ws
5a02b9363c fix #25151 2014-04-24 10:58:50 +02:00
Isensee
69f250919e fix #24951: grace notes after enabled 2014-04-23 18:09:57 +02:00
Marc Sabatella
5ebf55bfa9 don't merge small & normal notes either; same override 2014-04-21 21:54:09 -06:00
Marc Sabatella
0c41921408 fix #25497: merge matching non-auto unison noteheads 2014-04-21 20:04:43 -06:00
Nicolas Froment
9296c7e6af Merge pull request #850 from MarcSabatella/25454-unison-voices
fix #25454: unisons should share noteheads despite duration difference
2014-04-19 17:28:34 +02:00
lasconic
b28274b139 fix #25456: Spurious key signatures appear when layout changes 2014-04-19 17:25:46 +02:00
Marc Sabatella
a13b0d9ff7 fix #25454: unisons should share noteheads despite duration difference 2014-04-18 14:46:42 -06:00
Werner Schweer
cbdfe78142 Merge pull request #840 from mgavioli/Fix_14576_hiding_courtesy_timesigs_corrupts_scores
Fix #14576 : hiding courtesy time sig corrupts score
2014-04-16 15:37:43 +02:00
Maurizio M. Gavioli
4a9c174d8d Fix #14576 : hiding courtesy time sig corrupts score
See http://musescore.org/en/node/14576 for discussion and examples.

1) Edited courtesy time sig (in any parameter: visibility, colour, text, ...) are saved to the score
2) When read back from file, such a time sig is not recognized as courtesy time sig
3) If the edited courtesy time sig no longer is at the end of a system, it is not removed.

The straight approach could have been to disable any editing of courtesy time sig. Rather than loosing this flexibility, I tried to improve the management of courtesy sigs:

1) not changed
2) when reading a time sig, if not at the beginning of a measure, now it is turned into a courtesy time sig
3) courtesy time sig removal now depends on its position in the system and not on the generated status.

This patch also do the same changes, in the same code areas, for courtesy key signs, as they behave in a very similar way.
2014-04-16 00:55:11 +02:00
Marc Sabatella
58722589b5 don't set stretchDistance after time signature 2014-04-14 22:45:44 -06:00
Marc Sabatella
cc2d769183 fix #25342: space from time signature to accidental 2014-04-14 22:45:40 -06:00
Marc Sabatella
edbeaeccde fix #25341: not enough space before chord with accidental and offset note 2014-04-14 22:45:39 -06:00
Maurizio M. Gavioli
9da8698926 Fix #20724 - Remove "Hide/show naturals" in keysig context menu.
In addition to the score-wide style (which is kept without changes), naturals for individual key sigs are controlled by a previous section break: if the previous measure has a section break, naturals are always hidden; otherwise they follow the score settings.

The KeySig::_showNaturals member var is removed, as well as all the code involving it. This should bring a substantial simplification of the matter, while keeping the possibility to control individual key sig instances.

A partial regression is introduced for 1.x scores, which did not have the concept of section break: they will show naturals originally hidden, until the proper section breaks are not added (which it likely to be done anyway, if the score contains several pieces).
2014-04-10 21:15:49 +02:00
Marc Sabatella
f92a102be5 fix #25320: too much space between accidental and offset left note 2014-04-09 08:13:08 -06:00
Marc Sabatella
5918788820 fix #23329: center small chords too 2014-04-09 08:13:07 -06:00
Marc Sabatella
8fbfaba3f6 fix #22473: conflicts involving breve and other non-standard notehead widths 2014-04-09 08:13:05 -06:00
lasconic
408b74df94 manually merge PR #797 and PR#808 2014-04-02 20:31:37 +02:00
ws
759e40b0a7 #24654 2014-03-25 18:34:14 +01:00
Joachim Schmitz
5977488174 eliminating needless \n in qDebug() calls
searching for 'qDebug.*\\n\'
2014-03-25 14:59:32 +01:00
Marc Sabatella
7cbed30dab slot unmatched accidentals into octave colums where possible 2014-03-20 12:38:41 -06:00
Marc Sabatella
cd8c4f2671 fix #25055: accidentals on large chords 2014-03-18 23:22:12 -06:00
Nicolas Froment
6d1da20ec1 Merge pull request #770 from MarcSabatella/3325-seconds
fix #3325: layout of seconds and other conflicts in chords
2014-03-18 11:17:47 +01:00
ws
be4a69ea3d fix #22710 2014-03-16 21:52:05 +01:00
Marc Sabatella
45aff5fa3f enforce accidental distance even for overlap 2014-03-16 11:53:47 -06:00
Marc Sabatella
3a1ee709ab improve font independence of accidental layout 2014-03-16 00:55:39 -06:00
Marc Sabatella
fbd5b5bd70 make sure floating point round doesn't interfere with detection of accidental conflict 2014-03-15 09:57:08 -06:00
Marc Sabatella
70d5e46bd6 fix for accidental position on first ledger line 2014-03-14 15:50:25 -06:00
Marc Sabatella
ec8cfa7cb0 fix accidental position with multiple seconds 2014-03-14 09:31:02 -06:00
Marc Sabatella
564bca393f switch to zig-zag accidental stacking order 2014-03-14 09:31:01 -06:00
Marc Sabatella
f0340749ab tighter spacing between sharp & natural 2014-03-14 09:31:00 -06:00
Marc Sabatella
aa29cb1471 fix sharp overlap/undercut 2014-03-14 09:30:58 -06:00
Marc Sabatella
18be140451 improve accidental positioning 2014-03-14 09:30:57 -06:00
Marc Sabatella
dfdbcd381e correct determination of stem width 2014-03-14 09:30:56 -06:00
Marc Sabatella
a0cbb55260 optimizations and debug statements 2014-03-14 09:30:54 -06:00
Marc Sabatella
4ad489539b fix #22463: correct accidental placement for offset chords 2014-03-14 09:30:52 -06:00
Marc Sabatella
aa8fa412ce fix double dot and one case with single dot 2014-03-14 09:30:51 -06:00
Marc Sabatella
53c6a41026 handle dots 2014-03-14 09:30:49 -06:00
Marc Sabatella
73f441b4c0 fixes, tweaks, and optimizations 2014-03-14 09:30:48 -06:00
Marc Sabatella
238570e263 fix #3325: layout of multi-voice seconds and unisons 2014-03-14 09:30:47 -06:00
ws
92e7bd7f73 fix regression: insert title 2014-03-14 12:08:12 +01:00
Werner Schweer
b9402f6b55 Merge pull request #751 from Gai-Luron/lost-pitch-mmRest
#24943 fix lost pich when load mmRest
2014-03-12 09:00:54 +01:00
lasconic
8c86ddb84e optimize layout when hiding parts 2014-03-10 10:36:36 +01:00
Gai-Luron
5080b5650b #24943 fix lost pich when load mmRest 2014-03-09 20:24:04 +01:00
Joachim Schmitz
3adc1ea6ed fix #14764
convert qDebug();abort() to qFatal() and if(cond) abort() to
Q_ASSERT(!cond), esp. for the benefit of Windows, where it is impossible
to set a breakpoint on the abort()
Also modernizing mscoreMessageHandler() and making it more informative
by adding file, line and function to the output.
2014-03-04 13:06:23 +01:00
lasconic
fdf255abc1 fix multimeasure rests and hidden part (2) 2014-03-03 16:50:45 +01:00
lasconic
3af29a9555 fix multimeasure rests and hidden part 2014-03-03 14:54:53 +01:00
ws
7841664e99 fix #23382 2014-02-25 13:50:53 +01:00
ws
46bdce7a2a fix #24572 2014-02-24 13:53:54 +01:00
lasconic
11c5868e00 fix #21861: note dot disappears if unison with two voices and a single dotted voice 2014-02-22 11:19:44 +01:00
lasconic
73954dfc1a fix #14146: Bars with text shouldn't be part of multi bar rests. Staff and System texts break mmRest and are part of it like tempo text and rehearsal mark 2014-02-13 16:45:10 +01:00
lasconic
bb2714c8d9 fix #24563: double-sided repeat converted to open repeat after multimeasure rest 2014-02-12 17:47:57 +01:00
lasconic
1d1e10891a fix #24562: Volta incorrect with multimeasure rests enabled 2014-02-12 10:58:00 +01:00
ws
92b23265b9 no gui in converter mode; more robust reading of bad score files 2013-12-31 12:33:57 +01:00
Maurizio M. Gavioli
7c9118399a Do not force repeat bar lines to "generated" status.
Dropping a repeat bar line (of any kind) or splitting an end-start-repeat bar line with a line break changes the status of the involved bar lines to "generated". This prevents any future edit (span, visibility, colour, ...) to be saved and to stick.

Fix: The current generated status of the bar line is used instead.
2013-12-28 23:47:32 +01:00
Maurizio M. Gavioli
d24c1fecf0 Fix clef change and courtesy clef display.
Clef changes and courtesy clef on/off display have several issues: changed clef is not always shown, courtesy clefs on/off is unreliable and so on.

In this fix:

- A clef change at measure boundary is always placed at the end of the previous measure (unless for the very first measure).
- This measure-final clef is never destroyed or re-created (the clef at the beginning of the next staff is managed by Score::layoutSystemRow() as before): this ensures a consistent context.
- Showing / hiding of a courtesy clef is managed by Clef::layout() rather than by Score::layoutSystemRow() as before.
- The clef change on measure boundary (always at the end of the previous measure and always present) is shown if:
-- there is not another clef at the beginning of the next measure (not a courtesy clef at all);
-- the score is set to show courtesy clefs
-- the previous measure is not the last of a repeat or of a section
-- the individual clef is set to show courtesy clef.
- In all other cases, the clef is hidden (i.e. laid out to a element without any symbol).
- The Clef Inspector is changed so that, if there is a pair of matching courtesy and main clef, their Show Courtesy flags are kept in sync (modifying either modifies both)
2013-12-24 20:17:57 +01:00
Werner Schweer
1cced6047e Merge pull request #568 from AntonioBL/gracenotesbeam
Beam mode for grace notes, based on the code for normal notes.
2013-11-26 06:14:10 -08:00
ws
a155186190 add ScoreFont to Symbol class; extend master palette symbols dialog; misc cleanups 2013-11-25 15:02:55 +01:00
AntonioBL
4a5527a217 beam mode for grace notes 2013-11-25 09:13:28 +01:00
ws
e6e7abbd6d smufl integration: articulation 2 2013-11-12 09:29:13 +01:00
ws
e972638237 smufl integration: fix flags 2013-11-12 09:29:13 +01:00
ws
733c1934db smufl integration, part I 2013-11-12 09:29:12 +01:00
ws
c6cfc3fcf6 fixes for editing multi measure rests 2013-10-30 14:21:08 +01:00
ws
6fa855c98a fix #23350 2013-10-30 09:42:08 +01:00
ws
a2d7beff3d fix mtest 2013-10-28 15:52:32 +01:00
ws
b32bdedba3 fix #23127 2013-10-25 12:17:42 +02:00
ws
40762ee983 synchronize loop marker with pianoroll 2013-10-18 12:21:01 +02:00
ws
aa616648b8 fix #23140 2013-10-15 16:42:22 +02:00
ws
524e4742ef any spanner breaks multi measure rest 2013-10-15 15:39:32 +02:00
ws
835ef3d5b6 fix #23164 2013-10-14 15:35:00 +02:00
wschweer
0bc17a9740 fix #22977 2013-10-07 18:39:14 +02:00
ws
da044d7714 fix #22978 2013-10-02 10:26:29 +02:00
ws
65e548faed fix undo after mm rest change 2013-09-28 14:50:01 +02:00
ws
7d919a97e9 fix some regressions for mm rests 2013-09-27 18:43:25 +02:00
ws
02d7b91649 fix #22857 2013-09-25 11:13:50 +02:00
ws
df3b4a295e fix #22789 2013-09-23 13:41:27 +02:00
ws
4d30f4e727 fix mtest 2013-09-23 12:26:16 +02:00
ws
c84969b094 fix mm rest creation for parts 2013-09-20 17:21:12 +02:00
ws
528d2976c2 fix regressions for new mm rest implementation 2013-09-20 12:59:31 +02:00
ws
3a23fc9709 better mm rest layout 2013-09-19 17:39:18 +02:00
ws
5800ba4771 more fixes&tests for mm rests 2013-09-19 17:17:22 +02:00
ws
48b4930aee Merge branch 'mmrest' 2013-09-19 15:09:53 +02:00
ws
239ffd7456 change implementation of multi measure rests 2013-09-19 15:08:54 +02:00
lasconic
1e3f6f671e fix #22667: Adjacent notes on wrong side of stem 2013-09-18 22:05:17 +02:00
ws
ef021e151e fix regression: musicxml export of clef 2013-09-16 18:33:16 +02:00
lasconic
8231dfc9b6 fix #22711: Dropped frame or barline not showing in continuous view 2013-09-16 18:32:25 +02:00
ws
3977415583 fix for cautionary clefs 2013-09-16 15:44:14 +02:00
lasconic
6d72a897d7 fix #22249: bracket position in Continuous view 2013-09-14 02:30:40 +02:00
Maurizio M. Gavioli
70746d0542 Attaching stems to brevis (and squared brevis ) to draw longa (and squared longa):
Stems were not properly attached to brevis. This derived from several factors:

*) mscore-20.xml were not precise for brevis and squared brevis glyphs
*) glyphs themselves were displaced horizontally (probably to attempt some centring)
*) recent changes to centre note heads in segments assume specific glyph positioning

All these factors have been made consistent among themselves.

This commit only fixes Emmentaler font; fix for Gonville will follow once this change will be tested enough.
2013-09-10 01:17:39 +02:00
ws
4b7da8b9c2 fix: undo clef change did not update score 2013-09-04 17:41:30 +02:00
ws
85f9416dee fix #22493 2013-09-03 14:00:27 +02:00
Maurizio M. Gavioli
d1cc2841a7 Breves are vertically misaligned and in different horiz. positions when 'up-stemmed' and 'down-stemmed' (assuming the had a stem).
Fixed by adding the Note::HEAD_BREVIS case when centring note heads.
2013-08-30 01:11:48 +02:00
vgstef
e33f0300f0 Fix loop shortcut state, support multiple scoreviews, add loop on selection 2013-08-22 21:32:16 -04:00
ws
9dba0be445 updates&fixes for tie editing 2013-08-22 12:18:37 +02:00
ws
d5964f81dd allow ties to connect to note in same or different voice 2013-08-21 12:00:12 +02:00
ws
8231b278c8 fix whole note position in small staff 2013-08-12 16:42:29 +02:00
ws
edc8008961 updates for style 2013-08-09 11:42:45 +02:00
ws
889fda3817 fix #22083 2013-07-29 18:06:11 +02:00
ws
6cbea6b518 fix 22043 2013-07-29 11:13:06 +02:00
ws
881781cfbe fix #21990 2013-07-23 19:08:46 +02:00
ws
c05df37fa0 fix regression 2013-07-23 18:49:26 +02:00
ws
7bb794ddab fix #21218 (again) 2013-07-17 18:23:13 +02:00
ws
38afa5ee40 fix #20869 2013-07-16 10:01:44 +02:00
ws
58c07cc8e3 fix #21835 2013-07-16 09:03:47 +02:00
ws
c4e95c7766 fix notehead position of whole notes 2013-07-15 19:41:34 +02:00
ws
d0b29ababa add new style parameter 'barAccidentatalDistance' 2013-07-15 11:57:07 +02:00
ws
2abfd73485 enable mtest plugins 2013-07-11 12:25:25 +02:00
ws
69bb4acb91 fix #21755 2013-07-10 18:01:37 +02:00
ws
3f63dcd6d4 use interval tree for list of spanners 2013-07-05 11:24:14 +02:00
ws
ee4b4ea554 regression: fix note line 2013-07-04 13:40:25 +02:00