Fixed black browser in Lazarus demos

Added a manifest to all Lazarus demos for Windows
This commit is contained in:
Salvador Díaz Fau 2024-05-02 12:31:19 +02:00
parent 11bb3607d5
commit 79b76d3e71
162 changed files with 180 additions and 23 deletions

View File

@ -15,6 +15,7 @@
<Title Value="CookieVisitor"/>
<UseAppBundle Value="False"/>
<ResourceType Value="res"/>
<UseXPManifest Value="True"/>
</General>
<BuildModes Count="1">
<Item1 Name="Default" Default="True"/>

View File

@ -21,6 +21,8 @@ uses
{$SetPEFlags IMAGE_FILE_LARGE_ADDRESS_AWARE}
{$ENDIF}
{$R *.res}
begin
CreateGlobalCEFApp;

Binary file not shown.

View File

@ -15,6 +15,7 @@
<Title Value="CRBrowser"/>
<UseAppBundle Value="False"/>
<ResourceType Value="res"/>
<UseXPManifest Value="True"/>
</General>
<BuildModes Count="1">
<Item1 Name="Default" Default="True"/>

View File

@ -18,6 +18,8 @@ uses
{$SetPEFlags IMAGE_FILE_LARGE_ADDRESS_AWARE}
{$R *.res}
begin
CreateGlobalCEFApp;

View File

@ -15,6 +15,7 @@
<Title Value="DOMVisitor"/>
<UseAppBundle Value="False"/>
<ResourceType Value="res"/>
<UseXPManifest Value="True"/>
</General>
<BuildModes Count="1">
<Item1 Name="Default" Default="True"/>

View File

@ -12,6 +12,8 @@ uses
{$SetPEFlags IMAGE_FILE_LARGE_ADDRESS_AWARE}
{$R *.res}
begin
// GlobalCEFApp creation and initialization moved to a different unit to fix the memory leak described in the bug #89
// https://github.com/salvadordf/CEF4Delphi/issues/89

Binary file not shown.

View File

@ -27,6 +27,8 @@ uses
// If you don't add this flag the rederer process will crash when you try to load large images.
{$SetPEFlags IMAGE_FILE_LARGE_ADDRESS_AWARE}
{$R *.res}
begin
CreateGlobalCEFApp;

View File

@ -15,6 +15,7 @@
<Title Value="EditorBrowser"/>
<UseAppBundle Value="False"/>
<ResourceType Value="res"/>
<UseXPManifest Value="True"/>
</General>
<BuildModes Count="1">
<Item1 Name="Default" Default="True"/>

Binary file not shown.

View File

@ -15,6 +15,7 @@
<Title Value="ExternalPumpBrowser"/>
<UseAppBundle Value="False"/>
<ResourceType Value="res"/>
<UseXPManifest Value="True"/>
</General>
<BuildModes Count="1">
<Item1 Name="Default" Default="True"/>

View File

@ -20,6 +20,8 @@ uses
// If you don't add this flag the rederer process will crash when you try to load large images.
{$SetPEFlags IMAGE_FILE_LARGE_ADDRESS_AWARE}
{$R *.res}
begin
// GlobalCEFApp creation and initialization moved to a different unit to fix the memory leak described in the bug #89
// https://github.com/salvadordf/CEF4Delphi/issues/89

View File

@ -15,6 +15,7 @@
<Title Value="FullScreenBrowser"/>
<UseAppBundle Value="False"/>
<ResourceType Value="res"/>
<UseXPManifest Value="True"/>
</General>
<BuildModes Count="1">
<Item1 Name="Default" Default="True"/>

View File

@ -19,6 +19,8 @@ uses
{$SetPEFlags IMAGE_FILE_LARGE_ADDRESS_AWARE}
{$R *.res}
begin
CreateGlobalCEFApp;

View File

