Commit graph

223 commits

Author SHA1 Message Date
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