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

228 Commits

Author SHA1 Message Date
lllucius
3d420e019c Applied accessibility patch from David that I missed.
From David's message:

   "solution to the problem of getting jaws to read the updated
   name after choosing start/stop monitoring on the menu"
2015-01-19 17:47:39 +00:00
lllucius
dbe7e0280c Well r13875 was pretty dumb...try again 2015-01-10 20:41:49 +00:00
lllucius
e33cf84e35 Reduce accessibility chattiness in meters 2015-01-10 20:33:57 +00:00
lllucius
d87c6942cd A couple more accessibility changes 2015-01-09 16:07:24 +00:00
lllucius
a6ace4a606 Ignore the key up events after showing the context menu (on Windows only) 2015-01-09 15:27:58 +00:00
stevethefiddle@gmail.com
b09c923e92 Fix crash reported by Bill
Steps to reproduce: 
1) Launch Audacity
2) File > New Project
3) Close second (new) project
4) Click Record button - Crash
2015-01-06 18:24:00 +00:00
lllucius
5e46430d80 Update keyboard and a11y usage based on DB's suggestions 2015-01-05 16:36:17 +00:00
stevethefiddle@gmail.com
c8cabab88b Better fix for bug 802. 2015-01-05 11:07:55 +00:00
lllucius
4e8b794452 Fix a conflict between the backported number validator and formatter
When building for wx3 on Linux, the backported number validators
and formatter conflicts with the wx3 version because I never
renamed them.  Crashes during termination would occur because
the wx3 version and our version had different vtables.

I was thinking that we would just be able to delete the
backported version when upgrading to wx3, but since
we've made Audacity specific changes to them we can't
simply start using the real wx3 versions anymore.

Therefore, I needed to rename then to prevent the crashes.
2015-01-04 21:17:16 +00:00
lllucius
8bef14df36 Addresses meter accessibility mentioned in bug #33
And also corrects the missing focus rectangle display on
the toolbar buttons on Linux.
2015-01-04 09:24:26 +00:00
lllucius@gmail.com
3a23757e2e All the menu to be opened from the keyboard on the Mac as well. 2015-01-04 02:25:56 +00:00
lllucius@gmail.com
e33723d0e4 Figures Linux uses a differnet keycode for the context menu 2015-01-04 01:05:23 +00:00
lllucius
3a098714d9 Persist looped button across toolbar resets...
...when started from the keyboard.
2015-01-03 11:27:24 +00:00
lllucius
c9cde48f21 Open popup menu under icon when using context menu key 2015-01-03 09:29:42 +00:00
lllucius@gmail.com
c3c458e3fa Compact meters under GTK have same antialiasing issue as OSX 2015-01-03 07:00:39 +00:00
lllucius
bec5866653 Persist meter state across toolbar resets and fix clipping indicator
This will fix the clipping indicator turning on after a toolbar reset
and, as a bonus, the timers now only run if playing, capturing, or
monitoring.  Will (slightly) reduce the CPU consumption.
2015-01-01 23:29:08 +00:00
lllucius
055b40c3f2 Fix wx3 build 2014-12-29 03:46:57 +00:00
lllucius
a30f8398aa Let's try narrower icons...
...to see if it removes enough "gray" space on the left
of the vertical meter to be bareable.
2014-12-28 23:48:01 +00:00
lllucius
e47bb71b08 Re-adds the ability to reset peaks while recording
It also disables the "start/stop monitoring" menu item 
while recording.  Not really necessary, but...
2014-12-28 21:06:58 +00:00
lllucius
4126acac6b Fixes missing recent peak value
And re-introduces double buffering on Windows.
2014-12-28 20:49:37 +00:00
lllucius
d1af695919 Fix non-UNICODE build 2014-12-28 20:02:00 +00:00
lllucius
97251986ed Set preferences dialog title based on meter type 2014-12-28 06:25:16 +00:00
lllucius
a3786dd78a Both input meters should track monitoring/capture status
So you can switch between the combined and independent 
recording meters at will.
2014-12-28 06:15:09 +00:00
lllucius
6a3ef5565c Independent meters with combined menu/icon
Many other changes including:

