1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-02 07:03:50 +01:00
Commit Graph

9738 Commits

Author SHA1 Message Date
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
Edgar
641b293dde 🐛 Fixed missing files when packaging with ninja on windows
Signed-off-by: Edgar <Edgar@AnotherFoxGuy.com>
2021-07-20 06:08:23 -05:00
nyanpasu64
2e5a05016b FreqWindow: Save cursor position as frequency, not pixel position
Fixes the cursor remaining on the same pixel but changing frequency,
when resizing the window horizontally with a cursor active (already
broken), or zooming/scrolling horizontally with a cursor active (only
possible in this branch).

Signed-off-by: nyanpasu64 <nyanpasu64@tuta.io>
2021-07-19 18:49:25 -05:00
nyanpasu64
65b7c100d6 FreqWindow: Implement horizontal zoom/scroll
This uses an exponential curve when zooming horizontally. This feels
more natural than the "reciprocal" curve used for vertical zoom. I tried
using that curve for horizontal zoom as well, but it was flawed because
it would zoom slowly at first but accelerate as you approached maximum
zoom level.

One minor issue is that dragging the zoom slider now results in zooming
in slightly to the left of the center of the plot. This is because every
change in zoom level recomputes the horizontal scrollbar's size and
position, rounding the position down to the nearest integer. The
rounding errors accumulate over many updates.

This needs to be solved by storing the intended center/boundaries of the
viewport (either its frequency or position) independently of the
scrollbar.

Signed-off-by: nyanpasu64 <nyanpasu64@tuta.io>
2021-07-19 18:49:25 -05:00
nyanpasu64
dc55aeb568 FreqWindow: Document vertical zoom slider and misplaced blue line
Signed-off-by: nyanpasu64 <nyanpasu64@tuta.io>
2021-07-19 18:49:25 -05:00
nyanpasu64
7ac6dc175b FreqWindow: Fix bug where zooming out doesn't clamp scroll until redraw
Signed-off-by: nyanpasu64 <nyanpasu64@tuta.io>
2021-07-19 18:49:25 -05:00
nyanpasu64
37dc454463 FreqWindow: Begin refactoring vertical zooming code
Signed-off-by: nyanpasu64 <nyanpasu64@tuta.io>
2021-07-19 18:49:25 -05:00
nyanpasu64
c3290707cb FreqWindow: Add horizontal scrollbar and zoom (not functional)
Signed-off-by: nyanpasu64 <nyanpasu64@tuta.io>
2021-07-19 18:49:25 -05:00
nyanpasu64
7660f58fa1 FreqWindow: Prefix pan/zoom names with v (for vertical)
This is so we can add horizontal pan/zoom widgets later.

