1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-15 23:59:37 +02:00

1187 Commits

Author SHA1 Message Date
Mart Raudsepp
786f21b85c Meter: Make compatible with wx3.0 with a local wxColour::GetLuminance
Signed-off-by: Mart Raudsepp <leio@gentoo.org>
2021-08-28 00:29:03 +03:00
Mart Raudsepp
ebad9cc02f Use the override keyword directly instead of wxOVERRIDE
The override keyword is available since C++11 and the project already
required C++17, so there's no reason to go through wxOVERRIDE to support
non-C++11 compilers. wxOVERRIDE is new since wx3.1.0

Signed-off-by: Mart Raudsepp <leio@gentoo.org>
2021-08-28 00:29:03 +03:00
Emily Mabrey
40d4883233
Revert "Replace header guards with #pragma once"
This reverts commit a6bc896e246d48821ff7ae70d572aefcf0cbedd6.
2021-08-24 16:57:24 -04:00
Leon Marz
a6bc896e24 Replace header guards with #pragma once
Signed-off-by: Leon Marz <main@lmarz.org>
2021-08-24 11:16:01 +02:00
Leon Marz
80dc2cb7d6 Replace AUDACITY_DLL_API with TENACITY_DLL_API
Signed-off-by: Leon Marz <main@lmarz.org>
2021-08-21 13:23:21 +02:00
akleja
c3c5765a92
Change style of toolbar grabber
Remove bevels of toolbar grabber and change style

Signed-off-by: akleja <storspov@gmail.com>

Change style of toolbar grabber
2021-08-11 16:37:34 +03:00
fossdd
3d7de4f2c7
Rename Tenacity's config file
Resolves #362

