1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-04 17:49:45 +02:00

1523 Commits

Author SHA1 Message Date
lllucius
292336c776 Fix pointer calc as discussed here:
http://audacity.238276.n2.nabble.com/Interesting-critter-when-recording-td7559588.html

Figured it'd be best to get this in early on in the 2.0.6 cycle.
2013-10-25 14:22:36 +00:00
benjamin.drung@gmail.com
5a7675651f Remove files on distclean with the Makefile of their directory. 2013-10-24 00:29:18 +00:00
lllucius
7bb67e33fd I accidentially included the patch for bug #647 along with the patch for
bug #115.

But, since there's some definite preferences on which is correct, I've
left the change in, but added a simple way (SNAP_TO_NEAREST define in Snap.c)
to change it once a decision is made.

If set SNAP_TO_NEAREST back to true since that is the current (as of 2.0.5)
behavior.
2013-10-23 22:51:57 +00:00
lllucius
c0c2d70a13 Remove extra qualification for gcc. 2013-10-23 21:06:59 +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@gmail.com
08c94d5372 Backported wxWidgets-3.0rc1 number validators
The are pretty darn slick.  There's an integer one and a floating point 
one.  They support automatic range limiting (ex., you can't even type a 
number outside of the range), proper number formats (ex., you can't 
enter a decimal point in an integer field), you can't enter bogus 
numbers like "0.3-.2", thousands separators are supported, decimal 
precision may be specified and proper number formatting for string 
values (or automatic conversion to int, double, float, etc.).
2013-10-23 20:33:17 +00:00
lllucius
dd8e0a5edd Missing include on Linux. 2013-10-23 20:16:18 +00:00
lllucius
3ec8989265 Bug 510 - undo can change which tracks are selected, and focus
Must more extensive review of saving state

Try this one David.  I reviewed all actions in Menus.cpp and have added state
saving where it seemed to be missing.  I had no idea it would be so many (22). 
And that was only reviewing Menus.cpp.  I believe that will get them all since
all keyboard actions are tied to a menu or command action and they all go
through Menus.cpp. (I still have a few to review in TrackPanel.cpp though)
2013-10-23 20:14:09 +00:00
lllucius
27f87308ae Fix build error on Linux. 2013-10-23 19:23:15 +00:00
lllucius
fb8185cdbb Missed a couple of new files in r12712 2013-10-23 18:08:12 +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
03f5088b6a Bug 406 - Label creation/other non-dialogue editing and keyboard selection hang on long projects
This is part 1...

Provides some relief to the selection "hang"

This patch adds the ability for the keyboard based commands (like cursor left,
extend selection right, etc.) to know when the key has been released.

When the patch is applied the current state is saved only when the key is
released and not every time it repeats.

Here's an example of the difference it makes.

This video show the selection "hang", but also watch the CPU usage.  All I'm
doing is pressing SHIFT+RIGHT ARROW.

http://youtu.be/tdMntDwGSkM

This one is the same thing bug with the patch applied.  Notice that the
selection "hang" no longer occurs and look at the CPU usage!

http://youtu.be/EpXNsQ4Cky0
2013-10-23 18:01:14 +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
4159bf3b8e Bug 355 - Some keyboard shortcuts unresponsive after Mix and Render or Save Project
Track focus was set, but not track panel's
2013-10-23 17:43:26 +00:00
lllucius
865e22c0ee Bug 637 - Some full and reduced Menu Bar items are not translated
Relocates the translation tables to the bundle

This will change the location of the translation tables from:

<root>
  Audacity.app/
    Languanges/<langcode>/

to:

<root>
  Audacity.app/Contents/Resources/<langcode>.lproj/

  This will allow the menu items to be translated as expected.
2013-10-23 17:41:10 +00:00
lllucius
1fab1cdb21 Bug 337 - New logger class allows log to be initialized immediately without crashing Mac empty project windows
This is an older one...originally from 2011.  Bug says it all, but basically it allows logging
to begin immediately upon startup for all platforms.  And it has multithreading protection, so
it should now be safe to log from the non-GUI threads.
2013-10-23 17:00:28 +00:00
martynshaw99
87fb99e68b Turn on EXPERIMENTAL_KEY_VIEW, as per http://wiki.audacityteam.org/wiki/2.0.6_To_Do 2013-10-23 00:13:54 +00:00
james.k.crook@gmail.com
02e4e56444 Title of export dialog is now either "Export File" or "Export Selection", so user knows which menu option they selected.
Vaughan, 2013-11-02: James also turned on EXPERIMENTAL_SCIENCE_FILTERS.
2013-10-22 21:11:58 +00:00
james.k.crook@gmail.com
41bfae1695 Separated conjoined strings to make translation easier. Added TODO comments. 2013-10-22 20:40:11 +00:00
v.audacity
6c88c38a00 2.0.5 is released. Onward with 2.0.6! 2013-10-22 07:31:18 +00:00
v.audacity
79cc452c84 Leland's back on Audacity Team! 2013-10-18 20:51:10 +00:00
v.audacity
90a36f701e fix for bug 669, based on Steve's patch 2013-10-18 20:03:42 +00:00
lllucius
d8e3eb4440 Correct initial focus issues and adds a splash screen. 2013-10-18 20:01:41 +00:00
v.audacity
cdccd118d8 I think this fixes the remaining issues in bug 670. 2013-10-18 05:03:50 +00:00
v.audacity
945b27fea0 Remove unnecessary wxASSERT because the condition is checked for, in Release build as well. 2013-10-17 23:18:04 +00:00
lllucius
450615867e Focus for main Audacity window on Linux broken as of r12667 due to
the change setting focus when it should not have been.

