mudlet:reinstall-default-packages

Last commit made on 2023-12-24
Get this branch:
git clone -b reinstall-default-packages https://git.launchpad.net/mudlet

Branch merges

Branch information

Name:
reinstall-default-packages
Repository:
lp:mudlet

Recent commits

ce714db... by Vadim Peretokin <email address hidden>

WIP

078c679... by "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>

Infrastructure: Bump ZedThree/clang-tidy-review from 0.13.2 to 0.13.3 (#6942)

Bumps
[ZedThree/clang-tidy-review](https://github.com/zedthree/clang-tidy-review)
from 0.13.2 to 0.13.3.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/zedthree/clang-tidy-review/releases">ZedThree/clang-tidy-review's
releases</a>.</em></p>
<blockquote>
<h2>v0.13.3</h2>
<h2>What's Changed</h2>
<ul>
<li>Add missing f-string prefix in error message by <a
href="https://github.com/BUYT-1"><code>@​BUYT-1</code></a> in <a
href="https://redirect.github.com/ZedThree/clang-tidy-review/pull/91">ZedThree/clang-tidy-review#91</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/BUYT-1"><code>@​BUYT-1</code></a> made
their first contribution in <a
href="https://redirect.github.com/ZedThree/clang-tidy-review/pull/91">ZedThree/clang-tidy-review#91</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/ZedThree/clang-tidy-review/compare/v0.13.2...v0.13.3">https://github.com/ZedThree/clang-tidy-review/compare/v0.13.2...v0.13.3</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/ZedThree/clang-tidy-review/commit/f41163387a7680d93a25c1a9d24d71437c20e16f"><code>f411633</code></a>
Merge pull request <a
href="https://redirect.github.com/zedthree/clang-tidy-review/issues/91">#91</a>
from BUYT-1/master-1</li>
<li><a
href="https://github.com/ZedThree/clang-tidy-review/commit/2e07de6f1b9d6d88cde129c24682a6b703f77615"><code>2e07de6</code></a>
Add missing f-string prefix in error message</li>
<li>See full diff in <a
href="https://github.com/zedthree/clang-tidy-review/compare/v0.13.2...v0.13.3">compare
view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=ZedThree/clang-tidy-review&package-manager=github_actions&previous-version=0.13.2&new-version=0.13.3)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)

</details>

Signed-off-by: dependabot[bot] <email address hidden>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

8a33e1f... by "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>

