1
0
mirror of https://github.com/moparisthebest/Simba synced 2024-12-25 08:48:51 -05:00

Simba: Start cleaning and memory management work.

This commit is contained in:
Merlijn Wajer 2011-04-09 11:19:18 +02:00
parent 1b22a9737e
commit 00d18b1875
2 changed files with 27 additions and 10 deletions

View File

@ -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,

View File

@ -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