Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve: don't freeze Mudlet when copying large profile #5056

Merged
merged 14 commits into from
Apr 18, 2022

Conversation

vadi2
Copy link
Member

@vadi2 vadi2 commented Mar 27, 2021

Brief overview of PR changes/additions

Don't freeze Mudlet when copying large profile

Motivation for adding to Mudlet

Better user experience for long-time players with large profiles. It'll also help people not think Mudlet has crashed if it's been copying for too long.

Other info (issues closed, discussion etc)

Fix #1980, fix #487

Release post highlight

Improved: copying large profiles will no longer freeze Mudlet up.

@add-deployment-links
Copy link

add-deployment-links bot commented Mar 27, 2021

Hey there! Thanks for helping Mudlet improve. 🌟

Test versions

You can directly test the changes here:

No need to install anything - just unzip and run.
Let us know if it works well, and if it doesn't, please give details.

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

clang-tidy made some suggestions

src/dlgConnectionProfiles.cpp Outdated Show resolved Hide resolved
src/dlgConnectionProfiles.cpp Outdated Show resolved Hide resolved
@github-actions
Copy link
Contributor

github-actions bot commented Jan 1, 2022

Messages
✔️

PR type: Improvement

Generated by 🚫 dangerJS against 90f864f

@vadi2 vadi2 changed the title Don't freeze Mudlet when copying large profile Improve: don't freeze Mudlet when copying large profile Jan 1, 2022
@github-actions
Copy link
Contributor

github-actions bot commented Jan 1, 2022

clang-tidy review says "All clean, LGTM! 👍"

@vadi2 vadi2 marked this pull request as ready for review January 1, 2022 20:11
@vadi2 vadi2 requested review from a team as code owners January 1, 2022 20:11
src/dlgConnectionProfiles.cpp Outdated Show resolved Hide resolved
src/dlgConnectionProfiles.cpp Show resolved Hide resolved
src/dlgConnectionProfiles.cpp Show resolved Hide resolved
src/dlgConnectionProfiles.cpp Show resolved Hide resolved
@mudlet-machine-account mudlet-machine-account added this to the 4.16.0 milestone Apr 8, 2022
@SlySven
Copy link
Member

SlySven commented Apr 8, 2022

What's with the "Check improvements with Mudlet's C++style guide / clang-tidy (pull_request_target)" failure - something is screwy with the update/ports of Hunspell - but just for that job...? 😵

@vadi2
Copy link
Member Author

vadi2 commented Apr 8, 2022

Not sure.

Co-authored-by: Stephen Lyons <slysven@virginmedia.com>
@vadi2 vadi2 requested a review from a team as a code owner April 11, 2022 07:57
@vadi2
Copy link
Member Author

vadi2 commented Apr 11, 2022

PR updated.

host_name_entry->setPalette(mErrorPalette);
validUrl = false;
valid = false;
}

if (url.indexOf(QRegularExpression(qsl("^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$")), 0) != -1) {
Copy link
Member

@SlySven SlySven Apr 18, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤔 This is something for another PR but this won't handle IPv:six: addresses... issue raised as #6065.

Copy link
Member

@SlySven SlySven left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I haven't physically tested this - I've only reviewed the code - as I see it the UI team still need to okay it so I'm leaving that aspect to them... 🙈

@vadi2 vadi2 merged commit bf0c8e1 into Mudlet:development Apr 18, 2022
@vadi2 vadi2 deleted the copy-profiles-async branch April 18, 2022 18:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants