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

6288 Коммитов

Автор SHA1 Сообщение Дата
jdunn%netscape.com 2d3f50e8e5 fixing xptcstub code for hp-ux ia-64 for kishan@cup.hp.com
# 146722
r=dbradley@netscape.com
sr=shaver@mozilla.org
a=sspitzer@netscape.com
2003-05-21 19:11:29 +00:00
sgehani%netscape.com e8d18aa73a Make GetFSRefInternal assume NS_ERROR_FILE_NOT_FOUND when CFURLGetFSRef
returns false.
b=202772; r=ssu, ccarlen; sr=sfraser; a=asa
2003-05-21 00:53:36 +00:00
dbaron%dbaron.org edc9e422d6 Fix gcc3 builds on Solaris/x86. r=dbradley sr=brendan a=asa b=149461 2003-05-20 20:47:12 +00:00
blizzard%redhat.com a0bc978ac7 Missed file for checkin for bug #205752. 2003-05-20 18:52:40 +00:00
blizzard%redhat.com b179db4271 Bug #205752. Support a directory for gre config files: /etc/gre.d/ r=dougt,a=asa 2003-05-20 17:43:12 +00:00
timeless%mozdev.org 279209f254 Bug 206287 things Will be re-ordered to match declaration order
r=roc+moz sr=roc+moz a=roc+moz
2003-05-20 02:02:56 +00:00
dougt%meer.net 5bbc5dcc41 disabling unloading of dependent libraries on HPUX. On tihs and possibly other platforms there is no reference count on dso's. This means that when unload is called, the libraries is actually unloaded causing a crash. b=204804, r=blizzard 2003-05-16 13:24:55 +00:00
dbaron%dbaron.org 9692e0225d Fix bustage on Sun Workshop compiler (nebiros tinderbox). r=darin 2003-05-16 00:52:17 +00:00
darin%netscape.com 55a0686892 fixes bug 162025 "UNC Based Profiles don't work" r=dougt sr=dbaron a=asa 2003-05-14 21:56:49 +00:00
dougt%meer.net 4711141981 Stacks nsFactoryEntry's so that we can support overloading factories a bit better. r=darin, a=blizzard, b=204870 2003-05-13 22:50:03 +00:00
bsmedberg%covad.net bab262babb Fix ANSI-strict compiler errors using GCC 3.4 (from CVS). bug 201407 r=jkeiser sr=brendan a=sspitzer 2003-05-11 01:28:03 +00:00
jrgm%netscape.com b7d96d41f2 don't check for SHGetSpecialFolderPathA in shfolder.dll (cause it won't be there) and load the 'ansi' proc name from shell32.dll, bug 204246, r+sr=dougt, a=asa 2003-05-08 20:41:20 +00:00
dougt%meer.net 54df90c9d3 Sets the current directory to the process directory at startup. This is to avoid a potential problem with embedding applications calling ShellExecute where the working directory parameter. This results in the new process inheriting the current working directory of the old process. See bug 202363. r=wtc@netscape.com, a=asa@mozilla.org 2003-05-08 18:42:15 +00:00
dougt%meer.net 77ed871936 Backing out dependent library loading on windows. Fixes 204676. 2003-05-07 18:39:47 +00:00
dougt%meer.net 30322e74a7 Missed this checkin when I landed. It is required to prevent a hang. I am also disabling some DEBUG_dougt code. r=darin, a=seth, bug=193442 2003-05-05 06:06:57 +00:00
dougt%meer.net 24e73cb659 Fixing static build bustage. Need to translate names 2003-05-04 23:32:53 +00:00
dougt%meer.net 09f49c0aa3 Adding a dependent_libs cache. b=193442, r=darin, a=seth 2003-05-03 00:54:20 +00:00
ccarlen%netscape.com 5cde65560f Profile sharing - changes to profile dirserviceprovider, a component to control whether sharing is enabled. bug=202474, rs=dougt/sr=darin/a=asa 2003-05-02 03:59:23 +00:00
dougt%meer.net 18d99978a3 Fixing up the comment so that it doesn't include params which are not there. r=me. Thanks to Ellen Evans for pointing this out. 2003-05-01 23:28:38 +00:00
ssu%netscape.com b5214fa2f7 fixing bug 125106 - general nsIFile converter change hosed XPInstall intl filenames. r=dveditz, sr=alecf, a=sspitzer 2003-04-30 06:49:04 +00:00
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
dbradley%netscape.com d18471017d Fix for alecf's const bustage at line 1548 2003-04-04 16:39:31 +00:00
timeless%mozdev.org cfe617a4a7 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 5f29256c3a 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 e8fc5a0fb0 Add explicit dependency upon mozilla-config.h
Bug #200574 r=dougt sr=dbaron
2003-04-04 04:50:58 +00:00
alecf%netscape.com 83708b199e 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 de59dbee4b Purge XP_PC.
Bug #56767 r=mkaply sr=alecf
2003-04-02 22:45:08 +00:00
alecf%netscape.com 455721ccbd 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 86ddc70947 msgCore.h seems to think that os2 has isalpha() too 2003-04-02 08:31:39 +00:00
jkeiser%netscape.com 7e5cb780d7 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 860e34f0b9 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 a09a98f6d9 fix for bug 199170, convert layout to use nsStaticAtom. sr=dbaron 2003-04-02 04:51:07 +00:00
seawood%netscape.com 92be0f5be9 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 0ce213e52c 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 b1cbce922b 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 14882c9d0c 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 4f6c56114b #188249
r=dbradley
OS/2 GCC changes
2003-03-26 04:18:02 +00:00
alecf%netscape.com 3c16ca0c29 one more thing for bug 195262 - export nsStaticAtom.h - not used anywhere yet 2003-03-25 21:46:33 +00:00
sicking%bigfoot.com 9ef18d9fe4 Preparation for bug 185797, compiled XSLT stylesheets.
r=Pike rs=peterv
2003-03-25 20:28:09 +00:00
alecf%netscape.com 925955c81d landing attempt #2 for 195262 - support for static atoms, and converting atoms over to UTF8 to reduce bloat - now without performance regressions!
sr=darin, r=dbaron
2003-03-25 18:55:59 +00:00
timeless%mozdev.org c28bdae7df Bug 190058 Remove xpcom/tests/TestBuffers.cpp
r=darin sr=darin
2003-03-25 16:11:01 +00:00
dbaron%dbaron.org 03e008637d Fix shutdown leaks in nsTraceRefcnt. b=63665 r=timeless sr=alecf 2003-03-25 14:53:01 +00:00
neil%parkwaycc.co.uk 151fda3677 Bug 198685 need nsCOMArray function like IndexOf that checks COM object identity p=bsmedberg@covad.net r=alecf (no sr needed) 2003-03-25 13:16:02 +00:00
jshin%mailaps.org b9b88d097e bug 191542 : Add UTF-8 equivalent of |IsASCII|, IsUTF8. r=smontagu, sr=alecf 2003-03-25 08:11:13 +00:00
dbradley%netscape.com f39a1394b6 Bug 189922 - Uninitialized variable in xpcom/typelib/xpt/src/xpt_struct. r=timeless, sr=jst 2003-03-25 07:07:48 +00:00
seawood%netscape.com d22fae6492 Fix signature of standalone embedstring version of |Distance|.
Bug #198276 r=jag sr=dbaron
2003-03-25 06:46:49 +00:00
darin%netscape.com 69ba0c2280 removing dead code 2003-03-25 02:10:41 +00:00
darin%netscape.com 9fe467d7a9 fixes bug 192352 "~ns{In,Out}putStreamReadyEvent should check nsIEventQueue::isQueueOnCurrentThread"
r+sr=dougt
2003-03-25 02:10:11 +00:00
brendan%mozilla.org c92b2cbbb3 White-space, bracing, and 80th column style fixes, r=self. 2003-03-25 01:38:53 +00:00
timeless%mozdev.org 965ba28bb1 Bug 106386 rid source of misspellings
patch by nb@ipnode.info r=biesi sr=dmose
2003-03-24 04:15:34 +00:00
peterlubczynski%netscape.com a5e6cdbebf Checking in fix to bug 198317 for Roland.Mainz@informatik.med.uni-giessen.de r=cls sr=jag 2003-03-22 03:39:40 +00:00
dbradley%netscape.com 9399354a02 Bug 198601 - Moves QI outside of RegisterGenericFactory. r/sr=dougt 2003-03-22 02:04:53 +00:00
mkaply%us.ibm.com 94ef89de9c #188249
r=dougt
Cleanup Makefiles, OS/2 GCC landing
2003-03-21 22:26:41 +00:00
mkaply%us.ibm.com 2cf9e005ba #188249
r=dougt
Cleanup Makefiles, OS/2 GCC landing
2003-03-21 22:20:04 +00:00
ssu%netscape.com 1a5f9f33b8 fixing bug 186088 - Mozilla crashes during installation of XPI Packages [@ nsInstallFile::CreateAllFolders]. r=ccarlen,sr=dveditz 2003-03-21 22:18:17 +00:00
alecf%netscape.com 61bdd865f1 just relanding this file - not part of build yet - to make relanding bug 195262 easier
(its been r=dbaron, sr=darin'ed already)
2003-03-21 20:35:14 +00:00
alecf%netscape.com 16af458ceb backout my static atom patch for now until I figure out the performance loss! :(
bug 195262
2003-03-21 20:13:08 +00:00
alecf%netscape.com 5c7ef8c800 oops, don't free the arena pool if we never allocated it!
duh.
fixes a shutdown crash
2003-03-21 08:38:56 +00:00
alecf%netscape.com 0eabf2a73d oops, and TestPermanentAtoms 2003-03-21 06:35:14 +00:00
alecf%netscape.com 2d72cd4cd8 oops, land TestAtoms from the previous patch 2003-03-21 06:34:23 +00:00
alecf%netscape.com c4ea07bc53 fix for bug 195262:
- convert atoms to UTF8 because 99% of the time, that is what they are used for
- add support for static atoms, where the strings are declared in a large const array and not copied into the heap
r=dbaron, sr=darin

this is an experimental landing - if there are performance issues, I will back it out.
2003-03-21 06:26:32 +00:00
ccarlen%netscape.com 92ad0870c0 Backing out due to huge Ts increase 2003-03-20 08:45:50 +00:00
ccarlen%netscape.com 5d0894cf7d Bug 164396 - [OS X]Reduce conversions between path and FSRef. Changes internal representation to not use FSRef which should fix various bugs. r=sdagley/sr=sfraser 2003-03-20 06:05:03 +00:00
seawood%netscape.com 96c195bdcf Change |Distance| definitions to match forward declaration in nsReadableUtils.h. Fixing Forte bustage.
Thanks to David Baron <dbaron@dbaron.org> for the patch.
Bug #198276 r=jag sr=bz
2003-03-20 04:52:54 +00:00
bzbarsky%mit.edu 14afd7785e fix build bustage 2003-03-20 03:40:26 +00:00
alecf%netscape.com dfdbceb051 fix an assertion from nsCOMArray where ReplaceElementAt() wouldn't property extend the array because we were just using ObjectAt()
residual stuff from bug 197827, which caused an assertion browsing frame
patch by keeda@hotpop.com, r/sr=alecf
2003-03-20 02:34:11 +00:00
bzbarsky%mit.edu 5a829e126a Fix some spelling errors in comments. Bug 106386, patch by Nicholas Bebout
<nb@ipnode.info>, r=doron, sr=dmose
2003-03-19 04:35:08 +00:00
dougt%netscape.com c0027f8247 defined correctly fixed 2003-03-19 02:16:07 +00:00
dougt%netscape.com 307c0ae1f2 pilot error 2003-03-19 02:11:34 +00:00
dougt%netscape.com 9a3eacfc95 relanding dwitte's string work "Excessive inlining in string libs" with a minor change to fix a build bustage. bug 196506. r=dbaron, sr=alec 2003-03-18 23:48:44 +00:00
dougt%netscape.com ec399b6f3f removing obsolete file r=me 2003-03-18 23:02:06 +00:00
dougt%netscape.com beb0502643 Removing dead code. b=198023, r=darin, sr=dbaron 2003-03-18 20:34:19 +00:00
dbaron%dbaron.org 17ec56b4a9 Fix bustage on IRIX 6.5 tinderbox (native compiler) with another platform test. b=66134 2003-03-18 15:12:20 +00:00
dbaron%dbaron.org 8b28b21262 Change AIX_XLC_364 ifdef back to AIX due to linker errors on current AIX tinderbox. b=66134 2003-03-18 05:50:53 +00:00
heikki%netscape.com 05572e0ec1 Backing out bug 196506 and build fix attempt. 2003-03-18 01:58:15 +00:00
heikki%netscape.com 94f8f557af Bustage fix from dwitte. 2003-03-18 01:17:18 +00:00
sfraser%netscape.com ff2edba8d3 Fix bad error handling (PRBool vs. nsresult mixup). Bug 197739. r=dbradley, sr=jst 2003-03-17 23:32:41 +00:00
timeless%mozdev.org 91fa94823e Bug 196506 Excessive inlining in string libs: Substring()
patch by mvl@exedo.nl r=dougt sr=alecf
2003-03-17 23:16:16 +00:00
seawood%netscape.com 4ffaa6f039 Force xpcom_compat to be shared again duue to win32 static build bustage. 2003-03-16 06:49:44 +00:00
mkaply%us.ibm.com 2a38fe89b9 OS/2 build doesn't come up if MOZILLA_HOME isn't set 2003-03-16 03:37:08 +00:00
seawood%netscape.com f1995d3995 All components must have a MODULE_NAME makefile variable that's the same as the generic module name of the component or static builds will fail.
Fixing static build bustage.
2003-03-15 21:49:53 +00:00
dougt%netscape.com ec79880d7c no forced shared lib per byrner 2003-03-15 06:51:19 +00:00
dougt%netscape.com 6bf6855675 fixing bustage. per bryner 2003-03-15 05:58:22 +00:00
cls%seawood.org 2992cc7bc2 Fixing mingw bustage 2003-03-15 05:52:44 +00:00
dougt%netscape.com 4a4285c858 didn't want to check this in per darin 2003-03-15 02:31:17 +00:00
mkaply%us.ibm.com 75947d90c9 OS/2 bustage 2003-03-15 02:27:21 +00:00
mkaply%us.ibm.com a7171ab570 OS/2 needs 8.3 DLL names 2003-03-15 02:11:56 +00:00
dougt%netscape.com 3e6d394771 missed a few files 2003-03-15 01:57:22 +00:00
dougt%netscape.com be629223b6 Create a new xpcom obsolete library (and component library).
Moved nsFileSpec and related classes into this obsolete library.
  Moved nsRegistry and related libreg functionality into the obsolete library.

Updated many callers using the obsolete nsFile spec to use nsIFile and Necko to do file IO.

Combined the following DLLs (source -> dest)
  uriloader -> docshell
  shistory -> docshell
  jsurl -> jsdom
  gkview -> gklayout

Moved nsAdapterEnumerator out of xpcom/ds and into mailnews, since they're the only consumer

Modifed the xpt_link tool so that you can specify a �only include� cid list that can mask CID�s that you are not interested in.

Added build options:
Prevent the building of xpinstall (--disable-xpinstall)
Prevent the building js component loader (--disable-jsloader)
A build option to only build a single profile (--enable-single-profile)
A build flag to only built the required xpfe components (--disable-xpfe-components).

Removal or hiding of unused functions and classes including nsEscape*, nsDequeIterator, nsRecyclingAllocatorImpl, nsDiscriminatedUnion, nsOpaqueKey, nsCRT::strlen, NS_NewCommandLineService

Bug 194240, r/sr = darin, alec.
2003-03-15 01:04:32 +00:00
ccarlen%netscape.com eada17fc1c If the destination file already exists, moveTo[Native] should replace it. Bug 195109 r=sdagley/sr=sfraser 2003-03-14 20:01:41 +00:00
alecf%netscape.com ac369d0693 fix for bug 196210, component manager is malloc-happy:
- use custom non-allocating CID formatter when writing out compreg.dat
- arena allocate category names and keys
- pass around string lengths so we don't keep calling strlen
r=dougt
2003-03-14 05:07:24 +00:00
dougt%netscape.com 445dad225b prelanding parts of minimo - not part of build. 2003-03-14 02:02:00 +00:00
rginda%netscape.com 959b2433eb bug 170585, Scriptable streams are broken; r=darinf, sr=dougt
add factories so js can create the nsIBinary*Stream objects,
also adds read/writeByteArray functions
2003-03-13 21:23:18 +00:00
dougt%netscape.com 22ce70b828 Changing the default key used. r+sr=dougt, b=190389 2003-03-12 21:48:02 +00:00
cls%seawood.org 74d26b5b5d Remove bogus mingw & win16 ifdefs from plevent.h
Add stub declaration for _mbstr which isn't defined in the current mingw headers but is present in the libs.
Fix GRE definition of XPCOM_DLL for mingw.
Bug #134113 r=dougt
2003-03-12 08:35:57 +00:00
dougt%netscape.com 2a978cc28a Adding debug support to detect reentrant create instance patterns, r+sr=alecf@netscape.com, b=194568 2003-03-12 03:58:33 +00:00
alecf%netscape.com e28c0e6945 update API docs so that I don't get false positives for GetUnicode()
(not part of build, just a doc)
2003-03-11 23:26:18 +00:00
dougt%netscape.com dc86608ecf adding SpecialSystemDirectory files to trunk. not part of build 2003-03-11 22:47:05 +00:00
dougt%netscape.com da37fd9b09 Converting the file location of the component registry and the xpti manifest file to use the directory service. r=darin, b=191055 2003-03-11 21:36:59 +00:00
alecf%netscape.com df0b33682e fix for bug 173601 - nsIStringEnumerator implementation
r=dougt, sr=darin
Yes, this will cause a code size increase.. but it is for some upcoming interface freezes...
2003-03-10 21:09:31 +00:00
dougt%netscape.com 69ac8a028e first draft of a xpcom obsolete dir. NOT PART OF BUILD 2003-03-10 20:56:23 +00:00
cls%seawood.org 93be16ebcd Landing mingw/win32 gcc support for xptcall.
Bug #134113 r=dbradley
2003-03-10 20:40:06 +00:00
glazman%netscape.com 8a78ac9b6c backing out dwitte's changes from last bbaetz check in (at his request) 2003-03-10 10:28:40 +00:00
bbaetz%acm.org 70a2816887 Bug 196506 - Excessive inlining in string libs: Substring()
patch by dwitte@stanford.edu, r=timeless, sr=dbaron
2003-03-10 08:10:20 +00:00
bryner%netscape.com 9999ad378d Fix shutdown crash on static builds (bug 196507) by ensuring that ENABLE_STATIC_COMPONENT_LOADER is #define'd when the component manager is created, so that the correct amount of memory is allocated. r=dougt, sr=alecf. 2003-03-10 07:01:49 +00:00
cls%seawood.org d18d8ada60 Adding mingw makefile changes.
Bug #134113 r=bryner
2003-03-08 05:57:15 +00:00
brendan%mozilla.org 62fba60f00 Reorder static and const to match tradition; reomve DEBUG_brendan cruft. 2003-03-08 01:28:02 +00:00
cls%seawood.org ab74b36ce8 XP code changes required for mingw landing.
Add NS_STDCALL macros for functions that require stdcall declarations.
Add NS_STDCALL_FUNCPROTO macro for stdcall function prototype typedefs.
Bug #134113 r=dougt sr=dbaron
2003-03-07 06:07:56 +00:00
timeless%mozdev.org 80bb9e2ae2 Bug 166888 deprecate nsISupportsArray
r=alecf sr=alecf
2003-03-07 01:17:27 +00:00
dougt%netscape.com 4e39af8ace fixes warnings 2003-03-06 23:26:43 +00:00
dougt%netscape.com 0867312da8 backing this out AGAIN 2003-03-06 19:59:31 +00:00
alecf%netscape.com da409bcb97 fix for bug 191416 - clean up nsIUnicharInputStream to make it more like nsIInputStream:
- hide Fill() (or remove it where not necessary)
- add ReadSegments() so that we can do reads without copying
- remove the extra offset parameter to Read()
r=dougt, sr=darin
2003-03-06 19:54:51 +00:00
dougt%netscape.com 888e2a5aa3 follow up landing of 193442. This fixes the strcmp logic error we has when checking for the gre string r=dbradley, alecf, darin 2003-03-06 17:41:01 +00:00
dougt%netscape.com 2cd2169849 removing NS_MT_SUPPORTED define. b=186494, r=dougt, r=seawood 2003-03-05 23:30:22 +00:00
dougt%netscape.com 291bed6f90 relanding. Add experimental support to the native component loader so that native components can declare what libraries it depends on. (193442)Fixed a bug where we didn't check return from GetLastModification in nsDll::HasChanged. Thank you ajschult@eos.ncsu.edu for pointing out the problem and suggesting a fix. Converted a linear search of compreg entries to be a hash lookup. Also cleaned up the xcdll class. Reviewers= Alec, Darin. 2003-03-05 03:22:12 +00:00
dougt%netscape.com 462287a138 not part of build, yet 2003-03-04 00:35:27 +00:00
tor%cs.brown.edu 7d6a0e3ab4 Backout of 193442/191415. a=brade,dougt 2003-03-03 21:00:07 +00:00
brade%netscape.com cd1f6d2e77 change ifdefs per cathleen, sfraser, bryner (bug 195654) 2003-03-03 19:06:31 +00:00
dougt%netscape.com af90b5e2ca backing out last change - using linear list does not change the start up time. 2003-03-03 03:26:02 +00:00
dougt%netscape.com f324b04ce1 Reverting mAutoRegEntries hashtable change. I believe it was responsible for the bulk of the 200ms spike. b=195494. 2003-03-03 01:19:58 +00:00
dougt%netscape.com 3cdc06fdfe Add experimental support to the native component loader so that native components can declare what libraries it depends on. (193442) Storing the GRE location in a relative way so that we can change GRE versions between launches assuming that they are compatible (191415). Fixed a bug where we didn't check return from GetLastModification in nsDll::HasChanged. Thank you ajschult@eos.ncsu.edu for pointing out the problem and suggesting a fix. Converted a linear search of compreg entries to be a hash lookup. Also cleaned up the xcdll class. Reviewers= Alec, Darin. 2003-02-28 21:30:35 +00:00
brendan%mozilla.org 1e352e85b2 Constipation of (JS|PL)DHashTableOps (195298, r/sr=shaver/alecf). 2003-02-28 07:17:59 +00:00
andreas.otte%debitel.net 7bea6bdccb fix bug 193477 [URL: colon ":" in URI is escaped in request (not scheme or port delimiter)] no longer escape the colon when it is part of the filename in urls, but force it's escape in links when building dir/index listings, r=bbaetz@acm.org, sr=darin@netscape.com 2003-02-27 13:15:19 +00:00
andreas.otte%debitel.net 869bb24c30 fix bug 191638 [index/html: files|dirs with "%" need to be properly encoded] force escape of % as part of filenames to %25 to not be damaged by unescape, r=bbaetz@acm.org, sr=darin@netscape.com 2003-02-27 10:55:01 +00:00
sfraser%netscape.com f7fd0a80ef Bug 74803: fix the data in various static name tables to be const, and fix nsStaticNameTable to accept const data. r=dbaron, sr=alecf. 2003-02-26 00:52:07 +00:00
mkaply%us.ibm.com 72aa12479d Per scc - NS_REINTERPRET_CAST is the right thing here 2003-02-25 19:43:41 +00:00
mkaply%us.ibm.com 7577629707 OS/2 bustage - fix from scc - need static cast 2003-02-25 19:38:00 +00:00
scc%mozilla.org f4abab3e15 bug #78016 r=dbradley, sr=dbaron 2003-02-25 15:53:36 +00:00
timeless%mozdev.org 7736054243 Bug 190800 PL_CreateNativeEventQueue, PL_CreateMonitoredEventQueue should take const char*
r=dougt sr=roc+moz
2003-02-24 17:43:22 +00:00
seawood%netscape.com b4a4a67418 Use va_copy if available for VARARGS_ASSIGN
Bug #187180 r=blizzard sr=brendan
2003-02-23 06:59:39 +00:00
timeless%mozdev.org 5bcb0eb0a1 Bug 190799 xpcom/io/nsFileSpec.cpp", line 905: Warning: String literal converted to char* in initialization.
r=dougt sr=roc+moz
2003-02-23 04:41:24 +00:00
timeless%mozdev.org 8200fd47a5 Bug 190790 xpcom/glue/standalone/nsGREDirServiceProvider.cpp", line 300: Warning: String literal converted to char* in assignment.
r=dougt sr=roc+mozn
2003-02-23 04:41:23 +00:00
timeless%mozdev.org cbd08c274d Bug 190801 TestXPTCInvoke violates xpcom for outparams and should pass its char*s as const
r=dougt sr=roc+moz
2003-02-23 04:41:18 +00:00
dbaron%dbaron.org be3ba18d7d Attempt to fix otaku (gcc 2.95.2) bustage. r=bbaetz sr=bryner 2003-02-23 00:28:06 +00:00
dbaron%dbaron.org dfd60256e0 Remove nsISizeOfHandler and associated SizeOf methods. b=106792 Fixing Windows bustage. 2003-02-22 16:42:43 +00:00
dbaron%dbaron.org 754d904cda Remove nsISizeOfHandler and associated SizeOf methods. b=106792 r=bzbarsky sr=jst 2003-02-22 15:34:38 +00:00
bbaetz%acm.org 757c5e380d Bug 189661 - fix configure.in tests for gcc-3.4 (cvs)
r=cls, sr=dbaron
2003-02-22 09:02:02 +00:00
bryner%netscape.com b623f344d3 fix OS/2 bustage - don't have nsAutoArrayPtr's |operator= ( nsAutoArrayPtr<T>& )| take a const argument, because it needs to call .forget() on the new pointer to transfer ownership, and forget isn't const. r=bbaetz. 2003-02-22 06:33:00 +00:00
dbaron%dbaron.org 920efc1064 Some compilers insist that AddRef and Release return |nsrefcnt| in order to get along with nsDerivedSafe. Hopefully fixing gcc 2.95 bustage. 2003-02-22 03:57:32 +00:00
dbaron%dbaron.org 5a0e7b0ef4 Remove tests with const template parameters. Should fix bustage on various ports. 2003-02-22 02:39:40 +00:00
bryner%netscape.com cc390fbe51 Remove nsIStyleContext (bug 114713), r/sr=dbaron. Changed lots of methods to use nsStyleContext* or already_AddRefed<nsStyleContext> as return values, depending on whether a reference is returned. Turn on nsRefPtr (bug 104346), and change nsDerivedSafe to not declare AddRef and Release explicitly virtual, r=jag, sr=dbaron. 2003-02-22 00:32:13 +00:00
mkaply%us.ibm.com 91f0e55e18 #194225
r=dougt, sr=blizzard, a=asa
OS/2 only - crash in helpers - destroy window, don't send a close message
2003-02-21 14:52:06 +00:00
sfraser%netscape.com ff877b8aeb Fix XPCOM tests linkage error on Darwin (only visible on clobber builds that build tests). r/sr=bryner. 2003-02-21 00:48:21 +00:00
jaggernaut%netscape.com 86379f3836 Bug 191749: bad define inside nsAFlatString.h. r=/sr=bzbarsky, a=dbaron 2003-02-21 00:34:17 +00:00
bryner%netscape.com 871954dc86 move XP_MACOSX block before XP_UNIX so we use that instead on os x. 2003-02-20 06:21:59 +00:00
mkaply%us.ibm.com bc2c71617d OS/2 bustage 2003-02-20 05:36:54 +00:00
dougt%netscape.com 5cd07f1005 fixing bustage on osx 2003-02-20 04:39:31 +00:00
dougt%netscape.com d8b417ded0 Fixes a problem where clicking an URL outside Mozilla does nothing. r=ssu, sr=dveditz, a=chofmann, b=193189 2003-02-20 02:26:04 +00:00
darin%netscape.com 3512b39216 fixes bug 193017 "downloading via ftp doesn't proceed" r=dougt sr=brendan a=dbaron 2003-02-19 03:44:46 +00:00
brendan%mozilla.org 56efef78eb - Turn jrgm's helpful assert/defend changes into assertions that mCIDOffset
is never 0, and make the memset-to-zero required for these assertions be
  #ifdef NS_DEBUG.
- Extend FastLoad file format to encode a singleton flag in the high bit of
  nsFastLoadSharpObjectInfo.mWeakRefCnt.  The updater code needs to test this
  bit in order to deserialize a singleton that was not read by the updater's
  reader during this FastLoad episode.  Otherwise the updater is likely to
  reserialize the singleton, leading to multiple entries in the object map
  for the same object, and UMRs when loading from the writer's object map
  enumeration (objvec) in nsFastLoadFileWriter::WriteFooter.
- Remove bogus assertion that worked only when an XPCOM data structure being
  serialized was still alive at the time the writer closed.  In general, there
  is no relationship between the strong ref-counts in a FastLoad file and the
  XPCOM refcnts in memory at close time.
- Bug 189832, r=jrgm, sr=ben, a=dbaron.
2003-02-16 17:40:16 +00:00
jst%netscape.com a2f4e35b5c Backing out the change to use memcmp() for comparing ID's. r=jaggernaut@netscape.com, sr=alecf@netscape.com, a=dbaron@dbaron.org. 2003-02-11 02:05:20 +00:00