Skip to content

Synchronize with upstream #70

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 14 commits into from
Aug 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 (mak@mikroplan.com.pl)
- Samuel Iseli (iseli@vertec.ch)
- Andrew Robinson (andy@hps1.demon.co.uk)
- Mark Watts(mark_watts@hotmail.com)
- Olivier Deckmyn (olivier.deckmyn@mail.dotcom.fr)
- Sigve Tjora (public@tjora.no)
- Mark Derricutt (mark@talios.com)
- Igor E. Poteryaev (jah@mail.ru)
- Yuri Filimonov (fil65@mail.ru)
- Stefan Hoffmeister (Stefan.Hoffmeister@Econos.de)
- Michiel du Toit (micdutoit@hsbfn.com) - Lazarus Port
- Chris Nicolai (nicolaitanes@gmail.com)
- Andrey Gruzdev (andrey.gruzdev@gmail.com)

More recent contributors can be seen at the [project contributors graph](https://github.com/pyscripter/python4delphi/graphs/contributors).
1 change: 1 addition & 0 deletions Packages/Delphi/Delphi 10.4+/Python.dproj
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@
<DCCReference Include="..\..\..\Source\WrapActions.pas"/>
<DCCReference Include="..\..\..\Source\WrapDelphiDataBind.pas"/>
<DCCReference Include="..\..\..\Source\PythonDocs.pas"/>
<DCCReference Include="..\..\..\Source\WrapDelphiImageList.pas"/>
<BuildConfiguration Include="Base">
<Key>Base</Key>
</BuildConfiguration>
Expand Down
1,936 changes: 968 additions & 968 deletions Packages/Delphi/Delphi 10.4+/PythonFmxLinux.dproj

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions Packages/Delphi/Delphi 10.4+/PythonVcl.dproj
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@
<DCCReference Include="..\..\..\Source\vcl\WrapVclWinXCtrls.pas"/>
<DCCReference Include="..\..\..\Source\vcl\WrapVclThemes.pas"/>
<DCCReference Include="..\..\..\Source\vcl\WrapVclMedia.pas"/>
<DCCReference Include="..\..\..\Source\vcl\WrapVclImgList.pas"/>
<BuildConfiguration Include="Base">
<Key>Base</Key>
</BuildConfiguration>
Expand Down
192 changes: 96 additions & 96 deletions Packages/Delphi/P4DComponentSuite.groupproj
Original file line number Diff line number Diff line change
@@ -1,96 +1,96 @@
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<ProjectGuid>{8BE1193B-E609-445D-9BA3-F57DBEA042F5}</ProjectGuid>
</PropertyGroup>
<ItemGroup>
<Projects Include="Delphi 10.4+\Python.dproj">
<Dependencies/>
</Projects>
<Projects Include="Delphi 10.4+\dclPython.dproj">
<Dependencies>Delphi 10.4+\Python.dproj</Dependencies>
</Projects>
<Projects Include="Delphi 10.4+\PythonVcl.dproj">
<Dependencies>Delphi 10.4+\Python.dproj</Dependencies>
</Projects>
<Projects Include="Delphi 10.4+\dclPythonVcl.dproj">
<Dependencies>Delphi 10.4+\PythonVcl.dproj</Dependencies>
</Projects>
<Projects Include="Delphi 10.4+\PythonFmx.dproj">
<Dependencies/>
</Projects>
<Projects Include="Delphi 10.4+\dclPythonFmx.dproj">
<Dependencies/>
</Projects>
</ItemGroup>
<ProjectExtensions>
<Borland.Personality>Default.Personality.12</Borland.Personality>
<Borland.ProjectType/>
<BorlandProject>
<Default.Personality/>
</BorlandProject>
</ProjectExtensions>
<Target Name="Python">
<MSBuild Projects="Delphi 10.4+\Python.dproj"/>
</Target>
<Target Name="Python:Clean">
<MSBuild Projects="Delphi 10.4+\Python.dproj" Targets="Clean"/>
</Target>
<Target Name="Python:Make">
<MSBuild Projects="Delphi 10.4+\Python.dproj" Targets="Make"/>
</Target>
<Target Name="dclPython" DependsOnTargets="Python">
<MSBuild Projects="Delphi 10.4+\dclPython.dproj"/>
</Target>
<Target Name="dclPython:Clean" DependsOnTargets="Python:Clean">
<MSBuild Projects="Delphi 10.4+\dclPython.dproj" Targets="Clean"/>
</Target>
<Target Name="dclPython:Make" DependsOnTargets="Python:Make">
<MSBuild Projects="Delphi 10.4+\dclPython.dproj" Targets="Make"/>
</Target>
<Target Name="PythonVcl" DependsOnTargets="Python">
<MSBuild Projects="Delphi 10.4+\PythonVcl.dproj"/>
</Target>
<Target Name="PythonVcl:Clean" DependsOnTargets="Python:Clean">
<MSBuild Projects="Delphi 10.4+\PythonVcl.dproj" Targets="Clean"/>
</Target>
<Target Name="PythonVcl:Make" DependsOnTargets="Python:Make">
<MSBuild Projects="Delphi 10.4+\PythonVcl.dproj" Targets="Make"/>
</Target>
<Target Name="dclPythonVcl" DependsOnTargets="PythonVcl">
<MSBuild Projects="Delphi 10.4+\dclPythonVcl.dproj"/>
</Target>
<Target Name="dclPythonVcl:Clean" DependsOnTargets="PythonVcl:Clean">
<MSBuild Projects="Delphi 10.4+\dclPythonVcl.dproj" Targets="Clean"/>
</Target>
<Target Name="dclPythonVcl:Make" DependsOnTargets="PythonVcl:Make">
<MSBuild Projects="Delphi 10.4+\dclPythonVcl.dproj" Targets="Make"/>
</Target>
<Target Name="PythonFmx">
<MSBuild Projects="Delphi 10.4+\PythonFmx.dproj"/>
</Target>
<Target Name="PythonFmx:Clean">
<MSBuild Projects="Delphi 10.4+\PythonFmx.dproj" Targets="Clean"/>
</Target>
<Target Name="PythonFmx:Make">
<MSBuild Projects="Delphi 10.4+\PythonFmx.dproj" Targets="Make"/>
</Target>
<Target Name="dclPythonFmx">
<MSBuild Projects="Delphi 10.4+\dclPythonFmx.dproj"/>
</Target>
<Target Name="dclPythonFmx:Clean">
<MSBuild Projects="Delphi 10.4+\dclPythonFmx.dproj" Targets="Clean"/>
</Target>
<Target Name="dclPythonFmx:Make">
<MSBuild Projects="Delphi 10.4+\dclPythonFmx.dproj" Targets="Make"/>
</Target>
<Target Name="Build">
<CallTarget Targets="Python;dclPython;PythonVcl;dclPythonVcl;PythonFmx;dclPythonFmx"/>
</Target>
<Target Name="Clean">
<CallTarget Targets="Python:Clean;dclPython:Clean;PythonVcl:Clean;dclPythonVcl:Clean;PythonFmx:Clean;dclPythonFmx:Clean"/>
</Target>
<Target Name="Make">
<CallTarget Targets="Python:Make;dclPython:Make;PythonVcl:Make;dclPythonVcl:Make;PythonFmx:Make;dclPythonFmx:Make"/>
</Target>
<Import Project="$(BDS)\Bin\CodeGear.Group.Targets" Condition="Exists('$(BDS)\Bin\CodeGear.Group.Targets')"/>
</Project>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<ProjectGuid>{8BE1193B-E609-445D-9BA3-F57DBEA042F5}</ProjectGuid>
</PropertyGroup>
<ItemGroup>
<Projects Include="Delphi 10.4+\Python.dproj">
<Dependencies/>
</Projects>
<Projects Include="Delphi 10.4+\dclPython.dproj">
<Dependencies>Delphi 10.4+\Python.dproj</Dependencies>
</Projects>
<Projects Include="Delphi 10.4+\PythonVcl.dproj">
<Dependencies>Delphi 10.4+\Python.dproj</Dependencies>
</Projects>
<Projects Include="Delphi 10.4+\dclPythonVcl.dproj">
<Dependencies>Delphi 10.4+\PythonVcl.dproj</Dependencies>
</Projects>
<Projects Include="Delphi 10.4+\PythonFmx.dproj">
<Dependencies/>
</Projects>
<Projects Include="Delphi 10.4+\dclPythonFmx.dproj">
<Dependencies/>
</Projects>
</ItemGroup>
<ProjectExtensions>
<Borland.Personality>Default.Personality.12</Borland.Personality>
<Borland.ProjectType/>
<BorlandProject>
<Default.Personality/>
</BorlandProject>
</ProjectExtensions>
<Target Name="Python">
<MSBuild Projects="Delphi 10.4+\Python.dproj"/>
</Target>
<Target Name="Python:Clean">
<MSBuild Projects="Delphi 10.4+\Python.dproj" Targets="Clean"/>
</Target>
<Target Name="Python:Make">
<MSBuild Projects="Delphi 10.4+\Python.dproj" Targets="Make"/>
</Target>
<Target Name="dclPython" DependsOnTargets="Python">
<MSBuild Projects="Delphi 10.4+\dclPython.dproj"/>
</Target>
<Target Name="dclPython:Clean" DependsOnTargets="Python:Clean">
<MSBuild Projects="Delphi 10.4+\dclPython.dproj" Targets="Clean"/>
</Target>
<Target Name="dclPython:Make" DependsOnTargets="Python:Make">
<MSBuild Projects="Delphi 10.4+\dclPython.dproj" Targets="Make"/>
</Target>
<Target Name="PythonVcl" DependsOnTargets="Python">
<MSBuild Projects="Delphi 10.4+\PythonVcl.dproj"/>
</Target>
<Target Name="PythonVcl:Clean" DependsOnTargets="Python:Clean">
<MSBuild Projects="Delphi 10.4+\PythonVcl.dproj" Targets="Clean"/>
</Target>
<Target Name="PythonVcl:Make" DependsOnTargets="Python:Make">
<MSBuild Projects="Delphi 10.4+\PythonVcl.dproj" Targets="Make"/>
</Target>
<Target Name="dclPythonVcl" DependsOnTargets="PythonVcl">
<MSBuild Projects="Delphi 10.4+\dclPythonVcl.dproj"/>
</Target>
<Target Name="dclPythonVcl:Clean" DependsOnTargets="PythonVcl:Clean">
<MSBuild Projects="Delphi 10.4+\dclPythonVcl.dproj" Targets="Clean"/>
</Target>
<Target Name="dclPythonVcl:Make" DependsOnTargets="PythonVcl:Make">
<MSBuild Projects="Delphi 10.4+\dclPythonVcl.dproj" Targets="Make"/>
</Target>
<Target Name="PythonFmx">
<MSBuild Projects="Delphi 10.4+\PythonFmx.dproj"/>
</Target>
<Target Name="PythonFmx:Clean">
<MSBuild Projects="Delphi 10.4+\PythonFmx.dproj" Targets="Clean"/>
</Target>
<Target Name="PythonFmx:Make">
<MSBuild Projects="Delphi 10.4+\PythonFmx.dproj" Targets="Make"/>
</Target>
<Target Name="dclPythonFmx">
<MSBuild Projects="Delphi 10.4+\dclPythonFmx.dproj"/>
</Target>
<Target Name="dclPythonFmx:Clean">
<MSBuild Projects="Delphi 10.4+\dclPythonFmx.dproj" Targets="Clean"/>
</Target>
<Target Name="dclPythonFmx:Make">
<MSBuild Projects="Delphi 10.4+\dclPythonFmx.dproj" Targets="Make"/>
</Target>
<Target Name="Build">
<CallTarget Targets="Python;dclPython;PythonVcl;dclPythonVcl;PythonFmx;dclPythonFmx"/>
</Target>
<Target Name="Clean">
<CallTarget Targets="Python:Clean;dclPython:Clean;PythonVcl:Clean;dclPythonVcl:Clean;PythonFmx:Clean;dclPythonFmx:Clean"/>
</Target>
<Target Name="Make">
<CallTarget Targets="Python:Make;dclPython:Make;PythonVcl:Make;dclPythonVcl:Make;PythonFmx:Make;dclPythonFmx:Make"/>
</Target>
<Import Project="$(BDS)\Bin\CodeGear.Group.Targets" Condition="Exists('$(BDS)\Bin\CodeGear.Group.Targets')"/>
</Project>
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 dbudelsky@web.de *)
(* Germany *)
(* Project Maintainer: PyScripter (pyscripter@gmail.com) *)
(* Original Authors: Dr. Dietmar Budelsky (dbudelsky@web.de) *)
(* Morgan Martinet (https://github.com/mmm-experts) *)
(* Core developer: Lucas Belo (lucas.belo@live.com) *)
(* 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 (mak@mikroplan.com.pl) *)
(* Morgan Martinet (p4d@mmm-experts.com) *)
(* Samuel Iseli (iseli@vertec.ch) *)
(* Andrey Gruzdev (andrey.gruzdev@gmail.com) *)
(* Lucas Belo (lucas.belo@live.com) *)
(**************************************************************************)
(* 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 (pyscripter@gmail.com) *)
(* Original Authors: Dr. Dietmar Budelsky (dbudelsky@web.de) *)
(* Morgan Martinet (https://github.com/mmm-experts) *)
(* Core developer: Lucas Belo (lucas.belo@live.com) *)
(* Contributors: See contributors.md at project home *)
(* *)
(* LICENCE and Copyright: MIT (see project home) *)
(**************************************************************************)

unit PythonAction;

interface
Expand Down
Loading