From 62192357ba50318d46dc5199f146e237d26c2f6e Mon Sep 17 00:00:00 2001 From: Don Cross Date: Sat, 7 Jan 2023 17:13:07 -0500 Subject: [PATCH] Updated copyrights for 2023. Windows build process now updates copyright years just like the Linux build process does. Ran it to update the copyright years for 2023. --- LICENSE | 2 +- demo/browser/astronomy.browser.js | 2 +- demo/nodejs/astronomy.js | 2 +- demo/python/astronomy.py | 2 +- generate/astro_vector.c | 2 +- generate/astro_vector.h | 2 +- generate/chebyshev.c | 2 +- generate/chebyshev.h | 2 +- generate/codegen.c | 2 +- generate/codegen.h | 2 +- generate/ephfile.c | 2 +- generate/ephfile.h | 2 +- generate/generate.c | 2 +- generate/hydrogen/hydrogen.js | 2 +- generate/jpl_horizons_check.js | 2 +- generate/novas_body.h | 2 +- generate/run.bat | 8 ++++++++ generate/template/astronomy.c | 2 +- generate/template/astronomy.cs | 2 +- generate/template/astronomy.kt | 2 +- generate/template/astronomy.py | 2 +- generate/template/astronomy.ts | 2 +- generate/update_copyrights.py | 2 +- source/c/astronomy.c | 2 +- source/c/astronomy.h | 2 +- source/csharp/astronomy.cs | 2 +- source/js/astronomy.browser.js | 2 +- source/js/astronomy.browser.min.js | 2 +- source/js/astronomy.d.ts | 2 +- source/js/astronomy.js | 2 +- source/js/astronomy.min.js | 2 +- source/js/astronomy.ts | 2 +- source/js/esm/astronomy.js | 2 +- .../kotlin/io/github/cosinekitty/astronomy/astronomy.kt | 2 +- source/python/astronomy/astronomy.py | 2 +- 35 files changed, 42 insertions(+), 34 deletions(-) diff --git a/LICENSE b/LICENSE index cb43597e..9dd5faf8 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2019-2022 Don Cross +Copyright (c) 2019-2023 Don Cross Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/demo/browser/astronomy.browser.js b/demo/browser/astronomy.browser.js index f3e081bd..540eeef9 100644 --- a/demo/browser/astronomy.browser.js +++ b/demo/browser/astronomy.browser.js @@ -7,7 +7,7 @@ MIT License - Copyright (c) 2019-2022 Don Cross + Copyright (c) 2019-2023 Don Cross Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/demo/nodejs/astronomy.js b/demo/nodejs/astronomy.js index c08ae62c..b82377f3 100644 --- a/demo/nodejs/astronomy.js +++ b/demo/nodejs/astronomy.js @@ -6,7 +6,7 @@ MIT License - Copyright (c) 2019-2022 Don Cross + Copyright (c) 2019-2023 Don Cross Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/demo/python/astronomy.py b/demo/python/astronomy.py index c4f96e2b..373e149f 100644 --- a/demo/python/astronomy.py +++ b/demo/python/astronomy.py @@ -2,7 +2,7 @@ # # MIT License # -# Copyright (c) 2019-2022 Don Cross +# Copyright (c) 2019-2023 Don Cross # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal diff --git a/generate/astro_vector.c b/generate/astro_vector.c index 7fd3b040..73d78795 100644 --- a/generate/astro_vector.c +++ b/generate/astro_vector.c @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019-2022 Don Cross + Copyright (c) 2019-2023 Don Cross Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/generate/astro_vector.h b/generate/astro_vector.h index 28d34729..42b16bf4 100644 --- a/generate/astro_vector.h +++ b/generate/astro_vector.h @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019-2022 Don Cross + Copyright (c) 2019-2023 Don Cross Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/generate/chebyshev.c b/generate/chebyshev.c index a9ebc725..33306fde 100644 --- a/generate/chebyshev.c +++ b/generate/chebyshev.c @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019-2022 Don Cross + Copyright (c) 2019-2023 Don Cross Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/generate/chebyshev.h b/generate/chebyshev.h index c2bb578a..3f5f4c22 100644 --- a/generate/chebyshev.h +++ b/generate/chebyshev.h @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019-2022 Don Cross + Copyright (c) 2019-2023 Don Cross Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/generate/codegen.c b/generate/codegen.c index 8ab0e009..55550388 100644 --- a/generate/codegen.c +++ b/generate/codegen.c @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019-2022 Don Cross + Copyright (c) 2019-2023 Don Cross Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/generate/codegen.h b/generate/codegen.h index aa856bc5..857af88b 100644 --- a/generate/codegen.h +++ b/generate/codegen.h @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019-2022 Don Cross + Copyright (c) 2019-2023 Don Cross Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/generate/ephfile.c b/generate/ephfile.c index ff262920..dd1822cf 100644 --- a/generate/ephfile.c +++ b/generate/ephfile.c @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019-2022 Don Cross + Copyright (c) 2019-2023 Don Cross Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/generate/ephfile.h b/generate/ephfile.h index 3c3489c9..143b0bdc 100644 --- a/generate/ephfile.h +++ b/generate/ephfile.h @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019-2022 Don Cross + Copyright (c) 2019-2023 Don Cross Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/generate/generate.c b/generate/generate.c index 9adf9771..11dbac83 100644 --- a/generate/generate.c +++ b/generate/generate.c @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019-2022 Don Cross + Copyright (c) 2019-2023 Don Cross Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/generate/hydrogen/hydrogen.js b/generate/hydrogen/hydrogen.js index f97fd4c8..56028ad8 100644 --- a/generate/hydrogen/hydrogen.js +++ b/generate/hydrogen/hydrogen.js @@ -1,7 +1,7 @@ /* MIT License - Copyright (c) 2019-2022 Don Cross + Copyright (c) 2019-2023 Don Cross Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/generate/jpl_horizons_check.js b/generate/jpl_horizons_check.js index 5b7877fb..05e66c56 100644 --- a/generate/jpl_horizons_check.js +++ b/generate/jpl_horizons_check.js @@ -9,7 +9,7 @@ MIT License - Copyright (c) 2019-2022 Don Cross + Copyright (c) 2019-2023 Don Cross Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/generate/novas_body.h b/generate/novas_body.h index 955dacb5..8f78e59e 100644 --- a/generate/novas_body.h +++ b/generate/novas_body.h @@ -7,7 +7,7 @@ MIT License - Copyright (c) 2019-2022 Don Cross + Copyright (c) 2019-2023 Don Cross Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/generate/run.bat b/generate/run.bat index c6be40c6..023737e5 100644 --- a/generate/run.bat +++ b/generate/run.bat @@ -10,6 +10,14 @@ if errorlevel 1 (exit /b 1) call :Download https://raw.githubusercontent.com/astronexus/HYG-Database/master/hygdata_v3.csv hygdata_v3.csv hygdata_v3.sha256 if errorlevel 1 (exit /b 1) +cd .. +set copyright= +for /f %%f in ('git grep -l Copyright -- generate hydrogen LICENSE source/c/astronomy.h') do ( + set copyright=!copyright! %%f +) +py generate/update_copyrights.py !copyright! +cd generate + set FASTMODE=true set GENEXE=bin\generate.exe set CTESTEXE=bin\ctest.exe diff --git a/generate/template/astronomy.c b/generate/template/astronomy.c index 2558089f..80aee82c 100644 --- a/generate/template/astronomy.c +++ b/generate/template/astronomy.c @@ -4,7 +4,7 @@ MIT License - Copyright (c) 2019-2022 Don Cross + Copyright (c) 2019-2023 Don Cross Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/generate/template/astronomy.cs b/generate/template/astronomy.cs index 0c151986..95baa46e 100644 --- a/generate/template/astronomy.cs +++ b/generate/template/astronomy.cs @@ -4,7 +4,7 @@ MIT License - Copyright (c) 2019-2022 Don Cross + Copyright (c) 2019-2023 Don Cross Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/generate/template/astronomy.kt b/generate/template/astronomy.kt index 10a3fb01..33edbcc3 100644 --- a/generate/template/astronomy.kt +++ b/generate/template/astronomy.kt @@ -4,7 +4,7 @@ MIT License - Copyright (c) 2019-2022 Don Cross + Copyright (c) 2019-2023 Don Cross Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/generate/template/astronomy.py b/generate/template/astronomy.py index 47df7ace..b92c4d01 100644 --- a/generate/template/astronomy.py +++ b/generate/template/astronomy.py @@ -2,7 +2,7 @@ # # MIT License # -# Copyright (c) 2019-2022 Don Cross +# Copyright (c) 2019-2023 Don Cross # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal diff --git a/generate/template/astronomy.ts b/generate/template/astronomy.ts index 9872bb33..b0eecc06 100644 --- a/generate/template/astronomy.ts +++ b/generate/template/astronomy.ts @@ -6,7 +6,7 @@ MIT License - Copyright (c) 2019-2022 Don Cross + Copyright (c) 2019-2023 Don Cross Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/generate/update_copyrights.py b/generate/update_copyrights.py index cbc3623e..0dc417ed 100755 --- a/generate/update_copyrights.py +++ b/generate/update_copyrights.py @@ -1,5 +1,5 @@ #!/usr/bin/env python -# Copyright (c) 2019-2022 Don Cross +# Copyright (c) 2019-2023 Don Cross import sys import re import datetime diff --git a/source/c/astronomy.c b/source/c/astronomy.c index b38d97dd..8c45527a 100644 --- a/source/c/astronomy.c +++ b/source/c/astronomy.c @@ -4,7 +4,7 @@ MIT License - Copyright (c) 2019-2022 Don Cross + Copyright (c) 2019-2023 Don Cross Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/source/c/astronomy.h b/source/c/astronomy.h index 6eb4af6c..95a62135 100644 --- a/source/c/astronomy.h +++ b/source/c/astronomy.h @@ -4,7 +4,7 @@ MIT License - Copyright (c) 2019-2022 Don Cross + Copyright (c) 2019-2023 Don Cross Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/source/csharp/astronomy.cs b/source/csharp/astronomy.cs index 6cc4efdb..bb845aae 100644 --- a/source/csharp/astronomy.cs +++ b/source/csharp/astronomy.cs @@ -4,7 +4,7 @@ MIT License - Copyright (c) 2019-2022 Don Cross + Copyright (c) 2019-2023 Don Cross Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/source/js/astronomy.browser.js b/source/js/astronomy.browser.js index f3e081bd..540eeef9 100644 --- a/source/js/astronomy.browser.js +++ b/source/js/astronomy.browser.js @@ -7,7 +7,7 @@ MIT License - Copyright (c) 2019-2022 Don Cross + Copyright (c) 2019-2023 Don Cross Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/source/js/astronomy.browser.min.js b/source/js/astronomy.browser.min.js index 6a1e905f..d7d9e8d4 100644 --- a/source/js/astronomy.browser.min.js +++ b/source/js/astronomy.browser.min.js @@ -7,7 +7,7 @@ MIT License - Copyright (c) 2019-2022 Don Cross + Copyright (c) 2019-2023 Don Cross Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/source/js/astronomy.d.ts b/source/js/astronomy.d.ts index 37b0ed38..c3c5678e 100644 --- a/source/js/astronomy.d.ts +++ b/source/js/astronomy.d.ts @@ -6,7 +6,7 @@ MIT License - Copyright (c) 2019-2022 Don Cross + Copyright (c) 2019-2023 Don Cross Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/source/js/astronomy.js b/source/js/astronomy.js index c08ae62c..b82377f3 100644 --- a/source/js/astronomy.js +++ b/source/js/astronomy.js @@ -6,7 +6,7 @@ MIT License - Copyright (c) 2019-2022 Don Cross + Copyright (c) 2019-2023 Don Cross Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/source/js/astronomy.min.js b/source/js/astronomy.min.js index 85f6c7d2..23bc4858 100644 --- a/source/js/astronomy.min.js +++ b/source/js/astronomy.min.js @@ -7,7 +7,7 @@ MIT License - Copyright (c) 2019-2022 Don Cross + Copyright (c) 2019-2023 Don Cross Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/source/js/astronomy.ts b/source/js/astronomy.ts index 443cc751..8342ab85 100644 --- a/source/js/astronomy.ts +++ b/source/js/astronomy.ts @@ -6,7 +6,7 @@ MIT License - Copyright (c) 2019-2022 Don Cross + Copyright (c) 2019-2023 Don Cross Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/source/js/esm/astronomy.js b/source/js/esm/astronomy.js index c090a588..2d17c10e 100644 --- a/source/js/esm/astronomy.js +++ b/source/js/esm/astronomy.js @@ -6,7 +6,7 @@ MIT License - Copyright (c) 2019-2022 Don Cross + Copyright (c) 2019-2023 Don Cross Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/source/kotlin/src/main/kotlin/io/github/cosinekitty/astronomy/astronomy.kt b/source/kotlin/src/main/kotlin/io/github/cosinekitty/astronomy/astronomy.kt index 740fcf5a..c4dd8110 100644 --- a/source/kotlin/src/main/kotlin/io/github/cosinekitty/astronomy/astronomy.kt +++ b/source/kotlin/src/main/kotlin/io/github/cosinekitty/astronomy/astronomy.kt @@ -4,7 +4,7 @@ MIT License - Copyright (c) 2019-2022 Don Cross + Copyright (c) 2019-2023 Don Cross Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/source/python/astronomy/astronomy.py b/source/python/astronomy/astronomy.py index c4f96e2b..373e149f 100644 --- a/source/python/astronomy/astronomy.py +++ b/source/python/astronomy/astronomy.py @@ -2,7 +2,7 @@ # # MIT License # -# Copyright (c) 2019-2022 Don Cross +# Copyright (c) 2019-2023 Don Cross # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal