6067 Commits

Author SHA1 Message Date
ccarlen%netscape.com
c64a019647 Bug 202798 - Save page as fails when downloads.rdf does not exist (new Profile) r=varga/sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@141531 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-21 21:43:38 +00:00
bryner%netscape.com
4bee2e1153 Use the correct filename for libxpcom on OS X. Bug 202686, r+sr=dougt.
git-svn-id: svn://10.0.0.236/trunk@141475 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-20 17:59:47 +00:00
seawood%netscape.com
3b350b75cd Remove global _POSIX_SOURCE & _SVID_SOURCE defines for linux.
Bug #202510 r=darin


git-svn-id: svn://10.0.0.236/trunk@141408 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-18 20:14:17 +00:00
ccarlen%netscape.com
b81890b917 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
git-svn-id: svn://10.0.0.236/trunk@141388 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-18 14:18:53 +00:00
ccarlen%netscape.com
8a64538c4b 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
git-svn-id: svn://10.0.0.236/trunk@141381 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-18 13:50:38 +00:00
dougt%netscape.com
1692de2512 using strnicmp instead. r=darin
git-svn-id: svn://10.0.0.236/trunk@141362 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-18 05:43:41 +00:00
mkaply%us.ibm.com
1527023f41 202480 for OS/2
git-svn-id: svn://10.0.0.236/trunk@141357 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-18 02:22:17 +00:00
dougt%netscape.com
ea5682a29c bug 202480. Windows doesn't care about case. ::Contains must not either. r=darin
git-svn-id: svn://10.0.0.236/trunk@141349 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-18 00:48:38 +00:00
dougt%netscape.com
c19388fec5 bug 201711. We were not uninstalling the component. r=darin
git-svn-id: svn://10.0.0.236/trunk@141348 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-18 00:46:34 +00:00
dbradley%netscape.com
70c30364e3 Bug 195736 - Small change to xptcinvoke_gcc_x86_unix.cpp. r=dbradley, sr=shaver
git-svn-id: svn://10.0.0.236/trunk@141242 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-16 13:30:44 +00:00
alecf%netscape.com
b514d56ca5 fix for bug 199170 - more static atom work in xpcom, chrome registry, rdf, and profile dir service provider.. sr=bryner, r=ccarlen
git-svn-id: svn://10.0.0.236/trunk@141199 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-15 22:19:01 +00:00
darin%netscape.com
6fb2f64a45 fixes bug 201574 "Many Unaligned access messages when reading XUL.mfasl" r/sr=alecf,brendan
git-svn-id: svn://10.0.0.236/trunk@141189 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-15 18:17:54 +00:00
dougt%netscape.com
89089054dc 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
git-svn-id: svn://10.0.0.236/trunk@141128 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-14 20:50:14 +00:00
dougt%netscape.com
0f51d838a7 Fixes bug - Mozilla fails to run due to missing StubNNN global data. r=dbradley bug=201490. patch submitted by jim@rrsl.rsmas.miami.edu
git-svn-id: svn://10.0.0.236/trunk@141127 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-14 20:43:22 +00:00
dougt%netscape.com
267f519b22 Fixes a crash on shutdown. patch by bryner. r+sr=dougt
git-svn-id: svn://10.0.0.236/trunk@141059 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-12 07:16:31 +00:00
brendan%mozilla.org
271e886eb3 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


git-svn-id: svn://10.0.0.236/trunk@141047 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-12 01:34:11 +00:00
bsmedberg%covad.net
062f86d6e3 forgot Makefile.in bug 200709 r=jkeiser sr=alecf Many apologies, this is my first mozilla checkin.
git-svn-id: svn://10.0.0.236/trunk@140971 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-10 14:14:32 +00:00
bsmedberg%covad.net
2c502145aa win32 bustage-fix for bug 200709
git-svn-id: svn://10.0.0.236/trunk@140970 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-10 14:01:03 +00:00
bsmedberg%covad.net
2151b43815 bug 200709 remove dynamic linking of nsTHashtable and family. r=jkeiser sr=alecf
git-svn-id: svn://10.0.0.236/trunk@140969 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-10 13:27:16 +00:00
mhammond%skippinet.com.au
78d983040a 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


git-svn-id: svn://10.0.0.236/trunk@140963 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-10 05:39:46 +00:00
dougt%netscape.com
d1364544e7 attempt 2 to fix mac os X bustage
git-svn-id: svn://10.0.0.236/trunk@140880 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-08 23:45:17 +00:00
dougt%netscape.com
fbd5443c8c doh. missed a endif
git-svn-id: svn://10.0.0.236/trunk@140877 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-08 22:26:13 +00:00
dougt%netscape.com
93df0f2658 attempting to fix mac bustage
git-svn-id: svn://10.0.0.236/trunk@140869 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-08 21:51:58 +00:00
dougt%netscape.com
3410e51cf4 spelling error fixed - thanks pkw@us.ibm.com.
git-svn-id: svn://10.0.0.236/trunk@140867 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-08 21:13:54 +00:00
dougt%netscape.com
196b953d34 fixing mistake in help option
git-svn-id: svn://10.0.0.236/trunk@140864 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-08 20:58:08 +00:00
dougt%netscape.com
a199957be1 RegXPCOM rewrite - see bug 183075 for details. sr=darin & alecf
git-svn-id: svn://10.0.0.236/trunk@140856 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-08 20:46:17 +00:00
dougt%netscape.com
539f10d62a Removing obsolete files r=dougt
git-svn-id: svn://10.0.0.236/trunk@140854 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-08 20:40:05 +00:00
dougt%netscape.com
fdffcd9198 removing removed NS_DEF_FACTORY and nsXPComFactory.h. r=alecf b=200750
git-svn-id: svn://10.0.0.236/trunk@140853 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-08 20:37:02 +00:00
dougt%netscape.com
4153606096 removing status and registry locations from xcdll. These two members are not being used. r=alecf. b=200722
git-svn-id: svn://10.0.0.236/trunk@140851 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-08 20:29:43 +00:00
alecf%netscape.com
5d27a0b2ff rev the nsIUnicharInputStream IID, since the mozdev spell checker was using it
(no reviewer, just an IID rev)


