Commit Graph

4364 Commits

Author SHA1 Message Date
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   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
bzbarsky%mit.edu
f96a096c2c Fix leak bug 324969 -- make sure to call virtual destructors. 2006-01-29 18:48:58 +00:00
bzbarsky%mit.edu
f5b0e7ca81 Make hiding a frame with display:none really hide the docshell all the way.
Bug 308182, r=biesi, sr=jst
2006-01-27 01:04:48 +00:00
roc+%cs.cmu.edu
fa09c4074a Bug 324852. Clean up missing uses of NS_DISPLAY_DECL_NAME for a tiny space saving with frame display lists 2006-01-26 22:58:22 +00:00
roc+%cs.cmu.edu
56a4c9f4c4 Bug 324836. Listboxes must be treated as pseudostackingcontexts. r+sr=dbaron 2006-01-26 21:03:49 +00:00
bzbarsky%mit.edu
c91507ade8 Fixing more build bustage and warnings. Bug 317375 2006-01-26 05:14:30 +00:00
roc+%cs.cmu.edu
77bca74243 Bug 317375. Reorganize frame painting and mouse event targeting around frame display lists. Some review from dbaron, lots of testing help from Martijn, Julien and others 2006-01-26 02:29:17 +00:00
cvshook%sicking.cc
be551afd02 Bug 310436: Implement IsFrameOfType and use that to disable non-svg frames from being children of svg frames. r=bz sr=dbaron 2006-01-25 21:16:12 +00:00
roc+%cs.cmu.edu
c91034f873 Bug 323946. nsFieldSetFrame doesn't need to support having a space manager. r+sr=dbaron 2006-01-22 23:20:56 +00:00
mats.palmgren%bredband.net
defc4f06cd Look for the next-in-flow in the overflow-list when the next normal line did not contain it. b=310638 r+sr=roc 2006-01-21 10:33:48 +00:00
roc+%cs.cmu.edu
4726d6a05a Bug 323291. Repaint reflowed absolute frames that changed size without changing their view size. r+sr=bzbarsky 2006-01-16 03:28:20 +00:00
cvshook%sicking.cc
7db01c8d27 Bug 321294: Remove unused ReplaceFrame codepaths.
r/sr=roc
2006-01-10 22:58:37 +00:00
uriber%gmail.com
b240a28f70 Bug 310589: Clicking off of the lower-right edge of a zoomed image can cause a crash [@FindBlockFrameOrBR()] [@ nsIFrame::GetExtremeCaretPosition()]. r+sr=roc 2006-01-08 21:44:44 +00:00
cbiesinger%web.de
e51d40d2cb bug 322052 remove now-unused mFullURL r+sr=bz 2006-01-02 18:57:14 +00:00
cbiesinger%web.de
fa923e662d Bug 322052 Fix document handling in nsObjectFrame.cpp
r+sr=bz
2006-01-02 15:54:24 +00:00
darin%meer.net
eb3847a802 fixes bug 318193 "Input streams are not implemented consistently" r=biesi sr=bz 2006-01-02 02:30:32 +00:00
cbiesinger%web.de
8caa277c24 Bug 316455 Remove nsIPluginInstanceOwner::PluginNotAvailable, which is pointless
now that plugin loading has been rewritten in bug 1156 / bug 309521
r+sr=bz
2006-01-01 11:28:35 +00:00
dbaron%dbaron.org
86fc2334c3 Make nsObjectFrame not be a container anymore. b=309532 r=biesi sr=bzbarsky 2005-12-31 00:25:36 +00:00
cbiesinger%web.de
1d04cb0110 Bug 309521
- add pseudo-classes for :-moz-type-unsupported and :-moz-has-handlerref (and a
  content state for the former)
  - make nsObjectLoadingContent return the right content state
- Add an XBL binding that gets instantiated for broken plugins
  - Make it themable
