4189 Commits

Author SHA1 Message Date
roc+%cs.cmu.edu
f12a3fdf92 Bug 207477. Clean up nsBlockFrame, and don't suppress invalidation in nsBlockFrame::ReflowLine if it's a resize reflow. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@144867 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-15 00:04:43 +00:00
scott%scott-macgregor.org
55acecf1a8 Bug #212682 --> add a null ptr check to avoid a crash when viewing a message in thunderbird that contains a plugin.
r/sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@144848 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-14 21:28:44 +00:00
bzbarsky%mit.edu
b6055f181e Remove redundant #include.
git-svn-id: svn://10.0.0.236/trunk@144775 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-12 18:10:51 +00:00
dbaron%dbaron.org
71158040f7 Clean up GetView and SetView. b=208190 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@144765 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-12 00:50:00 +00:00
dbaron%dbaron.org
b333621bbb Add inline accessors for frame manager. b=208190 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@144764 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-12 00:48:16 +00:00
smontagu%netscape.com
4f2db22a33 Bug 210110: selection at end of line spans multiple lines in embedded test editor. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@144756 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-11 23:34:42 +00:00
dbaron%dbaron.org
593f58592d Remove hint parameter from AttributeChanged methods and simplify style hint mechanism. b=211308 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@144735 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-11 21:16:12 +00:00
dbaron%dbaron.org
a59f383a93 Override Paint to fix strict mode text decorations and paint layer for :first-letter. b=212149 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@144731 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-11 20:45:19 +00:00
bzbarsky%mit.edu
ec57574878 Make sure that nsSimpleURI also strips newlines out of the uri spec... Bug
211599, r=dougt, sr=darin


git-svn-id: svn://10.0.0.236/trunk@144577 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-08 20:09:17 +00:00
bzbarsky%mit.edu
baa52a02e7 DOM properties that return URIs should return absolute URIs when they
are accessed (even if the corresponding attribute value is a relative URI).
Bug 47534, r=caillon, sr=jst


git-svn-id: svn://10.0.0.236/trunk@144551 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-08 05:35:04 +00:00
bzbarsky%mit.edu
4f63a75a74 Move to the double-'::' notation for various pseudo-elements.
Bug 211657, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@144534 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-07 21:57:01 +00:00
bzbarsky%mit.edu
1c3e765c18 Don't bother reresolving style when empty stylesheets get added (eg from empty
<style> elements).  Also remove the methods for blowing away the ruletree
during a style reresolve, since ruletrees are now garbage-collected.  Bug
196557, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@144457 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-04 01:44:24 +00:00
bzbarsky%mit.edu
50802bdf22 Add nsIContent::GetBaseURL; get rid of similar functions on nsIXMLContent and
nsIHTMLContent.  Bug 209573, r=caillon, sr=jst.