git-svn-id: svn://10.0.0.236/trunk@140829 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-08 00:39:19 +00:00
ccarlen%netscape.com
f41eee9b95 Bug 200662 - [OSX]GetCurrentProcessDirectory can fail. r=/sr=sfraser.
git-svn-id: svn://10.0.0.236/trunk@140806 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-07 14:29:56 +00:00
timeless%mozdev.org
31f7fae4f0 Bug 199006 there are two independent initializations of nsMemoryImpl before Init_XPCOM2 finishes
r=dougt


git-svn-id: svn://10.0.0.236/trunk@140804 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-07 14:20:19 +00:00
dougt%netscape.com
2426fb6bb1 Allowing assertion dialog to work in GRE / ActiveX control apps. See 181434.
git-svn-id: svn://10.0.0.236/trunk@140803 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-07 13:58:45 +00:00
ssu%netscape.com
7bcfb95f5b fixing bug 195148 - XPInstall API's getFolder should support Classic and OSX folders under OSX. r=ccarlen,dougt sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@140789 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-07 07:02:32 +00:00
darin%netscape.com
4ce36801bf fixes bug 193918 "pipe should better utilize current segment (rollback write cursor whenever read cursor == write cursor)" r=dougt sr=bz
git-svn-id: svn://10.0.0.236/trunk@140737 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-05 02:02:09 +00:00
jkeiser%netscape.com
7f5c58a0a0 Warning fixes (bug 200709), patch by bsmedberg@covad.net, r=jkeiser@netscape.com, sr=alecf@netscape.com
git-svn-id: svn://10.0.0.236/trunk@140733 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-05 00:16:32 +00:00
dbradley%netscape.com
dc3c50a5a2 Fix for alecf's const bustage at line 1548
git-svn-id: svn://10.0.0.236/trunk@140704 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-04 16:39:31 +00:00
timeless%mozdev.org
f7b26c1d78 Bug 200424 nsEventQueueServiceImpl::GetThreadEventQueue might return NS_OK w/ null out [@ nsMemoryImpl::FlushMemory]
r=darin


git-svn-id: svn://10.0.0.236/trunk@140702 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-04 15:56:37 +00:00
alecf%netscape.com
8d4f1935a6 fix for bug 195298 - pldhash ops tables should be const.. r=dougt, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@140696 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-04 15:10:37 +00:00
seawood%netscape.com
d664a38a67 Add explicit dependency upon mozilla-config.h
Bug #200574 r=dougt sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@140675 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-04 04:50:58 +00:00
alecf%netscape.com
daf11f6832 fix for bug 199170 - convert xpcom over to using static atoms
r=dougt, r=ccarlen


git-svn-id: svn://10.0.0.236/trunk@140652 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-03 20:02:03 +00:00
seawood%netscape.com
5921049139 Purge XP_PC.
Bug #56767 r=mkaply sr=alecf


git-svn-id: svn://10.0.0.236/trunk@140602 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-02 22:45:08 +00:00
alecf%netscape.com
d9d575a55b remove #ifdef NS_DEBUG as per bug 200241
code was already reviewed, just moved out of #ifdef per bryner


git-svn-id: svn://10.0.0.236/trunk@140593 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-02 15:47:16 +00:00
seawood%netscape.com
ae6ed306ca msgCore.h seems to think that os2 has isalpha() too
git-svn-id: svn://10.0.0.236/trunk@140577 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-02 08:31:39 +00:00
jkeiser%netscape.com
3358821b5e Templatized hashtable class by bsmedberg@covad.net (bug 180264), r=jkeiser@netscape.com, sr=alecf@netscape.com
git-svn-id: svn://10.0.0.236/trunk@140570 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-02 06:53:57 +00:00
darin%netscape.com
ccf746783b fixes bug 199221 "provide inline implementations of common string methods" r=dbaron sr=jag
git-svn-id: svn://10.0.0.236/trunk@140568 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-02 06:24:47 +00:00
alecf%netscape.com
bc74aa5083 fix for bug 199170, convert layout to use nsStaticAtom. sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@140556 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-02 04:51:07 +00:00
seawood%netscape.com
8480117132 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


git-svn-id: svn://10.0.0.236/trunk@140498 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-01 19:38:12 +00:00
dbaron%dbaron.org
dd955ffdf2 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
git-svn-id: svn://10.0.0.236/trunk@140466 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-31 21:30:33 +00:00
seawood%netscape.com
8340936c55 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


git-svn-id: svn://10.0.0.236/trunk@140461 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-31 20:54:37 +00:00