Skip to content
Permalink
Browse files

add missing copyright headers

  • Loading branch information
jef-n committed Jun 3, 2016
1 parent 9c7dbb9 commit 6e66eef1ef7070588545107a9bdd488456d15ea1
Showing with 1,359 additions and 130 deletions.
  1. +15 −0 ci/travis/linux/after_script.sh
  2. +15 −0 ci/travis/linux/before_install.sh
  3. +15 −0 ci/travis/linux/before_script.sh
  4. +15 −0 ci/travis/linux/install.sh
  5. +15 −0 ci/travis/linux/qt4/before_install.sh
  6. +15 −0 ci/travis/linux/qt4/install.sh
  7. +15 −0 ci/travis/linux/qt4/script.sh
  8. +15 −0 ci/travis/linux/qt5/before_install.sh
  9. +15 −0 ci/travis/linux/qt5/install.sh
  10. +15 −0 ci/travis/linux/qt5/script.sh
  11. +15 −0 ci/travis/linux/script.sh
  12. +15 −0 ci/travis/osx/before_install.sh
  13. +15 −0 ci/travis/osx/install.sh
  14. +15 −0 ci/travis/osx/script.sh
  15. +15 −0 ms-windows/cygwin/package.sh
  16. +28 −1 scripts/addcopyright.sh
  17. +1 −1 scripts/astyle.sh
  18. +1 −1 scripts/chkcopyrights.sh
  19. +15 −0 scripts/create-transifex-resources.sh
  20. +25 −0 scripts/generate_test_mask_image.py
  21. +25 −0 scripts/mkuidefaults.py
  22. +25 −0 scripts/pyuic-wrapper.py
  23. +15 −0 scripts/pyuic-wrapper.sh
  24. +14 −0 src/analysis/openstreetmap/qgsosmbase.h
  25. +14 −0 src/analysis/openstreetmap/qgsosmdownload.cpp
  26. +14 −0 src/analysis/vector/qgspointsample.cpp
  27. +14 −0 src/analysis/vector/qgspointsample.h
  28. +14 −0 src/analysis/vector/qgstransectsample.cpp
  29. +14 −0 src/analysis/vector/qgstransectsample.h
  30. +14 −0 src/app/qgsapplayertreeviewmenuprovider.cpp
  31. +14 −0 src/app/qgslabelingwidget.h
  32. +6 −0 src/app/qgsloadstylefromdbdialog.cpp
  33. +6 −0 src/app/qgsloadstylefromdbdialog.h
  34. +14 −0 src/app/qgsmapstylingwidget.cpp
  35. +14 −0 src/app/qgsmapstylingwidget.h
  36. +14 −0 src/gui/attributetable/qgsfeaturelistmodel.cpp
  37. +14 −0 src/gui/attributetable/qgsfeaturelistmodel.h
  38. +14 −0 src/gui/attributetable/qgsfeaturelistviewdelegate.cpp
  39. +14 −0 src/gui/attributetable/qgsfeaturelistviewdelegate.h
  40. +14 −0 src/gui/attributetable/qgsfeaturemodel.h
  41. +14 −0 src/gui/attributetable/qgsfeatureselectionmodel.cpp
  42. +14 −0 src/gui/attributetable/qgsfeatureselectionmodel.h
  43. +14 −0 src/gui/attributetable/qgsfieldconditionalformatwidget.cpp
  44. +14 −0 src/gui/qgscomposerruler.cpp
  45. +14 −0 src/gui/qgscomposerruler.h
  46. +14 −0 src/gui/qgsextentgroupbox.cpp
  47. +14 −0 src/gui/qgsextentgroupbox.h
  48. +14 −0 src/gui/qgsmapcanvassnappingutils.cpp
  49. +14 −0 src/gui/qgsmapcanvassnappingutils.h
  50. +14 −0 src/gui/qgsmapcanvastracer.cpp
  51. +14 −0 src/gui/qgsmapcanvastracer.h
  52. +15 −1 src/gui/qgsmaplayerstylemanagerwidget.cpp
  53. +15 −1 src/gui/qgsmaplayerstylemanagerwidget.h
  54. +14 −0 src/gui/qgsmapstylepanel.cpp
  55. +14 −0 src/gui/qgsmapstylepanel.h
  56. +11 −4 src/gui/qgssourceselectdialog.h
  57. +14 −0 src/gui/raster/qgsrastertransparencywidget.cpp
  58. +14 −0 src/gui/raster/qgsrastertransparencywidget.h
  59. +14 −0 src/gui/raster/qgsrendererrasterpropertieswidget.cpp
  60. +14 −0 src/gui/raster/qgsrendererrasterpropertieswidget.h
  61. +14 −0 src/gui/symbology-ng/qgsdatadefinedsymboldialog.cpp
  62. +14 −0 src/gui/symbology-ng/qgsdatadefinedsymboldialog.h
  63. +12 −4 src/plugins/geometry_checker/checks/qgsgeometryanglecheck.cpp
  64. +12 −4 src/plugins/geometry_checker/checks/qgsgeometryanglecheck.h
  65. +12 −4 src/plugins/geometry_checker/checks/qgsgeometryareacheck.cpp
  66. +12 −4 src/plugins/geometry_checker/checks/qgsgeometryareacheck.h
  67. +12 −4 src/plugins/geometry_checker/checks/qgsgeometrycheck.cpp
  68. +12 −4 src/plugins/geometry_checker/checks/qgsgeometrycheck.h
  69. +12 −4 src/plugins/geometry_checker/checks/qgsgeometrycontainedcheck.cpp
  70. +12 −4 src/plugins/geometry_checker/checks/qgsgeometrycontainedcheck.h
  71. +12 −4 src/plugins/geometry_checker/checks/qgsgeometrydegeneratepolygoncheck.cpp
  72. +12 −4 src/plugins/geometry_checker/checks/qgsgeometrydegeneratepolygoncheck.h
  73. +12 −4 src/plugins/geometry_checker/checks/qgsgeometryduplicatecheck.cpp
  74. +12 −4 src/plugins/geometry_checker/checks/qgsgeometryduplicatecheck.h
  75. +12 −4 src/plugins/geometry_checker/checks/qgsgeometryduplicatenodescheck.cpp
  76. +12 −4 src/plugins/geometry_checker/checks/qgsgeometryduplicatenodescheck.h
  77. +12 −4 src/plugins/geometry_checker/checks/qgsgeometrygapcheck.cpp
  78. +12 −4 src/plugins/geometry_checker/checks/qgsgeometrygapcheck.h
  79. +12 −4 src/plugins/geometry_checker/checks/qgsgeometryholecheck.cpp
  80. +12 −4 src/plugins/geometry_checker/checks/qgsgeometryholecheck.h
  81. +12 −4 src/plugins/geometry_checker/checks/qgsgeometrymultipartcheck.cpp
  82. +12 −4 src/plugins/geometry_checker/checks/qgsgeometrymultipartcheck.h
  83. +12 −4 src/plugins/geometry_checker/checks/qgsgeometryoverlapcheck.cpp
  84. +12 −4 src/plugins/geometry_checker/checks/qgsgeometryoverlapcheck.h
  85. +12 −4 src/plugins/geometry_checker/checks/qgsgeometrysegmentlengthcheck.cpp
  86. +12 −4 src/plugins/geometry_checker/checks/qgsgeometrysegmentlengthcheck.h
  87. +12 −4 src/plugins/geometry_checker/checks/qgsgeometryselfintersectioncheck.cpp
  88. +12 −4 src/plugins/geometry_checker/checks/qgsgeometryselfintersectioncheck.h
  89. +12 −4 src/plugins/geometry_checker/checks/qgsgeometrysliverpolygoncheck.h
  90. +12 −4 src/plugins/geometry_checker/checks/qgsgeometrytypecheck.cpp
  91. +12 −4 src/plugins/geometry_checker/checks/qgsgeometrytypecheck.h
  92. +12 −4 src/plugins/geometry_checker/qgsgeometrycheckfactory.cpp
  93. +14 −0 src/plugins/globe/featuresource/qgsglobefeaturesource.cpp
  94. +14 −0 src/plugins/globe/featuresource/qgsglobefeaturesource.h
  95. +14 −0 src/providers/wms/qgswmscapabilities.cpp
  96. +14 −0 src/providers/wms/qgswmscapabilities.h
  97. +14 −0 tests/src/providers/testqgswmscapabilities.cpp
  98. +14 −0 tests/src/providers/testqgswmsprovider.cpp
  99. +26 −1 tests/src/python/acceptable_missing_doc.py
@@ -1 +1,16 @@
###########################################################################
# after_script.sh
# ---------------------
# Date : September 2015
# Copyright : (C) 2015 by Matthias Kuhn
# Email : matthias at opengis dot ch
###########################################################################
# #
# This program 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 2 of the License, or #
# (at your option) any later version. #
# #
###########################################################################

[ -r /tmp/ctest-important.log ] && cat /tmp/ctest-important.log
@@ -1,4 +1,19 @@
#!/bin/bash
###########################################################################
# before_install.sh
# ---------------------
# Date : August 2015
# Copyright : (C) 2015 by Nyall Dawson
# Email : nyall dot dawson at gmail dot com
###########################################################################
# #
# This program 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 2 of the License, or #
# (at your option) any later version. #
# #
###########################################################################


DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
${DIR}/qt${QT_VERSION}/before_install.sh
@@ -1,3 +1,18 @@
###########################################################################
# before_script.sh
# ---------------------
# Date : August 2015
# Copyright : (C) 2015 by Nyall Dawson
# Email : nyall dot dawson at gmail dot com
###########################################################################
# #
# This program 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 2 of the License, or #
# (at your option) any later version. #
# #
###########################################################################

printf "[qgis_test]\nhost=localhost\ndbname=qgis_test\nuser=postgres" > ~/.pg_service.conf

