1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-03 17:19:43 +02:00

86 Commits

Author SHA1 Message Date
Leland Lucius
222f2aa8f9 Bug 2371 - Crash when change Export dialog filters 2020-03-25 13:20:02 -05:00
Raphael Graf
66f566e5c6
Fix FileDialog compilation error (gtk+3) (#465)
Resolves #464
2020-03-24 09:59:44 -05:00
Leland Lucius
b1226ccac2 Bug 1184 - Mac: Custom FFmpeg Export and (external program): unwanted "NoOverwritePrompt" dialog and file 2020-03-24 00:38:45 -05:00
Leland Lucius
38bf51afea Multiple export dialog bugs fixed
Bug 2062 - Export as WAV does not remember the previously used setting
Bug 1355 - "Other uncompressed files" does not (visually) update target
           file extension according to the chosen "Header" type
Bug 1356 - "Other uncompressed files" forces the default extension for
           the format in the exported file
Bug 1381 - Export other uncompressed formats incorrectly assumes max 255
           channels

(and possibly others...not the best bugzilla searcher)
2020-03-23 00:47:17 -05:00
David C. Manuelda
61598c4c27 Fix libtool linking 2019-08-30 20:51:01 +01:00
James Crook
8426580f8e Fix windows build 2019-03-23 21:02:48 +00:00
Paul Licameli
2176de79fb Rewrite #include directives in lib-src/FileDialog ...
... Removing one from the public header file
2019-03-23 11:31:17 -04:00
Paul Licameli
296f846158 Work around the other link problem, but I don't know what consequences...
... this will have at run-time for the file dialog.
2018-11-18 13:17:11 -05:00
Vitaly Kirsanov
b38af473c6
Missing <wx/sizer.h> include
Without it build on my Windows host fails
2018-10-20 10:48:39 +03:00
Darrell Walisser
651957f8c2 fix bug compiling on Linux/gcc-4.9 with wxwidgets 3.0.2 2018-10-14 11:57:58 +01:00
James Crook
cbd0f8aba3 Fix (my) typo in a Mac #define.
Recreating a Mac fix locally on Windows, I copied too much text.
And of course it didn't show up in the Windows or Travis builds.
2018-04-13 08:04:25 +01:00
Paul Licameli
71f49ae0f6 Fix build targeting MacOS 10.6 2018-04-12 17:15:35 -04:00
James Crook
effab49a6f Improve Mac wx3.1.1 compatibility
1. Qualify hash as std::hash.
2. Ensure we have a header for the function 'free'
2018-04-12 20:10:41 +01:00
James Crook
a13a925c6b autoreconf -ivf 2018-04-06 13:11:32 +01:00
James Crook
b24dae713b Update configure.ac for modules. 2018-04-06 11:54:15 +01:00
James Crook
6220c27613 Do an autoreconf -ivf
This was done on a Ubuntu 14.04 system with wxWidgets 3.1.1 installed.
The resulting buildfiles successfully build Audacity on Ubuntu 14.04 (with 3.1.1) and on Travis (with 3.0.0).
2018-04-02 17:32:17 +01:00
James Crook
b7b367a165 Prepare for compiling with wxWidgets 3.1.1
- Upped version number to Audacity 2.3.0 in configure.ac
- configure.ac now wants 3.1.1 but still accepts 3.0.0 (for top level, lib-widgets-extra and mod-nyq-bench)
- .travis.yml now apt-gets autopoint.  This allows us to do an autoreconf -ivf on Travis, IF we want to, but i snot used yet.
- FileDialog MakeFile.am now has LDFLAGS to resolve libtools issue on Travis with missing --tags=CXX
2018-04-02 17:28:38 +01:00
James Crook
1c988b4e3a Automation: AudacityCommand
This is a squash of 50 commits.

This merges the capabilities of BatchCommands and Effects using a new
AudacityCommand class.  AudacityCommand provides one function to specify the
parameters, and then we leverage that one function in automation, whether by chains,
mod-script-pipe or (future) Nyquist.

- Now have AudacityCommand which is using the same mechanism as Effect
- Has configurable parameters
- Has data-entry GUI (built using shuttle GUI)
- Registers with PluginManager.
- Menu commands now provided in chains, and to python batch.
   - Tested with Zoom Toggle.

- ShuttleParams now can set, get, set defaults, validate and specify
the parameters.
- Bugfix: Don't overwrite values with defaults first time out.
- Add DefineParams function for all built-in effects.
- Extend CommandContext to carry output channels for results.

We abuse EffectsManager.  It handles both Effects and
AudacityCommands now.  In time an Effect should become a special case of
AudacityCommand and we'll split and rename the EffectManager class.

- Don't use 'default' as a parameter name.
- Massive renaming for CommandDefinitionInterface
- EffectIdentInterface becomes EffectDefinitionInterface
- EffectAutomationParameters becomes CommandAutomationParameters
- PluginType is now a bit field.

This way we can search for related types at the same time.

- Most old batch commands made into AudacityCommands.
The ones that weren't are for a reason.  They are used by mod-script-pipe
to carry commands and responses across from a non-GUI thread to the GUI
thread.

- Major tidy up of ScreenshotCommand
- Reworking of SelectCommand
- GetPreferenceCommand and SetPreferenceCommand
- GetTrackInfo and SetTrackInfo
- GetInfoCommand
- Help, Open, Save, Import and Export commands.
- Removed obsolete commands ExecMenu, GetProjectInfo and SetProjectInfo
  which are now better handled by other commands.

- JSONify "GetInfo: Commands" output, i.e. commas in the right places.

- General work on better Doxygen.
    - Lyrics -> LyricsPanel
    - Meter -> MeterPanel
- Updated Linux makefile.
- Scripting commands added into Extra menu.
- Distinct names for previously duplicated find-clipping parameters.
- Fixed longstanding error with erroneous status field number which
  previously caused an ASSERT in debug.
- Sensible formatting of numbers in Chains, 0.1 not 0.1000000000137
2018-02-24 14:20:22 -05:00
Paul Licameli
e37d701bc0 WXINTL_NO_GETTEXT_MACRO defined in compiler options...
... so even if you neglect to include Audacity.h, it applies
2018-01-06 20:56:51 -05:00
Richard Ash
ad72c112a4 Update references to sourceforge.net
Replace references to audacity.sourceforge.net with the new
audacity web site, and also bug report emails in configure scripts
and readme files.
2016-09-21 10:03:25 +01:00
Paul Licameli
9036c00152 Bug1300, improved: don't truncate the pasted string 2016-06-29 13:42:37 -04:00
Paul Licameli
bbd369df1b Bug1300: make Ctrl+V work in text field of Save dialog, but...
It's a bit crude.  It always pastes the entire text field, ignoring the
insertion cursor, and ignoring which control really has the focus.

The file dialog, which can call up the Finder, is implemented in the AppKit
so it's not wholly under our control.  But I could bolt on an event filter,
after the fashion of CommandManager, to intercept key events.

Perhaps later versions of the toolkit than 10.6 will have a better save dialog
in the AppKit, making this change unnecessary.
2016-06-29 12:13:01 -04:00
Thomas Fehér
be15ddee88 fix linking on linux
This was only working because g++ can be used to link C++ and
Objective-C object files. As soon as CXX is set to a different compiler
this failed on linux, trying to link objects compiled with a different
compiler.
2016-02-13 10:01:11 -05:00
Steve Daulton
6b9a63d4c8 Update generated autotool files by running autoreconf 2016-01-26 18:32:29 +00:00
Leland Lucius
a7a1e11668 Fix for bug #1182 2015-09-08 11:19:37 -05:00
Leland Lucius
d635ff36c4 Restore focus if another modal dialog is opened on top of FileDialog
An example of this would be the FFmpeg custom options dialog.  When
the options dialog would close, focus would be lost and with no
apparent way to get it back when using the keyboard.

This change tracks the modal dialogs that are opened after the
current file dialog and that are descendants of the current file
dialog.  Once all of the descendants are closed, the current file
dialog will restore the focus and make sure it is the topmost
window.

This only affected Windows.
2015-08-26 20:38:05 -05:00
Leland Lucius
5bc61e5d0b Fix option truncation and possible crash 2015-08-25 21:19:53 -05:00
Leland Lucius
b1a3d2313b A better solution for setting open/save dialog minimum size
This one actually works on Windows 7 too.  :-)
2015-08-25 00:57:27 -05:00
Leland Lucius
75ee0becd1 Allow the user to make the FileDialog smaller after enlarging it.
See http://bugzilla.audacityteam.org/show_bug.cgi?id=1110#c6 for
a bit more info.
2015-08-24 23:46:04 -05:00
Leland Lucius
141c42bbdb Protect against not having an initial file type selected 2015-08-16 03:13:55 -05:00
Leland Lucius
1bf561819e Always show the filter list to be consistent with the other 2 plats.
(This also fixes an array indexing problem.)
2015-08-14 16:01:04 -05:00
Leland Lucius
8d236b88ae Fix bug #1110 2015-08-09 23:28:13 -05:00
Leland Lucius
534741de78 Fix crash when displaying file dialog on Windows 2015-08-07 16:42:39 -05:00
Leland Lucius
a9b6d2382c Use wxDEBUG_LEVEL instead of WXDEBUG_LEVEL...DOH!!! 2015-07-31 02:27:12 -05:00
Leland Lucius
e869099643 Add WXDEBUG_LEVEL=0 to non-debug builds 2015-07-29 14:44:51 -05:00
Leland Lucius
709c9e9153 Send an initial filter changed event under OSX 2015-07-29 02:07:37 -05:00
Leland Lucius
573365765a Send an initial filter changed event under GTK 2015-07-29 01:59:42 -05:00
Leland Lucius
45dc52644d Make sure the search string is unique 2015-07-28 18:27:14 -05:00
Leland Lucius
39064c42d5 FileDialog shouldn't return duplicate names. 2015-07-18 21:26:11 -05:00
Leland Lucius
ed419f1917 Round 10 of wx3 changes
configure script now auto detects whether wxWidgets was built using
gtk2 or gtk3, so there's no longer a need to specify which one when
running configure.

VST support updated for wx3 under GTK.
2015-07-18 01:22:05 -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
553308fc29 Round 6 of wx3 changes
A bit of fine tuning the FileDialog on Windows
Deleted Visual Studio 2008 project files
2015-07-15 01:12:41 -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
2f760c4bac Round 4 of wx3 changes
This gets FileDialog updated and working on Windows.  It also
removes removes the "wx3" build configurations and makes the default
Debug and Release builds wx3-only.

Still need to get VSTs updated.
2015-07-13 16:38:24 -05:00
Leland Lucius
4deccfc980 Round 3 retry...helps to add the changed files to the commit 2015-07-13 12:36:40 -05:00
Leland Lucius
d1594cdca5 Round 3 of wx3 changes
FileDialog updated to embed the file type options.
2015-07-13 10:20:37 -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
b1690f1801 Getting all build scripts to the same Automake 1.14 version
This way, building the minsrc tarball doesn't require multiple versions
of Automake to be installed.  (Most things were at the 1.11 version, but
some were at the 1.14 version.)

Building minsrc should now work just fine.
2015-06-21 22:09:44 -07:00
Leland Lucius
0ef7ccb1d1 Fix permissions...not sure why this was happening though 2015-05-29 19:49:28 -05:00