Commit graph

51 commits

Author SHA1 Message Date
Joachim Schmitz
f3627313a1 Fix #299518: Add "Soprano Clef (French, 20th/18th century)" 2020-01-11 12:20:23 +01:00
Dmitri Ovodok
d7778ca6ef Fix Clef::symId field initialization and assignments
This helps to avoid crashes on SVG export of some scores.
Also remove redundant user-defined copy constructor for Clef
2019-04-27 02:01:00 +03:00
ws
ec3be9a99a Replacd integer midi tick values by fractions.
- tick names a position on the time axis
- tick is always a Fraction()
- only Measure() and Segment() (and Tuplet?) have a tick value
- tick() for an generic element return only a sensible value if isMeasure() or isSegment() or isSegment(parent())

- "ticks" names a duration stored in a Fraction()
- the tick value for an Segment is relative to its measure

- rename "duration" to "ticks"
- rename afrac() to tick()
- rename rfrac() to rtick()
- rename some variables, changing "fraction" into "tick"
  (example: actualFraction() into actualTicks())

- Lyrics ticks are written as Fraction, on read if xmlreader sees a "/" it reads a fraction
  else midi ticks for backwards compatibility
2019-02-18 11:46:05 +01:00
Dmitri Ovodok
c354eb24c3 Remove read300 functions 2018-09-19 01:57:37 +03:00
Dmitri Ovodok
8fa920b7df Backup old MSC read functions, add a test for fileformats compatibility
Use old read functions for reading 1.x and 2.x fileformats

Assign version number 3.01 to the new MSCX format flavor
2018-08-16 19:08:45 +03:00
Matt McClinch
6c2b78c0bc fix #273305: Courtesy clef hide/show issue 2018-06-12 13:27:44 -04:00
ws
33d1cd7fb4 rename StyleIdx -> Sid and P_ID -> Pid 2018-03-27 15:36:00 +02:00
Werner Schweer
b46b55fa1e fix ties from/to grace notes; add 'final' to classes were appropriate 2017-12-21 14:08:44 +01:00
Werner Schweer
0e4211e2d0 update let ring, palm mute 2017-11-27 16:55:52 +01:00
divya-urs
28d4e39b05 accessibility: nextElement and prevElement 2017-07-13 23:52:00 +05:30
Werner Schweer
ac41fa396e update edit infrastructure 2017-03-31 13:03:30 +02:00
Werner Schweer
90b1991912 replace Q_OBJECT with Q_GADGET for all Element based classes 2017-02-17 15:48:28 +01:00
Werner Schweer
1d4c6b2f21 move Element::type() to ScoreElement 2017-01-18 14:16:33 +01:00
Werner Schweer
6e7e05aaec impl. staff type changes 2016-12-18 14:31:34 +01:00
Werner Schweer
c5f46bb208 rename Xml() -> XmlWriter() 2016-11-19 11:51:21 +01:00
Werner Schweer
f7d96502c3 update layout, change handling of clefs, system header and trailer 2016-10-25 17:35:55 +02:00
lasconic
f966b08d77 add more F and C clefs, refactor clef.cpp and use symId and line when possible 2016-09-29 01:14:03 +02:00
Werner Schweer
d6cad628d3 simplify clef implementation 2016-09-21 12:46:19 +02:00
Werner Schweer
eefcc94e1f more TremoloBar properties 2016-09-20 17:13:54 +02:00
lasconic
9ef2f130e2 fix #125126: add 4-string tablature clef. Also add serif version. Use a single glyphnames.json from smufl 2016-09-18 18:37:42 +02:00
ws
474294a329 fix mtest 2016-04-21 12:20:29 +02:00
ws
492709f203 code cleanups 2016-04-13 11:10:17 +02:00
ws
9f933d8503 Layout reorganization 2016-04-13 11:05:04 +02:00
Joachim Schmitz
fd336322ce Fix #81876: add old Tenor clef and alternate Percussion clef
The glyphs are in Bravura, but missing in Emmentaler and Gonville, so
more work is needed to fully suport them
2015-10-07 17:39:25 +02:00
Joachim Schmitz
78605d6aef fix for arm, where char by default is unsigned
See https://musescore.org/en/node/73701
2015-08-17 18:02:57 +02:00
Nicolas Froment
b14c0586b6 Merge pull request #1966 from mgavioli/plugin_manual_classes_A-D
Plugin Manual - Documentation update for classes A-D
2015-07-13 10:07:11 +02:00
Joachim Schmitz
5c5683d294 Add G clef with optional vb8
Unfortunatly Emmentaler and Gonville are lacking the glyph, so
here it gets faked by using a standard G clef instead...
2015-05-31 10:39:13 +02:00
Maurizio M. Gavioli
38df8d9a8e Plugin Manual - Documentation update for classes A-D
Updates the documentation for classes named from A to D to proposal A) in http://dev-list.musescore.org/Plugin-documentation-generated-manual-td7579164.html

