Commit graph

315 commits

Author SHA1 Message Date
Marc Sabatella
4b7bb58171 fix #56786: bend & tremolo bar on standard staff 2015-04-18 10:35:58 -06:00
Leon Vinken
41155d3cfa fix #55436 2015-04-12 10:17:00 +02:00
Nicolas Froment
8237182f42 Merge pull request #1914 from MarcSabatella/51886
fix #51866: enharmonic changes made with J lost on save
2015-04-08 14:45:45 +02:00
ws
01952574e3 add tests for scripting interface 2015-04-03 18:24:12 +02:00
ws
e9222d1b45 move enums Accidental::Role and ::Type 2015-04-03 18:24:12 +02:00
Marc Sabatella
afcf806ec3 fix #51866: enharmonic changes made with J lost on save 2015-03-26 19:10:24 -06:00
ws
8282094dd6 code cleanups; rename instr() to instrument() 2015-03-26 13:11:46 +01:00
lasconic
17249ba1ee expose note dots to plugin, read only 2015-03-19 10:39:18 +01:00
Maurizio M. Gavioli
bb8026f25a Fix #49856 - Partial fix for pasted glissando not cloned
If selection containing a glissando is copied into a staff which has another staff linked to it, the glissando is copied into the first staff but not cloned into the linked staff.

Original issue: http://musescore.org/en/node/49856

Partial, cheap fix: if pasting a note-anchored spanner into a staff which has other linked staves, the spanner is ignored.

This at least ensures that the linked staves are consistent among themselves after the pasting; also, as correct cloning of manually added spanners across all the linked staves is properly supported, the un-copied spanner can be added later by the user without structural issues.
2015-03-16 12:04:28 +01:00
ws
3a7106e3ef write tpc2 only for notes of transposing instruments 2015-03-12 15:30:19 +01:00
ws
39164cecf8 fix #49916 Crash when adding, changing and removing staves with slurred grace notes 2015-03-10 16:21:27 +01:00
lasconic
3911aaaa7b fix #49751: Crash when removing stave with glissando 2015-03-05 18:57:48 +01:00
Maurizio M. Gavioli
0f688a47ff Added a test. 2015-03-01 12:19:56 +01:00
Maurizio M. Gavioli
9d9c8624f2 Fix reading back note-anchored cross-staff spanners from a lower to a higher staff
If a cross-staff spanner goes from a lower to a higher staff, the start point is saved **after** the end point.

When reading it back, the end point is ignored because a matching start point has not been met yet.

This applies for instance to glissandi from the bass to the treble staff of a grand staff.

Fixed by adding to the XML reader spanner map a temporary place-holder spanner with the end point data, to be looked for when meeting the start point.

This fix only deals with note-anchored spanners.
2015-02-28 19:53:31 +01:00
lasconic
a59103f903 fix #48996: Crash when undoing tie. On paste, remove pending ties at the end of the selection 2015-02-26 19:53:59 +01:00
ws
c47ec85d4a fix #48811 Redo Paste does not restore ties 2015-02-26 11:02:33 +01:00
lasconic
6f4416a0b3 fix typo 2015-02-25 19:53:10 +01:00
Maurizio M. Gavioli
e75affae0d Merge pull request #1809 from mgavioli/Fix_29426_TAB_tied_note_drag
Fix #29426 - TAB: dragging a note to another string does not affect notes tied to it
2015-02-25 16:57:01 +01:00
Maurizio M. Gavioli
f38b42b744 Fix #29426 - TAB: dragging a note to another string does not affect notes tied to it
See issue http://musescore.org/en/node/29426
2015-02-25 13:30:22 +01:00
Nicolas Froment
7295f90d68 Merge pull request #1808 from mgavioli/Fix_29761_34391_TAB_note_and_stem_dot_alignment
Fix #29761 & Fix #34391 TAB note and stem dot alignment
2015-02-25 12:27:14 +01:00
ws
bc7e2fc5cc Glissando type isn't properly replaced 2015-02-25 11:43:55 +01:00
Maurizio M. Gavioli
e4fcb0193f Fix #29761 - TABs: note dots do not align if different fret marks width 2015-02-25 00:01:28 +01:00
Nicolas Froment
2393477e54 Merge pull request #1785 from mgavioli/Fix_48096_crash_on_glissando_editing
Fix 48096 - Crash on glissando editing
2015-02-19 11:36:06 +01:00
ws
329124c789 some layout optimizations/claenups 2015-02-19 10:33:46 +01:00
Maurizio M. Gavioli
eef2d4ad68 Fix 48096 - Crash on glissando editing
Entering edit mode on a glissando and trying to move the grips results in crash.

