Paul Licameli
e0d826a542
Prohibit copy of TrackList, no longer needed; allow swap and move
2018-02-21 19:21:01 -05:00
Paul Licameli
c0f2782695
Fix interaction of recording and undo...
...
... in case you also do things, concurrent with the recording, that affect the
undo stack, either by pushing it (such as by changing the gain on one of the
playing tracks, or making a label) or by "Modifying state" without a new undo
item (such as when you change its size or mute or solo).
2018-02-21 19:21:00 -05:00
Paul Licameli
b2c69cb0f6
Define WaveTrack::Reinit()
2018-02-21 19:21:00 -05:00
Paul Licameli
28eeca5fa7
Iterate over the pending tracks for drawing and sizing the scrollbars
2018-02-21 19:20:58 -05:00
Paul Licameli
d08ae18ca4
Change details of focusing of tracks in presence of pending ones...
...
... Don't focus a pending changed track but remap it to the original.
You can focus a pending added track.
2018-02-21 19:20:58 -05:00
Paul Licameli
fa0fb7d8e5
Disable Undo and Redo while there are pending changes in TrackList...
...
... But perhaps we are developing the means to relax even this ban safely.
For instance, why not undo a mistaken AddLabelPlaying command (Ctrl+M) without
stopping the recording?
2018-02-21 19:20:57 -05:00
Paul Licameli
43776f5263
Don't push vacuous undo items...
...
... Vacuous pushes should not happen yet, but may happen after the machinery
for pending track changes is added and used.
This will only detect the case of one new recording track being modified. It
will not detect it if that track is modified, but other tracks exist that are
not modified.
2018-02-21 19:20:57 -05:00
Paul Licameli
539e870302
Add machinery to TrackList for pending changes to tracks
2018-02-21 19:20:56 -05:00
Paul Licameli
33cfd92c0a
Define TrackId to identify tracks across undo states
2018-02-21 19:20:56 -05:00
Paul Licameli
3f05063681
Split "Do" functions out of the "Set" functions for some Track settings
2018-02-21 19:20:55 -05:00
Paul Licameli
242e9a5668
Some reimplementation of track iterators and GetLink() ...
...
... avoiding direct usage of the inherited end() and of the increment and
decrement of the std::list iterators
2018-02-21 19:20:55 -05:00
Paul Licameli
9dd5b521ea
Make the experimental effects rack window compilable and usable...
...
... though there remain crash bugs to figure out, turning it on and off
during play.
2018-02-21 19:20:54 -05:00
Paul Licameli
586542bfe2
Remove post-translation substitutions
2018-02-21 19:20:54 -05:00
Paul Licameli
0aad028c9b
Simplify calls to Effect::Delegate
2018-02-21 19:20:53 -05:00
Paul Licameli
a3be011bf6
inclusions of Audacity.h
2018-02-21 19:20:53 -05:00
Paul Licameli
574a20f95f
Rename SpecPowerMeter as SpecPowerCalculation
2018-02-21 17:50:29 -05:00
Paul Licameli
57ce726a25
Rename Meter as MeterPanel, and some DOxygen
2018-02-21 17:50:28 -05:00
Paul Licameli
ee4f35f288
Rename Lyrics as LyricsPanel, and some DOxygen
2018-02-21 17:32:08 -05:00
Paul Licameli
e57afb3729
Fix many unused argument warnings in Menus.cpp
2018-02-21 15:18:38 -05:00
Paul Licameli
803022db11
Open 2.3.0 alpha development
2018-02-21 15:18:09 -05:00
Matt Whitlock
e1f0e974d0
Fix --without-midi build
...
See downstream bug: https://bugs.gentoo.org/637110
2018-02-21 12:19:19 +01:00
Paul Licameli
423908e668
Release build
2018-02-11 22:00:50 -05:00
Paul Licameli
c9c5421e49
Properly hide non-Full keyboard defaults containing Command+ on Mac
2018-02-08 17:19:18 -05:00
Paul Licameli
2b3be3208e
Fix repaint of Mixer board after change of track name...
...
... Problem was introduced in 2.2.0 at commit dc05b94
Also, in MixerBoard, change name whenever changing the label, which might
matter to screen readers.
2018-02-07 05:16:29 -05:00
Paul Licameli
1498958562
Hold safer shared_ptrs to tracks in MixerBoard
2018-02-05 20:33:54 -05:00
Paul Licameli
a663fefb8c
Up to date credit link for vorbis
2018-02-05 09:00:58 -05:00
Paul Licameli
4a24e2c089
Splash: make a big one
2018-02-05 08:56:16 -05:00
Paul Licameli
007fa9eca2
http -> https in user-visible strings...
...
... Some in wxT can be edited directly, some in _() are not really used now
so they can be edited directly, others require a post-translation substitution.
Not all links to libraries from Credits work with https: so update only those
that do.
2018-02-05 08:52:13 -05:00
Paul Licameli
298f3111b4
Update copyright date in About window
2018-02-04 21:01:50 -05:00
Paul Licameli
1ced86fce1
Beta build
2018-01-28 21:33:49 -05:00
Darrell Walisser
58d478c039
Update for FFmpeg 3.5
2018-01-28 15:49:44 -05:00
Darrell Walisser
3d4a357f95
Update for FFmpeg 3.5
2018-01-26 19:18:25 -05:00
Paul Licameli
ec31d105bf
Simplify conditions
2018-01-26 10:12:14 -05:00
Paul Licameli
0a035b0ffc
Avoid bit-shifting of -1 value
2018-01-26 10:12:14 -05:00
Paul Licameli
c40b254626
while -> if
2018-01-26 10:12:14 -05:00
Paul Licameli
4644b5cb16
Simplify condition
2018-01-26 10:12:14 -05:00
Paul Licameli
168db87ddf
Fix identical sub-expressions of - operator
2018-01-26 10:12:14 -05:00
Paul Licameli
7c73011629
Where if and else branches were the same, simplify...
...
... None of the examples was really a bug.
ExpandingToolBar.cpp is unused in fact.
2018-01-26 10:12:13 -05:00
Steve Daulton
8529350707
Zoom on mouse when no selection
...
Just cursor clicked but no time selection counts as no selection.
2018-01-26 14:23:35 +00:00
Paul Licameli
d4b21bb33e
Bug 1600: Should keep progress dialog visible throughout Exp. Multi
2018-01-25 15:58:37 -05:00
Paul Licameli
f5737be02c
Ran autoreconf --force --no-recursive
2018-01-24 22:34:35 -05:00
Paul Licameli
22605c089f
Enable upstream dropout detection
2018-01-24 17:46:57 -05:00
Paul Licameli
2677ec5fe1
Bug1831: Export Multi fails? Erase incomplete, restore original file!
2018-01-24 14:38:44 -05:00
Paul Licameli
533ca24079
Raphaël Marinier: remove more unnecessary changes of format...
...
... A search of FFmpeg source code shows that the nonstandard %t format
occurs nowhere in it.
2018-01-24 14:06:09 -05:00
Raphaël Marinier
c6e1665b52
Simplification in av_log_wx_callback, because wxLogDebug is threadsafe. ( #246 )
...
wxLogDebug is threadsafe since wxWidgets 2.9.1 (releated in 2010)
according to
http://docs.wxwidgets.org/3.0/overview_log.html#overview_log_mt .
Note also that wxLogDebug could already have been called from multiple
threads even with EXPERIMENTAL_OD_FFMPEG unset. According to FFmpeg
doc, the logging callback can be called from multiple threads because
some codecs are multithreaded:
https://ffmpeg.org/doxygen/2.5/group__lavu__log.html#ga14034761faf581a8b9ed6ef19b313708
2018-01-24 13:22:26 -05:00
Paul Licameli
e82fcf9549
From Raphael Marinier: Fix Linux crash importing bad .wav file...
...
... A mistaken, unneeded change of a vsprintf format string caused a crashing
misinterpretation of a format argument; just writing errors to log.
2018-01-24 12:36:44 -05:00
Paul Licameli
2dbee940e0
Fix Windows build
2018-01-24 11:44:06 -05:00
Paul Licameli
9e8d36adc2
Fix Windows build
2018-01-24 07:48:37 -05:00
Paul Licameli
52a7f2320d
Re-fix some warnings about mixing signed and unsigned better...
...
... Assuming that large unsigned magnitudes with high order bit set are not
the problem, but signed negatives of small magnitude may be:
1) Always cast the unsigned to signed in comparisons, not the other way.
Also:
2) Cast unsigned TERM to signed by itself, before subtracting. Don't cast
the result.
3) Rewrite some comparisons by moving subtracted term to other side.
See commits
d2fe7b1757
f463eda36c
2018-01-23 18:51:53 -05:00
Paul Licameli
58e4823f68
Bug1829, more: detect out-of-space when writing FFmpeg formats
2018-01-23 07:58:41 -05:00