Infrastructure: Bump ZedThree/clang-tidy-review from 0.13.1 to 0.13.2 (#6935)

Bumps
[ZedThree/clang-tidy-review](https://github.com/zedthree/clang-tidy-review)
from 0.13.1 to 0.13.2.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/zedthree/clang-tidy-review/releases">ZedThree/clang-tidy-review's
releases</a>.</em></p>
<blockquote>
<h2>v0.13.2</h2>
<h2>What's Changed</h2>
<ul>
<li>Upgrade pyyaml to 6.0.1 to fix docker build by <a
href="https://github.com/vaithak"><code>@​vaithak</code></a> in <a
href="https://redirect.github.com/ZedThree/clang-tidy-review/pull/90">ZedThree/clang-tidy-review#90</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/vaithak"><code>@​vaithak</code></a> made
their first contribution in <a
href="https://redirect.github.com/ZedThree/clang-tidy-review/pull/90">ZedThree/clang-tidy-review#90</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/ZedThree/clang-tidy-review/compare/v0.13.1...v0.13.2">https://github.com/ZedThree/clang-tidy-review/compare/v0.13.1...v0.13.2</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/ZedThree/clang-tidy-review/commit/25211720a54a92626fb05790061716d4356faffc"><code>2521172</code></a>
Merge pull request <a
href="https://redirect.github.com/zedthree/clang-tidy-review/issues/90">#90</a>
from vaithak/patch-1</li>
<li><a
href="https://github.com/ZedThree/clang-tidy-review/commit/ce197b22ffc1a382374af76948048873314bf9a1"><code>ce197b2</code></a>
Upgrade pyyaml to 6.0.1 to fix docker build</li>
<li>See full diff in <a
href="https://github.com/zedthree/clang-tidy-review/compare/v0.13.1...v0.13.2">compare
view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=ZedThree/clang-tidy-review&package-manager=github_actions&previous-version=0.13.1&new-version=0.13.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)

</details>

Signed-off-by: dependabot[bot] <email address hidden>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

adb0013... by Stephen Lyons

Fix: crash on moving rooms (#6933)

#### Brief overview of PR changes/additions
In fact this ought to be happening in other cases as well when using the
"Move to position" 2D Mapper context menu option. It is a result of
setting the `Qt::WA_DeleteOnClose` attribute on the `QDialog` used to
get the user's input and using `QDialog::exect()` in order to "run" the
dialog. As a result it deletes itself when the user clicks the "Okay"
button but Mudlet has been trying (and crashing when it cannot) to read
the text contents of the `QLineEdit`s that the user has typed their
input into after that point!

The fix is to NOT set that attribute. To ensure that the dialog is
cleared from memory after use (as #6531 was trying to do) we must ensure
that the dialog is destroyed AFTER the details have been gathered - or
even if they are not because "Cancel" has been clicked instead and the
safest method to do that is to call `QObject::deleteLater()` on it when
we have finished with it - then it gets scheduled for destruction and
the underlying Qt code does that when "control returns to the main event
loop" - importantly it is safe to call that more than once on the same
object which is not always the case for the core C++ `delete X`
operation).

#### Motivation for adding to Mudlet
As the title and related issue suggests, to stop a fatal seg. fault when
one or more rooms are moved in the 2D mapper with the "Move to position"
context menu action is used.

#### Other info (issues closed, discussion etc)
This should close #6932. As a check I have reviewed all the other places
where `QDialog::exec()` is used and I have determined to my satisfaction
that there are no other cases in our code where this could also happen.
Further investigation shows that the bug was introduced by #6531
inserted into the code base by @Kebap in February this year (so will
affect **4.17.x** releases up until this fix goes in).

Signed-off-by: Stephen Lyons <email address hidden>

47ac4bd... by Vadim Peretokin <email address hidden>

Infrastructure: fix codeql 3rd party dependency filtering (#6930)

<!-- Keep the title short & concise so anyone non-technical can
understand it,
     the title appears in PTB changelogs -->
#### Brief overview of PR changes/additions
Fix codeql 3rd party dependency filtering
#### Motivation for adding to Mudlet
Fix CodeQL action, which has [been
broken](https://github.com/Mudlet/Mudlet/actions/workflows/codeql-analysis.yml)
for a month or so
#### Other info (issues closed, discussion etc)
Default behaviour of the action was changed to upload results right away
- this we couldn't filter them

36f6b36... by mudlet-machine-account <email address hidden>

Improve: New Crowdin updates (#6931)

69dd900... by mudlet-machine-account <email address hidden>

Infrastructure: Update text for translation in Crowdin (#6929)

#### Brief overview of PR changes/additions
:crown: An automated PR to make new text available for translation in
Crowdin from refs/heads/development
(1474a1e0fa9cfbf8b9f639243d65d0f9bef52da2).
#### Motivation for adding to Mudlet
So translators can translate the new text before the upcoming release.

Co-authored-by: mudlet-machine-account <email address hidden>

1474a1e... by Stephen Lyons

Infrastructure: migrate more texts to later translation disambiguation form (#6924)

#### Brief overview of PR changes/additions
Moves a few translation disambiguation comments out of
`QObject::tr(...)` calls to a special comment before them.

#### Motivation for adding to Mudlet
Completion of (bountied!) task set out in #5522.

#### Other info (issues closed, discussion etc)
These texts were missed by #6862 possibly because they were in other PRs
at the time...

Signed-off-by: Stephen Lyons <email address hidden>

34f0631... by Stephen Lyons

Improve: show ID number in Editor windows (#6743)

#### Brief overview of PR changes/additions
This is to help the end-user identify and cross-reference the ID numbers
used for permanent items in scripts AND the editor.

#### Motivation for adding to Mudlet
This PR should, perhaps, be considered alongside #6726 and #6742.

---------

Signed-off-by: Stephen Lyons <email address hidden>
Co-authored-by: Vadim Peretokin <email address hidden>

0be0df4... by Stephen Lyons

Improve: save and restore multi-view mode between Mudlet application runs (#6923)

#### Brief overview of PR changes/additions
Although the situation as described in the related issue seems to be the
opposite to how the OP reported it, it is true that the multi-view mode
is NOT saved between Mudlet runs. This PR fixes that so that the
multi-view mode **is** now saved between runs so that if it is set when
Mudlet closes it will then be applied in a future run once a second
profile is opened.

#### Motivation for adding to Mudlet
Improvement in Mudlet operation

#### Other info (issues closed, discussion etc)
This will, I think, close #6917.

Signed-off-by: Stephen Lyons <email address hidden>