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

4901 Commits

Author SHA1 Message Date
Paul Licameli
0514ed432a Bug1052: Appearance should change immediately after ctrl-(double-)click...
... for scrubbing.

Now the green play indicator appears, though the play button on the control
toolbar does not go down until the mouse moves.
2016-04-18 20:28:33 -04:00
Paul Licameli
33f2ff0237 Merge branch 'master' into scrubbing 2016-04-18 20:26:35 -04:00
Gale Andrews
cad576c85c Use period at the end of a sentence that is text.
Or we could move the version number above the text so that it does not need a period.
2016-04-19 00:52:16 +01:00
Paul Licameli
51f061928f Bug1053: Meaningful status bar messages for scrubbing 2016-04-18 19:29:44 -04:00
Paul Licameli
4fc4f529a0 Bug1053: Meaningful status bar messages for scrubbing 2016-04-18 19:28:56 -04:00
Paul Licameli
353051493b Merge branch 'master' into scrubbing
* master:
  Bug1342: Loop-play (and other things) before scrub (and other things)...
2016-04-18 19:25:30 -04:00
Paul Licameli
d5915491b3 Bug1342: Loop-play (and other things) before scrub (and other things)...
... should not disable auto-scrolling of the window during playback.
2016-04-18 17:50:17 -04:00
Paul Licameli
a3a5a243c2 ESC key stops scrubbing 2016-04-18 14:38:34 -04:00
Paul Licameli
c99d2df05d ESC key stops scrubbing 2016-04-18 14:37:33 -04:00
Paul Licameli
408f1ecad2 TrackPanel.cpp cleanup: Move code for scrubbing and some of drawing out...
... Specifically there are "overlays" for play indicator, cursor, scrubbing
speed text, and quick play indicator, which now use a common abstract class
interface.

Also moved details of handling timer events elsewhere.

Made a class Scrubber with most of the details.  Still there are several places
where TrackPanel must check for scrubbing and call to Scrubber.  Too many
places.
2016-04-18 14:32:34 -04:00
Paul Licameli
9f65b80647 Reimplement quick play indicator as an overlay like the cursor 2016-04-18 14:31:36 -04:00
Paul Licameli
8b7ae748a3 Scrub speed as overlay; scrub event handling details out of TrackPanel.cpp 2016-04-18 14:31:36 -04:00
Paul Licameli
1722ee9e32 Define TrackPanelOverlay, use it to reimplement play indicator and cursor...
... but scrub speed display is disabled
2016-04-18 14:31:36 -04:00
James Crook
54ac17c086 Bug 1380 - "!" after "Welcome to Audacity" + VERSION_STRING
Discussion on -quality pointed out that (1) in alphas the '!' is emphasising the year, 2016, rather than the 'Welcome', that (2) in release the '!' can easily be misread as a 1 and so part of the version number (3) the topic is "How to Get Help", rather than the welcome (4) too many !!!!'s are OMG!!! culture (5) we already have an "!" in the title.
2016-04-18 11:35:21 +01:00
Paul Licameli
94d50d7de5 build fix 2016-04-17 15:04:53 -04:00
Paul Licameli
14db5ca410 build fix 2016-04-17 15:02:28 -04:00
Paul Licameli
b09be999e2 More changes to avoid copying of wxFileName.
Access BlockFile::mFileName without copying, with proper multithreading cautions
  Redefine ODLocker as movable, and it may try-lock only.
  Avoid some wxString copies
  fix bugs in previous
