Skip to content

Bug 897 - #2

Merged
JamesCrook merged 2 commits into
audacity:masterfrom
Paul-Licameli:Bug-897
Apr 2, 2015
Merged

JamesCrook merged 2 commits into
audacity:masterfrom
Paul-Licameli:Bug-897

Conversation

@JamesCrook

Copy link
Copy Markdown
Contributor

No description provided.

JamesCrook added a commit that referenced this pull request Apr 2, 2015
Bug 897 - Ruler refreshing.
@JamesCrook
JamesCrook merged commit dc89950 into audacity:master Apr 2, 2015
@Paul-Licameli
Paul-Licameli deleted the Bug-897 branch April 7, 2015 02:55
lllucius added a commit that referenced this pull request Jun 4, 2015
This changes the way "unofficial" Inno Setup translations
are handled.

The first time a user compiles the .iss, the "unofficial" translations
will be downloaded to:

   C:\Program Files (x86)\Inno Setup 5/Languages/unofficial

Any translations supported by Audacity that do not have an Inno
translation will be automatically created from the Default.isl in:

   C:\Program Files (x86)\Inno Setup 5/Languages/dummy

This is all handled by the Inno Preprocessor.  Powershell is used
to do the actual download.

Once downloaded, they will not be downloaded again, so if updates
are made, they will need to be deleted from the above directories
and allowed to download again.

In addition, I extracted the "Reset Preferences" translations from
the Audacity .po files and added them to the .iss file.

Audacity private Inno translation files are still supported in
win/InnoSetupLanguages, but I've removed the samples I'd previously
committed.

While not exactly related to this change, there were 2 languages
that weren't being set properly after being selected during
installation:

   ca@valencia (Valencian)
   bs (Bosnian)

The reason Valencian wasn't be displayed in preferences was twofold.
It was incorrectly named and the search loop in Languages:GetLanguages()
didn't include a range sufficient enough to pull the Valencian info.

The Bosnian language is supported by wxWidgets 2.8.12 (it is in wx3)
so, even though we have a translation, it was unavailable for
selection.

The changes required to fix those issues were:

1)  Renamed ca@valencia to ca_ES@valencia
2)  Instead of iterating over all wxWidgets languages and trying to
    match them with our translations, I reversed it.  It now iterates
    over our translations and asks wxWidgets for the associated
    language info.  This provides support for both of the above
    languages.
3)  By doing #2, we are now able to add additional user languages that
    may not yet be supported by wxWidgets.  So, I added the Bosnian
    language info.
Paul-Licameli added a commit that referenced this pull request May 22, 2016
... See comments #1 and #2 at
http://bugzilla.audacityteam.org/show_bug.cgi?id=1331

Don't make strange undo history if, e.g., R to record (or other keystroke
with undoable effects) interrupts a drag with undoable effects (like time
shift).  Ensure that by first simulating a mouse button up event to stop the
drag, before dispatching the keystroke.

Don't crash if certain other drags, that do not have undoable effects, such
as selection or vertical ruler drag -- are interrupted by a keystroke
command (Ctrl+C in particular could cause crash).  However, in these cases,
the drag is still allowed to continue.
JamesCrook added a commit that referenced this pull request Aug 10, 2016
Also updated the wording as per comment #2 in Bug 1467.
@pietro68 pietro68 mentioned this pull request Feb 25, 2022
6 tasks done
@grliszas14 grliszas14 mentioned this pull request Jun 13, 2024
@MerlinBrasil MerlinBrasil mentioned this pull request Feb 8, 2025
luapmartin added a commit to luapmartin/audacity that referenced this pull request May 15, 2026
* Move decimal-precision derivation into ParameterInfo with an override hook
  (saintmatthieu's audacity#2) and expose via NumDecimalsRole; cap at 6 fractional
  digits to keep numbers readable.
* Split units (short symbol, rendered inside the spinbox via measureUnitsSymbol)
  from description (longer hint, rendered as a trailing label in the row).
  Nyquist's ctrl.label now flows to ParameterInfo.description; VST3 keeps both
  fields populated as before.
* Extract GeneratedIncrementalPropertyControl with the isEditing gesture
  lifecycle and a re-entry guard against the model echo loop pending audacity#10815.
* Use focus-based gestures in the text control so a typed word is one undo step.
* Layout polish: slider/dropdown/numeric/text/file controls each have bounded
  widths so the row stays readable across plugin families; description label
  hoisted to the outer row with a maximumWidth + word-wrap; trailing fillWidth
  filler keeps the description packed against its control rather than at the
  far right.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants