Граф коммитов

4548 Коммитов

Автор SHA1 Сообщение Дата
bmlk%gmx.de e312ffbfb4 bustage fix 2006-12-26 18:34:59 +00:00
timeless%mozdev.org 4e651390ef Bug 355300 There should be only one nsGkAtoms creature
r=dbaron
2006-12-26 17:47:52 +00:00
uriber%gmail.com eb9a23855e Pull InsertFrames, AppendFrames, and RemoveFrames up from nsInlineFrame to nsContainerFrame. bug=198928 r+sr=dbaron 2006-12-25 18:53:52 +00:00
roc+%cs.cmu.edu cdaeca60f6 Bug 363813. Mark canvas with HAS_DIRTY_CHILDREN when we delete its child. r+sr=dbaron 2006-12-21 20:05:34 +00:00
roc+%cs.cmu.edu 4e9aee59fe Bug 363813. Always reset parent pointers when pulling an inline frame's overflow back into its main child list. r+sr=dbaron 2006-12-21 19:59:30 +00:00
timeless%mozdev.org 05804e5bfe Bug 363390 IS_LOW_SURROGATE conflicts with winnls.h
r=darin
2006-12-21 07:03:23 +00:00
mats.palmgren%bredband.net 79090c0f4b Rename IsSplittable() to GetSplittableType(). b=349973 r+sr=bzbarsky 2006-12-20 03:52:34 +00:00
dbaron%dbaron.org 2084e073f8 Eliminate nsStyleBorderPadding and add margin/padding/content rect APIs to nsIFrame. b=332922 r+sr=roc 2006-12-20 01:23:45 +00:00
mats.palmgren%bredband.net 15d1307833 Horizontal under/overflow events are not dispatched. b=363933 r+sr=dbaron 2006-12-20 01:17:00 +00:00
roc+%cs.cmu.edu e89d6ad93e Bug 363848. Scrollframes CAN TOO have an nsIScrollbarMediator scrolled frame. r=enndeaking,sr=mats 2006-12-19 20:11:27 +00:00
bzbarsky%mit.edu e97d70d0d0 Make scrollframes use the pref width of the scrollbar, not the min width, for
determining pref width.  Fixes bug 363528, r+sr=dbaron
2006-12-19 02:53:05 +00:00
mats.palmgren%bredband.net 3dedd0465d Rename ComputeHorizontalValue to ComputeWidthDependentValue (ditto for height) and some minor cleanup. b=364131 r+sr=dbaron 2006-12-18 13:20:18 +00:00
bzbarsky%mit.edu f50ba6a651 Fix bug 364192 -- assert was backwards. 2006-12-18 05:08:01 +00:00
bzbarsky%mit.edu 3591e983bb Forgot file for bug 363637. r+sr=dbaron 2006-12-18 03:34:05 +00:00
bzbarsky%mit.edu f61607c926 Fix computation of a hypothetical box for abs pos frames which are descendants
of a rel-pos block.  Bug 363637, r+sr=dbaron
2006-12-18 03:00:23 +00:00
uriber%gmail.com e42b5574fb Fix calculation of margin forced to "auto" when both margins and width are specified but together smaller than available width. bug=364079 r+sr=dbaron 2006-12-17 17:02:22 +00:00
uriber%gmail.com 9bc8165f8b Always set wordLen to -1 before calling tx.GetNextWord() from AddInline[Min|Pref]Width, so that GetNextWord() will look at the entire content. bug=363732, r=smontagu sr=dbaron 2006-12-17 16:57:15 +00:00
mats.palmgren%bredband.net 6ee857d0b7 Make the CSS 'ch' length unit work in most cases. b=363573 r+sr=dbaron 2006-12-17 14:06:42 +00:00
gavin%gavinsharp.com a6c6f230c8 Bug 320468: SetDelayCaretOverExistingSelection is unused, patch by Adam Guthrie <ispiked@gmail.com>, r+sr=dbaron 2006-12-16 14:40:44 +00:00
uriber%gmail.com c14d0a8561 Bug 363378: Caret gets stuck (or moves incorrectly) in empty table cells when using left/right arrow keys. r+sr=roc 2006-12-15 09:32:24 +00:00
roc+%cs.cmu.edu 3e86d90c70 Bug 359371. Calculate correct available content-height when a float has border or padding. r+sr=dbaron 2006-12-15 01:52:53 +00:00
Olli.Pettay%helsinki.fi 5cdb072969 Bug 336574, r+sr=roc 2006-12-15 00:23:39 +00:00
dbaron%dbaron.org 20a20cc930 Forgot to rev IID. b=332922 2006-12-14 08:00:53 +00:00
dbaron%dbaron.org e8425e7c24 Remove nsLineLayout::mWordWidth, which should have been removed in earlier reflow branch merging. b=363232 r+sr=roc 2006-12-13 23:11:13 +00:00
dbaron%dbaron.org d5af630c22 Better API for used padding/border/margin: remove deprecated Calc*For on nsStyleStructs and add GetUsed* to nsIFrame. b=332922 r+sr=roc 2006-12-13 23:04:57 +00:00
uriber%gmail.com 3faa594f22 Use the containing block's direction (LTR/RTL) instead of this frame's direction when deciding on default alignment of the frame. bug=328181 r+sr=dbaron 2006-12-13 16:16:25 +00:00
dbaron%dbaron.org c6c8f9b6d3 Correctly align a line with no justification opportunities (a single word) for RTL justified text. Patch originally from Uri Bernstein <uriber@gmail.com>, modified by smontagu and me. b=102019 r=dbaron/smontagu 2006-12-12 18:28:37 +00:00
uriber%gmail.com 298c1e0c98 Bug 314519: Caret skips blank lines using right-arrow key in some cases of preformatted text. Take 2. r+sr=roc 2006-12-12 18:12:46 +00:00
bzbarsky%mit.edu 0a51e9bdb4 Make the GetStyle* getters not go through GetStyleData() so they can be
faster.  Bug 360870, r+sr=dbaron
2006-12-12 17:44:45 +00:00
bzbarsky%mit.edu 76c2764d17 Fix percentage padding on nodes with overflow other than visible. Bug 332557,
r+sr=dbaron.
2006-12-12 15:18:40 +00:00
mats.palmgren%bredband.net b9eb48fee4 Fix crash in Print Preview when doc has more than two pages. Patch by Eli Friedman<sharparrow1@yahoo.com>. b=362210 r=me sr=roc 2006-12-12 09:54:48 +00:00
roc+%cs.cmu.edu c3cd4e8b4b Bug 359371. Don't leak overflowing frames if a bug occurs and we still have overflowing frames in an unconstrained reflow situation. r+sr=dbaron 2006-12-12 01:06:23 +00:00
gerv%gerv.net caae487a24 Bug 236613: change to MPL/LGPL/GPL tri-license. 2006-12-11 09:45:41 +00:00
roc+%cs.cmu.edu 31f294932e Bug 357351. Assertion should be #ifdef MOZ_CAIRO_GFX only. Debug-only change. 2006-12-11 00:09:50 +00:00
roc+%cs.cmu.edu 118de71241 Fixing DEBUG_roc-only bustage. NPOB. 2006-12-10 22:06:53 +00:00
roc+%cs.cmu.edu 4b433c7821 Bug 326758. Bullets should accept mouse events. r+sr=dbaron 2006-12-10 21:56:30 +00:00
dbaron%dbaron.org 31f1898810 Bug 300030: Move intrinsic width computation out of nsIFrame::Reflow and into its own methods on nsIFrame. Replace reflow reasons, types, and commands with dirty bits/notifications. Thanks to bzbarsky for almost all of the HTML form controls (mozilla/layout/forms) changes, and many others for help testing and patching. For detailed commit logs, see REFLOW_YYYYMMDD_BRANCH, where YYYYMMDD is one of 20061031, 20060830, 20060603, 20060302, 20060119, 20051011, 20050804, 20050429, 20050315, 20050111, and 20041213. 2006-12-08 05:38:33 +00:00
roc+%cs.cmu.edu b88792e2d2 Bug 344228. Fix up some naughty uses of nsIScrollbarMediator. r=enndeakin,sr=bzbarsky 2006-12-07 19:53:41 +00:00
bzbarsky%mit.edu a4c80af646 Make ReconstructDocElementHierarchy work correctly even if we first blew away a
pseudo which had the root as its content.  Bug 343293, r+sr=roc
2006-12-04 20:35:55 +00:00
roc+%cs.cmu.edu 0131fce9fd Bug 357736. Use document widget for windowless plugin's reference widget whenever we can do that safely (the origin of the windowless plugin's nearest widget is equal to the origin of the document widget). Works around a regression in some cases. patch by Graham Sanderson, r+sr=roc 2006-11-29 20:15:56 +00:00
sharparrow1%yahoo.com 064f09abbe Bug 345707: print selection cuts off top of selection. r+sr=src. 2006-11-24 08:14:37 +00:00
sharparrow1%yahoo.com 08d6a5b39d Bug 360227: prevent framesets from taking up an extra blank page when print/print previewing. r+sr=roc. 2006-11-24 08:12:17 +00:00
uriber%gmail.com dfaa7745b0 Null-check GetContentOffsetsFromPoint's output, to avoid crashes later. bug=361229 r=roc sr=sicking 2006-11-22 17:34:15 +00:00
bzbarsky%mit.edu b856b2c477 Back out bug 354600 to fix regressions. 2006-11-19 20:23:56 +00:00
Olli.Pettay%helsinki.fi e1cb40cc52 Bug 360928, Un-inline nsWeakFrame a bit, r+sr=roc 2006-11-18 06:38:15 +00:00
Olli.Pettay%helsinki.fi 3f17370bc1 Fixing mac builds, bug Bug 354694 2006-11-16 22:37:23 +00:00
Olli.Pettay%helsinki.fi 8b6f4c022e Consolidate NS_MOUSE_***_UP/DOWN/CLICK/DBLCLICK events, r=jst,roc,josh,sergei_d,emaijala,mkaply 2006-11-16 21:35:39 +00:00
bzbarsky%mit.edu cbcaad14b4 Make block frames that are not kids of blocks automatically have space managers
(and margin roots, except in the columns case) so we don't have to play
whack-a-framestate-flag.  Bug 354600, r+sr=roc
2006-11-16 17:51:53 +00:00
benjamin%smedbergs.us ea3df14d53 Fix extraneous semicolon 2006-11-14 22:18:51 +00:00
Olli.Pettay%helsinki.fi ef27304064 Bug 340564, Print/Print Preview does not print text in <input text> or <textarea>, p=sharparrow, r+sr=roc 2006-11-10 00:55:11 +00:00
roc+%cs.cmu.edu 31e3540d1e Bug 312963. Fix column layout when content in the column is out-of-flow but still needs to break vertically. rubberstamp r+sr=dbaron 2006-11-09 21:38:34 +00:00
mats.palmgren%bredband.net f04a29ec0d Right arrow key (to collapse selection to right) does not scroll textbox to show caret. b=352759 r+sr=roc 2006-11-09 16:37:10 +00:00
gavin%gavinsharp.com ec53054d6b Bug 355349: remove dead code from nsTextFrame.cpp, patch by Gerald <gerald_leder@gmx.at>, r+sr=roc 2006-11-06 16:18:35 +00:00
gavin%gavinsharp.com e67a58c911 Bug 345339, attachment 243112: Revisit nsPresState, patch by Karthik Sarma <karthik3@comcast.net>, r+sr=roc 2006-11-06 16:08:20 +00:00
bzbarsky%mit.edu 8a32ae7e9f Add asserts and documentation to enfoce correct behavior. Bug 316267 followup,
r+sr=roc.
2006-11-06 01:17:32 +00:00
Olli.Pettay%helsinki.fi e91e636e41 Bug 359203, r+sr=bz 2006-11-02 18:34:55 +00:00
timeless%mozdev.org 46d2b15871 Bug 106386 Correct misspellings in source code
r=glennrp@gmail.com, bclary@bclary.com rs=brendan
2006-11-01 23:02:18 +00:00
cvshook%sicking.cc 55d0c600fa Kill nsGeneratedContentIterator and related classes and code since it's not used. r/sr=dbaron b=357957 2006-10-25 20:24:00 +00:00
cvshook%sicking.cc 5a6d9399ce Bug 357445: Some cleanup of range code. r/sr=jst 2006-10-21 01:30:54 +00:00
roc+%cs.cmu.edu abed647846 Fixing Mac bustage 2006-10-19 02:17:51 +00:00
roc+%cs.cmu.edu 899128e82a Bug 343445. Change inline reflow strategy to avoid looking ahead through words while measuring text. r+sr=dbaron 2006-10-19 01:47:47 +00:00
jwatt%jwatt.org bf57316f11 Replace aDesiredSize in comment with aReflowMetrics to make it match the parameter name (no bug) 2006-10-13 13:47:19 +00:00
Olli.Pettay%helsinki.fi 8f8a844353 Bug 355100, Remove XTF visuals (part I/II, not removing files), r=alex,bryner,aaronr,doronr sr=bz 2006-10-08 14:15:02 +00:00
smontagu%smontagu.org d0d13390ae SetTransformedTextIsAscii() should depend on no multibyte text having been detected as well as on LeaveAsAscii(). Bug 333535 (relanding), r+sr=rbs 2006-10-08 06:57:34 +00:00
smontagu%smontagu.org abfd8b7e04 Backing out patch from bug 333535 to test performance impact 2006-10-07 18:36:27 +00:00
mats.palmgren%bredband.net fc88af4d70 Avoid crashing on OOM. b=352335 r+sr=roc 2006-10-07 08:53:06 +00:00
smontagu%smontagu.org bd9f9842af SetTransformedTextIsAscii() should depend on no multibyte text having been detected as well as on LeaveAsAscii(). Bug 333535, r+sr=rbs 2006-10-04 11:40:49 +00:00
aaronleventhal%moonset.net e7cd6c578f Bug 354832. Support nsIAccessibleText for html buttons and list options. r=ginn.chen, sr=roc 2006-10-02 19:33:49 +00:00
roc+%cs.cmu.edu 8e2657479b Bug 354451. Fix uppercasing of &szlig; and possibly other regressions from bug 345071. r=smontagu,sr=rbs 2006-10-02 05:38:34 +00:00
uriber%gmail.com e3d36a9971 Do the correction of caret position due to trimmed whitespace only when the caret is logically after the whitespace. bug=336408 r=rbs sr=roc 2006-09-25 11:39:10 +00:00
flamingice%sourmilk.net 23aaf31940 Bug 351575, Dereference before null check in |nsTypedSelection::GetRangesForInterval|, patch by Adam Guthrie <ispiked@gmail.com>, r=brettw, sr=bryner 2006-09-24 06:04:00 +00:00
roc+%cs.cmu.edu ae80e3d181 Bug 312963. Apply aTryPull to pulls of inline frames as well as lines. r+sr=dbaron 2006-09-22 02:04:56 +00:00
roc+%cs.cmu.edu 32912b4dfa Bug 350137. Don't forget to apply BR-clearance when the BR is on the last line of a block. r+sr=dbaron 2006-09-22 01:53:13 +00:00
roc+%cs.cmu.edu 60bc945af8 Update nsIFrame IID 2006-09-19 23:54:28 +00:00
roc+%cs.cmu.edu 1710fb769b Bug 350148. Improve scrolling of large documents generally by only searching descendants of the moving frame for position-varying graphics when we know we've actually painted position-varying graphics in this prescontext. r+sr=dbaron 2006-09-19 22:05:33 +00:00
roc+%cs.cmu.edu cef42d026c Bug 350148. Fix gmail scrolling speed by not creating nsDisplayBorder items for zero-width borders. r+sr=dbaron 2006-09-19 21:46:01 +00:00
roc+%cs.cmu.edu 383028dfd0 Bug 351268. Remove nsIFrame::AdjustFrameSize, it's unused. r=smontagu,sr=rbs 2006-09-19 21:04:06 +00:00
roc+%cs.cmu.edu b625dcc429 Bug 349477. Generalize handling of non-inline frames in inline contexts so they all make pseudo-stacking-contexts. r+sr=dbaron 2006-09-19 20:58:36 +00:00
aaronleventhal%moonset.net bcb5fcb2c0 Bug 349519. Crash and incorrect results for getOffsetAtPoint. r=ginn.chen, sr=roc 2006-09-19 17:29:10 +00:00
timeless%mozdev.org 1e256fb19b Bug 352523 Warning: String literal converted to char* in formal argument aAttr in call to nsFrameUtil::Tag::GetAttr(char*).
r=roc sr=roc
2006-09-19 06:41:07 +00:00
bzbarsky%mit.edu feea3a45cc Reinstate reflow count painting when it's needed. Bug 352851, r+sr=roc 2006-09-19 04:26:20 +00:00
bzbarsky%mit.edu d2bf3432ae If we have to do a second pass because we found clearance on the first pass,
invalidate the entire area we're being moved to.  Otherwise invalidates from
the first pass will be lost.  Bug 352417, r+sr=roc
2006-09-19 00:15:15 +00:00
Olli.Pettay%helsinki.fi 4b1c4393e9 Bug 349931, crashes during drag-and-drop, r+sr=roc 2006-09-18 08:47:06 +00:00
smontagu%smontagu.org 0a2168427f When text is displayed from right to left natively, reverse the coordinates of selection decoration to match. Bug 349352, r=uriber, sr=bz 2006-09-13 08:10:19 +00:00
mats.palmgren%bredband.net 63da0cfd56 Remove an optimisation that prevented views from being reparented in some situations. b=351225 r+sr=roc 2006-09-12 03:47:38 +00:00
uriber%gmail.com 38c1e056e9 Refactor nsIFrame::PeekOfset to use iteration instead of recursion, plus some more related refactoring. bug=300131 r+sr=roc 2006-09-11 20:43:01 +00:00
uriber%gmail.com 0fa608ce5e Backing out bug 300131 until I figure out how to deal with the bustage. 2006-09-11 08:03:28 +00:00
uriber%gmail.com d869620f7f Change nsIFrame::PeekOffset back to NS_IMETHOD to fix bustage from bug 300131 2006-09-11 07:44:59 +00:00
uriber%gmail.com 95b377fc13 Refactor nsIFrame::PeekOfset to use iteration instead of recursion, and some related refactoring. bug=300131 r+sr=roc 2006-09-11 06:39:56 +00:00
sayrer%gmail.com 9395f31ee3 bug 348669. Remove inappropriate nsCRT::free usage. r=timeless, sr=dbaron 2006-09-08 04:35:17 +00:00
bzbarsky%mit.edu f230b8c84b Update our cached YMosts when our regions are cleared. Bug 351202, r+sr=roc 2006-09-07 03:01:25 +00:00
smontagu%smontagu.org c54186691c Make the test for visual order before Arabic shaping more fine-grained. Bug 258099, r=uri, sr=roc 2006-08-30 14:20:46 +00:00
uriber%gmail.com ca5218736c Allow users of nsFrameTraversal to specify what features they want the iterator to have, and make nsFrame::GetFrameFromDirection() specify "following OOFs". bug=334626 r+sr=roc 2006-08-30 13:38:16 +00:00
uriber%gmail.com 186084ac05 Use the caret visual position as a base for visual movement, but the logical position as a base for logical movement. bug=350012 r=smontagu sr=roc 2006-08-30 09:26:39 +00:00
bzbarsky%mit.edu 33ea7b8269 When cleaning up anonymous content, let the ESM know; that way if any of it is
:hover or :active the state will be updated accordingly.  Bug 314346, r+sr=roc
2006-08-29 22:00:26 +00:00
bzbarsky%mit.edu c36c5046fd Speed up ClearFloats for cases when we have lots of floats. Bug 349113, r+sr=roc 2006-08-29 21:56:51 +00:00
joshmoz%gmail.com a8722319b3 use slower idle event timer for plugins that are hidden by tabs. b=336060 r=mento sr=jst 2006-08-29 19:14:53 +00:00
timeless%mozdev.org 97d86b0df2 Bug 106386 Correct misspellings in source code
r=bernd rs=brendan
2006-08-28 20:12:37 +00:00
mats.palmgren%bredband.net 31e06677ed Don't iterate past the beginning line (crash fix). b=350370 r+sr=bzbarsky 2006-08-28 07:30:01 +00:00
mats.palmgren%bredband.net 889bd7963e Don't overlap scroll frame margin box with float (regression). b=350046 r+sr=roc 2006-08-25 22:55:32 +00:00