export PGUSER=postgres
@@ -1,4 +1,19 @@
#!/bin/bash
###########################################################################
# install.sh
# ---------------------
# Date : August 2015
# Copyright : (C) 2015 by Nyall Dawson
# Email : nyall dot dawson at gmail dot com
###########################################################################
# #
# This program 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 2 of the License, or #
# (at your option) any later version. #
# #
###########################################################################


DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
${DIR}/qt${QT_VERSION}/install.sh
@@ -1,3 +1,18 @@
###########################################################################
# before_install.sh
# ---------------------
# Date : March 2016
# Copyright : (C) 2016 by Matthias Kuhn
# Email : matthias at opengis dot ch
###########################################################################
# #
# This program 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 2 of the License, or #
# (at your option) any later version. #
# #
###########################################################################

export DEBIAN_FRONTEND=noninteractive

pushd ${HOME}
@@ -1,3 +1,18 @@
###########################################################################
# install.sh
# ---------------------
# Date : March 2016
# Copyright : (C) 2016 by Matthias Kuhn
# Email : matthias at opengis dot ch
###########################################################################
# #
# This program 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 2 of the License, or #
# (at your option) any later version. #
# #
###########################################################################

mkdir build
cd build

@@ -1,3 +1,18 @@
###########################################################################
# script.sh
# ---------------------
# Date : March 2016
# Copyright : (C) 2016 by Matthias Kuhn
# Email : matthias at opengis dot ch
###########################################################################
# #
# This program 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 2 of the License, or #
# (at your option) any later version. #
# #
###########################################################################

