1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-07-07 07:57:43 +02:00

400 Commits

Author SHA1 Message Date
windinthew
5b36f5d6a9 Fix missing access keys 2017-05-08 20:20:05 +01:00
James Crook
f0bdfc10b5 Move record-new-track option
It's now in recording-prefs rather than track-behavior-prefs, and to make room latency options (which are related to device) ar enow in device-prefs.  Naming of new tracks has also been made slightly more compact.
2017-05-07 13:22:04 +01:00
James Crook
9d501f69d6 Add preference for Record being to new track. 2017-05-01 12:04:27 +01:00
James Crook
615a5058a7 Include Experimental.h
Needed for EXPERIMENTAL_SCROLLING_LIMITS
2017-04-29 12:35:01 +01:00
Steve Daulton
66cc6ba41f Add Track Behaviors preference files 2017-04-27 15:16:05 +01:00
Steve Daulton
516570074b Add preference option for Stem Plot
Tracks 'behaviors' preferences split to sub-page to avoid over-long
page for Tracks preferences.
2017-04-27 15:16:05 +01:00
Steve Daulton
53a64757e7 Stem Plot option when displaying samples
Initial commit.
2017-04-27 15:16:05 +01:00
James Crook
7f98672e22 MIDI_OUT on by default on windows.
The idea is to get SOME use and test of MIDI_OUT even though it does not compile on Linux yet.
2017-04-27 12:56:39 +01:00
James Crook
7661d179ba Send size event after repopulating MeterToolbar buttons.
If we don't do this, it does not regain its former size, if it is floating.
2017-04-27 09:51:34 +01:00
James Crook
2cc39d791f Option so (theme) developers can work with Mac buttons on PC (and vice versa) 2017-04-25 17:24:50 +01:00
James Crook
03af77387e Button and hover effect for microphone/speaker on meter bar.
Also fixed capitalisation of "Blend system and Audacity theme"
2017-04-24 20:07:48 +01:00
James Crook
d0bafebfdf Fix posterisation. Add blend themes option.
Posterisation was caused by having a bright theme cache and using a darker theme (in linux) so the light colours 'got stretched' and showed up the relatively few distinct values there.  So the Classic theme is now darker, and we expect (on Windows) that it will be recoloured to windows lighter colours.
2017-04-24 18:33:46 +01:00
Gale Andrews
e7007c1d59 Remove unwanted period 2017-04-22 01:35:05 +01:00
James Crook
6d361687d6 Add Show/Hide Extra menus preference.
The new preference is in the view menu and on the Gui preferences page.
Also Ext Menus rearranged to more closely match default toolbar order.
Also F11 (a new menu command to show/hide maximised) now has a check mark.

This change needs testing on mac as mac is pickier about when menus are updated.
2017-04-21 17:32:53 +01:00
James Crook
a868d0c118 Add Hi-Contrast Theme 2017-04-10 12:09:38 +01:00
James Crook
ce37650d04 Theme to be a drop-down
Also moved checkbox options to end and got rid of 'ergonomic order of buttons' preference.
2017-04-06 15:27:12 +01:00
James Crook
8c8f38079d Make default theme depend on EXPERIMENTAL_DA #define. 2017-04-03 13:18:34 +01:00
James Crook
028ed19d90 Sync with DarkAudacity 2017-04-02 23:07:13 +01:00
Paul Licameli
a1b88fe8d6 Fix assertion in MIDI prefs when there are no devices 2017-03-31 13:02:57 -04:00
Paul Licameli
3bb04245c5 Strong exception safety in all uses of XMLFileWriter...
... Strong, meaning that the file at the specified path is created or modified
only if all write operations complete without exceptions, barring one very
unlikely possibility that a final file rename fails, but even in that case the
output is successfully written to some path.

This commit does not add throws, but changes the type thrown to a subclass of
AudacityException, so that GuardedCall will cause the user to see an error
dialog in all cases.

Duplicated logic for making temporary files and backups is now all in one
place, the class XMLWriter.

There may be more new GuardedCalls than necessary -- the catch-all for the
event loop, AudacityApp::OnExceptionInMainLoop, might be trusted instead in
some cases --  but they are sufficient.
2017-03-18 11:45:33 -04:00
Paul Licameli
58574f2f78 Redo type HFFT as a smart pointer, remove malloc and free 2017-03-17 17:52:51 -04:00
Paul Licameli
18be1bdad6 Remove naked new[] in: tracks 2017-03-17 17:52:47 -04:00
Paul Licameli
8ddbc1d3d3 Assume number of spectrogram bins = 1/2 FFT window in fewer places...
... and that they have equal width on the linear scale
... also simplify the logic involving zero padding factor

