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
Joshy
a45264e1f0
Scan the LD_LIBRARY_PATH environment variable for a suitable XULRunner. (Linux).
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1401 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-12-08 18:30:01 +00:00
Joshy
bfef390ae7
Make it compatible with XULRunner 2.0.0.8pre
...
It must be compiled with -dXULRUNNER2 as some interfaces has changed the iid and interface.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1398 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-12-06 18:25:39 +00:00
macpgmr
91c7c61633
Workaround: Disabled floating point exceptions in sample apps to prevent xulrunner crash with FPC/Windows.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1396 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-12-03 21:49:16 +00:00
macpgmr
b34489c597
Expanding ParamStr(0) in one place.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1393 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-12-01 03:34:52 +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
Loesje_
4786888c25
* Use lazmkunit package for the Lazarus-package
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1390 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-11-28 19:23:56 +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
Joshy
0d9579aebb
Estetic change in the OutputDebugString.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1388 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-11-28 18:24:07 +00:00
Joshy
b4d5f7b9fd
When unloading XRE engine this function can fail with an exception.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1387 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-11-28 18:21:53 +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
Loesje_
4a8d99b73b
* Adapted fpmake so that the Lazarus-package link is only installed after an install
...
* Us a package template with the same name as the original package, to avoid problems with dependencies
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1383 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-11-25 21:07:41 +00:00
Joshy
5c93a8161f
Remove exception raising in TWeakReference.QueryReferent as it is not a serious error (unimplemented interface) and its absence is not a problem at all. Added the interface definition for nsIWebProgressListener2, but not implemented.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1381 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-11-24 22:12:57 +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_
0e67b948fb
* Do not install Lazarus-package files in a path with the package-verion in it
...
* Add the option to pass the location of a Lazarus-installation to the installer and add the lazarus-package to the default packages list of this Lazarus installation
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1373 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-11-14 15:19:20 +00:00
Loesje_
eee543f190
* added the ability to provide the name of the xpcom-library to GeckoComponentsStartup
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1371 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-11-04 14:24:36 +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_
95fc6d969d
* Do not show an empty error message when the error service is not found
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1369 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-11-04 14:17:49 +00:00
Loesje_
a7ec50b42d
* Do not place the lazarusfile in a subdirectory
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1368 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-11-04 12:37:10 +00:00
Loesje_
ba1a8f3a6a
* GeckoComponentsFP is in fact the same as Geckocomponents, so add this to Provides
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1367 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-11-04 12:31: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_
12c1226196
* Fixed compilation on Windows after r1363
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1364 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-11-03 10:34:31 +00:00
Loesje_
f9d34962ec
* Search for dependencies in normal search-path also
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1363 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-11-02 19:58:39 +00:00
Loesje_
9d0cbed421
* Replaced backslashes with DirectorySeparator
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1362 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-11-02 19:48:19 +00:00
Loesje_
95d348513e
* Added fpmake file
...
* Added new lazarus-package GeckoComponentsFP which can be used with Gecko as installed by fpmake
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1361 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-11-02 14:27:42 +00:00
Loesje_
bdd91129ee
* Removed dependency on unused units from the LCL
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1358 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-10-29 15:13:34 +00:00
Loesje_
efe4017021
* Set a default return value so that in case of a problem, Buffered_Open returns false
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1353 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-10-16 16:37:07 +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_
a1121fb2ec
* Implemented a way to pass a PGtkWidget to Gecko to draw the webpage on for Gtk2
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1349 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-10-14 08:00:44 +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_
1f2277260d
* Do not store session information into the .lpi file
...
* Added .. to the search-path
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1347 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-10-14 07:37:35 +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
Loesje_
1f22a672ad
* Fixed compilation on Linux
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1345 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-10-13 18:54:17 +00:00
Loesje_
6f08af54b1
* Fixed compilation on Linux
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1344 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-10-13 18:24:28 +00:00
Loesje_
d930eeef28
* Fixed compilation on Linux
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1343 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-10-13 18:14:49 +00:00
Loesje_
137f416c20
* Fixed compilation on Linux
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1342 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-10-13 16:58:16 +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
d9078b2b2d
Only way that useless SVN would let me rename these files.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1026 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-12-01 03:01:26 +00:00
macpgmr
30c5ce829d
Another try after failure by that worthless svnX: Updated GeckoChromeWindow.pas; replaced BrowseWin sample app with ChromeWin; now using new ObjC-based Cocoa widgetset instead of old PasCocoa-based Cocoa widgetset.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1025 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-12-01 02:56:51 +00:00
macpgmr
a9cef53676
Updated GeckoChromeWindow.pas; replaced BrowseWin sample app with ChromeWin; now using new ObjC-based Cocoa widgetset instead of old PasCocoa-based Cocoa widgetset.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1024 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-12-01 02:43:05 +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