From bf374b8b8970bbb17ec360b33e46c859010830a1 Mon Sep 17 00:00:00 2001 From: Jed Barber Date: Wed, 28 Jun 2017 12:27:51 +1000 Subject: Improved adherence with MIT licensing requirements for Multi_Precision_Integers packages --- src/multi_precision_integers-check.adb | 29 +++++++++++++++++++++++++++++ src/multi_precision_integers-check.ads | 29 +++++++++++++++++++++++++++++ src/multi_precision_integers-io.adb | 30 ++++++++++++++++++++++++++++++ src/multi_precision_integers-io.ads | 31 +++++++++++++++++++++++++++++++ src/multi_precision_integers.adb | 30 ++++++++++++++++++++++++++++++ src/multi_precision_integers.ads | 30 ++++++++++++++++++++++++++++++ 6 files changed, 179 insertions(+) (limited to 'src') diff --git a/src/multi_precision_integers-check.adb b/src/multi_precision_integers-check.adb index ac0efc4..237be3d 100644 --- a/src/multi_precision_integers-check.adb +++ b/src/multi_precision_integers-check.adb @@ -1,3 +1,32 @@ + + +------------------------------------------------------------------------------ +-- +-- Copyright (c) 2007 G. de Montmollin, Univ. Neuchatel +-- +-- Permission is hereby granted, free of charge, to any person obtaining a copy +-- of this software and associated documentation files (the "Software"), to deal +-- in the Software without restriction, including without limitation the rights +-- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +-- copies of the Software, and to permit persons to whom the Software is +-- furnished to do so, subject to the following conditions: +-- +-- The above copyright notice and this permission notice shall be included in all +-- copies or substantial portions of the Software. +-- +-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +-- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +-- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +-- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +-- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +-- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +-- SOFTWARE. +-- +------------------------------------------------------------------------------ + + + + with Ada.Text_IO; use Ada.Text_IO; -- !! will disappear in favour of Ada.Exceptions diff --git a/src/multi_precision_integers-check.ads b/src/multi_precision_integers-check.ads index 60895ea..950a21f 100644 --- a/src/multi_precision_integers-check.ads +++ b/src/multi_precision_integers-check.ads @@ -1,3 +1,32 @@ + + +------------------------------------------------------------------------------ +-- +-- Copyright (c) 2007 G. de Montmollin, Univ. Neuchatel +-- +-- Permission is hereby granted, free of charge, to any person obtaining a copy +-- of this software and associated documentation files (the "Software"), to deal +-- in the Software without restriction, including without limitation the rights +-- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +-- copies of the Software, and to permit persons to whom the Software is +-- furnished to do so, subject to the following conditions: +-- +-- The above copyright notice and this permission notice shall be included in all +-- copies or substantial portions of the Software. +-- +-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +-- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +-- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +-- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +-- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +-- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +-- SOFTWARE. +-- +------------------------------------------------------------------------------ + + + + package Multi_precision_integers.Check is -- check integrity diff --git a/src/multi_precision_integers-io.adb b/src/multi_precision_integers-io.adb index ca8f1c2..5cdb1c4 100644 --- a/src/multi_precision_integers-io.adb +++ b/src/multi_precision_integers-io.adb @@ -2,6 +2,36 @@ -- File: muprinio.adb; see specification (muprinio.ads) ----------------------------------------------------------------------------- + + + +------------------------------------------------------------------------------ +-- +-- Copyright (c) 2007 G. de Montmollin, Univ. Neuchatel +-- +-- Permission is hereby granted, free of charge, to any person obtaining a copy +-- of this software and associated documentation files (the "Software"), to deal +-- in the Software without restriction, including without limitation the rights +-- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +-- copies of the Software, and to permit persons to whom the Software is +-- furnished to do so, subject to the following conditions: +-- +-- The above copyright notice and this permission notice shall be included in all +-- copies or substantial portions of the Software. +-- +-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +-- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +-- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +-- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +-- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +-- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +-- SOFTWARE. +-- +------------------------------------------------------------------------------ + + + + package body Multi_precision_integers.IO is package IIO is new Integer_IO( index_int ); diff --git a/src/multi_precision_integers-io.ads b/src/multi_precision_integers-io.ads index 1544d3c..558a62e 100644 --- a/src/multi_precision_integers-io.ads +++ b/src/multi_precision_integers-io.ads @@ -4,6 +4,37 @@ -- Date/version: 2006 ; 15-Feb-2002 / 22.XI.1999 / 22.12.1996 -- Author: Gautier de Montmollin ------------------------------------------------------------------------------ + + + + +------------------------------------------------------------------------------ +-- +-- Copyright (c) 2007 G. de Montmollin, Univ. Neuchatel +-- +-- Permission is hereby granted, free of charge, to any person obtaining a copy +-- of this software and associated documentation files (the "Software"), to deal +-- in the Software without restriction, including without limitation the rights +-- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +-- copies of the Software, and to permit persons to whom the Software is +-- furnished to do so, subject to the following conditions: +-- +-- The above copyright notice and this permission notice shall be included in all +-- copies or substantial portions of the Software. +-- +-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +-- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +-- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +-- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +-- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +-- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +-- SOFTWARE. +-- +------------------------------------------------------------------------------ + + + + with Text_IO; use Text_IO; package Multi_precision_integers.IO is diff --git a/src/multi_precision_integers.adb b/src/multi_precision_integers.adb index 4d8d876..70a6d28 100644 --- a/src/multi_precision_integers.adb +++ b/src/multi_precision_integers.adb @@ -19,6 +19,36 @@ -- To-do/bug symbol: !! + + + +------------------------------------------------------------------------------ +-- +-- Copyright (c) 2007 G. de Montmollin, Univ. Neuchatel +-- +-- Permission is hereby granted, free of charge, to any person obtaining a copy +-- of this software and associated documentation files (the "Software"), to deal +-- in the Software without restriction, including without limitation the rights +-- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +-- copies of the Software, and to permit persons to whom the Software is +-- furnished to do so, subject to the following conditions: +-- +-- The above copyright notice and this permission notice shall be included in all +-- copies or substantial portions of the Software. +-- +-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +-- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +-- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +-- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +-- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +-- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +-- SOFTWARE. +-- +------------------------------------------------------------------------------ + + + + with Multi_precision_integers.Check; -- with Ada.Text_IO; with Ada.Unchecked_Deallocation; diff --git a/src/multi_precision_integers.ads b/src/multi_precision_integers.ads index 7c8406a..7035924 100644 --- a/src/multi_precision_integers.ads +++ b/src/multi_precision_integers.ads @@ -32,6 +32,36 @@ -- ------------------------------------------------------------------------------ + + + +------------------------------------------------------------------------------ +-- +-- Copyright (c) 2007 G. de Montmollin, Univ. Neuchatel +-- +-- Permission is hereby granted, free of charge, to any person obtaining a copy +-- of this software and associated documentation files (the "Software"), to deal +-- in the Software without restriction, including without limitation the rights +-- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +-- copies of the Software, and to permit persons to whom the Software is +-- furnished to do so, subject to the following conditions: +-- +-- The above copyright notice and this permission notice shall be included in all +-- copies or substantial portions of the Software. +-- +-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +-- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +-- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +-- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +-- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +-- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +-- SOFTWARE. +-- +------------------------------------------------------------------------------ + + + + with System; package Multi_precision_integers is -- cgit