roc+%cs.cmu.edu
d4aec342d0
Bug 185357. Collect out-of-flow frames for overflowing placeholders even if the placeholders are indirect (inline) children of the line. r+sr=dbaron
2004-06-27 02:01:06 +00:00
peterv%propagandism.org
13ff57f719
Trying to fix minimo bustage
2004-06-25 16:38:43 +00:00
peterv%propagandism.org
c6758de122
Fix for bug 236408 (deCOMtaminate nsINodeInfoManager). r=caillon, sr=jst.
2004-06-25 12:26:02 +00:00
pkw%us.ibm.com
0ec5bbae9b
Bug 248216 - Mismatched new[]/delete in nsTextFrame.cpp.
...
r/sr=dbaron@dbaron.org
2004-06-23 16:38:38 +00:00
bryner%brianryner.com
4894e80462
deCOMtaminate nsBoxLayoutState. Bug 247766, r+sr=roc.
2004-06-22 02:55:04 +00:00
smontagu%smontagu.org
1c039e3f8d
Bug 140611: When a block element is first in RTL <LI>, bullet moves left. patch by Lina Kemmel lkemmel@il.ibm.com, r=smontagu, sr=dbaron.
2004-06-20 09:51:10 +00:00
bryner%brianryner.com
cfcb3b0746
Make XUL box debug code be #ifdef DEBUG_LAYOUT. r+sr=roc, bug 103844.
2004-06-19 09:07:47 +00:00
neil%parkwaycc.co.uk
131d37091e
Bug 205235 Fix floats to work in RTL spans p=mozilla-bugzilla@future.shiny.co.il (Ilya Konstantinov) r/sr=dbaron
2004-06-18 23:41:17 +00:00
neil%parkwaycc.co.uk
66187179fe
XUL frame elements should not have the preferred size that HTML iframes do b=217477 r/sr=roc
2004-06-18 23:34:22 +00:00
roc+%cs.cmu.edu
51183ee40b
Bug 240276. Fork nsGfxScrollFrame into nsHTMLScrollFrame and nsXULScrollFrame. No behaviour is changed yet. r+sr=dbaron
2004-06-18 02:08:19 +00:00
roc+%cs.cmu.edu
52092297fe
Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin
2004-06-17 00:13:25 +00:00
bryner%brianryner.com
4451888110
Get rid of nsILanguageAtom and deCOMtaminate nsILanguageAtomService (bug 230603). Also, fix a bunch of atom double-addref leaks in nsFontMetricsXlib. r+sr=dbaron.
2004-06-08 23:53:59 +00:00
dbaron%dbaron.org
fccd797e87
Move clearing from nsBlockBandData to nsSpaceManager so that 'clear' works even when the floats to be cleared don't overlap the block's border-box. b=148994 Patch by Blake Kaplan <mrbkap@rice.edu>. r+sr=dbaron
2004-06-08 19:18:30 +00:00
jim_nance%yahoo.com
dbdb7cf917
Fix bug #242044 - Reduce number of allocations by nsSpaceManager::PushState
2004-06-06 18:45:02 +00:00
aaronleventhal%moonset.net
a4877c0ce2
Fixing bustage
2004-06-04 21:08:05 +00:00
aaronleventhal%moonset.net
f452943730
Bug 242594. Expose list and list item objects, and bullet text. r=Louie.Zhao, sr=jst/dbaron
2004-06-04 19:28:36 +00:00
roc+%cs.cmu.edu
a8ac346497
Bug 240903. Add image input to the list of elements that can't be dragged. r+sr=roc, patch by Serge Gautherie
2004-06-02 02:25:18 +00:00
roc+%cs.cmu.edu
b7fbe9ad0a
Bug 217715. Delay instantiating plugin until we've closed its HTML element, so Java applets are guaranteed to see all PARAMs. r+sr=jst
2004-06-02 00:25:00 +00:00
smontagu%smontagu.org
c9791928b9
DeCOMtaminate nsIFrame Set/GetProperty and merge Set/GetBidiProperty with it. Bug 117751, r+sr=roc
2004-06-01 06:20:16 +00:00
sspitzer%mozilla.org
8c46b7fe3b
remove unnecessary imgURI check, thanks to biesi for catching it.
2004-05-31 22:56:42 +00:00
sspitzer%mozilla.org
afdedb8705
fix for bug #188955
...
[CSS list item images are loaded even if image loading is blocked or disabled]
r/sr=bz
2004-05-31 22:32:37 +00:00
roc+%cs.cmu.edu
1169792709
Bug 239201. Anonymous views (views without frames) should inherit their visibility from their parent. Then visibility:hidden IFRAMEs will hide their widgets. r+sr=dbaron
2004-05-31 20:01:58 +00:00
dbaron%dbaron.org
0fa46bf78e
When we do two passes on an incremental reflow in order to update maximum width, do max-element-width calculation on the second pass too so that floats have their max-element-width cached for state recovery. b=217527 r+sr=roc
2004-05-31 17:41:50 +00:00
bzbarsky%mit.edu
f4cf7b2cc5
Remove unnecessary memsets. Bug 244876, patch by Rene Pronk
...
<r.pronk@its.tudelft.nl>, r+sr=bzbarsky
2004-05-31 16:38:47 +00:00
roc+%cs.cmu.edu
27375e9b38
Bug 232913. Let nsIScrollbarMediator support multiple scrollbars. Patch by Nate Nielsen, r+sr=roc.
2004-05-29 00:09:05 +00:00
bryner%brianryner.com
86b340aeca
Reduce the amount of style data we fetch in nsTextFrame::Reflow. Bug 244651, r+sr=bzbarsky.
2004-05-25 18:29:04 +00:00
aaronleventhal%moonset.net
273397a135
Bug 242799. Fix touchpad scrolling but keep support for screen reader behavior based on class names. r=ere, sr=roc
2004-05-20 03:14:41 +00:00
roc+%cs.cmu.edu
f1f89a9129
Backing out 233441.
2004-05-17 16:29:13 +00:00
mvl%exedo.nl
2f908209a7
Make content policy api (nsIContentPolicy) not suck.
...
bug 191839. Original patch and hard work by Tim <riceman+bmo@mail.rit.edu>, r=bzbarsky (on backend stuff), r=neil (on the tabbrowser stuff), sr=bzbarsky
2004-05-13 18:34:18 +00:00
roc+%cs.cmu.edu
f8feba3ada
Bug 107518 and others... Make CreateViewForFrame reparent any views on frame descendants to the new view. This ensures that the view hierarchy stays in sync with the frame hierarchy. r+sr=dbaron
2004-05-13 15:33:18 +00:00
jst%mozilla.jstenback.com
d247d3f525
Fixing bug 242734. deCOMtaminate nsITextContent. r+sr=bryner@brianryner.com
2004-05-07 20:55:17 +00:00
bzbarsky%mit.edu
aa2c0925b8
Don't show the content viewer if it's not ours -- that means that we're
...
actually about to be torn down. Bug 242282, r+sr=jst
2004-05-06 21:15:33 +00:00
roc+%cs.cmu.edu
e508d2a0ad
Bug 233441. Make nsViewManager always have a root view, you can't change it. r+sr=dbaron
2004-05-06 03:17:14 +00:00
roc+%cs.cmu.edu
adb400bd40
Try to fix gcc 3.4 bustage. If this fixes it, it totally lied about the line number
2004-05-05 04:38:12 +00:00
roc+%cs.cmu.edu
3074e7edc0
Bug 240276. Trim fat from nsGfxScrollFrame, move functionality into nsGfxScrollFrameInner so that when we fork nsGfxScrollFrame, it will be shared
2004-05-05 02:32:27 +00:00
roc+%cs.cmu.edu
8d9033c380
Bug 230417. When a placeholder frame lands in a block's overflowList, put its out of flow frame in a new child list, overflowOutOfFlowsList
2004-05-05 02:30:33 +00:00
bzbarsky%mit.edu
3952e1e9e8
The nsBlockFrame.h include is needed for debug builds. Bustage fix, original
...
bug is 241833
2004-05-05 01:46:15 +00:00
dbaron%dbaron.org
44f599fd12
Remove hacks no longer needed since text inputs became reflow roots (instead of using the IncrementalDamageConstrained hack. b=241833 r+sr=rbs
2004-05-04 23:56:25 +00:00
cbiesinger%web.de
577b542b93
move nsFrame::XMLQuote to #ifdef DEBUG, like its only caller
...
r+sr=dbaron
2004-05-04 16:27:40 +00:00
aaronleventhal%moonset.net
0d75ee958b
Use win32 window class name corresponding to UI/content/general/hidden. r=ere, sr=roc
2004-05-04 12:39:42 +00:00
caillon%redhat.com
0f17aba3e9
Bug 241140
...
Consolidate DrawImage and DrawScaledImage
r=biesi sr=tor
2004-05-04 01:32:26 +00:00
bryner%brianryner.com
f9f55ca33e
deCOMtaminate nsPIDOMWindow (bug 242111). r+sr=jst.
2004-05-03 21:48:36 +00:00
bzbarsky%mit.edu
2521bc1e41
Properly remove the context menu listener when we don't have a plugin. Bug
...
185714, r+sr=jst
2004-05-03 21:32:54 +00:00
bzbarsky%mit.edu
4e8c6f85d8
Don't do bizarre sizing stuff to the root element's frame. Bug 241694; also
...
fixes bug 15405 and bug 57906. r+sr=dbaron
2004-05-01 06:24:06 +00:00
roc+%cs.cmu.edu
54444d6aae
Bug 226439. Convert layout to EqualsLiteral and EqualsASCII. r+sr=dbaron
2004-04-30 13:23:43 +00:00
jst%mozilla.jstenback.com
aa71234a97
Fixing mac bustage.
2004-04-30 00:57:06 +00:00
jst%mozilla.jstenback.com
ca74706604
Fixing bug 240543. Hiding some nsIPref* API bloatyness in nsContentUtils. r=caillon@aillon.org, sr=peterv@propagandism.org
2004-04-29 23:34:19 +00:00
roc+%cs.cmu.edu
1c438fcb5e
Bug 226439. Some small conversion to use EqualsLiteral to see effect on code size, r+sr=dbaron. Additionally, some comments to clarify that EqualsLiteral is only for actual literals, and to properly credit Corey Kosak who showed me the template trick. Also re-enabled the template for MSVC++ 7.1, which can apparently handle it.
2004-04-28 17:48:02 +00:00
kyle.yuan%sun.com
8fb968cef2
Bug 240665 Can't navigate through some page lines using left or right arrow
...
r=aaronleventhal, sr=henry.jia
Patch by ginn.chen@sun.com
2004-04-26 09:40:21 +00:00
bzbarsky%mit.edu
8d004584b6
Add a version of CheckLoadURI that takes a source principal instead of a source
...
URI. Update a bunch of callers to use it. Bug 233108, r=caillon, sr=dveditz
2004-04-25 16:55:27 +00:00
bzbarsky%mit.edu
74c687f2ca
Change mCBReflowState to mean the containing block of _this_ reflow state
...
instead of the containing block of kids. Fix the containing block calculations
for various cases of absolutely positioned descendants of relatively positioned
inlines (eg make "right" and "bottom" work in those situations). Bug 135082,
r+sr=dbaron
2004-04-24 17:56:23 +00:00
neil%parkwaycc.co.uk
8e27650876
Removing unused variable and function b=217089 p=gautheri@noos.fr r/sr=dbaron
2004-04-24 13:30:23 +00:00
dbaron%dbaron.org
97a5af19d6
Only call SetLineWrapped when line doesn't end in BR. b=238472 r+sr=roc
2004-04-23 19:27:14 +00:00
tor%cs.brown.edu
44fbbcc21b
Bug 240274 - remove unused argument of SetClip{Rect,Region}.
...
r=blizzard, sr=bryner
2004-04-23 15:21:24 +00:00
dbaron%dbaron.org
2b4e86adea
Fix windows bustage. b=241304
2004-04-22 20:58:32 +00:00
bzbarsky%mit.edu
9701f04572
Fix bug 241304 (overflow broken on fixed-pos elements). Patch by roc,
...
r+sr=bzbarsky.
2004-04-22 19:33:56 +00:00
bzbarsky%mit.edu
a6b0fb723e
Let generated content content nodes know when their frames go away. Bug
...
237975, r+sr=dbaron
2004-04-20 19:20:16 +00:00
neil%parkwaycc.co.uk
2b6b986594
Bug 142120 Ctrl+Right Arrow in space-only mode should not stop again after crossing spaces p=vdvo@vdvo.net r=roc sr=jst hopefully also fixing bug 236172
2004-04-19 15:33:33 +00:00
bzbarsky%mit.edu
3d8d255e66
Don't allow negative line-heights to make it past the CSS parser. Bug 240900,
...
r+sr=dbaron
2004-04-18 20:10:09 +00:00
gerv%gerv.net
85ce8c146b
Bug 236613: change to MPL/LGPL/GPL tri-license.
2004-04-18 14:30:37 +00:00
tor%cs.brown.edu
bd2796f514
Bug 240274 - remove PopState() argument. r=blizzard, sr=bryner
2004-04-18 13:13:35 +00:00
gerv%gerv.net
692411203a
Bug 236613: change to MPL/LGPL/GPL tri-license.
2004-04-17 21:52:36 +00:00
cbiesinger%web.de
d4e1da55f3
Bug 235502 nsIMIMEService, nsIMIMEInfo should use nsACString/nsAString instead of string/wstring
...
r=bzbarsky sr=darin
2004-04-15 20:56:37 +00:00
bmlk%gmx.de
ac14227f67
table frames that dont wrap their content with scrollframes hide the overflow if NS_STYLE_OVERFLOW_SCROLLBARS_NONE is specified bug 233438 r/sr=dbaron
2004-04-14 06:28:25 +00:00
jst%mozilla.jstenback.com
7efabde837
Changing comment style for consistency with other similar code in this file.
2004-04-13 03:57:12 +00:00
roc+%cs.cmu.edu
3377c67eb5
Bug 234851. Propagate any overflow style from HTML or BODY elements to the viewport, and make it work dynamically. r+sr=dbaron
2004-04-13 02:56:03 +00:00
jst%mozilla.jstenback.com
8295af392b
Fixing bug 240340. Make key events in plugins work correctly again on the Mac. r+sr=bryner@brianryner.com
2004-04-13 01:51:00 +00:00
bzbarsky%mit.edu
aeec221864
When appending frames to a block after a <br>, just put them into a new line
...
right away instead of waiting for reflow to come about and fix it up. This
speeds up things that append nodes including <br> to a block one at a time
(e.g. editor or content scripts) Bug 240291, r+sr=dbaron
2004-04-13 01:45:57 +00:00
bzbarsky%mit.edu
4cf1ca9c6a
Fix dirty reflows of bullets to deal with an empty first line (whitespace
...
followed by block) in the parent block. Bug 206602, r+sr=dbaron
2004-04-13 01:38:10 +00:00
bryner%brianryner.com
62c142565c
More nsIPresContext deCOMtamination (bug 229371). r+sr=roc.
2004-04-13 00:28:44 +00:00
sicking%bigfoot.com
6ce4fac4be
Bug 237566: Remove nsIContent::ReplaceChildAt and supportive codepaths.
...
r=bz sr=jst
2004-04-12 22:48:33 +00:00
dbaron%dbaron.org
b2e0bd26a0
Implement 'quotes' property correctly by tracking quote nesting depth using a linked list. Patch by Esben Mose Hansen <esben@oek.dk>, Ulrich Drepper <drepper@redhat.com>, and me. b=24861
2004-04-12 21:53:22 +00:00
jst%mozilla.jstenback.com
ea21d2ad3b
Fixing bug 238449. Make plugins not get mozilla context menus again. r+sr=dbaron@dbaron.org, a=asa@mozilla.org
2004-04-10 00:25:01 +00:00
bzbarsky%mit.edu
e241461844
Don't do a O(N) walk over all lines when painting floats, since we already have
...
a nice sorted list of floats about. Bug 52005, r+sr=dbaron, a=brendan
2004-04-09 21:08:09 +00:00
bzbarsky%mit.edu
ed4f4c2758
Change the way regression tests get the framestate to make it possible to mask
...
out irrelevant state bits as needed. Apply this to NS_BLOCK_HAS_LINE_CURSOR.
Bug 237955, r+sr=roc, a=dbaron
2004-04-04 01:48:16 +00:00
bzbarsky%mit.edu
46389cab0e
Don't look for the primary frame unless we have to on broken images. Bug
...
239262, r+sr=dbaron, a=chofmann
2004-04-02 03:07:39 +00:00
bzbarsky%mit.edu
e7dc23de9e
Make sure to not end up with a bogus padding when we have a list-style-image.
...
Bug 187419, r+sr=dbaron, a=chofmann
2004-04-01 19:48:55 +00:00
bzbarsky%mit.edu
79a2f3c0ec
Fix bug 236921. This makes the root node's style context have no parent, makes
...
computed style calculations properly parent the computed context, and fixes a
but with "border-color: inherit" on the root. r=caillon, sr=dbaron, a=asa
2004-03-29 16:00:38 +00:00
roc+%cs.cmu.edu
08ae63344b
Bug 236910. Elements that clip their backgrounds do not present a uniform background. r+sr=dbaron,a=choffman
2004-03-28 21:05:29 +00:00
roc+%cs.cmu.edu
e2d07edc32
Bug 235558. We don't really want to consider computed maximum widths after all. r+sr=dbaron,a=asa
2004-03-27 02:44:26 +00:00
roc+%cs.cmu.edu
40e1789628
Bug 231264. Set IFRAME minimum width properly. r+sr=dbaron,a=choffman
2004-03-21 22:34:58 +00:00
roc+%cs.cmu.edu
a233d97228
Bug 237343. Adjust inline frame PerFrameData mCombinedArea to account for width increase due to justification.
2004-03-16 06:58:01 +00:00
bzbarsky%mit.edu
058ca4a9d9
Clear the line cursor when child frames are added or removed. Bug 236947,
...
r+sr=roc, a=chofmann
2004-03-14 18:19:24 +00:00
roc+%cs.cmu.edu
f864976aa7
Bug 235558. Make scrollframes take CSS max-width/max-height into account when they compute their preferred size (by reflowing their scrolled block to width max-width, if appropriate). r+sr=dbaron,a=choffman
2004-03-13 02:51:16 +00:00
dbaron%dbaron.org
f92415768a
DeCOMify nsIFrame::IsPercentageBase and rename to IsContainingBlock. b=237169 r+sr=bzbarsky a=brendan
2004-03-12 04:40:17 +00:00
roc+%cs.cmu.edu
ef22b5a340
Bug 232838. Remove unnecessary assertions on minsizes that we don't use. r+sr=dbaron, a=choffman
2004-03-12 03:35:53 +00:00
roc+%cs.cmu.edu
693c921022
Bug 232838. Properly relayout scrollbars if we need to hide one because there's no room. Prefer to hide the horizontal scrollbar if we have to choose between them. r+sr=dbaron,a=choffman
2004-03-10 23:52:01 +00:00
dbaron%dbaron.org
0c56075a10
Backing out my checkin from yesterday. b=199673
2004-03-10 17:13:39 +00:00
bzbarsky%mit.edu
1758f2dc93
Make text-decorations deal with percentage padding. Bug 236175, patch by Hideo
...
Saito <saito@densan.co.jp>, r=bzbarsky, sr=dbaron
2004-03-10 04:43:59 +00:00
roc+%cs.cmu.edu
0651f4e7ae
Bug 235264. Clean up invalidation to go through a single nsIFrame::Invalidate function and take account of 'outline' where necessary. r+sr=dbaron
2004-03-10 03:09:05 +00:00
dbaron%dbaron.org
fc8f3eda8e
In almost-standards mode, standards-mode text decorations and quirks-mode inline box model have to interact -- so make standards-mode text-decorations (when text-decorations are present) cause the standards-mode inline box model. b=199673 r+sr=bzbarsky
2004-03-10 00:28:17 +00:00
roc+%cs.cmu.edu
cc35f7abe2
Fixing bustage, hopefully, THIS TIME
2004-03-07 19:23:53 +00:00
roc+%cs.cmu.edu
00cbe56060
Fixing bustage, hopefully
2004-03-07 18:50:11 +00:00
roc+%cs.cmu.edu
d162445909
Bug 51938. Cache recently accessed line if the lines' combinedArea.y/ymosts are nondecreasing --- speeds up painting and event handling on large blocks. r+sr=bzbarsky
2004-03-07 18:04:24 +00:00
sicking%bigfoot.com
1775c22dcc
Bug 236620: kill nsIContent::CanContainChildren
...
r/sr=jst
2004-03-06 00:22:03 +00:00
bryner%brianryner.com
6252896efc
inline IsPaginated, SetPaginatedScrolling, and GetPaginatedScrolling. Bug 229371, r+sr=roc.
2004-03-03 18:24:20 +00:00
scott%scott-macgregor.org
0b1e4709b0
Back out Bug #132561 until we can figure out how to fix the regression it causes in HTML composer with spaces
...
(See Bug #235223 ).
a=brendan
2004-03-02 01:23:13 +00:00
cbiesinger%web.de
a61e8eb6ad
Bug 188288 caret movement erratic with CTL enabled
...
patch by prabhat.hegde@sun.com r=roland.mainz@nrubsig.org sr=roc
2004-03-01 21:36:35 +00:00
darin%meer.net
1d2d419885
landing dbaron's patch for bug 235735 "fix callers that cast away const on result of ns[C]String::get" r+sr=darin
2004-02-28 22:34:07 +00:00
roc+%cs.cmu.edu
602e5214cc
Bug 235778. Overflow area of relatively positioned inlines must be preserved by line layout. r+sr=dbaron
2004-02-28 02:55:58 +00:00
bryner%brianryner.com
d6b0d386ee
deCOMtaminate nsIPresContext::GetEventStateManager. Bug 229371, r+sr=roc.
2004-02-27 17:17:37 +00:00
bzbarsky%mit.edu
a7b7608dce
Make sure to pass <embed> attributes to plugins in the source order. Bug
...
234675, r=peterlubczynski, sr=jst
2004-02-24 02:44:33 +00:00
bzbarsky%mit.edu
0d599f1613
Apply the bug 200568 fix to types derived from the "data" attribute too. Bug
...
235053, r=biesi, sr=jst
2004-02-23 22:41:15 +00:00
bryner%brianryner.com
745944525d
Get rid of nsIFrameManager abstract interface to the frame manager. Bug 233972, r+sr=roc.
2004-02-23 21:29:06 +00:00
roc+%cs.cmu.edu
985cc47697
Bug 180931. If we move a frame temporarily during reflow, we'd better invalidate the whole overflow area because invalidates may have been issued at the temporary position.
2004-02-22 03:31:30 +00:00
dbaron%dbaron.org
8b81db7e6f
Rename {nsIDocument,nsIDocumentObserver,nsIFrame}::ContentChanged to CharacterDataChanged, since that's the only thing it's used for. Replace its nsISupports* parameter with a PRBool, since we don't need to allocate an object to pass a boolean parameter. Remove some (but probably not all) unneeded implementations on frames whose content is never a text node. b=234960 r+sr=jst
2004-02-20 21:38:31 +00:00
sicking%bigfoot.com
580557c74f
Bug 234615: Remove nsIHTMLContent::GetBaseTarget by cleaning up the imagemap code a bit which was the only client.
...
r=bryner sr=jst
2004-02-20 19:00:43 +00:00
bryner%brianryner.com
41c3b9355c
Inline boolean getters and setters on nsIPresContext, and change the storage to a bitfield. Bug 229371, r+sr=roc.
2004-02-20 17:49:01 +00:00
bzbarsky%mit.edu
6aa7f4095d
Fix comment. Bug 132561, r+sr=dbaron
2004-02-19 22:16:00 +00:00
bzbarsky%mit.edu
78eb384ef2
Trim whitespace that comes right before a <br> when trimming whitespace. Bug
...
132561, r+sr=dbaron
2004-02-19 22:12:38 +00:00
cbiesinger%web.de
bb8f20a832
233890, misc cleanup in some layout files, r+sr=bz
2004-02-19 18:56:13 +00:00
dbaron%dbaron.org
0168550440
Replaced elements should not support generated content. b=169334 r+sr=bzbarsky
2004-02-19 18:04:15 +00:00
neil%parkwaycc.co.uk
38c9278afa
(on bsmedberg's advice) third time lucky?
2004-02-19 13:20:57 +00:00
neil%parkwaycc.co.uk
5e72149f91
Trying to fix bustage again...
2004-02-19 12:38:16 +00:00
neil%parkwaycc.co.uk
bef12f2077
Trying to fix beast build bustage
2004-02-19 12:12:06 +00:00
neil%parkwaycc.co.uk
142c40e9fc
Bug 232321 Make layout.word_select.stop_at_punctuation work as a user preference r/sr=bz
2004-02-19 11:10:31 +00:00
bzbarsky%mit.edu
2379629a94
Fix bug 231280 (printing not honoring OS date format). Patch by Constantine
...
A. Murenin <cnst.bmo@bugmail.mojo.ru>, r=jshin, sr=roc, a=chofmann
2004-02-16 05:31:25 +00:00
bryner%brianryner.com
b26298f7c2
Inline TwipsToPixels and PixelsToTwips on nsIPresContext. Bug 229371, r+sr=dbaron.
2004-02-11 04:57:07 +00:00
sicking%bigfoot.com
7055ef1c83
Bug 232706: Remove unneccesary datatypes from nsHTMLValue and cleanup AttributeToString.
...
r=caillon sr=jst
2004-02-11 00:38:12 +00:00
cbiesinger%web.de
ae74be13cc
move debug-only function into #ifdef DEBUG. r+sr=bzbarsky
2004-02-10 23:06:23 +00:00
cbiesinger%web.de
57eed0eb39
Bug 233587 small nsImageFrame cleanup - use nsILink to get a link href.
...
r+sr=bzbarsky
2004-02-10 16:57:00 +00:00
jst%mozilla.jstenback.com
8b6dc1c3ca
Fixing bug 233307. deCOMtaminating nsIScript* and related interfaces. r+sr=bryner@brianryner.com.
2004-02-09 22:48:53 +00:00
cbiesinger%web.de
b09d6185e2
fixing bustage
2004-02-09 17:52:48 +00:00
cbiesinger%web.de
333697ba05
Bug 233457 nsObjectFrame cleanup
...
r+sr=bz
2004-02-09 17:33:45 +00:00
dbaron%dbaron.org
f916d83bd2
Clean up nsStyleContext::GetUniqueStyleData. b=233480 r+sr=bzbarsky
2004-02-09 06:55:14 +00:00
dbaron%dbaron.org
39b026b882
A little cleanup. b=229654 r+sr=bzbarsky
2004-02-09 05:22:58 +00:00
dbaron%dbaron.org
48bec8625f
Don't handle auto margins when the container has an unconstrained width. (This still doesn't handle max-width computation with a constrained reflow.) b=229654 r+sr=bzbarsky
2004-02-09 05:22:23 +00:00
bzbarsky%mit.edu
ab4c59230c
Collapse trailing whitespace even if there is a placeholder after it. Bug
...
233451, r+sr=dbaron
2004-02-09 01:01:06 +00:00
dbaron%dbaron.org
ff282e6bbf
Get rid of empty damage rect warning; better to check at callee than caller. Add const to fix DEBUG-only warnings about string constants being used as non-const. b=233292 r+sr=roc
2004-02-06 23:11:46 +00:00
dbaron%dbaron.org
88943112b5
Change the way we handle auto margins on blocks with outer width (excluding auto margins) wider than their containing block. Use rules equivalent to overconstraint handling (margins non-auto) so that we depend on 'direction' rather than on which margins are 'auto'. b=185411 r=roc sr=bzbarsky
2004-02-04 05:18:37 +00:00
dbaron%dbaron.org
ab80dc5e92
Clean up code related to broken / loading image icons and make it observe pref changes. b=180620 r+sr=bzbarsky
2004-02-03 20:30:02 +00:00
dbaron%dbaron.org
7d60004a4a
Uncomment a call to SetColor that is needed. b=181336 r+sr=bzbarsky
2004-02-03 18:27:11 +00:00
dbaron%dbaron.org
5eae4fdb0e
Allow PushLines to push the first line. b=185357 r+sr=roc
2004-02-03 18:19:42 +00:00
bzbarsky%mit.edu
dd6f7b54ab
Remove code that munges block widths inside table cells. Bug 232754,
...
r+sr=dbaron
2004-02-03 16:49:38 +00:00
bryner%brianryner.com
05a0e4f624
Guarantee that the pres context's device context will be non-null by returning failure from Init() if it's null. Rename inline getter GetDeviceContext() to DeviceContext(), convert all callers to use the inline getter, and remove the virtual/refcounting getter. Bug 229371, r+sr=dbaron.
2004-02-02 22:17:21 +00:00
bryner%brianryner.com
f67839e02e
More nsIPresContext deCOMtamination (bug 229371). Inline getters and setters for LinkHandler, VisibleArea, and Language; change some methods that don't return any useful data to |void|; make GetContainer return an already_AddRefed. r+sr=dbaron
2004-02-01 10:09:07 +00:00
bryner%brianryner.com
0ea3c127ae
Continuing nsIPresContext deCOMtamination (bug 229371). Remove ReParentStyleContext - callers can call frame manager directly. Removed several unused setters. Inlined getters for default colors, font scaler, and focus ring width. Changed GetDefaultFont to return a const nsFont*. r+sr=dbaron.
2004-01-31 22:41:40 +00:00
roc+%cs.cmu.edu
a2c6a75e31
Bug 109772. Some nsIView deCOMtamination. Fixed the API for GetNeearestWidget to be sensible. r+sr=dbaron
2004-01-30 03:20:41 +00:00
jst%mozilla.jstenback.com
1804c4910c
Fixing bug 232503. Start using Empty[C]String() to save a bit on code-size. r+sr=peterv@propagandism.org
2004-01-29 22:04:45 +00:00
bsmedberg%covad.net
34cd8e8bdf
Bug 232201 part 2 - update consumers to use inherited nsIPrefBranchInternal interface. This should be happy for codesize. r=alecf sr=darin
2004-01-28 23:45:17 +00:00
dbaron%dbaron.org
78533f969d
Use a stub implementation of nsIDocumentObserver for implementors of nsIDocumentObserver in the layout library. b=232351 r=jst sr=peterv
2004-01-28 21:04:33 +00:00
bryner%brianryner.com
fd6fed0d82
More nsIPresContext deCOMtamination (bug 229371). Removed GetBaseURL, rename GetMedium to Medium and inline it, remove virtual style resolution methods that forward to style set (callers will call style set methods directly). Removed PresContext parameter to StyleSet style resolution functions. r+sr=dbaron.
2004-01-28 00:18:22 +00:00
dbaron%dbaron.org
4e0cf28b3b
Clean up ComputeShrinkwrapMargins. b=217369 r+sr=bzbarsky
2004-01-27 06:46:33 +00:00
dbaron%dbaron.org
56c8632c94
Fix a bunch of errors in incremental computation of maximum width and max-element-size that were causing incremental reflow bugs. b=39683, 217369 r+sr=roc
2004-01-27 05:47:55 +00:00
dbaron%dbaron.org
7c05365522
Change name of variable so this code makes sense.
2004-01-24 20:21:32 +00:00
jst%mozilla.jstenback.com
d62aed44c4
Fixing bug 230840. DeCOMtaminating nsIDocumentObserver, nsIAttribute, nsIContentList, and nsIContentIterator, and doing some other cleanup. r=jonas@sicking.cc, sr=bryner@brianryner.com
2004-01-24 00:46:17 +00:00
cbiesinger%web.de
b63dcc236e
Bug 231372
...
GetCombinedArea could be faster/better
make it return an nsRect as return value instead of out parameter.
r=dbaron sr=bzbarsky
2004-01-22 15:06:25 +00:00
dbaron%dbaron.org
dc0006a0b3
Use |const|. DEBUG-only.
2004-01-21 23:08:51 +00:00
bryner%brianryner.com
93f6dc27e6
DeCOMtaminate nsCSSFrameConstructor (bug 231157). This gets rid of the nsIStyleFrameConstruction and nsICSSFrameConstructor interfaces. The frame constructor now has the same lifetime as the pres shell. r+sr=dbaron.
2004-01-21 23:05:10 +00:00
bryner%brianryner.com
290494e26b
Continuing nsIPresContext deCOMtamination (bug 229371). Remove GetImageLoadFlags (unused). Make failure to fetch the LookAndFeel service cause Init() to fail, don't null check it after that, and inlined the getter. Move IOService caching to nsImageFrame, the only user of it. r+sr=bzbarsky.
2004-01-21 09:35:59 +00:00
roc+%cs.cmu.edu
2e6244f1d5
Bug 229052. Treat pre-formatted newlines like BRs, preserving the break type in nsBlockFrame::ReflowInlineFrame. r+sr=dbaron
2004-01-18 19:35:19 +00:00
bzbarsky%mit.edu
ae458f9668
Back out accidentally committed code. Bug 230852, r+sr=roc
2004-01-18 18:20:57 +00:00
peterv%propagandism.org
56cd85f402
Doh. Fixing bustage.
2004-01-18 15:20:00 +00:00
peterv%propagandism.org
53f2f735a9
Miscellaneous cleanup. r/sr=jst.
2004-01-18 14:53:32 +00:00
peterv%propagandism.org
b73f7d8861
Miscellaneous cleanup. r/sr=jst.
2004-01-18 10:45:26 +00:00
peterv%propagandism.org
512c8d9a90
Fix for bug 230439 (Remove anonymous nodeinfomanager and other cleanup). r=caillon, sr=jst.
2004-01-18 10:22:22 +00:00
dbaron%dbaron.org
b1081d3fc5
Remove unneeded casts and extra shadowing variable.
2004-01-18 07:13:40 +00:00
dbaron%dbaron.org
38f954b2d2
Fix elements with max-width overlapping floats due to initial incorrect position by reflow state. b=52916 Patch by Chris Waterson. r=dbaron sr=bzbarsky
2004-01-18 06:06:13 +00:00
caillon%returnzero.com
a3db938038
Bug 230973 - NS_STYLE_LIST_STYLE_BASIC is spurious. Remove its usage in favor of the correct default of disc. r+sr=dbaron
2004-01-15 22:06:39 +00:00
dbaron%dbaron.org
c6a9d7f43d
Remove NS_FRAME_HAS_LOADED_IMAGES state bit. b=201076 r+sr=bzbarsky
2004-01-13 01:18:51 +00:00
bryner%brianryner.com
a135ce4d60
Improve the way in which nsEvent and its subclasses are initialized. Commonly-used members can now be initialized via an inline constructor, and all other members are initialized to zero. eventStructType is set automatically. This also fixes some cases where an eventStructType was doubling as a message -- NS_TEXT_EVENT is now only used as an eventStructType, with a message of NS_TEXT_TEXT. NS_COMPOSITION_* events get an eventStructType of NS_COMPOSITION_EVENT, and ditto for NS_RECONVERSION_*. NS_DRAGDROP_EVENT is no longer an eventStructType since it is not a unique type of struct. There is also some miscellaneous cleanup to nsDOMEvent. Bug 220228, r=jst, sr=blizzard.
2004-01-12 08:25:18 +00:00
dbaron%dbaron.org
1a8048a611
Treat relatively positioned elements at original position for flowing around floats. b=205087 r+sr=bzbarsky
2004-01-11 04:29:09 +00:00
bryner%brianryner.com
d9d8ab7259
attempting to fix HP-UX/AIX/IRIX bustage (bug 228378)
2004-01-11 00:24:37 +00:00
roc+%cs.cmu.edu
6bf24a63ff
Bug 228378. Clean up nsRegion. patch by Dainis Jonitis. r+sr=roc
2004-01-10 16:18:36 +00:00
roc+%cs.cmu.edu
4ce233447a
Bug 225820. Fold nsFrameInnerFrame into nsFrameOuterFrame, rename to nsSubDocumentFrame, and generally clean up this mess. r+sr=dbaron
2004-01-10 05:36:32 +00:00
jst%mozilla.jstenback.com
4ab234b8be
General deCOMtamination of nsIDocument, nsIContent, and nsIFormSubmission. Eliminating nsIAttributeContent, and doing some URL->URI changes. r+sr=peterv@propagandism.org
2004-01-09 23:54:21 +00:00
roc+%cs.cmu.edu
c70c9c9de3
Bug 210269. Reduce use of SetAttr during reflow. Also, fix up the API that gets the scrollbar dimensions of a scrollframe to always work right for RTL. r+sr=bryner
2004-01-09 19:21:20 +00:00
roc+%cs.cmu.edu
2a50602bc0
Bug 190735. deCOMtaminate nsIFrame::FirstChild and nsIFrame::GetAdditionalChildListName. r+sr=bz
2004-01-09 14:20:53 +00:00
bzbarsky%mit.edu
d37d9a3e5f
Setting .src should reset image animations; don't animate images no one is
...
looking at. Bug 210001, r=pavlov, sr=jst
2004-01-08 18:29:28 +00:00
bzbarsky%mit.edu
ae77eda410
Make sure to not compute negative widths for blocks. Bug 230249, r+sr=dbaron
2004-01-08 03:38:25 +00:00
bryner%brianryner.com
9c81944cb6
Eliminate nsIStyleSet as an XPCOM interface, making the implementation internal to layout. Frame constructor ownership moves to the pres shell, and the style set methods that forward to the frame constructor are gone. Rewrote style set sheet add/remove to reduce code size. For more details, see bug 64116. r+sr=dbaron.
2004-01-07 22:30:53 +00:00
caillon%returnzero.com
d76a4d1dd0
Bug 226375
...
We were leaking nsIClassInfo objects because a DOM class info getter returned AddRef()ed raw pointers. Most of our dom/ and content/ QueryInterface() implementations knew this and accounted for it, but not all. The leak fix is thus achieved by fixing the method to not call AddRef() on its return value, and fixing the appropriate QueryInterface() macros/implementations. As a bonus, this macro-izes many QueryInterface() implementations in content/ which were fully written out.
r=peterv@propagandism.org
sr=alecf@flett.org
CVS: ----------------------------------------------------------------------
2004-01-06 00:36:01 +00:00
bzbarsky%mit.edu
51ae8865ab
Make AdjustComputedWidth/Height take a boolean that tells it whether to account
...
for box-sizing; sometimes we don't want to. Also fix parsing of
max-width/height and min-width/height to error on negative values (per spec).
Bug 227819, r+sr=dbaron
2004-01-05 23:59:25 +00:00
bzbarsky%mit.edu
ddf144b152
Fix restoration of horizontal scroll state. Bug 226534, r+sr=roc
2004-01-05 23:56:00 +00:00
bzbarsky%mit.edu
b6e15b0ec7
Calculate the relative offsets after we've done whatever corrections we need to
...
do to the CB height (eg in quirks mode). Bug 226954, r+sr=dbaron
2004-01-05 23:48:57 +00:00
bryner%brianryner.com
73561d1e28
Continuing nsIPresContext deCOMtamination. This patch changes Get/SetImageAnimationMode. Bug 229371, r+sr=bzbarsky.
2003-12-26 04:24:11 +00:00
bryner%brianryner.com
5aeafaa8a6
deCOMtaminate nsIPresContext::GetCompatibilityMode / SetCompatibilityMode (bug 229081). r+sr=bzbarsky.
2003-12-24 21:51:50 +00:00
bryner%brianryner.com
7264501b7b
Change all callers of nsIPresContext::GetShell() to use the non-refcounting versions. Most callers now use PresShell(), a few that were checking for null conditions are using GetPresShell() -- this will be remedied once we can ensure that a prescontext never has a null pres shell. Bug 227690, r+sr=bzbarsky.
2003-12-21 05:36:36 +00:00
timeless%mozdev.org
5f05bf96d3
Bug 226597 nsObjectFrame.cpp Warning: String literal converted to char* in initialization.
...
r=roc sr=roc
2003-12-21 04:04:09 +00:00
neil%parkwaycc.co.uk
96a7cc96e1
Bug 90906 Remove unused variables p=gautheri@noos.fr r/sr=dbaron
2003-12-20 18:09:21 +00:00
bmlk%gmx.de
4cb432b168
show reflow targets in reflow logs bug 218961 r/sr=bzbarsky
2003-12-20 12:04:31 +00:00
dbaron%dbaron.org
a395bb2ba9
Fix percentage widths on inlines within inlines. b=97695 r+sr=roc
2003-12-19 05:41:35 +00:00
dbaron%dbaron.org
f9a8c0c54a
Account for 1 twip width of BR when computing the size of textareas. b=228752 Patch by Mats Palmgren <mats.palmgren@bredband.net>. r+sr=dbaron a=brendan
2003-12-18 06:06:00 +00:00
jshin%mailaps.org
5bd0e61c8c
bug 224337 : fix misalgined accesss in pre-composed CCMap (on RISC architectures) : r/sr=brendan, a=dbaron
2003-12-15 00:32:16 +00:00
roc+%cs.cmu.edu
736398d953
Bug 227458. Make scrollports without scrollbars NOT use a native widget; they probably won't be scrolled anyway. r+sr=bz,a=dbaron
2003-12-10 03:43:39 +00:00
dbaron%dbaron.org
c3bfb1772c
Fix incremental reflow bugs by being consistent about max-element-width for percentage widths whether or not the reflow is an unconstrained width (as initial always is when we care about max-element-width) or constrained width (as some incremental reflows are). b=215857 r=bernd sr=bzbarsky a=brendan
2003-11-24 19:48:25 +00:00
dbaron%dbaron.org
cd013628a9
Do inheritance without layout-dependent computations, per CSS2.1. Remove eStyleUnit_Inherit and nsStyleCoord::SetInheritValue. b=205790 r+sr=bzbarsky a=asa
2003-11-24 19:46:25 +00:00
roc+%cs.cmu.edu
1e75e9884d
Bug 30579. Add a skinnable 'scrollcorner' element to fill in the gap when there are two scrollbars. r+sr=bryner,a=asa
2003-11-21 10:45:24 +00:00
bzbarsky%mit.edu
433acb316d
Fix printing of plugins in absolutely positioned divs to use the right
...
coordinates. Bug 225832, r+sr=roc
2003-11-19 02:00:51 +00:00
jst%mozilla.jstenback.com
6380d7fd12
Fixing bug 225837. DeCOMtaminating nsIContent more, making GetTag() return a weak raw pointer, and renaming GetTag() to Tag(), and making GetRangeList() return an const nsVoidArray*, and changing GetContentID() to return the id, and renaming it to ContentID(). r=jonas@sicking.cc, sr=bryner@brianryner.com.
2003-11-19 01:20:56 +00:00
neil%parkwaycc.co.uk
a3190de6ed
Bug 225952 nsObjectFrame.cpp abuses nsXPIDLCString r/sr=bz
2003-11-17 19:26:24 +00:00
dbaron%dbaron.org
29a96e0c92
Turn DetermineFrameType into InitFrameType. b=225911 r+sr=bzbarsky
2003-11-17 00:35:17 +00:00
dbaron%dbaron.org
086798da83
Remove unneeded mIsTable member variable. r+sr=bzbarsky b=225902
2003-11-16 21:12:17 +00:00
dbaron%dbaron.org
00f16e975d
Add comments connecting two quirks.
2003-11-16 18:49:00 +00:00
bzbarsky%mit.edu
54e4d504ae
Be a little smarter about handling the mess that is broken images. Only look
...
for a frame if we've had a frame at some point in the past; this should keep us
from calling GetPrimaryFrameFor quite so much during pageload. Bug 225848,
r+sr=jst
2003-11-16 07:34:25 +00:00
blizzard%redhat.com
ae7e45ba8b
Bug #225357 . Plugins that specify coordinates that exceed maximum X coordinates cause X errors. Limit the size of plugins on this platform to the maximum size for X windows. r=bz, sr=roc
2003-11-13 16:33:52 +00:00
bzbarsky%mit.edu
8b1b76c827
Clarify when ReParentStyleContext should be called and remove more bogus style
...
parentage warnings. Bug 217225, r+sr=dbaron
2003-11-13 04:31:04 +00:00
dbaron%dbaron.org
9dc25463a9
Removed unused LineIsEmpty function.
2003-11-11 19:25:49 +00:00
dbaron%dbaron.org
03417606bf
Remove BRS_NOWRAP. b=191699 r+sr=roc
2003-11-11 19:24:01 +00:00
dbaron%dbaron.org
41009e2202
Comment was backwards (thanks bz). b=191699
2003-11-10 23:55:53 +00:00