Commit Graph

398 Commits

Author SHA1 Message Date
Paul Licameli 08fba266b3 Bug1767: High Sierra: dbl-click 2 file icons, should get 1 app icon 2017-11-04 21:00:01 -04:00
Paul Licameli c2f82181fc Update special case copying of wxstd.mo for Mac build 2017-10-13 13:12:31 -04:00
Paul Licameli a2a08e8520 Fix extraneous copies of three .mo files in mac build 2017-10-10 16:24:34 -04:00
Paul Licameli 10e75a4bcf Fix missing Portuguese and Chinese, Simplified in Mac preferences 2017-09-25 03:08:24 -04:00
Paul Licameli b1d9be00e4 Added eu_ES (Basque (Spain)) to supported languages 2017-09-22 00:22:42 -04:00
Paul Licameli 75d557463d Use -c (check) option in msgfmt when generating .mo files 2017-09-13 15:09:06 -04:00
Paul Licameli ac558ce700 Copying of Audacity.sh not an intall-only step, for debug convenience 2017-07-27 13:56:27 -04:00
Paul Licameli 8b32eea8bb Bug290 (load LAME, FFmpeg from correct place): original fix again...
... That is, put a little shell script in the application bundle, and invoke
it (in Release, though not Debug where it interferes with Xcode debugging)

See commit 07661c186f

The shell nulls the environment variable DYLD_LIBRARY_PATH and then executes
the main program.

This is needed because changes to DYLD_LIBRARY_PATH during the main program's
run fail to affect the loading of dynamic libraries afterward.

We need null in DYLD_LIBRARY_PATH to make absolute paths to libraries take
priority.

More info:

Documentation of workings of the macOS dynamic loader
https://developer.apple.com/library/content/documentation/DeveloperTools/Conceptual/DynamicLibraries/100-Articles/DynamicLibraryUsageGuidelines.html

The same problem and solution is discussed here
https://stackoverflow.com/questions/6713692/problems-with-using-setenv-and-then-making-the-dlopen-call

It is claimed there that Firefox did the same trick with a shell, which I do
not observe in my version, but GIMP 2.8.16 does this, as I can see by examining
package contents

Also note the mention in this commit's comments (where the script was removed
because bug543's fix left it unused), that the script also used to
interfere with signing.  I hope that there will be a way around that.

98186b9317
2017-07-27 13:39:22 -04:00
Steve Daulton 32f3ccd08e Update file name
The current OS for Mac is macOS
2017-07-27 16:06:21 +01:00
Paul Licameli 4108b5abe0 XCode build: Remove ~1500 noisy warnings (unknown compiler options) 2017-07-11 14:54:12 -04:00
Paul Licameli e3ea42ff7e Force error on Mac when return value is missing...
... What commit 776e4dfdab was supposed to do,
but the setting was changed in the expat library only, not Audacity.

This should prevent foolish mistakes like that fixed in the previous commit!
2017-07-11 00:00:42 -04:00
Paul Licameli 3d7471a612 new file 2017-07-09 12:34:26 -04:00
Paul Licameli c1f667f170 Move some handle and cell classes into their own files 2017-07-09 06:38:54 -04:00
Paul Licameli 776e4dfdab Mismatched return values will cause compiler errors in Xcode build 2017-07-04 06:29:53 -04:00
Paul Licameli bc281fa7b4 Fix one of the patches to wxWidgets source for Mac...
... an inline function in a header was declared to return bool, but returned
nothing.  Now its type is void.

This function's undefined return value was not used anywhere.
2017-07-04 06:25:35 -04:00
Paul Licameli 8349888460 Permute the list of source files in XCode project 2017-06-25 16:16:26 -04:00
Paul Licameli f79a4c3c4f Revert "XCode project won't forgive missing return values"
This reverts commit a2192b3734.
2017-06-25 16:00:48 -04:00
Paul Licameli a2192b3734 XCode project won't forgive missing return values 2017-06-25 15:32:12 -04:00
Paul Licameli 770b3b52ef TrackPanel no longer implements the selection tool or MIDI stretch...
This one's big!

Also restores the effect of ctrl-click on label track.

Also adds ESC key handling for the Stretch.
2017-06-15 08:54:59 -04:00
Paul Licameli efdb9889b1 TrackPanel no longer implements label keystrokes, drags, text selection...
... also implemented ESC key for those drags

... temporarily loses the special CTRL click handling
2017-06-15 08:54:58 -04:00
Paul Licameli bbfa574790 Move track resizing code out of TrackPanel.cpp, though it still...
... cooperates more closely with TrackPanel than the other UIHandle subclasses
do.
2017-06-15 08:54:58 -04:00
Paul Licameli 703abe87bc TrackPanel no longer implements track selection click or rearrange drag...
... also implement ESC key for the drag
2017-06-15 08:54:57 -04:00
Paul Licameli 8ef5f696d8 Define BackgoundCell, move some things into it 2017-06-15 08:21:41 -04:00
Paul Licameli c3f5fea5fc TrackPanel still draws Miminize and Close, but no longer handles...
clicks on them...

... also implemented ESC key for those drags
2017-06-15 08:21:36 -04:00
Paul Licameli 7cab380192 TrackPanel still draws Velocity, but no longer handles clicks on it...
... also implemented ESC key for that drag
2017-06-15 08:21:35 -04:00
Paul Licameli a569476e79 TrackPanel still draws Gain and Pan, but no longer handles clicks on them...
... also implemented ESC key for those drags
2017-06-15 08:21:35 -04:00
Paul Licameli 5ee73f944d TrackPanel still draws Mute and Solo, but no longer handles clicks on them...
... also implemented ESC key for those drags
2017-06-15 08:21:34 -04:00
Paul Licameli c6e7e5d99b Define a base class that will be useful for several track control sliders 2017-06-15 08:21:34 -04:00
Paul Licameli d28b8f072b Define a base class that will be useful for several track control buttons 2017-06-15 08:21:33 -04:00
Paul Licameli 43968c4ac9 TrackPanel no longer implements clip joining or cutline expansion/deletion...
... also implement ESC key for these and added status bar message for
mouse-over
2017-06-15 08:21:30 -04:00
Paul Licameli 2496b0d7bc TrackPanel no longer implements the envelope tool...
... also implement ESC key for it
2017-06-15 08:21:02 -04:00
Paul Licameli 251976d93d TrackPanel no longer implements the time shift tool...
... also implement ESC key for it
2017-06-15 08:21:01 -04:00
Paul Licameli f1f254f974 TrackPanel no longer implements the draw tool...
... also implement ESC key for it
2017-06-15 08:21:00 -04:00
Paul Licameli 85c03bb3b3 TrackPanel no longer implements the zoom tool...
... Also changed the behavior of drawing of dashed lines: make them
disappear when they approach close enough that right-up will zoom out,
not in.
2017-06-15 08:20:59 -04:00
Paul Licameli cba51e1bf8 Define class PopupMenuTable to make it easy to attach and detach handlers...
... to the parent TrackPanel window
2017-06-15 08:20:59 -04:00
Paul Licameli 14d45eda33 Define and use the UIHandle and TrackPanelCell protocols, but...
...no actions reimplemented to them yet.

