4293 Commits

Author SHA1 Message Date
timeless%mozdev.org
d0080625f7 Bug 334897 Useless null check of shell in nsFrame::Destroy
r=dbaron sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@196114 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-06 21:42:49 +00:00
uriber%gmail.com
b9a63a6472 Fixed reversed order of parameters for call to nsPrevNextBidiLevels::SetData(). bug=336617 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@196104 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-06 12:56:45 +00:00
cvshook%sicking.cc
cec9ea1123 Bug 335911: Change nsIContent::IsContentOfType to nsINode::IsNodeOfType. r/sr=bz
git-svn-id: svn://10.0.0.236/trunk@196009 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-05 06:52:21 +00:00
roc+%cs.cmu.edu
a746a0e886 Bug 330905. nsPageContentFrame::BuildDisplayList needs to call its superclass to get fixed-pos elements to display. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@195937 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-03 21:44:41 +00:00
roc+%cs.cmu.edu
d3935bd295 Bug 336186. Fix use of uninitialized rv. patch by Marc Liddell, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@195936 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-03 21:39:55 +00:00
aaronleventhal%moonset.net
e80adb2cf6 Bug 336162. Don't fire DOM events from layout. r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@195907 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-03 17:02:37 +00:00
uriber%gmail.com
a0f2d08d45 When sliding frames to the left to account for trimmed trailing whitespace, update the frame rectangle itself if necessary. bug=333560 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@195895 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-03 10:28:58 +00:00
bzbarsky%mit.edu
35553cc59b Make nsIDocumentEncoder::init scriptable. Bug 330517, patch by jpl24
<jlurz24@gmail.com>, r=bzbarsky, sr=sicking


git-svn-id: svn://10.0.0.236/trunk@195756 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-01 05:25:52 +00:00
masayuki%d-toybox.com
b2f32dc37e Bug 335474 Crash in [@ nsCSSRendering::DrawDashedSides] r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@195696 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-28 23:21:01 +00:00
mrbkap%gmail.com
64f5c8e34a Update the caret position after reflows to avoid turds. bug 334649, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@195632 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-28 04:33:41 +00:00
bzbarsky%mit.edu
bf19ef708d Rename GetNodePrincipal to NodePrincipal. Bug 327246, r+sr=sicking
git-svn-id: svn://10.0.0.236/trunk@195579 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-27 18:21:11 +00:00
aaronleventhal%moonset.net
79b63d8013 Bug 326090. Expose <hr> as ROLE_SEPARATOR. Patch by Ming (Mike) Gao. r=aaronlev, sr=roc
git-svn-id: svn://10.0.0.236/trunk@195569 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-27 16:23:09 +00:00
aaronleventhal%moonset.net
20e8839f55 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
git-svn-id: svn://10.0.0.236/trunk@195568 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-27 15:47:22 +00:00
roc+%cs.cmu.edu
1f8c8f9667 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
git-svn-id: svn://10.0.0.236/trunk@195507 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-27 02:45:03 +00:00
bzbarsky%mit.edu
3ca392a8e3 Make sure to never read off the end of the buffer in HasTerminalNewline(). Bug
335320, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@195446 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-26 15:54:48 +00:00
roc+%cs.cmu.edu
b8d4b34078 Fixing Windows bustage
git-svn-id: svn://10.0.0.236/trunk@195414 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-26 02:45:18 +00:00
roc+%cs.cmu.edu
02b50c231a Bug 330305. Rename nsSelection to nsFrameSelection, and deCOMtaminate it, removing nsIFrameSelection. patch by Marc Liddell, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@195412 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-26 02:01:07 +00:00
bzbarsky%mit.edu
c65fc9a4e7 Give HTMLButtonControlFrames their own frame type. Bug 335419, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@195380 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-25 19:56:45 +00:00
mrbkap%gmail.com
1f0253c287 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
git-svn-id: svn://10.0.0.236/trunk@195295 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-24 21:18:44 +00:00
leon.sha%sun.com
ca47f5992a Bug 333896
Convert GetAttr calls to AttrValueIs and FindAttrValueIn.
Patch by alfred.peng@sun.com.
roc: review+
roc: superreview+


