Commit Graph

4441 Commits

Author SHA1 Message Date
cvshook%sicking.cc
d3ec0aa5c5 Bug 335911: Change nsIContent::IsContentOfType to nsINode::IsNodeOfType. r/sr=bz 2006-05-05 06:52:21 +00:00
roc+%cs.cmu.edu
24a69fc8fa Bug 330905. nsPageContentFrame::BuildDisplayList needs to call its superclass to get fixed-pos elements to display. r+sr=dbaron 2006-05-03 21:44:41 +00:00
roc+%cs.cmu.edu
dd79ad6903 Bug 336186. Fix use of uninitialized rv. patch by Marc Liddell, r+sr=roc 2006-05-03 21:39:55 +00:00
aaronleventhal%moonset.net
e4210b85b2 Bug 336162. Don't fire DOM events from layout. r+sr=bz 2006-05-03 17:02:37 +00:00
uriber%gmail.com
9bfd13e9f1 When sliding frames to the left to account for trimmed trailing whitespace, update the frame rectangle itself if necessary. bug=333560 r+sr=roc 2006-05-03 10:28:58 +00:00
bzbarsky%mit.edu
b1ee2830dd Make nsIDocumentEncoder::init scriptable. Bug 330517, patch by jpl24
<jlurz24@gmail.com>, r=bzbarsky, sr=sicking
2006-05-01 05:25:52 +00:00
masayuki%d-toybox.com
4a98e11533 Bug 335474 Crash in [@ nsCSSRendering::DrawDashedSides] r+sr=roc 2006-04-28 23:21:01 +00:00
mrbkap%gmail.com
695809a291 Update the caret position after reflows to avoid turds. bug 334649, r+sr=roc 2006-04-28 04:33:41 +00:00
bzbarsky%mit.edu
0c3706888c Rename GetNodePrincipal to NodePrincipal. Bug 327246, r+sr=sicking 2006-04-27 18:21:11 +00:00
aaronleventhal%moonset.net
fc7797defd Bug 326090. Expose <hr> as ROLE_SEPARATOR. Patch by Ming (Mike) Gao. r=aaronlev, sr=roc 2006-04-27 16:23:09 +00:00
aaronleventhal%moonset.net
6077887e84 Bug 310921. AccessibleObjectFromPoint wrong when a span ends the previous line within the same block. In fact the next text object after that wasn't even exposed. r=ginn.chen, sr=roc 2006-04-27 15:47:22 +00:00
roc+%cs.cmu.edu
d9cf8d8bf8 Bug 335140. Set 'force descend into' bit on frames and then leave it set until we're done with the display list ... then we can be sure of descending to frames whose container is not an ancestor of the placeholder. r=mrbkap 2006-04-27 02:45:03 +00:00
bzbarsky%mit.edu
e86bd26130 Make sure to never read off the end of the buffer in HasTerminalNewline(). Bug
335320, r+sr=roc
2006-04-26 15:54:48 +00:00
roc+%cs.cmu.edu
08058623c1 Fixing Windows bustage 2006-04-26 02:45:18 +00:00
roc+%cs.cmu.edu
aac1b0d44f Bug 330305. Rename nsSelection to nsFrameSelection, and deCOMtaminate it, removing nsIFrameSelection. patch by Marc Liddell, r+sr=roc 2006-04-26 02:01:07 +00:00
bzbarsky%mit.edu
2c105676af Give HTMLButtonControlFrames their own frame type. Bug 335419, r+sr=dbaron 2006-04-25 19:56:45 +00:00
mrbkap%gmail.com
62fd40b6c4 Don't cache the result of GetPointFromOffset if it failed, since subsequent queries for that offset will return the bogus offset. bug 334608, r+sr=roc 2006-04-24 21:18:44 +00:00
leon.sha%sun.com
0960e6fd1d Bug 333896
Convert GetAttr calls to AttrValueIs and FindAttrValueIn.
Patch by alfred.peng@sun.com.
roc: review+
roc: superreview+
2006-04-24 05:40:11 +00:00
uriber%gmail.com
3102525091 Attempt to fix Tp regression from bug 333769. r+sr=roc 2006-04-22 21:02:34 +00:00
uriber%gmail.com
fd64432329 When measuring text, make sure nsTextTransformer::GetNextWord looks only at the part of the text content covered by the current frame. bug=333769 r+sr=roc 2006-04-22 13:29:50 +00:00
bzbarsky%mit.edu
5c3e8ea185 Trim whitespace that comes right before a <br> when trimming whitespace. Bug
132561 relanding, r+sr=dbaron
2006-04-21 01:31:35 +00:00
dbaron%dbaron.org
3c1506cc0a Missed review comment. b=302536 2006-04-20 21:04:18 +00:00
dbaron%dbaron.org
86f8ddd894 Fix crash relating to uninitialized floats in cursor structure, and make imagemap images use the cursor style of the areas when in them (instead of the cursor style from the image) and the cursor style of the image when not in the areas (instead of a hardcoded default). b=302536 r=biesi sr=bzbarsky 2006-04-20 21:02:10 +00:00
bzbarsky%mit.edu
6a55aec75e Treat terminal newlines in preformatted text like we treat <br> when inserting
frames into a block.  Bug 310087, r+sr=roc
2006-04-20 19:00:33 +00:00
dbaron%dbaron.org
1f51a315d0 Let the caret go outside of text frames (particularly when whitespace is trimmed). b=235223 r=mrbkap sr=bzbarsky 2006-04-20 07:58:22 +00:00
jwatt%jwatt.org
82e9d59379 Fixing bug 333733. Could leak attr in nsFrameUtil::Tag::ReadAttrs. r+sr=dbaron@mozilla.com 2006-04-20 00:13:34 +00:00
uriber%gmail.com
a11f0e552b Set the hint to HINTRIGHT when setting selection programatically. bug=334256 r+sr=roc 2006-04-19 20:21:25 +00:00
vladimir%pobox.com
5d02ec5b40 b=333177, update canvas internal interfaces, optimize canvas, and fix some implementation bugs; r=stuart 2006-04-18 21:23:15 +00:00
mrbkap%gmail.com
e27b36efcc Draw the caret in the normal path of frame painting instead of doing it directly to the current view. bug 287813, r+sr=roc 2006-04-17 23:16:46 +00:00
gavin%gavinsharp.com
e93572b185 Bug 317269: fix comment, r+sr=roc 2006-04-17 22:06:25 +00:00
martijn.martijn%gmail.com
a665b1c4b7 Backing out the patch for bug 333136, since it causes regressions 2006-04-17 20:56:25 +00:00
dbaron%dbaron.org
7d9906de5d Back out checkins for bug 333829, for now at least. 2006-04-17 03:19:22 +00:00
bzbarsky%mit.edu
44d201a532 Don't mess with empty float cache lists. Bug 334105, r+sr+branch181=dbaron 2006-04-17 01:47:11 +00:00
dbaron%dbaron.org
3292500649 Clamp curpos to between its min and max to fix resizing regression. b=333829 Patch from Hideo Saito <saito@densan.co.jp>. r+sr=dbaron 2006-04-16 20:05:30 +00:00
dbaron%dbaron.org
6d9da6b006 Set curpos after maxpos to fix restoration of horizontal scrollbar in RTL scrolled all the way to the left. b=333829 Patch from Hideo Saito <saito@densan.co.jp>. r+sr=dbaron 2006-04-16 06:34:45 +00:00
sharparrow1%yahoo.com
f7dd72b604 Bug 328395: deal with an nsTypedSelection existing after its presentation is destroyed so it doesn't crash. r=bzbarsky, sr=roc 2006-04-14 00:28:22 +00:00
martijn.martijn%gmail.com
96774ce7bc Bug 333136 - scrollSelectionIntoView should try to scroll the complete selection into view, r+sr=roc 2006-04-13 15:40:52 +00:00
sharparrow1%yahoo.com
ace92acc3f Bug 333590: fix input field scrolling. r+sr=dbaron 2006-04-12 01:55:25 +00:00
bzbarsky%mit.edu
9a725b0dff Make line boxes have the right width when justifying. Bug 309761, r+sr=roc 2006-04-12 01:07:01 +00:00
sharparrow1%yahoo.com
43495f2460 Bug 332927: missed a file 2006-04-11 02:20:24 +00:00
sharparrow1%yahoo.com
3b62c93943 Bug 332927: Cleanup iframe/frame printing code (and a couple other misc. cleanups) 2006-04-11 01:48:48 +00:00
uriber%gmail.com
79453fd0ba Bug 314519: Caret skips blank lines using right-arrow key in some cases of preformatted text. r+sr=roc 2006-04-10 06:49:50 +00:00
roc+%cs.cmu.edu
a7f03736a9 Bug 328926. Remove aPresContext parameter from nsIFrame::Destroy, nsIFrame::SetInitialChildList and nsIFrame::RemovedAsPrimaryFrame. patch by Marc Liddell, r+sr=roc 2006-04-10 00:16:29 +00:00
roc+%cs.cmu.edu
6428e72efd Bug 282173. Remove BuildFloatList. r+sr=dbaron 2006-04-09 22:56:27 +00:00
uriber%gmail.com
22b463bc6d Implemented bidi.edit.caret_movement_style pref, default is "visual, but logical during selection". bug=330175 r=smontagu sr=roc 2006-04-08 14:45:48 +00:00
dbaron%dbaron.org
9e499dc761 Fix state restoration for RTL cases. b=331607 Patch from Hideo Saito <saito@densan.co.jp>. r+sr=dbaron 2006-04-07 19:51:46 +00:00
uriber%gmail.com
be0af2692d Make wordSelectEatSpaceAfter take effect when moving forward relative to the paragraph direction, regardless of the text frame direction. bug=299535 r+sr=roc 2006-04-06 08:21:12 +00:00
dbaron%dbaron.org
04b8c33eda Remove uses of MOZ_DECL_CTOR_COUNTER, which is always defined to nothing. b=332745 rs=roc,bzbarsky 2006-04-05 00:00:44 +00:00
bzbarsky%mit.edu
8a650e0704 Make sure to not rely on how scrollframes handle frame offsets (esp. since it's
changed) when positioning fixed-pos frames.  Bug 331729, r+sr=roc
2006-04-04 22:36:01 +00:00
pavlov%pavlov.net
59b4759574 add type info to thebes. bug 332743. r=vlad 2006-04-04 21:54:22 +00:00
uriber%gmail.com
a7e3df36fd Bug 299240: BiDi: Caret gets stuck (or moves cyclically) when using Ctrl+arrow and reaching a reverse-direction character/word followed by punctuation. r=smontagu sr=roc 2006-04-03 08:05:46 +00:00
sharparrow1%yahoo.com
dc0d45c95e Bug 244055: Page layout for editor. There is no UI yet, and caret display is buggy at the moment, but otherwise it works. Patch by Alexandre Tr�mon, r+sr=roc. 2006-04-01 01:19:28 +00:00
darin%meer.net
20837f71e1 fixes bug 328925 "Replace NS_WARN_IF_FALSE with NS_ASSERTION (where appropriate)" r=dbaron 2006-03-30 18:40:56 +00:00
dbaron%dbaron.org
f48c0f2904 Reorder FinishAndStoreOverflow and SyncFrameViewAfterReflow so it does what I intended. b=331458 r+sr=roc 2006-03-30 04:26:36 +00:00
sharparrow1%yahoo.com
1e650e3784 Bug 331415: some printing code cleanup. r+sr=roc. 2006-03-30 00:27:42 +00:00
dbaron%dbaron.org
0e88f73bc6 Single line comments to describe files (helpful in LXR) 2006-03-29 18:29:03 +00:00
uriber%gmail.com
a93a7ba7f6 For left/right arrows, don't flip the hint in PeekOffset(); instead figure it afterwards in MoveCaret(). bug=331444 r=smontagu sr=roc 2006-03-28 18:33:37 +00:00
rbs%maths.uq.edu.au
a87237ad06 Re-checkin as it showed no impact on luna's TDHML bug 331661. Introduce a soft-break flag that means that a whitespace has been trimmed at the end of the line, and therefore its width has not been accounted for (this width can actually be large, e.g., if a large word-spacing is set). LineLayout should not be misled into placing something where the whitespace was trimmed. b=329987, r+sr=bz 2006-03-27 07:04:29 +00:00
rbs%maths.uq.edu.au
a9f97d0fd5 Backing out to investigate the DHTML jump on luna, bug 331661 2006-03-27 05:21:44 +00:00
dbaron%dbaron.org
a3b8c9f9c5 Fix two regressions related to sizing of canvas frames. b=331458 r+sr=roc 2006-03-26 22:12:54 +00:00
roc+%cs.cmu.edu
0a10a79f62 Bug 330934. Set a nsIFrame's stylecontext in its constructor, to ensure that there's always one available for GetPresContext() to use even if Init hasn't been called. Patch by Marc Liddell, r+sr=roc 2006-03-26 21:30:36 +00:00
roc+%cs.cmu.edu
66f160897b Bug 328946. Mark reflowed block as non-dirty earlier, so we don't get a spurious assertion. r+sr=dbaron 2006-03-26 21:02:19 +00:00
dbaron%dbaron.org
80962467f4 Always use the UI direction for the scrollbar side, which is what we used to do in the most common case, but make it a pref. b=330863 r=smontagu sr=roc 2006-03-26 00:48:03 +00:00
Olli.Pettay%helsinki.fi
ee372ff167 Bug 330710, Replace obsolete preventBubble/preventCapture with stopPropagation, r=neil, r=mconnor, sr=jst 2006-03-25 22:03:49 +00:00
rbs%maths.uq.edu.au
b622717f33 Introduce a soft-break flag that means that a whitespace has been trimmed at the end of the line, and therefore its width has not been accounted for (this width can actually be large, e.g., if a large word-spacing is set). LineLayout should not be misled into placing something where the whitespace was trimmed. b=329987, r+sr=bz 2006-03-24 22:45:05 +00:00
cvshook%sicking.cc
4845457d08 Bug 329974: Share textdata for common textnode values. r/sr=jst 2006-03-24 03:29:52 +00:00
uriber%gmail.com
2ca4a24853 Bug 331440: Remove eSelectDir from nsSelectionAmount enum, and all references to it. r+sr=roc 2006-03-23 18:36:44 +00:00
uriber%gmail.com
4faccc8fe3 Simplified bidi code in GetFrameFromDirection; changed bidi semantics of eDirPrevious, eDirNext. bug=330815 r=smontagu sr=roc 2006-03-23 08:30:30 +00:00
uriber%gmail.com
ba0d30b880 In nsTextEditRules::CheckBidiLevelForDeletion(), use nsSelection::GetPrevNextBidiLevels to determine bidi levels. bug=330460 r=smontagu sr=roc 2006-03-23 08:20:29 +00:00
dbaron%dbaron.org
b750924680 It is no longer correct to assume 0 as a default value for curpos, due to translations of curpos when scrolling left of the viewport. b=331049 r+sr=roc 2006-03-23 03:45:41 +00:00
dbaron%dbaron.org
3f66d4d2e5 Fix clamping of scrollable area in light of ability to scroll to the left. b=330732 r+sr=roc 2006-03-23 00:13:07 +00:00
dbaron%dbaron.org
cddde62e12 Add comment about importance of view sizing. b=330732 r+sr=roc 2006-03-23 00:11:43 +00:00
bryner%brianryner.com
7a96206e10 Clean up header includes (bug 331050). This round of changes deals with some of the public content headers, and factors nsDOMClassInfoID out of nsIDOMClassInfo.h so that nsContentUtils.h doesn't have to bring in XPConnect. r+sr=jst. 2006-03-22 18:36:36 +00:00
dbaron%dbaron.org
54fbff212f Avoid potential problems initializing attributes to -1. b=192767 r+sr=roc 2006-03-22 07:10:31 +00:00
uriber%gmail.com
a52c79e7ad Bug 330881: Crash when double-clicking in empty area inside isindex with position:absolute;direction:rtl;. r+sr=roc 2006-03-20 09:20:49 +00:00
vladimir%pobox.com
10491893d5 Re-landing fixed cairo update, r=pav 2006-03-17 22:24:30 +00:00
vladimir%pobox.com
a3e8a2106f People tell me that quadrupling Tp is bad. Me? I want a second opinion. 2006-03-17 07:44:38 +00:00
vladimir%pobox.com
702e1a67ff b=330738, update in-tree cairo to current cairo head 2006-03-17 04:05:32 +00:00
pavlov%pavlov.net
336a97d6bb forgot to remove Save/Restore before checking in. bug 328390. r=vlad sr=roc 2006-03-16 22:46:10 +00:00
pavlov%pavlov.net
5f68395a20 draw image selection using thebes in cairo builds instead of tiling an image. bug 328390. r=vlad sr=roc 2006-03-16 21:42:50 +00:00
bzbarsky%mit.edu
4b74ae14f8 Fix crash bug 322348 by making ReParentStyleContext more sane. r+sr=dbaron 2006-03-16 01:30:38 +00:00
uriber%gmail.com
7d6d83cbd0 Mark lines for which bidi continuations were created or removed dirty, instead of marking everything dirty when continuations removed. bug=330373 r=roc sr=bzbarsky 2006-03-15 20:52:02 +00:00
uriber%gmail.com
d5df8654d1 Bug 318116: Overflowing inlines in fixed-width RTL blocks overflow to the right instead of to the left. r=dbaron sr=roc 2006-03-15 17:10:35 +00:00
dbaron%dbaron.org
c5e544ffdb Fix handling of auto margins on blocks and tables wider than their container. b=96394 r+sr=roc 2006-03-15 17:00:57 +00:00
dbaron%dbaron.org
c37d9a2cf3 Change our scrolling code so that it is capable of scrolling above and to the left of the viewport, and then use that capability for nsHTMLScrollFrames with RTL directionality. This removes the invariant that the child of a scrollframe (::scrolled-canvas canvas or ::scrolled-content block) will be stretched to fill the entire scrollable area and stops enforcing it, a change that's likely to cause some regressions not yet fixed within the patch. This also fixes directionality detection for the scrollframe holding the canvas (changing which side the scrollbar appears on) and fixes an old bug in the code that paints the focus ring around the canvas (so it's now again visible on all sides, even when the canvas is scrollable). b=192767 r+sr=roc 2006-03-15 16:55:19 +00:00
pavlov%pavlov.net
131e8794e2 backing out roc's patch for bug 328926 due to crash running tests on vc8 machines. 2006-03-15 06:43:36 +00:00
roc+%cs.cmu.edu
557b089a47 Bug 328926. Remove aPresContext parameter from Destroy and SetInitialChildList. patch by Marc Liddell, r+sr=roc 2006-03-15 03:14:02 +00:00
roc+%cs.cmu.edu
6fd863f2dd Bug 330300. Move mFrame from nsDisplayItem subclasses up to nsDisplayItem itself, and make GetUnderlyingFrame an inline non-virtual function. Patch by Alfred Peng, r+sr=roc 2006-03-14 20:43:18 +00:00
uriber%gmail.com
90f8e80156 Bug 309286: Caret moves incorrectly in some cases of bidi HTML contained within an inline element in LTR context. r=smontagu sr=roc 2006-03-14 09:16:40 +00:00
masayuki%d-toybox.com
3f6364fd4e Bug 330268 RTL characters typed into a textarea after a long unbreakable string don't appear on screen until scrolled r+sr=rbs 2006-03-14 06:10:43 +00:00
sharparrow1%yahoo.com
96bf85b6ac Bug 329031 - home/end/ctrl+home/ctrl+end offset calculation cleanup. r=uriber, sr=roc. 2006-03-13 01:13:25 +00:00
uriber%gmail.com
46c5e43bfe Added missing parenthese from patch to bug 303884. bug=330284 r+sr=roc 2006-03-13 00:00:58 +00:00
uriber%gmail.com
1003ca6dd4 Do away with geometry in nsFrameList::GetPrev[Next]VisualFor() and nsLineIterator::CheckLineOrder(). Instead use new helper methods in nsBidiPresUtils for determining visual order of the top level of frames in a line. bug=303884 r=smontagu sr=roc 2006-03-12 09:49:48 +00:00
dbaron%dbaron.org
8561af7f31 Wrong branch. 2006-03-09 19:03:25 +00:00
dbaron%dbaron.org
bbf8e077c6 NS_REFLOW_CALC_MAX_WIDTH should go (and maybe all of flags?) 2006-03-09 19:02:54 +00:00
roc+%cs.cmu.edu
c2801ebbd7 Bug 328926. Remove aPresContext from nsIFrame::Init and nsIFrame::DidSetStyleContext. r+sr=roc, patch by Marc Liddell 2006-03-09 18:55:21 +00:00
roc+%cs.cmu.edu
64c6e67319 Bug 328881. Set the frame offset of scrolled frames correctly. This shouldn't affect anything immediately --- the offset is not used currently --- but it helps prepare for view removal and I'd like to catch regressions now. r+sr=dbaron 2006-03-09 18:46:14 +00:00
masayuki%d-toybox.com
2dfb698e3d Bug 164700 css word-spacing applies at &nbsp; at paint time but not at layout (reflow) time r+sr=rbs 2006-03-08 03:30:57 +00:00
Olli.Pettay%helsinki.fi
f79ea0115b Bug 234455, Centralize event dispatch r=jst, sr=bz 2006-03-07 17:08:51 +00:00
bryner%brianryner.com
210588e5e5 Make sure documents have a container before deciding that they should be translucent (bug 327014). r+sr=roc. 2006-03-07 05:34:37 +00:00
cbiesinger%web.de
b768303bda bug 329140
- check for pango rather than gtk2 for non-gtk2 specific code
- add pango/cairo cflags where necessary
- don't include gtk headers when not needed
r=vlad
2006-03-04 14:23:39 +00:00
bzbarsky%mit.edu
24944d8a8c Revert nsIGlobalHistory2 to what it was on the 1.8 branch. Move the new stuff
to nsIGlobalHistory3.  Bug 328928, r=brettw and smfr, sr=darin
2006-03-03 03:34:48 +00:00
bzbarsky%mit.edu
e5bfa977ef Remove some no longer needed code. Bug 326017, r+sr=jst 2006-03-03 02:52:05 +00:00
uriber%gmail.com
adac4c20d3 Bug 328876: Avoid compiler warning in nsFrame::GetSelectionClosestFrame(). r+sr=roc 2006-03-01 21:18:30 +00:00
uriber%gmail.com
44756b041a Bug 328655: Pressing "Home" or "End" on a blank line in a textarea in a bidi page moves the caret to the top of the textarea. r=smontagu sr=roc 2006-03-01 19:34:00 +00:00
uriber%gmail.com
92fe5cb863 Bug 326932: Triple-click paragraph selection doesn't work correctly in paragraphs containing form controls. r+sr=roc 2006-03-01 19:28:42 +00:00
sharparrow1%yahoo.com
67ecf34af4 Bustage fix; oops 2006-02-27 06:14:25 +00:00
sharparrow1%yahoo.com
35f936ecec Bug 320326: deCOMtaminate GetContentAndOffsetsFromPoint, plus some slight behavior changes. r+sr=roc. 2006-02-27 05:57:37 +00:00
roc+%cs.cmu.edu
f132edee94 Bug 256311. Improve block reflow performance in the presence of many empty lines, by being more aggressive about caching block and line emptiness state, and by stashing a reference to a line that we know has nothing but empty lines above it. Relanding because I accidentally backed it out. r+sr=dbaron 2006-02-27 04:15:05 +00:00
roc+%cs.cmu.edu
1fac9c6d76 Backing out changes for bug 326944, really this time\! 2006-02-27 04:13:51 +00:00
roc+%cs.cmu.edu
bde356f1f5 Backing out changes for bug 326944. 2006-02-27 03:22:03 +00:00
roc+%cs.cmu.edu
e344f390f8 Bug 256311. Improve block reflow performance in the presence of many empty lines, by being more aggressive about caching block and line emptiness state, and by stashing a reference to a line that we know has nothing but empty lines above it. r+sr=dbaron 2006-02-27 02:51:57 +00:00
roc+%cs.cmu.edu
b7126ee8e0 Bug 326944. Remove nsIComboboxControlFrame. r+sr=roc, patch by Marc Liddell 2006-02-27 02:33:26 +00:00
dbaron%dbaron.org
dcc10543a7 Remove unused mCompactMarginWidth member. b=328551 r+sr=roc 2006-02-26 10:35:44 +00:00
martijn.martijn%gmail.com
f51b81425f Bug 325507 - Replace nsISupportsArray with nsCOMArray in nsPluginInstanceOwner::EnsureCachedAttrParamArrays. r+sr=bzbarsky 2006-02-24 14:43:39 +00:00
pavlov%pavlov.net
7f1afefee2 fixing windows plugin clipping bugs. bug 328263. r=vlad 2006-02-23 20:55:42 +00:00
timeless%mozdev.org
426f83aecc Bug 298277 remove useless references to nsVoidArray
r=dbaron sr=dbaron
2006-02-23 10:30:59 +00:00
bzbarsky%mit.edu
1a344388ca Make it possible to target non-primary content <browser>s; specifically ones
that are type="content-targetable".  Bug 326009, r=bsmedberg, sr=jst
2006-02-22 03:58:48 +00:00
uriber%gmail.com
c7032d59bb Bug 299065: Bidi resolution needs to split inlines in addition to text frames. r+sr=dbaron 2006-02-21 21:33:47 +00:00
roc+%cs.cmu.edu
8da62e8e0d Bug 327670. Fix memory leak from bug 317375. r+sr=dbaron 2006-02-21 21:06:17 +00:00
sharparrow1%yahoo.com
eb67fd0b3d Bug 327868: nsIFrameSelection cleanup. r+sr=roc 2006-02-21 00:49:04 +00:00
smontagu%smontagu.org
7d305f0f17 Point Arabic lam alef pairs to lam-alef ligatures. Bug 308020, r+sr=roc 2006-02-12 09:43:18 +00:00
sharparrow1%yahoo.com
ac6fed3850 Bug 321433 - Don't enable selection for printing. r+sr=roc. 2006-02-07 02:52:40 +00:00
sharparrow1%yahoo.com
8debca1822 Bug 326157: Get rid of unnecessary clipping code. r+sr=roc. 2006-02-07 02:22:06 +00:00
rbs%maths.uq.edu.au
c505e89f88 CSS Letter-Spacing Heap Overflow, b=325403, r+sr=bz 2006-02-07 01:58:35 +00:00
roc+%cs.cmu.edu
4930422ce0 Bug 325093. Fix clip rect interpretation so print/print preview page clipping works. r+sr=dbaron 2006-02-06 21:08:34 +00:00
roc+%cs.cmu.edu
3325e08a88 Bug 78087. Propagate the canvas background to be the background of the entire viewport so it z-orders correctly in the viewport's stacking context. r+sr=dbaron 2006-02-05 20:55:47 +00:00
roc+%cs.cmu.edu
9acb9492ec Bug 78087. Propagate the canvas background to be the background of the entire viewport so it z-orders correctly in the viewport's stacking context. r+sr=dbaron 2006-02-05 20:52:13 +00:00
sharparrow1%yahoo.com
fd42b81b2d Bug 253076 make clicks on canvas go into standard frame selection code. r=bzbarsky,sr=roc 2006-02-04 00:23:49 +00:00
bzbarsky%mit.edu
c9662bfe8c Fix bug 303039 -- make sure to get the right max-width even if we have no
lines.  r+sr=roc
2006-02-03 18:50:41 +00:00
cbiesinger%web.de
c2d981f764 bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
r+sr=darin
2006-02-03 14:18:39 +00:00
sharparrow1%yahoo.com
e9f2e44e52 Bug 324915 -- fix crash printing iframes by adding null check. r+sr=roc. 2006-02-03 04:51:48 +00:00
bzbarsky%mit.edu
263cf7dc11 Push up GetPrincipal to nsINode (as GetNodePrincipal). This way all nsINodes
(content, documents, attr nodes) can return their principal as needed.
Eliminate lazy allocation of principals in nsDocument.  Bug 324600, r=sicking, sr=jst
2006-02-02 20:02:34 +00:00
cbiesinger%web.de
169078fb2f bug 322414
- clean up nsObjectFrame and remove unnecessary includes
- make the instanceowner hold an owning reference to the content node
- use GetOwnerDoc rather than GetCurrentDoc
r+sr=bz
2006-02-02 19:29:10 +00:00
bzbarsky%mit.edu
f96a096c2c Fix leak bug 324969 -- make sure to call virtual destructors. 2006-01-29 18:48:58 +00:00
bzbarsky%mit.edu
f5b0e7ca81 Make hiding a frame with display:none really hide the docshell all the way.
Bug 308182, r=biesi, sr=jst
2006-01-27 01:04:48 +00:00
roc+%cs.cmu.edu
fa09c4074a Bug 324852. Clean up missing uses of NS_DISPLAY_DECL_NAME for a tiny space saving with frame display lists 2006-01-26 22:58:22 +00:00
roc+%cs.cmu.edu
56a4c9f4c4 Bug 324836. Listboxes must be treated as pseudostackingcontexts. r+sr=dbaron 2006-01-26 21:03:49 +00:00
bzbarsky%mit.edu
c91507ade8 Fixing more build bustage and warnings. Bug 317375 2006-01-26 05:14:30 +00:00
roc+%cs.cmu.edu
77bca74243 Bug 317375. Reorganize frame painting and mouse event targeting around frame display lists. Some review from dbaron, lots of testing help from Martijn, Julien and others 2006-01-26 02:29:17 +00:00
cvshook%sicking.cc
be551afd02 Bug 310436: Implement IsFrameOfType and use that to disable non-svg frames from being children of svg frames. r=bz sr=dbaron 2006-01-25 21:16:12 +00:00
roc+%cs.cmu.edu
c91034f873 Bug 323946. nsFieldSetFrame doesn't need to support having a space manager. r+sr=dbaron 2006-01-22 23:20:56 +00:00
mats.palmgren%bredband.net
defc4f06cd Look for the next-in-flow in the overflow-list when the next normal line did not contain it. b=310638 r+sr=roc 2006-01-21 10:33:48 +00:00
roc+%cs.cmu.edu
4726d6a05a Bug 323291. Repaint reflowed absolute frames that changed size without changing their view size. r+sr=bzbarsky 2006-01-16 03:28:20 +00:00
cvshook%sicking.cc
7db01c8d27 Bug 321294: Remove unused ReplaceFrame codepaths.
r/sr=roc
2006-01-10 22:58:37 +00:00
uriber%gmail.com
b240a28f70 Bug 310589: Clicking off of the lower-right edge of a zoomed image can cause a crash [@FindBlockFrameOrBR()] [@ nsIFrame::GetExtremeCaretPosition()]. r+sr=roc 2006-01-08 21:44:44 +00:00
cbiesinger%web.de
e51d40d2cb bug 322052 remove now-unused mFullURL r+sr=bz 2006-01-02 18:57:14 +00:00
cbiesinger%web.de
fa923e662d Bug 322052 Fix document handling in nsObjectFrame.cpp
r+sr=bz
2006-01-02 15:54:24 +00:00
darin%meer.net
eb3847a802 fixes bug 318193 "Input streams are not implemented consistently" r=biesi sr=bz 2006-01-02 02:30:32 +00:00
cbiesinger%web.de
8caa277c24 Bug 316455 Remove nsIPluginInstanceOwner::PluginNotAvailable, which is pointless
now that plugin loading has been rewritten in bug 1156 / bug 309521
r+sr=bz
2006-01-01 11:28:35 +00:00
dbaron%dbaron.org
86fc2334c3 Make nsObjectFrame not be a container anymore. b=309532 r=biesi sr=bzbarsky 2005-12-31 00:25:36 +00:00
cbiesinger%web.de
1d04cb0110 Bug 309521
- add pseudo-classes for :-moz-type-unsupported and :-moz-has-handlerref (and a
  content state for the former)
  - make nsObjectLoadingContent return the right content state
