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

6811 Commits

Author SHA1 Message Date
Paul Licameli
3c65731f38 Sequence::InsertSilence gives strong guarantee 2017-04-02 21:33:22 -04:00
Paul Licameli
160d846643 Sequence::Paste gives strong guarantee 2017-04-02 21:33:22 -04:00
Paul Licameli
2ba6065961 Sequence consistency check throws; new unused commit functions use it 2017-04-02 21:33:22 -04:00
Paul Licameli
6b0c5c096b WaveClip::Flush returns void, throws on error 2017-04-02 21:33:22 -04:00
Paul Licameli
ec3a4f5069 Merge branch 'master' into HEAD 2017-04-02 21:33:01 -04:00
James Crook
5e42fe8649 Merge branch 'master' into darkaudacity 2017-04-02 23:19:33 +01:00
James Crook
028ed19d90 Sync with DarkAudacity 2017-04-02 23:07:13 +01:00
James Crook
0fc04fd760 Complete DA/Classic conditionals 2017-04-02 22:59:20 +01:00
James Crook
48821a0cab Merge branch 'master' into darkaudacity 2017-04-02 19:08:38 +01:00
James Crook
ff40b956dd Make without-DA be more like Classic.
This commit includes:
- A tidy up of TrackInfo item positioning.
- Ability to draw the stretchy buttons to odd sizes.
- ClassicThemeAsCeeCode.h created/added.
- More Toolbars shown by default.
- Icon adjusts.
- Other resource info adjusts.
- Splash logo adjusts.
- About Dialog and Html text adjusts.
2017-04-02 18:55:13 +01:00
Paul Licameli
e633dc0c8b Document guarantees of now void-returning WaveTrack, WaveClip methods 2017-04-02 13:15:31 -04:00
Paul Licameli
5963f278f1 void returns from many WaveClip methods, comment safety guarantees 2017-04-02 12:49:47 -04:00
Paul Licameli
aa83c4cf29 Implement the more than weak guarantees needed for recording...
... in WaveClip and WaveTrack, to save as much recording as we can,
assuming the strong guarantees that Sequence will give.

Also comment that some other WaveTrack methods can give strong guarantee,
incidentally to making HandleClear give strong.
2017-04-02 12:46:47 -04:00
Paul Licameli
e3d4a8dcfe Comment the strength of guarantees of some WaveTrack methods 2017-04-02 12:43:21 -04:00
Paul Licameli
3db132f9b0 Fix WaveTrack::SplitAt 2017-04-02 12:43:21 -04:00
Paul Licameli
9cdbd18cd0 Merge branch 'master' into HEAD 2017-04-02 12:42:29 -04:00
James Crook
46fc78919a Apply theme preference at start 2017-04-02 10:51:08 +01:00
James Crook
35a4f1a09c Move Sync-Lock renaming to internationalisation. 2017-04-02 09:08:57 +01:00
James Crook
9ec2bdb102 Comments on the DA conditionals. 2017-04-02 08:57:16 +01:00
James Crook
bd364ea0ec Merge branch 'master' into darkaudacity
Conflicts:
	src/TrackPanel.cpp
	src/toolbars/ControlToolBar.cpp
2017-04-01 23:05:03 +01:00
James Crook
1525f146da Update Greek Translation by Dimitris Spingos 2017-04-01 20:13:38 +01:00
Paul Licameli
08e57f3836 MIDI play changes for TrackPanel, MixerBoard; conditionally compiled 2017-04-01 12:49:20 -04:00
Pokechu22
1c93198d08 Re-implement note tracks in MixerBoard
This commit adds note tracks into the mixerboard.  It's done as a separate
slider this time instead of via subclasses (as PRL requested), so which
should be easier to use.

This also changes some of the gaurds to EXPERIMENTAL_MIDI_OUT from
USE_MIDI, as it's meaningless to have the note track code in mixerboard
when it cannot do anything (depends on methods that exist behind
EXPERIMENTAL_MIDI_OUT).
2017-04-01 12:48:44 -04:00
Pokechu22
59d740ad77 Use a dedicated velocity slider for note tracks
This gets rid of the offset rectangle hack that was needed to re-use gain
sliders for note track velocities.  It also removes the need for changing
the style of a single slider.  Perhaps most importantly, it fixes link
errors regarding GainSlider(int).