git-svn-id: svn://10.0.0.236/trunk@144415 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-03 02:45:34 +00:00
timeless%mozdev.org
74b0dfbdb3 Bug 211183 Infinite loop in nsBlockFrame::DoRemoveFrame
r=dbaron sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@144349 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-01 18:28:30 +00:00
dbaron%dbaron.org
329ff4dea8 Remove unneeded CanvasFrame::AttributeChanged. b=210955 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@144306 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-30 21:50:21 +00:00
roc+%cs.cmu.edu
37f8ccb7f1 Ongoing deCOMtamination. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@144282 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-30 18:52:23 +00:00
roc+%cs.cmu.edu
0b21d50264 Ongoing deCOMtamination. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@144258 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-30 10:46:59 +00:00
dbaron%dbaron.org
00b5e56618 Remove comment made obsolete by previous checkin.
git-svn-id: svn://10.0.0.236/trunk@144256 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-29 23:39:54 +00:00
roc+%cs.cmu.edu
7895bff657 Ongoing deCOMtamination. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@144251 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-29 03:43:05 +00:00
roc+%cs.cmu.edu
bd259bdc4d ongoing deCOMtamination work. Also fixes a space leak in bidi-related code. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@144244 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-28 11:48:14 +00:00
roc+%cs.cmu.edu
62382bd5e2 ongoing deCOMtamination work. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@144220 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-27 18:13:48 +00:00
smontagu%netscape.com
1ced58622b Bug 173408 Fixes to the algorithm for Ethiopic numbered lists. Author=yacob@geez.org, r=smontagu, sr=jag
git-svn-id: svn://10.0.0.236/trunk@144198 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-26 19:46:51 +00:00
kin%netscape.com
dd78f4c325 Trying to fix commercial win32 build bustage.
git-svn-id: svn://10.0.0.236/trunk@144194 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-26 16:44:48 +00:00
roc+%cs.cmu.edu
fc35098277 Ongoing deCOMtamination. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@144189 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-26 11:30:17 +00:00
jkeiser%netscape.com
64ac997a95 Make NOSCRIPT show up normally when script disabled (bug 77296), r=bzbarsky@mit.edu, sr=dbaron@dbaron.org
git-svn-id: svn://10.0.0.236/trunk@144183 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-26 06:10:03 +00:00
roc+%cs.cmu.edu
59de96e2fe Fix nsIFrame::GetWindow to not add a ref. Should fix a leak I introduced. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@144164 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-25 22:55:27 +00:00
rbs%maths.uq.edu.au
a6c97c6fb0 Helper patch for bug 15364. Expose an API to allow scripts to show the caret even in selections (a la Emacs). Users can also set the pref ui.caretVisibleWithSelection to 1, which gives a nice combination with caret browsing (hit F7). r=sfraser, sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@144128 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-25 01:14:25 +00:00
jst%netscape.com
b1880963d6 Fixing part of bug 209699. Eliminate bad usage of NS_ConvertU*. r=caillon@aillon.org, sr=alecf@flett.org
git-svn-id: svn://10.0.0.236/trunk@144080 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-24 01:46:50 +00:00
bsmedberg%covad.net
03384bfad0 Bug 210337 - Spring cleaning of unused XPCOM code and callers r/sr=alecf/bz
git-svn-id: svn://10.0.0.236/trunk@144063 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-23 20:31:43 +00:00
roc+%cs.cmu.edu
d65e3c6fd3 Bustage fix; add a virtual GetAncestorWithViewExternal which can be called outside gklayout
git-svn-id: svn://10.0.0.236/trunk@144029 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-21 18:57:14 +00:00
roc+%cs.cmu.edu
5784a81ebc Bug 190735. DeCOMtaminating nsIFrame and removing aPresContext parameters, in particular, the methods GetParent, GetContent, GetRect, GetOrigin, GetSize, SetRect, MoveTo, SizeTo, GetNextSibling, GetFrameState, SetFrameState, GetView, GetViewExternal, SetView, GetClosestView, GetParentWithView, AreAncestorViewsVisible, and GetWindow. For now we have compatibility wrappers, but soon we'll go through and change all the clients to use the new functions. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@144027 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-21 17:06:05 +00:00
smontagu%netscape.com
4618160a1b Bail out gracefully from numbered lists not expressible in Roman numerals. Bug 210128, rs=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@143994 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-20 18:34:34 +00:00
dbaron%dbaron.org
46916ff6fb Fix strict mode text-decoration when one line of the inline contains no text. b=210016,210012 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@143970 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-20 01:42:32 +00:00
dbaron%dbaron.org
4f6b46a91e Add nsIFrame::GetPresContext, which gets the pres context from the rule node which it gets from the style context. DeCOMtaminate nsStyleContext::GetRuleNode, nsRuleNode::GetRule, and nsRuleNode::GetPresContext. Remove unused nsRuleNode::PathContainsRule. b=208190 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@143968 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-20 01:22:44 +00:00
dbaron%dbaron.org
e9d2634474 Fixing DEBUG-only bustage.
git-svn-id: svn://10.0.0.236/trunk@143965 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-20 01:05:04 +00:00
dbaron%dbaron.org
4546eb434a Fixing DEBUG-only bustage.
git-svn-id: svn://10.0.0.236/trunk@143964 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-20 00:54:57 +00:00
dbaron%dbaron.org
80187c571f Remove |aPresContext| and |aPresShell| parameters from |nsIFrameManager| methods. b=208190 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@143961 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-19 23:52:58 +00:00
dbaron%dbaron.org
519cf3b3d3 DeCOMtaminate nsIFrame::GetView and SetView, and add HasView, GetClosestView, and AreAncestorViewsVisible to consolidate common patterns. b=208004 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@143960 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-19 23:44:01 +00:00
peterlubczynski%netscape.com
10062c06df Fixing checkin for bug 209033.
git-svn-id: svn://10.0.0.236/trunk@143959 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-19 23:26:23 +00:00
dbaron%dbaron.org
aeee69e663 Begin deCOMtamination of central objects by adding inline getters to get from one object to another. b=208190 r=roc sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@143940 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-19 18:16:53 +00:00
bryner%netscape.com
112e4e9f44 Remove unused nsIFrame::Scrolled() and nsIViewObserver::Scrolled(). Bug 209088, r=dbaron, sr=roc.
git-svn-id: svn://10.0.0.236/trunk@143893 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-18 22:58:51 +00:00
dbaron%dbaron.org
e5b5aaaee2 Handle state and attribute changes on elements without frames more efficiently, and keep the undisplayed map up to date. b=209733 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@143888 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-18 21:54:51 +00:00
peterlubczynski%netscape.com
4392c6f1de Fixing bug 209033, double keyDown events sent to plugins by KeyPress event, r=brade sr=bryner
git-svn-id: svn://10.0.0.236/trunk@143857 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-18 14:41:44 +00:00
dbaron%dbaron.org
906d582953 Make CSSStyleRuleImpl immutable by changing mutation code (including some merging of code between nsDOMCSSAttributeDeclaration and DOMCSSDeclarationImpl) so that it creates a new rule for the modified declaration. Change StyleRuleChanged notification signatures, and change pres shell's handling of style rule change, addition, and removal to just do reresolution. Remove fine-grained ways of clearing style data. Change PeekStyleData so it doesn't do more work than it needs to, and can be relied on not to access rules that no longer match any content. b=188803 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@143831 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-18 01:59:57 +00:00
kaie%netscape.com
27d6f745ef b=202046 Empty (inline) elements cause caret movement to fail
r=smontagu sr=kin/brendan


