1127 Commits

Author SHA1 Message Date
jwalden%mit.edu
dda6ff3c99 Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros.
git-svn-id: svn://10.0.0.236/trunk@229504 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-08 07:08:56 +00:00
jruderman%hmc.edu
8169ada629 Bug 99319, Silence startup printf "Note: styleverifytree is disabled" and friends in the "disabled" case. Patch by Ryan Jones, r+sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@229493 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-07 23:53:00 +00:00
enndeakin%sympatico.ca
66f6fed78b Bug 279703, rework XUL popups to use asynchronous opening, plus many other fixes, attempt 2 with creating widgets later, r=bz,neil,roc,sr=bz
git-svn-id: svn://10.0.0.236/trunk@229322 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-04 15:49:46 +00:00
sharparrow1%yahoo.com
1fefb19635 Bug 386142: fantasai's li'l Need More Comments bug. Patch by fantasai, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@229291 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-03 22:49:01 +00:00
enndeakin%sympatico.ca
31eeecce7d Bug 279703, backing out the popup changes due to performance regressions. sigh.
git-svn-id: svn://10.0.0.236/trunk@229020 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-29 22:16:06 +00:00
enndeakin%sympatico.ca
bc283952f4 Bug 279703, rework XUL popups to use asynchronous opening, plus many other fixes, r=bz,neil,sr=bz
git-svn-id: svn://10.0.0.236/trunk@229013 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-29 19:04:52 +00:00
sharparrow1%yahoo.com
1fbfd1c4ec Bug 385862: View usage cleanups. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@228848 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-27 16:37:51 +00:00
mats.palmgren%bredband.net
2e741a3325 Don't ref-count nsIScrollableViewProvider. b=385286 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@228623 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-23 07:39:40 +00:00
bzbarsky%mit.edu
758ef87df4 We don't have to blow away intrinsic widths on ancestors when kids are appended
to an already-dirty reflow root.  Bug 383992, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@228165 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-16 05:12:58 +00:00
sharparrow1%yahoo.com
f38416b09f Bug 379015: Fix nsPresShell::RenderOffscreen. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@226830 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-23 00:11:05 +00:00
mats.palmgren%bredband.net
cb84c4e124 Don't bother painting a selection into an empty rect. Avoid using an invalid surface for painting ops. b=380611 r+sr=vladimir
git-svn-id: svn://10.0.0.236/trunk@226570 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-17 10:14:37 +00:00
dbaron%dbaron.org
d6e7785ed1 Rewrite the pref for forbidding pages from setting colors and backgrounds so that it changes transparency less often and interferes less with user and user-agent styles. b=58048, 255829, 255411 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@226544 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-16 21:10:32 +00:00
bzbarsky%mit.edu
3d66fb663f Make sure FrameNeedsReflow() is not called during reflow, and remove the
wasDirty asserts and O(N^2) check for existing reflow root in the list.  Bug
379904, r=roc, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@226500 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-16 03:22:45 +00:00
bzbarsky%mit.edu
fa937acf1d Process XBL constructors right after the frame construction in
InitialReflow().  Bug 377119, r+sr=sicking


git-svn-id: svn://10.0.0.236/trunk@226371 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-14 03:52:49 +00:00
mats.palmgren%bredband.net
6645518495 Make CreateRenderingContext() return error for a null surface and add error handling to callers. b=362201 r+sr=vladimir
git-svn-id: svn://10.0.0.236/trunk@226332 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-12 13:06:17 +00:00
bzbarsky%mit.edu
84ea96f586 Ignore attempts to reframe things before we've done initial reflow. Bug
379975, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@226105 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-08 04:46:55 +00:00
bzbarsky%mit.edu
c1b00f99bb Followup to bug 378784 based on rbs's review comments.
git-svn-id: svn://10.0.0.236/trunk@226010 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-06 22:50:21 +00:00
bzbarsky%mit.edu
ba5badedcb Change the FrameNeedsReflow API to pass the dirty flags to be added directly to
the method, instead of setting them before calling the method.  That way we can
avoid reflowing the ancestor of a reflow root which is not itself dirty but has
dirty children.  This also makes it harder to set dirty bits inconsistently
with the FrameNeedsReflow call.  Bug 378784, r+sr=dbaron, pending rbs' review
on the mathml parts.


git-svn-id: svn://10.0.0.236/trunk@226007 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-06 19:16:52 +00:00
sharparrow1%yahoo.com
57f6f646e2 Bug 378662: Get rid of PresShellViewEventListener. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@225606 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-04 23:28:02 +00:00
aaronleventhal%moonset.net
59e783eb7d Bug 357583. Followup improvements to ensure that a11y is activated on Linux when it should be. r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@225591 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-04 18:09:02 +00:00
aaronleventhal%moonset.net
14654e8cca Bug 357583. Allow XPCOM clients to init accessibility when they use nsIAccessible. r=surkov, sr=roc
git-svn-id: svn://10.0.0.236/trunk@225559 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-04 02:19:18 +00:00
aaronleventhal%moonset.net
c87efbeeae Backing out accidental checkin for bug 357583
git-svn-id: svn://10.0.0.236/trunk@225545 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-03 20:20:58 +00:00
aaronleventhal%moonset.net
ed646609bd Bug 357583. Allow XPCOM clients to init accessibility when they use nsIAccessible. r=surkov, sr=roc
git-svn-id: svn://10.0.0.236/trunk@225543 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-03 19:22:24 +00:00
bzbarsky%mit.edu
d2d337437c Introduce a GetPrimaryShell() API on nsIDocument. Convert existing callers of
GetShellAt(0) to using this API.  Bug 378780.  API introduction part by me,
r+sr=jst.  Mass-changes done by taras using squash, r+sr=me


