4140 Commits

Author SHA1 Message Date
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
smontagu%smontagu.org
0dc23ace40 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
git-svn-id: svn://10.0.0.236/trunk@184754 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-16 09:40:52 +00:00
smontagu%smontagu.org
1500b61ab0 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
git-svn-id: svn://10.0.0.236/trunk@184752 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-16 09:37:01 +00:00
dbaron%dbaron.org
ea56e835a3 Make PL_InitEvent callers stop doing potentially dangerous casting of function pointers. b=305278 r=dougt sr=darin
git-svn-id: svn://10.0.0.236/trunk@184589 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-14 20:09:51 +00:00
bsmedberg%covad.net
0217e2f9a9 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
git-svn-id: svn://10.0.0.236/trunk@184456 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-11 14:36:26 +00:00
bmlk%gmx.de
06e7095baa More robust handling of the overflow property, bug 315210 r/sr=roc
git-svn-id: svn://10.0.0.236/trunk@184452 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-11 05:30:31 +00:00
joshmoz%gmail.com
b9122e4f74 remove XP_MAC, cleanup. b=281889 r=mento sr=smfr
git-svn-id: svn://10.0.0.236/trunk@184408 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-10 17:45:59 +00:00
cvshook%sicking.cc
9fe570c5d5 Bug 312592: Reduce amount of duplicated code in html contentsink.
r=mrbkap sr=peterv


git-svn-id: svn://10.0.0.236/trunk@184399 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-10 15:51:10 +00:00
roc+%cs.cmu.edu
7c5bcb4672 Bug 315127. Go back to allocating NS_NewDirectionalFrame on the heap, to fix crash regression. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@184225 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-06 22:47:10 +00:00
roc+%cs.cmu.edu
c4e0410c6e Bug 313817. DeCOMtaminate more NS_New*Frame functions. r+sr=roc, patch by Marc Liddell
git-svn-id: svn://10.0.0.236/trunk@184129 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-04 02:38:33 +00:00
roc+%cs.cmu.edu
3018abfa20 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
git-svn-id: svn://10.0.0.236/trunk@184064 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-02 23:35:37 +00:00
cbiesinger%web.de
277c11ec77 bug 314679 remove some unused code from nsObjectFrame
r+sr=bz


git-svn-id: svn://10.0.0.236/trunk@183988 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-02 16:34:32 +00:00
bzbarsky%mit.edu
d14d1f2475 Remove nsIStyledContent. Bug 313968, r=sicking, r=dbaron on nsCSSStyleSheet
changes, sr=jst


git-svn-id: svn://10.0.0.236/trunk@183371 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-02 00:41:51 +00:00
bzbarsky%mit.edu
b67515130c Show the loading placeholder while loading, not the broken one. Bug 312804,
r=biesi, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@183370 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-02 00:04:29 +00:00
roc+%cs.cmu.edu
151b3a115e Fixing bustage...
git-svn-id: svn://10.0.0.236/trunk@183362 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-01 21:11:25 +00:00
roc+%cs.cmu.edu
35affbc82e Bug 313817. DeCOMtaminate more NS_New*Frame functions. r+sr=roc, patch by Marc Liddell
git-svn-id: svn://10.0.0.236/trunk@183357 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-01 20:40:54 +00:00
roc+%cs.cmu.edu
b4617efcf5 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
git-svn-id: svn://10.0.0.236/trunk@183303 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-01 01:16:45 +00:00
cbiesinger%web.de
4510cfee8d bug 309706
- Add some logging to nsObjectLoadingContent
- Add a StopPlugin() method to nsIObjectFrame
  - Make use of that in PrepareInstanceOwner, so that loading a new plugin in
    the same frame works as expected
- Initialize <applet> and <embed> elements to eType_Loading, so that the type is
  only eType_Plugin if mURI and mContentType are valid

r+sr=bz


git-svn-id: svn://10.0.0.236/trunk@183271 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-31 18:28:56 +00:00