git-svn-id: svn://10.0.0.236/trunk@143825 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-17 23:41:21 +00:00
alecf%flett.org
71e5d724e5 fix for bug 209220 - now that i18n APIs take ASCII charset names, update consumers to avoid excess conversions.. which usually means storing charset names as ASCII and updating a few other APIs
r=jkeiser, sr=jst and some great comments from jshin@mailaps.org


git-svn-id: svn://10.0.0.236/trunk@143800 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-17 16:40:34 +00:00
aaronl%netscape.com
290c0f8aa6 Bug 208460. Remove nsIDOM3Node.idl dependency from nsIDOMNode.idl
git-svn-id: svn://10.0.0.236/trunk@143756 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-16 11:17:18 +00:00
dbaron%dbaron.org
b89215194d Slight correction to previous patch. b=209359
git-svn-id: svn://10.0.0.236/trunk@143721 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-15 01:24:03 +00:00
dbaron%dbaron.org
994b83f818 Fix wrong parent style context warnings (and incorrect reresolution) with HRs or other leaf frames with :before or :after generated content. Move some code back together that was separated. Also fix case of float whose placeholder is the child of a block within an inline. b=209359 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@143720 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-15 00:55:00 +00:00
caillon%returnzero.com
0a6d1ae509 Bug 209087
Content interface out-parameters should use ptr-to-ptrs instead of ref-to-ptrs and some small deCOMtamination.
r+sr=jst@netscape.com


git-svn-id: svn://10.0.0.236/trunk@143683 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-13 20:10:01 +00:00