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

533 Коммитов

Автор SHA1 Сообщение Дата
bryner%brianryner.com d18c9b6ee3 fixing firebird/thunderbird build bustage (bug 26893) 2003-09-27 18:49:39 +00:00
mkaply%us.ibm.com bfcdf21dfa Bug 179834. Separate application resources and GRE resources. r=darin sr=dougt 2003-09-15 19:16:24 +00:00
bryner%brianryner.com f65ca11ef7 Forgot one file as part of bug 218551. a=brendan. 2003-09-08 21:26:29 +00:00
bryner%brianryner.com 7f4af2e0f9 Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan. 2003-09-07 21:50:21 +00:00
hyatt%mozilla.org 29f71e9ef2 Forgot makefile.in for firebird. 2003-08-09 01:10:38 +00:00
hyatt%mozilla.org 9720928374 Fork the chrome registry for Fb+Tb, bug 215496, r=bryner, sr+a=brendan 2003-08-08 23:28:27 +00:00
bzbarsky%mit.edu 95256ce645 DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823,
r+sr=jst
2003-07-28 21:35:53 +00:00
bryner%netscape.com b4e7b4b7a7 Backing out checkin for bug 210216 because it caused regression bugs 210377 and 210437 (themes and extensions missing from UI). r=ben, sr=hyatt. 2003-06-24 22:04:43 +00:00
bsmedberg%covad.net 50671bd48b Bug 210216 remove unused nsChromeRegistry::mUIDataSource r=rjc sr=shaver 2003-06-23 04:44:28 +00:00
caillon%returnzero.com ba75de772b Bug 209087
Content interface out-parameters should use ptr-to-ptrs instead of ref-to-ptrs and some small deCOMtamination.
r+sr=jst@netscape.com
2003-06-13 20:10:01 +00:00
dbaron%dbaron.org 43a8cabf76 Refactor version compatibility and package existence check into separate function (VerifyCompatibleProvider). When one of these checks fails in GetBaseURL, use only the install directory's data source as a backup in case the profile's selection is not in the current install, and don't write the backup back to the profile. b=191954 sr=bryner r=danm 2003-06-01 20:14:59 +00:00
shliang%netscape.com 1f9686f31d bug 190174 - skin-switching broken for migrated profiles. r=ccarlen, sr=jag 2003-05-30 05:29:37 +00:00
alecf%flett.org ca4d2a3bf1 part of bug 119923 - add a -p option to regchrome to output the chrome registry to a .properties file
r=bryner, sr=hyatt
2003-05-29 18:53:33 +00:00
dwitte%stanford.edu 149f719c00 bug 100649: Length() being used where IsEmpty() is meant
treewide changes to convert incorrect usages of string.Length() to string.IsEmpty().

thanks to afatecha@idea.com.py (Ariel Fatecha) for the patch. r=dwitte, sr=jst.

got the ok from Asa to land into a closed tree.
2003-05-23 21:34:47 +00:00
varga%netscape.com 1734eec58f Landing bookmarks changes.
Bug 205378 - Meta bug for changes in bookmarks sorting code
r=jag, sr=sspitzer, a=sspitzer,asa

