1498 Commits

Author SHA1 Message Date
timeless%mac.com
7b921259da Bugzilla Bug 110080 change !NS_SUCCEEDED(status) to NS_FAILED(status)
s/!NS_SUCCEEDED/NS_FAILED/g;s/!NS_FAILED/NS_SUCCEEDED/g;
r=dougt sr=hewitt


git-svn-id: svn://10.0.0.236/trunk@108471 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-19 06:45:00 +00:00
pchen%netscape.com
59b79a3115 bug 20943, r=rods, sr=ben, remove ifdef XP_WIN || XP_UNIX in PrintPreview() since I'm turning it on for mac
git-svn-id: svn://10.0.0.236/trunk@108434 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-18 07:59:55 +00:00
danm%netscape.com
a9c1ca532f stop extraneous reallocation and leak of namespace manager in Reset. r=dbaron,jst
git-svn-id: svn://10.0.0.236/trunk@108352 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-17 05:20:35 +00:00
bzbarsky%mit.edu
c59df8124b Make SetInnerHTML use the right parser mode (ie strict for strict
documents instead of always quirks).  Bug 106565, r=harishd, sr=jst


git-svn-id: svn://10.0.0.236/trunk@108271 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-16 04:48:30 +00:00
jst%netscape.com
70829fcf48 Fixing bug 110242. Huge unsigned interger + another huge unsigned integer will wrap, and that caused a crash in this code. r=rayw@netscape.com, sr=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@108259 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-16 03:01:29 +00:00
danm%netscape.com
307b64f891 adding nsIDocument::ResetToURI and refactoring Reset. bug 88229 r=jst,rpotts
git-svn-id: svn://10.0.0.236/trunk@108226 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-16 02:03:50 +00:00
danm%netscape.com
a5c5cddf01 adding nsIDocument::ResetToURI. bug 88229 r=jst,rpotts
git-svn-id: svn://10.0.0.236/trunk@108225 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-16 02:03:19 +00:00
hyatt%netscape.com
71bedef261 MIssed a spot in 109261. same reviewers apply as for previous checkin of bug fix.
git-svn-id: svn://10.0.0.236/trunk@108160 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-15 07:31:13 +00:00
alecf%netscape.com
0c847ee212 win32 REQUIRES cleanup
git-svn-id: svn://10.0.0.236/trunk@108139 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-15 03:49:13 +00:00
rods%netscape.com
bdd0f4956c Added image animation mode constants to imgIContainer.IDL,
Changed the animation mode enum to PRUint16 (removed the enum) in nsIPresContext so we could use the constants
from imgIContainer. (changes from dcone's review comments)
Bug 2586 r=dcone sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@108058 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-14 14:03:09 +00:00
peterv%netscape.com
bd1e7483fb Fix for bug 105452 (Annoying assert when outputing DOM to HTML source). r=cmanske, sr=kin.
git-svn-id: svn://10.0.0.236/trunk@108055 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-14 13:47:49 +00:00
rods%netscape.com
04987fe8c2 Rename some bools, there is now one for when PP is being created and one for when it is in PP mode.
It now can turn on/off animated gifs and calling PP toggles it on and then call it again toggles it off
Bug 2586 r=dcone sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@108046 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-14 11:24:03 +00:00
hewitt%netscape.com
6dc045c3a2 108757 - dispatch DOM events for mouse wheel scrolling, r=?, sr=?
git-svn-id: svn://10.0.0.236/trunk@108043 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-14 10:06:21 +00:00
hyatt%netscape.com
cb07ac61ff Inline PeekStyleData for 109261.
git-svn-id: svn://10.0.0.236/trunk@108038 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-14 08:29:11 +00:00
hyatt%netscape.com
c0d0283f4f Perf and footprint opt. Make style re-resolution cheaper. r=glazou, sr=hewitt, bug 109261
git-svn-id: svn://10.0.0.236/trunk@108035 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-14 08:19:13 +00:00
bzbarsky%mit.edu
068756d821 Use NS_LITERAL_STRING instead of NS_ConvertASCIItoUCS2 where possible
(i.e. where the string is a literal).  Bug 104159, r=jag, sr=alecf


git-svn-id: svn://10.0.0.236/trunk@107987 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-14 01:33:42 +00:00
dbaron%fas.harvard.edu
3d164442b1 Attempt to fix HP runtime bustage. b=83836
git-svn-id: svn://10.0.0.236/trunk@107899 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-11 20:46:42 +00:00
dbaron%fas.harvard.edu
e619d6fc7c Pull computation of loop invariants for rule matching out of outer loop (over rule processors) as well, from SelectorMatchesData in nsCSSStyleSheet to RuleProcessorData in nsStyleSet. Use the RuleProcessorData structure in nsHTMLStyleSheet as well. Simplify matching of :-moz-bound-element pseudo-class. b=83836 r=waterson, pierre sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@107856 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-10 23:51:45 +00:00
joki%netscape.com
e4bbbe83de Fix for 71705, stop right click from triggering onclick handlers in base html content, though not in xml/xul/chrome. reviewed a while ago, lost in tree. r:saari,sr:hyatt
git-svn-id: svn://10.0.0.236/trunk@107585 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-07 06:29:29 +00:00
dbaron%fas.harvard.edu
13b5500ba3 Ensure that string literals are used as |const char*| rather than |char*|. r=jag sr=brendan b=107052
git-svn-id: svn://10.0.0.236/trunk@107583 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-07 06:24:10 +00:00
jst%netscape.com
edf83c6cd6 Fixing bug 108651. Don't call nsIDocument::ContentAppended() if nothing was appended (when inserting an empty document fragment). r=harishd@netscape.com, rs=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@107518 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-07 00:11:36 +00:00
pierre%netscape.com
0ef28aebb3 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.
git-svn-id: svn://10.0.0.236/trunk@107446 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-06 10:04:05 +00:00
dbaron%fas.harvard.edu
8c7cfc52d1 Fix inheritance of percentage values for 'line-height' by removing hacks to base percentage values for 'line-height' on the actual value rather than the computed value of 'font-size'. Fix various |const|-ness issues in nsRuleNode. b=97726 r=pierre sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@107440 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-06 07:48:02 +00:00
bzbarsky%mit.edu
8e5d7cf707 Fix the strings returned by .newValue/.prevValue for mutation events
(get rid of extra quotes, always set .prevValue if it exists).  Bug
107526, r=fabian, sr=jst.


git-svn-id: svn://10.0.0.236/trunk@107329 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-05 13:19:10 +00:00
rods%netscape.com
1100db8190 Initial check in for print preview work it is complied in for Windows and linix only
The bulk of print preview can be turned on/off with NS_PRINT_PREVIEW define
Bug 107562 r=kmcclusk sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@107260 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-03 14:59:39 +00:00
jst%netscape.com
425fc3a0b6 Fixing bug 108321. Don't waste time using the component manager when creating an nsHTMLAttributes when setting attributes on an element, call NS_NewHTMLAttributes() directly in stead. Also doing some cleaning up in nsHTMLStyleSheet.cpp. r=dbaron@fas.harvard.edu, sr=hyatt@netscape.com
git-svn-id: svn://10.0.0.236/trunk@107237 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-03 08:13:48 +00:00
rjesup%wgate.com
1c72d387b9 Bug 107600: mCachedIndex isn't initialized for nsContentSubtreeIterators.
Also fixes problems in two spots where the content tree changing could mess
up the iterator.  patch by jfrancis, r=rjesup, sr=waterson


git-svn-id: svn://10.0.0.236/trunk@107194 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-03 03:05:05 +00:00
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