Commit graph

189 commits

Author SHA1 Message Date
anatoly-os
9fb5da21be
Merge pull request #4858 from MarcSabatella/286530-scale-dot
fix #286530: scaling of dot, lines, and more in parts
2019-04-10 14:48:42 +02:00
Marc Sabatella
8fc60cd660 fix #284644: offset of instrument name when generating parts 2019-04-01 16:13:32 -06:00
Marc Sabatella
b8d0338fcd fix #286530: scaling of dot, lines, and more in parts 2019-04-01 15:04:50 -06:00
Margus Niitsoo
62e85582e9 Tool to unroll repeats. Fix #283592
As a by-product, also Fix ##100246
2019-03-19 16:27:33 +02: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
Joachim Schmitz
1e24b4d60d fix MSVC/MinGW compiler warnings 2019-02-05 12:13:16 +01:00
ws
4dd37ecc7c fix #280214 Text style offsets are ignored when generating parts 2018-12-20 11:41:07 +01:00
ws
483740b42e fix #280095 Crash on part generation in the presence of tremolos 2018-12-19 14:53:07 +01:00
Dmitri Ovodok
2cad22fb84 fix #279782: unlink the removed staves instead of the remaining ones on excerpt removal 2018-12-13 10:25:59 +02:00
MarcSabatella
c0d8e957de fix #248891: chord symbols transposed incorrectly when score concert, parts not 2018-12-03 16:27:08 -07: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
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
ws
1edd676aa7 fix #277699 Staff properties corrupted on MusicXML import after Master Palette opened
The problem is deep in the initialization of staff types in Staff.
This commit also tries to make handling of StaffType more "const correct" and adds some
assertions which may lead to crashes (and helps detecting bad code).
2018-11-08 15:50:00 +01:00
ws
ac35cd1c56 fix harmony default position 2018-10-22 11:23:19 +02:00
ws
d77183b3bb refactoring of Element::userOff and TextBase::offset 2018-10-18 11:56:23 +02:00
Joachim Schmitz
474e8152cd fix #275218: fix MSVC C4456 warnings
reg. a declaration shadowing a previously declared local
variable,
"Warning C4456: declaration of 'XXX' hides previous local
declaration"
2018-09-27 17:38:19 +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
10ebbb9080 update text style implementation 2018-08-01 11:46:35 +02:00
ws
af29311ec4 remove Element->_readPos 2018-04-30 16:08:25 +02:00
wschweer
903817537c remove code duplication: LinkedStaves 2018-04-27 13:29:39 +02:00
ws
917561d5ce fix linking of text 2018-04-18 14:31:47 +02:00
ws
b1a14fe7e0 small fix for editing linked staff text 2018-04-18 14:31:47 +02:00
ws
a747b2be7e fix #122001 Staff text automatic placement doesnt work, neither in score nor in parts 2018-04-12 13:22:57 +02:00
ws
33d1cd7fb4 rename StyleIdx -> Sid and P_ID -> Pid 2018-03-27 15:36:00 +02:00
ws
ee0b1b889d fix regressions 2018-03-22 13:17:22 +01:00
ws
6969419cfc update subStyle implementation 2018-03-21 14:05:43 +01:00
lasconic
39a8b26718 fix #270476: Tuplets numbers, when creating parts, obey first to the scaling in main score instead of the default parts scaling 2018-03-19 22:12:38 +01:00
luz.paz
dab3b5f056 Misc. typos follow up
Follow up to previous typo commit a8ac55c180
2018-02-19 19:30:12 -05:00
Werner Schweer
e6175c5dda rearrange class hierarchy 2017-12-27 11:51:09 +01:00
Werner Schweer
1943bd1ff1 replace most static_cast in libmscore 2017-12-20 16:49:58 +01:00
lasconic
4fd1aa0ebd fix #265116: Memory leak of score in excerpts 2017-11-14 17:53:25 +01:00
Werner Schweer
ac41fa396e update edit infrastructure 2017-03-31 13:03:30 +02:00
Werner Schweer
d9ff5a26f6 misc. layout fixes 2017-03-14 17:00:49 +01:00
lasconic
ce77e12d35 fix #25271: Follow up, add comments. 2017-03-13 12:05:19 +01:00
Nicolas Froment
b519c87254 Merge pull request #2953 from vinayakvivek/25271-part-export
fix #25271: Part export automatic numeration of same instruments
2017-03-13 11:44:14 +01:00
Werner Schweer
cf42a3a377 fix #179926: add scale property for time signature 2017-03-09 13:37:53 +01:00
Werner Schweer
867f2582f6 move Segment::Type into SegmentType 2017-03-08 13:12:26 +01:00
vinayak
b860643291 fix #25271: Part export automatic numeration of same instruments 2017-02-16 22:16:08 +05:30
Werner Schweer
251c298821 more complete SystemText impl. 2017-01-23 10:54:57 +01:00
Werner Schweer
e8621b8e2a fingering layout update; fixed layout bugs 2017-01-19 16:06:40 +01:00
Werner Schweer
1d4c6b2f21 move Element::type() to ScoreElement 2017-01-18 14:16:33 +01:00
Werner Schweer
5433d719d9 replace TextStyle by SubStyle 2017-01-16 20:59:21 +01:00
Werner Schweer
337e885896 barline changes, part-1 2016-12-28 16:36:59 +01:00
lasconic
8051b4238e fix #151156: Cross-staff glissando missing when creating piano part 2016-12-15 00:27:46 +01:00
Werner Schweer
660b393b98 change StaffType interface 2016-12-14 15:44:24 +01:00
lasconic
45d443a6d5 add back tst_links 2016-12-02 10:47:09 +01:00
Werner Schweer
42b14fa114 fix performance regressions: slow loading files 2016-11-02 08:55:54 +01:00
Werner Schweer
4e0b0dbae0 update layout code 2016-10-20 11:32:17 +02:00
lasconic
591dd75059 replace extern functions by static for excerpt creation 2016-10-12 11:09:53 +02:00
Werner Schweer
0763a5cca4 make part names editable 2016-10-10 18:37:39 +02:00