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

868 Коммитов

Автор SHA1 Сообщение Дата
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
peterv%netscape.com 2cd27f702a Fix for bug 176610 (Make nsNameSpaceManager a service). r=caillon, sr=jst. 2002-11-29 23:44:07 +00:00
cmanske%netscape.com 70a7efaddd Start controller IDs at 1 for InsertController. b=180814, r=brade, sr=sfraser 2002-11-20 11:36:05 +00:00
timeless%mozdev.org 12e2ba7d07 Bug 180217 nsXULDocument::~nsXULDocument will crash if mDocumentURL is null
r=dbradley sr=brendan
2002-11-19 18:22:36 +00:00
alecf%netscape.com df10f648b8 take two at fixing bug 177401 - convert nsIBinaryStream over to using nsAString/nsACString for string values, to speed up fastload
sr=darin, r=dougt
(the previous checkin had a typo which disabled fastload entirely!)
2002-11-14 18:16:31 +00:00
cmanske%netscape.com 722881b278 Command Controller refactoring and cleanup, mostly by mjudge with help by cmanske, b=170353, r=brade, sr=sfraser. EditingSession cleanup and new commands in \editor, b=174439, r=mjudge, sr=sfraser 2002-11-12 23:03:27 +00:00
alecf%netscape.com 0a48c10053 argh, back out my last checkin because Ts went UP not down! 2002-11-09 01:31:32 +00:00
bryner%netscape.com 8beac694e3 Add a second pass of event processing for system events, using DOM3 event group functionality. Bug 124990. Patch by joki, r=saari and bryner, sr=jst. 2002-11-09 00:25:25 +00:00
alecf%netscape.com 4721428275 fix for bug 177401 - use nsAString& classes instead of wstring in nsIBinaryInputStream, to speed up fastload startup
sr=darin, r=dougt
2002-11-08 23:30:53 +00:00
rpotts%netscape.com 6a2d2e0134 bug #174404 (r=adam, sr=jst) Support the optional FOR and EVENT attributes on the SCRIPT tag 2002-11-07 05:17:21 +00:00
aaronl%netscape.com c07ae571e9 Bug 173350. nsIDOMTreeWalker crashes with XUL documents -- this implements some of the unimplemented methods in nsXULDocument. r=jst, sr=bzbarsky 2002-11-06 02:30:38 +00:00
seawood%netscape.com 57e08a3f3a Define WIN32_LEAN_AND_MEAN globally for win32 builds.
Thanks to Stephen Walker <walk84@yahoo.com> for the patch.
Bug #172898 r=cls a=asa
2002-10-17 06:47:01 +00:00
timeless%mac.com 5a9229daea Bug 173299 change getControlleryById to getControllerById in nsIControllersInterface
r=cmanske sr=kin
2002-10-08 18:25:57 +00:00
varga%netscape.com a068886905 Putting XUL prototype elements on a diet. Bug 26429.
r=ben, sr=brendan
2002-09-25 09:56:09 +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
jst%netscape.com 1d068ce04e Fixing bug 168096. Fix leak in nsXULDocument::GetFocusController(). r=sicking@bigfoot.com, sr=bzbarsky@mit.edu 2002-09-13 23:12:20 +00:00
jst%netscape.com ee8ed3b2e1 De-tabifying. Die tabs, die! :-) 2002-09-13 23:10:58 +00:00
hyatt%netscape.com fec7cccf7a Fix for 168352, getElementByID assertions, r/sr=bryner,brendan 2002-09-12 23:13:14 +00:00
brade%netscape.com 12c6df67d8 fix api for JS usage (bug 157097, r=cmanske, sr=sfraser) 2002-09-12 19:10:32 +00:00
hyatt%netscape.com b815570db2 A collection of broadcaster fixes. Make sure observes are unhooked when removed from the doc. ALso suppress notifications on hookup, since they result in double frame construction. Bug 167445. r/sr=ben/bryner 2002-09-12 04:40: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
bryner%netscape.com 11659c8e1c Bug 141295 and 153681 - fix some timing problems with initial focus. Make sure that window watcher's activeWindow accurately reflects the last window to receive an NS_ACTIVATE. Remove the GetFocusController API from nsIDocument, since the focus controller can now be obtained for the entire lifetime of the document by using GetContainer(). Cleaned up some methods on nsEventStateManager/nsIEventStateManager that were virtual for no reason. r=danm, sr=jst. 2002-09-06 00:19:58 +00:00
sicking%bigfoot.com 3dcee9b795 Bug 159314: Fastload is wasteful wrt nodenames. Instead of serializing nodename+namespaceURI for each element/attribute, serialize a table of all nodename+namespaces used by a document and then serialize pointers into that.
r=jst sr=hyatt
2002-09-03 22:31:38 +00:00
roc+%cs.cmu.edu cb32a0f906 Bug 160936. Add type nsChangeHint for style hints. Make it a set of bits. Make sure an NS_STYLE_HINT_REFLOW always also does a repaint of the frame. r=dbaron,sr=kin 2002-08-24 14:41:28 +00:00
alecf%netscape.com f34730c3ac fix off-by-one error from bug 162947, found by rbs@maths.uq.edu.au
(no functional change, just prevents assertion)
2002-08-16 21:47:12 +00:00
alecf%netscape.com fa6fe66780 fix bug 162947 - small leak in nsXULDocument
sr=jst, r=timeless
2002-08-16 01:04:40 +00:00
heikki%netscape.com aada8cb19a Fix OS/2 bustage - const should not be here. 2002-08-13 23:57:36 +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
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
sicking%bigfoot.com 39c966dd38 Use principals instead of URIs for same-origin checks.
b=159348, r=bz, sr=jst, a=asa
2002-07-30 21:26:32 +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
sicking%bigfoot.com a51a99a196 Make sure it is possible to get URI of xul elements even if they share nodeinfo with their prototype and are removed from the document tree.
b=156452 r=bz sr=jst a=asa
2002-07-23 22:16:45 +00:00
sicking%bigfoot.com c2e51f12c5 Reenable same-origin checks. Patch by me and jst.
b=156452 r=peterv/sicking/jst sr=bz/jst a=chofmann
2002-07-18 05:53:28 +00:00
sicking%bigfoot.com 17bc6e66e4 Add same-origin checks in a few DOM methods. Patch by me and jst.
b=156452, r=jst/me, sr=bz, a=pending
2002-07-16 13:09:15 +00:00
mjudge%netscape.com 47e8fbc7bf r=akkana sr=sfrasier 125146 a=asa This patch will make the embedding API's a better friend to all. It eliminates the use of multibyte strings in command names and also allows for simple command to not require the nsICommandParams interface to be filled. 2002-07-15 22:04:13 +00:00
sicking%bigfoot.com e19f713214 Add sameorigin checks to treewalker
b=156452, r=mstoltz, sr=jst, a=chofmann
2002-07-15 19:25:27 +00:00
jst%netscape.com e6ddef4fe9 Fixing security bug 134315. Make sure we clear the JS scope in cases where it's needed. r=mstoltz@netscape.com, sr=brendan@mozilla.org 2002-07-09 03:23:56 +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
dbaron%fas.harvard.edu e63a11c0e8 Split strict mode into almost-standards and full-standards mode, where the only quirk in almost standards mode is the quirky inline box model. Remove previous fix for bug 151620. Tweak mode detection to use almost-standards for XHTML Transitional, HTML 4.01 transitional with system ID, and for IBM system DOCTYPE. b=153032 r=karnaze, bzbarsky, harishd sr=waterson 2002-06-25 21:16:17 +00:00
ben%netscape.com fa148fdef3 Fix for topcrashers bug 143118 and bug 146891 - prevent continued deserialization after a a deserialization failure of the XUL PD by aborting on failure, also, ensure that that propagates up so we can catch it. Fix an oops (trying to remove the fasl file before closing the stream to it) and hack around a nsLocalFileWin bug (bug 150156) in the process. r=waterson, sr=brendan, a=asa 2002-06-09 10:31:00 +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
timeless%mac.com c3741ef7d1 Bug 144763 tolerate do_QueryReferent() returning null [@nsXULPrototypeScript::Compile]
r=harishd sr=jst
2002-06-03 19:17:46 +00:00
dbaron%fas.harvard.edu 8d231a5fae Ensure that the quirks stylesheet is enabled/disabled before we start creating frames so that we don't have to build the rule cascade twice. Remove old compatibility mode pref that only controlled a small part of what it should have. b=141261 sr=waterson r=jst 2002-05-23 23:09:31 +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
jst%netscape.com 262f28f900 Fixing bug 134278. Die kNameSpaceID_HTML, die! r=sicking@bigfoot.com, sr=heikki@netscape.com 2002-05-20 22:47:02 +00:00
jst%netscape.com c68cadcb79 Fixing bug 131841. Don't make calls on weak XPCOM (nsIPresShell in this case) pointers since the objects might go away during the call, this lead to a crash in this particular case. r=sicking@bigfoot.com, sr=vidur@netscape.com, brendan@mozilla.org 2002-05-18 00:02:50 +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
caillon%returnzero.com ddd3d5d711 Initial implementation of DOM Level 3 Core methods Node.compareTreePosition() and Node.isSameNode(), Bug 139344, r=jkeiser, sr=jst 2002-05-14 01:28:17 +00:00
timeless%mac.com ed1ec0e54d Bug 142853 disabling XUL cache causes assertions, eats ram
honor pref: nglayout.debug.disable_xul_cache
this fixes the assertion
r=waterson sr=alecf
2002-05-14 01:15:27 +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
ben%netscape.com 399e766e81 bug 142165, crash and fasl file invalidation when loading non-chrome XUL files.
Ensure that we only poke the chrome cache for prototype documents that are chrome
URIs. Also, ensure that we only cache the fasl'ed prototype when it was read
without hiccup.
r=blake, sr=brendan.
2002-05-07 01:29:44 +00:00
mkaply%us.ibm.com c355d8c308 OS/2 bustage 2002-05-05 03:26:52 +00:00
mkaply%us.ibm.com dd81682347 OS/2 bustage - its either remove PR_CALLBACK or add it to the header. I don't have an OS/2 machine since I am in San Antonio where my new son was born. See http://www.kaply.com 2002-05-04 18:49:30 +00:00
bryner%netscape.com 7801134817 Make the XUL cache lock gc'ing of script objects while they are in the cache, to prevent pulling out a bogus JSObject. Bug 132216, r=waterson, sr=brendan. 2002-05-04 09:15:04 +00:00
ben%netscape.com 4d1250c271 Forgot to mention that all prior checkins were for bug 112064 :-) 2002-05-03 03:10:23 +00:00
ben%netscape.com a67d1f4b6f [Chrome FastLoad]
Implement XUL Prototype Document and Prototype Element serialization/deserialization scheme for FastLoad of chrome documents.
r=brendan, sr=hyatt
2002-05-03 03:04:34 +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
jst%netscape.com d2298f34f2 Fixing bugs 138138 and 138663. Making boxobjects clear their presentation related data when a XUL document is hidden. r=jkeiser@netscape.com, sr=rpotts@netscape.com 2002-04-22 23:48:14 +00:00
jaggernaut%netscape.com 7e4e14d8c5 Backing out joki's checkin for bug 124990 (at his request) since this breaks some stuff on linux. 2002-04-20 01:48:32 +00:00
joki%netscape.com bdfd051dfb Fix for bug 124990, Add additional processing loop for DOM event listeners to allow browser level handlers to be fired after content based listeners. r:saari, sr:jst
Browser based listeners can now registers themselves using the AddGroupedEventListener and passing the system event group (which can be gotten via the nsIDOMEventReceiver interface).  These listeners will now fire after all content based listeners have processed.
In this initial version of the checkin most browser listeners are still left in the original content group for stability purposes.
2002-04-19 02:52:01 +00:00
pinkerton%netscape.com 51e2faee6d removing nsControllerCommandManager. r=ccarlen/sr=sfraser. bug# 137647. 2002-04-18 22:09:52 +00:00
jst%netscape.com ea45ab47a7 Fixing crasher bug 138138. Clear the box object table in xul documents when a xul document is hidden since the box object table may contain references to non-refcounted frames that will be destroyed when the document is hidden. r=jkeiser@netscape.com, sr=heikki@netscape.com 2002-04-18 19:50:31 +00:00
jst%netscape.com cd9afd67e1 Checking in the fix for bug 52334 for the third time. This time it should stick! Making iframe's load their document even if they're not displayed. r=jkeiser@netscape.com, sr=rpotts@netscape.com. 2002-04-17 04:17:16 +00:00
dougt%netscape.com ccf4243cd6 fix mac build bustage 2002-04-16 01:25:24 +00:00
dougt%netscape.com 4c7faccac7 removing #error to fix build bustage 2002-04-15 23:57:42 +00:00
dougt%netscape.com f4cf458eb8 Use flat strings when constructing string keys. This fixes a few high volume string key constructors. See 135781. r=dp@netscape.com, sr=darin@netscape.com 2002-04-15 22:39:43 +00:00
alecf%netscape.com c86e3e23b8 fix bustage by switching from nsIChromeRegistry to nsIXULChromeRegistry 2002-04-12 02:42:13 +00:00
dbaron%fas.harvard.edu 07103ecbea Fix up and enable hierarchical :hover and remove the hacks that made :hover work for anchors without it. Pass mask rather than pseudo-class to ContentStatesChanged notifications. Optimize event state changes in the style system by passing state mask to HasStateDependentStyle and using it in HasStateDependentStyle implementations. b=5693 r=bryner, joki sr=hyatt 2002-04-11 03:49:30 +00:00
peterv%netscape.com 083b5b8143 Fix for bug 34849 (dynamically added STYLE element doesn't alter style). r=sicking, sr=jst, a=roc+moz, adt=jaimejr. 2002-04-05 11:29:40 +00:00
timeless%mac.com a84a7e233f http://bonsai.mozilla.org/cvsquery.cgi?module=SeaMonkeyAll&branch=HEAD&cvsroot=/cvsroot&date=explicit&mindate=1017959940&maxdate=1017960540&who=jst%25netscape.com&generateBackoutCVSCommands=1
Backing out the fix for bug 52334

approved by sheriff (karnaze) and cathleen
2002-04-05 05:42:10 +00:00
jst%netscape.com bf7702387e Checking in the fix for bug 52334 again now that the linux crash and the scrollwheel crash has been fixed. Making iframe's load their document even if they are not displayed. r=jkeiser@netscae.com, sr=rpotts@netscape.com, a=asa@mozilla.org 2002-04-04 22:42:19 +00:00
jst%netscape.com 020632bdc1 Backing out latest checkins due to them not working on linux and other unix systems with broken compilers. 2002-04-04 07:31:16 +00:00
jst%netscape.com aa9f71957d Fixing bug 52334. Making iframe's load their document even if they are not displayed. r=jkeiser@netscae.com, sr=rpotts@netscape.com, a=asa@mozilla.org 2002-04-04 02:09:19 +00:00
hewitt%netscape.com d38a0937d9 bugs 110156, 110155
Removing support for <outliner> tags
Removing <tree> layout code and moving <tree> tags to outliner layout
Convert all usage of <outliner> to tree tags
Convert all usage of <tree> tags to new <tree> syntax or <listbox>
r=cmanske,varga sr=hyatt,sspitzer a=asa

Also includes fixes by Jan Varga (varga@utcruk.sk) for bugs 132020, 133451, 131393, 115894, and 129327
2002-03-29 02:46:01 +00:00
dbaron%fas.harvard.edu a4acc9eb7b 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 22:46:13 +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
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
heikki%netscape.com bf57164cba Bug 129608, moving XML parsererror into its own namespace along with the CSS rules so it won't mess up with web pages using parsererror and sourcetext tags. Clean up the content tree before parser error. Also removing dead files. r=harishd, sr=jst, a=roc+moz@cs.cmu.edu. 2002-03-12 22:17:18 +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
bryner%netscape.com d2229cbf68 - Implement the :checked CSS pseudoclass which maps to the "selected" property on option elements.
- Eliminate the _moz-option-selected attribute; move the actual selected state into the option content node.
- Change all users of _moz-option-selected to use :checked.
- Add a third parameter to nsIDocument[Observer]::ContentStatesChanged to indicate which pseudoclass changed, this is used for optimizing handling of :checked state changes.

Bug 128947, r=dbaron, sr=jst, a=asa.
2002-03-07 03:34:29 +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
hidday%geocities.com 2356de3a72 Bug 93649, document.plugins should map to document.embeds for NS4
compatibility. r=bzbarsky@mit.edu sr=jst@netscape.com a=roc+moz
2002-02-21 12:21:15 +00:00
alecf%netscape.com 66e767c7b8 one part of fix for bug 107575 - clean up consumers of nsString::EqualsIgnoreCase and nsString::EqualsWithConversion, to be explicit about case-insensitive compares
r=timeless sr=jag
2002-02-19 22:49:12 +00:00
rginda%netscape.com f595b2475a bug 123118, insert overlay elements with no id into the root of the target document.
sr=brendan, r=jst
2002-02-18 05:39:48 +00:00
rginda%netscape.com 2f3548d18a bug 123118, getElementsByTagName("script") doesn't work for XUL windows
sr=hyatt, r=jst
insert a nsXULPrototypeElement before the nsXULPrototypeScript in the proto-docu
ment, so that we can get to it in the final content model.
2002-02-14 00:40:55 +00:00
alecf%netscape.com 4f4d815566 progress towards fixing 123041 - stop making copies of entities names and values as we retrieve them out of various entity tables
also, a few uses of NS_LITERAL_STRING, removal of long-since-unused nsHTMLContentSinkStream
r/sr=sfraser, sr=jag, r=harishd
2002-02-12 21:17:53 +00:00
bzbarsky%mit.edu 97aad157b6 Relanding the Compare --> Equals conversion. a=mcafee 2002-02-10 15:49:46 +00:00
bzbarsky%mit.edu 7fbffdf125 Testing performance impact of backout of part of patch from bug 115289.
See bug 123947 for details.
2002-02-09 16:10:51 +00:00
jst%netscape.com 610f2ffdc4 Removing a nasty shortcut that I left in when fixing bug 116834. r=rginda@netscape.com, sr=blaker@netscape.com 2002-02-09 02:48:31 +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
alecf%netscape.com 96f52c5988 more dependency updates 2002-02-02 21:29:01 +00:00
mjudge%netscape.com 726b5e82c1 115922 embedding work. no changes should be observed in current product this will only affect the embedded effort. This moves the command handler stuff from content xul to embedding/components/commandhandler. a=judd r=saari built on mac/windows/gmake with this we will be able to finish removing editorshell from the app and have a true embedded editor.akkana will pick this up after me and finish the embedding work. 2002-02-02 05:13:56 +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
waterson%netscape.com c824244342 Bug 86755. Get rid of nsIRDFContentModelBuilder interface, move methods to nsIXULTemplateBuilder; rename |SetRootContent| to |init|. nsXULOutlinerBuilder now implements |init|, allowing us to initialize it with a database, so that we don't have to wait around until frames get created. r=varga@utcru.sc, sr=hyatt 2002-01-24 21:30:22 +00:00
jst%netscape.com 1add1cd11d Fixing bug 121485. Un-nsAutoString:ifying nsXULContentSink::NormalizeAttributeString(), ::PushNameSpacesFrom(), and ::ParseTag() in favor of new string iterators n' other neat features. r=nisheeth@netscape.com, sr=waterson@netscape.com 2002-01-24 10:23:04 +00:00
bzbarsky%mit.edu ca547b257b Change users of Length() to IsEmpty() where the code really cares about
the latter in content/.  Bug 100649, r=jag, sr=jst
2002-01-24 02:03:19 +00:00
hyatt%netscape.com 263b0e0424 Fix for 116306, r=dbaron, sr=blake 2002-01-19 20:15:17 +00:00
varga%utcru.sk ff7ad62083 Fixes for:
94653  - can't right align text in outliner cell
95730  - White block displays/artifacts in the highlight area after Move/Drag mail to folder.
112238 - [RFE] Outliner widget should support line-through
116855 - Modify outliner builder syntax to match outliner content model
118093 - Make -moz-image-region work in the outliner
118113 - Too little space between pref category tree and pref page
118154 - Category now has a column picker
118647 - Memory leak of 52 bytes from 1 block allocated in nsOutlinerBodyFrame::CheckVerticalOverflow
118660 - left arrow no longer moves to parent category
119751 - Branches are open by default and then closed after launch.

- outermost <outlinerchildren> has "-moz-box-flex: 1" by default
  and it actaully replaced <outlinerbody>
- all event handlers moved on <outliner>
- content builder, outliner builder and content view use <outliner> as root
  element
- nsIBoxObject has a new attribute "element"
- all CSS rules outlinerbody:foo replaced with outlinerchildren:foo
- drop feedback is now skinable

r=waterson for the changes in mozilla/content
r=sspitzer on the mailnews parts
r=blake on the bookmarks/history
r=bryner on the OutlinerBodyFrame and OutlinerContentView changes

sr=hyatt,hewitt
2002-01-16 03:01:28 +00:00
timeless%mac.com 7edbfb6b60 Bug 119310 preferences + open in new tab + clicking browser crashes @nsLoadGroup::RemoveRequest
assert instead of crashing if some load fails
r=darin sr=waterson
2002-01-16 00:16:51 +00:00
waterson%netscape.com d61a43837a Bug 109200. Noisy notify when removing an element so broadcasters, etc. get update properly. r=ben, sr=hyatt 2002-01-14 21:41:19 +00:00
hewitt%netscape.com 43cda34734 70858 - [XUL 1.0] Implement <listbox>, r=evaugahn, sr=hyatt 2002-01-12 01:18:10 +00:00
brade%netscape.com b3c2a95ab0 remove unused statics kCSSLoaderCID and kXULID for gain of 19 bytes (bug 117927; r/sr=jst,darin) 2002-01-10 14:18:55 +00:00
jdunn%netscape.com 061ee47034 AIX's new compiler, xlC5.x, doesn't allow the use of "friend" to declare
a function prototype.  So we have to decare the function and then
declare it a friend.  When Default arguments are used, they need to
be specified in the function prototype and NOT in the friend declaration.
# 43311
r=dbaron@fas.harvard.edu
2002-01-10 14:16:05 +00:00
brade%netscape.com 39ed5fb4e1 remove unused statics kCSSParserCID, kDOMScriptObjectFactoryCID, kLoadGroupCID, kRDFCompositeDataSourceCID, kRDFContainerUtilsCID, kRDFInMemoryDataSourceCID, kXULTemplateBuilderCID, and kXULOutlinerBuilderCID for gain of 160 bytes (bug 117927; r/sr=jst,darin) 2002-01-10 14:15:04 +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
varga%utcru.sk 6673fe6131 80834 - [outliner scrollbar] if inbox has less than one page of messages, it will come up with a box where the scroll bar is
80548 - outliner scroll bar "disappears" in 3 stages

111101 - No scrollbox / slider / thumb in thread pane scrollbar

116269 - white scrollbars briefly show up in folder pane

116432 - Sometimes the twisty won't update after a click

116855 - Modify outliner builder syntax to match outliner content model
r=waterson, sspitzer, blake
sr=hyatt

99715 - convert category tree to use outliner
r=hixie
sr=blake
2002-01-03 22:58:23 +00:00
shanjian%netscape.com bf85c86c6a #112793 fine tune frame charset mechanism
Besides charset, document now records charset source as well.
nsCharsetSource was replaced by PRInt32.
Some code relocation in nsHTMLDocument.cpp
r=yokoyama sr=waterson
2001-12-26 03:17:59 +00:00
timeless%mac.com 61a97fd94a Bugzilla Bug 106386 rid source of these misspellings: persistant persistance priviledge protocal editting editted targetted targetting
r='s from many people. sr=jst
2001-12-23 23:23:41 +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
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
mjudge%netscape.com d7c892374e wrong name for module name. needed webbrwsr not webBrowser_core 2001-12-18 02:06:04 +00:00
mjudge%netscape.com 2ecc969e5b bs=7868 r=saari Adding in new api to bake on trunk before going to branch. this adds nsISelectionDisplay to nsISelectionController. SetDisplayFlags are how we now set if you want images selected or not 2001-12-18 01:29:49 +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 e44e7d9ec8 Bug 113228: Replace ns{C}String::To{Upper,Lower}Case with global versions. r=bzbarsky, sr=jst 2001-12-17 07:14:49 +00:00
jaggernaut%netscape.com ee12112b29 Remove timer from REQUIRES, the makefile.win edition 2001-12-16 18:08:20 +00:00
jaggernaut%netscape.com 4f507b8511 Remove timer from REQUIRES. r=pavlov 2001-12-16 17:02:31 +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
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
roc+%cs.cmu.edu c88233916b Bug 73382. Clean up view manager interfaces, 2nd attempt. r=kmcclusk,rs=attinasi 2001-12-01 14:31:45 +00:00
jst%netscape.com e89c147731 Fixing part of bug 111213. Make nsIScriptContext::SetScriptsEnabled() 'restart' scripts if they were turned off earlier in this context (print preview relies on this). r=jkeiser@iname.com, sr=jband@netscape.com 2001-11-27 09:18:28 +00:00
hyatt%netscape.com 9b7cf1aa0d Fix for 112044, positional attribute in overlays doesn't do a merge when position is higher than the number of current children. r=rginda, sr=ben 2001-11-27 00:34:33 +00:00
roc+%cs.cmu.edu c26c9711f3 My cleanup checkin for bug 73382 caused 5% increase in page load times. Backing out. 2001-11-24 05:37:25 +00:00
roc+%cs.cmu.edu 04ab1d58c5 View manage interface cleanup. Bug 73382. r=kmcclusk, sr=attinasi 2001-11-22 05:26:32 +00:00
seawood%netscape.com 7733357d51 Rename 'install' build phase to 'libs'.
Bug #56601 r=pavlov
2001-11-21 09:49:41 +00:00
danm%netscape.com 8530850de6 adding nsIDocument::ResetToURI. bug 88229 r=jst,rpotts 2001-11-16 02:03:19 +00:00
waterson%netscape.com c70d2dd524 Bug 101982. Fix onbroadcast handler. r=cmanske, sr=hyatt 2001-11-15 02:46:29 +00:00
hewitt%netscape.com 76b5876544 108757 - dispatch DOM events for mouse wheel scrolling, r=?, sr=? 2001-11-14 10:06:21 +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
waterson%netscape.com 1805f78ffe Bug 108775. Don't broadcast |id|, |ref|, or |persist| attributes. Avoid re-entrancy when restoring persisted attributes. r=jag, sr=hyatt 2001-11-10 00:03:53 +00:00
hyatt%netscape.com 34f94450e0 Fix for 108389. r=jkeiser, sr=jst 2001-11-05 06:45:04 +00:00
hyatt%netscape.com 364c9fd485 The XUL content sink doesn't block the parser when loading stylesheets and hasn't for six months! Ack ack ack ack ack! Bug 102114. r=jag, sr=brendan 2001-11-03 23:41:10 +00:00
hyatt%netscape.com 0d3a2fa6bf Fix for 80147, use XUL prototype elements in anonymous content of XBL. r=dbaron, sr=jst 2001-11-03 10:12:20 +00:00
waterson%netscape.com cb0b717916 Remove unused variable (no bug). r=dbaron, sr=hyatt 2001-11-03 02:23:20 +00:00
hyatt%netscape.com 19490453c9 Fix for 106153, avoid building a content model for XBL event handlers, r=bryner, sr=waterson 2001-11-02 01:53:13 +00:00
brendan%mozilla.org 2764eab5c9 Store FastLoad dependency mtimes, and invalidate if any changes (106021, r=dveditz, sr=shaver). 2001-10-31 08:29:25 +00:00
jaggernaut%netscape.com cad0dc7095 Bug 53057: Fixing up users of implicit |CharT*| conversion operators for nsCString to use |.get()| instead, rr=dbaron, rs=scc 2001-10-27 06:44:19 +00:00
sspitzer%netscape.com 326707dfd9 fix (again) for blocker bug #106646.
for ContentInserted() and ContentAppended(), we need to go forward through the observers.
for ContentRemoved() and ContentReplaced(), we need to go backward.

sr=hyatt
2001-10-25 21:01:43 +00:00
sspitzer%netscape.com 28d481fe6c fix for blocker bug #106646. hyatt's hack applied to the ContentReplaced() case.
sr=hyatt.
2001-10-25 20:39:40 +00:00
sspitzer%netscape.com 53cccd14d7 fix for blocker bug #106646, crash opening addressbook, compose, chatzilla, etc.
patch by hyatt.  r=sspitzer, sr=alecf
2001-10-25 18:27:25 +00:00
hyatt%netscape.com 0f2fca64d1 Fix for 106212, make ContentAppended work right with XBL insertion points. r=brendan, sr=waterson 2001-10-25 07:31:18 +00:00
jst%netscape.com 0c922db1b5 Fixing bug 106571. We can live w/o storing a nsINameSpace pointer in our XUL and XML elements (which saves us 4 bytes for every XML (read XBL) element and for the XUL slots), also remove the accessors from the interface nsIXMLContent, and remove some unused code in nsXULContentUtils. r=dbaron@netscape.com, sr=waterson@netscape.com 2001-10-25 04:08:29 +00:00
dbaron%fas.harvard.edu 02f3a2d769 Fix member initializer re-ordered warnings by re-ordering member initializers. r=jag rs=waterson b=105974 2001-10-25 03:21:53 +00:00
waterson%netscape.com 100e80dc15 Bug 26104. Move broadcaster maintenance out of XUL element and into the document. r=shaver, sr=hyatt 2001-10-23 02:44:44 +00:00
waterson%netscape.com a34851ef20 Bug 68871. Permit partial sharing of XUL attributes, remove unused fields from nsXULElement and nsXULElement::Slots. Tag teamed with shaver@mozilla.org, r=shaver; sr=hyatt. 2001-10-22 20:48:52 +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 b9ffb7bd1f Bug 100231. Use nsCheapVoidArray to save a word in nsXULElement. r=brendan,rjesup; sr=jst 2001-10-18 03:47:32 +00:00
brendan%mozilla.org 3e6f16f977 Include chrome directory in FastLoad file after XUL FastLoad File Version number, so several installs can take turns running with a given profile, throwing away one another's FastLoad files rather than using bad data saved by the last run (103992, r=sfraser, sr=shaver). 2001-10-11 02:46:18 +00:00
brendan%mozilla.org 27051ea496 Turn on FastLoad by default (68045, r=hyatt, sr=waterson). 2001-10-10 02:10:17 +00:00
mstoltz%netscape.com 9dcfafdfd4 Bug 18553, better fix which should cause fewer problems. Clear event listeners
before every document load, including the first, except when setNewDocument
is called from document.open. r=heikki, sr=jst
2001-10-02 00:54:44 +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
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
rjesup%wgate.com 56314b8be4 Bug 92575: Remaining mChildren nsAutoVoidArray changes. r=waterson, sr=jst 2001-09-27 22:21:37 +00:00
hewitt%netscape.com 9e6c00f9ea 95127 - dispatchEvent() doesn't return a value, r=joki, sr=hyatt 2001-09-27 21:43:00 +00:00
gerv%gerv.net 1968b7dad2 License changes, take 2. Bug 98089. mozilla/content/. 2001-09-25 01:32:19 +00:00
bzbarsky%mit.edu 5b28996bde Add a document.contentType attribute to allow getting the MIME type of
the current document from JS.  The rest is moving around stuff to deal
with nsIDocument already declaring GetContentType.  bug 73847, r=peterv,
sr=jst
2001-09-24 22:43:23 +00:00
hyatt%netscape.com 13c0ff3b16 Fix for 101177. r=pavlov, sr=ben 2001-09-23 22:20:46 +00:00
jst%netscape.com b444cadab0 Fixing bug 100795. Removign the method load() from HTML documents, implement it only on XML documents since the name 'load' blocks existing global functions named 'load' from being called from event handlers in the document (since document.load is found before window.load in the scope of event handlers). HTMLDocument.load and XULDocument.load were never implemented any way. r=heikki@netscape.com, sr=vidur@netscape.com 2001-09-21 01:07:53 +00:00
hyatt%netscape.com 6e6c8d181e Fix XUL popup listener to check for new contextmenu syntax. r/sr=hewitt,jst 2001-09-20 07:42:48 +00:00
jaggernaut%netscape.com d1a7bfa843 One module per line for REQUIRES. r=/sr=alecf 2001-09-18 22:01:13 +00:00
alecf%netscape.com ed05aab4b7 fix blocker 100312 - fix the XPIDL_MODULE lines so they aren't all content_xul
r=jag
2001-09-18 18:21:58 +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
dbaron%fas.harvard.edu e5670937de Allow declarations in style attribute to be surrounded by braces in quirks mode. Rename ParseDeclarations to ParseStyleAttribute since that's what it does. b=99554 r=hixie,glazman sr=attinasi 2001-09-17 23:59:30 +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
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
timeless%mac.com 4d364f1035 Bugzilla Bug 98929 Implementation of Content-Language in HTTP
patch by drepper@cygnus.com r=peterv sr=jst
2001-09-11 21:12:23 +00:00
vidur%netscape.com e44bd74c1c Fix for bug 98815. Implement DOM Level 3 namespace methods for prefix and URI lookup. The implementation of these may be changed later if we get rid of the nsINameSpace interface. r=heikki, sr=jst 2001-09-11 03:04:49 +00:00
alecf%netscape.com 298c713fa2 add REQUIRES support to layou, content, gfx, gfx2, widget and modules/libpr0n b=98371 r=cls 2001-09-10 20:46:52 +00:00
sicking%bigfoot.com 28f58d98af Implement TreeWalker in DOM2-traversal.
b=82625, r=fabian, sr=jst
2001-09-07 09:30:03 +00:00
rjesup%wgate.com 9192f1e9a5 Bug 92575: voidarray->autovoidarray changes in content/*, minus mChildren
changes in nsXULContentSink.cpp and nsGenericElement.cpp as per jst.
  r=hyatt r=pierre sr=jst
2001-09-06 19:16:03 +00:00
jst%netscape.com 797497c51d Fixing leaks introduced by my fix for 91241. Breaking circular namespace manager -> XUL element factory -> namespace manager reference that kept one namespace manager and one XUL and XML element factory alive. sr=jband@netscape.com 2001-09-06 06:18:31 +00:00
brendan%mozilla.org 83f40540ad Don't cache chrome scripts unless their master document URL is chrome too (we need the prototype cache to root the script objects; 98207, sr=jband&waterson, a=asa). 2001-09-06 02:00:39 +00:00
jst%netscape.com 7e2f925135 Fixing bug 91241. Don't use the service manager to get the element factory everty time it's needed, cache it per namespace id, we spent about 0.9% of startup getting the element factory service. r=dp@netscape.com, sr=rpotts@netscape.com 2001-09-05 04:20:54 +00:00
dbaron%fas.harvard.edu be938a64b6 Undoing backout of bug 97227 because valeski and rpotts insist. I guess drivers aren't doing approvals after all. 2001-08-31 04:28:26 +00:00
dbaron%fas.harvard.edu 5434e861aa Backing out unapproved checkin for bug 97227. a=brendan,blizzard 2001-08-31 03:45:20 +00:00
rpotts%netscape.com d6657f6a11 fixed typo from checkin for bug #97227 2001-08-31 02:30:34 +00:00
rpotts%netscape.com 9e2f57a942 bug #97227 (r=valeski, sr=vidur). This patch makes all calls to nsIWebBrowserChrome::SetStatus(...) display synchronously. 2001-08-30 21:47:45 +00:00
brendan%mozilla.org 11e7455fb6 Patch to make FastLoad file removal clear state so file gets recreated by same session (68045, r=jrgm, sr=waterson, a=asa). 2001-08-28 07:08:36 +00:00
brendan%mozilla.org df60e7bfb0 Path to make FastLoad file removal work on non-Unix systems (must close any streams on it first; 68045, r/sr=jrgm/shaver, a=asa). 2001-08-27 05:41:53 +00:00
hyatt%netscape.com 62d3de24fd Fix for 95475. r=jag, sr=ben, a=dbaron 2001-08-25 02:01:08 +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
hyatt%netscape.com 5583aaa00b Fix for 94943. r=jag, sr=blake 2001-08-18 01:04:47 +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
bryner%netscape.com 422834eff1 Bug 66835 - fix method hiding warnings by renaming some methods on nsIContent. r=jag, sr=jst. 2001-08-17 08:14:14 +00:00
peterv%netscape.com 62ef4ca538 Fix for bug 73936 (xsl:include/xsl:import/document() doesn't work). r=Pike/sicking, sr=jst. 2001-08-02 20:29:20 +00:00
dbaron%fas.harvard.edu 5de1c425f3 Fix optimized-only bustage from fastload landing. 2001-07-31 21:37:07 +00:00
dbaron%fas.harvard.edu 789d7a9704 Fix optimized-only bustage from fastload landing. 2001-07-31 20:37:26 +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
heikki%netscape.com f8d52cce05 Bug 82022, xml-stylesheet PI in XUL without href stopped layout. r=harishd, sr=vidur. 2001-07-24 18:08:52 +00:00
jaggernaut%netscape.com cb0faab070 Bug 73353: clean up the REQUIRES lines in Makefiles. 2001-07-23 22:36:12 +00:00
saari%netscape.com 2a7349540e fixing 77675, windows stealing focus from each other. r=bryner, sr=hyatt 2001-07-20 08:14:44 +00:00
valeski%netscape.com ea661eedd1 91365. r=dougt, sr=hyatt. nsIScriptGlobalObject->GetContext() can legitimately return NS_OK *and* a nsnull outparam. Various callsites were not respecting the nsnull out param and this patch gracefully handles those cases. 2001-07-19 05:48:49 +00:00
waterson%netscape.com 9efb9f1bb5 Fix debug-only gcc-2.7.2.3 build bustage. 2001-07-18 21:43:49 +00:00