1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-01 08:09:41 +02:00

5147 Commits

Author SHA1 Message Date
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
Paul Licameli
52910f4f07 Less scrub lag: don't poll for available data, get woken up directly 2016-05-15 16:18:00 -04:00
Benjamin Drung
9e78a41faf Use std::isinf() instead of isinf()
Audacity fails to build on Ubuntu 16.04 with g++ 5.3.1 (using C++11),
because isinf() is not defined. Thus use std::isinf() instead.
2016-05-15 09:04:35 +02:00
Paul Licameli
29d8b9fdc3 Correct "scrub delay" for whatever scrub timer, so that the lag is right 2016-05-14 19:58:32 -04:00
Paul Licameli
3792d18f2d Correct "scrub delay" for whatever scrub timer, so that the lag is right 2016-05-14 19:57:06 -04:00
Paul Licameli
46f97fdf7a Merge branch 'master' into scrubbing 2016-05-14 19:56:14 -04:00
Benjamin Drung
dcddef8a06 Correct Audacity version in configure.ac
Please do not forget to update the version in configure.ac before every
new release.
2016-05-14 21:55:03 +02:00
David Bailes
c58d130c18 Bug fix for audio position
Fix for this bug: If the cursor/selection start is moved using the keyboard, then
audio position shows the previous cursor/selection start.

Simple fix in void AudacityProject::TP_DisplaySelection(). The play region is now updated
before its start is used for audio position.
2016-05-14 17:22:28 +01:00
Benjamin Drung
241f1014e5 .gitignore: Ignore executables without extension
The final audacity binary and other binaries do not carry any extension
on Linux. Thus add these binaries to .gitignore.
2016-05-14 17:53:59 +02:00
Benjamin Drung
44dc0ce951 .gitignore: Ignore more files generated by autotools 2016-05-14 17:53:59 +02:00
Benjamin Drung
fb711791fb .gitignore: Ignore compiled translation files 2016-05-14 17:53:59 +02:00
David Bailes
76a53c43b2 Fix bug associated with the Cursor short/long jump left/right commands
Fixes the following bug: if the zoom level is such that the jump does not cause a visible
change in display of the tracks, then the selection in the selection bar, and the play
region are not updated.

The fix simply moves the location of the call to TP_DisplaySelection(), so that it is called
irrespective of whether the tracks are redrawn.
2016-05-14 15:53:11 +01:00
Benjamin Drung
db31b05b89 .gitignore: Ignore files generated by autotools
Autotools generates some helpers file as well as it creates files from
templates (e.g. audacity.desktop). Add these files to .gitignore to not
commit them.
2016-05-14 13:38:41 +02:00
Paul Licameli
56dd7bff2a Give the scrubber its own timer separate from TrackPanel's... 2016-05-14 05:48:00 -04:00
Paul Licameli
16d33c6005 Give the scrubber its own timer separate from TrackPanel's, so that...
... we can experiment with changing the interval.
2016-05-14 05:47:32 -04:00
Paul Licameli
28e1e6303f Merge branch 'master' into scrubbing 2016-05-14 05:45:47 -04:00
Benjamin Drung
13630dc91d Use portable wxIsNaN() instead of isnan()
isnan() is not defined when compiling with g++ 5.3.1 on Ubuntu 16.04. It
is called std::isnan() in C++11 instead. Therefore use wxIsNaN() instead
which already defines the correct name.
2016-05-14 00:05:22 +02:00
Benjamin Drung
8d4ef6054a Fix linking of libsuil
libsuil uses directly symbols of X11 when compiling with GTK2. The build
will fail if compiled with -Wl,--as-needed:

[6/6] cshlib: build/src/x11_in_gtk2.c.3.o -> build/libsuil_x11_in_gtk2.so
src/x11_in_gtk2.c.3.o: In function `forward_key_event':
lib-src/lv2/suil/build/../src/x11_in_gtk2.c:159: undefined reference to `XSendEvent'
src/x11_in_gtk2.c.3.o: In function `x_window_is_valid':
lv2/suil/build/../src/x11_in_gtk2.c:71: undefined reference to `XQueryTree'
src/x11_in_gtk2.c.3.o: In function `forward_size_request':
lib-src/lv2/suil/build/../src/x11_in_gtk2.c:172: undefined reference to `XResizeWindow'
collect2: error: ld returned 1 exit status
Waf: Leaving directory `lib-src/lv2/suil/build'
Build failed

Therefore link against X11 when using GTK2.
2016-05-13 22:14:40 +02:00
Gale Andrews
5c9469a5e2 Added access key for "Scroll left of zero" 2016-05-13 02:00:07 +01:00
Paul Licameli
968596f77c Merge branch 'master' into scrubbing2 2016-05-12 16:48:50 -04:00
Paul Licameli
df3e71ee8f Fix crashes (sometimes) when closing a project, due to overlays 2016-05-12 16:46:19 -04:00
Paul Licameli
05fcf9cf82 Fix crashes (sometimes) when closing a project, due to overlays 2016-05-12 16:46:04 -04:00
Paul Licameli
fe11474219 Revert "Fix crashes (sometimes) when closing a project, due to overlays"
This reverts commit a33ca3ec3d1b129241745e278735415a1070e939.
2016-05-12 16:45:08 -04:00
Paul Licameli
7584decfa0 Merge branch 'master' into overlays 2016-05-12 16:44:41 -04:00
Paul Licameli
7589844362 Correct the focusing of buttons as mouse moves. Unify the context menu code. 2016-05-12 15:07:19 -04:00
Paul Licameli
31557defa7 Correct the focusing of buttons as mouse moves. Unify the context menu code. 2016-05-12 15:06:54 -04:00
Paul Licameli
6c73dd8e37 Merge branch 'master' into scrubbing2 2016-05-12 15:06:05 -04:00
Paul Licameli
081ec91f55 Fix crashes (sometimes) when closing a project, due to overlays 2016-05-12 15:05:17 -04:00
Paul Licameli
a33ca3ec3d Fix crashes (sometimes) when closing a project, due to overlays 2016-05-12 15:04:48 -04:00
Paul Licameli
dcd581297a Merge branch 'master' into overlays 2016-05-12 15:04:27 -04:00
Paul Licameli
b8a8c43017 Make drag-scrub seek, rather than playing at more than unit speed
* scrubbing2:
  Make drag-scrub seek, rather than playing at more than unit speed
2016-05-12 01:23:08 -04:00
Paul Licameli
1bff08a75a Make drag-scrub seek, rather than playing at more than unit speed 2016-05-12 01:22:07 -04:00
Paul Licameli
bd3348099a Merge branch 'master' into scrubbing2 2016-05-12 01:20:55 -04:00
Paul Licameli
6ab33f8fe5 Revert another piece of the navigation to ruler by arrow keys 2016-05-11 22:54:55 -04:00