Skip to content

Commit

Permalink
Removing copyright. This software is now entirely in the public domain.
Browse files Browse the repository at this point in the history
  • Loading branch information
richgel999 committed Sep 15, 2020
1 parent 44c8402 commit 57353fa
Show file tree
Hide file tree
Showing 137 changed files with 194 additions and 253 deletions.
2 changes: 1 addition & 1 deletion crnlib/crn_arealist.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// File: crn_arealist.cpp - 2D shape algebra (currently unused)
// See Copyright Notice and license at the end of inc/crnlib.h
// This software is in the public domain. Please see license.txt.
// Ported from the PowerView DOS image viewer, a product I wrote back in 1993. Not currently used in the open source release of crnlib.
#include "crn_core.h"
#include "crn_arealist.h"
Expand Down
2 changes: 1 addition & 1 deletion crnlib/crn_arealist.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// File: crn_arealist.h - 2D shape algebra
// See Copyright Notice and license at the end of inc/crnlib.h
// This software is in the public domain. Please see license.txt.
#pragma once

namespace crnlib
Expand Down
2 changes: 1 addition & 1 deletion crnlib/crn_assert.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// File: crn_assert.cpp
// See Copyright Notice and license at the end of inc/crnlib.h
// This software is in the public domain. Please see license.txt.
#include "crn_core.h"
#if CRNLIB_USE_WIN32_API
#include "crn_winhdr.h"
Expand Down
2 changes: 1 addition & 1 deletion crnlib/crn_assert.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// File: crn_assert.h
// See Copyright Notice and license at the end of inc/crnlib.h
// This software is in the public domain. Please see license.txt.
#pragma once

const unsigned int CRNLIB_FAIL_EXCEPTION_CODE = 256U;
Expand Down
2 changes: 1 addition & 1 deletion crnlib/crn_buffer_stream.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// File: crn_buffer_stream.h
// See Copyright Notice and license at the end of inc/crnlib.h
// This software is in the public domain. Please see license.txt.
#pragma once
#include "crn_data_stream.h"

Expand Down
2 changes: 1 addition & 1 deletion crnlib/crn_cfile_stream.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// File: crn_cfile_stream.h
// See Copyright Notice and license at the end of inc/crnlib.h
// This software is in the public domain. Please see license.txt.
#pragma once
#include "crn_data_stream.h"

Expand Down
2 changes: 1 addition & 1 deletion crnlib/crn_clusterizer.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// File: crn_clusterizer.h
// See Copyright Notice and license at the end of inc/crnlib.h
// This software is in the public domain. Please see license.txt.
#pragma once
#include "crn_matrix.h"

Expand Down
2 changes: 1 addition & 1 deletion crnlib/crn_color.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// File: crn_color.h
// See Copyright Notice and license at the end of inc/crnlib.h
// This software is in the public domain. Please see license.txt.
#pragma once
#include "crn_core.h"

Expand Down
2 changes: 1 addition & 1 deletion crnlib/crn_colorized_console.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// File: crn_colorized_console.cpp
// See Copyright Notice and license at the end of inc/crnlib.h
// This software is in the public domain. Please see license.txt.
#include "crn_core.h"
#include "crn_colorized_console.h"
#ifdef CRNLIB_USE_WIN32_API
Expand Down
2 changes: 1 addition & 1 deletion crnlib/crn_colorized_console.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// File: crn_colorized_console.h
// See Copyright Notice and license at the end of inc/crnlib.h
// This software is in the public domain. Please see license.txt.
#pragma once
#include "crn_console.h"

Expand Down
2 changes: 1 addition & 1 deletion crnlib/crn_command_line_params.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// File: crn_command_line_params.cpp
// See Copyright Notice and license at the end of inc/crnlib.h
// This software is in the public domain. Please see license.txt.
#include "crn_core.h"
#include "crn_command_line_params.h"
#include "crn_console.h"
Expand Down
2 changes: 1 addition & 1 deletion crnlib/crn_command_line_params.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// File: crn_command_line_params.h
// See Copyright Notice and license at the end of inc/crnlib.h
// This software is in the public domain. Please see license.txt.
#pragma once
#include "crn_value.h"
#include <map>
Expand Down
2 changes: 1 addition & 1 deletion crnlib/crn_comp.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// File: crn_comp.cpp
// See Copyright Notice and license at the end of inc/crnlib.h
// This software is in the public domain. Please see license.txt.
#include "crn_core.h"
#include "crn_console.h"
#include "crn_comp.h"
Expand Down
2 changes: 1 addition & 1 deletion crnlib/crn_comp.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// File: crn_comp.h
// See Copyright Notice and license at the end of inc/crnlib.h
// This software is in the public domain. Please see license.txt.
#pragma once

