Commit graph

89 commits

Author SHA1 Message Date
ws
5373c93090 fix #28826 2014-08-05 14:10:22 +02:00
ws
c5671c8359 fix #28656 2014-08-02 09:48:59 +02:00
ws
4e426c4808 implement 'never hide' flag for staff 2014-07-31 18:46:58 +02:00
ws
f7bea5e267 fix #28471 2014-07-29 15:56:43 +02:00
ws
22bec3a485 fix #28371 2014-07-27 15:58:42 +02:00
ws
e8e5f99c71 fix #28331 2014-07-27 15:06:49 +02:00
ws
f97a8b22c6 cleaner clef/cleflist implementation 2014-07-25 17:13:42 +02:00
lasconic
d90b918dca fix #25368: Note Groups define in time signature dialog has no effect in note entry 2014-07-22 19:28:49 +02:00
ws
1e94611118 partial fix for #18510 2014-07-17 15:28:02 +02:00
ws
a2c0bf6188 fix #26476 2014-07-15 12:49:51 +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
ws
b4066a7976 stronger typing for key 2014-06-20 17:07:22 +02:00
ws
7e4c70a50a fix #19332 2014-06-19 15:27:44 +02:00
ws
d5b3159c3d more fixes for instrument change 2014-06-04 10:40:26 +02:00
ws
b7dd5af499 update KeySig implementation 2014-06-03 15:28:10 +02:00
Joachim Schmitz
cde0a3910d convert enum StaffGroup into enum class 2014-05-30 13:37:28 +02:00
Joachim Schmitz
0533e643e7 convert enum BracketType into enum class 2014-05-26 22:25:34 +02:00
Joachim Schmitz
9025abf589 convert unnamed enum into enum class StaffTypes 2014-05-26 19:19:29 +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
5a6e90c7db minor cleanup after e567406 2014-05-26 12:27:32 +02:00
ws
c66fe22021 fix #25422 next try 2014-05-22 16:18:35 +02:00
ws
085492df90 fix #17535 2014-05-21 20:08:50 +02:00
Maurizio M. Gavioli
47cc9b1920 Score file reading: fix bar line span for non-5-line staves.
While reading a score, if a staff is found with number of lines != 5 and no explicit bar line span set (i.e. default bar line span), the bar line span remains set as for a 5-line staff.
2014-05-16 10:32:35 +02:00
ws
02d0fcca12 fix #25646 2014-05-08 17:59:24 +02:00
ws
8252d7c095 fix #25580 2014-05-05 15:38:49 +02:00
ws
2f85f8e007 fix #23006 2014-05-03 11:37:12 +02:00
ws
142e82a409 fix #25613 2014-05-03 10:10:46 +02:00
ws
d3a66ab1ba refactoring StaffType 2014-04-30 13:39:16 +02:00
ws
f9059a269b remove stafftype subclasses 2014-04-30 13:39:16 +02:00
ws
cf0bf8cf97 fix #24842 2014-04-24 15:03:03 +02:00
Maurizio M. Gavioli
cd3d477520 Fix 25423 - Issues with staff types in parts
Issues:
- Creating part(s) for a score adds a whole set of staff types for each created part
- Editing staff types gives unexpected results in part staves and may cause crash

Fixes:
- New staff types are created only for the root score, not for linked parts
- When staff types are edited, the updated staff types are set into the root score staves as well as in the staves linked to them.
2014-04-16 12:06:00 +02:00
ws
e534cccef8 bug fixes for concert pitch switch 2014-04-09 16:09:21 +02:00
ws
b623415c10 fix #24823 2014-03-21 10:06:14 +01:00
ws
cff4e87b8f change semantic of tick2 for line spanners 2014-03-05 10:27:35 +01:00
Marc Sabatella
c1a5f5ac72 fix #23011: change channel broken
Two separate bugs here.  First caused staff text channel changes to be
applied at the wrong time.  Second prevented channel changes to "normal"
from working at all.
2014-02-01 14:17:20 -07:00
Joachim Schmitz
f08bd8df67 fix warnings due to -Wunused-parameter 2014-01-15 22:05: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
c309b21a5a Added colour property to the lines of a staff.
Colour is set with a colour box in the Staff Properties dialogue box.
2013-10-26 13:47:05 +02:00
lasconic
008c5bbbe2 various fix for slurs, slurs no more possible between linked staves and staves in different parts 2013-10-10 15:41:25 +02:00
ws
517627a21f update clef implementation 2013-09-05 16:38:04 +02:00
Maurizio M. Gavioli
073cfec588 Re-factor presets and staff types.
1) Built-in staff types have been removed.

2) Presets are internally used as source for the staff types of a new score, to match data in Instruments.xml and as reference to check for modifications.

3) Each new score is given by default one staff type for each preset with the same name.

4) The Instrument page of the New Score Wizard lists (under the name of "Staff types") the default staff types applicable to the instrument (actually it lists the preset, as the score does not have any staff type yet).

5) The "Add | Instruments" dlg box lists all the staff types applicable to the instrument: = to the list of 4) + any user-created staff type.

6) The Staff Properties dlg box lists all the staff types applicable to the instrument: = list in 5)

7) The Staff Type Editor lists all the staff types

This should ensure consistency among the several lists of staff types and avoid duplication of similar items

Terminology:

7) A new staff type created in the editor is named by default with the group name ("Standard-", "Perc-", "Tab-") + the index of the new type in its group + the suffix "[*]" marking a user customisation. The user is anyway able to rename it, if he want.

8) The pitched staff type has been renamed everywhere (hopefully!) to "Standard"

9) The term 'preset' have been removed from the UI, except from the Staff Type Editor where it keeps its meaning of ready-made collections of parameters

The commit affects many files, but a fair number of them have only changes in names of literals. The files with significant code changes are:
libmscore/score.cpp
libmscore/stafftype.cpp/.h
mscore/editstafftype.cpp (code for naming a new staff type)
mscore/instrdialog.cpp (building type list)

Note: as score files store staff type indications as integer indices and the number and order of new default staff types is different from the old built-in types, there is a compatibility issue with old 2.0 score which use percussion and tab staves. In Score::read() (libmscore/scorefile.cpp), there is a rudimentary attempt to cope with this.Old scores will need manual fix anyway. There should not be any (new) compatibility issue with 1.x scores, as they did not use staff types.
2013-08-18 11:55:31 +02:00
ws
416e7ddff7 change spanner to use closed interval tick-tick2 2013-08-12 10:38:07 +02:00
ws
5aa926855f fix #18336 2013-07-16 18:18:45 +02:00
ws
58c07cc8e3 fix #21835 2013-07-16 09:03:47 +02:00
lasconic
286d8b9a1d fix potential crash when reading a linked staff 2013-07-01 15:15:14 +02:00
ws
2e6aa60ee7 fix for mtest 2013-06-26 14:38:23 +02:00
ws
71d39e6ffe fixes for timesig & more... 2013-06-25 10:41:42 +02:00
lasconic
5d482a071c fix #21625: key signature and ledger lines in staff type don't work 2013-06-22 10:55:22 +02:00
ws
81bcff9947 fixes for clefs+parts 2013-06-05 15:47:34 +02:00