This change restricts focus setting to dialogs only.
2013-10-15 13:13:54 +00:00
lllucius
a519814713 Fix for bug #668
http://bugzilla.audacityteam.org/show_bug.cgi?id=668
2013-10-15 04:57:22 +00:00
lllucius
8a260f33d0 Fix for bug #662
http://bugzilla.audacityteam.org/show_bug.cgi?id=662
2013-10-11 20:01:41 +00:00
lllucius
401ca077e2 Fixes the real issue described by bug #57.
http://bugzilla.audacityteam.org/show_bug.cgi?id=57
2013-10-11 20:00:47 +00:00
v.audacity
a1fe886b43 Audacity convention is hyphen for "plug-in". Patch from Gale. 2013-10-11 19:58:35 +00:00
v.audacity
20ad2a7a6f #define IS_ALPHA 0 2013-10-11 18:46:46 +00:00
lllucius
bd6c6839cf Fix for bug #57
http://bugzilla.audacityteam.org/show_bug.cgi?id=57
2013-10-09 14:06:04 +00:00
lllucius
d2b65de318 Fix remaining issue with #646
Good catch David!!!
2013-10-09 13:55:44 +00:00
lllucius
b8d1d915f8 Fix for bug #632
http://bugzilla.audacityteam.org/show_bug.cgi?id=632
2013-10-09 06:06:00 +00:00
v.audacity
cf6a0817f6 Add to comment about thread-safety. 2013-10-09 05:03:42 +00:00
lllucius
f1bd685c55 Fixes bug #370
http://bugzilla.audacityteam.org/show_bug.cgi?id=370
2013-10-08 19:40:45 +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
c8d8890211 Fix #2 for bug #642
http://bugzilla.audacityteam.org/show_bug.cgi?id=642
2013-10-08 05:07:54 +00:00
martynshaw99
eee43a5048 Agreed changes to KeyConfigPrefs for 2.0.5. EXPERIMENTAL_KEY_VIEW to be turned on again for 2.0.6. 2013-10-07 23:57:12 +00:00
lllucius
508ed858aa Fix for bug #368
http://bugzilla.audacityteam.org/show_bug.cgi?id=368
2013-10-07 23:46:41 +00:00
lllucius
726139ebc1 Fix #1 for bug #642
http://bugzilla.audacityteam.org/show_bug.cgi?id=646
2013-10-07 23:41:27 +00:00
lllucius
78bb88f169 Fix for bug # 646
http://bugzilla.audacityteam.org/show_bug.cgi?id=646
2013-10-07 23:33:59 +00:00
lllucius
423ede06cc Fix for bug #658.
http://bugzilla.audacityteam.org/show_bug.cgi?id=658
2013-10-07 23:30:43 +00:00
lllucius
a95651275c I was wrong in r12650 when I said the the workaround for bug #458 was
fixed by r12650.  I had tested on Ubuntu only and the menu resize
problem doesn't seem to happen there.

But, it still happens on Fedora 17 at least, so putting the workaround
back in.
2013-10-07 13:04:44 +00:00
lllucius
e5a4eecb25 Reverting r12591 as it was not complete and we're too close to
freeze to risk fixing it now.  Will readdress after 2.0.5 is 
released.

Basically, RingBuffer is ill equiped to handle an input stride
other than 1.

Thanks to Peter for testing this for me.
2013-10-07 12:37:15 +00:00
lllucius
8cb1681e47 Fixes crash on Linux that surfaced as a result of r12493. But, this prompted
research into why that code had been ifdef'd in the first place and allowed
the root cause to be identified.

Now the menus are cleaned up properly, which also fixes bug #458 without
having the workaround in r12639.

Basically, the problem was that attempts were being made to manipulate
menuitems on a menu that no longer existed (after the menus were rebuilt).
2013-10-07 08:36:07 +00:00
james.k.crook@gmail.com
0e30a5e98c Replace two _()'s by wxT()'s for strings not to be translated. 2013-10-06 17:20:58 +00:00
lllucius
61f8e16026 Make sure columns are full width for key and name views. 2013-10-06 07:37:26 +00:00
lllucius
7f8152ff49 Due to the last change (different filter behavior based on view type), KeyView
now needs to protect itself from residual line numbers and selection.
2013-10-06 06:25:34 +00:00
lllucius
83a12b3507 Can't set the brush before selecting the bitmap...DOH! 2013-10-05 02:38:12 +00:00