Skip to content

Commit

Permalink
Fix #337
Browse files Browse the repository at this point in the history
Uniform unit headers.
  • Loading branch information
pyscripter committed Aug 2, 2023
1 parent 824cf1e commit ef41720
Show file tree
Hide file tree
Showing 55 changed files with 790 additions and 275 deletions.
20 changes: 20 additions & 0 deletions Contributors.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
## Contributors

### Fpc and Lazarus support:
- Alexey-T (https://github.com/Alexey-T)
### Early Contributors:
- Grzegorz Makarewicz ([email protected])
- Samuel Iseli ([email protected])
- Andrew Robinson ([email protected])
- Mark Watts([email protected])
- Olivier Deckmyn ([email protected])
- Sigve Tjora ([email protected])
- Mark Derricutt ([email protected])
- Igor E. Poteryaev ([email protected])
- Yuri Filimonov ([email protected])
- Stefan Hoffmeister ([email protected])
- Michiel du Toit ([email protected]) - Lazarus Port
- Chris Nicolai ([email protected])
- Andrey Gruzdev ([email protected])

More recent contributors can be seen at the [project contributors graph](https://github.com/pyscripter/python4delphi/graphs/contributors).
26 changes: 8 additions & 18 deletions Source/MethodCallBack.pas
Original file line number Diff line number Diff line change
@@ -1,28 +1,18 @@
(**************************************************************************)
(* This unit is part of the Python for Delphi (P4D) library *)
(* Project home: https://github.com/pyscripter/python4delphi *)
(* *)
(* Module: Unit 'MethodCallback' Copyright (c) 1998 *)
(* *)
(* Version: 0.0 Dr. Dietmar Budelsky *)
(* Sub-Version: 0.3 [email protected] *)
(* Germany *)
(* Project Maintainer: PyScripter ([email protected]) *)
(* Original Authors: Dr. Dietmar Budelsky ([email protected]) *)
(* Morgan Martinet (https://github.com/mmm-experts) *)
(* Core developer: Lucas Belo ([email protected]) *)
(* Contributors: See contributors.md at project home *)
(* *)
(* LICENCE and Copyright: MIT (see project home) *)
(**************************************************************************)
(* Functionality: Generates synthetic callback functions which calls *)
(* DELPHI Class Methods. A callback mechanism (DDE, PYTHON, TCL) can now *)
(* use DELPHI objects. *)
(* *)
(**************************************************************************)
(* Contributors: *)
(* Grzegorz Makarewicz ([email protected]) *)
(* Morgan Martinet ([email protected]) *)
(* Samuel Iseli ([email protected]) *)
(* Andrey Gruzdev ([email protected]) *)
(* Lucas Belo ([email protected]) *)
(**************************************************************************)
(* This source code is distributed with no WARRANTY, for no reason or use.*)
(* Everyone is allowed to use and change this code free, as long as this *)
(* header and its copyright text is intact. *)
(* Dr. Dietmar Budelsky, 1998-01-07 *)
(**************************************************************************)

{$I Definition.Inc}
Expand Down
13 changes: 13 additions & 0 deletions Source/PythonAction.pas
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
(**************************************************************************)
(* This unit is part of the Python for Delphi (P4D) library *)
(* Project home: https://github.com/pyscripter/python4delphi *)
(* *)
(* Project Maintainer: PyScripter ([email protected]) *)
(* Original Authors: Dr. Dietmar Budelsky ([email protected]) *)
(* Morgan Martinet (https://github.com/mmm-experts) *)
(* Core developer: Lucas Belo ([email protected]) *)
(* Contributors: See contributors.md at project home *)
(* *)
(* LICENCE and Copyright: MIT (see project home) *)
(**************************************************************************)

unit PythonAction;

interface
Expand Down
58 changes: 8 additions & 50 deletions Source/PythonEngine.pas
Original file line number Diff line number Diff line change
@@ -1,56 +1,14 @@
(**************************************************************************)
(* This unit is part of the Python for Delphi (P4D) library *)
(* Project home: https://github.com/pyscripter/python4delphi *)
(* *)
(* Module: Unit 'PythonEngine' Copyright (c) 1997 *)
(* Project Maintainer: PyScripter ([email protected]) *)
(* Original Authors: Dr. Dietmar Budelsky ([email protected]) *)
(* Morgan Martinet (https://github.com/mmm-experts) *)
(* Core developer: Lucas Belo ([email protected]) *)
(* Contributors: See contributors.md at project home *)
(* *)
(* Dr. Dietmar Budelsky *)
(* [email protected] *)
(* Germany *)
(* *)
(* Morgan Martinet *)
(* 4723 rue Brebeuf *)
(* H2J 3L2 MONTREAL (QC) *)
(* CANADA *)
(* e-mail: [email protected] *)
(* *)
(* PyScripter *)
(* e-mail: [email protected] *)
(* *)
(* Project page: https://github.com/pyscripter/python4delphi *)
(**************************************************************************)
(* Functionality: Delphi Components that provide an interface to the *)
(* Python language (see python.txt for more infos on *)
(* Python itself). *)
(* *)
(**************************************************************************)
(* Contributors: *)
(* Grzegorz Makarewicz ([email protected]) *)
(* Andrew Robinson ([email protected]) *)
(* Mark Watts([email protected]) *)
(* Olivier Deckmyn ([email protected]) *)
(* Sigve Tjora ([email protected]) *)
(* Mark Derricutt ([email protected]) *)
(* Igor E. Poteryaev ([email protected]) *)
(* Yuri Filimonov ([email protected]) *)
(* Stefan Hoffmeister ([email protected]) *)
(* Michiel du Toit ([email protected]) - Lazarus Port *)
(* Chris Nicolai ([email protected]) *)
(* Andrey Gruzdev ([email protected]) *)
(**************************************************************************)
(* This source code is distributed with no WARRANTY, for no reason or use.*)
(* Everyone is allowed to use and change this code free for his own tasks *)
(* and projects, as long as this header and its copyright text is intact. *)
(* For changed versions of this code, which are public distributed the *)
(* following additional conditions have to be fullfilled: *)
(* 1) The header has to contain a comment on the change and the author of *)
(* it. *)
(* 2) A copy of the changed source has to be sent to the above E-Mail *)
(* address or my then valid address, if this is possible to the *)
(* author. *)
(* The second condition has the target to maintain an up to date central *)
(* version of the component. If this condition is not acceptable for *)
(* confidential or legal reasons, everyone is free to derive a component *)
(* or to generate a diff file to my or other original sources. *)
(* Dr. Dietmar Budelsky, 1997-11-17 *)
(* LICENCE and Copyright: MIT (see project home) *)
(**************************************************************************)

{$I Definition.Inc}
Expand Down
22 changes: 14 additions & 8 deletions Source/PythonVersions.pas
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@
{-----------------------------------------------------------------------------
Unit Name: PythonVersions
Author: PyScripter
Purpose: Discover and get info about Python versions
Part of the Python for Delphi library
History:
-----------------------------------------------------------------------------}
(**************************************************************************)
(* This unit is part of the Python for Delphi (P4D) library *)
(* Project home: https://github.com/pyscripter/python4delphi *)
(* *)
(* Project Maintainer: PyScripter ([email protected]) *)
(* Original Authors: Dr. Dietmar Budelsky ([email protected]) *)
(* Morgan Martinet (https://github.com/mmm-experts) *)
(* Core developer: Lucas Belo ([email protected]) *)
(* Contributors: See contributors.md at project home *)
(* *)
(* LICENCE and Copyright: MIT (see project home) *)
(**************************************************************************)
(* Purpose: Discover and get info about Python versions *)
(**************************************************************************)

unit PythonVersions;

Expand Down
40 changes: 12 additions & 28 deletions Source/VarPyth.pas
Original file line number Diff line number Diff line change
@@ -1,41 +1,25 @@
{$I Definition.Inc}

unit VarPyth;

(**************************************************************************)
(* This unit is part of the Python for Delphi (P4D) library *)
(* Project home: https://github.com/pyscripter/python4delphi *)
(* *)
(* Module: Unit 'VarPyth' Copyright (c) 2001 *)
(* *)
(* Version: 1.0 Morgan Martinet *)
(* Sub-Version: 0.7 4723 rue Brebeuf *)
(* H2J 3L2 MONTREAL (QC) *)
(* CANADA *)
(* e-mail: [email protected] *)
(* Project Maintainer: PyScripter ([email protected]) *)
(* Original Authors: Dr. Dietmar Budelsky ([email protected]) *)
(* Morgan Martinet (https://github.com/mmm-experts) *)
(* Core developer: Lucas Belo ([email protected]) *)
(* Contributors: See contributors.md at project home *)
(* *)
(* LICENCE and Copyright: MIT (see project home) *)
(**************************************************************************)
(* Functionality: This allows you to use Python objects like COM *)
(* automation objects, inside your Delphi source code. *)
(* This is a replacement of the former PythonAtom.pas *)
(* that uses the new custom variant types introduced *)
(* in Delphi6. *)
(**************************************************************************)
(* Contributors: *)
(**************************************************************************)
(* This source code is distributed with no WARRANTY, for no reason or use.*)
(* Everyone is allowed to use and change this code free for his own tasks *)
(* and projects, as long as this header and its copyright text is intact. *)
(* For changed versions of this code, which are public distributed the *)
(* following additional conditions have to be fullfilled: *)
(* 1) The header has to contain a comment on the change and the author of *)
(* it. *)
(* 2) A copy of the changed source has to be sent to the above E-Mail *)
(* address or my then valid address, if this is possible to the *)
(* author. *)
(* The second condition has the target to maintain an up to date central *)
(* version of the component. If this condition is not acceptable for *)
(* confidential or legal reasons, everyone is free to derive a component *)
(* or to generate a diff file to my or other original sources. *)
(**************************************************************************)

{$I Definition.Inc}

unit VarPyth;

interface

Expand Down
13 changes: 13 additions & 0 deletions Source/WrapActions.pas
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
(**************************************************************************)
(* This unit is part of the Python for Delphi (P4D) library *)
(* Project home: https://github.com/pyscripter/python4delphi *)
(* *)
(* Project Maintainer: PyScripter ([email protected]) *)
(* Original Authors: Dr. Dietmar Budelsky ([email protected]) *)
(* Morgan Martinet (https://github.com/mmm-experts) *)
(* Core developer: Lucas Belo ([email protected]) *)
(* Contributors: See contributors.md at project home *)
(* *)
(* LICENCE and Copyright: MIT (see project home) *)
(**************************************************************************)

unit WrapActions;

interface
Expand Down
21 changes: 14 additions & 7 deletions Source/WrapDelphi.pas
Original file line number Diff line number Diff line change
@@ -1,12 +1,19 @@
(*-----------------------------------------------------------------------------
Unit Name: WrapDelphi
Author: Kiriakos Vlahos
Date: 24-Feb-2005
(**************************************************************************)
(* This unit is part of the Python for Delphi (P4D) library *)
(* Project home: https://github.com/pyscripter/python4delphi *)
(* *)
(* Project Maintainer: PyScripter ([email protected]) *)
(* Original Authors: Dr. Dietmar Budelsky ([email protected]) *)
(* Morgan Martinet (https://github.com/mmm-experts) *)
(* Core developer: Lucas Belo ([email protected]) *)
(* Contributors: See contributors.md at project home *)
(* *)
(* LICENCE and Copyright: MIT (see project home) *)
(**************************************************************************)

(*-----------------------------------------------------------------------------
Purpose: Provide automatic wrapping of Delphi variables utilising RTTI
Contributors:
Morgan Martinet ([email protected])
Features:
Published properties and methods compiled with {$METHODINFO ON} are
handled automatically (Note that METHODINFO can be used only with Delphi7
Expand Down
13 changes: 13 additions & 0 deletions Source/WrapDelphiClasses.pas
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
(**************************************************************************)
(* This unit is part of the Python for Delphi (P4D) library *)
(* Project home: https://github.com/pyscripter/python4delphi *)
(* *)
(* Project Maintainer: PyScripter ([email protected]) *)
(* Original Authors: Dr. Dietmar Budelsky ([email protected]) *)
(* Morgan Martinet (https://github.com/mmm-experts) *)
(* Core developer: Lucas Belo ([email protected]) *)
(* Contributors: See contributors.md at project home *)
(* *)
(* LICENCE and Copyright: MIT (see project home) *)
(**************************************************************************)

{$I Definition.Inc}

unit WrapDelphiClasses;
Expand Down
13 changes: 13 additions & 0 deletions Source/WrapDelphiDataBind.pas
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
(**************************************************************************)
(* This unit is part of the Python for Delphi (P4D) library *)
(* Project home: https://github.com/pyscripter/python4delphi *)
(* *)
(* Project Maintainer: PyScripter ([email protected]) *)
(* Original Authors: Dr. Dietmar Budelsky ([email protected]) *)
(* Morgan Martinet (https://github.com/mmm-experts) *)
(* Core developer: Lucas Belo ([email protected]) *)
(* Contributors: See contributors.md at project home *)
(* *)
(* LICENCE and Copyright: MIT (see project home) *)
(**************************************************************************)

unit WrapDelphiDataBind;

interface
Expand Down
13 changes: 13 additions & 0 deletions Source/WrapDelphiTypes.pas
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
(**************************************************************************)
(* This unit is part of the Python for Delphi (P4D) library *)
(* Project home: https://github.com/pyscripter/python4delphi *)
(* *)
(* Project Maintainer: PyScripter ([email protected]) *)
(* Original Authors: Dr. Dietmar Budelsky ([email protected]) *)
(* Morgan Martinet (https://github.com/mmm-experts) *)
(* Core developer: Lucas Belo ([email protected]) *)
(* Contributors: See contributors.md at project home *)
(* *)
(* LICENCE and Copyright: MIT (see project home) *)
(**************************************************************************)

{$I Definition.Inc}

unit WrapDelphiTypes;
Expand Down
Loading

0 comments on commit ef41720

Please sign in to comment.