ReactOS.org
Sign In
Sign Up
Sign In
Sign Up
Manage this list
×
Keyboard Shortcuts
Thread View
j
: Next unread message
k
: Previous unread message
j a
: Jump to all threads
j l
: Jump to MailingList overview
2024
December
November
October
September
August
July
June
May
April
March
February
January
2023
December
November
October
September
August
July
June
May
April
March
February
January
2022
December
November
October
September
August
July
June
May
April
March
February
January
2021
December
November
October
September
August
July
June
May
April
March
February
January
2020
December
November
October
September
August
July
June
May
April
March
February
January
2019
December
November
October
September
August
July
June
May
April
March
February
January
2018
December
November
October
September
August
July
June
May
April
March
February
January
2017
December
November
October
September
August
July
June
May
April
March
February
January
2016
December
November
October
September
August
July
June
May
April
March
February
January
2015
December
November
October
September
August
July
June
May
April
March
February
January
2014
December
November
October
September
August
July
June
May
April
March
February
January
2013
December
November
October
September
August
July
June
May
April
March
February
January
2012
December
November
October
September
August
July
June
May
April
March
February
January
2011
December
November
October
September
August
July
June
May
April
March
February
January
2010
December
November
October
September
August
July
June
May
April
March
February
January
2009
December
November
October
September
August
July
June
May
April
March
February
January
2008
December
November
October
September
August
July
June
May
April
March
February
January
2007
December
November
October
September
August
July
June
May
April
March
February
January
2006
December
November
October
September
August
July
June
May
April
March
February
January
2005
December
November
October
September
August
July
June
May
April
March
February
January
2004
December
November
October
September
August
July
June
May
April
March
February
List overview
Download
Ros-diffs
February 2011
----- 2024 -----
December 2024
November 2024
October 2024
September 2024
August 2024
July 2024
June 2024
May 2024
April 2024
March 2024
February 2024
January 2024
----- 2023 -----
December 2023
November 2023
October 2023
September 2023
August 2023
July 2023
June 2023
May 2023
April 2023
March 2023
February 2023
January 2023
----- 2022 -----
December 2022
November 2022
October 2022
September 2022
August 2022
July 2022
June 2022
May 2022
April 2022
March 2022
February 2022
January 2022
----- 2021 -----
December 2021
November 2021
October 2021
September 2021
August 2021
July 2021
June 2021
May 2021
April 2021
March 2021
February 2021
January 2021
----- 2020 -----
December 2020
November 2020
October 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
----- 2019 -----
December 2019
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
----- 2018 -----
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
March 2018
February 2018
January 2018
----- 2017 -----
December 2017
November 2017
October 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
March 2017
February 2017
January 2017
----- 2016 -----
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
----- 2015 -----
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
----- 2014 -----
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
----- 2013 -----
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
----- 2012 -----
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
----- 2011 -----
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
----- 2010 -----
December 2010
November 2010
October 2010
September 2010
August 2010
July 2010
June 2010
May 2010
April 2010
March 2010
February 2010
January 2010
----- 2009 -----
December 2009
November 2009
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
----- 2008 -----
December 2008
November 2008
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008
----- 2007 -----
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007
----- 2006 -----
December 2006
November 2006
October 2006
September 2006
August 2006
July 2006
June 2006
May 2006
April 2006
March 2006
February 2006
January 2006
----- 2005 -----
December 2005
November 2005
October 2005
September 2005
August 2005
July 2005
June 2005
May 2005
April 2005
March 2005
February 2005
January 2005
----- 2004 -----
December 2004
November 2004
October 2004
September 2004
August 2004
July 2004
June 2004
May 2004
April 2004
March 2004
February 2004
ros-diffs@reactos.org
18 participants
352 discussions
Start a n
N
ew thread
[gadamopoulos] 50706: [oskittcp] -Fix compilation with msc
by gadamopoulos@svn.reactos.org
Author: gadamopoulos Date: Tue Feb 15 15:54:42 2011 New Revision: 50706 URL:
http://svn.reactos.org/svn/reactos?rev=50706&view=rev
Log: [oskittcp] -Fix compilation with msc Modified: branches/cmake-bringup/lib/drivers/oskittcp/oskittcp/defaults.c branches/cmake-bringup/lib/drivers/oskittcp/oskittcp/interface.c Modified: branches/cmake-bringup/lib/drivers/oskittcp/oskittcp/defaults.c URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/lib/drivers/oskit…
============================================================================== --- branches/cmake-bringup/lib/drivers/oskittcp/oskittcp/defaults.c [iso-8859-1] (original) +++ branches/cmake-bringup/lib/drivers/oskittcp/oskittcp/defaults.c [iso-8859-1] Tue Feb 15 15:54:42 2011 @@ -194,7 +194,11 @@ return RtlCompareMemory(b1, b2, len); } +#ifndef _MSC_VER + int memcmp(const void *b1, const void *b2, size_t len) { return RtlCompareMemory(b1, b2, len); } + +#endif Modified: branches/cmake-bringup/lib/drivers/oskittcp/oskittcp/interface.c URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/lib/drivers/oskit…
============================================================================== --- branches/cmake-bringup/lib/drivers/oskittcp/oskittcp/interface.c [iso-8859-1] (original) +++ branches/cmake-bringup/lib/drivers/oskittcp/oskittcp/interface.c [iso-8859-1] Tue Feb 15 15:54:42 2011 @@ -129,9 +129,10 @@ int proto ) { struct socket *so; - - OSKLock(); - int error = socreate(domain, &so, type, proto); + int error ; + + OSKLock(); + error = socreate(domain, &so, type, proto); if( !error ) { so->so_connection = context; InitializeSocketFlags(so);
13 years, 10 months
1
0
0
0
[janderwald] 50705: - Missed that fix - Really fixes mstask compilation ; )
by janderwald@svn.reactos.org
Author: janderwald Date: Tue Feb 15 15:29:09 2011 New Revision: 50705 URL:
http://svn.reactos.org/svn/reactos?rev=50705&view=rev
Log: - Missed that fix - Really fixes mstask compilation ;) Modified: branches/cmake-bringup/dll/win32/mstask/CMakeLists.txt Modified: branches/cmake-bringup/dll/win32/mstask/CMakeLists.txt URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/mstask/…
============================================================================== --- branches/cmake-bringup/dll/win32/mstask/CMakeLists.txt [iso-8859-1] (original) +++ branches/cmake-bringup/dll/win32/mstask/CMakeLists.txt [iso-8859-1] Tue Feb 15 15:29:09 2011 @@ -8,6 +8,7 @@ add_definitions(-D_WIN32_WINNT=0x600) include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine) +include_directories(${REACTOS_BINARY_DIR}/include/psdk) generate_idl_iids(mstask_local.idl)
13 years, 10 months
1
0
0
0
[tkreuzer] 50704: [CMAKE] Temporarily don't compile mshtl on msvc. simply to see how many errors are left.
by tkreuzer@svn.reactos.org
Author: tkreuzer Date: Tue Feb 15 15:26:01 2011 New Revision: 50704 URL:
http://svn.reactos.org/svn/reactos?rev=50704&view=rev
Log: [CMAKE] Temporarily don't compile mshtl on msvc. simply to see how many errors are left. Modified: branches/cmake-bringup/dll/win32/CMakeLists.txt Modified: branches/cmake-bringup/dll/win32/CMakeLists.txt URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/CMakeLi…
============================================================================== --- branches/cmake-bringup/dll/win32/CMakeLists.txt [iso-8859-1] (original) +++ branches/cmake-bringup/dll/win32/CMakeLists.txt [iso-8859-1] Tue Feb 15 15:26:01 2011 @@ -89,8 +89,10 @@ add_subdirectory(msg711.acm) add_subdirectory(msgina) add_subdirectory(msgsm32.acm) +if(NOT MSVC) add_subdirectory(mshtml) add_subdirectory(mshtml.tlb) +endif() add_subdirectory(msi) add_subdirectory(msimg32) add_subdirectory(msimtf)
13 years, 10 months
1
0
0
0
[janderwald] 50703: - Fix compilation of mstask
by janderwald@svn.reactos.org
Author: janderwald Date: Tue Feb 15 15:11:46 2011 New Revision: 50703 URL:
http://svn.reactos.org/svn/reactos?rev=50703&view=rev
Log: - Fix compilation of mstask Modified: branches/cmake-bringup/include/psdk/mstask.idl Modified: branches/cmake-bringup/include/psdk/mstask.idl URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/include/psdk/msta…
============================================================================== --- branches/cmake-bringup/include/psdk/mstask.idl [iso-8859-1] (original) +++ branches/cmake-bringup/include/psdk/mstask.idl [iso-8859-1] Tue Feb 15 15:11:46 2011 @@ -58,6 +58,11 @@ cpp_quote("#define TASK_TRIGGER_FLAG_HAS_END_DATE 0x1") cpp_quote("#define TASK_TRIGGER_FLAG_KILL_AT_DURATION_END 0x2") cpp_quote("#define TASK_TRIGGER_FLAG_DISABLED 0x4") + + +cpp_quote("DEFINE_GUID(CLSID_CTaskScheduler, 0x148bd52a, 0xa2ab, 0x11ce, 0xb1,0x1f, 0x00,0xaa,0x00,0x53,0x05,0x03);") +cpp_quote("DEFINE_GUID(CLSID_CTask, 0x148bd520, 0xa2ab, 0x11ce, 0xb1,0x1f, 0x00,0xaa,0x00,0x53,0x05,0x03);") + [ local,
13 years, 10 months
1
0
0
0
[tkreuzer] 50702: [MSHTML] Fix compilation of nsiface.idl with midl. Only pointers to interfaces are allowed in typedefs. Also define nsISupports to IUnknown, because thats what it is and nothing e...
by tkreuzer@svn.reactos.org
Author: tkreuzer Date: Tue Feb 15 13:29:05 2011 New Revision: 50702 URL:
http://svn.reactos.org/svn/reactos?rev=50702&view=rev
Log: [MSHTML] Fix compilation of nsiface.idl with midl. Only pointers to interfaces are allowed in typedefs. Also define nsISupports to IUnknown, because thats what it is and nothing else is allowed. Please someone pass this to wine. Modified: branches/cmake-bringup/dll/win32/mshtml/nsiface.idl Modified: branches/cmake-bringup/dll/win32/mshtml/nsiface.idl URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/mshtml/…
============================================================================== --- branches/cmake-bringup/dll/win32/mshtml/nsiface.idl [iso-8859-1] (original) +++ branches/cmake-bringup/dll/win32/mshtml/nsiface.idl [iso-8859-1] Tue Feb 15 13:29:05 2011 @@ -16,7 +16,7 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ -/* +/* * NOTE: * This file is not a typical idl file. Interfaces in this file are XPCOM * interfaces (NOT MSCOM!), but we generate the header file with WIDL @@ -27,6 +27,7 @@ cpp_quote("#define GECKO_VERSION_STRING \"Wine Gecko \" GECKO_VERSION") import "wtypes.idl"; +import "unknwn.idl"; cpp_quote("#ifdef WINE_NO_UNICODE_MACROS") cpp_quote("#undef GetForm") @@ -93,60 +94,50 @@ interface IMoniker; -[ - object, - uuid(00000000-0000-0000-c000-000000000046), - local -] -interface nsISupports -{ - nsresult QueryInterface(nsIIDRef riid, nsQIResult result); - nsrefcnt AddRef(); - nsrefcnt Release(); -} +#define nsISupports IUnknown /* Currently we don't need a full declaration of these interfaces */ -typedef nsISupports nsISHistory; -typedef nsISupports nsIWidget; -typedef nsISupports nsIHttpHeaderVisitor; -typedef nsISupports nsIDOMBarProp; -typedef nsISupports nsIPrompt; -typedef nsISupports nsIAuthPrompt; -typedef nsISupports nsIDOMNamedNodeMap; -typedef nsISupports nsIDOMAttr; -typedef nsISupports nsIDOMDocumentType; -typedef nsISupports nsIDOMDOMImplementation; -typedef nsISupports nsIDOMCDATASection; -typedef nsISupports nsIDOMProcessingInstruction; -typedef nsISupports nsIDOMEntityReference; -typedef nsISupports nsIWebProgressListener; -typedef nsISupports nsIDOMCSSValue; -typedef nsISupports nsIPrintSession; -typedef nsISupports nsIControllerCommandTable; -typedef nsISupports nsIPrincipal; -typedef nsISupports nsIAtom; -typedef nsISupports nsISupportsArray; -typedef nsISupports nsIContentFilter; -typedef nsISupports nsIDOMMediaList; -typedef nsISupports nsIDOMHTMLTableCaptionElement; -typedef nsISupports nsIDOMHTMLTableSectionElement; -typedef nsISupports nsIDOMClientRectList; -typedef nsISupports nsIDOMLocation; -typedef nsISupports nsIDocument; -typedef nsISupports nsIContent; -typedef nsISupports nsINode; -typedef nsISupports nsIStyleSheet; -typedef nsISupports nsIStyleRule; -typedef nsISupports nsIVariant; -typedef nsISupports nsIDOMUserDataHandler; -typedef nsISupports nsIDocShellLoadInfo; -typedef nsISupports nsISHEntry; -typedef nsISupports nsIPresShell; -typedef nsISupports nsIContentViewer; -typedef nsISupports nsIDocumentCharsetInfo; -typedef nsISupports nsILayoutHistoryState; -typedef nsISupports nsISecureBrowserUI; -typedef nsISupports nsIDOMStorage; +typedef nsISupports *pnsISHistory; +typedef nsISupports *pnsIWidget; +typedef nsISupports *pnsIHttpHeaderVisitor; +typedef nsISupports *pnsIDOMBarProp; +typedef nsISupports *pnsIPrompt; +typedef nsISupports *pnsIAuthPrompt; +typedef nsISupports *pnsIDOMNamedNodeMap; +typedef nsISupports *pnsIDOMAttr; +typedef nsISupports *pnsIDOMDocumentType; +typedef nsISupports *pnsIDOMDOMImplementation; +typedef nsISupports *pnsIDOMCDATASection; +typedef nsISupports *pnsIDOMProcessingInstruction; +typedef nsISupports *pnsIDOMEntityReference; +typedef nsISupports *pnsIWebProgressListener; +typedef nsISupports *pnsIDOMCSSValue; +typedef nsISupports *pnsIPrintSession; +typedef nsISupports *pnsIControllerCommandTable; +typedef nsISupports *pnsIPrincipal; +typedef nsISupports *pnsIAtom; +typedef nsISupports *pnsISupportsArray; +typedef nsISupports *pnsIContentFilter; +typedef nsISupports *pnsIDOMMediaList; +typedef nsISupports *pnsIDOMHTMLTableCaptionElement; +typedef nsISupports *pnsIDOMHTMLTableSectionElement; +typedef nsISupports *pnsIDOMClientRectList; +typedef nsISupports *pnsIDOMLocation; +typedef nsISupports *pnsIDocument; +typedef nsISupports *pnsIContent; +typedef nsISupports *pnsINode; +typedef nsISupports *pnsIStyleSheet; +typedef nsISupports *pnsIStyleRule; +typedef nsISupports *pnsIVariant; +typedef nsISupports *pnsIDOMUserDataHandler; +typedef nsISupports *pnsIDocShellLoadInfo; +typedef nsISupports *pnsISHEntry; +typedef nsISupports *pnsIPresShell; +typedef nsISupports *pnsIContentViewer; +typedef nsISupports *pnsIDocumentCharsetInfo; +typedef nsISupports *pnsILayoutHistoryState; +typedef nsISupports *pnsISecureBrowserUI; +typedef nsISupports *pnsIDOMStorage; [ object, @@ -283,7 +274,7 @@ nsresult Close(); nsresult Available(PRUint32 *_retval); nsresult Read(char *aBuf, PRUint32 aCount, PRUint32 *_retval); - nsresult ReadSegments(nsresult (*aWriter)(nsIInputStream *aInStream, + nsresult ReadSegments(nsresult (*aWriter)(nsIInputStream *aInStream, void *aClosure, const char *aFromSegment, PRUint32 aToOffset, PRUint32 aCount, PRUint32 *aWriteCount), void *aClosure, PRUint32 aCount, PRUint32 *_retval); @@ -391,7 +382,7 @@ uuid(1a637020-1482-11d3-9333-00104ba0fd40), local /* FROZEN */ -] +] interface nsIStreamListener : nsIRequestObserver { nsresult OnDataAvailable(nsIRequest *aRequest, nsISupports *aContext, @@ -458,7 +449,7 @@ nsresult SetReferrer(nsIURI *aReferrer); nsresult GetRequestHeader(const nsACString *aHeader, nsACString *_retval); nsresult SetRequestHeader(const nsACString *aHeader, const nsACString *aValue, PRBool aMerge); - nsresult VisitRequestHeaders(nsIHttpHeaderVisitor *aVisitor); + nsresult VisitRequestHeaders(pnsIHttpHeaderVisitor aVisitor); nsresult GetAllowPipelining(PRBool *aAllowPipelining); nsresult SetAllowPipelining(PRBool aAllowPipelining); nsresult GetRedirectionLimit(PRUint32 *aRedirectionLimit); @@ -468,7 +459,7 @@ nsresult GetRequestSucceeded(PRBool *aRequestSucceeded); nsresult GetResponseHeader(const nsACString *header, nsACString *_retval); nsresult SetResponseHeader(const nsACString *header, const nsACString *value, PRBool merge); - nsresult VisitResponseHeaders(nsIHttpHeaderVisitor *aVisitor); + nsresult VisitResponseHeaders(pnsIHttpHeaderVisitor aVisitor); nsresult IsNoStoreResponse(PRBool *_retval); nsresult IsNoCacheResponse(PRBool *_retval); } @@ -530,7 +521,7 @@ nsresult GetCssText(nsAString *aCssText); nsresult SetCssText(const nsAString *aCssText); nsresult GetPropertyValue(const nsAString *propertyName, nsAString *_retval); - nsresult GetPropertyCSSValue(const nsAString *propertyName, nsIDOMCSSValue **_retval); + nsresult GetPropertyCSSValue(const nsAString *propertyName, pnsIDOMCSSValue *_retval); nsresult RemoveProperty(const nsAString *propertyName, nsAString *_retval); nsresult GetPropertyPriority(const nsAString *propertyName, nsAString *_retval); nsresult SetProperty(const nsAString *propertyName, const nsAString *value, @@ -567,7 +558,7 @@ nsresult GetParentStyleSheet(nsIDOMStyleSheet **aParentStyleSheet); nsresult GetHref(nsAString *aHref); nsresult GetTitle(nsAString *aTitle); - nsresult GetMedia(nsIDOMMediaList **aMedia); + nsresult GetMedia(pnsIDOMMediaList *aMedia); } [ @@ -635,8 +626,8 @@ nsresult LookupNamespaceURI(const nsAString *prefix, nsAString _retval); nsresult IsEqualNode(nsIDOMNode *arg, PRBool *_retval); nsresult GetFeature(const nsAString *feature, const nsAString *version, nsISupports **_retval); - nsresult SetUserData(const nsAString *key, nsIVariant *data, nsIDOMUserDataHandler *handler, nsIVariant **_retval); - nsresult GetUserData(const nsAString *key, nsIVariant **_retval); + nsresult SetUserData(const nsAString *key, pnsIVariant data, pnsIDOMUserDataHandler handler, pnsIVariant *_retval); + nsresult GetUserData(const nsAString *key, pnsIVariant *_retval); } [ @@ -672,7 +663,7 @@ nsresult GetLastChild(nsIDOMNode **aLastChild); nsresult GetPreviousSibling(nsIDOMNode **aPreviousSibling); nsresult GetNextSibling(nsIDOMNode **aNextSibling); - nsresult GetAttributes(nsIDOMNamedNodeMap **aAttributes); + nsresult GetAttributes(pnsIDOMNamedNodeMap *aAttributes); nsresult GetOwnerDocument(nsIDOMDocument **aOwnerDocument); nsresult InsertBefore(nsIDOMNode *newChild, nsIDOMNode *refChild, nsIDOMNode **_retval); nsresult ReplaceChild(nsIDOMNode *newChild, nsIDOMNode *oldChild, nsIDOMNode **_retval); @@ -701,9 +692,9 @@ nsresult GetAttribute(const nsAString *name, nsAString *_retval); nsresult SetAttribute(const nsAString *name, const nsAString *value); nsresult RemoveAttribute(const nsAString *name); - nsresult GetAttributeNode(const nsAString *name, nsIDOMAttr **_retval); - nsresult SetAttributeNode(nsIDOMAttr *newAttr, nsIDOMAttr **_retval); - nsresult RemoveAttributeNode(nsIDOMAttr *oldAttr, nsIDOMAttr **_retval); + nsresult GetAttributeNode(const nsAString *name, pnsIDOMAttr *_retval); + nsresult SetAttributeNode(pnsIDOMAttr newAttr, pnsIDOMAttr *_retval); + nsresult RemoveAttributeNode(pnsIDOMAttr oldAttr, pnsIDOMAttr *_retval); nsresult GetElementsByTagName(const nsAString *name, nsIDOMNodeList **_retval); nsresult GetAttributeNS(const nsAString *namespaceURI, const nsAString *localName, nsAString *_retval); @@ -711,8 +702,8 @@ const nsAString *value); nsresult RemoveAttributeNS(const nsAString *namespaceURI, const nsAString *localName); nsresult GetAttributeNodeNS(const nsAString *namespaceURI, const nsAString *localName, - nsIDOMAttr **_retval); - nsresult SetAttributeNodeNS(nsIDOMAttr *newAttr, nsIDOMAttr **_retval); + pnsIDOMAttr *_retval); + nsresult SetAttributeNodeNS(pnsIDOMAttr newAttr, pnsIDOMAttr *_retval); nsresult GetElementsByTagNameNS(const nsAString *namespaceURI, const nsAString *localName, nsIDOMNodeList **_retval); nsresult HasAttribute(const nsAString *name, PRBool *_retval); @@ -756,7 +747,7 @@ interface nsIDOMNSElement : nsISupports { nsresult GetElementsByClassName(const nsAString *classes, nsIDOMNodeList **_retval); - nsresult GetClientRects(nsIDOMClientRectList **_retval); + nsresult GetClientRects(pnsIDOMClientRectList *_retval); nsresult GetBoundingClientRect(nsIDOMClientRect **_retval); nsresult GetScrollTop(PRInt32 *aScrollTop); nsresult SetScrollTop(PRInt32 aScrollTop); @@ -918,24 +909,24 @@ ] interface nsIDOMDocument : nsIDOMNode { - nsresult GetDoctype(nsIDOMDocumentType **aDoctype); - nsresult GetImplementation(nsIDOMDOMImplementation **aImplementation); + nsresult GetDoctype(pnsIDOMDocumentType *aDoctype); + nsresult GetImplementation(pnsIDOMDOMImplementation *aImplementation); nsresult GetDocumentElement(nsIDOMElement **aDocumentElement); nsresult CreateElement(const nsAString *tagName, nsIDOMElement **_retval); nsresult CreateDocumentFragment(nsIDOMDocumentFragment **_retval); nsresult CreateTextNode(const nsAString *data, nsIDOMText **_retval); nsresult CreateComment(const nsAString *data, nsIDOMComment **_retval); - nsresult CreateCDATASection(const nsAString *data, nsIDOMCDATASection **_retval); + nsresult CreateCDATASection(const nsAString *data, pnsIDOMCDATASection *_retval); nsresult CreateProcessingInstruction(const nsAString *target, const nsAString *data, - nsIDOMProcessingInstruction **_retval); - nsresult CreateAttribute(const nsAString *name, nsIDOMAttr **_retval); - nsresult CreateEntityReference(const nsAString *name, nsIDOMEntityReference **_retval); + pnsIDOMProcessingInstruction *_retval); + nsresult CreateAttribute(const nsAString *name, pnsIDOMAttr *_retval); + nsresult CreateEntityReference(const nsAString *name, pnsIDOMEntityReference *_retval); nsresult GetElementsByTagName(const nsAString *tagname, nsIDOMNodeList **_retval); nsresult ImportNode(nsIDOMNode *importedNode, PRBool deep, nsIDOMNode **_retval); nsresult CreateElementNS(const nsAString *namespaceURI, const nsAString *qualifiedName, nsIDOMElement **_retval); nsresult CreateAttributeNS(const nsAString *namespaceURI, const nsAString *qualifiedName, - nsIDOMAttr **_retval); + pnsIDOMAttr *_retval); nsresult GetElementsByTagNameNS(const nsAString *namespaceURI, const nsAString *localName, nsIDOMNodeList **_retval); nsresult GetElementById(const nsAString *elementId, nsIDOMElement **_retval); @@ -952,7 +943,7 @@ nsresult GetCharacterSet(nsAString *aCharacterSet); nsresult GetDir(nsAString *aDir); nsresult SetDir(const nsAString *aDir); - nsresult GetLocation(nsIDOMLocation **aLocation); + nsresult GetLocation(pnsIDOMLocation *aLocation); nsresult GetTitle(nsAString *aTitle); nsresult SetTitle(const nsAString *aTitle); nsresult GetContentType(nsAString *aContentType); @@ -1197,7 +1188,7 @@ nsresult GetDocument(nsIDOMDocument **aDocument); nsresult GetParent(nsIDOMWindow **aParent); nsresult GetTop(nsIDOMWindow **aTop); - nsresult GetScrollbars(nsIDOMBarProp **aScrollbars); + nsresult GetScrollbars(pnsIDOMBarProp *aScrollbars); nsresult GetFrames(nsIDOMWindowCollection **aFrames); nsresult GetName(nsAString *aName); nsresult SetName(const nsAString *aName); @@ -1515,12 +1506,12 @@ ] interface nsIDOMHTMLTableElement : nsIDOMHTMLElement { - nsresult GetCaption(nsIDOMHTMLTableCaptionElement **aCaption); - nsresult SetCaption(nsIDOMHTMLTableCaptionElement *aCaption); - nsresult GetTHead(nsIDOMHTMLTableSectionElement **aTHead); - nsresult SetTHead(nsIDOMHTMLTableSectionElement *aTHead); - nsresult GetTFoot(nsIDOMHTMLTableSectionElement **aTFoot); - nsresult SetTFoot(nsIDOMHTMLTableSectionElement *aTFoot); + nsresult GetCaption(pnsIDOMHTMLTableCaptionElement *aCaption); + nsresult SetCaption(pnsIDOMHTMLTableCaptionElement aCaption); + nsresult GetTHead(pnsIDOMHTMLTableSectionElement *aTHead); + nsresult SetTHead(pnsIDOMHTMLTableSectionElement aTHead); + nsresult GetTFoot(pnsIDOMHTMLTableSectionElement *aTFoot); + nsresult SetTFoot(pnsIDOMHTMLTableSectionElement aTFoot); nsresult GetRows(nsIDOMHTMLCollection **aRows); nsresult GetTBodies(nsIDOMHTMLCollection **aTBodies); nsresult GetAlign(nsAString *aAlign); @@ -1707,7 +1698,7 @@ ] interface nsIBaseWindow : nsISupports { - nsresult InitWindow(nativeWindow parentNativeWindow, nsIWidget *parentWidget, PRInt32 x, + nsresult InitWindow(nativeWindow parentNativeWindow, pnsIWidget parentWidget, PRInt32 x, PRInt32 y, PRInt32 cx, PRInt32 cy); nsresult Create(); nsresult Destroy(); @@ -1718,8 +1709,8 @@ nsresult SetPositionAndSize(PRInt32 x, PRInt32 y, PRInt32 cx, PRInt32 cy, PRBool fRepaint); nsresult GetPositionAndSize(PRInt32 *x, PRInt32 *y, PRInt32 *cx, PRInt32 *cy); nsresult Repaint(PRBool force); - nsresult GetParentWidget(nsIWidget **aParentWidget); - nsresult SetParentWidget(nsIWidget *aParentWidget); + nsresult GetParentWidget(pnsIWidget *aParentWidget); + nsresult SetParentWidget(pnsIWidget aParentWidget); nsresult GetParentNativeWindow(nativeWindow *aParentNativeWindow); nsresult SetParentNativeWindow(nativeWindow aParentNativeWindow); nsresult GetVisibility(PRBool *aVisibility); @@ -1728,7 +1719,7 @@ nsresult SetEnabled(PRBool aEnabled); nsresult GetBlurSuppression(PRBool *aBlurSuppression); nsresult SetBlurSuppression(PRBool aBlurSuppression); - nsresult GetMainWidget(nsIWidget **aMainWidget); + nsresult GetMainWidget(pnsIWidget *aMainWidget); nsresult SetFocus(); nsresult GetTitle(PRUnichar **aTitle); nsresult SetTitle(const PRUnichar *aTitle); @@ -1757,8 +1748,8 @@ nsresult GetDocument(nsIDOMDocument **aDocument); nsresult GetCurrentURI(nsIURI **aCurrentURI); nsresult GetReferringURI(nsIURI **aReferringURI); - nsresult GetSessionHistory(nsISHistory **aSessionHistory); - nsresult SetSessionHistory(nsISHistory *aSessionHistory); + nsresult GetSessionHistory(pnsISHistory *aSessionHistory); + nsresult SetSessionHistory(pnsISHistory aSessionHistory); } [ @@ -1769,8 +1760,8 @@ ] interface nsIWebProgress : nsISupports { - nsresult AddProgressListener(nsIWebProgressListener *aListener, PRUint32 aNotifyMask); - nsresult RemoveProgressListener(nsIWebProgressListener *aListener); + nsresult AddProgressListener(pnsIWebProgressListener aListener, PRUint32 aNotifyMask); + nsresult RemoveProgressListener(pnsIWebProgressListener aListener); nsresult GetDOMWindow(nsIDOMWindow **aDOMWindow); nsresult GetIsLoadingDocument(PRBool *aIsLoadingDocument); } @@ -1791,8 +1782,8 @@ nsresult GetEffectivePageSize(double *aWidth, double *aHeight); nsresult Clone(nsIPrintSettings **_retval); nsresult Assign(nsIPrintSettings *aPS); - nsresult GetPrintSession(nsIPrintSession **aPrintSession); - nsresult SetPrintSession(nsIPrintSession *aPrintSession); + nsresult GetPrintSession(pnsIPrintSession *aPrintSession); + nsresult SetPrintSession(pnsIPrintSession aPrintSession); nsresult GetStartPageRange(PRInt32 *aStartPageRange); nsresult SetStartPageRange(PRInt32 aStartPageRange); nsresult GetEndPageRange(PRInt32 *aEndPageRange); @@ -1930,9 +1921,9 @@ nsresult GetIsIFrameSelected(PRBool *aIsIFrameSelected); nsresult GetIsRangeSelection(PRBool *aIsRangeSelection); nsresult GetPrintPreviewNumPages(PRInt32 *aPrintPreviewNumPages); - nsresult Print(nsIPrintSettings *aThePrintSettings, nsIWebProgressListener *aWPListener); + nsresult Print(nsIPrintSettings *aThePrintSettings, pnsIWebProgressListener aWPListener); nsresult PrintPreview(nsIPrintSettings *aThePrintSettings, nsIDOMWindow *aChildDOMWin, - nsIWebProgressListener *aWPListener); + pnsIWebProgressListener aWPListener); nsresult PrintPreviewNavigate(PRInt16 aNavType, PRInt32 aPageNum); nsresult Cancel(); nsresult EnumerateDocumentNames(PRUint32 *aCount, PRUnichar ***aResult); @@ -2430,8 +2421,8 @@ nsresult RegisterNotification(nsIObserver *aObserver); nsresult UnregisterNotification(nsIObserver *aObserver); nsresult GetWindowEnumerator(nsISimpleEnumerator **_retval); - nsresult GetNewPrompter(nsIDOMWindow *aParent, nsIPrompt **_retval); - nsresult GetNewAuthPrompter(nsIDOMWindow *aParent, nsIAuthPrompt **_retval); + nsresult GetNewPrompter(nsIDOMWindow *aParent, pnsIPrompt *_retval); + nsresult GetNewAuthPrompter(nsIDOMWindow *aParent, pnsIAuthPrompt *_retval); nsresult SetWindowCreator(nsIWindowCreator *creator); nsresult GetChromeForWindow(nsIDOMWindow *aWindow, nsIWebBrowserChrome **_retval); nsresult GetWindowByName(const PRUnichar *aTargetName, nsIDOMWindow *aCurrentWindow, @@ -2515,7 +2506,7 @@ ] interface nsIControllerContext : nsISupports { - nsresult Init(nsIControllerCommandTable *aCommandTable); + nsresult Init(pnsIControllerCommandTable aCommandTable); nsresult SetCommandContext(nsISupports *aCommandContext); } @@ -2544,13 +2535,13 @@ nsresult Init(PRUint32 flags, PRUint32 aWrapColumn, const char* aCharSet, PRBool aIsCopying, PRBool aIsWholeDocument); nsresult AppendText(nsIDOMText *aText, PRInt32 aStartOffset, PRInt32 aEndOffset, nsAString *aStr); - nsresult AppendCDATASection(nsIDOMCDATASection *aCDATASection, PRInt32 aStartOffset, + nsresult AppendCDATASection(pnsIDOMCDATASection aCDATASection, PRInt32 aStartOffset, PRInt32 aEndOffset, nsAString *aStr); - nsresult AppendProcessingInstruction(nsIDOMProcessingInstruction* aPI, PRInt32 aStartOffset, + nsresult AppendProcessingInstruction(pnsIDOMProcessingInstruction aPI, PRInt32 aStartOffset, PRInt32 aEndOffset, nsAString *aStr); nsresult AppendComment(nsIDOMComment *aComment, PRInt32 aStartOffset, PRInt32 aEndOffset, nsAString *aStr); - nsresult AppendDoctype(nsIDOMDocumentType *aDoctype, nsAString *aStr); + nsresult AppendDoctype(pnsIDOMDocumentType aDoctype, nsAString *aStr); nsresult AppendElementStart(nsIDOMElement *aElement, nsIDOMElement *aOriginalElement, nsAString *aStr); nsresult AppendElementEnd(nsIDOMElement *aElement, nsAString *aStr); @@ -2601,7 +2592,7 @@ nsresult CanRedo([out] PRBool *isEnabled, [out] PRBool *canRedo); nsresult BeginTransaction(); nsresult EndTransaction(); - nsresult BeginPlaceHolderTransaction([in] nsIAtom *name); + nsresult BeginPlaceHolderTransaction([in] pnsIAtom name); nsresult EndPlaceHolderTransaction(); nsresult ShouldTxnSetSelection([out] PRBool *_retval); nsresult SetShouldTxnSetSelection([in] PRBool should); @@ -2654,15 +2645,15 @@ ] interface nsIHTMLEditor : nsISupports { - nsresult AddDefaultProperty([in] nsIAtom *aProperty, [in] nsAString *aAttribute, [in] nsAString *aValue); - nsresult RemoveDefaultProperty([in] nsIAtom *aProperty, [in] nsAString *aAttribute, [in] nsAString *aValue); + nsresult AddDefaultProperty([in] pnsIAtom aProperty, [in] nsAString *aAttribute, [in] nsAString *aValue); + nsresult RemoveDefaultProperty([in] pnsIAtom aProperty, [in] nsAString *aAttribute, [in] nsAString *aValue); nsresult RemoveAllDefaultProperties(); - nsresult SetCSSInlineProperty([in] nsIAtom *aProperty, [in] nsAString *aAttribute, [in] nsAString *aValue); - nsresult SetInlineProperty([in] nsIAtom *aProperty, [in] nsAString *aAttribute, [in] nsAString *aValue); - nsresult GetInlineProperty([in] nsIAtom *aProperty, [in] nsAString *aAttribute, [in] nsAString *aValue, [out] PRBool *aFirst, [out] PRBool *aAny, [out] PRBool *aAll); - nsresult GetInlinePropertyWithAttrValue([in] nsIAtom *aProperty, [in] nsAString *aAttribute, [in] nsAString *aValue, [out] PRBool *aFirst, [out] PRBool *aAny, [out] PRBool *aAll, [out] nsAString *_retval); + nsresult SetCSSInlineProperty([in] pnsIAtom aProperty, [in] nsAString *aAttribute, [in] nsAString *aValue); + nsresult SetInlineProperty([in] pnsIAtom aProperty, [in] nsAString *aAttribute, [in] nsAString *aValue); + nsresult GetInlineProperty([in] pnsIAtom aProperty, [in] nsAString *aAttribute, [in] nsAString *aValue, [out] PRBool *aFirst, [out] PRBool *aAny, [out] PRBool *aAll); + nsresult GetInlinePropertyWithAttrValue([in] pnsIAtom aProperty, [in] nsAString *aAttribute, [in] nsAString *aValue, [out] PRBool *aFirst, [out] PRBool *aAny, [out] PRBool *aAll, [out] nsAString *_retval); nsresult RemoveAllInlineProperties(); - nsresult RemoveInlineProperty([in] nsIAtom *aProperty, [in] nsAString *aAttribute); + nsresult RemoveInlineProperty([in] pnsIAtom aProperty, [in] nsAString *aAttribute); nsresult IncreaseFontSize(); nsresult DecreaseFontSize(); nsresult CanDrag([in] nsIDOMEvent *aEvent, [out] PRBool *_retval); @@ -2701,11 +2692,11 @@ nsresult SetBackgroundColor([in] nsAString *aColor); nsresult SetBodyAttribute([in] nsAString *aAttr, [in] nsAString *aValue); nsresult IgnoreSpuriousDragEvent([in] PRBool aIgnoreSpuriousDragEvent); - nsresult GetLinkedObjects([out] nsISupportsArray **_retval); + nsresult GetLinkedObjects([out] pnsISupportsArray *_retval); nsresult GetIsCSSEnabled([out] PRBool *_retval); nsresult SetIsCSSEnabled([in] PRBool prb); - nsresult AddInsertionListener([in] nsIContentFilter *inFilter); - nsresult RemoveInsertionListener([in] nsIContentFilter *inFilter); + nsresult AddInsertionListener([in] pnsIContentFilter inFilter); + nsresult RemoveInsertionListener([in] pnsIContentFilter inFilter); nsresult CreateAnonymousElement([in] nsAString *aTag, [in] nsIDOMNode *aParentNode, [in] nsAString *aAnonClass, [in] PRBool aIsCreatedHidden, [out] nsIDOMElement **_retval); nsresult GetSelectionContainer([out] nsIDOMElement **_retval); nsresult CheckSelectionStateForAnonymousButtons([in] nsISelection *aSelection); @@ -2722,24 +2713,24 @@ ] interface nsIDocShell : nsISupports { - nsresult LoadURI(nsIURI *uri, nsIDocShellLoadInfo *loadInfo, PRUint32 aLoadFlags, PRBool firstParty); + nsresult LoadURI(nsIURI *uri, pnsIDocShellLoadInfo loadInfo, PRUint32 aLoadFlags, PRBool firstParty); nsresult LoadStream(nsIInputStream *aStream, nsIURI *aURI, const nsACString *aContentType, - const nsACString *aContentCharset, nsIDocShellLoadInfo *aLoadInfo); + const nsACString *aContentCharset, pnsIDocShellLoadInfo aLoadInfo); nsresult InternalLoad(nsIURI *aURI, nsIURI *aReferrer, nsISupports *aOwner, PRUint32 aFlags, const PRUnichar *aWindowTarget, const char *aTypeHint, nsIInputStream *aPostDataStream, nsIInputStream *aHeadersStream, PRUint32 aLoadFlags, - nsISHEntry *aSHEntry, PRBool firstParty, nsIDocShell **aDocShell, nsIRequest **aRequest); - nsresult CreateLoadInfo(nsIDocShellLoadInfo **loadInfo); + pnsISHEntry aSHEntry, PRBool firstParty, nsIDocShell **aDocShell, nsIRequest **aRequest); + nsresult CreateLoadInfo(pnsIDocShellLoadInfo *loadInfo); nsresult PrepareForNewContentModel(); nsresult SetCurrentURI(nsIURI *aURI); nsresult FirePageHideNotification(PRBool isUnload); nsresult GetPresContext(void /*nsPresContext*/ **aPresContext); - nsresult GetPresShell(nsIPresShell **aPresShell); - nsresult GetEldestPresShell(nsIPresShell **aEldestPresShell); - nsresult GetContentViewer(nsIContentViewer **aContentViewer); + nsresult GetPresShell(pnsIPresShell *aPresShell); + nsresult GetEldestPresShell(pnsIPresShell *aEldestPresShell); + nsresult GetContentViewer(pnsIContentViewer *aContentViewer); nsresult GetChromeEventHandler(nsIDOMEventTarget **aChromeEventHandler); nsresult SetChromeEventHandler(nsIDOMEventTarget *aChromeEventHandler); - nsresult GetDocumentCharsetInfo(nsIDocumentCharsetInfo **aDocumentCharsetInfo); - nsresult SetDocumentCharsetInfo(nsIDocumentCharsetInfo *aDocumentCharsetInfo); + nsresult GetDocumentCharsetInfo(pnsIDocumentCharsetInfo *aDocumentCharsetInfo); + nsresult SetDocumentCharsetInfo(pnsIDocumentCharsetInfo aDocumentCharsetInfo); nsresult GetAllowPlugins(PRBool *aAllowPlugins); nsresult SetAllowPlugins(PRBool aAllowPlugins); nsresult GetAllowJavascript(PRBool *aAllowJavascript); @@ -2769,14 +2760,14 @@ nsresult SetLoadType(PRUint32 aLoadType); nsresult IsBeingDestroyed(PRBool *_retval); nsresult GetIsExecutingOnLoadHandler(PRBool *aIsExecutingOnLoadHandler); - nsresult GetLayoutHistoryState(nsILayoutHistoryState **aLayoutHistoryState); - nsresult SetLayoutHistoryState(nsILayoutHistoryState *aLayoutHistoryState); + nsresult GetLayoutHistoryState(pnsILayoutHistoryState *aLayoutHistoryState); + nsresult SetLayoutHistoryState(pnsILayoutHistoryState aLayoutHistoryState); nsresult GetShouldSaveLayoutState(PRBool *aShouldSaveLayoutState); - nsresult GetSecurityUI(nsISecureBrowserUI **aSecurityUI); - nsresult SetSecurityUI(nsISecureBrowserUI *aSecurityUI); + nsresult GetSecurityUI(pnsISecureBrowserUI *aSecurityUI); + nsresult SetSecurityUI(pnsISecureBrowserUI aSecurityUI); nsresult SuspendRefreshURIs(); nsresult ResumeRefreshURIs(); - nsresult BeginRestore(nsIContentViewer *viewer, PRBool top); + nsresult BeginRestore(pnsIContentViewer viewer, PRBool top); nsresult FinishRestore(); nsresult GetRestoringDocument(PRBool *aRestoringDocument); nsresult GetUseErrorPages(PRBool *aUseErrorPages); @@ -2784,9 +2775,9 @@ nsresult GetPreviousTransIndex(PRInt32 *aPreviousTransIndex); nsresult GetLoadedTransIndex(PRInt32 *aLoadedTransIndex); nsresult HistoryPurged(PRInt32 numEntries); - nsresult GetSessionStorageForURI(nsIURI *uri, nsIDOMStorage **_retval); - nsresult GetSessionStorageForPrincipal(nsIPrincipal *principal, PRBool create, nsIDOMStorage **_retval); - nsresult AddSessionStorage(nsIPrincipal *principal, nsIDOMStorage *storage); + nsresult GetSessionStorageForURI(nsIURI *uri, pnsIDOMStorage *_retval); + nsresult GetSessionStorageForPrincipal(pnsIPrincipal principal, PRBool create, pnsIDOMStorage *_retval); + nsresult AddSessionStorage(pnsIPrincipal principal, pnsIDOMStorage storage); nsresult GetCurrentDocumentChannel(nsIChannel **aCurrentDocumentChannel); nsresult SetChildOffset(PRUint32 offset); nsresult GetIsInUnload(PRBool *aIsInUnload); @@ -2804,21 +2795,21 @@ ] interface nsIMutationObserver : nsISupports { - void CharacterDataWillChange(nsIDocument *aDocument, nsIContent *aContent, + void CharacterDataWillChange(pnsIDocument aDocument, pnsIContent aContent, void /*CharacterDataChangeInfo*/ *aInfo); - void CharacterDataChanged(nsIDocument *aDocument, nsIContent *aContent, + void CharacterDataChanged(pnsIDocument aDocument, pnsIContent aContent, void /*CharacterDataChangeInfo*/ *aInfo); - void AttributeWillChange(nsIDocument *aDocument, nsIContent * aContent, PRInt32 aNameSpaceID, - nsIAtom *aAttribute, PRInt32 aModType); - void AttributeChanged(nsIDocument *aDocument, nsIContent *aContent, PRInt32 aNameSpaceID, - nsIAtom *aAttribute, PRInt32 aModType, PRUint32 aStateMask); - void ContentAppended(nsIDocument *aDocument, nsIContent *aContainer, PRInt32 aNewIndexInContainer); - void ContentInserted(nsIDocument *aDocument, nsIContent *aContainer, nsIContent *aChild, + void AttributeWillChange(pnsIDocument aDocument, pnsIContent aContent, PRInt32 aNameSpaceID, + pnsIAtom aAttribute, PRInt32 aModType); + void AttributeChanged(pnsIDocument aDocument, pnsIContent aContent, PRInt32 aNameSpaceID, + pnsIAtom aAttribute, PRInt32 aModType, PRUint32 aStateMask); + void ContentAppended(pnsIDocument aDocument, pnsIContent aContainer, PRInt32 aNewIndexInContainer); + void ContentInserted(pnsIDocument aDocument, pnsIContent aContainer, pnsIContent aChild, PRInt32 aIndexInContainer); - void ContentRemoved(nsIDocument *aDocument, nsIContent *aContainer, nsIContent *aChild, + void ContentRemoved(pnsIDocument aDocument, pnsIContent aContainer, pnsIContent aChild, PRInt32 aIndexInContainer); - void NodeWillBeDestroyed(const nsINode *aNode); - void ParentChainChanged(nsIContent *aContent); + void NodeWillBeDestroyed(const pnsINode aNode); + void ParentChainChanged(pnsIContent aContent); } [ @@ -2831,20 +2822,20 @@ { typedef int nsUpdateType; - void BeginUpdate(nsIDocument *aDocument, nsUpdateType aUpdateType); - void EndUpdate(nsIDocument *aDocument, nsUpdateType aUpdateType); - void BeginLoad(nsIDocument *aDocument); - void EndLoad(nsIDocument *aDocument); - void ContentStatesChanged(nsIDocument *aDocument, nsIContent *aContent1, nsIContent *aContent2, + void BeginUpdate(pnsIDocument aDocument, nsUpdateType aUpdateType); + void EndUpdate(pnsIDocument aDocument, nsUpdateType aUpdateType); + void BeginLoad(pnsIDocument aDocument); + void EndLoad(pnsIDocument aDocument); + void ContentStatesChanged(pnsIDocument aDocument, pnsIContent aContent1, pnsIContent aContent2, PRInt32 aStateMask); - void StyleSheetAdded(nsIDocument *aDocument, nsIStyleSheet *aStyleSheet, PRBool aDocumentSheet); - void StyleSheetRemoved(nsIDocument *aDocument, nsIStyleSheet *aStyleSheet, PRBool aDocumentSheet); - void StyleSheetApplicableStateChanged(nsIDocument *aDocument, nsIStyleSheet *aStyleSheet, + void StyleSheetAdded(pnsIDocument aDocument, pnsIStyleSheet aStyleSheet, PRBool aDocumentSheet); + void StyleSheetRemoved(pnsIDocument aDocument, pnsIStyleSheet aStyleSheet, PRBool aDocumentSheet); + void StyleSheetApplicableStateChanged(pnsIDocument aDocument, pnsIStyleSheet aStyleSheet, PRBool aApplicable); - void StyleRuleChanged(nsIDocument *aDocument, nsIStyleSheet *aStyleSheet, nsIStyleRule *aOldStyleRule, - nsIStyleRule *aNewStyleRule); - void StyleRuleAdded(nsIDocument *aDocument, nsIStyleSheet *aStyleSheet, nsIStyleRule *aStyleRule); - void StyleRuleRemoved(nsIDocument *aDocument, nsIStyleSheet *aStyleSheet, nsIStyleRule *aStyleRule); - void BindToDocument(nsIDocument *aDocument, nsIContent *aContent); - void DoneAddingChildren(nsIContent *aContent, PRBool aHaveNotified); -} + void StyleRuleChanged(pnsIDocument aDocument, pnsIStyleSheet aStyleSheet, pnsIStyleRule aOldStyleRule, + pnsIStyleRule aNewStyleRule); + void StyleRuleAdded(pnsIDocument aDocument, pnsIStyleSheet aStyleSheet, pnsIStyleRule aStyleRule); + void StyleRuleRemoved(pnsIDocument aDocument, pnsIStyleSheet aStyleSheet, pnsIStyleRule aStyleRule); + void BindToDocument(pnsIDocument aDocument, pnsIContent aContent); + void DoneAddingChildren(pnsIContent aContent, PRBool aHaveNotified); +}
13 years, 10 months
1
0
0
0
[spetreolle] 50701: [CMAKE] Fix msvc usetup build.
by spetreolle@svn.reactos.org
Author: spetreolle Date: Tue Feb 15 13:01:44 2011 New Revision: 50701 URL:
http://svn.reactos.org/svn/reactos?rev=50701&view=rev
Log: [CMAKE] Fix msvc usetup build. Modified: branches/cmake-bringup/base/setup/usetup/CMakeLists.txt Modified: branches/cmake-bringup/base/setup/usetup/CMakeLists.txt URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/base/setup/usetup…
============================================================================== --- branches/cmake-bringup/base/setup/usetup/CMakeLists.txt [iso-8859-1] (original) +++ branches/cmake-bringup/base/setup/usetup/CMakeLists.txt [iso-8859-1] Tue Feb 15 13:01:44 2011 @@ -38,6 +38,10 @@ vfatlib mingw_common) +if(MSVC) + target_link_libraries(usetup msvcsup) +endif() + set_module_type(usetup nativecui) add_importlibs(usetup kernel32 ntdll) add_minicd_target(usetup reactos/system32 smss.exe)
13 years, 10 months
1
0
0
0
[tkreuzer] 50700: [CMAKE] fix msvc build of mswsock
by tkreuzer@svn.reactos.org
Author: tkreuzer Date: Tue Feb 15 12:54:50 2011 New Revision: 50700 URL:
http://svn.reactos.org/svn/reactos?rev=50700&view=rev
Log: [CMAKE] fix msvc build of mswsock Modified: branches/cmake-bringup/dll/win32/mswsock/CMakeLists.txt branches/cmake-bringup/dll/win32/wsock32/CMakeLists.txt Modified: branches/cmake-bringup/dll/win32/mswsock/CMakeLists.txt URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/mswsock…
============================================================================== --- branches/cmake-bringup/dll/win32/mswsock/CMakeLists.txt [iso-8859-1] (original) +++ branches/cmake-bringup/dll/win32/mswsock/CMakeLists.txt [iso-8859-1] Tue Feb 15 12:54:50 2011 @@ -17,3 +17,4 @@ set_module_type(mswsock win32dll) add_importlibs(mswsock ws2_32 msvcrt kernel32) add_cab_target(mswsock 1) +add_importlib_target(mswsock.spec) Modified: branches/cmake-bringup/dll/win32/wsock32/CMakeLists.txt URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/wsock32…
============================================================================== --- branches/cmake-bringup/dll/win32/wsock32/CMakeLists.txt [iso-8859-1] (original) +++ branches/cmake-bringup/dll/win32/wsock32/CMakeLists.txt [iso-8859-1] Tue Feb 15 12:54:50 2011 @@ -6,5 +6,5 @@ set_module_type(wsock32 win32dll) -add_importlibs(wsock32 ws2_32 msvcrt kernel32 ntdll) +add_importlibs(wsock32 mswsock ws2_32 msvcrt kernel32 ntdll) add_cab_target(wsock32 1)
13 years, 10 months
1
0
0
0
[tkreuzer] 50699: [CMAKE] Fix MSVC build of ntdllsys
by tkreuzer@svn.reactos.org
Author: tkreuzer Date: Tue Feb 15 12:46:08 2011 New Revision: 50699 URL:
http://svn.reactos.org/svn/reactos?rev=50699&view=rev
Log: [CMAKE] Fix MSVC build of ntdllsys Modified: branches/cmake-bringup/ntoskrnl/CMakeLists.txt Modified: branches/cmake-bringup/ntoskrnl/CMakeLists.txt URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/ntoskrnl/CMakeLis…
============================================================================== --- branches/cmake-bringup/ntoskrnl/CMakeLists.txt [iso-8859-1] (original) +++ branches/cmake-bringup/ntoskrnl/CMakeLists.txt [iso-8859-1] Tue Feb 15 12:46:08 2011 @@ -441,7 +441,7 @@ libcntpr wdmguid ioevent) - + add_importlibs(ntoskrnl hal kdcom bootvid) add_pch(ntoskrnl ${CMAKE_CURRENT_SOURCE_DIR}/include/ntoskrnl.h ${SOURCE}) @@ -452,3 +452,4 @@ add_importlib_target(ntoskrnl.spec) add_library(ntdllsys ntdll.S) +set_target_properties(ntdllsys PROPERTIES LINKER_LANGUAGE C)
13 years, 10 months
1
0
0
0
[fireball] 50698: [RTL/DPH] - Implement more support functions: coalescing a node into the list of available nodes, finding a best fitting node for a given size, growing available virtual memory am...
by fireball@svn.reactos.org
Author: fireball Date: Tue Feb 15 11:53:16 2011 New Revision: 50698 URL:
http://svn.reactos.org/svn/reactos?rev=50698&view=rev
Log: [RTL/DPH] - Implement more support functions: coalescing a node into the list of available nodes, finding a best fitting node for a given size, growing available virtual memory amount. Modified: trunk/reactos/lib/rtl/heappage.c Modified: trunk/reactos/lib/rtl/heappage.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/rtl/heappage.c?rev=506…
============================================================================== --- trunk/reactos/lib/rtl/heappage.c [iso-8859-1] (original) +++ trunk/reactos/lib/rtl/heappage.c [iso-8859-1] Tue Feb 15 11:53:16 2011 @@ -7,6 +7,7 @@ /* Useful references:
http://msdn.microsoft.com/en-us/library/ms220938(VS.80).aspx
+
http://blogs.msdn.com/b/jiangyue/archive/2010/03/16/windows-heap-overrun-mo…
*/ /* INCLUDES *****************************************************************/ @@ -125,6 +126,7 @@ #define DPH_RESERVE_SIZE 0x100000 #define DPH_POOL_SIZE 0x4000 +#define DPH_FREE_LIST_MINIMUM 8 /* RtlpDphBreakOptions */ #define DPH_BREAK_ON_RESERVE_FAIL 0x01 @@ -149,6 +151,9 @@ #define POINTER_ADD_BIAS(ptr) ((ULONG_PTR)(ptr) & 1) /* FUNCTIONS ******************************************************************/ + +BOOLEAN NTAPI +RtlpDphGrowVirtual(PDPH_HEAP_ROOT DphRoot, SIZE_T Size); NTSTATUS NTAPI RtlpSecMemFreeVirtualMemory(HANDLE Process, PVOID *Base, PSIZE_T Size, ULONG Type) @@ -361,6 +366,75 @@ RtlpDphCoalesceNodeIntoAvailable(PDPH_HEAP_ROOT DphRoot, PDPH_HEAP_BLOCK Node) { + PDPH_HEAP_BLOCK NodeEntry, PrevNode = NULL, NextNode; + PLIST_ENTRY AvailListHead; + PLIST_ENTRY CurEntry; + + /* Update heap counters */ + DphRoot->nAvailableAllocationBytesCommitted += Node->nVirtualBlockSize; + DphRoot->nAvailableAllocations++; + + /* Find where to put this node according to its virtual address */ + AvailListHead = &DphRoot->AvailableAllocationHead; + CurEntry = AvailListHead->Flink; + + while (CurEntry != AvailListHead) + { + NodeEntry = CONTAINING_RECORD(CurEntry, DPH_HEAP_BLOCK, AvailableEntry); + + if (NodeEntry->pVirtualBlock >= Node->pVirtualBlock) + { + PrevNode = NodeEntry; + break; + } + CurEntry = CurEntry->Flink; + } + + /* Did we find a node to insert our one after? */ + if (!PrevNode) + { + /* No, just add to the head of the list then */ + InsertHeadList(AvailListHead, &Node->AvailableEntry); + } + else + { + /* Check the previous node and merge if possible */ + if (PrevNode->pVirtualBlock + PrevNode->nVirtualBlockSize == Node->pVirtualBlock) + { + /* They are adjacent - merge! */ + PrevNode->nVirtualBlockSize += Node->nVirtualBlockSize; + RtlpDphReturnNodeToUnusedList(DphRoot, Node); + DphRoot->nAvailableAllocations--; + + Node = PrevNode; + } + else + { + /* Insert after PrevNode */ + InsertTailList(&PrevNode->AvailableEntry, &Node->AvailableEntry); + } + } + + /* Now check the next entry after our one */ + if (Node->AvailableEntry.Flink != AvailListHead) + { + NextNode = CONTAINING_RECORD(Node->AvailableEntry.Flink, DPH_HEAP_BLOCK, AvailableEntry);; + /* Node is not at the tail of the list, check if it's adjacent */ + if (Node->pVirtualBlock + Node->nVirtualBlockSize == NextNode->pVirtualBlock) + { + /* They are adjacent - merge! */ + Node->nVirtualBlockSize += NextNode->nVirtualBlockSize; + Node->pNextAlloc = NextNode->pNextAlloc; + RtlpDphReturnNodeToUnusedList(DphRoot, NextNode); + DphRoot->nAvailableAllocations--; + } + } +} + +VOID NTAPI +RtlpDphCoalesceFreeIntoAvailable(PDPH_HEAP_ROOT DphRoot, + ULONG Size) +{ UNIMPLEMENTED; } @@ -408,12 +482,90 @@ } PDPH_HEAP_BLOCK NTAPI +RtlpDphSearchAvailableMemoryListForBestFit(PDPH_HEAP_ROOT DphRoot, + SIZE_T Size) +{ + PLIST_ENTRY CurEntry; + PDPH_HEAP_BLOCK Node; + + CurEntry = DphRoot->AvailableAllocationHead.Flink; + + while (TRUE) + { + /* If we reached end of the list - return right away */ + if (CurEntry == &DphRoot->AvailableAllocationHead) return NULL; + + /* Get the current available node */ + Node = CONTAINING_RECORD(CurEntry, DPH_HEAP_BLOCK, AvailableEntry); + + /* Check its size */ + if (Node->nVirtualBlockSize >= Size) break; + + /* Move to the next available entry */ + CurEntry = CurEntry->Flink; + } + + /* Make sure Adjacency list pointers are biased */ + ASSERT(IS_BIASED_POINTER(Node->AdjacencyEntry.Flink)); + ASSERT(IS_BIASED_POINTER(Node->AdjacencyEntry.Blink)); + + return Node; +} + +PDPH_HEAP_BLOCK NTAPI RtlpDphFindAvailableMemory(PDPH_HEAP_ROOT DphRoot, SIZE_T Size, - PDPH_HEAP_BLOCK *Prev) -{ - UNIMPLEMENTED; - return NULL; + BOOLEAN Grow) +{ + PDPH_HEAP_BLOCK Node; + ULONG NewSize; + + /* Find an available best fitting node */ + Node = RtlpDphSearchAvailableMemoryListForBestFit(DphRoot, Size); + + /* If that didn't work, try to search a smaller one in the loop */ + while (!Node) + { + /* Break if the free list becomes too small */ + if (DphRoot->nFreeAllocations <= DPH_FREE_LIST_MINIMUM) break; + + /* Calculate a new free list size */ + NewSize = DphRoot->nFreeAllocations >> 1; + if (NewSize < DPH_FREE_LIST_MINIMUM) NewSize = DPH_FREE_LIST_MINIMUM; + + /* Coalesce free into available */ + RtlpDphCoalesceFreeIntoAvailable(DphRoot, NewSize); + + /* Try to find an available best fitting node again */ + Node = RtlpDphSearchAvailableMemoryListForBestFit(DphRoot, Size); + } + + /* If Node is NULL, then we could fix the situation only by + growing the available VM size */ + if (!Node && Grow) + { + /* Grow VM size, if it fails - return failure directly */ + if (!RtlpDphGrowVirtual(DphRoot, Size)) return NULL; + + /* Try to find an available best fitting node again */ + Node = RtlpDphSearchAvailableMemoryListForBestFit(DphRoot, Size); + + if (!Node) + { + /* Do the last attempt: coalesce all free into available (if Size fits there) */ + if (DphRoot->nFreeAllocationBytesCommitted + DphRoot->nAvailableAllocationBytesCommitted >= Size) + { + /* Coalesce free into available */ + RtlpDphCoalesceFreeIntoAvailable(DphRoot, 0); + + /* Try to find an available best fitting node again */ + Node = RtlpDphSearchAvailableMemoryListForBestFit(DphRoot, Size); + } + } + } + + /* Return node we found */ + return Node; } PDPH_HEAP_BLOCK NTAPI @@ -434,13 +586,13 @@ } /* There is a need to make free space */ - Node = RtlpDphFindAvailableMemory(DphRoot, DPH_POOL_SIZE, NULL); + Node = RtlpDphFindAvailableMemory(DphRoot, DPH_POOL_SIZE, FALSE); if (!DphRoot->pUnusedNodeListHead && !Node) { /* Retry with a smaller request */ Size = PAGE_SIZE; - Node = RtlpDphFindAvailableMemory(DphRoot, PAGE_SIZE, NULL); + Node = RtlpDphFindAvailableMemory(DphRoot, PAGE_SIZE, FALSE); } if (!DphRoot->pUnusedNodeListHead) @@ -499,6 +651,56 @@ } return RtlpDphTakeNodeFromUnusedList(DphRoot); +} + +BOOLEAN NTAPI +RtlpDphGrowVirtual(PDPH_HEAP_ROOT DphRoot, + SIZE_T Size) +{ + PDPH_HEAP_BLOCK Node, AvailableNode; + PVOID Base; + SIZE_T VirtualSize; + NTSTATUS Status; + + /* Start with allocating a couple of nodes */ + Node = RtlpDphAllocateNode(DphRoot); + if (!Node) return FALSE; + + AvailableNode = RtlpDphAllocateNode(DphRoot); + if (!AvailableNode) + { + /* Free the allocated node and return failure */ + RtlpDphReturnNodeToUnusedList(DphRoot, Node); + return FALSE; + } + + /* Calculate size of VM to allocate by rounding it up */ + VirtualSize = (Size + 0xFFFF) & 0xFFFF0000; + if (VirtualSize < DPH_RESERVE_SIZE) + VirtualSize = DPH_RESERVE_SIZE; + + /* Allocate the virtual memory */ + Status = RtlpDphAllocateVm(&Base, VirtualSize, MEM_RESERVE, PAGE_NOACCESS); + if (!NT_SUCCESS(Status)) + { + /* Free the allocated node and return failure */ + RtlpDphReturnNodeToUnusedList(DphRoot, Node); + RtlpDphReturnNodeToUnusedList(DphRoot, AvailableNode); + return FALSE; + } + + /* Set up our two nodes describing this VM */ + Node->pVirtualBlock = Base; + Node->nVirtualBlockSize = VirtualSize; + AvailableNode->pVirtualBlock = Base; + AvailableNode->nVirtualBlockSize = VirtualSize; + + /* Add them to virtual and available lists respectively */ + RtlpDphPlaceOnVirtualList(DphRoot, Node); + RtlpDphCoalesceNodeIntoAvailable(DphRoot, AvailableNode); + + /* Return success */ + return TRUE; } RTL_GENERIC_COMPARE_RESULTS
13 years, 10 months
1
0
0
0
[spetreolle] 50697: [CMAKE] Fix msvc ext2 build. Fix soundblaster includes.
by spetreolle@svn.reactos.org
Author: spetreolle Date: Mon Feb 14 20:56:12 2011 New Revision: 50697 URL:
http://svn.reactos.org/svn/reactos?rev=50697&view=rev
Log: [CMAKE] Fix msvc ext2 build. Fix soundblaster includes. Modified: branches/cmake-bringup/drivers/filesystems/ext2/CMakeLists.txt branches/cmake-bringup/lib/drivers/sound/soundblaster/CMakeLists.txt Modified: branches/cmake-bringup/drivers/filesystems/ext2/CMakeLists.txt URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/drivers/filesyste…
============================================================================== --- branches/cmake-bringup/drivers/filesystems/ext2/CMakeLists.txt [iso-8859-1] (original) +++ branches/cmake-bringup/drivers/filesystems/ext2/CMakeLists.txt [iso-8859-1] Mon Feb 14 20:56:12 2011 @@ -23,6 +23,8 @@ add_library(ext2fs SHARED ${SOURCE}) +target_link_libraries(ext2fs ${PSEH_LIB}) + set_module_type(ext2fs kernelmodedriver) add_importlibs(ext2fs ntoskrnl hal) Modified: branches/cmake-bringup/lib/drivers/sound/soundblaster/CMakeLists.txt URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/lib/drivers/sound…
============================================================================== --- branches/cmake-bringup/lib/drivers/sound/soundblaster/CMakeLists.txt [iso-8859-1] (original) +++ branches/cmake-bringup/lib/drivers/sound/soundblaster/CMakeLists.txt [iso-8859-1] Mon Feb 14 20:56:12 2011 @@ -3,7 +3,7 @@ -D__NTDRIVER__ -DKERNEL) -include_directories(${REACTOS_SOURCE_DIR}/include/reactos/libs/sound) +include_directories(BEFORE ${REACTOS_SOURCE_DIR}/include/reactos/libs/sound) list(APPEND SOURCE dsp_io.c
13 years, 10 months
1
0
0
0
← Newer
1
...
21
22
23
24
25
26
27
...
36
Older →
Jump to page:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
Results per page:
10
25
50
100
200