yokoyama%netscape.com
9e2820f301
Bug 105113
...
Read DefaultCharSet from nsPref
when DocumentViewerImpl::mDefaultCharacterSet is
not assigned
/r=bstell and /sr=alecf
git-svn-id: svn://10.0.0.236/trunk@107130 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-03 00:06:51 +00:00
nhotta%netscape.com
3bce18c334
Fixed a problem of a charset attribute for Script element is ignored,
...
request->mElement->GetCharset(charset) succeeded but the returned value 'charset' was ignored, fixed that problem,
bug 106360, r=ftang, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@107041 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-02 02:07:08 +00:00
jst%netscape.com
3aa44affb3
Fixing bug 35294. Speeding up insertion of (specifically appending) document fragments to an element. r=rjesup@wgate.com, sicking@bigfoot.com, sr=vidur@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@107036 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-02 01:55:49 +00:00
hyatt%netscape.com
3646e122c1
Fix for 106153, avoid building a content model for XBL event handlers, r=bryner, sr=waterson
...
git-svn-id: svn://10.0.0.236/trunk@107033 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-02 01:53:13 +00:00
brade%netscape.com
1d3d0625bd
remove fileSpec, remove tabs, and change api to use nsIURI instead of nsIFile (bug #104883 )
...
git-svn-id: svn://10.0.0.236/trunk@106961 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-01 15:26:27 +00:00
brade%netscape.com
791621834d
change mFileSpec to mDocumentURI (nsIURI) for bug #104883
...
git-svn-id: svn://10.0.0.236/trunk@106960 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-01 15:26:19 +00:00
brade%netscape.com
84c23e017d
remove InitDiskDocument since it's no longer part of nsIDiskDocument.idl, change from nsIFile to nsIURI for SaveFile method (bug #104883 )
...
git-svn-id: svn://10.0.0.236/trunk@106959 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-01 15:26:16 +00:00
darin%netscape.com
c7306462ea
fixes bug 70519 "Select All (+ Copy) does not clobber the X primary selection"
...
patch=jwbaker@acm.org r=akkana sr=kin
git-svn-id: svn://10.0.0.236/trunk@106818 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-31 06:14:11 +00:00
bryner%netscape.com
58bf936788
When creating the root view's widget, don't show it. This prevents full-page Invalidates during page load caused by showing and then hiding the widget. Bug 97895, r=blizzard, sr=hyatt.
...
git-svn-id: svn://10.0.0.236/trunk@106814 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-31 05:06:31 +00:00
nhotta%netscape.com
3351684d08
For unicode conversion, changed to proceed for decoder errors instead of stop the process, bug 103954, r=ftang, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@106749 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-30 23:53:52 +00:00
jst%netscape.com
e605f7d9da
Fixing linux build bustage.
...
git-svn-id: svn://10.0.0.236/trunk@106683 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-30 10:24:55 +00:00
jst%netscape.com
ac8fa2d5a5
Fixing part of bug 107453. Combine rarely used leaf element classes into one class to cut down on the amount of code we have for implementing all those dom interfaces. This makes using the combined elements (base, embed, isindex, param, spacer, colgroup, and wbr) a bit more expensive but since they're hardly ever used it's ok for them to take up a bit more heap space when used. r=dbaron@netscape.com, sr=waterson@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@106681 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-30 10:14:06 +00:00
dbaron%fas.harvard.edu
9b135c4afe
Avoid attempting to do CSS selector matching on text nodes, comments, or processing instructions by adding a 'NonElement' style resolution method that assumes that no rules match (temporarily, until we don't have style contexts for text nodes) and by cleaning code that was using textPseudo (the usual case) or passing the text node directly (only a few unusual cases). b=56117 r=hyatt sr=attinasi
...
git-svn-id: svn://10.0.0.236/trunk@106640 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-30 06:02:05 +00:00
rods%netscape.com
9681a58c7e
Make sure default printing for FrameSets is "AsIs" when printing silently
...
Bug 106015 r=kmcclusk sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@106550 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-29 15:28:45 +00:00
jaggernaut%netscape.com
9e8f600926
Bug 53057: Fixing up users of implicit |CharT*| conversion operators for nsCString to use |.get()| instead, rr=dbaron, rs=scc
...
git-svn-id: svn://10.0.0.236/trunk@106460 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-27 06:44:19 +00:00
jst%netscape.com
b97c01a6d7
Fixing bug 106769. Document.prototype was not on the prototype chain for XMLDocument objects. sr=jband@netscape.com, r=bzbarsky@mit.edu
...
git-svn-id: svn://10.0.0.236/trunk@106314 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 02:39:56 +00:00
jst%netscape.com
3cd16cc0ad
Fixing bug 106769. Document.prototype was not on the prototype chain for XMLDocument objects. sr=jband@netscape.com, r=bzbarsky@mit.edu
...
git-svn-id: svn://10.0.0.236/trunk@106307 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 02:23:56 +00:00
jst%netscape.com
450353a0af
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
...
git-svn-id: svn://10.0.0.236/trunk@106244 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 04:08:29 +00:00
dbaron%fas.harvard.edu
9ef49bf676
Fix member initializer re-ordered warnings by re-ordering member initializers. r=jag rs=waterson b=105974
...
git-svn-id: svn://10.0.0.236/trunk@106235 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 03:21:53 +00:00
bzbarsky%mit.edu
c180e28886
Improve how we get our charset for stylesheets. Look at HTTP header,
...
charset attribute on <link> or <?xml-stylesheet?> and at the document's
charset. Bugs 57164, 72658, 83207. r=pierre, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@106217 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 00:34:20 +00:00
bzbarsky%mit.edu
1dbc9647e5
Make SetDocument() get a new nodeinfo if the old one does not match the
...
new document. Bug 106393, r=peterv, sr=jst
git-svn-id: svn://10.0.0.236/trunk@106215 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 00:28:08 +00:00
ducarroz%netscape.com
de141f84d8
Fix for bug 106560. Crash in StyleSetImp::ShutDown when mRuleTree is null. Need to check mRuleTree before using it. R=bienvenu, SR=hyatt
...
git-svn-id: svn://10.0.0.236/trunk@106210 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 00:19:21 +00:00
dbaron%fas.harvard.edu
2f1eb6d907
My guess at AIX and OS/2 bustage was wrong -- backing it out. Someone with access to a machine with one of those compilers will have to try various things here.
...
git-svn-id: svn://10.0.0.236/trunk@106156 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 09:03:46 +00:00
dbaron%fas.harvard.edu
ae6bbca773
Wild guess at fixing AIX and OS/2 bustage.
...
git-svn-id: svn://10.0.0.236/trunk@106146 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 06:53:39 +00:00
dbaron%fas.harvard.edu
a222daa57a
Moving nsRuleNode.cpp back to content/base/src from content/shared/src and inlining GetRule to fix linker errors on BeOS and probably also AIX, and since it doesn't need to be in content/shared and cvs won't like re-adding to content/html/style/src. b=104336
...
git-svn-id: svn://10.0.0.236/trunk@106143 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 06:25:08 +00:00
bernd.mielke%snafu.de
f7141b99f6
bug 103443 remove the last two occurences of rv?rv:NS_ERROR_FAILURE
...
r=kin sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@106132 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 04:50:37 +00:00
hyatt%netscape.com
ab0e4e56d4
Fix for 104336, deCOMtaminate rulenode, rulewalker, frames, r=dbaron, sr=waterson
...
git-svn-id: svn://10.0.0.236/trunk@106100 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 00:01:09 +00:00
dougt%netscape.com
b7714209d4
Remove extra exports. patch by Jon Smirl jonsmirl@mediaone.net. r=dougt@netscape.com, sr=alecf@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@105813 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 21:02:39 +00:00
alecf%netscape.com
0ffec2590a
next part of bug 100214, add nsUnicharUtils to consumers of ToLowerCase/ToUpperCase
...
git-svn-id: svn://10.0.0.236/trunk@105811 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 21:00:02 +00:00
dougt%netscape.com
1f7520e927
Extraneous Symbol Removal. Patch by Jon Smirl jonsmirl@mediaone.net. r=dougt@netscape.com, sr=alecf@netscape.com. Bug 104172, 104316, 104420, 104426, 104461, 104511, 104527
...
git-svn-id: svn://10.0.0.236/trunk@105810 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 20:59:33 +00:00
dougt%netscape.com
cf60fc042e
nsIObserver and nsIObserverService API freeze. r=rpotts@netscape.com, alecf@netscape.com. bug 99163
...
git-svn-id: svn://10.0.0.236/trunk@105800 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 20:52:59 +00:00
harishd%netscape.com
eeeb1c2290
97769 - Replace nsITagStack with a simple nsVoidArray. Also, nuked nsITagStack since it is not of a big help.r=heikki, sr=jst.
...
99282 - Make sure only HEAD attributes get added to the attribute list in ::OpenHead(). r=heikki, sr=jst.
100466 - Stop DT from containing DL.r=heikki,sr=jst.
102370 - DT should not close DD and vice versa.r=heikki,sr=jst.
100397 - In order for residual style to kick in...disable the check for wellformedness in quirks mode.r=alexandru,sr=attinasi.
102376 - Release nsIRequest in nsParser::DidBuildModel() since nsIRequest is not required past DidBuildModel.r=heikki,sr=darin.
git-svn-id: svn://10.0.0.236/trunk@105792 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 20:48:18 +00:00
bzbarsky%mit.edu
c17db72087
Last checkin was r=pierre, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@105770 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 14:02:36 +00:00
bzbarsky%mit.edu
ee4bb498aa
Clean up handling of quirk doctypes and case-sensitivity in the CSSOM.
...
Mostly just uses the nodeinfo more and combines some redundant code into
helpers. Bug 95336, bug 10622, bug 102815
git-svn-id: svn://10.0.0.236/trunk@105769 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 13:50:30 +00:00
waterson%netscape.com
a8057d6717
Bug 100231. Use nsCheapVoidArray to save a word in nsXULElement. r=brendan,rjesup; sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@105658 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-18 03:47:32 +00:00
pierre%netscape.com
e0c5a0727b
91665 "Dump Style Contexts doesn't work anymore". Fixed nsStyleContext::List(). r=attinasi/sr=hyatt
...
git-svn-id: svn://10.0.0.236/trunk@105570 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-17 00:25:26 +00:00
dbaron%fas.harvard.edu
1382ac90eb
Making debugging code be |#ifdef DEBUG|. b=91036 r=harishd sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@105468 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 05:31:36 +00:00
jaggernaut%netscape.com
51eb31b70a
Bug 58461: Potential [read: lurking, ed.] segfault in nsDocument::SetHeaderData. r=dbaron, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@105464 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 04:35:26 +00:00
dbaron%fas.harvard.edu
7bb7b59a69
Replace uses of overloaded |fputs| and most uses of |ns[C]String::ToCString|. b=104763 r=jag rs=scc
...
git-svn-id: svn://10.0.0.236/trunk@105460 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 03:53:44 +00:00
jst%netscape.com
8eff06a6a6
Fixing bug 79133 (by working around the real problem). Image onerror events cause window.onerror handlers to be called since the events bubble up the tree. r=brendan@mozilla.org, sr=vidur@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@105445 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 00:30:41 +00:00
jst%netscape.com
7db246be58
Fixing crasher bug 104774, add null check before calling CallQueryInterface() on mStyleSheet, which will be null if there is no stylesheet. r=harishd@netscape.com, sr=me.
...
git-svn-id: svn://10.0.0.236/trunk@105438 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-15 22:57:17 +00:00
alecf%netscape.com
f7b48fa3b1
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
...
git-svn-id: svn://10.0.0.236/trunk@105318 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-13 00:16:32 +00:00
sfraser%netscape.com
775f86d34d
Fix bug 50578 -- don't show bogus error dialog when cancelling a print job. r=rods, sr=kin
...
git-svn-id: svn://10.0.0.236/trunk@105186 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 19:10:26 +00:00
shanjian%netscape.com
3881b34635
#88363 Site with duplicate Content-Type loads with incorrect encoding
...
r=yokoyama sr=waterson
git-svn-id: svn://10.0.0.236/trunk@105116 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 23:37:18 +00:00
jst%netscape.com
a96b426739
Truncate the output string in nsNodeInfo::GetQualifiedName() before appending to it. r=jag, sr=me
...
git-svn-id: svn://10.0.0.236/trunk@104852 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 22:37:23 +00:00
heikki%netscape.com
c883dddafc
Bug 103250, attempting to fix topcrasher with a null check. Crash happens when you select text while page loading. r=harishd, sr=vidur.
...
git-svn-id: svn://10.0.0.236/trunk@104834 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 21:51:43 +00:00
jaggernaut%netscape.com
bf7774eb72
Bug 81444: eliminate |null_nsCOMPtr|. Eliminating all callers, r=syd, rs=mozbot.
...
git-svn-id: svn://10.0.0.236/trunk@104764 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-07 10:58:39 +00:00
bernd.mielke%snafu.de
32b0792adb
Don't start printing when regression test are executed bug 99633 r=rods sr=attinasi
...
git-svn-id: svn://10.0.0.236/trunk@104737 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-06 14:07:28 +00:00
rods%netscape.com
e25ba4e68d
Check for failure after printing the next page. If it fails then pass back PR_TRUE
...
to indicate we are done printing this document.
Bug 101597 r=kmcclusk sr=attinasi a=pdt
git-svn-id: svn://10.0.0.236/trunk@104557 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-03 23:28:38 +00:00
peterv%netscape.com
6d17c71703
Fix for bug 102809 (ABR in nsPlainTextSerializer::AppendText; indexing -1 on array). r=sicking, sr=waterson.
...
git-svn-id: svn://10.0.0.236/trunk@104512 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-03 02:47:08 +00:00