1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-03 17:19:43 +02:00

5280 Commits

Author SHA1 Message Date
Paul Licameli
e68cfc3a05 Restore the scrub alternative image for the play button 2016-05-22 11:34:05 -04:00
Tony Kirkland
9905652d5c Bug 1279: change VST host window parameters to prevent app freeze 2016-05-22 11:17:04 -04:00
Paul Licameli
aa9afb073e Show Actual Rate in status only if playing, recording, or monitoring 2016-05-22 10:44:18 -04:00
Paul Licameli
7e0de9a9bc Fix incidentals to Bug 1331, though not the bug itself...
... See comments #1 and #2 at
http://bugzilla.audacityteam.org/show_bug.cgi?id=1331

Don't make strange undo history if, e.g., R to record (or other keystroke
with undoable effects) interrupts a drag with undoable effects (like time
shift).  Ensure that by first simulating a mouse button up event to stop the
drag, before dispatching the keystroke.

Don't crash if certain other drags, that do not have undoable effects, such
as selection or vertical ruler drag -- are interrupted by a keystroke
command (Ctrl+C in particular could cause crash).  However, in these cases,
the drag is still allowed to continue.
2016-05-21 23:19:09 -04:00
Paul Licameli
079eb3e98e Bug1375: Fix sync-lock behavior ...
... which was broken by commit 3015a9c8d9229406f8c33fd32ffc64c11d77ca54
2016-05-21 02:04:12 -04:00
Paul Licameli
66c14c9940 Bug1390: Don't crash when SnapTo is not Off 2016-05-20 23:48:30 -04:00
Paul Licameli
6acb0f99b3 Fix minor error in some position to time calculations 2016-05-18 14:55:03 -04:00
Paul Licameli
54c6493df6 Better implementation of switch from scrub to quick play; ... 2016-05-18 12:00:06 -04:00
Paul Licameli
9e2916a80b Better implementation of switch from scrub to quick play; ...
... also, don't ever draw the scrub handle while dragging the quick play
region.
2016-05-18 11:58:57 -04:00
Paul Licameli
bdb96f659c Merge branch 'master' into scrubbing2 2016-05-18 11:23:38 -04:00
Paul Licameli
de13e27cdd Correction: commit 465b743fd32bd431f2f69fc13a060d4e73f34fa9 fixes bug 1391 2016-05-18 11:11:23 -04:00
Paul Licameli
ed87d79133 Don't pop record up if you click it twice; also may fix moonphase... 2016-05-18 11:02:56 -04:00
Paul Licameli
da8973570b Don't pop record up if you click it twice; also may fix moonphase...
... reported by Peter:  sometimes stop button gets disabled during record
2016-05-18 10:59:38 -04:00
Paul Licameli
62c82f94df Bug1365: Do not confuse Linux key event handling... 2016-05-18 10:11:37 -04:00
Paul Licameli
465b743fd3 Bug1365: Do not confuse Linux key event handling...
... So click on QP during scrub had to be implemented without relying on
SafeYield() when stopping play.
2016-05-18 10:08:46 -04:00
Paul Licameli
3c5547f0f3 Merge branch 'master' into scrubbing2 2016-05-18 09:45:39 -04:00
Paul Licameli
ae28b4d598 Bug 1392: don't draw indicator over track control during quick play 2016-05-18 09:30:55 -04:00
Paul Licameli
b0919ba44f Bug 1392: don't draw indicator over track control during quick play 2016-05-18 09:27:03 -04:00
Paul Licameli
c8070f1974 Merge branch 'master' into overlays 2016-05-18 09:26:47 -04:00
Benjamin Drung
4fb4b4b24f .gitignore: Keep Sal source code in repository
Explanation from Roger Dannenberg: The original Nyquist language was an
extended XLISP. Now, there are two "syntaxes": Lisp and Sal. Sal is a
procedural infix language. A small compiler (written in Lisp) translates
Sal into Lisp and then the translated code runs directly on the Lisp
interpreter. You can write plug-ins in either Lisp or Sal syntax, and
there could be library code to support plug-ins and provide other
functions in the future. Sal is definitely source code and likely to be
compact. I would advise any new user to use Sal instead of Lisp, so I
expect more .sal sources in the future.

Thus keep the Sal source code in the repository and do not ignore them.
2016-05-17 21:57:09 +02:00
Paul Licameli
7e3fbfbdf5 Double-click record with overdub pins record head center not right 2016-05-17 13:22:54 -04:00
Paul Licameli
e1f4ab6af6 Double-click record with overdub pins record head center not right 2016-05-17 13:21:39 -04:00
Paul Licameli
cf28490c83 Merge branch 'master' into scrollplay 2016-05-17 12:41:45 -04:00
Paul Licameli
47efa2dbbc fix gcc build 2016-05-17 12:38:30 -04:00
Paul Licameli
24f89c36e4 Double click on Record button pins record head right, not center 2016-05-17 12:26:05 -04:00
Paul Licameli
c66262d790 Double click on Record button pins record head right, not center 2016-05-17 12:25:39 -04:00
Paul Licameli
c01e5dc6b8 Add a comment, pertinent to scrolling 2016-05-17 12:18:40 -04:00
Paul Licameli
eac5feaa59 Scrolling display for (append-) record, if you double click 2016-05-17 01:54:10 -04:00
Paul Licameli
95ccc417d8 Scrolling display for (append-) record, if you double click 2016-05-17 01:47:52 -04:00
Paul Licameli
12fca6a304 Merge branch 'master' into scrollplay 2016-05-17 00:23:20 -04:00
Paul Licameli
acf16977be Fix deadlocks in scrubbing, again, and better... 2016-05-16 23:13:27 -04:00
Paul Licameli
9535dce82c Fix deadlocks in scrubbing, again, and better...
see eac6f98cbf97d9cdb240da978581ce21ec0d6f9c
2016-05-16 21:03:04 -04:00
Benjamin Drung
787f2afd10 Introduce end-of-line normalization
Ensures that all files that Git considers to be text will have
normalized (LF) line endings in the repository. When core.eol is set to
native (which is the default), Git will convert the line endings of
normalized files in your working directory back to your platform's
native line ending.

