Commit graph

554 commits

Author SHA1 Message Date
Nicolas Froment
ec0332ab0c Merge pull request #2553 from Fyrult/54501-tiedEnharm
fix #54501: Tied enharmonics incorrectly notated
2016-05-12 14:19:15 +02:00
ZackTheCardshark
cdc82364e4 Fix #100396: change "note heads" to "noteheads"
See http://music.stackexchange.com/questions/42722/notehead-or-note-head

(also correct "fo" to "for" in comment)
2016-05-02 21:22:29 -04:00
ws
8b03bc4f4e fix 106366: <Select all similar element> is broken 2016-04-20 10:45:51 +02:00
Fyrult
3e79544db8 fix #54501: Tied enharmonics incorrectly notated 2016-04-17 23:22:32 -04:00
ws
28921bec16 cross beam fixes 2016-04-13 12:05:47 +02:00
ws
3f1aa2ed1f misc. updates to layout 2016-04-13 12:05:46 +02:00
ws
2874c409ae specialize MasterScore() from Score() 2016-04-13 11:46:21 +02:00
ws
bbd802f8ae framework for partial relayout 2016-04-13 11:35:21 +02:00
ws
66455c0cb3 more layout regression fixes 2016-04-13 11:20:05 +02:00
ws
9ec1d02471 code cleanups & speed optimizations 2016-04-13 11:18:14 +02:00
ws
dfba52ba77 more regression fixes & cleaups 2016-04-13 11:10:18 +02:00
ws
492709f203 code cleanups 2016-04-13 11:10:17 +02:00
ws
3d8749ffe9 some regression fixes, code cleanups 2016-04-13 11:08:01 +02:00
ws
9f933d8503 Layout reorganization 2016-04-13 11:05:04 +02:00
lasconic
5d4dfd666d fix undo of linked staff addition when part is present 2016-03-24 11:29:17 +04:00
Nicolas Froment
bf99e72201 Merge pull request #2278 from MarcSabatella/85956-drum-arrow-tpc
fix #85956: drum note altered by arrow changes pitch on reload
2016-03-14 14:33:24 +04:00
lasconic
5c4ddcf6f2 fix #98756: Scaling of symbols in part set to scaling of full score 2016-02-19 13:24:56 +04:00
Nicolas Froment
50d6898a12 Merge pull request #2306 from MarcSabatella/5098-copy-note-transpose
fix #5098: tpc corruption on copy of note
2016-01-29 18:26:12 +04:00
lasconic
9f05f02636 fix #81731: Crash when repeatedly pressing Shift+A 2016-01-22 11:34:31 +04:00
Marc Sabatella
d28b36d0f9 fix #5098: tpc corruption on copy of note 2016-01-12 15:25:37 -07:00
Marc Sabatella
4699672531 fix copy/paste & palette add for figured bass & lyrics 2015-12-24 09:11:35 -05:00
ws
d8e4373435 make DPI=72 constant 2015-11-16 14:24:47 +01:00
Marc Sabatella
4450f7576b fix #85956: drum note altered by arrow changes pitch on reload 2015-11-04 08:22:24 -07:00
Werner Schweer
ad302568e4 Merge pull request #2155 from mgavioli/Fix#19155_change_glissando_anchors
Fixes #19155 Editable anchors for glissandi and other note-anchored spanners
2015-10-28 16:49:05 +01:00
lasconic
bf3ca4d273 Merge branch '2-3-line' of https://github.com/MarcSabatella/MuseScore into MarcSabatella-2-3-line
On branch MarcSabatella-2-3-line
2015-10-28 12:41:40 +01:00
lasconic
1cc0a09c1c fix merge conflict 2015-10-28 09:56:21 +01:00
ws
6f2cf4c2c1 fix build for gcc 5.2 2015-10-27 11:30:09 +01:00
lasconic
6931c7fd5d fix #82671: Copy pasting a single lyric syllable doesn't work 2015-10-07 21:21:38 +02:00
Maurizio M. Gavioli
49edb8d0c3 Fixes #19155, #22861 (duplicate of the former) and #23100.
__References__:
Issues:	https://musescore.org/en/node/19155 https://musescore.org/en/node/22861 https://musescore.org/en/node/23100

