1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-05 14:18:53 +02:00

5869 Commits

Author SHA1 Message Date
Paul Licameli
3704dd0eeb these functions do not need to be virtual 2016-09-06 12:39:57 -04:00
Paul Licameli
d23c20c5d1 Comments where casting to sampleCount from other library typedefs 2016-09-06 12:39:57 -04:00
Paul Licameli
c9a9ad6220 Fix incorrect comment, use auto 2016-09-06 12:39:57 -04:00
Paul Licameli
86f5f96b30 Merge branch 'master' into sampleCount 2016-09-06 12:39:37 -04:00
Paul Licameli
ed7bfd8835 Small improvements to the logic of WaveTrackCache 2016-09-05 16:28:04 -04:00
James Crook
9cb7e23e05 Bug 322 - "Save Changes?" dialog does not indicate which project is being closed
When there is ambiguity about which project is being saved, the project title bars now change to be more informative.
2016-09-05 19:20:08 +01:00
Darrell Walisser
5f8c48d520 use std::isnan since c++11 provides it and wxIsNan is broken in c++11 2016-09-04 17:00:12 -04:00
Paul Licameli
92aa05237b Scrub queue records positions as sampleCount not long 2016-09-04 16:30:58 -04:00
Paul Licameli
837a96d18a Scrub queue records positions as sampleCount not long 2016-09-04 16:28:40 -04:00
Paul Licameli
1fdbccbcc5 Merge branch 'master' into sampleCount 2016-09-04 16:09:24 -04:00
James Crook
2fb18e8961 Bug 1496 - Mouse down while undoing in Envelope Tool corrupts Undo stack
The Ctrl-Z was interrupting the enveloping, making it finish, but it then got asked to finish again on a mouse up.  This change stops the second finish from happening.
2016-09-03 20:19:34 +01:00
James Crook
06b623bbb1 Bug 1220 - (Residual) OS X: Exclude directories with substring /tmp/ in them. 2016-09-03 17:49:57 +01:00
James Crook
f6870896a1 Fix Mac build breaker.
Caused by declaring a variable later than a conditionally compiled piece of code.
Net result is that Mac will be less tolerant of a window partly off the top of the screen than Windows will be, and will reset it to the default.
2016-09-02 18:25:59 +01:00
James Crook
8d55ab9afd Bug 1314 - Audacity always launches in middle of first monitor after quit on any part of second monitor.
Splash screen still always appears on first screen (intentional).
Also I fixed issue where new project windows would appear on first screen, even if Audacity on second.
2016-09-01 23:27:44 +01:00
James Crook
9787bf7978 Bug 1220 - (Residual) OS X: Audacity's temp dir defaults to location that is cleaned up on reboot. 2016-09-01 22:09:37 +01:00
James Crook
6881163129 Bug 1484 - (Residual) Alternative Ctrl-Click behaviour on Wave
Previously Ctrl Click on Wave behaved exactly as Ctrl Click on Track Control Panel.  With this change on wave it
(a) No longer toggles.  It only adds.
(b) It will extend and can be drag extended.

It is possible to change (a) to be toggle if that is desired.
This should ease the creation and extension of discontinuous track selections.
2016-08-31 23:38:54 +01:00
James Crook
09e6d20dbc Credits for Darrell Walisser (OpenMP for Spectrum Display) 2016-08-31 22:43:39 +01:00
Paul Licameli
d16c722d90 Merge pull request #158 from walisser/upstream
improved OpenMP SpecCache::Populate
2016-08-31 17:36:40 -04:00
Darrell Walisser
180da5a769 change reserve to resize, clarify what omp atomic is used 2016-08-31 11:25:32 -04:00
James Crook
c57f829200 Bug 1484 - (Residual) Shift-Click calculates start/end for itself.
Smarter logic, which extends down from the first or up from the last.
2016-08-30 23:46:12 +01:00
James Crook
9d059bf13b Ungroup Effects on Windows and Mac. 2016-08-30 22:16:39 +01:00
James Crook
576020f203 Bug 1505 - Window size not restored on launch (using virtual desktop)
Fixed by being more tolerant of window being (slightly) off screen.  Windows 10 appears to mis-report the window size by 6 pixels.  This fix allows the user to restore a window that is (slightly) off screen.  That's OK and helps those users who position and size the window very precisely.
2016-08-30 22:13:33 +01:00
James Crook
beeb0c790c Bug 1484 - (Residual) Shift click on Wave/Label to extend (once again)
It turns out that having fixed the behaviour of Shift-Click on the Track Control Panel, I'd also fixed the behaviour of Shift-Click on the wave.  But then I blew it by over riding the Shift-Click behaviour on wave to use the version that does NOT horizontally extend.  This change comments out the 'bShift' and so gives us the original Shift-Click behaviour on wave, without undoing the other fixes.
2016-08-30 09:08:24 +01:00
James Crook
c580009063 Effects grouped on Windows and Mac too.
Makes the very long effects menu manageable.
2016-08-30 08:45:09 +01:00
Paul Licameli
7f319d293e More fixes related to sampleCount
Comment another possibly problematic narrowing of sampleCount...
  Another std::min, more auto & decltype, remove more casts
