Commit graph

182 commits

Author SHA1 Message Date
Marc Sabatella
5803aa5a55 fix #63481: scale symbols, trill lines, arpeggios, and glissandi with staff size 2015-06-05 14:55:52 -06:00
lasconic
805c54ef06 fix #59766: Stems do not align with DO and TI note head 2015-06-03 10:23:01 +02:00
ws
39954cc843 fix #61726: difficult to select spacer in 1st measure of a system using brackets 2015-06-01 13:34:21 +02:00
ws
3e383af345 fix arpeggio and glissando lines 2015-05-08 08:59:34 +02:00
ws
eff562ee3f render score fonts with freetype 2015-05-06 08:56:58 +02:00
lasconic
61eed11401 fix all warnings on Mac OSX. Hopefully without side effects on other platforms. 2015-05-05 18:28:39 +02:00
heuchi
83bf498daa scripting: use undo when changing visible property 2015-05-01 15:54:56 +02:00
Marc Sabatella
9385df24bd fix #56146: bad read/layout for 1.3 score with invalid symbol tick 2015-04-12 14:14:41 -06:00
ws
e384f62097 fix #52506 Split Staff on particular slur crashes MuseScore 2015-04-10 11:51:35 +02:00
ws
c2f2dcdaa9 restrict text drag to page boundaries 2015-04-08 18:42:49 +02:00
ws
fd0fe54097 remove RubberBand element 2015-03-31 17:35:18 +02:00
lasconic
d5c71d3137 fix #51526: Changing text color via Inspector doesn't work 2015-03-20 09:58:41 +01:00
ws
d2ccd687e9 save user modified StemSlash 2015-03-09 18:31:49 +01:00
ws
d952c4c11a fix #45231 Undo does not restore sound of deleted instrument change, crash on subsequent undo 2015-03-05 16:55:09 +01:00
Maurizio M. Gavioli
b12132258d Fix #49126 Glissando and the Inspector / Fix #49141 - Glissando dragging
**Common part**: Both issues stemmed by the fact that clicking a glissando sometime selected the whole `Glissando` and sometime one of its segments.

It depended on the order in which element types appear in `element.h` enum: for all other spanners the segment type is listed **before** the whole element type, while for `GLISSANDO` and `GLISSANDO_SEGMENT` it is opposite.

Changing the order ensures that the segment is always selected rather than the whole `Glissando` element.

**Inspector**: adding property management to `GlissandoSegment` routing whole `Glissando` properties from the segment to the `Glissando` fixes `Glissando` access in Inspector once one of its segment(s) is selected.

This is parallel to how other spanners are currently managed (see for instance, `TextLine` and `TextLineSegment`).

**Dragging** and Saving: fixed by treating glissando segment user offset as user offset rather as position component (parallel to how VOLTA is managed).
2015-02-28 12:15:56 +01:00
ws
54a6d64d97 fix #48481 Last measure of score corrupt when applying local time signature 2015-02-23 10:10:18 +01:00
ws
835b5f254e remove LAYOUT element! 2015-02-23 09:01:14 +01:00
lasconic
d25a3d63b4 fix #36266: All the Lines and Fretboard Diagram displayed twice after undoing move 2015-02-21 16:49:26 +01:00
ws
12b4b1c097 fix #45581 manual object positioning is incorrect after staff size change 2015-02-20 11:56:13 +01:00
Joachim Schmitz
36a9eaec8b change "Lyrics Line Segment" to "Melisma Line Segment"
to match "Melisma Line"
2015-02-19 12:25:54 +01:00
Maurizio M. Gavioli
76c191a695 Rebasing 2015-02-18 12:25:10 +01:00
Maurizio M. Gavioli
f5d831a023 Glissando as a multi-segment line.
- Implemented as a sub-class of `SLine`.
- Anchor type changed from CHORD to NOTE: allows to attach glissando start and end points to individual notes, rather than generically to chords (with note within the chord chosen by the program).
- The Glissando element is now stored in the `Note::_spannerFor` list.
- `Chord::_glissando` has been removed and replaced by a `bool _endsGlissando`, recording whether the chord is at the end of glissando (as gliss.-end chords require more space if mid-measure or system-initial).
- Debugger UI for `Chord` updated accordingly.
- Glissando in now save into score file as a spanner, within the initial note, and with appropriate `<endSpanner>` tag in the Glissando ending note.
- Existing scores with the old Glissando file format are correctly read back.

Notes:

