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

7817 Commits

Author SHA1 Message Date
Paul Licameli
0c97918bb9 Ladspa, VST: As before eb3bc7e: keep registering even if some errors 2017-12-31 16:18:53 -05:00
Paul Licameli
86b9c5c5fe Can use std::function on Mac too 2017-12-31 16:18:51 -05:00
James Crook
80d7f2426f NoteTrack VZooming. 2017-12-31 18:04:47 +00:00
James Crook
94b1175684 mod-script-pipe: Recreate MS project and .sln files.
This was to work around a bug in MSVC that reports a
bogus warning MSB8012, caused by using an upgraded project.

I also in the process fixed the release build, which was building as debug earlier.
2017-12-31 15:44:47 +00:00
Paul Licameli
e06a6fd797 Fix blank filenames in .aup saved then saved-as twice to same path...
Bug was introduced at commit c1d1bee6b1914faba750dd4c488e99ced32edad4
2017-12-30 18:00:18 -05:00
Paul Licameli
0c8890cda1 Bug 1793: Applying chain to files should zoom-to-fit 2017-12-30 14:15:17 -05:00
James Crook
37ec3b52c7 mod-script-pipe: Use release libs in release build. 2017-12-30 08:20:27 +00:00
James Crook
647f9ce0bb
Merge pull request #225 from Pointedstick/unify-appstream-id
Standardize on an rDNS-style AppStream ID
2017-12-29 23:14:49 +00:00
Nathaniel Graham
f736703417 Standardize on an rDNS-style AppStream ID 2017-12-29 14:25:57 -07:00
James Crook
52e9763337 Fix multiple bugs in IsGoodInt and IsGoodInt64
Alerted to this buggy code by Darrell Walisser's comment:
"Whoops, the range on the 64-bit signed integer check is incorrect."

After these fixes,  I saw that IsGoodInt was being used to test a dotted
version number, so I commented out that (bogus) test which was previously
always succeeding.

The IsGood{num} functions did no range checking if the numbers were shorter
than the max value.  Then, if the number was similar in length, the first digit could
be an invalid character and the code also previously accepted all 9's followed by 1.

My new code would benefit from code review and unit tests.
2017-12-29 20:15:29 +00:00
Paul Licameli
bdd1358f9b Error messages for failing to load Nyquist effects 2017-12-27 15:46:06 -05:00
Paul Licameli
eb3bc7e642 Minimal error messages for failing to load non-Nyquist effects 2017-12-27 15:19:43 -05:00
Paul Licameli
0f8bd45a7c ModuleInterface::RegisterPlugin can report an error message 2017-12-27 15:19:36 -05:00
Paul Licameli
f3a05540b0 Shrink the zone for vertical ruler zooming for NoteTrack too 2017-12-23 22:50:06 -05:00
James Crook
db45280695 Add names to some windows.
This is mainly for automation, so that when exploring the windows we have a name for
each.
2017-12-22 14:03:32 +00:00
James Crook
42573d36f8 Make 'Message' default be 'Connected'. 2017-12-21 17:33:23 +00:00
Paul Licameli
095ee9185f Reimplement the narrowed hot zone for vertical ruler...
... Don't define the TrackPanelCell to be narrower.  Instead, change its
hit-test routine, and only if it is a Wave track.

Previous implementation had the unintended consequence, that a click in the
area excluded from vertical zooming was treated as a click on the background
outside of all tracks, causing de-selection of all tracks.
2017-12-20 23:20:05 -05:00
James Crook
a7960864dd Fix scripting bug where missing parameters gave syntax error
In these cases the default parameters should have been used instead.
Also the Help command now gives Help on Help by default.
2017-12-20 19:58:05 +00:00
James Crook
b6138b1968 Move pipe scripts into a subdirectory. 2017-12-20 19:57:03 +00:00
James Crook
a084c3dbbf pipetest.py to test mod-script-pipe's pipe.
First version in python (we used to use perl).
2017-12-20 16:39:51 +00:00
James Crook
217a2540d4 Convenience .bat file for working with manual.
Also exclude the hep/temp files from git.
2017-12-20 16:39:51 +00:00
Paul Licameli
0c2f6bb176 Fix end of range of TrackPanelCellIterator 2017-12-20 11:21:29 -05:00
James Crook
63de7f0884 Bug 305 - Analysis effects produce false indication that a label is open for editing
This was true of any Nyquist or VAMP effect that created labels.
2017-12-17 21:18:07 +00:00
James Crook
d9bab5347a String changes: Exporting 'the audio' rather than 'the entire project'. 2017-12-17 17:34:28 +00:00
James Crook
4da9e41e03 Bug 1799 - Un-muting with a single track unnecessarily activates the Solo button 2017-12-17 16:49:35 +00:00
James Crook
1e07ef9727 Workaround Travis update.
Travis .yml updated to keep using old version, per:
https://blog.travis-ci.com/2017-12-12-new-trusty-images-q4-launch
2017-12-17 16:17:09 +00:00
James Crook
2108515938 Bug 63 - Analysis effects that create labels should give focus to label Track
If a generator, effect or analyser has created a new track, scroll to the bottom of the track list.
Acheived using new function, VerticalScroll()
2017-12-17 14:59:59 +00:00
Paul Licameli
4d978bcefb Use wxPrintf not printf 2017-12-16 11:54:32 -05:00
Paul Licameli
cd06c04fa0 Use wxFprintf not fprintf and you don't need c_str 2017-12-16 11:54:18 -05:00
Paul Licameli
2dacaa56a9 Further simplification of commit a0fad21fec68a671655bb5158e37880d3fed78ba 2017-12-16 11:40:54 -05:00
James Crook
970b9a27ee Fix ASSERT condition.
I introduced this overly zealous ASSERT during a recent clean up.
2017-12-14 16:27:44 +00:00
James Crook
cab984d590 Add Spectral VZoom Reset
Also shortened the repetitive VZooming code.
Changed preference name to 'More vertical zooming'.
2017-12-14 16:00:59 +00:00
James Crook
41ac4cd47a Add Hover-Over-Down State for Button
Previously hovering over a down button made no difference.
Also tweaked the appearance of hover-over thumbs on dark theme sliders.
Also tweaked hover images and colours generally.