- Add an XBL binding that gets instantiated for broken plugins
  - Make it themable
- Remove a lot of now-unused code in nsObjectFrame
- Fixes pluginfinder.
r+sr=bz, r=mconnor
2005-12-29 14:15:33 +00:00
cvshook%sicking.cc
7eb5bddea3 Fix build bustage 2005-12-28 22:11:27 +00:00
cvshook%sicking.cc
79b8f5fc24 Bug 284950: DeCOMTaminate nsIContent::GetAttrNameAt
r/sr=bz
2005-12-28 21:52:39 +00:00
uriber%gmail.com
86ce7a1abf Bug 321487: Crash when moving caret backwards over text frame consisting of a single CR [nsTextFrame::PeekOffset]. r=rbs sr=bzbarsky 2005-12-27 15:15:40 +00:00
cbiesinger%web.de
72ac26b6ce Bug 321504 Remove unneeded uses of nsIDocumentLoader
r+sr=bz
2005-12-26 16:45:59 +00:00
timeless%mozdev.org
079a6325e0 Bug 321393 Clicking on page in print preview causes crash [@ GetOffsetsOfFrame]
patch by sharparrow1@yahoo.com r=roc sr=roc
2005-12-25 19:01:45 +00:00
uriber%gmail.com
7305c9fde0 Bug 319705: Crash when deleting comment line selected with triple click [@nsFontMetricsWin::ResolveForwards]. r+sr=bzbarsky 2005-12-25 14:27:14 +00:00
dbaron%dbaron.org
20d8a2354e Use a more accurate test for first reflow (and one that won't go away soon). b=307979 r+sr=roc 2005-12-21 03:32:25 +00:00
dbaron%dbaron.org
7c971fe2e1 Use IsContainingBlock rather than testing for block frame when looking for the placeholder's containing block for auto offsets; for non-blocks, just use the placeholder Y coordinate for auto-top. b=253479 r+sr=roc 2005-12-21 03:30:28 +00:00
dbaron%dbaron.org
05796cb2e6 Fix insertion at end of textarea creating an extra pseudo-linebreak. b=319664 Patch by Eli Friedman <sharparrow1@yahoo.com>. r+sr=roc 2005-12-20 09:13:47 +00:00
roc+%cs.cmu.edu
fae8610bd8 Bug 318425. Make sure the scrolled frame's view is set to include the overflow area of its frame. r+sr=dbaron 2005-12-19 01:07:41 +00:00
dbaron%dbaron.org
a08eef7737 Back out part of previous patch since it's a static/dynamic inconsistency. 2005-12-17 19:11:40 +00:00
dbaron%dbaron.org
22d6401242 Skip anonymous table objects (and our extra cell content box) when finding parents for style contexts of their descendants during style reresolution. b=289517 Patch from Boris Zbarsky <bzbarsky@mit.edu>. r+sr=dbaron 2005-12-17 18:58:47 +00:00
dbaron%dbaron.org
8c711f30bc Don't store or use a widget in the delayed caret data; it's not important, and it might have been destroyed. b=307989 r+sr=roc 2005-12-16 04:58:33 +00:00
dbaron%dbaron.org
b4ed6cb2f1 Null out line layout when crossing from box to non-box so we don't reuse an incorrect linelayout object. b=307992 r+sr=roc 2005-12-15 23:08:07 +00:00
roc+%cs.cmu.edu
d63261dc31 Bug 319675. Don't cross line boundaries looking for double-click targets. patch by Eli Friedman, r=sr=roc 2005-12-15 03:32:09 +00:00
uriber%gmail.com
c44387598b Bug 312550: Incorrect wrapping in RTL textarea with horizontal scrollbar. r=smontagu, sr=roc 2005-12-14 14:33:17 +00:00
bsmedberg%covad.net
a1f185429a Fix merge bustage for bug 313309 2005-12-12 21:23:47 +00:00
bsmedberg%covad.net
6f245329e8 Conflict merge, bug 313309 (macro not used yet unless you have the final patches applied) 2005-12-12 14:14:03 +00:00
bzbarsky%mit.edu
d3d8f2c12f Remove unsed code. Bug 307111, r+sr=roc 2005-12-11 20:40:07 +00:00
mark%moxienet.com
0e1d9f3154 Bug 319558, crash [@ GetSelectionClosestFrameForChild] due to typo in bug 316281. Remove unwanted semicolon. Patch by Adam Guthrie <ispiked@gmail.com>. r=me 2005-12-08 18:09:17 +00:00
roc+%cs.cmu.edu
a710fcd15d Bug 316281. Rework GetContentAndOffsetsFromPoint. r=uriber,sr=roc,patch by Eli Friedman 2005-12-07 23:08:39 +00:00
bzbarsky%mit.edu
a24855a1e8 Fix crash bug 316012, r=biesi, sr=jst 2005-12-07 00:52:39 +00:00
bzbarsky%mit.edu
8fa76d37ac Don't store the "normal" frame state for the root scrollframe, for now. Bug
318709, r+sr=roc
2005-12-06 23:56:17 +00:00
bzbarsky%mit.edu
8f50bb6156 Prevent infinite recursion for cases when InstantiatePlugin returns a success
code without creating a plugin instance.  Bug 319332, r=biesi, sr=roc
2005-12-06 23:52:49 +00:00
bzbarsky%mit.edu
723a3efc77 Windowless plugins should get SetWindow() called on them the same time normal
plugins do -- at reflow end, not just paint time.  Bug 266933, r+sr=roc
2005-12-06 04:50:26 +00:00
roc+%cs.cmu.edu
2aae47d965 Bug 319115. Move nsTextFrame interfaces around so nsTextFrame.h can go away. Preparation for forking nsTextFrame. patch by Stephen Blackheath, r+sr=roc 2005-12-06 00:39:08 +00:00
roc+%cs.cmu.edu
a20b3fc911 Bug 319115. Move nsTextFrame interfaces around so nsTextFrame.h can go away. Preparation for forking nsTextFrame. patch by Stephen Blackheath, r+sr=roc 2005-12-06 00:32:52 +00:00
bmlk%gmx.de
4bb63a9880 don't allocate nsDirectionalFrame on heap, bug 315321 patch by Marc Liddell r=roc sr=dbaron 2005-12-03 15:44:43 +00:00
bzbarsky%mit.edu
bf70da4532 Remove content ids. Bug 166637, r=sicking, sr=peterv 2005-11-29 16:47:18 +00:00
jst%mozilla.jstenback.com
8f1863159b Fixing bug 316794. Moving HandleDOMEvent() and Get/SetDocShell from nsIScriptGlobalObject to nsPIDOMWindow. r=mrbkap@gmail.com, sr=peterv@propagandism.org 2005-11-28 23:56:44 +00:00
masayuki%d-toybox.com
ffac17f9c5 Bug 113161 Color/background-color of preedit string is always default(we should not use invert) / Bug 170951 IME should use OS system color for selection instead of inverting r+sr=roc 2005-11-20 23:43:48 +00:00
timeless%mozdev.org
1c34e68034 Bug 106386 Correct misspellings in source code
patch by mats.palmgren@bredband.net r=dbaron sr=dbaron
2005-11-20 22:05:24 +00:00
smontagu%smontagu.org
75f5688bba Bug 313602: Bidi: Caret appears incorrectly when using up/down arrows to move into a blank line surrounded by reverse-direction text. Patch by Uri Bernstein <uriber@gmail.com, r=smontagu, sr=roc 2005-11-16 09:40:52 +00:00
smontagu%smontagu.org
d999b33cff Bug 305798: Bidi: After deleting last character of reverse-direction text, arrow keys move caret incorrectly. Patch by Uri Bernstein <uriber@gmail.com, r=smontagu, sr=roc 2005-11-16 09:37:01 +00:00
dbaron%dbaron.org
3c95294952 Make PL_InitEvent callers stop doing potentially dangerous casting of function pointers. b=305278 r=dougt sr=darin 2005-11-14 20:09:51 +00:00
bsmedberg%covad.net
78f6d0683d Bug 313309 part 2 - change the NS_DEFINE_STATIC_IID_ACCESSOR macro to NS_DECLARE, and make a NS_DEFINE_ macro that's outside the class declaration, r=shaver 2005-11-11 14:36:26 +00:00
bmlk%gmx.de
ac3f79fa07 More robust handling of the overflow property, bug 315210 r/sr=roc 2005-11-11 05:30:31 +00:00
joshmoz%gmail.com
70d0b15dbe remove XP_MAC, cleanup. b=281889 r=mento sr=smfr 2005-11-10 17:45:59 +00:00
cvshook%sicking.cc
4660644188 Bug 312592: Reduce amount of duplicated code in html contentsink.
r=mrbkap sr=peterv
2005-11-10 15:51:10 +00:00
roc+%cs.cmu.edu
599bd30eab Bug 315127. Go back to allocating NS_NewDirectionalFrame on the heap, to fix crash regression. r+sr=dbaron 2005-11-06 22:47:10 +00:00
roc+%cs.cmu.edu
520b30a7f7 Bug 313817. DeCOMtaminate more NS_New*Frame functions. r+sr=roc, patch by Marc Liddell 2005-11-04 02:38:33 +00:00
roc+%cs.cmu.edu
34a88eba03 Bug 227121. A scrolled element's frame size should be set to the max of its desired size and the scrollport size, and should not depend on its overflow. Fixes an incremental reflow bug with scrolled frames. r+sr=dbaron 2005-11-02 23:35:37 +00:00
cbiesinger%web.de
ffa599d074 bug 314679 remove some unused code from nsObjectFrame
r+sr=bz
2005-11-02 16:34:32 +00:00
bzbarsky%mit.edu
d44ad313ae Remove nsIStyledContent. Bug 313968, r=sicking, r=dbaron on nsCSSStyleSheet
changes, sr=jst
2005-11-02 00:41:51 +00:00
bzbarsky%mit.edu
84802b45c2 Show the loading placeholder while loading, not the broken one. Bug 312804,
r=biesi, sr=dbaron
2005-11-02 00:04:29 +00:00
roc+%cs.cmu.edu
d511c33bd9 Fixing bustage... 2005-11-01 21:11:25 +00:00
roc+%cs.cmu.edu
a5f65bfee7 Bug 313817. DeCOMtaminate more NS_New*Frame functions. r+sr=roc, patch by Marc Liddell 2005-11-01 20:40:54 +00:00
roc+%cs.cmu.edu
33a3e7d578 Bug 312777. Don't pass negative-margin-box floats to the space manager; correct them and preserve the right margin-edge on left floats and the left margin-edge on right floats. r+sr=dbaron 2005-11-01 01:16:45 +00:00