Skip to content

Commit b40ad46

Browse files
committed
Remove repeated copyright assignments in files
Everything is replaced by a more explicit message in the COPYRIGHT file. Inspired by rust-lang/rust#43498 and rust-lang/rust#57108.
1 parent 647af0b commit b40ad46

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

92 files changed

+13
-279
lines changed

COPYRIGHT

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
WeasyPrint is free software, released under BSD 3-clause license. See LICENSE
2+
to get a full version of the license.
3+
4+
Copyrights are retained by their contributors, no copyright assignment is
5+
required to contribute to WeasyPrint.
6+
7+
Unless explicitly stated otherwise, any contribution intentionally submitted
8+
for inclusion is licensed under BSD, without any additional terms or
9+
conditions.
10+
11+
For full authorship information, see AUTHORS and the version control history.

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
BSD 3-Clause License
22

3-
Copyright (c) 2011-2019, Simon Sapin and contributors (see AUTHORS).
3+
Copyright (c) 2011-2020, Simon Sapin and contributors (see AUTHORS).
44
All rights reserved.
55

66
Redistribution and use in source and binary forms, with or without

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
# General information about the project.
2020
project = 'WeasyPrint'
21-
copyright = '2011-2019, Simon Sapin and contributors, see AUTHORS'
21+
copyright = '2011-2020, Simon Sapin and contributors (see AUTHORS)'
2222

2323
# The version info for the project you're documenting, acts as replacement for
2424
# |version| and |release|, also used in various other places throughout the

setup.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@
66
77
WeasyPrint converts web documents to PDF.
88
9-
:copyright: Copyright 2011-2019 Simon Sapin and contributors, see AUTHORS.
10-
:license: BSD, see LICENSE for details.
11-
129
"""
1310

1411
import sys

weasyprint/__init__.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@
77
The public API is what is accessible from this "root" packages
88
without importing sub-modules.
99
10-
:copyright: Copyright 2011-2019 Simon Sapin and contributors, see AUTHORS.
11-
:license: BSD, see LICENSE for details.
12-
1310
"""
1411

1512
import contextlib

weasyprint/__main__.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@
44
55
Command-line interface to WeasyPrint.
66
7-
:copyright: Copyright 2011-2019 Simon Sapin and contributors, see AUTHORS.
8-
:license: BSD, see LICENSE for details.
9-
107
"""
118

129
import argparse

weasyprint/css/__init__.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@
1212
:func:`get_all_computed_styles` function does everything, but it is itsef
1313
based on other functions in this module.
1414
15-
:copyright: Copyright 2011-2019 Simon Sapin and contributors, see AUTHORS.
16-
:license: BSD, see LICENSE for details.
17-
1815
"""
1916

2017
from collections import namedtuple

weasyprint/css/computed_values.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@
55
Convert *specified* property values (the result of the cascade and
66
inhertance) into *computed* values (that are inherited).
77
8-
:copyright: Copyright 2011-2019 Simon Sapin and contributors, see AUTHORS.
9-
:license: BSD, see LICENSE for details.
10-
118
"""
129

1310
from collections import OrderedDict

weasyprint/css/counters.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@
77
These are defined in CSS Counter Styles Level 3:
88
https://www.w3.org/TR/css-counter-styles-3/#counter-style-system
99
10-
:copyright: Copyright 2011-2019 Simon Sapin and contributors, see AUTHORS.
11-
:license: BSD, see LICENSE for details.
12-
1310
"""
1411

1512
from copy import deepcopy

weasyprint/css/media_queries.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@
66
77
https://www.w3.org/TR/mediaqueries-4/
88
9-
:copyright: Copyright 2011-2018 Simon Sapin and contributors, see AUTHORS.
10-
:license: BSD, see LICENSE for details.
11-
129
"""
1310

1411
import tinycss2

weasyprint/css/properties.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@
44
55
Various data about known properties.
66
7-
:copyright: Copyright 2011-2019 Simon Sapin and contributors, see AUTHORS.
8-
:license: BSD, see LICENSE for details.
9-
107
"""
118

129
import collections