Later commits will move special cases one at a time from TrackPanel, preserving
all click and drag capabilities at each step.  With a few exceptions, but those
lost abilities are restored in yet later commits.  (Ctrl+Click on the Label
track being one.)
2017-06-15 08:20:56 -04:00
Paul Licameli a594207265 Define class SelectionState; move some TrackPanel functions into it 2017-06-11 10:22:52 -04:00
Steve Daulton 51517fa631 Fix Mac build 2017-04-27 15:16:05 +01:00
Paul Licameli 9fde75268f Define an AudacityException subclass for unready on-demand data 2017-03-17 17:52:58 -04:00
Paul Licameli acf3c018bb Define an AudacityException subclass for user cancellation of progress 2017-03-17 17:52:58 -04:00
Paul Licameli 195509a033 Define an AudacityException subclass for file errors 2017-03-17 17:52:58 -04:00
Paul Licameli f1cce8aa78 Define an AudacityException subclass for assertion violations 2017-03-17 17:52:57 -04:00
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
James Crook c53e2dbb77 Bug 1597 - Enh: Greater clarity over status of versions needed
- For ALPHA builds we do a check version with the Welcome screen (if welcome screen is enabled).
- A 'Check Online' in the About box provides a new route to check version
- Check Version now passes CommitId and Build Date/Time to identify a version.

To actually close the bug we need the javascript on the server page to put up informative messages.
2017-02-25 23:00:39 +00:00
Gale Andrews 4286124b6f New section about duplicate plugins 2017-02-20 01:31:13 +00:00
James Crook b7cd1f484a Update Installer DMG background.png
It now refers to icon rather than to folder.
2017-02-19 21:59:13 +00:00
James Crook a239a13a3a Update README.txt and mac/Install.txt 2017-02-19 21:50:10 +00: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
Gale Andrews e47a2ec314 Need to change to the wxWidgets directory 2017-01-13 00:59:07 +00:00
James Crook 51f91f392a Make get_gitident.sh runnable 2017-01-03 16:06:36 +00:00
James Crook 29a392f675 Script tweaks.
After getting git ident, make sure AboutDialog.cpp rebuilds.
2017-01-03 15:28:42 +00:00
James Crook b82bae8129 Corrected mac Build.txt instructions for cleaning
(thanks to Gale)
2016-12-29 16:29:04 +00:00
James Crook 694b13bd3d Tweaks to build.txt for mac 2016-12-27 17:08:57 +00:00
James Crook 0d5cb77e3d Improved support for building release on mac 2016-12-14 19:20:29 +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
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
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
Paul Licameli ea1015596c Bug1511: REBUILD WXWIDGETS: Mac Quit via tooldock doesn't crash...
... in case at least three projects are open, or skip save prompts either,
in case at least two projects with unsaved changes are open.
2016-10-03 14:38:56 -04: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 e5abdb6b27 Bug1470: REBUILD WXWIDGETS fix TCP, selection bar menus on Mac...
... when VoiceOver is enabled.
2016-09-28 13:22:32 -04:00
Gale Andrews 16e6629eca Some changes based on points by Dyddye in PR #102
Also equalize the line length at about 80 characters.
2016-09-18 00:13:10 +01: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 5c0b1831ce Basic Voiceover interaction on Mac, REQUIRES wxWIDGETS REBUILD...
... many details will need further work, but basic navigation among
pushbuttons with control-alt-arrows and presses with control-alt-space will
work.

Shift-ctrl-alt-down on track panel works to navigate among individual tracks,
and shift-ctrl-alt-up to escape back to the higher level.
2016-07-31 21:15:12 -04:00
Paul Licameli c637b09631 Make new patch work with -p0 2016-07-31 21:14:06 -04:00
Paul Licameli e0f1e9a5ff Redo previous, not breaking Mac build if wxWidgets is not rebuilt 2016-07-31 14:53:05 -04:00
Paul Licameli c8e570797f Bug1338 fixed again, with fewer Mac busy-waits; CHANGES WX BUILD...
... Busy-waiting will happen on Mac when modal dialogs are open, and a LADSPA,
VST, or AudioUnits effect is also open with "fancy" interface.

Busy-waiting will not happen for modal dialogs at other times.
2016-07-31 12:46:03 -04:00
Paul Licameli b6b9840d06 Enh1444 and Bug1435 fixed by CHANGED MAC BUILD PROCEURE...
Enh1444 is to make pinch and spread gestures work.

