Commit graph

5640 commits

Author SHA1 Message Date
Casper Jeukendrup
2b92d32e66 Add missing mu::engraving for non-unity build 2022-06-08 12:49:57 +03:00
Casper Jeukendrup
f4699dc1f2 Move midi import/export to its own namespace 2022-06-08 12:49:57 +03:00
Casper Jeukendrup
fd53f5e7aa Move import Capella to its own namespace 2022-06-08 12:49:57 +03:00
Casper Jeukendrup
f67927cb14 Move import Bww to its own namespace 2022-06-08 12:49:57 +03:00
Casper Jeukendrup
96ae3afcfe Move import BB to its own namespace 2022-06-08 12:49:57 +03:00
Casper Jeukendrup
2ffb05ae70 Move StaffTextPropertiesDialog from mu::engraving to mu::notation 2022-06-08 12:49:57 +03:00
Casper Jeukendrup
5ac7b158fb Fix confusing type aliases for StaffTypes in notationtypes.h
Before:
notation::StaffType = engraving::StaffTypes
notation::StaffTypePreset = engraving::StaffType

After:
notation::StaffType = engraving::StaffType
notation::StaffTypeId = engraving::StaffTypes

Not only confusing for humans, but also for compilers...
2022-06-08 12:49:57 +03:00
Casper Jeukendrup
e6cdc4a555 Move NoteGroups from mu::engraving to mu::palette 2022-06-08 12:49:57 +03:00
Casper Jeukendrup
411ddd2847 Move TimeLine from mu::engraving to mu::notation 2022-06-08 12:49:57 +03:00
Casper Jeukendrup
687c122c17 Move ExampleView to notation module 2022-06-08 12:49:57 +03:00
Elnur Ismailzada
9f2a53825a
Merge pull request #11912 from RomanPudashkin/repeat_selection
[MU4] Fix #11906: Crash occurs when using Repeat command inside triplet (tuplet) group (and warning message like in MU3 doesn't appear)
2022-06-08 10:22:46 +03:00
Eism
d91763e392 Workaround for triggering shortcuts for non-English keyboard layouts
For some unknown reason, QCocoaKeyMapper::possibleKeys does not work correctly for non-English keyboard layouts.
For example, if you press Ctrl+Z on the Russian layout, then the result of the possibleKeys method will be 'Ctrl+Я' and 'Z'. Because of this, qt cannot find shortcuts for these combinations.

