Joshy
aa5644ca43
Added Print (to printer) method.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1521 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-03-04 12:35:25 +00:00
Joshy
d35cec6ab2
Missing file updates to compile Gecko components.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1520 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-03-04 10:22:15 +00:00
Joshy
a0d86ba9ca
Added nsIDOMNSHTMLDocument.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1504 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-02-15 19:08:11 +00:00
Joshy
a3b8d5787d
Added new GeckoPromptService component.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1502 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-02-14 11:09:59 +00:00
Joshy
afe6ca3161
Added some more interfaces.
...
* nsIDocumentEncoder
* nsIDocumentEncoderNodeFixup
* nsIAuthInformation
* nsIAuthPromptCallback
* nsICancelable
* nsIPromptService2
Changed nsIPromptService parameter out to var, as information is inout.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1501 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-02-14 11:03:48 +00:00
Loesje_
e390337166
* Added lazarus resource-files
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1468 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-01-28 11:59:20 +00:00
Loesje_
03b6497475
* Fixed mem-leaks in designer. If there are instances created, release them. Even in csDesigning mode. (which is not always set already at creation)
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1467 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-01-28 11:36:49 +00:00
Loesje_
e76eea2eae
* Add workaround for fpcmake bug
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1466 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-01-28 11:10:16 +00:00
Joshy
d74dbbbe55
Linux64/GTK2 remove DirectoryService facility while bug is not solved.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1434 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-01-08 22:49:43 +00:00
Joshy
7d616b77c6
Some fixes about native window handle which does not match THANDLE in all platforms, specially Linux64.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1433 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-01-08 22:34:22 +00:00
Joshy
dcd6bf64fd
Win64 fixes up to FireFox 3.6 (tested on Vista/64)
...
Fixed a bug in parsing dependentlibs.list when edited and saved in Windows.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1425 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-01-05 21:26:06 +00:00
Joshy
e9da76ca95
windres does not like filenames with a dash.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1422 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-01-02 23:06:30 +00:00
Joshy
3327a1bf59
Added a missing "Classes" unit in the uses clause.
...
Added parsing of environment "MOZILLA_FIVE_HOME" under Windows.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1421 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-01-02 23:03:07 +00:00
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