The CloneResource() has been back ported from Firebird, originally
implemented by Pierre Chanial.
2003-05-23 12:03:40 +00:00
alecf%netscape.com 1bd126755e oops, this change was on another machine - part of the previous checkin to bug 199170, sr=bryner, r=ccarlen (no, this won't cause bustage, just something I forgot) 2003-04-15 22:21:02 +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
bryner%netscape.com 4d3b825ffa Make --disable-xul work (bug 69995). We build enough XUL to support
scrollbars unconditionally, but can now leave out heavyweight widgets like
grid, listbox, and tree.  r=bzbarsky, sr=alecf.
2003-04-11 00:56:27 +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
bryner%netscape.com 7ce4b290a0 Implement Aqua form controls when building with the Cocoa toolkit (bug 188254). r=pinkerton, sr=sfraser. 2003-03-12 04:57:33 +00:00
peterv%netscape.com 51b88d8880 Fix for bug 162960 (chrome registry doesn't enumerate overlays installed in user profile.). r=varga, sr=hyatt. 2003-03-05 12:20:00 +00:00
cbiesinger%web.de 26fd1afa1f 190020 r=timeless sr=alecf GetResource should take AUTF8String 2003-02-25 19:02:00 +00:00
dbaron%dbaron.org 3da694f7ae Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag 2003-01-08 22:45:23 +00:00
bzbarsky%mit.edu de6d5c0335 Re-relanding part of the fix for bug 182124 to narrow down the source of the
perf impact.  r=rjc, sr=darin
2003-01-05 16:26:59 +00:00
bzbarsky%mit.edu 5940c8be4e And backing bug 182124 yet again... why is comet the _only_ tinderbox showing
the problem?
2002-12-11 12:42:50 +00:00
bzbarsky%mit.edu 175bfa18ac relanding bug 182124 since it looks like comet was just noise and the other Ts
boxes that cycled with this show no problems...
2002-12-11 05:40:14 +00:00
bzbarsky%mit.edu 1779ed3eca Backing out bug 182124 because I think it caused Ts to go up... 2002-12-11 04:35:37 +00:00
bzbarsky%mit.edu 5f0d688d44 Use the prototype cache smarter, not harder, for getting sheets. Bug
183859, r=sicking, sr=brendan.
2002-12-11 03:33:40 +00:00
bzbarsky%mit.edu 7a11dca83f Chrome protocol handler should not munge URIs on channel open (and remove some
workarounds around that behavior).  Bug 182124, r=rjc, sr=darin
2002-12-11 03:29:27 +00:00
bzbarsky%mit.edu 6d2a521a22 Backing this part out; it doesn't work properly without a change elsewhere I
forgot I had in this tree.  :(
2002-12-11 00:09:28 +00:00
bzbarsky%mit.edu 08dad61479 Clean up some nsISupportsArray users in rdf/. Bug 184346, r=timeless, sr=scc 2002-12-10 23:58:55 +00:00
ccarlen%netscape.com 4f47ac8ac4 Bug 181641 - On Mach-0 build, cannot launch if theme was installed into profile with CFM build. Fixes this by fixing the general problem of failure due to missing theme jars. Patch to nsChromeRegistry.cpp by ccarlen, r=ben/sr=brendan. Patch to nsChromeProtocolHandler.cpp by brendan, r=ccarlen/sr=ben. 2002-12-04 06:08:57 +00:00
bzbarsky%mit.edu 5c3ab9fa88 Fix windows bustage. Why can't this compiler get simple scoping right? 2002-12-03 06:39:59 +00:00
bzbarsky%mit.edu c815579255 Make the CSSLoader correctly order stylesheets as they are dynamically added
and removed via the DOM.  Clean up the nsIDocument stylesheet accessors.  Clean
up nsIDocumentObserver stylesheet stuff a bit.  Make style sheets visible in
the CSSOM (though not completely accessible) from the moment the load is kicked
off.  Make us have sheet objects that can be manipulated via CSSOM even for
failed loads. Bug 107567, bug 47734, bug 57225, bug 178407.
r=sicking,  sr=peterv.
2002-12-03 05:48:14 +00:00
caillon%returnzero.com c5490fce2a 181585 - Moving rdf/ over to the new pref APIs since nsIPref is deprecated.
r=rjc sr=alecf
2002-12-01 03:20:50 +00:00
peterv%netscape.com 23b10864c8 Fix for bug 176610 (Make nsNameSpaceManager a service). r=caillon, sr=jst. 2002-11-29 23:44:07 +00:00
timeless%mozdev.org e921e687cf Bug 174583 Remove nsIRDFDataSource { nsIEnumerator GetAllCommands(in nsIRDFResource aSource); }
r=rjc,bienvenu sr=alecf
2002-11-20 08:10:37 +00:00
darin%netscape.com 166bfdac3f make chrome debug registration messages more readable r/sr=mozbot 2002-10-01 04:43:57 +00:00
hyatt%netscape.com c4a7a5d9f0 Enable add-on chrome packages to ne disabled without being uninstalled. Bug 170432, r=blake, sr=brendan 2002-09-24 02:07:20 +00:00
mkaply%us.ibm.com 6f8856c16f #67749
r=pedemont, sr=dbaron
Add #ifdef to nsChromeRegistry to use platform specific forms.css overrides
2002-09-12 14:05:22 +00:00
dougt%netscape.com c5e8f896cd 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com 2002-09-07 17:13:19 +00:00
alecf%netscape.com 47d6092173 fix bug 160000 - custom.jar support for chrome
look for custom.jar in the chrome directory - if found, always check it first for files before using the rest of the chrome registry. This allows embeddors to override specific chrome URLs with their own files.
sr=hyatt, r=chak
2002-08-21 20:58:05 +00:00
alecf%netscape.com 5823310245 fix bug 162741 - revamp chrome registry interface in preparation for bug 160000 - switch lots of public APIs over to ACString, etc.
r=bryner, sr=hyatt
2002-08-20 18:12:51 +00:00
henry.jia%sun.com a65ab30704 Fix bug 159889: replace the hardcode of "@mozilla.org/preferences;1" with NS_PREF_CONTRACTID
Patch by leon.zhang@sun.com
r=Henry, sr=alecf
2002-08-19 04:29:58 +00:00
alecf%netscape.com ab7922b195 fix for bug 157572 - remove nsIAtom references from strings, and thus expicitly #include nsIAtom.h for consumers who are expecting it.
r=dmose, sr=jag, a=asa
2002-07-25 18:31:10 +00:00
alecf%netscape.com eb04da966b more prep for bug 119923 - use chrome registry ContractID rather than CID, so that we can drop in a new embedding-only chrome registry
r=bnesse, sr=dveditz, a=asa
2002-07-23 23:30:04 +00:00
darin%netscape.com f43dfb75ba fixes bug 142870 "nsIFile should use UCS-2 instead of UTF-8"
r=dougt sr=alecf
2002-05-07 23:07:19 +00:00
blakeross%telocity.com b333e18f8f 133666 - skin switch on restart not completely performed. r=ben sr=hyatt 2002-05-07 01:33:29 +00:00
ben%netscape.com ea7ba22d5e [Chrome FastLoad]
Add a comment describing the meaning of error code return values from nsXULPrototypeCache::GetPrototype.
r=hyatt, sr=brendan
2002-05-03 03:00:20 +00:00
darin%netscape.com 1b1677bbe9 fixes bug 129279 "nsIFile unicode/utf8/ascii task"
r=dougt sr=alecf
2002-04-27 05:33:09 +00:00
alecf%netscape.com e60e07296f fix for bug 119923 - split nsIChromeRegistry into 2 interfaces, one that is XUL-specific
this way we can implement an minimal chrome registry for embedding, that doesn't support all the wacky skin- and locale-switching goodness of XUL.
r=waterson, sr=hyatt
2002-04-12 01:52:27 +00:00
hyatt%netscape.com 892f2fe032 Didn't get the latest corrections in my patch in the checkin for 103912. 2002-04-04 10:39:40 +00:00
hyatt%netscape.com 038adf09dc Fix for 103912, make the chrome registry smarter about not looking for missing files. r=bryner, sr=blake, a=asa 2002-04-04 09:48:25 +00:00
tao%netscape.com d0e1cb0ceb 44070: match browser and OS locale. (reusing r=alecf,sr=hyatt,a=asa
from previous checkin but set intl.locale.matchOS=false by default.
This should remove the start regression. Will watch the tree and
back this patch if the regression comes back. In theory, this should
not happen)
2002-04-01 05:56:35 +00:00
jkeiser%netscape.com 193e95e812 Backing out tao's bug 44070 to see if it is the mega pageload regression culprit. 2002-03-31 09:17:18 +00:00
tao%netscape.com c67413e1f7 44070: match browser and OS locale. r=alecf,sr=hyatt,a=asa. Match browser
UI locale and system locale when intl.locale.matchOS == true; Runtime
only behavior; won't  write to disk. Fallback to default chrome locale when
matching langpacks are not installed.
2002-03-31 07:33:57 +00:00
darin%netscape.com 819ce1f98f b=128508 "freeze nsIChannel nsIRequest" r=gagan, sr=rpotts, a=asa 2002-03-20 22:50:33 +00:00
darin%netscape.com 026dda9f95 fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa 2002-03-06 07:48:55 +00:00
blakeross%telocity.com 99679a10d1 120838 - fix most of the 'theme switching doesn't work from prefs' bugs. r=ben sr=hewitt 2002-02-18 22:58:54 +00:00
sfraser%netscape.com d285f8f560 Making the nsModuleComponentInfo data const; bug 74803. r=dp, sr=waterson 2002-01-30 21:14:20 +00:00
ccarlen%netscape.com 00dc937acd Bug 116306 - switching themes by switching profiles doesn't switch theme. r=hyatt@netscape.com/sr=brendan@mozilla.org 2002-01-24 23:54:14 +00:00
bryner%netscape.com f81ed4d10d Bug 120224 - make "Use XBL Forms" pref actually work if you set it in your profile, instead of all.js. r=ben, sr=waterson. 2002-01-16 06:01:42 +00:00
bryner%netscape.com 3054e39105 Changing location of form stylesheet for XBL forms. r=hewitt, sr=hyatt. Not turned on yet. 2002-01-15 22:19:12 +00:00
alecf%netscape.com 72507557e8 C++ side of fix for bug 100212 - move consumers of nsIFile.URL into nsIIOService. r=dougt, sr=darin 2002-01-08 01:31:25 +00:00
blakeross%telocity.com 49a7c2c174 Other missing file. 2002-01-06 21:07:16 +00:00
blakeross%telocity.com 0290440ba5 The rest of 117685. 2002-01-06 20:09:10 +00:00
blakeross%telocity.com 7db535761a 117685 - nsChromeRegistry::IsSkinSelected not returning correct result. Return 3 values, none, partial and full (needed for 44032). r=hewitt sr=hyatt 2002-01-06 19:58:01 +00:00
bryner%netscape.com 01e4861b8d Initial checkin of XBL select widget (listbox) code (bug 112713).
Summary of changes:
- Removed old XBL form control cruft.
- Made nsOutlinerContentView accessible from content scripts.
- Created a new interface, nsIDOMNSXBLFormControl which exists to allow a
select element to have an outliner box object.
- Factored out nsChildIterator into its own file.
- Added support to the outliner content view for having option elements
directly inserted in the outliner.
- Cleaned up pixel/twip conversions in outliner.
- Added support for intrinsic width for outliner.

r=jag, sr=hyatt.  Note that the new select widget is NOT turned on by
default.
2002-01-05 07:17:10 +00:00
hyatt%netscape.com d4065d8e54 Fix for 112980, nsITheme API and dynamic skin switching re-enabling. r=ben, sr=waterson 2001-12-17 22:51:39 +00:00
jaggernaut%netscape.com 6ab111155d Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf 2001-12-16 11:58:03 +00:00
dp%netscape.com 572e864ce7 bug 110555 Ignoring error when user css files not found. r=dveditz,
sr=hyatt
2001-12-09 16:14:02 +00:00
alecf%netscape.com c703485253 *shrug* moving from profile-do-change to profile-after-change per conrad's suggestion - this seems to fix the blocker for me, what's the worst that could happen? :) 2001-11-28 23:40:45 +00:00
timeless%mac.com 7873addd19 Bugzilla Bug 107823 change nsIFile
to use 'Modified' instead of 'Modification'
r=akkana sr=brendan
2001-11-26 08:05:05 +00:00
hyatt%netscape.com f408343dc0 Collapse chrome reg. r=dp, sr=brendan, 109488 2001-11-21 00:12:42 +00:00
pierre%netscape.com afeb351c68 Checked in for fantasai@escape.com. Bug 43220 "author !important rules override user !important rules in user.css". Add User sheets. Rename Backstop sheets into UserAgent. Fix cascading order. r=pierre/sr=hyatt. 2001-11-06 10:04:05 +00:00
pete%alphanumerica.com 41da234dd2 b=107823, r=ccarlen, sr=brendan
--pete
2001-11-01 00:11:15 +00:00
dougt%netscape.com 1a5050445f Moving nsISimpleEnumerator interface to new idl file. 99136, r=alecf@netscape.com sr=rpotts@netscape.com 2001-10-30 22:07:28 +00:00
jaggernaut%netscape.com 04bef6549a Bug 53057: Fixing up users of implicit |CharT*| conversion operators for nsCString to use |.get()| instead, rr=dbaron, rs=scc 2001-10-25 06:42:23 +00:00
dougt%netscape.com fdb581ad21 99163 - removing nsObserverService.h includes. Also fixing 106090, extra methods on nsObserverService. r=shaver@mozilla.org, sr=jband@netscape.com 2001-10-22 22:01:27 +00:00
dougt%netscape.com da7e1268bd nsIObserver and nsIObserverService API freeze. r=rpotts@netscape.com, alecf@netscape.com. bug 99163 2001-10-19 20:52:59 +00:00
dougt%netscape.com e75485644c API Freeze for nsIServiceManager r=shaver@mozilla.org, sr=rpotts@netscape.com bug 99147 2001-10-16 03:35:52 +00:00
sspitzer%netscape.com 0d740fbb22 more changes for #102037. use GetValueConst() instead of GetValue() where possible to avoid
strdups().

r=waterson, sr=bienvenu
2001-10-01 19:53:14 +00:00
jaggernaut%netscape.com fdc4078bc4 Bug 100476: Convert uses of member functions ToNewUnicode, ToNewCString and ToNewUTF8String to their global versions and remove support from nsCString and nsString. r=dbaron, rs=scc 2001-09-29 08:28:41 +00:00
sspitzer%netscape.com 240521105b fix for #102037. use GetValueConst() instead of GetValue() to avoid strdups.
r,sr=waterson, sr=bienvenu
2001-09-29 00:01:58 +00:00
gerv%gerv.net f385eb981a Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089. 2001-09-28 20:14:13 +00:00
darin%netscape.com e8db2d99ac fixes bug 99410 "further res protocol cleanup" r=dougt, sr=mscott 2001-09-20 01:32:16 +00:00
darin%netscape.com c95cf54bdc checking bbaetz's patch for bug 89500 "SOCKS: only http|https re-directted in (post Mozilla 0.9.2)"
patch=bbaetz, r=dougt, sr=darin
2001-09-13 02:21:05 +00:00
dp%netscape.com 9db3ae69d5 bug# 97528 Eliminating the extra Clone() on chrome urls. Plus
optimizing nsChromeRegistry::Canonify() to only SetSpec() if there is
a change. r=brendan,hyatt sr=waterson
2001-09-06 00:45:16 +00:00
ccarlen%netscape.com df0bf4898e Bug 86021 - Enable -turbo for multiple profiles. r=valeski, r=/sr=blake,waterson, a=dbaron 2001-08-29 14:02:38 +00:00
brendan%mozilla.org b365808864 Bit checkin for bug 68045, r/sr=waterson&shaver, second attempt. It all works
for me on optimized and debug gcc2.96, rh7.1.

- Better failure codes from nsXULPrototypeScript::Deserialize.

- Call nsXULDocument::AbortFastLoads after nsXULPrototypeScript::Serialize
  failure, instead of just nulling the FastLoad service's output stream.

- Expose nsXULDocument::AbortFastLoads via nsIXULPrototypeCache, for use from
  nsChromeProtocolHandler.cpp.  AbortFastLoads flushes the XUL cache now, for
  good measure.

- The needless "Current" adjective in nsIFastLoadService attribute and method
  names is no more.

- Add a do_GetFastLoadService() helper, to use CID instead of contractid, and
  to let the compiler consolidate the static inline CID.

- Add "nglayout.debug.checksum_xul_fastload_file" pref so people can do without
  the checksum verification step when reading a FastLoad file.

- Verify the FastLoad file checksum, by default.  Also, cache it in the FastLoad
  service so we don't recompute it when re-opening the FastLoad file as mailnews
  and other top-levels start up.  Fill the checksum cache in EndFastLoad, when
  the last pseudo-concurrent top-level finishes loading.

  My hope to compute the checksum while writing the FastLoad file ran afoul of
  misordered writes.  The old code to checksum the in-memory nsFastLoadHeader
  also was broken on little endian platforms.  Now all checksumming is done via
  a separate read pass over the complete file, save for the header's checksum
  field, which is summed as if it contained zero.

- Track and check FastLoad file dependencies.  This required groveling with a
  bunch of Necko interfaces in nsChromeProtocolHandler::NewChannel -- read it
  and weep.  Dependency checking, as well as checksum access and computation,
  use better-factored nsIFastLoad{File,Read,Write}Control interfaces.

- nsBufferedStream::Seek wasn't flushing the buffer when seeking backward
  within the buffer, but it must, because mCursor bounds the amount to write
  if the buffer contains the end of file.

- Add an unbufferedStream readonly attribute to nsIStreamBufferAccess, so we
  don't have to screw around with the bufferying layer when checksumming. Also
  implement nsIStreamBufferAccess in nsBufferedOutputStream.

- nsISeekableOutputStream was bogus, based on a bad state I had put the
  nsBufferedOutputStream code in on its way from being completely broken when
  you seek backwards outside of the buffer.  Removing this interface required
  using nsIFastLoadFileIO in nsFastLoadFileWriter, and it also required careful
  ordering of Close calls (the Reader must close after the Writer or Updater,
  so that the Reader's underlying, unbuffered input stream can be read by
  nsFastLoadFileWriter::Close to compute the checksum.

- Miscellaneous tab/indentation, comment typo, bracing, if( => if ( style,
  nsnull vs. 0, useless variable elimination, tortured control flow,
  AutoString instead of String, and gratuitous ; after nsISupportsUtils.h
  macro call cleanups.
2001-08-21 20:51:34 +00:00
blizzard%redhat.com 8449d6469f Back out brendan's checkin to try and get linux starting up again. 2001-08-17 19:45:11 +00:00
brendan%mozilla.org 525a387cf2 - Better failure codes from nsXULPrototypeScript::Deserialize.
- Call nsXULDocument::AbortFastLoads after nsXULPrototypeScript::Serialize
  failure, instead of just nulling the FastLoad service's output stream.

- Expose nsXULDocument::AbortFastLoads via nsIXULPrototypeCache, for use from
  nsChromeProtocolHandler.cpp.  AbortFastLoads flushes the XUL cache now, for
  good measure.

- The needless "Current" adjective in nsIFastLoadService attribute and method
  names is no more.

- Add a do_GetFastLoadService() helper, to use CID instead of contractid, and
  to let the compiler consolidate the static inline CID.

- Add "nglayout.debug.checksum_xul_fastload_file" pref so people can do without
  the checksum verification step when reading a FastLoad file.

- Verify the FastLoad file checksum, by default.  Also, cache it in the FastLoad
  service so we don't recompute it when re-opening the FastLoad file as mailnews
  and other top-levels start up.  Fill the checksum cache in EndFastLoad, when
  the last pseudo-concurrent top-level finishes loading.

  My hope to compute the checksum while writing the FastLoad file ran afoul of
  misordered writes.  The old code to checksum the in-memory nsFastLoadHeader
  also was broken on little endian platforms.  Now all checksumming is done via
  a separate read pass over the complete file, save for the header's checksum
  field, which is summed as if it contained zero.

- Track and check FastLoad file dependencies.  This required groveling with a
  bunch of Necko interfaces in nsChromeProtocolHandler::NewChannel -- read it
  and weep.  Dependency checking, as well as checksum access and computation,
  use better-factored nsIFastLoad{File,Read,Write}Control interfaces.

- nsBufferedStream::Seek wasn't flushing the buffer when seeking backward
  within the buffer, but it must, because mCursor bounds the amount to write
  if the buffer contains the end of file.

- Add an unbufferedStream readonly attribute to nsIStreamBufferAccess, so we
  don't have to screw around with the bufferying layer when checksumming. Also
  implement nsIStreamBufferAccess in nsBufferedOutputStream.

- nsISeekableOutputStream was bogus, based on a bad state I had put the
  nsBufferedOutputStream code in on its way from being completely broken when
  you seek backwards outside of the buffer.  Removing this interface required
  using nsIFastLoadFileIO in nsFastLoadFileWriter, and it also required careful
  ordering of Close calls (the Writer or Updater must close after the Reader,
  so that the Reader's underlying, unbuffered input stream can be read by
  nsFastLoadFileWriter::Close to compute the checksum.

- Miscellaneous tab/indentation, comment typo, bracing, if( => if ( style,
  nsnull vs. 0, useless variable elimination, tortured control flow,
  AutoString instead of String, and gratuitous ; after nsISupportsUtils.h
  macro call cleanups.
2001-08-17 09:52:55 +00:00
pavlov%netscape.com b72c324af1 fixing bug 78690. removing old imagelib. r=jst sr=waterson 2001-08-09 20:22:39 +00:00
andreas.otte%primus-online.de c6853783af bug 40670 [URL: resolution of protocol:/path] checking in the groundwork to have an easy fix if we ever decide to support these kind of deprecated relative urls. For that a new attribute URIType is added to nsIProtocolHandler and its implementations to store some protocol/scheme dependend information to have enough information to allow correct parsing. r=darin@netscape.com sr=rpotts@netscape.com 2001-08-07 20:42:57 +00:00
brendan%mozilla.org 8c7c819206 FASTLOAD_20010703_BRANCH landing, r=dbaron, sr=shaver. 2001-07-31 19:05:34 +00:00
jaggernaut%netscape.com c14d9c09a1 Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa 2001-07-25 07:54:28 +00:00
pete%alphanumerica.com f65c767018 Fix for nsIFile delete conflicts with JS reserved name b=37406, r=dougt, sr=jst
Renamed all Delete methods to Remove.

--pete
2001-07-24 18:38:25 +00:00
jaggernaut%netscape.com 03ab87e4a1 Bug 88413: Remove |GetUnicode()| from nsString (and replace it with |get()|). r=dbaron, rs=scc.
This removes all call-sites I can currently fix. Tomorrow I'll try to get someone to checkin my changes to security/ and I'll get some help with the Netscape side of things.

nsString::GetUnicode()'s final death-blow will be dealt soon. Please keep this in mind as you add new code :-)
2001-06-30 11:02:25 +00:00
ben%netscape.com 00e2170331 fix build bustage due to merge conflict screwup 2001-06-22 05:08:34 +00:00
ben%netscape.com f14fe97860 84344 - make chrome registry select skin in its profile changed callback (i.e. at startup).
r=danm, sr=hyatt, a=chofmann.
2001-06-22 04:20:58 +00:00
dougt%netscape.com c306e0513b Landing url parsing branch. 73845. r=alecf@netscape.com, sr=darin@netscape.com, a=blizzard@rednat.com.
This fixes many crashes caused by illegal uses of the nsStdURL.
This also allows a plugable protocol to provide their own url parser.
2001-06-21 22:02:47 +00:00
dbaron%fas.harvard.edu 688519fb0c Fix bad getters on nsIDocument and nsIScriptContext to use out params rather than return |AddRef|ed pointers. b=81289 r=jaggernaut sr=jst a=asa 2001-06-20 03:27:48 +00:00
scc%mozilla.org 2e8b3e9481 bug #85271: sr=waterson, r={beard, jag, dbaron}, a=asa. Eliminate features of |nsXPIDLC?String| that keep it out of the string hierarchy (i.e., using assigment to rebind ownership, static |Copy| members, and |getter_Shares|), fixing some leaks in the process. 2001-06-17 05:23:38 +00:00
dougt%netscape.com 9174af6517 Fixes bug 83401. r=gagan, darin, sr=vidur, a=blizzard. Add port blacklisting to necko 2001-06-06 00:10:09 +00:00
anatoliya%netscape.com b30e1af9ae bug 76512 r=pchen sr=hyatt 2001-05-17 02:31:28 +00:00
anatoliya%netscape.com c91d6776b7 bug 76512 r=pchen sr=hyatt 2001-05-17 02:02:51 +00:00
anatoliya%netscape.com 0abb2d5778 bug 76512 r=pchen sr=hyatt 2001-05-17 01:31:18 +00:00
blakeross%telocity.com e56459194d Backing out anatoliya to fix build bustage. The compiler is your friend. It will help you catch errors. 2001-05-16 00:07:52 +00:00
anatoliya%netscape.com 0eca2a9a1b bug 76512 r=pchen sr=hyatt 2001-05-15 22:03:51 +00:00
waterson%netscape.com a16f52a8fd Bug 35816. Minimize size of serialized RDF/XML and improve its quality. Break parser and serializer into XPConnect-addressable components. r=hyatt, sr=shaver 2001-05-15 19:56:28 +00:00
sfraser%netscape.com 84b181f904 Fix for blocker bug 62787; xulBindings.xml load was being cancelled when dismissing the profile picker. sr=hyatt, a=attinasi 2001-05-10 23:18:49 +00:00
jst%netscape.com 621060c4fd Landing the XPCDOM_20010329_BRANCH branch, changes mostly done by jband@netscape.com and jst@netscape.com, also some changes done by shaver@mozilla.org, peterv@netscape.com and markh@activestate.com. r= and sr= by vidur@netscape.com, jband@netscape.com, jst@netscpae.com, danm@netscape.com, hyatt@netscape.com, shaver@mozilla.org, dbradley@netscape.com, rpotts@netscape.com. 2001-05-08 17:42:36 +00:00
kandrot%netscape.com d5bd552195 Check in for Ron Guilmette. r=shaver, sr=waterson. For intl r=nhotta. Changes for NS_IMPL_NSGETMODULE. bug #46775. 2001-05-05 05:33:37 +00:00
valeski%netscape.com 6dd19605b8 sr=darin. no bug. just dead wood static cid cleanup 2001-04-13 11:23:11 +00:00
pavlov%netscape.com 9e0b654007 fix images not changing during skin switching bug 75181 r=brendan sr=hyatt 2001-04-13 09:07:12 +00:00
shaver%mozilla.org e2dc3d6d88 75152: Remove GetVersionNumber stub in favour of upcoming, less-invasive
preloader strategy. r=jag, sr=attinasi.
2001-04-11 14:23:13 +00:00
hyatt%netscape.com fa4db35568 Half-size scrollbar fix. Enable relative urls in addition to absolute urls. r=danm, sr=hewitt 2001-04-11 03:56:12 +00:00
darin%netscape.com 41efbc6217 Necko API changes, bug 74221. r=valeski, sr=rpotts. 2001-04-10 06:01:08 +00:00
hyatt%netscape.com b246224594 Fix win32 bustage. 2001-04-10 03:29:23 +00:00
hyatt%netscape.com d1b3648857 Fix for 73137. r=danm, sr=hewitt. 2001-04-10 02:09:29 +00:00
disttsc%bart.nl c9dbc12bfd Provide default userChrome.css and userContent.css with sample (commented out) content for discoverability, bug=37642, author=Boris Zbarsky <bzbarsky@mit.edu>, r=timeless, sr=shaver 2001-04-05 03:20:46 +00:00
hyatt%netscape.com c47ca11417 Fix for 53670. 2001-04-04 23:15:02 +00:00
rickg%netscape.com c1ce80ae83 preloader update. r=peterl, sr=attinasi 2001-04-03 22:58:59 +00:00
pinkerton%netscape.com 57dab27cad allow macs with low memory to build optimized by setting the |lowmem| option. bug 72945. r=peterv/sr=shaver. 2001-03-27 23:08:32 +00:00
blakeross%telocity.com 7b5a59b32d Removing non-compliant text/xul mimetype, replacing with application/vnd.mozilla.xul+xml (28237, patch by gerv@gerv.net). r=blake sr=hyatt 2001-03-25 16:49:38 +00:00
valeski%netscape.com a8e9bc5bd5 sr=rpotts, r=gagan. 70743. switching over to new extensible URI::SchemeIs() api 2001-03-13 02:02:05 +00:00
dougt%netscape.com 9c5d760307 Minor build changes per API review. Now nsIFileURL and nsIFileChannel have their own IDL file which means that if you were using either of these two interfaces, you need to include a new include file. r=valeski@netscape.com 2001-03-12 22:41:28 +00:00
ccarlen%netscape.com 8d27bb9639 Bug 65212 - profile support for kiosk mode. Also, removing profile change observer strings from header to cut dependencies. r=valeski@netscape.com, sr=alecf@netscape.com 2001-03-11 22:12:21 +00:00
disttsc%bart.nl aebc676048 Change implicit conversion from
|NS_ConvertUTF8toUCS2|
|NS_ConvertASCIItoUCS2|
|NS_ConvertUCS2toUTF8|
|ns[C]LiteralString|
|ns[C]PromiseFlatString|

to explicit |get()|.

Add |get()| to |nsString|, remove implicit conversion operators where possible, add NS_WARNING where not (yet!).

Bug=53057, r=alecf, sr=scc
2001-03-08 08:05:05 +00:00
hyatt%netscape.com d1adf31a79 More skin uninstallation foo. Same. 2001-03-08 02:36:01 +00:00
hyatt%netscape.com f57e94e8bd Skin uninstallation. r=danm, sr=brendan. 2001-03-08 01:50:36 +00:00
hyatt%netscape.com 81411470a4 Fix for 59558, r=brendan, sr=waterson 2001-03-06 01:42:34 +00:00
waterson%netscape.com 2cd62f503b Bug 43121. Move XUL content model code from RDF DLL to content DLL. r=jst,hyatt; sr=brendan. 2001-02-22 03:01:34 +00:00
dougt%netscape.com eab041f43f Relanding Necko Changes.
Revising nsIChannel to allow for overlapped i/o. This consists of three parts:

1. Factoring nsIChannel into a protocol specific part, the nsIChannel, and a socket specific, the nsITransport.
2. Derive the nsIChannel from a nsIRequest.
2. Changes the notification system from necko and the URILoader to pass the nsIRequest interface instead of nsIChannel interface.

This goal stems from wanting to be able to have active AsyncRead and AsyncWrite operations on nsSocketTransport.
This is desired because it would greatly simplify the task of maintaining persistent/reusable socket connections
for FTP, HTTP, and Imap (and potentially other protocols). The problem with the existing nsIChannel interface is
that it does not allow one to selectively suspend just one of the read or write operations while keeping the other active.

r=darin@netscape.com
sr=rpotts@netscape.com
2001-02-21 20:38:08 +00:00
disttsc%bart.nl 76fbedadc5 Back out dougt's channel changes 2001-02-12 03:14:23 +00:00
dougt%netscape.com 69415757ab Revising nsIChannel to allow for overlapped i/o. This consists of three parts:
1. Factoring nsIChannel into a protocol specific part, the nsIChannel, and a socket specific, the nsITransport.
2. Derive the nsIChannel from a nsIRequest.
2. Changes the notification system from necko and the URILoader to pass the nsIRequest interface instead of nsIChannel interface.

This goal stems from wanting to be able to have active AsyncRead and AsyncWrite operations on nsSocketTransport.
This is desired because it would greatly simplify the task of maintaining persistent/reusable socket connections
for FTP, HTTP, and Imap (and potentially other protocols).  The problem with the existing nsIChannel interface is
that it does not allow one to selectively suspend just one of the read or write operations while keeping the other active.

The full details of the change on written up in the netlib newsgroup.

r=darin@netscape.com
sr=rpotts@netscape.com
2001-02-10 00:16:26 +00:00
mkaply%us.ibm.com 7065b5e742 #66450
r=timeless, sr=hyatt
Don't open installed-chrome.txt read/write unnecessarily - just open it read
2001-02-03 00:01:52 +00:00
gagan%netscape.com cded3e2f30 Optimization for scheme comparison of URIs. See bug 66577 for details. r=darin, sr=brendan@mozilla.org 2001-01-31 01:33:03 +00:00
timeless%mac.com 9d1cf982f5 fix bug 66357 fatal error building rdf\chrome\tools\chromereg\regchrome.cpp
r=leaf, sr=waterson
2001-01-25 20:08:43 +00:00
darin%netscape.com 6bfaf3912c Bug 62566. nsIChannel::AsyncWrite interface revision and related cleanup.
r=dougt@netcape.com, sr=mscott@netscape.com.
2001-01-23 22:10:34 +00:00
dr%netscape.com 70ecbda43d fix for 55115, removing last usage of nsFileSpec from chrome registry. r=jag, sr=ben 2001-01-20 00:17:07 +00:00
ccarlen%netscape.com 15ac5b144d Fix for bug 64501 - allow embedding apps to specify app registry location. Moves appfilelocprovider into xpcom. r=dougt@netscape.com, sr=brendan@mozilla.org 2001-01-18 22:51:57 +00:00
ccarlen%netscape.com 4ba4499a39 Part of 35559 - dynamic profile switching r=valeski,sr=hyatt 2001-01-10 20:22:17 +00:00
hyatt%netscape.com 2d7640417e Fix numerous embedding install issues and 62757 crasher. r=danm, a=dougt 2000-12-21 00:08:28 +00:00
hyatt%netscape.com f3c8929488 Fix for smoketest blocker 61946, r=pink 2000-12-05 21:17:30 +00:00
hyatt%netscape.com e9ae905e45 adding new XBL form widget stylesheets. a=ben@netscape.com 2000-12-01 08:47:19 +00:00
hyatt%netscape.com bcd5465f20 breaking out html forms into their own stylesheet, a=ben@netscape.com 2000-12-01 08:27:34 +00:00
hyatt%netscape.com 364dae89c6 Fix for 57897, r=dveditz, a=ben 2000-11-02 21:28:00 +00:00
hyatt%netscape.com d41b94a492 Fix for 53218. r-pav, a=ben 2000-10-30 01:50:20 +00:00
warren%netscape.com 4189314fdb Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc. 2000-10-28 22:17:53 +00:00
warren%netscape.com 6e35f97e31 Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson 2000-10-27 22:43:51 +00:00
hyatt%netscape.com 766de69a8c Fix for 57733. 2000-10-25 03:03:08 +00:00
ccarlen%netscape.com aeddacdac9 Fix for 54097 - Use nsIFileURL to build file URLs instead of nsFileSpec and nsFileURL. r=dougt@netscape.com, a=hyatt@netscape.com 2000-10-18 12:55:22 +00:00
mstoltz%netscape.com 99a2b79580 Fixing 56009, exploit allowing XPConnect access. r,a=hyatt, sr=scc 2000-10-13 22:59:47 +00:00
hyatt%netscape.com f9816f3351 Fix for 50846, a=waterson 2000-10-12 20:52:52 +00:00
ccarlen%netscape.com be620c58c4 Bug 38626 - remove use of nsIFileLocator r=hyatt@netscape.com, a=hyatt@netscape.com 2000-10-12 14:48:33 +00:00
hyatt%netscape.com c2a12a598e Backing out pinkerton's unapproved checkin to nsChromeRegistry.cpp, since it caused a regression. 2000-10-12 07:21:11 +00:00
pinkerton%netscape.com 46fde1e8d5 update of chrome registry to use nsIFile to better work with paths with slashes. Fixes hang at startup on mac if the path had a '/' anywhere in it. r=waterson,a=sfraser. bug#54097 2000-10-12 04:01:35 +00:00
dougt%netscape.com be1770579e removing annoying unneeded assertion. r/a=warren@netscape.com 2000-09-29 05:30:02 +00:00
warren%netscape.com 7f7b39fc95 Improving debug messages for contents.rdf. 2000-09-18 02:07:06 +00:00
pnunn%netscape.com f5a85b19d2 bug#51249: add chrome to FlushCache. pnunn r:syd. 2000-09-14 23:10:30 +00:00
hyatt%netscape.com 6c9ee6b5a9 New smarter chrome registry. r=warren 2000-09-14 19:25:13 +00:00
warren%netscape.com 837f118d65 Fixed to not delete installed-chrome.txt -- checks mod dates instead. 2000-09-14 08:50:14 +00:00
rayw%netscape.com 6cc70ebd6c Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren
2000-09-13 23:57:52 +00:00
hyatt%netscape.com 1eeb23bf98 Backing out chrome registry changes. a=brendan 2000-09-13 03:07:26 +00:00
blizzard%redhat.com 855646ac2a fix for bug #51778. Hand a provider to the directory service. This should get regchrome working again. r=dougt a=brendan 2000-09-11 19:13:27 +00:00
ccarlen%netscape.com cb1205c756 Use nsIDirectoryService instead of nsIFileLocations - bug #38626 r=hyatt 2000-09-07 13:06:28 +00:00
scc%mozilla.org 8bde0b933b fixing code that relied on implicit string construction 2000-09-02 05:30:35 +00:00
vidur%netscape.com 4a41eee18d Fix for bug 46861. nsIDOMWindow is now split into two interfaces: a public interface (still called nsIDOMWindow) for embedders and an internal interface (nsIDOMWindowInternal) for internal use. The union of the two interfaces is still visible from JavaScript. r=jst@netscape.com 2000-09-01 01:54:35 +00:00
hyatt%netscape.com 32bdb7711c Fix for 50668. r=dprice 2000-08-29 22:10:49 +00:00
hyatt%netscape.com 1a375f2282 43220. r=ben 2000-08-29 08:07:22 +00:00
hyatt%netscape.com c3eb0150f1 Checking 46330 fix back in. r=ben 2000-08-29 07:07:46 +00:00
mscott%netscape.com 60fbc4fa8e back out chrome registry changes to fix smoketest machines that are crashing when launching viewer 2000-08-29 05:49:18 +00:00
hyatt%netscape.com 8ec593142c Fix for 46330. r=ben 2000-08-29 02:30:07 +00:00
ben%netscape.com f4a445a88a 48205 2000-08-26 03:20:44 +00:00
warren%netscape.com b25bca13fe Fixed case where chrome selection was failing because the package wasn't yet installed. 2000-08-25 22:51:10 +00:00
hyatt%netscape.com 2ddfe8ec22 Fix for jar packaging. r=dprice 2000-08-23 07:31:58 +00:00
dp%netscape.com fc5ddb430f bug# 49786 Setting up chrome protocol handler to support weak ref. r=gagan,valeski 2000-08-22 06:11:48 +00:00
warren%netscape.com 4054c5cd59 Fixed warnings. 2000-08-22 04:57:21 +00:00
warren%netscape.com d9faf47cce Bug 49659. Added check to avoid null pointer deref. 2000-08-22 04:41:22 +00:00
mstoltz%netscape.com 88846ce93b Fixing 41876 r=hyatt, also 48724, 49768, and crasher in nsBasePrincipal.cpp, r=jtaylor 2000-08-22 02:06:52 +00:00
warren%netscape.com 85a6b2554e Improved warning message. 2000-08-22 02:06:14 +00:00
warren%netscape.com 64a99efec0 Bug 46864 - Embedding needs a name attribute on nsIRequest. 2000-08-21 08:23:54 +00:00
warren%netscape.com 334a3da653 Bug 43654. Error checking in chrome registry. r=hyatt 2000-08-21 07:50:39 +00:00
racham%netscape.com baa097d7c1 Fixing bug 39289. Fixing a crasher at shutdown time when createprofile option is used. r=dougt 2000-08-21 01:36:42 +00:00
scc%mozilla.org 7c4c4783d9 fixing code that relied on implicit string construction 2000-08-19 21:04:10 +00:00
hyatt%netscape.com a3ec56c5c0 Fix for 48083. r=danm 2000-08-17 00:10:40 +00:00
hyatt%netscape.com 2e86033263 Work on 48150 and XBL performance (async and arenas). 2000-08-14 04:04:18 +00:00
jtaylor%netscape.com 12e65c5f18 Fixes bug #41571. r=mstoltz. 2000-08-11 02:46:47 +00:00
hyatt%netscape.com 8ba64ff10a Fix for 47081. r=ben 2000-08-11 00:05:49 +00:00
warren%netscape.com 4af572e4c1 Bug 46711. Removed nsAutoString travisty from nsStringKey. Introduced nsCStringKey. Made them both share the underlying string when possible. r=waterson 2000-08-10 06:19:37 +00:00
alecf%netscape.com 53fe053e36 final part of fix for 46712 - flush the string bundle cache when the locale changes
r=hyatt
2000-08-08 06:24:56 +00:00
waterson%netscape.com 08bd36fb57 Bug 46053. Add [begin|end]UpdateBatch() to nsIRDFObserver; case-normalize the resot of the nsIRDFObserver methods; update implemetors, users. r=bienvenu,rjc,dmose,slamm 2000-08-08 00:22:36 +00:00
hyatt%netscape.com f62c6dc91d Fix for XBL portion of 46129 2000-08-05 22:33:29 +00:00
hyatt%netscape.com 1436977acc Fix for 46129. r=waterson,attinasi,pierre 2000-07-28 09:36:14 +00:00
waterson%netscape.com d714b9c47c Bug 46013. Make nsChromeRegistry own the UI datasource; clean up the special release method so that it does correct bloat log. r=hyatt 2000-07-28 09:19:42 +00:00
hyatt%netscape.com 9dd6b8c0c0 Fix for 41145, r-waterson 2000-07-28 00:34:22 +00:00
mkaply%us.ibm.com da9a8373e2 OS/2 Tinderbox break
Need PR_CALLBACK for VisualAge
2000-07-27 20:40:57 +00:00
dougt%netscape.com 0d93cf2776 bug 46413. r/a=valeski@netscape.com
Clean up memory leaks.
2000-07-27 06:14:06 +00:00
blizzard%redhat.com 9380052e94 add utility to build a chrome registry from the command line. r=waterson a=waterson/hyatt 2000-07-25 20:21:17 +00:00