1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-05 06:09:47 +02:00

247 Commits

Author SHA1 Message Date
Paul Licameli
df077d171a Exception framework: define AudacityException and GuardedCall...
AudacityException is an abstract base class for exceptions generated by
Audacity.

GuardedCall wraps any function (usually a lambda) in an appropriate catch
block.

It can also accept a second function that defines a catch block action, which
can rethrow or return a value for the GuardedCall.

It can also accept a third function, that defines another, delayed action that
executes in the main thread at idle time if the second function intercepts an
AudacityException and completes without rethrow.

Defaults for the second function simply return void or false.  Default for the
third function invokes a virtual method of AudacityException, which for
subclass MessageBoxException, displays a message box.
2017-03-17 17:52:57 -04:00
Paul Licameli
5036583549 Fewer inclusions of AudacityApp.h 2017-03-17 17:52:24 -04:00
Paul Licameli
a05d039055 Bug1567: intermittent failure to load libraries, plugins on Sierra...
... At startup, spawn a copy process in main() and crash it at once.  The
child process continues.  (The fix was ineffective when the parent continued
and the child crashed.)

Re-activiation of the application is also needed or else the windows are
hidden behind other applications.

Another sleep when closing a project, to fix occurrences of the bug caused by
closing of a project window without saving changes.
2017-01-25 22:15:02 +00:00
James Crook
73d5f90578 Lose one level of Audacity
Previously our .app was created under /Audacity.  Now we create it one higher up.
2016-12-12 19:20:46 +00:00
James Crook
964a2e0653 Change Mac script paths to be in-app 2016-12-12 18:48:45 +00:00
James Crook
c493e38a68 Use org.audacityteam.audacty 2016-12-12 18:12:35 +00:00
Leland Lucius
fe191dd6af Fix nightly build 2016-11-27 12:21:00 -06:00
Steve Daulton
dcd219ee3c Added Sample Data Import to Mac 2016-11-23 22:50:06 +00:00
Leland Lucius
d7d0596df9 Addint mod_null build scheme to Xcode project 2016-10-02 14:43:58 -05:00
Leland Lucius
e0c3290e8b Redo the Xcode schemes 2016-10-02 11:46:18 -05:00
Leland Lucius
2b8ba09c4e Updated the plugins in the Xcode project 2016-09-30 21:15:12 -05:00
Paul Licameli
d81358399e Put Paulstretch in the right place in the Xcode project browser 2016-08-24 13:11:46 -04:00
Paul Licameli
924df495ff Make headers in import directory self-contained 2016-08-11 11:51:33 -04:00
Paul Licameli
9fe848ed66 Avoid Objective-C 2016-06-29 14:21:32 -04:00
Paul Licameli
617fdb387f Bugs 1119, 1198: Bring back the Mac Window menu, at least partly...
... This poor imitation of the standard Mac Window menu only includes
Minimize and Zoom.

But this may be adequate for the complaints in Bug1198, when the yellow title
bar button is hidden and unreachable.
2016-06-28 15:52:33 -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
6a4d6ceeda Separate source files for ScrubbingToolBar 2016-06-25 15:05:17 -04:00
Paul Licameli
095804a5cb Add files to mac build 2016-06-15 06:27:38 -04:00
Paul Licameli
7c2a531486 New base classes of TrackPanel just for the bitmap backing and overlay system...
... to make it reusable by other classes.

Also, don't create a second DC when repainting TrackPanel.
2016-05-09 11:37:32 -04:00
Paul Licameli
367b2c1011 Move command functors to a new header file, and generalize with templates...
... so that member functions of other than AudacityProject may be called.

