mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
AUTHORS and more copyright comments are redundant with CONTRIBUTORS.rst (#1227)
This commit is contained in:
@@ -1,7 +1,3 @@
|
|||||||
# This file is part of RGBDS.
|
|
||||||
#
|
|
||||||
# Copyright (c) 2018-2019, Phil Smith and RGBDS contributors.
|
|
||||||
#
|
|
||||||
# SPDX-License-Identifier: MIT
|
# SPDX-License-Identifier: MIT
|
||||||
.git
|
.git
|
||||||
docs
|
docs
|
||||||
|
|||||||
21
AUTHORS
21
AUTHORS
@@ -1,21 +0,0 @@
|
|||||||
# This is the list of RGBDS's significant contributors.
|
|
||||||
#
|
|
||||||
# This does not necessarily list everyone who has contributed code.
|
|
||||||
# To see the full list of contributors, see the revision history in
|
|
||||||
# source control.
|
|
||||||
|
|
||||||
Anthony J. Bentley
|
|
||||||
Antonio Niño Díaz
|
|
||||||
Antonio Vivace
|
|
||||||
Ben Hetherington (Ben10do)
|
|
||||||
Carsten Sørensen
|
|
||||||
David Brotz
|
|
||||||
Eldred Habert (ISSOtm)
|
|
||||||
Jakub Kądziołka
|
|
||||||
James Larrowe (JL2210)
|
|
||||||
Justin Lloyd (Otaku no Zoku)
|
|
||||||
Sanqui
|
|
||||||
stag019
|
|
||||||
Sylvie Oukaour (Rangi42)
|
|
||||||
Vegard Nossum
|
|
||||||
yenatch (padz)
|
|
||||||
@@ -1,10 +1,4 @@
|
|||||||
#
|
|
||||||
# This file is part of RGBDS.
|
|
||||||
#
|
|
||||||
# Copyright (c) 2020 RGBDS contributors.
|
|
||||||
#
|
|
||||||
# SPDX-License-Identifier: MIT
|
# SPDX-License-Identifier: MIT
|
||||||
#
|
|
||||||
|
|
||||||
# 3.9 required for LTO checks
|
# 3.9 required for LTO checks
|
||||||
cmake_minimum_required(VERSION 3.9 FATAL_ERROR)
|
cmake_minimum_required(VERSION 3.9 FATAL_ERROR)
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ Main contributors
|
|||||||
|
|
||||||
- Eldred "ISSOtm" Habert <eldredhabert0@gmail.com>
|
- Eldred "ISSOtm" Habert <eldredhabert0@gmail.com>
|
||||||
|
|
||||||
- Rangi <http://github.com/Rangi42>
|
- Sylvie "Rangi" Oukaour <http://github.com/Rangi42>
|
||||||
|
|
||||||
Other contributors
|
Other contributors
|
||||||
------------------
|
------------------
|
||||||
|
|||||||
8
Makefile
8
Makefile
@@ -1,10 +1,4 @@
|
|||||||
#
|
|
||||||
# This file is part of RGBDS.
|
|
||||||
#
|
|
||||||
# Copyright (c) 1997-2018, Carsten Sorensen and RGBDS contributors.
|
|
||||||
#
|
|
||||||
# SPDX-License-Identifier: MIT
|
# SPDX-License-Identifier: MIT
|
||||||
#
|
|
||||||
|
|
||||||
.SUFFIXES:
|
.SUFFIXES:
|
||||||
.SUFFIXES: .cpp .y .o
|
.SUFFIXES: .cpp .y .o
|
||||||
@@ -140,7 +134,7 @@ test/gfx/rgbgfx_test: test/gfx/rgbgfx_test.cpp
|
|||||||
# We want the Bison invocation to pass through our rules, not default ones
|
# We want the Bison invocation to pass through our rules, not default ones
|
||||||
.y.o:
|
.y.o:
|
||||||
|
|
||||||
# Bison-generated C files have an accompanying header
|
# Bison-generated C++ files have an accompanying header
|
||||||
src/asm/parser.hpp: src/asm/parser.cpp
|
src/asm/parser.hpp: src/asm/parser.cpp
|
||||||
$Qtouch $@
|
$Qtouch $@
|
||||||
|
|
||||||
|
|||||||
@@ -95,7 +95,7 @@ The RGBDS source code file structure somewhat resembles the following:
|
|||||||
|
|
||||||
* ``bash_compl`` contains tab completion scripts for use with bash. Run them with ``source`` somewhere in your ``.bashrc``, and they should load every time you open a shell.
|
* ``bash_compl`` contains tab completion scripts for use with bash. Run them with ``source`` somewhere in your ``.bashrc``, and they should load every time you open a shell.
|
||||||
|
|
||||||
- ``include/`` - header files for each respective C files in `src`.
|
- ``include/`` - header files for the respective source files in `src`.
|
||||||
|
|
||||||
- ``man/`` - manual pages.
|
- ``man/`` - manual pages.
|
||||||
|
|
||||||
@@ -106,13 +106,13 @@ The RGBDS source code file structure somewhat resembles the following:
|
|||||||
|
|
||||||
- ``test/`` - testing framework used to verify that changes to the code don't break or modify the behavior of RGBDS.
|
- ``test/`` - testing framework used to verify that changes to the code don't break or modify the behavior of RGBDS.
|
||||||
|
|
||||||
- ``.clang-format`` - code style for automated formatting with |clang-format|_. The C code does not currently follow this style, but all C++ code should.
|
- ``.clang-format`` - code style for automated C++ formatting with |clang-format|_.
|
||||||
|
|
||||||
3. History
|
3. History
|
||||||
----------
|
----------
|
||||||
|
|
||||||
- Around 1997, Carsten Sørensen (AKA SurfSmurf) writes ASMotor as a
|
- Around 1997, Carsten Sørensen (AKA SurfSmurf) writes ASMotor as a
|
||||||
general-purpose assembler/linker system for DOS/Win32
|
general-purpose assembler/linker system for DOS/Win32.
|
||||||
|
|
||||||
- Around 1999, Justin Lloyd (AKA Otaku no Zoku) adapts ASMotor to read and
|
- Around 1999, Justin Lloyd (AKA Otaku no Zoku) adapts ASMotor to read and
|
||||||
produce GBZ80 assembly/machine code, and releases this version as RGBDS.
|
produce GBZ80 assembly/machine code, and releases this version as RGBDS.
|
||||||
@@ -122,7 +122,7 @@ The RGBDS source code file structure somewhat resembles the following:
|
|||||||
`GitHub <https://github.com/vegard/rgbds-linux>`__.
|
`GitHub <https://github.com/vegard/rgbds-linux>`__.
|
||||||
|
|
||||||
- 2010, Anthony J. Bentley forks that repository. The fork becomes the reference
|
- 2010, Anthony J. Bentley forks that repository. The fork becomes the reference
|
||||||
implementation of rgbds.
|
implementation of RGBDS.
|
||||||
|
|
||||||
- 2017, Bentley's repository is moved to a neutral name.
|
- 2017, Bentley's repository is moved to a neutral name.
|
||||||
|
|
||||||
|
|||||||
@@ -1,26 +1,6 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
# SPDX-License-Identifier: MIT
|
# SPDX-License-Identifier: MIT
|
||||||
#
|
|
||||||
# Copyright (c) 2021 Rangi
|
|
||||||
#
|
|
||||||
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
||||||
# of this software and associated documentation files (the "Software"), to deal
|
|
||||||
# in the Software without restriction, including without limitation the rights
|
|
||||||
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
||||||
# copies of the Software, and to permit persons to whom the Software is
|
|
||||||
# furnished to do so, subject to the following conditions:
|
|
||||||
#
|
|
||||||
# The above copyright notice and this permission notice shall be included in all
|
|
||||||
# copies or substantial portions of the Software.
|
|
||||||
#
|
|
||||||
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
||||||
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
||||||
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
||||||
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
||||||
# SOFTWARE.
|
|
||||||
|
|
||||||
declare -A FILES
|
declare -A FILES
|
||||||
while read -r -d '' file; do
|
while read -r -d '' file; do
|
||||||
|
|||||||
@@ -1,26 +1,6 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
# SPDX-License-Identifier: MIT
|
# SPDX-License-Identifier: MIT
|
||||||
#
|
|
||||||
# Copyright (c) 2020 Eldred Habert
|
|
||||||
#
|
|
||||||
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
||||||
# of this software and associated documentation files (the "Software"), to deal
|
|
||||||
# in the Software without restriction, including without limitation the rights
|
|
||||||
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
||||||
# copies of the Software, and to permit persons to whom the Software is
|
|
||||||
# furnished to do so, subject to the following conditions:
|
|
||||||
#
|
|
||||||
# The above copyright notice and this permission notice shall be included in all
|
|
||||||
# copies or substantial portions of the Software.
|
|
||||||
#
|
|
||||||
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
||||||
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
||||||
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
||||||
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
||||||
# SOFTWARE.
|
|
||||||
|
|
||||||
STATE=0
|
STATE=0
|
||||||
diff <(xxd "$1") <(xxd "$2") | while read -r LINE; do
|
diff <(xxd "$1") <(xxd "$2") | while read -r LINE; do
|
||||||
|
|||||||
23
include/extern/getopt.hpp
vendored
23
include/extern/getopt.hpp
vendored
@@ -1,25 +1,4 @@
|
|||||||
/*
|
/* SPDX-License-Identifier: MIT */
|
||||||
* Copyright © 2005-2020 Rich Felker, et al.
|
|
||||||
*
|
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining
|
|
||||||
* a copy of this software and associated documentation files (the
|
|
||||||
* "Software"), to deal in the Software without restriction, including
|
|
||||||
* without limitation the rights to use, copy, modify, merge, publish,
|
|
||||||
* distribute, sublicense, and/or sell copies of the Software, and to
|
|
||||||
* permit persons to whom the Software is furnished to do so, subject to
|
|
||||||
* the following conditions:
|
|
||||||
*
|
|
||||||
* The above copyright notice and this permission notice shall be
|
|
||||||
* included in all copies or substantial portions of the Software.
|
|
||||||
*
|
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/* This implementation was taken from musl and modified for RGBDS */
|
/* This implementation was taken from musl and modified for RGBDS */
|
||||||
|
|
||||||
|
|||||||
6
src/extern/getopt.cpp
vendored
6
src/extern/getopt.cpp
vendored
@@ -1,8 +1,4 @@
|
|||||||
/*
|
/* SPDX-License-Identifier: MIT */
|
||||||
* Copyright (c) 2005-2020 Rich Felker, et al.
|
|
||||||
*
|
|
||||||
* SPDX-License-Identifier: MIT
|
|
||||||
*/
|
|
||||||
|
|
||||||
/* This implementation was taken from musl and modified for RGBDS */
|
/* This implementation was taken from musl and modified for RGBDS */
|
||||||
|
|
||||||
|
|||||||
10
src/extern/utf8decoder.cpp
vendored
10
src/extern/utf8decoder.cpp
vendored
@@ -1,12 +1,6 @@
|
|||||||
/*
|
/* SPDX-License-Identifier: MIT */
|
||||||
* Copyright (c) 2008-2009, Björn Höhrmann <bjoern@hoehrmann.de>
|
|
||||||
*
|
|
||||||
* SPDX-License-Identifier: MIT
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*
|
/* UTF-8 decoder: http://bjoern.hoehrmann.de/utf-8/decoder/dfa/ */
|
||||||
* UTF-8 decoder: http://bjoern.hoehrmann.de/utf-8/decoder/dfa/
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/* SPDX-License-Identifier: MIT */
|
/* SPDX-License-Identifier: MIT */
|
||||||
|
|
||||||
// Mathematical operators that don't reuse C's behavior
|
// Mathematical operators that don't reuse C++'s behavior
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
@@ -74,7 +74,7 @@ int32_t op_shift_right(int32_t value, int32_t amount)
|
|||||||
// 1->0x80000000, 2->0xC0000000, ..., 31->0xFFFFFFFE
|
// 1->0x80000000, 2->0xC0000000, ..., 31->0xFFFFFFFE
|
||||||
uint32_t amount_high_bits = -(UINT32_C(1) << (32 - amount));
|
uint32_t amount_high_bits = -(UINT32_C(1) << (32 - amount));
|
||||||
|
|
||||||
// The C standard leaves shifting right negative values
|
// The C++ standard leaves shifting right negative values
|
||||||
// undefined, so use a left shift manually sign-extended
|
// undefined, so use a left shift manually sign-extended
|
||||||
return ((uint32_t)value >> amount) | amount_high_bits;
|
return ((uint32_t)value >> amount) | amount_high_bits;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user