Classic retains the old style.
Hi Contrast does not distinguish between hover-up and hover-down.
2017-12-14 14:39:56 +00:00
James Crook
3379b4e499 VZoom cfg defaults different for Audacity and DA.
VZooming remains on by default in Audacity itself.
Also kGuard (the gurard zone in the VRuler) reduced from 8 pixels to 5pixels
following feedback from Steve.
2017-12-12 21:06:09 +00:00
David Bailes
516af71782 Fix for #1554: toolbars open undocked if previously hidden
Problem:
1. If a toolbar is docked and hidden, when config is written, dock is set to 0 (undocked).
2. When config is read, if a toolbar is docked, then the show field is ignored, and the toolbar is always shown.

Summary of fix:
1. Introduce a new version of the dock field (DockV2) to minimise the problems when running previous versions of Audacity, having run a version with this patch(as suggested by Paul).
2. In ToolManage::WriteConfig, for a docked toolbar which is hidden, DockV2 is set to the dock number, and not 0.
3. In ToolManager::ReadConfig, for a hidden docked toolbar in the config, the toolbar is docked, but is not included in the configuration.

Note, that if a version of Audacity without this fix is run after running a version with this fix:
1. The dock of each toolbar is reset to its default value.
2. In addition, for 2.1.3, 2.2.0 and 2.2.1 whether a toolbar is shown or hidden is reset to its default value.
2017-12-12 14:39:02 +00:00
James Crook
3649f39dc5 SetText and GetText deprecated. Use modern equivalents. 2017-12-12 13:25:45 +00:00
Steve Daulton
9735775a8d Fix bug 963 again 2017-12-11 21:58:42 +00:00
James Crook
13c6fdf663 VZooming Changes
1: Guard zone 8 pixels wide in VRuler to reduce risk of accidental use.
2: VerticalZooming preference, for VRuler zooming, off by default,
3: Enabled Paul's right-click menu in VRuler with some extra
presets (x2 and x0.5)
4: Rearranged some messy code with lots of ifs to use a switch.

Also, with EXPERIMENTAL_HALF_WAVE defined we now get a
'half wave' option in the VRuler menu, that shows the wave top half.
We also use it in collapsed waves (and collapsing and restoring
a WaveTrack will get you back to normal zoom.
2017-12-11 18:41:48 +00:00
Paul Licameli
8a1f5bb748 Fix misspelling pointed out by Olivier Humbert 2017-12-09 05:42:53 -05:00
Paul Licameli
a0fad21fec Remove special treatment of late additions to 2.2.1 i18n messages 2017-12-08 20:48:11 -05:00
James Crook
cb363cdd99 Make right half of VRuler inactive.
This is a buffer zone to reduce risk of accidental activation of VRuler scaling.
2017-12-08 22:16:18 +00:00
James Crook
f463eda36c Clean up some dead code and MSVC warnings.
- Dead code from experiments in SelectionBar removed.
- Many warnings about unused parameters fixed with WXUNUSED()
- Many warnings about signed / unsigned comparisons cleaned up.
- Several 'local variable declared but not used' warnings fixed.
2017-12-08 15:20:39 +00:00
James Crook
b63e61d8e9 Menu item scrub -> seek and accelerator tweaks.
The scrub submenu only contained seek commands.
Merging the menus meant duplicated 'c' accelerator.
2017-12-08 10:59:38 +00:00
James Crook
1d05f14b07 Merged Ext-Bar and Ext-Command menus.
The toggle to switch the extra menu(s) on or off still says 'menus' (plural).  Decided not to change it as the submenus count as 'menus'.  Also we may later add extra menus to the track drop down and in other places.
2017-12-08 10:51:46 +00:00
Paul Licameli
161a869102 Version 2.2.2 is open for alpha development 2017-12-07 22:21:55 -05:00
Paul Licameli
26d72bea9a Updated sl.po -- Slovenian submitted by Martin Srebotnjak Audacity-2.2.1 2017-12-05 20:59:58 -05:00
Paul Licameli
2ce898f5fc Make it.po and zh_CN.po friendly to Windows build, again ( avoid #~| ) 2017-12-05 14:31:56 -05:00
Paul Licameli
80995ed874 Updated README.txt by Bill Wharrie 2017-12-04 13:00:59 -05:00
Paul Licameli
57126b66e7 Updated zh_TW.po -- Chinese (Traditional) submitted by mkpoli 2017-12-04 13:00:59 -05:00
Paul Licameli
1dfe97097e Corrections in zh_CN.po -- Chinese (Simplified) submitted by mkpoli 2017-12-04 13:00:59 -05:00