Commit graph

17799 commits

Author SHA1 Message Date
Dmitri Ovodok
ed03bd6440 Fix wrong hairpin length if score ends with MM rest 2020-04-17 00:05:32 +03:00
Dmitri Ovodok
265b5f9b2b Extract searchSegment function to search a segment by its x coordinate 2020-04-17 00:05:32 +03:00
Dmitri Ovodok
60169a6082 Extract searchStaff function to search a staff by its y coordinate 2020-04-17 00:05:31 +03:00
anatoly-os
a5c92e2040
Merge pull request #5643 from dmitrio95/mscx-read-crash
Fix a crash on MSCZ reading, add a way of handling such errors
2020-04-16 13:34:06 +03:00
anatoly-os
613a4e39fe
Merge pull request #5738 from dmitrio95/anchors_drawing
Rework anchor lines drawing
2020-04-16 13:33:03 +03:00
anatoly-os
7ee4b9e8fe
Merge pull request #5933 from igorkorsukov/mue/pianoroll_move
Moved pianoroll source to separate dir
2020-04-16 12:50:06 +03:00
Igor Korsukov
6bda685f8e moved pianoroll source to separate dir 2020-04-16 11:10:34 +02:00
anatoly-os
a4fe113036
Merge pull request #5430 from mirabilos/font-generation
Fix font generation and regenerate our TTFs
2020-04-15 23:40:32 +03:00
mirabilos
69d1d629d5
regenerate “our” fonts with genttf 2020-04-15 16:17:45 +02:00
mirabilos
f97ae87f23
update genttf to use the options last used to generate mscore.ttf
document fontforge Generate() option used as well
2020-04-15 16:14:37 +02:00
mirabilos
375751fe38 rename .sfd to match .ttf, so it can be used with genttf 2020-04-15 16:12:16 +02:00
anatoly-os
09aeb75dfb
Merge pull request #5915 from Jojo-Schmitz/spacer-crash
fix #303611: Adding fixed spacer can clash with vertical frame below, causing a crash.
2020-04-15 13:04:54 +03:00
anatoly-os
14a423e641
Merge pull request #5921 from Jojo-Schmitz/MSVC-2019
Change to MSVC 2019
2020-04-15 12:59:08 +03:00
anatoly-os
b30f199f60
Merge pull request #5931 from igorkorsukov/mue/mixer_move
Moved mixer sources to separate dir
2020-04-15 12:54:39 +03:00
anatoly-os
d031ca0c22
Merge pull request #5938 from Howard-C/timeline
Fix code style inconsistencies in timeline.cpp/.h files
2020-04-15 12:53:38 +03:00
anatoly-os
65c5bc520f
Merge pull request #5940 from Jojo-Schmitz/compiler-warnings
fix compiler warnings in Release mode
2020-04-15 12:53:09 +03:00
anatoly-os
887f745b20
Merge pull request #5332 from mattmcclinch/294542-notehead-scheme
fix #294542: Allow setting notehead scheme on a note-by-note basis in the Inspector
2020-04-15 00:15:52 +03:00
anatoly-os
6425dc5f48
Merge pull request #5941 from jpear1/fixCursorJump
fix: #299697: Repeat play a bar, goes back to first bar briefly
2020-04-15 00:13:59 +03:00
anatoly-os
c03cbb746c
Merge pull request #5939 from Spire42/303864-support-command-line-building-using-VS2019
Fix #303864: Support command-line building using Visual Studio 2019
2020-04-15 00:11:31 +03:00
anatoly-os
ef8b8a05ff
Merge pull request #5633 from Marr11317/metaedit
Add support for deleting (custom) metatags.
2020-04-15 00:10:59 +03:00
Jack Pearson
4199fb0190 fix: #299697: Repeat play a bar, goes back to first bar briefly 2020-04-14 13:38:53 -07:00
Joachim Schmitz
156b1a8e79 fix compiler warnings in Release mode 2020-04-14 22:23:08 +02:00
Joachim Schmitz
4a7019792f Switch to Microsoft Visual Studio 2019
for AppVeyor and builds using CMakeSettings.json
2020-04-14 21:55:16 +02:00
Marr11317
3b939aef06 Add support for deleting (custom) metatags. 2020-04-14 15:33:13 -04:00
J. Edward Sanchez
4d35cb85f4 Fix #303864: Support command-line building using Visual Studio 2019
Enhanced the msvc_build.bat batch file to support Visual Studio 2019 (in addition to VS2017) and to automatically detect the highest supported installed version of Visual Studio and use it.
2020-04-14 09:54:23 -07:00
Matt McClinch
4c0db9b19b fix #294542: Allow setting notehead scheme on a note-by-note basis in the Inspector
Resolves: https://musescore.org/en/node/294542.