Signed-off-by: fossdd <fossdd@pwned.life>
2021-07-25 10:05:58 +03:00
Emily Mabrey
2f316d5bc4
Rename project in many places; Replace Most Project Logos; Refactor About Tenacity... Dialog (#276)
Add `locale/en.po` file.
Add English to `locale/LINGUAS` list.
Partially duplicate `msgid`s to `msgstr`s in English locale enable eventual key `msgid` changes
Replace former project name with Tenacity in English locale.
Replace former project website with Tenacity compatible usages in English locale.
Modify `AboutDialog.h` by renaming variables.
Modify `AboutDialog.cpp` by replacing usage of pre-fork name in Strings.
Modify AddBuildInfoRow methods to be static in About dialog.
Make License text const in About dialog.
Make pre-fork credits different in About dialog.
Begin adding Tenacity specific credits
Macros starting with `__` are reserved, so I removed the `__` on the About Dialog guard macro.
Remove `AboutDialog::` from usage of `Role` in `AboutDialog.h`
Refactor overly long generator method into separate methods in `AboutDialog.(h|cpp)`
Begin adding Tenacity developer information
Cleanup layout of `AboutDialog.h` and `AboutDialog.cpp`
Add `safedelete` macro to compliment odd `safenew` macro
Add `enum` to `ShuttleGui.cpp` to make it more clear what `Prop` method is doing.
Remove a ton of pointless and/or redunant `#ifdef` usage
Remove pointless singleton in AboutDialog
Make AboutDialog modal on MacOS
Fix reference type use of `auto` in `AudacityApp` b/c it makes unintentional copy.
Update XPM and PNG images using Tenacity assets
Update ICO images using Tenacity assets.
Fix Windows resource script that improperly used `winuser.h` import.
Add `*.aps` to gitignore to prevent IDE RC pre-load file from being committed.
Add default values for pre-processor constants in `tenacity.rc`.
Make changes needed for `Tenacity.exe` binary
Add 8x8 PNG to Windows ICO files
Replace project name in various CMake and CPack file.
Replace project name in various directory structures.
Replace project name in various OS-specific build files.
Replace project name in various documentation files.
Update the PO and POT files using the script.
Fix places where a `.desktop` file was used on Linux.
Replace title of project windows.
Make splash screen click through to `tenacityaudio.org`.
Remove ® from `AboutDialog.cpp`
Modify copyright message in `AboutDialog.cpp`

Signed-off-by: Emily Mabrey <emilymabrey93@gmail.com>
2021-07-20 19:46:29 -04:00
Dmitry Vedenko
cd1efdc0ff
Add new error dialog for unwritable directory. 2021-07-19 05:45:54 +00:00
Paul Licameli
67b0f8a869
Move ComponentInterfaceSymbol to separate header file 2021-07-19 05:45:54 +00:00
Panagiotis Vasilopoulos
52e21d26c9 Increase default refresh rate in Meter widget
Signed-off-by: Panagiotis Vasilopoulos <hello@alwayslivid.com>
2021-07-18 23:54:25 +03:00
Cookie Engineer
bbf352d36d
💩 Remove Sentry Reporting 2021-07-04 10:19:04 +02:00
Paul Licameli
4b02e562b3 Eliminate mention of wxString from ErrorDialog.h ...
... whether std::wstring is the best alternative type, or whether we should
use UTF8 encoded std::string -- I wish to defer that, and revisit it later
2021-07-01 13:37:40 -04:00
Paul Licameli
132f04d272 ManualPageID is a new type; rewrite HelpSystem::ShowHelp and its uses 2021-07-01 13:35:57 -04:00
Paul Licameli
cfbdd2d22e Type alias ManualPageID for wxString used in many places...
... eliminating many direct mentions of wxString.  A real type distinction will
be made next.
2021-07-01 13:33:04 -04:00
Paul Licameli
3c50935484 A type distinction for strings that are URLs, and some Doxygen 2021-07-01 13:02:26 -04:00
Paul Licameli
6fe7a7dfa1 Fix case of complete URL with anchor given to HelpSystem::ShowHelp...
... but there were no examples of this anywhere.

The assignment to webHelpPage was just overridden a few lines later.
2021-07-01 13:02:26 -04:00
Paul Licameli
77dab158c3 Make Audacity build in C++17 ...
... Fixing many conditional operators with explicit construction of wxString
instead of simple string literals;

And fixing allocation of more strictly aligned structures on Mac, without need
for 10.14 as the minimum SDK, by means of some class-specific operators new
and delete.
2021-06-18 21:44:55 +03:00
Dmitry Vedenko
045fcbf688 Fixes #984
Fix uses the approach proposed by David Bailes
2021-06-16 11:54:20 -04:00
Paul Licameli
5cf1d514f6 Made new strings agree with FutureStrings.h; removed from there 2021-06-13 19:24:12 -04:00
Dmitry Vedenko
bbb9ca14a2 Adds ErrorReportDialog and ShowExceptionDialog 2021-06-08 08:08:26 -07:00
Paul Licameli
64d7ca7403 New utility library 2021-06-02 07:08:19 -04:00
Paul Licameli
e6e96de0fd Replace most inclusions of MemoryX.h with <memory> ...
... Most often it was needed for a custom definition of std::make_unique, but
we build C++14 now.
2021-06-02 07:08:19 -04:00
Paul Licameli
45c6190c51 New library lib-strings for Identifier and internationalization 2021-05-27 09:51:32 -04:00
Paul Licameli
70c4898648 Move class wxArrayStringEx to its own files 2021-05-27 09:51:32 -04:00
Paul Licameli
7e697d1d8f Replace many inclusions of Types.h with Identifier.h 2021-05-27 09:51:32 -04:00
Paul Licameli
5fef82dccf Define Setting classes, bundling config path with settings value...
... the intention being, that no string literal for a path, or its default
value, shall ever occur twice in the code, relying on long-distance coincidence
of literal values.  Instead, a named Setting object is constructed once, then
read and written.

For now, the Tie... functions in ShuttleGuiBase will take references to
implicitly constructed temporary Setting objects.  But all should later be
made static objects, and the constructors made explicit.
2021-05-17 08:46:08 -04:00
Paul Licameli
406b23cae7 More uses of AUDACITY_DLL_API...
... in many places where the function call will later need to be between
modules (or libraries, or the executable) and the annotation will be a necessity
to keep the linkage working on Windows.

That's all that this sweeping commit does.
2021-05-10 10:46:55 -04:00
Paul Licameli
fbfccf1393 Delete or un-inline some constructors, assignments, others...
... Which will be needed for various reasons for Windows builds of certain
modularizations, which will otherwise complain that they can no longer
generate them as inlines.

In one case, deleted copies require explicitly defaulted moves, but they will
work as generated inline.
2021-05-10 10:46:55 -04:00
Paul Licameli
c5ebc396eb Audacity.h has shrunk to nothing, now remove it! 2021-05-10 00:05:23 -05:00
Paul Licameli
e6cd0b88bc Don't forward declare wxWindow in Audacity.h 2021-05-10 00:05:23 -05:00
Paul Licameli
f2b53c82eb Move definition of AUDACITY_DLL_API into src/CMakeLists.txt 2021-05-10 00:05:23 -05:00
Paul Licameli
e653b4aaf8 Eliminate Experimental.h, configure compile options instead...
... This makes it impossible to forget to include the EXPERIMENTAL definitions
(such as when cutting and pasting code) and so get unintended quiet changes of
behavior.

The EXPERIMENTAL flags are now specified instead in new file Experimental.cmake
2021-04-27 12:40:07 -04:00
James Crook
d47264accf Fix compilation with llvm 11.0.1 2021-04-19 12:59:36 +01:00
Leland Lucius
853e6e9fe7 Fix build when FFmpeg is disabled 2021-04-08 02:11:58 -05:00
Leland Lucius
e22af714af Bug 2736 - Recent files list can be replaced by ExportCL commands 2021-04-08 20:11:42 -05:00
James Crook
df5c8d41fb Fix build (missing include file) 2021-04-05 10:43:21 +01:00
Leland Lucius
6450495426 Bug 2211 - Mac: keyboard navigation problem in Libraries preferences dialog 2021-04-05 03:37:36 -05:00
Leland Lucius
811065cff4 Bug 2694 - Coloring of tracks in Mixer Board are awry 2021-04-02 01:11:44 -05:00
Leland Lucius
988e90ea54 Change to a KEY_DOWN event instead of CHAR event
This should prevent pasting and backspace as well.
2021-04-01 20:29:35 -05:00
Leland Lucius
e47f27b106 Prevent keyboard navigation from being blocked on Mac
Readonly or non-editable text controls block keyboard navigation
on the Mac, so make them normal text controls, but block any edits.
2021-04-01 20:01:39 -05:00
Leland Lucius
392a060389 Bug 2700 - "Failed to open the project database" 2021-04-01 01:13:15 -05:00
James Crook
ae5e768023 Bug 2726 - Enh: Some preference changes are not written until Audacity exits
Also fixed a bug with GetPreferences, where uninitialised pointers
could be used that were only meant for use when editing values
(in which path they would be initialised).
2021-03-31 16:15:51 +01:00
Leland Lucius
0a085daa92 Fix build 2021-03-29 00:05:44 -05:00
Leland Lucius
7ad50cb0ca Bug 2703 - Mac: EGAT preview dialog is hidden behind the EGAT dialog 2021-03-28 23:01:20 -05:00
Leland Lucius
895c527b6a Bug 2703 - Mac: EGAT preview dialog is hidden behind the EGAT dialo 2021-03-28 22:56:57 -05:00
Leland Lucius
fe3dfe6774 Bug 2716 - Cleared "Recent Files" are restored on next launch 2021-03-25 02:20:16 -05:00
Leland Lucius
5357161238 Adding comments to explain the stack trace when using FileDialog 2021-02-17 14:28:08 -06:00
Leland Lucius
182878caae Bug 2386 - Win/Linux: Toolbar grabber gets stuck pushed 2021-02-15 09:59:42 -06:00
Leland Lucius
fd0f24e5ff Bug 761 - Linux: VST presets correct extension no longer offered in file name/no longer added if omitted 2021-02-15 02:24:21 -06:00