MIT License
I just realized I had never officially “branded” the extension with the MIT License as I had planned to do for some time now. Well, here it is:
Copyright (c) 2008 Christopher McCulloh Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
You can check out a copy from my subversion repository here (this has been available for some time now): http://statusbarcalculator.com/statusbarcalculator
Write a patch/feature/etc and if you submit it (and I accept it, which will most likely happen unless it just doesn’t work) I’ll include you on the official firefox page as an author or contributor (depending on the size of your submission).
Special thanks to everyone who has already contributed so far:
- Tom Kennedy
- Jerrie
- Mike Daniels
- Fernando Aguirre Baeza
Some feature ideas:
- Make the -, +, *, /, ^ keys work with Mac OSX
- Make preferences to allow moving the calculator around in the browser
- Allow for localizations
- Number history for each textbox (so you can click on the box and see a pop-up with all previous numbers you have typed in it in case you want to go back to a certain point in the calculation)
Other than that, the code was written as a college project (so it’s not that spectacular). It could really use a massive overhaul, maybe integrate jQuery or something.
If you are interested in working on this project, and want to talk with me about it, feel free to comment on this post, or send me an e-mail at cmcculloh at this domain.
I’ll probably be replicating this extension in Google Chrome when they come out with extensions for that…