@ -15,6 +15,7 @@
<Title Value="JSDialogBrowser"/>
<UseAppBundle Value="False"/>
<ResourceType Value="res"/>
<UseXPManifest Value="True"/>
</General>
<BuildModes Count="1">
<Item1 Name="Default" Default="True"/>

View File

@ -17,6 +17,8 @@ uses
{$SetPEFlags IMAGE_FILE_LARGE_ADDRESS_AWARE}
{$R *.res}
begin
CreateGlobalCEFApp;

View File

@ -15,6 +15,7 @@
<Title Value="JSEval"/>
<UseAppBundle Value="False"/>
<ResourceType Value="res"/>
<UseXPManifest Value="True"/>
</General>
<BuildModes Count="1">
<Item1 Name="Default" Default="True"/>

View File

@ -16,6 +16,8 @@ uses
// CEF3 needs to set the LARGEADDRESSAWARE flag which allows 32-bit processes to use up to 3GB of RAM.
{$SetPEFlags IMAGE_FILE_LARGE_ADDRESS_AWARE}
{$R *.res}
begin
// GlobalCEFApp creation and initialization moved to a different unit to fix the memory leak described in the bug #89
// https://github.com/salvadordf/CEF4Delphi/issues/89

Binary file not shown.

View File

@ -15,6 +15,7 @@
<Title Value="JSExecutingFunctions"/>
<UseAppBundle Value="False"/>
<ResourceType Value="res"/>
<UseXPManifest Value="True"/>
</General>
<BuildModes Count="1">
<Item1 Name="Default" Default="True"/>

View File

@ -21,6 +21,8 @@ uses
// CEF3 needs to set the LARGEADDRESSAWARE flag which allows 32-bit processes to use up to 3GB of RAM.
{$SetPEFlags $20}
{$R *.res}
begin
// GlobalCEFApp creation and initialization moved to a different unit to fix the memory leak described in the bug #89
// https://github.com/salvadordf/CEF4Delphi/issues/89

View File

@ -15,6 +15,7 @@
<Title Value="JSExtension"/>
<UseAppBundle Value="False"/>
<ResourceType Value="res"/>
<UseXPManifest Value="True"/>
</General>
<BuildModes Count="1">
<Item1 Name="Default" Default="True"/>

View File

@ -22,6 +22,8 @@ uses
// CEF3 needs to set the LARGEADDRESSAWARE flag which allows 32-bit processes to use up to 3GB of RAM.
{$SetPEFlags $20}
{$R *.res}
begin
// GlobalCEFApp creation and initialization moved to a different unit to fix the memory leak described in the bug #89
// https://github.com/salvadordf/CEF4Delphi/issues/89

View File

@ -15,6 +15,7 @@
<Title Value="JSExtension"/>
<UseAppBundle Value="False"/>
<ResourceType Value="res"/>
<UseXPManifest Value="True"/>
</General>
<BuildModes Count="1">
<Item1 Name="Default" Default="True"/>

View File

@ -15,6 +15,8 @@ uses
// CEF3 needs to set the LARGEADDRESSAWARE flag which allows 32-bit processes to use up to 3GB of RAM.
{$SetPEFlags $20}
{$R *.res}
begin
// GlobalCEFApp creation and initialization moved to a different unit to fix the memory leak described in the bug #89
// https://github.com/salvadordf/CEF4Delphi/issues/89

View File

@ -15,6 +15,7 @@
<Title Value="JSExtension_sp"/>
<UseAppBundle Value="False"/>
<ResourceType Value="res"/>
<UseXPManifest Value="True"/>
</General>
<BuildModes Count="1">
<Item1 Name="Default" Default="True"/>

View File

@ -13,6 +13,8 @@ const
{$SetPEFlags IMAGE_FILE_LARGE_ADDRESS_AWARE}
{$ENDIF}
{$R *.res}
begin
CreateGlobalCEFApp;
DestroyGlobalCEFApp;

View File