This is more preparation for constant-q.
2017-03-17 17:52:28 -04:00
Paul Licameli
d831318132 simplify SpectrogramSettings::GetScale; abstract frequency-to-bin...
... this is a preparation for the constant-q feature, if we want it.
2017-03-17 17:52:27 -04:00
Paul Licameli
5036583549 Fewer inclusions of AudacityApp.h 2017-03-17 17:52:24 -04:00
Paul Licameli
463e7d971d Make EXPERIMENTAL_FIND_NOTES work again 2017-03-17 17:52:16 -04:00
Gale Andrews
83ae58db9f region > audio
Fits better with future proposed changes
2016-11-18 22:58:37 +00:00
Gale Andrews
cb36c53eda Fix wording for "Select all... if none" 2016-11-11 17:31:27 +00:00
David Bailes
597da6fda3 Correct duplicate access in Preferences:tracks 2016-10-26 13:29:46 +01:00
David Bailes
a79596fb4e Add a setting for whether labels can be created by typing
Added a setting for whether labels can be created by typing in a label track.
The setting can be changed in either the Tracks menu, or the Tracks category in Preferences.
By default the setting is set to on.
2016-10-26 13:11:07 +01:00
Gale Andrews
6daa2a3a93 Shorter Time Shift wording, clarify (dB) range
Also gets rid of horizontal scroll bar, at least on Windows.
2016-10-22 20:09:46 +01:00
windinthew
d5a6b83fe0 Fix issues reported on Wording page 2016-10-14 16:36:41 +01:00
Paul Licameli
f993f1eadf Regularize casts as (int), so they are easier to find and review 2016-09-20 08:42:11 -04:00
Paul Licameli
5d5edecca5 Remove unnecessary semicolons 2016-09-18 10:36:53 -04:00
Paul Licameli
88611a4530 Fewer C-style pointer casts of tracks; comments justify static_cast 2016-09-15 12:12:43 -04:00
James Crook
0f5260e600 Bug 1512 - Extended Import: Crash dragging an importer when there are no rules 2016-09-12 20:49:49 +01:00
Sven Giermann
ce09f4b883 Make RuleTable scrollable & DnD move instead of copy
Having lots of rules in RuleTable may lead to an assertion failure on opening preferences dialog:

> assert "sz.x <= 1000 && sz.y <= 750" failed in
> PrefsDialog::PrefsDialog(): Preferences dialog exceeds max size

This change will make the RuleTable scrollable (as it is/was when creating many rules) instead of expanding the dialog size.
Further I had to fix the calculation of the clicked row from the given coords. Even without this proposed change for scrolling, the calculated row has always been the one above the clicked row - maybe this changed in wxWidgets 3.0.
Now it uses CalcUnscrolledPosition() which seems to work fine even without scrolling.

Last change is for drag and drop mode: rules are not being copied, but moved on dnd - I changed this to reflect this mode on the cursor while dragging an item.
2016-09-12 17:09:42 +01:00
Paul Licameli
ed21545c80 pixel column counts and sample window sizes use unsigned types 2016-09-11 20:28:13 -04:00
James Crook
65c7e8051a ThomasFeher - Unused parameters clean up. 2016-09-11 20:31:49 +01:00
James Crook
545d741eb2 Make Audacity source more like DarkAudacity source. 2016-09-11 13:03:37 +01:00
James Crook
923eefaf90 Add code from merging.
This brings more of the code from DarkAudacity into Audacity, though not yet enabled.  This will make cherry picking later easier.
- Changing colour of html displays now possible, as colour links are visible for substitution.  (Can't use css as wxHTML is very limited).
- Export can now be preset to a particular format independent of preferences.
- SnapTo reversion on zoom now a DA controlled option.
- Caching of pinning preference for faster repaint because preferences are slow.
- Record Append now has sensible limit on number of tracks, rather than giving an error, and flipping the meaning of shift is now DA controlled.
2016-09-10 21:34:14 +01:00
Gale Andrews
973358339d Pinned option first (more logical), add access key 2016-08-15 15:40:24 +01:00
Paul Licameli
fe5ab9a462 Remove the naked new in allocation of AudacityProject 2016-08-14 15:24:59 -04:00
Gale Andrews
f7a85f4d52 Fix typo in label 2016-08-11 17:12:00 +01:00
Paul Licameli
8226441210 use vector of smart pointers to ExtImportItem objects 2016-08-11 11:51:33 -04:00
Paul Licameli
256a595d0f Use const 2016-08-11 11:51:33 -04:00
Steve Daulton
75f1f30fcb Add track scrolling shortcut to mouse preferences 2016-08-10 19:56:16 +01:00
James Crook
8dd93ef2a8 Bug 1467 - New pref for pinned head should move to the Prefs>Tracks
Also updated the wording as per comment #2 in Bug 1467.
2016-08-10 18:38:37 +01:00
Paul Licameli
8572b425c1 More safenew 2016-08-10 11:05:51 -04:00
Steve Daulton
586074bab8 Add missing hyphen 2016-08-09 18:56:37 +01:00