-
Notifications
You must be signed in to change notification settings - Fork 951
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
Standardize on sentence case #1865
base: master
Are you sure you want to change the base?
Conversation
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.
Looks mostly good. Nice work!
But I am lacking a rationale. Standardising on sentence case is fine by me, but it's good to have something for future questions.
Ideally something in the commit message(s), but at least here in the PR if it's too large.
LICENCE.TXT
Outdated
@@ -279,7 +279,7 @@ POSSIBILITY OF SUCH DAMAGES. | |||
|
|||
END OF TERMS AND CONDITIONS | |||
|
|||
Appendix: How to Apply These Terms to Your New Programs | |||
Appendix: How to apply these terms to your new programs |
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.
This file is a verbatim copy from FSF and such is best left alone.
common/rfb/Congestion.cxx
Outdated
@@ -21,7 +21,7 @@ | |||
* order to avoid excessive latency in the transport. This is needed | |||
* because "buffer bloat" is unfortunately still a very real problem. | |||
* | |||
* The basic principle is TCP Congestion Control (RFC 5618), with the | |||
* The basic principle is TCP Congestion control (RFC 5618), with the |
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.
This is the title of the RFC, and might be best left as title case.
(the RFC number seems wrong, though)
unix/x0vncserver/XDesktop.cxx
Outdated
@@ -71,7 +71,7 @@ BoolParameter rawKeyboard("RawKeyboard", | |||
"avoid mapping them to the current keyboard " | |||
"layout", false); | |||
IntParameter queryConnectTimeout("QueryConnectTimeout", | |||
"Number of seconds to show the Accept Connection dialog before " | |||
"Number of seconds to show the Accept connection dialog before " |
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.
Do we need quotes or something here now that it is less clear what is the title it is referring to?
Or perhaps rephrase it so it doesn't have to perfectly match the title?
common/rdr/RandomStream.cxx
Outdated
@@ -69,7 +69,7 @@ RandomStream::RandomStream() | |||
{ | |||
#endif | |||
#endif | |||
vlog.error("no OS supplied random source - using rand()"); | |||
vlog.error("No OS supplied random source: Using rand()"); |
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.
A comma suggests an explanation or more details. Perhaps a comma if the dash is undesirable?
vncviewer/Viewport.cxx
Outdated
@@ -260,7 +260,7 @@ void Viewport::setCursor(int width, int height, const Point& hotspot, | |||
if (data[i*4 + 3] != 0) break; | |||
|
|||
if ((i == width*height) && dotWhenNoCursor) { | |||
vlog.debug("cursor is empty - using dot"); | |||
vlog.debug("Cursor is empty: Using dot"); |
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.
Same here.
win/rfb_win32/CleanDesktop.cxx
Outdated
@@ -166,7 +166,7 @@ void CleanDesktop::disableWallpaper() { | |||
try { | |||
ImpersonateCurrentUser icu; | |||
|
|||
vlog.debug("disable desktop wallpaper/Active Desktop"); | |||
vlog.debug("Disable desktop wallpaper/active desktop"); |
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.
"Active Desktop" is actually a brand name
win/rfb_win32/CleanDesktop.cxx
Outdated
@@ -191,7 +191,7 @@ void CleanDesktop::enableWallpaper() { | |||
ImpersonateCurrentUser icu; | |||
|
|||
if (restoreActiveDesktop) { | |||
vlog.debug("restore Active Desktop"); | |||
vlog.debug("Restore active desktop"); |
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.
Dito
The reason for this is to keep a consistency through out the project.
The reason for this is to keep a consistency through out the project.
The reason for this is to keep a consistency through out the project.
Add fixes to both titles as well as for log messages, exceptions and errors.