Mozilla stuff

Uhm...

2004-06-30

http://lxr.mozilla.org/seamonkey/source/content/events/src/nsEventStateManager.cpp#1639

Handy treewalker thingie:

const acceptNodeFilter = {
acceptNode: function(aNode) {
return NodeFilter.FILTER_ACCEPT;
},

toString: function() {
return "[object NodeFilter]";
}
};

const foo = {
getChildElements: function(aNode) {
var walker = aNode.ownerDocument.createTreeWalker(aNode, NodeFilter.SHOW_ELEMENT, acceptNodeFilter, true);
var rv = [];
var firstChildNode = walker.firstChild();
if (firstChildNode) {
rv.push(firstChildNode);
while (walker.nextSibling()) {
rv.push(walker.currentNode);
}
}
return rv;
}
}

From:
http://weblogs.mozillazine.org/mt/mt-comments.cgi?entry_id=5869

2004-06-29

http://bugzilla.mozilla.org/show_bug.cgi?id=246616
This one responsible for the build bustage?

This fixes the problem of building?
ac_add_options --enable-image-decoders=png,gif,jpeg

http://www2.zonnet.nl/helpdesk/docs/Formulier_Breedband_Opzeggen.doc
Na 3 weken geen reactie, mailen:
klantenservice@zonnet.nl
Opzegdatum: 4-11-2004

pr0n error building:

