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

5181 Commits

Author SHA1 Message Date
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
Paul Licameli
f93dd21302 Allow pausing and unpausing of scrub. Just treat it differently internally. 2016-05-11 20:00:20 -04:00
Paul Licameli
737e24e24e Allow pausing and unpausing of scrub. Just treat it differently internally. 2016-05-11 19:59:11 -04:00
Paul Licameli
6d44d4e390 Merge branch 'master' into scrubbing 2016-05-11 19:06:53 -04:00
Paul Licameli
861ba06f2a Right click on the scrub handle pops up the menu, during scrubbing too 2016-05-11 19:05:27 -04:00
Paul Licameli
9055681f11 Right click on the scrub handle pops up the menu, during scrubbing too 2016-05-11 18:58:37 -04:00
Paul Licameli
9d88e8d8fc Merge branch 'master' into scrubbing2 2016-05-11 18:57:10 -04:00
Paul Licameli
03ec020085 Revert "Help for debugging of some event handling"
This reverts commit 9bfd66b06ca908efe9bd3adfd7f78cf143d18688.
2016-05-11 13:46:32 -04:00
Paul Licameli
9bfd66b06c Help for debugging of some event handling 2016-05-11 13:25:00 -04:00
Steve Daulton
2cd3a5d751 Display Audio Position when stopped
When play is stopped, display the start of play region as the 'Audio Position' in Selection Toolbar.
2016-05-11 17:46:39 +01:00
Paul Licameli
0cca33ad58 Fix assertion violations about double capture; while still making sure... 2016-05-10 15:36:40 -04:00
Paul Licameli
928e96c6cc Fix assertion violations about double capture; while still making sure...
... that if you drag-scrub and ESC, you don't get a leftover white guide line.
2016-05-10 15:35:46 -04:00
Paul Licameli
5d533b59c7 Merge branch 'master' into scrubbing2 2016-05-10 15:34:32 -04:00
Paul Licameli
80e19f2130 Ruler is in the ctrl+f6 cycle instead of reachable by arrows; experimental...
... flag for turning off navigability of the ruler.
2016-05-10 15:16:12 -04:00
Steve Daulton
7d7865c1a6 Update generated autotool files 2016-05-10 18:29:28 +01:00
Paul Licameli
4394ad1b70 Add a check item to Tracks menu for the scrolling beyond zero preference 2016-05-10 12:47:34 -04:00
Paul Licameli
9f8e34ad0f Implement drag-scrub, compatibly with the existing move-scrub...
Also fix scroll-scrub and remove obsolete mouse preferences messages
2016-05-10 09:40:06 -04:00