Bug1435 is to bring focus rings back for types of controls that lost them in
version 2.1.2.  This importantly includes pushbuttons and choice controls
(drop-down menus).  Less importantly, date picker (as in the Timer Record
dialog) and Listbox (as in the dialog to choose label font).

There is one more type of control that lost focus rings, and is not fixed:
List controls (distinct from list boxes), such as in the Manage Curves dialog
that opens from Equalization.
2016-07-12 20:31:55 -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 beb94889fc Make new patch work with -p0 2016-06-23 08:07:19 -04:00
Paul Licameli 9dcb2c87c3 Bug1338: PATCH WXWIDGETS to fix hanging Voxengo plug-in on Mac...
... This is an unusual fix!  The fix is in the build procedure, as described
in mac/Build.txt, not in Audacity's own code.
2016-06-23 00:45:52 -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
Gale Andrews 5c02e01e48 Add help for Xcode 7.2 or later. 2016-04-28 17:12:08 +01: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 9301b155cf Get past the missing "memory" include file issue (part of bug #1344)
This doesn't provide a complete fix for bug #1344, just gets around the missing "memory" include file portion of it.
2016-03-02 00:05:50 -06:00
Gale Andrews 01a95c50ba Clarify Xocde 4.3.3 for Lion has the 10.6 SDK...
...in spite of what Apple's Downloads page says.
2016-02-12 14:31:20 +00:00
Designist 80eec57ddf Update Build.txt
Added verified Xcode version numbers and moved the latter half of the instructions to the list format.
2015-09-17 20:40:35 -04: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 c86c262efa Finally got the install_wxlibs.sh script working properly 2015-09-06 01:49:04 -05:00
Leland Lucius bd1bdd91ef Fix library updates during build 2015-09-04 11:23:02 -05:00
Leland Lucius d21d2cd777 Fix for 936 2015-09-02 02:19:01 -05:00
Leland Lucius 05d8023af6 Forgot to commit the patch file 2015-08-27 18:59:22 -05:00
Leland Lucius 6a9dae20f5 Appearance on OSX is now back to normal or better
Some additional wx3 cleanup as well.
2015-08-23 20:25:01 -05:00
Leland Lucius 191ccb0ecc Add new files to Xcode project 2015-08-17 21:59:04 -05:00
Leland Lucius 09c8a739f7 Possible fix for bug #940 2015-08-16 02:09:27 -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 5522722d2c Removing compile.txt 2015-08-10 02:35:13 -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 c15ca44eff.
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 244a11e0a1 Adding "build_wxwidgets" script for OSX 2015-08-08 00:32:35 -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 6b64548efb Need to create the dest directory if it's not there 2015-07-22 21:57:32 -05:00
Leland Lucius b71a923dbc Try to resolve 1728 error when attaching 2015-07-22 11:50:02 -05:00
Leland Lucius 02d4e71cf1 Fix loader_path and executable_path 2015-07-21 22:54:15 -05:00
Leland Lucius 582ee7b45e Cleanup Mac build and subdirectory 2015-07-21 18:45:35 -05:00
Leland Lucius e7642133cf A bit of scripts/ and mac/ cleanup 2015-07-20 19:33:04 -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
Leland Lucius c6dffaaaa4 Merge branch 'master' into wx3 2015-06-30 11:30:48 -05:00
Leland Lucius d1f66d768f Updates for wx3
A long way to go yet, but many OSX issues fixed including
conversion of Audio Unit effects.
2015-06-30 11:25:32 -05:00
Leland Lucius da2bc25721 Add new vocolridiso.ny plugin 2015-06-27 13:05:58 -05:00
Leland Lucius 21911de622 Fix for bug #1046 2015-06-24 18:32:48 -05:00
Leland Lucius c9327a9df0 Addition fix/changes for bug #673
This changes the way "unofficial" Inno Setup translations
are handled.

The first time a user compiles the .iss, the "unofficial" translations
will be downloaded to:

   C:\Program Files (x86)\Inno Setup 5/Languages/unofficial

Any translations supported by Audacity that do not have an Inno
translation will be automatically created from the Default.isl in:

   C:\Program Files (x86)\Inno Setup 5/Languages/dummy

This is all handled by the Inno Preprocessor.  Powershell is used
to do the actual download.

Once downloaded, they will not be downloaded again, so if updates
are made, they will need to be deleted from the above directories
and allowed to download again.

In addition, I extracted the "Reset Preferences" translations from
the Audacity .po files and added them to the .iss file.

Audacity private Inno translation files are still supported in
win/InnoSetupLanguages, but I've removed the samples I'd previously
committed.

While not exactly related to this change, there were 2 languages
that weren't being set properly after being selected during
installation:

   ca@valencia (Valencian)
   bs (Bosnian)

The reason Valencian wasn't be displayed in preferences was twofold.
It was incorrectly named and the search loop in Languages:GetLanguages()
didn't include a range sufficient enough to pull the Valencian info.

The Bosnian language is supported by wxWidgets 2.8.12 (it is in wx3)
so, even though we have a translation, it was unavailable for
selection.

The changes required to fix those issues were:

1)  Renamed ca@valencia to ca_ES@valencia
2)  Instead of iterating over all wxWidgets languages and trying to
    match them with our translations, I reversed it.  It now iterates
    over our translations and asks wxWidgets for the associated
    language info.  This provides support for both of the above
    languages.
