1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-03-07 15:05:38 +01:00
Commit Graph

9778 Commits

Author SHA1 Message Date
Paul Licameli
ddf5643d01 Use BasicUI in FileNames.cpp, to remove some dependency on wxCore 2021-07-30 06:42:18 -04:00
Dmitry Vedenko
b28533328f Change the link color to the default color of wxHyperlinkCtrl 2021-07-26 09:49:30 -07:00
Dmitry Vedenko
9a07826cd2 Re-fit the UpdateNoticeDialog to fix dialog size with wxGTK 2021-07-26 09:49:30 -07:00
Dmitry Vedenko
23da17eef2 For GTK builds - use wxStaticText instead of wxHyperlinkCtrl.
It turns out, that wxHyperlinkCtrl has a dramatically different size with the GTK backend. This commit makes link to be only clickable using mouse, but AFAIK accessibility is not implemented for GTK backend anyway.
2021-07-26 09:49:30 -07:00
Dmitry Vedenko
b2d9adf6a7 Fixes crash in ErrorReportDialog 2021-07-26 09:49:30 -07:00
Paul Licameli
0ee9cbd83e Fix dangling pointers to Project from LyricsWindow.cpp 2021-07-22 17:40:29 -04:00
Paul Licameli
cfce6da603 Resample into lib-math; Audacity doesn't use libsoxr directly 2021-07-22 16:54:00 -04:00
Paul Licameli
f52dfd3ac3 New library for math...
... note the swap of target_link_libraries lines in src/CMakeLists.txt,
needed to build at least on macOS, becuase FFT.h must be looked up first in
lib-math, not in lib-src/twolame