@ -15,6 +15,7 @@
<Title Value="JSExtensionWithFunction"/>
<UseAppBundle Value="False"/>
<ResourceType Value="res"/>
<UseXPManifest Value="True"/>
</General>
<BuildModes Count="1">
<Item1 Name="Default" Default="True"/>

View File

@ -21,6 +21,8 @@ uses
// CEF3 needs to set the LARGEADDRESSAWARE flag which allows 32-bit processes to use up to 3GB of RAM.
{$SetPEFlags $20}
{$R *.res}
begin
// GlobalCEFApp creation and initialization moved to a different unit to fix the memory leak described in the bug #89
// https://github.com/salvadordf/CEF4Delphi/issues/89

View File

@ -15,6 +15,7 @@
<Title Value="JSExtensionWithObjectParameter"/>
<UseAppBundle Value="False"/>
<ResourceType Value="res"/>
<UseXPManifest Value="True"/>
</General>
<BuildModes Count="1">
<Item1 Name="Default" Default="True"/>

View File

@ -21,6 +21,8 @@ uses
// CEF3 needs to set the LARGEADDRESSAWARE flag which allows 32-bit processes to use up to 3GB of RAM.
{$SetPEFlags $20}
{$R *.res}
begin
// GlobalCEFApp creation and initialization moved to a different unit to fix the memory leak described in the bug #89
// https://github.com/salvadordf/CEF4Delphi/issues/89

View File

@ -14,6 +14,7 @@
<Title Value="JSSharedMemoryProcMessage"/>
<UseAppBundle Value="False"/>
<ResourceType Value="res"/>
<UseXPManifest Value="True"/>
</General>
<BuildModes>
<Item Name="Default" Default="True"/>

View File

@ -15,6 +15,8 @@ uses
// CEF needs to set the LARGEADDRESSAWARE flag which allows 32-bit processes to use up to 3GB of RAM.
{$SetPEFlags $20}
{$R *.res}
begin
// GlobalCEFApp creation and initialization moved to a different unit to fix the memory leak described in the bug #89
// https://github.com/salvadordf/CEF4Delphi/issues/89

View File

@ -15,6 +15,7 @@
<Title Value="JSSimpleExtension"/>
<UseAppBundle Value="False"/>
<ResourceType Value="res"/>
<UseXPManifest Value="True"/>
</General>
<BuildModes Count="1">
<Item1 Name="Default" Default="True"/>

View File

@ -20,6 +20,8 @@ uses
// CEF3 needs to set the LARGEADDRESSAWARE flag which allows 32-bit processes to use up to 3GB of RAM.
{$SetPEFlags $20}
{$R *.res}
begin
// GlobalCEFApp creation and initialization moved to a different unit to fix the memory leak described in the bug #89
// https://github.com/salvadordf/CEF4Delphi/issues/89

View File

@ -15,6 +15,7 @@
<Title Value="JSSimpleWindowBinding"/>
<UseAppBundle Value="False"/>
<ResourceType Value="res"/>
<UseXPManifest Value="True"/>
</General>
<BuildModes Count="1">
<Item1 Name="Default" Default="True"/>

View File

@ -20,6 +20,8 @@ uses
// CEF3 needs to set the LARGEADDRESSAWARE flag which allows 32-bit processes to use up to 3GB of RAM.
{$SetPEFlags $20}
{$R *.res}
begin
// GlobalCEFApp creation and initialization moved to a different unit to fix the memory leak described in the bug #89
// https://github.com/salvadordf/CEF4Delphi/issues/89

View File

@ -15,6 +15,7 @@
<Title Value="JSSimpleWindowBinding"/>
<UseAppBundle Value="False"/>
<ResourceType Value="res"/>
<UseXPManifest Value="True"/>
</General>
<BuildModes Count="1">
<Item1 Name="Default" Default="True"/>

View File

@ -15,6 +15,8 @@ uses
// CEF3 needs to set the LARGEADDRESSAWARE flag which allows 32-bit processes to use up to 3GB of RAM.
{$SetPEFlags $20}
{$R *.res}
begin
GlobalCEFApp := TCefApplication.Create;
GlobalCEFApp.SetCurrentDir := True;

