4122 Commits

Author SHA1 Message Date
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
smontagu%smontagu.org
a38b2c61f4 Caret skips blank line using down-arrow key in preformatted text (e.g. View Source). Bug 298690, patch by Uri Bernstein <uriber@gmail.com>, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@183253 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-30 13:05:45 +00:00
bzbarsky%mit.edu
78bef58df3 Fix leaks caused by bug 307532. Patch by biesi, r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@183243 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-29 16:16:35 +00:00
masayuki%d-toybox.com
5ca778cfea Bug 307532 Selection colors should be saved in nsTextFrame::TextPaintStyle, not DrawSelectionIterator r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@183241 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-29 14:01:55 +00:00
cbiesinger%web.de
8eb2b61bb7 Bug 309529
Move logic from nsObjectFrame::Instantiate(const char*, nsIURI*) into
nsObjectLoadingContent.

Also, fixes ext-to-type mapping if the URI does not implement nsIURL.

r+sr=bz


git-svn-id: svn://10.0.0.236/trunk@183238 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-29 12:56:44 +00:00
cvshook%sicking.cc
b26f9f52fb Bug 311827: Make GetAttr return a bool rather then an nsresult.
r/sr=bz


git-svn-id: svn://10.0.0.236/trunk@183185 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-28 11:25:24 +00:00
bzbarsky%mit.edu
53c329523d Pass nsIStyledContent to AttributeChanged() so that consumers don't have to QI
to it.  Bug 313343, r=sicking, sr=jst


git-svn-id: svn://10.0.0.236/trunk@183113 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-27 02:25:23 +00:00
roc+%cs.cmu.edu
2b50a04fc6 Bug 313817. DeCOMtaminate a bunch of NS_New*Frame functions. patch by Marc Liddell, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@183097 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-26 21:46:39 +00:00
masayuki%d-toybox.com
1cc8b073e7 Bug 313174 IME composition string isn't rendered as selection text r=sergei_d, sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@183078 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-26 20:16:01 +00:00
bzbarsky%mit.edu
4e94da951e Fix some nsFloatCache leaks. Bug 302438, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@182747 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-21 22:23:28 +00:00
timeless%mozdev.org
28bec896e4 Bug 313164 Bidi: Caret navigation broken inside inline elements
patch by uriber@gmail.com r=smontagu sr=roc


git-svn-id: svn://10.0.0.236/trunk@182738 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-21 20:08:50 +00:00
roc+%cs.cmu.edu
9c37faadc0 Bug 295941. Remove hack that is obsolete on the trunk now that Eli has fixed event dispatch coordinates. patch by Eli Friedman, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@182685 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-21 02:50:35 +00:00
roc+%cs.cmu.edu
cccd7adffc Bug 307158. Half-heartedly account for vertical scrollbar presence when positioning absolute children relative to the right edge of a scrollable container. r+sr=dbaron with regrets.
git-svn-id: svn://10.0.0.236/trunk@182444 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-18 05:00:24 +00:00
bzbarsky%mit.edu
84306ebd26 Remove no longer used code. Bug 312685, r=biesi, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@182426 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-17 23:06:16 +00:00
mats.palmgren%bredband.net
1478c862f7 Restore Mac-specific caret movement when there is a selection. b=299417 r=uriber sr=roc
git-svn-id: svn://10.0.0.236/trunk@182351 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-17 00:51:46 +00:00
bzbarsky%mit.edu
1333cae14e Try fixing bug 288064 again. r=biesi, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@182350 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-17 00:50:39 +00:00
mats.palmgren%bredband.net
6e512c8d9f Return the frame count for the given line 'aLineNumber', not the line where we find the first frame. b=308052 r=bernd sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@182348 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-17 00:03:05 +00:00
mozilla.mano%sent.com
a9be5655a9 Bug 312620 - Bidi: Caret doesn't move correctly when arrowing where line wraps, if the wrapped line starts with a single reverse-direction character. patch from uriber@gmail.com, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@182346 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-16 23:26:22 +00:00
masayuki%d-toybox.com
d98d63a055 Bug 310174 Windowless plug-ins can't receive the focus events r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@182343 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-16 18:58:34 +00:00