#define CRND_HEADER_FILE_ONLY
Expand Down
2 changes: 1 addition & 1 deletion crnlib/crn_console.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// File: crn_console.cpp
// See Copyright Notice and license at the end of inc/crnlib.h
// This software is in the public domain. Please see license.txt.
#include "crn_core.h"
#include "crn_console.h"
#include "crn_data_stream.h"
Expand Down
2 changes: 1 addition & 1 deletion crnlib/crn_console.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// File: crn_console.h
// See Copyright Notice and license at the end of inc/crnlib.h
// This software is in the public domain. Please see license.txt.
#pragma once
#include "crn_dynamic_string.h"

Expand Down
4 changes: 2 additions & 2 deletions crnlib/crn_core.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// File: crn_core.cpp
// See Copyright Notice and license at the end of inc/crnlib.h
// This software is in the public domain. Please see license.txt.
#include "crn_core.h"

#if CRNLIB_USE_WIN32_API
Expand All @@ -8,7 +8,7 @@

namespace crnlib
{
const char *g_copyright_str = "Copyright (c) 2010-2016 Richard Geldreich, Jr. All rights reserved.";
const char *g_copyright_str = "This is Public Domain Software, please see license.txt.";
const char *g_sig_str = "C8cfRlaorj0wLtnMSxrBJxTC85rho2L9hUZKHcBL";

} // namespace crnlib
2 changes: 1 addition & 1 deletion crnlib/crn_core.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// File: crn_core.h
// See Copyright Notice and license at the end of inc/crnlib.h
// This software is in the public domain. Please see license.txt.
#pragma once

#if defined(WIN32) && defined(_MSC_VER)
Expand Down
2 changes: 1 addition & 1 deletion crnlib/crn_data_stream.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// File: crn_data_stream.cpp
// See Copyright Notice and license at the end of inc/crnlib.h
// This software is in the public domain. Please see license.txt.
#include "crn_core.h"
#include "crn_data_stream.h"

Expand Down
2 changes: 1 addition & 1 deletion crnlib/crn_data_stream.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// File: crn_data_stream.h
// See Copyright Notice and license at the end of inc/crnlib.h
// This software is in the public domain. Please see license.txt.
#pragma once

namespace crnlib
Expand Down
2 changes: 1 addition & 1 deletion crnlib/crn_data_stream_serializer.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// File: data_stream_serializer.h
// See Copyright Notice and license at the end of inc/crnlib.h
// This software is in the public domain. Please see license.txt.
#pragma once
#include "crn_data_stream.h"

Expand Down
2 changes: 1 addition & 1 deletion crnlib/crn_dds_comp.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// File: crn_dds_comp.cpp
// See Copyright Notice and license at the end of inc/crnlib.h
// This software is in the public domain. Please see license.txt.
#include "crn_core.h"
#include "crn_dds_comp.h"
#include "crn_dynamic_stream.h"
Expand Down
2 changes: 1 addition & 1 deletion crnlib/crn_dds_comp.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// File: crn_comp.h
// See Copyright Notice and license at the end of inc/crnlib.h
// This software is in the public domain. Please see license.txt.
#pragma once
#include "crn_comp.h"
#include "crn_mipmapped_texture.h"
Expand Down
2 changes: 1 addition & 1 deletion crnlib/crn_decomp.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// File: crn_decomp.cpp
// See Copyright Notice and license at the end of inc/crnlib.h
// This software is in the public domain. Please see license.txt.
#include "crn_core.h"

// Include the single-file header library with no defines, which brings in the full CRN decompressor.
Expand Down
2 changes: 1 addition & 1 deletion crnlib/crn_dxt.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// File: crn_dxt.cpp
// See Copyright Notice and license at the end of inc/crnlib.h
// This software is in the public domain. Please see license.txt.
#include "crn_core.h"
#include "crn_dxt.h"
#include "crn_dxt1.h"
Expand Down
2 changes: 1 addition & 1 deletion crnlib/crn_dxt.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// File: crn_dxt.h
// See Copyright Notice and license at the end of inc/crnlib.h
// This software is in the public domain. Please see license.txt.
#pragma once
#include "../inc/crnlib.h"
#include "crn_color.h"
Expand Down
2 changes: 1 addition & 1 deletion crnlib/crn_dxt1.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// File: crn_dxt1.cpp
// See Copyright Notice and license at the end of inc/crnlib.h
// This software is in the public domain. Please see license.txt.
//
// Notes:
// This class is not optimized for performance on small blocks, unlike typical DXT1 compressors. It's optimized for scalability and quality:
Expand Down
2 changes: 1 addition & 1 deletion crnlib/crn_dxt1.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// File: crn_dxt1.h
// See Copyright Notice and license at the end of inc/crnlib.h
// This software is in the public domain. Please see license.txt.
#pragma once
#include "crn_dxt.h"

