Update copyright year

This commit is contained in:
Dan 2020-04-30 14:12:36 +02:00
parent e848d0aaac
commit 950503f167
19 changed files with 277 additions and 259 deletions

2
NOTICE
View File

@ -1,5 +1,5 @@
Pyrogram - Telegram MTProto API Client Library for Python Pyrogram - Telegram MTProto API Client Library for Python
Copyright (C) 2017-2019 Dan <https://github.com/delivrance> Copyright (C) 2017-2020 Dan <https://github.com/delivrance>
This file is part of Pyrogram. This file is part of Pyrogram.

View File

@ -167,4 +167,4 @@ print(data == cbc_decrypted) # True
## License ## License
[LGPLv3+](COPYING.lesser) © 2017-2019 [Dan](https://github.com/delivrance) [LGPLv3+](COPYING.lesser) © 2017-2020 [Dan](https://github.com/delivrance)

View File

@ -1,5 +1,5 @@
# Pyrogram - Telegram MTProto API Client Library for Python # Pyrogram - Telegram MTProto API Client Library for Python
# Copyright (C) 2017-2019 Dan <https://github.com/delivrance> # Copyright (C) 2017-2020 Dan <https://github.com/delivrance>
# #
# This file is part of Pyrogram. # This file is part of Pyrogram.
# #

View File

@ -1,5 +1,5 @@
# Pyrogram - Telegram MTProto API Client Library for Python # Pyrogram - Telegram MTProto API Client Library for Python
# Copyright (C) 2017-2019 Dan <https://github.com/delivrance> # Copyright (C) 2017-2020 Dan <https://github.com/delivrance>
# #
# This file is part of Pyrogram. # This file is part of Pyrogram.
# #

View File

@ -1,5 +1,5 @@
# Pyrogram - Telegram MTProto API Client Library for Python # Pyrogram - Telegram MTProto API Client Library for Python
# Copyright (C) 2017-2019 Dan <https://github.com/delivrance> # Copyright (C) 2017-2020 Dan <https://github.com/delivrance>
# #
# This file is part of Pyrogram. # This file is part of Pyrogram.
# #

View File

@ -1,5 +1,5 @@
# Pyrogram - Telegram MTProto API Client Library for Python # Pyrogram - Telegram MTProto API Client Library for Python
# Copyright (C) 2017-2019 Dan <https://github.com/delivrance> # Copyright (C) 2017-2020 Dan <https://github.com/delivrance>
# #
# This file is part of Pyrogram. # This file is part of Pyrogram.
# #

View File

@ -1,5 +1,5 @@
# Pyrogram - Telegram MTProto API Client Library for Python # Pyrogram - Telegram MTProto API Client Library for Python
# Copyright (C) 2017-2019 Dan <https://github.com/delivrance> # Copyright (C) 2017-2020 Dan <https://github.com/delivrance>
# #
# This file is part of Pyrogram. # This file is part of Pyrogram.
# #

View File

@ -1,5 +1,5 @@
# Pyrogram - Telegram MTProto API Client Library for Python # Pyrogram - Telegram MTProto API Client Library for Python
# Copyright (C) 2017-2019 Dan <https://github.com/delivrance> # Copyright (C) 2017-2020 Dan <https://github.com/delivrance>
# #
# This file is part of Pyrogram. # This file is part of Pyrogram.
# #

View File

@ -1,5 +1,5 @@
# Pyrogram - Telegram MTProto API Client Library for Python # Pyrogram - Telegram MTProto API Client Library for Python
# Copyright (C) 2017-2019 Dan <https://github.com/delivrance> # Copyright (C) 2017-2020 Dan <https://github.com/delivrance>
# #
# This file is part of Pyrogram. # This file is part of Pyrogram.
# #

View File

@ -1,5 +1,5 @@
# Pyrogram - Telegram MTProto API Client Library for Python # Pyrogram - Telegram MTProto API Client Library for Python
# Copyright (C) 2017-2019 Dan <https://github.com/delivrance> # Copyright (C) 2017-2020 Dan <https://github.com/delivrance>
# #
# This file is part of Pyrogram. # This file is part of Pyrogram.
# #

View File

@ -1,20 +1,22 @@
// Pyrogram - Telegram MTProto API Client Library for Python /*
// Copyright (C) 2017-2019 Dan <https://github.com/delivrance> * Pyrogram - Telegram MTProto API Client Library for Python
// * Copyright (C) 2017-2020 Dan <https://github.com/delivrance>
// This file is part of Pyrogram. *
// * This file is part of Pyrogram.
// Pyrogram is free software: you can redistribute it and/or modify *
// it under the terms of the GNU Lesser General Public License as published * Pyrogram is free software: you can redistribute it and/or modify
// by the Free Software Foundation, either version 3 of the License, or * it under the terms of the GNU Lesser General Public License as published
// (at your option) any later version. * by the Free Software Foundation, either version 3 of the License, or
// * (at your option) any later version.
// Pyrogram is distributed in the hope that it will be useful, *
// but WITHOUT ANY WARRANTY; without even the implied warranty of * Pyrogram is distributed in the hope that it will be useful,
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * but WITHOUT ANY WARRANTY; without even the implied warranty of
// GNU Lesser General Public License for more details. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU Lesser General Public License for more details.
// You should have received a copy of the GNU Lesser General Public License *
// along with Pyrogram. If not, see <http://www.gnu.org/licenses/>. * You should have received a copy of the GNU Lesser General Public License
* along with Pyrogram. If not, see <http://www.gnu.org/licenses/>.
*/
#include "aes256.h" #include "aes256.h"

View File

@ -1,20 +1,22 @@
// Pyrogram - Telegram MTProto API Client Library for Python /*
// Copyright (C) 2017-2019 Dan <https://github.com/delivrance> * Pyrogram - Telegram MTProto API Client Library for Python
// * Copyright (C) 2017-2020 Dan <https://github.com/delivrance>
// This file is part of Pyrogram. *
// * This file is part of Pyrogram.
// Pyrogram is free software: you can redistribute it and/or modify *
// it under the terms of the GNU Lesser General Public License as published * Pyrogram is free software: you can redistribute it and/or modify
// by the Free Software Foundation, either version 3 of the License, or * it under the terms of the GNU Lesser General Public License as published
// (at your option) any later version. * by the Free Software Foundation, either version 3 of the License, or
// * (at your option) any later version.
// Pyrogram is distributed in the hope that it will be useful, *
// but WITHOUT ANY WARRANTY; without even the implied warranty of * Pyrogram is distributed in the hope that it will be useful,
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * but WITHOUT ANY WARRANTY; without even the implied warranty of
// GNU Lesser General Public License for more details. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU Lesser General Public License for more details.
// You should have received a copy of the GNU Lesser General Public License *
// along with Pyrogram. If not, see <http://www.gnu.org/licenses/>. * You should have received a copy of the GNU Lesser General Public License
* along with Pyrogram. If not, see <http://www.gnu.org/licenses/>.
*/
#include <stdint.h> #include <stdint.h>
#include <stdlib.h> #include <stdlib.h>

View File

@ -1,20 +1,22 @@
// Pyrogram - Telegram MTProto API Client Library for Python /*
// Copyright (C) 2017-2019 Dan <https://github.com/delivrance> * Pyrogram - Telegram MTProto API Client Library for Python
// * Copyright (C) 2017-2020 Dan <https://github.com/delivrance>
// This file is part of Pyrogram. *
// * This file is part of Pyrogram.
// Pyrogram is free software: you can redistribute it and/or modify *
// it under the terms of the GNU Lesser General Public License as published * Pyrogram is free software: you can redistribute it and/or modify
// by the Free Software Foundation, either version 3 of the License, or * it under the terms of the GNU Lesser General Public License as published
// (at your option) any later version. * by the Free Software Foundation, either version 3 of the License, or
// * (at your option) any later version.
// Pyrogram is distributed in the hope that it will be useful, *
// but WITHOUT ANY WARRANTY; without even the implied warranty of * Pyrogram is distributed in the hope that it will be useful,
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * but WITHOUT ANY WARRANTY; without even the implied warranty of
// GNU Lesser General Public License for more details. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU Lesser General Public License for more details.
// You should have received a copy of the GNU Lesser General Public License *
// along with Pyrogram. If not, see <http://www.gnu.org/licenses/>. * You should have received a copy of the GNU Lesser General Public License
* along with Pyrogram. If not, see <http://www.gnu.org/licenses/>.
*/
#include "aes256.h" #include "aes256.h"

View File

@ -1,20 +1,22 @@
// Pyrogram - Telegram MTProto API Client Library for Python /*
// Copyright (C) 2017-2019 Dan <https://github.com/delivrance> * Pyrogram - Telegram MTProto API Client Library for Python
// * Copyright (C) 2017-2020 Dan <https://github.com/delivrance>
// This file is part of Pyrogram. *
// * This file is part of Pyrogram.
// Pyrogram is free software: you can redistribute it and/or modify *
// it under the terms of the GNU Lesser General Public License as published * Pyrogram is free software: you can redistribute it and/or modify
// by the Free Software Foundation, either version 3 of the License, or * it under the terms of the GNU Lesser General Public License as published
// (at your option) any later version. * by the Free Software Foundation, either version 3 of the License, or
// * (at your option) any later version.
// Pyrogram is distributed in the hope that it will be useful, *
// but WITHOUT ANY WARRANTY; without even the implied warranty of * Pyrogram is distributed in the hope that it will be useful,
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * but WITHOUT ANY WARRANTY; without even the implied warranty of
// GNU Lesser General Public License for more details. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU Lesser General Public License for more details.
// You should have received a copy of the GNU Lesser General Public License *
// along with Pyrogram. If not, see <http://www.gnu.org/licenses/>. * You should have received a copy of the GNU Lesser General Public License
* along with Pyrogram. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef CBC256_H #ifndef CBC256_H
#define CBC256_H #define CBC256_H

View File

@ -1,20 +1,22 @@
// Pyrogram - Telegram MTProto API Client Library for Python /*
// Copyright (C) 2017-2019 Dan <https://github.com/delivrance> * Pyrogram - Telegram MTProto API Client Library for Python
// * Copyright (C) 2017-2020 Dan <https://github.com/delivrance>
// This file is part of Pyrogram. *
// * This file is part of Pyrogram.
// Pyrogram is free software: you can redistribute it and/or modify *
// it under the terms of the GNU Lesser General Public License as published * Pyrogram is free software: you can redistribute it and/or modify
// by the Free Software Foundation, either version 3 of the License, or * it under the terms of the GNU Lesser General Public License as published
// (at your option) any later version. * by the Free Software Foundation, either version 3 of the License, or
// * (at your option) any later version.
// Pyrogram is distributed in the hope that it will be useful, *
// but WITHOUT ANY WARRANTY; without even the implied warranty of * Pyrogram is distributed in the hope that it will be useful,
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * but WITHOUT ANY WARRANTY; without even the implied warranty of
// GNU Lesser General Public License for more details. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU Lesser General Public License for more details.
// You should have received a copy of the GNU Lesser General Public License *
// along with Pyrogram. If not, see <http://www.gnu.org/licenses/>. * You should have received a copy of the GNU Lesser General Public License
* along with Pyrogram. If not, see <http://www.gnu.org/licenses/>.
*/
#include "aes256.h" #include "aes256.h"

View File

@ -1,20 +1,22 @@
// Pyrogram - Telegram MTProto API Client Library for Python /*
// Copyright (C) 2017-2019 Dan <https://github.com/delivrance> * Pyrogram - Telegram MTProto API Client Library for Python
// * Copyright (C) 2017-2020 Dan <https://github.com/delivrance>
// This file is part of Pyrogram. *
// * This file is part of Pyrogram.
// Pyrogram is free software: you can redistribute it and/or modify *
// it under the terms of the GNU Lesser General Public License as published * Pyrogram is free software: you can redistribute it and/or modify
// by the Free Software Foundation, either version 3 of the License, or * it under the terms of the GNU Lesser General Public License as published
// (at your option) any later version. * by the Free Software Foundation, either version 3 of the License, or
// * (at your option) any later version.
// Pyrogram is distributed in the hope that it will be useful, *
// but WITHOUT ANY WARRANTY; without even the implied warranty of * Pyrogram is distributed in the hope that it will be useful,
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * but WITHOUT ANY WARRANTY; without even the implied warranty of
// GNU Lesser General Public License for more details. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU Lesser General Public License for more details.
// You should have received a copy of the GNU Lesser General Public License *
// along with Pyrogram. If not, see <http://www.gnu.org/licenses/>. * You should have received a copy of the GNU Lesser General Public License
* along with Pyrogram. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef CTR256_H #ifndef CTR256_H
#define CTR256_H #define CTR256_H

View File

@ -1,20 +1,22 @@
// Pyrogram - Telegram MTProto API Client Library for Python /*
// Copyright (C) 2017-2019 Dan <https://github.com/delivrance> * Pyrogram - Telegram MTProto API Client Library for Python
// * Copyright (C) 2017-2020 Dan <https://github.com/delivrance>
// This file is part of Pyrogram. *
// * This file is part of Pyrogram.
// Pyrogram is free software: you can redistribute it and/or modify *
// it under the terms of the GNU Lesser General Public License as published * Pyrogram is free software: you can redistribute it and/or modify
// by the Free Software Foundation, either version 3 of the License, or * it under the terms of the GNU Lesser General Public License as published
// (at your option) any later version. * by the Free Software Foundation, either version 3 of the License, or
// * (at your option) any later version.
// Pyrogram is distributed in the hope that it will be useful, *
// but WITHOUT ANY WARRANTY; without even the implied warranty of * Pyrogram is distributed in the hope that it will be useful,
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * but WITHOUT ANY WARRANTY; without even the implied warranty of
// GNU Lesser General Public License for more details. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU Lesser General Public License for more details.
// You should have received a copy of the GNU Lesser General Public License *
// along with Pyrogram. If not, see <http://www.gnu.org/licenses/>. * You should have received a copy of the GNU Lesser General Public License
* along with Pyrogram. If not, see <http://www.gnu.org/licenses/>.
*/
#include "aes256.h" #include "aes256.h"

View File

@ -1,20 +1,22 @@
// Pyrogram - Telegram MTProto API Client Library for Python /*
// Copyright (C) 2017-2019 Dan <https://github.com/delivrance> * Pyrogram - Telegram MTProto API Client Library for Python
// * Copyright (C) 2017-2020 Dan <https://github.com/delivrance>
// This file is part of Pyrogram. *
// * This file is part of Pyrogram.
// Pyrogram is free software: you can redistribute it and/or modify *
// it under the terms of the GNU Lesser General Public License as published * Pyrogram is free software: you can redistribute it and/or modify
// by the Free Software Foundation, either version 3 of the License, or * it under the terms of the GNU Lesser General Public License as published
// (at your option) any later version. * by the Free Software Foundation, either version 3 of the License, or
// * (at your option) any later version.
// Pyrogram is distributed in the hope that it will be useful, *
// but WITHOUT ANY WARRANTY; without even the implied warranty of * Pyrogram is distributed in the hope that it will be useful,
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * but WITHOUT ANY WARRANTY; without even the implied warranty of
// GNU Lesser General Public License for more details. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU Lesser General Public License for more details.
// You should have received a copy of the GNU Lesser General Public License *
// along with Pyrogram. If not, see <http://www.gnu.org/licenses/>. * You should have received a copy of the GNU Lesser General Public License
* along with Pyrogram. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef IGE256_H #ifndef IGE256_H
#define IGE256_H #define IGE256_H

View File

@ -1,20 +1,22 @@
// Pyrogram - Telegram MTProto API Client Library for Python /*
// Copyright (C) 2017-2019 Dan <https://github.com/delivrance> * Pyrogram - Telegram MTProto API Client Library for Python
// * Copyright (C) 2017-2020 Dan <https://github.com/delivrance>
// This file is part of Pyrogram. *
// * This file is part of Pyrogram.
// Pyrogram is free software: you can redistribute it and/or modify *
// it under the terms of the GNU Lesser General Public License as published * Pyrogram is free software: you can redistribute it and/or modify
// by the Free Software Foundation, either version 3 of the License, or * it under the terms of the GNU Lesser General Public License as published
// (at your option) any later version. * by the Free Software Foundation, either version 3 of the License, or
// * (at your option) any later version.
// Pyrogram is distributed in the hope that it will be useful, *
// but WITHOUT ANY WARRANTY; without even the implied warranty of * Pyrogram is distributed in the hope that it will be useful,
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * but WITHOUT ANY WARRANTY; without even the implied warranty of
// GNU Lesser General Public License for more details. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU Lesser General Public License for more details.
// You should have received a copy of the GNU Lesser General Public License *
// along with Pyrogram. If not, see <http://www.gnu.org/licenses/>. * You should have received a copy of the GNU Lesser General Public License
* along with Pyrogram. If not, see <http://www.gnu.org/licenses/>.
*/
#define PY_SSIZE_T_CLEAN #define PY_SSIZE_T_CLEAN
#include <Python.h> #include <Python.h>