3)  By doing #2, we are now able to add additional user languages that
    may not yet be supported by wxWidgets.  So, I added the Bosnian
    language info.
2015-06-04 14:19:06 -05:00
Leland Lucius 607cc30bf4 Add new plugins to Xcode 5+ project 2015-06-03 01:34:42 -05:00
Leland Lucius 801706bf91 Add new plugins to Xcode project 2015-06-03 01:30:16 -05:00
Leland Lucius 667c1c35d4 Redo shared script slightly 2015-05-28 21:11:51 -05:00
Leland Lucius a807f93ba4 Add wx lib copy to "shared" configurations in Xcode 5.x+ project 2015-05-28 20:44:39 -05:00
Leland Lucius f54fbe77a9 Add wx lib copy to "shared" configurations 2015-05-28 16:38:36 -05:00
Leland Lucius 8421d4de07 Fix "shared" build configurations 2015-05-28 14:22:18 -05:00
Leland Lucius 7ba51bdf36 Fix for bug #936 (Xcode 5.x+ project) 2015-05-24 22:06:48 -05:00
Leland Lucius 658bdb425e Fix for bug #936 2015-05-24 21:55:11 -05:00
Leland Lucius 0bf5f77dd6 Fix a couple of 10.6 SDK / clang / wxWidgets 2.8.12 issues. 2015-05-15 12:30:09 -05:00
Leland Lucius 10123bb3ac Update Xcode 5+ project for flac 1.3.1 2015-05-01 04:34:33 -05:00
Leland Lucius 01c2dc75e5 Update Mac build for flac 1.3.1 2015-05-01 04:24:58 -05:00
Leland Lucius d344ff8f88 Updating new Xcode project
This provides additional improvements and updates for building
Audacity using Xcode 5.1 or above.

The whole configure/makefile system is no longer used during
normal builds.  During library additions/updates it used to
regenerated the headers in mac/config.
2015-04-21 16:59:01 -05:00
yam 05295c1caa Adding Xcode project files for use with Xcode 5.1 and above. 2015-04-20 13:39:34 -05:00
Leland Lucius c9ca940e43 Add new file to Mac build 2015-04-19 00:41:24 -05:00
Leland Lucius 2a9690b902 Add new Diags* files to Mac build 2015-04-18 04:51:56 -05:00
Leland Lucius 8fbfa460c4 Migrating the remaining effects
This brings the builtin, LV2, and VAMP effects inline with the
Audio Units, LADSPA, and VST effects.  All effects now share
a common UI.

This gives all effects (though not implemented for all):

