Commit graph

285 commits

Author SHA1 Message Date
Joachim Schmitz
caf68d185b Disable -Wno-deprecated-copy for MinGW
as that doesn know it and warms about that
2020-12-04 15:02:03 +02:00
Joachim Schmitz
8e1fc4bc07 Fix some MSVC compiler warnings
and disable some for third party code
2020-12-04 15:02:03 +02:00
Aaron Cottle
043a7f2c8a suppress warnings coming from the thirdparty directory and fix -Wredundant-move 2020-12-03 20:47:16 +02:00
Aaron Cottle
eef95f07d4 fix #313872: followup to PR #6992, suppressed remaining -Wdeprecated-copy warnings 2020-12-03 16:43:38 +02:00
Igor Korsukov
b7c25b8fc6 move source code to src dir 2020-12-03 15:12:23 +02:00
Igor Korsukov
70fd592639 removed fluidlite 2020-12-02 21:16:58 +02:00
Igor Korsukov
02a8a45e85 removed portmidi 2020-12-02 21:16:58 +02:00
Igor Korsukov
ec18e98ae7 removed OMR, OCR, AVSOMR 2020-12-02 17:10:39 +02:00
Igor Korsukov
d49547232f added profiler 2020-11-27 15:22:09 +02:00
Igor Korsukov
bc917817ff removed old crash reporter 2020-11-27 11:14:50 +02:00
Igor Korsukov
230f4e1343 fixed build logger 2020-11-24 21:33:46 +02:00
Igor Korsukov
1d2ff3fbe8 disabled use std filesystem (fix compiling with MinGW) 2020-11-21 16:31:32 +02:00
Igor Korsukov
d3a88e4e17 fixed linux build 2020-11-21 13:50:58 +02:00
Igor Korsukov
21f27059d9 added crashpad client for windows 2020-11-21 13:50:58 +02:00
Igor Korsukov
bc6b8a4053 added google crashpad client 2020-11-21 13:50:58 +02:00
MuseScore
6f13e32161 added crashpad client for MacOS 2020-11-21 13:50:58 +02:00
Igor Korsukov
4999f0177e added crashpad client for windows 2020-11-21 13:50:58 +02:00
Igor Korsukov
f93c73f410 added crash handler 2020-11-21 13:50:58 +02:00
Igor Korsukov
d7a16b9ae7 added google crashpad client 2020-11-21 13:50:58 +02:00
Igor Korsukov
cffade8f21 sync CI scripts from 3.x to master 2020-11-09 09:19:54 +02:00
Igor Korsukov
94d43c54e4 fixed log output 2020-11-06 12:19:16 +02:00
Igor Korsukov
56c7d0a9a1 added logger 2020-11-05 21:28:09 +02:00
Igor Korsukov
75b2ffd8af return ibcrashreporter-qt dir name 2020-10-30 12:07:52 +02:00
Igor Korsukov
dac599ff2b moved libcrashreporter-qt to main repo 2020-10-30 12:07:52 +02:00
Joachim Schmitz
3a97a74718 Revert part of an earlier change
doesn't help, still warnings about implicit declaration of `read()` and
`write()`, but doesn't harm either
2020-10-21 15:34:45 +02:00
Joachim Schmitz
97948a70e0 Fix a bunch of (MSVC) compiler warnings for fluidsynth 2020-10-21 13:11:33 +02:00
Joachim Schmitz
127e978ed5 Revert a change to ganalytics that causes issues on Mac
and give credit where credit is due (including a rename of the
directory).
Disable deprecation warnings for Apple too.
2020-10-12 09:18:12 +02:00
Eism
620ac36912 Implemented NotifyList 2020-10-10 10:35:55 +02:00
Joachim Schmitz
484f8dce06 Make Qt 5.15.0 the minimum requirement
and remove all conditions checking for Qt versions
2020-10-09 14:52:02 +02:00
Joachim Schmitz
df89cd96d7 Fix some Qt 5.15 deprecation warnings 2020-10-09 14:52:02 +02:00
Joachim Schmitz
84d10466a8 fix compiler warnings
as seen in MinGW and/or MSVC
2020-10-09 14:52:02 +02:00
Roman Pudashkin
edb2a0fd8f explicit copy for preventing iteration over collection that can be modified 2020-09-23 10:01:19 +02:00
Igor Korsukov
98aca8859e fixed build mu4 mode on windows 2020-09-21 10:12:41 +02:00
Igor Korsukov
92ce879c42 implemented async channel multi threads 2020-08-28 14:43:32 +02:00
Igor Korsukov
6ec57ad4e0 added notation rendering midi by parts 2020-08-28 14:13:48 +02:00
Igor Korsukov
958c9fb925 fixed compile warnings 2020-08-27 13:54:45 +02:00
cbjeukendrup
5e3a8782ce Fix Xcode error with gettimeofday in fluid_sys.c 2020-08-24 23:13:24 +02:00
Igor Korsukov
c16826cbf7
Merge pull request #6463 from igorkorsukov/mu4/fix_buildfluid_win
[MU4] Fixed build fluid for windows
2020-08-18 23:48:13 +02:00
Pavel Smokotnin
a27a293cd6 fix fluid's malloc include 2020-08-18 20:22:53 +03:00
Igor Korsukov
7c19535388 fixed build fluid for windows 2020-08-17 15:51:06 +02:00
Igor Korsukov
68d613e3a7 added sf3 support 2020-08-11 16:04:54 +02:00
Igor Korsukov
a54a2cb96f removed dependency glib from fluidsynth and add use it 2020-08-11 15:17:50 +02:00
Igor Korsukov
e78ceda544 added origin fluidsyth 2.1.4 2020-08-11 14:49:41 +02:00
Igor Korsukov
26e40772b1 fixed asyncable 2020-08-03 10:03:28 +02:00
Igor Korsukov
61f87e49ad renamed midi and audio namespaces 2020-07-31 09:21:36 +02:00
Igor Korsukov
c962e0d41d restructed audio module 2020-07-31 09:21:36 +02:00
Igor Korsukov
1f8eeab7ff moved soloud 2020-07-31 09:21:36 +02:00
Igor Korsukov
20558725ba moved fluid 2020-07-31 09:21:35 +02:00
Igor Korsukov
553b012f07 update async channel 2020-07-24 09:27:36 +02:00
Igor Korsukov
f3928878ca added playing context 2020-07-24 09:27:36 +02:00
Igor Korsukov
1131b58741 added playback cursor 2020-07-22 09:02:01 +02:00
Igor Korsukov
19a9c00810 added notation midi data 2020-07-20 15:11:50 +02:00
Roman Pudashkin
ef5ecc5883 review fixes 2020-07-16 00:11:06 +02:00
Roman Pudashkin
8c932d4919 added module account 2020-07-16 00:11:06 +02:00
Igor Korsukov
1fd8697441 added view input controller's tests 2020-06-19 09:42:43 +02:00
Igor Korsukov
93cdd7d824 added unit tests base 2020-06-19 09:35:19 +02:00
Joachim Schmitz
8878f5ed34 fix some more MSVC compiler warnings 2020-06-18 14:20:52 +02:00
Joachim Schmitz
9c05963be9 fix an MSVC compiler warning 2020-06-18 08:45:43 +02:00
Igor Korsukov
7b1e2c6cf1 added noteadded notify 2020-06-16 19:46:57 +02:00
Igor Korsukov
b96a83331e renamed notify to notification 2020-06-09 15:58:03 +02:00
Igor Korsukov
1b8332f0c8 added async primitives 2020-06-08 15:58:06 +02:00
Joachim Schmitz
b7b35643a1 Fix Deprecation warnings with Qt 5.15 (and 5.14)
* fix 383 warnings C4996 (deprecated) with one single line change
* fix 5 'empty' warnings about invalid slots, not sure the remaining
slots serve any purpose though
* disable warnings C4127 and C4996 for thirdparty/google_analytics
* fix 30 warnings C4996 using the suggested alternatives available since
at least Qt 5.9, so won't break building against that
* change as requested in code review plus some more fixes using the same
idea
* fixing yet more warnings
* disable deprecation warnings in qoogle_analytics for MinGW too
although I believe maxOS and Linux may use those too. Easy to extend to
those, if need be.
* Fix qml runtime warnings exactly following the advice given by that
warning, but without really know what I'm doing here or whether that is
still backwards compatible to Qt 5.9.
* Use replacements as suggested, if available and no `endl` neded with
`qDebug()`
* fix 24 more
* 2 more
* 7 more (one only seen in DEBUG mode)
* Fix the `endl` warnings
* maybe more changes this way?
* Add all warnings C5999 or bigger to the ignore list for telemetry
with Qt 5.15 Beta 1 as avoiding only C26439, C26444,C 26452, C26495,
C26498, C26812 isn't possible
* fix 2 deprecation warning new with Qt 5.15 beta 1
* fix 4 new warnings and also Qt 5.12 builds, disable some dead code
* fix deprecation warnings new with Qt 5.15's MSVC 2019 integration and
revert some (`QNetworkReply::networkError()`) that Qt 5.15 beta 2
reverted too
* fix warning reg. obsolete operator < for QVariants
* revert changes needed prior to beta 3 And clarifying some earlier
changes
* mark ToDos
* fix warning reg QString()::null
* fix a 'regression' from a revert of an earlier change
2020-06-03 12:59:19 +02:00
J. Edward Sanchez
5a5857f63b Fix #304725: Remove “using namespace std” directive
Removed a “using namespace std” directive from the file “thirdparty\intervaltree\IntervalTree.h” and added missing “std::” prefixes wherever needed.
2020-04-30 17:45:10 -07:00
Joachim Schmitz
1a339849ae fix compiler warnings 2020-03-19 19:48:12 +01:00
Joachim Schmitz
5e875db372 fix MSVC compiler warnings for telemetry and google_analytics
by just disabling them... not much we can and want to do about
trhirdparts/googla_analytics anyway and no idea how to fix the ones for
telemetry, seem to stem from Qt.
2019-12-24 16:31:37 +01:00
pereverzev_v
bfd0fd4e28 Added cmake build options for telemetry feature 2019-12-20 13:26:14 +02:00
pereverzev_v
6f28a2b4a6 Added a 3-rdparty Google Analytics wrapper 2019-12-20 13:23:29 +02:00
Dmitri Ovodok
9844b2973d Remove kQOAuth from MuseScore dependencies 2019-12-16 11:50:37 +02:00
anatoly-os
fb3468c47c Revert "Merge pull request #5463 from dmitrio95/remove-kqoauth"
This reverts commit 8541128d10.
To make merging #5448 easier.
2019-12-16 11:44:43 +02:00
Dmitri Ovodok
ebce1c3c61 Remove kQOAuth from MuseScore dependencies 2019-11-08 09:59:55 +02:00
anatoly-os
a74d51ea10
Merge pull request #5389 from Jojo-Schmitz/rtf2html
remove librtf2html.a and rtf2html binary from repository
2019-10-29 11:13:14 +02:00
Joachim Schmitz
785b69df83 fix encoding 2019-10-17 10:41:15 +02:00
Joachim Schmitz
543b7d4b9c remove librtf2html.a and rtf2html binary from repository
as these (should) get rebuild afreash on every build anyway,
and in a different place.
2019-10-16 09:28:52 +02:00
Matt McClinch
b01075269f Replace deprecated function calls with lambdas
fixing Clang compiler warnigs.
2019-10-16 09:20:06 +02:00
Joachim Schmitz
98366226a6 sync with https://github.com/lvu/rtf2html
plus fixing compiler warnings reg. fall through and unhandled cases
and
some reg. variable declarations shadowing others.

