More GUI changes
I started to work on a Bug Report form, but came to the conclusion, have no way of posting the information.
Wizzup, could you please post on the new thread about how to post to Mantis if you know?
I wrote up some new code for a new internets.pas currently in (newinternets.pas, whooda thunk?)
Its good, just needs some crucial things like physically openning the connections and closing them.
I added PostHTTP stuff, and need more ideas, I worked through Indy and found the right things so.. yeah!
Oh, and I added some more icons to the MainMenu from famfam.
Just to reiterate, the new AboutForm is a template, and the Image is copyrighted and will have to change.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@406 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-13 00:11:11 -05:00
|
|
|
unit newinternets;
|
|
|
|
|
|
|
|
{$mode objfpc}{$H+}
|
|
|
|
|
|
|
|
interface
|
|
|
|
|
|
|
|
uses
|
|
|
|
Classes, SysUtils;
|
|
|
|
|
|
|
|
type
|
2010-01-17 21:47:56 -05:00
|
|
|
{
|
|
|
|
Record to hold the information of a $_POST variable and value.
|
|
|
|
}
|
2010-01-13 14:11:42 -05:00
|
|
|
TPostVariable = record
|
|
|
|
variable, value: String;
|
|
|
|
end;
|
|
|
|
|
More GUI changes
I started to work on a Bug Report form, but came to the conclusion, have no way of posting the information.
Wizzup, could you please post on the new thread about how to post to Mantis if you know?
I wrote up some new code for a new internets.pas currently in (newinternets.pas, whooda thunk?)
Its good, just needs some crucial things like physically openning the connections and closing them.
I added PostHTTP stuff, and need more ideas, I worked through Indy and found the right things so.. yeah!
Oh, and I added some more icons to the MainMenu from famfam.
Just to reiterate, the new AboutForm is a template, and the Image is copyrighted and will have to change.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@406 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-13 00:11:11 -05:00
|
|
|
{
|
|
|
|
Store the internet connection information
|
|
|
|
}
|
|
|
|
TInternetConnection = class(TObject)
|
|
|
|
protected
|
|
|
|
//url of the connection
|
|
|
|
ConnURL: String;
|
|
|
|
//contains post paramaters and vars
|
2010-01-13 14:11:42 -05:00
|
|
|
PostVars: TList;
|
|
|
|
private
|
|
|
|
function createPostVariable(variable, value: String): TPostVariable;
|
More GUI changes
I started to work on a Bug Report form, but came to the conclusion, have no way of posting the information.
Wizzup, could you please post on the new thread about how to post to Mantis if you know?
I wrote up some new code for a new internets.pas currently in (newinternets.pas, whooda thunk?)
Its good, just needs some crucial things like physically openning the connections and closing them.
I added PostHTTP stuff, and need more ideas, I worked through Indy and found the right things so.. yeah!
Oh, and I added some more icons to the MainMenu from famfam.
Just to reiterate, the new AboutForm is a template, and the Image is copyrighted and will have to change.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@406 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-13 00:11:11 -05:00
|
|
|
public
|
|
|
|
constructor Create(URL: String);
|
|
|
|
destructor Destroy; override;
|
2010-01-17 21:47:56 -05:00
|
|
|
|
|
|
|
//$_POST variable functions for PHP transmission
|
2010-01-13 14:11:42 -05:00
|
|
|
procedure AddPostVariable(theVar, theValue: String);
|
|
|
|
procedure DelPostVariable(theVar: String);
|
|
|
|
procedure ReplacePostVariable(searchVar, replaceVar, value: String);
|
|
|
|
function PostHTTP(out dataStream: TStream): Boolean;
|
More GUI changes
I started to work on a Bug Report form, but came to the conclusion, have no way of posting the information.
Wizzup, could you please post on the new thread about how to post to Mantis if you know?
I wrote up some new code for a new internets.pas currently in (newinternets.pas, whooda thunk?)
Its good, just needs some crucial things like physically openning the connections and closing them.
I added PostHTTP stuff, and need more ideas, I worked through Indy and found the right things so.. yeah!
Oh, and I added some more icons to the MainMenu from famfam.
Just to reiterate, the new AboutForm is a template, and the Image is copyrighted and will have to change.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@406 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-13 00:11:11 -05:00
|
|
|
end;
|
|
|
|
|
2010-01-17 21:47:56 -05:00
|
|
|
TMufasaInternet = class(TObject)
|
More GUI changes
I started to work on a Bug Report form, but came to the conclusion, have no way of posting the information.
Wizzup, could you please post on the new thread about how to post to Mantis if you know?
I wrote up some new code for a new internets.pas currently in (newinternets.pas, whooda thunk?)
Its good, just needs some crucial things like physically openning the connections and closing them.
I added PostHTTP stuff, and need more ideas, I worked through Indy and found the right things so.. yeah!
Oh, and I added some more icons to the MainMenu from famfam.
Just to reiterate, the new AboutForm is a template, and the Image is copyrighted and will have to change.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@406 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-13 00:11:11 -05:00
|
|
|
protected
|
2010-01-17 21:47:56 -05:00
|
|
|
// TList storing all of the connection infos
|
2010-01-13 14:11:42 -05:00
|
|
|
ConnList : TList;
|
More GUI changes
I started to work on a Bug Report form, but came to the conclusion, have no way of posting the information.
Wizzup, could you please post on the new thread about how to post to Mantis if you know?
I wrote up some new code for a new internets.pas currently in (newinternets.pas, whooda thunk?)
Its good, just needs some crucial things like physically openning the connections and closing them.
I added PostHTTP stuff, and need more ideas, I worked through Indy and found the right things so.. yeah!
Oh, and I added some more icons to the MainMenu from famfam.
Just to reiterate, the new AboutForm is a template, and the Image is copyrighted and will have to change.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@406 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-13 00:11:11 -05:00
|
|
|
|
|
|
|
public
|
|
|
|
function ConnectionOpen(URL: String): Integer;
|
|
|
|
function ConnectionClose(ConnInd: Integer): Boolean;
|
|
|
|
destructor Destroy; override;
|
2010-01-17 21:47:56 -05:00
|
|
|
|
|
|
|
//$_POST variable functions for PHP
|
2010-01-13 14:11:42 -05:00
|
|
|
procedure AddPostVariable(connInd: Integer; theVar, theValue: String);
|
|
|
|
procedure DelPostVariable(connInd: Integer; theVar: String);
|
|
|
|
procedure ReplacePostVariable(connInd: Integer; searchVar, replaceVar, value: String);
|
|
|
|
function PostHTTP(connInd: Integer; out dataStream: TStream): Boolean;
|
More GUI changes
I started to work on a Bug Report form, but came to the conclusion, have no way of posting the information.
Wizzup, could you please post on the new thread about how to post to Mantis if you know?
I wrote up some new code for a new internets.pas currently in (newinternets.pas, whooda thunk?)
Its good, just needs some crucial things like physically openning the connections and closing them.
I added PostHTTP stuff, and need more ideas, I worked through Indy and found the right things so.. yeah!
Oh, and I added some more icons to the MainMenu from famfam.
Just to reiterate, the new AboutForm is a template, and the Image is copyrighted and will have to change.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@406 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-13 00:11:11 -05:00
|
|
|
end;
|
|
|
|
|
|
|
|
function GetPage(URL: String): String;
|
|
|
|
|
|
|
|
implementation
|
|
|
|
uses
|
2010-01-17 21:47:56 -05:00
|
|
|
httpsend, synacode;
|
More GUI changes
I started to work on a Bug Report form, but came to the conclusion, have no way of posting the information.
Wizzup, could you please post on the new thread about how to post to Mantis if you know?
I wrote up some new code for a new internets.pas currently in (newinternets.pas, whooda thunk?)
Its good, just needs some crucial things like physically openning the connections and closing them.
I added PostHTTP stuff, and need more ideas, I worked through Indy and found the right things so.. yeah!
Oh, and I added some more icons to the MainMenu from famfam.
Just to reiterate, the new AboutForm is a template, and the Image is copyrighted and will have to change.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@406 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-13 00:11:11 -05:00
|
|
|
|
|
|
|
|
|
|
|
function replace(sStr, rStr, iStr: String): String;
|
|
|
|
var
|
|
|
|
ind: Integer;
|
|
|
|
begin
|
|
|
|
ind := Pos(sStr, iStr);
|
|
|
|
while (ind <> 0) do
|
|
|
|
begin
|
|
|
|
Delete(iStr, ind, Length(sStr));
|
|
|
|
Insert(rStr, iStr, ind);
|
|
|
|
end;
|
|
|
|
end;
|
|
|
|
|
|
|
|
{ TInternetConnection }
|
|
|
|
|
|
|
|
procedure TInternetConnection.Create(URL: String);
|
|
|
|
begin
|
|
|
|
inherited;
|
2010-01-17 21:47:56 -05:00
|
|
|
Self.ConnURL := EncodeURL(URL);
|
2010-01-13 14:11:42 -05:00
|
|
|
Self.PostVars.Create;
|
More GUI changes
I started to work on a Bug Report form, but came to the conclusion, have no way of posting the information.
Wizzup, could you please post on the new thread about how to post to Mantis if you know?
I wrote up some new code for a new internets.pas currently in (newinternets.pas, whooda thunk?)
Its good, just needs some crucial things like physically openning the connections and closing them.
I added PostHTTP stuff, and need more ideas, I worked through Indy and found the right things so.. yeah!
Oh, and I added some more icons to the MainMenu from famfam.
Just to reiterate, the new AboutForm is a template, and the Image is copyrighted and will have to change.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@406 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-13 00:11:11 -05:00
|
|
|
end;
|
|
|
|
|
|
|
|
procedure TInternetConnection.Destroy; overload;
|
|
|
|
begin
|
|
|
|
inherited;
|
|
|
|
// ADD CLOSING OF CONNECTION
|
|
|
|
|
2010-01-13 14:11:42 -05:00
|
|
|
// Clear it up
|
|
|
|
PostVars.Clear;
|
More GUI changes
I started to work on a Bug Report form, but came to the conclusion, have no way of posting the information.
Wizzup, could you please post on the new thread about how to post to Mantis if you know?
I wrote up some new code for a new internets.pas currently in (newinternets.pas, whooda thunk?)
Its good, just needs some crucial things like physically openning the connections and closing them.
I added PostHTTP stuff, and need more ideas, I worked through Indy and found the right things so.. yeah!
Oh, and I added some more icons to the MainMenu from famfam.
Just to reiterate, the new AboutForm is a template, and the Image is copyrighted and will have to change.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@406 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-13 00:11:11 -05:00
|
|
|
end;
|
|
|
|
|
2010-01-13 14:11:42 -05:00
|
|
|
procedure TInternetConnect.AddPostVariable(theVar, theValue: String);
|
More GUI changes
I started to work on a Bug Report form, but came to the conclusion, have no way of posting the information.
Wizzup, could you please post on the new thread about how to post to Mantis if you know?
I wrote up some new code for a new internets.pas currently in (newinternets.pas, whooda thunk?)
Its good, just needs some crucial things like physically openning the connections and closing them.
I added PostHTTP stuff, and need more ideas, I worked through Indy and found the right things so.. yeah!
Oh, and I added some more icons to the MainMenu from famfam.
Just to reiterate, the new AboutForm is a template, and the Image is copyrighted and will have to change.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@406 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-13 00:11:11 -05:00
|
|
|
var
|
|
|
|
currentIndex: Integer;
|
|
|
|
begin
|
2010-01-17 21:47:56 -05:00
|
|
|
theVar := EncodeURLElement(theVar);
|
|
|
|
theValue := EncodeURLElement(theValue);
|
2010-01-13 14:11:42 -05:00
|
|
|
Self.PostVars.Add(createPostVariable(theVar, theValue));
|
|
|
|
{ with Self do
|
More GUI changes
I started to work on a Bug Report form, but came to the conclusion, have no way of posting the information.
Wizzup, could you please post on the new thread about how to post to Mantis if you know?
I wrote up some new code for a new internets.pas currently in (newinternets.pas, whooda thunk?)
Its good, just needs some crucial things like physically openning the connections and closing them.
I added PostHTTP stuff, and need more ideas, I worked through Indy and found the right things so.. yeah!
Oh, and I added some more icons to the MainMenu from famfam.
Just to reiterate, the new AboutForm is a template, and the Image is copyrighted and will have to change.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@406 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-13 00:11:11 -05:00
|
|
|
begin
|
2010-01-13 14:11:42 -05:00
|
|
|
|
|
|
|
|
More GUI changes
I started to work on a Bug Report form, but came to the conclusion, have no way of posting the information.
Wizzup, could you please post on the new thread about how to post to Mantis if you know?
I wrote up some new code for a new internets.pas currently in (newinternets.pas, whooda thunk?)
Its good, just needs some crucial things like physically openning the connections and closing them.
I added PostHTTP stuff, and need more ideas, I worked through Indy and found the right things so.. yeah!
Oh, and I added some more icons to the MainMenu from famfam.
Just to reiterate, the new AboutForm is a template, and the Image is copyrighted and will have to change.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@406 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-13 00:11:11 -05:00
|
|
|
if (FreeSpotsHigh = -1) then
|
|
|
|
begin
|
2010-01-13 14:11:42 -05:00
|
|
|
setLength(PostVars, PostVarsHigh + 2);
|
More GUI changes
I started to work on a Bug Report form, but came to the conclusion, have no way of posting the information.
Wizzup, could you please post on the new thread about how to post to Mantis if you know?
I wrote up some new code for a new internets.pas currently in (newinternets.pas, whooda thunk?)
Its good, just needs some crucial things like physically openning the connections and closing them.
I added PostHTTP stuff, and need more ideas, I worked through Indy and found the right things so.. yeah!
Oh, and I added some more icons to the MainMenu from famfam.
Just to reiterate, the new AboutForm is a template, and the Image is copyrighted and will have to change.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@406 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-13 00:11:11 -05:00
|
|
|
inc(PostVarsHigh);
|
|
|
|
currentIndex := PostVarsHigh;
|
|
|
|
end else
|
|
|
|
begin
|
|
|
|
currentIndex := PostFreeSpots[FreeSpotsHigh];
|
|
|
|
dec(FreeSpotsHigh);
|
|
|
|
end;
|
2010-01-13 14:11:42 -05:00
|
|
|
PostVars[currentIndex].variable := theVar;
|
|
|
|
PostVars[currentIndex].value := theValue;
|
|
|
|
|
|
|
|
end; }
|
More GUI changes
I started to work on a Bug Report form, but came to the conclusion, have no way of posting the information.
Wizzup, could you please post on the new thread about how to post to Mantis if you know?
I wrote up some new code for a new internets.pas currently in (newinternets.pas, whooda thunk?)
Its good, just needs some crucial things like physically openning the connections and closing them.
I added PostHTTP stuff, and need more ideas, I worked through Indy and found the right things so.. yeah!
Oh, and I added some more icons to the MainMenu from famfam.
Just to reiterate, the new AboutForm is a template, and the Image is copyrighted and will have to change.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@406 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-13 00:11:11 -05:00
|
|
|
end;
|
|
|
|
|
2010-01-13 14:11:42 -05:00
|
|
|
procedure TInternetConnection.DelPostVariable(theVar: String);
|
More GUI changes
I started to work on a Bug Report form, but came to the conclusion, have no way of posting the information.
Wizzup, could you please post on the new thread about how to post to Mantis if you know?
I wrote up some new code for a new internets.pas currently in (newinternets.pas, whooda thunk?)
Its good, just needs some crucial things like physically openning the connections and closing them.
I added PostHTTP stuff, and need more ideas, I worked through Indy and found the right things so.. yeah!
Oh, and I added some more icons to the MainMenu from famfam.
Just to reiterate, the new AboutForm is a template, and the Image is copyrighted and will have to change.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@406 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-13 00:11:11 -05:00
|
|
|
var
|
|
|
|
i: Integer;
|
2010-01-13 14:11:42 -05:00
|
|
|
tempPostVar: TPostVariable;
|
More GUI changes
I started to work on a Bug Report form, but came to the conclusion, have no way of posting the information.
Wizzup, could you please post on the new thread about how to post to Mantis if you know?
I wrote up some new code for a new internets.pas currently in (newinternets.pas, whooda thunk?)
Its good, just needs some crucial things like physically openning the connections and closing them.
I added PostHTTP stuff, and need more ideas, I worked through Indy and found the right things so.. yeah!
Oh, and I added some more icons to the MainMenu from famfam.
Just to reiterate, the new AboutForm is a template, and the Image is copyrighted and will have to change.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@406 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-13 00:11:11 -05:00
|
|
|
begin
|
2010-01-13 14:11:42 -05:00
|
|
|
for i := (Self.PostVars.Count - 1) downto 0 do
|
More GUI changes
I started to work on a Bug Report form, but came to the conclusion, have no way of posting the information.
Wizzup, could you please post on the new thread about how to post to Mantis if you know?
I wrote up some new code for a new internets.pas currently in (newinternets.pas, whooda thunk?)
Its good, just needs some crucial things like physically openning the connections and closing them.
I added PostHTTP stuff, and need more ideas, I worked through Indy and found the right things so.. yeah!
Oh, and I added some more icons to the MainMenu from famfam.
Just to reiterate, the new AboutForm is a template, and the Image is copyrighted and will have to change.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@406 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-13 00:11:11 -05:00
|
|
|
begin
|
2010-01-13 14:11:42 -05:00
|
|
|
if (theVar = Self.PostVars.Items[i].variable) then
|
More GUI changes
I started to work on a Bug Report form, but came to the conclusion, have no way of posting the information.
Wizzup, could you please post on the new thread about how to post to Mantis if you know?
I wrote up some new code for a new internets.pas currently in (newinternets.pas, whooda thunk?)
Its good, just needs some crucial things like physically openning the connections and closing them.
I added PostHTTP stuff, and need more ideas, I worked through Indy and found the right things so.. yeah!
Oh, and I added some more icons to the MainMenu from famfam.
Just to reiterate, the new AboutForm is a template, and the Image is copyrighted and will have to change.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@406 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-13 00:11:11 -05:00
|
|
|
begin
|
2010-01-13 14:11:42 -05:00
|
|
|
tempPostVar := PostVars.Items[i];
|
|
|
|
Self.PostVars.Remove(tempPostVar);
|
|
|
|
break;
|
More GUI changes
I started to work on a Bug Report form, but came to the conclusion, have no way of posting the information.
Wizzup, could you please post on the new thread about how to post to Mantis if you know?
I wrote up some new code for a new internets.pas currently in (newinternets.pas, whooda thunk?)
Its good, just needs some crucial things like physically openning the connections and closing them.
I added PostHTTP stuff, and need more ideas, I worked through Indy and found the right things so.. yeah!
Oh, and I added some more icons to the MainMenu from famfam.
Just to reiterate, the new AboutForm is a template, and the Image is copyrighted and will have to change.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@406 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-13 00:11:11 -05:00
|
|
|
end;
|
|
|
|
end;
|
|
|
|
end;
|
|
|
|
|
2010-01-13 14:11:42 -05:00
|
|
|
procedure TInternetConnection.ReplacePostVariable(searchVar, replaceVar, theValue: String);
|
More GUI changes
I started to work on a Bug Report form, but came to the conclusion, have no way of posting the information.
Wizzup, could you please post on the new thread about how to post to Mantis if you know?
I wrote up some new code for a new internets.pas currently in (newinternets.pas, whooda thunk?)
Its good, just needs some crucial things like physically openning the connections and closing them.
I added PostHTTP stuff, and need more ideas, I worked through Indy and found the right things so.. yeah!
Oh, and I added some more icons to the MainMenu from famfam.
Just to reiterate, the new AboutForm is a template, and the Image is copyrighted and will have to change.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@406 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-13 00:11:11 -05:00
|
|
|
var
|
2010-01-13 14:11:42 -05:00
|
|
|
i: Integer;
|
|
|
|
tempPostVar: TPostVariable;
|
More GUI changes
I started to work on a Bug Report form, but came to the conclusion, have no way of posting the information.
Wizzup, could you please post on the new thread about how to post to Mantis if you know?
I wrote up some new code for a new internets.pas currently in (newinternets.pas, whooda thunk?)
Its good, just needs some crucial things like physically openning the connections and closing them.
I added PostHTTP stuff, and need more ideas, I worked through Indy and found the right things so.. yeah!
Oh, and I added some more icons to the MainMenu from famfam.
Just to reiterate, the new AboutForm is a template, and the Image is copyrighted and will have to change.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@406 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-13 00:11:11 -05:00
|
|
|
begin
|
|
|
|
with Self do
|
|
|
|
begin
|
2010-01-13 14:11:42 -05:00
|
|
|
for i := (PostVars.Count - 1) downto 0 do
|
More GUI changes
I started to work on a Bug Report form, but came to the conclusion, have no way of posting the information.
Wizzup, could you please post on the new thread about how to post to Mantis if you know?
I wrote up some new code for a new internets.pas currently in (newinternets.pas, whooda thunk?)
Its good, just needs some crucial things like physically openning the connections and closing them.
I added PostHTTP stuff, and need more ideas, I worked through Indy and found the right things so.. yeah!
Oh, and I added some more icons to the MainMenu from famfam.
Just to reiterate, the new AboutForm is a template, and the Image is copyrighted and will have to change.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@406 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-13 00:11:11 -05:00
|
|
|
begin
|
2010-01-13 14:11:42 -05:00
|
|
|
tempPostVar := PostVars.Items[i];
|
|
|
|
if (searchVar = tempPostVar.variable) then
|
More GUI changes
I started to work on a Bug Report form, but came to the conclusion, have no way of posting the information.
Wizzup, could you please post on the new thread about how to post to Mantis if you know?
I wrote up some new code for a new internets.pas currently in (newinternets.pas, whooda thunk?)
Its good, just needs some crucial things like physically openning the connections and closing them.
I added PostHTTP stuff, and need more ideas, I worked through Indy and found the right things so.. yeah!
Oh, and I added some more icons to the MainMenu from famfam.
Just to reiterate, the new AboutForm is a template, and the Image is copyrighted and will have to change.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@406 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-13 00:11:11 -05:00
|
|
|
begin
|
2010-01-13 14:11:42 -05:00
|
|
|
tempPostVar.variable := replaceVar;
|
|
|
|
tempPostVar.value := theValue;
|
|
|
|
break;
|
More GUI changes
I started to work on a Bug Report form, but came to the conclusion, have no way of posting the information.
Wizzup, could you please post on the new thread about how to post to Mantis if you know?
I wrote up some new code for a new internets.pas currently in (newinternets.pas, whooda thunk?)
Its good, just needs some crucial things like physically openning the connections and closing them.
I added PostHTTP stuff, and need more ideas, I worked through Indy and found the right things so.. yeah!
Oh, and I added some more icons to the MainMenu from famfam.
Just to reiterate, the new AboutForm is a template, and the Image is copyrighted and will have to change.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@406 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-13 00:11:11 -05:00
|
|
|
end;
|
|
|
|
end;
|
|
|
|
end;
|
|
|
|
end;
|
|
|
|
|
2010-01-13 14:11:42 -05:00
|
|
|
function TInternetConnection.PostHTTP(out dataStream: TStream): Boolean;
|
More GUI changes
I started to work on a Bug Report form, but came to the conclusion, have no way of posting the information.
Wizzup, could you please post on the new thread about how to post to Mantis if you know?
I wrote up some new code for a new internets.pas currently in (newinternets.pas, whooda thunk?)
Its good, just needs some crucial things like physically openning the connections and closing them.
I added PostHTTP stuff, and need more ideas, I worked through Indy and found the right things so.. yeah!
Oh, and I added some more icons to the MainMenu from famfam.
Just to reiterate, the new AboutForm is a template, and the Image is copyrighted and will have to change.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@406 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-13 00:11:11 -05:00
|
|
|
var
|
|
|
|
// holds the vars when they are placed together
|
|
|
|
URLData: String;
|
2010-01-13 14:11:42 -05:00
|
|
|
tempPostVar: TPostVariable;
|
More GUI changes
I started to work on a Bug Report form, but came to the conclusion, have no way of posting the information.
Wizzup, could you please post on the new thread about how to post to Mantis if you know?
I wrote up some new code for a new internets.pas currently in (newinternets.pas, whooda thunk?)
Its good, just needs some crucial things like physically openning the connections and closing them.
I added PostHTTP stuff, and need more ideas, I worked through Indy and found the right things so.. yeah!
Oh, and I added some more icons to the MainMenu from famfam.
Just to reiterate, the new AboutForm is a template, and the Image is copyrighted and will have to change.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@406 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-13 00:11:11 -05:00
|
|
|
begin
|
|
|
|
try
|
|
|
|
with Self do
|
|
|
|
begin
|
|
|
|
//ADD Connection stuffs
|
|
|
|
|
2010-01-13 14:11:42 -05:00
|
|
|
for i := (PostVars.Count - 1) downto 0 do
|
More GUI changes
I started to work on a Bug Report form, but came to the conclusion, have no way of posting the information.
Wizzup, could you please post on the new thread about how to post to Mantis if you know?
I wrote up some new code for a new internets.pas currently in (newinternets.pas, whooda thunk?)
Its good, just needs some crucial things like physically openning the connections and closing them.
I added PostHTTP stuff, and need more ideas, I worked through Indy and found the right things so.. yeah!
Oh, and I added some more icons to the MainMenu from famfam.
Just to reiterate, the new AboutForm is a template, and the Image is copyrighted and will have to change.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@406 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-13 00:11:11 -05:00
|
|
|
begin
|
2010-01-13 14:11:42 -05:00
|
|
|
tempPostVar := PostVars.Items[i];
|
|
|
|
if (tempPostVar.variable <> '') then
|
More GUI changes
I started to work on a Bug Report form, but came to the conclusion, have no way of posting the information.
Wizzup, could you please post on the new thread about how to post to Mantis if you know?
I wrote up some new code for a new internets.pas currently in (newinternets.pas, whooda thunk?)
Its good, just needs some crucial things like physically openning the connections and closing them.
I added PostHTTP stuff, and need more ideas, I worked through Indy and found the right things so.. yeah!
Oh, and I added some more icons to the MainMenu from famfam.
Just to reiterate, the new AboutForm is a template, and the Image is copyrighted and will have to change.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@406 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-13 00:11:11 -05:00
|
|
|
begin
|
2010-01-13 14:11:42 -05:00
|
|
|
URLData := URLData + format('%d=%d+', [tempPostVar.variable,
|
|
|
|
tempPostVar.value]);
|
More GUI changes
I started to work on a Bug Report form, but came to the conclusion, have no way of posting the information.
Wizzup, could you please post on the new thread about how to post to Mantis if you know?
I wrote up some new code for a new internets.pas currently in (newinternets.pas, whooda thunk?)
Its good, just needs some crucial things like physically openning the connections and closing them.
I added PostHTTP stuff, and need more ideas, I worked through Indy and found the right things so.. yeah!
Oh, and I added some more icons to the MainMenu from famfam.
Just to reiterate, the new AboutForm is a template, and the Image is copyrighted and will have to change.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@406 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-13 00:11:11 -05:00
|
|
|
end;
|
|
|
|
end;
|
|
|
|
Delete(URLData, Length(URLData) - 1, 1);
|
|
|
|
|
|
|
|
{I DONT KNOW (TStream), this should work since we don't reuse it after.}
|
2010-01-17 21:47:56 -05:00
|
|
|
dataStream := TStream.Create;
|
2010-01-13 14:11:42 -05:00
|
|
|
HttpPostURL(ConnURL, URLData, dataStream);
|
More GUI changes
I started to work on a Bug Report form, but came to the conclusion, have no way of posting the information.
Wizzup, could you please post on the new thread about how to post to Mantis if you know?
I wrote up some new code for a new internets.pas currently in (newinternets.pas, whooda thunk?)
Its good, just needs some crucial things like physically openning the connections and closing them.
I added PostHTTP stuff, and need more ideas, I worked through Indy and found the right things so.. yeah!
Oh, and I added some more icons to the MainMenu from famfam.
Just to reiterate, the new AboutForm is a template, and the Image is copyrighted and will have to change.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@406 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-13 00:11:11 -05:00
|
|
|
|
|
|
|
// Lets remove all Post Variable data so fresh start next time.
|
2010-01-13 14:11:42 -05:00
|
|
|
PostVars.Clear;
|
More GUI changes
I started to work on a Bug Report form, but came to the conclusion, have no way of posting the information.
Wizzup, could you please post on the new thread about how to post to Mantis if you know?
I wrote up some new code for a new internets.pas currently in (newinternets.pas, whooda thunk?)
Its good, just needs some crucial things like physically openning the connections and closing them.
I added PostHTTP stuff, and need more ideas, I worked through Indy and found the right things so.. yeah!
Oh, and I added some more icons to the MainMenu from famfam.
Just to reiterate, the new AboutForm is a template, and the Image is copyrighted and will have to change.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@406 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-13 00:11:11 -05:00
|
|
|
end;
|
|
|
|
except
|
2010-01-13 14:11:42 -05:00
|
|
|
raise Exception.createFMT('TInternetConnection.PostHTTP: Something went wrong, could not complete. URL: %d', URLData);
|
More GUI changes
I started to work on a Bug Report form, but came to the conclusion, have no way of posting the information.
Wizzup, could you please post on the new thread about how to post to Mantis if you know?
I wrote up some new code for a new internets.pas currently in (newinternets.pas, whooda thunk?)
Its good, just needs some crucial things like physically openning the connections and closing them.
I added PostHTTP stuff, and need more ideas, I worked through Indy and found the right things so.. yeah!
Oh, and I added some more icons to the MainMenu from famfam.
Just to reiterate, the new AboutForm is a template, and the Image is copyrighted and will have to change.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@406 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-13 00:11:11 -05:00
|
|
|
exit(false);
|
|
|
|
end;
|
|
|
|
result := true;
|
|
|
|
end;
|
|
|
|
|
2010-01-17 21:47:56 -05:00
|
|
|
{ TMufasaInternet }
|
More GUI changes
I started to work on a Bug Report form, but came to the conclusion, have no way of posting the information.
Wizzup, could you please post on the new thread about how to post to Mantis if you know?
I wrote up some new code for a new internets.pas currently in (newinternets.pas, whooda thunk?)
Its good, just needs some crucial things like physically openning the connections and closing them.
I added PostHTTP stuff, and need more ideas, I worked through Indy and found the right things so.. yeah!
Oh, and I added some more icons to the MainMenu from famfam.
Just to reiterate, the new AboutForm is a template, and the Image is copyrighted and will have to change.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@406 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-13 00:11:11 -05:00
|
|
|
|
|
|
|
{
|
|
|
|
Allocate space in the ConnArray, then open the connection.
|
|
|
|
}
|
2010-01-17 21:47:56 -05:00
|
|
|
function TMufasaInternet.ConnectionOpen(URL: String): Integer;
|
More GUI changes
I started to work on a Bug Report form, but came to the conclusion, have no way of posting the information.
Wizzup, could you please post on the new thread about how to post to Mantis if you know?
I wrote up some new code for a new internets.pas currently in (newinternets.pas, whooda thunk?)
Its good, just needs some crucial things like physically openning the connections and closing them.
I added PostHTTP stuff, and need more ideas, I worked through Indy and found the right things so.. yeah!
Oh, and I added some more icons to the MainMenu from famfam.
Just to reiterate, the new AboutForm is a template, and the Image is copyrighted and will have to change.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@406 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-13 00:11:11 -05:00
|
|
|
var
|
|
|
|
currentIndex: Integer;
|
|
|
|
begin
|
2010-01-13 14:11:42 -05:00
|
|
|
try
|
|
|
|
Result := Self.ConnList.Add(TInternetConnection.Create(URL));
|
|
|
|
except
|
|
|
|
raise Exception.createFMT('TInternetArray.ConnectionClose: Could not close connection %d URL: %d',
|
|
|
|
[theInd, ConnURL]);
|
More GUI changes
I started to work on a Bug Report form, but came to the conclusion, have no way of posting the information.
Wizzup, could you please post on the new thread about how to post to Mantis if you know?
I wrote up some new code for a new internets.pas currently in (newinternets.pas, whooda thunk?)
Its good, just needs some crucial things like physically openning the connections and closing them.
I added PostHTTP stuff, and need more ideas, I worked through Indy and found the right things so.. yeah!
Oh, and I added some more icons to the MainMenu from famfam.
Just to reiterate, the new AboutForm is a template, and the Image is copyrighted and will have to change.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@406 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-13 00:11:11 -05:00
|
|
|
end;
|
|
|
|
end;
|
|
|
|
|
|
|
|
{
|
|
|
|
Close the connection, add the index to the FreeSpots.
|
|
|
|
}
|
2010-01-17 21:47:56 -05:00
|
|
|
function TMufasaInternet.ConnectionClose(theInd: Integer): Boolean;
|
2010-01-13 14:11:42 -05:00
|
|
|
var
|
|
|
|
tempConn: TInternetConnection;
|
More GUI changes
I started to work on a Bug Report form, but came to the conclusion, have no way of posting the information.
Wizzup, could you please post on the new thread about how to post to Mantis if you know?
I wrote up some new code for a new internets.pas currently in (newinternets.pas, whooda thunk?)
Its good, just needs some crucial things like physically openning the connections and closing them.
I added PostHTTP stuff, and need more ideas, I worked through Indy and found the right things so.. yeah!
Oh, and I added some more icons to the MainMenu from famfam.
Just to reiterate, the new AboutForm is a template, and the Image is copyrighted and will have to change.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@406 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-13 00:11:11 -05:00
|
|
|
begin
|
|
|
|
try
|
2010-01-13 14:11:42 -05:00
|
|
|
tempConn := Self.ConnList.Items[theInd];
|
|
|
|
Self.ConnList.Remove(tempConn);
|
|
|
|
tempConn.Destroy;
|
|
|
|
{
|
More GUI changes
I started to work on a Bug Report form, but came to the conclusion, have no way of posting the information.
Wizzup, could you please post on the new thread about how to post to Mantis if you know?
I wrote up some new code for a new internets.pas currently in (newinternets.pas, whooda thunk?)
Its good, just needs some crucial things like physically openning the connections and closing them.
I added PostHTTP stuff, and need more ideas, I worked through Indy and found the right things so.. yeah!
Oh, and I added some more icons to the MainMenu from famfam.
Just to reiterate, the new AboutForm is a template, and the Image is copyrighted and will have to change.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@406 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-13 00:11:11 -05:00
|
|
|
with Self do
|
|
|
|
begin
|
|
|
|
ConnArray[theInd].Destroy;
|
|
|
|
if (FreeSpotsHigh = FreeSpotsLen) then
|
|
|
|
begin
|
|
|
|
FreeSpotsLen := FreeSpotsLen + 1;
|
|
|
|
setLength(FreeSpots, FreeSpotsLen);
|
|
|
|
end;
|
|
|
|
FreeSpots[FreeSpotsHigh] := theInd;
|
2010-01-13 14:11:42 -05:00
|
|
|
end; }
|
More GUI changes
I started to work on a Bug Report form, but came to the conclusion, have no way of posting the information.
Wizzup, could you please post on the new thread about how to post to Mantis if you know?
I wrote up some new code for a new internets.pas currently in (newinternets.pas, whooda thunk?)
Its good, just needs some crucial things like physically openning the connections and closing them.
I added PostHTTP stuff, and need more ideas, I worked through Indy and found the right things so.. yeah!
Oh, and I added some more icons to the MainMenu from famfam.
Just to reiterate, the new AboutForm is a template, and the Image is copyrighted and will have to change.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@406 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-13 00:11:11 -05:00
|
|
|
except
|
|
|
|
raise Exception.createFMT('TInternetArray.ConnectionClose: Could not close connection %d URL: %d',
|
2010-01-13 14:11:42 -05:00
|
|
|
[theInd, ConnList.Items[theInd].ConnURL]);
|
More GUI changes
I started to work on a Bug Report form, but came to the conclusion, have no way of posting the information.
Wizzup, could you please post on the new thread about how to post to Mantis if you know?
I wrote up some new code for a new internets.pas currently in (newinternets.pas, whooda thunk?)
Its good, just needs some crucial things like physically openning the connections and closing them.
I added PostHTTP stuff, and need more ideas, I worked through Indy and found the right things so.. yeah!
Oh, and I added some more icons to the MainMenu from famfam.
Just to reiterate, the new AboutForm is a template, and the Image is copyrighted and will have to change.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@406 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-13 00:11:11 -05:00
|
|
|
exit(false);
|
|
|
|
end;
|
|
|
|
result := True;
|
|
|
|
end;
|
|
|
|
|
|
|
|
{
|
|
|
|
Wrapper for the TInternetConnection.PostVariableAdd procedure which accepts
|
|
|
|
a connection index.
|
|
|
|
}
|
2010-01-17 21:47:56 -05:00
|
|
|
procedure TMufasaInternet.PostVariableAdd(connInd: Integer; theVar, theValue: String);
|
More GUI changes
I started to work on a Bug Report form, but came to the conclusion, have no way of posting the information.
Wizzup, could you please post on the new thread about how to post to Mantis if you know?
I wrote up some new code for a new internets.pas currently in (newinternets.pas, whooda thunk?)
Its good, just needs some crucial things like physically openning the connections and closing them.
I added PostHTTP stuff, and need more ideas, I worked through Indy and found the right things so.. yeah!
Oh, and I added some more icons to the MainMenu from famfam.
Just to reiterate, the new AboutForm is a template, and the Image is copyrighted and will have to change.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@406 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-13 00:11:11 -05:00
|
|
|
begin
|
|
|
|
try
|
2010-01-13 14:11:42 -05:00
|
|
|
ConnList.Items[commInd].PostVariableAdd(theVar, theValue);
|
More GUI changes
I started to work on a Bug Report form, but came to the conclusion, have no way of posting the information.
Wizzup, could you please post on the new thread about how to post to Mantis if you know?
I wrote up some new code for a new internets.pas currently in (newinternets.pas, whooda thunk?)
Its good, just needs some crucial things like physically openning the connections and closing them.
I added PostHTTP stuff, and need more ideas, I worked through Indy and found the right things so.. yeah!
Oh, and I added some more icons to the MainMenu from famfam.
Just to reiterate, the new AboutForm is a template, and the Image is copyrighted and will have to change.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@406 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-13 00:11:11 -05:00
|
|
|
except
|
|
|
|
raise Exception.createFMT('TInternetArray.PostVariableAdd: %d is not in the ConnArray',
|
|
|
|
[connInd]);
|
|
|
|
end;
|
|
|
|
end;
|
|
|
|
|
|
|
|
{
|
|
|
|
Wrapper for the TInternetConnection.PostVariableDel procedure which accepts
|
|
|
|
a connection index.
|
|
|
|
}
|
2010-01-17 21:47:56 -05:00
|
|
|
procedure TMufasaInternet.PostVariableDel(connInd: Integer; theVar: String);
|
More GUI changes
I started to work on a Bug Report form, but came to the conclusion, have no way of posting the information.
Wizzup, could you please post on the new thread about how to post to Mantis if you know?
I wrote up some new code for a new internets.pas currently in (newinternets.pas, whooda thunk?)
Its good, just needs some crucial things like physically openning the connections and closing them.
I added PostHTTP stuff, and need more ideas, I worked through Indy and found the right things so.. yeah!
Oh, and I added some more icons to the MainMenu from famfam.
Just to reiterate, the new AboutForm is a template, and the Image is copyrighted and will have to change.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@406 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-13 00:11:11 -05:00
|
|
|
begin
|
|
|
|
try
|
2010-01-13 14:11:42 -05:00
|
|
|
ConnList.Items[commInd].PostVariableAdd(theVar);
|
More GUI changes
I started to work on a Bug Report form, but came to the conclusion, have no way of posting the information.
Wizzup, could you please post on the new thread about how to post to Mantis if you know?
I wrote up some new code for a new internets.pas currently in (newinternets.pas, whooda thunk?)
Its good, just needs some crucial things like physically openning the connections and closing them.
I added PostHTTP stuff, and need more ideas, I worked through Indy and found the right things so.. yeah!
Oh, and I added some more icons to the MainMenu from famfam.
Just to reiterate, the new AboutForm is a template, and the Image is copyrighted and will have to change.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@406 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-13 00:11:11 -05:00
|
|
|
except
|
|
|
|
raise Exception.createFMT('TInternetArray.PostVariableDel: %d is not in the ConnArray',
|
|
|
|
[connInd]);
|
|
|
|
end;
|
|
|
|
end;
|
|
|
|
|
|
|
|
{
|
|
|
|
Wrapper for the TInternetConnection.PostVariableReplace procedure which accepts
|
|
|
|
a connection index.
|
|
|
|
}
|
2010-01-17 21:47:56 -05:00
|
|
|
procedure TMufasaInternet.PostVariableReplace(connInd: Integer; searchVar, replaceVar, value: String);
|
More GUI changes
I started to work on a Bug Report form, but came to the conclusion, have no way of posting the information.
Wizzup, could you please post on the new thread about how to post to Mantis if you know?
I wrote up some new code for a new internets.pas currently in (newinternets.pas, whooda thunk?)
Its good, just needs some crucial things like physically openning the connections and closing them.
I added PostHTTP stuff, and need more ideas, I worked through Indy and found the right things so.. yeah!
Oh, and I added some more icons to the MainMenu from famfam.
Just to reiterate, the new AboutForm is a template, and the Image is copyrighted and will have to change.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@406 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-13 00:11:11 -05:00
|
|
|
begin
|
|
|
|
try
|
2010-01-13 14:11:42 -05:00
|
|
|
ConnList.Items[commInd].PostVariableAdd(searchVar, replaceVar, value);
|
More GUI changes
I started to work on a Bug Report form, but came to the conclusion, have no way of posting the information.
Wizzup, could you please post on the new thread about how to post to Mantis if you know?
I wrote up some new code for a new internets.pas currently in (newinternets.pas, whooda thunk?)
Its good, just needs some crucial things like physically openning the connections and closing them.
I added PostHTTP stuff, and need more ideas, I worked through Indy and found the right things so.. yeah!
Oh, and I added some more icons to the MainMenu from famfam.
Just to reiterate, the new AboutForm is a template, and the Image is copyrighted and will have to change.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@406 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-13 00:11:11 -05:00
|
|
|
except
|
|
|
|
raise Exception.createFMT('TInternetArray.PostVariableReplace: %d is not in the ConnArray',
|
|
|
|
[connInd]);
|
|
|
|
end;
|
|
|
|
end;
|
|
|
|
|
2010-01-17 21:47:56 -05:00
|
|
|
function TMufasaInternet.PostHTTP(connInd: Integer; out dataStream: TStream): Boolean;
|
2010-01-13 14:11:42 -05:00
|
|
|
begin
|
|
|
|
try
|
|
|
|
result := ConnList.Items[commInd].PostHTTP(dataStream);
|
|
|
|
except
|
|
|
|
raise Exception.createFMT('TInternetArray.PostHTTP: %d is not in the ConnArray',
|
|
|
|
[connInd]);
|
|
|
|
end;
|
|
|
|
end;
|
|
|
|
|
More GUI changes
I started to work on a Bug Report form, but came to the conclusion, have no way of posting the information.
Wizzup, could you please post on the new thread about how to post to Mantis if you know?
I wrote up some new code for a new internets.pas currently in (newinternets.pas, whooda thunk?)
Its good, just needs some crucial things like physically openning the connections and closing them.
I added PostHTTP stuff, and need more ideas, I worked through Indy and found the right things so.. yeah!
Oh, and I added some more icons to the MainMenu from famfam.
Just to reiterate, the new AboutForm is a template, and the Image is copyrighted and will have to change.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@406 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-13 00:11:11 -05:00
|
|
|
{ OTHER }
|
|
|
|
function GetPage(URL: String): String;
|
|
|
|
var
|
|
|
|
s: TStringList;
|
|
|
|
begin
|
|
|
|
s:=TStringList.Create;
|
|
|
|
HttpGetText(URL, s);
|
|
|
|
result := String(s.GetText);
|
|
|
|
s.Free;
|
|
|
|
end;
|
|
|
|
|
|
|
|
end.
|
|
|
|
|
|
|
|
|