Commit graph

82 commits

Author SHA1 Message Date
Igor Korsukov
4c6a56cfff fix #299788 removed assert 2020-03-26 11:18:40 +02:00
AntonioBL
fb55f7e856 fix #288576 : strange results when changing time signature with tremolo between two notes 2019-11-25 16:05:23 +01:00
Dmitri Ovodok
d59dbd969a Fix memory access errors found by AddressSanitizer 2019-04-03 15:20:00 +02:00
Dmitri Ovodok
1f8176aebe fix beams and tuplets memory leaks 2019-03-20 10:23:29 +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
Dmitri Ovodok
298a4dabc2 fix #279183: fix clefs and keysig handling on rewriting measures 2018-12-21 17:36:43 +02:00
anatoly-os
79983705e5
Merge pull request #4426 from dmitrio95/timesig-crashes-2
fix #279570: fix incorrect merging of tied notes on timesig change
2018-12-18 17:15:55 +02:00
Dmitri Ovodok
c73fdd3634 fix #279570: fix incorrect merging of tied notes on timesig change 2018-12-17 14:37:02 +02:00
Dmitri Ovodok
d2f4f5c3db fix #279593: fix handling spanners on changing time signature 2018-12-17 12:10:43 +02:00
Dmitri Ovodok
7c8552620e fix #279761: add a missing list emptiness check 2018-12-17 10:11:50 +02: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
anatoly-os
5eaf97da89
Merge pull request #3958 from Jojo-Schmitz/MSVC-warnings
fix #275218: fix MSVC warnings
2018-10-11 21:29:43 -07:00
Matt McClinch
57bb9be5b8 fix #75991: Split a measure in direct relation (time duration) with some tuplets owned to another staff causes crash 2018-10-08 13:58:57 -04:00
Joachim Schmitz
fe50c85097 fix #275218: fix MSVC C4458 warnings
reg. a declaration shadowing a class member,
"Warning C4458: declaration of 'XXX' hides class member"
2018-09-27 17:38:20 +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
Matt McClinch
c943d33cd5 fix #138941: Subsequent time signatures are shown twice when the first one is changed 2018-08-13 13:30:49 -04:00
wschweer
903817537c remove code duplication: LinkedStaves 2018-04-27 13:29:39 +02: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
1943bd1ff1 replace most static_cast in libmscore 2017-12-20 16:49:58 +01:00
lasconic
60d97e7d39 add mtest for #184061 2017-03-29 00:53:02 +02:00
Werner Schweer
d9ff5a26f6 misc. layout fixes 2017-03-14 17:00:49 +01:00
Werner Schweer
867f2582f6 move Segment::Type into SegmentType 2017-03-08 13:12:26 +01:00
Werner Schweer
60942bab4a global insert: small fix 2016-12-06 15:16:18 +01:00
Werner Schweer
1f243b5ffc update global insert: combine tuplets 2016-12-06 09:36:02 +01:00
Werner Schweer
b8fe9e6332 global insert: handle generated ties 2016-12-03 20:27:51 +01:00
Werner Schweer
b502a5d377 implement framework for 'global insert' 2016-12-03 13:46:58 +01:00
Werner Schweer
3cbe4a8ade fix for nested tuplets in range write 2016-11-29 13:38:25 +01:00
Werner Schweer
407378f3d8 fix for tuplet split; added tests 2016-11-29 09:26:54 +01:00
Werner Schweer
dfe4c7b433 in Range(): allow tuplets to be split in the middle 2016-11-28 17:25:37 +01:00
Werner Schweer
42b14fa114 fix performance regressions: slow loading files 2016-11-02 08:55:54 +01:00
Werner Schweer
f91498ad5c fix minimumMeasureWidth style option 2016-10-26 10:35:12 +02:00
Werner Schweer
f7d96502c3 update layout, change handling of clefs, system header and trailer 2016-10-25 17:35:55 +02: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
ws
5bee246125 some regression fixes 2016-04-13 12:05:47 +02:00
ws
9ec1d02471 code cleanups & speed optimizations 2016-04-13 11:18:14 +02:00
ws
9f933d8503 Layout reorganization 2016-04-13 11:05:04 +02:00
Marc Sabatella
990c79266a fix #60791: timesig change deletes voices 2-4 in linked staves 2015-07-06 20:44:15 -06:00
Marc Sabatella
9c1437b034 fix #49246: elements duplicated when note tied over barline 2015-05-27 15:36:08 -06:00
Marc Sabatella
1e6c3b7e70 fix #51596: corruption deleting global timesig after local 2015-03-20 16:27:32 -06:00
Marc Sabatella
7e4d0daeb0 revert stretch change for now 2015-03-20 00:11:30 -06:00
Marc Sabatella
4ef09e0ea6 fix / prevent by disabling more issues with local time signatures 2015-03-19 15:04:10 -06:00
ws
eacac5cedc fix #38146 2014-11-25 14:40:07 +01:00
ws
4196bd1ca9 fix #38341 2014-11-13 11:53:42 +01:00
lasconic
5fbce98161 remove double ; in several places 2014-11-10 12:41:25 +00:00
ws
88636cbfee fix #23515 2014-08-11 21:17:55 +02:00
ws
de24008aa5 fix #28141 2014-07-27 18:55:05 +02:00
ws
e92ecfd2f8 cleanup findCR() 2014-07-27 16:48:05 +02:00
Joachim Schmitz
e6e7436177 move SegmentType to Segment::Type and make int again
needed to make it available to the plugin framework
and the memory saved is not worth the performance penalty
2014-06-26 11:57:39 +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