Commit graph

110 commits

Author SHA1 Message Date
James Thistlewood
50bb690f6f migrate hairpin dynamics and VeloList to more generic ChangeMap 2020-01-26 17:19:21 +00:00
Dmitri Ovodok
814620476b Add sticking feature 2019-06-15 13:52:28 +02:00
anatoly-os
5bd7e15de6
Merge pull request #4821 from dmitrio95/docs
Add Doxygen-based plugins documentation
2019-04-04 09:25:11 +02:00
Dmitri Ovodok
b0df6adbde Move FileIO plugin API out of libmscore 2019-03-22 17:55:47 +02: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
Margus Niitsoo
70868cdd05 Moved fractions computation to .h file, unrolled gcd, made computations more efficient 2019-02-19 16:10:02 +02:00
Dmitri Ovodok
ea81a9338c Add a new QML plugins API
- Move Qml plugin engine out of libmscore
 - Add Pid::TICK handling to Element class
 - Make tick QML property correspond to absolute tick in all contexts
     That is a temporary solution though, a proper solution would
     require revising Pid::TICK handling
 - Move plugins API to api directory
 - Rename ElementW -> Element (PluginAPI namespace)
 - Remove Qt meta-object macros from Score in libmscore
 - Remove string-based access to properties from QML
 - Remove unused functions from Note
 - Rename QML properties names to camel case
     Two reasons:
       - They were named so in MuseScore 2.X.
       - Using underscored_names is less consistent with MuseScore
         coding style.
2019-01-24 17:36:05 +03:00
anatoly-os
7fef02e272
Merge pull request #4112 from dmitrio95/replace-diff-library
Replace diff_match_patch with dtl library for performing text diffs
2018-11-07 14:15:30 +02:00
Dmitri Ovodok
e1986bd86b Replace diff_match_patch with dtl library for performing text diffs
Replacement is done for license reasons: diff_match_patch is
distributed under Apache-2.0 license which is not GPLv2-compatible.
2018-11-07 09:12:57 +02:00
mirabilos
65cd276439
remove RCS IDs from (almost) all files
they do not make any sense, nor do they get updated, if the
source code is kept in git
2018-11-02 23:53:21 +01:00
Dmitri Ovodok
468afe0700 Add a score comparison engine 2018-10-29 17:04:32 +02:00
ws
8a42030a4c fix measure number layout 2018-10-24 10:40:19 +02:00
ws
d77183b3bb refactoring of Element::userOff and TextBase::offset 2018-10-18 11:56:23 +02:00
Joachim Schmitz
098ee4d46a fix #275218: fix MSVC LNK4221 warnings
about empty objects
2018-09-27 17:38:19 +02:00
Dmitri Ovodok
c354eb24c3 Remove read300 functions 2018-09-19 01:57:37 +03:00
ws
a64d5d81d3 add preparations for 'skyline' algorithm to calculate system distance 2018-09-03 09:54:20 +02:00
alexandr
b259099300 fix #275552 fix#137501: Inability to show MM rests in Continuous View
1) The reason of crash is utilizing already deleted pointer. Each element are lying in tree.   The parent of VBox element is System element. When we change mode to continuous view MS deleted all system elements and create new one. Then populate new tree with new system which root. But VBox is not shown in continuous view and MS do not set new parent for VBox. Sow VBox have pointer to deleted SYstem element. I fixed it.
2) Add header file to libmscore/CMakeLists. It doesn't effect on building, But it is necessary to include header files to Visual Studio IDE

3) Fix inability to show multi-measure rests in Continuous View see https://musescore.org/en/node/137501
2018-08-29 12:04:48 +02:00
Dmitri Ovodok
2c28195c1c Add a framework to read/write connectors using relative positions instead of IDs
Try to reconnect broken connectors while reading MSCX files
2018-08-16 19:10:28 +03:00
Dmitri Ovodok
9bb7666779 Use a universal <location> tag to denote various position shifts 2018-08-16 19:09:58 +03:00
Dmitri Ovodok
8fa920b7df Backup old MSC read functions, add a test for fileformats compatibility
Use old read functions for reading 1.x and 2.x fileformats

