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

4410 Коммитов

Автор SHA1 Сообщение Дата
bzbarsky%mit.edu b07d633d7d Fix crash bug 223064. Patch by mats.palmgren@bredband.net (Mats Palmgren), r+sr=bzbarsky 2003-10-22 07:01:35 +00:00
bryner%brianryner.com 605cc06382 deCOMtaminate nsIDocument by changing methods to use return value instead of out-params, eliminating unused nsresult return values, moving some members to nsIDocument and inlining the getters/setters. Bug 222134, r=bzbarsky, sr=jst. 2003-10-22 06:09:48 +00:00
bzbarsky%mit.edu af287cfe97 Remove limiting of the quirk containing block search to only one level. Bug
222730, also fixes bug 88035, r+sr=dbaron
2003-10-18 20:22:22 +00:00
bzbarsky%mit.edu e62eff588a Line up the hypothetical box for positioned frames with the _top_ of the line
box if there is nothing in the line before the positioned frame's placeholder.
When that happens, it means that the positioned frame's content actually came
before whatever content lives in the line box and thus the frame should not be
lined up with the line box's bottom.  Bug 94468, r+sr=roc
2003-10-18 08:04:37 +00:00
bzbarsky%mit.edu cf629db257 Undoing last change now that I have perf data. 2003-10-18 07:13:30 +00:00
bzbarsky%mit.edu 88517f3ebd Test performance impact of not limiting to the first level now that bug 222730
is fixed.  r=dbaron
2003-10-18 06:08:39 +00:00
bzbarsky%mit.edu 2cb729ce47 Only calc a quirk containing block if we have a percentage height. Bug 222730,
r+sr=dbaron
2003-10-18 05:09:42 +00:00
bzbarsky%mit.edu c9d4d38519 Stop walking up the tree looking for something to size against if we hit a
positioned frame.  Bug 221784, r+sr=roc
2003-10-18 00:24:28 +00:00
uid502 d521946094 Bug 165149. More cleanup. Make nsStyleContext::GetPseudoType return a weak pointer. Also remove unnecessary arguments to nsHTMLContainerFrame::CreateViewForFrame. r+sr=bzbarsky 2003-10-17 02:38:37 +00:00
bzbarsky%mit.edu 7e19a9767b Add pref for the default :active styling. Bug 142163, patch by
mats.palmgren@bredband.net (Mats Palmgren), r=bzbarsky/sr=dbaron on the
layout/xpfe parts of the patch, r=glazou/sr=bzbarsky on the editor part,
moa=neil on the prefwindow changes.
2003-10-15 01:56:12 +00:00
uid502 2b19fe5b64 Bug 217604. Ensure out-of-flow frames are ordered in content order. Ensure views are maintained in frame/content order. 2003-10-15 00:49:03 +00:00
dbaron%dbaron.org d7a7c453f5 Remove reflow callbacks from the list as they are processed, to avoid crashes when reentering HandlePostedReflowCallbacks. b=220126 Patch from Mats Palmgren <mats.palmgren@bredband.net>. r=dbaron sr=roc 2003-10-14 23:29:07 +00:00
dbaron%dbaron.org 3de4dc91e0 Use the correct term "float" instead of "floater". b=218654 r+sr=bzbarsky 2003-10-13 21:51:02 +00:00
dbaron%dbaron.org d3d79476fc Removed unused file. 2003-10-13 19:50:43 +00:00
uid502 7eecd9a0ef Bug 165149. Make children of a scrolled element inherit style directly from the element instead of via the scrolled frames. Add a new view property to indicate that the view is painted on a uniform background and use it to optimize scrolling, so that a scrolled element with a uniform background color can still be scrolled using bitblits. r+sr=dbaron 2003-10-11 12:00:05 +00:00
bzbarsky%mit.edu 90bce6cd8e Make sure to notify document observers even about content that gets added to
the document before StartLayout().  Block those notifications from getting
passed on to the frame constructor before StartLayout(), though.  Bug 220930,
r=peterv, sr=jst
2003-10-11 00:27:45 +00:00
bzbarsky%mit.edu 2d7f67cb26 Don't scroll anchors entirely out of view when we click on them. Bug 195905,
r+sr=dbaron
2003-10-10 02:35:05 +00:00
bzbarsky%mit.edu dc2a9b8f46 Use UnionRect instead of reimplementing it in the block code. Bug 220741,
r+sr=dbaron
2003-10-10 01:12:55 +00:00
dbaron%dbaron.org 269402178c Add comments. 2003-10-08 20:04:20 +00:00
bzbarsky%mit.edu 641223fdd9 Make sure that sheets in a document always know their URL. Bug 218031, r+sr=dbaron 2003-10-06 13:24:55 +00:00
bzbarsky%mit.edu 3bfbfe8dce Relanding fix for bug Bug 219693, r+sr=dbaron 2003-10-06 13:13:37 +00:00
bzbarsky%mit.edu 556fd116db Backing out for now, till fallout from tree redness settles. 2003-10-06 04:23:56 +00:00
bzbarsky%mit.edu 666475ba65 Make quirks %-heights on kids of scrolling parents work the same way as for
non-scrolling parents.  Bug 219693, r+sr=dbaron
2003-10-06 02:58:19 +00:00
darin%meer.net 77642ae698 fixes bug 210125 "need to be able to AsyncWait for closure only" r=dougt sr=bzbarsky 2003-10-06 01:46:31 +00:00
dbaron%dbaron.org 7cbbfcd12f Remove duplication at the end of a comment. 2003-10-03 20:12:53 +00:00
bzbarsky%mit.edu a972a3e501 Make presshell batch processing of style changes (using BeginUpdate/EndUpdate
notifications).  Bug 200931, r=peterv, sr=jst
2003-10-02 21:29:40 +00:00
dbaron%dbaron.org 5cce92dc2a Make URIs in the style system nsIURI pointers instead of strings. b=113173 r+sr=bzbarsky 2003-10-01 22:53:56 +00:00
dbaron%dbaron.org 693a674a5b Remove LL_TEXTSTARTSWITHNBSP, since it's a partial and broken solution to the problem, and it's in the wrong place. b=187899 r+sr=roc 2003-09-28 22:56:08 +00:00
jst%mozilla.jstenback.com 5037b2a4a2 Fixing bug 215981. DeCOMtaminating nsIContent and nsIDocument some, and also some minor changes to other related interfaces. r=caillon@aillon.org, sr=peterv@propagandism.org. 2003-09-27 04:18:26 +00:00
bzbarsky%mit.edu dc0b10f8fd Remove bogus 1px adjustment that harkens back to imagelib1. Bug 220174,
r=pavlov, sr=tor
2003-09-26 16:43:19 +00:00
bzbarsky%mit.edu 3ebb71a449 Make userContent.css come after the prefs sheet in the user sheet list (so that
rules in userContent.css can override prefs).  Bug 215668, r+sr=dbaron
2003-09-24 19:03:06 +00:00
uid502 1cfabd35d3 Bug 190735. Final patch for deCOMtamination of core nsIFrame methods! rs=dbaron 2003-09-23 17:05:29 +00:00
timeless%mozdev.org 41c29367c7 Bug 219908 Remove some layout warnings
r=bz sr=dbaron
2003-09-22 21:40:12 +00:00
dbaron%dbaron.org 03e89d6c99 My review comments on roc's deCOMtamination patch. b=190735 r+sr=roc 2003-09-20 21:31:18 +00:00
bmlk%gmx.de ca2e57a80b Don't overoptimize when absolute frames are reflown and the containing block should return a MEW. bug 192267 r/sr=dbaron 2003-09-20 11:35:29 +00:00
uid502 d0615f9350 Bug 217201. Make nsTextControlFrame::InitEditor() happen outside of reflow, to prevent content notification flushes and reentrancy. r+rs=dbaron 2003-09-19 15:20:00 +00:00
dbaron%dbaron.org c49da48965 Change our implementation of 'overflow: hidden' to be more compatible with other browsers, as CSS 2.1 now allows. b=69355 r+sr=bzbarsky 2003-09-16 22:09:18 +00:00
dbaron%dbaron.org 6fde3bd4ad Fix additional regression from bug 86947. b=216736 r+sr=roc 2003-09-16 22:05:47 +00:00
dbaron%dbaron.org b3e8758760 Remove unneeded nsTextFrame::QueryInterface. b=188618 r+sr=bzbarsky 2003-09-16 22:04:48 +00:00
kyle.yuan%sun.com 6562d22599 Bug 215220 Unable to receive caret-move event in HTML document
r=aaron, sr=henry.jia
Bug 217311 [ATK Accessibility] wrong text structure for HTML text
r=bolian.yin (Not in the default build)
Bug 218992 no placeholder for broken image
r=bolian.yin (Not in the default build)
This patch aims at solving some ATK accessible text issues. The main parts of this patch (inside accessibility/src/atk directory or the #ifdef MOZ_ACCESSIBILITY_ATK/#endif macro) are not in the default build (it gets built only when the default toolkit set to gtk2)
2003-09-14 12:56:21 +00:00
mkaply%us.ibm.com 640cd0e4e3 #210269
r=dbaron, sr=dbaron
Checkin for roc - bandaid fix for nsXULElement pageload crash
2003-09-14 12:07:11 +00:00
bsmedberg%covad.net 0568e675fc Bug 179834. Separate application resources and GRE resources. r=darin sr=dougt 2003-09-13 17:55:56 +00:00
bmlk%gmx.de d7b849ce30 overflow area implementation for table frames (infrastructure), bug 173277 r=jkeiser sr=dbaron 2003-09-13 16:21:41 +00:00
bryner%brianryner.com 9d11b3c424 Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan. 2003-09-07 22:37:27 +00:00
dbaron%dbaron.org 72f0fe7993 Let ComputeHorizontalValue handle unconstrained width, since unconstrained width only means the vertical margin is unknown in some cases. Patch by Mats Palmgren <mats.palmgren@bredband.net>. r+sr=dbaron a=asa b=209066 2003-09-06 04:01:33 +00:00
pkw%us.ibm.com 48c6e651e5 Bug 217499: Clean up AIX libpath and configure script
r=cls@seawood.org, a=asa@mozilla.org
2003-08-29 17:15:06 +00:00
darin%meer.net d7b99689f8 fixes bug 216736 "regression from patch for bug 86947" r+sr=dbaron a=brendan 2003-08-20 16:49:27 +00:00
bryner%brianryner.com 7033b03af5 Stopping event propagation in the default event group should not stop it for the system event group. Bug 216237, r=caillon, sr=jst, a=mkaply. 2003-08-15 21:35:13 +00:00
dbaron%dbaron.org 428b1f3c4c Fix view positioning logic in RelativePositionFrames so that widgets are positioned correctly. b=214623 r+sr=roc a=asa 2003-08-06 23:59:10 +00:00
timeless%mozdev.org 1ff05676de Bug 213461 Want a way to specify single-sided or double-sided printing
patch by Roland.Mainz@informatik.med.uni-giessen.de r=jblanco sr=bryner
2003-08-01 01:56:15 +00:00
dbaron%dbaron.org 1f36520f04 Correct fix for bug 213591 - make sure to call SyncFrameViewAfterReflow for leaf frames as well. r+sr=roc 2003-07-31 22:03:26 +00:00
caillon%returnzero.com a9e2dece76 Bug 38370.
Allow color of an HR element to be changed.
Make HR be a block element in quirks mode instead of the hacky inline we were previously using (standards mode already had it as a block).
Patch by Ian Hickson <ian@hixie.ch> with minor modifications by me.
r+sr=bzbarsky@mit.edu
2003-07-30 08:13:07 +00:00
bzbarsky%mit.edu e2e733b5de DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823,
r+sr=jst
2003-07-28 21:25:13 +00:00
bzbarsky%mit.edu 2946b412aa Tabbing through textfields should repaint instead of leaving them looking
selected.  Bug 214115, r=brade, sr=dbaron
2003-07-28 20:45:38 +00:00
jaggernaut%netscape.com 95899387f6 Bug 213602: Switch some users of NS_GetWeakReference over to do_GetWeakReference. r=bzbarsky, sr=dbaron 2003-07-25 19:06:59 +00:00
dbaron%dbaron.org 1a0b3d61ec Use unsigned type (at brendan's suggestion) for perhaps-more-efficient modulus. r+sr=brendan b=188761 2003-07-24 21:42:53 +00:00
dbaron%dbaron.org d436db9321 Make blinkk blink in a 750ms on, 250ms off pattern. b=188761 r+sr=bzbarsky 2003-07-24 21:26:33 +00:00
bzbarsky%mit.edu bc73241ae6 Verbiage change. Bug 185536, patch by kairo@kairo.at (Robert Kaiser),
r=gisburn, sr=bzbarsky
2003-07-24 17:37:40 +00:00
bzbarsky%mit.edu d0666152a5 Add an nsIDocument* GetOwnerDocument() to nsGenericElement, deCOMify
nsINodeInfo a tad.  Bug 211634, r=jkeiser, sr=jst
2003-07-24 17:30:52 +00:00
aaronl%netscape.com df20768272 Bug 192729. Tabs that are still loading or have error block all keyboard shortcuts. r=bryner, sr=roc+moz 2003-07-24 08:48:59 +00:00
dbaron%dbaron.org 62e37a22e9 Back out part of checkin from yesterday due to regressions. b=79315 2003-07-23 22:46:48 +00:00
bsmedberg%covad.net d26f4f42ba Bug 198515 - patch by Roland.Mainz r=peterl/leon.sha sr=bz 2003-07-23 14:10:12 +00:00
dbaron%dbaron.org 7008f7eb21 Make sure we include the overflow area in the size of views, for blocks and inlines, at least. b=79315 r+sr=roc 2003-07-23 00:14:16 +00:00
dbaron%dbaron.org 337ac5a75d Fix top vs bottom typo. b=190743 r+sr=bzbarsky 2003-07-22 06:13:45 +00:00
dbaron%dbaron.org 5c883afdca Fix egcs bustage. 2003-07-22 05:47:09 +00:00
dbaron%dbaron.org 5e81d876db DeCOMtaminate nsHTMLReflowCommand as much as possible without cleaning up callers. b=213333 r+sr=roc 2003-07-22 04:23:46 +00:00
mkaply%us.ibm.com e5e34ae312 rs=leaf
Remove XP_OS2_VACPP from the tree
2003-07-21 22:10:08 +00:00
brade%netscape.com e6dbb06ce4 patch from mjudge to maintainselection; r/sr=dbaron, bug=56401 2003-07-21 19:51:34 +00:00
jaggernaut%netscape.com 83c571e877 Bug 25886: Get rid of a bunch of unused NS_DEFINE_IID, NS_DEFINE_CID. r=caillon, sr=dbaron 2003-07-20 07:47:59 +00:00
caillon%returnzero.com 7495519180 Bug 212504. Removal of the default namespace arguments from CSSStyleSheet and CSSLoader.
r=bzbarsky@mit.edu, sr=dbaron@dbaron.org
2003-07-18 01:26:47 +00:00
roc+%cs.cmu.edu e44d55b8cc Bug 207477. Clean up nsBlockFrame, and don't suppress invalidation in nsBlockFrame::ReflowLine if it's a resize reflow. r+sr=dbaron 2003-07-15 00:04:43 +00:00
scott%scott-macgregor.org 4dc7c4bdb5 Bug #212682 --> add a null ptr check to avoid a crash when viewing a message in thunderbird that contains a plugin.
r/sr=dbaron
2003-07-14 21:28:44 +00:00
bzbarsky%mit.edu f33cafd5a2 Remove redundant #include. 2003-07-12 18:10:51 +00:00
dbaron%dbaron.org 6160d90fcc Clean up GetView and SetView. b=208190 r+sr=roc 2003-07-12 00:50:00 +00:00
dbaron%dbaron.org f73d429e36 Add inline accessors for frame manager. b=208190 r+sr=roc 2003-07-12 00:48:16 +00:00
smontagu%netscape.com 6c32acf737 Bug 210110: selection at end of line spans multiple lines in embedded test editor. r+sr=bzbarsky 2003-07-11 23:34:42 +00:00
dbaron%dbaron.org d85698fd40 Remove hint parameter from AttributeChanged methods and simplify style hint mechanism. b=211308 r+sr=bzbarsky 2003-07-11 21:16:12 +00:00
dbaron%dbaron.org 18686da53d Override Paint to fix strict mode text decorations and paint layer for :first-letter. b=212149 r+sr=bzbarsky 2003-07-11 20:45:19 +00:00
bzbarsky%mit.edu 7fd6554181 Make sure that nsSimpleURI also strips newlines out of the uri spec... Bug
211599, r=dougt, sr=darin
2003-07-08 20:09:17 +00:00
bzbarsky%mit.edu c0d3c15a88 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
2003-07-08 05:35:04 +00:00
bzbarsky%mit.edu b2ba25b6fd Move to the double-'::' notation for various pseudo-elements.
Bug 211657, r+sr=dbaron
2003-07-07 21:57:01 +00:00
bzbarsky%mit.edu 0c5dc097d7 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
2003-07-04 01:44:24 +00:00
bzbarsky%mit.edu 0b0c3f7646 Add nsIContent::GetBaseURL; get rid of similar functions on nsIXMLContent and
nsIHTMLContent.  Bug 209573, r=caillon, sr=jst.
2003-07-03 02:45:34 +00:00
timeless%mozdev.org 19f163f414 Bug 211183 Infinite loop in nsBlockFrame::DoRemoveFrame
r=dbaron sr=dbaron
2003-07-01 18:28:30 +00:00
dbaron%dbaron.org bfa9da5f49 Remove unneeded CanvasFrame::AttributeChanged. b=210955 r+sr=roc 2003-06-30 21:50:21 +00:00
roc+%cs.cmu.edu 6f6e04e088 Ongoing deCOMtamination. r+sr=dbaron 2003-06-30 18:52:23 +00:00
roc+%cs.cmu.edu 5d55c4535e Ongoing deCOMtamination. r+sr=dbaron 2003-06-30 10:46:59 +00:00
dbaron%dbaron.org 3be933897d Remove comment made obsolete by previous checkin. 2003-06-29 23:39:54 +00:00
roc+%cs.cmu.edu 91f9439805 Ongoing deCOMtamination. r+sr=dbaron 2003-06-29 03:43:05 +00:00
roc+%cs.cmu.edu 48518cc978 ongoing deCOMtamination work. Also fixes a space leak in bidi-related code. r+sr=dbaron 2003-06-28 11:48:14 +00:00
roc+%cs.cmu.edu 3d6b2b44f3 ongoing deCOMtamination work. r+sr=dbaron 2003-06-27 18:13:48 +00:00
smontagu%netscape.com 7eb3ac3127 Bug 173408 Fixes to the algorithm for Ethiopic numbered lists. Author=yacob@geez.org, r=smontagu, sr=jag 2003-06-26 19:46:51 +00:00
kin%netscape.com d7512728d7 Trying to fix commercial win32 build bustage. 2003-06-26 16:44:48 +00:00
roc+%cs.cmu.edu c5936391c8 Ongoing deCOMtamination. r+sr=dbaron 2003-06-26 11:30:17 +00:00
jkeiser%netscape.com 78ba276e17 Make NOSCRIPT show up normally when script disabled (bug 77296), r=bzbarsky@mit.edu, sr=dbaron@dbaron.org 2003-06-26 06:10:03 +00:00
roc+%cs.cmu.edu 33e4a9a297 Fix nsIFrame::GetWindow to not add a ref. Should fix a leak I introduced. r+sr=dbaron 2003-06-25 22:55:27 +00:00
rbs%maths.uq.edu.au a3601b3e47 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 2003-06-25 01:14:25 +00:00
jst%netscape.com 898a232581 Fixing part of bug 209699. Eliminate bad usage of NS_ConvertU*. r=caillon@aillon.org, sr=alecf@flett.org 2003-06-24 01:46:50 +00:00
bsmedberg%covad.net 1a9cab373f Bug 210337 - Spring cleaning of unused XPCOM code and callers r/sr=alecf/bz 2003-06-23 20:31:43 +00:00
roc+%cs.cmu.edu 6909e303db Bustage fix; add a virtual GetAncestorWithViewExternal which can be called outside gklayout 2003-06-21 18:57:14 +00:00
roc+%cs.cmu.edu a81f254443 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 2003-06-21 17:06:05 +00:00
smontagu%netscape.com 504a666bb2 Bail out gracefully from numbered lists not expressible in Roman numerals. Bug 210128, rs=bzbarsky. 2003-06-20 18:34:34 +00:00
dbaron%dbaron.org 3daaacd191 Fix strict mode text-decoration when one line of the inline contains no text. b=210016,210012 r+sr=bzbarsky 2003-06-20 01:42:32 +00:00
dbaron%dbaron.org 51e6755ccd 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 2003-06-20 01:22:44 +00:00
dbaron%dbaron.org b15c56da39 Fixing DEBUG-only bustage. 2003-06-20 01:05:04 +00:00
dbaron%dbaron.org d86c49e21c Fixing DEBUG-only bustage. 2003-06-20 00:54:57 +00:00
dbaron%dbaron.org e1e798d3f8 Remove |aPresContext| and |aPresShell| parameters from |nsIFrameManager| methods. b=208190 r+sr=bzbarsky 2003-06-19 23:52:58 +00:00
dbaron%dbaron.org 4afcaa0e69 DeCOMtaminate nsIFrame::GetView and SetView, and add HasView, GetClosestView, and AreAncestorViewsVisible to consolidate common patterns. b=208004 r+sr=roc 2003-06-19 23:44:01 +00:00
peterlubczynski%netscape.com a555558fc0 Fixing checkin for bug 209033. 2003-06-19 23:26:23 +00:00
dbaron%dbaron.org 6851bed075 Begin deCOMtamination of central objects by adding inline getters to get from one object to another. b=208190 r=roc sr=bzbarsky 2003-06-19 18:16:53 +00:00
bryner%netscape.com 29a5d1102b Remove unused nsIFrame::Scrolled() and nsIViewObserver::Scrolled(). Bug 209088, r=dbaron, sr=roc. 2003-06-18 22:58:51 +00:00
dbaron%dbaron.org 2b59f901f7 Handle state and attribute changes on elements without frames more efficiently, and keep the undisplayed map up to date. b=209733 r+sr=bzbarsky 2003-06-18 21:54:51 +00:00
peterlubczynski%netscape.com fd96fef055 Fixing bug 209033, double keyDown events sent to plugins by KeyPress event, r=brade sr=bryner 2003-06-18 14:41:44 +00:00
dbaron%dbaron.org fe7914e2c9 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 2003-06-18 01:59:57 +00:00
kaie%netscape.com 503cd2ab9b b=202046 Empty (inline) elements cause caret movement to fail
r=smontagu sr=kin/brendan
2003-06-17 23:41:21 +00:00
alecf%flett.org b7fa256d74 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
2003-06-17 16:40:34 +00:00
aaronl%netscape.com fccde7c7eb Bug 208460. Remove nsIDOM3Node.idl dependency from nsIDOMNode.idl 2003-06-16 11:17:18 +00:00
dbaron%dbaron.org 74c2fa7ad8 Slight correction to previous patch. b=209359 2003-06-15 01:24:03 +00:00
dbaron%dbaron.org 78e42e3723 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 2003-06-15 00:55:00 +00:00
caillon%returnzero.com 2df173e9c8 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
2003-06-13 20:10:01 +00:00
bryner%netscape.com e91426dae0 Comment-only fix. 2003-06-10 22:17:58 +00:00
seawood%netscape.com 97649bab86 Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev 2003-06-10 21:18:27 +00:00
kin%netscape.com 396fcc17c2 Fix for bug 205165 (a href link fails to work until window is resized)
Modified PlaceFrameView() to pass in the cached overflow area rect for the frame, if it has one, when calling

SyncFrameViewAfterReflow().

r=jkeiser@netscape.com  sr=dbaron@dbaron.org
2003-06-05 17:42:29 +00:00
roc+%cs.cmu.edu 995075dc79 Bug 193686. nsContainerFrame needs to report the overflowList as one of its child frame lists. Also, overflow frames should be destroyed when their parent is destroyed. r+sr=dbaron 2003-06-02 04:38:53 +00:00
roc+%cs.cmu.edu eb1d7efd30 Bug 193686. nsContainerFrame needs to report the overflowList as one of its child frame lists. Also, overflow frames should be destroyed when their parent is destroyed. r+sr=dbaron 2003-06-02 04:03:07 +00:00
dbaron%dbaron.org 1bc80bcc0c Remove nsIFrame::ContentStateChanged. b=207822 r+sr=roc 2003-06-01 20:18:53 +00:00
bmlk%gmx.de 838f8ce8ad infrastructure to recover overflow area during incremental reflow, bug 197581, r=kin sr=dbaron 2003-05-31 10:32:19 +00:00
timeless%mozdev.org 18c28cd6df Bug 205017 Uninitialized variables in layout/html/base/src/nsPresShell.cpp
r=dbaron sr=dbaron
2003-05-30 19:47:39 +00:00
cbiesinger%web.de f4bd4d5572 address reviewer comments that I forgot when checking in patch for bug 204386. r+sr=bz 2003-05-30 19:47:08 +00:00
jaggernaut%netscape.com 756d8ef907 Bug 203960: Make bookmark groups replace existing tabs instead of appending. r=jkeiser, varga, adamlock, sr=jst, hewitt 2003-05-30 00:21:01 +00:00
bzbarsky%mit.edu 8b80364217 Make some static data const in layout. Bug 204073, patch by ataylor@its.to
(Andrew Taylor), r=bzbarsky, sr=alecf
2003-05-27 03:52:33 +00:00
cbiesinger%web.de 85fbe5da58 204386 r+sr=bz Allow setting Image.src to empty 2003-05-25 20:43:08 +00:00
timeless%mozdev.org 77dbd5277a Bug 205366 ifdef WIN/MACOS(X) ConvertTwipsToPixels because it isn't used elsewhere
r=av sr=peterv
2003-05-23 22:14:21 +00:00
timeless%mozdev.org 2ba082c8ae Bug 205363 Remove SendStatusNotification/nsIPrintStatusCallback
r=dbaron sr=dmose
2003-05-23 22:10:13 +00:00
timeless%mozdev.org 4ae837ad81 Bug 205262 warning nsSampleWordBreaker::Next was hidden by nsSemanticUnitScanner::Next
r=smontagu sr=dbaron
2003-05-23 22:06:40 +00:00
dwitte%stanford.edu 270d3909ca bug 100649: Length() being used where IsEmpty() is meant
treewide changes to convert incorrect usages of string.Length() to string.IsEmpty().

thanks to afatecha@idea.com.py (Ariel Fatecha) for the patch. r=dwitte, sr=jst.

got the ok from Asa to land into a closed tree.
2003-05-23 21:34:47 +00:00
jkeiser%netscape.com 9ee03c08e4 Fix crash printing fixed-position float elements (bug 200347), r=kin@netscape.com, sr=dbaron@dbaron.org, a=asa 2003-05-22 20:56:35 +00:00
roc+%cs.cmu.edu f5b886b9cd Bug 202681. Do not recreate frames during reflow via -moz-binding change for lazy scrollbars. Instead of lazy scrollbars, completely remove the anonymous scrollbar element for scrollbars which are disabled by CSS. r+sr=dbaron,a=asa 2003-05-22 01:46:13 +00:00
smontagu%netscape.com ff871f7563 Backing out fix for bug 192088, which caused regressions for Persian and Indic scripts. r=gisburn, sr=roc+moz, a=asa. 2003-05-20 18:19:09 +00:00
dougt%meer.net 5042217cc2 Fixes CantRenderReplacedElementEvent memory leak. b=203596, r+sr=dbaron, a=asa@mozilla.org 2003-05-17 01:10:50 +00:00
dbaron%dbaron.org 75ff60c62f Clean up API (and its callers) for getting style data: remove unneeded null checks and switch to new inline member functions (one for each struct) that return values. b=197205 r+sr=roc a=brendan 2003-05-15 03:42:21 +00:00
dbaron%dbaron.org de72fd6d40 Oops, wrong tree. Backing out. 2003-05-15 03:36:05 +00:00
dbaron%dbaron.org 9029e25c56 Clean up API (and its callers) for getting style data: remove unneeded null checks and switch to new inline member functions (one for each struct) that return values. b=197205 r+sr=roc a=brendan 2003-05-15 03:32:08 +00:00
bryner%netscape.com 8dc3ad3076 Fixes for a number of focus problems:
Bug 201996 (caret blinking in field, but can't type)
Bug 200735 (window is raised when opening link in a new tab)
Bug 203117 (unable to scroll view source window with keyboard)
Bug 194104 (focus is in last tab when opening new window with tabgroup)

Summary of the changes:
- Don't require a frame to be present for focus events.  This allows events like activate and deactivate to correctly update the focus controller even if the document hasn't been reflowed.
- General cleanup and adding of comments in nsEventStateManager::PreHandleEvent.  We now also reuse the event struct when firing focus/blur events to the content, document, and window.
- In nsHTMLElement::SetFocus() and Select(), make sure to set the focused window as well as the focused element, if the focus controller is inactive.
- Fixed handling of certain conditions in PresShell::CheckForFocus() where the results would be different depending on whether the parent or child document unsuppressed painting first.
- General cleanup in PresShell::HandleEvent() and HandleEventInternal().

r=jkeiser, sr=jst, a=sspitzer.
2003-05-12 07:11:16 +00:00
jst%netscape.com fba31f0405 Fixing bug 93015. Making sure image that start loading before the page is done loading get added to the documents load group to prevent the page's onload handler from running before the image's onload handler runs. r=pavlov@pavlov.net, sr=darin@netscape.com, a=sspitzer@netscape.com 2003-05-09 20:42:49 +00:00
smontagu%netscape.com 1d28d1dc0e Don't do numeric substitution in Arabic text by default. Bug 181711, r+sr=rbs, a=asa. 2003-05-08 18:38:19 +00:00
bzbarsky%mit.edu 48c50e8f7c Fix scroll state restoration when going back to URL with anchor. Bug 204364,
r=jkeiser, sr=dbaron, a=asa
2003-05-06 05:46:46 +00:00
cbiesinger%web.de e27ab6d217 199045 r+sr=bz a=asa Animated image rotates although "Animate images should loop ... [X] never" is marked 2003-05-04 18:06:10 +00:00
bzbarsky%mit.edu 61cfa22b74 When doing a placeholder, paint it and the alt text in the foreground layer,
not the background one.  Bug 156987, r+sr=roc+moz, a=sspitzer
2003-05-03 02:34:42 +00:00
mjudge%netscape.com b0318bfe51 195080 fix regression. sr=sfrasier r=danm. fix logic for moving caret around 0 width frames 2003-04-30 21:37:05 +00:00
bzbarsky%mit.edu fb289d8bd3 Images with no alt attr in quirks mode should show a placeholder, even if they
were blocked.  Bug 201288, r+sr=roc+moz, a=asa
2003-04-29 18:49:42 +00:00
bzbarsky%mit.edu 04d9b57f42 Make sure to flush reflows before trying to scroll so that frame coordinates
will be up-to-date.  Bug 186149, r=peterv, sr=jst, a=asa
2003-04-26 01:13:28 +00:00
bzbarsky%mit.edu d3b47fec8c Don't check for :before/:after on frames that have pseudo-style-contexts. Bug
202917, r+sr=dbaron
2003-04-23 00:43:03 +00:00
smontagu%netscape.com d2e02afe6c Bug 170547 Caret is in the wrong place after deleting <LI>'s. r+sr=kin. 2003-04-23 00:24:24 +00:00
mjudge%netscape.com 7892a93f8c 192566 r=danm sr=smfr even though we may disagree with the user experience in some cases, this fix will stop the editor from drawing the alpha blended images in the case of only the images being selected (see resizing images) 2003-04-22 23:18:34 +00:00
mjudge%netscape.com 0bc89daad7 202834 r=danm sr=kin fixes regression in line clicking and navigation. 2003-04-22 22:40:58 +00:00
jst%netscape.com 8f24979ea4 Fixing bug 199399. Eliminating the interfaces nsIXMLDocument now that it's not needed any more. r=peterv@netscape.com, sr=heikki@netscape.com 2003-04-22 21:57:25 +00:00
sfraser%netscape.com 352be220ed Fix bug 196704: implement commands to get the selected text, and insert text, to allow for embedders (like Camino) to use them, e.g. for the Mac OS X services menu. Also fix image copy. r=brade, sr=kin. 2003-04-22 18:11:12 +00:00
roc+%cs.cmu.edu 4955d7cabf Fixing indentation 2003-04-22 01:34:30 +00:00
roc+%cs.cmu.edu e7bf73c0d8 Bug 201767. Make nsBlockFrame::GetAdditionalChildListNames return the overflowList. Also, don't create scrollbars in print contexts except for the viewport scrollbar. r+sr=bzbarsky. 2003-04-22 01:33:14 +00:00
bzbarsky%mit.edu 476c30fdff Make sure that Init() failures for image frames don't mean no alt text. Also
fixes a crasher when reframing fixed-pos frames.

This change adds an assertion in ConstructHTMLFrame that InitAndRestoreFrame
should succeed (unless it returns NS_ERROR_FRAME_REPLACED).  This is an interim
change; eventually we want to bail out on errors, but there may be frame impls
that return errors in non-error conditions from Init() (eg nsFrameSetFrame did
that) and we're a little close to freeze.

Bug 202506, r=rbs, sr=roc+moz
2003-04-21 23:57:47 +00:00
bzbarsky%mit.edu f09182206c Make nsCSSFrameConstructor::AppendFrames be smarter about looking for :after
pseudos.  Move some utility functions into nsLayoutUtils; simplify some places
that basically had copies of those functions.  Improves perf a bit in bug
145425 and its dependencies, r+sr=roc+moz
2003-04-21 23:06:40 +00:00
bryner%netscape.com b5af164b7c Remove now-unused nsScrollingView and nsIScrollbar implementations. Removed unused widget/public/nsWidgetSupport.h. Bug 201624, r+sr=roc. 2003-04-21 23:01:36 +00:00
arougthopher%lizardland.net b3ae544a33 Bug#161825
GetWidth optimizations need to be implemented on BeOS (text measurement performance)
sr=rbs
r=arougthopher
2003-04-19 16:40:06 +00:00
cbiesinger%web.de a1d9d560d9 70820 patch by keeda@hotpop.com r=dbaron sr=jst ALT in broken image cannot be changed by the DOM 2003-04-18 21:02:49 +00:00
mjudge%netscape.com 4dfd694d28 fix for 195080 and other caret jumping problems. r=kaie sr=fraser 2003-04-17 20:22:17 +00:00
cbiesinger%web.de 91ae833035 191346 patch by Roland.Mainz@informatik.med.uni-giessen.de r=jkeiser sr=roc+moz RFE: "No printers found" when Xprint not installed should be "Xprint not installed" / there should be only one print error dialog for "no printers found" instead of two 2003-04-17 20:17:01 +00:00
kaie%netscape.com 4ba7923b68 b=102246 Text does not completely highlight with a double-click if there is more than one style applied
r=mjudge sr=sfraser
2003-04-16 20:21:44 +00:00
kmcclusk%netscape.com 8dd596f747 Prevent status bar from painting synchronously to prevent flicker. b=129844 r=jkeiser sr=kin 2003-04-16 02:01:12 +00:00
bzbarsky%mit.edu 8051eaa0f9 Make iframes and objects obey CSS max-width/height and min-width/height if
their sizes are unconstrained.  Bug 181875, r+sr=roc+moz
2003-04-15 19:28:06 +00:00
aaronl%netscape.com 83deafd111 Bug 193802. Implement xp accessibility cache. r=kyle, sr=alecf 2003-04-15 08:45:55 +00:00
dbaron%dbaron.org 5186999c08 Correct translation when ensuring floats are never higher than prior floats. b=201985 r+sr=roc 2003-04-15 03:10:50 +00:00
bzbarsky%mit.edu 0b85b42edc Fix crash when composer and comboboxes interact. The real fix is in
nsComboboxControlFrame; the nsBlockFrame changes are just cleanup the fix
enables. Bug 197942, r=jkeiser, sr=dbaron.
2003-04-12 16:06:54 +00:00
bzbarsky%mit.edu e1aca3947c fix build warning. 2003-04-12 15:03:08 +00:00
bzbarsky%mit.edu fa96270367 Fixing OS/2 bustage -- compiler is too dumb to tell that the void* version is
_not_ what we want here... ;)
2003-04-12 06:18:38 +00:00
bzbarsky%mit.edu 48eaa50cb5 Change nsObjectFrame reflow when showing an image or iframe to just reflow the kid and
use its desired size.  Change reflow when doing a plugin to properly look at
the mComputedHeight/Width instead of trying to (incorrectly) walk up the reflow
state chain.  Plus some nsCOMPtr love.  Bug 191246 and bug 196280,
r=peterlubczynski, sr=roc+moz
2003-04-12 04:55:07 +00:00
bryner%netscape.com 4eedb16db9 taking a stab at luna orange... removing bogus forward declaration 2003-04-11 11:29:32 +00:00
bryner%netscape.com d36a919a95 Remove nsScrollFrame and frame constructor support for it. Remove dlldeps.cpp for layout, it's not necessary. Bug 201457, r+sr=roc. 2003-04-11 08:26:42 +00:00
bryner%netscape.com 3a3ec0cbd5 Make --disable-xul work (bug 69995). We build enough XUL to support
scrollbars unconditionally, but can now leave out heavyweight widgets like
grid, listbox, and tree.  r=bzbarsky, sr=alecf.
2003-04-11 00:56:27 +00:00
peterlubczynski%netscape.com d361c88876 Fixing bug 129306, regression: can't hide plugins with a widget, r=roc+moz sr=bz 2003-04-10 17:22:24 +00:00
locka%iol.ie b824fbf934 Fix for bustage, return NS_OK from method with NS_IMETHOD return type. a=roc+@cs.cmu.edu 2003-04-09 13:16:05 +00:00
roc+%cs.cmu.edu 12c5a8aa8b Bug 201300. Get rid of document observer from nsGfxScrollFrame. r+sr=bz 2003-04-09 11:27:09 +00:00
roc+%cs.cmu.edu 61cded3928 Bug 201299. Make lazy scrollbars more selective to avoid XUL tree and listbox problems. r+sr=bzbarsky 2003-04-09 11:17:42 +00:00
roc+%cs.cmu.edu 3936b4c393 Bug 126263. Whack comboboxes/listboxes to use Gfx scrollbars. Also, make scrollbars attach their XBL content only when they become visible, to avoid pageload hit. r+sr=dbaron 2003-04-08 20:50:57 +00:00
kin%netscape.com 85540751cd Fix for bug 42046: One click select and drag for images, hrs, and -moz-user-select:all
subtrees


mozilla/layout/html/base/src/nsFrame.cpp

  - Added utility method ContentContainsPoint()
  - Modified HandlePress() to allow selection of images, hrs and
    -moz-user-select:all subtrees, and then disable selection
    processing of drag events.


mozilla/editor/libeditor/html/nsHTMLDataTransfer.cpp

    - Modified InsertFromDrop() so that it prevents a drop from
      happening in a -moz-user-select:all subtree. (Temporary
      workaround to avoid bug 195957 and bug 195959)

r=mjudge@netscape.com  sr=sfraser@netscape.com
2003-04-07 14:28:51 +00:00
bmlk%gmx.de b07e6600bf display overflow information in debug reflow bug 200881 r/sr=bzbarsky 2003-04-06 08:36:19 +00:00
roc+%cs.cmu.edu d21b664b22 Bug 113232. Support translucent chrome. Relanding, fingers crossed. r+sr=bzbarsky 2003-04-06 02:49:40 +00:00
roc+%cs.cmu.edu 9e0fe66f3f Bug 197065. Do more complete invalidation on block size changes. r=jkeiser,sr=dbaron 2003-04-05 21:27:45 +00:00
roc+%cs.cmu.edu 9ce6c8be14 Bug 199607. Fix smoothscrolling bugs. r+sr=dbaron 2003-04-05 11:41:19 +00:00
peterlubczynski%netscape.com ea0810d7ec Fixing bug 200568, OBJECT tag renders plugins and full-page, r=jkeiser, sr=bz 2003-04-04 01:53:59 +00:00
bzbarsky%mit.edu cde8938427 ComputeStyleChangeFor does not need to put all the in-flows into the
changelist.  Propagate the "current" toplevel change as the min change as we go
down the in-flow and special sibling list.  Bug 166205, r+sr=dbaron
2003-04-03 21:51:06 +00:00
cbiesinger%web.de 752bca3b4a 163594 patch by mloiselle@yahoo.com r+sr=roc+moz HR is highlighted by single click in browser (horizontal ruler) (select) 2003-04-03 19:25:25 +00:00
bryner%netscape.com 96f30a0c40 Improve logic for focusing the DOM window on page loads to deal with the
document of a previously focused iframe still being present.  Fixes bug
170811, clicking a link in an iframe which loads in a parent window causes
loss of focus.  r=saari, sr=jst.
2003-04-03 08:14:51 +00:00
seawood%netscape.com 80e1b303cc Purge XP_PC.
Bug #56767 r=mkaply sr=alecf
2003-04-02 22:45:08 +00:00
bryner%netscape.com 84fa8d1c64 On second thought, let's not unsuppress painting early for pages with object/embed/applet elements. Instead, go back to calling Show() on the document viewer, but suppress the focus controller while doing so. Bug 199927, r=peterl, sr=bzbarsky. 2003-04-02 21:26:29 +00:00
kaie%netscape.com db88d9b75b b=192320 Cannot down arrow in file
r=mjudge sr=kin
2003-04-02 12:05:43 +00:00
locka%iol.ie e2df34009e Remove references to webshell and make HTML document more tolerant when supplied with a null docshell. b=191023 r=heikki@netscape.com sr=jst@netscape.com 2003-04-02 11:18:00 +00:00
bryner%netscape.com fe29432f2a Fix loss of focus caused by not going through PresShell::UnsuppressPainting (bug 199927). Also cleaned up event listener registration in this file quite a bit. r=peterl, sr=bzbarsky. 2003-04-02 03:35:58 +00:00
bzbarsky%mit.edu ce3a0d97fb "Backing" changes back in since tree has reopened. 2003-04-02 03:19:50 +00:00
bzbarsky%mit.edu 429e0e4ded Backing all this out, since tree is closed. 2003-04-02 02:02:10 +00:00