Commit graph

91 commits

Author SHA1 Message Date
pereverzev_v
9f70fbee53 Fixed a lot of compilation warnings fro GCC 2020-06-02 19:22:29 +02:00
Igor Korsukov
b6dabf5e0b fixed ctor colon 2020-05-29 21:15:25 +02:00
Igor Korsukov
45b9887603 changed code style 2020-05-28 09:50:45 +02:00
Matt McClinch
472cb6bfb5 fix #294085: all elements set to normal position if all rests in voices other than voice 1 are deleted
This factors out the inner workings of Measure::checkMultiVoices() into a variant of Measure::hasVoices() that takes a start tick and a length in addition to a staff index.

Co-authored-by: Howard-C <howardc@pku.edu.cn>
2020-04-08 08:22:07 -04:00
Dmitri Ovodok
5c3b407dae Move setting up grips out of Element::startEdit() 2019-12-24 14:16:06 +02:00
luz.paz
f31624d746 fix various typos
* Found via `codespell -q 3 -S ./share/locale,./thirdparty -L ba,cann,clas,dur,foto,iff,nd,ois,ot,pres,possibile,snaped,strack,tage,te,uint,thru,valu`  
* Some revisions made per feedback given during review.
* Follow-up typos for review  
* Add revisions per feedback
2019-12-19 06:13:30 -05:00
Dmitri Ovodok
99c7b0d746 Add more information to setLayout() 2019-10-25 16:18:41 +02:00
Matt McClinch
84ee193c78 fix #284002: Tablature: unexpected default behavior with tied fret mark and parenthesis 2019-06-11 14:15:01 -04:00
Marc Sabatella
f60e99ddb4 fix #289616: tie displayed incorrectly at start of system with inactive key signature 2019-05-24 20:53:22 -06:00
Marc Sabatella
c5cacda1d7 fix #289614: bad layout of tie with clef change 2019-05-24 20:32:13 -06:00
Marc Sabatella
b00b5b407b fix #289605: bad layout of cross-staff ties that also cross system breaks 2019-05-24 20:30:23 -06:00
Dmitri Ovodok
2b9b8d0f17
Merge pull request #4682 from lyrra/fix_282184
fix #282184 dont layout invisible slurs
2019-04-22 15:34:33 +03:00
larry
18c7b1584f fix #282184: dont layout invisible slurs 2019-04-17 15:21:44 +02:00
Marc Sabatella
ec6f167f0b fix #286645: scale elements 2019-04-11 06:36:32 -06:00
anatoly-os
62bc8f1935
Merge pull request #4848 from MarcSabatella/287022-tie-system
fix #287022: layout of tie after turning off header elements
2019-04-10 12:20:14 +02:00
Marc Sabatella
8e8eb73cf6 fix #287022: layout of tie after turning off header elements 2019-03-31 10:58:16 -06:00
Marc Sabatella
8fbd3e04d3 fix #286948: horizontal tie normally 2019-03-30 17:21:25 -06:00
Marc Sabatella
f1ccc25997 fix #279182: layout of cross-staff slurs and ties 2019-03-20 15:35:37 -06:00
sidewayss
bcbba5a124 FIX#88411 tablature tie position 2019-03-18 14:11:26 -06:00
Dmitri Ovodok
c9c1f03a2f Optimize Bezier curve shape approximation
Using CubicBezier::pointAtPercent instead of
QPainterPath::pointAtPercent makes layout about 25% faster in some
cases.
2019-02-12 22:45:47 +03:00
Marc Sabatella
007a74e9af fix #280383: bad edit handles for ties 2019-01-11 15:11:22 -07:00
Joachim Schmitz
ff292d98b2 eliminate debug artifacts 2018-12-18 14:55:54 +01:00
ws
2435d84cd2 fix #279533 Edited tie hard to select, resets to default on next layout 2018-12-09 15:42:56 +01:00
Dmitri Ovodok
acb225d1e2 fix #278120: Fix reading/writing slur/tie segments 2018-11-26 01:59:12 +02:00
Dmitri Ovodok
f42943e90b fix #278722: do not delete spanner segments but reuse them 2018-11-26 01:59:02 +02: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
5f4482d7c8 fix: save manual editing of slurs 2018-11-07 10:46:28 +01:00
Dmitri Ovodok
c95dfd5a40 Make it possible to record elements written to MSCX 2018-10-29 16:30:19 +02:00
ws
edeabec275 do not disable autoplace when dragging element 2018-10-24 11:32:11 +02:00
ws
d77183b3bb refactoring of Element::userOff and TextBase::offset 2018-10-18 11:56:23 +02:00
ws
58fc85be80 fix #275385 line collides a tie 2018-09-27 16:28:25 +02:00
Matt McClinch
d6ceff6aa9 fix #276111: Inserting system break causes distorted tie 2018-09-15 15:49:38 -04: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
Dmitri Ovodok
977ff8be31 Write TieSegments in <TieSegment> tag instead of <SlurSegment> 2018-08-16 19:10:29 +03:00
Dmitri Ovodok
68a06d68b2 Do not write redundant "track2" property for SlurTie, remove obsolete read code for Slur and Tie 2018-08-16 19:10:28 +03:00
Dmitri Ovodok
104898195b Read and write spanners using the connectors framework
Remove IDs for spanners
2018-08-16 19:10:28 +03:00
alexandr
df114f189c Compile under MSVC: this commit caontais all changes to run MSVC build
1) fix some bugs which appear in runtime:  replace QString::tostdstring() to Foo.toUtf8().constData().

