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

6104 Коммитов

Автор SHA1 Сообщение Дата
seawood%netscape.com f7bf89f618 Remove global _POSIX_SOURCE & _SVID_SOURCE defines for linux.
Bug #202510 r=darin
2003-04-18 20:14:17 +00:00
ccarlen%netscape.com 806c4e65db 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 35e19dac59 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 130c3dec24 using strnicmp instead. r=darin 2003-04-18 05:43:41 +00:00
mkaply%us.ibm.com c33d0334cd 202480 for OS/2 2003-04-18 02:22:17 +00:00
dougt%netscape.com 5f9d31938b 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 899eaaa107 bug 201711. We were not uninstalling the component. r=darin 2003-04-18 00:46:34 +00:00
dbradley%netscape.com 6b9b5f339d 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 0b48cf638a 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 42ed2c232f 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 9a96f1f937 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 0fa63324ca 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 8e41040c94 Fixes a crash on shutdown. patch by bryner. r+sr=dougt 2003-04-12 07:16:31 +00:00
brendan%mozilla.org e81a02eeb2 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 c47f659d09 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 edeed1b17d win32 bustage-fix for bug 200709 2003-04-10 14:01:03 +00:00
bsmedberg%covad.net 2fe15728d7 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 9e50b7b363 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 5a9ee1e7e3 attempt 2 to fix mac os X bustage 2003-04-08 23:45:17 +00:00
dougt%netscape.com db53003e82 doh. missed a endif 2003-04-08 22:26:13 +00:00
dougt%netscape.com acf475c8a5 attempting to fix mac bustage 2003-04-08 21:51:58 +00:00
dougt%netscape.com ba320bcb27 spelling error fixed - thanks pkw@us.ibm.com. 2003-04-08 21:13:54 +00:00
dougt%netscape.com 051cd58d22 fixing mistake in help option 2003-04-08 20:58:08 +00:00
dougt%netscape.com f5841229f3 RegXPCOM rewrite - see bug 183075 for details. sr=darin & alecf 2003-04-08 20:46:17 +00:00
dougt%netscape.com 51d7281d32 Removing obsolete files r=dougt 2003-04-08 20:40:05 +00:00
dougt%netscape.com ef09d77cea removing removed NS_DEF_FACTORY and nsXPComFactory.h. r=alecf b=200750 2003-04-08 20:37:02 +00:00
dougt%netscape.com d2fa1050d2 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 403150f676 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 9885ed4d9c Bug 200662 - [OSX]GetCurrentProcessDirectory can fail. r=/sr=sfraser. 2003-04-07 14:29:56 +00:00
timeless%mozdev.org 37891802cb 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 23f3006361 Allowing assertion dialog to work in GRE / ActiveX control apps. See 181434. 2003-04-07 13:58:45 +00:00
ssu%netscape.com 669e313b68 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 5d6a45aa87 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 02767a1d4f 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
dbradley%netscape.com 41c00fb6af Fix for alecf's const bustage at line 1548 2003-04-04 16:39:31 +00:00
timeless%mozdev.org 68cf15b0df Bug 200424 nsEventQueueServiceImpl::GetThreadEventQueue might return NS_OK w/ null out [@ nsMemoryImpl::FlushMemory]
r=darin
2003-04-04 15:56:37 +00:00
alecf%netscape.com 6c75920da1 fix for bug 195298 - pldhash ops tables should be const.. r=dougt, sr=sfraser 2003-04-04 15:10:37 +00:00
seawood%netscape.com d7aeeb2bde Add explicit dependency upon mozilla-config.h
Bug #200574 r=dougt sr=dbaron
2003-04-04 04:50:58 +00:00
alecf%netscape.com 3a52f618a6 fix for bug 199170 - convert xpcom over to using static atoms
r=dougt, r=ccarlen
2003-04-03 20:02:03 +00:00
seawood%netscape.com 80e1b303cc Purge XP_PC.
Bug #56767 r=mkaply sr=alecf
2003-04-02 22:45:08 +00:00
alecf%netscape.com 0be7c71e1a remove #ifdef NS_DEBUG as per bug 200241
code was already reviewed, just moved out of #ifdef per bryner
2003-04-02 15:47:16 +00:00
seawood%netscape.com a9dc22843a msgCore.h seems to think that os2 has isalpha() too 2003-04-02 08:31:39 +00:00
jkeiser%netscape.com 57a1ab6f5c Templatized hashtable class by bsmedberg@covad.net (bug 180264), r=jkeiser@netscape.com, sr=alecf@netscape.com 2003-04-02 06:53:57 +00:00
darin%netscape.com 4363120933 fixes bug 199221 "provide inline implementations of common string methods" r=dbaron sr=jag 2003-04-02 06:24:47 +00:00
alecf%netscape.com c8aef61acf fix for bug 199170, convert layout to use nsStaticAtom. sr=dbaron 2003-04-02 04:51:07 +00:00
seawood%netscape.com 4957953e70 Obsoleting xp_str.h:
* Move XP_IS_ macros into nsCRT.h & rename them to NS_IS_
* Make local XP_IS_ macros use the nsCRT ones
* Remove NOT_NULL defines
Bug #199920 r=alecf sr=bryner
2003-04-01 19:38:12 +00:00
dbaron%dbaron.org a408871292 Use an autoconf test to set HAVE_CPP_TYPENAME. (fix bustage on newer versions of the IRIX native compiler) b=199625 r=bbaetz sr=brendan a=asa 2003-03-31 21:30:33 +00:00
seawood%netscape.com 84c16ec606 Do not place dependency upon mozilla meta-build targets as we're not parallel-safe across build phases.
Bug #183263 r=bryner,dcran a=asa
2003-03-31 20:54:37 +00:00
jst%netscape.com b4cc5d4695 Fixing bug 124412. Making nsXULDocument inherit nsXMLDocument to avoid the need to duplicate a large amount of code in nsXULDocument. Also removing nsMarkupDocument and nsIDOMEventCapturer that are no longer needed. Changing the inheritance of nsIDOMXULDocument to avoid ~60 or so forwarding methods, and doing a *lot* of code cleanup. r=bugmail@sicking.cc, sr=peterv@netscape.com 2003-03-26 07:41:30 +00:00
mkaply%us.ibm.com aeb162c3bd #188249
r=dbradley
OS/2 GCC changes
2003-03-26 04:18:02 +00:00