Commit graph

473 commits

Author SHA1 Message Date
ws
c8c1c12208 update instrument list in part when inserting/deleting measures 2015-03-26 13:11:46 +01:00
ws
8282094dd6 code cleanups; rename instr() to instrument() 2015-03-26 13:11:46 +01:00
Nicolas Froment
2a24988819 Revert "avoid dots for notes which may result in 256th notes/rests or shorter" 2015-03-11 23:18:01 +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
ws
787373aa97 fix #49836 Delete time signature corrupts key sginature 2015-03-09 18:31:49 +01:00
Nicolas Froment
1af29ba143 Merge pull request #544 from AntonioBL/dots_256th
avoid dots for notes which may result in 256th notes/rests or shorter
2015-03-09 16:00:51 +01:00
ws
d952c4c11a fix #45231 Undo does not restore sound of deleted instrument change, crash on subsequent undo 2015-03-05 16:55:09 +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
Nicolas Froment
fd51063ec1 Merge pull request #1753 from MarcSabatella/46736-spanner-voice-2
fix #46736: spanner end cannot be set to note in voice > 1
2015-02-22 09:36:25 +01:00
lasconic
caec1dcdae add crop page function to plugin framework 2015-02-20 22:30:10 +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
06d18e80f7 Merge pull request #1757 from MarcSabatella/46941-change-voice-corruption
fix #46941: corruption on "change voice" command
2015-02-17 15:27:06 +01:00
ws
4c18e20c3d fix #44836 Deleting a bar causes slurs in following bar(s) to disappear 2015-02-17 09:37:02 +01:00
Marc Sabatella
eeddc86529 fix #46941: corrupt on change voice command 2015-02-16 15:29:41 -07:00
Marc Sabatella
8ceb2a4486 fix #46736: spanner end cannot be set to note in voice > 1 2015-02-11 10:13:57 -07:00
ws
cf37ea318a fix #31696 Add Drumset checkbox to the Mixer 2015-02-11 13:17:06 +01:00
Nicolas Froment
502085246d Merge pull request #1746 from andreituicu/fix_5358
Fix 5358 : Play whole chord when adding note
2015-02-11 09:55:56 +01:00
Werner Schweer
df13fd2375 Merge pull request #1574 from MarcSabatella/40246-album-c
fix #40246: reinstate initial "C" key signature in album scores
2015-02-10 16:38:00 +01:00
Marc Sabatella
515955b29e fix #46926: issues with selection of current note in tab staff 2015-02-09 17:16:13 -07:00
Werner Schweer
db9adc4c2e Merge pull request #1739 from MarcSabatella/breath-3
Fix layout of breaths
2015-02-09 10:04:28 +01:00
Andrei Tuicu
430c39c2e0 Play whole chord when adding note. 2015-02-08 22:06:26 +02:00
Marc Sabatella
d79bd3a502 fix #46401: breath segments placed too early 2015-02-06 22:32:34 -07:00
Marc Sabatella
083a2e77cf fix #46356: crash after undo of paste with tie forward 2015-02-03 21:44:18 -07:00
Joachim Schmitz
0877c72e79 fix crash when joining scores with breath or caesura after last note 2015-02-03 17:58:46 +01:00
ws
822aa31be3 cleanup for score dirty status 2015-02-02 10:54:48 +01:00
Werner Schweer
e951b925e5 Merge pull request #1707 from MarcSabatella/section-pause
fix #37191: playback of breath & section break pauses
2015-02-02 10:30:45 +01:00
Werner Schweer
6124ba9ef7 Merge pull request #1691 from MarcSabatella/45776-crash-select-end-mmrest
fix #45776: crash on select to end score with mmrest
2015-02-02 10:09:11 +01:00
Marc Sabatella
4becc39ecb fix #37191: playback of breath & section break pauses 2015-01-29 14:57:36 -07:00
ws
3b22424ac9 update playlist after tremolo copy/paste 2015-01-29 10:19:25 +01:00
Marc Sabatella
24a133abb4 fix lastMeasureMM() 2015-01-27 20:56:28 -07:00
Marc Sabatella
18ca4c9de4 fix #45546: crash on split staff in non-top part 2015-01-26 15:37:10 -07:00
Werner Schweer
140a510eec Merge pull request #1642 from mgavioli/potential_crash_deleting_chord_with_lyrics
Potential crash when deleting chords with lyrics.
2015-01-19 13:49:27 +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
21619aac7f Potential crash when deleting chords with lyrics.
Deals with a possible crash when deleting a chord with lyrics, if the lyrics list has empty items.
2015-01-16 11:51:45 +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
Werner Schweer
e241e50442 Merge pull request #1588 from Jojo-Schmitz/album
allow subsequent scores to have less parts/staves than the first when joining via album
2015-01-02 08:46:53 +01:00
Joachim Schmitz
a6735b7a9c allow subsequent scores to have less parts/staves
than the first when joining via album
2014-12-30 09:44:34 +01:00
Marc Sabatella
a03cd4bfd0 fix #33476: select similar and other mmrest issues 2014-12-29 16:59:01 -07:00
lasconic
97050de970 add access to more metadata from plugins, add ability to change page size from plugin 2014-12-28 18:20:12 +01:00
Marc Sabatella
175f8a6cac suppress C keysig on next score if previous score ends in C 2014-12-27 15:25:39 -07:00
Marc Sabatella
6c1ce0047d fix #40246: reinstate initial "C" key signature in album scores 2014-12-27 12:11:46 -07:00
lasconic
b1040d8588 fix #41516: Voltas & repeat text do not migrate to top when instrument raised to top of the score 2014-12-20 20:56:40 +01:00
Nicolas Froment
78eac9c96b Merge pull request #1557 from MarcSabatella/41766-transpose-chord-double
fix #41766: use double sharp/flat where appropriate when transposing
2014-12-20 13:45:13 +01:00
Marc Sabatella
223cd20af9 fix #41766: use double sharp/flat where appropriate when transposing 2014-12-19 16:27:06 -07: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
Joachim Schmitz
96e6b8b2fc fix #41401: crash when joining files via album
and none of the files in that album file are found, e.g. because they
had been moved elsewhere.
2014-12-16 13:53:43 +01:00
ws
567b73c5a0 fix #41291: Switching concert pitch when using transposing instruments augments the keysignature on each line 2014-12-15 13:31:59 +01:00
Nicolas Froment
7a67e634fb Merge pull request #1529 from Jojo-Schmitz/pan
fix #24084: mixer pan not exported to MusicXML
2014-12-13 00:20:40 +00:00
Joachim Schmitz
5b9c5b95c1 fix #24084: mixer pan not exported to MusicXML 2014-12-11 11:35:10 +01:00
Marc Sabatella
69bb399e50 add command: resequence rehearsal marks 2014-12-09 14:40:06 -07:00
ws
8ff4a8f95e fix #29931: Custom key signatures do not show 2014-12-08 18:02:29 +01:00
ws
f3071ac9d0 fix #29931: Custom key signatures do not show 2014-12-04 14:40:26 +01:00
Marc Sabatella
ba9bf16e15 fix #40556: focus lost after duration change 2014-12-03 00:07:11 -07:00
Nicolas Froment
4934cf0a57 Merge pull request #1487 from MarcSabatella/6535-tie-grace
fix #6535: grace note ties, also articulations & duration fixes
2014-12-01 23:16:45 +01:00
Marc Sabatella
90c3c1593d fix #6535: grace note ties, articulations, and undo fixes 2014-11-29 19:46:33 -07:00
lasconic
9b2266e77d album: don't add line break if page break 2014-11-29 17:45:51 +01:00
Nicolas Froment
bddb38f481 Merge pull request #1171 from Igevorse/instrument-change
Automatic control of JACK/ALSA MIDI Out ports
2014-11-28 17:46:23 +01:00
Igevorse
6bc6742a65 Automatic control of JACK/ALSA MIDI Out ports 2014-11-28 20:25:45 +05:00
lasconic
50a63f317c fix #39121, fix #20783 2014-11-28 14:49:46 +01:00
ws
56c8a00d38 update mtest, fix regressions 2014-11-27 17:22:27 +01:00
ws
2df9e0dab3 fix #34006 2014-11-27 14:50:12 +01:00
ws
a3a54fb541 fix #39801 2014-11-27 13:04:18 +01:00
ws
5382ededa4 fix #33896 2014-11-23 15:42:06 +01:00
ws
cf92afb3a1 fix #36511 2014-11-22 13:05:23 +01:00
ws
802b8006b3 fix #39036 2014-11-22 12:03:22 +01:00
Marc Sabatella
78afc76912 fix #39341: crash on tab entry 2014-11-17 08:44:05 -07:00
ws
adc82d2243 Merge branch 'master' of github.com:musescore/MuseScore 2014-11-17 11:13:44 +01:00
Nicolas Froment
f783a7449b Merge pull request #1453 from MarcSabatella/38991-cursor-jump-updown
fix #38991: cursor jump on up/down if layout changes
2014-11-16 19:49:26 +01:00
lasconic
9bc7585893 fix #34581: Clicking on a bar and playing should play from the start of bar 2014-11-15 23:12:09 +01:00
ws
c511c86b90 automatic to create unique rehearsal marks 2014-11-15 16:44:14 +01:00
lasconic
ca78947682 add convenient function to get 'a' title for the score... 2014-11-14 21:00:36 +01:00
Marc Sabatella
6196223a31 fix #38991: cursor jump on up/down if layout changes 2014-11-13 00:42:16 -07:00
Marc Sabatella
9590d21204 fix #38816: crash on delete all of empty score with title frame 2014-11-10 22:16:30 -07:00
lasconic
aab56a4f9c fix #38706: Crash in Page View after deleting all measures and adding a staff 2014-11-10 10:42:00 +00:00
Andrey M. Tokarev
11167b17bc Fix #37846: MIDI import panel is not displayed when opening a MIDI file 2014-11-01 12:52:35 +03:00
ws
e4b19ffcf9 fix #22904 2014-10-28 14:04:45 +01:00
ws
aa6b0c8e63 fix #30941 2014-10-22 17:17:26 +02:00
Marc Sabatella
ae2ab3d1ff fix #35841: slurs and ties should not be treated as similar for selection 2014-10-07 20:21:02 -06:00
ws
df675154e5 fix #33341 2014-09-23 18:07:32 +02:00
ws
26dfd95eb9 fix #30431 2014-08-25 19:31:07 +02:00
Nicolas Froment
fda313306f Merge pull request #1143 from Igevorse/29776
fix #29776: Solo is not activated on file load
2014-08-21 10:20:16 +02:00
Marc Sabatella
369741ac88 fix #30166: cmdSelectAll issues 2014-08-20 11:32:47 -06:00
AntonioBL
2f8840d2fd avoid dots for notes which may result in 256th notes/rests or shorter 2014-08-20 17:59:22 +02:00
ws
9dc460c81e fix #29996 2014-08-19 13:35:13 +02:00
Igevorse
e35cde7025 fix #29776: Solo is not activated on file load 2014-08-19 13:45:48 +05:00
Andrei Tuicu
6460485d3f Score accessibility system.
Provides screen-reader feedback for the selected element.
2014-08-19 00:09:13 +03:00
ws
01ebb2e443 fix #29736 2014-08-18 11:33:28 +02:00
Nicolas Froment
01b6a81b23 Merge pull request #1135 from Jojo-Schmitz/translate
various translation and spelling issues
2014-08-17 14:42:06 +02:00
Nicolas Froment
113a12af53 Merge pull request #1138 from BartlomiejLewandowski/selection-cleanup
Selection cleanup
2014-08-17 14:31:58 +02:00
Joachim Schmitz
4701d08d37 fix typo by changing V_EIGHT to V_EIGHTH 2014-08-17 13:31:35 +02: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
1886d6d911 fix #29796 2014-08-17 12:41:44 +02:00
ws
048eb7df3b fix regression: add instrument 2014-08-16 17:54:20 +02:00
ws
aea2c71a74 regression: fix split staff 2014-08-16 16:24:06 +02:00
ws
795fbd57af fix regression: delete part/undo 2014-08-16 14:40:16 +02:00
ws
570a8094fe fix #29751 2014-08-16 14:40:16 +02:00
Bartlomiej Lewandowski
cbaa128e4d Added comments and spaces 2014-08-15 22:49:59 +02:00
Nicolas Froment
3257ad7d4a Merge pull request #1106 from BartlomiejLewandowski/voice-filter
Voice filter
2014-08-12 15:28:19 +02:00
Bartlomiej Lewandowski
a9a029ecac Fixed range selection change to none when no elements are in range. 2014-08-12 14:20:33 +02:00
ws
0c44719a58 fix #29241 2014-08-11 15:26:29 +02:00
lasconic
31b24d4977 use nextSegmentAfterCR instead of next1MM 2014-08-10 02:09:04 +02:00
Nicolas Froment
4e388f7665 Merge pull request #1114 from BartlomiejLewandowski/29311-selection-extend
Fixed single selection to range selection transition.
2014-08-10 02:05:33 +02:00
Nicolas Froment
cec67e6790 Merge pull request #933 from BartlomiejLewandowski/25852-range-timesig
Range selection ending fix
2014-08-10 01:02:37 +02:00
Bartlomiej Lewandowski
559815b0cd fix #29311 Fixed single selection to range selection transition. 2014-08-10 00:51:01 +02:00
Bartlomiej Lewandowski
2bf14c7cfb Fixed range ending for lasso select. 2014-08-10 00:16:37 +02:00
Bartlomiej Lewandowski
6afa0d74fd fix #25852 Fixed assigning the end of a range selection 2014-08-10 00:16:37 +02:00
ws
16c277158e fix #29101 2014-08-07 19:39:18 +02:00
ws
882598e23d fix #29096 2014-08-07 11:33:05 +02:00
ws
2f8b654ef0 fix #28936 2014-08-05 16:09:14 +02:00
ws
5373c93090 fix #28826 2014-08-05 14:10:22 +02:00
ws
f3548a9d56 fix #25472 2014-07-31 14:12:34 +02:00
Bartlomiej Lewandowski
b325a65f89 Added selection filter class.
Added selection filter object to score.
Added communication between selection window and selection filter.
Added example filtering for dynamics.
2014-07-30 14:47:59 +02:00
lasconic
d6fcb0e4f6 updates notes in all measures, no need to go through mmRest measure, there is no note. Plus, during read, mmRest are not in place yet 2014-07-28 23:38:39 +02:00
ws
e92ecfd2f8 cleanup findCR() 2014-07-27 16:48:05 +02:00
ws
de4737d3dc fix #27926 2014-07-27 16:11:59 +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
Bartlomiej Lewandowski
491b922dce Added subtype filtering in select similar window 2014-07-22 14:54:49 +02:00
ws
17910f7441 remove id from spanner class 2014-07-21 14:28:37 +02:00
ws
a227994dee fix regression & mtest 2014-07-17 18:26:59 +02:00
Nicolas Froment
64a86e75d9 Merge pull request #1019 from Jojo-Schmitz/enum-class
convert as many "enum" as possible to "enum class", and make them ": char" in the due course #7
2014-07-17 14:43:13 +02:00
Bartlomiej Lewandowski
c6c4579628 Added staff start and end to selection pattern 2014-07-16 17:45:21 +02:00
Bartlomiej Lewandowski
b76327c6f9 Refactored common code from measure and score scanElements to segment 2014-07-16 17:44:03 +02:00
Bartlomiej Lewandowski
6f99921b57 Moved selectSimilar methods from MuseScore to Score. 2014-07-16 17:44:03 +02:00
Bartlomiej Lewandowski
40bf7b383b Added scanElementsInRange method to Score 2014-07-16 17:44:03 +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
a2c0bf6188 fix #26476 2014-07-15 12:49:51 +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
d59cc84ee2 fix some spanner bugs 2014-07-09 18:05:58 +02:00
Maurizio M. Gavioli
20565e6016 An overlooked details... 2014-07-06 02:14:58 +02:00
Maurizio M. Gavioli
d11f1b118b Fixes the following Q_INVOKABLE methods returning a QObject* by turning them into a property:
- Measure:
-- firstSegment
-- lastSegment
- MeasureBase:
-- nextMeasure
-- nextMeasureMM (new)
-- prevMeasure
-- prevMeasureMM (new)
- Score:
-- firstMeasure
-- firstMeasureMM (new)
-- (for firstSegment(), see special cases below)
-- lastMeasure
-- lastMeasureMM (new)
-- lastSegment

