bzbarsky%mit.edu
2662b8f0e1
Fix printing of plugins in absolutely positioned divs to use the right
...
coordinates. Bug 225832, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@149531 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-19 02:00:51 +00:00
jst%mozilla.jstenback.com
2affc5b4f0
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.
...
git-svn-id: svn://10.0.0.236/trunk@149527 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-19 01:20:56 +00:00
neil%parkwaycc.co.uk
7f71d9ecd8
Bug 225952 nsObjectFrame.cpp abuses nsXPIDLCString r/sr=bz
...
git-svn-id: svn://10.0.0.236/trunk@149446 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-17 19:26:24 +00:00
blizzard%redhat.com
638544968e
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
...
git-svn-id: svn://10.0.0.236/trunk@149245 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-13 16:33:52 +00:00
uid502
e56ed2443c
Bug 190735. DeCOMtaminate nsIFrame::GetFrameType. r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@148665 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-31 20:19:18 +00:00
bryner%brianryner.com
eeddf02bde
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.
...
git-svn-id: svn://10.0.0.236/trunk@148257 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-22 06:09:48 +00:00
uid502
f97b0819f2
Bug 165149. More cleanup. Make nsStyleContext::GetPseudoType return a weak pointer. Also remove unnecessary arguments to nsHTMLContainerFrame::CreateViewForFrame. r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@148055 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-17 02:38:37 +00:00
jst%mozilla.jstenback.com
ef67a47aab
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.
...
git-svn-id: svn://10.0.0.236/trunk@147354 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-27 04:18:26 +00:00
bryner%brianryner.com
dbbc84bf94
Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan.
...
git-svn-id: svn://10.0.0.236/trunk@146620 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-07 22:37:27 +00:00
bzbarsky%mit.edu
82c14d79dd
DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823,
...
r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@145289 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-28 21:25:13 +00:00
bsmedberg%covad.net
dc3a3558ad
Bug 198515 - patch by Roland.Mainz r=peterl/leon.sha sr=bz
...
git-svn-id: svn://10.0.0.236/trunk@145115 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-23 14:10:12 +00:00
scott%scott-macgregor.org
55acecf1a8
Bug #212682 --> add a null ptr check to avoid a crash when viewing a message in thunderbird that contains a plugin.
...
r/sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@144848 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-14 21:28:44 +00:00
bzbarsky%mit.edu
ec57574878
Make sure that nsSimpleURI also strips newlines out of the uri spec... Bug
...
211599, r=dougt, sr=darin
git-svn-id: svn://10.0.0.236/trunk@144577 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-08 20:09:17 +00:00
bzbarsky%mit.edu
baa52a02e7
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
git-svn-id: svn://10.0.0.236/trunk@144551 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-08 05:35:04 +00:00
bzbarsky%mit.edu
50802bdf22
Add nsIContent::GetBaseURL; get rid of similar functions on nsIXMLContent and
...
nsIHTMLContent. Bug 209573, r=caillon, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@144415 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-03 02:45:34 +00:00
roc+%cs.cmu.edu
0b21d50264
Ongoing deCOMtamination. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@144258 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-30 10:46:59 +00:00
jst%netscape.com
b1880963d6
Fixing part of bug 209699. Eliminate bad usage of NS_ConvertU*. r=caillon@aillon.org, sr=alecf@flett.org
...
git-svn-id: svn://10.0.0.236/trunk@144080 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-24 01:46:50 +00:00
dbaron%dbaron.org
80187c571f
Remove |aPresContext| and |aPresShell| parameters from |nsIFrameManager| methods. b=208190 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@143961 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-19 23:52:58 +00:00
dbaron%dbaron.org
519cf3b3d3
DeCOMtaminate nsIFrame::GetView and SetView, and add HasView, GetClosestView, and AreAncestorViewsVisible to consolidate common patterns. b=208004 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@143960 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-19 23:44:01 +00:00
peterlubczynski%netscape.com
10062c06df
Fixing checkin for bug 209033.
...
git-svn-id: svn://10.0.0.236/trunk@143959 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-19 23:26:23 +00:00
bryner%netscape.com
112e4e9f44
Remove unused nsIFrame::Scrolled() and nsIViewObserver::Scrolled(). Bug 209088, r=dbaron, sr=roc.
...
git-svn-id: svn://10.0.0.236/trunk@143893 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-18 22:58:51 +00:00
peterlubczynski%netscape.com
4392c6f1de
Fixing bug 209033, double keyDown events sent to plugins by KeyPress event, r=brade sr=bryner
...
git-svn-id: svn://10.0.0.236/trunk@143857 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-18 14:41:44 +00:00
alecf%flett.org
71e5d724e5
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
git-svn-id: svn://10.0.0.236/trunk@143800 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-17 16:40:34 +00:00
caillon%returnzero.com
0a6d1ae509
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
git-svn-id: svn://10.0.0.236/trunk@143683 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-13 20:10:01 +00:00
timeless%mozdev.org
15c4af5c86
Bug 205366 ifdef WIN/MACOS(X) ConvertTwipsToPixels because it isn't used elsewhere
...
r=av sr=peterv
git-svn-id: svn://10.0.0.236/trunk@142854 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-23 22:14:21 +00:00
dwitte%stanford.edu
dc7e857400
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.
git-svn-id: svn://10.0.0.236/trunk@142828 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-23 21:34:47 +00:00
dbaron%dbaron.org
69da9d4a19
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
...
git-svn-id: svn://10.0.0.236/trunk@142488 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-15 03:42:21 +00:00
bzbarsky%mit.edu
9861b52663
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
git-svn-id: svn://10.0.0.236/trunk@141552 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-21 23:57:47 +00:00
bzbarsky%mit.edu
eefaa620cb
Make iframes and objects obey CSS max-width/height and min-width/height if
...
their sizes are unconstrained. Bug 181875, r+sr=roc+moz
git-svn-id: svn://10.0.0.236/trunk@141192 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-15 19:28:06 +00:00
aaronl%netscape.com
947985ab30
Bug 193802. Implement xp accessibility cache. r=kyle, sr=alecf
...
git-svn-id: svn://10.0.0.236/trunk@141171 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-15 08:45:55 +00:00
bzbarsky%mit.edu
067f1f80c3
Fixing OS/2 bustage -- compiler is too dumb to tell that the void* version is
...
_not_ what we want here... ;)
git-svn-id: svn://10.0.0.236/trunk@141057 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-12 06:18:38 +00:00
bzbarsky%mit.edu
8afd2397cf
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
git-svn-id: svn://10.0.0.236/trunk@141056 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-12 04:55:07 +00:00
peterlubczynski%netscape.com
8a4b0ee432
Fixing bug 200568, OBJECT tag renders plugins and full-page, r=jkeiser, sr=bz
...
git-svn-id: svn://10.0.0.236/trunk@140666 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-04 01:53:59 +00:00
seawood%netscape.com
5921049139
Purge XP_PC.
...
Bug #56767 r=mkaply sr=alecf
git-svn-id: svn://10.0.0.236/trunk@140602 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-02 22:45:08 +00:00
bryner%netscape.com
cc0072470d
On second thought, let's not unsuppress painting early for pages with object/embed/applet elements. Instead, go back to calling Show() on the document viewer, but suppress the focus controller while doing so. Bug 199927, r=peterl, sr=bzbarsky.
...
git-svn-id: svn://10.0.0.236/trunk@140597 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-02 21:26:29 +00:00
bryner%netscape.com
45f29d228f
Fix loss of focus caused by not going through PresShell::UnsuppressPainting (bug 199927). Also cleaned up event listener registration in this file quite a bit. r=peterl, sr=bzbarsky.
...
git-svn-id: svn://10.0.0.236/trunk@140542 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-02 03:35:58 +00:00
aaronl%netscape.com
affc2f4d4e
Bug 199060. Move most accessibility code out of widget. Merge MSAA-specific and XP accessibility object hierarchies into one tree of objects. Paves way for XP accessibility caching, more stability, and it's just better. r=kyle, sr=alecf
...
git-svn-id: svn://10.0.0.236/trunk@140501 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-01 20:02:51 +00:00
timeless%mozdev.org
1c2b950706
Bug 196735 <OBJECT src=...> should be ignored
...
patch by bugzilla2@farside.demon.co.uk r=peterl sr=jst
git-svn-id: svn://10.0.0.236/trunk@140227 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-25 07:28:54 +00:00
seawood%netscape.com
4da846686f
Resurrect --disable-oji
...
Bug #197924 r=peterl sr=alecf
git-svn-id: svn://10.0.0.236/trunk@140220 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-25 06:54:52 +00:00
timeless%mozdev.org
0e5f07166f
Bug 106386 rid source of misspellings
...
patch by nb@ipnode.info r=biesi sr=dmose
git-svn-id: svn://10.0.0.236/trunk@140130 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-24 04:15:34 +00:00
peterlubczynski%netscape.com
48cef544f1
Creating nsMediaDocument/nsPluginDocument to make full-page
...
plugins scriptable, bug 90256 r=jkeiser sr=jst
git-svn-id: svn://10.0.0.236/trunk@140032 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-22 03:20:23 +00:00
bzbarsky%mit.edu
2fbc7d38bb
Landing bug 83774 -- move image loading for <img>, <object>, <embed>, <input
...
type="image"> into the content nodes and out of nsImageFrame. r=pavlov, sr=jst
git-svn-id: svn://10.0.0.236/trunk@139743 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-19 03:47:09 +00:00
peterlubczynski%netscape.com
0ab8834453
Fixing bug 131007, unpaired events cause us to remain in capture and look hung, r=jkeiser sr=bryner
...
git-svn-id: svn://10.0.0.236/trunk@139239 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-11 00:54:18 +00:00
sfraser%netscape.com
c8d87bd24b
Bug 191821: fix up nsObjectFrame to use nsIPluginWidget on Mac, for platform-specific plugin placement issues. Also fix a bug with scrolling Java applets, that caused them to render in the wrong places after scroll. r=peterl, sr=bryner
...
git-svn-id: svn://10.0.0.236/trunk@138651 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-27 23:35:47 +00:00
bryner%netscape.com
c44337949a
Remove nsIStyleContext (bug 114713), r/sr=dbaron. Changed lots of methods to use nsStyleContext* or already_AddRefed<nsStyleContext> as return values, depending on whether a reference is returned. Turn on nsRefPtr (bug 104346), and change nsDerivedSafe to not declare AddRef and Release explicitly virtual, r=jag, sr=dbaron.
...
git-svn-id: svn://10.0.0.236/trunk@138129 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-22 00:32:13 +00:00
bernd.mielke%snafu.de
6c25746f96
report object frames mew in unconstrained conditions, bug 189079 r=peterl sr/a=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@137854 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-15 18:25:02 +00:00
peterlubczynski%netscape.com
cf3e6e800a
Fixing bug 188959, HIDDEN attribute on EMBED should hide, r=av, sr=kin, a=asa
...
git-svn-id: svn://10.0.0.236/trunk@137041 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-28 21:59:28 +00:00
caillon%returnzero.com
4e9b13ef00
Bug 14777 - Give inline background image painting a rhyme and reason to how it works. Implement CSS3 proposal (-moz-)background-inline-policy.
...
r+sr=roc+moz
git-svn-id: svn://10.0.0.236/trunk@136499 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-17 09:33:52 +00:00
cbiesinger%web.de
2ef210c862
remove redundant ifdefs 189172 r+sr=bz
...
git-svn-id: svn://10.0.0.236/trunk@136364 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-15 18:21:31 +00:00
cbiesinger%web.de
90ae9cf43a
188586 r+sr=bz nsObjectFrame should use mime service
...
git-svn-id: svn://10.0.0.236/trunk@136322 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-14 21:59:05 +00:00