-
Notifications
You must be signed in to change notification settings - Fork 11
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
Minor UI Improvements #48
Open
Amphitryon0
wants to merge
16
commits into
SevenChords:master
Choose a base branch
from
Amphitryon0:ui
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Even when the config is invalid, the welcome message should be printed.
We shouldn't print this if some checks might result in immediately closing the program.
This gives more context for the "You did not set a new PB." message that normally appears at startup. Also, the explanation when we ignore PB.txt now appears even when it doesn't contain a number.
This is intended to address some user confusion about what the number represents (some people thought it had to do with the contents of the branch and were worried about it being the same between threads) and whether the message is important or not (some people thought that numbers not printed had some checks being skipped and even worried that PBs would not be found on these branches).
This prevents a fairly common problem where two log lines can end up interleaved.
It was technically possible to perform 100,000 moves and then restart. More realistically, this change is mainly useful if someone lowers the default iteration limit.
The extra information about steps and frames was extremely confusing to users and, as a pure debugging feature, was inappropriate at log level 3, if not even at log level 6.
This was accidentally checking for the Random move selection method instead of Manual.
Windows does not generate SIGTERM when closing a program, and it actually doesn't support SIGINT either; it may work, but correct behavior is not guaranteed.
Using Ctrl+Break to shut down and closing the window both resulted in instant termination.
This check prevents now obsoleted records from being submitted, as the thread with the actual record either already has returned or will at some point.
Request for review |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is a lot of commits, but most are pretty small, and many change behavior only in exceptional cases.
Note: if possible, before merging, make sure this compiles with gcc. There are no warnings in MSVC, but that doesn't seem to mean much, and I don't have a linux environment at hand right now.