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

125 Commits

Author SHA1 Message Date
lllucius
dfffd0bf00 Fix Linux build from Steve 2013-11-01 17:56:56 +00:00
lllucius
ce00d5b507 [Bug 647] Snap-To clicks find nearest snap point, not nearest previous.
Convert SnapTo from on/off to a choice of off/nearest/prior.
2013-11-01 14:13:39 +00:00
lllucius
facf805658 Fix Mac build... 2013-10-27 08:26:01 +00:00
lllucius
3d95126e0e Bug 275 - Snap-To status/quantisation are global, leading to incorrect indications in multiple projects
This adds (I believe) project specific selection format.
2013-10-27 01:58:35 +00:00
lllucius
71fde85bfe Bug 115 - Snap-to causes spurious 'toolbar' to appear momentarily at start of dragging.
Completes James' TimeConverter work

This completes the work that James started.  It moves most of the non-GUI
related processing from TimeTextCtrl to James' TimeConverter class.

Other changes include:

1)  TimeTextCtrl now expects the format name instead of the format string to be
passed when creating a new instance.  I found that almost all cases created the
instance with a blank format string and then set the string after creation.

2)  To simplify maintenance and prevent a possible discrepancy between the two,
Increase() and Decrease() were merged into a single routine.

As a result:

1)  All cases where a TimeTextCtrl was being used to extract information and
not actually display a control have been changed to use TimeConverter instead.

2)  All cases where TimeTextCtrl was being created with an empty format and
then immediately followed by something like this:

    tt.SetFormatString(tt.GetBuiltinFormat(c->GetFormat()))

    have been changed to pass the format name instead of the format string when
creating the TimeTextCtrl instance.
2013-10-23 21:01:52 +00:00
lllucius
5c8baf9c16 Bug 406 - Label creation/other non-dialogue editing and keyboard selection hang on long projects
This is part 2...

Improve performance of selection via Selection bar

This provides a similar type of speed up when selecting with the keyboard via
the Selection toolbar.
2013-10-23 18:06:49 +00:00
lllucius
0bee195b0e Bug 275 - Snap-To status/quantisation are global, leading to incorrect indications in multiple projects
Make Snap To project specific

This makes the Snap To setting in the selection bar project specific.  Changing
it will no longer affect other open projects.

The state is saved to audacity.cfg when the checkbox is changed.  This means
that the next project window to open will start with the new value.  (As it
should be).
2013-10-23 17:47:00 +00:00
lllucius
4476bf26e6 Prevents keyboard navigation from freezing when the Snap To checkbox
has the focus on GTK.
2013-10-08 19:38:43 +00:00
lllucius
efabeb4a79 Shows if a volume is being emulated or not via the tooltip and status bar. 2013-09-24 06:58:49 +00:00
martynshaw99
4ce2643d5f Remove the
// Indentation settings for Vim and Emacs
etc. lines from all files, as Campbell's patch (except for other changes to Languages.cpp)
2013-09-24 00:14:37 +00:00
RichardAsh1981@gmail.com
b9a60462f5 Make global variables static so they only have file scope when that is all they need. Part of a patch by Campbell Barton 2013-09-21 19:21:31 +00:00
james.k.crook@gmail.com
dba81b3f1c Cleanup: Fixed lots of trivial MSVC warnings. 2013-08-25 21:51:26 +00:00
v.audacity
c7daafede2 In off-list discussion, Steve mentioned that kdevelop / kate highlighting recognizes "FIXME", but not "FIX-ME", which has been the Audacity convention. This commit changes Audacity code to use the "FIXME" convention (though I've never known it as convention and MSVC doesn't recognize it).
Also, minor change in WaveTrack.cpp in the effort on bug 641. Should have no functional difference.
2013-08-24 20:30:47 +00:00
v.audacity
24442a210f Remove Batch button cruft, never implemented since 2006. 2013-08-05 02:12:46 +00:00
james.k.crook@gmail.com
a4d885d74f Reverted r12443 following discussion. Mouse clicked play-button now pops up immediately. Consensus was that it makes 'replay' more discoverable. 2013-08-04 19:24:02 +00:00
v.audacity
ac6eaeeb70 attempt at fixing compile error on Linux 2013-07-30 22:43:45 +00:00
v.audacity
522205b056 Move check for ControlToolBar shift key-up from TrackPanel::OnTimer() to new ControlToolBar::OnTimer(). 2013-07-30 01:11:36 +00:00
v.audacity
c52f2d3b12 Fixes for ControlToolBar tooltips with keyboard shortcuts not working correctly in some languages, and for tooltips being updated without having to exit and restart. 2013-07-30 00:36:57 +00:00
james.k.crook@gmail.com
d05f66b32e Play button now stay down until finished playing audio. 2013-07-26 14:13:21 +00:00
v.audacity
9ac2623b7d Steve's patch per "Skip to Start when no tracks" thread on -devel 2013-07-25 02:53:36 +00:00
v.audacity
b8128af0c5 Gale suggested showing current key shortcuts for toolbar controls tooltips. This implements it for ControlToolBar (aka Transport toolbar).
One tricky aspect was that until GetActiveProject() is ready to return non-NULL,  ControlToolBar::RegenerateToolsTooltips() cannot get the project's CommandManager, so cannot get the shortcuts. Changed ControlToolBar::RegenerateToolsTooltips() to be public and now call it late in wAudacityProject(). When called before the project is completely instantiated, in the rewritten ControlToolBar::RegenerateToolsTooltips(), it just sets the tooltips to the names without the keys, pretty much as now -- but I don't think users will ever see that because of the subsequent call. 

