4157 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
fb8579f413 Fix leak bug 324969 -- make sure to call virtual destructors.
git-svn-id: svn://10.0.0.236/trunk@188434 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-29 18:48:58 +00:00
bzbarsky%mit.edu
b12310e6b5 Make hiding a frame with display:none really hide the docshell all the way.
Bug 308182, r=biesi, sr=jst


git-svn-id: svn://10.0.0.236/trunk@188300 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-27 01:04:48 +00:00
roc+%cs.cmu.edu
5a30621889 Bug 324852. Clean up missing uses of NS_DISPLAY_DECL_NAME for a tiny space saving with frame display lists
git-svn-id: svn://10.0.0.236/trunk@188281 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-26 22:58:22 +00:00
roc+%cs.cmu.edu
2c2f29ce5f Bug 324836. Listboxes must be treated as pseudostackingcontexts. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@188266 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-26 21:03:49 +00:00
bzbarsky%mit.edu
bb49e8220e Fixing more build bustage and warnings. Bug 317375
git-svn-id: svn://10.0.0.236/trunk@188218 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-26 05:14:30 +00:00
roc+%cs.cmu.edu
df8627e29b 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
git-svn-id: svn://10.0.0.236/trunk@188202 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-26 02:29:17 +00:00
cvshook%sicking.cc
12b789d906 Bug 310436: Implement IsFrameOfType and use that to disable non-svg frames from being children of svg frames. r=bz sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@188176 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-25 21:16:12 +00:00
roc+%cs.cmu.edu
78bd9e4760 Bug 323946. nsFieldSetFrame doesn't need to support having a space manager. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@188019 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-22 23:20:56 +00:00
mats.palmgren%bredband.net
3d238ccf89 Look for the next-in-flow in the overflow-list when the next normal line did not contain it. b=310638 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@187962 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-21 10:33:48 +00:00
roc+%cs.cmu.edu
a6bbe39c62 Bug 323291. Repaint reflowed absolute frames that changed size without changing their view size. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@187669 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-16 03:28:20 +00:00
cvshook%sicking.cc
d3d2e97d3b Bug 321294: Remove unused ReplaceFrame codepaths.
r/sr=roc


git-svn-id: svn://10.0.0.236/trunk@187266 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-10 22:58:37 +00:00
uriber%gmail.com
1222078169 Bug 310589: Clicking off of the lower-right edge of a zoomed image can cause a crash [@FindBlockFrameOrBR()] [@ nsIFrame::GetExtremeCaretPosition()]. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@187149 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-08 21:44:44 +00:00
cbiesinger%web.de
044af0619d bug 322052 remove now-unused mFullURL r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@186818 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-02 18:57:14 +00:00
cbiesinger%web.de
1f38fab198 Bug 322052 Fix document handling in nsObjectFrame.cpp
r+sr=bz


git-svn-id: svn://10.0.0.236/trunk@186815 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-02 15:54:24 +00:00
darin%meer.net
c0e834f3c6 fixes bug 318193 "Input streams are not implemented consistently" r=biesi sr=bz
git-svn-id: svn://10.0.0.236/trunk@186805 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-02 02:30:32 +00:00
cbiesinger%web.de
ec7f2d3bc5 Bug 316455 Remove nsIPluginInstanceOwner::PluginNotAvailable, which is pointless
now that plugin loading has been rewritten in bug 1156 / bug 309521
r+sr=bz


git-svn-id: svn://10.0.0.236/trunk@186777 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-01 11:28:35 +00:00
dbaron%dbaron.org
aa2e44782f Make nsObjectFrame not be a container anymore. b=309532 r=biesi sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@186764 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-31 00:25:36 +00:00
cbiesinger%web.de
32c8a8358d 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


git-svn-id: svn://10.0.0.236/trunk@186703 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-29 14:15:33 +00:00
cvshook%sicking.cc
fd594c18a0 Fix build bustage
git-svn-id: svn://10.0.0.236/trunk@186680 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-28 22:11:27 +00:00
cvshook%sicking.cc
cf43ff4e7d Bug 284950: DeCOMTaminate nsIContent::GetAttrNameAt
r/sr=bz


git-svn-id: svn://10.0.0.236/trunk@186678 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-28 21:52:39 +00:00
uriber%gmail.com
0b494c61e8 Bug 321487: Crash when moving caret backwards over text frame consisting of a single CR [nsTextFrame::PeekOffset]. r=rbs sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@186615 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-27 15:15:40 +00:00
cbiesinger%web.de
25ded6512e Bug 321504 Remove unneeded uses of nsIDocumentLoader
r+sr=bz


git-svn-id: svn://10.0.0.236/trunk@186591 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-26 16:45:59 +00:00
timeless%mozdev.org
43df8a0b68 Bug 321393 Clicking on page in print preview causes crash [@ GetOffsetsOfFrame]
patch by sharparrow1@yahoo.com r=roc sr=roc