weasyprint/css/targets.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@
88
counter_values and stuff needed to build pending targets later,
99
when the layout of all targetted anchors has been done.
1010
11-
:copyright: Copyright 2011-2019 Simon Sapin and contributors, see AUTHORS.
12-
:license: BSD, see LICENSE for details.
13-
1411
"""
1512

1613
import copy

weasyprint/css/utils.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@
55
Utils for CSS properties.
66
See http://www.w3.org/TR/CSS21/propidx.html and various CSS3 modules.
77
8-
:copyright: Copyright 2011-2019 Simon Sapin and contributors, see AUTHORS.
9-
:license: BSD, see LICENSE for details.
10-
118
"""
129

1310
import functools

weasyprint/css/validation/__init__.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@
44
55
Validate properties, expanders and descriptors.
66
7-
:copyright: Copyright 2011-2019 Simon Sapin and contributors, see AUTHORS.
8-
:license: BSD, see LICENSE for details.
9-
107
"""
118

129

weasyprint/css/validation/descriptors.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@
44
55
Validate descriptors used for some at-rules.
66
7-
:copyright: Copyright 2011-2019 Simon Sapin and contributors, see AUTHORS.
8-
:license: BSD, see LICENSE for details.
9-
107
"""
118

129
import tinycss2

weasyprint/css/validation/expanders.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@
44
55
Validate properties expanders.
66
7-
:copyright: Copyright 2011-2019 Simon Sapin and contributors, see AUTHORS.
8-
:license: BSD, see LICENSE for details.
9-
107
"""
118

129
import functools

weasyprint/css/validation/properties.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@
55
Validate properties.
66
See http://www.w3.org/TR/CSS21/propidx.html and various CSS3 modules.
77
8-
:copyright: Copyright 2011-2019 Simon Sapin and contributors, see AUTHORS.
9-
:license: BSD, see LICENSE for details.
10-
118
"""
129

1310
from tinycss2.color3 import parse_color

weasyprint/document.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@
22
weasyprint.document
33
-------------------
44
5-
:copyright: Copyright 2011-2019 Simon Sapin and contributors, see AUTHORS.
6-
:license: BSD, see LICENSE for details.
7-
85
"""
96

107
import collections

weasyprint/draw.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@
44
55
Take an "after layout" box tree and draw it onto a cairo context.
66
7-
:copyright: Copyright 2011-2019 Simon Sapin and contributors, see AUTHORS.
8-
:license: BSD, see LICENSE for details.
9-
107
"""
118

129
import contextlib

weasyprint/fonts.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@
44
55
Interface with external libraries managing fonts installed on the system.
66
7-
:copyright: Copyright 2011-2019 Simon Sapin and contributors, see AUTHORS.
8-
:license: BSD, see LICENSE for details.
9-
107
"""
118

129
import os

weasyprint/formatting_structure/__init__.py

Lines changed: 0 additions & 12 deletions
This file was deleted.

weasyprint/formatting_structure/boxes.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,6 @@
5151
5252
See respective docstrings for details.
5353
54-
:copyright: Copyright 2011-2019 Simon Sapin and contributors, see AUTHORS.
55-
:license: BSD, see LICENSE for details.
56-
5754
"""
5855

5956
import itertools

weasyprint/formatting_structure/build.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@
88
This includes creating anonymous boxes and processing whitespace
99
as necessary.
1010
11-
:copyright: Copyright 2011-2019 Simon Sapin and contributors, see AUTHORS.
12-
:license: BSD, see LICENSE for details.
13-
1411
"""
1512

1613
import copy

weasyprint/html.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,6 @@
99
have intrinsic dimensions. But the only replaced elements currently
1010
supported in WeasyPrint are images with intrinsic dimensions.
1111
12-
:copyright: Copyright 2011-2019 Simon Sapin and contributors, see AUTHORS.
13-
:license: BSD, see LICENSE for details.
14-
1512
"""
1613

1714
import logging

weasyprint/images.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@
44
55
Fetch and decode images in various formats.
66
7-
:copyright: Copyright 2011-2019 Simon Sapin and contributors, see AUTHORS.
8-
:license: BSD, see LICENSE for details.
9-
107
"""
118

129
import math

weasyprint/layout/__init__.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@
1313
1414
See http://www.w3.org/TR/CSS21/cascade.html#used-value
1515
16-
:copyright: Copyright 2011-2019 Simon Sapin and contributors, see AUTHORS.
17-
:license: BSD, see LICENSE for details.
18-
1916
"""
2017

