Commit graph

351 commits

Author SHA1 Message Date
ws
abf64419bb fix #14548 2014-10-08 10:57:24 +02:00
AntonioBL
853af91b2c fix #30681 2014-10-06 18:44:08 +02:00
ws
a614472df7 fix #34876 2014-10-04 18:22:52 +02:00
Nicolas Froment
6006fb6ea6 Merge pull request #1330 from MarcSabatella/33246-hyphen-melisma-space
Spacing of melisma syllables
2014-09-29 18:00:23 +02:00
ws
74065ff7f4 fix #33616 2014-09-29 11:58:44 +02:00
ws
705bd2c315 fix delete nested tuplet in linked stave context 2014-09-29 09:39:45 +02:00
ws
a0d7ad6644 remove ChangeHairpin(); remove unecessary calls to updateHairpin() 2014-09-24 11:19:07 +02:00
Marc Sabatella
ab15653628 avoid overlaps of melisma syllables, extenders, and hyphens 2014-09-22 11:56:32 -06:00
Marc Sabatella
fa7fb047df fix #31901: voice of lyric in 1.3 score ignored 2014-09-21 11:49:09 -06:00
Maurizio M. Gavioli
e7465e9b7c Fix Measure::read() as indicated by failing tests. 2014-09-12 12:52:18 +02:00
Maurizio M. Gavioli
cbfebb38ec Bar lines: Fix custom span and generated management.
This PR should complete the revision of bar line flag managements.

- Make sure single bar line span changes affect both the `_customSpan` and the `_generated` flags.
- Make sure that manually bringing a custom-spanned bar line to default span resets the `_customSpan` flag and, if no other customization is in effect. the `_generated` flag.
- Deleting a measure bar line resets it to default configuration.
- Fix a missing initialization of `Measure::_endBarLineColor` variable.
- To simplify tests and debug, check boxes for the `BarLine::_customSpan` and the `BarLine::_customSubtype` have been added to the debugger dialogue box.