Leaving the changes for making this a library call rather than a
standalone program
2019-10-16 09:17:49 +02:00
Joachim Schmitz
57af1fe2f8 fix compiler warnings on Mac 2019-07-12 10:53:42 +02:00
Joachim Schmitz
ef2951a101 Fix MinGW C compiler warnings in thirdparty/portmidi
where the compiler warns about options (to disable certain compiler
warnings) not being for C++, but here the code is plain C anyway.
2019-04-21 18:03:51 +02:00
AntonioBL
b141015f81 fix #281867 crash on Mac when stopping porttime 2019-03-22 18:00:06 +01:00
Dmitri Ovodok
49ca1b9026 Add libcrashreporter-qt 2019-02-25 12:08:14 +03:00
anatoly-os
bcb75df02b
Merge pull request #4270 from mirabilos/use-system-poppler-for-OMR
allow using the system Poppler library to build with OMR
2019-02-18 16:27:04 +02:00
Dmitri Ovodok
6ddd12b133 Fix Windows build 2019-02-15 13:24:37 +03:00
Joachim Schmitz
1e24b4d60d fix MSVC/MinGW compiler warnings 2019-02-05 12:13:16 +01:00
mirabilos
eb0a1417f1
allow using the system Poppler library to build with OMR
This is necessary for distributions that forbid embedded
convenience copies of libraries, such as Debian, usually
for security reasons.
2019-01-15 14:21:58 +01:00
Eric Fontaine
2ca9980d24 fix #279203 PortMidi Win device names unicode
I don't know history about why an earlier commit 3acc363 "Solved all compilation errors on MSVC" had to remove this #undef UNICODE.  I'm on MSVC 2017 right now and I'm able to compile just fine.  That commit's removal of those lines caused all the Midi device names to be identical and undescriptive as 'MMSystem,M' although the devices were perfectly valid.
2018-12-26 05:56:12 -05: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
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
anatoly-os
f69ad3335d
Merge pull request #4100 from mirabilos/drop-rcsids
remove RCS IDs from (almost) all files
2018-11-07 10:13:39 +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
d5b55412c8
remove the Unix executable attribute from non-executable files
it most likely got added by people using git on MS-DOS/Windows

