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

10133 Commits

Author SHA1 Message Date
Paul Licameli
ced9be588b Remove ImageRoll.h from other headers or comment why you can't 2019-05-16 18:30:22 -04:00
Paul Licameli
6c57948d8f Remove unnecessary #include-s from .cpp files...
... Unnecessary because transitively included.

But each .cpp file still includes its own .h file near the top to ensure
that it compiles indenendently, even if it is reincluded transitively later.
2019-05-16 17:21:00 -04:00
Paul Licameli
548192fcf3 Remove redundant #include-s from .h files...
Redundant, because transitively implied.  But don't do this for inclusions of
Audacity.h or Experimental.h.
2019-05-16 14:58:34 -04:00
Paul Licameli
56f51d8176 Revert "Remove redundant #include-s from .h files..."
This reverts commit b7fe62d17067b4441530dd36b25052cea3ad44b5.
2019-05-16 14:33:55 -04:00
Paul Licameli
b7fe62d170 Remove redundant #include-s from .h files...
Redundant, because transitively implied.  But don't do this for inclusions of
Audacity.h or Experimental.h.
2019-05-16 14:15:05 -04:00
Paul Licameli
31a80fb4d1 Fix Windows build 2019-05-16 13:44:48 -04:00
Paul Licameli
a7469ad674 Some progress using wrappers of wxString to make type distinctions 2019-05-16 12:30:30 -04:00
Paul Licameli
9bf29f5582 CommandManager keys by CommandId, not plain wxString 2019-05-16 12:30:29 -04:00
Paul Licameli
19bf094893 Change CommandManager terminology: "Numeric id" not just "Id" ...
... because I will use CommandId for string identifiers instead, and those
are the really persistent identification
2019-05-16 12:30:29 -04:00
Paul Licameli
11c8377460 NormalizedKeyString redefined as TaggedIdentifier 2019-05-16 12:30:29 -04:00
Paul Licameli
172c8abe03 Miscellaneous changes 2019-05-16 12:30:28 -04:00
Paul Licameli
3eeb91f23a Define class Identifier and template TaggedIdentifier...
... Identifier holds strings used for internal purposes and not shown to users;
TaggedIdentifier generates subclasses of Identifier for different purposes,
which won't implicitly (that is, inadvertently) interconvert as function
arguments.
2019-05-16 12:30:28 -04:00
Paul Licameli
c09edbb18a Define and use const version of WaveTrack::GetAllClips 2019-05-16 12:30:27 -04:00
Paul Licameli
3e5bfa0c12 Make sure HistoryWindow does space usage update if hidden then shown again 2019-05-16 12:30:27 -04:00
Paul Licameli
7ad6897598 Move class ShuttleGuiGetDefinition near its only point of use 2019-05-16 12:30:27 -04:00
Paul Licameli
5be54c5612 ModuleManager::CreateProviderInstance returns more specific type 2019-05-16 12:30:26 -04:00
Paul Licameli
961882838f Move definition of std::hash< wxString > 2019-05-16 12:30:26 -04:00
Paul Licameli
74128156bf ModuleInterface::GetFileExtensions() returns const reference...
... avoiding repeated array allocation
2019-05-16 12:30:23 -04:00
Paul Licameli
bf005c0dec PrefsPanel::Factory is a specialization of std::function...
... We don't need to define a class for it
2019-05-16 12:14:51 -04:00
Paul Licameli
8117ca8823 Remove an unnecessary #include directive 2019-05-16 11:44:42 -04:00
Paul Licameli
d90a827e03 Remove unneeded #include-s of AudacityApp.h 2019-05-15 15:58:00 -04:00
Paul Licameli
f6adeed47b Remove some unnecessary #include directives 2019-05-15 14:14:18 -04:00
Paul Licameli
eeb290aeb6 New script graph.pl to analyze dependencies...
... To use it, first install graphViz.  Then change to the scripts directory
and run ./graph.pl .  Then view the resulting image file in a browser.

See an acyclic graph, each node labeled with the list of .cpp files in
one strongly connected component of the linkage dependencies as determined
by scanning the #include directives in the sources.

It worked for me in macOS.
2019-05-15 14:06:06 -04:00
James Crook
88dc11f525 Fix 'Set Track Name' input box too short.
This was a regression relative to Audacity 2.0.3
2019-05-15 13:38:16 +01:00
James Crook
30dda4fe97 Update Version number for 2.3.3 development. 2019-05-13 18:09:58 +01:00
James Crook
bd2956bb45 Get ready for release candidates. Audacity-2.3.2 2019-05-04 11:38:57 +01:00
James Crook
2ede9eed1c Update CHANGELOG.txt and README.txt 2019-05-02 22:36:44 +01:00
James Crook
cf069c5917 Bug 2101 (Wording) - Mac recovery file can be corrupted before recovery when switching between 32 and 64 bit builds 2019-05-01 15:27:15 +01:00
Paul Licameli
ad26c35d3c Fix Tab key navigation on Mac in presence of static boxes 2019-05-01 07:50:34 +01:00
Paul Licameli
2ba17c78d6 Don't destroy auto-save file written by different architecture...
... the error checking might not be complete, but it is sufficient for the
observed cases, where switching between 32 and 64 bit Mac builds causes
auto-recovery in one build to destroy the data saved by the other build.