Expand Down
2 changes: 1 addition & 1 deletion crnlib/crn_dxt5a.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// File: crn_dxt5a.cpp
// See Copyright Notice and license at the end of inc/crnlib.h
// This software is in the public domain. Please see license.txt.
#include "crn_core.h"
#include "crn_dxt5a.h"
#include "crn_ryg_dxt.hpp"
Expand Down
2 changes: 1 addition & 1 deletion crnlib/crn_dxt5a.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// File: crn_dxt5a.h
// See Copyright Notice and license at the end of inc/crnlib.h
// This software is in the public domain. Please see license.txt.
#pragma once
#include "crn_dxt.h"

Expand Down
2 changes: 1 addition & 1 deletion crnlib/crn_dxt_endpoint_refiner.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// File: crn_dxt_endpoint_refiner.cpp
// See Copyright Notice and license at the end of inc/crnlib.h
// This software is in the public domain. Please see license.txt.
#include "crn_core.h"
#include "crn_dxt_endpoint_refiner.h"
#include "crn_dxt1.h"
Expand Down
2 changes: 1 addition & 1 deletion crnlib/crn_dxt_endpoint_refiner.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// File: crn_dxt_endpoint_refiner.h
// See Copyright Notice and license at the end of inc/crnlib.h
// This software is in the public domain. Please see license.txt.
#pragma once
#include "crn_dxt.h"

Expand Down
2 changes: 1 addition & 1 deletion crnlib/crn_dxt_fast.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// File: crn_dxt_fast.cpp
// See Copyright Notice and license at the end of inc/crnlib.h
// This software is in the public domain. Please see license.txt.
// Parts of this module are derived from RYG's excellent public domain DXTx compressor.
#include "crn_core.h"
#include "crn_dxt_fast.h"
Expand Down
2 changes: 1 addition & 1 deletion crnlib/crn_dxt_fast.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// File: crn_dxt_fast.h
// See Copyright Notice and license at the end of inc/crnlib.h
// This software is in the public domain. Please see license.txt.
#pragma once
#include "crn_color.h"
#include "crn_dxt.h"
Expand Down
2 changes: 1 addition & 1 deletion crnlib/crn_dxt_hc.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// File: crn_dxt_hc.cpp
// See Copyright Notice and license at the end of inc/crnlib.h
// This software is in the public domain. Please see license.txt.
#include "crn_core.h"
#include "crn_dxt_hc.h"
#include "crn_image_utils.h"
Expand Down
2 changes: 1 addition & 1 deletion crnlib/crn_dxt_hc.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// File: crn_dxt_hc.h
// See Copyright Notice and license at the end of inc/crnlib.h
// This software is in the public domain. Please see license.txt.
#pragma once
#include "crn_dxt1.h"
#include "crn_dxt5a.h"
Expand Down
2 changes: 1 addition & 1 deletion crnlib/crn_dxt_hc_common.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// File: crn_dxt_hc_common.cpp
// See Copyright Notice and license at the end of inc/crnlib.h
// This software is in the public domain. Please see license.txt.
#include "crn_core.h"
#include "crn_dxt_hc_common.h"

Expand Down
2 changes: 1 addition & 1 deletion crnlib/crn_dxt_hc_common.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// File: crn_dxt_hc_common.h
// See Copyright Notice and license at the end of inc/crnlib.h
// This software is in the public domain. Please see license.txt.
#pragma once

namespace crnlib
Expand Down
2 changes: 1 addition & 1 deletion crnlib/crn_dxt_image.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// File: crn_dxt_image.cpp
// See Copyright Notice and license at the end of inc/crnlib.h
// This software is in the public domain. Please see license.txt.
#include "crn_core.h"
#include "crn_dxt_image.h"
#if CRNLIB_SUPPORT_SQUISH
Expand Down
2 changes: 1 addition & 1 deletion crnlib/crn_dxt_image.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// File: crn_dxt_image.h
// See Copyright Notice and license at the end of inc/crnlib.h
// This software is in the public domain. Please see license.txt.
#pragma once
#include "crn_dxt1.h"
#include "crn_dxt5a.h"
Expand Down
2 changes: 1 addition & 1 deletion crnlib/crn_dynamic_stream.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// File: crn_dynamic_stream.h
// See Copyright Notice and license at the end of inc/crnlib.h
// This software is in the public domain. Please see license.txt.
#pragma once
#include "crn_data_stream.h"

