mirror of
https://github.com/moparisthebest/Simba
synced 2024-11-24 02:02:17 -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
|
||||
{$IFDEF UNIX}{$IFDEF UseCThreads}
|
||||
cthreads, cmem,
|
||||
cthreads, cmem, heaptrc,
|
||||
{$ENDIF}{$ENDIF}
|
||||
Interfaces, Forms, SimbaUnit, colourhistory, About, internets, debugimage,
|
||||
framefunctionlist, simpleanalyzer, updater, updateform, Simbasettings,
|
||||
libloader, mufasabase, {$IFDEF LINUX}os_linux,{$ENDIF} v_ideCodeInsight,
|
||||
libloader, mufasabase, v_ideCodeInsight,
|
||||
PSDump, v_ideCodeParser,
|
||||
v_AutoCompleteForm, CastaliaPasLex, CastaliaPasLexTypes, CastaliaSimplePasPar,
|
||||
CastaliaSimplePasParTypes, dcpbase64, mPasLex, v_Constants, v_MiscFunctions,
|
||||
|
@ -18,7 +18,7 @@
|
||||
See the file COPYING, included in this distribution,
|
||||
for details about the copyright.
|
||||
|
||||
Simba/GUI for the Mufasa Macro Library
|
||||
Simba: GUI for the Mufasa Macro Library
|
||||
}
|
||||
unit SimbaUnit;
|
||||
|
||||
@ -30,20 +30,31 @@ unit SimbaUnit;
|
||||
interface
|
||||
|
||||
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,
|
||||
//Client,
|
||||
|
||||
MufasaTypes,
|
||||
mmlpsthread,synedittypes,
|
||||
mmlpsthread, // Code to use the interpreters in threads.
|
||||
synedittypes,
|
||||
|
||||
{$IFDEF MSWINDOWS} os_windows, windows,{$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,
|
||||
SynEditMarkupHighAll, LMessages, Buttons,mmisc,
|
||||
stringutil,mufasatypesutil,mufasabase, v_ideCodeParser,
|
||||
about, framefunctionlist, ocr, updateform, Simbasettings, psextension, virtualextension,
|
||||
extensionmanager, settingssandbox, v_ideCodeInsight, CastaliaPasLexTypes,
|
||||
CastaliaSimplePasPar, v_AutoCompleteForm, PSDump, settings, updater;
|
||||
extensionmanager, settingssandbox,
|
||||
|
||||
v_ideCodeInsight, CastaliaPasLexTypes, // Code completion units
|
||||
CastaliaSimplePasPar, v_AutoCompleteForm, // Code completion units
|
||||
PSDump,
|
||||
|
||||
settings, updater;
|
||||
|
||||
const
|
||||
SimbaVersion = 820;
|
||||
@ -503,10 +514,13 @@ var
|
||||
{$endif}
|
||||
CurrentSyncInfo : TSyncInfo;//We need this for SafeCallThread
|
||||
|
||||
|
||||
|
||||
|
||||
implementation
|
||||
uses
|
||||
lclintf,
|
||||
syncobjs, // for the critical sections
|
||||
syncobjs, // for the critical sections / mutexes
|
||||
debugimage,
|
||||
files,
|
||||
InterfaceBase,
|
||||
@ -517,6 +531,9 @@ uses
|
||||
math,
|
||||
keybinder;
|
||||
|
||||
|
||||
|
||||
|
||||
{$ifdef mswindows}
|
||||
function ConsoleHandler( eventType : DWord) : WINBOOL;stdcall;
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user