Commit graph

155 commits

Author SHA1 Message Date
Marc Sabatella
a27bc1f2f0 manage minDistance when moving away from staff 2019-05-14 17:32:34 -06:00
Marc Sabatella
89aa620352 hairpins + spanner staff detection + collect_artifacts 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
b0d88b5346 add hairpins 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
anatoly-os
5b238628db
Merge pull request #4791 from dmitrio95/script-recorder-properties
Script recorder: support for applying palette elements and changing properties with Inspector
2019-03-15 17:19:17 +02:00
Dmitri Ovodok
d26bd056de Assign PIDs and names for some properties 2019-03-14 15:13:43 +02:00
Joachim Schmitz
40f944c331 fix MSVC compiler warnings
and a MinGW warning too.
Don't cache (old) mingw dependencies on AppVeyor
2019-03-14 10:00:51 +01:00
James Thistlewood
459049b5c4 Add single-note dynamics 2019-03-02 18:18:12 +00:00
Marc Sabatella
80affc3816 fix #284341: alignment of hairpin lines is off 2019-02-20 15:30:52 -07:00
MarcSabatella
25a6691f47 fix #280422: align hairpin and dynamics 2018-12-28 14:45:06 -07:00
ws
487db7fe46 fix #164786 crescendo/diminuendo lines take vertical height from hairpin settings rather than dynamics text setting
The fix introduces new style values for crescendo/diminuendo lines. This moves them to the same position as dynamics.
Also fixed is a another bug: when you switch between above/below the proper offsets were not shown in
the inspector. Another bug was not initializing  styled properties right after reading a score.
2018-12-19 17:53:38 +01:00
MarcSabatella
041a4afe87 fix #280208: hairpin should not normally cross barline to meet note 2018-12-17 16:27:35 -07:00
anatoly-os
266e19c287
Merge pull request #4221 from Jojo-Schmitz/warnings
fix compiler warnings, seen in MinGW and MSVC
2018-12-12 16:30:20 +02:00
ws
c489ea507a fix #278490 Lines placed above the top staff when single note selected 2018-12-12 14:41:57 +01:00
Joachim Schmitz
88d37365a6 fix compiler warnings, seen in MinGW and MSVC 2018-12-12 14:03:43 +01:00
anatoly-os
57f79fa3a2
Merge pull request #4336 from MarcSabatella/279198-ignore-dynamic
fix #279198: ignore invisible/non-autoplaced dynamics on hairpin layout
2018-12-10 17:12:50 +02:00
ws
a43ab873e3 fixes for hairpin inpector gui 2018-12-10 10:49:28 +01:00
ws
445f907aa7 fix #279239 Continuation line overlaps continuation text 2018-12-09 14:29:13 +01:00
MarcSabatella
7722845b3a fix #279198: ignore invisible/non-autoplaced dynamics on hairpin layout 2018-12-06 14:07:58 -07: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
Dmitri Ovodok
36373db15f fix #279063: check systems when aligning hairpins with dynamics 2018-12-03 10:45:28 +02: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
Dmitri Ovodok
5165150de6 fix #121431: fit hairpins between adjacent dynamics
Adjusts horizontal dimensions of hairpins to fit between adjacent
dynamics, if any exist. No vertical aligning included, as it is
already available in the form of begin/end text for hairpins.
Still for some common cases the logic added by this commit is
good enough.

Dimensions calculation code is taken (with some adjustments) from
8bdd1af0be

Also includes:
 - Rename/update Segment::findAnnotation[orElement]
 - Add Score::isPalette() to make it easier to distinguish between
   palette and normal scores on layout stage.
2018-11-23 11:54:31 +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
ws
8bdd1af0be remove hairpin/dynamic layout optimization 2018-11-14 13:13:27 +01:00
ws
9fa6ba571b fix 278122 hairpin offset values are not saved 2018-11-12 11:58:31 +01:00
ws
5f4482d7c8 fix: save manual editing of slurs 2018-11-07 10:46:28 +01:00
ws
3fdfab33f4 fix #277717 Adding hairpins in continuous view leads to crash 2018-11-05 18:51:35 +01:00
ws
c071ad3083 regression: fix hairpin position in palette 2018-11-05 12:04:51 +01:00
ws
e122462931 fix #277746 hairpins can't get moved above staff anymore 2018-11-05 11:49:28 +01:00
Dmitri Ovodok
c95dfd5a40 Make it possible to record elements written to MSCX 2018-10-29 16:30:19 +02:00
ws
abc08ac1f1 fix millimeter offset handling for subtext etc. 2018-10-26 12:28:11 +02:00
ws
8bae2fec91 remove unused setYoff() method from Spanner() 2018-10-26 10:41:30 +02:00
anatoly-os
520ba30058
Merge pull request #3975 from jthistle/fix-hairpin-edit-mode-positioning-issue
fix #276385: hairpin edit mode positioning issue
2018-10-25 16:29:43 +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
James Thistlewood
63af3620e6 fix #276385: hairpin edit mode positioning issue 2018-09-20 16:54:17 +01:00
ws
d02575c521 fix vtest tuplets-2 2018-09-18 11:34:11 +02:00
ws
4b5b55785a fix hairpin vertical default position 2018-09-17 14:35:02 +02:00
ws
17a180baea cleanups for spanner segment autoplace 2018-09-12 09:24:02 +02:00
Joachim Schmitz
b27817fe19 fix more MSVC warnings
* The one C4100
* The one C4189
* The two C4457
* The two C4701
* The 475 C4267, changing to size_t were easily possible, casting to
int elsewhere
* Fix GCC warnings reg. wrong printf format for a size_t, reg. unused
variables and reg. ambigous else branch, seen on Travis CI
2018-09-11 16:56:50 +02:00
ws
b232149321 remove measure staff shapes, replace with skyline 2018-09-11 16:30:47 +02:00
ws
3712f75ce5 fix collision detection for hairpin & articulations 2018-09-06 09:56:18 +02:00
Dmitri Ovodok
104898195b Read and write spanners using the connectors framework
Remove IDs for spanners
2018-08-16 19:10:28 +03:00
ws
ca6e5d003e misc. updates for inspector 2018-08-08 14:16:29 +02:00