Commit Graph

348 Commits

Author SHA1 Message Date
e1c6c2a9cd Fix the vertical scrollbar guessing in nsHTMLScrollFrame to do better for aninitial reflow if we're doing that initial reflow a ways into the documentload. Bug 378480, r+sr=roc 2007-04-25 19:29:21 -07:00
e4d1abe4e8 Bug 374570, constrain popups to frame, r+sr=roc 2007-04-20 11:20:03 -07:00
7e4e3ec68f 375196, r+sr=roc 2007-03-25 22:38:22 -07:00
enndeakin@sympatico.ca
bad78e7ff6 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
Olli.Pettay@helsinki.fi
8d0f36dccd Bug 372797, Convert ScrollFrameIntoView users to use ScrollContentIntoView, r+sr=roc 2007-03-07 19:08:36 +00:00
mats.palmgren@bredband.net
d40d11c7e6 Ignore calls to RemoveMappingsForFrameSubtree() after WillDestroyFrameTree() have been called. b=372576 r+sr=bzbarsky 2007-03-06 21:07:21 +00:00
Olli.Pettay@helsinki.fi
9a5f6bb6c7 Bug 372665 ��� Crash [@ PresShell::ScrollFrameIntoView] when focusing br during pageload. (Adding ScrollContentIntoView), r+sr=roc 2007-03-06 09:53:56 +00:00
Olli.Pettay@helsinki.fi
4099d59436 Bug 368501, Table Properties Windows Cut Off, r=bz, sr=roc 2007-03-05 21:55:23 +00:00
roc+@cs.cmu.edu
b784fe1e15 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
a00b4444aa Ignore calls to RemoveMappingsForFrameSubtree() if the pres shell is being destroyed. b=372576 r+sr=bzbarsky 2007-03-04 22:39:39 +00:00
roc+@cs.cmu.edu
c5dd092608 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
49c82b0ca8 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
3c6fed7935 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
smontagu@smontagu.org
d12226ca07 Remove unused method BidiStyleChangeReflow(). Bug 369338, r+sr=roc 2007-02-05 10:48:27 +00:00
dbaron@dbaron.org
ff57b3e674 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
58617e4aaf Bug 366001. Remove old reflow batching API, it's not effective or needed. r+sr=bzbarsky 2007-01-17 22:28:33 +00:00
bzbarsky@mit.edu
8e1f46c3c3 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
Olli.Pettay@helsinki.fi
4e30a50d4b Bug 336574, r+sr=roc 2006-12-15 00:23:39 +00:00
dbaron@dbaron.org
d21cb374bd 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
mrbkap@gmail.com
8ceebf79d3 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
f75d64cf5b 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
uriber@gmail.com
a31f02572b 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
Olli.Pettay@helsinki.fi
534361fd84 Bug 343457, Adding nsWeakFrame, r+sr=roc 2006-07-12 07:41:11 +00:00
Olli.Pettay@helsinki.fi
3fcbfae254 backing out Bug 343457 too see if it caused btek tp regression 2006-07-11 20:18:07 +00:00
Olli.Pettay@helsinki.fi
aeb5ef705f Bug 343457, Add nsWeakFrame, r+sr=roc 2006-07-11 13:01:07 +00:00
roc+@cs.cmu.edu
5e0300fa5c 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
mrbkap@gmail.com
bcd931fd57 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
dbaron@dbaron.org
2441f6a36b One-line descriptions of files, partly because they show up in LXR. 2006-03-30 05:56:38 +00:00
bryner@brianryner.com
6a57d0733c 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
Olli.Pettay@helsinki.fi
6ba912b316 Bug 234455, Centralize event dispatch r=jst, sr=bz 2006-03-07 17:08:51 +00:00
masayuki@d-toybox.com
27e503b6b5 Bug 258006 Mouse-wheel scroll events does not propagate to viewport from fixed pos. elements r+sr=roc 2006-02-01 19:55:35 +00:00
roc+@cs.cmu.edu
a1b6a30f14 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
bsmedberg@covad.net
fb56b42204 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
bzbarsky@mit.edu
7202497339 Don't try to restyle a destroyed frame tree. Bug 315453, r+sr=dbaron 2005-11-08 04:07:13 +00:00
bzbarsky@mit.edu
a659cca7ce Make all stylesheet changes do an async style reresolve, not a sync one. Bug
314776, r+sr=dbaron
2005-11-06 18:01:17 +00:00
dbaron@dbaron.org
bbc19069d7 Remove now-unused CantRenderReplacedElement. b=309065 r+sr=bzbarsky 2005-09-21 21:54:54 +00:00
bzbarsky@mit.edu
a6c8685ff9 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
smfr@smfr.org
c0eec993a9 Fix bug 208601: DocumentViewerImpl::GetCanGetContents() was incorrectly returning false for text fields, because it was looking at the document's selection, rather than the text field selection. Fix by exposing nsIPresShell::GetSelectionForCopy(), and calling that. This fixes the Services menu in Camino to work in text fields. r/sr=roc. 2005-08-29 15:19:13 +00:00
bzbarsky@mit.edu
93240998ef Make nsIPresShell::GetPrimaryFrameFor return nsIFrame* instead of using an out
param.  Bug 303779, patch by Bastiaan Jacques <b.jacques@planet.nl>, r+sr=bzbarsky
2005-08-22 22:24:29 +00:00
bryner@brianryner.com
7efb1e493a follow-up to bug 303725, don't try to get a weak reference to a weak reference. r+sr=dbaron. 2005-08-22 19:46:25 +00:00
bryner@brianryner.com
7d5cea2295 Attempting to fix crashes in RetargetEventToParent (bug 303725). Leave a weak container pointer so that events targetted to cached pres shells can be sent up to the parent, and don't crash if this fails. r=aaronl, sr=dbaron. 2005-08-22 01:55:34 +00:00
bryner@brianryner.com
feb23d65dc Make sure we unsuppress painting for subframes on fastback. Bug 292890, r+sr=dbaron, a=brendan. 2005-07-19 17:07:40 +00:00
bryner@brianryner.com
9e21801c67 Use PresShell::UnsuppressPainting instead of just an invalidate, to make sure the content area receives focus if needed. Bug 295931, r+sr=dbaron, a=brendan. 2005-07-01 07:12:02 +00:00
aaronleventhal@moonset.net
a1252af0af Bug 290352. Fix show/hide events, and anything dependent on those such as DHTML sub sub menus, alerts and progress bars. r=louie.zhao, sr=bz, a=asa 2005-06-10 13:57:27 +00:00
bryner@brianryner.com
9d9b2e7a47 Add support for caching content viewers in session history to speed up back/forward (bug 274784). This initial landing has the feature disabled by default; set browser.sessionhistory.max_viewers to the maximum number of pages to cache to enable the feature. r=bzbarsky, sr/a=brendan. 2005-05-04 20:22:32 +00:00
aaronleventhal@moonset.net
b9a1cbed8c Bug 280498. Invalidate accessibility subtree for frame visibility/display style changes. r=bz, sr=roc, a=asa 2005-05-03 03:46:51 +00:00
bzbarsky@mit.edu
83d699eccc Move reflow command construction into nsPresShell::AppendReflowCommand, remove
some members, switch some callers to the non-COM-ish apis.  Bug 267085, r+sr=rbs
2005-02-08 00:59:52 +00:00
bryner@brianryner.com
314059c81d deCOMify nsIPresShell::GetRootFrame. Change callers inside of gklayout to use FrameManager()->GetRootFrame() instead so that the call can be inlined. Bug 253889, r+sr=roc. 2004-09-02 03:08:51 +00:00
bryner@brianryner.com
5ae1adfd2c fixing btek bustage 2004-08-29 04:18:27 +00:00
bryner@brianryner.com
5ad343526a More nsIPresShell deCOMtamination:
- Made Get/SetAuthorStyleDisabled and ReconstructStyleData non-virtual when called internally.
- Inlined GetFrameSelection and renamed it to FrameSelection.
- Removed non-inline version of GetViewManager.
- Removed unused EnablePrefStyleRules and ArePrefStyleRulesEnabled.

Bug 253889, r+sr=roc.
2004-08-29 03:08:44 +00:00