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

3399 Коммитов

Автор SHA1 Сообщение Дата
dbaron%dbaron.org 7861160d62 Fix regression of scrolling attribute and overflow property on frame and iframe elements. Make the two interact correctly according to CSS cascading rules. b=220195 r+sr=bzbarsky 2003-09-25 03:55:04 +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
mkaply%us.ibm.com 01782c41bc #219573
r=peterv, sr=bzbarsky
Fix from Josh Aas - remove unused variables in nsSelection.cpp
2003-09-18 18:58:14 +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
caillon%returnzero.com 46b7fd3b1d Bug 215042 - frame source is not shown
Patch from bzbarsky@mit.edu
r+sr=roc@ocallahan.org
2003-09-13 19:42:43 +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
caillon%returnzero.com f8e8aed8a7 Backing out the patch to bug 83536.
I will reland this when 1.6a re-opens.
r+sr=jst@netscape.com
a=chofmann
2003-08-22 03:06:53 +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
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
roc+%cs.cmu.edu 0b8cd870e1 Bug 190735. nsIFrame deCOMtamination, r+rs=dbaron 2003-08-06 03:07:12 +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 93aa1eeb86 DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823, r+sr=jst 2003-07-28 21:09:56 +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 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
caillon%returnzero.com 91b7c60bee Bug 83536.
Merge script principal implementations into one class.
Should reduce footprint, speed up calls to caps a little bit, and fixes several memory leaks.
Also fixes bugs 211174 and 211263
r=jst@netscape.com
sr=bzbarsky@mit.edu
moa=mstoltz@netscape.com (he looked at an earlier patch and said it looked fine, and will do a retroactive review when he returns from vacation as well)
2003-07-24 05:15:20 +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
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
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 479a311594 Make GetStateBits const. b=208190 r+sr=roc 2003-07-12 00:46:52 +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
roc+%cs.cmu.edu a197a69820 Ongoing deCOMtamination. r+sr=dbaron 2003-07-05 15:30:50 +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
roc+%cs.cmu.edu e324543a75 Ongoing deCOMtamination. r+sr=dbaron 2003-07-02 10:30:00 +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
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
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
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
caillon%returnzero.com 4cc64cee34 Bug 209852. Remove |dont_QueryInterface|.
r=dbaron, sr=jag
2003-06-21 00:15:41 +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 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
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
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
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
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
leon.zhang%sun.com a0b6278dce Bug 207936:[trunk] JA IME: cursor position is off before and after text is committed
r=sfraser sr=kin
2003-06-11 03:29:59 +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
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
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
aaronl%netscape.com 653e5df5d2 Bug 185846. Create ISimpleDOMText for accessibility API support of pieces of text smaller than a node. r=bolian, sr=alecf, a=asa 2003-05-17 09:00:57 +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