Commit graph

53 commits

Author SHA1 Message Date
Howard-C
6faffe0da4 Fix some spanner segments not scaled after spatium change
Spanner segments need to have `_offset2` scaled too, so I created `SpannerSegment::spatiumChanged()`. For text lines, neither `_offset` nor `_offset2` is scaled, so I called `LineSegment::spatiumChanged()` (which is inherited from `SpannerSegment::spatiumChanged()`) in `TextLineBaseSegment::spatiumChanged()`.
2020-02-14 17:21:26 +08:00
Peter Hieu Vu
e482050197 fix #294010: properly calculate dash lengths to stop hanging 2019-09-02 17:30:56 -07:00
Peter Hieu Vu
27bd6ca5be fix #288169, #287889: draw lines when there are two hooks and draw hooks solid 2019-08-30 15:00:48 -07:00
anatoly-os
ec93fbcbde
Merge pull request #4887 from MarcSabatella/284461-diagonal-line-hooks
fix #284461: bad layout of diagonal lines with hooks
2019-05-20 13:20:35 +03:00
Marc Sabatella
fafa6cadcc working version 2019-05-09 22:46:58 -06:00
Marc Sabatella
ec6f167f0b fix #286645: scale elements 2019-04-11 06:36:32 -06:00
Marc Sabatella
2230646a6e fix #284461: bad layout of diagonal lines with hooks 2019-04-09 11:37:12 -06:00
Peter Hieu Vu
e1d0ccefa8 fix #285383, fix #282191 save line properties, but only properties needed, set propery default properties for let ring and palm mute 2019-03-08 00:52:39 -08:00
MarcSabatella
4e3dcb87e0 fix #279373: manage default placement for ottavas 2019-01-08 14:20:45 -07:00
anatoly-os
9f591af06d
Merge pull request #4330 from mattmcclinch/279510-pedal-line-visible
fix #279510: Pedal marks are still visible when set to invisible
2018-12-10 17:24:52 +02:00
ws
d5298f5d68 fix #279464 Error opening file created in 2.3.2
Tuplets can be layouted only if beams on the tuplet chord/rests are layouted.
Cross beams complicate this a lot as a cross beam can only be layouted after staff
distances are fixed.
2018-12-09 11:05:17 +01:00
Matt McClinch
44b0d40f00 fix #279510: Pedal marks are still visible when set to invisible
fix #279176: Hide invisible text lines when "Show invisible" is unchecked
2018-12-06 15:14:17 -05:00
anatoly-os
428542a52a
Merge pull request #4294 from mattmcclinch/279176-line-visible
fix #279176: "Line visible" property not honored when printing or after save/close/open
2018-12-05 18:04:42 +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
08421e2085 fix #279176: "Line visible" property not honored when printing or after save/close/open 2018-12-03 14:04:31 -05:00
Matt McClinch
b06bc97905 fix #279176: Removing check from line visible has no effect 2018-12-01 14:55:20 -05:00
anatoly-os
98a46b49fe
Merge pull request #4254 from jthistle/278742-textline-layout
fix #277710: textline line overlaps text
2018-11-29 22:02:13 +02:00
ws
8f6a608c7b fix array size in textlinebase.cpp 2018-11-29 14:15:33 +01:00
James Thistlewood
a8214c25ba fix #277710: textline line overlaps text 2018-11-28 21:57:23 +00:00
ws
ffdab67a9d fix handling of custom formatted text and values in inspector:
- replace properties "BOLD ITALIC UNDERLINE" by one property FONT_STYLE
- if text is custom fomatted (has size/fontface changes, contains parts in bold/italic etc.
  then the appropriate property values are set to "unstyled". This enables the reset button
  in the inspector.
- pressing reset for some text properties strips changes of this property in the text
  Example: text contains a part in italic: pressing reset removes the italic formatting
- the "remove custom formatting" button is only enabled if there is some custom formatting
2018-11-26 21:17:19 +01:00
Dmitri Ovodok
f42943e90b fix #278722: do not delete spanner segments but reuse them 2018-11-26 01:59:02 +02:00
ws
a4682fd9e0 Add begin text and end text properties to hairpins.
This allows to add dynamics to begin and end of hairpins. The
benefit is that this elements are treated as one symbol by layout and
autoplace and so are always vertical aligned.
Currently playback is not supported. For this probably a "start velocity" and
an "end velocity" property has to be added to hairpins.
2018-11-15 16:05:11 +01: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
c95dfd5a40 Make it possible to record elements written to MSCX 2018-10-29 16:30:19 +02:00
ws
96af32eee7 fix regressions: layout of misc. elements 2018-10-25 15:44:21 +02:00
ws
d77183b3bb refactoring of Element::userOff and TextBase::offset 2018-10-18 11:56:23 +02:00
Dmitri Ovodok
c354eb24c3 Remove read300 functions 2018-09-19 01:57:37 +03:00
Dmitri Ovodok
104898195b Read and write spanners using the connectors framework
Remove IDs for spanners
2018-08-16 19:10:28 +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
alexandr
df114f189c Compile under MSVC: this commit caontais all changes to run MSVC build
1) fix some bugs which appear in runtime:  replace QString::tostdstring() to Foo.toUtf8().constData().

