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

3086 Commits

Author SHA1 Message Date
Paul Licameli
99f490c75f Fix off-by-one errors in allowable ranges for drawing indicator and cursor 2015-08-21 22:47:43 -04:00
Paul Licameli
1b8f44d053 ViewInfo does not redundantly (or inconsistently!) store the screen width 2015-08-21 22:39:18 -04:00
Paul Licameli
a9ab31dedb Allow NULL arguments in TrackPanel::GetTracksUsableArea() 2015-08-21 12:02:48 -04:00
Paul Licameli
e7c7bb84a9 Fix off-by-one width in TrackPanel::GetTracksUsableArea() 2015-08-21 11:49:49 -04:00
Paul Licameli
4b028995cb Fix off-by-ones in drawing of zoom rectangles...
... If one dashed boundary goes through the click point, the other should go
through the drag point, not one next to it.

This applies to zoom in the vertical ruler, and to horizontal zoom with the
magnifier.
2015-08-21 11:32:53 -04:00
Paul Licameli
68cbd4fbfe Fix bevels on vertical rulers 2015-08-21 11:32:27 -04:00
Paul Licameli
bc5aed7465 Bug1156, fix inconsistencies in mapping pixel heights to track vertical scales 2015-08-21 11:04:30 -04:00
Paul Licameli
49ff3ae78f Be sure OK button of preferences dialog is default 2015-08-21 06:25:00 -04:00
Paul Licameli
684bd0285c Replace some unexplained magic numbers with constants, add comments...
... This commit changes no behavior, fixes no bugs
2015-08-21 00:35:04 -04:00
Paul Licameli
23facd70c6 Bug1155: Fix off-by-one errors in painting of wave or label track backgrounds. 2015-08-20 23:08:48 -04:00
Paul Licameli
9a01c46c69 Fix that comment again... 2015-08-20 16:01:58 -04:00
Paul Licameli
0eca2bb23d Fix an inaccuracy in the comment 2015-08-20 15:58:54 -04:00
Paul Licameli
28239dfa1d Add one big, artistic comment to TrackPanel.cpp explaining the track rectangle 2015-08-20 15:52:56 -04:00
Paul Licameli
b3f4050627 Group Spectrograms Preferences page under Tracks, again 2015-08-20 13:32:41 -04:00
Paul Licameli
1eef41607e Recode the Apply button of Spectrogram Preferences so it is next to OK/Cancel 2015-08-20 13:24:55 -04:00
Paul Licameli
8c58e0ea71 Update vertical ruler width correctly when applying view settings changes 2015-08-20 12:18:36 -04:00
Paul Licameli
a2fbd1e208 Fix unreported bug that made labels jump when clicked on, sometimes 2015-08-20 12:15:48 -04:00
Leland Lucius
cca23724c2 Lost the change when I reverted 2015-08-20 08:24:53 -05:00
David Bailes
e416b1f373 Fix for bug 1153
bug 1153: Using Windows, with display of all items set to 125%, in the dialogs for select audio host,
select recording device, etc. the ok and cancel buttons had a very
small height, and their labels were very difficult to read.
2015-08-20 10:19:03 +01:00
Leland Lucius
1f6ba9160c Fix ghost image on track panel for real this time 2015-08-19 15:37:52 -05:00
Leland Lucius
a80c20c9b2 Revert "Fix ghost image on track panel"
This reverts commit b19ed258e963c9342f0a573a3f054d9a8336f7fa.
2015-08-19 15:37:27 -05:00
Leland Lucius
b19ed258e9 Fix ghost image on track panel
Thanks to David for tracking down the cause, the ghost has
been banished.
2015-08-19 15:29:54 -05:00
Paul Licameli
b11f57a643 Fix bugs in retraction of Waveforms preferences page 2015-08-19 11:52:31 -04:00
Paul Licameli
4a704af03f Restore Waveform (dB) to Tracks preferences for default view mode 2015-08-19 10:21:09 -04:00
Paul Licameli
83f1cb34ed Restore Waveform (dB) to track drop-down menu 2015-08-19 10:21:07 -04:00
Paul Licameli
112d2a903b Rename View Settings... to Spectrogram Settings... and enable it only for...
... spectrogram views, and don't show the Waveforms page.
2015-08-19 10:21:04 -04:00
Paul Licameli
0a41a1eba2 Remove Waveforms page from Preferences, put Spectrograms back in old place 2015-08-19 10:21:02 -04:00
Paul Licameli
28d552c39b Prefs dialog, when constructed with a single page, does not show the tree 2015-08-19 10:20:59 -04:00
David Bailes
58dc9ccb2c Fix for TrackPanel not releasing keyboard capture when losing focus.
Previously the TrackPanel didn't release keyboard capture when losing focus.
This led to bugs of this nature, which are now fixed:
1. On a label track, move the cursor to a position where there isn't a label.
2. Press ctrl+shift+f6 to move to the toolbars.
3. Press R. A label is created in the label track, rather than recording started.
2015-08-19 08:46:57 +01:00
Leland Lucius
a4802f48b1 Fix wx3 related crash and remove wx2 ifdef'd code 2015-08-19 00:37:03 -05:00
Paul Licameli
ebef4aef2f Fix ctrl-mousewheel in vertical ruler of stereo track 2015-08-18 12:07:16 -04:00
Paul Licameli
409cbb2996 Bugs 994, 1030: Scrubbing behavior with pointer outside of the track panel...
... first: suspend scrubbing only when the application is deactivated -- not
necessarily when track panel loses focus; resume when reactivated.

