Граф коммитов

6118 Коммитов

Автор SHA1 Сообщение Дата
ccarlen%netscape.com 715525e672 Fix error in original patch to bug 190336. Using address-of operator on the result of a cast is wrong and fails on gcc only when producing optimized code. r=pinkerton/sr=sfraser/a=asa 2003-04-25 19:29:24 +00:00
dougt%meer.net 00fdff8b32 Enables generic module code to use DEPENDENT_LIBS if defined. Note that this is not enabled for XPCOM_GLUE since support for DEPENDENT_LIBS requires an unfrozen interface. b=193442, r=alec@flett.org, a=sspitzer@netscape.com 2003-04-25 04:48:22 +00:00
bsmedberg%covad.net 6e1d160a48 Fixing AIX bustage. r=jdunn a=mkaply/ycalonje 2003-04-24 16:01:24 +00:00
bsmedberg%covad.net 037d48c62a Fix for mac build bustage, with ccarlen. Cleanup from bug 201034. 2003-04-24 05:27:10 +00:00
bsmedberg%covad.net 5c359c6889 Attempting to fix Mac build bustage. 2003-04-24 03:29:19 +00:00
bsmedberg%covad.net 85dedad033 Bug 201034 non-const enumeration in nsBaseHashtable, add
nsTHashtable::RawRemove. Add a hashtable test-suite, and
clean up some codesize issues. Also fixes bug 203030 and
hopefully SunOS build bustage. r=jkeiser sr=alecf a=asa
2003-04-24 01:54:57 +00:00
brendan%mozilla.org 61e651bfec Remove copy-pasted scope qualifier for ReadSegments decl, jdunn says HP aCC barfs on it (a=leaf). 2003-04-23 16:48:08 +00:00
gordon%netscape.com 40094b39d9 Fix bug 105344. r=saari, sr=darin. 2003-04-23 05:05:16 +00:00
mkaply%us.ibm.com b5af105e51 OK, should be final - need PR_CALLBACK here 2003-04-23 04:51:42 +00:00
mkaply%us.ibm.com 12349a4614 Putting this back because I think it might break stuff - OS/2 will be broke however 2003-04-23 04:42:35 +00:00
mkaply%us.ibm.com 48ea6a37aa One more PR_CALLBACK 2003-04-23 04:38:40 +00:00
mkaply%us.ibm.com 113b1ffd7a OS/2 bustage - PR_CALLBACK stuff 2003-04-23 04:33:14 +00:00
cls%seawood.org ec0eb750a2 Change the naming scheme for the mingw libraries to use the following format:
static lib: libfoo.a
import lib: libfoo.dll.a
shared lib: foo.dll
Bug #134113 r=dmose
2003-04-23 00:54:38 +00:00
jst%netscape.com 31af8ab2ca Fixing bug 199399. Eliminating the interfaces nsIXMLDocument now that it's not needed any more. r=peterv@netscape.com, sr=heikki@netscape.com 2003-04-22 21:57:25 +00:00
ccarlen%netscape.com 477e2b7087 Bug 202798 - Save page as fails when downloads.rdf does not exist (new Profile) r=varga/sr=sfraser 2003-04-21 21:43:38 +00:00
bryner%netscape.com 751c5b4009 Use the correct filename for libxpcom on OS X. Bug 202686, r+sr=dougt. 2003-04-20 17:59:47 +00:00
seawood%netscape.com 8893b1e6fd Remove global _POSIX_SOURCE & _SVID_SOURCE defines for linux.
Bug #202510 r=darin
2003-04-18 20:14:17 +00:00
ccarlen%netscape.com 9aee0e4387 Part of bug 190336 - makes nsFileSpec use base64 encoded aliases for persistent descriptor - as does nsILocalFile and nsFileSpec in CFM build. Patch by sfraser, r=ccarlen/sr=sspitzer 2003-04-18 14:18:53 +00:00
ccarlen%netscape.com bff945a71a Bug 164396 - Change internal representation of file from FSRef to CFURL, reducing conversions between path and FSRef and fixing other bugs. 2nd checkin of this after testing on other Tinderboxen showed Ts improvement. r=sdagley/sr=sfraser 2003-04-18 13:50:38 +00:00
dougt%netscape.com 1a10cdb8e2 using strnicmp instead. r=darin 2003-04-18 05:43:41 +00:00
mkaply%us.ibm.com 21b4c9b29d 202480 for OS/2 2003-04-18 02:22:17 +00:00
dougt%netscape.com b7c3e27952 bug 202480. Windows doesn't care about case. ::Contains must not either. r=darin 2003-04-18 00:48:38 +00:00
dougt%netscape.com 1a3d8d508f bug 201711. We were not uninstalling the component. r=darin 2003-04-18 00:46:34 +00:00
dbradley%netscape.com 4286806dca Bug 195736 - Small change to xptcinvoke_gcc_x86_unix.cpp. r=dbradley, sr=shaver 2003-04-16 13:30:44 +00:00
alecf%netscape.com 2354d05a20 fix for bug 199170 - more static atom work in xpcom, chrome registry, rdf, and profile dir service provider.. sr=bryner, r=ccarlen 2003-04-15 22:19:01 +00:00
darin%netscape.com bf110f8e7f fixes bug 201574 "Many Unaligned access messages when reading XUL.mfasl" r/sr=alecf,brendan 2003-04-15 18:17:54 +00:00
dougt%netscape.com 3b386adda0 now correctly determines when two services race on a single cid. patch by mscott+dougt, r=dbaron, b=194568.\nalso removes xpcom component release location sr=alecf b=201263 2003-04-14 20:50:14 +00:00
dougt%netscape.com 7c7906f90c Fixes bug - Mozilla fails to run due to missing StubNNN global data. r=dbradley bug=201490. patch submitted by jim@rrsl.rsmas.miami.edu 2003-04-14 20:43:22 +00:00
dougt%netscape.com 022b220736 Fixes a crash on shutdown. patch by bryner. r+sr=dougt 2003-04-12 07:16:31 +00:00
brendan%mozilla.org 36867f5dc9 Reduce seeks outside the FastLoad file's underlying stream buffer (195010,
r=ben, sr=bryner).