1)  Independent preferences
2)  Automatic layout separated from vertical/horizontal orientation choices 
3)  Combined menu and icon which saves space
4)  Click to start monitoring label no longer covers peak hold line completely
5)  Click to start monitoring label now adjusts label based on available width
6)  Click to start monitoring label now appears on vertical meter (not sure about this one...)
7)  Reduced width of vertical meter by moving icon to left of meters
8)  Includes a compact vertical meter now
9)  Clipping indicator is easier to see
10) All 1-off drawing issues resolved (99.9% sure...I challenge you to find some ;-))
11) Bevels around meters are no longer overlaid by meter updates
12) "Old" menu handling code removed
13) Though not perfect since some non-English characters are taller/wider than the meters, non-English text is now handled better
14) Clicking play meter resets indicators as appropriate
15) Indicators on meters now stick around until the meter is clicked
16) Ugly flashing while resizing is now gone
17) There should be NO magic numbers in the code.  Every +1 or -2 is explained in comments...
18) Size of L/R labels are recalculated now when preferences are updated (to pull in locale changes)
2014-12-28 03:18:00 +00:00
lllucius@gmail.com
f00932a7ff Fix vertical meter not working on Mac...broken by r13802 2014-12-24 02:31:21 +00:00
lllucius@gmail.com
b942e8085f Fix display corruption on Mac when using compact meter 2014-12-22 21:16:51 +00:00
james.k.crook@gmail.com
cf1a7a849a Fixed problem where clicking on recording meter menu drop-down could also toggle monitoring on/off state.
The code was using Evt.LeftIsDown() so movement (with the mouse down) could toggle state.  Changed to only respond on the down event, i.e. Evt.LeftDown().
2014-12-22 15:10:14 +00:00
stevethefiddle@gmail.com
86a71bd71b Partial fix for bug 802. 2014-12-21 18:57:25 +00:00
lllucius@gmail.com
e2bced3a0a Start metering on left click...ignoring double click time 2014-12-20 20:03:04 +00:00
stevethefiddle@gmail.com
3e3701954a Fix - Spectral Selection Toolbar units. 2014-12-19 18:45:27 +00:00
lllucius@gmail.com
9a23598d3f Fix for Linux and Mac builds...
Tried to second guess the headers neads and failed.
2014-12-19 17:05:54 +00:00
lllucius
9bbc261321 Attempt #2 at taming the meter toolbars
It corrects several "multiple project" problems with the
meter toolbars and meters.

In addition, there was a "multiple project" issue where
the transport buttons didn't disable properly in the
non-active project.
2014-12-19 16:38:56 +00:00
lllucius
d978d99fde Part 2 of fix from r13782 and monitoring fix
This fixes the monitoring fix Bill described here:

