Commit graph

371 commits

Author SHA1 Message Date
Marc Sabatella
e1b7f6cd62 fix #290053: don't trigger layout for elements not yet added to score 2019-06-01 16:58:05 -06:00
Marc Sabatella
711a622bbc fix #289501: saving score with autoplace disabled, disables it for all elements 2019-05-22 01:09:31 -06:00
Marc Sabatella
ca48d05dd9 disable autoflip for fingering and other note/rest attached markings 2019-05-20 09:04:14 -06:00
anatoly-os
35c06f2f57
Merge pull request #4844 from peterhieuvu/save-segment-stem
Save segment and stem properties correctly
2019-05-20 12:06:55 +03:00
Marc Sabatella
a27bc1f2f0 manage minDistance when moving away from staff 2019-05-14 17:32:34 -06:00
Marc Sabatella
6a33ef5897 fix automatic flip for spanners 2019-05-10 18:01:23 -06:00
Marc Sabatella
a36d74bbcb compatibility for repeat text + collect_artifacts 2019-05-09 22:46:59 -06:00
Marc Sabatella
6f999d3fba enhanced flip behavior 2019-05-09 22:46:59 -06:00
Marc Sabatella
ea2bc3d85a add spanners except hairpins, also fix fingerings 2019-05-09 22:46:59 -06:00
Marc Sabatella
cd8384f595 more refactoring; spanners next... 2019-05-09 22:46:59 -06:00
Marc Sabatella
e92aff138b partial refactor; lyrics, dynamics, fingering 2019-05-09 22:46:59 -06:00
Marc Sabatella
f26beeb7ae fixed placement below 2019-05-09 22:46:58 -06:00
Marc Sabatella
ef300d1cea implement minDistance per element 2019-05-09 22:46:58 -06:00
Marc Sabatella
e3d7986b22 working other than some undo glitches 2019-05-09 22:46:58 -06:00
Marc Sabatella
fafa6cadcc working version 2019-05-09 22:46:58 -06:00
Marc Sabatella
cf52824b67 remove ABS_OFFSET property + collect_artifacts 2019-05-09 22:46:58 -06:00
Marc Sabatella
77f908bc58 allow autoplaced elements to cross into skyline 2019-05-09 22:46:58 -06:00
Marc Sabatella
6b7f33ec64 fix #278999, fix #288474: autoplace customization 2019-05-01 07:52:11 -06:00
Marc Sabatella
ec6f167f0b fix #286645: scale elements 2019-04-11 06:36:32 -06:00
Peter Hieu Vu
d6780eb0fa fix #279245: save stacking order and autoplace for stems and system dividers 2019-03-30 12:49:46 -07:00
anatoly-os
16851045c9
Merge pull request #4590 from ericfont/281441-unset-selected-flag-when-cloning-elements
fix #281441 unset selected flag in clones
2019-03-07 11:53:22 +02:00
anatoly-os
ea56495436
Merge pull request #4710 from MarcSabatella/171036-system-text-scale
fix #171036: don't scale system elements with staff size
2019-03-04 16:19:47 +02:00
anatoly-os
2f9967acf3
Merge pull request #4717 from MarcSabatella/ctrl-click
Selection of overlapping elements
2019-03-04 16:09:47 +02:00
Marc Sabatella
23318a8d54 fix #279999, fix #280857: draw selected notes on top, invisible notes on bottom 2019-02-25 22:49:50 -07:00
Marc Sabatella
aa0c232f75 fix #171036: don't scale system elements with staff size 2019-02-19 12:07:13 -07:00
Matt McClinch
794107227c fix #284425: No relayout after deleting system break 2019-02-19 10:01:09 -05: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
ea81a9338c Add a new QML plugins API
- Move Qml plugin engine out of libmscore
 - Add Pid::TICK handling to Element class
 - Make tick QML property correspond to absolute tick in all contexts
     That is a temporary solution though, a proper solution would
     require revising Pid::TICK handling
 - Move plugins API to api directory
 - Rename ElementW -> Element (PluginAPI namespace)
 - Remove Qt meta-object macros from Score in libmscore
 - Remove string-based access to properties from QML
 - Remove unused functions from Note
 - Rename QML properties names to camel case
     Two reasons:
       - They were named so in MuseScore 2.X.
       - Using underscored_names is less consistent with MuseScore
         coding style.