export PYTHONPATH=${HOME}/osgeo4travis/lib/python2.7/site-packages/
export PATH=${HOME}/osgeo4travis/bin:${HOME}/osgeo4travis/sbin:${PATH}
export LD_LIBRARY_PATH=${HOME}/osgeo4travis/lib
@@ -1,3 +1,18 @@
###########################################################################
# before_install.sh
# ---------------------
# Date : March 2016
# Copyright : (C) 2016 by Matthias Kuhn
# Email : matthias at opengis dot ch
###########################################################################
# #
# This program 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 2 of the License, or #
# (at your option) any later version. #
# #
###########################################################################

export DEBIAN_FRONTEND=noninteractive
export CORES=2

@@ -1,3 +1,18 @@
###########################################################################
# install.sh
# ---------------------
# Date : March 2016
# Copyright : (C) 2016 by Matthias Kuhn
# Email : matthias at opengis dot ch
###########################################################################
# #
# This program 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 2 of the License, or #
# (at your option) any later version. #
# #
###########################################################################

mkdir build
cd build

@@ -1,3 +1,18 @@
###########################################################################
# script.sh
# ---------------------
# Date : March 2016
# Copyright : (C) 2016 by Matthias Kuhn
# Email : matthias at opengis dot ch
###########################################################################
# #
# This program 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 2 of the License, or #
# (at your option) any later version. #
# #
###########################################################################

export PYTHONPATH=${HOME}/osgeo4travis/lib/python3.3/site-packages/
export PATH=${HOME}/osgeo4travis/bin:${HOME}/osgeo4travis/sbin:${PATH}
export LD_LIBRARY_PATH=${HOME}/osgeo4travis/lib
@@ -1,4 +1,19 @@
#!/bin/bash
###########################################################################
# script.sh
# ---------------------
# Date : August 2015
# Copyright : (C) 2015 by Nyall Dawson
# Email : nyall dot dawson at gmail dot com
###########################################################################
# #
# This program 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 2 of the License, or #
# (at your option) any later version. #
# #
###########################################################################


DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
${DIR}/qt${QT_VERSION}/script.sh
@@ -1,3 +1,18 @@
###########################################################################
# before_install.sh
# ---------------------
# Date : August 2015
# Copyright : (C) 2015 by Nyall Dawson
# Email : nyall dot dawson at gmail dot com
###########################################################################
# #
# This program 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 2 of the License, or #
# (at your option) any later version. #
# #
###########################################################################

brew tap osgeo/osgeo4mac
brew update
brew install osgeo/osgeo4mac/qgis-28 --without-postgis --without-postgresql --without-grass --without-gpsbabel --only-dependencies
@@ -1,3 +1,18 @@
###########################################################################
# install.sh
# ---------------------
# Date : August 2015
# Copyright : (C) 2015 by Nyall Dawson
# Email : nyall dot dawson at gmail dot com
###########################################################################
# #
# This program 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 2 of the License, or #
# (at your option) any later version. #
# #
###########################################################################

mkdir build
cd build
#no PGTEST for OSX - can't get postgres to start with brew install
@@ -1,3 +1,18 @@
###########################################################################
# script.sh
# ---------------------
# Date : August 2015
# Copyright : (C) 2015 by Nyall Dawson
# Email : nyall dot dawson at gmail dot com
###########################################################################
# #
# This program 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 2 of the License, or #
# (at your option) any later version. #
# #
###########################################################################

echo $PATH

export PATH=/usr/bin:${PATH}
@@ -1,4 +1,19 @@
#!/bin/bash
###########################################################################
# package.sh
# ---------------------
# Date : April 2013
# Copyright : (C) 2013 by Juergen E. Fischer
# Email : jef at norbit dot de
###########################################################################
# #
# This program 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 2 of the License, or #
# (at your option) any later version. #
# #
###########################################################################


set -e

@@ -16,6 +16,8 @@

# licensecheck -r src

export LC_TIME=C

set -e