Also making a dependency cycle of SampleFormat and Dither!  But we will tolerate
that within one small library.
2021-07-22 16:54:00 -04:00
Paul Licameli
749a0575b6 Move sampleCount to new files 2021-07-22 16:54:00 -04:00
Paul Licameli
9571889280 Duplicate Types.h in SampleCount.h, verify empty diff 2021-07-22 16:54:00 -04:00
Paul Licameli
7e50e9b5af New library for preferences...
... It mentions some wxWidgets types in its interface, but these are in the
acceptable utility subset of wxBase that we still consider GUI toolkit-neutral.
2021-07-22 14:50:26 -04:00
Paul Licameli
a2f109de2e Reimplement PrefsListener without wx/app.h or wxCommandEvent...
... so that Prefs depends only on the allowed subset of wxBase
2021-07-22 14:46:25 -04:00
Vitaly Sverchinsky
b90b5cfd47 Splitting mSelIndex
Using mTextEditIndex for tracking active text box index, and mNavigationIndex used to track selection for keyboard navigation purposes
See #1195
2021-07-22 20:22:56 +03:00
Vitaly Sverchinsky
068ef4c36f Redundant state removed 2021-07-22 20:06:49 +03:00
Vitaly Sverchinsky
21ec893f76 Label text selection outline removed 2021-07-22 20:06:49 +03:00
Vitaly Sverchinsky
542a9be2ea Label affordance: dragging label with bar between handles 2021-07-22 20:06:49 +03:00
Vitaly Sverchinsky
17a7de639f Label drawing changes
Changing bar size between label handles, minor refactoring (making named constants, which should ease changing drawing geometry, without necessety to make changes to internals)
2021-07-22 20:06:49 +03:00
Vitaly Sverchinsky
97094e852c Defaulting label font size to be system preferred 2021-07-22 20:06:49 +03:00
Vitaly Sverchinsky
f672a71ab4 Zero selection cursor drawing fix 2021-07-22 20:06:49 +03:00
Vitaly Sverchinsky
ee88e209e3 Track edit cursor drawing moved to track panel 2021-07-22 20:06:49 +03:00
Vitaly Sverchinsky
f6f3945a86 Few new track art routines 2021-07-22 19:31:55 +03:00
Paul Licameli
0683d3c158 New library lib-exceptions 2021-07-21 14:01:58 -04:00
Paul Licameli
e6c109b2cd no wx/app.h in AudacityException.cpp 2021-07-21 14:01:58 -04:00
Paul Licameli
9ed63b0321 Remove wx/app.h from AudacityException.h 2021-07-21 14:01:58 -04:00
Paul Licameli
e5512b0daf Make part of GuardedCall non-inline 2021-07-21 14:01:58 -04:00
Paul Licameli
dc474680a1 Merge release-3.0.3 into master 2021-07-21 13:59:34 -04:00
Dmitry Vedenko
416d97ca81 Fixes the way AccessibleLinksFormatter performs layouting
Fixes
2021-07-21 09:36:12 -07:00
Dmitry Vedenko
4c5913a399 Adds Privacy Policy links to error reporting dialogs.
Also, adds ability to disable the comments box
2021-07-21 19:07:37 +03:00
Paul Licameli
186df73482 Shift+Drag of clips between tracks was never allowed up to 2.4.2...
... and in 3.0.0 started crashing instead.  Just disallow it again, no
functionality lost.
2021-07-21 04:17:37 -07:00
Vitaly Sverchinsky
335478270b EmptyPanelRect selection fix 2021-07-20 01:22:04 -04:00
Vitaly Sverchinsky
6b79a5eccb AffordanceHandle refactoring avoids TypeSwitch 2021-07-20 01:21:56 -04:00
Vitaly Sverchinsky
781ea13cf2 Built-in theme colors update 2021-07-20 01:12:55 -04:00
Vitaly Sverchinsky
404f43e214 Affordance handle initial highlighting 2021-07-20 01:11:38 -04:00
Paul Licameli
0c8b4e32fc Uses of BasicUI::MakeGenericProgress 2021-07-18 20:39:25 -04:00
Paul Licameli
333aa10624 Add BasicUI::MakeGenericProgress, for when the denominator is unknown 2021-07-18 20:39:25 -04:00
Paul Licameli
0555c1139d Define BasicUI::MakeProgress as abstract factory for progress dialogs 2021-07-18 20:39:25 -04:00
Paul Licameli
98b1669e93 Some uses of ShowMessageBox, removing AudacityMessageBoxCaptionStr...
... but not yet removing all inclusions of AudacityMessageBox.h
2021-07-18 20:39:25 -04:00
Paul Licameli
14ad405b04 Define BasicUI::ShowMessageBox 2021-07-18 20:39:25 -04:00
Paul Licameli
a656c9ce1a Modeless error shouldn't assert existence of a top window...
... Just make it modal if none.  Might only happen on macOS, and besides, the
modeless error dialog isn't (yet) used anywhere.  So this is not very important,
but I don't like assertions of things not really provably true.
2021-07-18 20:39:25 -04:00
Paul Licameli
189c6c1dbc Move error dialog functions into the BasicUI facade...
... now ErrorDialog.h is included only in ErrorDialog.cpp and
wxWidgetsBasicUI.cpp
2021-07-18 20:39:23 -04:00
Paul Licameli
3a3ff8ecbe More string typing in ErrorReportDialog, remove arg default 2021-07-18 20:37:07 -04:00
Paul Licameli
062abdde5d Move AudacityTextEntryDialog out of ErrorDialog.h...
... Because what's in ErrorDialog needs to hide behind the facade, but
AudacityTextEntryDialog doesn't, yet
2021-07-18 20:37:07 -04:00
Paul Licameli
f39973bf19 Copy ErrorDialog.* into AudacityTextEntryDialog.* ...
... verify empty diffs
2021-07-18 20:37:07 -04:00
Paul Licameli
3c2a6e7f6c ProjectWindowPlacement wraps project's frame, toolkit-neutrally 2021-07-18 20:37:07 -04:00
Paul Licameli
2facbe0d53 Define BasicUI::WindowPlacement and subclass for wxWidgets...
... An elaborate way to hold a wxWindow* as parent of a window, but avoiding
mention of wxWindow* in the member functions of BasicUI::Services, to be defined
next
2021-07-18 20:37:07 -04:00
Paul Licameli
50e8139716 Define CallAfter and Yield in BasicUI...
...so direct uses of wx/app.h may later be removed.  That header is one of the
files that is in wxBase, but is not acceptable in "toolkit neutral" code,
which should not directly use any version of an event loop.
2021-07-18 20:37:07 -04:00
Paul Licameli
d20cf01255 Facade class for basic UI, injection of a wxWidgets implementation...
... but none of the methods is defined yet.

The intention is to inject dependencies on wxWidgets (or other) toolkit so that
lower-level files have less build dependency on wxCore classes or on the
event loop.
2021-07-18 20:37:07 -04:00
Paul Licameli
4facbd939d Fix "Scriptables" commands, which broke at 02b6153...
... Problem was the loss of an override of PluginManager::GetID() for a more
specific pointer type.
2021-07-18 11:35:27 -04:00
John Colket
3ac95672c0 Bug 2782 - 8-bit FLAC samples are not imported correctly 2021-07-16 23:15:44 -04:00
Paul Licameli
5c291aa855 Merge release-3.0.3 into master
Conflicts:
	locale/pl.po
	src/ProjectFileManager.cpp
2021-07-16 20:42:00 -04:00