2118
from collections import defaultdict

weasyprint/layout/absolute.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@
22
weasyprint.absolute
33
-------------------
44
5-
:copyright: Copyright 2011-2019 Simon Sapin and contributors, see AUTHORS.
6-
:license: BSD, see LICENSE for details.
7-
85
"""
96

107
from ..formatting_structure import boxes

weasyprint/layout/backgrounds.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@
22
weasyprint.backgrounds
33
----------------------
44
5-
:copyright: Copyright 2011-2019 Simon Sapin and contributors, see AUTHORS.
6-
:license: BSD, see LICENSE for details.
7-
85
"""
96

107
from collections import namedtuple

weasyprint/layout/blocks.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@
44
55
Page breaking and layout for block-level and block-container boxes.
66
7-
:copyright: Copyright 2011-2019 Simon Sapin and contributors, see AUTHORS.
8-
:license: BSD, see LICENSE for details.
9-
107
"""
118

129
from ..formatting_structure import boxes

weasyprint/layout/columns.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@
44
55
Layout for columns.
66
7-
:copyright: Copyright 2011-2019 Simon Sapin and contributors, see AUTHORS.
8-
:license: BSD, see LICENSE for details.
9-
107
"""
118

129
from math import floor

weasyprint/layout/flex.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@
44
55
Layout for flex containers and flex-items.
66
7-
:copyright: Copyright 2011-2019 Simon Sapin and contributors, see AUTHORS.
8-
:license: BSD, see LICENSE for details.
9-
107
"""
118

129
import sys

weasyprint/layout/float.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@
44
55
Layout for floating boxes.
66
7-
:copyright: Copyright 2011-2019 Simon Sapin and contributors, see AUTHORS.
8-
:license: BSD, see LICENSE for details.
9-
107
"""
118

129
from ..formatting_structure import boxes

weasyprint/layout/inlines.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@
44
55
Line breaking and layout for inline-level boxes.
66
7-
:copyright: Copyright 2011-2019 Simon Sapin and contributors, see AUTHORS.
8-
:license: BSD, see LICENSE for details.
9-
107
"""
118

129
import unicodedata

weasyprint/layout/min_max.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@
22
weasyprint.layout.min_max
33
-------------------------
44
5-
:copyright: Copyright 2011-2019 Simon Sapin and contributors, see AUTHORS.
6-
:license: BSD, see LICENSE for details.
7-
85
"""
96

107
import functools

weasyprint/layout/pages.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@
44
55
Layout for pages and CSS3 margin boxes.
66
7-
:copyright: Copyright 2011-2019 Simon Sapin and contributors, see AUTHORS.
8-
:license: BSD, see LICENSE for details.
9-
107
"""
118

129
import copy

weasyprint/layout/percentages.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@
44
55
Resolve percentages into fixed values.
66
7-
:copyright: Copyright 2011-2019 Simon Sapin and contributors, see AUTHORS.
8-
:license: BSD, see LICENSE for details.
9-
107
"""
118

129
from ..formatting_structure import boxes

weasyprint/layout/preferred.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@
88
Terms used (max-content width, min-content width) are defined in David
99
Baron's unofficial draft (http://dbaron.org/css/intrinsic/).
1010
11-
:copyright: Copyright 2011-2019 Simon Sapin and contributors, see AUTHORS.
12-
:license: BSD, see LICENSE for details.
13-
1411
"""
1512

1613
import sys

weasyprint/layout/replaced.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@
55
Layout for images and other replaced elements.
66
http://dev.w3.org/csswg/css-images-3/#sizing
77
8-
:copyright: Copyright 2011-2019 Simon Sapin and contributors, see AUTHORS.
9-
:license: BSD, see LICENSE for details.
10-
118
"""
129

1310
from .percentages import percentage

weasyprint/layout/tables.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@
44
55
Layout for tables and internal table boxes.
66
7-
:copyright: Copyright 2011-2019 Simon Sapin and contributors, see AUTHORS.
8-
:license: BSD, see LICENSE for details.
9-
107
"""
118

129
from ..formatting_structure import boxes

0 commit comments

Comments
 (0)