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

6255 Коммитов

Автор SHA1 Сообщение Дата
bryner%netscape.com 5aacded6e8 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 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
alecf%netscape.com 458bf37a3e one more thing for bug 195262 - export nsStaticAtom.h - not used anywhere yet 2003-03-25 21:46:33 +00:00
sicking%bigfoot.com baadd8dc2e Preparation for bug 185797, compiled XSLT stylesheets.
r=Pike rs=peterv
2003-03-25 20:28:09 +00:00
alecf%netscape.com 8c50d0242a 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 8bdd8c29d2 Bug 190058 Remove xpcom/tests/TestBuffers.cpp
r=darin sr=darin
2003-03-25 16:11:01 +00:00
dbaron%dbaron.org 82b5cc07c8 Fix shutdown leaks in nsTraceRefcnt. b=63665 r=timeless sr=alecf 2003-03-25 14:53:01 +00:00
neil%parkwaycc.co.uk 25738e0473 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 a5ddc8b721 bug 191542 : Add UTF-8 equivalent of |IsASCII|, IsUTF8. r=smontagu, sr=alecf 2003-03-25 08:11:13 +00:00
dbradley%netscape.com 689ed25fef 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 b92a5778a0 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 23a4a8a036 removing dead code 2003-03-25 02:10:41 +00:00
darin%netscape.com ab8dd4504f 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 2c79ef45ce White-space, bracing, and 80th column style fixes, r=self. 2003-03-25 01:38:53 +00:00
timeless%mozdev.org 697618b07d 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 f9e9c8ab3d 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 bfea584f1f Bug 198601 - Moves QI outside of RegisterGenericFactory. r/sr=dougt 2003-03-22 02:04:53 +00:00
mkaply%us.ibm.com 8c2397b9ac #188249
r=dougt
Cleanup Makefiles, OS/2 GCC landing
2003-03-21 22:26:41 +00:00
mkaply%us.ibm.com 5a7615023a #188249
r=dougt
Cleanup Makefiles, OS/2 GCC landing
2003-03-21 22:20:04 +00:00
ssu%netscape.com 7e387c0ae1 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 1e90f98296 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 b6584a77fb 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 8d478bc8fc 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 a7bdb96a1d oops, and TestPermanentAtoms 2003-03-21 06:35:14 +00:00
alecf%netscape.com d9331ea1a2 oops, land TestAtoms from the previous patch 2003-03-21 06:34:23 +00:00
alecf%netscape.com ecf24a2b78 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 afe7773d87 Backing out due to huge Ts increase 2003-03-20 08:45:50 +00:00
ccarlen%netscape.com 8d38ed69c5 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 dca257bd56 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 95563f3ca8 fix build bustage 2003-03-20 03:40:26 +00:00
alecf%netscape.com 799163824a 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 83e46b1a49 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 4a82c99291 defined correctly fixed 2003-03-19 02:16:07 +00:00
dougt%netscape.com 205012131f pilot error 2003-03-19 02:11:34 +00:00
dougt%netscape.com d4aa052205 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 c4a919c0e7 removing obsolete file r=me 2003-03-18 23:02:06 +00:00
dougt%netscape.com 59e5eb0421 Removing dead code. b=198023, r=darin, sr=dbaron 2003-03-18 20:34:19 +00:00
dbaron%dbaron.org af71f025b3 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 2fe6241286 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 96cf1d190e Backing out bug 196506 and build fix attempt. 2003-03-18 01:58:15 +00:00
heikki%netscape.com 315a64bb5c Bustage fix from dwitte. 2003-03-18 01:17:18 +00:00
sfraser%netscape.com 43f80e72c0 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 62c1c6702e 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 ad69e707e1 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 05329eb6b6 OS/2 build doesn't come up if MOZILLA_HOME isn't set 2003-03-16 03:37:08 +00:00
seawood%netscape.com a270069056 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 da805c6ad1 no forced shared lib per byrner 2003-03-15 06:51:19 +00:00
dougt%netscape.com cd9c98c458 fixing bustage. per bryner 2003-03-15 05:58:22 +00:00
cls%seawood.org 891692c9de Fixing mingw bustage 2003-03-15 05:52:44 +00:00
dougt%netscape.com aa98f0a05f didn't want to check this in per darin 2003-03-15 02:31:17 +00:00
mkaply%us.ibm.com 4a2133fd7a OS/2 bustage 2003-03-15 02:27:21 +00:00
mkaply%us.ibm.com 73ac309374 OS/2 needs 8.3 DLL names 2003-03-15 02:11:56 +00:00
dougt%netscape.com b23665411c missed a few files 2003-03-15 01:57:22 +00:00
dougt%netscape.com 0d2808c511 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 7061fe60e5 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 8e11ceab33 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 e594475728 prelanding parts of minimo - not part of build. 2003-03-14 02:02:00 +00:00
rginda%netscape.com 500958a09b 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 30bc819e29 Changing the default key used. r+sr=dougt, b=190389 2003-03-12 21:48:02 +00:00
cls%seawood.org 040b1e64c2 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 2ccd3b4f03 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 4358844234 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 34cd7b0fdb adding SpecialSystemDirectory files to trunk. not part of build 2003-03-11 22:47:05 +00:00
dougt%netscape.com a4c7c7573f 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 fe6074f0b4 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 89bcfadd00 first draft of a xpcom obsolete dir. NOT PART OF BUILD 2003-03-10 20:56:23 +00:00
cls%seawood.org 147a36bc71 Landing mingw/win32 gcc support for xptcall.
Bug #134113 r=dbradley
2003-03-10 20:40:06 +00:00
glazman%netscape.com df24ff7c3f backing out dwitte's changes from last bbaetz check in (at his request) 2003-03-10 10:28:40 +00:00
bbaetz%acm.org 0faaca3203 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 4fa9e2a306 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 d1479589a2 Adding mingw makefile changes.
Bug #134113 r=bryner
2003-03-08 05:57:15 +00:00
brendan%mozilla.org ae0c4d3804 Reorder static and const to match tradition; reomve DEBUG_brendan cruft. 2003-03-08 01:28:02 +00:00
cls%seawood.org d1079607df 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 39a2ea215a Bug 166888 deprecate nsISupportsArray
r=alecf sr=alecf
2003-03-07 01:17:27 +00:00
dougt%netscape.com 3b4e35ca3a fixes warnings 2003-03-06 23:26:43 +00:00
dougt%netscape.com 4212ce0c53 backing this out AGAIN 2003-03-06 19:59:31 +00:00
alecf%netscape.com 5b7536c806 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 bdaff16cf7 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 c5ac287dab removing NS_MT_SUPPORTED define. b=186494, r=dougt, r=seawood 2003-03-05 23:30:22 +00:00
dougt%netscape.com 939bb1e75c 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 25b0a81f34 not part of build, yet 2003-03-04 00:35:27 +00:00
tor%cs.brown.edu db50a85d91 Backout of 193442/191415. a=brade,dougt 2003-03-03 21:00:07 +00:00
brade%netscape.com 95f4289849 change ifdefs per cathleen, sfraser, bryner (bug 195654) 2003-03-03 19:06:31 +00:00
dougt%netscape.com 41a7079693 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 2fbb3eb669 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 dccf8bcbee 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 6e0c7cdde4 Constipation of (JS|PL)DHashTableOps (195298, r/sr=shaver/alecf). 2003-02-28 07:17:59 +00:00
andreas.otte%debitel.net 0f9fa9ad78 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 6f076f634b 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 a972085056 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 4838fe80e4 Per scc - NS_REINTERPRET_CAST is the right thing here 2003-02-25 19:43:41 +00:00
mkaply%us.ibm.com 097d5ce211 OS/2 bustage - fix from scc - need static cast 2003-02-25 19:38:00 +00:00
scc%mozilla.org 10ccbee43a bug #78016 r=dbradley, sr=dbaron 2003-02-25 15:53:36 +00:00
timeless%mozdev.org dc76dfa0c6 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 7f752bf63b 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 85c42d083c 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 1552cf15e2 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 9c2c0ed8b6 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 33bf89b232 Attempt to fix otaku (gcc 2.95.2) bustage. r=bbaetz sr=bryner 2003-02-23 00:28:06 +00:00
dbaron%dbaron.org 4aee1869d9 Remove nsISizeOfHandler and associated SizeOf methods. b=106792 Fixing Windows bustage. 2003-02-22 16:42:43 +00:00
dbaron%dbaron.org 6dd68f3c64 Remove nsISizeOfHandler and associated SizeOf methods. b=106792 r=bzbarsky sr=jst 2003-02-22 15:34:38 +00:00
bbaetz%acm.org 9d56f76447 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 28243cf27e 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 e2da493d4e 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 05f4441e0d Remove tests with const template parameters. Should fix bustage on various ports. 2003-02-22 02:39:40 +00:00
bryner%netscape.com e43f5a49fd 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 e6feaaaa72 #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 b9251480f2 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 85174f51b9 Bug 191749: bad define inside nsAFlatString.h. r=/sr=bzbarsky, a=dbaron 2003-02-21 00:34:17 +00:00
bryner%netscape.com 2221f6ed02 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 9f69e2fd9d OS/2 bustage 2003-02-20 05:36:54 +00:00
dougt%netscape.com 572f20a150 fixing bustage on osx 2003-02-20 04:39:31 +00:00
dougt%netscape.com 975ff0c178 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 f5e1e52523 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 04624a2df0 - 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 953e3d4e09 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
darin%netscape.com ad524cbb90 hopefully fixing WIN32 bustage 2003-02-08 02:08:34 +00:00
darin%netscape.com 5a2707f349 fixes bug 192196 "crashes on shutdown" r=dougt sr=blizzard a=asa 2003-02-08 00:54:36 +00:00
ccarlen%netscape.com d0a8576aa6 Bug 191882 - We're building (and shipping) libxpcom.bundle though it's unused and contributes a megabyte to footprint on OSX. r=seawood/sr=dougt/a=asa 2003-02-06 14:37:32 +00:00
alecf%netscape.com 1e643be2a6 back out 121341 and all subsequent regression fixes - there are still regressions and this just isn't worth being broken for 1.3.. I'll check this back in when 1.4a comes along and we have more time in the milestone to catch regressions.
a=dbaron
2003-02-04 05:43:57 +00:00
peterlubczynski%netscape.com 5d73c2bc6a Fixing bug 189461, Java plugin fails to load because it can't find xpcom symbols so load the library with flag PR_LD_GLOBAL, patch by Ken Herron kherron@squm.mci.com r=peterl sr=dougt a=dbaron 2003-02-04 01:10:25 +00:00
jband%netscape.com 1fd1b856a8 NOT PART OF BUILD. Just updating xptcall porting status web page that is reflected into lxr. 2003-02-03 22:16:32 +00:00
mkaply%us.ibm.com aed4ca0fbf #190732
r=mkaply, sr=alecf, a=asa
From ccarlen - check parser state at end of file
2003-02-03 14:59:39 +00:00
darin%netscape.com 99e45ceed4 fixes bug 191227 "file uploads hang (especially w/ slower connections or
slower servers)" r=dougt sr=bz a=dbaron
2003-01-31 02:00:45 +00:00
jrgm%netscape.com 2f7102abeb Guard against bogus entries in the object map of the fastload file, bug 189832, r=ben/jag, sr=jst, a=asa 2003-01-31 01:34:45 +00:00
dougt%netscape.com dbaeb4debd Fixing many problems related to GRE libs versioning. r=ssu sr=me a=dveditz 2003-01-31 00:37:20 +00:00
dougt%netscape.com 53eb543117 re-enables nsDebug in xpcom glue. 191005 , r=chak, sr=darin, a=dbaron 2003-01-30 00:34:03 +00:00
darin%netscape.com a08d67ebc8 fixes bug 190549 "Textarea with lots of text within refuses to submit"
r=sicking sr=bzbarsky a=asa
2003-01-29 06:40:16 +00:00
dougt%netscape.com a587451a90 xpcom is unable to always load .js component file. r=ssu, sr=alecf, a=rjesup, b=190560 2003-01-28 22:17:58 +00:00
dougt%netscape.com 1953de132a xpcom is unable to always load .js component file. r=ssu, sr=alecf, a=rjesup, b=190560 build/nsXPComInit.cpp 2003-01-28 22:07:53 +00:00
dbaron%dbaron.org 8de25b9b7f Fix leak in AutoRegisterComponent. b=189811 r=dougt sr=bzbarsky a=asa 2003-01-28 01:42:56 +00:00
blizzard%redhat.com fba7fcc785 Part of bug #90010. Mozilla on linux/s390(x). r=wtc,sr=shaver,a=dbaron(ports) 2003-01-27 21:52:52 +00:00
alecf%netscape.com a2468ecc58 fix for bug 190283 - save unicode values stored like \u4ea2 after decoding them.
r=jst, sr=bzbarsky, a=asa
2003-01-25 22:13:48 +00:00
sspitzer%netscape.com 4ba4e22e66 fix for #190215. multi-line properties in string bundles don't work on win32.
this isn't a blocker, but it's bad enough to take for the respin.
patch by alecf.  r/sr=sspitzer, a=kyle
2003-01-24 21:47:53 +00:00
alecf%netscape.com 084da5178b fix for bug 190256 - string bundles broken on escaped characters, and when keys cross buffer boundaries
patch by bzbarsky, r=alecf, sr=jst, a=dbaron
2003-01-23 15:48:19 +00:00
darin%netscape.com bb2017c151 cleaning up "uninitialized variable" warning resulting from last checkin, b=189689 2003-01-23 05:15:56 +00:00
dougt%netscape.com ce7b00a58e Fixing bustage in nsXPIDLString. r=jag, sr=dbaron, b=189591, a=Donald Rumsfeld 2003-01-23 03:35:30 +00:00
darin%netscape.com a82b72fea0 fixes bug 189689 "intermittent duplicated content on pages, CRC errors in
downloads" r=dougt sr=bzbarsky a=dbaron
2003-01-23 02:39:01 +00:00
mkaply%us.ibm.com 66e8db4583 Oops left printf in 2003-01-22 20:49:21 +00:00
timeless%mozdev.org f8238d67cf This is not part of the build (it doesn't build).
nsIConverterInputStream::Init now requires four parameters instead of three.
To build this test, add uconv necko to requires.
2003-01-22 08:10:45 +00:00
timeless%mozdev.org 1d187936dc Not part of the build (without these changes it doesn't build).
Fixed the input string variable name in1/in.
CreateACString takes three params not two.
variables living in nsCOMPtrs should not be left alive past xpcom shutdown.
2003-01-22 07:51:44 +00:00
timeless%mozdev.org c9b0d189e4 This isn't part of the build (without these changes it doesn't build).
"register" is a keyword and wasn't the right name for the variable anyway.
the registrar no longer accepts nsIFileSpec. Converted the caller to nsIFile.
2003-01-22 06:18:06 +00:00
alecf%netscape.com 271b44ce34 oops, warnings fixes from previous checkin 2003-01-22 05:46:07 +00:00
alecf%netscape.com ab070553d6 fix for bug 121341 - make nsPersistentProperties::Load sane. don't make a virtual call for every character read in from the .properties file! 2003-01-22 05:15:40 +00:00
mkaply%us.ibm.com cebb7c2b3c #189349
r=cbiesinger, sr=bzbarsky
Have OS/2 follow the Windows path for downloadManager dialog - launch and open in explorer
2003-01-22 04:58:09 +00:00
seawood%netscape.com b584cb0b06 MOZILLA_VERSION is now defined in mozilla-config.h so no need to explicitly define it here
Bug #189462 r=dougt
2003-01-22 04:24:56 +00:00
dougt%netscape.com 3b838a1833 Fixing crash in NS_MsgStripRE() due to multiply-linked strings. b=189591, sr=dbaron, r=me 2003-01-22 00:21:48 +00:00
jkeiser%netscape.com d73be72429 Move HTMLValue parsing methods to HTMLValue (bug 159757), r=bugmail@sicking.cc, sr=jst@netscape.com 2003-01-21 21:24:16 +00:00
mkaply%us.ibm.com fe73ee5935 #189841
r=dougt, sr=dmose
OS/2 only - remove config/os2 from the tree
2003-01-21 00:05:39 +00:00
darin%netscape.com 8d699694dc attemping fix for linux Ts/Txul startup regression, b=189567 2003-01-19 20:46:51 +00:00
dbaron%dbaron.org d7151ab531 Replace my work in progress on nsAutoPtr with a new version based on nsCOMPtr. Not part of build. b=104346 2003-01-18 16:20:26 +00:00