401 Commits

Author SHA1 Message Date
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
peterlubczynski%netscape.com
883ef02946 Fixing bug 173069, relative URLS with PLUGINSPAGE PLUGINURL
git-svn-id: svn://10.0.0.236/trunk@136176 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-10 21:48:56 +00:00
dbaron%dbaron.org
a569c670f5 Replace computation of max-element-size (height and width) with max-element-width alone, since the max-element-height is practically unused and not meaningful for layout. b=186953 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@136064 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-09 14:26:32 +00:00
dbaron%dbaron.org
c278517282 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
git-svn-id: svn://10.0.0.236/trunk@136010 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 21:19:10 +00:00
rbs%maths.uq.edu.au
76ce811794 Refine the conversion of entities during serialization, b=169590, r=nhotta, sr=jst
git-svn-id: svn://10.0.0.236/trunk@135264 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-13 22:12:10 +00:00
caillon%returnzero.com
8a1bf17a45 Re-landing these because I don't believe this are responsible for the Txul spike.
Bug 181975 - Convert layout to use nsIPrefService, nsIPrefBranch, and friends.
r/sr=roc+moz


git-svn-id: svn://10.0.0.236/trunk@135125 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-11 14:05:41 +00:00
caillon%returnzero.com
d751688cb9 Backing out these changes since they appear to have caused a Txul regression on some tinderboxes (not all... weird...)
git-svn-id: svn://10.0.0.236/trunk@135111 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-11 05:11:02 +00:00
caillon%returnzero.com
b14aafcb58 Removing ifdef. r/sr=roc+moz. bug 181975
git-svn-id: svn://10.0.0.236/trunk@135102 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-11 04:11:04 +00:00
caillon%returnzero.com
6b60a8affb Bug 181975 - Convert layout to use nsIPrefService, nsIPrefBranch, and friends.
r/sr=roc+moz


git-svn-id: svn://10.0.0.236/trunk@135068 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-10 23:41:12 +00:00
yokoyama%netscape.com
fd2d437d51 179822: Flash4 / Flash5 / Shockwave and other plugins crash.
Give an unicode option when SubClassing the widget window.
/r=peterl, /sr=kin


git-svn-id: svn://10.0.0.236/trunk@134742 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-04 01:17:01 +00:00
bzbarsky%mit.edu
f6b3b3afb9 Make nsILinkHandler take uris instead of strings. Bug 176904, r=darin, sr=jst
git-svn-id: svn://10.0.0.236/trunk@134133 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-20 00:44:26 +00:00
seawood%netscape.com
8ae058aa20 Add support for loading cfm plugins in OSX mach-o builds.
Changes backported from the CHIMERA_M1_0_1_BRANCH branch.
Bug #155256 r=peterl sr=sfraser


git-svn-id: svn://10.0.0.236/trunk@133054 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-06 01:24:57 +00:00
av%netscape.com
945a20c30b Fixing 132759 -- 100% CPU with Flash, r=peterl, sr=jst
git-svn-id: svn://10.0.0.236/trunk@130492 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-26 02:53:27 +00:00
peterlubczynski%netscape.com
3d27773a96 Fixing Use of uninitialized variable in nsPluginInstanceOwner::GetPluginPort(), bug 162350 r=bnesse, sr=beard
git-svn-id: svn://10.0.0.236/trunk@129482 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-13 03:24:27 +00:00
peterlubczynski%netscape.com
0dfe80e668 Fix for can't show plugins if they start out hidden, bug 137231 r=serge, sr=kin
git-svn-id: svn://10.0.0.236/trunk@129477 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-13 03:11:02 +00:00
dougt%netscape.com
e289284076 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
git-svn-id: svn://10.0.0.236/trunk@129050 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-07 17:13:19 +00:00
dougt%netscape.com
db8cc9c7ec Fixes up the timer interface. b157136, r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
git-svn-id: svn://10.0.0.236/trunk@129037 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-07 05:38:16 +00:00
karnaze%netscape.com
cb28c9b4aa bug 131065 - revised Jerry Tan's patch to handle top/bottom margins and absolutely positioned cases. sr=kin, r=peterl.
git-svn-id: svn://10.0.0.236/trunk@128774 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-03 23:42:52 +00:00
bzbarsky%mit.edu
5e12c05788 That last checkin was r=philipl@mail.utexas.edu,sr=blizzard
git-svn-id: svn://10.0.0.236/trunk@126703 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-07 23:54:11 +00:00
bzbarsky%mit.edu
c7b7bc03b9 Re-fix bug 139294 by backing out the fix for 152429, since bug 159268
fixed the crash that 152429 was on.


git-svn-id: svn://10.0.0.236/trunk@126699 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-07 23:52:26 +00:00
serge%netscape.com
16b06ae69f fix 152429, flash in an iframe crashes with Gdk-ERROR **: BadDrawable; r=bzbarsky, sr=jst, a=asa
git-svn-id: svn://10.0.0.236/trunk@125911 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-26 23:30:27 +00:00
serge%netscape.com
0eb5cb3c29 fix #156936, regression: crash using OBJECT tag with any plugin, r=peterl, sr=jag
git-svn-id: svn://10.0.0.236/trunk@125027 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-11 19:32:44 +00:00
peterlubczynski%netscape.com
280a471a47 Fixing regression: Default plugin shows for ActiveX controls and hides Netscape plugin (users sent to PFS to fetch plugin for application/x-oleobject), bug 151074 r=bryner sr=jst
git-svn-id: svn://10.0.0.236/trunk@124751 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-08 06:26:44 +00:00