2016-04-17 13:58:50 -04:00
Paul Licameli
3d102a3390 Access BlockFile::mFileName without copying, with proper multithreading cautions 2016-04-17 13:58:21 -04:00
Paul Licameli
94cf94718e Redefine ODLocker as movable, and it may try-lock only. 2016-04-17 13:58:21 -04:00
Paul Licameli
185d5e132d Avoid some wxString copies 2016-04-17 13:58:21 -04:00
Paul Licameli
3e6f0bed78 fix bugs in previous 2016-04-17 13:58:21 -04:00
Paul Licameli
a64480770a Merge branch 'master' into HEAD 2016-04-17 13:57:51 -04:00
Paul Licameli
7172e2ae98 travis 2016-04-17 13:31:16 -04:00
Paul Licameli
74f588382f Redo AliasedFile using wxFileNameWrapper. 2016-04-17 03:31:46 -04:00
Paul Licameli
87f368f380 Redo AliasedFile using wxFileNameWrapper. 2016-04-17 03:31:16 -04:00
Paul Licameli
63140e54d9 Merge branch 'master' into FileNames 2016-04-17 03:29:46 -04:00
Paul Licameli
09b7fed2f9 ODLock has a non-blocking TryLock (not yet used); remove unnecessary mallocs. 2016-04-16 14:15:01 -04:00
Paul Licameli
3ed5defb69 Don't copy wxFileName often, it's not lightweight! Use wxFileNameWrapper... 2016-04-16 11:59:46 -04:00
Paul Licameli
b6fdffbab2 Don't copy wxFileName often, it's not lightweight! Use wxFileNameWrapper...
... which is a new class that defines moves.
2016-04-16 11:57:39 -04:00
Paul Licameli
b0ef9c4e82 Merge branch 'master' 2016-04-16 11:21:59 -04:00
Gale Andrews
195296f22f Add access key for new warning 2016-04-16 02:15:57 +01:00
Paul Licameli
25e4789117 Add missing header file to xcode project 2016-04-15 14:48:06 -04:00
Paul Licameli
da23526860 Condition variable needs the associated mutex locked only when waiting. 2016-04-14 16:37:22 -04:00
Paul Licameli
61177a15ad More consistent mutual exclusion in calls to certain sf_ functions; ...
... also SFCall to simplify thread-safe calls, and SFFile for RAII of SNDFILE
objects.
2016-04-14 15:20:37 -04:00
tip2tail
2d59f65919 Fix to ensure that Stop/Cancel button always takes effect 2016-04-14 08:42:45 +01:00
Paul Licameli
24df87bb4c Fix resource leaks in the usage of the FFMPEG library with RAII objects...
... This includes failure paths in the initialization if import.  Those
resources would have been reclaimed before program exit, but not as soon as
they should have been.

... This also includes certain leaks that would happen every time a file is
successfully imported or exported.  We never used avformat_free_context or
av_dict_free as we should have!

... There were also AVPacket objects repeatedly reinitialized without proper
cleanups in between.  That might have leaked memory too.
2016-04-13 20:31:54 -04:00
Paul Licameli
2207ebeb7d Merge branch 'revert' 2016-04-13 18:11:59 -04:00
Paul Licameli
def73e80ef Revert "Simplify WaveTrack::Locker"
This reverts commit 02a2bdc92b7a572fefb37f72f71a2c7cd69c986c.
2016-04-13 18:11:45 -04:00
Paul Licameli
5d28a05702 RAII object for pausing and unpausing OD manager 2016-04-13 17:57:10 -04:00
Gale Andrews
bd9fc44173 Update to Inno Setup 5.5.9
Don't disable the Welcome page.
Armenian translation now "official".
2016-04-13 13:14:16 +01:00
Gale Andrews
0e0b0d999d Correct name of Lithuanian translator. 2016-04-13 13:00:32 +01:00
Paul Licameli
316ed3afc2 Fix another memory leak in FFmpeg import. 2016-04-13 00:22:39 -04:00
Paul Licameli
c760361867 Merge branch 'master' of github.com:audacity/audacity 2016-04-13 00:12:57 -04:00
Steve Daulton
5b968e8250 Fix bug 1374 2016-04-12 21:58:44 +01:00
Paul Licameli
02a2bdc92b Simplify WaveTrack::Locker 2016-04-12 12:03:01 -04:00
Gale Andrews
5667d2c028 Fix remaining name display problems on Windows
and use \u rather than \x to ensure correct character is displayed, as suggested by David Bailes
2016-04-12 13:18:23 +01:00
Paul Licameli
1033095696 RAII for locking of WaveTracks 2016-04-12 00:55:59 -04:00
Paul Licameli
48658097d6 Fix static_assert in default_delete and define move before unique_ptr 2016-04-12 00:55:59 -04:00
Paul Licameli
f06dadbd68 Comment out unused function declarations 2016-04-12 00:55:41 -04:00
Paul Licameli
f7780adbf5 Comments about CloseLock() functions 2016-04-12 00:54:55 -04:00