- Pass null scope objects into nsIScriptContext::Compile{EventHandler,Script}
when precompiling for brutal sharing.  The JS engine does not need a non-null
object parameter for static scope.  That parameter can be non-null only if it
helps the compiler "pre-bind" functions to the same scope object that they'll
be parented by when executing, but with brutal sharing, functions are
precompiled once and executed against many different scope objects.

- A problem in XUL FastLoad was that it would serialize master .xul document
out-of-line scripts (those included via script src= from non-overlay, "master"
.xul docs) far from the place in the FastLoad file where XUL prototype script
info was serialized for the <script src=> tag itself.  I fixed that so that,
unless the out-of-line script was previously serialized (by a different src=
reference from another .xul file), the OOL script data immediately follows the
proto-script info in the FastLoad file.

This required adding a SerializeOutOfLine method to nsXULPrototypeScript, which
restores symmetry by matching the existing DeserializeOutOfLine(Script) (note:
I dropped the redundant "Script" from the end of the latter method's name.  We
need SerializeOutOfLine to handle overlay OOL scripts.	They are serialized by
nsXULDocument::OnStreamComplete, because that code knows the difference between
an overlay and a master doc.  This removes all trace of FastLoad writing from
nsXULPrototypeScript::Compile -- FastLoad stuff didn't belong there, not only
because we now want to write master OOL scripts later, when walking the master
XUL prototype doc's element tree, but also for modularity reasons.  The caller
knows about FastLoad, nsXULPrototypeScript::Compile does just what its name
implies.

There are 132 seeks with the patch, only 49 of which dump the underlying file
stream's buffer, vs. 133 seeks without the patch, 87 of which dump the buffer.

- Nit-picked some comments to fit in 80 columns, and made other cosmetic fixes.

- Implicated the nsXULDocument::mIsWritingFastLoad flag from the useXULCache
"is the XUL cache enabled?" flag, so other places that test mIsWritingFastLoad
don't have to query whether the cache is enabled.

- Added METERING synchronous meter-dumping to /tmp/bufstats, only ifdef
DEBUG_brendan, in netwerk/base/src/nsBufferedStreams.cpp.

- Added the deferred seek optimization from the first patch in bug 195010 to
nsFastLoadFile.cpp.

- Fixed nsFastLoadFileReader so it overrides readSegments as well as read.
This catches up with the interface extension made to nsIInputStream to add
readSegments.  The nsFastLoadFileReader extends nsBinaryInputStream, which is
a concrete class, and overrides Read in order to snoop on *all* bytes read.
It does this in order to demultiplex documents interleaved when the FastLoad
file was written.

But since the readSegments move into nsIInputStream.idl, certain primitives
in nsBinaryStream.cpp, e.g., nsBinaryInputStream::ReadCString, have used
ReadSegments, not Read, to consume parts of the underlying stream (to read
the C string's chars, in that example), and the FastLoad file implementation
has not accounted for those bytes.

- Added a new method to nsIFastLoadFileControl and its impls: hasMuxedDocument.
 This is needed when serializing master XUL doc OOL scripts, because we must
not serialize twice, and any OOL script that other XUL docs can include via
script src= could already be in the FastLoad mux.

/be
2003-04-12 01:34:11 +00:00
bsmedberg%covad.net d4f3a4425a forgot Makefile.in bug 200709 r=jkeiser sr=alecf Many apologies, this is my first mozilla checkin. 2003-04-10 14:14:32 +00:00
bsmedberg%covad.net 41738b7d04 win32 bustage-fix for bug 200709 2003-04-10 14:01:03 +00:00
bsmedberg%covad.net a3016658f7 bug 200709 remove dynamic linking of nsTHashtable and family. r=jkeiser sr=alecf 2003-04-10 13:27:16 +00:00
mhammond%skippinet.com.au 3ca8d45c90 Fix bug 200893 - Timeline Service is not thread aware,
and bug 200204 - Timeline service should expose NS_TIMELINE_MARK_TIMER1
sr=alecf, r=alecf/dougt
2003-04-10 05:39:46 +00:00
dougt%netscape.com 0cf108b3cd attempt 2 to fix mac os X bustage 2003-04-08 23:45:17 +00:00
dougt%netscape.com deed4fef7d doh. missed a endif 2003-04-08 22:26:13 +00:00
dougt%netscape.com e20ecc75e6 attempting to fix mac bustage 2003-04-08 21:51:58 +00:00
dougt%netscape.com 9c5b096bbc spelling error fixed - thanks pkw@us.ibm.com. 2003-04-08 21:13:54 +00:00
dougt%netscape.com 727ce176b0 fixing mistake in help option 2003-04-08 20:58:08 +00:00
dougt%netscape.com b97a562454 RegXPCOM rewrite - see bug 183075 for details. sr=darin & alecf 2003-04-08 20:46:17 +00:00
dougt%netscape.com 692486f4e1 Removing obsolete files r=dougt 2003-04-08 20:40:05 +00:00
dougt%netscape.com 4365133d06 removing removed NS_DEF_FACTORY and nsXPComFactory.h. r=alecf b=200750 2003-04-08 20:37:02 +00:00
dougt%netscape.com 7f9090ccda removing status and registry locations from xcdll. These two members are not being used. r=alecf. b=200722 2003-04-08 20:29:43 +00:00
alecf%netscape.com 3173b4f529 rev the nsIUnicharInputStream IID, since the mozdev spell checker was using it
(no reviewer, just an IID rev)
2003-04-08 00:39:19 +00:00
ccarlen%netscape.com 28c0f231a8 Bug 200662 - [OSX]GetCurrentProcessDirectory can fail. r=/sr=sfraser. 2003-04-07 14:29:56 +00:00
timeless%mozdev.org 8ef60b9603 Bug 199006 there are two independent initializations of nsMemoryImpl before Init_XPCOM2 finishes
r=dougt
2003-04-07 14:20:19 +00:00
dougt%netscape.com d21224b2c0 Allowing assertion dialog to work in GRE / ActiveX control apps. See 181434. 2003-04-07 13:58:45 +00:00
ssu%netscape.com d6eb21003a fixing bug 195148 - XPInstall API's getFolder should support Classic and OSX folders under OSX. r=ccarlen,dougt sr=sspitzer 2003-04-07 07:02:32 +00:00
darin%netscape.com 488974aec7 fixes bug 193918 "pipe should better utilize current segment (rollback write cursor whenever read cursor == write cursor)" r=dougt sr=bz 2003-04-05 02:02:09 +00:00
jkeiser%netscape.com 1085e1b4e9 Warning fixes (bug 200709), patch by bsmedberg@covad.net, r=jkeiser@netscape.com, sr=alecf@netscape.com 2003-04-05 00:16:32 +00:00