View File

@ -15,6 +15,7 @@
<Title Value="SubProcess"/>
<UseAppBundle Value="False"/>
<ResourceType Value="res"/>
<UseXPManifest Value="True"/>
</General>
<BuildModes Count="1">
<Item1 Name="Default" Default="True"/>

View File

@ -30,6 +30,8 @@ begin
context.Global.SetValueByKey('myval', TempValue, V8_PROPERTY_ATTRIBUTE_NONE);
end;
{$R *.res}
begin
GlobalCEFApp := TCefApplicationCore.Create;
GlobalCEFApp.OnContextCreated := GlobalCEFApp_OnContextCreated;

View File

@ -15,6 +15,7 @@
<Title Value="JSWindowBindingWithArrayBuffer"/>
<UseAppBundle Value="False"/>
<ResourceType Value="res"/>
<UseXPManifest Value="True"/>
</General>
<BuildModes Count="1">
<Item1 Name="Default" Default="True"/>

View File

@ -20,6 +20,8 @@ uses
// CEF3 needs to set the LARGEADDRESSAWARE flag which allows 32-bit processes to use up to 3GB of RAM.
{$SetPEFlags $20}
{$R *.res}
begin
// GlobalCEFApp creation and initialization moved to a different unit to fix the memory leak described in the bug #89
// https://github.com/salvadordf/CEF4Delphi/issues/89

View File

@ -15,6 +15,7 @@
<Title Value="JSWindowBindingWithFunction"/>
<UseAppBundle Value="False"/>
<ResourceType Value="res"/>
<UseXPManifest Value="True"/>
</General>
<BuildModes Count="1">
<Item1 Name="Default" Default="True"/>

View File

@ -21,6 +21,8 @@ uses
// CEF3 needs to set the LARGEADDRESSAWARE flag which allows 32-bit processes to use up to 3GB of RAM.
{$SetPEFlags $20}
{$R *.res}
begin
// GlobalCEFApp creation and initialization moved to a different unit to fix the memory leak described in the bug #89
// https://github.com/salvadordf/CEF4Delphi/issues/89

View File

@ -15,6 +15,7 @@
<Title Value="JSWindowBindingWithObject"/>
<UseAppBundle Value="False"/>
<ResourceType Value="res"/>
<UseXPManifest Value="True"/>
</General>
<BuildModes Count="1">
<Item1 Name="Default" Default="True"/>

View File

@ -21,6 +21,8 @@ uses
// CEF3 needs to set the LARGEADDRESSAWARE flag which allows 32-bit processes to use up to 3GB of RAM.
{$SetPEFlags $20}
{$R *.res}
begin
// GlobalCEFApp creation and initialization moved to a different unit to fix the memory leak described in the bug #89
// https://github.com/salvadordf/CEF4Delphi/issues/89

View File

@ -15,6 +15,7 @@
<Title Value="MediaRouter"/>
<UseAppBundle Value="False"/>
<ResourceType Value="res"/>
<UseXPManifest Value="True"/>
</General>
<BuildModes Count="1">
<Item1 Name="Default" Default="True"/>

View File

@ -20,6 +20,8 @@ uses
{$SetPEFlags IMAGE_FILE_LARGE_ADDRESS_AWARE}
{$R *.res}
begin
CreateGlobalCEFApp;

Binary file not shown.

View File

@ -15,6 +15,7 @@
<Title Value="MiniBrowser"/>
<UseAppBundle Value="False"/>
<ResourceType Value="res"/>
<UseXPManifest Value="True"/>
</General>
<BuildModes Count="1">
<Item1 Name="Default" Default="True"/>

View File

@ -21,6 +21,8 @@ uses
{$SetPEFlags IMAGE_FILE_LARGE_ADDRESS_AWARE}
{$R *.res}
begin
CreateGlobalCEFApp;

