Commit Graph

3537 Commits

Author SHA1 Message Date
dbaron%dbaron.org
d0a0566395 Convert mObservers to nsCOMArray<nsIRDFObserver> to fix leak of observers. b=199310 r=varga sr=alecf a=brendan 2003-03-27 00:01:09 +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
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
ac4c086adf Bug 145858 Imported NetPositive Bookmarks are not loaded properly anymore
patch by sergei_d@fi.tartu.ee r=dougt
2003-03-21 21:01:23 +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
3057ba40d0 better conversions that dbaron/darin would have requested if they had actually seen this in the patch :( 2003-03-21 07:33:21 +00:00
alecf%netscape.com
be937c3d3c augh! how did I miss these files?!
more for bug 195262
2003-03-21 06:52:12 +00:00
seawood%netscape.com
1e4f46228e Fixing BeOS bustage 2003-03-16 02:21:03 +00:00
mkaply%us.ibm.com
2365ec8408 Actually only Windows and BeOS need it - when was the last time that ever happened 2003-03-15 11:47:18 +00:00
mkaply%us.ibm.com
90c4896557 OS/2 bustage 2003-03-15 11:38:15 +00:00
seawood%netscape.com
3dfeacb182 Everyone needs nsDirectoryServiceDefs.h 2003-03-15 09:51:02 +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
cls%seawood.org
e518db1521 Move function prototypes into RDFContentSinkImpl class to appease mingw gcc.
Make gContainerInfo struct local to the only function that uses it.
Bug #134113 r=rjc sr=alecf
2003-03-12 08:26:03 +00:00
bryner%netscape.com
f3a28e9f42 Implement Aqua form controls when building with the Cocoa toolkit (bug 188254). r=pinkerton, sr=sfraser. 2003-03-12 04:57:33 +00:00
alecf%netscape.com
ca96d4b9c0 fix for bug 196094 - fix for topcrash in RDFServiceImpl::GetResource
reverse the order of the tests so we don't dereference off the end of a string
patch by bz
r=biesi, sr=alecf
2003-03-11 15:37:32 +00:00
peterv%netscape.com
1c8b20e2b2 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
timeless%mozdev.org
33e7c21a66 Bug 190020 GetResource should take AUTF8String
patch by cbiesinger@web.de r=cls sr=alecf
2003-03-05 02:35:23 +00:00
alecf%netscape.com
ae04212ee8 fix assertions from bug 190020, sr=bz, r=dmose 2003-02-27 03:05:43 +00:00
sfraser%netscape.com
1f48d95d7f Fix FileSystemDataSource::GetVolumeList to work in the CFM build, still. a=leaf 2003-02-25 23:25:38 +00:00
cbiesinger%web.de
cc20a397bf fix expected os/2 bustage 2003-02-25 20:07:25 +00:00
cbiesinger%web.de
cbae4cb0a5 fix windows bustage 2003-02-25 20:05:38 +00:00
cbiesinger%web.de
9405eda256 190020 r=timeless sr=alecf GetResource should take AUTF8String 2003-02-25 19:02:00 +00:00
bzbarsky%mit.edu
7613013508 comment-only change to reflect the fact that mOriginalURLSpec is no
more. r=mozbot, blanket-a=roc
2003-02-06 01:46:55 +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
darin%netscape.com
685a7af468 modifications for bug 176919 "async streams" r=dougt,gordon sr=sspitzer a=valeski,asa 2003-01-18 02:15:14 +00:00
dbaron%dbaron.org
84f33505f2 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
bryner%netscape.com
4fe935bb23 Removing another unused dlldeps.cpp file. Not part of the build. 2003-01-06 08:42:13 +00:00
bzbarsky%mit.edu
1c6ea594bc Re-landing fix for bug 182124 a bit at a time to narrow down the source of the
perf impact. r=rjc, sr=darin
2003-01-05 20:19:19 +00:00
bzbarsky%mit.edu
a34e067b91 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
seawood%netscape.com
16e7da2837 nobrainer changes while thinking about mingw support
Bug #134113 r=dmose
2003-01-03 08:58:59 +00:00
seawood%netscape.com
d5efcdfb6d Start installing GRE libraries & components into a separate dist/gre directory as part of the default build.
Bug #186241 r=dougt
2002-12-28 01:15:07 +00:00
timeless%mozdev.org
3ae141115f Bug 183639 Crash |delete datasource| in NS_NewRDFInMemoryDataSource
r=rjc sr=dbaron
2002-12-11 12:54:00 +00:00
bzbarsky%mit.edu
3399eea621 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
e81697ce7c 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
42d3fc3e74 Backing out bug 182124 because I think it caused Ts to go up... 2002-12-11 04:35:37 +00:00
bzbarsky%mit.edu
a4d94e3627 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
f3c5ef51ac 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
rjc%netscape.com
3e25efb01b Fix bug # 183052: remove assert in RDFXMLDataSourceImpl::Flush(). r=bzbarsky@mit.edu sr=darin@netscape.com 2002-12-11 00:20:10 +00:00
bzbarsky%mit.edu
fdd4374f63 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
1c01852f9d Clean up some nsISupportsArray users in rdf/. Bug 184346, r=timeless, sr=scc 2002-12-10 23:58:55 +00:00
ccarlen%netscape.com
fbf72c7968 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
b864136ce9 Fix windows bustage. Why can't this compiler get simple scoping right? 2002-12-03 06:39:59 +00:00
bzbarsky%mit.edu
fe53f95e60 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
96aa0304fc 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
2cd27f702a Fix for bug 176610 (Make nsNameSpaceManager a service). r=caillon, sr=jst. 2002-11-29 23:44:07 +00:00
bzbarsky%mit.edu
6e1d942718 Fix some obviously bogus comments. r=caillon, sr=clear copy/paste error. 2002-11-23 22:16:23 +00:00
rjc%netscape.com
70497db352 Fix bug # 180423: implement nsIRDFRemoteDataSource::FlushTo() which enables, among other things, serializing bookmarks as RDF. r=pavlov sr=ben 2002-11-22 07:55:59 +00:00
bzbarsky%mit.edu
4b06a70b5f Use calloc() instead of malloc() followed by memset to 0. Bug 124302, patch by
Aaron Lehmann <aaronl@vitelus.com>, r=timeless, sr=bzbarsky
2002-11-20 23:13:09 +00:00
timeless%mozdev.org
2d64a97bb3 Bug 174583 Remove nsIRDFDataSource { nsIEnumerator GetAllCommands(in nsIRDFResource aSource); }
r=rjc,bienvenu sr=alecf
2002-11-20 08:10:37 +00:00
timeless%mozdev.org
56d72b5045 Bug 155192 crash [@nsRDFResource::~nsRDFResource] if gRDFService wasn't created
patch by tingley@sundell.net r=timeless sr=bz
2002-11-18 04:44:30 +00:00
blakeross%telocity.com
b991a20644 179316 - date literals aren't serialized properly. r=rjc sr=ben 2002-11-12 02:12:02 +00:00
timeless%mozdev.org
e621565ddb backing out. 2002-11-06 16:49:13 +00:00
timeless%mozdev.org
ed4fea921b Bug 174583 Remove nsIRDFDataSource { nsIEnumerator GetAllCommands(in nsIRDFResource aSource); }
r=rjc,bienvenu sr=alecf
2002-11-06 16:10:46 +00:00
timeless%mozdev.org
96218c8ecc Bug 174583 Remove nsIRDFDataSource { nsIEnumerator GetAllCommands(in nsIRDFResource aSource); }
r=rjc,bienvenu sr=alecf
2002-11-06 15:31:02 +00:00
timeless%mozdev.org
6379305177 Bug 154801 ###!!! ASSERTION: null ptr: 'aURL != nsnull', file f:\build\mozilla\rdf\base\src\nsRDFContentSink.cpp, line 696
r=tingley sr=jst
2002-11-06 05:35:14 +00:00
darin%netscape.com
e87593ebea make chrome debug registration messages more readable r/sr=mozbot 2002-10-01 04:43:57 +00:00
hyatt%netscape.com
667c0366cf 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
7c3a81751f #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
68faeb5241 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
4e0b59f695 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
03f69e9a10 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
227be5af9c 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
bryner%netscape.com
025fb3a058 Get rid of gcc3's numerous warnings about using <new.h> instead of <new> by creating a new #define, NEW_H, which should be used instead of <new.h> or <new>. This is so we can continue to support a couple of braindead compilers that don't accept <new>. Bug 155852, r=cls. 2002-08-19 03:50:27 +00:00
darin%netscape.com
d86e3064ab second attempt at landing fix for bug 157131 "nsIIOService mods in preparation for freezing" r=dougt sr=alecf 2002-08-15 18:38:46 +00:00
heikki%netscape.com
3c4832e229 Bug 63558, we now store XML declaration in the document and can serialize it. There is fix for 158617 as well, newlines behave properly around doctype. r=bzbarsky, sr=jst. 2002-08-13 18:41:16 +00:00
seawood%netscape.com
322da773fb Removing old nmake build makefiles. Bug #158528 r=pavlov 2002-08-10 07:55:43 +00:00
leaf%mozilla.org
fdcde43318 backout darin's checkin from around noon yesterday to remove the regression
in 161921
2002-08-09 23:46:19 +00:00
darin%netscape.com
45e59826d8 changes to nsIIOService in preparation for freezing, b=157131
r=dougt sr=alecf
2002-08-08 19:08:59 +00:00
seawood%netscape.com
301b1a4ca8 Remove unused defines:
_IMPL_NS_HTML
_IMPL_NS_RDF
_IMPL_NS_WEB
USE_NSREG

Patches for removing above defines contributed by Stephen Walker <walk84@yahoo.com>.
Bug #125118 r=cls sr=bryner
Bug #160397 r=cls sr=bryner
Bug #160628 r=cls
Bug #160451 r=cls sr=bryner

_IMPL_NS_VIEW

Patches for removing above define contributed by Brian Ryner <bryner@netscape.com>
Bug #160416 r=cls
2002-08-07 06:08:00 +00:00
alecf%netscape.com
e9e1a39573 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
47b3f07056 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
tingley%sundell.net
c64fdc38a4 Bustage fix for b=115342, courtesy of dbaron. 2002-07-10 00:32:48 +00:00
tingley%sundell.net
0136ff4554 Reduce some unnecessary nsAutoString usage in the RDF Content Sink.
b=115342 r=bzbarsky sr=waterson
2002-07-09 23:44:58 +00:00
timeless%mac.com
0b2acd4d33 Bug 144992 [FIX] BookmarksUtils.cloneFolder does not clone subfolders (hordes of separators created in bookmarks)
patch by pierrechanial@netscape.net r=blake sr=jag
2002-07-09 19:37:24 +00:00
tingley%sundell.net
fc4ec6351c Fix for bug 153480 - crash deleting download manager entries.
r=rjc sr=waterson
2002-07-09 05:21:33 +00:00
seawood%netscape.com
03ace271f0 Add CPP_THROW_NEW macro to the build system. This macro should be used when defining a local |operator new| function. It will be set to an empty throw function by default on all platforms except mac CW builds. This will allow us to not crash on systems that expect |operator new| to throw an exception by default and will suppress compiler warnings about how |operator new| should throw an exception instead of returning NULL.
Bug 149032 r=timeless sr=scc
2002-07-02 20:25:30 +00:00
dbaron%fas.harvard.edu
6d2263f19b Convert handwritten GetIID methods to use NS_DEFINE_STATIC_IID_ACCESSOR and add |const| to GetCID methods so that static |nsID|s are declared as |const|. b=153525 sr=jag r=bryner 2002-06-26 03:38:55 +00:00
suresh%netscape.com
07a82808c8 fix for bugscape 16611. crash in InMemoryDataSource::Assert. Checks for obs pointer before calling the app. function. r=rjc, sr=alecf. 2002-06-21 20:14:12 +00:00
waterson%netscape.com
22921c3cb9 Bug 146797. Bullet-proof RDF containers so that uninitialized use (e.g., from script) won't cause a crash. r=tingley, sr=shaver 2002-06-16 00:44:06 +00:00
alecf%netscape.com
bcf192e308 fix for bug 101761 - REQUIRES update - remove all REQUIRES that are no longer necessary.. r=cls, a=asa (build-only changes) 2002-06-06 20:28:14 +00:00
harishd%netscape.com
1e4585c9ba Ensuring complete consumption of DOCTYPE content. b=142625, r=heikki, sr=jst 2002-05-22 00:46:16 +00:00
dougt%netscape.com
c683a217ab Fixes mozilla/strings requiring unfrozen nsCRT class. patch by scc, r=dougt, sr=jag, b=136756 2002-05-15 18:55:21 +00:00
mcafee%netscape.com
e572ec3085 module name should be chrome here (143587). r/sr=alecf 2002-05-15 04:06:47 +00:00
mcafee%netscape.com
ece250c3fe removing rdfbase module name, this becomes part of rdf module now. (143587) r=cls, sr=alecf 2002-05-14 01:09:47 +00:00
mcafee%netscape.com
b1908d0439 removing rdfbase module name, this becomes part of rdf module now. (143587) r=cls, sr=alecf 2002-05-14 01:00:28 +00:00
darin%netscape.com
6fd5862e6e 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
039011de8b 133666 - skin switch on restart not completely performed. r=ben sr=hyatt 2002-05-07 01:33:29 +00:00
ben%netscape.com
6ba5381036 [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
e554d83626 fixes bug 129279 "nsIFile unicode/utf8/ascii task"
r=dougt sr=alecf
2002-04-27 05:33:09 +00:00
seawood%netscape.com
c0ec608df6 Add 'make install' target to build. It's "MRE-friendly". (See http://www.mozilla.org/projects/embedding/MRE.html for details.)
Changes:
* Added EXTRA_COMPONENTS variable to build.  Use it to automagically install files into the components dir.
* Added SYSINSTALL variable.  Use it install files onto the system.
* Move mozilla-config generation from configure to makefiles
* mozilla-config will now generate paths based upon the MRE-based directory layout.
* Generate mozilla script from template

The installation heirarchy currently looks like:
$prefix -> /bin/mozilla
           /bin/mozilla-config
           /include/mozilla-ver/*
           /lib/mozilla-ver  (mozappdir)
                            /components
                            /res
                            /defaults
                            /chrome

There is preliminary build support for MRE dirs as well though the component manager hasn't had MRE support added yet.

$prefix -> /lib/mre/mre-ver  (mredir)
                            /components
2002-04-25 02:52:44 +00:00
dougt%netscape.com
2dbd1edd63 XPCOM initialize primary event queue. 135531. r=brendan@mozilla.org, sr=darin@netscape.com 2002-04-15 22:26:29 +00:00
alecf%netscape.com
fba198f16c 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
waterson%netscape.com
d7e0837750 Bug 135505. Don't bother trying to canonify `rdf:' URIs so that we avoid useless (and expensive) protocol handler lookups. r=rjc, sr=alecf, a=rjesup. 2002-04-07 17:40:47 +00:00
hyatt%netscape.com
70f7cfa69f 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
254dd80f20 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
0daffa6536 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
1842d4cc10 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
de85a936fc 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
seawood%netscape.com
f940144626 Remove xp_core.h & xp_mem.h and all build references to them.
Remove cruft from xp_mcom.h & xp_str.h.
Bug #38061 r=brendan sr=alecf a=valeski
2002-03-27 06:02:39 +00:00
dbaron%fas.harvard.edu
b280e94dfe Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa 2002-03-23 21:23:50 +00:00
darin%netscape.com
9fbd1028d6 b=128508 "freeze nsIChannel nsIRequest" r=gagan, sr=rpotts, a=asa 2002-03-20 22:50:33 +00:00
alecf%netscape.com
451df7d6c3 a further nsString api reduction: remove the last case-insensitive PRUnichar*-to-PRUnichar* comparisons, moving to new API, and remove old methods from nsString. r=dougt, sr=jag a=scc 2002-03-19 06:46:56 +00:00
dougt%netscape.com
331d70efae Removing unneeded references to nsIGenericFactory. a=dbaron 2002-03-18 23:49:07 +00:00
rbs%maths.uq.edu.au
8f6916c2d9 perf bug 124570 - configure mathml.css as a catalog stylesheet that is loaded on demand rather than at startup, r=harishd, sr=jst, a=asa 2002-03-15 09:45:31 +00:00
darin%netscape.com
281c86ec58 b=99165 Freeze nsIInputStream nsIOutputStream (not yet frozen... but close)
r=dougt sr=shaver a=asa
2002-03-12 00:59:06 +00:00
darin%netscape.com
f1a6738b6c fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa 2002-03-06 07:48:55 +00:00
tingley%sundell.net
56af7f826c Checkin for timeless@bemail.org to fix bug 128223: don't assert if a child
datasource doesn't return an (empty) enumerator along with NS_RDF_NO_VALUE.
r=tingley, sr=darin, a=shaver
2002-03-01 04:33:11 +00:00
cathleen%netscape.com
a6a1655268 eliminate nsCRT::strlen for char* strings (part 4), bug 124536 r=dp sr=brendan 2002-02-19 16:01:45 +00:00
blakeross%telocity.com
6e27f23fa8 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
dbaron%fas.harvard.edu
59892aa65e Remove more no-longer-needed nsComponentManager::RegisterComponent calls. Remove remnants of NS_IMPL_IDS macro, associated with long-gone NS_DECLARE_ID. b=125782 r=dougt rs=jag 2002-02-16 16:18:13 +00:00
harishd%netscape.com
a4bac6098f Regression - Add CDATA section support for RDF. b=124463, r=heikki, sr=jst 2002-02-14 23:52:17 +00:00
rjc%netscape.com
025bf62abb Fix bug # 124743: RDF SEQs. r=tingley sr=ben 2002-02-12 00:49:56 +00:00
bzbarsky%mit.edu
97aad157b6 Relanding the Compare --> Equals conversion. a=mcafee 2002-02-10 15:49:46 +00:00
bzbarsky%mit.edu
98afc5ee0f Testing performance impact of backout of what's left of the patch from
bug 115289.  See bug 123947 for details. a=mcafee
2002-02-09 20:46:05 +00:00
bzbarsky%mit.edu
40d60f39ec Convert Compare() to Equals() where possible now that we can do
case-insensitive Equals().  Bug 115289, r=alecf, sr=jag
2002-02-05 02:03:07 +00:00
rjc%netscape.com
787233fb4b Fix bug # 122757: Mac OS 9/X packages. Also, de-tab. r=tingley sr=waterson 2002-02-01 00:49:29 +00:00
rjc%netscape.com
490f660b88 Fix bug # 113894: RDF persistance issue, and get nsFileSpec out of RDF. r=sr's = darin, waterson 2002-02-01 00:24:27 +00:00
sfraser%netscape.com
d133d4956f Making the nsModuleComponentInfo data const; bug 74803. r=dp, sr=waterson 2002-01-30 21:14:20 +00:00
alecf%netscape.com
28b3772942 First part of fix for bug 107575 - remove nsString::FindChar because there is already an nsAString::FindChar, and remove the "ignore case" option in RFindChar
r=dougt, sr=jag
2002-01-30 06:04:29 +00:00
cathleen%netscape.com
e0f55c7088 eliminate nsCRT::memcmp and all callers to use memcmp instead, bug 118135 r=dp sr=brendan 2002-01-29 21:30:32 +00:00
naving%netscape.com
a91ad55688 122314 patch by tingley@sundell.net sr=waterson. decrease the refcnt but not null out rdfService -fixes
future crash on shutdown
2002-01-29 21:04:03 +00:00
waterson%netscape.com
ef7eb496f1 Bug 122027. Canonify URI before looking it up in the cache. sr=darin. 2002-01-28 23:07:55 +00:00
alecf%netscape.com
bcd6a6fb94 fix for bug 121508 - clean up nsStringStream and nsIParser APIs.. r=dougt, sr=jst 2002-01-27 22:02:00 +00:00
cathleen%netscape.com
486c0d47f9 remove memcpy function from nsCRT, eliminate 2 new nsCRT::memcpy callers
and fix up alighment problems from previous patch, bug 118135, sr=brenda r=dp
2002-01-26 00:04:45 +00:00
waterson%netscape.com
fa52183c37 Bug 121833. Fix assertion (and optimize) string-fu in rdf_MakeRelativeRef. Remove unused rdf_MakeRelativeName. r=timeless, sr=shaver. 2002-01-25 22:28:55 +00:00
ccarlen%netscape.com
6de6156926 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
waterson%netscape.com
97ae9866cc Bug 116328. Add nsIRDFBlob sorting to rdfliner. r=varga@utcru.sk, sr=hyatt. 2002-01-24 23:03:01 +00:00
harishd%netscape.com
d5fc3771e2 Removed mDoctypeText from nsExpatDriver. This |could| improve Ts/Txul time slightly. b=102345, r=heikki, sr=jst 2002-01-24 22:15:58 +00:00
mcafee%netscape.com
94746f6a12 I'm sorry Dave, I'm afraid I can't allow this checkin. Backing out rjc's change from earlier (121546). r=jrgm 2002-01-24 07:16:01 +00:00
rjc%netscape.com
33d6e39d57 Fix bug # 113894 (and 36972 and 79013 and probably others): get nsFileSpec usage out of RDF, and fix RDF persistence on Mac if there is a slash in the path. Various code from myself, darin, waterson and tingley. Various r/sr include darin, waterson 2002-01-24 01:29:39 +00:00
rjc%netscape.com
bc9808dcba Back out fix for bug # 113894 due to bug # 120617. a=sheriff suresh 2002-01-18 07:20:36 +00:00
dp%netscape.com
75e52c28bc bug 119346 1k -> 4k buffers r=harishd,blizzard sr=waterson a=blizzard 2002-01-17 00:45:03 +00:00
bryner%netscape.com
506ca13a9a 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
b9171e8d88 Changing location of form stylesheet for XBL forms. r=hewitt, sr=hyatt. Not turned on yet. 2002-01-15 22:19:12 +00:00
sspitzer%netscape.com
614453083c fix for blocker bug #120049. corrupting localstore.rdf.
thanks to jrgm@netscape.com for the patch, this will make tomorrow a lot
less painful.  r=sspitzer, sr=ben
2002-01-15 09:34:31 +00:00
rjc%netscape.com
9507f4c5fe Fix potential build bustage due to case issue (which the Mac is leniant about) 2002-01-15 05:48:50 +00:00
rjc%netscape.com
90ec4b26a5 Fix bug # 113894: RDF persistence breaks when there is a / in the file path. Verbal r=pavlov and sr=waterson 2002-01-15 05:20:37 +00:00
waterson%netscape.com
403c8c378e Fix monkeypox build bustage. 2002-01-15 03:01:18 +00:00
waterson%netscape.com
70b7f07e30 Bug 115926. Add support for `blob' literals. r=rjc,tingley; sr=hyatt 2002-01-15 01:57:17 +00:00
waterson%netscape.com
cd8149b788 Bug 118865, 33197. Support serialization of integer and date literals; support `parseType="Resource"'. r=rjc, sr=hyatt 2002-01-15 01:56:15 +00:00
cathleen%netscape.com
92d4fbf218 converted 271 references to nsCRT::memcpy to memcpy, bug 118135 r=dp 2002-01-12 03:18:55 +00:00
dbaron%fas.harvard.edu
9a039b7c3a Fix AIX and OS/2 bustage by using normal |const|-ness conventions. r=harishd 2002-01-09 18:15:36 +00:00
harishd%netscape.com
7c522efd05 105137 - Eliminate nsTokens, nsParserNode usage for xml/xbl/xul/rdf documents. r=heikki, sr=jst 2002-01-09 01:37:50 +00:00
rjc%netscape.com
5a7d63aca7 Fix blocker buf # 118735... RDF issue. r/a=darin sr=waterson 2002-01-08 23:37:04 +00:00
alecf%netscape.com
5965318acb 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
rjc%netscape.com
946661a434 Bug # 35817: Remove unused RDF service reference. r=mcafee sr=brendan 2002-01-07 11:18:53 +00:00
rjc%netscape.com
cbc9048ae8 Forget to add this new file as part of last checkin. r=me 2002-01-07 04:12:43 +00:00
rjc%netscape.com
80ddfecd1e Bug # 35817: RDF SEQ optimizations for RDF's in-memory datasource. r=tingley and sr=waterson 2002-01-07 04:02:27 +00:00
blakeross%telocity.com
349e67793e Other missing file. 2002-01-06 21:07:16 +00:00
blakeross%telocity.com
c587984942 The rest of 117685. 2002-01-06 20:09:10 +00:00
blakeross%telocity.com
0785134c7d 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
6cf1d33b09 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
tingley%sundell.net
a117febf17 bug 100132: clean up over-zealous error masking in
nsRDFXMLDataSource::BlockingParse(), and bring nsLocalFileUnix's
OpenNSPRFileDesc() return values in line with other platforms.
r=waterson, sr=brendan
2001-12-22 19:08:48 +00:00
tingley%sundell.net
8d272ad102 bug 107133, add NC:IsDirectory arcs to the rdf:files datasource.
r=rjc, sr=waterson.
2001-12-22 18:58:10 +00:00
tingley%sundell.net
7638c0d339 bug 89446: make rdfcat work again with http:// urls. r=rjc, sr=waterson. 2001-12-21 23:48:07 +00:00
rjesup%wgate.com
2e680f1b17 Bug 96108: Inline ElementAt(), add SafeElementAt(), voidarray usage fixes,
assertions for bad voidarray indexes.  r=jst, sr=waterson
2001-12-21 01:10:07 +00:00
waterson%netscape.com
1c436236f0 Bug 114882. Hash integer and date literals, as well. Convert all hashtables to use dhash. r=tingley, sr=hyatt. 2001-12-20 23:04:33 +00:00
dbaron%fas.harvard.edu
7a72f2d9f4 Remove the many forms of NS_SetupRegistry since the classes registered are all now part of proper components. r=dougt, jag sr=rpotts b=81527 2001-12-20 02:09:49 +00:00
seawood%netscape.com
45bfbf0658 Landing the rest of the win32 gmake changes:
* Adds Makefile.ins to win32 specific dirs
* Adds WINNT ifdefs to Makefile.ins
* Causes NSPR to be compiled with --with-mozilla
* Misc general Makefile.in cleanup

Bug #58981 r=mcafee
2001-12-18 09:14:29 +00:00
hyatt%netscape.com
0ec3f045d8 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
97b0530073 Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf 2001-12-16 11:58:03 +00:00
pavlov%netscape.com
15273ea50a bug 78611. New XP threadsafe timer implementation. r=dougt sr=brendan 2001-12-16 06:13:17 +00:00
rjc%netscape.com
7cef4f0b2f Fix bugs 113745, 113742 and 114811: all regarding "moz-icon:". Fix up XP_MAC code to use Mac OS's Icon Services, and expose platform icons in file:/// display and search panel (and search preferences panel). Mixture of r/srs: sdagley, ben, and smfr 2001-12-15 01:59:50 +00:00
seawood%netscape.com
51fa852613 Make OS/2 use the win32 build changes and finish LIB_PREFIX substitution.
Thanks to Javier Pedemonte (pedemont@us.ibm.com) for the patch.
Bug #58981 r=cls
2001-12-14 23:49:04 +00:00
tingley%sundell.net
3645994bee bug 113838 - make nsRDFXMLParser::ParseString() work again.
r=rjc sr=waterson
2001-12-11 07:01:03 +00:00
ccarlen%netscape.com
95ce5e2693 Bug 98349 - Convert Mac build to CW7 and XML projects. Removing obsolete .mcp files. r=pink/sr=sfraser 2001-12-11 05:25:50 +00:00
ccarlen%netscape.com
993cd4c06f Bug 98349 - Convert Mac build to CW7 and XML projects. Removing obsolete .mcp files. r=pink/sr=sfraser 2001-12-11 04:54:47 +00:00
ccarlen%netscape.com
b564bb181b Adding new files for conversion to CW7 and XML project files. Bug 98349 r=pink/sr=sfraser. 2001-12-10 21:20:58 +00:00
ccarlen%netscape.com
6d8ea78b52 Adding new files for conversion to CW7 and XML project files. Bug 98349 r=pink/sr=sfraser. 2001-12-10 20:25:12 +00:00
dp%netscape.com
1a3b0b8915 bug 110555 Ignoring error when user css files not found. r=dveditz,
sr=hyatt
2001-12-09 16:14:02 +00:00
law%netscape.com
2881bb9951 Bug 88287; add blocking style GetDataSource method so callers can ensure they use an already registered data source; r=sgehani, sr=waterson 2001-12-06 03:44:42 +00:00
leaf%mozilla.org
8310ba80d7 remove cppsrcs defines from makefile.win files, bug 102459, sr=cls r=dbaron 2001-12-05 03:43:29 +00:00
alecf%netscape.com
523be41c46 *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
dp%netscape.com
fd8e8bb95b Timing rdf blocking parse for timeline enabled builds 2001-11-26 22:28:37 +00:00
timeless%mac.com
51a4520c4a Bugzilla Bug 107823 change nsIFile
to use 'Modified' instead of 'Modification'
r=akkana sr=brendan
2001-11-26 08:05:05 +00:00
bzbarsky%mit.edu
edfb3b268f Use <> for system headers, not "". This should help prevent Sun WSU2
compiler bustage.  Bug 111574, patch from Roland Mainz
(<Roland.Mainz@informatik.med.uni-giessen.de>), r=bzbarsky, sr=bienvenu
2001-11-23 22:36:54 +00:00
seawood%netscape.com
7733357d51 Rename 'install' build phase to 'libs'.
Bug #56601 r=pavlov
2001-11-21 09:49:41 +00:00
seawood%netscape.com
55fe97bff7 Renaming 'install' build phase to 'libs'
Bug #56601 r=pavlov
2001-11-21 08:55:59 +00:00
hyatt%netscape.com
ec854fbecd Collapse chrome reg. r=dp, sr=brendan, 109488 2001-11-21 00:12:42 +00:00
jaggernaut%netscape.com
ee4f787321 Clean up REQUIRES lines. r/sr=alecf 2001-11-16 01:54:59 +00:00
alecf%netscape.com
d49a4ba867 win32 REQUIRES cleanup 2001-11-15 03:49:13 +00:00
bzbarsky%mit.edu
f2ee8260a0 Use NS_LITERAL_STRING instead of NS_ConvertASCIItoUCS2 where possible
(i.e. where the string is a literal).  Bug 104159, r=jag, sr=alecf
2001-11-14 01:33:42 +00:00
pierre%netscape.com
3da4d257d9 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
seawood%netscape.com
be10c3b1a8 Backing out fix for remote mach-o builds as it left mach-o builds fragile.
Add TK_CFLAGS back to default CFLAGS/CXXFLAGS.
Bug #107696
2001-11-03 03:29:05 +00:00
seawood%netscape.com
8a2a775382 Since '-framework Carbon' causes binaries to require console access to run, do not link using that flag by default. Otherwise, remote builds & non-console tinderboxes will break. Mac OSX Mach-O only.
Bug #107696 r=mozbot
2001-11-01 00:54:48 +00:00
pete%alphanumerica.com
b52992027b b=107823, r=ccarlen, sr=brendan
--pete
2001-11-01 00:11:15 +00:00
dougt%netscape.com
20e863fb43 Moving nsISimpleEnumerator interface to new idl file. 99136, r=alecf@netscape.com sr=rpotts@netscape.com 2001-10-30 22:07:28 +00:00
sfraser%netscape.com
72ca9383ae Clean up static linkage with unichar utils (bug 100214) for alecf. r=fm, sr=alecf 2001-10-26 23:34:53 +00:00
jaggernaut%netscape.com
cd797fe0a1 Bug 106967: fix crash (doh me) 2001-10-26 21:37:07 +00:00
alecf%netscape.com
491fe6b2bd Added files: mozilla/intl/unicharutils/util/nsUnicharUtils.cpp 2001-10-26 03:37:38 +00:00
alecf%netscape.com
8b0ceb8c3c final makefile.win changes for bug 100214, just adding some REQUIRES to be used soon 2001-10-26 03:18:09 +00:00
jaggernaut%netscape.com
ac47cdde61 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
0a62d4e8d5 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
alecf%netscape.com
c8469b7ac5 bug 100214 - add libunicharutil_s to all unix projects that require it, r=cls 2001-10-22 20:44:02 +00:00
dougt%netscape.com
d18d7e2b17 nsIObserver and nsIObserverService API freeze. r=rpotts@netscape.com, alecf@netscape.com. bug 99163 2001-10-19 20:52:59 +00:00
waterson%netscape.com
5f0c673be2 Bug 104328. Re-use fast code from nsIRDFContainerUtils to implement nsRDFContainer::IndexOf; fix infinite loop in nsRDFContainerUtils::IndexOf. Patch from tingley@sundell.net, r=waterson, sr=shaver. 2001-10-16 21:52:01 +00:00
dbaron%fas.harvard.edu
ed869c764e Replace uses of overloaded |fputs| and most uses of |ns[C]String::ToCString|. b=104763 r=jag rs=scc 2001-10-16 03:53:44 +00:00
dougt%netscape.com
4f3a44d63b API Freeze for nsIServiceManager r=shaver@mozilla.org, sr=rpotts@netscape.com bug 99147 2001-10-16 03:35:52 +00:00
alecf%netscape.com
bd048504df convert nsCRT::strn?cmp to Convert() for bug 100214, to depend on string rather than xpcom for case-insensitive unicode support. r=sspitzer for mail stuff, r=jag for everything else, sr=sfraser 2001-10-13 00:16:32 +00:00
gerv%gerv.net
da2c7d7481 CVS removal of obsolete directories. Bug 102787. Goodbyeeeee.... 2001-10-03 18:54:49 +00:00
dbaron%fas.harvard.edu
9a4acbab7a Bug 45797: replace remaining uses of deprecated macros NS_IMPL_QUERY_INTERFACE and friends with NS_IMPL_QUERY_INTERFACE1 and friends and remove the deprecated macros. r=jag sr=alecf 2001-10-02 03:18:08 +00:00
waterson%netscape.com
d3e184dc44 Bug 102534. Serialize default namespace properly on typed nodes. Patch submitted by tingley@sundell.net, r=shaver, sr=waterson 2001-10-01 19:54:04 +00:00
sspitzer%netscape.com
e147b1a4a9 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
ca6197295f 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
8bb8b5bb10 fix for #102037. use GetValueConst() instead of GetValue() to avoid strdups.
r,sr=waterson, sr=bienvenu
2001-09-29 00:01:58 +00:00
harishd%netscape.com
6cf7e21d1f 96364 - Register html tag observers directly to parser service rather than nsObserverService. Doing so, reduces a lot of overhead. Also, the observers are now notified via sink. This eliminates the need for parser bundle.
r=dp,shanjian,sfraser, sr=rpotts.
2001-09-28 23:08:17 +00:00
gerv%gerv.net
4e12e44b2f Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089. 2001-09-28 20:14:13 +00:00
waterson%netscape.com
1f50ae983e Bug 97775. Modify serializer to emit typed nodes when appropriate; patch courtesy tingley@sundell.net, r=shaver, sr=waterson. 2001-09-24 22:31:05 +00:00
darin%netscape.com
f49b5b332c fixes bug 99410 "further res protocol cleanup" r=dougt, sr=mscott 2001-09-20 01:32:16 +00:00
jaggernaut%netscape.com
d1a7bfa843 One module per line for REQUIRES. r=/sr=alecf 2001-09-18 22:01:13 +00:00
jaggernaut%netscape.com
dc40187223 Bug 73353: splitting the modules on the REQUIRES lines in Makefile.in across multiple lines to more clearly show the changes made. sr=alecf 2001-09-18 13:41:47 +00:00
alecf%netscape.com
62424ee7b2 Final REQUIRES changes for bug 98371, adding support for MOZ_TRACK_MODULE_DEPS to win32. r=cls (and tested by cls!) 2001-09-17 19:06:35 +00:00
jaggernaut%netscape.com
25856c9451 Bug 73353: move gfx from module layout to module gfx and fix up REQUIRES lines. r=cls 2001-09-14 05:37:29 +00:00
darin%netscape.com
5a2d9f0d2d 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
alecf%netscape.com
1e0e7dd033 Add REQUIRES to many modules for win32 support, bug 98372 r=cls 2001-09-12 20:32:40 +00:00
rjesup%wgate.com
070b2fe9da Bug 92576. nsVoidArray->nsAutoVoidArray. sr=jst, r=waterson, r=pavlov, r=kin, r=kmcclusk 2001-09-12 14:59:11 +00:00
jaggernaut%netscape.com
30ace44624 Clean up REQUIRES lines, put content in its own module instead of in layout's, r=cls. 2001-09-12 12:48:23 +00:00
mkaply%us.ibm.com
4ca3cf959e #76856
Night of the Living Dead CVS files - rekilling files that got changes made after they were killed
2001-09-11 03:50:35 +00:00
dp%netscape.com
7898b3314d 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
d48280a189 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
6d895baf1d 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
dp%netscape.com
fdbe5cd9c6 Bug 94366 Reducing url object creations by not converting urls schemes
that done need conversion to absolute. r,sr=waterson
2001-08-21 20:09:20 +00:00
dbaron%fas.harvard.edu
113ad642ae Replace uses of deprecated NS_IMPL_ISUPPORTS and NS_IMPL_QUERYINTERFACE macros with NS_IMPL_{ISUPPORTS,QUERYINTERFACE}{1,0}. r=jag rs=brendan b=45797 2001-08-21 01:48:11 +00:00
blizzard%redhat.com
b0f8b91746 Back out brendan's checkin to try and get linux starting up again. 2001-08-17 19:45:11 +00:00
brendan%mozilla.org
b00819c93c - 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
cls%seawood.org
a3c1dd1b09 Use NS_PTR_TO_INT32 macros to do 64-bit safe pointer conversions.
Bug #20860 r=Roland.Mainz@informatik.med.uni-giessen.de sr=brendan@mozilla.org
2001-08-14 07:59:59 +00:00
pavlov%netscape.com
1e20984ef0 fixing bug 78690. removing old imagelib. r=jst sr=waterson 2001-08-09 20:22:39 +00:00
andreas.otte%primus-online.de
6917b5d061 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
dbd7fed5b1 FASTLOAD_20010703_BRANCH landing, r=dbaron, sr=shaver. 2001-07-31 19:05:34 +00:00
jaggernaut%netscape.com
e91f8a147e Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa 2001-07-25 07:54:28 +00:00
waterson%netscape.com
17b1956b74 Bug 90972. Add missing |scriptable| attributes. 2001-07-24 21:09:09 +00:00
pete%alphanumerica.com
f020dcc1cd 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
cb0faab070 Bug 73353: clean up the REQUIRES lines in Makefiles. 2001-07-23 22:36:12 +00:00
dbaron%fas.harvard.edu
aa4fec2b67 Header include dependency cleanup. b=64023 r=jag rs=brendan 2001-07-16 02:40:48 +00:00
timeless%mac.com
1fdeed80f7 Bugzilla Bug 70857 [XUL Syntax] Replace <boxDerivedTag align="horizontal|vertical"> with
<boxDerivedTag orient="horizontal|vertical">
patch by andersma@luther.edu r=timeless sr=blake
2001-07-09 18:41:07 +00:00
jaggernaut%netscape.com
5a6317b8a5 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
vidur%netscape.com
9a358b6df4 Fix for bug 81253. We now sniff upto the first 2k of the first buffer of any HTML stream, looking for a META tag with charset information. If charset information is found, we use it for unicode conversion. This deals with the bulk of cases where we used to do a reload based on charset information in the document. In the worst case (if charset information exists but isn't found during sniffing) we fall back to the reload case. This fix improves initial page load performance for pages with a charset. Degradation in performance for pages loaded out of the cache is still being investigated. r=harishd, sr=waterson 2001-06-29 22:56:58 +00:00
jat%princeton.edu
0a5641d407 Improves perf of filesystem datasource for bug 73214. r=jtaylor sr=dougt. 2001-06-27 23:28:12 +00:00
ben%netscape.com
556887f125 fix build bustage due to merge conflict screwup 2001-06-22 05:08:34 +00:00
ben%netscape.com
90709b37f9 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
758f79ff72 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
waterson%netscape.com
b74d6e1c8b Land STATIC_BUILD_20010612_BRANCH, which supports building mozilla with components statically linked into the executable, as well as 'meta modules' that combine components into uber-DLLs. 2001-06-20 20:21:49 +00:00
dbaron%fas.harvard.edu
9d35ed31a4 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
cls%seawood.org
bf5fb48486 Replaced NO_SHARED_LIB & NO_STATIC_LIB with BUILD_SHARED_LIBS, BUILD_STATIC_LIBS, FORCE_STATIC_LIB & FORCE_SHARED_LIB. Added FORCE_USE_PIC.
Changes allow us to have a finer control over which parts of the tree are built with PIC.  Part of the static build branch landing.
Bug #46775 r=mcafee a=leaf
2001-06-18 22:10:38 +00:00
scc%mozilla.org
1f69171c8f bug #85271: avoid regressions by re-creating the old behavior near |nsCRT::strdup|, see bug #86316 2001-06-18 03:50:12 +00:00
scc%mozilla.org
a8fb409c6e 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
e0c4831d10 Fixes bug 83401. r=gagan, darin, sr=vidur, a=blizzard. Add port blacklisting to necko 2001-06-06 00:10:09 +00:00
jband%netscape.com
b7f7c86cbc fix part of bug 83367 by fixing the crazy 'delete this' case after making a call out which could result in a reference being added. sr=vidur r=waterson,dbradley a=drivers 2001-06-05 00:51:29 +00:00
waterson%netscape.com
832694b375 Bug 80589. Ensure that NS_NewLocalStore() will not return success unless it actually returns a component. r=alecf, sr=hyatt, a=asa. 2001-05-25 15:58:09 +00:00
anatoliya%netscape.com
cb722521f1 bug 76512 r=pchen sr=hyatt 2001-05-17 02:31:28 +00:00
anatoliya%netscape.com
4be03d3937 bug 76512 r=pchen sr=hyatt 2001-05-17 02:02:51 +00:00
anatoliya%netscape.com
4e92265401 bug 76512 r=pchen sr=hyatt 2001-05-17 01:31:18 +00:00
blakeross%telocity.com
5da2720a05 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
dmose%netscape.com
a2287e7a16 Fix for MOZ_TRACK_MODULE_DEPS build (eg senna tinderbox) build bustage 2001-05-15 22:22:59 +00:00
anatoliya%netscape.com
5faa137abc bug 76512 r=pchen sr=hyatt 2001-05-15 22:03:51 +00:00
waterson%netscape.com
d79e8811b7 Be sure to use .get() when passing nsXPIDLCString to PR_LOG(). 2001-05-15 20:00:29 +00:00
waterson%netscape.com
01b9da0e26 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
waterson%netscape.com
cad8461e41 Bug 35816. Add new interfaces, not yet part of the build. r=hyatt, sr=shaver. 2001-05-15 18:48:17 +00:00
sfraser%netscape.com
2e5f05db5a 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
dbaron%fas.harvard.edu
32c43cb5ef Fix MOZ_TRACK_MODULE_DEPS (senna tinderbox) bustage by adding new header file dependencies from XPCDOM landing to REQUIRES. 2001-05-08 19:19:03 +00:00
jst%netscape.com
ea706038cf 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
afdac97c93 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
mcafee%netscape.com
5e9f551b05 Backing out waterson to fix (78718), chrome restart blocker. Thanks to sspitzer for finding this. r=sspitzer,waterson 2001-05-03 21:11:45 +00:00
waterson%netscape.com
6916890833 Bug 78013. Remove nsFileSpec usage. r=dougt, sr=shaver 2001-05-03 00:03:39 +00:00
cls%seawood.org
d62bacf705 Remove unneeded LOST_SYM_LIBS defines. 2001-04-30 01:13:22 +00:00
cls%seawood.org
00f28396a9 Set EXPORT_LIBRARY=1 in all pertinent Makefile.ins. Allows us to build the final link list as we traverse the tree. Bug #46775 2001-04-28 19:48:12 +00:00
waterson%netscape.com
ee316185ba Bug 74448. Fix acceptable URI schemes using table-driven implementation. r=dmose, sr=shaver. 2001-04-28 02:12:10 +00:00
mkaply%us.ibm.com
ca14bcb9f5 Don't need to make this change if pref isn't in 2001-04-20 12:19:23 +00:00
mkaply%us.ibm.com
aa327b3ee6 OS/2 TB bustage
OS/2 only change needed with the OS/2 change to nsCom.h
2001-04-20 03:45:19 +00:00
maolson%earthlink.net
a1ece4a66a bug 11623 - change CSS file comments from // to /* */
r=dbaron, sr=hewitt
2001-04-16 23:11:27 +00:00
disttsc%bart.nl
48e1ee188a Fix senna bustage (MOZ_TRACK_MODULE_DEPS) 2001-04-13 13:08:44 +00:00
valeski%netscape.com
f3c5380747 sr=darin. no bug. just dead wood static cid cleanup 2001-04-13 11:23:11 +00:00
pavlov%netscape.com
679106cdbd fix images not changing during skin switching bug 75181 r=brendan sr=hyatt 2001-04-13 09:07:12 +00:00
shaver%mozilla.org
a0daa1645d 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
729b2163e7 Half-size scrollbar fix. Enable relative urls in addition to absolute urls. r=danm, sr=hewitt 2001-04-11 03:56:12 +00:00
disttsc%bart.nl
5c6414af97 Fix MOZ_TRACK_MODULE_DEPS bustage (senna) 2001-04-10 12:14:46 +00:00
darin%netscape.com
00a7e27ee6 Necko API changes, bug 74221. r=valeski, sr=rpotts. 2001-04-10 06:01:08 +00:00
hyatt%netscape.com
3e86baf3e6 Fix win32 bustage. 2001-04-10 03:29:23 +00:00
hyatt%netscape.com
66b62a714a Fix for 73137. r=danm, sr=hewitt. 2001-04-10 02:09:29 +00:00
dprice%netscape.com
8c0b9eaf97 65845 - new order files 2001-04-05 06:02:32 +00:00
disttsc%bart.nl
5c9f7ba46c 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
fe8a8c8c58 Fix for 53670. 2001-04-04 23:15:02 +00:00
waterson%netscape.com
f6555232e1 Another wild stab at fixing ports bustage. 2001-04-04 09:09:58 +00:00
waterson%netscape.com
8e6365a96f Bug 68213. Require users of nsFixedSizeAllocator to specify object size at Free() time to avoid 8 byte overhead per allocation. r=harishd, brendan, shaver, hyatt; sr=scc 2001-04-04 05:00:08 +00:00
rickg%netscape.com
169a621d42 preloader update. r=peterl, sr=attinasi 2001-04-03 22:58:59 +00:00
waterson%netscape.com
ffa2de9ecd Bug 69973. Use NC_EXTENSION on Win32, too. Patch submitted by william.cook@crocodile-clips.com, r=bryner, ksosez@softhome.net; sr=waterson 2001-04-01 20:10:37 +00:00
waterson%netscape.com
c2f73cbddd Bug 71530. Put the wraps on the RDF outliner for now. Implement 'natural order' sorting. Also, fix off-by-one in the enumerator. r=ben, sr=hyatt 2001-03-28 22:42:49 +00:00
pinkerton%netscape.com
c3982c4c90 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
disttsc%bart.nl
f595ed19f3 Clean up REQUIRES lines. r=cls 2001-03-25 22:59:27 +00:00
blakeross%telocity.com
85f54f99db 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
waterson%netscape.com
fb90ea7686 Bug 71530. Preflight required changes for RDF outliner. Need to include 'rdf.h' for progid prefixes. r=hyatt, sr=ben 2001-03-23 07:45:02 +00:00
blakeross%telocity.com
0b2dd2b2d2 Fixing 70746: major xul syntax changes. If you use xul, this WILL affect you! Read n.p.m.xpfe for details on the changes and how you can fix your code. r=hewitt sr=hyatt, ben 2001-03-22 00:59:29 +00:00
maolson%earthlink.net
1e7ee6f0f9 fix bug 70747 [XUL Syntax] Replace <textfield> with <textbox>
r=blake, a=ben
2001-03-22 00:15:47 +00:00
dprice%netscape.com
edb387e49c 71057 sr=waterson new order files. NOT PART OF THE REGULAR BUILD 2001-03-13 10:47:37 +00:00
valeski%netscape.com
68017cb9e2 sr=rpotts, r=gagan. 70743. switching over to new extensible URI::SchemeIs() api 2001-03-13 02:02:05 +00:00
dougt%netscape.com
c74c36c85e 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
c819a81536 Along with bug 65212 - removing unnescesary dependencies on profile. r=valeski@netscape.com, sr=alecf@netscape.com 2001-03-11 22:15:22 +00:00
ccarlen%netscape.com
4b14f2ddc4 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
Peter.VanderBeken%pandora.be
47d931e2cd Renaming NS_PARSER_IID to NS_PARSER_CID, because it *is* a CID. r=jag, sr=jst. 2001-03-10 21:02:12 +00:00
disttsc%bart.nl
8b43034cef 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