Joshy
3859aeffbc
Refactored the initialization process.
...
Added two workarounds for LCLGTK2 to force event poolling (using a timer) and a Self.AdjustSize in the paint to avoid some paints that are being eated.
Added OnDocumentBegin and OnDocumentCompleted events.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1420 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-01-02 22:59:41 +00:00
macpgmr
1e0e578000
IFDEF for DARWIN since no windres to compile logo .rc
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1392 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-12-01 01:32:54 +00:00
Joshy
231a966bd9
Rearranged DirectoryService from CallbackInterfaces to XPCOMGlue.
...
Directory Service is now added via Service Manager instead XRE_InitEmbedding.
Removed unused units from uses clause.
Clean shutdown if XRE Engine is not loaded.
Message in the GeckoBrowser if initialization failed.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1391 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-11-29 14:01:04 +00:00
Joshy
8f75063a47
Added the ability to setup the Profile Directory and Cache Directory via OnDirectoryService.
...
Small changes in initialization sequence.
Added a designtime logo to the Gecko window.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1389 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-11-28 18:34:47 +00:00
macpgmr
c40167afdd
Minor changes so it compiles with Cocoa widgetset; minor change to Mac scripts so it uses system's libsqlite3.dylib rather than XUL's, which Snow Leopard does not consider secure enough.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1386 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-11-28 17:33:37 +00:00
Joshy
98c77fabc7
Reintroduced overrides for CreateWnd because the component creation at runtime will not work without it. Refactored the initialization to not be called 2 times, one from Loaded and one from CreateWnd. Tested win32 but it should not affect other widgetsets.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1380 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-11-24 13:54:27 +00:00
Loesje_
e7d62bd2fa
* Do not try to shutdown Gecko if it failed to load, to avoid exceptions during exceptions
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1370 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-11-04 14:22:29 +00:00
Loesje_
a67628d40d
* initialize webbrowser on loaded, instead of createwnd, so that it is possible to use the webbrowser in FromCreate
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1366 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-11-04 12:27:21 +00:00
Loesje_
75da85c8d7
* Use the same mechanism to get the native handle as in TGeckoChromeWindow
...
* Use the right handle for GTK2
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1365 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-11-03 11:27:11 +00:00
Loesje_
2bfd352b06
* Use macro to fix compilation on fpc-versions without constref support
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1352 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-10-15 19:18:55 +00:00
Loesje_
5e585221b0
* Changed all const TGUID function parameters into constref parameters
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1348 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-10-14 07:46:44 +00:00
Loesje_
2ce72c0953
* Use cdecl instead of stdcall on non-Windows
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1346 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-10-13 19:00:37 +00:00
Joshy
55a0067ad1
Fixed some problems win32 version. GTK and others still do not work.
...
Fixed some DOM events. Added new OnCloseWindow event.
Added possibility to disable JavaScript.
The interface is not fixed and some events could change shortly.
Tested with XULRuuner from 1.9.0.16 to 1.9.1.11.
XULRunner 1.9.2.x does not work due JavaScript problems, quite sure located in the XULRunner.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1231 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-05-28 21:53:08 +00:00
macpgmr
a9dc8441be
Moved TCustomGeckoBrowser's InitWebBrowser from private to public so it can be used in Lazarus designer.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1113 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-01-04 21:13:56 +00:00
macpgmr
19bbf293d0
One more try to commit all files.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1027 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-12-01 03:04:02 +00:00
macpgmr
f7642d12d1
First commit of GeckoPort source
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1009 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-11-15 23:34:54 +00:00