1
0
mirror of https://github.com/moparisthebest/Simba synced 2024-11-21 16:55:01 -05:00

Merge branch 'dgby/mem-clean' into mem-clean

This commit is contained in:
Merlijn Wajer 2011-06-29 18:06:56 +02:00
commit 89f83d53b4
3 changed files with 30 additions and 12 deletions

View File

@ -58,10 +58,15 @@ end;
destructor TExtensionManager.Destroy; destructor TExtensionManager.Destroy;
var var
i: Integer; I, C: Integer;
begin begin
for i := 0 to Extensions.Count - 1 do C := Extensions.Count - 1;
TExtension(Extensions.Items[i]).Free; for I := 0 to C do
begin
TExtension(Extensions.Items[I]).Settings.Free;
TExtension(Extensions.Items[I]).Free;
end;
Extensions.Free; Extensions.Free;
inherited Destroy; inherited Destroy;
end; end;

View File

@ -329,6 +329,7 @@ begin
FreeScript; FreeScript;
if Assigned(PSInstance) then if Assigned(PSInstance) then
FreeAndNil(PSInstance); FreeAndNil(PSInstance);
Script.Free;
inherited; inherited;
end; end;

30
TODO
View File

@ -1,10 +1,22 @@
- Make Simba more ``modular'': Simple stuff, not required, may not be possible/useful:
- Fonts - Compiler arguments in the about form [ ]
- Interpreters - Coloured writeln [ ]
- Code completion/hints - Make an TAction for the Colour Picker. [ ]
- Extensions - Portable install (needs fiddling with settings and such) [ ]
- Interpreter system overhaul? - --no-extensions flag for Simba. [ ]
- CTS rewrite to add CTS 3 and others. [ ]
- CTS/finder speedups. [ ]
- New interpreters
- DWSScript ? [ ]
- Lape! [ ]
- Make Simba more ``modular'':
- Fonts [ ]
- Interpreters [ ]
- Code completion/hints [ ]
- Extensions [ ]
- Interpreter system overhaul? [ ]
- Make an TAction for the Colour Picker.
- Portable install (needs fiddling with settings and such)
- --no-extensions flag for Simba.