a\" -DMOZILLA_REGION_VERSION=\"1.8a\" -DMOZILLA_SKIN_VERSION=\"1.5\" -D_MOZILLA
_CONFIG_H_ -DMOZILLA_CLIENT /cygdrive/c/mozilla/mozilla/modules/libpr0n/decoders
/icon/win/nsIconChannel.cpp
c:/mozilla/mozilla/modules/libpr0n/decoders/icon/win/nsIconChannel.cpp: In
function `DWORD GetSpecialFolderIcon(nsIFile*, int, SHFILEINFO*, unsigned
int)':
c:/mozilla/mozilla/modules/libpr0n/decoders/icon/win/nsIconChannel.cpp:253: erro
r: `::
SHGetSpecialFolderPath' undeclared (first use here)
make[5]: *** [nsIconChannel.o] Error 1
make[5]: Leaving directory `/cygdrive/c/mozilla/mozilla/modules/libpr0n/decoders
/icon/win'
make[4]: *** [libs] Error 2
make[4]: Leaving directory `/cygdrive/c/mozilla/mozilla/modules/libpr0n/decoders
'
make[3]: *** [libs] Error 2
make[3]: Leaving directory `/cygdrive/c/mozilla/mozilla/modules/libpr0n'
make[2]: *** [libs] Error 2
make[2]: Leaving directory `/cygdrive/c/mozilla/mozilla'
make[1]: *** [alldep] Error 2
make[1]: Leaving directory `/cygdrive/c/mozilla/mozilla'
make: *** [alldep] Error 2

2004-06-22

Another inline xbl template:

<?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Page title</title>
<bindings xmlns="http://www.mozilla.org/xbl">
<binding id="url">
<content xmlns:xbl="http://www.mozilla.org/xbl" xmlns:html="http://www.w3.org/1999/xhtml">
<children/><html:br/>
<a xmlns="http://www.w3.org/1999/xhtml" xbl:inherits="href=cite"/>
</content>
</binding>

</bindings>
<style>
blockquote{-moz-binding:url(#url);
}
a::after{content:attr(href);}
div:target{
-moz-binding:url(#url);
}
</style>
</head>
<body>
<blockquote cite="#test">some text</blockquote>
<div id="test" cite="http://nu.nl">does this work?</div>
</body></html>

xbl template:

<?xml version="1.0"?>
<bindings xmlns="http://www.mozilla.org/xbl">
<binding id="text">
<content xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" xmlns:xbl="http://www.mozilla.org/xbl" xmlns:html="http://www.w3.org/1999/xhtml">
<children/><html:br/>
<html:a xbl:inherits="href=cite">
<xul:description xbl:inherits="value=cite" style="display:inline;"/>
</html:a>
</content>
</binding>
</bindings>

2004-06-13

make -f client.mk fast-update

2004-06-11

C:\mozilla\mozilla\layout\html\forms\src\nsComboboxControlFrame.cpp

C:\mozilla\mozilla\content\shared\public\nsCSSAnonBoxList.h

/*
* This file contains the list of nsIAtoms and their values for CSS
* pseudo-element-ish things used internally for anonymous boxes. It is
* designed to be used as inline input to nsCSSAnonBoxes.cpp *only*
* through the magic of C preprocessing. All entries must be enclosed
* in the macro CSS_ANON_BOX which will have cruel and unusual things
* done to it. The entries should be kept in some sort of logical
* order. The first argument to CSS_ANON_BOX is the C++ identifier of
* the atom. The second argument is the string value of the atom.
*/

// OUTPUT_CLASS=nsCSSAnonBoxes
// MACRO_NAME=CSS_ANON_BOX

CSS_ANON_BOX(mozNonElement, ":-moz-non-element")

CSS_ANON_BOX(mozAnonymousBlock, ":-moz-anonymous-block")
CSS_ANON_BOX(mozAnonymousPositionedBlock, ":-moz-anonymous-positioned-block")

CSS_ANON_BOX(mozFirstLineFixup, ":-moz-first-line-fixup")
CSS_ANON_BOX(mozLineFrame, ":-moz-line-frame")

CSS_ANON_BOX(buttonContent, ":-moz-button-content")
CSS_ANON_BOX(mozButtonLabel, ":-moz-buttonlabel")
CSS_ANON_BOX(cellContent, ":-moz-cell-content")
CSS_ANON_BOX(dropDownList, ":-moz-dropdown-list")
CSS_ANON_BOX(fieldsetContent, ":-moz-fieldset-content")
CSS_ANON_BOX(framesetBlank, ":-moz-frameset-blank")
CSS_ANON_BOX(radio, ":-moz-radio")
CSS_ANON_BOX(check, ":-moz-checkbox")
CSS_ANON_BOX(mozDisplayComboboxControlFrame, ":-moz-display-comboboxcontrol-frame")
CSS_ANON_BOX(dummyOption, ":-moz-dummy-option")

CSS_ANON_BOX(table, ":-moz-table")
CSS_ANON_BOX(tableCell, ":-moz-table-cell")
CSS_ANON_BOX(tableColGroup, ":-moz-table-column-group")
CSS_ANON_BOX(tableCol, ":-moz-table-column")
CSS_ANON_BOX(tableOuter, ":-moz-table-outer")
CSS_ANON_BOX(tableRowGroup, ":-moz-table-row-group")
CSS_ANON_BOX(tableRow, ":-moz-table-row")

CSS_ANON_BOX(canvas, ":-moz-canvas")
CSS_ANON_BOX(pageBreak, ":-moz-pagebreak")
CSS_ANON_BOX(page, ":-moz-page")
CSS_ANON_BOX(pageContent, ":-moz-pagecontent")
CSS_ANON_BOX(pageSequence, ":-moz-page-sequence")
CSS_ANON_BOX(scrolledContent, ":-moz-scrolled-content")
CSS_ANON_BOX(viewport, ":-moz-viewport")
CSS_ANON_BOX(viewportScroll, ":-moz-viewport-scroll")
CSS_ANON_BOX(selectScrolledContent, ":-moz-select-scrolled-content")

2004-06-10

multiple instances of the same version
set MOZ_NO_REMOTE=1

http://www.mozilla.org/projects/xpcom/nsCOMPtr.html

http://bugzilla.mozilla.org/show_bug.cgi?id=117895

if (!gBookmarksService)
gBookmarksService = Components.classes["@mozilla.org/browser/bookmarks-service;1"]
.getService(Components.interfaces.nsIBookmarksService);
- if (addFlag) gBookmarksService.updateBookmarkIcon(url, iconURL);
- else gBookmarksService.removeBookmarkIcon(url, iconURL);
+ if (!addFlag)
+ gBookmarksService.removeBookmarkIcon(url, iconURL);
+ else try {
+ gBookmarksService.updateBookmarkIcon(url, iconURL);
+ const IOS = Components.classes["@mozilla.org/network/io-service;1"]
+ .getService(Components.interfaces.nsIIOService);
+ var channel = IOS.newChannel(iconURL, null, null);
+ var stream = Components.classes['@mozilla.org/binaryinputstream;1']
+ .createInstance(Components.interfaces.nsIBinaryInputStream);
+ stream.setInputStream(channel.open());
+ var bytes = "";
+ for (var count; count = stream.available(); )
+ bytes += stream.readBytes(count);
+ iconURL = "data:" + channel.contentType + ";base64," + btoa(bytes);
+ gBookmarksService.updateBookmarkIcon(url, iconURL);
+ } catch (e) {
+ dump(e + '\n');
+ }
}
}

2004-06-09

cvs diff -u8 -p [files] > patch.txt

2004-06-04

CHROME_WINDOW_MIN

http://www.mozilla.org/contribute/hacking/first-bugs/

make -f client.mk checkout

2004-06-02

With trace-malloc:

/cygdrive/c/mozilla/mozilla/build/cygwin-wrapper c:/mozilla/moztools/bin/nsinsta
ll -m 644 _xpidlgen/xpcom_ds.xpt ../../dist/bin/components
make[4]: Leaving directory `/cygdrive/c/mozilla/mozilla/xpcom/ds'
make[4]: Entering directory `/cygdrive/c/mozilla/mozilla/xpcom/io'
/cygdrive/c/mozilla/mozilla/build/cygwin-wrapper c:/mozilla/moztools/bin/nsinsta
ll -m 644 libxpcomio_s.a ../../dist/lib
/cygdrive/c/mozilla/mozilla/build/cygwin-wrapper c:/mozilla/moztools/bin/nsinsta
ll -m 644 _xpidlgen/xpcom_io.xpt ../../dist/gre/components
/cygdrive/c/mozilla/mozilla/build/cygwin-wrapper c:/mozilla/moztools/bin/nsinsta
ll -m 644 _xpidlgen/xpcom_io.xpt ../../dist/bin/components
make[4]: Leaving directory `/cygdrive/c/mozilla/mozilla/xpcom/io'
make[4]: Entering directory `/cygdrive/c/mozilla/mozilla/xpcom/components'
/cygdrive/c/mozilla/mozilla/build/cygwin-wrapper c:/mozilla/moztools/bin/nsinsta
ll -m 644 libxpcomcomponents_s.a ../../dist/lib
/cygdrive/c/mozilla/mozilla/build/cygwin-wrapper c:/mozilla/moztools/bin/nsinsta
ll -m 644 _xpidlgen/xpcom_components.xpt ../../dist/gre/components
/cygdrive/c/mozilla/mozilla/build/cygwin-wrapper c:/mozilla/moztools/bin/nsinsta
ll -m 644 _xpidlgen/xpcom_components.xpt ../../dist/bin/components
make[4]: Leaving directory `/cygdrive/c/mozilla/mozilla/xpcom/components'
make[4]: Entering directory `/cygdrive/c/mozilla/mozilla/xpcom/threads'
/cygdrive/c/mozilla/mozilla/build/cygwin-wrapper c:/mozilla/moztools/bin/nsinsta
ll -m 644 libxpcomthreads_s.a ../../dist/lib
/cygdrive/c/mozilla/mozilla/build/cygwin-wrapper c:/mozilla/moztools/bin/nsinsta
ll -m 644 _xpidlgen/xpcom_thread.xpt ../../dist/gre/components
/cygdrive/c/mozilla/mozilla/build/cygwin-wrapper c:/mozilla/moztools/bin/nsinsta
ll -m 644 _xpidlgen/xpcom_thread.xpt ../../dist/bin/components
make[4]: Leaving directory `/cygdrive/c/mozilla/mozilla/xpcom/threads'
make[4]: Entering directory `/cygdrive/c/mozilla/mozilla/xpcom/reflect'
make[5]: Entering directory `/cygdrive/c/mozilla/mozilla/xpcom/reflect/xptinfo'
make[6]: Entering directory `/cygdrive/c/mozilla/mozilla/xpcom/reflect/xptinfo/p
ublic'
/cygdrive/c/mozilla/mozilla/build/cygwin-wrapper c:/mozilla/moztools/bin/nsinsta
ll -m 644 _xpidlgen/xpcom_xpti.xpt ../../../../dist/gre/components
/cygdrive/c/mozilla/mozilla/build/cygwin-wrapper c:/mozilla/moztools/bin/nsinsta
ll -m 644 _xpidlgen/xpcom_xpti.xpt ../../../../dist/bin/components
make[6]: Leaving directory `/cygdrive/c/mozilla/mozilla/xpcom/reflect/xptinfo/pu
blic'
make[6]: Entering directory `/cygdrive/c/mozilla/mozilla/xpcom/reflect/xptinfo/s
rc'
/cygdrive/c/mozilla/mozilla/build/cygwin-wrapper c:/mozilla/moztools/bin/nsinsta
ll -m 644 libxptinfo.a ../../../../dist/lib
make[6]: Leaving directory `/cygdrive/c/mozilla/mozilla/xpcom/reflect/xptinfo/sr
c'
make[5]: Leaving directory `/cygdrive/c/mozilla/mozilla/xpcom/reflect/xptinfo'
make[5]: Entering directory `/cygdrive/c/mozilla/mozilla/xpcom/reflect/xptcall'
make[6]: Entering directory `/cygdrive/c/mozilla/mozilla/xpcom/reflect/xptcall/p
ublic'
make[6]: Leaving directory `/cygdrive/c/mozilla/mozilla/xpcom/reflect/xptcall/pu
blic'
make[6]: Entering directory `/cygdrive/c/mozilla/mozilla/xpcom/reflect/xptcall/s
rc'
/cygdrive/c/mozilla/mozilla/build/cygwin-wrapper c:/mozilla/moztools/bin/nsinsta
ll -m 644 libxptcall.a ../../../../dist/lib
make[7]: Entering directory `/cygdrive/c/mozilla/mozilla/xpcom/reflect/xptcall/s
rc/md'
make[8]: Entering directory `/cygdrive/c/mozilla/mozilla/xpcom/reflect/xptcall/s
rc/md/win32'
/cygdrive/c/mozilla/mozilla/build/cygwin-wrapper c:/mozilla/moztools/bin/nsinsta
ll -m 644 libxptcmd.a ../../../../../../dist/lib
make[8]: Leaving directory `/cygdrive/c/mozilla/mozilla/xpcom/reflect/xptcall/sr
c/md/win32'
make[7]: Leaving directory `/cygdrive/c/mozilla/mozilla/xpcom/reflect/xptcall/sr
c/md'
make[6]: Leaving directory `/cygdrive/c/mozilla/mozilla/xpcom/reflect/xptcall/sr
c'
make[5]: Leaving directory `/cygdrive/c/mozilla/mozilla/xpcom/reflect/xptcall'
make[4]: Leaving directory `/cygdrive/c/mozilla/mozilla/xpcom/reflect'
make[4]: Entering directory `/cygdrive/c/mozilla/mozilla/xpcom/proxy'
make[5]: Entering directory `/cygdrive/c/mozilla/mozilla/xpcom/proxy/public'
/cygdrive/c/mozilla/mozilla/build/cygwin-wrapper c:/mozilla/moztools/bin/nsinsta
ll -m 644 _xpidlgen/proxyObject.xpt ../../../dist/bin/components
make[5]: Leaving directory `/cygdrive/c/mozilla/mozilla/xpcom/proxy/public'
make[5]: Entering directory `/cygdrive/c/mozilla/mozilla/xpcom/proxy/src'
/cygdrive/c/mozilla/mozilla/build/cygwin-wrapper c:/mozilla/moztools/bin/nsinsta
ll -m 644 libxpcomproxy_s.a ../../../dist/lib
make[5]: Leaving directory `/cygdrive/c/mozilla/mozilla/xpcom/proxy/src'
make[4]: Leaving directory `/cygdrive/c/mozilla/mozilla/xpcom/proxy'
make[4]: Entering directory `/cygdrive/c/mozilla/mozilla/xpcom/build'
rm -f xpcom.dll
/cygdrive/c/mozilla/mozilla/build/cygwin-wrapper g++ -mno-cygwin -shared -Wl,--o
ut-implib -Wl,libxpcom.dll.a -o xpcom.dll nsXPComInit.o nsStringAPI.o dlldeps.o
./module.res -mwindows -Wl,--enable-runtime-pseudo-reloc -Wl,--whole
-archive ../../dist/lib/libxpcomds_s.a ../../dist/lib/libxpcomio_s.a ../../dist/
lib/libxpcomcomponents_s.a ../../dist/lib/libxpcomthreads_s.a ../../dist/lib/lib
xpcomproxy_s.a ../../dist/lib/libxpcombase_s.a ../../dist/lib/libxptcall.a ../..
/dist/lib/libxptinfo.a ../../dist/lib/libxpt.a ../../dist/lib/libxptcmd.a ../../
dist/lib/libstring_s.a ../../dist/lib/libxpcomglue_s.a -Wl,--no-whole-archive
-L../../dist/lib -lnspr4 -lplc4 -lplds4 -lshell32 -lole32 -luuid -limagehlp -lm

Creating library file: libxpcom.dll.a
chmod +x xpcom.dll
/cygdrive/c/mozilla/mozilla/build/cygwin-wrapper c:/mozilla/moztools/bin/nsinsta
ll -m 755 xpcom.dll ../../dist/gre
/cygdrive/c/mozilla/mozilla/build/cygwin-wrapper c:/mozilla/moztools/bin/nsinsta
ll -m 755 libxpcom.dll.a ../../dist/lib
/cygdrive/c/mozilla/mozilla/build/cygwin-wrapper c:/mozilla/moztools/bin/nsinsta
ll -m 755 xpcom.dll ../../dist/bin
/cygdrive/c/mozilla/mozilla/build/cygwin-wrapper c:/mozilla/moztools/bin/nsinsta
ll -m 755 libxpcom.dll.a ../../dist/sdk/lib
/cygdrive/c/mozilla/mozilla/build/cygwin-wrapper c:/mozilla/moztools/bin/nsinsta
ll -m 755 xpcom.dll ../../dist/sdk/bin
make[4]: Leaving directory `/cygdrive/c/mozilla/mozilla/xpcom/build'
make[4]: Entering directory `/cygdrive/c/mozilla/mozilla/xpcom/tools'
make[5]: Entering directory `/cygdrive/c/mozilla/mozilla/xpcom/tools/registry'
/cygdrive/c/mozilla/mozilla/build/cygwin-wrapper c:/mozilla/moztools/bin/nsinsta
ll -m 755 regxpcom.exe ../../../dist/bin
/cygdrive/c/mozilla/mozilla/build/cygwin-wrapper c:/mozilla/moztools/bin/nsinsta
ll -m 755 regxpcom.exe ../../../dist/sdk/bin
make[5]: Leaving directory `/cygdrive/c/mozilla/mozilla/xpcom/tools/registry'
make[5]: Entering directory `/cygdrive/c/mozilla/mozilla/xpcom/tools/windows'
/cygdrive/c/mozilla/mozilla/build/cygwin-wrapper c:/mozilla/moztools/bin/nsinsta
ll -m 755 rebasedlls.exe ../../../dist/bin
make[5]: Leaving directory `/cygdrive/c/mozilla/mozilla/xpcom/tools/windows'
make[4]: Leaving directory `/cygdrive/c/mozilla/mozilla/xpcom/tools'
make[4]: Entering directory `/cygdrive/c/mozilla/mozilla/xpcom/windbgdlg'
/cygdrive/c/mozilla/mozilla/build/cygwin-wrapper c:/mozilla/moztools/bin/nsinsta
ll -m 755 windbgdlg.exe ../../dist/bin
make[4]: Leaving directory `/cygdrive/c/mozilla/mozilla/xpcom/windbgdlg'
make[3]: Leaving directory `/cygdrive/c/mozilla/mozilla/xpcom'
make[3]: Entering directory `/cygdrive/c/mozilla/mozilla/modules/libreg'
make[4]: Entering directory `/cygdrive/c/mozilla/mozilla/modules/libreg/include'

make[4]: Leaving directory `/cygdrive/c/mozilla/mozilla/modules/libreg/include'
make[4]: Entering directory `/cygdrive/c/mozilla/mozilla/modules/libreg/src'
/cygdrive/c/mozilla/mozilla/build/cygwin-wrapper c:/mozilla/moztools/bin/nsinsta
ll -m 644 libmozreg_s.a ../../../dist/lib
make[4]: Leaving directory `/cygdrive/c/mozilla/mozilla/modules/libreg/src'
make[4]: Entering directory `/cygdrive/c/mozilla/mozilla/modules/libreg/standalo
ne'
/cygdrive/c/mozilla/mozilla/build/cygwin-wrapper c:/mozilla/moztools/bin/nsinsta
ll -m 644 libmozregsa_s.a ../../../dist/lib
make[4]: Leaving directory `/cygdrive/c/mozilla/mozilla/modules/libreg/standalon
e'
make[3]: Leaving directory `/cygdrive/c/mozilla/mozilla/modules/libreg'
make[3]: Entering directory `/cygdrive/c/mozilla/mozilla/xpcom/obsolete'
/cygdrive/c/mozilla/mozilla/build/cygwin-wrapper c:/mozilla/moztools/bin/nsinsta
ll -m 755 xpcom_compat.dll ../../dist/gre
/cygdrive/c/mozilla/mozilla/build/cygwin-wrapper c:/mozilla/moztools/bin/nsinsta
ll -m 755 libxpcom_compat.dll.a ../../dist/lib
/cygdrive/c/mozilla/mozilla/build/cygwin-wrapper c:/mozilla/moztools/bin/nsinsta
ll -m 755 xpcom_compat.dll ../../dist/bin
make[4]: Entering directory `/cygdrive/c/mozilla/mozilla/xpcom/obsolete/componen
t'
/cygdrive/c/mozilla/mozilla/build/cygwin-wrapper c:/mozilla/moztools/bin/nsinsta
ll -m 755 xpcom_compat_c.dll ../../../dist/gre/components
: ../../../dist/gre/components/xpcom_compat_c.dll
/cygdrive/c/mozilla/mozilla/build/cygwin-wrapper c:/mozilla/moztools/bin/nsinsta
ll -m 755 xpcom_compat_c.dll ../../../dist/lib/components
: ../../../dist/lib/components/xpcom_compat_c.dll
/cygdrive/c/mozilla/mozilla/build/cygwin-wrapper c:/mozilla/moztools/bin/nsinsta
ll -m 755 xpcom_compat_c.dll ../../../dist/bin/components
: ../../../dist/bin/components/xpcom_compat_c.dll
make[4]: Leaving directory `/cygdrive/c/mozilla/mozilla/xpcom/obsolete/component
'
/cygdrive/c/mozilla/mozilla/build/cygwin-wrapper c:/mozilla/moztools/bin/nsinsta
ll -m 644 _xpidlgen/xpcom_obsolete.xpt ../../dist/gre/components
/cygdrive/c/mozilla/mozilla/build/cygwin-wrapper c:/mozilla/moztools/bin/nsinsta
ll -m 644 _xpidlgen/xpcom_obsolete.xpt ../../dist/bin/components
make[3]: Leaving directory `/cygdrive/c/mozilla/mozilla/xpcom/obsolete'
make[3]: Entering directory `/cygdrive/c/mozilla/mozilla/tools/trace-malloc/lib'