second: click and drag to seek happens only when the pointer is in the track
panel, and either over a wave track, or over no track.
2015-08-18 11:06:53 -04:00
Leland Lucius
2fc4c63c93 Regenerate for new file 2015-08-17 21:54:47 -05:00
Leland Lucius
0fe7b22103 Revert to appmodel progresss dialogs only 2015-08-17 21:49:45 -05:00
Paul Licameli
48ed1fe767 New header doesn't need <vector> 2015-08-17 12:08:58 -04:00
Paul Licameli
b9db3bd83d Define and use TranslatableStringArray. This lets you define "listeners"...
... for language changes, without inserting extra code to send the
notifications.
2015-08-17 12:04:21 -04:00
Paul Licameli
716d3252b3 Allow time shift only when mouse x is within bounds 2015-08-17 10:48:48 -04:00
Paul Licameli
7544a35a6e Improve calculation of reassigned spectrogram at screen boundaries 2015-08-17 10:03:45 -04:00
Paul Licameli
9505278c44 Disable caching for reassigned spectrogram 2015-08-17 10:03:21 -04:00
Paul Licameli
84ee685ee9 reassignment, internals, implementing time correction, but -- ...
... it does not yet interact correctly with caching, so results may be
slightly wrong if you scroll the view by less than a screen.
2015-08-17 09:17:46 -04:00
Paul Licameli
7113d533fb reassignment, internals, implementing frequency correction only 2015-08-17 09:17:45 -04:00
Paul Licameli
1f94d99c43 reassignment added to list of algorithms in settings and preferences 2015-08-17 09:17:42 -04:00
Paul Licameli
c4f7e25c1c Window function improvemenets: ...
fix off-by-one inconsistencies in the sum-of-cosines windows.

Implement derivatives of the window functions, needed for reassigned
spectrograms.
2015-08-17 08:40:20 -04:00
Paul Licameli
2855186408 fix a memory leak 2015-08-17 08:39:28 -04:00
Paul Licameli
5d2ccbc207 Don't use a "magic number" 2015-08-17 08:37:59 -04:00
Leland Lucius
13dbaf11ec Ensure the project window doesn't fall underneath the menu on OSX 2015-08-17 02:12:55 -05:00
Leland Lucius
bb553a1cfb Workaround 2.1.1 and older window size bug
It causes zero width/height window dimensions to be written to
the config.
2015-08-17 01:58:30 -05:00
Paul Licameli
e4fe449021 more simplification of arguments 2015-08-16 21:14:41 -04:00
Paul Licameli
a6172d932b Add an i18n-hint comment 2015-08-16 19:57:21 -04:00
Paul Licameli
5aba06a8a2 simplify argument passing for drawing pitch views 2015-08-16 19:45:09 -04:00