bzbarsky@mit.edu
709b2596e8
Make sure to null out mStyleSet if Init() fails, since the caller will delete
...
it in that case. Bug 240240, r+sr=bryner
2004-04-13 00:27:29 +00:00
sicking@bigfoot.com
04bff86218
Bug 237566: Remove nsIContent::ReplaceChildAt and supportive codepaths.
...
r=bz sr=jst
2004-04-12 22:48:33 +00:00
dbaron@dbaron.org
f81eb789f3
Implement 'quotes' property correctly by tracking quote nesting depth using a linked list. Patch by Esben Mose Hansen <esben@oek.dk>, Ulrich Drepper <drepper@redhat.com>, and me. b=24861
2004-04-12 21:53:22 +00:00
bryner@brianryner.com
4428ac8deb
Fix following an image map link by pressing enter. Bug 214373, r+sr=jst, a=asa.
2004-03-22 18:13:11 +00:00
roc+@cs.cmu.edu
bfa2b2d5c6
Bug 235264. Clean up invalidation to go through a single nsIFrame::Invalidate function and take account of 'outline' where necessary. r+sr=dbaron
2004-03-10 03:09:05 +00:00
roc+@cs.cmu.edu
9fcd1843dc
Bug 235335. Make nsFrameManager a direct member of nsIPresShell. r+sr=bryner
2004-03-06 04:46:11 +00:00
bryner@brianryner.com
08d2e8fc4c
inline IsPaginated, SetPaginatedScrolling, and GetPaginatedScrolling. Bug 229371, r+sr=roc.
2004-03-03 18:24:20 +00:00
bryner@brianryner.com
f485f95ee8
deCOMtaminate nsIPresContext::GetEventStateManager. Bug 229371, r+sr=roc.
2004-02-27 17:17:37 +00:00
bryner@brianryner.com
9eda708f2b
Try to fix some crashes from calling PresShell methods after Destroy() has called. Bug 235395, r+sr=roc.
2004-02-25 09:10:06 +00:00
bryner@brianryner.com
180d96f792
Get rid of nsIFrameManager abstract interface to the frame manager. Bug 233972, r+sr=roc.
2004-02-23 21:29:06 +00:00
dbaron@dbaron.org
f4264ddfc8
Rename {nsIDocument,nsIDocumentObserver,nsIFrame}::ContentChanged to CharacterDataChanged, since that's the only thing it's used for. Replace its nsISupports* parameter with a PRBool, since we don't need to allocate an object to pass a boolean parameter. Remove some (but probably not all) unneeded implementations on frames whose content is never a text node. b=234960 r+sr=jst
2004-02-20 21:38:31 +00:00
bryner@brianryner.com
9a3c56b36f
Inline boolean getters and setters on nsIPresContext, and change the storage to a bitfield. Bug 229371, r+sr=roc.
2004-02-20 17:49:01 +00:00
neil@parkwaycc.co.uk
3a41c548d0
checked in wrong file, sorry
2004-02-19 13:23:46 +00:00
neil@parkwaycc.co.uk
6820fa57b7
(on bsmedberg's advice) third time lucky?
2004-02-19 13:20:57 +00:00
dbaron@dbaron.org
07b839cbf9
Back out bug 20022. a=chofmann
2004-02-14 20:29:19 +00:00
dbaron@dbaron.org
2273af9252
Synthesized mouse moves shouldn't fire DOM mousemove events. b=20022 r=roc sr=bryner
2004-02-06 23:10:32 +00:00
dbaron@dbaron.org
e17f039010
Update :hover state and mouse cursor and send mouse events when the position of the pointer changes due to scrolling or reflow. b=20022 r=roc sr=bryner
2004-02-04 00:11:59 +00:00
danm-moz@comcast.net
d1d69dea2b
that doesn't seem to be the problem. restoring over last revision.
2004-02-03 20:07:39 +00:00
danm-moz@comcast.net
6fd0aa3810
disabling last checkin in an attempt to pin down the Tp regression
2004-02-03 17:16:05 +00:00
danm-moz@comcast.net
7187f5f818
set event being handled in the EventStateManager. bug 197919 r=bryner,jst
2004-02-03 02:23:08 +00:00
bryner@brianryner.com
58ce615aa2
Guarantee that the pres context's device context will be non-null by returning failure from Init() if it's null. Rename inline getter GetDeviceContext() to DeviceContext(), convert all callers to use the inline getter, and remove the virtual/refcounting getter. Bug 229371, r+sr=dbaron.
2004-02-02 22:17:21 +00:00
bryner@brianryner.com
191d92ce16
More nsIPresContext deCOMtamination (bug 229371). Inline getters and setters for LinkHandler, VisibleArea, and Language; change some methods that don't return any useful data to |void|; make GetContainer return an already_AddRefed. r+sr=dbaron
2004-02-01 10:09:07 +00:00
bryner@brianryner.com
d3fe7e39fa
Continuing nsIPresContext deCOMtamination (bug 229371). Remove ReParentStyleContext - callers can call frame manager directly. Removed several unused setters. Inlined getters for default colors, font scaler, and focus ring width. Changed GetDefaultFont to return a const nsFont*. r+sr=dbaron.
2004-01-31 22:41:40 +00:00
dbaron@dbaron.org
895fd57995
Use a stub implementation of nsIDocumentObserver for implementors of nsIDocumentObserver in the layout library. b=232351 r+sr=jst
2004-01-29 01:45:34 +00:00
bzbarsky@mit.edu
e9a515ee40
Remove the broken nsAttributeContent and just use regular textnodes to
...
implement attr() content. Use mutation events to handle dynamic attr changes.
Bug 214013, r=dbaron, sr=jst
2004-01-27 04:22:58 +00:00
jst@mozilla.jstenback.com
a4ceb4251c
Fixing bug 230840. DeCOMtaminating nsIDocumentObserver, nsIAttribute, nsIContentList, and nsIContentIterator, and doing some other cleanup. r=jonas@sicking.cc, sr=bryner@brianryner.com
2004-01-24 00:46:17 +00:00
bryner@brianryner.com
d9d66e38d5
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
c4277278e2
Continuing nsIPresContext deCOMtamination (bug 229371). Remove GetImageLoadFlags (unused). Make failure to fetch the LookAndFeel service cause Init() to fail, don't null check it after that, and inlined the getter. Move IOService caching to nsImageFrame, the only user of it. r+sr=bzbarsky.
2004-01-21 09:35:59 +00:00
dbaron@dbaron.org
23f9cfdd7c
Process queued-up events after all types of reflow so we don't leak things referenced by the queues. b=231278 r=bzbarsky sr=roc
2004-01-21 04:15:00 +00:00
cbiesinger@web.de
c8a6cdde09
Bug 176637 Custom link colors not rendered correctly
...
patch by durbacher@gmx.de (Andreas Kunz) r=dbaron sr=bz
2004-01-18 14:44:43 +00:00
bzbarsky@mit.edu
9bb8e0da76
Make <noscript> inline when displayed. Bug 230616, r+sr=dbaron
2004-01-16 03:05:00 +00:00
dbaron@dbaron.org
323eefa7a5
Remove nsChangeHint_ReconstructDoc. b=230945 r+sr=bzbarsky
2004-01-15 03:32:06 +00:00
bryner@brianryner.com
7255062ea4
Improve the way in which nsEvent and its subclasses are initialized. Commonly-used members can now be initialized via an inline constructor, and all other members are initialized to zero. eventStructType is set automatically. This also fixes some cases where an eventStructType was doubling as a message -- NS_TEXT_EVENT is now only used as an eventStructType, with a message of NS_TEXT_TEXT. NS_COMPOSITION_* events get an eventStructType of NS_COMPOSITION_EVENT, and ditto for NS_RECONVERSION_*. NS_DRAGDROP_EVENT is no longer an eventStructType since it is not a unique type of struct. There is also some miscellaneous cleanup to nsDOMEvent. Bug 220228, r=jst, sr=blizzard.
2004-01-12 08:25:18 +00:00
dbaron@dbaron.org
18d2a88168
Ignore incremental reflows targeted inside a reflow root if the reflow root's parent has not yet been reflowed. (This could probably be made more general, but it's enough to fix the bug in question.) b=228156 r=roc sr=bzbarsky
2004-01-10 19:12:23 +00:00
jst@mozilla.jstenback.com
505e3d5ba8
General deCOMtamination of nsIDocument, nsIContent, and nsIFormSubmission. Eliminating nsIAttributeContent, and doing some URL->URI changes. r+sr=peterv@propagandism.org
2004-01-09 23:54:21 +00:00
roc+@cs.cmu.edu
d8fd3d5bb4
Bug 190735. deCOMtaminate nsIFrame::FirstChild and nsIFrame::GetAdditionalChildListName. r+sr=bz
2004-01-09 14:20:53 +00:00
bryner@brianryner.com
f4aef4a56d
fixing debug bustage
2004-01-08 21:10:33 +00:00
bryner@brianryner.com
123bf6406c
Additional cleanup related to bug 64116. r=bzbarsky.
2004-01-08 19:23:12 +00:00
dbaron@dbaron.org
e39c6ccf19
Back out some incorrrect changes I just made. b=230270, 230339 r=bryner
2004-01-07 22:38:09 +00:00
bryner@brianryner.com
a90ec6ff21
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
dbaron@dbaron.org
704c9a8d70
Fix leaks of mCurrentEventContent. A few other little pieces of cleanup. b=230270 r+sr=bryner
2004-01-07 22:18:37 +00:00
alecf@flett.org
9398bf817c
fix for bug 209679 - remove reflow observer junk - r/sr=dbaron
2004-01-07 17:47:25 +00:00
bryner@brianryner.com
01533e488c
deCOMtaminate nsIPresContext::GetCompatibilityMode / SetCompatibilityMode (bug 229081). r+sr=bzbarsky.
2003-12-24 21:51:50 +00:00
bryner@brianryner.com
640685cbe9
Change all callers of nsIPresContext::GetShell() to use the non-refcounting versions. Most callers now use PresShell(), a few that were checking for null conditions are using GetPresShell() -- this will be remedied once we can ensure that a prescontext never has a null pres shell. Bug 227690, r+sr=bzbarsky.
2003-12-21 05:36:36 +00:00
neil@parkwaycc.co.uk
19c5df32fa
Bug 225885 nsPresShell::DoCopy does not work for embedding p=marco@gnome.org r=bz sr=bryner a=dbaron
2003-11-26 10:23:03 +00:00
jst@mozilla.jstenback.com
d47517f6dc
Fixing bug 225837. DeCOMtaminating nsIContent more, making GetTag() return a weak raw pointer, and renaming GetTag() to Tag(), and making GetRangeList() return an const nsVoidArray*, and changing GetContentID() to return the id, and renaming it to ContentID(). r=jonas@sicking.cc, sr=bryner@brianryner.com.
2003-11-19 01:20:56 +00:00
uid502
4fc4723244
Bug 190735. DeCOMtaminate nsIFrame::GetFrameType. r+sr=bzbarsky
2003-10-31 20:19:18 +00:00
bryner@brianryner.com
1f9609e30b
deCOMtaminate nsIDocument by changing methods to use return value instead of out-params, eliminating unused nsresult return values, moving some members to nsIDocument and inlining the getters/setters. Bug 222134, r=bzbarsky, sr=jst.
2003-10-22 06:09:48 +00:00
bzbarsky@mit.edu
f0b6893e06
Add pref for the default :active styling. Bug 142163, patch by
...
mats.palmgren@bredband.net (Mats Palmgren), r=bzbarsky/sr=dbaron on the
layout/xpfe parts of the patch, r=glazou/sr=bzbarsky on the editor part,
moa=neil on the prefwindow changes.
2003-10-15 01:56:12 +00:00
dbaron@dbaron.org
efcb8ebd99
Remove reflow callbacks from the list as they are processed, to avoid crashes when reentering HandlePostedReflowCallbacks. b=220126 Patch from Mats Palmgren <mats.palmgren@bredband.net>. r=dbaron sr=roc
2003-10-14 23:29:07 +00:00