The workaround is to register a shortcut depending on the current keyboard layout for possible keys - 'Ctrl+Я' and 'Ctrl+Z'
2022-06-08 07:59:49 +03:00
Roman Pudashkin
547b0d0034 fix #11883: fixed duplication of pointers to the currently focused element in the main accessible root and the dummy accessible root. If the focused element is deleted, we will not get an invalid pointer in one of the roots 2022-06-07 22:58:32 +02:00
Igor Korsukov
4c1081420a renamed AsciiString to AsciiStringView 2022-06-07 20:39:52 +03:00
RomanPudashkin
7e5edff529
Merge pull request #11911 from Eism/score_navigation_fix
[MU4] fixed #11478: keyboard navigation breaks at key and time signatures if >1 staff
2022-06-07 13:25:14 +02:00
Roman Pudashkin
83cf5457c9 fix #11906: fixed crash while using the "Repeat selection" shortcut 2022-06-07 12:14:38 +02:00
RomanPudashkin
90728325c4
Merge pull request #11908 from RomanPudashkin/edit_font_size
[MU4] Fix #9769: replaced DropDown with SpinBoxPropertyView
2022-06-07 10:44:30 +02:00
Casper Jeukendrup
8c60ccc61c
Merge pull request #11907 from Jojo-Schmitz/compiler-warnings
[MU4] Fix MSVC compiler warning
2022-06-07 10:26:13 +02:00
Eism
23f5f33094 fixed #11478: Replace instead of Single for moving element selection 2022-06-07 11:11:51 +03:00
Roman Pudashkin
1a936dfd1a fix #9769: replaced DropDown with SpinBoxPropertyView (as it was in MU3) 2022-06-07 10:01:56 +02:00
Elnur Ismailzada
2afee6ab54
Merge pull request #11891 from alexpavlov96/gp_fix_tuplets_import
fix #11515: fixed import of tuplets in gp
2022-06-07 10:37:59 +03:00
Joachim Schmitz
cc364e263d Revert 1ff20494 2022-06-07 09:00:11 +02:00
Joachim Schmitz
1feb247309 Rename articulation to midiArticulations 2022-06-07 09:00:11 +02:00
Eism
239002d19b Added thumbnails 2022-06-07 09:10:35 +03:00
Eism
f35252f17c Show the plugin view 2022-06-07 09:10:35 +03:00
RomanPudashkin
696b2ac5fa
Merge pull request #11905 from cbjeukendrup/sp_chars_db_acc
Special Characters dialog: add double flat and sharp
2022-06-06 19:58:04 +02:00
Elnur Ismailzada
4523a47a85
Merge pull request #11880 from RomanPudashkin/crash_when_starting_drag_line
[MU4] Fix #11756: Crash when starting to drag text line while there is a range selection
2022-06-06 19:52:59 +03:00
Casper Jeukendrup
d2403b9f88
Special Characters dialog: add double flat and sharp
It looks like they were removed at some point because according to a comment in the code they are "not supported in most fonts". But since they do work in Edwin, the default font, let's bring them back.
2022-06-06 18:19:07 +02:00
RomanPudashkin
4d48fd98d3
Merge pull request #11888 from miiizen/10981-accidental-playback
Fix 10981: note is played after applying accidental from input bar
2022-06-06 16:16:58 +02:00
Alexander Pavlov
7d776faf10 fix #11515: fixed import of tuplets in gp 2022-06-06 14:43:44 +03:00
Roman Pudashkin
7182a7c505 renaming: TempoChangeRanged -> GradualTempoChange 2022-06-06 12:43:03 +02:00
Roman Pudashkin
bebe6b4019 implemented the ability to change the easing method 2022-06-06 12:41:44 +02:00
Roman Pudashkin
e5e4a0e0f6 implemented the ability to change the tempo factor 2022-06-06 12:41:44 +02:00
Roman Pudashkin
e77b2ec660 implemented the ability to configure the style settings of the TempoRangedChange elements 2022-06-06 12:41:44 +02:00
Igor Korsukov
dbe5b85ced optimized xml write 2022-06-06 12:44:55 +03:00
RomanPudashkin
d22d7511a1
Merge pull request #11882 from RomanPudashkin/ctrl_shift_modifiers
[MU4] Fix #11856: Crash when moving multiple staves
2022-06-06 11:30:31 +02:00
Roman Pudashkin
9741e0d223 fixed the ability to drag lines inside the range selection 2022-06-06 11:05:35 +02:00
Casper Jeukendrup
5582b2255b Fix typos that were hidden by usings in the Ms namespace
Constant::division -> Constants::division
TempoTechniqueType -> TempoChangeType
2022-06-06 11:13:07 +03:00
Casper Jeukendrup
5ba0d771ff Remove unnecessary uses of mu::engraving:: 2022-06-06 11:13:07 +03:00
Casper Jeukendrup
2750299d11 Update // namespace Ms comments to mu::engraving 2022-06-06 11:13:07 +03:00
Casper Jeukendrup
567eecd567 Fix warnings about missing virtual destructors 2022-06-05 23:30:25 +03:00
James Mizen
afa884357b Fix 10981: note is played after applying accidental from input bar 2022-06-05 14:52:28 +01:00
Casper Jeukendrup
19b6289b49
Merge pull request #11714 from quinnouyang/properties-popup-spacing
Added spacers and tweaked spacing in General and Dynamics settings under Properties -> Playback
2022-06-04 18:40:46 +02:00
Roman Pudashkin
6d0da4f28c fix #11856: always treat simultaneously pressed Ctrl and Shift as Ctrl 2022-06-03 17:36:33 +02:00
Roman Pudashkin
91fb925bf8 fix #11756: It is always necessary to select the object that the user clicked on, if it is not currently selected 2022-06-03 15:44:29 +02:00
Igor Korsukov
006adbe056 optimized xml write 2022-06-03 14:09:25 +03:00
Igor Korsukov
3064ed7cd5 added xml write attributes 2022-06-03 14:09:25 +03:00
RomanPudashkin
ba1099aaa4
Merge pull request #11866 from Eism/plugins_actualization
[MU4] Plugins actualization
2022-06-03 13:08:22 +02:00
RomanPudashkin
f553d3beba
Merge pull request #11750 from Eism/sub_menu_close_animation_fix
[MU4] Sub menu close animation fix
2022-06-03 12:27:02 +02:00
Eism
06f43c80b6 Restored old API 2022-06-03 13:24:40 +03:00
Eism
44cd4e60f0 Renamed menuPath to title 2022-06-03 12:52:36 +03:00
Michele Spagnolo
7425048142 fix text base kerning behavior 2022-06-03 09:45:52 +02:00
Casper Jeukendrup
41abd08833
Move m_isNewlyCreated from MasterScore to NotationProject 2022-06-02 22:29:11 +02:00
Casper Jeukendrup
1693ba9bdc
Treat reading <400 files as import 2022-06-02 22:29:10 +02:00
Casper Jeukendrup
1de5d26c94
Try fix saving MSCX folders on Linux 2022-06-02 22:29:10 +02:00
Joachim Schmitz
1ff2049480 Fix MSVC compiler warnings
reg. declaration of 'articulation' hides global declaration (C4459)
2022-06-02 17:27:52 +03:00
Igor Korsukov
b680963855 added NO_QT_SUPPORT to PropertyValue::toQVariant/fromQVariant 2022-06-02 17:23:04 +03:00
RomanPudashkin
93578924c5
Merge pull request #11853 from RomanPudashkin/crash_when_unhiding_parts
[MU4] Fix #11842: Crash when un-hiding an instrument in a part
2022-06-02 16:00:10 +02:00
Eism
77b7bd4f15 Fixed plugins categories and thumbnails 2022-06-02 16:08:50 +03:00
Eism
33e20a68d8 Fixed view background color 2022-06-02 16:08:50 +03:00
Eism
d2b6a83541 Updated plugins for MU4 2022-06-02 16:08:50 +03:00
Igor Korsukov
b73764f78f renamed Ms to mu::engraving 2022-06-02 15:44:46 +03:00
RomanPudashkin
514ddcbb0a
Merge pull request #11828 from RomanPudashkin/install_sound_font
[MU4] Fix #11549: Reinstate drag-and-drop interaction for SoundFont installation
2022-06-02 12:42:51 +02:00
Igor Korsukov
3fd4964e7d optimized textstream 2022-06-02 13:00:02 +03:00
Igor Korsukov
41a0c794af added use AsciiString for read xml 2022-06-02 13:00:02 +03:00
Igor Korsukov
42ada5713b added use AsciiString for read xml 2022-06-02 13:00:02 +03:00
Roman Pudashkin
0a5d1d873d fix #11549: implemented the ability to install new soundfonts via drag-and-drop 2022-06-02 11:55:52 +02:00
Joachim Schmitz
fdcdc9e146 Fix MSVC compiler warnings
reg. conversion from 'size_t' to 'int', possible loss of data (C4267)
2022-06-02 12:28:57 +03:00
popov alexandr
ddd2fe61b0 fixed compilation errors for clang 2022-06-02 12:24:48 +03:00
RomanPudashkin
84ec8822be
Merge pull request #11835 from cbjeukendrup/fix_toggle_textScriptAlignment
Text inspector: fix turning off subscript/superscript
2022-06-01 19:12:23 +02:00
RomanPudashkin
bde282f3a7
Merge pull request #11824 from RomanPudashkin/bends_diagram_fix
[MU4] Fix #11818: Bends diagram is disabled for all bend types
2022-06-01 18:28:19 +02:00
Roman Pudashkin
b82a913354 fix #11842: during the score layout, system staves may be added later than expected in Segment::createShape (if the user adds a new part to the score). 2022-06-01 17:45:15 +02:00
Elnur Ismailzada
9725f27582
Merge pull request #11832 from RomanPudashkin/drop_background
[MU4] Fix #10264: Bars are not highlighted when adding elements from Palettes (missing MU3 feature)
2022-06-01 18:21:33 +03:00
vpereverzev
a0ccb62b60 Fixed an issue with vst presets persistence 2022-06-01 17:07:41 +02:00
Elnur Ismailzada
06fac8db00
Merge pull request #11582 from cbjeukendrup/fix_notation_switch_tabs_scrollbar
Replace the scrollbar in the notation tabs by arrow buttons, and give the tabs a context menu
2022-06-01 16:21:15 +03:00
Roman Pudashkin
f02664b293 fixed the ability to change the tremolo bar type 2022-06-01 13:54:31 +02:00
RomanPudashkin
d395f13eea
Merge pull request #11707 from RomanPudashkin/floating_vst_windows
[MU4] Fix #9520: Play shortcut does not work when VST window is open
2022-06-01 13:18:28 +02:00
Alexander Pavlov
522854567b
Merge pull request #11764 from alexpavlov96/gp_harmonics_rasgueado_durations
fix #11749: duration lines for rasgueado and artificial harmonics
2022-06-01 13:19:42 +03:00
Elnur Ismailzada
d883f156e6
Merge pull request #11830 from HemantAntony/11827-instruments_panel_visiblity
Fix #11827: Added shortcut for Instruments Panel
2022-06-01 10:24:13 +03:00
Igor Korsukov
3e480d47cd moved bytearray from io to types 2022-06-01 10:09:07 +03:00
Igor Korsukov
04079177a2 added use AsciiString for XmlStreamReader::name 2022-06-01 10:09:07 +03:00
HemantAntony
7e02e2c923 Fix #11827: Added shortcut for Instruments Panel 2022-06-01 11:59:47 +05:30
Casper Jeukendrup
de481765fe
Text inspector: fix turning off subscript/superscript 2022-06-01 00:37:23 +02:00
Roman Pudashkin
e234d0b2c9 removed unused methods 2022-05-31 20:51:06 +02:00
Roman Pudashkin
2588010dc0 fix #10264: fixed the highlighting of measures while dragging an element 2022-05-31 20:51:06 +02:00
Eism
6327b2b927 Added animation for changing submenu width 2022-05-31 21:25:49 +03:00
Eism
6b54ea0549 Added animation for changing tooltip width 2022-05-31 21:23:50 +03:00
Eism
fe9c177237 Update position if popup is already open 2022-05-31 21:23:50 +03:00
Eism
2e8279dae9 Aligned the first element position according to the patent item position 2022-05-31 21:19:01 +03:00
Eism
4c3a9d0b80 Close parents menus if child menu was closed by clicking outside 2022-05-31 21:19:01 +03:00
Eism
5f51982684 Fixed recalculation of the menu size when changing the menu model 2022-05-31 21:19:01 +03:00
Eism
73ac993b1a Fixed positioning of menu for menu button 2022-05-31 21:19:01 +03:00
Eism
6572f1f81f Moved menu components to internal 2022-05-31 21:19:00 +03:00
Eism
69af7bc404 Fixed navigation for app menu bar 2022-05-31 21:19:00 +03:00
Eism
a0291afe94 Using menu loader for app menu bar 2022-05-31 21:19:00 +03:00
Eism
c5a531fce8 fixed #9056: Implemented new behaviour for tooltips 2022-05-31 21:19:00 +03:00
Eism
86a1a0712e fixed #9055: Using menu loader with updating a position for new menu instead of reopening menu 2022-05-31 21:19:00 +03:00
Igor Korsukov
fe5a6e507f added use AsciiString for XmlStreamReader::name 2022-05-31 18:35:42 +03:00
Igor Korsukov
d334c10207 added AsciiString 2022-05-31 18:35:42 +03:00
Igor Korsukov
8c0bd12354 added mu::String 2022-05-31 18:35:42 +03:00