Now instead, you will see an error message, recommending that you run the
same version of Audacity that produced the file.

Note that decoding of autosave files can also (less commonly) happen with
a command-line argument, and a message is written to standard out.  Give the
same message in that case.

Localization of this changed message unfortunately can't happen this late in
2.3.2 development.
2019-04-30 21:59:23 +01:00
Paul Licameli
c8d95e1117 Bug2105: Enable TAB to sliders on Mac...
... I think this is a defect in wxWidgets, but one we can work around with a
simple wrapper class around wxSlider overriding one method.

To make the fix complete, change all occurrences of "safenew wxSlider"
but the one in ShuttleGui.cpp covers most cases
2019-04-30 21:50:22 +01:00
Antonio P
3f6b5be500 Update Spanish Translation 2019-04-29 21:35:00 +01:00
Paul Licameli
b994dfe6dc Fix some comments 2019-04-28 20:42:10 -04:00
Paul Licameli
6248226163 Bug1892: VoiceOver on Mac should read category names in Preferences...
... Achieved by implementing a wxAccessible subclass for wxTreeCtrl, but on
Mac only.  Leave be on Windows, just making the new type name an alias.
2019-04-27 21:30:38 -04:00
Grzegorz Pruchniakowski
0a0baa39bb Update polish translation from Transifex
Update polish translation from Transifex. All strings translated - 100% done.

Greetings,
Gootector
2019-04-26 22:35:30 +01:00
Paul Licameli
c46fbd919c rename function as AudacityProject::GetProjectName...
... So it does not hide inherited wxWindow::GetName().

And make it const.
2019-04-26 14:10:05 -04:00
Paul Licameli
8f55d55869 Remove two call-through functions to TrackPanel from AudacityProject 2019-04-26 14:05:57 -04:00
James Crook
7e53282164 Bug 2057 - Size problem is relevant to AIFF too.
Change the error warning (in English only).  Change the link page.
2019-04-26 18:11:36 +01:00
Paul Licameli
498507ddd3 Bug1848: Mac VoiceOver should read names of choice controls...
... This should cover most of the neglected cases, where a choice was added
by ShuttleGui.

There are some places where choices are added directly:  scan the soure for
"safenew wxChoice"

I think there are still uncovered cases then in Grid.cpp, LV2 Effects, and in
commented-out parts of Transcription toolbar.

Are these important?

(This reinstates commit d2c112600d38f0894fe783f8dfd8861b5e604fce, which had
been reverted at 21a1260f912a9cb0ac8bff4f6e0fd7f8132f01ca, but making the
changes conditionally compiled on Mac only.)
2019-04-26 11:55:08 -04:00
Paul Licameli
544d9aa580 Don't use AudacityApp where you only need wxApp...
... I want to have fewer inclusions of AudacityApp.h.  More work on removing
them will happen in the next version.
2019-04-26 11:54:28 -04:00
David Bailes
21a1260f91 Revert "Bug1848: Mac VoiceOver should read names of choice controls..."
This reverts commit d2c112600d38f0894fe783f8dfd8861b5e604fce.

On Windows, it is intentional that SetAccessible is not called for wxChoice in ShuttleGui.
See the commit message of f9ee3cd for background.

Changing this during code freeze and close to creating release candidates would have the danger of introducing bugs.

Fixing this bug needs further discussion. Hopefully the Mac accessibility code can be changed to bring it into line with the changes in the wxWidets accessibility code when we moved to 3.1.1
2019-04-26 09:05:22 +01:00
James Crook
410746b3d2 Bug 2075 - Change link to manual to Size_limits_for_WAV_files 2019-04-25 20:44:34 +01:00
James Crook
4e89d6b0fa Bug 2057 - Exporting WAV files > 4GB silently creates invalid, truncated, WAV file 2019-04-25 18:38:43 +01:00
Paul Licameli
d2c112600d Bug1848: Mac VoiceOver should read names of choice controls...
... This should cover most of the neglected cases, where a choice was added
by ShuttleGui.

There are some places where choices are added directly:  scan the soure for
"safenew wxChoice"

I think there are still uncovered cases then in Grid.cpp, LV2 Effects, and in
commented-out parts of Transcription toolbar.

Are these important?
2019-04-25 13:11:53 -04:00
James Crook
2366075fd4 Bug 2098 - Transport toolbar - no hovertext tooltip for the Pause button 2019-04-25 16:34:04 +01:00
Nikitich
cf86cbc956 Further update for Russian Translation 2019-04-25 08:36:13 +01:00
b n singh
ca5281b50f Update Hindi Translation 2019-04-24 20:15:47 +01:00
scootergrisen
6db44e2ed4 Add Slovak translation 2019-04-24 20:10:01 +01:00
James Crook
73746cdc02 Update Project-Id-Version to 2.3.2
Updated script to create Audacity.pot with Project-Id-Version
of audacity 2.3.2 and to update the Project-Id-Version in the po files too.

Ran script so as to apply it.
2019-04-24 19:50:19 +01:00
Bruno Ramalhete
5fd3168792 Update Portuguese (European) Translation 2019-04-24 16:30:02 +01:00