nsTraceMalloc.c
Building deps for nsTraceMalloc.c
/cygdrive/c/mozilla/mozilla/build/cygwin-wrapper gcc -mno-cygwin -o nsTraceMallo
c.o -c -DOSTYPE=\"WINNT5.0\" -DOSARCH=\"WINNT\" -I../../../dist/include/xpcom -
I../../../dist/include/tracemalloc -I../../../dist/include -I../../../dist/inclu
de/nspr -Wall -W -Wno-unused -Wpointer-arith -Wcast-align -Wno-long-long
-pedantic -mms-bitfields -pipe -DDEBUG -D_DEBUG -DDEBUG_Martijn -DTRACING -g -
O -DX_DISPLAY_MISSING=1 -DMOZILLA_VERSION=\"1.8a\" -DHAVE_SNPRINTF=1 -D_WINDOW
S=1 -D_WIN32=1 -DWIN32=1 -DXP_WIN=1 -DXP_WIN32=1 -DHW_THREADS=1 -DWINVER=0x400 -
DSTDC_HEADERS=1 -DWIN32_LEAN_AND_MEAN=1 -DNO_X11=1 -D_X86_=1 -DD_INO=d_ino -DSTD
C_HEADERS=1 -Duid_t=int -Dgid_t=int -DHAVE_DIRENT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_M
EMORY_H=1 -DHAVE_UNISTD_H=1 -DHAVE_MALLOC_H=1 -DHAVE_LIBM=1 -DNO_X11=1 -DMMAP_MI
SSES_WRITES=1 -DHAVE_STRERROR=1 -DHAVE_SNPRINTF=1 -DHAVE_MEMMOVE=1 -DHAVE_RINT=1
-DVA_COPY=va_copy -DHAVE_VA_COPY=1 -DMOZ_DEFAULT_TOOLKIT=\"windows\" -DMOZ_PHOE
NIX=1 -DMOZ_XUL_APP=1 -DMOZ_APP_NAME=\"firefox\" -DOJI=1 -DIBMBIDI=1 -DMOZ_VIEW_
SOURCE=1 -DMOZ_XPINSTALL=1 -DMOZ_JSLOADER=1 -DMOZ_MATHML=1 -DMOZ_LOGGING=1 -DDET
ECT_WEBSHELL_LEAKS=1 -DNS_TRACE_MALLOC=1 -DHAVE___CXA_DEMANGLE=1 -DMOZ_DEMANGLE_
SYMBOLS=1 -DMOZ_USER_DIR=\"Mozilla\" -DMOZ_XUL=1 -DMOZ_PROFILELOCKING=1 -DMOZ_DL
L_SUFFIX=\".dll\" -DJS_THREADSAFE=1 -DNS_PRINT_PREVIEW=1 -DNS_PRINTING=1 -DMOZ_R
EFLOW_PERF=1 -DMOZ_REFLOW_PERF_DSP=1 -DMOZILLA_LOCALE_VERSION=\"1.8a\" -DMOZILLA
_REGION_VERSION=\"1.8a\" -DMOZILLA_SKIN_VERSION=\"1.5\" -D_MOZILLA_CONFIG_H_ -D
MOZILLA_CLIENT /cygdrive/c/mozilla/mozilla/tools/trace-malloc/lib/nsTraceMalloc.
c
In file included from c:/mozilla/mozilla/tools/trace-malloc/lib/nsTraceMalloc.c:
67:
c:/mozilla/mozilla/tools/trace-malloc/lib/nsTraceMalloc.h:223: error: parse erro
r before "ptr"
In file included from c:/mozilla/mozilla/tools/trace-malloc/lib/nsTraceMalloc.c:
71:
c:/mozilla/mozilla/tools/trace-malloc/lib/nsStackFrameWin.h:44:41: warning: C++
style comments are not allowed in ISO C90
c:/mozilla/mozilla/tools/trace-malloc/lib/nsStackFrameWin.h:44:41: warning: (thi
s will be reported only once per input file)
In file included from c:/mozilla/mozilla/tools/trace-malloc/lib/nsTraceMalloc.c:
76:
c:/mozilla/mozilla/tools/trace-malloc/lib/nsTraceMallocCallbacks.h:19:8: warning
: C++ style comments are not allowed in ISO C90
c:/mozilla/mozilla/tools/trace-malloc/lib/nsTraceMallocCallbacks.h:19:8: warning
: (this will be reported only once per input file)
c:/mozilla/mozilla/tools/trace-malloc/lib/nsTraceMalloc.c: In function `calltree
':
c:/mozilla/mozilla/tools/trace-malloc/lib/nsTraceMalloc.c:628: error: `HANDLE' u
ndeclared (first use in this function)
c:/mozilla/mozilla/tools/trace-malloc/lib/nsTraceMalloc.c:628: error: (Each unde
clared identifier is reported only once
c:/mozilla/mozilla/tools/trace-malloc/lib/nsTraceMalloc.c:628: error: for each f
unction it appears in.)
c:/mozilla/mozilla/tools/trace-malloc/lib/nsTraceMalloc.c:628: error: parse erro
r before "myProcess"
c:/mozilla/mozilla/tools/trace-malloc/lib/nsTraceMalloc.c:630: error: `CONTEXT'
undeclared (first use in this function)
c:/mozilla/mozilla/tools/trace-malloc/lib/nsTraceMalloc.c:633: error: `STACKFRAM
E' undeclared (first use in this function)
c:/mozilla/mozilla/tools/trace-malloc/lib/nsTraceMalloc.c:633: error: parse erro
r before "frame"
c:/mozilla/mozilla/tools/trace-malloc/lib/nsTraceMalloc.c:642: error: `IMAGEHLP_
MODULE' undeclared (first use in this function)
c:/mozilla/mozilla/tools/trace-malloc/lib/nsTraceMalloc.c:642: error: parse erro
r before "imagehelp"
c:/mozilla/mozilla/tools/trace-malloc/lib/nsTraceMalloc.c:643: error: `IMAGEHLP_
SYMBOL' undeclared (first use in this function)
c:/mozilla/mozilla/tools/trace-malloc/lib/nsTraceMalloc.c:644: error: `PIMAGEHLP
_SYMBOL' undeclared (first use in this function)
c:/mozilla/mozilla/tools/trace-malloc/lib/nsTraceMalloc.c:644: error: parse erro
r before "symbol"
c:/mozilla/mozilla/tools/trace-malloc/lib/nsTraceMalloc.c:650: error: `IMAGEHLP_
LINE' undeclared (first use in this function)
c:/mozilla/mozilla/tools/trace-malloc/lib/nsTraceMalloc.c:650: error: parse erro
r before "imagehelpLine"
c:/mozilla/mozilla/tools/trace-malloc/lib/nsTraceMalloc.c:655: error: `imagehelp
' undeclared (first use in this function)
c:/mozilla/mozilla/tools/trace-malloc/lib/nsTraceMalloc.c:657: error: `myProcess
' undeclared (first use in this function)
c:/mozilla/mozilla/tools/trace-malloc/lib/nsTraceMalloc.c:657: warning: implicit
declaration of function `GetCurrentProcess'
c:/mozilla/mozilla/tools/trace-malloc/lib/nsTraceMalloc.c:658: error: `myThread'
undeclared (first use in this function)
c:/mozilla/mozilla/tools/trace-malloc/lib/nsTraceMalloc.c:658: warning: implicit
declaration of function `GetCurrentThread'
c:/mozilla/mozilla/tools/trace-malloc/lib/nsTraceMalloc.c:660: warning: implicit
declaration of function `EnsureSymInitialized'
c:/mozilla/mozilla/tools/trace-malloc/lib/nsTraceMalloc.c:669: error: `context'
undeclared (first use in this function)
c:/mozilla/mozilla/tools/trace-malloc/lib/nsTraceMalloc.c:669: error: `CONTEXT_F
ULL' undeclared (first use in this function)
c:/mozilla/mozilla/tools/trace-malloc/lib/nsTraceMalloc.c:670: warning: implicit
declaration of function `GetThreadContext'
c:/mozilla/mozilla/tools/trace-malloc/lib/nsTraceMalloc.c:675: error: `frame' un
declared (first use in this function)
c:/mozilla/mozilla/tools/trace-malloc/lib/nsTraceMalloc.c:677: error: `AddrModeF
lat' undeclared (first use in this function)
c:/mozilla/mozilla/tools/trace-malloc/lib/nsTraceMalloc.c:683: error: parse erro
r before "symbol"
c:/mozilla/mozilla/tools/trace-malloc/lib/nsTraceMalloc.c:687: warning: implicit
declaration of function `_StackWalk'
c:/mozilla/mozilla/tools/trace-malloc/lib/nsTraceMalloc.c:687: error: `IMAGE_FIL
E_MACHINE_I386' undeclared (first use in this function)
c:/mozilla/mozilla/tools/trace-malloc/lib/nsTraceMalloc.c:693: error: `_SymFunct
ionTableAccess' undeclared (first use in this function)
c:/mozilla/mozilla/tools/trace-malloc/lib/nsTraceMalloc.c:694: error: `_SymGetMo
duleBase' undeclared (first use in this function)
c:/mozilla/mozilla/tools/trace-malloc/lib/nsTraceMalloc.c:724: error: `DWORD' un
declared (first use in this function)
c:/mozilla/mozilla/tools/trace-malloc/lib/nsTraceMalloc.c:724: error: parse erro
r before "displacement"
c:/mozilla/mozilla/tools/trace-malloc/lib/nsTraceMalloc.c:774: error: `imagehelp
Line' undeclared (first use in this function)
c:/mozilla/mozilla/tools/trace-malloc/lib/nsTraceMalloc.c:775: warning: implicit
declaration of function `SymGetModuleInfoEspecial'
c:/mozilla/mozilla/tools/trace-malloc/lib/nsTraceMalloc.c:882: error: `symbol' u
ndeclared (first use in this function)
c:/mozilla/mozilla/tools/trace-malloc/lib/nsTraceMalloc.c:882: error: parse erro
r before "buf"
c:/mozilla/mozilla/tools/trace-malloc/lib/nsTraceMalloc.c:887: warning: implicit
declaration of function `_SymGetSymFromAddr'
c:/mozilla/mozilla/tools/trace-malloc/lib/nsTraceMalloc.c:889: error: `displacem
ent' undeclared (first use in this function)
c:/mozilla/mozilla/tools/trace-malloc/lib/nsTraceMalloc.c:895: warning: implicit
declaration of function `_SymUnDName'
c:/mozilla/mozilla/tools/trace-malloc/lib/nsTraceMalloc.c: At top level:
c:/mozilla/mozilla/tools/trace-malloc/lib/nsTraceMalloc.c:2082: error: parse err
or before "ptr"
c:/mozilla/mozilla/tools/trace-malloc/lib/nsTraceMalloc.c: In function `NS_Track
Allocation':
c:/mozilla/mozilla/tools/trace-malloc/lib/nsTraceMalloc.c:2087: error: `ofp' und
eclared (first use in this function)
c:/mozilla/mozilla/tools/trace-malloc/lib/nsTraceMalloc.c:2087: error: `ptr' und
eclared (first use in this function)
c:/mozilla/mozilla/tools/trace-malloc/lib/nsTraceMalloc.c:2088: warning: implici
t declaration of function `setlinebuf'
make[3]: *** [nsTraceMalloc.o] Error 1
make[3]: Leaving directory `/cygdrive/c/mozilla/mozilla/tools/trace-malloc/lib'
make[2]: *** [libs] Error 2
make[2]: Leaving directory `/cygdrive/c/mozilla/mozilla'
make[1]: *** [alldep] Error 2
make[1]: Leaving directory `/cygdrive/c/mozilla/mozilla'
make: *** [alldep] Error 2

C:\mozilla\mozilla>

2004-06-01

SET MOZ_NO_REMOTE=1.

http://bugzilla.mozilla.org/show_bug.cgi?id=112541

--enable-chrome-format=flat