fixes bug 239038 "rev IIDs for all interfaces modified since Mozilla 1.6" r=bsmedberg sr=jst

This commit is contained in:
darin%meer.net 2004-04-15 23:30:05 +00:00
Родитель 7433766451
Коммит 25d84ac621
28 изменённых файлов: 40 добавлений и 180 удалений

Просмотреть файл

@ -47,7 +47,7 @@ interface nsIArray;
interface nsIRDFResource;
interface nsITransactionManager;
[scriptable, uuid(a82e9300-e4af-11d2-8fdf-0008c70adc7b)]
[scriptable, uuid(bd03e58b-61b6-4f85-ad61-33f6a05e29ce)]
interface nsIBookmarksService : nsISupports
{
const unsigned long BOOKMARK_DEFAULT_TYPE = 0;

Просмотреть файл

@ -53,9 +53,9 @@ class nsICSSLoader;
class nsIContent;
class nsIDOMHTMLBodyElement;
/* b2a848b0-d0a9-11d1-89b1-006008911b81 */
/* 30dc35c0-75b5-4e96-a828-54470ce86726 */
#define NS_IHTMLDOCUMENT_IID \
{0xb2a848b0, 0xd0a9, 0x11d1, {0x89, 0xb1, 0x00, 0x60, 0x08, 0x91, 0x1b, 0x81}}
{0x30dc35c0, 0x75b5, 0x4e96, {0xa8, 0x28, 0x54, 0x47, 0x0c, 0xe8, 0x67, 0x26}}
/**

Просмотреть файл

@ -55,9 +55,9 @@ class nsIUnicharInputStream;
class nsICSSLoaderObserver;
class nsISupportsArray;
// IID for the nsIStyleSheetLoader interface {a6cf9101-15b3-11d2-932e-00805f8add32}
// IID for the nsICSSLoader interface {a6e82061-46c9-4af6-8fd3-97ec5a7ba649}
#define NS_ICSS_LOADER_IID \
{0xa6cf9101, 0x15b3, 0x11d2, {0x93, 0x2e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32}}
{0xa6e82061, 0x46c9, 0x4af6, {0x8f, 0xd3, 0x97, 0xec, 0x5a, 0x7b, 0xa6, 0x49}}
typedef void (*nsCSSLoaderCallbackFunc)(nsICSSStyleSheet* aSheet, void *aData, PRBool aDidNotify);

Просмотреть файл

@ -180,9 +180,9 @@ struct nsCSSSelectorList {
nsCSSSelectorList* mNext;
};
// IID for the nsICSSStyleRule interface {7c277af0-af19-11d1-8031-006008159b5a}
// IID for the nsICSSStyleRule interface {00803ccc-66e8-4ec8-a037-45e901bb5304}
#define NS_ICSS_STYLE_RULE_IID \
{0x7c277af0, 0xaf19, 0x11d1, {0x80, 0x31, 0x00, 0x60, 0x08, 0x15, 0x9b, 0x5a}}
{0x00803ccc, 0x66e8, 0x4ec8, {0xa0, 0x37, 0x45, 0xe9, 0x01, 0xbb, 0x53, 0x04}}
class nsICSSStyleRule : public nsICSSRule {
public:

Просмотреть файл

@ -13,7 +13,7 @@ struct nsRect;
[ptr] native nsIDeviceContextPtr(nsIDeviceContext);
[ref] native nsRectRef(nsRect);
[scriptable, uuid(a6cf9056-15b3-11d2-932e-00805f8add32)]
[scriptable, uuid(70b8f22d-135c-4c94-8044-1bd3238d0990)]
interface nsIContentViewer : nsISupports
{

Просмотреть файл

@ -48,9 +48,9 @@
*
*/
#define NS_IDOMLOADLISTENER_IID \
{ /* f2b05200-ded5-11d1-bd85-00805f8ae3f4 */ \
0xf2b05200, 0xded5, 0x11d1, \
{0xbd, 0x85, 0x00, 0x80, 0x5f, 0x8a, 0xe3, 0xf4} }
{ /* d1810238-14f8-4cab-9b96-96bedb9de7be */ \
0xd1810238, 0x14f8, 0x4cab, \
{0x9b, 0x96, 0x96, 0xbe, 0xdb, 0x9d, 0xe7, 0xbe} }
class nsIDOMLoadListener : public nsIDOMEventListener {

Просмотреть файл

@ -39,7 +39,7 @@
#include "domstubs.idl"
[scriptable, uuid(876d6f96-2420-4f78-bc17-00b1a2ec12ba)]
[scriptable, uuid(934f7c7f-76cc-4246-a926-4e2b1b545f67)]
interface nsIDOMChromeWindow : nsISupports
{
const unsigned short STATE_MAXIMIZED = 1;

Просмотреть файл

@ -39,7 +39,7 @@
#include "domstubs.idl"
[scriptable, uuid(f45efbe0-1d52-11d4-8a7c-006008c844c3)]
[scriptable, uuid(33276f5d-3499-4ab9-acea-d85a9fceeccd)]
interface nsIDOMCrypto : nsISupports
{
readonly attribute DOMString version;

Просмотреть файл

@ -410,7 +410,7 @@ interface nsIDOMCSS2Properties : nsISupports
// raises(DOMException) on setting
};
[scriptable, uuid(88354c1a-d623-44a9-a894-4ee01ba29615)]
[scriptable, uuid(6e80997d-98ae-47c1-95df-90a8fd9f0c0a)]
interface nsIDOMNSCSS2Properties : nsIDOMCSS2Properties
{
/* Non-DOM 2 extensions */

Просмотреть файл

@ -44,7 +44,7 @@ interface nsIURI;
* posted when a popup window is blocked.
*/
[scriptable, uuid(FADC9149-9267-4b41-B4CB-1F76446D7629)]
[scriptable, uuid(9e201104-78e9-4cb3-aff5-7f0a9cf446c0)]
interface nsIDOMPopupBlockedEvent : nsIDOMEvent
{
readonly attribute nsIURI requestingWindowURI;

Просмотреть файл

@ -40,7 +40,7 @@
#include "domstubs.idl"
[scriptable, uuid(6fd344d0-7e5f-11d2-bd91-00805f8ae3f4)]
[scriptable, uuid(c914d7a4-63b3-4d40-943f-91a3c7ab0d4d)]
interface nsIDOMNSHTMLButtonElement : nsISupports
{
void blur();

Просмотреть файл

@ -54,9 +54,9 @@ class nsIAtom;
typedef void (*nsScriptTerminationFunc)(nsISupports* aRef);
#define NS_ISCRIPTCONTEXT_IID \
{ /* 8f6bca7d-ce42-11d1-b724-00600891d8c9 */ \
0x8f6bca7d, 0xce42, 0x11d1, \
{0xb7, 0x24, 0x00, 0x60, 0x08, 0x91, 0xd8, 0xc9} }
{ /* b3fd8821-b46d-4160-913f-cc8fe8176f5f */ \
0xb3fd8821, 0xb46d, 0x4160, \
{0x91, 0x3f, 0xcc, 0x8f, 0xe8, 0x17, 0x6f, 0x5f} }
/**
* It is used by the application to initialize a runtime and run scripts.

Просмотреть файл

@ -45,7 +45,7 @@
interface nsIEditor;
interface nsIEditingShell;
[scriptable, uuid(D3B0AA04-F221-11D4-A73C-EAA4BAA8B4FC)]
[scriptable, uuid(d39fd2b4-3978-45d2-a4be-ba448171b61b)]
interface nsIEditingSession : nsISupports
{

Просмотреть файл

@ -43,7 +43,7 @@
interface nsIDOMWindow;
interface nsICookie;
[scriptable, uuid(CE002B28-92B7-4701-8621-CC925866FB87)]
[scriptable, uuid(72f8bb14-2810-4f38-8d0d-290c5401f54e)]
interface nsICookiePromptService : nsISupports
{
const PRUint32 DENY_COOKIE = 0;

Просмотреть файл

@ -48,7 +48,7 @@ interface nsIDOMNode;
* or any DOM subtree.
*/
[scriptable, uuid(a6cf9123-15b3-11d2-932e-00805f8add32)]
[scriptable, uuid(9fd4ba15-e67c-4c98-b52c-7715f62c9196)]
interface nsIDOMSerializer : nsISupports
{
/**

Просмотреть файл

@ -79,7 +79,7 @@ interface nsIVariant;
* The 'onload' and 'onerror' attributes moved to nsIJSXMLHttRequest,
* but if you're coding in C++ you should avoid using those.
*/
[scriptable, uuid(b7215e70-4157-11d4-9a42-000064657374)]
[scriptable, uuid(7b3b3c62-9d53-4abc-bc89-c33ce78f439f)]
interface nsIXMLHttpRequest : nsISupports
{
/**

Просмотреть файл

@ -1,141 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is Golden Hills Computer Services code.
*
* The Initial Developer of the Original Code is Brian Stell.
* Portions created by the Initial Developer are Copyright (C) 2002
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Brian Stell <bstell@ix.netcom.com>
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#include "nsISupports.idl"
%{C++
#include <ft2build.h>
#include FT_FREETYPE_H
#include FT_CACHE_H
#include FT_CACHE_IMAGE_H
#include FT_OUTLINE_H
#include FT_TRUETYPE_TABLES_H
#define NS_FREETYPE2_CONTRACTID "@mozilla.org/freetype2;1"
#define NS_FREETYPE2_CID NS_IFREETYPE2_IID
// macros to handle FreeType2 26.6 numbers (26 bit number with 6 bit fraction)
#define FT_REG_TO_16_16(x) ((x)<<16)
#ifndef FT_MulFix
#define FT_MulFix(v, s) (((v)*(s))>>16)
#endif
#define FT_ROUND(x) (((x) + 32) & ~63) // 63 = 2^6 - 1
#define FT_TRUNC(x) ((x) >> 6)
#define FT_DESIGN_UNITS_TO_PIXELS(v, s) FT_TRUNC(FT_ROUND(FT_MulFix((v) , (s))))
%}
[ptr] native constCharPtr(const char);
native FT_Int(FT_Int);
native FT_Long(FT_Long);
native FT_UInt(FT_UInt);
native FT_ULong(FT_ULong);
native FT_BBox(FT_BBox);
native FT_CharMap(FT_CharMap);
native FT_Error(FT_Error);
native FT_Face(FT_Face);
native FT_Glyph(FT_Glyph);
native FT_GlyphSlot(FT_GlyphSlot);
native FT_Library(FT_Library);
[ptr] native FT_Outline_p(FT_Outline);
[ptr] native const_FT_Outline_Funcs_p(const FT_Outline_Funcs);
native FT_Pointer(FT_Pointer);
native FT_Sfnt_Tag(FT_Sfnt_Tag);
native FT_Size(FT_Size);
[ptr] native FTC_Image_Desc_p(FTC_Image_Desc);
native FTC_Face_Requester(FTC_Face_Requester);
native FTC_Font(FTC_Font);
native FTC_Image_Cache(FTC_Image_Cache);
native FTC_Manager(FTC_Manager);
// #ifdef MOZ_SVG
[ptr] native FT_Matrix_p(FT_Matrix);
native FT_Vector(FT_Vector);
[ptr] native FT_Vector_p(FT_Vector);
native FT_Render_Mode(FT_Render_Mode);
native FT_Bool(FT_Bool);
// #endif
/*
* A XPCOM interface to the run-time loaded functions
*/
[uuid(606eac78-16d4-486a-9f0e-f180aebd449b)]
interface nsIFreeType2 : nsISupports
{
readonly attribute FT_Library library;
readonly attribute FTC_Manager FTCacheManager;
readonly attribute FTC_Image_Cache ImageCache;
void doneFace(in FT_Face face);
void doneFreeType(in FT_Library lib);
void doneGlyph(in FT_Glyph glyph);
FT_UInt getCharIndex(in FT_Face face, in FT_ULong charcode);
void getGlyph(in FT_GlyphSlot slot, out FT_Glyph glyph);
voidPtr getSfntTable(in FT_Face face, in FT_Sfnt_Tag tag);
void glyphGetCBox(in FT_Glyph glyph, in FT_UInt mode, out FT_BBox box);
void initFreeType(out FT_Library lib);
void loadGlyph(in FT_Face face, in FT_UInt gindex, in FT_Int flags);
void newFace(in FT_Library lib, in constCharPtr filename,
in FT_Long face_num, out FT_Face face);
void outlineDecompose(in FT_Outline_p outline,
in const_FT_Outline_Funcs_p funcs, in voidPtr p);
void setCharmap(in FT_Face face, in FT_CharMap charmap);
void imageCacheLookup(in FTC_Image_Cache cache, in FTC_Image_Desc_p desc,
in FT_UInt gindex, out FT_Glyph glyph);
void managerLookupSize(in FTC_Manager manager, in FTC_Font font,
out FT_Face face, out FT_Size size);
void managerDone(in FTC_Manager manager);
void managerNew(in FT_Library lib, in FT_UInt max_faces,
in FT_UInt max_sizes, in FT_ULong max_bytes,
in FTC_Face_Requester requester, in FT_Pointer req_data,
out FTC_Manager manager);
void imageCacheNew(in FTC_Manager manager, out FTC_Image_Cache cache);
/* #ifdef MOZ_SVG */
void glyphTransform(in FT_Glyph glyph, in FT_Matrix_p matrix,
in FT_Vector_p delta);
void getKerning(in FT_Face face, in FT_UInt left_glyph, in FT_UInt right_glyph,
in FT_UInt kern_mode, out FT_Vector akerning);
void glyphCopy(in FT_Glyph source, out FT_Glyph target);
void glyphToBitmap(inout FT_Glyph the_glyph, in FT_Render_Mode render_mode,
in FT_Vector_p origin, in FT_Bool destroy);
/* #endif */
FT_ULong getFirstChar(in FT_Face face, out FT_UInt gindex);
FT_ULong getNextChar(in FT_Face face, in FT_ULong charcode, out FT_UInt gindex);
void supportsExtFunc(out PRBool res);
};

Просмотреть файл

@ -48,13 +48,14 @@
#include "nsIElementObserver.h"
#define NS_PARSER_CONTRACTID_PREFIX "@mozilla.org/parser"
#define NS_IPARSERSERVICE_IID \
{ 0xa6cf9111, 0x15b3, 0x11d2, \
{ 0x93, 0x2e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32 } }
// {90a92e37-abd6-441b-9b39-4064d98e1ede}
#define NS_IPARSERSERVICE_IID \
{ 0x90a92e37, 0xabd6, 0x441b, { 0x9b, 0x39, 0x40, 0x64, 0xd9, 0x8e, 0x1e, 0xde } };
// {78081E70-AD53-11d5-8498-0010A4E0C706}
#define NS_IOBSERVERENTRY_IID \
{ 0x78081e70, 0xad53, 0x11d5, { 0x84, 0x98, 0x0, 0x10, 0xa4, 0xe0, 0xc7, 0x6 } };
{ 0x78081e70, 0xad53, 0x11d5, { 0x84, 0x98, 0x00, 0x10, 0xa4, 0xe0, 0xc7, 0x06 } };
class nsIObserverEntry : public nsISupports {

Просмотреть файл

@ -55,9 +55,9 @@ class nsIUnicharInputStream;
class nsICSSLoaderObserver;
class nsISupportsArray;
// IID for the nsIStyleSheetLoader interface {a6cf9101-15b3-11d2-932e-00805f8add32}
// IID for the nsICSSLoader interface {a6e82061-46c9-4af6-8fd3-97ec5a7ba649}
#define NS_ICSS_LOADER_IID \
{0xa6cf9101, 0x15b3, 0x11d2, {0x93, 0x2e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32}}
{0xa6e82061, 0x46c9, 0x4af6, {0x8f, 0xd3, 0x97, 0xec, 0x5a, 0x7b, 0xa6, 0x49}}
typedef void (*nsCSSLoaderCallbackFunc)(nsICSSStyleSheet* aSheet, void *aData, PRBool aDidNotify);

Просмотреть файл

@ -180,9 +180,9 @@ struct nsCSSSelectorList {
nsCSSSelectorList* mNext;
};
// IID for the nsICSSStyleRule interface {7c277af0-af19-11d1-8031-006008159b5a}
// IID for the nsICSSStyleRule interface {00803ccc-66e8-4ec8-a037-45e901bb5304}
#define NS_ICSS_STYLE_RULE_IID \
{0x7c277af0, 0xaf19, 0x11d1, {0x80, 0x31, 0x00, 0x60, 0x08, 0x15, 0x9b, 0x5a}}
{0x00803ccc, 0x66e8, 0x4ec8, {0xa0, 0x37, 0x45, 0xe9, 0x01, 0xbb, 0x53, 0x04}}
class nsICSSStyleRule : public nsICSSRule {
public:

Просмотреть файл

@ -47,7 +47,7 @@ interface nsIDOMWindowInternal;
interface nsITransactionManager;
interface nsIMsgMessageService;
[scriptable, uuid(4f7966d0-c14f-11d2-b7f2-00805f05ffa5)]
[scriptable, uuid(74028422-7d28-4624-8fff-f8ec4288332a)]
interface nsIMessenger : nsISupports {
const long eUnknown = 0;

Просмотреть файл

@ -55,7 +55,7 @@ interface nsISubscribeListener : nsISupports {
void OnDonePopulating();
};
[scriptable, uuid(6f9d2e82-1dd2-11b2-bbed-bbea41ca33a7)]
[scriptable, uuid(ce251379-dbcc-4dfd-9085-363b7b0b0af0)]
interface nsISubscribableServer : nsISupports {
attribute nsISubscribeListener subscribeListener;
attribute char delimiter;

Просмотреть файл

@ -37,7 +37,7 @@
#include "nsISupports.idl"
[scriptable, uuid(5FB62950-9A0B-41b4-8D11-F6888DFF835E)]
[scriptable, uuid(3f92b7c0-8679-4dc6-9af9-9da5546db5b0)]
interface nsIMsgAttachment : nsISupports {
/**

Просмотреть файл

@ -125,7 +125,7 @@ interface nsIMsgComposeRecyclingListener : nsISupports {
};
[scriptable, uuid(4E606270-B588-11D2-8289-00805F2A0107)]
[scriptable, uuid(6ed82ccd-21a3-4ee5-83b0-8d39e0d65a83)]
interface nsIMsgCompose : nsISupports {
/* ... */

Просмотреть файл

@ -105,7 +105,7 @@ interface nsMsgDBCommitType
[ref] native nsMsgKeyArrayRef(nsMsgKeyArray);
[ptr] native nsMsgKeyArrayPtr(nsMsgKeyArray);
[scriptable, uuid(9188bc83-f92e-11d2-81ef-0060083a0bcf)]
[scriptable, uuid(f667dcb8-5aae-4e71-8559-2a48d7e508cd)]
interface nsIMsgDatabase : nsIDBChangeAnnouncer {
nsIMsgDatabase Open(in nsIFileSpec aFolderName, in boolean aCreate, in boolean aUpgrading);

Просмотреть файл

@ -44,7 +44,7 @@
interface nsIFile;
[scriptable, uuid(F22CD1A0-3709-11d6-A63A-0010A401EB10)]
[scriptable, uuid(dc2ff152-85cb-474e-b4c2-86a3d48cf4d0)]
interface nsIPasswordManagerInternal : nsISupports
{

Просмотреть файл

@ -1,7 +1,7 @@
#include "nsIFile.idl"
#include "nsISupports.idl"
[scriptable, uuid(3ed86dbe-d084-11d4-ba7a-00c04fa0d26b)]
[scriptable, uuid(9da0b650-d07e-4617-a18a-250035572ac8)]
interface nsIProcess : nsISupports
{

Просмотреть файл

@ -48,7 +48,7 @@ interface nsIDownload;
interface nsIWebBrowserPersist;
interface nsIMIMEInfo;
[scriptable, uuid(9be66cc0-1dd1-11b2-8617-e3a3ed26e3b0)]
[scriptable, uuid(f31722c5-4a33-440b-9c7c-3c4ac0c6c723)]
interface nsIDownloadManager : nsISupports {
// Methods called by clients to carry out various managing functions