From 230fcfd7501656fa83bf3a467c4377ec8f53eb5d Mon Sep 17 00:00:00 2001 From: Sergio Gonzalez Date: Fri, 24 Jul 2015 22:42:54 -0500 Subject: [PATCH] GPL notice --- LICENSE.txt | 61 --------------------------------------- src/canvas.h | 19 ++++++++++-- src/color.h | 19 ++++++++++-- src/metaprogram.c | 18 ++++++++++++ src/milton.h | 19 ++++++++++-- src/persist.h | 18 ++++++++++-- src/rasterizer.h | 18 ++++++++++-- src/sdl_milton.c | 18 ++++++++++++ src/system_includes.h | 18 ++++++++++++ src/utils.h | 19 ++++++++++-- src/win32_wacom.h | 18 ++++++++++++ src/win32_wacom_defines.h | 20 +++++++++++-- src/win_milton.c | 19 ++++++++++-- 13 files changed, 207 insertions(+), 77 deletions(-) diff --git a/LICENSE.txt b/LICENSE.txt index 640de1ef..c4a950e6 100644 --- a/LICENSE.txt +++ b/LICENSE.txt @@ -279,64 +279,3 @@ POSSIBILITY OF SUCH DAMAGES. END OF TERMS AND CONDITIONS -============================================================================== -TODO: put the GPL notice on source files. - - How to Apply These Terms to Your New Programs - - If you develop a new program, and you want it to be of the greatest -possible use to the public, the best way to achieve this is to make it -free software which everyone can redistribute and change under these terms. - - To do so, attach the following notices to the program. It is safest -to attach them to the start of each source file to most effectively -convey the exclusion of warranty; and each file should have at least -the "copyright" line and a pointer to where the full notice is found. - - {description} - Copyright (C) {year} {fullname} - - This program is free 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 2 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, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - -Also add information on how to contact you by electronic and paper mail. - -If the program is interactive, make it output a short notice like this -when it starts in an interactive mode: - - Gnomovision version 69, Copyright (C) year name of author - Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. - -The hypothetical commands `show w' and `show c' should show the appropriate -parts of the General Public License. Of course, the commands you use may -be called something other than `show w' and `show c'; they could even be -mouse-clicks or menu items--whatever suits your program. - -You should also get your employer (if you work as a programmer) or your -school, if any, to sign a "copyright disclaimer" for the program, if -necessary. Here is a sample; alter the names: - - Yoyodyne, Inc., hereby disclaims all copyright interest in the program - `Gnomovision' (which makes passes at compilers) written by James Hacker. - - {signature of Ty Coon}, 1 April 1989 - Ty Coon, President of Vice - -This General Public License does not permit incorporating your program into -proprietary programs. If your program is a subroutine library, you may -consider it more useful to permit linking proprietary applications with the -library. If this is what you want to do, use the GNU Lesser General -Public License instead of this License. diff --git a/src/canvas.h b/src/canvas.h index aeeec040..b4835588 100644 --- a/src/canvas.h +++ b/src/canvas.h @@ -1,5 +1,20 @@ -// canvas.h -// (c) Copyright 2015 by Sergio Gonzalez. +// Milton Paint +// Copyright (C) 2015 Sergio Gonzalez +// +// This program is free 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 2 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, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + typedef struct Brush_s { diff --git a/src/color.h b/src/color.h index 6692d6eb..2d726d53 100644 --- a/src/color.h +++ b/src/color.h @@ -1,5 +1,20 @@ -// color.h -// (c) Copyright 2015 by Sergio Gonzalez. +// Milton Paint +// Copyright (C) 2015 Sergio Gonzalez +// +// This program is free 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 2 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, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + typedef enum { diff --git a/src/metaprogram.c b/src/metaprogram.c index ea7000f1..da96c571 100644 --- a/src/metaprogram.c +++ b/src/metaprogram.c @@ -1,3 +1,21 @@ +// Milton Paint +// Copyright (C) 2015 Sergio Gonzalez +// +// This program is free 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 2 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, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + + #include "libnuwen/meta.h" int main() diff --git a/src/milton.h b/src/milton.h index 852bdb7e..8f8f125f 100644 --- a/src/milton.h +++ b/src/milton.h @@ -1,5 +1,20 @@ -// milton.h -// (c) Copyright 2015 by Sergio Gonzalez +// Milton Paint +// Copyright (C) 2015 Sergio Gonzalez +// +// This program is free 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 2 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, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + #ifdef __cplusplus extern "C" diff --git a/src/persist.h b/src/persist.h index 779fe6f9..80e25bea 100644 --- a/src/persist.h +++ b/src/persist.h @@ -1,5 +1,19 @@ -// persist.h -// (c) Copyright 2015 by Sergio Gonzalez +// Milton Paint +// Copyright (C) 2015 Sergio Gonzalez +// +// This program is free 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 2 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, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. #ifdef __cplusplus diff --git a/src/rasterizer.h b/src/rasterizer.h index 91e99a2c..9fd47956 100644 --- a/src/rasterizer.h +++ b/src/rasterizer.h @@ -1,5 +1,19 @@ -// rasterizer.h -// (c) Copyright 2015 by Sergio Gonzalez +// Milton Paint +// Copyright (C) 2015 Sergio Gonzalez +// +// This program is free 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 2 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, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. typedef struct ClippedStroke_s ClippedStroke; diff --git a/src/sdl_milton.c b/src/sdl_milton.c index 2b3b0dbf..ca71f908 100644 --- a/src/sdl_milton.c +++ b/src/sdl_milton.c @@ -1,3 +1,21 @@ +// Milton Paint +// Copyright (C) 2015 Sergio Gonzalez +// +// This program is free 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 2 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, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + + #include #include diff --git a/src/system_includes.h b/src/system_includes.h index 761bc1b8..ca8a514d 100644 --- a/src/system_includes.h +++ b/src/system_includes.h @@ -1,3 +1,21 @@ +// Milton Paint +// Copyright (C) 2015 Sergio Gonzalez +// +// This program is free 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 2 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, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + + #ifdef _WIN32 #pragma warning(push, 0) #endif diff --git a/src/utils.h b/src/utils.h index 5c2e206e..83fee2b3 100644 --- a/src/utils.h +++ b/src/utils.h @@ -1,5 +1,20 @@ -// utils.h -// (c) Copyright 2015 by Sergio Gonzalez. +// Milton Paint +// Copyright (C) 2015 Sergio Gonzalez +// +// This program is free 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 2 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, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + #pragma once diff --git a/src/win32_wacom.h b/src/win32_wacom.h index 11a00ae5..358bd391 100644 --- a/src/win32_wacom.h +++ b/src/win32_wacom.h @@ -1,3 +1,21 @@ +// Milton Paint +// Copyright (C) 2015 Sergio Gonzalez +// +// This program is free 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 2 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, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + + #pragma once #define GETPROCADDRESS(type, func) \ diff --git a/src/win32_wacom_defines.h b/src/win32_wacom_defines.h index 6f80a741..7b6f5835 100644 --- a/src/win32_wacom_defines.h +++ b/src/win32_wacom_defines.h @@ -1,5 +1,21 @@ -// win32_wacom_defines.h -// (c) Copyright 2015 by Sergio Gonzalez +// Milton Paint +// Copyright (C) 2015 Sergio Gonzalez +// +// This program is free 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 2 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, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + + // A lot of this is taken from the Wacom samples. diff --git a/src/win_milton.c b/src/win_milton.c index bbaaeba8..be1e8f12 100644 --- a/src/win_milton.c +++ b/src/win_milton.c @@ -1,5 +1,20 @@ -// win_milton.h -// (c) Copyright 2015 by Sergio Gonzalez +// Milton Paint +// Copyright (C) 2015 Sergio Gonzalez +// +// This program is free 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 2 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, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + #define MILTON_DESKTOP #include "system_includes.h"