Up until now, notehead scheme has only been a StaffType property. If a Note is going to have its own notehead scheme, it seems fitting to do a bit of reorganization. Here is a summary of the changes made:
- Moved enum class NoteHeadScheme to NoteHead::Scheme, alongside NoteHead::Group and NoteHead::Type.
- Added HEAD_AUTO as a possible value for NoteHead::Scheme.
- Moved scheme2userName(), scheme2name(), and name2scheme() from class StaffType to class NoteHead.
- Renamed Pid::STAFF_NOTEHEAD_SCHEME to Pid::HEAD_SCHEME. This change is reflected in the Plugin API, with Element property staffNoteheadScheme being renamed to headScheme. This should not break too many existing plugins, because the NoteHeadScheme enum values have never been exposed until now. Speaking of which,
- Exposed the NoteHead::Scheme enum values to the Plugin API as NoteHeadScheme.HEAD_AUTO, etc. And finally, (and the main point of all of this):
- Added a property of type NoteHead::Scheme to class Note, and exposed it via the Inspector. If set to HEAD_AUTO (the default), the StaffType’s noteHeadScheme will be used. Otherwise, this will override the StaffType’s noteHeadScheme.
2020-04-14 10:26:09 -04:00
anatoly-os
89e776219a
Merge pull request #5431 from mgavioli/mscore_add_Other_baroque_ornaments
Add SMuFL "Other baroque ornaments" (U+E570–U+E58F) to mscore.ttf
2020-04-14 16:50:43 +03:00
anatoly-os
a59f72e05f
Merge pull request #5619 from Howard-C/tremolo-layout
More beautiful default layout related to tremolos (fix #20390) (+ collect_artifacts)
2020-04-14 16:35:27 +03:00
Howard-C
cd5c8d4dba Add initialization in header file 2020-04-14 21:24:54 +08:00
Howard-C
836472b082 Fix code inconsistencies
- `some_property` to `someProperty`
- `unsigned int` to `unsigned`
2020-04-14 20:56:58 +08:00
anatoly-os
9bb6d4a13b
Merge pull request #5930 from SKefalidis/tiny-ui-fix
Fixed clipping issue in Note Spelling (edit style ui)
2020-04-14 15:48:42 +03:00
anatoly-os
8198aeb93c
Merge pull request #5849 from Jojo-Schmitz/compiler-warnings
fix compiler warnings
2020-04-14 15:39:16 +03:00
Joachim Schmitz
17a978ad8c fix compiler warnings 2020-04-14 14:29:17 +02:00
anatoly-os
2a1b76e691
Merge pull request #5749 from Spire42/297426-move-playhead-to-selected-element
Fix #297426: The playback cursor is not repositioned when selecting items other than notes, rests or measures
2020-04-14 15:26:45 +03:00
J. Edward Sanchez
f363220a1b Fix #297426: The playback cursor is not repositioned when selecting items other than notes, rests or measures
Improved the functionality of the playhead (a.k.a. the playback cursor) so that whenever the user selects an element, the playhead is automatically repositioned to the element's time position. Previously, this worked only for noteheads and rests, but it now works for note stems, beams, augmentation dots, accidentals, ties, slurs, articulations, time signatures, key signatures, clefs, tempo changes, dynamics, lines, barlines, breaks, spacers, measure numbers, text, and so on.

Special cases handled:

* Barlines. The playhead is moved to the start of the measure to the right of the barline, unless it's the last barline in either the entire score or the system, in which case the playhead is moved to the start of the measure to the left of the barline.

* Brackets always have a time position of zero, so the playhead is moved to the start of the first measure in the system that the bracket belongs to.

* Instrument names always have a time position of zero, so the playhead is moved to the start of the first measure in the system that the instrument name belongs to.
2020-04-14 05:15:05 -07:00
anatoly-os
b2640e0ab6
Merge pull request #5788 from agusterol/master
fix #153656: Added advanced preference key io/midi/pedalEventsMinTicks for tweaking the amount of ticks between a pedal off event and a pedal on event
2020-04-14 14:13:13 +03:00
Howard-C
9e4e4ac8d2 Make the improvements work with tremolos with non-default beam style 2020-04-14 19:07:35 +08:00
Joachim Schmitz
fd24a190c3 assert 2020-04-14 12:51:33 +02:00
Joachim Schmitz
58c12c8623 fix #303611: Adding fixed spacer can clash with vertical frame below, causing a crash. 2020-04-14 12:51:33 +02:00
anatoly-os
e482d4ed29
Merge pull request #5932 from Jojo-Schmitz/print-part
fix #303800: When viewing a part, print tool tip implies score will be printed
2020-04-14 13:45:50 +03:00
anatoly-os
97a94510be
Merge pull request #5936 from Jojo-Schmitz/midi-convert
fix #303780: allow ".midi" as output in `converterMode`
2020-04-14 13:39:44 +03:00
Igor Korsukov
c243b3931a moved mixer sources to separate dir 2020-04-14 12:39:38 +02:00
Howard-C
dc08f911ce Address review 2020-04-14 18:11:17 +08:00
Howard-C
0769d8932b Update vtests
+ fix one bug regarding `_spatium` not considerated
2020-04-14 18:11:17 +08:00
Howard-C
0162361c1e Turn QPair to std::pair 2020-04-14 18:11:16 +08:00
Howard-C
b817afe89f Make the tremolo strokes less steep in any case except crossStaffBeamBetween() (+ collect_artifacts)
The case of two chords having the same `up()` value is already taken care of in the usage of `extendedStemLenWithTwoNoteTremolo()`.
2020-04-14 18:11:15 +08:00
Howard-C
8e5b82db33 Move extendedStemLenWithTwoNoteTremolo() to layout.cpp to avoid calling it in a Chord member function
+ provide a commented-out part of adjusting stem lengths for cross-staff two-note tremolos that currently isn't working in some cases
2020-04-14 18:11:06 +08:00
Howard-C
bcad104d73 Improve layout of two-note tremolos of chords without stem 2020-04-14 18:04:00 +08:00
Howard-C
7450cbff16 Improve layout related to two-note tremolos 2020-04-14 18:03:59 +08:00
Howard-C
43ab590066 Improve layout related to single-note tremolos
fix #20390: tremolo through stem collide with ledger lines
2020-04-14 18:03:58 +08:00