User and factory preset capability
Preset import/export capability
Shared or private configuration options

Builtin effects can now be migrated to RTP, depending on algorithm.
LV2 effects now support graphical interfaces if the plugin supplies one.
Nyquist prompt enhanced to provide some features of the Nyquist Workbench.

It may not look like it, but this was a LOT of work, so trust me, there
WILL be problems and everything effect related should be suspect.  Keep
a sharp eye (or two) open.
2015-04-16 23:36:28 -05:00
Leland Lucius a03d65ef4d Cleanup lib-src
Removing:

id3lib
libresample
libsamplerate
taglib
2015-04-16 14:41:41 -05:00
Leland Lucius 981cb47311 Add new files to Mac and Linux builds 2015-04-10 23:19:43 -05:00
Leland Lucius a66184f259 Adding changes that I missed when redoing my branches. 2015-04-08 10:21:17 -05:00
Leland Lucius fa2183f42c Adjusted Mac project files for update LV2 libs 2015-04-08 01:17:52 -05:00
lllucius 8ba320237f Remove "-alpha" per release agenda step 6.3. 2015-02-13 03:14:26 +00:00
lllucius@gmail.com 38c49d55a8 Armenian added to Mac project...bug #823 2015-01-14 16:10:36 +00:00
windinthew@gmail.com 42d1c05e5b 2014 copyright > 2015. 2015-01-02 12:30:35 +00:00
lllucius 71d8b0d8ec Possible fix for bug #435
I say possible because I can't fully test it as my motherboard
audio device doesn't show up in Windows (don't know why yet).

So, because of that and because this "fix" needs a little discussion
amongst the troops, I've ifdef'd it with EXPERIMENTAL_HAVE_DEVICE_CHANGE
and have disabled it by default.

What is does is it sets up a device change listener and performs an
automatic rescan when a change is detected.  (That's the part that
needs discussion.)
2014-12-06 04:11:31 +00:00
lllucius@gmail.com c9ee7dcb4d Removing Cross Fade In and Out from Mac project 2014-12-02 07:55:41 +00:00
lllucius@gmail.com c654de77b1 Add new file to build 2014-11-29 23:46:40 +00:00
lllucius@gmail.com 876f78a4c8 Fix Mac build after adding Objective-c source
I'd named it ".m" and a simply rename to ".mm" to make it
an Objective-C++ file fixes the build problem...go figure.
2014-11-27 18:49:46 +00:00
lllucius@gmail.com 540f5c78c9 AudioUnits rework...
They now work on Yosemite.

AudioUnits with a custom Cocoa UI now display graphically
instead of reverting to the generic view

The Cocoa version of the generic view is now used when
needed...instead of the Carbon version.

The order of UI preference is Cocoa, Carbon, Generic,
unless force to Generic view user setting.

They now support realtime preview.