Binary file not shown.

View File

@ -14,6 +14,7 @@
<Title Value="MobileBrowser"/>
<UseAppBundle Value="False"/>
<ResourceType Value="res"/>
<UseXPManifest Value="True"/>
</General>
<BuildModes>
<Item Name="Default" Default="True"/>

View File

@ -16,6 +16,8 @@ uses
// If you don't add this flag the rederer process will crash when you try to load large images.
{$SetPEFlags IMAGE_FILE_LARGE_ADDRESS_AWARE}
{$R *.res}
begin
GlobalCEFApp := TCefApplication.Create;
GlobalCEFApp.SetCurrentDir := True;

Binary file not shown.

View File

@ -8,6 +8,7 @@
<Title Value="NetworkTrackerBrowser"/>
<UseAppBundle Value="False"/>
<ResourceType Value="res"/>
<UseXPManifest Value="True"/>
</General>
<BuildModes>
<Item Name="Default" Default="True"/>

View File

@ -18,6 +18,8 @@ const
{$SetPEFlags IMAGE_FILE_LARGE_ADDRESS_AWARE}
{$ENDIF}
{$R *.res}
begin
GlobalCEFApp := TCefApplication.Create;

View File

@ -1,7 +1,7 @@
object MainForm: TMainForm
Left = 0
Left = 220
Height = 624
Top = 0
Top = 164
Width = 1038
Caption = 'Initializing browser. Please wait...'
ClientHeight = 624

View File

@ -15,6 +15,7 @@
<Title Value="OAuth2Tester"/>
<UseAppBundle Value="False"/>
<ResourceType Value="res"/>
<UseXPManifest Value="True"/>
</General>
<BuildModes Count="1">
<Item1 Name="Default" Default="True"/>

View File

@ -18,6 +18,8 @@ uses
{.$R *.res}
{$R *.res}
begin
GlobalCEFApp := TCefApplication.Create;
GlobalCEFApp.SetCurrentDir := True;

Binary file not shown.

View File

@ -15,6 +15,7 @@
<Title Value="OSRExternalPumpBrowser"/>
<UseAppBundle Value="False"/>
<ResourceType Value="res"/>
<UseXPManifest Value="True"/>
</General>
<BuildModes Count="1">
<Item1 Name="Default" Default="True"/>

View File

@ -16,6 +16,8 @@ uses
// CEF3 needs to set the LARGEADDRESSAWARE flag which allows 32-bit processes to use up to 3GB of RAM.
{$SetPEFlags IMAGE_FILE_LARGE_ADDRESS_AWARE}
{$R *.res}
begin
// GlobalCEFApp creation and initialization moved to a different unit to fix the memory leak described in the bug #89
// https://github.com/salvadordf/CEF4Delphi/issues/89

View File

@ -15,6 +15,7 @@
<Title Value="PopupBrowser"/>
<UseAppBundle Value="False"/>
<ResourceType Value="res"/>
<UseXPManifest Value="True"/>
</General>
<BuildModes Count="1">
<Item1 Name="Default" Default="True"/>

View File

@ -20,6 +20,8 @@ uses
// If you don't add this flag the rederer process will crash when you try to load large images.
{$SetPEFlags IMAGE_FILE_LARGE_ADDRESS_AWARE}
{$R *.res}
begin
CreateGlobalCEFApp;

Binary file not shown.

View File

@ -15,6 +15,7 @@
<Title Value="PopupBrowser2"/>
<UseAppBundle Value="False"/>
<ResourceType Value="res"/>
<UseXPManifest Value="True"/>
</General>
<BuildModes Count="1">
<Item1 Name="Default" Default="True"/>

View File

@ -20,6 +20,8 @@ uses
// If you don't add this flag the rederer process will crash when you try to load large images.
{$SetPEFlags IMAGE_FILE_LARGE_ADDRESS_AWARE}
{$R *.res}
begin
CreateGlobalCEFApp;

