1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-09-18 09:00:52 +02:00

5584 Commits

Author SHA1 Message Date
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
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
Paul Licameli
c55ad85527 Display translator credit only for the chosen locale 2017-11-28 09:17:27 -05:00
Olivier Humbert
0d89bc3f15 Fix some typos in msgids, thanks to Olivier Humbert...
... Fix the source code; fix up msgids in audacity.pot and *.po
2017-11-27 23:12:37 -05:00
Paul Licameli
653fa2d354 Fix progress dialog for export of FLAC 2017-11-27 21:17:41 -05:00
Paul Licameli
5723a7c38f audacity.desktop.in for ja, zh_CN, and zh_TW (thanks to mkpoli) 2017-11-25 17:10:35 -05:00
Paul Licameli
61f4284e10 Make append-recording insert clip boundaries again 2017-11-24 12:29:36 -05:00
Paul Licameli
afdcded32d Make Release build 2017-11-23 01:24:54 -05:00
Paul Licameli
0532f9be37 More sanity checking in file save ...
... against corruption as seen in:

http://forum.audacityteam.org/viewtopic.php?f=47&t=97787

Maybe this early check would have alerted the user sooner and prevented
trouble.
2017-11-22 22:41:35 -05:00
Paul Licameli
9c028c0761 Certain sanity checks against crash or bad behavior on corrupt projects...
... Such projects as described in
http://forum.audacityteam.org/viewtopic.php?f=47&t=97787

(That thread did not describe the crashes, but I came across them, debugging,
or deduced the possibility of them)

In which all the shared_ptrs to BlockFile objects ended up pointing at one
common file; but the size of this file was sometimes larger than the
Sequence's maximum block size, or not the same as the difference between one
block's start offset and the next one's.
2017-11-22 22:27:01 -05:00
Paul Licameli
5ea729e77f audacity.desktop.in for nl (thanks to Thomas De Rocker) 2017-11-21 07:25:05 -05:00
Paul Licameli
44e6f3e3e1 audacity.desktop.in for hi (thanks to Bashishtha Singh) 2017-11-21 07:25:05 -05:00
Hussam Eddin Alhomsi
b64ba45b14 Add Arabic translation for audacity.desktop.in. 2017-11-21 07:04:14 -05:00
Paul Licameli
92691d8485 Bug1784: Changed conditions for exceptions from Sequence...
... That for SetSamples was too strict, making needless errors in case of
harmless zero-length clips.

The one for Get was analogous to SetSamples.

That for Delete was too lax.  But reexamination shows the stricter condition
to be satisfied in all calls.  Sequence::Delete() can be reached only from
WaveClip::Clear and WaveClip::ClearAndAddCutLine(), and all calls to those
are in WaveTrack.cpp.
2017-11-20 21:42:32 -05:00
Paul Licameli
6e72aed6a5 Sequence consistency check will not throw in 2.2.1 2017-11-20 20:28:04 -05:00
Paul Licameli
2068662954 Replaced one THROW_INCONSISTENCY_EXCEPTION with othe precautions 2017-11-20 19:01:48 -05:00
Paul Licameli
21787621f3 Comment aids reasoning about preconditions for Sequence methods 2017-11-20 19:01:48 -05:00
Steve Daulton
430bd12304 Fix Regular Interval Labels
Save control values for NYQ_CTRL_INT_TEXT
2017-11-20 20:30:45 +00:00
Paul Licameli
5354a788cf audacity.desktop.in for pt_PT (thanks to Bruno Ramalhete) 2017-11-20 12:36:12 -05:00
Paul Licameli
8426d87e07 audacity.desktop.in for el (thanks to Dimitris Spingos (Δημήτρης Σπίγγος)) 2017-11-20 09:53:58 -05:00
Paul Licameli
c1779c843a audacity.desktop.in for pt_BR (thanks to Cleber Tavano) 2017-11-19 20:43:26 -05:00
Paul Licameli
08d63aa361 Fix roundoff bug in NumericTextCtrl 2017-11-19 11:04:08 -05:00
Paul Licameli
1d311651e8 comment 2017-11-19 11:04:07 -05:00
Paul Licameli
f136b5c530 Reviewed uses of InconsistencyException outside Sequence.cpp 2017-11-19 01:48:41 -05:00
Paul Licameli
2f40c1c77e Don't use InsertSilence when previewing effects 2017-11-19 01:48:40 -05:00
Paul Licameli
dc76988bdd Menu name change to "&Export" was a bit late for localization...
... But see comments:  "Export" (though not "&Export") was already in
audacity.pot for 2.2.0
2017-11-18 21:47:52 -05:00
James Crook
a49f14ad02 doxygen. Class list completed for letter 'A'. 2017-11-09 18:32:29 +00:00
Steve Daulton
a612af5c05 Rename File > Save Other to File > Export
In response to user feedback that the Export command could
not be found.
2017-11-08 17:55:08 +00:00
Paul Licameli
b94b49265a Don't make orphans in original after save-as 2017-11-08 03:52:40 -05:00
Paul Licameli
1007980bcf fix a comment 2017-11-08 03:52:40 -05:00
James Crook
0bae8c3a90 Bug 1774 - Recording does not honor waveform color
New clip now takes colour from WaveTrack, and new WaveTrack takes colour of the WaveTrack its clips will be appended onto.
2017-11-07 14:26:32 +00:00
James Crook
c28be778e2 Linty fixes
This commit fixes a number of warnings shown in compilation with MSVC.  No behavioral changes intended.  I did not fix signed/unsigned warnings.
2017-11-07 14:23:30 +00:00
Yarn366
26a6815db8 Fixed the value of MAX_HIGH_SURROGATE 2017-11-06 21:15:56 +00:00
Yarn366
f667b9f269 When escaping characters for XML, don't escape valid surrogate pairs on platforms where wchar_t (and, by extension, wxUChar) is 2 bytes. Also, ignore invalid surrogates and the noncharacters U+FFFE and U+FFFF. 2017-11-06 21:15:56 +00:00
Paul Licameli
25a65c34e7 Fix bad punctuation, thanks to Joachim Huffer, update .pot again 2017-11-06 13:26:15 -05:00
Paul Licameli
66d5861360 i18n-hints 2017-11-06 11:01:05 -05:00
Paul Licameli
a9f5c9c929 Implement ComboEditor::Clone, and use override 2017-11-05 21:35:04 -05:00
Paul Licameli
072667e908 Move Cliff Scott's credit to Contributors section 2017-11-05 21:08:52 -05:00
Paul Licameli
91b59d8af1 Callthrough to base class UpdatePrefs was missing 2017-11-05 21:04:02 -05:00
Paul Licameli
e5c07fae84 some missed translations, i18n-hints 2017-11-05 21:01:53 -05:00
Paul Licameli
31231a54d2 use override 2017-11-05 21:01:52 -05:00
Paul Licameli
9612e3d971 indentation, final newlines, spelling, remove unused members 2017-11-05 21:01:38 -05:00
Paul Licameli
da5e5e51c9 Config file keys do not need to localize 2017-11-05 20:36:19 -05:00
Paul Licameli
d3b1ae512b Effect param keys don't need to localize; audacity.pot can shrink...
... The keys are only ever used as internal identifiers in wxConfigFile
objects.  So they are often space-less and camel-cased.

I have noticed a couple instances of translators confused by these.
2017-11-05 11:48:15 -05:00