also, add shebang to build/travis/job_macos/generateGitLog.sh
and let it keep its +x attribute, as requested by Jojo-Schmitz
2018-11-03 15:46:23 +01: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
mirabilos
cfcb33e201
remove the xmlstream library which is no longer used 2018-11-02 23:37:11 +01:00
Joachim Schmitz
e2019a3ce3 disable compiler warnings of MinGW 64bit in thirdparty
resp. with a thirdparty header file
2018-10-31 12:59:23 +01:00
Dmitri Ovodok
468afe0700 Add a score comparison engine 2018-10-29 17:04:32 +02:00
Joachim Schmitz
a61ba575bc Fix #276627: fixed signatures for winmm midi callback functions
by updating to the latest code, r234, of PortMedia from sourceforge
2018-10-18 20:39:45 +02:00
Joachim Schmitz
b8810ed9e5 fix #275218: fix MSVC C4065 and C4701 warnings
ref. a `switch` without any `case` and the use of a
possibly uninitialized variable.
Also fix yet another few C4456.
Also disable one warning less for portmidi as it doesn't happen anyway
(anymore?)
2018-09-27 17:47:23 +02:00
Joachim Schmitz
3b614def85 Disable MSVC warnings for thirdparty code
* C4267 for beatroot
* C4244 and C4267 for freetype
* C4267 and C4334 for poppler
* C4028, C4189, C4267, C4311 and C4312 for portmidi
* C4267 for rtf2html
2018-09-11 16:44:39 +02:00
Joachim Schmitz
23bde71e5b disabling another warning in poppler
shows when building in "relwithdebinfo" mode
2018-08-16 19:31:35 +02:00
Joachim Schmitz
73ce139f73 Disable all current MSVC warnings for thirdparty/poppler
as we're not going to fix them anyhow and they do clutter up the build,
leading to us not seeing the tree in the forrest
2018-08-08 14:53:46 +02: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
Andres Fernandez de Prado
7475b86290 This commit contains changes to third-party code required to compile under MSVC with no warnings.
This commit contains changes to third-party code required to compile under MSVC with no warnings.

