bzbarsky@mit.edu
4d53ccf996
Make attribute changes that also cause a state change properly reresolve style
...
when a selector uses both the state and the attribute. Bug 315920, r=dbaron,
sr=sicking.
2007-07-12 13:05:45 -07:00
jwalden@mit.edu
6d7584839a
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.
2007-07-08 00:08:04 -07:00
jruderman@hmc.edu
1df32e680d
Bug 99319, Silence startup printf "Note: styleverifytree is disabled" and friends in the "disabled" case. Patch by Ryan Jones, r+sr=bzbarsky.
2007-07-07 16:52:59 -07:00
enndeakin@sympatico.ca
59c3596049
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
2007-07-04 08:49:38 -07:00
sharparrow1@yahoo.com
b6d8dd200b
Bug 386142: fantasai's li'l Need More Comments bug. Patch by fantasai, r+sr=roc
2007-07-03 15:49:00 -07:00
enndeakin@sympatico.ca
8a87437d5f
Bug 279703, backing out the popup changes due to performance regressions. sigh.
2007-06-29 15:15:59 -07:00
enndeakin@sympatico.ca
534c14e326
Bug 279703, rework XUL popups to use asynchronous opening, plus many other fixes, r=bz,neil,sr=bz
2007-06-29 12:04:45 -07:00
sharparrow1@yahoo.com
107224ebc4
Bug 385862: View usage cleanups. r+sr=roc
2007-06-27 09:37:50 -07:00
mats.palmgren@bredband.net
105302b88e
Don't ref-count nsIScrollableViewProvider. b=385286 r+sr=roc
2007-06-23 00:39:40 -07:00
bzbarsky@mit.edu
d7a2736f60
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
2007-06-15 22:12:58 -07:00
sharparrow1@yahoo.com
c6ad0c8d5f
Bug 379015: Fix nsPresShell::RenderOffscreen. r+sr=roc
2007-05-22 17:11:05 -07:00
mats.palmgren@bredband.net
00e4fdb689
Don't bother painting a selection into an empty rect. Avoid using an invalid surface for painting ops. b=380611 r+sr=vladimir
2007-05-17 03:14:35 -07:00
dbaron@dbaron.org
70f9b787c2
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
2007-05-16 14:10:31 -07:00
bzbarsky@mit.edu
7008f05a27
Make sure FrameNeedsReflow() is not called during reflow, and remove thewasDirty asserts and O(N^2) check for existing reflow root in the list. Bug379904, r=roc, sr=dbaron
2007-05-15 20:22:45 -07:00
bzbarsky@mit.edu
2704d6350d
Process XBL constructors right after the frame construction inInitialReflow(). Bug 377119, r+sr=sicking
2007-05-13 20:52:48 -07:00
mats.palmgren@bredband.net
b3b5d084fc
Make CreateRenderingContext() return error for a null surface and add error handling to callers. b=362201 r+sr=vladimir
2007-05-12 06:06:16 -07:00
bzbarsky@mit.edu
c8f8b4146f
Ignore attempts to reframe things before we've done initial reflow. Bug379975, r+sr=roc
2007-05-07 21:46:55 -07:00
bzbarsky@mit.edu
90fce747f4
Followup to bug 378784 based on rbs's review comments.
2007-05-06 15:50:21 -07:00
bzbarsky@mit.edu
1b5f6b30b6
Change the FrameNeedsReflow API to pass the dirty flags to be added directly tothe method, instead of setting them before calling the method. That way we canavoid reflowing the ancestor of a reflow root which is not itself dirty but hasdirty children. This also makes it harder to set dirty bits inconsistentlywith the FrameNeedsReflow call. Bug 378784, r+sr=dbaron, pending rbs' reviewon the mathml parts.
2007-05-06 12:16:51 -07:00
sharparrow1@yahoo.com
bb057f50e6
Bug 378662: Get rid of PresShellViewEventListener. r+sr=roc
2007-05-04 16:28:00 -07:00
aaronleventhal@moonset.net
a36582f135
Bug 357583. Followup improvements to ensure that a11y is activated on Linux when it should be. r+sr=bz
2007-05-04 11:09:02 -07:00
aaronleventhal@moonset.net
bd26112ce2
Bug 357583. Allow XPCOM clients to init accessibility when they use nsIAccessible. r=surkov, sr=roc
2007-05-03 19:19:18 -07:00
aaronleventhal@moonset.net
cc1fb91ccf
Backing out accidental checkin for bug 357583
2007-05-03 13:20:58 -07:00
aaronleventhal@moonset.net
6cae6853a8
Bug 357583. Allow XPCOM clients to init accessibility when they use nsIAccessible. r=surkov, sr=roc
2007-05-03 12:22:24 -07:00
bzbarsky@mit.edu
086c2eb0c0
Introduce a GetPrimaryShell() API on nsIDocument. Convert existing callers ofGetShellAt(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
2007-05-01 15:24:20 -07:00
bzbarsky@mit.edu
79c66b8a27
Make InitialReflow just post a reflow event instead of doing a synchronousreflow. Bug 378975, r=dbaron and Eli Friedman, sr=dbaron
2007-05-01 10:15:08 -07:00
bzbarsky@mit.edu
5362e8e979
Fix build bustage
2007-04-29 23:43:03 -07:00
bzbarsky@mit.edu
487d95825a
Fix bug 379229, r+sr=dbaron
2007-04-29 23:17:03 -07:00
bzbarsky@mit.edu
33d9c4b401
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 fullyreflowed before onload fires. Bug 379093, r+sr=roc
2007-04-29 20:09:55 -07:00
bzbarsky@mit.edu
988c13995e
Back out the test code.
2007-04-26 19:06:50 -07:00
bzbarsky@mit.edu
70adc3f844
Sprinkle null-checks in an attempt to "fix" the orange so I can get answers.
2007-04-26 17:47:34 -07:00
bzbarsky@mit.edu
2647f75784
Adding some test code for a single tinderbox run so I can see what's going onwith Tp2 and such. Will back out after one cycle.
2007-04-26 15:46:05 -07:00
bzbarsky@mit.edu
e50306ba30
Handle restoring scroll position correctly even if InitialReflow comes afterEndLoad. Bug 378606, r+sr=roc
2007-04-25 19:33:02 -07:00
sharparrow1@yahoo.com
f9596263f3
Followup for bug 370952 to fix an obvious bug. r+sr=dbaron.
2007-04-25 18:34:28 -07:00
bzbarsky@mit.edu
49d45d33b7
Remove the root from mDirtyRoots if we resize-reflow it, so that we don't getassertions about frame state not matching with whether the frame is inmDirtyRoots. Bug 374167, r+sr=dbaron
2007-04-25 17:17:50 -07:00
sharparrow1@yahoo.com
2fe1b6664d
relanding of bug 370952: fix the reflow functions in nsPresShell. r+sr=dbaron
2007-04-25 08:49:55 -07:00
sharparrow1@yahoo.com
c75b207f5e
Backing out bug 370952 due to mac tinderbox bustage
2007-04-25 03:44:29 -07:00
sharparrow1@yahoo.com
430f1d047c
Bug 370952: Fix the reflow functions in nsPresShell (covers ResizeReflow and StyleChangeReflow). r+sr=dbaron
2007-04-25 01:22:28 -07:00
bzbarsky@mit.edu
a935465109
Back out. This actually hurts Tp2, the mac reftests are _still_ orange
2007-04-24 00:33:58 -07:00
bzbarsky@mit.edu
d35b8816a8
Another peformance test for bug 378480. Will back out in a few cycles.
2007-04-23 22:46:11 -07:00
bzbarsky@mit.edu
b3f90d4761
Seems to cause orange, and doesn't help Tp2, so backing out. :(
2007-04-23 03:21:41 -07:00
bzbarsky@mit.edu
666484c0c8
Trying something to see its effect on Tp2. Will back out in the morning.Followup to bug 84582, no reviews yet.
2007-04-23 02:36:40 -07:00
Olli.Pettay@helsinki.fi
d8c1972b0e
Bug 378325, r+sr=roc
2007-04-22 22:53:27 -07:00
enndeakin@sympatico.ca
8d2c6abe92
Bug 374570, constrain popups to frame, r+sr=roc
2007-04-20 11:20:03 -07:00
bzbarsky@mit.edu
34b2a1abb4
Recalc quotes and counters before reflow. Bug 377216, r+sr=dbaron
2007-04-15 17:11:34 -07:00
uriber@gmail.com
fa5a45384d
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
2007-04-14 09:51:20 -07:00
bzbarsky@mit.edu
eeaa1a101b
Rename nsIFrame::GetPresContext to nsIFrame::PresContext. Bug 376042, patch byTaras Glek <tglek@mozilla.com>, rs=roc.
2007-03-30 14:11:41 -07:00
enndeakin@sympatico.ca
57995c4c65
Bug 375684, assertion when source of a drag is the root element, r+sr=roc
2007-03-29 16:58:59 -07:00
enndeakin@sympatico.ca
3662802f55
Bug 374832, lower opacity on drag images, Bug 375038, dragging doesn't work on blocks inside inlines, r+sr=roc
2007-03-25 20:27:53 -07:00
sharparrow1@yahoo.com
0e9ad118b5
Bug 375273: minor code cleanup in nsContainerFrame. r+sr=roc
2007-03-25 18:12:49 -07:00
enndeakin%sympatico.ca
6ccc9fa0b8
Bug 178513, support translucent drag feedback when dragging nodes and selections on Mac and GTK, r=vlad,josh,roc,sr=roc
2007-03-20 12:14:52 +00:00
bzbarsky%mit.edu
0d33609a3d
Be a little more careful about whether we have dirty roots. Bug 332807,
...
r+sr=dbaron
2007-03-13 21:21:03 +00:00
bzbarsky%mit.edu
098348b001
Relanding bug 267833. Let's see what Txul does now. Still r+sr=sicking
2007-03-09 23:43:50 +00:00
roc+%cs.cmu.edu
800669d476
Bug 372729. Layout scrollbars before onload fires. r+sr=bzbarsky
2007-03-08 01:37:06 +00:00
Olli.Pettay%helsinki.fi
baadb13165
Bug 372797, Convert ScrollFrameIntoView users to use ScrollContentIntoView, r+sr=roc
2007-03-07 19:08:36 +00:00
bzbarsky%mit.edu
372e1553c0
Back out bug 267833 to test performance effect.
2007-03-06 21:12:49 +00:00
bzbarsky%mit.edu
448ba1fa30
Fire XBL constructors asynchronously after binding attachment, unless we're in
...
the middle of an update. In that case, fire them at the end of the update.
Bug 267833, r+sr=sicking, fingers-crossed=me
2007-03-06 19:36:36 +00:00
Olli.Pettay%helsinki.fi
4e0ebc823d
Bug 372665 ��� Crash [@ PresShell::ScrollFrameIntoView] when focusing br during pageload. (Adding ScrollContentIntoView), r+sr=roc
2007-03-06 09:53:56 +00:00
roc+%cs.cmu.edu
f8cefabfb8
Bug 363253. Move scrollframe attribute-setting out of reflow to a post-reflow callback. r+sr=dbaron
2007-03-05 01:39:53 +00:00
mats.palmgren%bredband.net
c4c9c7f81f
Avoid creating multiple entries for a frame in mDirtyRoots. b=366320 r+sr=dbaron
2007-02-23 02:29:52 +00:00
roc+%cs.cmu.edu
debe2c46c4
Bug 354491. Fix the display of the event target frame in layout debugging to not use views and not crash. r=mats,sr=rbs
2007-02-20 20:22:19 +00:00
asqueella%gmail.com
284a5ea424
bug 257868 - remove the nsIPresShell::SetAnonymousContentFor() API, make the frames store strong refs to the anonymous content instead. Decomtaminate nsIAnonymousContentCreator.
...
r+sr=roc
2007-02-18 17:34:09 +00:00
sharparrow1%yahoo.com
eb357147b1
Bug 370492: Stop using views for event.PageX/Y, event.layerX/Y, image.x/y. r+sr=roc.
2007-02-18 10:43:12 +00:00
sharparrow1%yahoo.com
9544d61b5c
Bug 370642: remove use of views in layout/inspector. r+sr=dbaron.
2007-02-18 04:44:21 +00:00
jonas%sicking.cc
073b1fd3fe
Bug 370332: Kill nsIBindingManager and nsIStyleRuleSupplier. r=dbaron for the layout/style parts, r/sr=jst for the rest.
2007-02-16 23:02:08 +00:00
bzbarsky%mit.edu
fead227122
Revoke pending reflow events before tearing down the frame tree. Bug 347662,
...
r+sr=roc.
2007-02-13 04:46:57 +00:00
sharparrow1%yahoo.com
76a64e5c22
Bug 177805: Fix the use of units in Gecko. r+sr=roc
2007-02-07 07:46:44 +00:00
smontagu%smontagu.org
de6d14c8dd
Remove unused method BidiStyleChangeReflow(). Bug 369338, r+sr=roc
2007-02-05 10:48:27 +00:00
cvshook%sicking.cc
a39ff30284
Kill remainders of ns(XBL|HTML|XUL|Layout)Atoms. r/sr=jst b=368128
2007-01-30 00:06:41 +00:00
dbaron%dbaron.org
752393c64e
Fix bustage merging 367442 and 366956.
2007-01-26 01:10:28 +00:00
dbaron%dbaron.org
c88c6e09b4
Reflow reflow roots and the child of SVG foreignObject with an unconstrained height to avoid triggering page/column breaking. b=366956 r+sr=roc
2007-01-25 02:01:07 +00:00
roc+%cs.cmu.edu
fa1e88771c
Bug 333659. Land layout changes to pass only single-direction textruns to nsIRenderingContext string methods. r=dbaron
2007-01-23 02:58:55 +00:00
dbaron%dbaron.org
e47180b9d5
Make PushStackMemory never fail to simplify callers, and deCOMtaminate the stack memory API. b=366866 r+sr=bzbarsky
2007-01-17 23:53:47 +00:00
roc+%cs.cmu.edu
485d1a8b1a
Bug 366001. Remove old reflow batching API, it's not effective or needed. r+sr=bzbarsky
2007-01-17 22:28:33 +00:00
dbaron%dbaron.org
a11bd7c386
Fix potentially uninitialized nsresult return value, regression from deCOMtamination patch. b=330305 r+sr=roc
2007-01-17 05:16:13 +00:00
bzbarsky%mit.edu
867068ef8a
Implement the proposed Web Apps 1.0 API for changing the selected style sheet
...
set, querying the available sets, etc. Bug 200930, r=sicking, sr=dbaron
2007-01-11 19:32:31 +00:00
timeless%mozdev.org
4e651390ef
Bug 355300 There should be only one nsGkAtoms creature
...
r=dbaron
2006-12-26 17:47:52 +00:00
Olli.Pettay%helsinki.fi
5cdb072969
Bug 336574, r+sr=roc
2006-12-15 00:23:39 +00:00
neil%parkwaycc.co.uk
5d940d8a33
Bug 363444 Small objects sometimes incorrectly scrolled into view r+sr=roc
2006-12-13 20:43:59 +00:00
dbaron%dbaron.org
31f1898810
Bug 300030: Move intrinsic width computation out of nsIFrame::Reflow and into its own methods on nsIFrame. Replace reflow reasons, types, and commands with dirty bits/notifications. Thanks to bzbarsky for almost all of the HTML form controls (mozilla/layout/forms) changes, and many others for help testing and patching. For detailed commit logs, see REFLOW_YYYYMMDD_BRANCH, where YYYYMMDD is one of 20061031, 20060830, 20060603, 20060302, 20060119, 20051011, 20050804, 20050429, 20050315, 20050111, and 20041213.
2006-12-08 05:38:33 +00:00
bzbarsky%mit.edu
8bfd20a05a
Move GetCompatibilityMode() to nsIDocument. Bug 362797, r+sr=jst
2006-12-05 15:46:18 +00:00
Olli.Pettay%helsinki.fi
5c3a11f4f4
Bug 360731, Back and Forward buttons on mouse no longer work, also Bug 330938, r=emaijala, sr=roc
2006-12-01 11:09:53 +00:00
roc+%cs.cmu.edu
4b33f10cb8
Bug 324963. Keep a list of active popups to help us dispatch mouse events to them ... moving handling of 'always on top' popups towards a view-less world. r+sr=bzbarsky
2006-11-29 23:09:13 +00:00
sayrer%gmail.com
0d2f67fa51
bug 361005. remove nsCRT::strdup from layout. r+sr=bz
2006-11-17 01:49:06 +00:00
Olli.Pettay%helsinki.fi
8b6f4c022e
Consolidate NS_MOUSE_***_UP/DOWN/CLICK/DBLCLICK events, r=jst,roc,josh,sergei_d,emaijala,mkaply
2006-11-16 21:35:39 +00:00
bzbarsky%mit.edu
84053a9abd
When doing ContentRemoved, IndexOf() will always return -1. So don't use it.
...
Bug 360524, r+sr=roc
2006-11-13 21:27:44 +00:00
mrbkap%gmail.com
49801f467c
Add an API on the presshell for invalidating the caret if it isn't currently
...
contained entirely in its frame. Use it in the editor where we remove the
caret's frame out from under it without properly notifying it (due to selection
batching). bug 335065, r+sr=roc
2006-11-07 01:35:36 +00:00
cvshook%sicking.cc
f5194fd473
Bug 358106: Make ranges use nsIMutationObserver rather than their own notification system. r/sr=jst
2006-11-03 21:51:01 +00:00
bzbarsky%mit.edu
4547d34bd4
When retargeting events to a parent presshell, do not lose our focus. Bug
...
305939, patch by Oliver Yeoh <oliver_yeoh@hotmail.com>, r=mats, sr=bzbarsky
2006-10-27 00:01:19 +00:00
cvshook%sicking.cc
55d0c600fa
Kill nsGeneratedContentIterator and related classes and code since it's not used. r/sr=dbaron b=357957
2006-10-25 20:24:00 +00:00
mats.palmgren%bredband.net
38a3a11411
Remove dead code. b=355617 r+sr=bzbarsky
2006-10-07 08:34:53 +00:00
Olli.Pettay%helsinki.fi
f1b334d007
Bug 346521, Crash [@ PresShell::ReflowEvent::Run] when clicking on close window link in popup window with embedded video, r+sr=roc
2006-09-26 22:29:59 +00:00
neil%parkwaycc.co.uk
0eff12bbc6
Bug 70798 Ability to have transparent background on <popup>s r+sr=roc
2006-09-07 08:50:43 +00:00
bzbarsky%mit.edu
7fc60a8e53
Just make all document mutation observers get notified through the binding
...
manager, to resolve issues with them depending on insertion points. Bug 348573
follow, r+sr=sicking
2006-08-31 03:17:45 +00:00
bzbarsky%mit.edu
23d7c72d67
Retarget key events to the parent presshell if we have no root content. Bug
...
303260, r=mats, sr=roc
2006-08-28 02:04:16 +00:00
jruderman%hmc.edu
822415306c
Bug 334514, FrameArena::~FrameArena should assert that it's empty. r=sr=roc. If you see the new assertion, "Some frame destructors were not called", please file a security-sensitive bug (blocking bug 334514) and/or fix it :)
2006-08-26 04:22:24 +00:00
mrbkap%gmail.com
84675385e0
Update the caret's position and size after reflows. bug 334609, r+sr=roc
2006-08-23 02:06:39 +00:00
mrbkap%gmail.com
136f0922ad
Invalidate the caret's position while we can still figure out which continuing frame we are in. bug 336637, r+sr=roc
2006-08-17 20:58:31 +00:00
bzbarsky%mit.edu
1a3d59e096
Make it possible for document observers who need to worry about XBL to observe
...
the binding manager and make presshell do that. Bug 348573, r+sr=sicking
2006-08-15 22:41:58 +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