summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2014-05-27 17:15:56 -0700
committerLei Zhang <thestig@chromium.org>2014-05-27 17:15:56 -0700
commit6387aff0a543070a5bbeb78e24113b111dcf690f (patch)
treed558473081120cf844f3f89fdf8d8c0c8ea9c1fe
parent33729cd958b7ef62c00dd7a0aa6ae3bf39ccec66 (diff)
downloadpdfium-6387aff0a543070a5bbeb78e24113b111dcf690f.tar.xz
Fix licenses in headers to pass Chromium's checklicenses tool.
BUG=chromium:374943 R=jam@chromium.org Review URL: https://codereview.chromium.org/303723004
-rw-r--r--core/include/thirdparties/freetype/foxitnames.h6
-rw-r--r--core/include/thirdparties/freetype/freetype/config/ftmodule.h17
-rw-r--r--core/include/thirdparties/freetype/freetype/ftchapters.h120
-rw-r--r--core/include/thirdparties/libjpeg/jconfig.h6
-rw-r--r--core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/opj_config.h6
-rw-r--r--core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/opj_config_private.h6
-rw-r--r--core/src/fxcodec/fx_zlib/zlib_v128/trees.h1
-rw-r--r--core/src/fxcodec/libjpeg/jconfig.h6
-rw-r--r--core/src/fxge/fx_freetype/fxft2.5.01/include/foxitnames.h6
-rw-r--r--core/src/fxge/fx_freetype/fxft2.5.01/include/freetype/config/ftmodule.h17
-rw-r--r--core/src/fxge/fx_freetype/fxft2.5.01/include/freetype/ftchapters.h120
11 files changed, 71 insertions, 240 deletions
diff --git a/core/include/thirdparties/freetype/foxitnames.h b/core/include/thirdparties/freetype/foxitnames.h
index e163fb86f0..1ef8394b01 100644
--- a/core/include/thirdparties/freetype/foxitnames.h
+++ b/core/include/thirdparties/freetype/foxitnames.h
@@ -1,3 +1,9 @@
+// Copyright 2014 PDFium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
+
#ifndef _FX_FREETYPE_DONT_RENAME_
// To avoid any possible linking confliction, we rename all FreeType exported names
diff --git a/core/include/thirdparties/freetype/freetype/config/ftmodule.h b/core/include/thirdparties/freetype/freetype/config/ftmodule.h
index 0d31ce6932..fb255743a7 100644
--- a/core/include/thirdparties/freetype/freetype/config/ftmodule.h
+++ b/core/include/thirdparties/freetype/freetype/config/ftmodule.h
@@ -1,3 +1,20 @@
+/***************************************************************************/
+/* */
+/* ftmodule.h */
+/* */
+/* FreeType modules public interface (specification). */
+/* */
+/* Copyright 1996-2001, 2002, 2003 by */
+/* David Turner, Robert Wilhelm, and Werner Lemberg. */
+/* */
+/* This file is part of the FreeType project, and may only be used, */
+/* modified, and distributed under the terms of the FreeType project */
+/* license, LICENSE.TXT. By continuing to use, modify, or distribute */
+/* this file you indicate that you have read the license and */
+/* understand and accept it fully. */
+/* */
+/***************************************************************************/
+
/*
* This file registers the FreeType modules compiled into the library.
*
diff --git a/core/include/thirdparties/freetype/freetype/ftchapters.h b/core/include/thirdparties/freetype/freetype/ftchapters.h
deleted file mode 100644
index c55670d1d2..0000000000
--- a/core/include/thirdparties/freetype/freetype/ftchapters.h
+++ /dev/null
@@ -1,120 +0,0 @@
-/***************************************************************************/
-/* */
-/* This file defines the structure of the FreeType reference. */
-/* It is used by the python script which generates the HTML files. */
-/* */
-/***************************************************************************/
-
-
-/***************************************************************************/
-/* */
-/* <Chapter> */
-/* general_remarks */
-/* */
-/* <Title> */
-/* General Remarks */
-/* */
-/* <Sections> */
-/* user_allocation */
-/* */
-/***************************************************************************/
-
-
-/***************************************************************************/
-/* */
-/* <Chapter> */
-/* core_api */
-/* */
-/* <Title> */
-/* Core API */
-/* */
-/* <Sections> */
-/* version */
-/* basic_types */
-/* base_interface */
-/* glyph_variants */
-/* glyph_management */
-/* mac_specific */
-/* sizes_management */
-/* header_file_macros */
-/* */
-/***************************************************************************/
-
-
-/***************************************************************************/
-/* */
-/* <Chapter> */
-/* format_specific */
-/* */
-/* <Title> */
-/* Format-Specific API */
-/* */
-/* <Sections> */
-/* multiple_masters */
-/* truetype_tables */
-/* type1_tables */
-/* sfnt_names */
-/* bdf_fonts */
-/* cid_fonts */
-/* pfr_fonts */
-/* winfnt_fonts */
-/* font_formats */
-/* gasp_table */
-/* */
-/***************************************************************************/
-
-
-/***************************************************************************/
-/* */
-/* <Chapter> */
-/* module_specific */
-/* */
-/* <Title> */
-/* Controlling FreeType Modules */
-/* */
-/* <Sections> */
-/* auto_hinter */
-/* cff_driver */
-/* tt_driver */
-/* */
-/***************************************************************************/
-
-
-/***************************************************************************/
-/* */
-/* <Chapter> */
-/* cache_subsystem */
-/* */
-/* <Title> */
-/* Cache Sub-System */
-/* */
-/* <Sections> */
-/* cache_subsystem */
-/* */
-/***************************************************************************/
-
-
-/***************************************************************************/
-/* */
-/* <Chapter> */
-/* support_api */
-/* */
-/* <Title> */
-/* Support API */
-/* */
-/* <Sections> */
-/* computations */
-/* list_processing */
-/* outline_processing */
-/* quick_advance */
-/* bitmap_handling */
-/* raster */
-/* glyph_stroker */
-/* system_interface */
-/* module_management */
-/* gzip */
-/* lzw */
-/* bzip2 */
-/* lcd_filtering */
-/* */
-/***************************************************************************/
diff --git a/core/include/thirdparties/libjpeg/jconfig.h b/core/include/thirdparties/libjpeg/jconfig.h
index 7e291c75bd..ea3c397799 100644
--- a/core/include/thirdparties/libjpeg/jconfig.h
+++ b/core/include/thirdparties/libjpeg/jconfig.h
@@ -1,3 +1,9 @@
+// Copyright 2014 PDFium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
+
/* jconfig.vc --- jconfig.h for Microsoft Visual C++ on Windows 95 or NT. */
/* see jconfig.doc for explanations */
diff --git a/core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/opj_config.h b/core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/opj_config.h
index 2f91e850a1..0ee74192dd 100644
--- a/core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/opj_config.h
+++ b/core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/opj_config.h
@@ -1,2 +1,8 @@
+// Copyright 2014 PDFium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
+
/* create opj_config.h for CMake */
#define OPJ_HAVE_STDINT_H 1
diff --git a/core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/opj_config_private.h b/core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/opj_config_private.h
index 37077fc961..b0d3a351bb 100644
--- a/core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/opj_config_private.h
+++ b/core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/opj_config_private.h
@@ -1,3 +1,9 @@
+// Copyright 2014 PDFium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
+
/* create opj_config_private.h for CMake */
/* #undef OPJ_HAVE_INTTYPES_H */
diff --git a/core/src/fxcodec/fx_zlib/zlib_v128/trees.h b/core/src/fxcodec/fx_zlib/zlib_v128/trees.h
index d35639d82a..8a09b5803a 100644
--- a/core/src/fxcodec/fx_zlib/zlib_v128/trees.h
+++ b/core/src/fxcodec/fx_zlib/zlib_v128/trees.h
@@ -1,3 +1,4 @@
+/* GENERATED FILE */
/* header created automatically with -DGEN_TREES_H */
local const ct_data static_ltree[L_CODES+2] = {
diff --git a/core/src/fxcodec/libjpeg/jconfig.h b/core/src/fxcodec/libjpeg/jconfig.h
index 7e291c75bd..ea3c397799 100644
--- a/core/src/fxcodec/libjpeg/jconfig.h
+++ b/core/src/fxcodec/libjpeg/jconfig.h
@@ -1,3 +1,9 @@
+// Copyright 2014 PDFium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
+
/* jconfig.vc --- jconfig.h for Microsoft Visual C++ on Windows 95 or NT. */
/* see jconfig.doc for explanations */
diff --git a/core/src/fxge/fx_freetype/fxft2.5.01/include/foxitnames.h b/core/src/fxge/fx_freetype/fxft2.5.01/include/foxitnames.h
index c5ccbaf64a..76217fc0ce 100644
--- a/core/src/fxge/fx_freetype/fxft2.5.01/include/foxitnames.h
+++ b/core/src/fxge/fx_freetype/fxft2.5.01/include/foxitnames.h
@@ -1,3 +1,9 @@
+// Copyright 2014 PDFium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
+
#ifndef _FX_FREETYPE_DONT_RENAME_
#ifdef _MSC_VER
diff --git a/core/src/fxge/fx_freetype/fxft2.5.01/include/freetype/config/ftmodule.h b/core/src/fxge/fx_freetype/fxft2.5.01/include/freetype/config/ftmodule.h
index 0d31ce6932..fb255743a7 100644
--- a/core/src/fxge/fx_freetype/fxft2.5.01/include/freetype/config/ftmodule.h
+++ b/core/src/fxge/fx_freetype/fxft2.5.01/include/freetype/config/ftmodule.h
@@ -1,3 +1,20 @@
+/***************************************************************************/
+/* */
+/* ftmodule.h */
+/* */
+/* FreeType modules public interface (specification). */
+/* */
+/* Copyright 1996-2001, 2002, 2003 by */
+/* David Turner, Robert Wilhelm, and Werner Lemberg. */
+/* */
+/* This file is part of the FreeType project, and may only be used, */
+/* modified, and distributed under the terms of the FreeType project */
+/* license, LICENSE.TXT. By continuing to use, modify, or distribute */
+/* this file you indicate that you have read the license and */
+/* understand and accept it fully. */
+/* */
+/***************************************************************************/
+
/*
* This file registers the FreeType modules compiled into the library.
*
diff --git a/core/src/fxge/fx_freetype/fxft2.5.01/include/freetype/ftchapters.h b/core/src/fxge/fx_freetype/fxft2.5.01/include/freetype/ftchapters.h
deleted file mode 100644
index c55670d1d2..0000000000
--- a/core/src/fxge/fx_freetype/fxft2.5.01/include/freetype/ftchapters.h
+++ /dev/null
@@ -1,120 +0,0 @@
-/***************************************************************************/
-/* */
-/* This file defines the structure of the FreeType reference. */
-/* It is used by the python script which generates the HTML files. */
-/* */
-/***************************************************************************/
-
-
-/***************************************************************************/
-/* */
-/* <Chapter> */
-/* general_remarks */
-/* */
-/* <Title> */
-/* General Remarks */
-/* */
-/* <Sections> */
-/* user_allocation */
-/* */
-/***************************************************************************/
-
-
-/***************************************************************************/
-/* */
-/* <Chapter> */
-/* core_api */
-/* */
-/* <Title> */
-/* Core API */
-/* */
-/* <Sections> */
-/* version */
-/* basic_types */
-/* base_interface */
-/* glyph_variants */
-/* glyph_management */
-/* mac_specific */
-/* sizes_management */
-/* header_file_macros */
-/* */
-/***************************************************************************/
-
-
-/***************************************************************************/
-/* */
-/* <Chapter> */
-/* format_specific */
-/* */
-/* <Title> */
-/* Format-Specific API */
-/* */
-/* <Sections> */
-/* multiple_masters */
-/* truetype_tables */
-/* type1_tables */
-/* sfnt_names */
-/* bdf_fonts */
-/* cid_fonts */
-/* pfr_fonts */
-/* winfnt_fonts */
-/* font_formats */
-/* gasp_table */
-/* */
-/***************************************************************************/
-
-
-/***************************************************************************/
-/* */
-/* <Chapter> */
-/* module_specific */
-/* */
-/* <Title> */
-/* Controlling FreeType Modules */
-/* */
-/* <Sections> */
-/* auto_hinter */
-/* cff_driver */
-/* tt_driver */
-/* */
-/***************************************************************************/
-
-
-/***************************************************************************/
-/* */
-/* <Chapter> */
-/* cache_subsystem */
-/* */
-/* <Title> */
-/* Cache Sub-System */
-/* */
-/* <Sections> */
-/* cache_subsystem */
-/* */
-/***************************************************************************/
-
-
-/***************************************************************************/
-/* */
-/* <Chapter> */
-/* support_api */
-/* */
-/* <Title> */
-/* Support API */
-/* */
-/* <Sections> */
-/* computations */
-/* list_processing */
-/* outline_processing */
-/* quick_advance */
-/* bitmap_handling */
-/* raster */
-/* glyph_stroker */
-/* system_interface */
-/* module_management */
-/* gzip */
-/* lzw */
-/* bzip2 */
-/* lcd_filtering */
-/* */
-/***************************************************************************/