Anyway, did it in a more programmatic way than the previous code, which reduces string literals duplication.

Btw, I changed the start value for the ID_PLAY_BUTTON because the former value of 0 causes FindWindow() to return the toolbar rather than the button -- wxWidgets bug. 

Also got rid of some cruft and applied a few WXUNUSED.
2013-07-23 22:07:56 +00:00
v.audacity
cfe095f839 Steve's patch from "Enable Sync Lock during Play (was: Align tracks end to end)" thread 2013-06-01 23:10:18 +00:00
martynshaw99
1af35d4168 Removal of all the stuff marked as 'Experimental CLEANSPEECH' about a year ago. 2013-04-29 23:23:14 +00:00
martynshaw99
b04c7f18a7 Steve's fix for bug/enhancement 74. 2013-03-17 23:33:28 +00:00
v.audacity
d589b9d207 Steve's patch for http://bugzilla.audacityteam.org/show_bug.cgi?id=70 2013-03-01 01:07:08 +00:00
v.audacity
c26b3c6b49 Campbell Barton's further patch to turn many, many tabs to our 3-space convenbtion 2013-02-23 04:33:20 +00:00
windinthew
6450fc4786 Edit Toolbar buttons named as "Trim Audio" and "Silence Audio" to match menu changes. 2013-01-10 02:43:43 +00:00
richardash1981
72f6eded20 I got fed up of unused parameter warning from my compiler hiding the warnings I wanted to see, so have added WXUNUSED annotations to a lot of widely used header files, and cleaned up trailing junk on the way. 2012-12-31 16:57:15 +00:00
richardash1981
55be06c9e4 commit a large patch by Maarten Baert maarten-baert<at>hotmail<dot>com to fix and improve time track support. Several fix-me issues remain but none are new with this patch. 2012-12-19 21:49:25 +00:00
v.audacity
ce9bd9fa90 I think this completes the refactoring for const-rate vs var-rate resampling. 2012-11-04 04:44:10 +00:00
v.audacity
0e287db4c9 Turns out the failsafe I added yesterday in r11929 was the correct solution to bug 367. This commit just adjusts the comments.
This also has the fix for bug 232, derived from the patch by Gaurav Agarwal.

Also changed several lingering "linking" comments to "sync-lock", the agreed on current terminology.
2012-08-20 20:26:42 +00:00
v.audacity
4ec4e06ab2 Specify a min width for Meter Toolbar, set to the previous initial value. 2012-08-10 01:41:01 +00:00
v.audacity
2dad036b58 Comment about bug I found in trying to figure out this code. 2012-08-07 23:37:53 +00:00
v.audacity
0baaa8d736 Widen Device and Meter Toolbars, to use the extra space created with r11889. 2012-08-07 23:34:06 +00:00
v.audacity
f7841b4d8f Add selection settings to Device Toolbar tooltips. Adjust some comments. 2012-08-07 04:16:13 +00:00
v.audacity
740770f391 Simplify and clarify logic. 2012-08-07 01:36:08 +00:00
v.audacity
ebb4f530bb Apparently, wxConfigBase::Write() does not update values for next access on all platforms unless Flush() method is called. Added many calls to wxConfigBase::Flush() to make sure the Rad() calls get the right values. 2012-08-02 06:03:19 +00:00
v.audacity
711f4a8d21 Modify several tooltips to be more concise, consistent, grammatical, and not platform-dependent. 2012-07-25 22:23:48 +00:00
v.audacity
b933a02542 attempt to fix "illegal instruction" issue on Debian with r11866, reported by Steve 2012-07-25 02:33:16 +00:00
v.audacity
2ebf9da926 For bug 436 (P2): Added tooltip for "Snap To" checkbox. 2012-07-25 00:09:55 +00:00
james.k.crook@gmail.com
66c6d8f570 More internationalisation hints. 2012-04-28 18:17:38 +00:00
james.k.crook@gmail.com
a41a447fdc Hide translatable strings in unused (#ifdeffed out) code. 2012-04-28 17:18:51 +00:00
martynshaw99
758a8f65e6 Inserting CLEANSPEECH ifdef's around anything CleanSpeech so that CleanSpeech can be removed easily in the (not to distant) future. The idea is never to turn CLEANSPEECH on, but fix any (unexpected) differences this may make. 2012-04-26 22:57:04 +00:00
james.k.crook@gmail.com
860e19ae47 Fix Bug 432: Cleanspeech mode will now not activate, even if it was enabled in a previous version (and even if it has been deliberately added to audacity.cfg). 2012-03-25 20:22:10 +00:00
james.k.crook@gmail.com
cd54a2728b Fixed some smart quotes that can cause problems for .po file generation. 2012-03-20 21:59:30 +00:00
james.k.crook@gmail.com
6c71a5e170 Fixed more internationalisation hints. 2012-03-20 16:48:57 +00:00
james.k.crook@gmail.com
69476e785c Fixed more internationalisation hints. 2012-03-20 15:36:02 +00:00
v.audacity
5f5b9778de Fixes per Vigilant Sentry (http://www.vigilantsw.com/)
* Fix memory leaks.

* Add comments about initializations and checking for successful results.

* Add checks for NULL deref.

* Consistency in "TODO" vs "TO-DO" comments!
2012-02-08 05:09:14 +00:00
v.audacity
721b7b3399 Apply patch for http://bugzilla.audacityteam.org/show_bug.cgi?id=465. 2012-01-25 02:21:08 +00:00
richardash1981
16d4e6c54d Commit patch from Leyland fixing bug 462 - crashes with VST plugins due to floating point exceptions. 2011-12-17 18:37:09 +00:00