2016-08-29 20:08:22 -04:00
Paul Licameli
44d5d53a2f Comment another possibly problematic narrowing of sampleCount...
... Maybe it's safe, but if so the proof was not so evident from easy
inspection.
2016-08-29 20:07:43 -04:00
Paul Licameli
6043638e31 Another std::min, more auto & decltype, remove more casts 2016-08-29 20:07:43 -04:00
Paul Licameli
e29c455967 Merge branch 'master' into HEAD 2016-08-29 20:06:48 -04:00
James Crook
965a64eb2d Bug 1484 - Cannot one-step extend/contract selections vertically or horizontally to specific tracks 2016-08-29 22:26:11 +01:00
James Crook
6c3149ce20 Fix Add Label at Playback Position flags.
Thanks to Walter Gladwin.
The comment said "Is this correct??" the answer is no.  However the problem only showed when other fixes were made elsewhere, and Add Label at Playback Positions then stopped working when in Pause.
2016-08-29 18:09:53 +01:00
Paul Licameli
38ee7c0e3e Bug 1501 again: don't crash for extreme Start values for FindClipping 2016-08-28 15:53:51 -04:00
Darrell Walisser
ce92dce856 improved OpenMP SpecCache::Populate 2016-08-28 13:00:44 -04:00
Paul Licameli
36ddd98757 Bug1501: Fix bad_alloc crash for some effects with extreme inputs 2016-08-28 12:30:43 -04:00
James Crook
0f2585a8ee Bug 1253 - Assert when changing track spectrogram settings while audio I/O active
I first of all added a warning message if trying to configure while playing.
Then decided that it is more in keeping with current style to grey out the Spectrogram Settings menu item.

So the new warning message should actually never be reached.
2016-08-28 16:32:41 +01:00
James Crook
d2768c6ab9 Try upping compiler version (the easy way). 2016-08-27 20:24:42 +01:00
James Crook
80f61589a2 Fix stray ';'
Was breaking build when FLAC disabled.
2016-08-27 15:21:57 +01:00
Paul Licameli
b53e9ff418 More uses of limitSampleBufferSize 2016-08-27 07:54:32 -04:00
Paul Licameli
3b04bb1726 More uses of limitSampleBufferSize 2016-08-27 07:54:22 -04:00
Paul Licameli
1324d1342a More various small preliminary fixes relating to sampleCount
Comment more cases of bad sampleCount truncation, and even worse...
  Fix progress indicator again: must do a floating-point division...
  A little more type agnosticism
  Remove more unnecessary casts to sampleCount
  Fix more narrowings of sampleCount
2016-08-26 12:43:41 -04:00
Paul Licameli
156e77fcc7 Comment more cases of bad sampleCount truncation, and even worse...
... but whatever the intent was, this class isn't used anywhere.
2016-08-26 12:42:22 -04:00
Paul Licameli
8e42f8a61a Fix progress indicator again: must do a floating-point division...
... or else just get zero!
2016-08-26 12:42:22 -04:00
Paul Licameli
954a914ff7 A little more type agnosticism 2016-08-26 12:42:22 -04:00
Paul Licameli
86b633bab2 Remove more unnecessary casts to sampleCount 2016-08-26 12:42:22 -04:00
Paul Licameli
127b2a6acf Fix more narrowings of sampleCount 2016-08-26 12:42:22 -04:00
Paul Licameli
8102e1717b Merge branch 'master' into HEAD 2016-08-26 12:42:00 -04:00
James Crook
1e0fcbf872 Profiling of spectrogram is opt-in for normal builds. 2016-08-26 12:32:54 +01:00
Darrell Walisser
b2d1470062 OpenMP-ized SpecCache::Populate 2016-08-25 13:44:12 -04:00
Robert Antoni Buj Gelonch
c36417c510 Update Catalan translation 2016-08-25 14:09:58 +02:00
James Crook
5d0951c643 Bug 1497 - Time controls not accepting direct typed input
Caused by optimisation of NumericTextCtrl::ValueToControls().  It now only updates on a change, and because mValueStr was being updated without calling value to controls, the string was not being identified as having changed.
2016-08-25 11:33:59 +01:00
Paul Licameli
96fc293c60 Fewer mentions of type sampleCount; more type deduction for variables
* sampleCount:
  Remove unnecessary casts to sampleCount
  Type agnosticism for some other variables that were not sampleCount...
  Remove many mentions of sampleCount with auto and decltype...
  Use sf_count_t not sampleCount
  some uses of size_t
  Use long long for argument passed to wxString::ToLongLong
  More cautions in SBSMSEffect.cpp...
2016-08-24 14:54:58 -04:00