- Segment:
-- next (renamed from `next1`)
-- nextInMeasure (renamed from `next`)
-- prev (renamed from `prev1`)
-- prevInMeasure (renamed from prev)

Special cases:

- Cursor: The prototype of the `Q_INVOKABLE Ms::Note* Cursor::addNote(int pitch)` was wrong: corrected in `Q_INVOKABLE void Cursor::addNote(int pitch)`.
- QmlPlugin: `Q_INVOKABLE Score* QmlPlugin::readScore()` and `Q_INVOKABLE Score* QmlPlugin::newScore()` has been kept, as they are intended to be called from QML; code has been added to ensure the C++ ownership of the returned object.
- Score: `Q_INVOKABLE Segment* Score::firstSegment(Segment::Type segType)` is kept (as it needs a parameters), but code is added to ensure C++ ownership of the returned Segment*.
- Segment: `Ms::Element* Segment::element(int track)` has been made NOT Q_INVOKABLE; a variant `Q_INVOKABLE Ms::Element* elementAt(int track)` has been added specifically for QML with code to ensure the C++ ownership of the returned Element* (this was the cause for the crash of the Walk plug-in).
- FiguredBass: `Q_INVOKABLE Ms::FiguredBassItem* FiguredBass::addItem()` has been removed; plugin interface for FiguredBass needs to be redesigned anyway.

