5108 Commits

Author SHA1 Message Date
mrbkap%gmail.com
57d1babd65 [BeOS]Bug 322051, restructuring nsWindow code, patch by thesuckiestemail@yahoo.se r=sergei_d
git-svn-id: svn://10.0.0.236/trunk@194172 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-11 20:44:17 +00:00
masayuki%d-toybox.com
bb38c2225d Bug 327003 Don't commit the IME composition string when Mozilla is deactivated r=roc+masaki.katakai+timeless sr=roc
git-svn-id: svn://10.0.0.236/trunk@194136 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-11 16:37:58 +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
martijn.martijn%gmail.com
1aae630881 Bug 332499 - Misplaced listbox for floated select, patch by Marc Liddell, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@194082 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-11 01:18:41 +00:00
uriber%gmail.com
17fe458f2c Set NS_FRAME_IS_BIDI on skipped fluid continuations. bug=333433 r=smontagu sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@194007 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-10 17:05:01 +00:00
Olli.Pettay%helsinki.fi
52e2d4c325 Bug 330494, Remove NS_EVENT_FLAG_INIT. Makes NN4 event handling and preventBubble and preventCapture methods no-op. r=sicking, sr=jst
git-svn-id: svn://10.0.0.236/trunk@194006 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-10 17:04:54 +00:00
atremon%elansoftware.com
5f4bf18a2e Bug 332701 remove timeless' comment (patch for rev 1.477 sr=roc)
git-svn-id: svn://10.0.0.236/trunk@193991 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-10 13:48:13 +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
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
uriber%gmail.com
8c98c0f04f Bug 331958: Crash when selecting text, using rtl object with css generated content and designMode. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@193941 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-08 14:17:35 +00:00
bmlk%gmx.de
06b019c740 make sure that we process colgroup and rowgroup pseudos in parallel, otherwise we would lose one of them 325984 r/sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@193921 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-08 06:10:39 +00:00
martijn.martijn%gmail.com
c5466a75d1 Bug 331040 - Crash when removing parent iframe in onbeforunload handler. Patch by Feng Qian, r=bryner, sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@193646 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-05 23:57:30 +00:00
timeless%mozdev.org
25b04072d0 Bug 332701 build fails in nsDocumentViewer.cpp due to unguarded use of SetUseAltDC if NS_PRINT_PREVIEW undefined
r=atremon@elansoftware.com,roc sr=roc


