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

4548 Коммитов

Автор SHA1 Сообщение Дата
bzbarsky%mit.edu 3ff9bf85e8 Remove some unnecessary members and code. Bug 335477, patch by Marc Liddell
<marcldl+mozbugs@gmail.com>, r+sr=roc
2006-08-25 16:46:22 +00:00
mats.palmgren%bredband.net d246a69ba0 Don't steal floats from descendant float containing blocks. b=348887 (patch B) r+sr=roc 2006-08-25 04:17:41 +00:00
smontagu%smontagu.org c9243fd53d Only strip zero-width joiner and non-joiner control characters when we do our own Arabic shaping (hunk missed in original checkin). Bug 280936, r=jshin, sr=rbs 2006-08-24 07:34:29 +00:00
mats.palmgren%bredband.net fd99ce03ed 1. Make scroll frames non-splittable.
2. Make a placeholder splittable only if the out-of-flow is.
3. If a float placeholder is not splittable then place it immediately
   instead of failing to reflow it because it can't be split.
b=337419 (Patch B) r+sr=roc
2006-08-24 05:22:16 +00:00
mats.palmgren%bredband.net 197aeb9174 Don't steal floats from descendant float containing blocks. b=348887 r+sr=roc 2006-08-22 03:04:18 +00:00
mats.palmgren%bredband.net 02eaae11b6 Improve error handling in nsCSSFrameConstructor::CreateContinuingFrame() and its callers. b=337419 r+sr=roc 2006-08-22 01:33:46 +00:00
mats.palmgren%bredband.net ed6210be3f Leave the placeholder's pointer to the out-of-flow intact because the float cache depends on it later on. b=348688 r=bzbarsky sr=roc 2006-08-17 13:15:26 +00:00
smontagu%smontagu.org f523dcb211 Only strip zero-width joiner and non-joiner control characters when we do our own Arabic shaping. Bug 280936, r=jshin, sr=rbs 2006-08-17 09:23:13 +00:00
roc+%cs.cmu.edu 4624c28ff3 Bug 345071. Fix PrepareUnicodeText to handle words in the current textnode that extend past the end of the frame. r=smontagu,sr=rbs 2006-08-16 01:57:06 +00:00
dbaron%dbaron.org 7ff576f023 Use SetMEWToActualWidth when we set the MEW to the actual width. b=331684 r+sr=bzbarsky 2006-08-16 00:20:02 +00:00
uriber%gmail.com 24ef1f7947 In GetPrevNextBidiLevels, treat the "before <br>" case as if we were end-of-line. bug=330461 r=smontagu sr=roc 2006-08-14 11:25:57 +00:00
sayrer%gmail.com 6fa03a1730 Bug 340554. Provide sanitizing fragment sinks for use with feeds. r=mrbkap. sr=jst 2006-08-12 04:46:43 +00:00
bzbarsky%mit.edu ce0ea52255 Pseudo-elements are not the root. Bug 334602, r+sr=dbaron 2006-08-12 02:14:39 +00:00
brettw%gmail.com e15b1129b4 Bug 346729 r+sr=bryner Table cell selection is broken (get multiple copies on paste) 2006-08-10 19:56:43 +00:00
uriber%gmail.com 8982c70f78 Moved mCaretBidiLevel and its accessors from nsPresShell to nsFrameSelection. Also added sBidiKeyboard as a static service to nsContentUtils. bug=346891 r+sr=roc 2006-08-08 05:14:52 +00:00
uriber%gmail.com 1424fdd54a Attempt to fix bustage from bug 333883. 2006-08-07 11:24:57 +00:00
uriber%gmail.com 97d95c3f78 Refactored nsSelection::GetPrevNextBidiLevels to use GetFrameFromDirection; moved GetFrameFromDirection from nsFrame to nsIFrame and made it nonvirtual. bug=333883 r=smontagu sr=roc 2006-08-07 10:54:56 +00:00
uriber%gmail.com e1041f44ef Create bidi embedding only around inline containers (with a specified direction), not around inline replaced elements. bug=169139 r+sr=bzbarsky 2006-08-07 07:40:28 +00:00
masayuki%d-toybox.com cda341c040 Bug 346417 RTL justify code is wrong in nsTextFrame r=smontagu, sr=roc 2006-08-07 06:27:57 +00:00
mats.palmgren%bredband.net 44482a83ce Don't propagate the NS_BLOCK_FRAME_HAS_OUTSIDE_BULLET flag from a prev-in-flow. b=337412 r+sr=roc 2006-08-06 03:27:00 +00:00
gavin%gavinsharp.com 0d29551cd2 Bug 338368: fix uninitialized variable used in nsTextFrame::PaintAsciiText, patch by Nickolay Ponomarev <asqueella@gmail.com>, r+sr=roc 2006-08-04 14:29:48 +00:00
Olli.Pettay%helsinki.fi 2c20730cd7 Bug 336592, Fixing mistake in previous patch, PRUint32->PRInt32, r+sr=roc 2006-08-04 07:35:35 +00:00
uriber%gmail.com 8c0e3dd5b7 Handle returning nulls from CheckLineOrder correctly. bug=345616 r=smotagu sr=roc 2006-08-04 05:40:57 +00:00
roc+%cs.cmu.edu d37535bf42 Bug 346035. Force <stack> children to be full-fledged stacking contexts and put their display items in the Content display list. r+sr=dbaron 2006-08-03 21:39:39 +00:00
uriber%gmail.com af8d06933c Check for a null aNode in nsTypedSelection::ContainsNode and return immediately. bug=347036 r=brettw sr=bryner 2006-08-03 19:22:50 +00:00
uriber%gmail.com cee7609648 Enable PeekOffset to find the visual beginning/end of a line, and use use it for bidi caret positioning. bug=302051 r=smontagu sr=roc 2006-08-03 06:24:11 +00:00
brettw%gmail.com 83c62ff171 Bug 346185 r=uriber sr=bryner fixing one of two misspelled words in a line makes spellcheck underline disappear on both 2006-07-31 18:25:22 +00:00
smontagu%smontagu.org 6330067fc1 Bidi support for alternate text: reorder the text correctly, align text and icon to the right when direction is right-to-left, and create a bidi embedding when the alternate text is displayed inline. Bug 345954, r=uriber, sr=bzbarsky 2006-07-31 07:08:45 +00:00
mats.palmgren%bredband.net a57c971e9a Don't make a frame on the overflow line list a sibling to a frame on the principal line list. b=344557 r+sr=roc 2006-07-29 09:38:35 +00:00
martijn.martijn%gmail.com d22f55b012 Bug 271442 - Flash element behaves weird if inside a floated element with overflow:auto, patch by Graham Sanderson, r+sr=roc 2006-07-28 22:59:05 +00:00
mats.palmgren%bredband.net a9e4efa770 Removed a bogus assertion. b=345699 r+sr=roc 2006-07-28 09:18:27 +00:00
brettw%gmail.com fd061c8cbc Bug 345099 r+sr=bryner Fix includes from main patch on this bug 2006-07-27 21:46:34 +00:00
brettw%gmail.com 7a49e43b77 Fix bustage from bug 345099 2006-07-27 18:39:18 +00:00
brettw%gmail.com d15c579c18 Bug 345099 r=uriber sr=bryner Sort ranges in selection for faster comparison. 2006-07-27 17:57:15 +00:00
gavin%gavinsharp.com c19fb04fdf Bug 342479: fix compiler warning @ nsFloatCacheList::RemoveAndReturnPrev in nsLineBox.cpp, patch by Ryan VanderMeulen <ryanvm@gmail.com>, r+sr=roc 2006-07-24 18:57:42 +00:00
masayuki%d-toybox.com 573e6523ef b=255990 backing-out the previous patch, we should try to better fix. 2006-07-20 09:04:39 +00:00
cvshook%sicking.cc 3a9a287253 Bug 344050: Kill nsITextContent and move the methods to nsIContent. r/sr=jst 2006-07-19 04:36:36 +00:00
aaronleventhal%moonset.net 58cd497621 Bug 334353. Duplicate insert/delete events. r=evan.yan, sr=roc 2006-07-19 01:56:54 +00:00
bzbarsky%mit.edu 169adf2470 Return null from GetPluginInstance without throwing if there's just no plugin.
Bug 344830, r=biesi, sr=jst
2006-07-18 20:43:58 +00:00
uriber%gmail.com 2322fdcee9 Simplify handling of the eSelectNoAmount case in nsFrame::PeekOffset. bug=344514 r+sr=roc 2006-07-18 07:32:58 +00:00
uriber%gmail.com 3bef115769 Fix bidi behavior of ctrl+backspace and ctrl+del. bug=344226 r=smontagu sr=roc 2006-07-18 07:28:38 +00:00
sharparrow1%yahoo.com b3040b6648 Bug 334588: Choose font consistently for page headers/footers, and remove localized header font name and size. r+sr=roc. 2006-07-14 16:07:28 +00:00
Olli.Pettay%helsinki.fi 61792b273c Bug 343613, Make EventStateManager to use nsWeakFrame, r+sr=roc 2006-07-14 07:55:51 +00:00
masayuki%d-toybox.com 42ba5d983c Bug 255990 Characters below U+0100 are not subject to line-breaking rules at all r=jshin+mrbkap, sr=roc 2006-07-14 04:57:05 +00:00
sharparrow1%yahoo.com 2dbafa80ee Bug 344583: misc cleanup. r+sr=roc 2006-07-14 03:02:37 +00:00
masayuki%d-toybox.com 0cd7e0b5ee b=255990 backing-out the patch, because DomToTextConversionTest failed 2006-07-13 21:04:25 +00:00
masayuki%d-toybox.com ab8ee052c9 Bug 255990 Characters below U+0100 are not subject to line-breaking rules at all r=jshin+mrbkap sr=roc 2006-07-13 20:25:46 +00:00
masayuki%d-toybox.com cdc8ed3106 b=255990 backing-out the patch, because DomToTextConversionTest failed 2006-07-13 19:41:39 +00:00
masayuki%d-toybox.com 421034d9e5 Bug 255990 Characters below U+0100 are not subject to line-breaking rules at all. the patch based on jshin's patch. r=jshin, sr=roc 2006-07-13 17:42:39 +00:00
uriber%gmail.com 100bcb5400 Use GetFrameForNodeOffset instead of GetPrimaryFrameFor when extending selection for doubleclick-drag. bug=344384 r+sr=roc 2006-07-13 09:08:56 +00:00
roc+%cs.cmu.edu 672343880e Bug 342322. It's OK for mNext to be non-null when we remove an element. r+sr=dbaron 2006-07-13 08:15:31 +00:00
uriber%gmail.com e121423cb8 Clean up nsPeekOffsetStruct. bug=343763. r+sr=roc 2006-07-13 06:06:29 +00:00
aaronleventhal%moonset.net 43788a6301 Fixing bustage 2006-07-12 14:35:43 +00:00
aaronleventhal%moonset.net eeb76de112 Bug 340667. New ATK: Expose <br>'s as \n character, combining before & after blocks of text together. r+sr=roc 2006-07-12 13:51:50 +00:00
uriber%gmail.com 6f21109f82 Always use the visual iterator when moving visually in a bidi page, even if the current line or adjacent lines are LTR. bug=309432 r=smontagu sr=roc 2006-07-12 11:22:18 +00:00
Olli.Pettay%helsinki.fi 00bb6d99a7 Bug 343457, Adding nsWeakFrame, r+sr=roc 2006-07-12 07:41:11 +00:00
uriber%gmail.com 791743405c Bug 16203: double-click drag should do selection in "word-by-word" mode. r+sr=roc 2006-07-12 07:07:36 +00:00
aaronleventhal%moonset.net 99b585f939 Bug 342035. Create accessibles for all block level elements so that ATs can determine line spacing. r=ginn.chen, sr=neil, sr=roc 2006-07-11 22:14:09 +00:00
aaronleventhal%moonset.net 29bbce1d33 Bug 342596. Allow start/end of word to be specified for PeekOffset(). Necessary for upcoming nsIAccessibleText::GetText[At|Before|After]Offset() methods. r=uriber, sr=roc 2006-07-11 22:11:02 +00:00
Olli.Pettay%helsinki.fi ce0745a535 backing out Bug 343457 too see if it caused btek tp regression 2006-07-11 20:18:07 +00:00
Olli.Pettay%helsinki.fi 4451e7f11c Bug 343457, Add nsWeakFrame, r+sr=roc 2006-07-11 13:01:07 +00:00
mats.palmgren%bredband.net cde65ad7de Block-level replaced element margin box must not overlap any floats. b=342531 r+sr=dbaron 2006-07-05 03:53:22 +00:00
uriber%gmail.com 17081d4ed2 Limit the fix for bug 337135 to the -moz-pre-wrap case only. bug=343390, r+sr=roc 2006-07-03 07:12:42 +00:00
cvshook%sicking.cc 2c39937d84 Bug 342062: Add nsIMutationObserver which has the ability to get notifications for just mutations happening in a subtree under a given node. r/sr=bz 2006-07-02 07:23:10 +00:00
mats.palmgren%bredband.net 153ab238ca Fix crash when recreating <caption> frames. Add ASSERTIONs to detect similar frame construction errors in the future. b=341382 r+sr=bzbarsky 2006-06-29 02:32:36 +00:00
roc+%cs.cmu.edu a42c58298b relanding fix for bug 317278 :-( 2006-06-29 01:19:48 +00:00
uriber%gmail.com a275cb73e1 Allow removing multiple trimmed whitespace characters when painting text. bug=337135 r+sr=roc 2006-06-28 12:14:48 +00:00
roc+%cs.cmu.edu 1621ac24bd Bug 237085. Move string subdivision code to gfx so we can efficiently make it metrics-dependent. r=smontagu,sr=rbs 2006-06-26 22:18:23 +00:00
dveditz%cruzio.com 4a2fa425a7 bug 284219 addendum, missed biesi's review comment 2006-06-22 22:21:52 +00:00
martijn.martijn%gmail.com 23fbacf5e2 Bug 342422 - Using createRange() and then adding that range to the selection with addRange throws exception, r+sr=bzbarsky 2006-06-22 19:07:33 +00:00
dveditz%cruzio.com 506140bd0c Bug 284219: add EnsureStringLength() helper function to nsReadableUtils.h to
simplify OOM checks when growing an nsAString. r/sr=darin
2006-06-22 19:07:30 +00:00
roc+%cs.cmu.edu deaf468704 Bug 342093. Use GetPositionIgnoringScrolling where we can, now that it exists. r+sr=bzbarsky 2006-06-20 21:13:05 +00:00
dbaron%dbaron.org f9f61d868a Make conditions that cause additional pass for shrink wrap case less restrictive so that we do the additional pass inside a shrink-wrap scrollframe. b=325680 r+sr=roc 2006-06-20 00:46:32 +00:00
mark%moxienet.com a7213b13b5 209989 After Find Again (Ctrl-G/F3), text highlighting color becomes green. Patch (tweak) by Peter Kasting <pkasting@google.com>. r=dbaron 2006-06-20 00:30:18 +00:00
roc+%cs.cmu.edu ab87d3edb5 Bug 317278. Reland patch that reflows lines again if we detect some already-placed floats need to move to the next line. This time, with changes to nsSpaceManager's PushState/PopState infrastructure so that dynamic allocations are never required; the saved state is always stack-allocated by callers. r+sr=dbaron 2006-06-19 23:06:59 +00:00
roc+%cs.cmu.edu ed0bc93ff0 Backing out patch for 317278 due to Tp regression 2006-06-19 01:29:07 +00:00
roc+%cs.cmu.edu cc52ece1a1 Bug 317278. In some cases we push float placeholders from one line to the next after we have already placed their floats on the line. In such situations, reset the space manager and force the line to reflow again so those floats don't get placed. r+sr=dbaron 2006-06-19 00:02:49 +00:00
timeless%mozdev.org 27eaab5dcd Bug 337917 Make consumers stop using cids from other modules 2006-06-18 21:18:22 +00:00
mark%moxienet.com a66ed53902 209989 After Find Again (Ctrl-G/F3), text highlighting color becomes green. Patch by Peter Kasting <pkasting@google.com>. r=mconnor sr=dbaron 2006-06-17 01:05:26 +00:00
dbaron%dbaron.org 8ade31392b Implement a stub imgIDecoderObserver to save code size in content and layout. b=339612 r+sr=sicking 2006-06-16 21:07:47 +00:00
roc+%cs.cmu.edu a0ca718bfc Bug 334765. Fix XUL boxobject coordinates to not take scrolling into account. Second try, with a patch that hopefully won't regress Tp. r+sr=bzbarsky 2006-06-16 02:40:29 +00:00
mrbkap%gmail.com 75ca976432 Avoid a crash in nsAutoScrollTimer by keeping a reference to the content instead of the view. bug 322084, patch by jpl24 <jlurz24@gmail.com>, r+sr=roc 2006-06-16 01:54:31 +00:00
uriber%gmail.com ab53025882 Bug 328168: Horizontal paddings, borders and margins on multi-frame bidi inlines appear in the wrong places. Patch by Haamed Gheibi <gheibi@gmail.com>. r=roc+uriber, sr=roc. 2006-06-15 08:16:23 +00:00
roc+%cs.cmu.edu 8306f1b819 Bug 341141. Position abs-pos clip rects correctly. r+sr=bzbarsky 2006-06-15 03:25:33 +00:00
dbaron%dbaron.org 406dcbe44e Fix regression by re-retrieving style struct after changing the frame we're dealing with. b=340798 Patch by Robert O'Callahan <roc@ocallahan.org>. r+sr=dbaron 2006-06-09 21:04:21 +00:00
roc+%cs.cmu.edu dffcabfea0 Bug 338251. Create safe wrappers for gfx text functions and use them. r=smontagu,sr=rbs 2006-06-09 03:29:32 +00:00
uriber%gmail.com 6e1f1e3dfc Allow searching a line for a frame starting from a given point, to improve performance of forward-moving searches. Used in bidi resolution. bug=339935, r+sr=roc 2006-06-08 08:41:51 +00:00
roc+%cs.cmu.edu 82e7436876 Bug 331590. Treat inline-box/grid/stack XUL elements like inline blocks, making them pseudo-stacking-contexts. r+sr=dbaron 2006-06-08 03:35:29 +00:00
roc+%cs.cmu.edu e7e6b5ae2a Bug 336121. Treat table outer frames as psuedostacking contexts. r+sr=dbaron 2006-06-08 03:32:06 +00:00
roc+%cs.cmu.edu 5f052f1225 Fixing bustage 2006-06-08 02:41:32 +00:00
roc+%cs.cmu.edu 597d8bc582 Bug 339889. Propagate invalidation through the frame hierarchy to topmost widgets. r+sr=bzbarsky 2006-06-08 01:11:43 +00:00
mats.palmgren%bredband.net 914a48ea72 Make the frame dump in CheckFloats() DEBUG_roc only. b=322436 r+sr=roc 2006-06-07 01:39:48 +00:00
vladimir%pobox.com c9a711e596 b=325465, flash is not rendered properly with cairo builds (windowless plugins on win32); r=stuart 2006-06-06 18:41:24 +00:00
timeless%mozdev.org a768026fc9 Bug 337917 Make consumers stop using cids from other modules
r=smontagu sr=darin
2006-06-03 23:35:59 +00:00
dbaron%dbaron.org cd4d6ee0e9 Fix GC hazards associated with event handlers on images only reachable from their current network loads, some of which are regressions from 241518. b=321054 r=darin sr=bzbarsky 2006-06-01 18:35:21 +00:00
brettw%gmail.com 8a33f7a7c3 Bug 337871 r+sr=roc Screen jumps around with multiple textboxes and spellchecking 2006-05-30 21:59:56 +00:00
uriber%gmail.com 0ba372b7aa Fix triple-click paragraph selection near block generated content. bug=339430, r+sr=roc 2006-05-29 08:32:46 +00:00
mats.palmgren%bredband.net 678511471c Bustage fix (bug 337883) 2006-05-25 01:48:00 +00:00
mats.palmgren%bredband.net a5a64a9fb9 Clear the float cache from placeholders that are descendants of the frame we remove. b=337883 r+sr=roc 2006-05-25 01:30:34 +00:00
uriber%gmail.com e152dfc26d Adjust the fix for bug 334256 so that it does not affect non-normal selections. bug=338315, r+sr=roc 2006-05-22 16:56:44 +00:00
Olli.Pettay%helsinki.fi cb1f0a0bb9 Bug 338122, Crash [@ nsIMEStateManager::IsActive] when window gets removed on mousedown at button, r+sr=roc 2006-05-19 10:26:44 +00:00
brettw%gmail.com df4d5349b9 Bug 336679 r+sr=roc the text/lines disappears when spellchecking Unicode text and focus is lost 2006-05-15 19:20:32 +00:00
Olli.Pettay%helsinki.fi 71cc3ffc30 Bug 336592, Crash when window gets destroyed during selection event, r+sr=roc 2006-05-12 06:40:49 +00:00
uriber%gmail.com c5c3c2492b Bug 336590: Caret can not be placed after space at the end of a wrapped line in textarea, using the mouse. r+sr=roc 2006-05-11 16:28:01 +00:00
darin%meer.net 0318b8c707 landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb 2006-05-10 17:30:15 +00:00
timeless%mozdev.org c3d5345371 Bug 334897 Useless null check of shell in nsFrame::Destroy
r=dbaron sr=dbaron
2006-05-06 21:42:49 +00:00
uriber%gmail.com 28bd16f046 Fixed reversed order of parameters for call to nsPrevNextBidiLevels::SetData(). bug=336617 r+sr=roc 2006-05-06 12:56:45 +00:00
cvshook%sicking.cc d3ec0aa5c5 Bug 335911: Change nsIContent::IsContentOfType to nsINode::IsNodeOfType. r/sr=bz 2006-05-05 06:52:21 +00:00
roc+%cs.cmu.edu 24a69fc8fa Bug 330905. nsPageContentFrame::BuildDisplayList needs to call its superclass to get fixed-pos elements to display. r+sr=dbaron 2006-05-03 21:44:41 +00:00
roc+%cs.cmu.edu dd79ad6903 Bug 336186. Fix use of uninitialized rv. patch by Marc Liddell, r+sr=roc 2006-05-03 21:39:55 +00:00
aaronleventhal%moonset.net e4210b85b2 Bug 336162. Don't fire DOM events from layout. r+sr=bz 2006-05-03 17:02:37 +00:00
uriber%gmail.com 9bfd13e9f1 When sliding frames to the left to account for trimmed trailing whitespace, update the frame rectangle itself if necessary. bug=333560 r+sr=roc 2006-05-03 10:28:58 +00:00
bzbarsky%mit.edu b1ee2830dd Make nsIDocumentEncoder::init scriptable. Bug 330517, patch by jpl24
<jlurz24@gmail.com>, r=bzbarsky, sr=sicking
2006-05-01 05:25:52 +00:00
masayuki%d-toybox.com 4a98e11533 Bug 335474 Crash in [@ nsCSSRendering::DrawDashedSides] r+sr=roc 2006-04-28 23:21:01 +00:00
mrbkap%gmail.com 695809a291 Update the caret position after reflows to avoid turds. bug 334649, r+sr=roc 2006-04-28 04:33:41 +00:00
bzbarsky%mit.edu 0c3706888c Rename GetNodePrincipal to NodePrincipal. Bug 327246, r+sr=sicking 2006-04-27 18:21:11 +00:00
aaronleventhal%moonset.net fc7797defd Bug 326090. Expose <hr> as ROLE_SEPARATOR. Patch by Ming (Mike) Gao. r=aaronlev, sr=roc 2006-04-27 16:23:09 +00:00
aaronleventhal%moonset.net 6077887e84 Bug 310921. AccessibleObjectFromPoint wrong when a span ends the previous line within the same block. In fact the next text object after that wasn't even exposed. r=ginn.chen, sr=roc 2006-04-27 15:47:22 +00:00
roc+%cs.cmu.edu d9cf8d8bf8 Bug 335140. Set 'force descend into' bit on frames and then leave it set until we're done with the display list ... then we can be sure of descending to frames whose container is not an ancestor of the placeholder. r=mrbkap 2006-04-27 02:45:03 +00:00
bzbarsky%mit.edu e86bd26130 Make sure to never read off the end of the buffer in HasTerminalNewline(). Bug
335320, r+sr=roc
2006-04-26 15:54:48 +00:00
roc+%cs.cmu.edu 08058623c1 Fixing Windows bustage 2006-04-26 02:45:18 +00:00
roc+%cs.cmu.edu aac1b0d44f Bug 330305. Rename nsSelection to nsFrameSelection, and deCOMtaminate it, removing nsIFrameSelection. patch by Marc Liddell, r+sr=roc 2006-04-26 02:01:07 +00:00
bzbarsky%mit.edu 2c105676af Give HTMLButtonControlFrames their own frame type. Bug 335419, r+sr=dbaron 2006-04-25 19:56:45 +00:00
mrbkap%gmail.com 62fd40b6c4 Don't cache the result of GetPointFromOffset if it failed, since subsequent queries for that offset will return the bogus offset. bug 334608, r+sr=roc 2006-04-24 21:18:44 +00:00
leon.sha%sun.com 0960e6fd1d Bug 333896
Convert GetAttr calls to AttrValueIs and FindAttrValueIn.
Patch by alfred.peng@sun.com.
roc: review+
roc: superreview+
2006-04-24 05:40:11 +00:00
uriber%gmail.com 3102525091 Attempt to fix Tp regression from bug 333769. r+sr=roc 2006-04-22 21:02:34 +00:00
uriber%gmail.com fd64432329 When measuring text, make sure nsTextTransformer::GetNextWord looks only at the part of the text content covered by the current frame. bug=333769 r+sr=roc 2006-04-22 13:29:50 +00:00
bzbarsky%mit.edu 5c3e8ea185 Trim whitespace that comes right before a <br> when trimming whitespace. Bug
132561 relanding, r+sr=dbaron
2006-04-21 01:31:35 +00:00
dbaron%dbaron.org 3c1506cc0a Missed review comment. b=302536 2006-04-20 21:04:18 +00:00
dbaron%dbaron.org 86f8ddd894 Fix crash relating to uninitialized floats in cursor structure, and make imagemap images use the cursor style of the areas when in them (instead of the cursor style from the image) and the cursor style of the image when not in the areas (instead of a hardcoded default). b=302536 r=biesi sr=bzbarsky 2006-04-20 21:02:10 +00:00
bzbarsky%mit.edu 6a55aec75e Treat terminal newlines in preformatted text like we treat <br> when inserting
frames into a block.  Bug 310087, r+sr=roc
2006-04-20 19:00:33 +00:00
dbaron%dbaron.org 1f51a315d0 Let the caret go outside of text frames (particularly when whitespace is trimmed). b=235223 r=mrbkap sr=bzbarsky 2006-04-20 07:58:22 +00:00
jwatt%jwatt.org 82e9d59379 Fixing bug 333733. Could leak attr in nsFrameUtil::Tag::ReadAttrs. r+sr=dbaron@mozilla.com 2006-04-20 00:13:34 +00:00
uriber%gmail.com a11f0e552b Set the hint to HINTRIGHT when setting selection programatically. bug=334256 r+sr=roc 2006-04-19 20:21:25 +00:00
vladimir%pobox.com 5d02ec5b40 b=333177, update canvas internal interfaces, optimize canvas, and fix some implementation bugs; r=stuart 2006-04-18 21:23:15 +00:00
mrbkap%gmail.com e27b36efcc Draw the caret in the normal path of frame painting instead of doing it directly to the current view. bug 287813, r+sr=roc 2006-04-17 23:16:46 +00:00
gavin%gavinsharp.com e93572b185 Bug 317269: fix comment, r+sr=roc 2006-04-17 22:06:25 +00:00
martijn.martijn%gmail.com a665b1c4b7 Backing out the patch for bug 333136, since it causes regressions 2006-04-17 20:56:25 +00:00
dbaron%dbaron.org 7d9906de5d Back out checkins for bug 333829, for now at least. 2006-04-17 03:19:22 +00:00
bzbarsky%mit.edu 44d201a532 Don't mess with empty float cache lists. Bug 334105, r+sr+branch181=dbaron 2006-04-17 01:47:11 +00:00
dbaron%dbaron.org 3292500649 Clamp curpos to between its min and max to fix resizing regression. b=333829 Patch from Hideo Saito <saito@densan.co.jp>. r+sr=dbaron 2006-04-16 20:05:30 +00:00
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