git-svn-id: svn://10.0.0.236/trunk@186576 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-25 19:01:45 +00:00
uriber%gmail.com
0d12c6eeee Bug 319705: Crash when deleting comment line selected with triple click [@nsFontMetricsWin::ResolveForwards]. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@186575 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-25 14:27:14 +00:00
dbaron%dbaron.org
d416e448d4 Use a more accurate test for first reflow (and one that won't go away soon). b=307979 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@186353 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-21 03:32:25 +00:00
dbaron%dbaron.org
4aa0906194 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
git-svn-id: svn://10.0.0.236/trunk@186351 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-21 03:30:28 +00:00
dbaron%dbaron.org
a5d6b75cc8 Fix insertion at end of textarea creating an extra pseudo-linebreak. b=319664 Patch by Eli Friedman <sharparrow1@yahoo.com>. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@186311 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-20 09:13:47 +00:00
roc+%cs.cmu.edu
2d2444ef45 Bug 318425. Make sure the scrolled frame's view is set to include the overflow area of its frame. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@186240 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-19 01:07:41 +00:00
dbaron%dbaron.org
934908e421 Back out part of previous patch since it's a static/dynamic inconsistency.
git-svn-id: svn://10.0.0.236/trunk@186209 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-17 19:11:40 +00:00
dbaron%dbaron.org
82100c8435 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
git-svn-id: svn://10.0.0.236/trunk@186208 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-17 18:58:47 +00:00
dbaron%dbaron.org
0b82618f71 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
git-svn-id: svn://10.0.0.236/trunk@186150 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-16 04:58:33 +00:00
dbaron%dbaron.org
104ca7dcc3 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
git-svn-id: svn://10.0.0.236/trunk@186137 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-15 23:08:07 +00:00
roc+%cs.cmu.edu
c37636da44 Bug 319675. Don't cross line boundaries looking for double-click targets. patch by Eli Friedman, r=sr=roc
git-svn-id: svn://10.0.0.236/trunk@186101 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-15 03:32:09 +00:00
uriber%gmail.com
9c25e1e830 Bug 312550: Incorrect wrapping in RTL textarea with horizontal scrollbar. r=smontagu, sr=roc
git-svn-id: svn://10.0.0.236/trunk@186040 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-14 14:33:17 +00:00
bsmedberg%covad.net
bc090e6604 Fix merge bustage for bug 313309
git-svn-id: svn://10.0.0.236/trunk@185973 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-12 21:23:47 +00:00
bsmedberg%covad.net
84a686c4a7 Conflict merge, bug 313309 (macro not used yet unless you have the final patches applied)
git-svn-id: svn://10.0.0.236/trunk@185957 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-12 14:14:03 +00:00
bzbarsky%mit.edu
5aa62a4475 Remove unsed code. Bug 307111, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@185923 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-11 20:40:07 +00:00
mark%moxienet.com
84fac7591c Bug 319558, crash [@ GetSelectionClosestFrameForChild] due to typo in bug 316281. Remove unwanted semicolon. Patch by Adam Guthrie <ispiked@gmail.com>. r=me
git-svn-id: svn://10.0.0.236/trunk@185808 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-08 18:09:17 +00:00
roc+%cs.cmu.edu
66e8f6e1aa Bug 316281. Rework GetContentAndOffsetsFromPoint. r=uriber,sr=roc,patch by Eli Friedman
git-svn-id: svn://10.0.0.236/trunk@185773 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-07 23:08:39 +00:00
bzbarsky%mit.edu
762b4a7682 Fix crash bug 316012, r=biesi, sr=jst
git-svn-id: svn://10.0.0.236/trunk@185745 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-07 00:52:39 +00:00
bzbarsky%mit.edu
0c494d3744 Don't store the "normal" frame state for the root scrollframe, for now. Bug
318709, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@185743 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-06 23:56:17 +00:00
bzbarsky%mit.edu
0daaaef17c Prevent infinite recursion for cases when InstantiatePlugin returns a success
code without creating a plugin instance.  Bug 319332, r=biesi, sr=roc


git-svn-id: svn://10.0.0.236/trunk@185742 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-06 23:52:49 +00:00
bzbarsky%mit.edu
698aa98719 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


git-svn-id: svn://10.0.0.236/trunk@185729 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-06 04:50:26 +00:00
roc+%cs.cmu.edu
92255df90e Bug 319115. Move nsTextFrame interfaces around so nsTextFrame.h can go away. Preparation for forking nsTextFrame. patch by Stephen Blackheath, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@185721 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-06 00:39:08 +00:00
roc+%cs.cmu.edu
d915699909 Bug 319115. Move nsTextFrame interfaces around so nsTextFrame.h can go away. Preparation for forking nsTextFrame. patch by Stephen Blackheath, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@185720 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-06 00:32:52 +00:00
bmlk%gmx.de
96b4e23583 don't allocate nsDirectionalFrame on heap, bug 315321 patch by Marc Liddell r=roc sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@185646 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-03 15:44:43 +00:00
bzbarsky%mit.edu
cf434cba7f Remove content ids. Bug 166637, r=sicking, sr=peterv
git-svn-id: svn://10.0.0.236/trunk@185376 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-29 16:47:18 +00:00
jst%mozilla.jstenback.com
895df6e6ca Fixing bug 316794. Moving HandleDOMEvent() and Get/SetDocShell from nsIScriptGlobalObject to nsPIDOMWindow. r=mrbkap@gmail.com, sr=peterv@propagandism.org
git-svn-id: svn://10.0.0.236/trunk@185351 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-28 23:56:44 +00:00
masayuki%d-toybox.com
826e231134 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
git-svn-id: svn://10.0.0.236/trunk@185025 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-20 23:43:48 +00:00
timeless%mozdev.org
a05383ef1b Bug 106386 Correct misspellings in source code
patch by mats.palmgren@bredband.net r=dbaron sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@185018 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-20 22:05:24 +00:00