git-svn-id: svn://10.0.0.236/trunk@193588 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-05 04:37:44 +00:00
sharparrow1%yahoo.com
757b9a58dd Remove NS_IPRESCONTEXT_IID because it is unused. rs=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@193575 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-05 00:55:57 +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
bzbarsky%mit.edu
b172db7ae3 Make ReconstructDocElementHierarchy not assume bogus things about the frame
tree.  Bug 330903, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@193413 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-03 15:52:08 +00:00
sharparrow1%yahoo.com
6de1b08e94 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.
git-svn-id: svn://10.0.0.236/trunk@193366 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-01 01:19:28 +00:00
gerv%gerv.net
c061325c8a Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@193303 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-31 06:28:40 +00:00
darin%meer.net
70deb5f58d fixes bug 328925 "Replace NS_WARN_IF_FALSE with NS_ASSERTION (where appropriate)" r=dbaron
git-svn-id: svn://10.0.0.236/trunk@193272 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-30 18:40:56 +00:00
gerv%gerv.net
b759f30f5f Bug 331921 - Fix up some corrupt/dodgy Initial Developer lines.
git-svn-id: svn://10.0.0.236/trunk@193253 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-30 07:57:05 +00:00
dbaron%dbaron.org
b9dc54e659 Oops, added the comment in the wrong place.
git-svn-id: svn://10.0.0.236/trunk@193247 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-30 06:16:27 +00:00
dbaron%dbaron.org
f982efe3c6 One-line descriptions of files, partly because they show up in LXR.
git-svn-id: svn://10.0.0.236/trunk@193246 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-30 05:56:38 +00:00
sharparrow1%yahoo.com
4faf77261e Bug 331415: some printing code cleanup. r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@193231 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-30 00:27:42 +00:00
dbaron%dbaron.org
39a926c190 Fix two regressions related to sizing of canvas frames. b=331458 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@193023 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-26 22:12:54 +00:00
roc+%cs.cmu.edu
140fbb3377 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
git-svn-id: svn://10.0.0.236/trunk@193022 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-26 21:30:36 +00:00
bmlk%gmx.de
05ec63bbda also limit the table pseudo frame processing if colgroups are the limiting frame, bug 329900, r/sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@193016 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-26 18:32:13 +00:00
dbaron%dbaron.org
e92900026b 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
git-svn-id: svn://10.0.0.236/trunk@193001 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-26 00:48:03 +00:00
cvshook%sicking.cc
825f8563f9 Relanding patches that (hopefully) don't affect Tdhtml
git-svn-id: svn://10.0.0.236/trunk@192885 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-24 00:09:50 +00:00
cvshook%sicking.cc
e2c22d1f10 Back out a few of my patches to see if any caused the Tdhtml regression in bug 331364.
git-svn-id: svn://10.0.0.236/trunk@192842 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-23 08:21:21 +00:00
uriber%gmail.com
60d1fa7f53 In nsTextEditRules::CheckBidiLevelForDeletion(), use nsSelection::GetPrevNextBidiLevels to determine bidi levels. bug=330460 r=smontagu sr=roc
git-svn-id: svn://10.0.0.236/trunk@192841 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-23 08:20:29 +00:00
dbaron%dbaron.org
cd07526c63 Fix asymmetry so things are the same with scrollbars on the left. b=330732 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@192819 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-23 00:11:01 +00:00
bryner%brianryner.com
1de3fc0366 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.
git-svn-id: svn://10.0.0.236/trunk@192794 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-22 18:36:36 +00:00
tor%cs.brown.edu
692424f15f Bug 328527 - make all SVG content special for frame constructor, use
leaf frame for filter leaves.  r=bzbarsky, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@192638 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-20 17:39:08 +00:00
pavlov%pavlov.net
39afaa56de draw image selection using thebes in cairo builds instead of tiling an image. bug 328390. r=vlad sr=roc
git-svn-id: svn://10.0.0.236/trunk@192499 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-16 21:42:50 +00:00
bzbarsky%mit.edu
0332048377 Fix crash bug 322348 by making ReParentStyleContext more sane. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@192462 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-16 01:30:38 +00:00
uriber%gmail.com
83e152722a 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
git-svn-id: svn://10.0.0.236/trunk@192444 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-15 20:52:02 +00:00
dbaron%dbaron.org
8cfdd67955 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
git-svn-id: svn://10.0.0.236/trunk@192422 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-15 16:55:19 +00:00
pavlov%pavlov.net
b5c7a440ef backing out roc's patch for bug 328926 due to crash running tests on vc8 machines.
git-svn-id: svn://10.0.0.236/trunk@192407 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-15 06:43:36 +00:00
roc+%cs.cmu.edu
6e36f2c733 Bug 328926. Remove aPresContext parameter from Destroy and SetInitialChildList. patch by Marc Liddell, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@192399 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-15 03:14:02 +00:00
roc+%cs.cmu.edu
c469d694c3 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
git-svn-id: svn://10.0.0.236/trunk@192331 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-14 20:43:18 +00:00
uriber%gmail.com
020445268d Bug 309286: Caret moves incorrectly in some cases of bidi HTML contained within an inline element in LTR context. r=smontagu sr=roc
git-svn-id: svn://10.0.0.236/trunk@192304 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-14 09:16:40 +00:00
uriber%gmail.com
5bca7be4f3 Implement the LockInScrollView mechanism for the visual iterator. bug=320874 r=smontagu sr=roc
git-svn-id: svn://10.0.0.236/trunk@192276 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-13 20:19:05 +00:00
uriber%gmail.com
25b961e38c In EnsureBidiContinuation, leave fluid continuations alone, and only re-use non-fluid continuations as bidi continuations. bug=329878 r=smontagu sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@192243 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-12 22:09:28 +00:00
uriber%gmail.com
5447fb4d4c Set bidi attributes on frames being converted to in-flows in nsBidiPresUtils::RemoveBidiContinuation(). bug=330269 r=smontagu sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@192242 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-12 21:58:47 +00:00
Olli.Pettay%helsinki.fi
872e35b166 Bug 330013, Dragging a link to the tab bar opens in the currently focused tab, not a new tab, r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@192237 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-12 20:12:36 +00:00
uriber%gmail.com
f5b58f9e8a Attempt to fix WINNT bustage from previous check-in
git-svn-id: svn://10.0.0.236/trunk@192221 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-12 10:18:17 +00:00
uriber%gmail.com
3db5a70f41 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
git-svn-id: svn://10.0.0.236/trunk@192220 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-12 09:49:48 +00:00
bmlk%gmx.de
f0eff16a4d Every frame where the frame construction is not controlled by
the display-type needs to be mentioned in IsSpecialContent, canvas in this case, bug 329692 r/sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@192166 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-10 20:03:07 +00:00
roc+%cs.cmu.edu
38a9722e9f Bug 328926. Remove aPresContext from nsIFrame::Init and nsIFrame::DidSetStyleContext. r+sr=roc, patch by Marc Liddell
git-svn-id: svn://10.0.0.236/trunk@192085 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-09 18:55:21 +00:00
uriber%gmail.com
776e2d47ef Reparent views when splitting inline ancestors. bug=329762 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@191981 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-08 18:12:07 +00:00