1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-09-18 09:00:52 +02:00

9790 Commits

Author SHA1 Message Date
dofuuz
f83f65cadc Disable auto format detection of Import Raw Data
- Use recent import setting instead of auto detection
- Add Detect button
2021-08-04 06:52:30 -04:00
Vitaly Sverchinsky
f90698c980 Changing affordance hint text 2021-08-03 11:57:44 -04:00
Paul Licameli
0506faee02 New library for files 2021-07-30 08:17:27 -04:00
Paul Licameli
4fd6e8a151 Move LogWindow to new files 2021-07-30 08:17:27 -04:00
Paul Licameli
c14e8114ca Duplicate AudacityLogger.* in LogWindow.* 2021-07-30 08:17:27 -04:00
Paul Licameli
e3f9b3cbd4 Separate LogWindow from AudacityLogger, so the latter uses no GUI 2021-07-30 08:17:27 -04:00
Paul Licameli
03f77429a0 Begin to separate UI from internals of AudacityLogger...
... use more indirect notifications to the frame that it needs updates.

One notification to update the window when text is flushed in the logger.

Another to update the window for changes in language preferences.
2021-07-30 08:17:27 -04:00
Paul Licameli
7685d92a0c Begin to rewrite AudacityLogger...
... Singleton members become statics; smart pointers and null checks for safety
2021-07-30 08:17:27 -04:00
Paul Licameli
347cb7c294 Move AppName to lib-utility...
... It makes more sense there, at an even lower level than lib-files.  Avoid
type wxString.
2021-07-30 08:17:25 -04:00
Paul Licameli
44c4219d7c FileNames does not depend on wx/app.h...
... The string constant used at startup in SetAppName() (which is called
nowhere else) is made known to FileNames, so it need not use GetAppName().
2021-07-30 06:42:18 -04:00
Paul Licameli
9b0706dede Move SelectFile (and VerifyFilename which uses it) to new files...
... So that FileNames avoids dependency on wxCore.
2021-07-30 06:42:18 -04:00
Paul Licameli
05e991100f Duplicate FileNames.* in SelectFile.* 2021-07-30 06:42:18 -04:00
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