__Description__:
Allows to change the start and end note to which a glissando is anchored after it has been entered. Either anchor can be changed independently.

The user interface follows the current working of other 'snappable' lines. Once either the start or end grip is selected:
- `[Shift]+[Left]` snaps the anchor to the previous chord, defaulting to its top note.
- `[Shift]+[Right]` snaps to the next chord, defaulting to its top note.
- `[Shift]+[Up]` snaps to the note above (possibly in a chord, voice or staff above the current one).
- `[Shift]+[Down]` snaps to the note below (possibly in a chord, voice or staff below the current one).

This permits to set the anchor points of a glissando to any note in the score, allowing several glissandi between the notes of the same two chords and other complex configurations (glissandi skipping intermediate chords, start and end notes in different voices or staves, and so on).

It is possible to move the anchor to a different staff of the same instrument, but not to a different instrument; also, it is not possible to 'cross' a change of instrument in the same staff.

__Known limitations__:
- The `[Shift]+[Up]` and `[Shift]+[Down]` use the same note-finding functions as the `[Alt]+[Up]` and `[Alt]+[Down]`actions which move the selection cursor to the above and below note, even across voices or staves. Occasionally, in particular if the note immediately above or below is not time-aligned, the algorithm has little expected results; however, the behaviour is already known to the user. Improving the algorithm would benefit both uses.

__Notes__:
- Most of the added infrastructure is not specific to glissando but to any spanner anchored to notes, then it should also add after-the-fact "snap to" note support to note-anchored text line.
- When moving an anchor, the algorithm usually prefers a note in the same voice/staff of the old note if it exists; if there is none, it tries other voices of the same staff.
- The change of anchor is undoable.
- The fix corrects the management of the `Chord::_endsGlissando` flag, taking into account that a chord can be the ending point of several glissandi and removing one of them not necessarily means the chord no longer ends a glissando (another glissando may still exists).
- The fix also improved the rendering of the glissando wavy line, with better alignment with anchor notes and, with glissando text, better text-line spacing.
2015-09-30 09:16:47 +02:00
Marc Sabatella
f144d7c978 fix #9352: instrument change transposition 2015-09-25 08:35:55 -06:00
Marc Sabatella
975cfcd2bf fix articulations on non-scaled staves 2015-09-01 13:42:17 -06:00
Marc Sabatella
2e7e27b715 support scaled or non-scaled line distances 2015-09-01 13:42:17 -06:00
Maurizio M. Gavioli
fae2191fc3 Fix #71931 - TAB: Option to show or hide back-tied notes
__References__:
- issue https://musescore.org/en/node/71931#comment-341166
- forum thread https://musescore.org/en/node/71886

Adds an option to the TAB staff type config. dlg box controlling whether back-tied notes are shown or not.

Should maintain backward compatibility, as the value of this new staff type parameter is by default set to `~_slashStyle`, which was the original rule for this detail.

Should also support forward compatibility, as the new staff type tag in score files would be simply ignored by older versions.
2015-08-25 08:11:01 +02:00
Maurizio M. Gavioli
8e0aeaa579 TAB: Support for input and display of bass string notations
Supports 'standard' configuration for bass string notations in historic tablatures (lutes and other plucked instruments, as well as viols), both of the French and of the Italian style. This should fill the last 'big hole' in historic TAB support.

Bass strings (or bourdons) are extra strings in addition to the 6 'standard' strings, which are not represented by tab lines and were indicated by other typograhic devices in historic sources. Among the innumerable variations shown in sources, this implementation supports the following styles, chosen to be general enough to suit the majority of cases, without requiring new parameters in the TAB style dialogue box:

