Commit graph

34 commits

Author SHA1 Message Date
Maurizio M. Gavioli
d8ebc4cc32 Fix #25958 - Crash when [Apply]ing and [OK]ing some prop changes
Additional fixes:

- Changes to staff own properties (small, invisible, user dist., colour) were not carried on.
- Changes to staff type when not visibly laid out into the score.
- Finally time sigs are re-laid out when staff type changes.
- If short and long names are empty strings, instrument relevant lists are no longer set to an empty string; rather the relevant list is left empty; this matches the situation when the dlg is open with either name not set and avoids unnecessary ChangePart undoes.
2014-06-06 12:56:05 +02:00
Maurizio M. Gavioli
9ab578ea84 Re-design staff props and staff type props dlg boxes.
- Staff props dlg: added type props common to all types (num. of lines, line dist., etc.).
- Changing some type props but canceling the main dlg no longer changes the staff type.
- Fixed equality checks in EditStaff::apply().
- Both dlgs: set all buddies and proper tab order.

Also:
- Staff group names ("Standard", "Percussion", "Tablature") made uniform in spelling and translatable.
- Fixed Instrument::operator==().
2014-06-02 23:51:44 +02:00
Joachim Schmitz
c1401a3098 convert unnamed enum into enum class A
and cleanup enum Repeat, a leftover from 6c6c6ad
2014-05-26 12:27:30 +02:00
ws
436c116b01 add default string table 2014-05-13 17:15:43 +02:00
ws
aa107645aa fix instrument name format in score file 2014-03-25 16:55:51 +01:00
Nicolas Froment
8b1af150f1 Merge pull request #683 from MarcSabatella/23011-change-channel
fix #23011: change channel broken
2014-02-20 20:12:57 +01:00
ws
bfbeb072ea write text structure as xml 2014-02-17 16:28:09 +01:00
ws
be3d091697 update regression tests 2014-02-12 12:51:00 +01:00
ws
d796ea407d rework text implementation 2014-02-11 14:27:44 +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
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
08241c9c66 * Fix Guitar Pro test ref. file.
* Replace "Tablature" with "StringData" in instruments.xml

* Remove support for "Tablature" tag from instrtemplate.cpp (but keep it in instrument.cpp for compatibility with existent 2.0 scores)
2013-09-15 23:38:59 +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
lasconic
d0dda3a46f cleanup: duplicate line, unused header 2013-06-04 18:48:20 +02:00
ws
7bb761846e fixes for TimeSig 2013-06-04 18:31:25 +02:00
ws
c4072fce7c fix #21221 2013-05-28 15:42:16 +02:00
ws
9ebabcc2e5 add namespace Ms 2013-05-13 19:43:59 +02:00
Maurizio M. Gavioli
537501f90d Any instrument which does not have string data is given a default guitar-like string set.
Changed to a default empty string set.

This also allows to filter out TAB staff types in staff props dlg box for an instrument without strings defined.
2013-05-12 23:01:58 +02:00
ws
31075feeb0 fix regressions 2013-04-25 10:52:24 +02:00
ws
e607497157 fixes for midi rendering, staff text & aeolus 2013-04-25 09:51:15 +02:00
ws
0be1d3f78e synthesizer/midi cleanups 2013-04-08 11:27:14 +02:00
ws
fd2d6c7a6b initialize Channel() with default synthesizer Fluid 2013-04-04 14:32:12 +02:00
ws
1c43f086a4 fix regression: export audio 2013-04-04 12:12:10 +02:00
ws
220db94494 reorganize synthesizer; add zita1 reverb 2013-04-03 12:50:21 +02:00
ws
2f265da1a2 fix mtest; start implementing master effect section 2013-03-28 11:09:31 +01:00
ws
17bc0a7dd8 misc. playback fixes for zerberus 2013-03-27 20:10:40 +01:00
ws
8ffe7531d9 add new sfz sample player: zerberus 2013-03-26 20:00:19 +01:00
ws
ec449f5c18 fix regression: read instrument xml 2013-01-17 20:20:41 +01:00
ws
bf1cbe2aa0 use QXmlStreamReader for xml parsing 2013-01-11 18:10:18 +01:00
Werner Schweer
2d727fbb46 articulation updates 2012-11-21 15:57:35 +01:00
Werner Schweer
f0cb48adf6 updated one line drumsets in instrument description 2012-10-17 16:53:12 +02:00
lasconic
e0c56b2361 fix #10098: Solo/Mute not saved 2012-09-29 18:41:34 +02:00
Werner Schweer
15631d3795 implement cascading instrument definitions 2012-07-26 14:35:13 +02:00
Werner Schweer
1f9ccfcdce add libmscore
git-subtree-dir: libmscore
git-subtree-mainline: 412ca45401
git-subtree-split: 6047361bd0
2012-05-26 14:54:47 +02:00