Paul Licameli
0921942650
Fix black screen after closing fullscreen window -- REBUILD WXWIDGETS
...
Works by un-full-screening before closing. Patching wxWidgets was needed to
make that work correctly after full-screening by clicking on the green circle
in the title bar, but that fix is not needed for full screen after command+/
2016-12-10 15:08:43 -05:00
Paul Licameli
53a5c930a4
Bug1544: clipboard space usage in History updates after cut/copy...
...
This should be tested for Cut, Split Cut, Copy, and also for the same
commands in the Labeled Audio sub-menu of Edit.
2016-11-08 22:54:27 -05:00
tip2tail
54ee80b798
Included an i18n hint in format per Gale's advice
2016-10-02 22:59:47 +01:00
Mark Young
a4ae301a5b
Bug 1402, rewrite logic for the display of hours and minutes and ensure we use one routine for this.
2016-10-02 22:56:04 +01:00
Steve Daulton
229781cc12
Tweak error message
...
Several users have stated confusion about the old message,
thinking that it meant 'changes to the imported file', whereas
it actually refers to the 'project'.
Also fix a couple of compiler warnings.
2016-09-21 14:54:59 +01:00
Paul Licameli
f993f1eadf
Regularize casts as (int), so they are easier to find and review
2016-09-20 08:42:11 -04:00
Paul Licameli
53936ac970
Fix some warnings for unused variables and labels...
...
... But not in cases where a return status is ignored.
2016-09-19 11:47:47 -04:00
Paul Licameli
b6dce3e842
don't implicitly convert string literal to non-const char *
2016-09-18 10:36:54 -04:00
Paul Licameli
88611a4530
Fewer C-style pointer casts of tracks; comments justify static_cast
2016-09-15 12:12:43 -04:00
James Crook
65c7e8051a
ThomasFeher - Unused parameters clean up.
2016-09-11 20:31:49 +01:00
James Crook
545d741eb2
Make Audacity source more like DarkAudacity source.
2016-09-11 13:03:37 +01:00
James Crook
1c00e18a5d
Bug 322 - (Residual) Deal with iconized windows.
2016-09-10 18:36:15 +01:00
James Crook
83e355dc65
Bug 322 - (Residual) Project numbers renumbered after closing a project.
...
Now the project number is the order of creation. Once assigned, project numbers do not change.
2016-09-10 16:59:23 +01:00
James Crook
bf06b0485f
Bug 1507 - Project may be overwritten by new project without warning
2016-09-08 17:51:00 +01: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
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
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
Paul Licameli
5761972dfa
BHug1488: Don't crash exiting from command-line benchmark test...
...
Problem was that cfd7648fce fixed a memory leak
but created a dangling pointer bug, which does not happen during usual run
of Audacity because AudacityProject::OnCloseWindow is reached then before
destroying AudacityProject.
Fixed it by using a std::shared_pointer for the TrackList that both
AudacityProject and TrackPanel must use.
2016-08-20 13:58:56 -04:00
James Crook
05fe684114
Ungrey more actions, if paused.
...
This introduces a new variable, mStopIfWasPaused (default true). Actions which require AudioIONotBusyFlag will now stop the audio, if audio was busy but paused and attempt to continue.
We could perhaps make mStopAudioIfWasPaused into a preference, but I don't think we need to keep even the option of the old behaviour.
2016-08-20 18:52:30 +01:00
James Crook
df1f69850e
Fix memory leak in WriteXML
...
Memory leak was caused by diagnostics.
2016-08-18 21:47:27 +01:00
Paul Licameli
5752dbab02
shared_ptr manages AudacityProject objects, so weak_ptr may be used
2016-08-15 12:43:50 -04:00
Paul Licameli
fe5ab9a462
Remove the naked new in allocation of AudacityProject
2016-08-14 15:24:59 -04:00
Paul Licameli
32f24eabb2
Review uses of safenew...
...
... add comments and assertions, and use make_unique instead where possible
2016-08-13 23:16:05 -04:00
Paul Licameli
46f38708ed
Dir manager uses std::shared_ptr
2016-08-13 12:23:05 -04:00
Paul Licameli
b548e641ae
Simplify iterations over WaveClips outside of WaveTrack/WaveClip; ...
...
... also add some const qualifiers
2016-08-12 20:53:37 -04:00
Paul Licameli
8572b425c1
More safenew
2016-08-10 11:05:51 -04:00
Paul Licameli
13e056de43
More uses of safenew
2016-08-08 10:07:37 -04:00
Paul Licameli
a52f7f8410
new -> NEW in comments, so text search for naked new excludes them
2016-08-08 10:07:37 -04:00
Paul Licameli
473e955da3
Remove some naked new amd delete in: ondemand
2016-08-08 07:53:28 -04:00
Paul Licameli
186679b3a6
RAII for locking the all-projects mutex
2016-08-08 07:40:16 -04:00
Paul Licameli
cfd7648fce
Remove some naked new amd delete in: Project
2016-08-08 07:40:15 -04:00
Paul Licameli
e0f6ed9972
Rewrite wxPanelWrapper passing the base class as a template
2016-07-10 17:12:27 -04:00
James Crook
763485b0dc
Add error check comments.
...
These are places where we don't properly handle error returns.
2016-07-10 21:40:48 +01:00
Paul Licameli
c9422aaea1
Bug1438: Fix horizontal scrollbar, while still fixing Bug 1197
2016-07-08 02:16:00 -04:00
Paul Licameli
4f1c8a3f2f
Bug1438: Fix horizontal scrollbar, while still fixing Bug 1197
2016-07-08 02:14:47 -04:00
James Crook
101b3ee8cd
Bug 50 - Calculation of "disk space remains for recording (time)" incorrect when recording in 24 bit quality
...
There is a very slight performance cost in using the sample-format set in preferences that does not seem to matter in practice. That's because the status message is updated infrequently, not every screen refresh, and the actual cost per look up is small. See http://bugzilla.audacityteam.org/show_bug.cgi?id=1436 for information on slow reading of preferences.
2016-07-05 15:14:27 +01:00
Paul Licameli
db2ee75c0a
Fix docking of, e. g., scrubbing toolbar right of device
2016-07-02 13:14:14 -04:00
Paul Licameli
625584d99a
Bug1431: Undocked toolbars should hide when project window minimizes
2016-06-29 15:13:38 -04:00
Paul Licameli
12d22cafc6
Bug1197: keep selection on the screen at extreme repeated zoom-in
2016-06-28 04:30:27 -04:00
Paul Licameli
4739f3e27b
Compensate for wxW 3 tab navigation deficiencies on Mac...
...
... using char hook event handlers. We don't need to go the extreme length
of patching wxWidgets source.
2016-06-25 19:14:05 -04:00
Paul Licameli
ae14cb0dbc
Allow tabbing to the button on the time ruler...
...
... by making the ruler and the upper tool dock part of one panel
2016-06-25 16:08:38 -04:00
Paul Licameli
6a4d6ceeda
Separate source files for ScrubbingToolBar
2016-06-25 15:05:17 -04:00
Paul Licameli
e844b07a46
All Toolbars define RegenerateTooltips; invoke during project init...
...
... and UpdatePrefs
2016-06-12 00:00:04 -04:00
Paul Licameli
a610070038
May always scroll before zero during transport when head is pinned...
...
... regardless of preferences, but if the Tracks preference is not checked,
don't stay scrolled left of zero after stopping.
2016-06-08 18:33:02 -04:00
Paul Licameli
8dab37de01
Scrub menu check items change pushed state of scrub toolbar buttons
2016-06-06 00:48:50 -04:00
Paul Licameli
6a3613e8e9
Implement scrub and seek buttons on ruler; redo scrub menu items
2016-06-02 15:55:16 -04:00
Paul Licameli
e4fadf4aaf
Improve scrubbing speed control (2 finger swipe) on Mac
2016-05-28 11:59:22 -04:00
Paul Licameli
36e5b4fbbc
AudioIOStartStreamOptions includes the sample rate
2016-05-22 15:27:35 -04:00
Paul Licameli
aa9afb073e
Show Actual Rate in status only if playing, recording, or monitoring
2016-05-22 10:44:18 -04:00