As far as system-initial bar lines are concerned, they were made un-editable by a recent commit (https://github.com/musescore/MuseScore/pull/1300). This PR add a few consistency changes:

- system-initial bar lines do not accept drops;
- they are not saved to score output files and are ignored when reading from them;
- their internal `_customSybtype` and _customSpan` flags are always false;
- they do not show up in the Inspector (if a system bar line is selected, the Inspector remains blank)

This PR DOES NOT include the special system-initial double bar management recently discussed. This will be part of a specific PR in the next days.

Together with previous PR's, this should ensure that:

- bar lines are written to a score output file only when some customization is in effect which cannot be reconstructed when reading back;
- any measure bar line can be edited;
- any measure bar line user edit is saved, written to the score file and read back properly;
- no system bar line edit is possible.
2014-09-11 01:31:10 +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
107772a987 fix #32441: bad layout with empty key signature 2014-09-07 15:40:23 -06:00
Maurizio M. Gavioli
91e88fe9fa Bar lines: fixing custom type and generated management
There are some inconsistencies in the current management of bar line `_generated` flag and user-modified type:

- Bar lines created by the New Score Wizard are flagged as non-generated, as well as bar lines of measures manually **appended** by the user, while bar lines of measures **inserted** are flagged as generated.
- If a generated bar line is individually changed of typed, it remains flagged as generated, it is not saved and the change is lost upon saving and re-loading.
- The management of the internal flag `BarLine::_customSubtype` is not always consistent.
- The `Measure::_endBarLineGenerated` flag was not always restored properly by undo.

This PR introduces the following fixes:

- The `_generated` flag is consistently used for bar lines whose type can be reconstructed from the context and then do not need to be saved to the output file.
- Normal bar lines are **always** created as generated: initially created by the Wizard, manually appended or inserted.
- Bar lines with custom type (i.e. different from the type which can be expected according to the bar line context) are always flagged as non-generated, ensuring the custom type is written to the output file.
- The `Measure::_endBarLineGenerated` flag is stored by `ChangeEndBarLineType()` and restore upon undo.
- Some test reference scores, based on the inconsistent bar line `_generated` flag, have been uniformed.

Notes:

- Tests about measure (and then bar line) appending, inserting and relative undo's are already included in the `tst_parts` test suite.
- Some inconsistencies remain in the management of custom bar line span and of system-initial bar lines: for the sake of simplicity, they will be dealt with in separate PR's.
2014-09-06 10:36:35 +02:00
ws
bab5bd83b2 fix #30966 2014-08-29 10:35:17 +02:00
ws
0af0091e11 fix #30961 2014-08-27 14:36:42 +02:00
ws
4cc20f8679 fix #29911 2014-08-26 21:01:21 +02:00
ws
e72678a075 fix #30836 2014-08-26 15:07:40 +02:00
ws
26dfd95eb9 fix #30431 2014-08-25 19:31:07 +02:00
ws
9b27beff0c fix #30586 2014-08-25 12:29:46 +02:00
lasconic
cacad697f9 fix #30581: Crash on load of 1.3 score with parts and measure number on all staves 2014-08-24 10:41:30 +02:00
Andrei Tuicu
c3ff25358b fix 30281
Fix readability
Optimize string allocation
	modified:   libmscore/accidental.cpp
	modified:   libmscore/ambitus.cpp
	modified:   libmscore/articulation.cpp
	modified:   libmscore/barline.cpp
	modified:   libmscore/chord.cpp
	modified:   libmscore/chordline.cpp
	modified:   libmscore/chordrest.cpp
	modified:   libmscore/dynamic.cpp
	modified:   libmscore/fingering.cpp
	modified:   libmscore/hairpin.cpp
	modified:   libmscore/harmony.cpp
	modified:   libmscore/jump.cpp
	modified:   libmscore/keysig.cpp
	modified:   libmscore/marker.cpp
	modified:   libmscore/measure.cpp
	modified:   libmscore/note.cpp
	modified:   libmscore/ottava.cpp
	modified:   libmscore/rest.cpp
	modified:   libmscore/score.h
	modified:   libmscore/tempotext.cpp
	modified:   libmscore/text.cpp
	modified:   libmscore/timesig.cpp
	modified:   libmscore/tremolo.cpp
	modified:   libmscore/trill.cpp
	modified:   libmscore/volta.cpp
	modified:   mscore/scoreaccessibility.cpp
2014-08-21 20:33:11 +03:00
ws
8547e27734 fix #30041 2014-08-21 15:01:54 +02:00
Dag Henning Liodden Sørbø
b33a828174 fix #21257 : Breath is placed correctly when dropped on a note in other voice than default 2014-08-20 17:00:52 +02:00
Andrei Tuicu
6460485d3f Score accessibility system.
Provides screen-reader feedback for the selected element.
2014-08-19 00:09:13 +03:00
Nicolas Froment
11be7ba1b8 Merge pull request #1146 from andreituicu/next_element_command
Next element command
2014-08-17 17:13:39 +02:00
Andrei Tuicu
9caa98b130 Added 4 new navigation commands:
- next element
- previous element
- first element
- last element
2014-08-17 17:25:21 +03:00
Joachim Schmitz
facd9bce0b fix 2 compiler warnings
and convert enum DrumsetKi9nd into an enum class in the due course
2014-08-17 12:50:22 +02:00
ws
6d46589c56 fix #29431 2014-08-13 21:01:21 +02:00
ws
f8c8747691 fix #23700 2014-08-13 17:45:53 +02:00
ws
9e93f15037 fix #29511 2014-08-13 15:42:55 +02:00
ws
0c44719a58 fix #29241 2014-08-11 15:26:29 +02:00
ws
a2a87a90c8 move Jump & Marker from Segment to Measure 2014-08-05 20:40:43 +02:00
ws
2f8b654ef0 fix #28936 2014-08-05 16:09:14 +02:00
Nicolas Froment
b6b99527d4 Merge pull request #1093 from MarcSabatella/28881-rest-space
fix #28881: bad spacing of full measure rest in multivoice context
2014-08-04 11:19:51 +02:00
Marc Sabatella
6c9234ad63 fix #25409: always at least 4sp below lyrics 2014-08-03 22:01:41 -06:00
Marc Sabatella
42f8ece19d fix #28881: bad spacing of full measure rest in multivoice context 2014-08-03 21:02:37 -06:00
ws
499a0f4464 ignore empty text element when reading score 2014-07-31 13:45:05 +02:00
ws
bc891168eb fix #25876 2014-07-29 18:49:13 +02:00
ws
ec344a3cf9 fix #25876 2014-07-28 15:54:58 +02:00
ws
e8e5f99c71 fix #28331 2014-07-27 15:06:49 +02:00
ws
66fcc1628c fix #28306 2014-07-27 12:39:00 +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
ws
28a31ccddd fix #27901 2014-07-21 14:28:37 +02:00
ws
17910f7441 remove id from spanner class 2014-07-21 14:28:37 +02:00
ws
1e94611118 partial fix for #18510 2014-07-17 15:28:02 +02:00
Bartlomiej Lewandowski
b76327c6f9 Refactored common code from measure and score scanElements to segment 2014-07-16 17:44:03 +02:00
ws
a2c0bf6188 fix #26476 2014-07-15 12:49:51 +02:00
ws
7aa55d072e fix #25941 2014-07-02 09:56:05 +02:00