Permalink
Browse files

Version 1.9.9.2

  • Loading branch information...
pyscripter
pyscripter committed Mar 1, 2008
1 parent 63c7204 commit 622f87234c632dce2927ae61d8ed9cfe335eb5ee
Showing with 26,972 additions and 2,958 deletions.
  1. +244 −0 Definition.Inc
  2. +14 −5 FastMM4Options.inc
  3. +7 −1 Install.txt
  4. +58 −4 JvDockVSNetStyle.pas
  5. +1,873 −0 MPCommonObjects.pas
  6. +4 −17 PyScripter.bdsproj
  7. +7 −0 PyScripter.bdsproj.local
  8. +18 −6 PyScripter.dpr
  9. +1,033 −1,035 PyScripter.drc
  10. BIN PyScripter.res
  11. +219 −90 PythonEngine.pas
  12. +2,843 −0 RtlVclOptimize.pas
  13. +1,710 −0 SpTBXCustomizer.pas
  14. +2 −2 StringResources.pas
  15. +2 −2 SynCompletionProposal.pas
  16. +5 −3 SynEdit.pas
  17. +39 −18 SynHighlighterPython.pas
  18. +3,477 −0 SynUnicode.pas
  19. +2,131 −0 VarPyth.pas
  20. +3,154 −0 WrapDelphi.pas
  21. +1,610 −0 WrapDelphiClasses.pas
  22. +1 −1 XP_UAC.rc
  23. BIN XP_UAC.res
  24. +5 −3 cFilePersist.pas
  25. +2 −2 cFileSearch.pas
  26. +21 −2 cFindInFiles.pas
  27. +5 −5 cParameters.pas
  28. +538 −0 cProjectClasses.pas
  29. +194 −9 cPyBaseDebugger.pas
  30. +142 −92 cPyDebugger.pas
  31. +200 −126 cPyRemoteDebugger.pas
  32. +13 −8 cPythonSourceScanner.pas
  33. +98 −20 cRefactoring.pas
  34. +2 −2 cTools.pas
  35. +10 −10 dlgAboutPyScripter.dfm
  36. +4 −4 dlgCodeTemplates.dfm
  37. +3 −3 dlgCodeTemplates.pas
  38. +4 −15 dlgCommandLine.dfm
  39. +10 −9 dlgCustomParams.dfm
  40. +3 −3 dlgCustomParams.pas
  41. +1 −1 dlgExceptionMail.pas
  42. +4 −4 dlgFileTemplates.dfm
  43. +3 −3 dlgFileTemplates.pas
  44. +18 −7 dlgFindInFiles.dfm
  45. +11 −5 dlgFindInFiles.pas
  46. +101 −0 dlgImportDirectory.dfm
  47. +71 −0 dlgImportDirectory.pas
  48. BIN dlgReplaceText.dfm
  49. +406 −0 dlgRunConfiguration.dfm
  50. +207 −0 dlgRunConfiguration.pas
  51. BIN dlgSearchText.dfm
  52. BIN dlgSynEditOptions.dfm
  53. +8 −4 dlgSynEditOptions.pas
  54. +19 −7 dlgToDoOptions.dfm
  55. +1 −0 dlgToDoOptions.pas
  56. +50 −40 dlgToolProperties.dfm
  57. +24 −13 dlgToolProperties.pas
  58. +3,244 −282 dmCommands.dfm
  59. +156 −62 dmCommands.pas
  60. +6 −4 frmBreakPoints.dfm
  61. +19 −2 frmBreakPoints.pas
  62. +3 −3 frmCallStack.dfm
  63. +19 −2 frmCallStack.pas
  64. +22 −8 frmCodeExplorer.pas
  65. +5 −2 frmCommandOutput.dfm
  66. +2 −2 frmCommandOutput.pas
  67. +1 −1 frmDisassemlyView.dfm
  68. +5 −2 frmDisassemlyView.pas
  69. BIN frmEditor.dfm
  70. +168 −92 frmEditor.pas
  71. +3 −2 frmFileExplorer.dfm
  72. +37 −41 frmFileExplorer.pas
  73. +8 −6 frmIDEDockWin.dfm
  74. +8 −3 frmMessages.dfm
  75. +22 −2 frmMessages.pas
  76. +84 −0 frmModSpTBXCustomize.dfm
  77. +199 −0 frmModSpTBXCustomize.pas
  78. +879 −0 frmProjectExplorer.dfm
  79. +962 −0 frmProjectExplorer.pas
  80. BIN frmPyIDEMain.dfm
  81. +226 −65 frmPyIDEMain.pas
  82. +11 −690 frmPythonII.dfm
  83. +135 −76 frmPythonII.pas
  84. +2 −1 frmRegExpTester.dfm
  85. +8 −4 frmRegExpTester.pas
  86. +23 −2 frmToDo.pas
  87. +17 −9 frmUnitTests.pas
  88. +3 −4 frmVariables.dfm
  89. +9 −0 frmVariables.pas
  90. +2 −2 frmWatches.dfm
  91. +2 −0 frmWatches.pas
  92. +19 −1 uCmdLine.pas
  93. +9 −2 uCommonFunctions.pas
  94. +25 −5 uParams.pas