http://audacity.238276.n2.nabble.com/First-go-at-the-meter-toolbars-committed-tp7566196p7566209.html
2014-12-18 08:00:18 +00:00
lllucius
02539ea792 Missed one in the last commit... 2014-12-17 19:22:23 +00:00
lllucius
fe42e881a5 First stab at taming the meter toolbars
This should correct at least a couple of the reported
issues.  And it also has some fixes in for multiple
project support.
2014-12-17 19:16:08 +00:00
lllucius
431166561e Getting rid of some warnings...mostly unused parms 2014-12-15 21:51:02 +00:00
lllucius@gmail.com
db5118255b Fix for bug #759
See bug for more info
2014-12-14 16:01:21 +00:00
lllucius@gmail.com
bfb1284573 Fix for unwanted cursor persistence outside of project window
This seems to only happen on the Mac and has to do with
how wx2.8.12 handles cursor setting.
2014-12-12 21:56:49 +00:00
lllucius
e752848d5e Fixes meter orientation problems as described here:
http://audacity.238276.n2.nabble.com/Problems-with-recording-meter-when-changing-vertical-horizontal-orientation-tt7565895.html
2014-12-11 08:51:18 +00:00
lllucius
556a425467 Fix for bug #777...OnKeyUp was not being called 2014-12-04 07:40:29 +00:00
lllucius@gmail.com
d6f4279c8b Fix Mac and Linux builds 2014-11-30 04:44:42 +00:00
james.k.crook@gmail.com
94c243cb2e No disabled state for meters. Monitoring can be on or off. Input meter now has prompt when monitoring off.
I haven't got rid of the preferences for disabled/enabled.
2014-11-29 21:10:44 +00:00
james.k.crook@gmail.com
7324997db6 Fix for http://bugzilla.audacityteam.org/show_bug.cgi?id=643 "Residual consistency issues with SHIFT showing Loop Play button icon" by Paul Licameli.
* Loop play-at-speed and cut preview play-at-speed implemented.
* Shift or ctrl down now affect all relevant buttons, loop or cut preview, normal or at speed, and append-record.
2014-11-29 17:22:05 +00:00
v.audacity
7c23be0126 comments regarding Proposed Features #1, at http://wiki.audacityteam.org/wiki/Proposal_Timer_Record_Improvements 2014-11-25 03:59:29 +00:00
v.audacity
d8783554e3 hack to adjust a wxASSERT that was failing on small (<1%) overage of nGaugeValue 2014-11-25 03:27:17 +00:00
stevethefiddle@gmail.com
1dfbe5974e Apply Leland's Read Only Numeric Text Control to Change Speed effect. 2014-11-23 22:54:24 +00:00
james.k.crook@gmail.com
2527327fd7 Fixed meany/many typo. (reported by Yuri Chornoivan) 2014-11-16 13:39:18 +00:00
lllucius
ad92e8c4bf One more round of effects changes.
The big thing is the common efffects UI.  Right now Ladspa and VST
have been converted to use it and Audiounits will be next.  It makes
everything nice and consistent while reducing the clutter in the
dialog.

Other goodies are:

Ladspa effects now show output controls when supplied by the effect
Ladspa effects now work fine as Analyze type effects
Ladspa now has user presets
VST effects dialog is now less cluttered...leaving more room for the effect
Ladspa and VST effects now share a common UI
Ladspa and VST effects are now usable in chains
Ladspa and VST effects now handle user presets the same way
Currently active effects settings automatically saved and reloaded
Can now do numeric range checking on input fields.

And, as always, plenty of critter squashing.
2014-11-14 03:03:17 +00:00
james.k.crook@gmail.com
34b9133031 Fix type problem with wxWidgets 3.0: Use enum wxRasterOperationMode instead of int. [Patch 0022] from martin@steghoefer.eu
This change from the old int type to the real enum wxRasterOperationMode was missed during the fix of similar problems in r13403 (when similar fixes were applied), probably because ImageRoll and the affected variable are currently unused and the problem therefore doesn't cause a compilation error and is only fixed preventively.

Compatibility with wxWidgets 2.8 is assured thanks to a conditional definition of wxRasterOperationMode as int in ImageRoll.h, introduced in r13403.
2014-11-13 21:13:11 +00:00
james.k.crook@gmail.com
72dfbcc587 Fix crash with wxWidgets 3.0: Cursor recapturing in track panel sliders [Patch 0019] From martin@steghoefer.eu
wxWidgets 3.0 has added a lot of asserts to detect incorrect usage
of its APIs. Now capturing the cursor, when it's already captured,
throws an assertion failure. As the assertion failure window
appears at a very inconvenient moment (when the cursor is captured),
this can lead to Audacity crashing or can even render the whole
Desktop Manager unusable until you find a way to kill
Audacity without using your Desktop Manager (e.g. ssh login)!

The recapturing can occur in the track panel sliders because
the sliders capture the cursor themselves (because they are
also used in other places outside the track panel, where
this is actually necessary), but the track panel also manages
the cursor capturing because it needs it for other operations.

Fixed the recapturing problem by letting the sliders capture the cursor
only if necessary.
2014-11-13 20:48:54 +00:00