This is the (big and scary) license agreement for my source code (don’t worry, you’re allowed to use it in your own products, commercial or otherwise).
Note: If you need a non-attribution license for any of my code (for a fee), please see the Using my code without attribution section below.
The license text is further down this page, and you should only download and use the source code if you agree to the terms in that text. For convenience, though, I’ve put together a human-readable (as opposed to lawyer-readable) non-authoritative interpretation of the license which will hopefully answer any questions you have. Basically, the license says that:
- You can use the code in your own products.
- You can modify the code as you wish, and use the modified code in your products.
- You can redistribute the original, unmodified code, but you have to include the full license text below.
- You can redistribute the modified code as you wish (without the full license text below).
- In all cases, you must include a credit mentioning Matt Gemmell as the original author of the source.
- I’m not liable for anything you do with the code, no matter what. So be sensible.
- You can’t use my name or other marks to promote your products based on the code.
- If you agree to all of that, go ahead and download the source. Otherwise, don’t.
This license is really just a version of the new BSD license, and should be compatible with that license. If you’d like me to give you special permission to use any of my code under another license (like BSD, or the GPL, or something else), just contact me – I’ll be happy to help.
Using my code without attribution
My source code license agreement requires attribution, but I’m aware that some people need a license agreement which does not require attribution. If you’re in that situation, I can help: I’ve set up an online store where you can quickly and easily buy a non-attribution license to my various source code components. The online license store can be found here.
If you have any questions, feel free to contact me.
Suggested Attribution Format
The license requires that you give credit to me, Matt Gemmell, as the original author of any of the code that you use. The placement and format of the credit is up to you, but I prefer the credit to be in the software’s “About” window. Alternatively, you could put the credit in the software’s documentation, or on the web page for the product. The suggested format for the attribution is:
Includes “Name of Code” code by Matt Gemmell.
where “Name of Code” would obviously be replaced by the name of the specific source-code package you made use of. Where possible, please link the text “Matt Gemmell” to the main page of this website, or include the site’s URL (http://mattgemmell.com/).
You’re also welcome to use any of the “Gemmell Inside” logos if you’re feeling humorous.
Full Source Code License Text
License Agreement for Source Code provided by Matt Gemmell
This software is supplied to you by Matt Gemmell in consideration of your agreement to the following terms, and your use, installation, modification or redistribution of this software constitutes acceptance of these terms. If you do not agree with these terms, please do not use, install, modify or redistribute this software.
In consideration of your agreement to abide by the following terms, and subject to these terms, Matt Gemmell grants you a personal, non-exclusive license, to use, reproduce, modify and redistribute the software, with or without modifications, in source and/or binary forms; provided that if you redistribute the software in its entirety and without modifications, you must retain this notice and the following text and disclaimers in all such redistributions of the software, and that in all cases attribution of Matt Gemmell as the original author of the source code shall be included in all such resulting software products or distributions. Neither the name, trademarks, service marks or logos of Matt Gemmell may be used to endorse or promote products derived from the software without specific prior written permission from Matt Gemmell. Except as expressly stated in this notice, no other rights or licenses, express or implied, are granted by Matt Gemmell herein, including but not limited to any patent rights that may be infringed by your derivative works or by other works in which the software may be incorporated.
The software is provided by Matt Gemmell on an "AS IS" basis. MATT GEMMELL MAKES NO WARRANTIES, EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION THE IMPLIED WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, REGARDING THE SOFTWARE OR ITS USE AND OPERATION ALONE OR IN COMBINATION WITH YOUR PRODUCTS.
IN NO EVENT SHALL MATT GEMMELL BE LIABLE FOR ANY SPECIAL, INDIRECT, INCIDENTAL OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) ARISING IN ANY WAY OUT OF THE USE, REPRODUCTION, MODIFICATION AND/OR DISTRIBUTION OF THE SOFTWARE, HOWEVER CAUSED AND WHETHER UNDER THEORY OF CONTRACT, TORT (INCLUDING NEGLIGENCE), STRICT LIABILITY OR OTHERWISE, EVEN IF MATT GEMMELL HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
If you’ve got any questions about the license, or if you want to discuss any special requirements or licensing, feel free get in touch – you can find my contact details here.
Enjoy using the source!