Signed-off-by: nyanpasu64 <nyanpasu64@tuta.io>
2021-07-19 18:49:25 -05:00
nyanpasu64
4bb16a7f51 FreqWindow: Document fields, remove dead field
Signed-off-by: nyanpasu64 <nyanpasu64@tuta.io>
2021-07-19 18:49:25 -05:00
akleja
180ca1948b Fix: Edit cursor coloring not being applied 2021-07-19 19:59:04 +03:00
Paul Licameli
e9c575cbc1 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-19 05:45:54 +00:00
John Colket
9808b8d429 Bug 2782 - 8-bit FLAC samples are not imported correctly 2021-07-19 05:45:54 +00:00
Vitaly Sverchinsky
750e4943f5 fix recording starting position (refs #1183) 2021-07-19 05:45:54 +00:00
Dmitry Vedenko
f93e9fcf94 Fixes #1305.
The check for macro directory now only happens if directory is selected and exists,
2021-07-19 05:45:54 +00:00
Vitaly Sverchinsky
75e6f4b8bc Note track affordances 2021-07-19 05:45:54 +00:00
Vitaly Sverchinsky
5672a179da Wave track affordances 2021-07-19 05:45:54 +00:00
Vitaly Sverchinsky
4f43326c77 Play head is now drawn from the top of track panel to the bottom 2021-07-19 05:45:54 +00:00
Vitaly Sverchinsky
1190041f3c Adding affordances to TrackPanel and TrackView 2021-07-19 05:45:54 +00:00
Vitaly Sverchinsky
f0bbb4ecda Affordance handle
Adds click behaviour to a TimeShiftHandle
2021-07-19 05:45:54 +00:00
Vitaly Sverchinsky
d199f59a7d Few new track art routines 2021-07-19 05:45:54 +00:00
Dmitry Vedenko
cd1efdc0ff Add new error dialog for unwritable directory. 2021-07-19 05:45:54 +00:00
Paul Licameli
cfaf834d16 Sequence of AudioIO and NetworkManager shutdowns fixes crash at exit 2021-07-19 05:45:54 +00:00
Dmitry Vedenko
73e9b4dcfe Adds a class that allows keyboard accessible links in the text.
ShuttleGUI::AddWindow has a new argument now: positionFlags. This argument does not change the default behavior.

StartWrapLay/EndWrapLay are added, so wxWrapSizer can be used from the ShuttleGUI.
2021-07-19 05:45:54 +00:00
Paul Licameli
82802f7781 Remove unnecessary declarations in include/audacity 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
Paul Licameli
8a90ab94c3 Copy ComponentInterface.h to new file src/ComponentInterfaceSymbol.h 2021-07-19 05:45:53 +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
Даниил Николаев
f46015d63c Fix incorrect AudacityCommand's PluginTypeString
This should fix plugins in self-built versions of Tenacity for now.

Signed-off-by: nm17 <dannevergame@gmail.com>
2021-07-18 17:01:11 +00:00
Sol Fisher Romanoff
af2b77bf47 Merge pull request #164 from abb128/master
Implement toolbar edit mode
2021-07-15 21:39:49 +03:00
abb128
fcd9c40495 Fix menu accelerator in Edit Mode menu item
The &E shortcut conflicts with Edit Toolbar. M is unique

Signed-off-by: abb128 <alexx128p@gmail.com>
2021-07-15 21:06:27 +03:00
abb128
298ccd94d3 Fix whitespace inconsistencies
Signed-off-by: abb128 <alexx128p@gmail.com>
2021-07-15 21:06:27 +03:00
abb128
02000a97d5 Enable edit mode by default
Signed-off-by: abb128 <alexx128p@gmail.com>
2021-07-15 21:06:27 +03:00
abb128
4e5330d05b Make ToolBar read edit mode pref during initialization
Fixes an issue where the size of some toolbars is messed up when the program starts

Signed-off-by: abb128 <alexx128p@gmail.com>
2021-07-15 21:06:27 +03:00
abb128
21614a390c Make AdornedRulerPanel respect toolbar edit mode
AdornedRulerPanel also has a grabber, this commit makes it so that the grabber does not exist when edit mode is off.

Signed-off-by: abb128 <alexx128p@gmail.com>
2021-07-15 21:06:27 +03:00
abb128
534da8b617 Fix failed assertion bug
Toggling edit mode while recording audio would cause a failed assertion error. Disabling the toggle while Audio IO is busy fixes this.

Signed-off-by: abb128 <alexx128p@gmail.com>
2021-07-15 21:06:27 +03:00
abb128
1ac8eeee94 Add toolbar edit mode
This adds an edit mode checkbox under View > Toolbars > Edit Mode, which hides the toolbar grabbers when off

Signed-off-by: abb128 <alexx128p@gmail.com>
2021-07-15 21:06:27 +03:00
Be
4f5b132b7f CMake: fix Windows installation with Ninja generator
Signed-off-by: Be <be@mixxx.org>
2021-07-15 08:34:24 -05:00
Panagiotis Vasilopoulos
44968d3ac3 Rebranding: Replace 'Audacity: A Digital Audio Editor' in source files (#248)
List of commands that were executed in the `src directory`:
* sed -i 's/Audacity: A Digital Audio Editor/Tenacity/g' *.h
* sed -i 's/Audacity: A Digital Audio Editor/Tenacity/g' *.cpp

Signed-off-by: Panagiotis Vasilopoulos <hello@alwayslivid.com>
2021-07-13 09:30:42 +00:00
Be
395c4a584e allow building with upstream PortAudio
* AudioIOBase: add missing #include <portaudio.h>

This is required for building with system PortAudio library.

* CMake: allow building with system PortAudio
* CMake: fatal error if use_portaudio=system and use_portmixer=local

Signed-off-by: Be <be@mixxx.org>
2021-07-12 11:18:53 +00:00
Semisol
fa07a375d2 Merge branch 'ninja-fix' to 'master' 2021-07-11 18:29:25 +03:00
gera
a0ea8b63ad Add additional checks for macro output directory.
This bug still available in case: using old settings file or manual set it into settings file.
2021-07-11 12:23:26 +00:00
SteveDaulton
f58e132bb2 Fix uninitialised variables
When importing an AUP project, selLow and selHigh may not be defined
in the project. If not defined, this causes an error on initialising
Nyquist. See: https://forum.audacityteam.org/viewtopic.php?f=48&t=118940
2021-07-11 12:23:18 +00:00
Edgar
6a0855140e 🐛 Fixed building with ninja and MSVC 2021-07-09 13:54:43 +02:00
Ajay Ramachandran
faa23d1b2b Fix CI: Use Readme.md instead of Readme.txt (#143) 2021-07-07 20:30:29 -04:00
fossdd
49d9a75e49 AboutDialog: Fix build commit link
If you're in the AboutDialog and want to click on the build commit, you are now redirected to tenacity's commits instead of the upstream's one.
2021-07-07 12:49:04 -04:00
Ristellise
107e3cf736 Compile Fix for MSVC 2021-07-05 11:04:04 +08:00
Cookie Engineer
46e4c648fb 🐛 Fixes for About Dialog and Download URLs 2021-07-04 17:50:51 +02:00
Cookie Engineer
5d42ed0b19 🐛 Fix for Help Menu 2021-07-04 17:21:36 +02:00
Cookie Engineer
d9f30b2b72 🐛 Fixes 2021-07-04 17:08:29 +02:00