Assign version number 3.01 to the new MSCX format flavor
2018-08-16 19:08:45 +03:00
ws
411b463f7a refactoring of layout for linear layout mode 2018-08-16 16:43:07 +02:00
Andres Fernandez de Prado
188386ba2e This commit contains all the changes to the CMake build system required to generate a valid Visual Studio 2017 solution and projects for MuseScore.
In detail, changes are as follows:
- Changed .gitignore to ignore VS-specific files and directories.
- VS uses a global settings file for the CMake build process: CMakeSettings.json. This is a text file, which is conceptually equivalent to the Makefile used to invoke CMake through Make. This file might need to be changed on an individual user basis, if dependencies are not installed in default paths.
- New cmake macros to copy files in build\CopyFilesMacros.cmake. The code is from https://cmake.org/pipermail/cmake/2009-March/027892.html
- Pre-compiled headers: Visual Studio requires to create pre-compiled headers per-project (a general per-solution PCH file, although possible, is extremely problematic and not recommended). Therefore, the  new macro vstudio_pch in CreatePrecompiledHeader.cmake was created to add the pre-compiled header creation step to an existing target (similar to what is done for XCode). The existing macro precompiled_header was modified to set the values for a group of variables. As part of this, the empty file all.cpp was added to the root of the source tree, as VS requires a source file to create pre-compiled headers (the header file alone can not be compiled).
- all.h is not copied to binary dir for MSVC, as I could determine no need to do this. Because of this, and the differences in PCH handling, the pseudo-targets mops1 and mops2 are not created for MSVC.
- Revised all steps conditional on toolchain, and added MSVC paths as needed. In many instances, the MSVC path is the same as the MINGW path, but not always.
- The manual (genManual) target used the getopt() functionality defined in POSIX libraries, which is not available on Windows. An LGPL'd port of getopt() for Windows was added in manual\getopt. The original source is in GitHub: nanoporetech/getopt-win32, based on a CodeProject article: https://www.codeproject.com/KB/cpp/getopt4win.aspx?msg=3987371. The corresponding CMakeLists.txt file was modified to include this files when compiling with MSVC.
- Changes in CMakeLists.txt files to create valid MSVC targets. The changes, always conditional on the MSVC toolchain, consist of:
     x Setting target properties for MSVC
     x Using all.h in source dir
     x Adding pre-compiled headers to target
     x Removing dependency from mops1 and mops2

Notes:
- The INSTALL target has NOT BEEN UPDATED for MSVC.
2018-08-03 09:15:42 +02:00
ws
10ebbb9080 update text style implementation 2018-08-01 11:46:35 +02:00
ws
2934f93142 new style value frameType replacing hasFrame, circle, square 2018-07-26 13:14:06 +02:00
ws
1fb2fc2d9b fix #264594 lyrics update 2018-07-19 13:03:38 +02:00
ws
24014b6b59 fix #232101 Inability to create new text lines in frames 2018-05-25 11:24:32 +02:00
ws
35265cd358 implement new fermata element 2018-01-16 13:38:28 +01:00
lasconic
698ae4c911 try to disable code coverage in release mode on linux again 2017-12-21 14:29:02 +01:00
Jarrad Whitaker
fe3e0875ee cmake COVERAGE option to enable gcov instrumentation 2017-12-19 15:31:39 +01:00
Werner Schweer
0e4211e2d0 update let ring, palm mute 2017-11-27 16:55:52 +01:00
Werner Schweer
e212f7d57e add new elements LetRing and Vibrato 2017-11-27 09:56:54 +01:00
Werner Schweer
4241b93649 update scripting interface 2017-06-22 12:42:14 +02:00
Werner Schweer
ac41fa396e update edit infrastructure 2017-03-31 13:03:30 +02:00
Werner Schweer
6ecd806ff3 better bw. compatibility 2017-01-25 15:55:04 +01:00
Werner Schweer
9a9dedf774 change PageFormat to simple style values 2017-01-23 21:53:51 +01:00
Werner Schweer
f8417ca046 add SystemText element 2017-01-20 11:05:52 +01:00
Werner Schweer
5433d719d9 replace TextStyle by SubStyle 2017-01-16 20:59:21 +01:00
Werner Schweer
0b1aea952f layout for movements 2017-01-05 11:28:45 +01:00
Werner Schweer
337e885896 barline changes, part-1 2016-12-28 16:36:59 +01:00
Werner Schweer
d34d09aab9 add StaffTypeChange element 2016-12-14 15:44:24 +01:00
Werner Schweer
660b393b98 change StaffType interface 2016-12-14 15:44:24 +01:00
Werner Schweer
107343b1aa fix #148121, #138326; add provisions for global insert mode 2016-12-01 13:35:48 +01:00
Werner Schweer
c5f46bb208 rename Xml() -> XmlWriter() 2016-11-19 11:51:21 +01:00
Werner Schweer
6ef95da0d6 first simple implementation of slur autoplace 2016-11-15 16:33:38 +01:00
lasconic
642e753fd3 add back compatibility test for 1.3, add test for 2.0, change read207 to 206 2016-09-19 13:25:54 +02:00
Werner Schweer
dae86056a3 preparations for new compatibility implementation 2016-09-13 09:40:54 +02:00
werner
e3e2682004 fix #122551 Text line: inability to delete or change the 'Begin' text 2016-08-30 14:03:26 +02:00
werner
5c02629ec3 remove ledgerlines from shape; cleanups 2016-07-03 16:23:11 +02:00
Joachim Schmitz
2ef157283e Fix spelling in CMakeLists.txt files 2016-06-10 10:38:13 +02:00
ws
b448ab9c30 update continuous view 2016-05-18 15:44:03 +02:00