git-svn-id: svn://10.0.0.236/trunk@225416 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-01 22:24:25 +00:00
bzbarsky%mit.edu
708c53b956 Make InitialReflow just post a reflow event instead of doing a synchronous
reflow.  Bug 378975, r=dbaron and Eli Friedman, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@225391 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-01 17:15:08 +00:00
bzbarsky%mit.edu
3a67f3ecac Fix build bustage
git-svn-id: svn://10.0.0.236/trunk@225247 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-30 06:43:03 +00:00
bzbarsky%mit.edu
a794c3824d Fix bug 379229, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@225246 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-30 06:17:03 +00:00
bzbarsky%mit.edu
2cace76786 Make sure to flush out reflows before firing onload instead of (imperfectly)
blocking onload on reflow events.  This makes sure that we are in fact fully
reflowed before onload fires.  Bug 379093, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@225241 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-30 03:09:55 +00:00
bzbarsky%mit.edu
6fa00af002 Back out the test code.
git-svn-id: svn://10.0.0.236/trunk@225119 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-27 02:06:50 +00:00
bzbarsky%mit.edu
dda1843310 Sprinkle null-checks in an attempt to "fix" the orange so I can get answers.
git-svn-id: svn://10.0.0.236/trunk@225115 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-27 00:47:34 +00:00
bzbarsky%mit.edu
a9b2a04d77 Adding some test code for a single tinderbox run so I can see what's going on
with Tp2 and such.  Will back out after one cycle.


git-svn-id: svn://10.0.0.236/trunk@225112 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-26 22:46:05 +00:00
bzbarsky%mit.edu
04e7f5a0a3 Handle restoring scroll position correctly even if InitialReflow comes after
EndLoad.  Bug 378606, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@225068 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-26 02:33:02 +00:00
sharparrow1%yahoo.com
ddefefe842 Followup for bug 370952 to fix an obvious bug. r+sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@225063 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-26 01:34:28 +00:00
bzbarsky%mit.edu
f779dffd0f Remove the root from mDirtyRoots if we resize-reflow it, so that we don't get
assertions about frame state not matching with whether the frame is in
mDirtyRoots.  Bug 374167, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@225054 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-26 00:17:50 +00:00
sharparrow1%yahoo.com
798f5d7058 relanding of bug 370952: fix the reflow functions in nsPresShell. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@225010 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-25 15:49:55 +00:00
sharparrow1%yahoo.com
03f60854e8 Backing out bug 370952 due to mac tinderbox bustage
git-svn-id: svn://10.0.0.236/trunk@224995 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-25 10:44:29 +00:00
sharparrow1%yahoo.com
fd7f27e45a Bug 370952: Fix the reflow functions in nsPresShell (covers ResizeReflow and StyleChangeReflow). r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@224994 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-25 08:22:28 +00:00
bzbarsky%mit.edu
e06f02a85d Back out. This actually hurts Tp2, the mac reftests are _still_ orange
git-svn-id: svn://10.0.0.236/trunk@224929 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-24 07:33:58 +00:00
bzbarsky%mit.edu
d341915f41 Another peformance test for bug 378480. Will back out in a few cycles.
git-svn-id: svn://10.0.0.236/trunk@224928 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-24 05:46:11 +00:00
bzbarsky%mit.edu
860ed60891 Seems to cause orange, and doesn't help Tp2, so backing out. :(
git-svn-id: svn://10.0.0.236/trunk@224879 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-23 10:21:41 +00:00
bzbarsky%mit.edu
c63856cfe2 Trying something to see its effect on Tp2. Will back out in the morning.
Followup to bug 84582, no reviews yet.


git-svn-id: svn://10.0.0.236/trunk@224878 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-23 09:36:40 +00:00
Olli.Pettay%helsinki.fi
000cc6d785 Bug 378325, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@224871 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-23 05:53:27 +00:00
enndeakin%sympatico.ca
1f82e44d11 Bug 374570, constrain popups to frame, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@224799 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-20 18:20:04 +00:00
bzbarsky%mit.edu
160bb21d7b Recalc quotes and counters before reflow. Bug 377216, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@224562 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-16 00:11:34 +00:00
uriber%gmail.com
4496c865f9 For caret browsing, initialize the caret position to the top of the page (if there isn't already a selection). bug=144000 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@224533 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-14 16:51:20 +00:00
bzbarsky%mit.edu
116d69628c Rename nsIFrame::GetPresContext to nsIFrame::PresContext. Bug 376042, patch by
Taras Glek <tglek@mozilla.com>, rs=roc.


git-svn-id: svn://10.0.0.236/trunk@222659 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-30 21:11:47 +00:00
enndeakin%sympatico.ca
ed2f6886b6 Bug 375684, assertion when source of a drag is the root element, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@222616 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-29 23:58:59 +00:00
enndeakin%sympatico.ca
7fe266a9bd Bug 374832, lower opacity on drag images, Bug 375038, dragging doesn't work on blocks inside inlines, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@222382 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-26 03:27:53 +00:00
sharparrow1%yahoo.com
082bcd1c48 Bug 375273: minor code cleanup in nsContainerFrame. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@222379 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-26 01:12:49 +00:00
enndeakin%sympatico.ca
ae6cfb8b02 Bug 178513, support translucent drag feedback when dragging nodes and selections on Mac and GTK, r=vlad,josh,roc,sr=roc
git-svn-id: svn://10.0.0.236/trunk@222094 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-20 12:14:52 +00:00