Matt Gemmell / Magic Aubergine Source Code License
Last updated: 3rd October 2007

Thanks for downloading some of our source code!

This is the license agreement for the source code which this document accompanies (don’t worry: you’re allowed to use it in your own products, commercial or otherwise).

The full license text is further down this page, and you should only use the source code if you agree to the terms in that text. For convenience, though, we’ve put together a human-readable non-authoritative interpretation of the license which will hopefully answer any questions you have.

Green text shows what you can do with the code.
Red text means restrictions you must abide by.

Basically, the license says that:

	1.	You can use the code in your own products, including commercial and/or closed-source products.
	2.	You can modify the code as you wish, and use the modified code in your products.
	3.	You can redistribute the original, unmodified code, but you have to include the full license text below.
	4.	You can redistribute the modified code as you wish (without the full license text below).
	5.	In all cases, you must include a credit mentioning Matt Gemmell as the original author of the source.
	6.	Matt Gemmell is not liable for anything you do with the code, no matter what. So be sensible.
	7.	You can’t use the name Matt Gemmell, the name Magic Aubergine, the Magic Aubergine logo or any other related marks to promote your products based on the code.
	8.	If you agree to all of that, go ahead and use the source. Otherwise, don’t!

Suggested Attribution Format

The license requires that you give credit to Matt Gemmell, as the original author of any of our source that you use. The placement and format of the credit is up to you, but we prefer the credit to be in the software’s “About” window. Alternatively, you could put the credit in a list of acknowledgements within the software, in the software’s documentation, or on the web page for the software. The suggested format for the attribution is:

	Includes <Name of Code> code by Matt Gemmell.

where <Name of Code> would 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 following URL, or include the URL as plain text: http://mattgemmell.com/

Full Source Code License Text

Below you can find the actual text of the license agreement.

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 or Magic Aubergine 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 AND MAGIC AUBERGINE MAKE 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 OR MAGIC AUBERGINE 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 OR MAGIC AUBERGINE HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.