Commit graph

289 commits

Author SHA1 Message Date
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
heuchi
83bf498daa scripting: use undo when changing visible property 2015-05-01 15:54:56 +02:00
Andrey M. Tokarev
dee098841a Fix #57651: Crash on paste of tuplet in imported MIDI file 2015-04-25 12:48:39 +03:00
Maurizio M. Gavioli
2f7b5bfe76 Updates the documentation for classes named from E to L 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.

No attempt made to evaluate what to include and what to exclude from documentation: anything which is currently documented is retained. Case by case decisions can always be made.

Also completed update for `Accidental`.
2015-04-24 00:55:46 +02:00
ws
01952574e3 add tests for scripting interface 2015-04-03 18:24:12 +02:00
ws
0e0e258f5a fix high pitch accidental calculation (midi 127) 2015-03-31 17:35:19 +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
ws
12b4b1c097 fix #45581 manual object positioning is incorrect after staff size change 2015-02-20 11:56:13 +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
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
Maurizio M. Gavioli
536cd0f586 Correct pagePos too to use spatium() scaling and add Element.spatium property 2014-11-02 22:44:35 +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
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
6d46589c56 fix #29431 2014-08-13 21:01:21 +02:00
ws
5bd9c426b3 fix #2901 2014-08-07 10:55:57 +02:00
Bartlomiej Lewandowski
491b922dce Added subtype filtering in select similar window 2014-07-22 14:54:49 +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
ws
b70f9b8766 partial fix for #23324 2014-06-27 14:03:17 +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
e50bd46532 move enum Placement to Element::Placement
needed to make it available to the Plugin framework
2014-06-26 11:49:08 +02:00
Joachim Schmitz
b5c97a0636 change enum class SymId back to int
the memory saved is not worth the performance penalty
2014-06-26 11:49:07 +02:00
Joachim Schmitz
0e0350dd9c move enum DynamicRange to Dynamic::Range
needed to make it available to the Plugin framework
2014-06-26 11:49:06 +02:00
Joachim Schmitz
e98297f100 formatting fixes 2014-06-24 14:47:08 +02:00
Joachim Schmitz
77a90bf153 convert enum ElementFlag into enum class 2014-06-24 14:46:50 +02:00
ws
5fc08d094b update Volta 2014-06-19 11:34:28 +02:00
ws
e8be73f41b fix transposition when changing instrument 2014-06-04 10:40:26 +02:00
Joachim Schmitz
931e837c5e convert enum ElementType into enum class 2014-05-23 10:35:27 +02:00
Joachim Schmitz
a1c6c8c493 improve enum ElementFlag
more work needed to convert it into a class, same issue as with
ArticulationShowIn.
2014-05-23 10:35:22 +02:00
Joachim Schmitz
7043cdaac5 convert "enum class" to "enum class : char"
or "enum class : signed char" or even "enum class: short", whatever/whenever feasible on all exsting "enum class" that don't have it yet, also fixing some signed vs. unadorned char. This
should reduce the memory footprint.
2014-05-23 10:35:15 +02:00
Joachim Schmitz
dc14da679b convert enum DynamicRange to enum class 2014-05-23 10:35:04 +02:00
Joachim Schmitz
3b7bd56318 convert enum Placement to enum class 2014-05-23 10:35:02 +02:00
ws
085492df90 fix #17535 2014-05-21 20:08:50 +02:00
Joachim Schmitz
4d3f045970 remove/add some semicolons
which QtCreator's syntax check complains about (but not the compiler)
2014-05-16 13:58:33 +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
Joachim Schmitz
48f2a77496 fix 'German accent' 2014-05-16 13:58:10 +02:00
Marc Sabatella
04c3ced6d6 migrate code to use cutOuts 2014-05-12 11:15:19 -06:00
Joachim Schmitz
27ba0bada7 some purly cosmetic changes
adding semicolons for Q_DECLARE_METATYPE() and
Q_DECLARE_OPERATORS_FOR_FLAGS(), removing semicolons from Q_PROPERTY()
(QtCreator complains about them) and fixing a comment, reformatting for
alignment
2014-05-12 12:28:07 +02:00
lasconic
3b42696285 fix dynamic range access from plugin framework 2014-05-12 10:40:39 +02:00
ws
76eb9ebfb0 use char for some enums 2014-05-07 18:09:01 +02:00
ws
50c77c9986 fix #25650 2014-05-07 12:10:28 +02:00
ws
d6ff895c01 fix #25636 2014-05-05 12:25:17 +02:00
ws
e534cccef8 bug fixes for concert pitch switch 2014-04-09 16:09:21 +02:00
ws
b4a3b41c49 fix #16626 2014-03-16 14:57:32 +01:00
lasconic
f046cd7020 fix #24223: rests outside staff should show ledger lines 2014-03-15 12:32:58 +01:00
ws
79b6dd592b fix lineproperties dialog 2014-03-13 16:21:30 +01:00
ws
fd66e91bc0 link frames 2014-02-28 14:25:47 +01:00
ws
e8709dd17d enable kerning for consecutive score symbols (like fff) 2014-01-23 13:35:50 +01:00
Joachim Schmitz
2481872bbf improve, fix and extend plugin dosumentation
not sure about the changes in mstyle though
2014-01-12 12:51:51 +01:00
ws
2902cf6dae smufl: add ottava numbers for emmentaler 2014-01-09 13:09:58 +01:00
ws
b1e03fd8bb adapt bsp changes 2014-01-03 12:09:23 +01:00
Maurizio M. Gavioli
41588b2bc1 Renamed element to "Ambitus" 2013-11-25 12:17:12 +01:00
Maurizio M. Gavioli
794612ce0f Rename to Part Range 2013-11-24 23:32:03 +01:00
Maurizio M. Gavioli
f8ef6e6443 Initial implementation of a Range element to display a tune range 2013-11-24 23:30:44 +01:00
ws
cd655c5197 smufl: more trill line fixes 2013-11-21 12:41:38 +01:00
ws
bb5f256142 smufl: add multi measure rest test 2013-11-19 19:23:15 +01:00
ws
0ac248aee8 bravura: multi measure rest 2013-11-19 17:23:29 +01:00
ws
e003034cd8 implement arpeggios for smufl 2013-11-19 12:12:24 +01:00
ws
e6e7abbd6d smufl integration: articulation 2 2013-11-12 09:29:13 +01:00
ws
733c1934db smufl integration, part I 2013-11-12 09:29:12 +01:00
lasconic
e402ea6c48 fix upper case of elementName in UI 2013-11-03 18:38:53 +01:00
ws
e6cbbabe2b move anchor while dragging dynamics 2013-10-22 12:05:31 +02:00
ws
63fe67a54a fix accidentals for trills 2013-08-30 16:04:01 +02:00
ws
4768eee40e add noSlope beam style/property 2013-08-13 19:10:22 +02:00
ws
8bbceb045f inspector update: make styled properties undoable 2013-08-07 13:21:05 +02:00
ws
cc10cd0372 distinguish between styled and unstyled properties in inspector 2013-08-06 21:15:25 +02:00
ws
e6a2dfde2c update inspector; styled line width for ottava 2013-08-06 19:28:20 +02:00
Leon Vinken
9a1d84c4c3 Framework for bagpipe palette 2013-08-04 11:12:09 +02:00
ws
6286de1872 fix #22082 2013-07-31 11:06:01 +02:00
ws
881781cfbe fix #21990 2013-07-23 19:08:46 +02:00
ws
fb8292b11c move beams when dragging stave 2013-07-23 18:20:35 +02:00
ws
f21a599ee6 new style parameter multiMeasureRestMargin; fix #2834 2013-07-17 12:18:10 +02:00
ws
d0b29ababa add new style parameter 'barAccidentatalDistance' 2013-07-15 11:57:07 +02:00
lasconic
d4d6a27565 more fixes for plugins, namespace is needed in Q_INVOKABLE functions parameters too 2013-07-13 18:53:50 +02:00
lasconic
cf0d56d965 fix #21819: Q_INVOKABLE needs namespace declaration, better fix for #21812 2013-07-13 18:41:16 +02:00
ws
a7904c31f5 refactoring spanner, part I 2013-06-10 11:03:34 +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
268c657188 add midi import division test 2013-04-17 10:50:37 +02:00
Daniel
3ccfc359f4 fix #11261: improved logic for inserting measures 2013-04-13 16:58:20 -05:00
ws
220db94494 reorganize synthesizer; add zita1 reverb 2013-04-03 12:50:21 +02:00
ws
667cd5c6dd cleanups 2013-03-25 16:27:20 +01:00
lasconic
e43b4bc435 adjust 1line staff to use first line 2013-03-23 15:49:11 +01:00
ws
3cf25dced1 new subType() Element method for selection gui 2013-03-05 20:34:15 +01:00
ws
2bcc1bdf5a change edit mode implementation 2013-02-27 11:26:58 +01:00
ws
75d780cb79 fix drag&drop from palette 2013-01-18 10:55:52 +01:00
ws
bf1cbe2aa0 use QXmlStreamReader for xml parsing 2013-01-11 18:10:18 +01:00
ws
9fae9fbfea low level optimizations 2013-01-03 09:03:26 +01:00
ws
00ce99f280 fix stem layout; some optimizations 2013-01-02 09:30:59 +01:00
Leon Vinken
f1147b836e removed mxmlOff (prepare for fixing #19459) 2013-01-01 16:23:24 +01:00
Werner Schweer
3bed7823bf rename toDefault() to reset() 2012-11-19 10:08:15 +01:00
Werner Schweer
4afe07da6c moved property Placement to Element; change musicxml import/export to use Placement property 2012-10-31 14:21:13 +01:00
Werner Schweer
2cbb3a93ff add Placement property to more elements 2012-10-31 11:48:12 +01:00
Werner Schweer
d24d83a531 add new property Placement to TempoText 2012-10-31 11:48:12 +01:00
Werner Schweer
2412a8dc82 remove yoffset from Spanner 2012-10-29 17:14:05 +01:00
Werner Schweer
2ec3cbd6e2 Merge pull request #100 from mgavioli/Plugin_element_pos_userOff
Plugins: Element pos and userOff properties
2012-10-05 03:32:01 -07:00
Werner Schweer
2baa6615ef update for simpletext; enhanced text compatibility with 1.2 2012-10-04 17:07:38 +02:00
Werner Schweer
038f2f1001 import 1.2: fix marker x position 2012-10-02 17:07:28 +02:00
Maurizio Gavioli
86454bcfa6 Plugins: Element pos and userOff properties
Accept and return values in spatium units rather than raster
Changes are undoable
Changes to pos routed into changes of userOff
2012-09-30 18:54:34 +02:00
Werner Schweer
ba9714516b some regression test fixes 2012-09-22 18:26:43 +02:00
Werner Schweer
3fe697f54d implement inspector for hairpin elements 2012-09-18 09:28:28 +02:00
Joachim Schmitz
df2a12202f updating plugin documentation
and fixing a wrong type for "time"
2012-09-13 18:53:55 +02:00
Werner Schweer
3139970fd1 move ElementType to Element() 2012-09-13 18:07:11 +02:00
lasconic
d7ef308675 some more plugin bindings 2012-09-13 16:10:13 +02:00
Werner Schweer
c44614970a consider possible cautionary time signatures when calculating line breaks 2012-09-06 12:35:34 +02:00
lasconic
10d6afdfff draw ledger lines below noteheads 2012-09-02 22:21:49 +02:00
Werner Schweer
da595cce88 1.2 import: fix dynamics layout 2012-08-23 18:46:11 +02:00
Werner Schweer
da1358de52 extend property implementation 2012-08-12 11:44:36 +02:00
Werner Schweer
c02cf8772e property implementation rollback 2012-08-10 17:01:35 +02:00
Werner Schweer
55be811a6d layout changes 2012-08-01 18:00:27 +02:00
Werner Schweer
3d91e61ef4 More plugin bindings 2012-07-25 11:49:34 +02:00
Werner Schweer
f585fc29bb fix bounding box for stem & chord 2012-07-24 14:20:43 +02:00
Werner Schweer
2914f0a702 more plugin bindings 2012-07-16 19:59:32 +02:00
Werner Schweer
8e11e03a53 add manual generator for plugins 2012-07-11 21:29:42 +02:00
Werner Schweer
52744d6de9 more script bindings; add pluginCreator help browser 2012-07-10 17:17:17 +02:00
Werner Schweer
9d7e56f320 - create Cursor from Score
- return Note from Cursor->addNote()
2012-06-28 10:03:19 +02:00
Werner Schweer
bb2bf51371 Merge branch 'master' into qml
Conflicts:
	.gitignore
	mscore/CMakeLists.txt
2012-06-28 09:31:07 +02:00
Werner Schweer
2b3ea0daa9 fix #16853: Note nudge is cancelled on redraw 2012-06-09 10:50:51 +02:00
Werner Schweer
be6f47bd38 add createscore.qml testscript 2012-06-08 19:06:52 +02:00
Werner Schweer
9e38c9ab7f Merge branch 'master' into qml
Conflicts:
	.gitignore
	CMakeLists.txt
	mscore/musescore.cpp
2012-06-04 20:27:36 +02:00
Werner Schweer
7de7873d6f - extend qml plugin interface
- add demo plugin "notenames.qml"
2012-05-30 20:54:26 +02:00
Werner Schweer
b1cb15f76f - extend qml plugin interface with "Cursor" object
- add "colornotes.qml" example
2012-05-30 17:12:30 +02:00
Werner Schweer
d7cfd8e9cb qml plugin update 2012-05-29 22:55:30 +02:00
Werner Schweer
5182c9e085 derive Element from QObject; add Q_OBJECT into every Element class 2012-05-28 11:29:21 +02:00
Werner Schweer
1f9ccfcdce add libmscore
git-subtree-dir: libmscore
git-subtree-mainline: 412ca45401
git-subtree-split: 6047361bd0
2012-05-26 14:54:47 +02:00