Expand Down
2 changes: 1 addition & 1 deletion crnlib/crn_dynamic_string.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// File: crn_dynamic_string.cpp
// See Copyright Notice and license at the end of inc/crnlib.h
// This software is in the public domain. Please see license.txt.
#include "crn_core.h"
#include "crn_strutils.h"

Expand Down
2 changes: 1 addition & 1 deletion crnlib/crn_dynamic_string.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// File: crn_dynamic_string.h
// See Copyright Notice and license at the end of inc/crnlib.h
// This software is in the public domain. Please see license.txt.
#pragma once

namespace crnlib
Expand Down
2 changes: 1 addition & 1 deletion crnlib/crn_etc.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// File: crn_etc.cpp
// See Copyright Notice and license at the end of inc/crnlib.h
// This software is in the public domain. Please see license.txt.
#include "crn_core.h"
#include "crn_etc.h"
#include "crn_radix_sort.h"
Expand Down
2 changes: 1 addition & 1 deletion crnlib/crn_etc.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// File: crn_etc.h
// See Copyright Notice and license at the end of inc/crnlib.h
// This software is in the public domain. Please see license.txt.
#pragma once
#include "../inc/crnlib.h"
#include "crn_dxt.h"
Expand Down
2 changes: 1 addition & 1 deletion crnlib/crn_file_utils.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// File: crn_file_utils.cpp
// See Copyright Notice and license at the end of inc/crnlib.h
// This software is in the public domain. Please see license.txt.
#include "crn_core.h"
#include "crn_file_utils.h"
#include "crn_strutils.h"
Expand Down
2 changes: 1 addition & 1 deletion crnlib/crn_file_utils.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// File: crn_file_utils.h
// See Copyright Notice and license at the end of inc/crnlib.h
// This software is in the public domain. Please see license.txt.
#pragma once

namespace crnlib
Expand Down
2 changes: 1 addition & 1 deletion crnlib/crn_find_files.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// File: crn_win32_find_files.cpp
// See Copyright Notice and license at the end of inc/crnlib.h
// This software is in the public domain. Please see license.txt.
#include "crn_core.h"
#include "crn_find_files.h"
#include "crn_file_utils.h"
Expand Down
2 changes: 1 addition & 1 deletion crnlib/crn_find_files.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// File: crn_win32_find_files.h
// See Copyright Notice and license at the end of inc/crnlib.h
// This software is in the public domain. Please see license.txt.
#pragma once

namespace crnlib
Expand Down
2 changes: 1 addition & 1 deletion crnlib/crn_freeimage_image_utils.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// File: crn_freeimage_image_utils.h
// See Copyright Notice and license at the end of inc/crnlib.h
// This software is in the public domain. Please see license.txt.
// Note: This header file requires FreeImage/FreeImagePlus.

#include "crn_image_utils.h"
Expand Down
2 changes: 1 addition & 1 deletion crnlib/crn_hash.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// File: crn_hash.h
// See Copyright Notice and license at the end of inc/crnlib.h
// This software is in the public domain. Please see license.txt.
#pragma once

namespace crnlib
Expand Down
2 changes: 1 addition & 1 deletion crnlib/crn_hash_map.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// File: crn_hash_map.cpp
// See Copyright Notice and license at the end of inc/crnlib.h
// This software is in the public domain. Please see license.txt.
#include "crn_core.h"
#include "crn_hash_map.h"
#include "crn_rand.h"
Expand Down
2 changes: 1 addition & 1 deletion crnlib/crn_hash_map.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// File: crn_hash_map.h
// See Copyright Notice and license at the end of inc/crnlib.h
// This software is in the public domain. Please see license.txt.
//
// Notes:
// stl-like hash map/hash set, with predictable performance across platforms/compilers/C run times/etc.
Expand Down
2 changes: 1 addition & 1 deletion crnlib/crn_helpers.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// File: crn_helpers.h
// See Copyright Notice and license at the end of inc/crnlib.h
// This software is in the public domain. Please see license.txt.
#pragma once

#define CRNLIB_NO_COPY_OR_ASSIGNMENT_OP(c) c(const c&); c& operator= (const c&);
Expand Down
2 changes: 1 addition & 1 deletion crnlib/crn_huffman_codes.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// File: crn_huffman_codes.cpp
// See Copyright Notice and license at the end of inc/crnlib.h
// This software is in the public domain. Please see license.txt.
#include "crn_core.h"
#include "crn_huffman_codes.h"

Expand Down
Loading

0 comments on commit 57353fa

Please sign in to comment.