Mercurial > hgrepos > Python > apps > py-cutils
changeset 186:5c5c0c5a7402
Sync with latest crcmod2
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Tue, 14 Jan 2025 13:31:39 +0100 |
| parents | f04d4b1c14b3 |
| children | 7b41cd8692fc |
| files | cutils/crcmod/__init__.py cutils/crcmod/predefined.py cutils/crcmod/python2/__init__.py cutils/crcmod/python2/crcmod.py cutils/crcmod/python2/predefined.py cutils/crcmod/python2/test.py cutils/crcmod/python3/__init__.py cutils/crcmod/python3/crcmod.py cutils/crcmod/python3/predefined.py cutils/crcmod/python3/test.py cutils/crcmod/test.py |
| diffstat | 11 files changed, 124 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/cutils/crcmod/__init__.py Tue Jan 14 11:35:18 2025 +0100 +++ b/cutils/crcmod/__init__.py Tue Jan 14 13:31:39 2025 +0100 @@ -1,4 +1,28 @@ # -*- coding: utf-8; -*- +#----------------------------------------------------------------------------- +# Copyright (c) 2010 Raymond L. Buvel +# Copyright (c) 2010 Craig McQueen +# Copyright (c) 2025 Franz Glasner +# +# 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. +#----------------------------------------------------------------------------- + from __future__ import absolute_import import sys
--- a/cutils/crcmod/predefined.py Tue Jan 14 11:35:18 2025 +0100 +++ b/cutils/crcmod/predefined.py Tue Jan 14 13:31:39 2025 +0100 @@ -1,4 +1,28 @@ # -*- coding: utf-8; -*- +#----------------------------------------------------------------------------- +# Copyright (c) 2010 Raymond L. Buvel +# Copyright (c) 2010 Craig McQueen +# Copyright (c) 2025 Franz Glasner +# +# 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. +#----------------------------------------------------------------------------- + from __future__ import absolute_import import sys
--- a/cutils/crcmod/python2/__init__.py Tue Jan 14 11:35:18 2025 +0100 +++ b/cutils/crcmod/python2/__init__.py Tue Jan 14 13:31:39 2025 +0100 @@ -1,1 +1,24 @@ # -*- coding: utf-8 -*- +#----------------------------------------------------------------------------- +# Copyright (c) 2010 Raymond L. Buvel +# Copyright (c) 2010 Craig McQueen +# Copyright (c) 2025 Franz Glasner +# +# 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. +#-----------------------------------------------------------------------------
--- a/cutils/crcmod/python2/crcmod.py Tue Jan 14 11:35:18 2025 +0100 +++ b/cutils/crcmod/python2/crcmod.py Tue Jan 14 13:31:39 2025 +0100 @@ -1,6 +1,7 @@ #----------------------------------------------------------------------------- # Copyright (c) 2010 Raymond L. Buvel # Copyright (c) 2010 Craig McQueen +# Copyright (c) 2025 Franz Glasner # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal
--- a/cutils/crcmod/python2/predefined.py Tue Jan 14 11:35:18 2025 +0100 +++ b/cutils/crcmod/python2/predefined.py Tue Jan 14 13:31:39 2025 +0100 @@ -1,5 +1,6 @@ #----------------------------------------------------------------------------- # Copyright (c) 2010 Craig McQueen +# Copyright (c) 2025 Franz Glasner # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal
--- a/cutils/crcmod/python2/test.py Tue Jan 14 11:35:18 2025 +0100 +++ b/cutils/crcmod/python2/test.py Tue Jan 14 13:31:39 2025 +0100 @@ -1,6 +1,7 @@ #----------------------------------------------------------------------------- # Copyright (c) 2010 Raymond L. Buvel # Copyright (c) 2010 Craig McQueen +# Copyright (c) 2025 Franz Glasner # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal
--- a/cutils/crcmod/python3/__init__.py Tue Jan 14 11:35:18 2025 +0100 +++ b/cutils/crcmod/python3/__init__.py Tue Jan 14 13:31:39 2025 +0100 @@ -1,1 +1,24 @@ # -*- coding: utf-8 -*- +#----------------------------------------------------------------------------- +# Copyright (c) 2010 Raymond L. Buvel +# Copyright (c) 2010 Craig McQueen +# Copyright (c) 2025 Franz Glasner +# +# 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. +#-----------------------------------------------------------------------------
--- a/cutils/crcmod/python3/crcmod.py Tue Jan 14 11:35:18 2025 +0100 +++ b/cutils/crcmod/python3/crcmod.py Tue Jan 14 13:31:39 2025 +0100 @@ -1,6 +1,7 @@ #----------------------------------------------------------------------------- # Copyright (c) 2010 Raymond L. Buvel # Copyright (c) 2010 Craig McQueen +# Copyright (c) 2025 Franz Glasner # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal
--- a/cutils/crcmod/python3/predefined.py Tue Jan 14 11:35:18 2025 +0100 +++ b/cutils/crcmod/python3/predefined.py Tue Jan 14 13:31:39 2025 +0100 @@ -1,5 +1,6 @@ #----------------------------------------------------------------------------- # Copyright (c) 2010 Craig McQueen +# Copyright (c) 2025 Franz Glasner # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal
--- a/cutils/crcmod/python3/test.py Tue Jan 14 11:35:18 2025 +0100 +++ b/cutils/crcmod/python3/test.py Tue Jan 14 13:31:39 2025 +0100 @@ -1,6 +1,7 @@ #----------------------------------------------------------------------------- # Copyright (c) 2010 Raymond L. Buvel # Copyright (c) 2010 Craig McQueen +# Copyright (c) 2025 Franz Glasner # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal
--- a/cutils/crcmod/test.py Tue Jan 14 11:35:18 2025 +0100 +++ b/cutils/crcmod/test.py Tue Jan 14 13:31:39 2025 +0100 @@ -1,4 +1,28 @@ # -*- coding: utf-8; -*- +#----------------------------------------------------------------------------- +# Copyright (c) 2010 Raymond L. Buvel +# Copyright (c) 2010 Craig McQueen +# Copyright (c) 2025 Franz Glasner +# +# 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. +#----------------------------------------------------------------------------- + from __future__ import absolute_import import sys
