Skip to content

Commit

Permalink
Switch to GPL license
Browse files Browse the repository at this point in the history
  • Loading branch information
Joshua Minter committed Jul 18, 2020
1 parent 365ac11 commit 4dfe64f
Show file tree
Hide file tree
Showing 29 changed files with 1,172 additions and 448 deletions.
25 changes: 25 additions & 0 deletions .vscode/copyright.code-snippets
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"copyright": {
"prefix": "copyright",
"body": [
"/*",
" * Copyright (C) 2020 Joshua Minter",
" *",
" * This file is part of ReplaySorcery.",
" *",
" * ReplaySorcery 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 3 of the License, or",
" * (at your option) any later version.",
" *",
" * ReplaySorcery 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 ReplaySorcery. If not, see <https://www.gnu.org/licenses/>.",
" */"
]
}
}
674 changes: 674 additions & 0 deletions COPYING

Large diffs are not rendered by default.

373 changes: 0 additions & 373 deletions LICENSE

This file was deleted.

21 changes: 18 additions & 3 deletions src/compress.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,21 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
/*
* Copyright (C) 2020 Joshua Minter
*
* This file is part of ReplaySorcery.
*
* ReplaySorcery 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 3 of the License, or
* (at your option) any later version.
*
* ReplaySorcery 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 ReplaySorcery. If not, see <https://www.gnu.org/licenses/>.
*/

#include "compress.h"
#include "util/log.h"
Expand Down
21 changes: 18 additions & 3 deletions src/compress.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,21 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
/*
* Copyright (C) 2020 Joshua Minter
*
* This file is part of ReplaySorcery.
*
* ReplaySorcery 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 3 of the License, or
* (at your option) any later version.
*
* ReplaySorcery 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 ReplaySorcery. If not, see <https://www.gnu.org/licenses/>.
*/

#ifndef RS_COMPRESS_H
#define RS_COMPRESS_H
Expand Down
21 changes: 18 additions & 3 deletions src/config.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,21 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
/*
* Copyright (C) 2020 Joshua Minter
*
* This file is part of ReplaySorcery.
*
* ReplaySorcery 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 3 of the License, or
* (at your option) any later version.
*
* ReplaySorcery 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 ReplaySorcery. If not, see <https://www.gnu.org/licenses/>.
*/

#include "config.h"
#include "util/buffer.h"
Expand Down
21 changes: 18 additions & 3 deletions src/config.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,21 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
/*
* Copyright (C) 2020 Joshua Minter
*
* This file is part of ReplaySorcery.
*
* ReplaySorcery 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 3 of the License, or
* (at your option) any later version.
*
* ReplaySorcery 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 ReplaySorcery. If not, see <https://www.gnu.org/licenses/>.
*/

#ifndef RS_CONFIG_H
#define RS_CONFIG_H
Expand Down
25 changes: 22 additions & 3 deletions src/main.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,21 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
/*
* Copyright (C) 2020 Joshua Minter
*
* This file is part of ReplaySorcery.
*
* ReplaySorcery 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 3 of the License, or
* (at your option) any later version.
*
* ReplaySorcery 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 ReplaySorcery. If not, see <https://www.gnu.org/licenses/>.
*/

#include "compress.h"
#include "config.h"
Expand Down Expand Up @@ -43,6 +58,10 @@ int main(int argc, char *argv[]) {
signal(SIGFPE, mainSignal);
signal(SIGINT, mainSignal);
signal(SIGTERM, mainSignal);
rsLog("ReplaySorcery Copyright (C) 2020 Joshua Minter");
rsLog("This program comes with ABSOLUTELY NO WARRANTY.");
rsLog("This is free software, and you are welcome to redistribute it");
rsLog("under certain conditions; see COPYING for details.");

RSConfig config;
RSSystem system;
Expand Down
21 changes: 18 additions & 3 deletions src/std.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,21 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
/*
* Copyright (C) 2020 Joshua Minter
*
* This file is part of ReplaySorcery.
*
* ReplaySorcery 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 3 of the License, or
* (at your option) any later version.
*
* ReplaySorcery 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 ReplaySorcery. If not, see <https://www.gnu.org/licenses/>.
*/

#ifndef RS_STD_H
#define RS_STD_H
Expand Down
21 changes: 18 additions & 3 deletions src/system/framerate.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,21 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
/*
* Copyright (C) 2020 Joshua Minter
*
* This file is part of ReplaySorcery.
*
* ReplaySorcery 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 3 of the License, or
* (at your option) any later version.
*
* ReplaySorcery 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 ReplaySorcery. If not, see <https://www.gnu.org/licenses/>.
*/

#include "framerate.h"

Expand Down
21 changes: 18 additions & 3 deletions src/system/framerate.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,21 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
/*
* Copyright (C) 2020 Joshua Minter
*
* This file is part of ReplaySorcery.
*
* ReplaySorcery 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 3 of the License, or
* (at your option) any later version.
*
* ReplaySorcery 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 ReplaySorcery. If not, see <https://www.gnu.org/licenses/>.
*/

#ifndef RS_SYSTEM_FRAMERATE_H
#define RS_SYSTEM_FRAMERATE_H
Expand Down
21 changes: 18 additions & 3 deletions src/system/system.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,21 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
/*
* Copyright (C) 2020 Joshua Minter
*
* This file is part of ReplaySorcery.
*
* ReplaySorcery 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 3 of the License, or
* (at your option) any later version.
*
* ReplaySorcery 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 ReplaySorcery. If not, see <https://www.gnu.org/licenses/>.
*/

#include "system.h"
#include "../util/memory.h"
Expand Down
21 changes: 18 additions & 3 deletions src/system/system.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,21 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
/*
* Copyright (C) 2020 Joshua Minter
*
* This file is part of ReplaySorcery.
*
* ReplaySorcery 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 3 of the License, or
* (at your option) any later version.
*
* ReplaySorcery 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 ReplaySorcery. If not, see <https://www.gnu.org/licenses/>.
*/

#ifndef RS_SYSTEM_H
#define RS_SYSTEM_H
Expand Down
21 changes: 18 additions & 3 deletions src/system/xlib.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,21 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
/*
* Copyright (C) 2020 Joshua Minter
*
* This file is part of ReplaySorcery.
*
* ReplaySorcery 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 3 of the License, or
* (at your option) any later version.
*
* ReplaySorcery 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 ReplaySorcery. If not, see <https://www.gnu.org/licenses/>.
*/

#include "xlib.h"
#include "../util/log.h"
Expand Down
21 changes: 18 additions & 3 deletions src/system/xlib.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,21 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
/*
* Copyright (C) 2020 Joshua Minter
*
* This file is part of ReplaySorcery.
*
* ReplaySorcery 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 3 of the License, or
* (at your option) any later version.
*
* ReplaySorcery 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 ReplaySorcery. If not, see <https://www.gnu.org/licenses/>.
*/

#ifndef RS_SYSTEM_XCB_H
#define RS_SYSTEM_XCB_H
Expand Down
21 changes: 18 additions & 3 deletions src/util/buffer.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,21 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
/*
* Copyright (C) 2020 Joshua Minter
*
* This file is part of ReplaySorcery.
*
* ReplaySorcery 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 3 of the License, or
* (at your option) any later version.
*
* ReplaySorcery 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 ReplaySorcery. If not, see <https://www.gnu.org/licenses/>.
*/

#include "buffer.h"
#include "memory.h"
Expand Down
21 changes: 18 additions & 3 deletions src/util/buffer.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,21 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
/*
* Copyright (C) 2020 Joshua Minter
*
* This file is part of ReplaySorcery.
*
* ReplaySorcery 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 3 of the License, or
* (at your option) any later version.
*
* ReplaySorcery 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 ReplaySorcery. If not, see <https://www.gnu.org/licenses/>.
*/

#ifndef RS_UTIL_BUFFER_H
#define RS_UTIL_BUFFER_H
Expand Down
Loading

0 comments on commit 4dfe64f

Please sign in to comment.