1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-02 08:39:46 +02:00

7804 Commits

Author SHA1 Message Date
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
Paul Licameli
2649059076 Updated it.po -- Italian to 100% submitted by Carmelo Battaglia 2017-12-04 13:00:58 -05:00
Paul Licameli
faa603a0eb Fix build of .mo files on all platforms 2017-11-29 19:55:01 -05:00
Paul Licameli
9478746000 Revert "msgfmt on Windows made errors for comments in .po starting #~|"
This reverts commit d1a7aa31bf909d78d42c81ee9daa3686f231f771.
2017-11-29 19:40:31 -05:00
Paul Licameli
d1a7aa31bf msgfmt on Windows made errors for comments in .po starting #~| 2017-11-29 18:50:05 -05:00
Paul Licameli
a627f7b77f Updated zh_CN.po -- Chinese (Simplified) submitted by mkpoli 2017-11-29 18:23:40 -05:00
Paul Licameli
5aa3ff94c7 Fix more ambiguous accelerators...
... My own choices, not the translators'
2017-11-29 16:54:19 -05:00
Antonio Ospite
d70eb74c4c Make exported label tracks locale-independent
Currently, when Audacity exports labels tracks numbers are formatted
with the "%f" specifier, which relies on the current user locale to pick
up the decimal separator.

This means that the numbers indicating the start and the end of the
labeled interval could end up using a comma as a decimal separator.

This makes the exported file less portable, especially in the case of
parsing the exported file with an external tool.

Audacity is already able to _import_ labels tracks independently of the
locale because it uses Internat::CompatibleToDouble(), so do something
symmetric at _export_ time, using Internat::ToString() to make the
exported data locale-independent (i.e. always using a dot as the decimal
separator).

Proposed in https://sourceforge.net/p/audacity/mailman/message/35534945/

NOTE:

When converting numbers to strings FLT_DIG is passed as the
digitsAfterDecimalPoint argument of Internat::ToString(), this is in
order to preserve the look and the alignment of the previous "%f" format
specifier; without that Internat::ToString() would strip trailing zeros.

Audacity requires C++11, this ensures that FLT_DIG is defined.
2017-11-29 11:30:48 -05:00
Paul Licameli
db2074dfc2 Bug1791: Quick-play looped should begin where you pick...
... Was broken at commit 2cbdd1cc4319da11d82
2017-11-29 11:16:01 -05:00
Olivier Humbert
d5547a7865 Update French translators credits + timestamp (#221)
* Update French translators credits + timestamp

* other improvements to the French translation

* fixes timestamp
2017-11-28 21:21:28 -05:00
Paul Licameli
5bec6e660c Added script locale/diagnostics.sh 2017-11-28 20:58:53 -05:00
Paul Licameli
be5c061304 Updated es.po -- Spanish submitted by Antonio Paniagua Navarro 2017-11-28 12:32:51 -05:00
Olivier Humbert
71dc6a7df1 French translation improvements 2017-11-28 12:22:03 -05:00
Paul Licameli
5eccf5172e Fix ambiguous accelerators in pt_PT.po, and some punctuation, from Bruno 2017-11-28 12:18:16 -05:00