bzbarsky@mit.edu
40ad3b9738
Apply the bug 200568 fix to types derived from the "data" attribute too. Bug
...
235053, r=biesi, sr=jst
2004-02-23 22:41:15 +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
4b3323b7b2
Inline TwipsToPixels and PixelsToTwips on nsIPresContext. Bug 229371, r+sr=dbaron.
2004-02-11 04:57:07 +00:00
cbiesinger@web.de
8e1948107b
Bug 233587 small nsImageFrame cleanup - use nsILink to get a link href.
...
r+sr=bzbarsky
2004-02-10 16:57:00 +00:00
jst@mozilla.jstenback.com
0c5e542fe7
Fixing bug 233307. deCOMtaminating nsIScript* and related interfaces. r+sr=bryner@brianryner.com.
2004-02-09 22:48:53 +00:00
cbiesinger@web.de
1f841a5ffa
fixing bustage
2004-02-09 17:52:48 +00:00
cbiesinger@web.de
632af59a08
Bug 233457 nsObjectFrame cleanup
...
r+sr=bz
2004-02-09 17:33:45 +00:00
dbaron@dbaron.org
216e8c31df
Clean up nsStyleContext::GetUniqueStyleData. b=233480 r+sr=bzbarsky
2004-02-09 06:55:14 +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
roc+@cs.cmu.edu
6fb6ccebe9
Bug 109772. Some nsIView deCOMtamination. Fixed the API for GetNeearestWidget to be sensible. r+sr=dbaron
2004-01-30 03:20:41 +00:00
peterv@propagandism.org
e00186c47b
Miscellaneous cleanup. r/sr=jst.
2004-01-18 10:45:26 +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
roc+@cs.cmu.edu
404878514e
Bug 225820. Fold nsFrameInnerFrame into nsFrameOuterFrame, rename to nsSubDocumentFrame, and generally clean up this mess. r+sr=dbaron
2004-01-10 05:36:32 +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
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
timeless@mozdev.org
a3339e67ad
Bug 226597 nsObjectFrame.cpp Warning: String literal converted to char* in initialization.
...
r=roc sr=roc
2003-12-21 04:04:09 +00:00
neil@parkwaycc.co.uk
ee37054283
Bug 90906 Remove unused variables p=gautheri@noos.fr r/sr=dbaron
2003-12-20 18:09:21 +00:00
bzbarsky@mit.edu
dd85de789e
Fix printing of plugins in absolutely positioned divs to use the right
...
coordinates. Bug 225832, r+sr=roc
2003-11-19 02:00:51 +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
neil@parkwaycc.co.uk
28ba448a22
Bug 225952 nsObjectFrame.cpp abuses nsXPIDLCString r/sr=bz
2003-11-17 19:26:24 +00:00
blizzard@redhat.com
38d8254e39
Bug #225357 . Plugins that specify coordinates that exceed maximum X coordinates cause X errors. Limit the size of plugins on this platform to the maximum size for X windows. r=bz, sr=roc
2003-11-13 16:33:52 +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
uid502
308b50e2e9
Bug 165149. More cleanup. Make nsStyleContext::GetPseudoType return a weak pointer. Also remove unnecessary arguments to nsHTMLContainerFrame::CreateViewForFrame. r+sr=bzbarsky
2003-10-17 02:38:37 +00:00
jst@mozilla.jstenback.com
c11c6bf27e
Fixing bug 215981. DeCOMtaminating nsIContent and nsIDocument some, and also some minor changes to other related interfaces. r=caillon@aillon.org, sr=peterv@propagandism.org.
2003-09-27 04:18:26 +00:00
bryner@brianryner.com
4475fee458
Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan.
2003-09-07 22:37:27 +00:00
bzbarsky@mit.edu
634c6e9bdc
DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823,
...
r+sr=jst
2003-07-28 21:25:13 +00:00
bsmedberg@covad.net
7371bbda25
Bug 198515 - patch by Roland.Mainz r=peterl/leon.sha sr=bz
2003-07-23 14:10:12 +00:00
scott@scott-macgregor.org
81d65eb93e
Bug #212682 --> add a null ptr check to avoid a crash when viewing a message in thunderbird that contains a plugin.
...
r/sr=dbaron
2003-07-14 21:28:44 +00:00
bzbarsky@mit.edu
c72f1af848
Make sure that nsSimpleURI also strips newlines out of the uri spec... Bug
...
211599, r=dougt, sr=darin
2003-07-08 20:09:17 +00:00
bzbarsky@mit.edu
b4e03b98a1
DOM properties that return URIs should return absolute URIs when they
...
are accessed (even if the corresponding attribute value is a relative URI).
Bug 47534, r=caillon, sr=jst
2003-07-08 05:35:04 +00:00
bzbarsky@mit.edu
563c620e45
Add nsIContent::GetBaseURL; get rid of similar functions on nsIXMLContent and
...
nsIHTMLContent. Bug 209573, r=caillon, sr=jst.
2003-07-03 02:45:34 +00:00
roc+@cs.cmu.edu
acbd7967d4
Ongoing deCOMtamination. r+sr=dbaron
2003-06-30 10:46:59 +00:00
jst@netscape.com
b52c8fe710
Fixing part of bug 209699. Eliminate bad usage of NS_ConvertU*. r=caillon@aillon.org, sr=alecf@flett.org
2003-06-24 01:46:50 +00:00
dbaron@dbaron.org
5755dea24a
Remove |aPresContext| and |aPresShell| parameters from |nsIFrameManager| methods. b=208190 r+sr=bzbarsky
2003-06-19 23:52:58 +00:00
dbaron@dbaron.org
384f320c3a
DeCOMtaminate nsIFrame::GetView and SetView, and add HasView, GetClosestView, and AreAncestorViewsVisible to consolidate common patterns. b=208004 r+sr=roc
2003-06-19 23:44:01 +00:00
peterlubczynski@netscape.com
c522df5af2
Fixing checkin for bug 209033.
2003-06-19 23:26:23 +00:00
bryner@netscape.com
f665fdef8e
Remove unused nsIFrame::Scrolled() and nsIViewObserver::Scrolled(). Bug 209088, r=dbaron, sr=roc.
2003-06-18 22:58:51 +00:00
peterlubczynski@netscape.com
f66b421003
Fixing bug 209033, double keyDown events sent to plugins by KeyPress event, r=brade sr=bryner
2003-06-18 14:41:44 +00:00
alecf@flett.org
aa24a7bb8e
fix for bug 209220 - now that i18n APIs take ASCII charset names, update consumers to avoid excess conversions.. which usually means storing charset names as ASCII and updating a few other APIs
...
r=jkeiser, sr=jst and some great comments from jshin@mailaps.org
2003-06-17 16:40:34 +00:00
caillon@returnzero.com
c8a200d763
Bug 209087
...
Content interface out-parameters should use ptr-to-ptrs instead of ref-to-ptrs and some small deCOMtamination.
r+sr=jst@netscape.com
2003-06-13 20:10:01 +00:00
timeless@mozdev.org
8a445e7b3f
Bug 205366 ifdef WIN/MACOS(X) ConvertTwipsToPixels because it isn't used elsewhere
...
r=av sr=peterv
2003-05-23 22:14:21 +00:00
dwitte@stanford.edu
0be0aa3679
bug 100649: Length() being used where IsEmpty() is meant
...
treewide changes to convert incorrect usages of string.Length() to string.IsEmpty().
thanks to afatecha@idea.com.py (Ariel Fatecha) for the patch. r=dwitte, sr=jst.
got the ok from Asa to land into a closed tree.
2003-05-23 21:34:47 +00:00
dbaron@dbaron.org
f98e358469
Clean up API (and its callers) for getting style data: remove unneeded null checks and switch to new inline member functions (one for each struct) that return values. b=197205 r+sr=roc a=brendan
2003-05-15 03:42:21 +00:00
bzbarsky@mit.edu
c4f180a7f9
Make sure that Init() failures for image frames don't mean no alt text. Also
...
fixes a crasher when reframing fixed-pos frames.
This change adds an assertion in ConstructHTMLFrame that InitAndRestoreFrame
should succeed (unless it returns NS_ERROR_FRAME_REPLACED). This is an interim
change; eventually we want to bail out on errors, but there may be frame impls
that return errors in non-error conditions from Init() (eg nsFrameSetFrame did
that) and we're a little close to freeze.
Bug 202506, r=rbs, sr=roc+moz
2003-04-21 23:57:47 +00:00
bzbarsky@mit.edu
e4f51d5817
Make iframes and objects obey CSS max-width/height and min-width/height if
...
their sizes are unconstrained. Bug 181875, r+sr=roc+moz
2003-04-15 19:28:06 +00:00
aaronl@netscape.com
1a2a00cb33
Bug 193802. Implement xp accessibility cache. r=kyle, sr=alecf
2003-04-15 08:45:55 +00:00
bzbarsky@mit.edu
612f83412d
Fixing OS/2 bustage -- compiler is too dumb to tell that the void* version is
...
_not_ what we want here... ;)
2003-04-12 06:18:38 +00:00
bzbarsky@mit.edu
7008528854
Change nsObjectFrame reflow when showing an image or iframe to just reflow the kid and
...
use its desired size. Change reflow when doing a plugin to properly look at
the mComputedHeight/Width instead of trying to (incorrectly) walk up the reflow
state chain. Plus some nsCOMPtr love. Bug 191246 and bug 196280,
r=peterlubczynski, sr=roc+moz
2003-04-12 04:55:07 +00:00