The few occurrences in the supplied plug-ins of the methods whose names did change have been updated.
2014-07-06 01:56:30 +02:00
ws
2da5273597 fix #22132 2014-07-03 15:02:36 +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
83ead22c35 cleaner implem. for reading ties 2014-06-24 14:45:50 +02:00
ws
87ad7b4f25 SpannerMap key fix 2014-06-24 13:38:05 +02:00
ws
b4066a7976 stronger typing for key 2014-06-20 17:07:22 +02:00
lasconic
c2552502d4 fix selection range when on staff > 1, when reverse selection 2014-06-18 10:17:00 +02:00
Joachim Schmitz
836db56543 fix warnings reg. wrong format specifier 2014-06-17 14:23:15 +02:00
Nicolas Froment
ea51a179cc Merge pull request #945 from BartlomiejLewandowski/selection-refactor-range
Selection refactor range
2014-06-09 16:12:55 +02:00
ws
9bafd84535 fix mtest 2014-06-05 11:57:01 +02:00
ws
9a6d909a29 fix #25945 2014-06-05 11:37:21 +02:00
ws
d5b3159c3d more fixes for instrument change 2014-06-04 10:40:26 +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
e1b1246e0c make SegmentType an global enum class 2014-06-01 20:24:29 +02:00
Bartlomiej Lewandowski
3379436ba4 Change range extend to work on measures too. 2014-06-01 11:49:29 +02:00
Bartlomiej Lewandowski
eebd0f9621 Added range extend method. 2014-06-01 11:49:29 +02:00
Bartlomiej Lewandowski
a94263885d Added setRange calls. Changed min max call to qMin qMax. 2014-06-01 11:49:29 +02:00
ws
6edea9fd9e fix mtest & regression 2014-05-31 12:04:41 +02:00