Binary file not shown.

View File

@ -15,6 +15,7 @@
<Title Value="PostInspectorBrowser"/>
<UseAppBundle Value="False"/>
<ResourceType Value="res"/>
<UseXPManifest Value="True"/>
</General>
<BuildModes Count="1">
<Item1 Name="Default" Default="True"/>

View File

@ -19,6 +19,8 @@ uses
// If you don't add this flag the rederer process will crash when you try to load large images.
{$SetPEFlags IMAGE_FILE_LARGE_ADDRESS_AWARE}
{$R *.res}
begin
CreateGlobalCEFApp;

View File

@ -14,6 +14,7 @@
<Title Value="ResponseFilterBrowser"/>
<UseAppBundle Value="False"/>
<ResourceType Value="res"/>
<UseXPManifest Value="True"/>
</General>
<BuildModes>
<Item Name="Default" Default="True"/>

View File

@ -15,6 +15,8 @@ uses
// CEF3 needs to set the LARGEADDRESSAWARE flag which allows 32-bit processes to use up to 3GB of RAM.
{$SetPEFlags IMAGE_FILE_LARGE_ADDRESS_AWARE}
{$R *.res}
begin
CreateGlobalCEFApp;

View File

@ -1,7 +1,7 @@
object ResponseFilterBrowserFrm: TResponseFilterBrowserFrm
Left = 0
Left = 328
Height = 710
Top = 0
Top = 183
Width = 1054
Caption = 'Initializing browser. Please wait...'
ClientHeight = 710
@ -15,7 +15,7 @@ object ResponseFilterBrowserFrm: TResponseFilterBrowserFrm
OnDestroy = FormDestroy
OnShow = FormShow
Position = poScreenCenter
LCLVersion = '3.0.0.3'
LCLVersion = '3.2.0.0'
object Splitter1: TSplitter
Cursor = crVSplit
Left = 0
@ -39,7 +39,7 @@ object ResponseFilterBrowserFrm: TResponseFilterBrowserFrm
TabOrder = 0
object AddressEdt: TEdit
Left = 3
Height = 21
Height = 22
Top = 3
Width = 735
Anchors = [akTop, akLeft, akRight]
@ -69,7 +69,7 @@ object ResponseFilterBrowserFrm: TResponseFilterBrowserFrm
end
object RscNameEdt: TEdit
Left = 174
Height = 21
Height = 22
Top = 0
Width = 122
TabOrder = 1
@ -77,7 +77,7 @@ object ResponseFilterBrowserFrm: TResponseFilterBrowserFrm
end
object CopyScriptBtn: TRadioButton
Left = 72
Height = 17
Height = 18
Top = 0
Width = 79
Caption = 'Copy script :'
@ -87,15 +87,15 @@ object ResponseFilterBrowserFrm: TResponseFilterBrowserFrm
end
object ReplaceLogoBtn: TRadioButton
Left = 72
Height = 17
Height = 18
Top = 19
Width = 79
Width = 81
Caption = 'Replace logo'
TabOrder = 3
end
object ReplaceTextBtn: TRadioButton
Left = 72
Height = 17
Height = 18
Top = 38
Width = 79
Caption = 'Replace text'

View File

@ -15,6 +15,7 @@
<Title Value="SchemeRegistrationBrowser"/>
<UseAppBundle Value="False"/>
<ResourceType Value="res"/>
<UseXPManifest Value="True"/>
</General>
<BuildModes Count="1">
<Item1 Name="Default" Default="True"/>

View File

@ -13,6 +13,8 @@ uses
{$SetPEFlags IMAGE_FILE_LARGE_ADDRESS_AWARE}
{$R *.res}
begin
// GlobalCEFApp creation and initialization moved to a different unit to fix the memory leak described in the bug #89
// https://github.com/salvadordf/CEF4Delphi/issues/89

Some files were not shown because too many files have changed in this diff Show More