mlaily / NegativeScreen

NegativeScreen is a Windows application allowing you to invert your screen colors. (and more)
https://zerowidthjoiner.net/negativescreen
GNU General Public License v3.0
169 stars 20 forks source link

Please add an "About NegativeScreen" box; here's some suggested text #3

Closed mlaily closed 7 years ago

mlaily commented 8 years ago

Originally reported by: Jason Spiro (Bitbucket: jasonspiro, GitHub: jasonspiro)


Hi! I'm using NegativeScreen 2.4 on Windows 10.

It would be useful if you could please add an "About NegativeScreen" dialog box. That way, users could easily find out what version of NegativeScreen is running and why it's there.

Users could open the About box by right-clicking the system tray icon and choosing an "About NegativeScreen" menu item.

It would be good if users could copy and paste a line from the About box into their web browser by highlighting the text and pressing Ctrl+C.

The About box could say something like the following.


NegativeScreen

Version: 2.5 beta 17.5723c03

Homepage: http://arcanesanctum.net/negativescreen

C# source code: https://bitbucket.org/yaurthek/negativescreen

This software lets you invert your screen's colors. It is useful when you are surfing the Web in a dark room and the screen is dazzling you.

Copyright (C) 2011-2016 Melvyn Laïly

This program is free and open-source software. You can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.


mlaily commented 7 years ago

Original comment by Jason Spiro (Bitbucket: jasonspiro, GitHub: jasonspiro):


No worries. The main thing is to have an "About" box at all. :)

mlaily commented 7 years ago

Original comment by Melvyn Laïly (Bitbucket: yaurthek, GitHub: Unknown):


Er yeah, unfortunately Windows and .Net only allow integers in version numbers... So I'm using the default scheme.

From MSDN:

The default build number increments daily. The default revision number is the number of seconds since midnight local time (without taking into account time zone adjustments for daylight saving time), divided by 2.

https://msdn.microsoft.com/en-us/library/system.reflection.assemblyversionattribute(v=vs.110).aspx

Linking the version number and the revision number would require some work and a more complex build system, and I don't think it would add that much value so I'm not really willing to change that... Maybe someday...

mlaily commented 7 years ago

Original comment by Jason Spiro (Bitbucket: jasonspiro, GitHub: jasonspiro):


If you tag releases with just a version number — just a number, with no text before it — then Taylor Braun-Jones points out elsewhere that there's a command you can run to generate sensible version numbers for each build. If you're building a release, the version number will be the tag name. If you're building a pre-release version, the version number will be something like "2.5-3-m5723c03".

The command is:

hg log -r . -T "{latesttag}{sub('^-0-.*', '', '-{latesttagdistance}-m{node|short}')}"

You can save this command as an alias in your .hgrc file by following these instructions.

mlaily commented 7 years ago

Original comment by Melvyn Laïly (Bitbucket: yaurthek, GitHub: Unknown):


Alright, it makes sense :)

mlaily commented 7 years ago

Original comment by Jason Spiro (Bitbucket: jasonspiro, GitHub: jasonspiro):


No, I only use NegativeScreen for myself.

Really, the only reason I want an About box is to make it easy for me to know what version I'm running. This would make it easier for me to report bugs.

But it's good practice to include an About box in any piece of software. It makes it easier for people to find the homepage or to find the right place to report bugs or whatnot.

And if you're making an About box, you might as well include a line that says what the purpose of the software is. :)

mlaily commented 7 years ago

Original comment by Melvyn Laïly (Bitbucket: yaurthek, GitHub: Unknown):


Mmh why not.

I guess you are deploying NegativeScreen on multiple computers without the users knowing what it is supposed to do?

mlaily commented 7 years ago

Implemented in version 2.5.