2019-01-24 17:36:05 +03:00
Eric Fontaine
3cfc174c66 fix #281441 unset selected flag in clones
Previously, if had elements selected prior to creating a part, they would maintain their SELECTED flag in the generated score, even though the new part scores won't actually have anything acutally selected.  They would thus appear blue as if they were part of a selection even though they weren't.

It seems to me that the SELECTED flag shouldn't be kept when cloning elements, because cloned elements aren't added to a selection.  So I'm unsetting the SELECTED flag whenever cloning an element, incase the original element was selected.
2019-01-15 23:57:06 -05:00
Matt McClinch
1a70015211 fix #281068: Regression - All accidentals in Edit mode crash the program 2019-01-11 12:43:03 -05:00
Dmitri Ovodok
acdc76f958 fix #280775: fix inserting text elements on MM rest via shortcut 2018-12-28 12:22:20 +03:00
Dmitri Ovodok
a5a1946bdb fix #280442: fix a crash on hiding all staves if there are system elements 2018-12-22 12:48:32 +02:00
MarcSabatella
79b7acb608 fix #279310: system text autoplace fails if top staff not visible 2018-12-06 12:33:53 -07:00
anatoly-os
03fffbc3f6
Merge pull request #4246 from mattmcclinch/278943-paste-tuplet
fix #278943: Can't copy tuplet to last beat of measure
2018-12-05 17:22:27 +02:00
ws
a5381618fb fix #278916 Numbers only option has no effect on ottava display 2018-12-05 15:17:48 +01:00
Matt McClinch
7ff253cae0 fix #278943: Can't copy tuplet to last beat of measure 2018-12-02 22:38:09 -05:00
Dmitri Ovodok
247802bb94 fix #87241, fix #279064: Remove elements from selection on destruction 2018-12-01 19:10:44 +02:00
ws
78d2d7de15 fix #276667 Crash on layout of harmony belonging to fret diagram.
Implements property layout and collisiion detection for chord names over fret diagrams.
2018-11-28 17:15:11 +01:00
mirabilos
77983234c8
some spelling fixes
most from the spell checker built into Debian’s automated
package checking tool lintian, two from me during applying
those lintian-suggested fixes
2018-11-27 22:49:18 +01:00
Dmitri Ovodok
8e2ad3b40d Record placement related properties when autoplacement gets switched on 2018-11-26 01:59:12 +02:00
ws
83f4961da2 write autoplace property; always write properties if unstyled 2018-11-07 10:46:28 +01:00
anatoly-os
deca0a8bff Reset elements offset in Element::reset
Add missed resetting elements positions
2018-10-30 19:09:37 +02:00
Dmitri Ovodok
6ae48c8b32 Extend properties framework for score comparison related needs
This commit adds:
- ScoreElement::propertyId for obtaining property ID by its XML name
  within the context of the respective element
- ScoreElement::propertyUserValue to obtain values of the properties
  in a human-readable representation
2018-10-29 17:04:24 +02:00
Dmitri Ovodok
70d836713a Make it possible to write voice and position for handling them in score diff 2018-10-29 16:32:31 +02:00
Dmitri Ovodok
c95dfd5a40 Make it possible to record elements written to MSCX 2018-10-29 16:30:19 +02:00
ws
b30fa4a919 add more style values 2018-10-26 16:21:43 +02:00
ws
6dbff17ca7 fix compat114 issues 2018-10-26 10:41:30 +02:00
ws
96af32eee7 fix regressions: layout of misc. elements 2018-10-25 15:44:21 +02:00
ws
edeabec275 do not disable autoplace when dragging element 2018-10-24 11:32:11 +02:00
ws
8a42030a4c fix measure number layout 2018-10-24 10:40:19 +02:00