2) Enable start center online community. To use it you need download webengine in your QT lib. see instruction https://musescore.org/en/handbook/developers-handbook/compilation/compile-instructions-windows-visual-studio-2017-wip

3) update install steps. Add additional dlls for webEngine. Add copying dlls and musescore.exe to /msvc.install/bin folder. Run project will work with the "$(ProjectDir)\..\..\msvc.install\bin\MuseScore.exe" specified in Debugging field in mscore project

4) Moving AppVeyor from MinGW to MSVC. Exclude ALL MSVC project from INSTALL project. Exclude ALL from PACKAGE. Remove migw-cmake in script build, add .bat instead. Remove xcopy from 7z archive step

5) Fix warning : Warning C4703 potentially uninitialized local pointer variable '' used; Warning C4456 declaration of '' hides previous local declaration; Warning C4458 declaration of '' hides class member

6) Change path to 11 version wix toolset which created .msi installer package
2018-08-04 12:17:31 +02:00
ws
af29311ec4 remove Element->_readPos 2018-04-30 16:08:25 +02:00
ws
33d1cd7fb4 rename StyleIdx -> Sid and P_ID -> Pid 2018-03-27 15:36:00 +02:00
luz.paz
dab3b5f056 Misc. typos follow up
Follow up to previous typo commit a8ac55c180
2018-02-19 19:30:12 -05:00
Matt McClinch
2e112abcff fix #175216, fix #269114: Crash with shortcut alt+arrow up/down if more than one element or nothing is selected
Fix other related issues with the up-chord/down-chord commands
Prevent crash when adjusting the grips of ties
2018-02-09 12:44:18 +01:00
Werner Schweer
b46b55fa1e fix ties from/to grace notes; add 'final' to classes were appropriate 2017-12-21 14:08:44 +01:00
Werner Schweer
1943bd1ff1 replace most static_cast in libmscore 2017-12-20 16:49:58 +01:00
robbie
aadb223050 fixes #257631 Crash in layout with TieSegments 2017-10-10 10:05:16 +11:00
Werner Schweer
76160ccd69 fix #248461: Crash in scores containing ties into chords 2017-09-04 12:14:44 +02:00
Werner Schweer
6d301fbbf5 update spanner editing 2017-07-26 09:59:34 +02:00
Werner Schweer
5da44ffd97 change tie implementation 2017-07-19 17:54:10 +02:00
Werner Schweer
a6aa63760f fix slur/tie shape 2017-07-10 15:23:00 +02:00
Werner Schweer
c89464f8b0 fix quirks while editing slurs in staves > 1 2017-07-05 17:41:47 +02:00
Joachim Schmitz
f0d8aab7ca fix #187556: Allow wide dashed slurs/ties 2017-04-13 13:54:12 +02:00