- MusicXML import/export of the new Glissando implementation NOT IMPLEMENTED.
- This version can read scores from older versions, but older versions **cannot read** scored from this version (they do not expect a <Glissando> tag within a Note). Does this require a NEW FILE VERSION NUMBER?
- This implementation would allow rather easily to move the start and end anchors around (as for slurs) to override the note/chord chosen by the program when the glissando is initially created; but the UI for this is not implemented yet.
2015-02-18 12:21:56 +01:00
ws
8dacb7f27b fix #47141 Wrong results ion lined staves (Tab and standard) when dragging notes with mouse 2015-02-12 11:41:39 +01:00
ws
265b630abd extend implementation of property system 2015-02-04 22:12:13 +01:00
ws
16764d4614 fix #44466: Crash extending volta over mmrest starting a new system + other cleanups 2015-01-19 12:41:16 +01:00
Joachim Schmitz
4eb005d501 some (pre-)translation fixes 2015-01-18 08:50:16 +01:00
Maurizio M. Gavioli
c69d2a9262 Lyrics multi-system melisma and dashes
Implements melisma and dash lines for lyrics spanning several systems.

The melisma and dash line is based on the `SLine` class and its segments on the `LineSegment` class. Both the whole line and its segments are not selectable, marked as generated and not saved in the score file, which is not changed in any way.

For very wide dash segments, several dashes are drawn; the distance between the dashes is not configurable.

Lyrics layout code in `Measure` class and in `layout.cpp` file has been commented out as the lyrics line layout is all contained in the lyrics.cpp file

The line is registered with the `Score` (to have its layout delayed until all elements are positioned) with a mechanism similar to other `Spanner`'s, but in a different container (`_unmanagedSpanner`), as the owning `Lyrics` should decide when create, register, unregister and delete its line.

The line segments are registered with the `System` they belong to (to have them drawn), in the same way as other `Spanner`'s.

There is code for using the dash metrics of the lyrics font, but it is turned off via a conditional directive, as there does not seem to be a reliable way to determine the dash metrics; conventional values (determined by trials and errors and based on my taste!) are used when the conditional directive is off.
2015-01-11 10:16:19 +01:00
Marc Sabatella
f4307516df fix #31856: add option to trim whitespace from exported PNG 2014-12-09 08:55:11 -07:00
Nicolas Froment
91600c57ee Merge pull request #1416 from mgavioli/scripts_bbox_in_spatium_units
Scripting: element.bbox property in spatium units
2014-11-07 17:08:42 +00:00
ws
fd82ab6679 fix slur/tie regression 2014-11-06 19:18:42 +01:00
ws
5ed2bc8be8 fix #35466 2014-11-06 10:44:57 +01:00
Maurizio M. Gavioli
536cd0f586 Correct pagePos too to use spatium() scaling and add Element.spatium property 2014-11-02 22:44:35 +01:00
ws
34eee47e7a fix #37911 2014-11-01 12:12:19 +01:00
Maurizio M. Gavioli
218d672a93 Scripting: element.bbox property in spatium units
Currently, the `element.bbox` property returns a rect in raster units.

Changed to return data in spatium units.
2014-10-29 13:29:29 +01:00
AntonioBL
b0098ee2c6 fix #22779 : Slur color change not showing in the score 2014-10-01 15:47:59 +02:00
ws
dd7ae64592 fix #30826 2014-08-26 19:00:02 +02:00
ws
e3b05e956e make unlink() more robust 2014-08-19 13:35:13 +02: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
c78951ba3c new Feature: free scaling of staff size 2014-08-14 16:53:20 +02:00
ws
a970a2fa8c fix linking of guitar bends in parts 2014-08-08 11:22:59 +02:00
ws
c5671c8359 fix #28656 2014-08-02 09:48:59 +02:00
Bartlomiej Lewandowski
491b922dce Added subtype filtering in select similar window 2014-07-22 14:54:49 +02:00
ws
28a31ccddd fix #27901 2014-07-21 14:28:37 +02:00
lasconic
3a68b492c5 fix accidental parenthesis in palette by using an icon, it's the same than the note one, added a shortcut to add bracket around note and accidental 2014-07-18 00:11:00 +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
Nicolas Froment
e593c861f7 Merge pull request #979 from Jojo-Schmitz/warnings
Warnings
2014-06-17 15:17:19 +02:00
Nicolas Froment
f5ef09bde5 Merge pull request #971 from MarcSabatella/26091-read-tick
fix #26091: correct tick for staff text & symbol
2014-06-17 15:12:59 +02:00
Joachim Schmitz
836db56543 fix warnings reg. wrong format specifier 2014-06-17 14:23:15 +02:00
Marc Sabatella
7cc362d28b fix meaningless typo, hoping travis failure was glitch 2014-06-11 15:36:24 -06:00