See https://sourceforge.net/p/audacity/mailman/message/35752524/ for
details on why this change is needed and what caused it.
2017-04-01 12:48:43 -04:00
Paul Licameli
1f0e01b8ca Merge branch 'master' into HEAD 2017-04-01 11:30:12 -04:00
Paul Licameli
7195f9a3f4 fix windows build 2017-03-31 22:53:58 -04:00
Paul Licameli
2c84657622 Exception handling: most "TO DO: Actually handle this" comments gone 2017-03-31 18:49:41 -04:00
Paul Licameli
0d7250578d Other methods of WaveTrack return void, will throw on failure instead 2017-03-31 18:26:52 -04:00
Paul Licameli
e1473dfe76 void return, not boolean success, from some Track virtual functions...
... The return codes were mostly ignored anyway, and exceptions will be thrown
instead.

It seems there was also confusion whether the return values of Track::Paste
and Track::SyncLockAdjust were to indicate success or indicate whether there
was any change.  No matter now.
2017-03-31 18:26:52 -04:00
Paul Licameli
71dd75a596 More exception handling; incidentally implement TimeTrack copy/paste 2017-03-31 18:23:47 -04:00
Paul Licameli
a23d6e2368 More exception handling; incidentally implement TimeTrack copy/paste 2017-03-31 18:19:24 -04:00
Paul Licameli
6b84dc1c1d Factory methods will return non-NULL or throw 2017-03-31 18:14:29 -04:00
Paul Licameli
f1b354b141 More pure virtuals in Track, supply Note and Time overrides 2017-03-31 18:03:37 -04:00
Paul Licameli
ad34145ded Clarify paste logic, throw to rollback on error, keep TimeTrack unique...
... though TimeTracks are not yet ever cut or copied; but next commit will
change that.
2017-03-31 18:02:22 -04:00
Paul Licameli
608dcc9b3f Reimplement prohibitions on moving clips by throwing exceptions...
... Also comment some strong and weak guarantees
2017-03-31 17:47:19 -04:00
Paul Licameli
8e2e4a53b8 Define SimpleMessageBoxException 2017-03-31 17:47:18 -04:00
Paul Licameli
d1cbac4181 more finally, more const, remove unused, fix warnings 2017-03-31 17:47:18 -04:00
Paul Licameli
699b9d0517 Merge branch 'master' into head 2017-03-31 17:46:47 -04:00
Paul Licameli
a1b88fe8d6 Fix assertion in MIDI prefs when there are no devices 2017-03-31 13:02:57 -04:00
Darrell Walisser
a0ff99b472 update autoconf script 2017-03-31 12:51:15 -04:00
Darrell Walisser
d16274e883 correct mistake in clang patch 2017-03-31 12:51:15 -04:00
Darrell Walisser
6434ab7066 update autoconf script 2017-03-31 12:51:15 -04:00
Darrell Walisser
4f397b288c clang: correct detection of gcc 2017-03-31 12:51:15 -04:00
Darrell Walisser
389370d01e clang: prevent detecting clang as gcc 2017-03-31 12:51:15 -04:00
Paul Licameli
8928bd4d7b Correct MixerTrackCluster::GetRight() 2017-03-31 00:48:04 -04:00
Paul Licameli
a936aed643 Another use of type AudioTrack 2017-03-30 20:48:27 -04:00
Steve Daulton
a9879bddf0 Refactor clipfix.ny to fix multiple problems
Basically a rewrite based on the original algorithm.
2017-03-31 00:01:18 +01:00
Paul Licameli
23dc35a18c Bug1614: fix crash duplicating a clip 2017-03-30 16:48:52 -04:00
Paul Licameli
7bda40f656 Common functions read and write mute and solo in Wave and Note 2017-03-30 16:00:27 -04:00
Paul Licameli
1a86819b4b Fixes for clang build with 64 bit unsigned long 2017-03-30 10:46:44 -04:00