git-svn-id: svn://10.0.0.236/trunk@195238 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-24 05:40:11 +00:00
uriber%gmail.com
65380d88f3 Attempt to fix Tp regression from bug 333769. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@195164 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-22 21:02:34 +00:00
uriber%gmail.com
87f37e70fc 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
git-svn-id: svn://10.0.0.236/trunk@195152 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-22 13:29:50 +00:00
bzbarsky%mit.edu
1aeb3f0f20 Trim whitespace that comes right before a <br> when trimming whitespace. Bug
132561 relanding, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@195017 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-21 01:31:35 +00:00
dbaron%dbaron.org
55b4246403 Missed review comment. b=302536
git-svn-id: svn://10.0.0.236/trunk@194993 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 21:04:18 +00:00
dbaron%dbaron.org
bb49723daa 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
git-svn-id: svn://10.0.0.236/trunk@194992 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 21:02:10 +00:00
bzbarsky%mit.edu
9241b52e99 Treat terminal newlines in preformatted text like we treat <br> when inserting
frames into a block.  Bug 310087, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@194984 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 19:00:33 +00:00
dbaron%dbaron.org
0df78a3b3b Let the caret go outside of text frames (particularly when whitespace is trimmed). b=235223 r=mrbkap sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@194959 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 07:58:22 +00:00
jwatt%jwatt.org
a00535b6a7 Fixing bug 333733. Could leak attr in nsFrameUtil::Tag::ReadAttrs. r+sr=dbaron@mozilla.com
git-svn-id: svn://10.0.0.236/trunk@194742 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 00:13:34 +00:00
uriber%gmail.com
59333a3f4e Set the hint to HINTRIGHT when setting selection programatically. bug=334256 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@194699 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-19 20:21:25 +00:00
vladimir%pobox.com
e68c508dc4 b=333177, update canvas internal interfaces, optimize canvas, and fix some implementation bugs; r=stuart
git-svn-id: svn://10.0.0.236/trunk@194628 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-18 21:23:15 +00:00
mrbkap%gmail.com
b8eef2bbb9 Draw the caret in the normal path of frame painting instead of doing it directly to the current view. bug 287813, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@194553 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-17 23:16:46 +00:00
gavin%gavinsharp.com
2fa2f35e06 Bug 317269: fix comment, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@194542 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-17 22:06:25 +00:00
martijn.martijn%gmail.com
062315c85d Backing out the patch for bug 333136, since it causes regressions
git-svn-id: svn://10.0.0.236/trunk@194533 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-17 20:56:25 +00:00
dbaron%dbaron.org
0abb1d10ac Back out checkins for bug 333829, for now at least.
git-svn-id: svn://10.0.0.236/trunk@194496 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-17 03:19:22 +00:00
bzbarsky%mit.edu
c0fedf14ea Don't mess with empty float cache lists. Bug 334105, r+sr+branch181=dbaron
git-svn-id: svn://10.0.0.236/trunk@194490 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-17 01:47:41 +00:00
dbaron%dbaron.org
168d2ef516 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
git-svn-id: svn://10.0.0.236/trunk@194481 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-16 20:05:30 +00:00
dbaron%dbaron.org
53af910084 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
git-svn-id: svn://10.0.0.236/trunk@194472 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-16 06:34:45 +00:00
sharparrow1%yahoo.com
1c6d65819c Bug 328395: deal with an nsTypedSelection existing after its presentation is destroyed so it doesn't crash. r=bzbarsky, sr=roc
git-svn-id: svn://10.0.0.236/trunk@194369 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-14 00:28:22 +00:00
martijn.martijn%gmail.com
af6f3b8e45 Bug 333136 - scrollSelectionIntoView should try to scroll the complete selection into view, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@194315 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-13 15:40:52 +00:00
sharparrow1%yahoo.com
7964cbc37f Bug 333590: fix input field scrolling. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@194202 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-12 01:55:25 +00:00
bzbarsky%mit.edu
6dc3270ec7 Make line boxes have the right width when justifying. Bug 309761, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@194200 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-12 01:07:01 +00:00
sharparrow1%yahoo.com
c9ccbbfad1 Bug 332927: missed a file
git-svn-id: svn://10.0.0.236/trunk@194090 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-11 02:20:24 +00:00
sharparrow1%yahoo.com
b1c51e04df Bug 332927: Cleanup iframe/frame printing code (and a couple other misc. cleanups)
git-svn-id: svn://10.0.0.236/trunk@194085 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-11 01:48:48 +00:00
uriber%gmail.com
890a674685 Bug 314519: Caret skips blank lines using right-arrow key in some cases of preformatted text. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@193983 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-10 06:49:50 +00:00
roc+%cs.cmu.edu
b6ebd9961d Bug 328926. Remove aPresContext parameter from nsIFrame::Destroy, nsIFrame::SetInitialChildList and nsIFrame::RemovedAsPrimaryFrame. patch by Marc Liddell, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@193976 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-10 00:16:29 +00:00
roc+%cs.cmu.edu
cbc5855a71 Bug 282173. Remove BuildFloatList. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@193974 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-09 22:56:27 +00:00
uriber%gmail.com
f7fdeca918 Implemented bidi.edit.caret_movement_style pref, default is "visual, but logical during selection". bug=330175 r=smontagu sr=roc
git-svn-id: svn://10.0.0.236/trunk@193942 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-08 14:45:48 +00:00
dbaron%dbaron.org
c17b6b4c3d Fix state restoration for RTL cases. b=331607 Patch from Hideo Saito <saito@densan.co.jp>. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@193832 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-07 19:51:46 +00:00
uriber%gmail.com
31609c1a43 Make wordSelectEatSpaceAfter take effect when moving forward relative to the paragraph direction, regardless of the text frame direction. bug=299535 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@193678 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-06 08:21:12 +00:00
dbaron%dbaron.org
9911a9b756 Remove uses of MOZ_DECL_CTOR_COUNTER, which is always defined to nothing. b=332745 rs=roc,bzbarsky
git-svn-id: svn://10.0.0.236/trunk@193572 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-05 00:00:44 +00:00