mirror of
https://github.com/moparisthebest/Simba
synced 2024-11-30 21:02:16 -05:00
Simba: Start cleaning and memory management work.
This commit is contained in:
parent
1b22a9737e
commit
00d18b1875
@ -29,11 +29,11 @@ program Simba;
|
|||||||
|
|
||||||
uses
|
uses
|
||||||
{$IFDEF UNIX}{$IFDEF UseCThreads}
|
{$IFDEF UNIX}{$IFDEF UseCThreads}
|
||||||
cthreads, cmem,
|
cthreads, cmem, heaptrc,
|
||||||
{$ENDIF}{$ENDIF}
|
{$ENDIF}{$ENDIF}
|
||||||
Interfaces, Forms, SimbaUnit, colourhistory, About, internets, debugimage,
|
Interfaces, Forms, SimbaUnit, colourhistory, About, internets, debugimage,
|
||||||
framefunctionlist, simpleanalyzer, updater, updateform, Simbasettings,
|
framefunctionlist, simpleanalyzer, updater, updateform, Simbasettings,
|
||||||
libloader, mufasabase, {$IFDEF LINUX}os_linux,{$ENDIF} v_ideCodeInsight,
|
libloader, mufasabase, v_ideCodeInsight,
|
||||||
PSDump, v_ideCodeParser,
|
PSDump, v_ideCodeParser,
|
||||||
v_AutoCompleteForm, CastaliaPasLex, CastaliaPasLexTypes, CastaliaSimplePasPar,
|
v_AutoCompleteForm, CastaliaPasLex, CastaliaPasLexTypes, CastaliaSimplePasPar,
|
||||||
CastaliaSimplePasParTypes, dcpbase64, mPasLex, v_Constants, v_MiscFunctions,
|
CastaliaSimplePasParTypes, dcpbase64, mPasLex, v_Constants, v_MiscFunctions,
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
See the file COPYING, included in this distribution,
|
See the file COPYING, included in this distribution,
|
||||||
for details about the copyright.
|
for details about the copyright.
|
||||||
|
|
||||||
Simba/GUI for the Mufasa Macro Library
|
Simba: GUI for the Mufasa Macro Library
|
||||||
}
|
}
|
||||||
unit SimbaUnit;
|
unit SimbaUnit;
|
||||||
|
|
||||||
@ -30,20 +30,31 @@ unit SimbaUnit;
|
|||||||
interface
|
interface
|
||||||
|
|
||||||
uses
|
uses
|
||||||
{$ifdef linux}cthreads,cmem,{$endif}Classes, SysUtils, FileUtil, LResources, Forms, Controls, Graphics, Dialogs,
|
{$IFDEF LINUX}cthreads, cmem, heaptrc,{$ENDIF}
|
||||||
|
Classes, SysUtils, FileUtil, LResources, Forms, Controls, Graphics, Dialogs,
|
||||||
StdCtrls, Menus, ComCtrls, ExtCtrls, SynEdit, SynHighlighterPas,
|
StdCtrls, Menus, ComCtrls, ExtCtrls, SynEdit, SynHighlighterPas,
|
||||||
//Client,
|
|
||||||
MufasaTypes,
|
MufasaTypes,
|
||||||
mmlpsthread,synedittypes,
|
mmlpsthread, // Code to use the interpreters in threads.
|
||||||
|
synedittypes,
|
||||||
|
|
||||||
{$IFDEF MSWINDOWS} os_windows, windows,{$ENDIF} //For ColorPicker etc.
|
{$IFDEF MSWINDOWS} os_windows, windows,{$ENDIF} //For ColorPicker etc.
|
||||||
{$IFDEF LINUX} os_linux, {$ENDIF} //For ColorPicker etc.
|
{$IFDEF LINUX} os_linux, {$ENDIF} //For ColorPicker etc.
|
||||||
colourpicker, framescript, windowselector, lcltype, ActnList,
|
|
||||||
|
colourpicker, windowselector, // We need these for the Colour Picker and Window Selector
|
||||||
|
|
||||||
|
framescript, lcltype, ActnList,
|
||||||
SynExportHTML, SynEditKeyCmds, SynEditHighlighter,
|
SynExportHTML, SynEditKeyCmds, SynEditHighlighter,
|
||||||
SynEditMarkupHighAll, LMessages, Buttons,mmisc,
|
SynEditMarkupHighAll, LMessages, Buttons,mmisc,
|
||||||
stringutil,mufasatypesutil,mufasabase, v_ideCodeParser,
|
stringutil,mufasatypesutil,mufasabase, v_ideCodeParser,
|
||||||
about, framefunctionlist, ocr, updateform, Simbasettings, psextension, virtualextension,
|
about, framefunctionlist, ocr, updateform, Simbasettings, psextension, virtualextension,
|
||||||
extensionmanager, settingssandbox, v_ideCodeInsight, CastaliaPasLexTypes,
|
extensionmanager, settingssandbox,
|
||||||
CastaliaSimplePasPar, v_AutoCompleteForm, PSDump, settings, updater;
|
|
||||||
|
v_ideCodeInsight, CastaliaPasLexTypes, // Code completion units
|
||||||
|
CastaliaSimplePasPar, v_AutoCompleteForm, // Code completion units
|
||||||
|
PSDump,
|
||||||
|
|
||||||
|
settings, updater;
|
||||||
|
|
||||||
const
|
const
|
||||||
SimbaVersion = 820;
|
SimbaVersion = 820;
|
||||||
@ -503,10 +514,13 @@ var
|
|||||||
{$endif}
|
{$endif}
|
||||||
CurrentSyncInfo : TSyncInfo;//We need this for SafeCallThread
|
CurrentSyncInfo : TSyncInfo;//We need this for SafeCallThread
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
implementation
|
implementation
|
||||||
uses
|
uses
|
||||||
lclintf,
|
lclintf,
|
||||||
syncobjs, // for the critical sections
|
syncobjs, // for the critical sections / mutexes
|
||||||
debugimage,
|
debugimage,
|
||||||
files,
|
files,
|
||||||
InterfaceBase,
|
InterfaceBase,
|
||||||
@ -517,6 +531,9 @@ uses
|
|||||||
math,
|
math,
|
||||||
keybinder;
|
keybinder;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
{$ifdef mswindows}
|
{$ifdef mswindows}
|
||||||
function ConsoleHandler( eventType : DWord) : WINBOOL;stdcall;
|
function ConsoleHandler( eventType : DWord) : WINBOOL;stdcall;
|
||||||
begin
|
begin
|
||||||
|
Loading…
Reference in New Issue
Block a user