Fixed by disabling glissando editing altogether, as it does not make sense until proper support for grip nudging and anchor note selecting is added.
2015-02-19 00:32:22 +01:00
Nicolas Froment
802fa8aede Merge pull request #1754 from mgavioli/TAB_transposition
Fix #47526 - TAB: Make tabs aware of staff transpositions.
2015-02-18 15:26:41 +01:00
Maurizio M. Gavioli
f5d831a023 Glissando as a multi-segment line.
- Implemented as a sub-class of `SLine`.
- Anchor type changed from CHORD to NOTE: allows to attach glissando start and end points to individual notes, rather than generically to chords (with note within the chord chosen by the program).
- The Glissando element is now stored in the `Note::_spannerFor` list.
- `Chord::_glissando` has been removed and replaced by a `bool _endsGlissando`, recording whether the chord is at the end of glissando (as gliss.-end chords require more space if mid-measure or system-initial).
- Debugger UI for `Chord` updated accordingly.
- Glissando in now save into score file as a spanner, within the initial note, and with appropriate `<endSpanner>` tag in the Glissando ending note.
- Existing scores with the old Glissando file format are correctly read back.

Notes:

- MusicXML import/export of the new Glissando implementation NOT IMPLEMENTED.
- This version can read scores from older versions, but older versions **cannot read** scored from this version (they do not expect a <Glissando> tag within a Note). Does this require a NEW FILE VERSION NUMBER?
- This implementation would allow rather easily to move the start and end anchors around (as for slurs) to override the note/chord chosen by the program when the glissando is initially created; but the UI for this is not implemented yet.
2015-02-18 12:21:56 +01:00
Maurizio M. Gavioli
23f3348405 TAB: Make tabs aware of staff transpositions.
Feature has been requested and discussed at length in the forum thread: http://musescore.org/en/node/31016

To implement this, the fret-to-pitch relation has been made dependent of the staff, as each staff may have an individual transposition value in addition to the string data. And -- in addition -- on tick, in preparation of dealing with ottavas and capos.
2015-02-18 10:11:58 +01:00
ws
94a9b0b322 fix layout regression: wrong stem direction 2015-02-17 22:17:22 +01:00
ws
ec8913a19b fix #45601 changing note value can lead to missing accidentals; simplify layout() 2015-02-17 20:22:38 +01:00
Nicolas Froment
91a2d0111b Merge pull request #1605 from MarcSabatella/42941-text-property-drop
fix #42941: text properties not copied on copy/paste or palette add
2015-02-16 10:46:06 +01:00
Maurizio M. Gavioli
9ba3305764 TAB: Do not show notes on strings without a tab line.
Also, improve physical-to-visual string conversion for physical strings without a visual tab line and vice versa, to return the nearest existing string or line.
2015-02-15 00:28:30 +01:00
ws
8dacb7f27b fix #47141 Wrong results ion lined staves (Tab and standard) when dragging notes with mouse 2015-02-12 11:41:39 +01:00
ws
673bc39bfc when dragging notes with mouse, update links 2015-02-09 16:28:57 +01:00
Andrei Tuicu
87a45e7e2c Use Selection filter to filter screenreader extra info. 2015-02-03 03:06:16 +02:00
ws
822aa31be3 cleanup for score dirty status 2015-02-02 10:54:48 +01:00
Werner Schweer
ac8c99ba2d Merge pull request #1692 from MarcSabatella/check-multi-voice
fix #9355: only offset rests / flip stems if multivoice visible
2015-02-02 10:10:46 +01:00
ws
74d9829f02 fix #26531: Hang on up/down of note tied to itself 2015-01-28 15:20:33 +01:00
Marc Sabatella
4b4ac70a78 fix #9355: only offset rests / flip stems if multivoice visible 2015-01-27 23:33:26 -07:00
Marc Sabatella
fdd5715700 fix mtest 2015-01-17 15:32:14 -07:00
Marc Sabatella
a749f2d541 fix #44626: fix shortcuts for grace notes 2015-01-17 14:40:28 -07:00
Marc Sabatella
53bf8d3786 fix #44526: wrong spelling of grace note for transposing instrument 2015-01-17 09:38:51 -07:00
Marc Sabatella
a668ef06b5 fix #44186: tpc calculated in wrong key with transposing instruments 2015-01-12 15:40:22 -07:00
ws
411a8d98f1 fix for mtest 2015-01-05 15:15:48 +01:00
ws
8ca1cf300e fix #43276: dragging notes with mouse in score or linked parts isn't correctly reflected in part or score respectively 2015-01-05 14:19:14 +01:00
Marc Sabatella
4f7c1f33ae fix #42941: text properties not copied on copy/paste or palette add 2015-01-01 22:54:12 -07:00
Marc Sabatella
036a6f9975 fix #42541: drum grace notes laid out incorrectly on load 2014-12-28 08:27:41 -07:00
Marc Sabatella
223cd20af9 fix #41766: use double sharp/flat where appropriate when transposing 2014-12-19 16:27:06 -07:00
lasconic
0ae917e00b do no send link of dots to plugins, just number 2014-12-18 18:02:44 +01:00
Marc Sabatella
a52827e501 add ability to turn off automatic capitalization of chord symbols 2014-12-17 12:37:06 -07:00