Commit Graph

177 Commits

Author SHA1 Message Date
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
Olli.Pettay%helsinki.fi
00bb6d99a7 Bug 343457, Adding nsWeakFrame, r+sr=roc 2006-07-12 07:41:11 +00:00
Olli.Pettay%helsinki.fi
ce0745a535 backing out Bug 343457 too see if it caused btek tp regression 2006-07-11 20:18:07 +00:00
Olli.Pettay%helsinki.fi
4451e7f11c Bug 343457, Add nsWeakFrame, r+sr=roc 2006-07-11 13:01:07 +00:00
roc+%cs.cmu.edu
aac1b0d44f 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
e27b36efcc 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
5dcd0b1309 One-line descriptions of files, partly because they show up in LXR. 2006-03-30 05:56:38 +00:00
bryner%brianryner.com
7a96206e10 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
f79ea0115b Bug 234455, Centralize event dispatch r=jst, sr=bz 2006-03-07 17:08:51 +00:00
masayuki%d-toybox.com
3deabd1ae2 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
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
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
bzbarsky%mit.edu
d6de8c5bd3 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
2b7fc1f0c9 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
15e4ba0d80 Remove now-unused CantRenderReplacedElement. b=309065 r+sr=bzbarsky 2005-09-21 21:54: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
smfr%smfr.org
1469ecb299 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
0d6a610963 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
64f28bc51d 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
091d8cf9cb 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
48215bff90 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
d99a80f804 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
d8ef241ada 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
aed69207f0 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
abd3646f41 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
e042c2f571 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
dc76c57a2c 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
ee9eb14e72 fixing btek bustage 2004-08-29 04:18:27 +00:00
bryner%brianryner.com
d082d2bf5e 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
bryner%brianryner.com
180b0b7373 Remove refcounting version of nsIPresShell::GetPresContext. Bug 253889, r+sr=roc. 2004-08-20 20:34:37 +00:00
neil%parkwaycc.co.uk
a33872e9fe Bug 32372 should be possible to completely disable CSS p=fantasai@inkedblade.net r=me (xpfe) r/sr=dbaron 2004-08-05 11:38:42 +00:00
bryner%brianryner.com
6a8c79a9b2 Remove non-inlined version of nsIPresShell::GetDocument(). Bug 253889, r+sr=roc. 2004-08-02 04:52:55 +00:00
bryner%brianryner.com
5c02a6978c Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc 2004-07-31 23:15:21 +00:00
cbiesinger%web.de
ae7223e9f1 bug 196380
o) move nsCopySupport into content (from layout), it belongs there better
o) add an |currentURI| attribute to nsIImageLoadingContent which allows access to the URI that is currently being displayed
o) use that from the image uri copy code
xpfe part: r=neil.parkwaycc.co.uk sr=bz rest: r+sr=bz
2004-06-05 17:57:00 +00:00
bzbarsky%mit.edu
a7bff6ad5b Change FlushPendingNotifications to have more granularity and update callers to
only flush the things they really need flushed.  Bug 144072, r+sr=jst
2004-05-27 22:08:42 +00:00
gerv%gerv.net
708b56cff4 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:30:37 +00:00
bryner%brianryner.com
0af1a79c51 More nsIPresContext deCOMtamination (bug 229371). r+sr=roc. 2004-04-13 00:28:44 +00:00
roc+%cs.cmu.edu
8b6cbebaad Bug 235335. Make nsFrameManager a direct member of nsIPresShell. r+sr=bryner 2004-03-06 04:46:11 +00:00
bryner%brianryner.com
225298a99e Get rid of nsIFrameManager abstract interface to the frame manager. Bug 233972, r+sr=roc. 2004-02-23 21:29:06 +00:00
bryner%brianryner.com
23ecb8ff4e DeCOMtaminate nsCSSFrameConstructor (bug 231157). This gets rid of the nsIStyleFrameConstruction and nsICSSFrameConstructor interfaces. The frame constructor now has the same lifetime as the pres shell. r+sr=dbaron. 2004-01-21 23:05:10 +00:00
bryner%brianryner.com
16be23821e Additional cleanup related to bug 64116. r=bzbarsky. 2004-01-08 19:23:12 +00:00
bryner%brianryner.com
e65d2d2fe5 Eliminate nsIStyleSet as an XPCOM interface, making the implementation internal to layout. Frame constructor ownership moves to the pres shell, and the style set methods that forward to the frame constructor are gone. Rewrote style set sheet add/remove to reduce code size. For more details, see bug 64116. r+sr=dbaron. 2004-01-07 22:30:53 +00:00
alecf%flett.org
5cd7937058 fix for bug 209679 - remove reflow observer junk - r/sr=dbaron 2004-01-07 17:47:25 +00:00
dbaron%dbaron.org
f73d429e36 Add inline accessors for frame manager. b=208190 r+sr=roc 2003-07-12 00:48:16 +00:00
bzbarsky%mit.edu
0c5dc097d7 Don't bother reresolving style when empty stylesheets get added (eg from empty
<style> elements).  Also remove the methods for blowing away the ruletree
during a style reresolve, since ruletrees are now garbage-collected.  Bug
196557, r+sr=dbaron
2003-07-04 01:44:24 +00:00
bsmedberg%covad.net
1a9cab373f Bug 210337 - Spring cleaning of unused XPCOM code and callers r/sr=alecf/bz 2003-06-23 20:31:43 +00:00
dbaron%dbaron.org
e1e798d3f8 Remove |aPresContext| and |aPresShell| parameters from |nsIFrameManager| methods. b=208190 r+sr=bzbarsky 2003-06-19 23:52:58 +00:00
dbaron%dbaron.org
6851bed075 Begin deCOMtamination of central objects by adding inline getters to get from one object to another. b=208190 r=roc sr=bzbarsky 2003-06-19 18:16:53 +00:00
jaggernaut%netscape.com
756d8ef907 Bug 203960: Make bookmark groups replace existing tabs instead of appending. r=jkeiser, varga, adamlock, sr=jst, hewitt 2003-05-30 00:21:01 +00:00
sfraser%netscape.com
352be220ed Fix bug 196704: implement commands to get the selected text, and insert text, to allow for embedders (like Camino) to use them, e.g. for the Mac OS X services menu. Also fix image copy. r=brade, sr=kin. 2003-04-22 18:11:12 +00:00