Skip to content

Commit

Permalink
Updated licence information. Now uses GNU GPLv3.
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris--A committed Jul 23, 2016
1 parent a7aacd9 commit b1bfce1
Show file tree
Hide file tree
Showing 26 changed files with 1,140 additions and 98 deletions.
686 changes: 669 additions & 17 deletions LICENSE

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# `PrintEx` Library for Arduino ![Version 1.1.10](https://img.shields.io/badge/Version-1.1.10-blue.svg)

**Written by:** *Christopher Andrews*.
**Copyright:** _**2013**_*(`GString`)*-_**2015**_*(`PrintEx`)*, *Christopher Andrews, Released under MIT licence*.
**Copyright:** _**2013**_*(`GString`)*-_**2016**_*(`PrintEx`)*, *Christopher Andrews, Released under **[GNU GPLv3](/blob/master/LICENSE)** licence* (Feel free to contact me via the issues if you would like to discuss a different licence).

**Supported Platforms**:
![Basic Arduino](https://img.shields.io/badge/Arduino-AVR-brightgreen.svg)
Expand Down
22 changes: 19 additions & 3 deletions src/PrintEx.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,24 @@
/********************************************************************************
Copyright 2015 Christopher Andrews.
https://github.com/Chris--A/PrintEx
Copyright 2016 Christopher Andrews.
https://github.com/Chris--A/PrintEx
Released under MIT licence.
Released using: GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007
You should have received a copy of the licence with the software
package. You can also view a copy of the full licence here:
https://github.com/Chris--A/PrintEx/blob/master/LICENSE
The only exception to the licence applies when a piece of software
used within PrintEx, and uses a less restrictive licence or is
public domain. However, these items will be marked accordingly
with a link or reference of its origins.
The exception mentioned in the above paragraph only applies to the
particular lines of code that may be licensed differently, and does
not remove the GNU GPLv3 restrictions from the remainder of the
source which contains these items, or other source files used in
conjunction with them.
********************************************************************************/

#define PRINTEX_VERSION 10110
Expand Down
20 changes: 18 additions & 2 deletions src/lib/Globals.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,24 @@
/********************************************************************************
Copyright 2015 Christopher Andrews.
Copyright 2016 Christopher Andrews.
https://github.com/Chris--A/PrintEx
Released under MIT licence.
Released using: GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007
You should have received a copy of the licence with the software
package. You can also view a copy of the full licence here:
https://github.com/Chris--A/PrintEx/blob/master/LICENSE
The only exception to the licence applies when a piece of software
used within PrintEx, and uses a less restrictive licence or is
public domain. However, these items will be marked accordingly
with a link or reference of its origins.
The exception mentioned in the above paragraph only applies to the
particular lines of code that may be licensed differently, and does
not remove the GNU GPLv3 restrictions from the remainder of the
source which contains these items, or other source files used in
conjunction with them.
********************************************************************************/

#ifndef HEADER_GLOBALS
Expand Down
20 changes: 18 additions & 2 deletions src/lib/IStream.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,24 @@
/********************************************************************************
Copyright 2015 Christopher Andrews.
Copyright 2016 Christopher Andrews.
https://github.com/Chris--A/PrintEx
Released under MIT licence.
Released using: GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007
You should have received a copy of the licence with the software
package. You can also view a copy of the full licence here:
https://github.com/Chris--A/PrintEx/blob/master/LICENSE
The only exception to the licence applies when a piece of software
used within PrintEx, and uses a less restrictive licence or is
public domain. However, these items will be marked accordingly
with a link or reference of its origins.
The exception mentioned in the above paragraph only applies to the
particular lines of code that may be licensed differently, and does
not remove the GNU GPLv3 restrictions from the remainder of the
source which contains these items, or other source files used in
conjunction with them.
********************************************************************************/

// Requires:
Expand Down
22 changes: 19 additions & 3 deletions src/lib/MemoryPrinter.cpp
Original file line number Diff line number Diff line change
@@ -1,8 +1,24 @@
/********************************************************************************
Copyright 2015 Christopher Andrews.
https://github.com/Chris--A/PrintEx
Copyright 2016 Christopher Andrews.
https://github.com/Chris--A/PrintEx
Released under MIT licence.
Released using: GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007
You should have received a copy of the licence with the software
package. You can also view a copy of the full licence here:
https://github.com/Chris--A/PrintEx/blob/master/LICENSE
The only exception to the licence applies when a piece of software
used within PrintEx, and uses a less restrictive licence or is
public domain. However, these items will be marked accordingly
with a link or reference of its origins.
The exception mentioned in the above paragraph only applies to the
particular lines of code that may be licensed differently, and does
not remove the GNU GPLv3 restrictions from the remainder of the
source which contains these items, or other source files used in
conjunction with them.
********************************************************************************/

#include "MemoryPrinter.h"
Expand Down
22 changes: 19 additions & 3 deletions src/lib/MemoryPrinter.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,24 @@
/********************************************************************************
Copyright 2015 Christopher Andrews.
https://github.com/Chris--A/PrintEx
Copyright 2016 Christopher Andrews.
https://github.com/Chris--A/PrintEx
Released under MIT licence.
Released using: GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007
You should have received a copy of the licence with the software
package. You can also view a copy of the full licence here:
https://github.com/Chris--A/PrintEx/blob/master/LICENSE
The only exception to the licence applies when a piece of software
used within PrintEx, and uses a less restrictive licence or is
public domain. However, these items will be marked accordingly
with a link or reference of its origins.
The exception mentioned in the above paragraph only applies to the
particular lines of code that may be licensed differently, and does
not remove the GNU GPLv3 restrictions from the remainder of the
source which contains these items, or other source files used in
conjunction with them.
********************************************************************************/

#include "NonStreamingIO.h"
Expand Down
22 changes: 19 additions & 3 deletions src/lib/NonStreamingIO.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,24 @@
/********************************************************************************
Copyright 2015 Christopher Andrews.
https://github.com/Chris--A/PrintEx
Copyright 2016 Christopher Andrews.
https://github.com/Chris--A/PrintEx
Released under MIT licence.
Released using: GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007
You should have received a copy of the licence with the software
package. You can also view a copy of the full licence here:
https://github.com/Chris--A/PrintEx/blob/master/LICENSE
The only exception to the licence applies when a piece of software
used within PrintEx, and uses a less restrictive licence or is
public domain. However, these items will be marked accordingly
with a link or reference of its origins.
The exception mentioned in the above paragraph only applies to the
particular lines of code that may be licensed differently, and does
not remove the GNU GPLv3 restrictions from the remainder of the
source which contains these items, or other source files used in
conjunction with them.
********************************************************************************/

#include "Globals.h"
Expand Down
20 changes: 18 additions & 2 deletions src/lib/OStream.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,24 @@
/********************************************************************************
Copyright 2015 Christopher Andrews.
Copyright 2016 Christopher Andrews.
https://github.com/Chris--A/PrintEx
Released under MIT licence.
Released using: GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007
You should have received a copy of the licence with the software
package. You can also view a copy of the full licence here:
https://github.com/Chris--A/PrintEx/blob/master/LICENSE
The only exception to the licence applies when a piece of software
used within PrintEx, and uses a less restrictive licence or is
public domain. However, these items will be marked accordingly
with a link or reference of its origins.
The exception mentioned in the above paragraph only applies to the
particular lines of code that may be licensed differently, and does
not remove the GNU GPLv3 restrictions from the remainder of the
source which contains these items, or other source files used in
conjunction with them.
********************************************************************************/

#include "TypeTraits.h"
Expand Down
24 changes: 20 additions & 4 deletions src/lib/PrintConcat.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,24 @@
/********************************************************************************
Copyright 2015 Christopher Andrews.
https://github.com/Chris--A/PrintEx
Released under MIT licence.
Copyright 2016 Christopher Andrews.
https://github.com/Chris--A/PrintEx
Released using: GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007
You should have received a copy of the licence with the software
package. You can also view a copy of the full licence here:
https://github.com/Chris--A/PrintEx/blob/master/LICENSE
The only exception to the licence applies when a piece of software
used within PrintEx, and uses a less restrictive licence or is
public domain. However, these items will be marked accordingly
with a link or reference of its origins.
The exception mentioned in the above paragraph only applies to the
particular lines of code that may be licensed differently, and does
not remove the GNU GPLv3 restrictions from the remainder of the
source which contains these items, or other source files used in
conjunction with them.
********************************************************************************/

//Uses CRTP macros.
Expand Down
24 changes: 20 additions & 4 deletions src/lib/PrintExtension.cpp
Original file line number Diff line number Diff line change
@@ -1,8 +1,24 @@
/********************************************************************************
Copyright 2015 Christopher Andrews.
https://github.com/Chris--A/PrintEx
Released under MIT licence.
Copyright 2016 Christopher Andrews.
https://github.com/Chris--A/PrintEx
Released using: GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007
You should have received a copy of the licence with the software
package. You can also view a copy of the full licence here:
https://github.com/Chris--A/PrintEx/blob/master/LICENSE
The only exception to the licence applies when a piece of software
used within PrintEx, and uses a less restrictive licence or is
public domain. However, these items will be marked accordingly
with a link or reference of its origins.
The exception mentioned in the above paragraph only applies to the
particular lines of code that may be licensed differently, and does
not remove the GNU GPLv3 restrictions from the remainder of the
source which contains these items, or other source files used in
conjunction with them.
********************************************************************************/

#include "MemoryPrinter.h"
Expand Down
25 changes: 21 additions & 4 deletions src/lib/PrintExtension.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,26 @@
/********************************************************************************
Copyright 2015 Christopher Andrews.
https://github.com/Chris--A/PrintEx
Released under MIT licence.
Copyright 2016 Christopher Andrews.
https://github.com/Chris--A/PrintEx
Released using: GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007
You should have received a copy of the licence with the software
package. You can also view a copy of the full licence here:
https://github.com/Chris--A/PrintEx/blob/master/LICENSE
The only exception to the licence applies when a piece of software
used within PrintEx, and uses a less restrictive licence or is
public domain. However, these items will be marked accordingly
with a link or reference of its origins.
The exception mentioned in the above paragraph only applies to the
particular lines of code that may be licensed differently, and does
not remove the GNU GPLv3 restrictions from the remainder of the
source which contains these items, or other source files used in
conjunction with them.
********************************************************************************/

/********************************************************************************
PrintEx feature inclusion constants.
Expand Down
22 changes: 19 additions & 3 deletions src/lib/PrintRepeat.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,24 @@
/********************************************************************************
Copyright 2015 Christopher Andrews.
https://github.com/Chris--A/PrintEx
Copyright 2016 Christopher Andrews.
https://github.com/Chris--A/PrintEx
Released under MIT licence.
Released using: GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007
You should have received a copy of the licence with the software
package. You can also view a copy of the full licence here:
https://github.com/Chris--A/PrintEx/blob/master/LICENSE
The only exception to the licence applies when a piece of software
used within PrintEx, and uses a less restrictive licence or is
public domain. However, these items will be marked accordingly
with a link or reference of its origins.
The exception mentioned in the above paragraph only applies to the
particular lines of code that may be licensed differently, and does
not remove the GNU GPLv3 restrictions from the remainder of the
source which contains these items, or other source files used in
conjunction with them.
********************************************************************************/

//Uses CRTP macros.
Expand Down
22 changes: 19 additions & 3 deletions src/lib/PrintVariadic.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,24 @@
/********************************************************************************
Copyright 2015 Christopher Andrews.
https://github.com/Chris--A/PrintEx
Copyright 2016 Christopher Andrews.
https://github.com/Chris--A/PrintEx
Released under MIT licence.
Released using: GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007
You should have received a copy of the licence with the software
package. You can also view a copy of the full licence here:
https://github.com/Chris--A/PrintEx/blob/master/LICENSE
The only exception to the licence applies when a piece of software
used within PrintEx, and uses a less restrictive licence or is
public domain. However, these items will be marked accordingly
with a link or reference of its origins.
The exception mentioned in the above paragraph only applies to the
particular lines of code that may be licensed differently, and does
not remove the GNU GPLv3 restrictions from the remainder of the
source which contains these items, or other source files used in
conjunction with them.
********************************************************************************/

#include "TypeTraits.h"
Expand Down
38 changes: 29 additions & 9 deletions src/lib/StreamExtension.cpp
Original file line number Diff line number Diff line change
@@ -1,15 +1,35 @@
/********************************************************************************
Copyright 2016 Christopher Andrews.
https://github.com/Chris--A/PrintEx
Released using: GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007
You should have received a copy of the licence with the software
package. You can also view a copy of the full licence here:
https://github.com/Chris--A/PrintEx/blob/master/LICENSE
The only exception to the licence applies when a piece of software
used within PrintEx, and uses a less restrictive licence or is
public domain. However, these items will be marked accordingly
with a link or reference of its origins.
The exception mentioned in the above paragraph only applies to the
particular lines of code that may be licensed differently, and does
not remove the GNU GPLv3 restrictions from the remainder of the
source which contains these items, or other source files used in
conjunction with them.
********************************************************************************/
#include "Arduino.h"
#include "PrintExtension.h"
#include "StreamExtension.h"

pft StreamExtension::printf( const char *format, ... ){
va_list vList;
va_start( vList, format );

pft StreamExtension::printf( const char *format, ... ){
va_list vList;
va_start( vList, format );

PrintEx printer = *this;
const pft p_Return = printer._printf( format, vList );
va_end( vList );
return p_Return;
};
PrintEx printer = *this;
const pft p_Return = printer._printf( format, vList );
va_end( vList );
return p_Return;
};
Loading

0 comments on commit b1bfce1

Please sign in to comment.