View
@@ -0,0 +1,244 @@
+(**************************************************************************)
+(* *)
+(* Module: 'Definition.Inc' Copyright (c) 1998 *)
+(* *)
+(* Version: 1.5 Dr. Dietmar Budelsky *)
+(* budelsky@ibs.bm.eunet.de *)
+(* IBS Schillings GmbH & Co KG *)
+(* Ein Unternehmen der KROHNE-Gruppe *)
+(* Heisenbergstr. 18 *)
+(* 50169 Kerpen-Türnich *)
+(* Phone: (49)22 37/97 44-0 *)
+(* *)
+(**************************************************************************)
+(* Changes for Delphi 4 or higher are made for Compilers higher *)
+(* than Version 10.0. *)
+(* *)
+(**************************************************************************)
+(* 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 *)
+(**************************************************************************)
+
+/////////////////////////////////////////////////////////////////////////////
+// Select a Python version by commenting out the corresponding line, or
+// modify the default Python version below, in the Python versions section.
+/////////////////////////////////////////////////////////////////////////////
+
+//{$DEFINE PYTHON15}
+//{$DEFINE PYTHON20}
+//{$DEFINE PYTHON21}
+//{$DEFINE PYTHON22}
+//{$DEFINE PYTHON23}
+//{$DEFINE PYTHON24}
+//{$DEFINE PYTHON25}
+//{$DEFINE PYTHON30}
+
+/////////////////////////////////////////////////////////////////////////////
+// Python for Delphi settings. Comment out the setting you want to enable.
+/////////////////////////////////////////////////////////////////////////////
+
+{$DEFINE PREFER_UNICODE} // this will convert a variant containing an OleStr to a UniCode Python string.
+
+/////////////////////////////////////////////////////////////////////////////
+// OS symbols. Note that MSWINDOWS is defined from Delphi6/Kylix.
+/////////////////////////////////////////////////////////////////////////////
+
+{$IFNDEF MSWINDOWS}
+ {$IFDEF WIN32}
+ {$DEFINE MSWINDOWS}
+ {$ENDIF}
+{$ENDIF}
+
+/////////////////////////////////////////////////////////////////////////////
+// Delphi, C++ Builder and Kylix versions
+/////////////////////////////////////////////////////////////////////////////
+
+{$IFDEF VER90} // Delphi 2.0
+ {$DEFINE DELPHI2}
+{$ENDIF}
+{$IFDEF VER93} // C++ Builder 1.0
+ {$DEFINE CBUILDER1}
+{$ENDIF}
+{$IFDEF VER100} // Delphi 3.0
+ {$DEFINE DELPHI3}
+{$ENDIF}
+{$IFDEF VER110} // C++ Builder 3.0
+ {$DEFINE CBUILDER3}
+ {$DEFINE DELPHI3_OR_HIGHER}
+ {$ObjExportAll On}
+{$ENDIF}
+{$IFDEF VER120} // Delphi 4.0
+ {$DEFINE DELPHI4}
+ {$DEFINE DELPHI4_OR_HIGHER}
+{$ENDIF}
+{$IFDEF VER125} // C++ Builder 4.0
+ {$DEFINE CBUILDER4}
+ {$DEFINE DELPHI4_OR_HIGHER}
+ {$ObjExportAll On}
+{$ENDIF}
+{$IFDEF VER130} // Delphi 5.0
+ {$DEFINE DELPHI5}
+ {$DEFINE DELPHI4_OR_HIGHER}
+ {$DEFINE DELPHI5_OR_HIGHER}
+ {$IFDEF BCB} { Borland C++Builder 5.0 }
+ {$DEFINE CBUILDER3}
+ {$DEFINE CBUILDER4}
+ {$DEFINE CBUILDER5}
+ {$ObjExportAll On}
+ {$ENDIF}
+{$ENDIF}
+{$IFDEF VER140} // Delphi 6.0
+ {$DEFINE DELPHI6}
+ {$DEFINE DELPHI4_OR_HIGHER}
+ {$DEFINE DELPHI5_OR_HIGHER}
+ {$DEFINE DELPHI6_OR_HIGHER}
+ {$IFDEF BCB} { Borland C++Builder 6.0 }
+ {$DEFINE CBUILDER3}
+ {$DEFINE CBUILDER4}
+ {$DEFINE CBUILDER5}
+ {$DEFINE CBUILDER6}
+ {$ObjExportAll On}
+ {$ENDIF}
+{$ENDIF}
+{$IFDEF VER150} // Delphi 7.0
+ {$DEFINE DELPHI7}
+ {$DEFINE DELPHI4_OR_HIGHER}
+ {$DEFINE DELPHI5_OR_HIGHER}
+ {$DEFINE DELPHI6_OR_HIGHER}
+ {$DEFINE DELPHI7_OR_HIGHER}
+{$ENDIF}
+{$IFDEF VER160} // Delphi 8
+ {$DEFINE DELPHI8}
+ {$DEFINE DELPHI4_OR_HIGHER}
+ {$DEFINE DELPHI5_OR_HIGHER}
+ {$DEFINE DELPHI6_OR_HIGHER}
+ {$DEFINE DELPHI7_OR_HIGHER}
+ {$DEFINE DELPHI8_OR_HIGHER}
+{$ENDIF}
+{$IFDEF VER170} // Delphi 2005
+ {$DEFINE DELPHI2005}
+ {$DEFINE DELPHI4_OR_HIGHER}
+ {$DEFINE DELPHI5_OR_HIGHER}
+ {$DEFINE DELPHI6_OR_HIGHER}
+ {$DEFINE DELPHI7_OR_HIGHER}
+ {$DEFINE DELPHI8_OR_HIGHER}
+ {$DEFINE DELPHI2005_OR_HIGHER}
+{$ENDIF}
+{$IFDEF VER180} // Delphi 2006 and 2007
+ {$DEFINE DELPHI2006}
+ {$DEFINE DELPHI4_OR_HIGHER}
+ {$DEFINE DELPHI5_OR_HIGHER}
+ {$DEFINE DELPHI6_OR_HIGHER}
+ {$DEFINE DELPHI7_OR_HIGHER}
+ {$DEFINE DELPHI8_OR_HIGHER}
+ {$DEFINE DELPHI2005_OR_HIGHER}
+ {$DEFINE DELPHI2006_OR_HIGHER}
+ {$IFDEF VER185} // Delphi 2007
+ {$DEFINE DELPHI2007}
+ {$DEFINE DELPHI2007_OR_HIGHER}
+ {$ENDIF}
+{$ENDIF}
+
+
+/////////////////////////////////////////////////////////////////////////////
+// Python versions
+/////////////////////////////////////////////////////////////////////////////
+
+// Here we select a default Python version, if no version was explicitely specified.
+// Note that the installer will let the user specify its default Python version, and
+// thus will edit this file.
+
+{$IFNDEF PYTHON30}
+ {$IFNDEF PYTHON25}
+ {$IFNDEF PYTHON24}
+ {$IFNDEF PYTHON23}
+ {$IFNDEF PYTHON22}
+ {$IFNDEF PYTHON21}
+ {$IFNDEF PYTHON20}
+ {$IFNDEF PYTHON15}
+{---<START OF DEFAULT PYTHON VERSION>---}
+ {$DEFINE PYTHON25}
+{---<END OF DEFAULT PYTHON VERSION>---}
+ {$ENDIF}
+ {$ENDIF}
+ {$ENDIF}
+ {$ENDIF}
+ {$ENDIF}
+ {$ENDIF}
+ {$ENDIF}
+{$ENDIF}
+
+{$IFDEF PYTHON20}
+ {$DEFINE PYTHON20_OR_HIGHER}
+{$ENDIF}
+{$IFDEF PYTHON21}
+ {$DEFINE PYTHON20_OR_HIGHER}
+ {$DEFINE PYTHON21_OR_HIGHER}
+{$ENDIF}
+{$IFDEF PYTHON22}
+ {$DEFINE PYTHON20_OR_HIGHER}
+ {$DEFINE PYTHON21_OR_HIGHER}
+ {$DEFINE PYTHON22_OR_HIGHER}
+{$ENDIF}
+{$IFDEF PYTHON23}
+ {$DEFINE PYTHON20_OR_HIGHER}
+ {$DEFINE PYTHON21_OR_HIGHER}
+ {$DEFINE PYTHON22_OR_HIGHER}
+ {$DEFINE PYTHON23_OR_HIGHER}
+{$ENDIF}
+{$IFDEF PYTHON24}
+ {$DEFINE PYTHON20_OR_HIGHER}
+ {$DEFINE PYTHON21_OR_HIGHER}
+ {$DEFINE PYTHON22_OR_HIGHER}
+ {$DEFINE PYTHON23_OR_HIGHER}
+ {$DEFINE PYTHON24_OR_HIGHER}
+{$ENDIF}
+{$IFDEF PYTHON25}
+ {$DEFINE PYTHON20_OR_HIGHER}
+ {$DEFINE PYTHON21_OR_HIGHER}
+ {$DEFINE PYTHON22_OR_HIGHER}
+ {$DEFINE PYTHON23_OR_HIGHER}
+ {$DEFINE PYTHON24_OR_HIGHER}
+ {$DEFINE PYTHON25_OR_HIGHER}
+{$ENDIF}
+{$IFDEF PYTHON30}
+ {$DEFINE PYTHON20_OR_HIGHER}
+ {$DEFINE PYTHON21_OR_HIGHER}
+ {$DEFINE PYTHON22_OR_HIGHER}
+ {$DEFINE PYTHON23_OR_HIGHER}
+ {$DEFINE PYTHON24_OR_HIGHER}
+ {$DEFINE PYTHON25_OR_HIGHER}
+ {$DEFINE PYTHON30_OR_HIGHER}
+{$ENDIF}
+
+/////////////////////////////////////////////////////////////////////////////
+// Misc
+/////////////////////////////////////////////////////////////////////////////
+
+{$IFDEF PYTHON20_OR_HIGHER}
+ {$IFDEF DELPHI4_OR_HIGHER}
+ {$DEFINE UNICODE_SUPPORT}
+ {$ENDIF}
+{$ENDIF}
+
+{$IFNDEF UNICODE_SUPPORT}
+ {$UNDEF PREFER_UNICODE}
+{$ENDIF}
+
+{$IFDEF DELPHI4_OR_HIGHER}
+ {$DEFINE HAS_SYNCOBJS_UNIT}
+{$ENDIF}
+
+{$IFDEF LINUX}
+ {$IFDEF VER140} // Kylix 1 or 2
+ // Note that this symbol should be defined only for Kylix2, or Delphi7 and later.
+ {$DEFINE HAS_MODIFIED_DISPINVOKE}
+ {$ENDIF}
+{$ENDIF}
+{$IFNDEF HAS_MODIFIED_DISPINVOKE}
+ {$IFDEF DELPHI7_OR_HIGHER}
+ {$DEFINE HAS_MODIFIED_DISPINVOKE}
+ {$ENDIF}
+{$ENDIF}
View
@@ -60,6 +60,11 @@ Set the default options for FastMM here.
{-----------------------------Debugging Options-------------------------------}
+{Enable this option to suppress the generation of debug info for the
+ FastMM4.pas unit. This will prevent the integrated debugger from stepping into
+ the memory manager code.}
+{$define NoDebugInfo}
+
{Enable this option to suppress the display of all message dialogs. This is
useful in service applications that should not be interrupted.}
{.$define NoMessageBoxes}
@@ -78,7 +83,8 @@ Set the default options for FastMM here.
program overwriting the bounds of allocated memory). These checks are
expensive, and this option should thus only be used for debugging purposes.
If this option is set then the ASMVersion option is automatically disabled.}
-{.$define CheckHeapForCorruption}
+{changed}
+{$define CheckHeapForCorruption}
{Enable this option to catch attempts to perform MM operations after FastMM has
been uninstalled. With this option set when FastMM is uninstalled it will not
@@ -97,7 +103,8 @@ Set the default options for FastMM here.
Very important: If you enable this option your application will require the
FastMM_FullDebugMode.dll library. If this library is not available you will
get an error on startup.}
-{.$define FullDebugMode}
+{changed}
+{$define FullDebugMode}
{Set this option to perform "raw" stack traces, i.e. check all entries on the
stack for valid return addresses. Note that this is significantly slower
@@ -127,13 +134,15 @@ Set the default options for FastMM here.
{Deletes the error log file on startup. No effect if LogErrorsToFile is not
also set.}
- {$define ClearLogFileOnStartup}
+ {changed}
+ {$define ClearLogFileOnStartup}
{Loads the FASTMM_FullDebugMode.dll dynamically. If the DLL cannot be found
then stack traces will not be available. Note that this may cause problems
due to a changed DLL unload order when sharing the memory manager. Use with
care.}
- {.$define LoadDebugDLLDynamically}
+ {changed}
+ {$define LoadDebugDLLDynamically}
{---------------------------Memory Leak Reporting-----------------------------}
@@ -156,7 +165,7 @@ Set the default options for FastMM here.
{Set this option to require the program to be run inside the IDE debugger to
report memory leaks. This option has no effect if the option
"EnableMemoryLeakReporting" is not also set.}
- {.$define RequireDebuggerPresenceForLeakReporting}
+ {$define RequireDebuggerPresenceForLeakReporting}
{Set this option to require the presence of debug info ($D+ option) in the
compiled unit to perform memory leak checking. This option has no effect if
View
@@ -1,6 +1,12 @@
Copy the included files to the PyScripter installation folder overriding existing files.
Please note that to use remote debugging you need to install the Python package Rpyc which is available at http:\\rpyc.sf.net.
+
+This version is compatible with Python v3.0a2. If you want to use remote debugging with that version please download Rpyc from the
+Rpyc Group (http:\\groups.google.com\fpyc\files) and not the SourceForge site.
+
You can read about remote debugging at http:\\pyscripter.googlepages.com\remotepythonengines
If you upgrade from a version earlier than 1.8.5 you will need to change the PyScripter shortcuts, since now command line
-arguments are prefixed by double dash ("--").
+arguments are prefixed by double dash ("--").
+
+Please read http:\\pyscripter.googlepages.com\python3.0support if you plan to use PyScripter with Python 3.0.
Oops, something went wrong.

0 comments on commit 622f872

Please sign in to comment.