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

833 Commits

Author SHA1 Message Date
JohnColket
eb39642969
Bug 2663 - Audacity can make unwanted moves of toolbars (#776) 2021-03-28 09:16:09 +01:00
Leland Lucius
98561ee0b2 Bug 2497 - Windows: text can be pasted into the project rate box 2021-02-16 22:18:23 -06:00
Leland Lucius
37b36f5826 Bug 2120 - Spectral Selection Toolbar can be truncated when undocked 2021-02-16 02:17:50 -06:00
Leland Lucius
91b3389434 Ensure docked state is passed 2021-02-16 01:56:19 -06:00
Leland Lucius
672a69f24c Bug 1693 - Time selection issues in Selection Toolbar 2021-02-15 15:13:11 -06:00
Leland Lucius
182878caae Bug 2386 - Win/Linux: Toolbar grabber gets stuck pushed 2021-02-15 09:59:42 -06:00
Leland Lucius
3ecc5717ad Bug 2120 - Spectral Selection Toolbar can be truncated when undocked 2021-02-15 09:13:33 -06:00
Leland Lucius
9445393876 Bug 2527 - Reset Configuration does not reset Project rate or selection timers 2021-02-11 15:01:35 -06:00
Leland Lucius
8aaecdc596 Bug 2631 - Silent crash during "discard selected" processing from Recovery dialog. 2021-01-14 21:30:10 -06:00
freddii
534359de6c
Fix minor typos (#720)
Co-authored-by: freddii <https://freddii@github.com>
2021-01-12 11:56:09 +00:00
Paul Licameli
0bd21e171c If app is inactive, don't change transport buttons for modifier keys 2020-12-05 15:12:30 -05:00
Paul Licameli
a46118dc2a Fix uninitialized members of ToolManager 2020-11-20 13:30:52 -05:00
Paul Licameli
d49a888b98 Remove some unnecessary #includes 2020-11-18 17:06:12 -05:00
Paul Licameli
372393f49e Rewrite comments about exception safety guarantees with Doxygen...
... Defining a new macro, which generates a special paragraph with links to a
new page describing the principles.
2020-08-22 23:07:28 -04:00
Paul Licameli
4ca3e7096f
Track factory cleanup (#646)
* Don't need TrackFactory to make LabelTrack

* Don't need TrackFactory to make NoteTrack

* Don't need TrackFactory to make TimeTrack, or ZoomInfo in the factory

* Remove some forward declarations

* Rename TrackFactory as WaveTrackFactory, move it out of Track.cpp
2020-08-22 18:44:49 -05:00
Paul Licameli
a085057b66 Delay creation of tool docks and bars...
... after construction time for ToolManager, so that ToolManager can be
constructed earlier than ProjectWindow, and therefore the unspecified sequence
of invocation of factories of attached objects in the project won't lead to a
crash on any platform
2020-06-08 15:37:12 -04:00
yam
3b71d1fc1e Bug 2465 - Treble height Selection Toolbar 2020-06-07 01:15:39 -05:00
James Crook
9e3cb149f3 Reset selected tool when resetting configuration. 2020-06-03 13:16:21 +01:00
Leland Lucius
7f14e8d7ae Restrict combo size across the board
This fixes "too tall" toolbar problems on Windows with some
scaling settings and doesn't (seem to) hurt on the other
platforms.
2020-06-01 12:37:49 -05:00
Paul Licameli
223ac3b644 Move an #include ...
... obey the rule that each .cpp file includes the corresponding .h file before
any other except Audacity.h
2020-05-31 10:33:35 -04:00
James Crook
bc621158b8 Update OnResetConfig
Now it resets the toolbars, and fixes three common 'stuck-in-a-mode' issues.

Paul wrote: "I would move that function [OnResetToolBars(context)] into ToolManager.cpp so it can be called from ToolBarMenus.cpp and HelpMenus.cpp, with neither of those two dependent on the other."
2020-05-31 12:22:08 +01:00
Leland Lucius
b5e056575b Add missing include 2020-05-31 04:01:32 -05:00
Leland Lucius
c43c757bce Bug 2418 - Time toolbar displays incorrect time if project rate isn't 44100 2020-05-31 03:22:53 -05:00
Leland Lucius
7ac58ac4cc Bug 2419 - Time toolbar: Opening and closing preferences resets format to hh:mm:ss 2020-05-30 16:02:15 -05:00
Leland Lucius
7b9040c7e2 Rename TimerToolBar to TimeToolBar 2020-05-30 16:00:24 -05:00
Leland Lucius
a4b0635dd5 Bug 2410 - Mac: Cosmetic issues with undocked resizable toolbars in Dark and High Contrast themes 2020-05-29 18:31:35 -05:00
Leland Lucius
5cf8434b06 Bug 2410 - Mac: Cosmetic issues with undocked resizable toolbars in Dark and High Contrast themes 2020-05-28 23:10:48 -05:00
Leland Lucius
19e18ed665 Rework SpectralSelection toolbar for wx313 2020-05-23 13:08:21 -05:00
Leland Lucius
ea689f7d24 Rework Selection toolbar for wx313 2020-05-23 13:08:21 -05:00
Leland Lucius
11a527c1ec Rework Device toolbar for wx313 2020-05-23 13:08:21 -05:00
Paul Licameli
d373e27840 Remove some unused forward declarations and #include directives 2020-05-23 05:32:01 -04:00
Paul Licameli
93bcff99df Keep EXPERIMENTAL_VOICE_DETECTION compilable 2020-05-22 21:36:14 -04:00
Paul Licameli
37c0c15f12 Replace various calls to _ with XO 2020-05-22 20:45:07 -04:00
Paul Licameli
4d09705a73 Change XO to XXO in many more places, with no effects at all...
... because the two macros have the same expansion, and are both checked for
in the --keyword arguments passed to msgfmt by locale/update_po_files.sh.

This commit makes ONLY such changes, and comments in Internat.h.  It is big
but quite harmless.

The intention is to introduce a type distinction in a later release, by defining
XXO differently.  XXO is used where & characters in strings (for hotkeys of menu
items or control prompts) are permitted, XO where not.
2020-05-22 13:07:50 -04:00
Paul Licameli
5cef2cd3e4 Remove a few macro _ 2020-05-22 13:07:49 -04:00
David Bailes
ad680e1bbc Time Toolbar: Fixed ID for audio position
The Jaws screen reader script for audacity references the audio position control by its ID, so it's very helpful if this is fixed. It used to be fixed when the control was part of the Selection toolbar.
2020-05-22 09:19:26 +01:00
Leland Lucius
ffa4701247 Bug 2402 - Mac: Zoomed in, timeline still zoomed out. 2020-04-29 12:03:31 -05:00
Leland Lucius
2c9c7547cd Bug 2395 - Mac: Spectral Selection toolbar shows blank fields when first shown 2020-04-21 09:21:08 -05:00
Leland Lucius
0e2fd0ec35 Bug 2393 - Device toolbar cannot be resized smaller after a toolbars reset 2020-04-20 16:28:10 -05:00
Leland Lucius
80f95d407a Bug 2394 - Mac: length field in Selection toolbar is corrupted - blank dotted rectangle. 2020-04-20 09:05:21 -05:00
Leland Lucius
73719882bc Need to force call to during initialization
OnUpdate() will not be called if the saved format is that same
as the default.  But, it must be called to set the initial size
and to reset the controlling flag.
2020-04-13 23:47:51 -05:00
Leland Lucius
bacf6becdc Fix Time toolbar initial size setting 2020-04-13 16:26:10 -05:00
Leland Lucius
a5db7bbb2b Bug 2318 - Linux: Time Toolbar is needlessly resized too large when accommodating longer time format 2020-04-12 01:14:08 -05:00
Paul Licameli
8fad3651a0 More corrections in comments 2020-04-11 10:26:49 -04:00
Yuri Chornoivan
d1ada5f08c Fix minor typos 2020-04-11 10:06:24 +01:00
Paul Licameli
61abb87a77 Reviewed all i18n-hint comments...
... Moved many misplaced ones, which msgfmt would not have extracted into
audacity.pot.

Duplicated some of them, to appear with related but distinct msgids.

Added a few new comments.

Deleted one that was no longer needed in ProjectManager.cpp.
2020-04-05 09:00:00 -04:00
Leland Lucius
c690e03471 Bug 1366 - Using the sliders in Mixer Toolbar in a Project-2 alters levels in on-going recording (or playback) in Project-1
Should be okay now...
2020-03-19 23:36:17 -05:00
Leland Lucius
f6cfa0597e Bug 1366 - Using the sliders in Mixer Toolbar in a Project-2 alters levels in on-going recording (or playback) in Project-1 2020-03-19 22:04:09 -05:00
David Bailes
9210c2aa35 Time Toolbar: change "TimeToolBar" to "Time"
Change string or sub-string "TimeToolBar" to "Time" to conform with the naming convention of other toolbars.

(Change prompted by the narrator screen reader unexpectedly reading TimeToolBar rather than Time when tabbing to the toolbar.)
2020-03-07 11:07:47 +00:00
James Crook
60a113da26 Bug 2318 - Time Toolbar is needlessly resized too large when accommodating longer time formats
Tweaks to TimerToolbar.

- When docked, resizer will spring back to right edge when released.
- Now prefers a smaller font, unless bigger is forced.
2020-02-16 11:15:31 +00:00