Will use this new generality soon for scrubbing menu items.
2016-04-23 02:05: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
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
25e4789117 Add missing header file to xcode project 2016-04-15 14:48:06 -04:00
Paul Licameli
59af732763 Mac build fixes; and implement deleters for our imitation unique_ptr 2016-04-10 14:15:51 -04:00
Leland Lucius
9dc9348127 Fixes bug #1344 (mac build)
In addition, the Xcode project can now build against the 10.6
or 10.7 SDKs.  All that is needed is to change the SDK version
and the other settings will change automatically.
2016-03-07 00:29:26 -06:00
Leland Lucius
1e1ae1f88c Fix dist build on OSX
(Thanks Gale...hope it works now.)
2015-09-09 01:27:29 -05:00
Leland Lucius
126320ea2a Update Xcode project for Bug 1073 2015-09-09 01:27:14 -05:00
Leland Lucius
d21d2cd777 Fix for 936 2015-09-02 02:19:01 -05:00
Leland Lucius
191ccb0ecc Add new files to Xcode project 2015-08-17 21:59:04 -05:00
Leland Lucius
0f79a77baa Remove compile.txt and add Build.txt to Xcode project 2015-08-12 02:31:16 -05:00
Leland Lucius
e300e54dba Fix the Release build and update the build instructions. 2015-08-11 14:01:29 -05:00
Leland Lucius
fd87bd6ea9 Disable auto-creation of Xcode schemes 2015-08-10 02:20:14 -05:00
Leland Lucius
ebc801f864 Revert "Disable autocreation of Xcode schemes"
This reverts commit c15ca44eff4137f3be422f3dcc469c7dfd7d53d8.
2015-08-10 02:18:29 -05:00
Leland Lucius
c15ca44eff Disable autocreation of Xcode schemes 2015-08-10 02:02:50 -05:00
Leland Lucius
88f307626c Add Debug and Release shared schemes to Xcode project 2015-08-10 01:56:45 -05:00
Leland Lucius
69e2b0cd96 Set Xcode project to use xcconfig files 2015-07-30 23:46:13 -05:00
Leland Lucius
e867633253 Make Xcode project wxWidgets 3.1 ready 2015-07-30 23:09:03 -05:00
Leland Lucius
54da092411 Added new files to Xcode project 2015-07-28 15:54:12 -05:00
Leland Lucius
37168ebbf6 Merge remote-tracking branch 'upstream/master' into wx3 2015-07-28 15:06:25 -05:00
Leland Lucius
5bdfcff97d Menu shortcut hiding has been removed
It had been causing problems in Unity for a while now and they
were missing on OSX as well in wx3.  So, the old menu Open/Close
method of hiding has been removed and replaced with an event
filter/monitor which looks for wxEVT_CHAR_HOOK events to pass
key events to the handler that has the keyboard captured.
2015-07-28 14:35:09 -05:00
Leland Lucius
94550bc0be Added src/NumberScale.h to Mac project 2015-07-28 02:29:48 -05:00
Leland Lucius
df4879b234 Fix build on OSX 2015-07-27 20:48:32 -05:00
Leland Lucius
d98b588798 Remove more "shared"/"static" remnants 2015-07-22 22:02:12 -05:00
Leland Lucius
582ee7b45e Cleanup Mac build and subdirectory 2015-07-21 18:45:35 -05:00
Leland Lucius
e91f9814a8 Add new files to OSX project 2015-07-19 18:17:20 -05:00
Leland Lucius
6d25c04af5 LV2 GUI now supported on OSX thanks to wx3 2015-07-18 05:33:34 -05:00
Leland Lucius
ac4c4faadc Round 8 of wx3 changes
VST control working on Windows...further changes will be required
2015-07-16 14:30:04 -05:00
Leland Lucius
805f0e29d1 Round 7 of wx3 changes
I believe the FileDialog is now complete and consistent across
all 3 platforms.
2015-07-16 01:12:09 -05:00
Leland Lucius
9b9c8cc073 Round 5 of wx3 changes
FileDialog now complete on Linux.  Needs some fine tuning on
Windows and OSX.
Builds with wx3 and gtk2 or gtk3.
Still more effect work to do.
2015-07-14 23:33:53 -05:00
Leland Lucius
b8872a4a02 Round 2 of wx3 changes on OSX
Main change is that VST GUI support is now integrate with new Cocoa
views.  Direct support for VST Cocoa views (via Cockos extensions:
http://www.reaper.fm/sdk/vst/vst_ext.php) has been added.
2015-07-11 19:33:04 -05:00