- Remove a lot of now-unused code in nsObjectFrame
- Fixes pluginfinder.
r+sr=bz, r=mconnor
2005-12-29 14:15:33 +00:00
cvshook%sicking.cc
7eb5bddea3 Fix build bustage 2005-12-28 22:11:27 +00:00
cvshook%sicking.cc
79b8f5fc24 Bug 284950: DeCOMTaminate nsIContent::GetAttrNameAt
r/sr=bz
2005-12-28 21:52:39 +00:00
uriber%gmail.com
86ce7a1abf Bug 321487: Crash when moving caret backwards over text frame consisting of a single CR [nsTextFrame::PeekOffset]. r=rbs sr=bzbarsky 2005-12-27 15:15:40 +00:00
cbiesinger%web.de
72ac26b6ce Bug 321504 Remove unneeded uses of nsIDocumentLoader
r+sr=bz
2005-12-26 16:45:59 +00:00
timeless%mozdev.org
079a6325e0 Bug 321393 Clicking on page in print preview causes crash [@ GetOffsetsOfFrame]
patch by sharparrow1@yahoo.com r=roc sr=roc
2005-12-25 19:01:45 +00:00
uriber%gmail.com
7305c9fde0 Bug 319705: Crash when deleting comment line selected with triple click [@nsFontMetricsWin::ResolveForwards]. r+sr=bzbarsky 2005-12-25 14:27:14 +00:00
dbaron%dbaron.org
20d8a2354e Use a more accurate test for first reflow (and one that won't go away soon). b=307979 r+sr=roc 2005-12-21 03:32:25 +00:00
dbaron%dbaron.org
7c971fe2e1 Use IsContainingBlock rather than testing for block frame when looking for the placeholder's containing block for auto offsets; for non-blocks, just use the placeholder Y coordinate for auto-top. b=253479 r+sr=roc 2005-12-21 03:30:28 +00:00
dbaron%dbaron.org
05796cb2e6 Fix insertion at end of textarea creating an extra pseudo-linebreak. b=319664 Patch by Eli Friedman <sharparrow1@yahoo.com>. r+sr=roc 2005-12-20 09:13:47 +00:00
roc+%cs.cmu.edu
fae8610bd8 Bug 318425. Make sure the scrolled frame's view is set to include the overflow area of its frame. r+sr=dbaron 2005-12-19 01:07:41 +00:00
dbaron%dbaron.org
a08eef7737 Back out part of previous patch since it's a static/dynamic inconsistency. 2005-12-17 19:11:40 +00:00
dbaron%dbaron.org
22d6401242 Skip anonymous table objects (and our extra cell content box) when finding parents for style contexts of their descendants during style reresolution. b=289517 Patch from Boris Zbarsky <bzbarsky@mit.edu>. r+sr=dbaron 2005-12-17 18:58:47 +00:00
dbaron%dbaron.org
8c711f30bc Don't store or use a widget in the delayed caret data; it's not important, and it might have been destroyed. b=307989 r+sr=roc 2005-12-16 04:58:33 +00:00
dbaron%dbaron.org
b4ed6cb2f1 Null out line layout when crossing from box to non-box so we don't reuse an incorrect linelayout object. b=307992 r+sr=roc 2005-12-15 23:08:07 +00:00
roc+%cs.cmu.edu
d63261dc31 Bug 319675. Don't cross line boundaries looking for double-click targets. patch by Eli Friedman, r=sr=roc 2005-12-15 03:32:09 +00:00
uriber%gmail.com
c44387598b Bug 312550: Incorrect wrapping in RTL textarea with horizontal scrollbar. r=smontagu, sr=roc 2005-12-14 14:33:17 +00:00
bsmedberg%covad.net
a1f185429a Fix merge bustage for bug 313309 2005-12-12 21:23:47 +00:00
bsmedberg%covad.net
6f245329e8 Conflict merge, bug 313309 (macro not used yet unless you have the final patches applied) 2005-12-12 14:14:03 +00:00
bzbarsky%mit.edu
d3d8f2c12f Remove unsed code. Bug 307111, r+sr=roc 2005-12-11 20:40:07 +00:00
mark%moxienet.com
0e1d9f3154 Bug 319558, crash [@ GetSelectionClosestFrameForChild] due to typo in bug 316281. Remove unwanted semicolon. Patch by Adam Guthrie <ispiked@gmail.com>. r=me 2005-12-08 18:09:17 +00:00
roc+%cs.cmu.edu
a710fcd15d Bug 316281. Rework GetContentAndOffsetsFromPoint. r=uriber,sr=roc,patch by Eli Friedman 2005-12-07 23:08:39 +00:00
bzbarsky%mit.edu
a24855a1e8 Fix crash bug 316012, r=biesi, sr=jst 2005-12-07 00:52:39 +00:00
bzbarsky%mit.edu
8fa76d37ac Don't store the "normal" frame state for the root scrollframe, for now. Bug
318709, r+sr=roc
2005-12-06 23:56:17 +00:00
bzbarsky%mit.edu
8f50bb6156 Prevent infinite recursion for cases when InstantiatePlugin returns a success
code without creating a plugin instance.  Bug 319332, r=biesi, sr=roc
2005-12-06 23:52:49 +00:00
bzbarsky%mit.edu
723a3efc77 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
2005-12-06 04:50:26 +00:00
roc+%cs.cmu.edu
2aae47d965 Bug 319115. Move nsTextFrame interfaces around so nsTextFrame.h can go away. Preparation for forking nsTextFrame. patch by Stephen Blackheath, r+sr=roc 2005-12-06 00:39:08 +00:00
roc+%cs.cmu.edu
a20b3fc911 Bug 319115. Move nsTextFrame interfaces around so nsTextFrame.h can go away. Preparation for forking nsTextFrame. patch by Stephen Blackheath, r+sr=roc 2005-12-06 00:32:52 +00:00
bmlk%gmx.de
4bb63a9880 don't allocate nsDirectionalFrame on heap, bug 315321 patch by Marc Liddell r=roc sr=dbaron 2005-12-03 15:44:43 +00:00
bzbarsky%mit.edu
bf70da4532 Remove content ids. Bug 166637, r=sicking, sr=peterv 2005-11-29 16:47:18 +00:00
jst%mozilla.jstenback.com
8f1863159b Fixing bug 316794. Moving HandleDOMEvent() and Get/SetDocShell from nsIScriptGlobalObject to nsPIDOMWindow. r=mrbkap@gmail.com, sr=peterv@propagandism.org 2005-11-28 23:56:44 +00:00
masayuki%d-toybox.com
ffac17f9c5 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 2005-11-20 23:43:48 +00:00
timeless%mozdev.org
1c34e68034 Bug 106386 Correct misspellings in source code
patch by mats.palmgren@bredband.net r=dbaron sr=dbaron
2005-11-20 22:05:24 +00:00
smontagu%smontagu.org
75f5688bba 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 2005-11-16 09:40:52 +00:00
smontagu%smontagu.org
d999b33cff 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 2005-11-16 09:37:01 +00:00
dbaron%dbaron.org
3c95294952 Make PL_InitEvent callers stop doing potentially dangerous casting of function pointers. b=305278 r=dougt sr=darin 2005-11-14 20:09:51 +00:00
bsmedberg%covad.net
78f6d0683d 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 2005-11-11 14:36:26 +00:00
bmlk%gmx.de
ac3f79fa07 More robust handling of the overflow property, bug 315210 r/sr=roc 2005-11-11 05:30:31 +00:00
joshmoz%gmail.com
70d0b15dbe remove XP_MAC, cleanup. b=281889 r=mento sr=smfr 2005-11-10 17:45:59 +00:00
cvshook%sicking.cc
4660644188 Bug 312592: Reduce amount of duplicated code in html contentsink.
r=mrbkap sr=peterv
2005-11-10 15:51:10 +00:00
roc+%cs.cmu.edu
599bd30eab Bug 315127. Go back to allocating NS_NewDirectionalFrame on the heap, to fix crash regression. r+sr=dbaron 2005-11-06 22:47:10 +00:00
roc+%cs.cmu.edu
520b30a7f7 Bug 313817. DeCOMtaminate more NS_New*Frame functions. r+sr=roc, patch by Marc Liddell 2005-11-04 02:38:33 +00:00
roc+%cs.cmu.edu
34a88eba03 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 2005-11-02 23:35:37 +00:00
cbiesinger%web.de
ffa599d074 bug 314679 remove some unused code from nsObjectFrame
r+sr=bz
2005-11-02 16:34:32 +00:00
bzbarsky%mit.edu
d44ad313ae Remove nsIStyledContent. Bug 313968, r=sicking, r=dbaron on nsCSSStyleSheet
changes, sr=jst
2005-11-02 00:41:51 +00:00
bzbarsky%mit.edu
84802b45c2 Show the loading placeholder while loading, not the broken one. Bug 312804,
r=biesi, sr=dbaron
2005-11-02 00:04:29 +00:00
roc+%cs.cmu.edu
d511c33bd9 Fixing bustage... 2005-11-01 21:11:25 +00:00
roc+%cs.cmu.edu
a5f65bfee7 Bug 313817. DeCOMtaminate more NS_New*Frame functions. r+sr=roc, patch by Marc Liddell 2005-11-01 20:40:54 +00:00
roc+%cs.cmu.edu
33a3e7d578 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 2005-11-01 01:16:45 +00:00
cbiesinger%web.de
ac00cddace 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
2005-10-31 18:28:56 +00:00
smontagu%smontagu.org
41432ddbee 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 2005-10-30 13:05:45 +00:00
bzbarsky%mit.edu
aeaa001221 Fix leaks caused by bug 307532. Patch by biesi, r+sr=bzbarsky 2005-10-29 16:16:35 +00:00
masayuki%d-toybox.com
ab76aa9ef7 Bug 307532 Selection colors should be saved in nsTextFrame::TextPaintStyle, not DrawSelectionIterator r+sr=roc 2005-10-29 14:01:55 +00:00
cbiesinger%web.de
ec2746ef9a 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
2005-10-29 12:56:44 +00:00
cvshook%sicking.cc
64a0fbd45f Bug 311827: Make GetAttr return a bool rather then an nsresult.
r/sr=bz
2005-10-28 11:25:24 +00:00
bzbarsky%mit.edu
0d5a3e6aa7 Pass nsIStyledContent to AttributeChanged() so that consumers don't have to QI
to it.  Bug 313343, r=sicking, sr=jst
2005-10-27 02:25:23 +00:00
roc+%cs.cmu.edu
680ffaad50 Bug 313817. DeCOMtaminate a bunch of NS_New*Frame functions. patch by Marc Liddell, r+sr=roc 2005-10-26 21:46:39 +00:00
masayuki%d-toybox.com
733ba5945f Bug 313174 IME composition string isn't rendered as selection text r=sergei_d, sr=bzbarsky 2005-10-26 20:16:01 +00:00
bzbarsky%mit.edu
04153159a6 Fix some nsFloatCache leaks. Bug 302438, r+sr=dbaron 2005-10-21 22:23:28 +00:00
timeless%mozdev.org
2dc157c8df Bug 313164 Bidi: Caret navigation broken inside inline elements
patch by uriber@gmail.com r=smontagu sr=roc
2005-10-21 20:08:50 +00:00
roc+%cs.cmu.edu
d0ccd4fc7e 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 2005-10-21 02:50:35 +00:00
roc+%cs.cmu.edu
49188025d3 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. 2005-10-18 05:00:24 +00:00
bzbarsky%mit.edu
ea3f3e5a9d Remove no longer used code. Bug 312685, r=biesi, sr=dbaron 2005-10-17 23:06:16 +00:00
mats.palmgren%bredband.net
e36a52de0d Restore Mac-specific caret movement when there is a selection. b=299417 r=uriber sr=roc 2005-10-17 00:51:46 +00:00
bzbarsky%mit.edu
0d1e336c9a Try fixing bug 288064 again. r=biesi, sr=dbaron 2005-10-17 00:50:39 +00:00
mats.palmgren%bredband.net
9125d9fa0e Return the frame count for the given line 'aLineNumber', not the line where we find the first frame. b=308052 r=bernd sr=bzbarsky 2005-10-17 00:03:05 +00:00
mozilla.mano%sent.com
2beab782a8 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. 2005-10-16 23:26:22 +00:00
masayuki%d-toybox.com
e88f554d23 Bug 310174 Windowless plug-ins can't receive the focus events r+sr=roc 2005-10-16 18:58:34 +00:00
smfr%smfr.org
8374dcbda9 Fix bug 183313: work around a Flash crasher in ActivateTSMDocument. Flash caches the active TSMDocument across focus/blur calls in order to restore the old TSMDocument (because we asked them to). The problem is that it can cache a TSMDocument that is about to be deleted, especially in Cocoa where the TSMDocument management is somewhat asynchronous. We work around this by always clearing the active TSMDocument before focussing a plugin, for Cocoa. r=mento, sr=pinkerton. 2005-10-13 22:39:36 +00:00
bzbarsky%mit.edu
30c47dcf2f Don't store the prescontext in the plugin instance owner. Bug 312055, r+sr=roc 2005-10-12 02:15:26 +00:00
Olli.Pettay%helsinki.fi
cde8aaf024 Bug 306974, Remove some duplicate event dispatching code r=sicking, sr=peterv 2005-10-10 18:38:57 +00:00
roc+%cs.cmu.edu
a13bf33f1d Bug 305160. Target viewport scroll events at the document, not the root element (they will bubble to the window from there). Always stop bubbling of scroll events out of an element. r+sr=jst 2005-10-07 01:28:27 +00:00
bzbarsky%mit.edu
ff4bb166e0 Make sure scrollcorners are always boxes. Bug 310919, r=dbaron, sr=neil 2005-10-04 23:49:39 +00:00
bmlk%gmx.de
8d2cb2369f handle baseline for empty table cells closer to the new description in CSS2.1, bug 291060 r/sr=dbaron 2005-10-04 15:47:21 +00:00
dbaron%dbaron.org
d21fb93bf0 Back out 307158 to fix 310736. GetActualScrollbarSizes is not meaningful on a frame in the middle of reflow. 2005-10-04 02:14:43 +00:00
rbs%maths.uq.edu.au
da44abd930 Disable parts of the patch for bug 307875 to fix the caret & IME regressions in bug 310227 and bug 310318, r+sr=bz 2005-10-01 05:17:20 +00:00
bzbarsky%mit.edu
79185165c1 Backing out bug 288064 because of the Tp hit. 2005-10-01 01:35:56 +00:00
bzbarsky%mit.edu
7a5cbee6e9 Implement a LOADING state, have a :-moz-loading selector to match on it, use it
for images.  Bug 288064, r=biesi, sr=dbaron
2005-10-01 00:34:03 +00:00
roc+%cs.cmu.edu
caf6043440 Bug 307158. Account for scrollbars reducing the padding-edge when calculating the geometry of absolutely-positioned children of scrolled elements. r+sr=dbaron 2005-09-30 22:58:37 +00:00
roc+%cs.cmu.edu
bac54e6df7 Bug 295815. When computing the available height constraint for a float, don't look at the available height of the float band, just look at the available height for the block's contentarea. r+sr=dbaron 2005-09-30 21:54:12 +00:00
cst%andrew.cmu.edu
f9065cc1e4 Backing out patch for bug 94687 due to regressions 2005-09-29 20:35:06 +00:00
aaronleventhal%moonset.net
67ee0e846e Bug 309099. Entire client area should not be repainted for each focus move. Patch by Robert O'Callahan (roc). r=aaronlev, sr=neil 2005-09-29 13:16:46 +00:00
joshmoz%gmail.com
cac6904a8b make sure Mac plugins get SetWindow() called when the clip rect changes. This causes SetWindow() to get called for plugins in a tab which is hidden. Patch by Simon Fraser. b=298961 r=josh sr=jst 2005-09-28 22:40:49 +00:00
masayuki%d-toybox.com
d6b545f224 Bug 310174 Windowless plug-ins can't receive the focus events patch by <VYV03354@nifty.ne.jp> r+sr=roc 2005-09-28 14:29:45 +00:00
cst%andrew.cmu.edu
2509f6846c Bug 94687 First step of fixing z-index style in XUL - create views for children of stacks
r+sr=roc
2005-09-27 12:39:25 +00:00
rbs%maths.uq.edu.au
da96ea19ef Avoing crashing due to outdated text pointers by never poking at dirty text frames, b=307875, r+sr=bzbarsky 2005-09-27 02:47:17 +00:00
masayuki%d-toybox.com
ebecc5bbc9 Bug 92217 [reflow] text doesn't rewrap after becoming small enough to wrap patch by <saito@densan.co.jp> r+sr=dbaron 2005-09-26 10:37:02 +00:00
peterv%propagandism.org
3609c87767 Fix for bug 27382 (ownerDocument of orphan text and attr nodes is null). Patch by sicking, updated by peterv, r=bz, sr=peterv. 2005-09-24 18:43:15 +00:00
aaronleventhal%moonset.net
22b31a1bad Bug 308710. Create accessibles for out of flow frames. r+sr=bryner 2005-09-22 21:59:06 +00:00
cbiesinger%web.de
7002686d0d bug 1156
- Make object frames have no children
  - Make the frame constructor construct a subdocumentframe, object frame or
    image frame as appropriate
- start the load of <applet>, <embed> and <object> in content code
- fallback to alternate rendering correctly

NOTE: This checkin will break the plugin finder. This will be fixed soon.

r+sr=bz
2005-09-21 19:14:30 +00:00
ginn.chen%sun.com
e12bf01c19 Bug 304891 Using ctrl+right arrow in textarea, first word after hard line break is skipped
r=uriber sr=roc
2005-09-19 05:16:25 +00:00
roc+%cs.cmu.edu
fed343c43a Bug 108310. Make GetFrameForPoint take frame-relative coordinates, not bogus relative-to-some-view-or-other, and simplify the signature. r+sr=roc, patch by Eli Friedman. 2005-09-19 02:15:54 +00:00
bzbarsky%mit.edu
608088a431 Implement :-moz-broken, :-moz-user-disabled, and :-moz-suppressed
pseudo-classes to allow styling of broken/blocked/disabled images, applets,
objects, embeds.  Bug 11011, r=biesi and roc, sr=dbaron
2005-09-18 18:05:40 +00:00
cst%andrew.cmu.edu
b63242406e Bug 278739 Reloading a page whose length changes should not cause scroll position to change
r+sr=roc
2005-09-18 14:50:26 +00:00
mozilla.mano%sent.com
815d6bdabe Bug 307934 - regression: In RTL text, can't move caret using arrow keys past point where text wraps. patch from Uri Bernstein <uriber@gmail.com>, r=eyalroz@technion.ac.il, sr=roc. 2005-09-18 14:29:09 +00:00
mozilla.mano%sent.com
40c9113013 Bug 308017 - Bidi: up/down-arrow sometimes behave incorrectly after switching keyboard layout. patch from Uri Bernstein <uriber@gmail.com>, r=smontagu, sr=roc. 2005-09-18 14:18:28 +00:00
Olli.Pettay%helsinki.fi
7d0dcbfb2d Bug 306895, Triple click should select lines, not paragraphs, in white-space: -moz-pre-wrap;, p=uriber@gmail.com, r/sr=roc 2005-09-18 12:41:40 +00:00
dougt%meer.net
4435542681 This fixes the NS_PRINTING configure option which got broken at some point. b=308629 r/sr=jst@mozilla.org 2005-09-16 02:25:37 +00:00
aaronleventhal%moonset.net
7f5deb9d69 Bug 308517. Crash when browse with images off and screen reader running. r+sr=bryner 2005-09-15 21:13:00 +00:00
mats.palmgren%bredband.net
eaa7cda447 Don't apply selection colors when printing. b=90434 r+sr=bzbarsky 2005-09-14 21:32:28 +00:00
mats.palmgren%bredband.net
2909dabcf6 Fix buffer overflow on 'clusterBuffer' and improve error handling in FillClusterBuffer(). b=307537 r+sr=dbaron 2005-09-12 01:05:58 +00:00
bzbarsky%mit.edu
c00cd696d1 Fix bug 307256, bug 307304, bug 307924 by disabling selection for XUL elements
by default.  r+sr=dbaron, with OKs from Neil and mconnor for the general idea
and the xul.css changes.
2005-09-11 19:22:57 +00:00
peterv%propagandism.org
85b8cff6bc Fix for bug 251025 (document.importNode does not set the right owner document.). r=jst, sr=bz. 2005-09-11 17:15:08 +00:00
peterv%propagandism.org
efa08d1916 Back out fix for bug 251025 to fix bustage. 2005-09-11 15:42:31 +00:00
peterv%propagandism.org
86ca4e41cc Fix for bug 251025 (document.importNode does not set the right owner document.). r=jst, sr=bz. 2005-09-11 15:05:31 +00:00
peterv%propagandism.org
1fd27aa751 Fix for bug 306363 (Clean up nsContentUtils service getters). r/sr=bz. 2005-09-11 10:08:43 +00:00
bzbarsky%mit.edu
cf64715ae5 Remove the pointless nsIContent arg of nsIFrame::AttributeChanged. Bug 281390,
patch by Vidar Braut Haarr <vhaarr+bmo@gmail.com>, r+sr=bzbarsky
2005-09-07 16:49:21 +00:00
brendan%mozilla.org
52eeba63ea Branch version of patch for bug 305565 (r/sr=jst/bz). 2005-09-07 02:39:51 +00:00
rbs%maths.uq.edu.au
ebce434690 incorrect width of non breaking space &nbsp; inside MathML, r+sr=roc, b=247151 2005-09-06 22:19:52 +00:00
roc+%cs.cmu.edu
f246fa2bbd Bug 280987. Remove aPresContext from nsIFrameDebug::List. r+sr=roc, patch by Vidar Braut Harr. 2005-09-06 21:34:50 +00:00
bzbarsky%mit.edu
0cfd6a71ca Make addition or removal of frames in a frameset actually change the
rendering.  Bug 306660, r=jst, sr=roc
2005-09-06 02:14:36 +00:00
roc+%cs.cmu.edu
8b9158491c Bug 306116. Use a loop instead of recursion while deleting next-in-flows to avoid stack overflow when reflowing really long text. r+sr=dbaron,a=asa 2005-09-06 01:26:50 +00:00
roc+%cs.cmu.edu
60903ce73c Bug 306222. Make nsIFrame::GetContentAndOffsetsFromPoint, and nsIFrameSelection::HandleDrag, take coordinates relative to the current frame, not some random view. r+sr=roc,patch by Eli Friedman 2005-09-04 20:04:23 +00:00
mats.palmgren%bredband.net
ea68978e57 Fix compile warning from my last checkin. b=217903 2005-08-31 19:53:39 +00:00
mats.palmgren%bredband.net
52d0c5315c Avoid trying to make an inside bullet frame its own sibling. b=217903 r+sr=bzbarsky 2005-08-31 19:38:59 +00:00
roc+%cs.cmu.edu
f8d744f15d Bug 73373. Allow multiple selections of content using the ctrl/option keys. This is for testing --- it will probably expose bugs in other places. r+sr=roc,patch by Martijn Wargers. 2005-08-31 02:16:03 +00:00
roc+%cs.cmu.edu
2dac54badf Bug 305120. Make overflow/underflow events be posted by HTML again. Also, only post an overflow event when we go from not-overflowing to overflowing instead of every time we reflow with overflow. r+sr=dbaron 2005-08-31 00:57:27 +00:00
mats.palmgren%bredband.net
8f34e7d413 Fix crash on unicode "zero width non-joiner" sequence. b=217903 r+sr=dbaron 2005-08-31 00:35:17 +00:00
mats.palmgren%bredband.net
377c6c9a64 Implement HTML4 align=middle according to spec. Correct the DOM attribute value mapping for some of the other values as well. b=192077 r+sr=dbaron 2005-08-30 22:46:45 +00:00
bmlk%gmx.de
89727da8d1 reset the cached ascent if the block is empty, bug 206516 r/sr=roc 2005-08-30 16:14:07 +00:00
dbaron%dbaron.org
65ae4fc59e Base factor line-height values on the same concept of font size as em-based line-height values. b=196270 r+sr=bzbarsky 2005-08-29 19:30:06 +00:00
smontagu%smontagu.org
a273c950ea Bug 306049: Crash in nsFrame::PeekOffsetParagraph when triple-clicking not in a block. Patch by Uri Bernstein <uriber@gmail.com>, r+sr=roc 2005-08-28 08:20:34 +00:00
mozilla.mano%sent.com
1881d032f4 Bug 305083 - When using ctrl+right-arrow on last word in a wrapping line, caret moves to end of line instead of to beginning of next line. patch from Eyal Rozenberg <eyalroz@technion.ac.il>, r=uriber, sr=roc. 2005-08-25 15:57:12 +00:00
roc+%cs.cmu.edu
329c6cc865 Bug 293714. Be smart about guessing whether a vertical scrollbar is needed when we do the first real reflow of a scrollframe; remember in global history whether the page needed a scrollbar or not. r+sr=bzbarsky 2005-08-25 00:10:37 +00:00
bmlk%gmx.de
12dbc74a18 pixel align pct based scroll frames bug 139843 r/sr=roc 2005-08-24 18:11:45 +00:00
mrbkap%gmail.com
e2572c0968 bug 299622: BiDi: Pressing End in a blank line moves the caret back, to the end of the previous line. Patch by Uri Bernstein <uriber@gmail.com>. r=smontagu sr=roc 2005-08-24 17:46:45 +00:00