See also https://git-scm.com/docs/gitattributes
2016-05-17 01:05:05 +02:00
Benjamin Drung
8d360fe5f3 Remove unwanted files
There are some files in the repository that match rules in .gitignore
and shouldn't have been committed to the repository. Thus remove them.
2016-05-17 01:05:05 +02:00
Paul Licameli
ceb1a91cb9 Avoid deadlocks that sometimes happened when starting a scrub... 2016-05-16 18:22:22 -04:00
Paul Licameli
eac6f98cbf Avoid deadlocks that sometimes happened when starting a scrub...
... as a consequence of commit 52910f4f07d41904e5f8cc5fdc5e7f8484468a00
2016-05-16 18:20:43 -04:00
Paul Licameli
92dcb25c44 Merge branch 'master' into scrubbing 2016-05-16 17:11:45 -04:00
Steve Daulton
f1909cb88e Improve clarity of Append Record button icon (bug 1365) 2016-05-16 17:24:53 +01:00
Benjamin Drung
c6acf6ff64 libflac: Remove generated documentation
Remove all files that were built by libflac by running

    ./configure && make distclean
2016-05-16 16:47:45 +02:00
Benjamin Drung
40773b693a .gitignore: Do not exclude handcrafted makefiles
Not all makefiles are generated by automake. Thus allow these
handcrafted makefiles in the git repository.
2016-05-16 16:05:05 +02:00
Benjamin Drung
43d5979414 Remove Windows executables
This repository should only contain source code and all executables
should be build from source. Thus remove the Windows executables
that were imported from the portmidi library.
2016-05-16 15:49:03 +02:00
Benjamin Drung
43cc9f073d .gitignore: Do not ignore *.mod files
The lv2 library ships some xhtml*.mod file, but they are ignored by the
*.mod rule. The *.mod rules should exclude Fortran module files, but
this repository does not ship any Fortran code. Thus just remove the
*.mod exclude rule.
2016-05-16 15:48:17 +02:00
Benjamin Drung
444eb194a6 .gitignore: Do not ignore *.out files
The sord library contains some test files named *.out, but they are
ignored by the *.out rule.

a.out is the default file name for executables on Linux if no output
filename is specified. All executables that we build carry a name
without extension. Thus no generated file carries an .out extension.
Therefore just remove the *.out ignore rule.

Note: You can list ignored files by running

    git ls-files -i --exclude-standard
2016-05-16 15:48:07 +02:00
Benjamin Drung
a20d7898f3 Fix redeclaration of isinf()
Commit 9e78a41 declared isinf() as std::isinf(), because isinf() was not
declared on Ubuntu 16.04. But now the builds fail on Ubuntu <= 15.10,
because isinf() is declared there:

effects/Contrast.cpp:61:12: error: ‘constexpr bool std::isinf(double)’ conflicts with a previous declaration
 using std::isinf;
            ^
In file included from /usr/include/features.h:364:0,
                 from /usr/include/assert.h:35,
                 from /usr/include/wx-3.0/wx/debug.h:14,
                 from /usr/include/wx-3.0/wx/defs.h:695,
                 from /usr/include/wx-3.0/wx/event.h:14,
                 from /usr/include/wx-3.0/wx/window.h:18,
                 from /usr/include/wx-3.0/wx/nonownedwnd.h:14,
                 from /usr/include/wx-3.0/wx/toplevel.h:20,
                 from /usr/include/wx-3.0/wx/dialog.h:14,
                 from effects/Contrast.h:12,
                 from effects/Contrast.cpp:13:
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:201:1: note: previous declaration ‘int isinf(double)’
 __MATHDECL_1 (int,isinf,, (_Mdouble_ __value)) __attribute__ ((__const__));

Thus use std::isinf() directly instead of declaring isinf() as
std::isinf().
2016-05-16 13:33:22 +02:00
Paul Licameli
a4b98d4997 Make drag scrub less sluggish (do less redrawing) 2016-05-15 16:42:36 -04:00
Paul Licameli
0602343a2d Make drag scrub less sluggish (do less redrawing) 2016-05-15 16:41:24 -04:00
Paul Licameli
df0303cdaf Merge branch 'master' into scrubbing2 2016-05-15 16:22:39 -04:00
Paul Licameli
c3246e3f7b Make scrubbing work when timer interval constant is shortened to 1 ms
* scrubbing:
  Allow scrub timer interval to be 1 ms, without bogus out-of-memory warnings.
  Less scrub lag: avoid redundant disk traffic in Mixer...
  Less scrub lag: don't poll for available data, get woken up directly
2016-05-15 16:18:43 -04:00
Paul Licameli
8247e87dbf Allow scrub timer interval to be 1 ms, without bogus out-of-memory warnings. 2016-05-15 16:18:00 -04:00
Paul-Licameli
6eaff838f2 Less scrub lag: avoid redundant disk traffic in Mixer...
Also improves performance in bug 860, but not as much as the special case
patch for that bug in Bugzilla
2016-05-15 16:18:00 -04:00