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

4307 Коммитов

Автор SHA1 Сообщение Дата
dbaron%dbaron.org 6d9da6b006 Set curpos after maxpos to fix restoration of horizontal scrollbar in RTL scrolled all the way to the left. b=333829 Patch from Hideo Saito <saito@densan.co.jp>. r+sr=dbaron 2006-04-16 06:34:45 +00:00
sharparrow1%yahoo.com f7dd72b604 Bug 328395: deal with an nsTypedSelection existing after its presentation is destroyed so it doesn't crash. r=bzbarsky, sr=roc 2006-04-14 00:28:22 +00:00
martijn.martijn%gmail.com 96774ce7bc Bug 333136 - scrollSelectionIntoView should try to scroll the complete selection into view, r+sr=roc 2006-04-13 15:40:52 +00:00
sharparrow1%yahoo.com ace92acc3f Bug 333590: fix input field scrolling. r+sr=dbaron 2006-04-12 01:55:25 +00:00
bzbarsky%mit.edu 9a725b0dff Make line boxes have the right width when justifying. Bug 309761, r+sr=roc 2006-04-12 01:07:01 +00:00
sharparrow1%yahoo.com 43495f2460 Bug 332927: missed a file 2006-04-11 02:20:24 +00:00
sharparrow1%yahoo.com 3b62c93943 Bug 332927: Cleanup iframe/frame printing code (and a couple other misc. cleanups) 2006-04-11 01:48:48 +00:00
uriber%gmail.com 79453fd0ba Bug 314519: Caret skips blank lines using right-arrow key in some cases of preformatted text. r+sr=roc 2006-04-10 06:49:50 +00:00
roc+%cs.cmu.edu a7f03736a9 Bug 328926. Remove aPresContext parameter from nsIFrame::Destroy, nsIFrame::SetInitialChildList and nsIFrame::RemovedAsPrimaryFrame. patch by Marc Liddell, r+sr=roc 2006-04-10 00:16:29 +00:00
roc+%cs.cmu.edu 6428e72efd Bug 282173. Remove BuildFloatList. r+sr=dbaron 2006-04-09 22:56:27 +00:00
uriber%gmail.com 22b463bc6d Implemented bidi.edit.caret_movement_style pref, default is "visual, but logical during selection". bug=330175 r=smontagu sr=roc 2006-04-08 14:45:48 +00:00
dbaron%dbaron.org 9e499dc761 Fix state restoration for RTL cases. b=331607 Patch from Hideo Saito <saito@densan.co.jp>. r+sr=dbaron 2006-04-07 19:51:46 +00:00
uriber%gmail.com be0af2692d Make wordSelectEatSpaceAfter take effect when moving forward relative to the paragraph direction, regardless of the text frame direction. bug=299535 r+sr=roc 2006-04-06 08:21:12 +00:00
dbaron%dbaron.org 04b8c33eda Remove uses of MOZ_DECL_CTOR_COUNTER, which is always defined to nothing. b=332745 rs=roc,bzbarsky 2006-04-05 00:00:44 +00:00
bzbarsky%mit.edu 8a650e0704 Make sure to not rely on how scrollframes handle frame offsets (esp. since it's
changed) when positioning fixed-pos frames.  Bug 331729, r+sr=roc
2006-04-04 22:36:01 +00:00
pavlov%pavlov.net 59b4759574 add type info to thebes. bug 332743. r=vlad 2006-04-04 21:54:22 +00:00
uriber%gmail.com a7e3df36fd Bug 299240: BiDi: Caret gets stuck (or moves cyclically) when using Ctrl+arrow and reaching a reverse-direction character/word followed by punctuation. r=smontagu sr=roc 2006-04-03 08:05:46 +00:00
sharparrow1%yahoo.com dc0d45c95e 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. 2006-04-01 01:19:28 +00:00
darin%meer.net 20837f71e1 fixes bug 328925 "Replace NS_WARN_IF_FALSE with NS_ASSERTION (where appropriate)" r=dbaron 2006-03-30 18:40:56 +00:00
dbaron%dbaron.org f48c0f2904 Reorder FinishAndStoreOverflow and SyncFrameViewAfterReflow so it does what I intended. b=331458 r+sr=roc 2006-03-30 04:26:36 +00:00
sharparrow1%yahoo.com 1e650e3784 Bug 331415: some printing code cleanup. r+sr=roc. 2006-03-30 00:27:42 +00:00
dbaron%dbaron.org 0e88f73bc6 Single line comments to describe files (helpful in LXR) 2006-03-29 18:29:03 +00:00
uriber%gmail.com a93a7ba7f6 For left/right arrows, don't flip the hint in PeekOffset(); instead figure it afterwards in MoveCaret(). bug=331444 r=smontagu sr=roc 2006-03-28 18:33:37 +00:00
rbs%maths.uq.edu.au a87237ad06 Re-checkin as it showed no impact on luna's TDHML bug 331661. Introduce a soft-break flag that means that a whitespace has been trimmed at the end of the line, and therefore its width has not been accounted for (this width can actually be large, e.g., if a large word-spacing is set). LineLayout should not be misled into placing something where the whitespace was trimmed. b=329987, r+sr=bz 2006-03-27 07:04:29 +00:00
rbs%maths.uq.edu.au a9f97d0fd5 Backing out to investigate the DHTML jump on luna, bug 331661 2006-03-27 05:21:44 +00:00
dbaron%dbaron.org a3b8c9f9c5 Fix two regressions related to sizing of canvas frames. b=331458 r+sr=roc 2006-03-26 22:12:54 +00:00
roc+%cs.cmu.edu 0a10a79f62 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 2006-03-26 21:30:36 +00:00
roc+%cs.cmu.edu 66f160897b Bug 328946. Mark reflowed block as non-dirty earlier, so we don't get a spurious assertion. r+sr=dbaron 2006-03-26 21:02:19 +00:00
dbaron%dbaron.org 80962467f4 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 2006-03-26 00:48:03 +00:00
Olli.Pettay%helsinki.fi ee372ff167 Bug 330710, Replace obsolete preventBubble/preventCapture with stopPropagation, r=neil, r=mconnor, sr=jst 2006-03-25 22:03:49 +00:00
rbs%maths.uq.edu.au b622717f33 Introduce a soft-break flag that means that a whitespace has been trimmed at the end of the line, and therefore its width has not been accounted for (this width can actually be large, e.g., if a large word-spacing is set). LineLayout should not be misled into placing something where the whitespace was trimmed. b=329987, r+sr=bz 2006-03-24 22:45:05 +00:00
cvshook%sicking.cc 4845457d08 Bug 329974: Share textdata for common textnode values. r/sr=jst 2006-03-24 03:29:52 +00:00
uriber%gmail.com 2ca4a24853 Bug 331440: Remove eSelectDir from nsSelectionAmount enum, and all references to it. r+sr=roc 2006-03-23 18:36:44 +00:00
uriber%gmail.com 4faccc8fe3 Simplified bidi code in GetFrameFromDirection; changed bidi semantics of eDirPrevious, eDirNext. bug=330815 r=smontagu sr=roc 2006-03-23 08:30:30 +00:00
uriber%gmail.com ba0d30b880 In nsTextEditRules::CheckBidiLevelForDeletion(), use nsSelection::GetPrevNextBidiLevels to determine bidi levels. bug=330460 r=smontagu sr=roc 2006-03-23 08:20:29 +00:00
dbaron%dbaron.org b750924680 It is no longer correct to assume 0 as a default value for curpos, due to translations of curpos when scrolling left of the viewport. b=331049 r+sr=roc 2006-03-23 03:45:41 +00:00
dbaron%dbaron.org 3f66d4d2e5 Fix clamping of scrollable area in light of ability to scroll to the left. b=330732 r+sr=roc 2006-03-23 00:13:07 +00:00
dbaron%dbaron.org cddde62e12 Add comment about importance of view sizing. b=330732 r+sr=roc 2006-03-23 00:11:43 +00:00
bryner%brianryner.com 7a96206e10 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. 2006-03-22 18:36:36 +00:00
dbaron%dbaron.org 54fbff212f Avoid potential problems initializing attributes to -1. b=192767 r+sr=roc 2006-03-22 07:10:31 +00:00
uriber%gmail.com a52c79e7ad Bug 330881: Crash when double-clicking in empty area inside isindex with position:absolute;direction:rtl;. r+sr=roc 2006-03-20 09:20:49 +00:00
vladimir%pobox.com 10491893d5 Re-landing fixed cairo update, r=pav 2006-03-17 22:24:30 +00:00
vladimir%pobox.com a3e8a2106f People tell me that quadrupling Tp is bad. Me? I want a second opinion. 2006-03-17 07:44:38 +00:00
vladimir%pobox.com 702e1a67ff b=330738, update in-tree cairo to current cairo head 2006-03-17 04:05:32 +00:00
pavlov%pavlov.net 336a97d6bb forgot to remove Save/Restore before checking in. bug 328390. r=vlad sr=roc 2006-03-16 22:46:10 +00:00
pavlov%pavlov.net 5f68395a20 draw image selection using thebes in cairo builds instead of tiling an image. bug 328390. r=vlad sr=roc 2006-03-16 21:42:50 +00:00
bzbarsky%mit.edu 4b74ae14f8 Fix crash bug 322348 by making ReParentStyleContext more sane. r+sr=dbaron 2006-03-16 01:30:38 +00:00
uriber%gmail.com 7d6d83cbd0 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 2006-03-15 20:52:02 +00:00
uriber%gmail.com d5df8654d1 Bug 318116: Overflowing inlines in fixed-width RTL blocks overflow to the right instead of to the left. r=dbaron sr=roc 2006-03-15 17:10:35 +00:00
dbaron%dbaron.org c5e544ffdb Fix handling of auto margins on blocks and tables wider than their container. b=96394 r+sr=roc 2006-03-15 17:00:57 +00:00
dbaron%dbaron.org c37d9a2cf3 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 2006-03-15 16:55:19 +00:00
pavlov%pavlov.net 131e8794e2 backing out roc's patch for bug 328926 due to crash running tests on vc8 machines. 2006-03-15 06:43:36 +00:00
roc+%cs.cmu.edu 557b089a47 Bug 328926. Remove aPresContext parameter from Destroy and SetInitialChildList. patch by Marc Liddell, r+sr=roc 2006-03-15 03:14:02 +00:00
roc+%cs.cmu.edu 6fd863f2dd 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 2006-03-14 20:43:18 +00:00
uriber%gmail.com 90f8e80156 Bug 309286: Caret moves incorrectly in some cases of bidi HTML contained within an inline element in LTR context. r=smontagu sr=roc 2006-03-14 09:16:40 +00:00
masayuki%d-toybox.com 3f6364fd4e Bug 330268 RTL characters typed into a textarea after a long unbreakable string don't appear on screen until scrolled r+sr=rbs 2006-03-14 06:10:43 +00:00
sharparrow1%yahoo.com 96bf85b6ac Bug 329031 - home/end/ctrl+home/ctrl+end offset calculation cleanup. r=uriber, sr=roc. 2006-03-13 01:13:25 +00:00
uriber%gmail.com 46c5e43bfe Added missing parenthese from patch to bug 303884. bug=330284 r+sr=roc 2006-03-13 00:00:58 +00:00
uriber%gmail.com 1003ca6dd4 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 2006-03-12 09:49:48 +00:00
dbaron%dbaron.org 8561af7f31 Wrong branch. 2006-03-09 19:03:25 +00:00
dbaron%dbaron.org bbf8e077c6 NS_REFLOW_CALC_MAX_WIDTH should go (and maybe all of flags?) 2006-03-09 19:02:54 +00:00
roc+%cs.cmu.edu c2801ebbd7 Bug 328926. Remove aPresContext from nsIFrame::Init and nsIFrame::DidSetStyleContext. r+sr=roc, patch by Marc Liddell 2006-03-09 18:55:21 +00:00
roc+%cs.cmu.edu 64c6e67319 Bug 328881. Set the frame offset of scrolled frames correctly. This shouldn't affect anything immediately --- the offset is not used currently --- but it helps prepare for view removal and I'd like to catch regressions now. r+sr=dbaron 2006-03-09 18:46:14 +00:00
masayuki%d-toybox.com 2dfb698e3d Bug 164700 css word-spacing applies at &nbsp; at paint time but not at layout (reflow) time r+sr=rbs 2006-03-08 03:30:57 +00:00
Olli.Pettay%helsinki.fi f79ea0115b Bug 234455, Centralize event dispatch r=jst, sr=bz 2006-03-07 17:08:51 +00:00
bryner%brianryner.com 210588e5e5 Make sure documents have a container before deciding that they should be translucent (bug 327014). r+sr=roc. 2006-03-07 05:34:37 +00:00
cbiesinger%web.de b768303bda bug 329140
- check for pango rather than gtk2 for non-gtk2 specific code
- add pango/cairo cflags where necessary
- don't include gtk headers when not needed
r=vlad
2006-03-04 14:23:39 +00:00
bzbarsky%mit.edu 24944d8a8c Revert nsIGlobalHistory2 to what it was on the 1.8 branch. Move the new stuff
to nsIGlobalHistory3.  Bug 328928, r=brettw and smfr, sr=darin
2006-03-03 03:34:48 +00:00
bzbarsky%mit.edu e5bfa977ef Remove some no longer needed code. Bug 326017, r+sr=jst 2006-03-03 02:52:05 +00:00
uriber%gmail.com adac4c20d3 Bug 328876: Avoid compiler warning in nsFrame::GetSelectionClosestFrame(). r+sr=roc 2006-03-01 21:18:30 +00:00
uriber%gmail.com 44756b041a Bug 328655: Pressing "Home" or "End" on a blank line in a textarea in a bidi page moves the caret to the top of the textarea. r=smontagu sr=roc 2006-03-01 19:34:00 +00:00
uriber%gmail.com 92fe5cb863 Bug 326932: Triple-click paragraph selection doesn't work correctly in paragraphs containing form controls. r+sr=roc 2006-03-01 19:28:42 +00:00
sharparrow1%yahoo.com 67ecf34af4 Bustage fix; oops 2006-02-27 06:14:25 +00:00
sharparrow1%yahoo.com 35f936ecec Bug 320326: deCOMtaminate GetContentAndOffsetsFromPoint, plus some slight behavior changes. r+sr=roc. 2006-02-27 05:57:37 +00:00
roc+%cs.cmu.edu f132edee94 Bug 256311. Improve block reflow performance in the presence of many empty lines, by being more aggressive about caching block and line emptiness state, and by stashing a reference to a line that we know has nothing but empty lines above it. Relanding because I accidentally backed it out. r+sr=dbaron 2006-02-27 04:15:05 +00:00
roc+%cs.cmu.edu 1fac9c6d76 Backing out changes for bug 326944, really this time\! 2006-02-27 04:13:51 +00:00
roc+%cs.cmu.edu bde356f1f5 Backing out changes for bug 326944. 2006-02-27 03:22:03 +00:00
roc+%cs.cmu.edu e344f390f8 Bug 256311. Improve block reflow performance in the presence of many empty lines, by being more aggressive about caching block and line emptiness state, and by stashing a reference to a line that we know has nothing but empty lines above it. r+sr=dbaron 2006-02-27 02:51:57 +00:00
roc+%cs.cmu.edu b7126ee8e0 Bug 326944. Remove nsIComboboxControlFrame. r+sr=roc, patch by Marc Liddell 2006-02-27 02:33:26 +00:00
dbaron%dbaron.org dcc10543a7 Remove unused mCompactMarginWidth member. b=328551 r+sr=roc 2006-02-26 10:35:44 +00:00
martijn.martijn%gmail.com f51b81425f Bug 325507 - Replace nsISupportsArray with nsCOMArray in nsPluginInstanceOwner::EnsureCachedAttrParamArrays. r+sr=bzbarsky 2006-02-24 14:43:39 +00:00
pavlov%pavlov.net 7f1afefee2 fixing windows plugin clipping bugs. bug 328263. r=vlad 2006-02-23 20:55:42 +00:00
timeless%mozdev.org 426f83aecc Bug 298277 remove useless references to nsVoidArray
r=dbaron sr=dbaron
2006-02-23 10:30:59 +00:00
bzbarsky%mit.edu 1a344388ca Make it possible to target non-primary content <browser>s; specifically ones
that are type="content-targetable".  Bug 326009, r=bsmedberg, sr=jst
2006-02-22 03:58:48 +00:00
uriber%gmail.com c7032d59bb Bug 299065: Bidi resolution needs to split inlines in addition to text frames. r+sr=dbaron 2006-02-21 21:33:47 +00:00
roc+%cs.cmu.edu 8da62e8e0d Bug 327670. Fix memory leak from bug 317375. r+sr=dbaron 2006-02-21 21:06:17 +00:00
sharparrow1%yahoo.com eb67fd0b3d Bug 327868: nsIFrameSelection cleanup. r+sr=roc 2006-02-21 00:49:04 +00:00
smontagu%smontagu.org 7d305f0f17 Point Arabic lam alef pairs to lam-alef ligatures. Bug 308020, r+sr=roc 2006-02-12 09:43:18 +00:00
sharparrow1%yahoo.com ac6fed3850 Bug 321433 - Don't enable selection for printing. r+sr=roc. 2006-02-07 02:52:40 +00:00
sharparrow1%yahoo.com 8debca1822 Bug 326157: Get rid of unnecessary clipping code. r+sr=roc. 2006-02-07 02:22:06 +00:00
rbs%maths.uq.edu.au c505e89f88 CSS Letter-Spacing Heap Overflow, b=325403, r+sr=bz 2006-02-07 01:58:35 +00:00
roc+%cs.cmu.edu 4930422ce0 Bug 325093. Fix clip rect interpretation so print/print preview page clipping works. r+sr=dbaron 2006-02-06 21:08:34 +00:00
roc+%cs.cmu.edu 3325e08a88 Bug 78087. Propagate the canvas background to be the background of the entire viewport so it z-orders correctly in the viewport's stacking context. r+sr=dbaron 2006-02-05 20:55:47 +00:00
roc+%cs.cmu.edu 9acb9492ec Bug 78087. Propagate the canvas background to be the background of the entire viewport so it z-orders correctly in the viewport's stacking context. r+sr=dbaron 2006-02-05 20:52:13 +00:00
sharparrow1%yahoo.com fd42b81b2d Bug 253076 make clicks on canvas go into standard frame selection code. r=bzbarsky,sr=roc 2006-02-04 00:23:49 +00:00
bzbarsky%mit.edu c9662bfe8c Fix bug 303039 -- make sure to get the right max-width even if we have no
lines.  r+sr=roc
2006-02-03 18:50:41 +00:00
cbiesinger%web.de c2d981f764 bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
r+sr=darin
2006-02-03 14:18:39 +00:00
sharparrow1%yahoo.com e9f2e44e52 Bug 324915 -- fix crash printing iframes by adding null check. r+sr=roc. 2006-02-03 04:51:48 +00:00
bzbarsky%mit.edu 263cf7dc11 Push up GetPrincipal to nsINode (as GetNodePrincipal). This way all nsINodes
(content, documents, attr nodes) can return their principal as needed.
Eliminate lazy allocation of principals in nsDocument.  Bug 324600, r=sicking, sr=jst
2006-02-02 20:02:34 +00:00
cbiesinger%web.de 169078fb2f bug 322414
- clean up nsObjectFrame and remove unnecessary includes
- make the instanceowner hold an owning reference to the content node
- use GetOwnerDoc rather than GetCurrentDoc
r+sr=bz
2006-02-02 19:29:10 +00:00