Commit Graph

74 Commits

Author SHA1 Message Date
loesje_
1fe5f8e4a4 * Fixed component compilation on Windows
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2634 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2013-01-21 18:11:54 +00:00
loesje_
a7c7a1f7a5 * Do not compile nsProfile on Windows. It does not compile and is not used anyway
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2630 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2013-01-18 15:46:54 +00:00
loesje_
40ac6954ef * Replaced prBool with LongBool
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2629 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2013-01-18 15:45:35 +00:00
loesje_
1af94d0364 * Replaced prBool with LongBool
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2628 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2013-01-18 14:43:13 +00:00
loesje_
1d62d1e9f3 * Added bindings for Gecko 11, but they are not used by default due to gecko-bug 720682
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2364 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2012-03-20 09:50:09 +00:00
loesje_
3b25f366e0 * Added inc header-files for all gecko-9 idl files that are different to gecko-10
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2363 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2012-03-19 17:05:55 +00:00
loesje_
8736529541 * fpmake.pp updated
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2362 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2012-03-19 16:44:18 +00:00
loesje_
da827f2654 * Reverted 2358. There is a difference between the fpmake-Lazarus package and the original one.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2361 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2012-03-19 15:56:58 +00:00
loesje_
640b9b63f4 * Lazarus fpmake-package-file updated.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2360 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2012-03-19 15:54:23 +00:00
loesje_
189313c236 * Added error message with the hint to specify the libxpcom-filename when xulrunner failed to load
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2359 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2012-03-19 15:45:09 +00:00
loesje_
ac9a9208db * Lazarus package-file updated.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2358 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2012-03-19 15:44:13 +00:00
loesje_
9c2b80b5c4 * Re-generated .inc files with new version from the idlparser.
* Some string-types are now not returned as function result but as parameter. Solves several string issues.

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2357 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2012-03-19 14:43:54 +00:00
loesje_
3d88234802 * Updated GBrowser example
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2353 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2012-03-19 13:33:52 +00:00
loesje_
625a4e0e99 * Begin of version 2 of the geckoport package
In this new version the gecko-interfaces are generated directly from the
   idl-files of the gecko-sdk using the idlparser utility. The generated 
   include files are kept as closely to the original as possible. For now
   by defaule Gecko 9 is used, as Gecko 10 has a bug which makes it
   impossible to embed it on Linux systems.



git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2349 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2012-03-17 10:50:10 +00:00
loesje_
50aaeec1c9 * Added version2 branch of Geckoport, branched from version 1
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2348 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2012-03-16 11:32:18 +00:00
loesje_
35a067e943 * Moved current geckoport version to version1 branch
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2347 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2012-03-16 11:27:43 +00:00
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