The changes in this commit are only for files in third-party code, which might be better to leave untouched for the time being.

MuseScore is being compiled with the /W4 setting (warning level 4), which is similar to -wall -wextra on clang. This generates lots of warnings on MSVC, mainly for non-standard constructs and for constructs which might be bugs or might lead to bugs.

Most warnings are in the following categories:
- Name hiding: a variable hides a variable with the same name on a larger scope (or a field, or a function parameter). This can easily lead to bugs, and it is a best practice to avoid hiding variable names (see recommendation ES.12 in the C++ Core Guidelines by Stroustrop & Sutter (http://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#Res-reuse : ES.12: Do not reuse names in nested scopes)
- Narrowing conversion: a numeric conversion results in loss of significant digits (for example, double -> float). The general recommendation is to use a cast to indicate this is designed behaviour.
- Unreachable code: in several instances, there is unreachable code. The unreachable code is commented out.
- (Potentially) uninitialized local variable. Just initialized the vars.
- foreach(,) -> for(:): this does not generate a warning per-se (only a few of these generate warnings due to name hiding), but changed in keeping with "MuseScore Coding Rules" (https://musescore.org/en/handbook/musescore-coding-rules#Loops), which tells explicitly "Use C++11's "for" instead of Qt's "foreach":" ... "If you happen to be fixing some code and see a "foreach", please change that loop into a "for"."

Most changes are in the categories indicated above. The next listing shows detailed changes for files which are *not* of the aforementioned types.

- thirdparty/diff/diff_match_patch.cpp: foreach replacement. Unreachable code.
- thirdparty/freetype/src/base/ftobjs.c: Unreachable code.
- thirdparty/freetype/src/base/ftoutln.c: Initialize vars.
- thirdparty/freetype/src/truetype/ttgload.c: Initialize vars.
- thirdparty/kQOAuth/kqoauthrequest.cpp: Unreachable code.
- thirdparty\ofqf\qoscserver.cpp: Name hiding.
- thirdparty\portmidi\pm_common\portmidi.c: Name hiding. Unreferenced parameters.
- thirdparty\portmidi\pm_win\pmwin.c: Unreachable code.
- thirdparty\portmidi\pm_win\pmwinmm.c: Unreferenced locals. Unreferenced parameters. Assignment within conditional.
- thirdparty\portmidi\porttime\porttime.c: Suppress warning C4206: "nonstandard extension used: translation unit is empty"
- thirdparty\portmidi\porttime\ptwinmm.c: Unreferenced parameters.
- thirdparty\qzip\qzip.cpp: Name hiding.
- thirdparty\rtf2html\rtf2html.cpp: Name hiding.
2018-08-03 09:15:42 +02:00
Andres Fernandez de Prado
3acc363498 Solved all compilation errors on MSVC
This commit contains changes required for MuseScore to compile under MSVC with no errors.

There are several general categories of problems that resulted in errors with the compilation. Main issues:
- Variable Length Arrays (VLA). This is a non-standard extension to C++, supported by clang toolchains, but not by MSVC. The initial workaround is to use std::vector<> instead of VLAs, eventually (if needed) with the original variable pointing to the beginning of the allocated array. More efficient alternatives are possible if profiling shows any code using VLAs to be timing-critical.
- Floating-point constants not suffixed with "f" are doubles by default; in some instances, this leads to narrowing conversion errors (in other instances, just warnings).
- MSVC does not support "or"/"and"/"not" in lieu of "||"/"&&"/"!". Changed unconditionally to use standard C++ symbols.
- MSVC does not support the "__builtin_unreachable()" compiler hint. A similar, albeit not exactly equal, alternative is "__assume(0)", which is MSVC-specific.
- MSVC does not support ranges in case statements. Replaced with list of cases instead of range (non-conditionally)

Detailed changes, with per-file comments:

- all.h: opt-in to deprecated features, include <io.h> and <process.h> instead of POSIX <unistd.h>, undefine "STRING_NONE" and "small", which Microsoft defines as macros, which result in compilation errors.
- effects/compressor/zita.cpp: eliminated narrowing conversion error by appending "f" to float constants.
- fluid/voice.cpp: appended "f" to float constants to eliminate narrowing conversion errors/warnings
- libmscore/beam.cpp: conditionally replaced VLA
- libmscore/edit.cpp: conditionally replaced VLA
- libmscore/element.cpp: appended "f" to float constant
- libmscore/fret.cpp: changed or -> ||
- libmscore/layout.cpp: conditionally replaced VLA
- libmscore/mscore.cpp: conditionally replaced "__builtin_unreachable()" with "__assume(0)" for MSVC
- libmscore/scorefile.coo: use correct char representation conversion for MSVC
- libmscore/stringdata.cpp: conditionally replaced VLA
- libmscore/system.cpp: conditionally replaced VLA
- libmscroe/text.cpp: replaced range in case statement.
- manual/genManual.cpp: use getopt() replacement.
- midi/midifile.cpp: conditionally replaced VLA. This does not use the default replacement.
- mscore/bb.cpp: replaced range in case statement.
- mscore/capella.cpp: conditionally replaced VLA. Changed and -> &&
- mscore/driver:cpp: preclude errors due to macro redefinitions.
- mscore/editstyle.cpp: conditionally replaced "__builtin_unreachable()" with "__assume(0)" for MSVC
- mscore/importgtp-gp6.cpp: conditionally replaced VLA.
- mscore/instrwidget.cpp: conditionally replaced VLA.
- mscore/jackaudio.cpp: conditionally replaced VLA. Preclude errors due to macro redefinitions.
- mscore/jackweakapi.cpp: Preclude errors due to macro redefinitions. Replacement for __atribute__((constructor)) through static object construction for MSVC. Force use of LoadLibraryA instead of LoadLibrary.
- mscore/mididriver.h: Changed not -> !
- mscore/musescore.cpp: Changed not -> !. Conditionally replaced VLA.
- mscore/resourceManager.cpp: conditionally replaced VLA.
- mscore/timeline.cpp: conditionally replaced VLA.
- omr/omrpage.cpp: conditionally replaced VLA.
- synthesizer/msynthesizer.cpp: replaced UNIX sleep(1) method with MSVC Sleep(1000) (equivalent, but in ms instead of seconds)
- synthesizer/msynthsizer.h: appended "f" to float constant
- thirdparty/poppler/config.h: set defines for MSVC to preclude the use of inexistent libraries.
- thirdparty/poppler/poppler/poppler-config.h: set defines for MSVC to preclude the use of inexistent libraries. Eliminated #defines for fmin and fmax which where causing problems.
- thirdparty/poppler/poppler/PSOutputDev.cc: added #include <algorithm> for  std::min() and std::max(). Note this is required per-C++ standard.
- thirdparty/portmidi/pm_win/pmwinmm.c: undefined UNICODE to use char-based library functions.
- thirdparty/qzip/qzip.cpp: changed or -> ||
- thirdparty/rtf2html/rtf_keyword.h: file format changed from Apple to UNIX, as MSVC does not supported the former.

(NOT error related, just improvement on previous commit; manual/getopt/README.md: added link to source article)
2018-08-03 09:15:42 +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
anatoly-os
eed2b829b9 fix #273516: some scores are opened as blank pages
Fix encoding after qzip lib update.
2018-07-09 18:59:08 +02:00
lasconic
f71c339094 fix #273032: Provide an easy way to install soundfont, templates and instruments.xml
Introduce extensions files aka .muxt. These files are archives with additional data to extend MuseScore with soundfonts, templates, custom workspaces, etc.

Update qzip to fix bug with symlink.
Add extensions management to resource manager.
2018-07-09 18:59:08 +02:00
Bernhard Landauer
2c96e2f9d5 mark fallthrough instances as intentional
- quieting warnings of newer compilers
2017-06-15 15:27:25 +02:00
lasconic
b336a971fb fix #117206: OSC command /Tempo processes the parameter value wrong 2016-07-07 11:42:29 +02:00
Andrey M. Tokarev
6ae1c4773c Fix MuseScore build with Qt 5.7 (poppler compilation) 2016-07-03 14:02:59 +03:00
lasconic
b474267605 fix build on MacOSX nightly server 2016-06-23 13:15:16 +02:00
lasconic
27043b71cc fix more warnings in poppler 2016-06-22 23:12:06 +02:00
lasconic
36879dcbd8 fix compilation on windows 2016-06-22 10:19:26 +02:00
lasconic
0f7d9bec4d upgrade to poppler 0.45, fix many warnings 2016-06-21 19:31:39 +02:00
Liang Chen
bab4280318 fix staff line order in omr output and update poppler using its qt5 wrapper to render pdf to image 2016-06-08 12:35:51 -04:00
Eric Fontaine
4ace61ee64 fix #112736 a few benign compiler warnings 2016-06-01 03:17:28 -04:00
Joachim Schmitz
22dc95e180 avoid compiler warnings in poppler code
also enable compiler warnings in poppler code on Windows
2016-05-25 16:25:29 +02:00
lasconic
dcfb9a52d1 fix compilation warnings 2016-05-17 23:34:14 +02:00
Nicolas Froment
bec4a70c59 Merge pull request #2594 from liang-chen/omr_dev_clean
Enable and improve OMR module
2016-05-17 20:23:16 +02:00
liang-chen
fb677fc998 Fix #110306: Enable and improve OMR module 2016-05-17 11:48:38 -04:00
Joachim Schmitz
77bdf42bd6 fix warning on Mac, may need more work 2016-05-12 15:41:01 +02:00
Joachim Schmitz
356a7c85dd Simplify texts in various dialogs, for translators' benefit
by eliminating html stuff from the to be translated texts.
Move urls out of translations, which is also good for security
reasons, to protect us from bogus and malicous translations.
Some formatting changes and getting some error messages to stderr.
Updating copyright to 2016 in the due course.
2016-03-25 09:06:56 +01:00
ws
d76e51d276 fix some scaling regressions 2015-11-18 18:09:59 +01:00
lasconic
587b9b048c fix compilation on windows 2015-11-16 18:44:31 +01:00
ws
c6092a7a95 first try in integrating freetype cmake file 2015-11-16 17:05:51 +01:00
ws
c70980ab7e add freetype-2.6.1 as thirdparty 2015-11-16 10:51:25 +01:00
lasconic
154b427f81 fix #65506: rtf2html/README.ru has the wrong encoding 2015-06-17 09:55:01 +02:00
lasconic
61eed11401 fix all warnings on Mac OSX. Hopefully without side effects on other platforms. 2015-05-05 18:28:39 +02:00
lasconic
7b4c3c4ed5 fix weird behavior when uploading score with no page on m.c 2015-03-16 11:09:34 +01:00
lasconic
d4e22ed0d2 review error cases for MuseScore.com login 2015-03-11 17:02:45 +01:00
lasconic
d0384031ff hide getting started if recent score, remove waiting spinner and hide webview if no internet, fix typo 2015-03-10 13:44:27 +01:00
ws
b3c8465eed more cmake cleanups 2015-01-27 15:23:20 +01:00
ws
1960bbbff7 use AUTOMOC in cmake files 2015-01-27 15:23:20 +01:00
Nicolas Froment
0d05735fa0 Merge pull request #1553 from Jojo-Schmitz/warnungs-release-mode
fix compiler warnings in RELEASE mode under Windows
2014-12-19 18:49:21 +01:00
lasconic
a103f2e470 remove tabs in start center 2014-12-19 16:30:18 +01:00
Joachim Schmitz
cdb31d60cb fix compiler warnings in RELEASE mode under Windows
reg. possible uninitialized use of some variables and some unused
parameters
2014-12-18 21:45:49 +01:00
AntonioBL
620dae1b25 some fixes from cppcheck analysis 2014-12-09 09:36:24 +01:00
lasconic
0a59df0a1f clean debug statements 2014-11-24 17:30:07 +01:00
lasconic
d049353ee4 more optimization of the upload process 2014-11-24 17:25:32 +01:00
lasconic
37a2197efa deal with old authentication key with musescore.com 2014-11-22 18:04:07 +01:00
lasconic
29a20d8c01 support 404 not found for get scores 2014-11-20 22:26:04 +01:00
lasconic
08e2faa694 add support for file update on musescore.com 2014-11-20 18:02:05 +01:00
lasconic
2c8a1917fd fix double dialogs when error for login, fix modal message dialog 2014-11-18 15:50:26 +01:00
lasconic
d8e1c7487e fix kOAuth build on windows, add SSL support in windows install, add openssl headers 2014-11-15 01:06:18 +01:00
lasconic
30599bd607 add client side support for save score online 2014-11-14 21:03:46 +01:00
ws
8b8be3efa1 make score->save() undo-safe 2014-10-30 09:36:30 +01:00
ws
3c976eb0ce update IntervalTree 2014-08-19 14:22:52 +02:00
lasconic
3a92bde8e6 fix possible duplication of symbol 2014-08-01 20:14:31 +02:00
Andrey M. Tokarev
092c811f22 Add BeatRoot COPYING and README files 2014-07-29 18:37:58 +04:00
Andrey M. Tokarev
7aaba337de Integrate Beatroot (beat detection) algorithm into MIDI import 2014-07-29 18:35:27 +04:00
Andrey M. Tokarev
e2c27b17e0 Make the scope of local variable more narrow (Beatroot) 2014-07-29 18:35:27 +04:00
Andrey M. Tokarev
f4bebde500 Fix fillBeats function (Beatroot): no interpolation between 1st and 2nd beats 2014-07-29 18:35:26 +04:00
Andrey M. Tokarev
68f8ab2910 Add Beatroot code by Simon Dixon for beat detection in MIDI files
1. Passing of objects by values into functions
   were replaced by passing them by reference, where it is worth it.
2. Code style was reformatted according to the MuseScore style

Reformat Beatroot code style

Conflicts:
	mscore/CMakeLists.txt
	mtest/CMakeLists.txt
2014-07-29 18:35:25 +04:00