- French: the first 4 bass courses are indicated by a fret mark in the 'seventh' TAB position (below bottom string) with 0, 1, 2 or 3 slashes prefixed; other bass courses are indicated, also in the 'seventh' TAB position, by the string number (from 4 on) and cannot contain a fret mark (as they didn't in historic sources).
- Italian: the first 2 bass courses are indicated by a fret mark in the 'seventh' TAB position (abover top string) with 1 or 2 'ledger lines' underneath; other bass courses are indicated, also in the 'seventh' TAB position, by the string number (from 9 on) and cannot contain a fret mark (as they didn't in historic sources). Rhythm marks above these indication are raised to leave room for them.

Both styles do not blindly assume that French style is top-to-bottom and Italian is 'upside-down' -- as historic sources are -- but adapt to the actual string order of the TAB. The choice between the two styles depends on the TAB using numbers or letters for the fret marks.

The implementation does not try to detect if the TAB is really of a historic style and applies either bass string notation whenever more strings are used than there are TAB lines. If this proves unsuitable to modern usage, some better heuristics can probably be found.

For a discussion and some screen shots, see: https://musescore.org/en/node/67261

**Note entry**

During TAB note entry, if the instruments has more strings than the TAB has lines, the string cursor can be moved outside of the TAB body, one position below for 'top-to-bottom' TAB's and one position above for 'upside-down' TAB's.

Further up or down movements add, to the 'blue cursor rectangle', markers indicating which is the actual target string (the cursor does not actually move), equal to the marks a note in that string will receive (slashes, ledger lines or string ordinal, according to the style and the string); during input the user will then receive the same info as when reading entered notes.

Other Notes:

- the `InputStatus::_string` variable, holding the current target TAB string in TAB note entry, changed meaning from the __visual__ string index to the __physical__ string index: this allows a better containment of the peculiarities of the individual TAB styles within the `StaffStyle` class, leaving other classes somehow freer of concern about TAB visual order and other peculiarities. As this variable is only used with TAB's, this change should not affect other functions.

- Some calculation for rhythm symbols have been moved from `TabDurationSymbol::draw()` to `TabDurationSymbol::layout()`, hopefully speeding up the drawing process.

- In fonts for historic styles, '10' has been replaced by 'X' both in fret numbers and in string ordinals, as this is more common in historic sources. Currently, this is not configurable; an additional style parameter could be added in future, if there will be enough request for it.
2015-08-17 10:52:05 +02:00
Marc Sabatella
7ffbb5c4ec also allow double click to add keysig or timesig on chordrest 2015-07-03 14:18:40 -06:00
Marc Sabatella
adaaf10789 fix #66241: note offset not preserved for tab 2015-06-22 12:52:42 -06:00
lasconic
92aa545254 fix #64861: Linked tablature fret with dot doesn't display bracket 2015-06-11 21:49:55 +02:00
lasconic
805c54ef06 fix #59766: Stems do not align with DO and TI note head 2015-06-03 10:23:01 +02:00
lasconic
157332c338 fix #60651: Fret conflict shouldn't be exported to PDF or printed 2015-05-15 00:06:18 +02:00
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 `&lt;endSpanner&gt;` 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 &lt;Glissando&gt; 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
lasconic
df99f30cfe fix #41546: Hairpins are inversed by double clicking on palette 2014-12-17 11:02:37 +01:00
lasconic
abbf2c830b enable double click on palette to add hairpins 2014-12-16 18:07:51 +01:00
Marc Sabatella
3534be5a0b fix #41511: bad tpc1 for notes entered in keys other than C 2014-12-15 15:08:33 -07:00
Marc Sabatella
663dbac362 fix #30011: crash on delete of staff with cross staff note 2014-11-26 21:28:17 -07:00
lasconic
fc7188b329 fix note parenthesis SMuFL way, use proper accidental parenthesis from SMuFL font 2014-11-25 18:01:41 +01:00
Marc Sabatella
98eafe2700 fix #39621: accessible info for drum and slash notation 2014-11-20 17:15:36 -07:00
Marc Sabatella
58e5a74588 fix #8924: native support for slash notation 2014-11-17 22:02:12 -07:00
Nicolas Froment
71546afe81 Merge pull request #1435 from andreituicu/fix_38211
fix #38211
2014-11-07 17:06:49 +00:00
lasconic
864ea8812f fix possible crash in undo redo accidentals 2014-11-06 15:03:16 +00:00
Andrei Tuicu
151e8a2ab4 fix #38211
modified:   libmscore/note.cpp
	modified:   libmscore/rest.cpp
	modified:   libmscore/rest.h
2014-11-05 19:18:51 +02:00
Joachim Schmitz
8511cbf747 fix some more QComboBox items' capitalization
in UI files and
for note head names, where they get set programatically.
Also change Xcircle to XCircle.
2014-10-15 20:02:29 +02:00
Marc Sabatella
7fe99b6647 fix #36621: display middle C as C4 2014-10-13 15:32:53 -06:00
lasconic
04f93ae4f6 fix Fa notehead stem up, see #34881 2014-10-01 10:45:36 +02:00
ws
58763e6cc5 fix #33366 2014-09-22 14:31:48 +02:00
ws
e72678a075 fix #30836 2014-08-26 15:07:40 +02:00
Nicolas Froment
1c07b891d3 Merge pull request #1210 from MarcSabatella/30571-drum-crash
fix #30571: crash on drum note entry
2014-08-23 18:30:04 +02:00
lasconic
5ca40f824b plugin framework: move changeAccidental to note properties 2014-08-23 18:13:27 +02:00
Marc Sabatella
f53f15d76a fix #30571: crash on drum note entry 2014-08-23 09:40:41 -06:00
ws
e77edb9227 fix #19197 2014-08-23 14:18:17 +02:00
Joachim Schmitz
6b1a7192b0 fix translation of some accessibility infos
fix translation of some accessibility infos:
* accidentals
* articulations
* clefs
* jumps  (need to run thru Transifex first to be seen)
* keysigs
* marker (need to run thru Transifex first to be seen)
* noteheadnames (not shown anywhere currently)
* tremolo
* trills (need to run thru Transifex first to be seen)

fix some capitalization issues
2014-08-22 18:29:52 +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
cd74c4f1ed fix #30071 2014-08-20 09:50:56 +02:00
Joachim Schmitz
91b1e1dc4a fix the remaining (pre-)translation issues
in the hope to have caught them all now
2014-08-19 16:22:30 +02:00
Andrei Tuicu
6460485d3f Score accessibility system.
Provides screen-reader feedback for the selected element.
2014-08-19 00:09:13 +03: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
ws
6d46589c56 fix #29431 2014-08-13 21:01:21 +02:00
ws
46f7d96376 fix #29421 2014-08-13 16:36:09 +02:00
Joachim Schmitz
c608e44b56 fix #29546: translate noteheadnames in inspector too 2014-08-13 11:22:21 +02:00
lasconic
278a3d477a make #29546 clearer hopefully 2014-08-13 10:38:07 +02:00
Maurizio M. Gavioli
e8065bba8d Merge pull request #1125 from mgavioli/Fix_29451_No_augm_dots_in_tabs
Fix #29451 - No augm. dots in TAB styles which use them
2014-08-13 00:58:50 +02:00
Maurizio M. Gavioli
9594716f69 Fix #29451 - No dots in TAB styles which use them
In a TAB with the "Stem through staff" style, augmentation dots are not shown.

Fixed, by invoking the function which creates dots for standard staff (`setDotY()`); this function is in a work-flow which is not executed for TAB's (as a number of layout steps, like those for accidentals, are not needed for TAB's).
2014-08-12 20:36:23 +02:00
Joachim Schmitz
50313ccafe translate noteheadnames in editdrumset 2014-08-12 16:40:58 +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
lasconic
760490fe10 fix #24580: Incorrect masking of fret mark 2014-08-07 17:39:31 +02:00
Bartlomiej Lewandowski
9142f563ae Added subtype for note - notehead group 2014-07-22 14:54:49 +02:00
Bartlomiej Lewandowski
565374a606 Moved note head names from inspector.ui to note.h 2014-07-22 14:54:49 +02:00
ws
17910f7441 remove id from spanner class 2014-07-21 14:28:37 +02:00
ws
5158978025 fix #27811 2014-07-18 18:38:14 +02:00
lasconic
3a68b492c5 fix accidental parenthesis in palette by using an icon, it's the same than the note one, added a shortcut to add bracket around note and accidental 2014-07-18 00:11:00 +02:00
lasconic
322cd3795e improve compatibility with 1.3 scores having midi user offtome offset 2014-07-17 16:22:16 +02:00
ws
ac5ac01ca8 fix #26586 2014-07-17 15:28:02 +02:00
Joachim Schmitz
16e2cef027 turn enum TextStyleType into enum class
not sure why I did shy away from it earlier, guess it was the shere
amount of the changes needed. Not sure it is worth the effort...
2014-07-15 14:23:19 +02:00
ws
a4d6faa2ed fix #27646 2014-07-15 11:01:24 +02:00
Werner Schweer
6520e4b305 Merge pull request #1028 from mgavioli/Fix_27201_Plugin_methods_returning_QObjects
Fix #27201 - PLUGINS: methods returning pntrs to QObject lead to crash.
2014-07-11 17:58:39 +02:00
ws
25f25dd183 link note attached elements for parts 2014-07-10 18:59:44 +02:00
Maurizio M. Gavioli
7fc68113a1 Fix typos 2014-07-05 00:46:21 +02:00
Maurizio M. Gavioli
6eba8a2c8e Fix #27201 - PLUGINS: methods returning pntrs to QObject lead to crash.
For details, including an analysis of the problem, see http://musescore.org/en/node/27201

This fix only covers `Q_INVOKABLE` methods in the `Note` class; there are probably more of them on other classes.
2014-07-04 11:38:41 +02:00
ws
5a9d926ba4 fix #26586 2014-06-30 17:22:07 +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
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
3f2fc6166a move NoteHeadGroup to NoteHead::Group
needed to make it available to the plugin framework
2014-06-26 12:01:10 +02:00
Joachim Schmitz
5bc83194af move GlissandoType to Glissando::Type
needed to make it available to the plugin framework
2014-06-26 11:57:50 +02:00
Joachim Schmitz
b6be7a9852 rename AccidentalRole and AccidentalType to Role and Type 2014-06-26 11:57:41 +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
ws
f3caba78f6 fix #25600 2014-06-26 11:41: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
Marc Sabatella
ee1b20ef15 fix #26451: state after microtonal accidental 2014-06-17 23:17:11 -06:00
Joachim Schmitz
f39e4317d9 fix warnings reg. wrong order of evaluation 2014-06-17 14:38:39 +02:00
Joachim Schmitz
836db56543 fix warnings reg. wrong format specifier 2014-06-17 14:23:15 +02:00
Nicolas Froment
862ddaf062 Merge pull request #944 from Jojo-Schmitz/warnings
Fix warnings when building in RELEASE mode
2014-06-17 12:44:58 +02:00
Marc Sabatella
264eee216a fix #22205: microtonal accidentals display as naturals after earlier accidental 2014-06-12 20:13:41 -06:00
Joachim Schmitz
9a636ac9c6 remove some unneeded '\n'
and also fix a typo
2014-06-10 09:27:55 +02:00
ws
9a6d909a29 fix #25945 2014-06-05 11:37:21 +02:00
ws
b7dd5af499 update KeySig implementation 2014-06-03 15:28:10 +02:00
ws
e1b1246e0c make SegmentType an global enum class 2014-06-01 20:24:29 +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
Joachim Schmitz
6f3a7d1957 whitespace cleanup 2014-05-30 13:37:44 +02:00
Joachim Schmitz
4e048f1712 convert enum Key into enum class
and to be able to ret rid of the KEY_ prefix, change enum Tpc's members
by adding (back) the prefix TPC_
2014-05-30 13:37:39 +02:00
Joachim Schmitz
f76946c2cf convert unnamed enum into enum class IconType
and change to a better sentinel for end of list.
Also move the Q_DECLARE_METATYPE(Ms::ValueType) nearer to its
definition.

This should conclude the work on the enums in libmsore/mscore.h.
2014-05-30 13:37:32 +02:00
Joachim Schmitz
79474e3fcc convert unnamed enum into enum TextStyleType
more work needed to make it an enum class
2014-05-30 13:37:30 +02:00
Marc Sabatella
fbc676111d fix #25803: account for user offset during chord layout 2014-05-27 15:27:22 -06:00
Joachim Schmitz
641a7a5a91 convert enum NoteType into enum class 2014-05-27 10:35:28 +02:00
Joachim Schmitz
826c956013 convert enum SelectType into enum class 2014-05-27 10:34:08 +02: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
Joachim Schmitz
0d6cc4ffe0 convert unnamed enum into enum Tpc
but haven't had the guts to make it an enum class yet
2014-05-26 12:27:29 +02:00
Joachim Schmitz
788852752d convert unnamed enum into enum class Prefer 2014-05-26 12:27:28 +02:00
Joachim Schmitz
931e837c5e convert enum ElementType into enum class 2014-05-23 10:35:27 +02:00
Joachim Schmitz
a1c6c8c493 improve enum ElementFlag
more work needed to convert it into a class, same issue as with
ArticulationShowIn.
2014-05-23 10:35:22 +02:00
Joachim Schmitz
6b3bd55258 convert enum AccidentalType to enum class 2014-05-23 10:35:08 +02:00
Joachim Schmitz
7085e52486 convert enum AccidentalRole to enum class 2014-05-23 10:35:07 +02:00
Joachim Schmitz
93799b7c58 convert unnamed enum to enum class CrossMeasure 2014-05-23 10:34:54 +02:00
lasconic
f5978e241b fix dot visibility export 2014-05-22 18:57:48 +02:00
ws
436c116b01 add default string table 2014-05-13 17:15:43 +02: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
Joachim Schmitz
4d6bdf9256 avoid use of a reserved keyword for a function name
even when it is inline
2014-05-12 12:52:13 +02: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
3eb60085cc partial fix for #25390: layout of 1.3 scores 2014-05-09 08:51:07 -06:00
ws
76eb9ebfb0 use char for some enums 2014-05-07 18:09:01 +02:00
Isensee
e3e7aa0a8a fix #24951: fix warning 2014-05-06 17:36:20 +02:00
ws
83b044b2cd fix #25628 2014-05-05 12:41:50 +02:00
ws
f9059a269b remove stafftype subclasses 2014-04-30 13:39:16 +02:00
Isensee
69f250919e fix #24951: grace notes after enabled 2014-04-23 18:09:57 +02:00
lasconic
ed660d9b61 import ontime and offtime offset from 1.3 scores 2014-04-23 15:07:37 +02:00
ws
5fb591e966 fix #25411 2014-04-23 11:09:14 +02:00
ws
5fb40769fa fix #25434 2014-04-22 17:02:03 +02:00
lasconic
0a09d4482d fix #25394, fix #25457: do not sort notes in chord while looping through notes in chord 2014-04-19 19:29:43 +02:00
lasconic
0d6e381aec update to SMuFL 0.9 2014-04-18 18:55:33 +02:00
ws
549b0c0187 fix #25436 2014-04-18 11:44:08 +02:00
ws
9ff2640046 fix #25340 2014-04-17 12:32:28 +02:00
ws
5363f93b8c fix #25231 2014-04-14 13:16:46 +02:00
ws
1aea2ed3ab fix #25360 2014-04-14 10:39:27 +02:00
ws
b424d8ef47 fix 25360 2014-04-11 14:50:53 +02:00
ws
d2405f0e8d fixes for transposing instruments 2014-04-10 13:14:22 +02:00
ws
e534cccef8 bug fixes for concert pitch switch 2014-04-09 16:09:21 +02:00
ws
4532ce17a0 fix last commit 2014-04-09 11:11:02 +02:00
ws
d280091f22 implement separate tpc values for transposed view 2014-04-09 09:40:48 +02:00
Nicolas Froment
65b3f71286 Merge pull request #817 from MarcSabatella/flip-dot
allow dot flip for notes on spaces
2014-04-04 10:54:45 +02:00
ws
4fc4667f0f Merge branch 'master' of github.com:musescore/MuseScore 2014-04-03 09:17:31 +02:00
Marc Sabatella
a632edd5f9 allow dot flip for notes on spaces 2014-04-02 14:37:13 -06:00
lasconic
408b74df94 manually merge PR #797 and PR#808 2014-04-02 20:31:37 +02:00
ws
5a547d31b2 first fix for #18099 2014-04-02 18:12:08 +02:00
ws
a8ef38ba99 fixes for pianoroll editor 2014-04-02 10:49:54 +02:00
ws
ecc4ee0fa5 sort notes after changing pitch 2014-03-31 11:07:55 +02:00
ws
89d649939d fix pianoroll editor; editing event ontime and length 2014-03-28 16:30:06 +01:00
ws
ef3a7da47c fix #25052 2014-03-26 11:02:23 +01:00
Joachim Schmitz
5977488174 eliminating needless \n in qDebug() calls
searching for 'qDebug.*\\n\'
2014-03-25 14:59:32 +01:00
ws
e6a2034b84 fix #24999 2014-03-18 15:53:52 +01:00
ws
080cddb2e0 remove unstyled text 2014-03-14 11:36:16 +01:00
lasconic
63de5a3711 option to disable loading of parts and images 2014-03-04 17:40:23 +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
11c5868e00 fix #21861: note dot disappears if unison with two voices and a single dotted voice 2014-02-22 11:19:44 +01:00
ws
5f7e1d595a reenable bagpipe embellishment 2013-12-23 17:17:05 +01:00
Maurizio M. Gavioli
2acd24ba1c Finish renaming of Tablature class to StringData
Renames also the files hoding the class itself:
- libmscore/tablature.cpp => stringdata.cpp
- libmscore/tablature.h => stringdata.h

No actual change in the code, only updated references to stringdata.h in #include's.
2013-12-05 21:37:28 +01:00
Maurizio M. Gavioli
d60f44cc09 Updated SymId enum (sym.h) and Sym::synNames/symUserNames to SMuFL 0.7:
- all SMuFL 0.7 entities (as names or symbol id) are listed
- a few (15 in all) additional symbols are added to the end for
   - SMuFL stylistic alternates MuseScore needs to access directly
   - precomposed ornaments, SMuFL provides as sequences of glyphs
   - glyphs SMuFL does not provides (yet?), but has been used as symbols

Updated mscore/glyphnames.json to match the above

Updated code points which were using SymId which have changed from SMuFL 0.6 to 0.7

Fixed note heads palette.

Note: The Dynamics palette is broken, as it accesses the mscore glyphs directly, but the palettes use Bravura. The usage of HTML texts in this palette is unclear: please advise.
2013-11-29 01:11:33 +01:00
ws
f5cfb12dc5 revert PR #566 2013-11-27 11:51:16 +01:00
Werner Schweer
784aa2f9ad Merge pull request #566 from Isensee/23543-update_accidental
fix #23543: additional update for acidentals
2013-11-26 06:14:30 -08:00
ws
3fb5ace3d9 add vtest for note heads 2013-11-25 17:28:43 +01:00
ws
e9fd861fbc hide noteHeads array 2013-11-25 15:42:40 +01:00
ws
a155186190 add ScoreFont to Symbol class; extend master palette symbols dialog; misc cleanups 2013-11-25 15:02:55 +01:00
Isensee
3f40cbcf21 fix #23543: additional update for acidentals 2013-11-24 16:08:25 +01:00
heuchi
b493277c99 update accidentals of tied notes when tie is removed 2013-11-17 19:19:00 +01:00
lasconic
d10ae91762 git sacred harp noteheads 2013-11-15 14:41:00 +01:00
Maurizio M. Gavioli
5eca759f8b A proposal for aligning note heads to SMUFL conventions.
It should re-enable all the note head functionality as per ver. 1.3, with most (all?) equal results.

- No new glyph added to font(s)
- Existing mscore glyphs have been matched to SMUFL note head symbols:
-- partly on similarity of shape
-- partly on similarity of semantics (in particular most of the noteDo..., noteRe..., ... heads)
- The dropped HEAD_BREVIS_ALT note head group have been re-instated (dropping it was a regression from 1.3)
- fonts/mscore/glyphnames.json has been updated
- fonts/mscore/metadata.json has NOT been updated (I have not understood its contents)


It may be improved incrementally, should the need arise.
2013-11-15 11:18:16 +01:00
ws
e6e7abbd6d smufl integration: articulation 2 2013-11-12 09:29:13 +01:00
ws
02b264f068 smufl integration, part II 2013-11-12 09:29:12 +01:00
ws
733c1934db smufl integration, part I 2013-11-12 09:29:12 +01:00
Maurizio M. Gavioli
ea9bf0494a Fix post 23402: note dragging in TAB
In TAB's, when notes are dragged, for instance, above an already occupied string, other notes were not re-fretted.

See http://musescore.org/en/node/23402 for an example.
2013-11-05 00:48:08 +01:00
lasconic
b6760f430d more string cleanup 2013-11-04 00:07:00 +01:00
ws
05d827a9ee rework of InputState 2013-10-24 12:09:00 +02:00
ws
e6cbbabe2b move anchor while dragging dynamics 2013-10-22 12:05:31 +02:00
lasconic
b7ed237604 fix #23067: Notehead changed to Brevis in 1.3 score appears as cross 2013-10-08 00:07:26 +02:00
Maurizio M. Gavioli
3254eb3009 Fix the crash when (copying/cutting and) pasting a single lyrics to a single note. 2013-10-05 17:04:41 +02:00
Maurizio M. Gavioli
3ed3546e76 Rename Tablature class to StringData
Refactoring the following names:

Classes:
Tablature => StringData

Member variables and methods:
Instrument::tablature() => stringData()
Instrument::setTablature() => setStringdata()
InstrumentTemplate::tablature => stringData
InstrumentData::_tablature => _stringData
InstrumentData::tablature() => stringData()
InstrumentData::setTablature() => setStringData()

There is no change in logic or program behaviour, only renaming.
2013-09-15 18:43:48 +02:00
ws
517627a21f update clef implementation 2013-09-05 16:38:04 +02:00
Maurizio M. Gavioli
3fa534df78 Fix 22168 - Augmentation dots in TAB with stem through staves are misplaced.
Fixed by assigning a default distance fret_no - dot and dot - dot in Note::layout2().
2013-08-31 20:22:09 +02:00
ws
6559fe0a82 add play property for note; fix slur editing 2013-08-23 13:55:54 +02: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
Leon Vinken
f7a9423c1b Initial implementation bagpipe palette 2013-08-04 11:12:09 +02:00
Leon Vinken
9a1d84c4c3 Framework for bagpipe palette 2013-08-04 11:12:09 +02:00
ws
58c07cc8e3 fix #21835 2013-07-16 09:03:47 +02:00
ws
d022d963cf fix problem with note head direction 2013-07-15 14:36:51 +02:00
ws
4d5e886b60 fix #12970 2013-07-15 08:15:20 +02:00
ws
ee4b4ea554 regression: fix note line 2013-07-04 13:40:25 +02:00