if [ $# -gt 0 ]; then
@@ -155,7 +157,7 @@ for i in $FILES; do
authoremail="loi at faunalia dot it"
;;

"Nathan Woodrow")
"Nathan Woodrow"|Nathan)
authorname="Nathan Woodrow"
authoremail="woodrow dot nathan at gmail dot com"
;;
@@ -190,6 +192,31 @@ for i in $FILES; do
authoremail="elpaso at itopen dot it"
;;

"Patrick Valsecchi")
authorname="Patrick Valsecchi"
authoremail="patrick dot valsecchi at camptocamp dot com"
;;

"Stéphane Brunner")
authorname="Stéphane Brunner"
authoremail="stephane dot brunner at camptocamp dot com"
;;

"ersts")
authorname="Peter Ersts"
authoremail="ersts at amnh dot org"
;;

"Etienne Tourigny")
authorname="Etienne Tourigny"
authoremail="etourigny dot dev at gmail dot com"
;;

"Nyall Dawson")
authorname="Nyall Dawson"
authoremail="nyall dot dawson at gmail dot com"
;;

*)
echo "Author $author not found."
exit 1
@@ -78,7 +78,7 @@ for f in "$@"; do

*.cpp|*.h|*.c|*.h|*.cxx|*.hxx|*.c++|*.h++|*.cc|*.hh|*.C|*.H|*.hpp)
if [ -x "$f" ]; then
chmod a-x "$f"
chmod a-x "$f"
fi
cmd=astyleit
;;
@@ -16,5 +16,5 @@


licensecheck -r . |
egrep -v "\/debian\/|.\/src\/plugins\/dxf2shp_converter\/dxflib|\.\/ms-windows\/osgeo4w\/untgz\/|\.\/src\/app\/gps\/qwtpolar-0.1|\.\/src\/app\/gps\/qwtpolar-1.0|: BSD \(3 clause\)|: GPL \(v[23] or later\)$|: LGPL \(v2 or later\)$|: MIT\/X11 \(BSD like\)$|: Apache \(v2\.0\) GPL \(v2 or later\)$|: LGPL$|: Apache \(v2\.0\)$|: zlib\/libpng$|: GPL LGPL$|GENERATED FILE" |
egrep -v "\/debian\/|.\/src\/plugins\/dxf2shp_converter\/dxflib|\.\/python\/ext-libs|\.\/ms-windows\/osgeo4w\/untgz\/|\.\/src\/app\/gps\/qwtpolar-|\.\/src\/app\/gps\/qwtpolar-1.0|: BSD \(3 clause\)|: GPL \(v[23] or later\)$|: LGPL \(v2 or later\)$|: MIT\/X11 \(BSD like\)$|: Apache \(v2\.0\) GPL \(v2 or later\)$|: LGPL$|: Apache \(v2\.0\)$|: zlib\/libpng$|: GPL LGPL$|GENERATED FILE" |
sed -e "s/:.*$//"
@@ -1,4 +1,19 @@
#!/bin/bash
###########################################################################
# create-transifex-resources.sh
# ---------------------
# Date : March 2013
# Copyright : (C) 2013 by Tim Sutton
# Email : tim at linfiniti dot com
###########################################################################
# #
# This program 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 2 of the License, or #
# (at your option) any later version. #
# #
###########################################################################


# This script is used to register QGIS translatable resources with Transifex
# http://transifex.com

3 comments on commit 6e66eef

@NathanW2

This comment has been minimized.

Copy link
Member

@NathanW2 NathanW2 replied Jun 3, 2016

@jef-n do you have a script that does this?

@jef-n

This comment has been minimized.

Copy link
Member Author

@jef-n jef-n replied Jun 3, 2016

no full automatic. scripts/chkcopyright.sh lists (but misses some "malformed" headers), scripts/addcopyrights.sh adds.

@NathanW2

This comment has been minimized.

Copy link
Member

@NathanW2 NathanW2 replied Jun 3, 2016

Thanks for the tip! That will be super handy.

Please sign in to comment.
You can’t perform that action at this time.