Properties are also sorted in alphabetical order for easier identification.

Note that `enum`s for `Accidental` are not final, as current situation does not seem to work in plug-ins.
2015-04-23 21:06:36 +02:00
Andrey M. Tokarev
51c2ca936e Fix Clef elements memory leak 2014-09-06 21:35:28 +04:00
Andrei Tuicu
6460485d3f Score accessibility system.
Provides screen-reader feedback for the selected element.
2014-08-19 00:09:13 +03:00
Andrei Tuicu
9caa98b130 Added 4 new navigation commands:
- next element
- previous element
- first element
- last element
2014-08-17 17:25:21 +03:00
ws
2c31360414 update instrument dialog 2014-08-15 11:58:30 +02:00
ws
6d46589c56 fix #29431 2014-08-13 21:01:21 +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
Joachim Schmitz
931e837c5e convert enum ElementType into enum class 2014-05-23 10:35:27 +02:00
Joachim Schmitz
54ede6a1f6 improve builtin plugin documentation
reformatting, removing some comments that are irrelevant to plugin
framework in a way that DoxyGen should still find them, documenting the
enums and fully qualify all types that are specific to MuseScore,
2014-05-16 13:58:30 +02:00
ws
02d0fcca12 fix #25646 2014-05-08 17:59:24 +02:00
lasconic
d8481bd5cc make clef non editable, generated or not, it's confusing otherwise 2014-04-13 11:38:05 +02:00
Maurizio M. Gavioli
125425b4b5 Fix TAB and PERC clefs.
TAB: The two TAB clefs showed the same in the palette(s) and the 'flourished' one was displaying nothing in the score.

Fixed by adjusting TAB clef mapping in fonts/bravura/glyphnames.json and adding the proper mapping to fonts/mscore/glyphnames.json and corrected the symbol set for TAB in Clef::layout1()

PERC: The PERC2 clef has been dropped at some point in the past: added some comments to ClefType definition, to Clef::layout1() function and to MuseScore::newClefPalette() function to make the situation more evident.

In practice, there almost no change in the code proper itself.
2013-11-15 18:35:04 +01:00
ws
517627a21f update clef implementation 2013-09-05 16:38:04 +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
ws
220db94494 reorganize synthesizer; add zita1 reverb 2013-04-03 12:50:21 +02:00
lasconic
452e44c94b fix #19312: Drums in 1.2 score have a treble clef after enabling Concert Pitch 2013-03-21 22:09:14 +01:00
ws
bf1cbe2aa0 use QXmlStreamReader for xml parsing 2013-01-11 18:10:18 +01:00
Werner Schweer
9d12841cf7 cleanup note entry 2012-08-07 16:05:37 +02:00
Werner Schweer
fc19b8b68e inspector update for KeySig 2012-07-27 18:35:37 +02:00
Werner Schweer
912c5925b0 updates for Clef, KeySig, TimeSig 2012-07-27 18:01:15 +02:00
Werner Schweer
3d91e61ef4 More plugin bindings 2012-07-25 11:49:34 +02:00
Werner Schweer
5182c9e085 derive Element from QObject; add Q_OBJECT into every Element class 2012-05-28 11:29:21 +02:00