2) Enable start center online community. To use it you need download webengine in your QT lib. see instruction https://musescore.org/en/handbook/developers-handbook/compilation/compile-instructions-windows-visual-studio-2017-wip

3) update install steps. Add additional dlls for webEngine. Add copying dlls and musescore.exe to /msvc.install/bin folder. Run project will work with the "$(ProjectDir)\..\..\msvc.install\bin\MuseScore.exe" specified in Debugging field in mscore project

4) Moving AppVeyor from MinGW to MSVC. Exclude ALL MSVC project from INSTALL project. Exclude ALL from PACKAGE. Remove migw-cmake in script build, add .bat instead. Remove xcopy from 7z archive step

5) Fix warning : Warning C4703 potentially uninitialized local pointer variable '' used; Warning C4456 declaration of '' hides previous local declaration; Warning C4458 declaration of '' hides class member

6) Change path to 11 version wix toolset which created .msi installer package
2018-08-04 12:17:31 +02:00
ws
10ebbb9080 update text style implementation 2018-08-01 11:46:35 +02:00
ws
10d1ae0529 add method propertyDelegate() to Element 2018-07-24 15:48:24 +02:00
ws
f57973ce7a fix lineWidth for ottava and pedal lines 2018-07-04 15:08:45 +02:00
ws
175d5aadb3 cleanup ElementFlags interface, use more Placement properties on mxml import/export 2018-07-04 12:41:14 +02:00
ws
d31cfd9885 add Stem to inspector 2018-05-07 19:05:49 +02:00
ws
984e6ee761 fix lineVisible property 2018-05-07 11:28:50 +02:00
ws
f9effbaf23 fix visual test regressions 2018-03-28 17:49:08 +02:00
ws
33d1cd7fb4 rename StyleIdx -> Sid and P_ID -> Pid 2018-03-27 15:36:00 +02:00
ws
2580eb7a69 update for properties/styles 2018-03-27 14:40:45 +02:00
Werner Schweer
df237c58c2 fix visual test line-1 2018-01-03 10:00:01 +01:00
Werner Schweer
ef0e2ef0b2 fixes for element initialization 2017-12-27 16:09:27 +01:00
Werner Schweer
e6175c5dda rearrange class hierarchy 2017-12-27 11:51:09 +01:00
Werner Schweer
0e4211e2d0 update let ring, palm mute 2017-11-27 16:55:52 +01:00
James Falcon
1d51dd7c53 fix #46046: Add tint to highlighted non-visible notes 2017-11-16 17:01:18 +01:00
Werner Schweer
9ceac89c03 enhance 2.x compatibility 2017-05-23 16:52:04 +02:00
Werner Schweer
87913c6754 hairpin updates 2017-03-16 12:13:35 +01:00
Werner Schweer
c4b477bab2 fixes for layout, align property 2017-02-23 11:42:03 +01:00
Joachim Schmitz
9b9081bd36 fix some compiler warnings
not dealing with those where the code suggests that there are TODOs and
those are too far away to immediatelly spot them
2017-02-17 11:04:49 +01:00
Werner Schweer
fe8a3e5e9c move textline properties to inspector 2017-02-07 18:48:41 +01:00
Werner Schweer
5433d719d9 replace TextStyle by SubStyle 2017-01-16 20:59:21 +01:00