211 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
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
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
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
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
bzbarsky%mit.edu
95f7c18450 Fixing typo.
git-svn-id: svn://10.0.0.236/trunk@226019 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-07 02:58:07 +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
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
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
4d238d61d2 Fix the vertical scrollbar guessing in nsHTMLScrollFrame to do better for an
initial reflow if we're doing that initial reflow a ways into the document
load.  Bug 378480, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@225067 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-26 02:29:21 +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
Olli.Pettay%helsinki.fi
6de13cdbca 375196, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@222385 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-26 05:38:22 +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
Olli.Pettay%helsinki.fi
20e1f263f1 Bug 372797, Convert ScrollFrameIntoView users to use ScrollContentIntoView, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@221453 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-07 19:08:36 +00:00
mats.palmgren%bredband.net
39daba4d12 Ignore calls to RemoveMappingsForFrameSubtree() after WillDestroyFrameTree() have been called. b=372576 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@221408 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-06 21:07:21 +00:00
Olli.Pettay%helsinki.fi
9d63e840ba Bug 372665 – Crash [@ PresShell::ScrollFrameIntoView] when focusing br during pageload. (Adding ScrollContentIntoView), r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@221380 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-06 09:53:56 +00:00
Olli.Pettay%helsinki.fi
129a6d12e2 Bug 368501, Table Properties Windows Cut Off, r=bz, sr=roc
git-svn-id: svn://10.0.0.236/trunk@221346 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-05 21:55:23 +00:00
roc+%cs.cmu.edu
f6ae161325 Bug 363253. Move scrollframe attribute-setting out of reflow to a post-reflow callback. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@221296 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-05 01:39:53 +00:00
mats.palmgren%bredband.net
cefcc53f4c Ignore calls to RemoveMappingsForFrameSubtree() if the pres shell is being destroyed. b=372576 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@221285 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-04 22:39:39 +00:00
roc+%cs.cmu.edu
a059a387a0 Bug 354491. Fix the display of the event target frame in layout debugging to not use views and not crash. r=mats,sr=rbs
git-svn-id: svn://10.0.0.236/trunk@220594 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-20 20:22:19 +00:00
asqueella%gmail.com
11bad405e3 bug 257868 - remove the nsIPresShell::SetAnonymousContentFor() API, make the frames store strong refs to the anonymous content instead. Decomtaminate nsIAnonymousContentCreator.
r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@220517 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-18 17:34:09 +00:00
sharparrow1%yahoo.com
b77c8515bc Bug 370492: Stop using views for event.PageX/Y, event.layerX/Y, image.x/y. r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@220508 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-18 10:43:12 +00:00
smontagu%smontagu.org
bb62298042 Remove unused method BidiStyleChangeReflow(). Bug 369338, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@219488 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-05 10:48:27 +00:00
dbaron%dbaron.org
927d56bf63 Make PushStackMemory never fail to simplify callers, and deCOMtaminate the stack memory API. b=366866 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@218565 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-17 23:53:47 +00:00
roc+%cs.cmu.edu
d641d76b28 Bug 366001. Remove old reflow batching API, it's not effective or needed. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@218554 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-17 22:28:33 +00:00
bzbarsky%mit.edu
8c351facb0 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


git-svn-id: svn://10.0.0.236/trunk@218215 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-11 19:32:31 +00:00
Olli.Pettay%helsinki.fi
aec65575d1 Bug 336574, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@216997 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-15 00:23:39 +00:00
dbaron%dbaron.org
1ca9f3f372 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.
git-svn-id: svn://10.0.0.236/trunk@216738 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-08 05:38:33 +00:00
mrbkap%gmail.com
10f4e54168 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


git-svn-id: svn://10.0.0.236/trunk@214842 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-07 01:35:36 +00:00
cvshook%sicking.cc
5b1363f0be Kill nsGeneratedContentIterator and related classes and code since it's not used. r/sr=dbaron b=357957
git-svn-id: svn://10.0.0.236/trunk@214128 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-25 20:24:00 +00:00
uriber%gmail.com
bf3c2a0692 Moved mCaretBidiLevel and its accessors from nsPresShell to nsFrameSelection. Also added sBidiKeyboard as a static service to nsContentUtils. bug=346891 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@206807 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-08 05:14:52 +00:00
Olli.Pettay%helsinki.fi
4fecdff0a7 Bug 343457, Adding nsWeakFrame, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@201923 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-12 07:41:11 +00:00
Olli.Pettay%helsinki.fi
62e7c4758f backing out Bug 343457 too see if it caused btek tp regression
git-svn-id: svn://10.0.0.236/trunk@201898 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-11 20:18:07 +00:00
Olli.Pettay%helsinki.fi
3e553a6049 Bug 343457, Add nsWeakFrame, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@201872 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-11 13:01:07 +00:00
roc+%cs.cmu.edu
02b50c231a Bug 330305. Rename nsSelection to nsFrameSelection, and deCOMtaminate it, removing nsIFrameSelection. patch by Marc Liddell, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@195412 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-26 02:01:07 +00:00
mrbkap%gmail.com
b8eef2bbb9 Draw the caret in the normal path of frame painting instead of doing it directly to the current view. bug 287813, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@194553 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-17 23:16:46 +00:00
dbaron%dbaron.org
f982efe3c6 One-line descriptions of files, partly because they show up in LXR.
git-svn-id: svn://10.0.0.236/trunk@193246 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-30 05:56:38 +00:00
bryner%brianryner.com
1de3fc0366 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.
git-svn-id: svn://10.0.0.236/trunk@192794 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-22 18:36:36 +00:00
Olli.Pettay%helsinki.fi
b6cdf7cb60 Bug 234455, Centralize event dispatch r=jst, sr=bz
git-svn-id: svn://10.0.0.236/trunk@191900 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-07 17:08:51 +00:00
masayuki%d-toybox.com
b94de096af Bug 258006 Mouse-wheel scroll events does not propagate to viewport from fixed pos. elements r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@188690 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-01 19:55:35 +00:00
roc+%cs.cmu.edu
df8627e29b 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
git-svn-id: svn://10.0.0.236/trunk@188202 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-26 02:29:17 +00:00
bsmedberg%covad.net
0217e2f9a9 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
git-svn-id: svn://10.0.0.236/trunk@184456 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-11 14:36:26 +00:00
bzbarsky%mit.edu
44bbb394a0 Don't try to restyle a destroyed frame tree. Bug 315453, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@184288 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-08 04:07:13 +00:00
bzbarsky%mit.edu
c43ac8f5a3 Make all stylesheet changes do an async style reresolve, not a sync one. Bug
314776, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@184211 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-06 18:01:17 +00:00
dbaron%dbaron.org
43d56f3379 Remove now-unused CantRenderReplacedElement. b=309065 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@180773 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-21 21:54:54 +00:00
bzbarsky%mit.edu
26af641d58 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


git-svn-id: svn://10.0.0.236/trunk@180509 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-18 18:05:40 +00:00