Changeset 137 for trunk/Packages/CoolWeb/WebServer
- Timestamp:
- Sep 9, 2022, 1:16:58 AM (2 years ago)
- Location:
- trunk/Packages/CoolWeb/WebServer
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Packages/CoolWeb/WebServer/UHTTPServer.pas
r130 r137 1 1 unit UHTTPServer; 2 3 {$mode Delphi}{$H+}4 2 5 3 interface … … 419 417 procedure THTTPSessionStorage.Load(HandlerData: THTTPHandlerData); 420 418 begin 421 422 419 end; 423 420 424 421 procedure THTTPSessionStorage.Save(HandlerData: THTTPHandlerData); 425 422 begin 426 427 423 end; 428 424 -
trunk/Packages/CoolWeb/WebServer/UHTTPServerCGI.pas
r100 r137 1 1 unit UHTTPServerCGI; 2 3 {$mode delphi}{$H+}4 2 5 3 interface … … 21 19 end; 22 20 21 procedure Register; 23 22 24 procedure Register;25 23 26 24 implementation … … 33 31 RegisterComponents('CoolWeb', [THTTPServerCGI]); 34 32 end; 35 36 33 37 34 { THTTPServerCGI } … … 46 43 begin 47 44 EnvVars.Free; 48 inherited Destroy;45 inherited; 49 46 end; 50 47 -
trunk/Packages/CoolWeb/WebServer/UHTTPServerTCP.pas
r130 r137 1 1 unit UHTTPServerTCP; 2 3 {$mode delphi}4 2 5 3 interface … … 141 139 end; 142 140 143 144 141 { THTTPServerTCP } 145 142 -
trunk/Packages/CoolWeb/WebServer/UHTTPServerTurboPower.pas
r84 r137 1 1 unit UHTTPServerTurboPower; 2 3 {$mode delphi}{$H+}4 2 5 3 interface … … 32 30 end; 33 31 34 35 32 { THTTPServerTurboPower } 36 33 … … 62 59 destructor THTTPServerTurboPower.Destroy; 63 60 begin 64 inherited Destroy;61 inherited; 65 62 end; 66 63 -
trunk/Packages/CoolWeb/WebServer/UHTTPSessionFile.pas
r114 r137 1 1 unit UHTTPSessionFile; 2 3 {$mode Delphi}{$H+}4 2 5 3 interface … … 36 34 procedure Register; 37 35 36 38 37 implementation 39 38 … … 45 44 RegisterComponents('CoolWeb', [THTTPSessionStorageFile]); 46 45 end; 47 48 46 49 47 { THTTPSession } … … 119 117 Sessions.Destroy; 120 118 Lock.Destroy; 121 inherited Destroy;119 inherited; 122 120 end; 123 121 -
trunk/Packages/CoolWeb/WebServer/UHTTPSessionMySQL.pas
r100 r137 1 1 unit UHTTPSessionMySQL; 2 3 {$mode Delphi}{$H+}4 2 5 3 interface … … 37 35 procedure Register; 38 36 37 39 38 implementation 40 39 … … 43 42 RegisterComponents('CoolWeb', [THTTPSessionStorageMySQL]); 44 43 end; 45 46 44 47 45 { THTTPSession } … … 138 136 Sessions.Free; 139 137 Lock.Free; 140 inherited Destroy;138 inherited; 141 139 end; 142 140 -
trunk/Packages/CoolWeb/WebServer/UTurboPowerForm.pas
r84 r137 1 1 unit UTurboPowerForm; 2 3 {$mode delphi}4 2 5 3 interface … … 35 33 FormWebBrowser: TFormWebBrowser; 36 34 35 37 36 implementation 38 37 … … 51 50 end; 52 51 53 initialization54 55 52 end. 56 53 -
trunk/Packages/CoolWeb/WebServer/UWebApp.pas
r132 r137 1 1 unit UWebApp; 2 2 3 {$mode Delphi}{$H+}4 5 3 interface 6 4 7 5 uses 8 Classes, SysUtils, UWebPage, UHTTPSessionFile, 9 UHTTPServer, Forms, FileUtil, fgl;6 Classes, SysUtils, UWebPage, UHTTPSessionFile, UHTTPServer, Forms, FileUtil, 7 Generics.Collections; 10 8 11 9 type … … 22 20 { TPageList } 23 21 24 TPageList = class(T FPGObjectList<TRegistredPage>)22 TPageList = class(TObjectList<TRegistredPage>) 25 23 RootDir: string; 26 24 function FindByPage(Page: TWebPage): TRegistredPage; … … 221 219 end; 222 220 223 224 initialization225 226 finalization227 228 221 end. 229 222 -
trunk/Packages/CoolWeb/WebServer/UWebPage.pas
r84 r137 1 1 unit UWebPage; 2 3 {$mode objfpc}{$H+}4 2 5 3 interface … … 11 9 TOnProduceEvent = procedure(HandlerData: THTTPHandlerData) of object; 12 10 13 14 11 { TWebPage } 15 12 … … 18 15 FCaption: string; 19 16 FOnProduce: TOnProduceEvent; 17 FRaw: Boolean; 20 18 published 19 property Raw: Boolean read FRaw write FRaw; 21 20 property Caption: string read FCaption write FCaption; 22 21 property OnProduce: TOnProduceEvent read FOnProduce write FOnProduce; 23 22 end; 24 25 23 26 24 TWebPageClass = class of TWebPage;
Note:
See TracChangeset
for help on using the changeset viewer.