They also support dialog resizing as I found many that
scaled nicely (mostly Apple's).

Uses the new Effect format so now supports user and
factory presets.

NOTE:  Be VERY critical when testing this as I've
       never written Objective-C or Cocoa code
       before!
2014-11-25 08:08:15 +00:00
lllucius@gmail.com a214047660 Added missing Nyquist plugins to build 2014-11-19 07:02:33 +00:00
lllucius@gmail.com f6e04c2e79 Adding the NoiseReduction files to the Mac project. 2014-11-14 04:54:22 +00:00
lllucius ad92e8c4bf One more round of effects changes.
The big thing is the common efffects UI.  Right now Ladspa and VST
have been converted to use it and Audiounits will be next.  It makes
everything nice and consistent while reducing the clutter in the
dialog.

Other goodies are:

Ladspa effects now show output controls when supplied by the effect
Ladspa effects now work fine as Analyze type effects
Ladspa now has user presets
VST effects dialog is now less cluttered...leaving more room for the effect
Ladspa and VST effects now share a common UI
Ladspa and VST effects are now usable in chains
Ladspa and VST effects now handle user presets the same way
Currently active effects settings automatically saved and reloaded
Can now do numeric range checking on input fields.

And, as always, plenty of critter squashing.
2014-11-14 03:03:17 +00:00
lllucius@gmail.com ba912c21f6 Fixing Mac build... 2014-11-12 03:15:19 +00:00
lllucius@gmail.com 78db267dcb Added new files to Mac project 2014-11-09 03:01:18 +00:00
lllucius@gmail.com 126152a756 Converts the ladspa effects to the new format and adds realtime support
This also (hopefully) corrects some additional problems in general 
realtime support.  Particular focus should be given to the handling
of various combinations of stereo, left channel mono, right channel
mono, and true mono as this has been a particularly troublesome
area.
2014-11-05 07:06:38 +00:00
lllucius 1eeb4d979a The fabled realtime effects...
I've made it where you can enable and disable via experimentals:

EXPERIMENTAL_REALTIME_EFFECTS
EXPERIMENTAL_EFFECTS_RACK

You will notice that, as of now, the only effects currently set up for
realtime are VSTs.  Now that this is in, I will start converting the
rest.

As I start to convert the effects, the astute of you may notice that
they no longer directly access tracks or any "internal" Audacity
objects.  This isolates the effects from changes in Audacity and makes
it much easier to add new ones.

Anyway, all 3 platforms can now display VST effects in graphical mode.
Yes, that means Linux too.  There are quite a few VSTs for Linux if
you search for them.

The so-called "rack" definitely needs some discussion, work, and attention
from someone much better at graphics than me.  I'm not really sure it should
stay in as-is.  I'd originally planned for it to be simply a utility window
where you can store your (preconfigured) favorite effects.  It should probably
revert back to that idea.

You may notice that this DOES include the API work I did.  The realtime effects
were too tied to it and I didn't want to redo the whole thing.  As I mentioned
elsewhere, the API stuff may or may not be very future proof.

So, let the critter complaints commence.  I absolute KNOW there will be some.
(I know I'll be hearing from the Linux peeps pretty darn quickly.  ;-))
2014-10-26 03:24:10 +00:00
lllucius@gmail.com 3361b7e61b Update Xcode project with new files 2014-10-19 02:47:05 +00:00
lllucius@gmail.com f02dec76ef Adding SelectedRegion.h to OSX build 2014-10-09 01:04:18 +00:00
prlivesey 98186b9317 Removed the Audacity.sh shell script from the Application bundle
as it's no longer required and interferes with code signing
2014-09-23 17:53:27 +00:00
v.audacity 43e2bca001 Increment version numbers for 2.0.6 release. Make wordings more consistent between the two files. 2014-09-04 02:51:17 +00:00
windinthew c2f31b27ac Updated for new "drag to the /Applications shortcut" behaviour in the Audacity DMG. 2014-08-06 18:12:38 +00:00
prlivesey c434f59fda Added Tamil translation.
Moved install.txt from root to Audacity folder.
2014-07-28 09:14:25 +00:00
lllucius@gmail.com 7a530973e9 Fix build 2014-07-22 04:52:07 +00:00
prlivesey 7f3833cf35 Forgot to set the
'Copy only when installing' flag
2014-06-27 14:58:46 +00:00
prlivesey 37774fdc81 Initial attempt at beautifying the
installation DMG
2014-06-27 14:55:22 +00:00
lllucius@gmail.com dc4b6cfd26 Fix Mac build 2014-06-08 01:04:32 +00:00
prlivesey 1ad901dff9 Updated Xcode project file to include recently added source files. 2014-01-17 11:32:12 +00:00
prlivesey e2ed965000 Removed UploadDialog from the project file. 2013-12-12 15:43:15 +00:00
lllucius d7abc466db Add expat 2.1.0 for Windows, Mac, and for local Linux builds (use system expat otherwise) 2013-11-14 06:56:26 +00:00
lllucius@gmail.com 1ccf941055 Update project for new lame.h location 2013-11-11 16:35:31 +00:00
prlivesey e7f836222f Fixed libFLAC/libogg related build issues.
Added the libogg include directory into the search path for libFLAC.
Added the new libFLAC source files.
2013-11-09 17:08:40 +00:00
lllucius 496aa450df Remove local copy of expat
Hasn't been used since 2008.  The wxexpat library is used instead.
2013-11-06 08:41:57 +00:00
benjamin.drung@gmail.com 386cb51ac8 Update mac/compile.txt to reflect configure flag rename. 2013-11-05 22:33:35 +00:00
lllucius@gmail.com 2277c3fe21 Updates for scorealign SVN r227. 2013-11-01 16:05:35 +00:00
lllucius 3532ecd7b2 Reworked LV2 plug-ing support.
This enables all platforms to use LV2 plugins in non-GUI mode.  There is
still some work to do, like subgroup handling and better scalepoint
handling.
2013-10-27 11:13:20 +00:00
lllucius@gmail.com 5ae956b348 Create empty Audacity.app/Contents/Resources/en.lproj. Otherwise, the
next language list in System Preferences/Language & Text will be used
for OSX supplied menus.
2013-10-24 22:12:45 +00:00
lllucius 9bae0eaa71 Add Audacity changes for new soundtouch 2013-10-24 06:41:17 +00:00
lllucius@gmail.com 08c94d5372 Backported wxWidgets-3.0rc1 number validators
The are pretty darn slick.  There's an integer one and a floating point 
one.  They support automatic range limiting (ex., you can't even type a 
number outside of the range), proper number formats (ex., you can't 
enter a decimal point in an integer field), you can't enter bogus 
numbers like "0.3-.2", thousands separators are supported, decimal 
precision may be specified and proper number formatting for string 
values (or automatic conversion to int, double, float, etc.).
2013-10-23 20:33:17 +00:00
lllucius 865e22c0ee Bug 637 - Some full and reduced Menu Bar items are not translated
Relocates the translation tables to the bundle

This will change the location of the translation tables from:

<root>
  Audacity.app/
    Languanges/<langcode>/

to:

<root>
  Audacity.app/Contents/Resources/<langcode>.lproj/

  This will allow the menu items to be translated as expected.
2013-10-23 17:41:10 +00:00
lllucius 1fab1cdb21 Bug 337 - New logger class allows log to be initialized immediately without crashing Mac empty project windows
This is an older one...originally from 2011.  Bug says it all, but basically it allows logging
to begin immediately upon startup for all platforms.  And it has multithreading protection, so
it should now be safe to log from the non-GUI threads.
2013-10-23 17:00:28 +00:00
windinthew 7b27081616 Add link to Leland's http://wiki.audacityteam.org/wiki/Building_On_Mac . File has LF endings as committed. 2013-10-15 17:37:49 +00:00
v.audacity e6f9cdc690 Increment file date and Audacity version. 2013-10-13 23:52:18 +00:00
lllucius 48bed25cb4 Added new effect to build. 2013-10-02 15:31:28 +00:00
lllucius b0e65b57c2 Adding EXPERIMENTAL_KEY_VIEW that provides a new keyboard binding view. 2013-10-01 06:00:13 +00:00
windinthew 4812c50fa4 Bump version number. Add a help link. 2013-08-31 18:20:39 +00:00
prlivesey 5918ad671d Removal of gverb from the list of binary plugins that are built.
Gverb functionality has been replaced by Reverb.
2013-08-31 11:46:44 +00:00
v.audacity 36361a6b86 Leland's patch to fix http://bugzilla.audacityteam.org/show_bug.cgi?id=543 -- Hope it doesn't have line ending issues. 2013-07-18 03:28:15 +00:00
prlivesey bc97faed80 Tweak ito Xcode project file.
Fix linking issues with mod-nyq-bench.
Shared library builds still have a missing
symbol error but static builds appear to
work now.
2013-07-05 09:50:10 +00:00