-
Notifications
You must be signed in to change notification settings - Fork 147
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
name_update Qt GUI #394
name_update Qt GUI #394
Conversation
1175444
to
eb2d879
Compare
@randy-waterhouse You may be interested in reviewing this. |
Updated PR to use |
1ec36f1
to
c6baa03
Compare
@domob1812 This PR is ready for review. |
@domob1812 Any chance you could review this? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for the long delay and thanks for this PR! Looks good (with the usual caveat that I'm not really a Qt expert so could only review those parts lightly), I've just marked some tiny nits.
@domob1812 Addressed feedback (and also fixed some minor formatting issues in |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK d0bb93d. Please squash the commits, then I'll merge the PR.
One more quick fix before we merge this; the latest commit prevents the name from being displayed as HTML in the Configure dialog. This is probably not easy for an attacker to exploit (they'd need to send you a name, and get you to try to update it, and then they'd have to hope that you don't notice that the Manage Names list shows the name differently from the Configure dialog), but still a good idea to fix. @domob1812 Let me know if this final commit is okay, then I'll squash everything. |
Yes, that is ok of course. |
Based on GUI by Brandon Roberts.
72fb702
to
f10bde6
Compare
@domob1812 Squashed. Left the |
For the record, this broke the build for me:
I guess that's trivial to fix, will do now. @JeremyRand did it build for you (I assume so)? I believe upstream Bitcoin recently removed their custom |
namecoin#394 (name_update Qt UI) was still using the old, custom Optional implementation. This fixes the code to use std::optional, which has been introduced into the main codebase some time ago.
Fixed in 67a184a. |
@domob1812 It did build for me, but I hadn't rebased for a couple of months. Usually this is a good thing since frequent rebasing makes review more difficult, and typically any issues caused by not rebasing will be caught by Cirrus. Alas, Cirrus is routinely failing on master for other reasons, which I guess caused us to miss this one. I suppose this is a good reason to repair the other failures. |
This PR adds the
name_update
GUI.