Commit graph

592 commits

Author SHA1 Message Date
bzbarsky%mit.edu
c7378c41cc Make sure to pass <embed> attributes to plugins in the source order. Bug
234675, r=peterlubczynski, sr=jst
2004-02-24 02:44:33 +00:00
bzbarsky%mit.edu
aab1a1e87e 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
5b6ae6e571 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
92499cbd13 Inline TwipsToPixels and PixelsToTwips on nsIPresContext. Bug 229371, r+sr=dbaron. 2004-02-11 04:57:07 +00:00
cbiesinger%web.de
f0051dc721 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
505c634885 Fixing bug 233307. deCOMtaminating nsIScript* and related interfaces. r+sr=bryner@brianryner.com. 2004-02-09 22:48:53 +00:00
cbiesinger%web.de
1aa68fd152 fixing bustage 2004-02-09 17:52:48 +00:00
cbiesinger%web.de
e91170c526 Bug 233457 nsObjectFrame cleanup
r+sr=bz
2004-02-09 17:33:45 +00:00
dbaron%dbaron.org
952d32ee39 Clean up nsStyleContext::GetUniqueStyleData. b=233480 r+sr=bzbarsky 2004-02-09 06:55:14 +00:00
bryner%brianryner.com
42adb9f1be 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
ee86ab45fb 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
379d6c8a41 Miscellaneous cleanup. r/sr=jst. 2004-01-18 10:45:26 +00:00
bryner%brianryner.com
2bddef83ba 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
9348803726 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
c000ae86e8 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
e7f165c614 Bug 190735. deCOMtaminate nsIFrame::FirstChild and nsIFrame::GetAdditionalChildListName. r+sr=bz 2004-01-09 14:20:53 +00:00
bryner%brianryner.com
dfe3513814 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
b6f838611c 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
ebb7ab977c Bug 90906 Remove unused variables p=gautheri@noos.fr r/sr=dbaron 2003-12-20 18:09:21 +00:00
bzbarsky%mit.edu
03359fa12a 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
4183787fa9 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
917932cb34 Bug 225952 nsObjectFrame.cpp abuses nsXPIDLCString r/sr=bz 2003-11-17 19:26:24 +00:00
blizzard%redhat.com
f01bca0a21 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
d81619b4fa Bug 190735. DeCOMtaminate nsIFrame::GetFrameType. r+sr=bzbarsky 2003-10-31 20:19:18 +00:00
bryner%brianryner.com
605cc06382 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
d521946094 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
5037b2a4a2 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
9d11b3c424 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
e2e733b5de DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823,
r+sr=jst
2003-07-28 21:25:13 +00:00
bsmedberg%covad.net
d26f4f42ba Bug 198515 - patch by Roland.Mainz r=peterl/leon.sha sr=bz 2003-07-23 14:10:12 +00:00
scott%scott-macgregor.org
4dc7c4bdb5 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
7fd6554181 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
c0d3c15a88 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
0b0c3f7646 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
5d55c4535e Ongoing deCOMtamination. r+sr=dbaron 2003-06-30 10:46:59 +00:00
jst%netscape.com
898a232581 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
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
4afcaa0e69 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
a555558fc0 Fixing checkin for bug 209033. 2003-06-19 23:26:23 +00:00
bryner%netscape.com
29a5d1102b Remove unused nsIFrame::Scrolled() and nsIViewObserver::Scrolled(). Bug 209088, r=dbaron, sr=roc. 2003-06-18 22:58:51 +00:00
peterlubczynski%netscape.com
fd96fef055 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
b7fa256d74 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
2df173e9c8 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
77dbd5277a 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
270d3909ca 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
75ff60c62f 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
476c30fdff 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
8051eaa0f9 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
83deafd111 Bug 193802. Implement xp accessibility cache. r=kyle, sr=alecf 2003-04-15 08:45:55 +00:00
bzbarsky%mit.edu
fa96270367 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
48eaa50cb5 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
peterlubczynski%netscape.com
ea0810d7ec Fixing bug 200568, OBJECT tag renders plugins and full-page, r=jkeiser, sr=bz 2003-04-04 01:53:59 +00:00
seawood%netscape.com
80e1b303cc Purge XP_PC.
Bug #56767 r=mkaply sr=alecf
2003-04-02 22:45:08 +00:00
bryner%netscape.com
84fa8d1c64 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. 2003-04-02 21:26:29 +00:00
bryner%netscape.com
fe29432f2a 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. 2003-04-02 03:35:58 +00:00
aaronl%netscape.com
8457bb1d7e 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 2003-04-01 20:02:51 +00:00
timeless%mozdev.org
d112ea131f Bug 196735 <OBJECT src=...> should be ignored
patch by bugzilla2@farside.demon.co.uk r=peterl sr=jst
2003-03-25 07:28:54 +00:00
seawood%netscape.com
d056fe18d0 Resurrect --disable-oji
Bug #197924 r=peterl sr=alecf
2003-03-25 06:54:52 +00:00
timeless%mozdev.org
697618b07d Bug 106386 rid source of misspellings
patch by nb@ipnode.info r=biesi sr=dmose
2003-03-24 04:15:34 +00:00
peterlubczynski%netscape.com
b5850784ea Creating nsMediaDocument/nsPluginDocument to make full-page
plugins scriptable, bug 90256 r=jkeiser sr=jst
2003-03-22 03:20:23 +00:00
bzbarsky%mit.edu
2c56e0638e 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
2003-03-19 03:47:09 +00:00
peterlubczynski%netscape.com
eccc1a5ed8 Fixing bug 131007, unpaired events cause us to remain in capture and look hung, r=jkeiser sr=bryner 2003-03-11 00:54:18 +00:00
sfraser%netscape.com
6642237016 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 2003-02-27 23:35:47 +00:00
bryner%netscape.com
e43f5a49fd 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. 2003-02-22 00:32:13 +00:00
bernd.mielke%snafu.de
15ca7219e8 report object frames mew in unconstrained conditions, bug 189079 r=peterl sr/a=dbaron 2003-02-15 18:25:02 +00:00
peterlubczynski%netscape.com
8f3f637744 Fixing bug 188959, HIDDEN attribute on EMBED should hide, r=av, sr=kin, a=asa 2003-01-28 21:59:28 +00:00
caillon%returnzero.com
8d9098a65a 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
2003-01-17 09:33:52 +00:00
cbiesinger%web.de
bc7a578055 remove redundant ifdefs 189172 r+sr=bz 2003-01-15 18:21:31 +00:00
cbiesinger%web.de
d7d810f9e2 188586 r+sr=bz nsObjectFrame should use mime service 2003-01-14 21:59:05 +00:00
peterlubczynski%netscape.com
a236ef55f9 Fixing bug 173069, relative URLS with PLUGINSPAGE PLUGINURL 2003-01-10 21:48:56 +00:00
dbaron%dbaron.org
57124d8115 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 2003-01-09 14:26:32 +00:00
dbaron%dbaron.org
14c5b6b776 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag 2003-01-08 21:19:10 +00:00
rbs%maths.uq.edu.au
5c9db7b7ec Refine the conversion of entities during serialization, b=169590, r=nhotta, sr=jst 2002-12-13 22:12:10 +00:00
caillon%returnzero.com
0dffa137af 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
2002-12-11 14:05:41 +00:00
caillon%returnzero.com
22b558c150 Backing out these changes since they appear to have caused a Txul regression on some tinderboxes (not all... weird...) 2002-12-11 05:11:02 +00:00
caillon%returnzero.com
e0e63abe8a Removing ifdef. r/sr=roc+moz. bug 181975 2002-12-11 04:11:04 +00:00
caillon%returnzero.com
71f8783cae Bug 181975 - Convert layout to use nsIPrefService, nsIPrefBranch, and friends.
r/sr=roc+moz
2002-12-10 23:41:12 +00:00
yokoyama%netscape.com
bb7f577358 179822: Flash4 / Flash5 / Shockwave and other plugins crash.
Give an unicode option when SubClassing the widget window.
/r=peterl, /sr=kin
2002-12-04 01:17:01 +00:00
bzbarsky%mit.edu
ab75327f3e Make nsILinkHandler take uris instead of strings. Bug 176904, r=darin, sr=jst 2002-11-20 00:44:26 +00:00
seawood%netscape.com
555e341493 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
2002-11-06 01:24:57 +00:00
av%netscape.com
45b3052010 Fixing 132759 -- 100% CPU with Flash, r=peterl, sr=jst 2002-09-26 02:53:27 +00:00
peterlubczynski%netscape.com
0df85cd175 Fixing Use of uninitialized variable in nsPluginInstanceOwner::GetPluginPort(), bug 162350 r=bnesse, sr=beard 2002-09-13 03:24:27 +00:00
peterlubczynski%netscape.com
1c74f2d921 Fix for can't show plugins if they start out hidden, bug 137231 r=serge, sr=kin 2002-09-13 03:11:02 +00:00
dougt%netscape.com
68faeb5241 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com 2002-09-07 17:13:19 +00:00
dougt%netscape.com
fae89c4077 Fixes up the timer interface. b157136, r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com 2002-09-07 05:38:16 +00:00
karnaze%netscape.com
04b24dd63f bug 131065 - revised Jerry Tan's patch to handle top/bottom margins and absolutely positioned cases. sr=kin, r=peterl. 2002-09-03 23:42:52 +00:00
bzbarsky%mit.edu
26c2aac3b6 That last checkin was r=philipl@mail.utexas.edu,sr=blizzard 2002-08-07 23:54:11 +00:00
bzbarsky%mit.edu
19312d5000 Re-fix bug 139294 by backing out the fix for 152429, since bug 159268
fixed the crash that 152429 was on.
2002-08-07 23:52:26 +00:00
serge%netscape.com
de23207907 fix 152429, flash in an iframe crashes with Gdk-ERROR **: BadDrawable; r=bzbarsky, sr=jst, a=asa 2002-07-26 23:30:27 +00:00
serge%netscape.com
74c6f3e741 fix #156936, regression: crash using OBJECT tag with any plugin, r=peterl, sr=jag 2002-07-11 19:32:44 +00:00
peterlubczynski%netscape.com
64fd02fac7 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 2002-07-08 06:26:44 +00:00
peterlubczynski%netscape.com
19b6fb6034 Fixing bug 152978, problem on Mac platforms where Flash "drags" like an image would, r=bnesse, sr=sfraser 2002-07-02 13:52:05 +00:00
peterlubczynski%netscape.com
4cf346e06f Fixing some plugins don't understand the DATA attribute on the OBJECT tag so in those cases copy that value to an appened "SRC" entry to the array of attributes/parameters plugins are passed. Bug 152334 r=av sr=waterson 2002-06-27 01:51:34 +00:00
heikki%netscape.com
e1ed4e08e3 Bug 133654, param attribute not recognized in XHTML. Patch from jst, r=peterv, sr=heikki. 2002-06-21 18:28:46 +00:00
peterlubczynski%netscape.com
6eef25d218 Fixing IPIX for Mac Classic: SetWindow needed to be called and nsObjectFrame::DidReflow() needed to complete on Mac as well, bug 144896 r=av sr=beard 2002-06-15 16:05:09 +00:00
peterlubczynski%netscape.com
3d6ee550ba Fixing bug 122119, cannot use consecutive white space characters in PARAM tags, r=harishd, sr=jst 2002-06-12 16:41:25 +00:00
cbiesinger%web.de
15a321ca78 bug 115473 r=pavlov sr=brendan
Remove timer priorities
2002-06-11 20:47:04 +00:00
karnaze%netscape.com
1faf4c0592 bug 145305 - split floaters during printing. sr=attinasi, r=alexsavulov. 2002-05-28 22:50:43 +00:00
jst%netscape.com
262f28f900 Fixing bug 134278. Die kNameSpaceID_HTML, die! r=sicking@bigfoot.com, sr=heikki@netscape.com 2002-05-20 22:47:02 +00:00
peterlubczynski%netscape.com
15bc672feb Removing extra line that sneaked in 2002-05-20 04:02:12 +00:00
peterlubczynski%netscape.com
c773201d06 Fixing last checkin for bug 120875, hiding plugin for tabs, r=bnesse sr=beard 2002-05-20 03:29:48 +00:00
jgaunt%netscape.com
bd32ae519e bug 124448 Accessibility Support for Object/Embed tags
r=aaronl
sr=jst
2002-05-10 22:34:53 +00:00
peterlubczynski%netscape.com
ed6c60e365 Fixing problems with showing/hiding Mac plugins. Specifically, these problems:
* Mouse events "bleeding through" tabs so that a plugin in one tab responds to mouse movements in another (bug 120875)
* dynamic control of CSS visiblity property with plugins on mac (can hide/show plugins) (bug 137230)
* Plugins incorrectly show up on top of documents and in the wrong place in print preview. This fix will also them to be hidden like they are on other platforms. (bug 133992)
r=av sr=beard
2002-05-02 22:47:49 +00:00
peterlubczynski%netscape.com
011462ea16 Adding extra event call (WM_WINDOWPOSCHANGED) for windowless plugins on Windows so that they are updated with their position and bounds. Bug 135737, r=av, sr=attinasi 2002-05-02 20:46:22 +00:00
peterlubczynski%netscape.com
1fef229506 Correctly set visibility of view on DidReflow for cases when our CSS visibility style has changed from visible (windows part) bug 129306 r=av sr=attinasi 2002-04-13 02:43:58 +00:00
peterlubczynski%netscape.com
54b90e52ee Fixing HIDDEN attribute on EMBED tag and also removing support for it for APPLET tags. Bug 136456 r=av sr=attinasi 2002-04-13 01:53:23 +00:00
serge%netscape.com
014a6bcfd1 fix #94895, Flash movie is constantly stopped and restarted, r=peterl, sr=beard 2002-04-11 03:27:00 +00:00
rods%netscape.com
ca589fdb8d Generically enables the browser to cache the curent presentation (frames,
views, et.al.) for Print Preview and then enables them to be restored.
It uses a pref and/or checks all the documents to see if any have an "embed" or
a "plugin". Temporarily it checks for framesets and turns on caching also.
I also factored some code in the Init routine so it could be callled for either
creating the new presention or initializing an existing one.
Also, added some safety check code in PrintPage.
Then for the object frame, for PP it doesn't do a paint - this is a temporary fix.
Bug 122048 r=peterl sr=attinasi a=asa
2002-03-26 11:43:40 +00:00
peterlubczynski%netscape.com
6c0a3b4f5d Fixing ussage of codebase attribute and Java applets loading, bug 130605 patch by adu@sparc.spb.su (Denis Antrushin) r=peterl, sr=beard, a=asa 2002-03-26 06:42:10 +00:00
peterlubczynski%netscape.com
656e798f68 Cleaning up dead code left from fix for bug 118721, patch by dbrittain@superscape.com (David Brittain), bug 132262 r=peterl, sr=attinasi, a=scc 2002-03-26 06:38:53 +00:00
peterlubczynski%netscape.com
0152f1f7f1 Implementing nsIPluginTagInfo2::GetDocumentEncoding(), patch by adu@sparc.spb.su (Denis Antrushin) bug 131197 r=peterl, sr=beard, a=asa 2002-03-26 06:33:48 +00:00
cbiesinger%web.de
0604302118 bug 104906 r=pavlov sr=tor a=asa
imgRequest::SniffMimeType and nsUnknownDecoder::SniffForImageMimeType should be one function
2002-03-23 13:21:33 +00:00
av%netscape.com
90ee4e2b2f Fix for 99324 -- initializing variables, patch by mhammond@skippinet.com.au, r=av, sr=beard, a=scc 2002-03-22 04:19:10 +00:00
bnesse%netscape.com
d49b1fa6d2 Fix for bug 126578. Initialize the event record on OS X without using the system's EventAvail function to eliminate excess window erases and redraws. r=sdagley, sr=beard, a=asa. 2002-03-19 22:10:45 +00:00
peterlubczynski%netscape.com
3c5ced0393 Cleaning up nsPluginInstanceOwner::GetHeight and ::GetWidth bug 40185 r=av sr=attinasi a=asa 2002-03-19 15:39:45 +00:00
peterlubczynski%netscape.com
ad422a7ccb Remove JAVA_CLASS_ID support from OBJECT tag bug 108557 patch by Denis Antrushin (adu@sparc.spb.su) r=peterl sr=beard a=asa 2002-03-18 00:01:00 +00:00
mkaply%us.ibm.com
24a43d1548 OS/2 bustage - need cast here 2002-03-13 04:01:56 +00:00
rods%netscape.com
bd9bc62f8e Change getters of widgets to nsCOMPtrs to get rid of leaks.
Bug 129933 r=dcone sr=attinasi a=roc
2002-03-12 14:16:57 +00:00
nisheeth%netscape.com
49b8ae3e8c Ongoing fix for bug 81446. r=peter lubcynzski. sr=jst. a=asa. Fixes leaks of PARAM elements which now get destroyed when the document goes away. This fix ddoes away with 394206 bytes of leaks described in bugs 129423, 129424, 129425, 129429. We still leak memory across reloads of the same page so bug 81446 is being left open. 2002-03-11 21:52:32 +00:00
bnesse%netscape.com
81f57168cc Fix for bug 129151. Initialize all fields in the message object. r=beard, sr=alecf, a=asa. 2002-03-08 19:42:44 +00:00
cbiesinger%web.de
6dc708c085 partially fixes bug 41333, Adding a new image type is way too complicated
r=pavlov sr=tor a=asa
2002-03-08 18:58:57 +00:00
peterlubczynski%netscape.com
d1445caf1f Fix for windowless plugins not painting in the right place, bug 118721 patch by mailto:dbrittain@superscape.com r=peterl sr=roc+moz a=asa 2002-03-08 15:49:43 +00:00
peterlubczynski%netscape.com
bdade5d500 Fix for % sizing of object frame, bug 106602 r=serge sr=attinasi a=roc+moz 2002-03-07 15:22:24 +00:00
darin%netscape.com
f1a6738b6c fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa 2002-03-06 07:48:55 +00:00
peterlubczynski%netscape.com
f732ce82db Fixing keyboard event bustage for Mac plugins bug 110190 r=sdagley sr=beard 2002-02-20 03:23:50 +00:00
roc+%cs.cmu.edu
808e50f18c Bug 91516. Safeguard view traversal in nsObjectFrame so it doesn't walk out the current document. r=peterl,sr=attinasi 2002-02-19 21:22:23 +00:00
peterlubczynski%netscape.com
2895dcd901 Fix derefing null pointer during print preview of java.sun.com bug 125396 r=av sr=attinasi 2002-02-16 05:12:45 +00:00
rods%netscape.com
224588e46f 1) It moves the BeginDocument to a earlier place in the call change
2) Fixes the negitive page range display problem
3) Improves performance by reducing the delay on pages not in the page range, i.e. before if you printed the 30th page out of 31 you had to wait 15 secs to get to the 30th page to print it.
4) Added AbortDocument, so now when Print jobs are cancelled we call AbortDocument and remove them from the print spooler
5) Fixed a couple of minor issue with Canceling and cancelling mail printings
6) selection was not printing correctly. The problem with selection was that the clip was not being set corrctly.
Bug 115227 & 123181 r=dcone,sspitzer sr=attainasi
2002-02-12 13:33:39 +00:00
bzbarsky%mit.edu
97aad157b6 Relanding the Compare --> Equals conversion. a=mcafee 2002-02-10 15:49:46 +00:00
bzbarsky%mit.edu
228f6acb38 Testing performance impact of backout of part of patch from bug 115289.
See bug 123947 for details. a=mcafee
2002-02-09 19:00:56 +00:00
bzbarsky%mit.edu
40d60f39ec Convert Compare() to Equals() where possible now that we can do
case-insensitive Equals().  Bug 115289, r=alecf, sr=jag
2002-02-05 02:03:07 +00:00
peterlubczynski%netscape.com
9bb7573f07 Restore consuming of keypress events and don't pass them to plugins also give windowless plugins focus when mouse clicked bug 122501 r=kmcclusk@netscape.com sr=beard 2002-02-02 00:23:30 +00:00
peterlubczynski%netscape.com
acb3e271ae Fix for plugins not being able to get handle to doc's window if plugin is HIDDEN because it has no view. Use the pres shell instead. bug 123059 r=ToddTaylor sr=beard 2002-02-02 00:07:20 +00:00
serge%netscape.com
49f7429098 fix #115308, NPN_PostURL[Notify] does not handle binary data; r=bnesse, sr=darin 2002-01-30 02:40:46 +00:00
peterlubczynski%netscape.com
3a9427fab8 Fix for Plugin paints in the wrong part of the screen when on an absolute Div or scrolled bug 120821 r=kmcclusk@netscape.com sr=beard 2002-01-29 02:36:54 +00:00
roc+%cs.cmu.edu
71f8f6558e Bug 13213. Allow views to extend above and to the left of their owner frames. r=kmcclusk,rs=waterson 2002-01-27 07:56:23 +00:00
alexsavulov%netscape.com
cf5fed63ad fix for bug 70972 (object element does not respect CSS width and height
for non-plugins) r= peter lubczynski sr= attinasi
2002-01-24 01:30:50 +00:00
bnesse%netscape.com
3754b38c4d Fix for bug 104445. Make nsPluginInstance a scrollbar listener so it can notify plugins they are scrolling. Also fixes bug 76085. r=peterl, sr=sfraser, a=blizzard. 2002-01-18 20:12:29 +00:00
peterlubczynski%netscape.com
fdb17c2839 Fix for plugins consuming context menu events, bug 118789 r=av, sr=beard 2002-01-15 22:45:26 +00:00
av%netscape.com
b1a0d5e0b8 Fix for bug 110094 -- winless plugins don't get right coordinates when scrolled, r=bnesse, sr=attinasi 2002-01-14 23:16:37 +00:00
alecf%netscape.com
5965318acb C++ side of fix for bug 100212 - move consumers of nsIFile.URL into nsIIOService. r=dougt, sr=darin 2002-01-08 01:31:25 +00:00
rods%netscape.com
7929b953f5 Switch public interfaces from nsIPrintOptions to nsIPrintSettings
Enabling XP Print Dialog for Windows
Enabling XP Print Progress Dialog
Enabling XP Page Setup Dialog
Fixing nsPrintPreviewContext to use nsIPrintPreviewContext
Bug 113917 r=dcone sr=attinasi
2002-01-01 12:58:53 +00:00
av%netscape.com
e8b0d5db5d Bug 116392 -- passing key events to windowless plugins, patch by peterl, r=av, sr=rpotts 2001-12-29 22:32:55 +00:00
av%netscape.com
ca10fbb864 Bug 114921 -- passing dirty rectangle with paint message to windowless plugin, r=peterl, sr=attinasi 2001-12-22 00:25:25 +00:00
av%netscape.com
fb71ac5834 Bug 116108, passing coordinates to windowless plugin when in a table, r=peterl, sr=attinasi 2001-12-22 00:21:12 +00:00
av%netscape.com
1fad9df894 Bug 116108, correcting calculations for windowless plugin coordinates, r=peterl, sr=attinasi 2001-12-22 00:00:44 +00:00
peterlubczynski%netscape.com
fae85366e4 Fix for bad vertical alignment on replaced object frames, bug 36997 r=dbaron sr=attinasi 2001-12-20 06:49:16 +00:00
timeless%mac.com
c27d88c251 Bug 115594 Support .CUR files patch by cbiesinger@web.de r=pavlov sr=tor 2001-12-18 13:40:06 +00:00
waterson%netscape.com
854831c91c Bug 115113. Eliminate nsIReflowCommand, and just use nsHTMLReflowCommand directly. r=karnaze, sr=attinasi. 2001-12-17 22:39:59 +00:00
tor%cs.brown.edu
073a7c9d91 Bug 66976 - turn on libpr0n MNG decoder. r=pavlov, sr=brendan.
Mac build patch by conrad, r=pinkerton, sr=sfraser
2001-12-17 22:07:03 +00:00
jaggernaut%netscape.com
97b0530073 Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf 2001-12-16 11:58:03 +00:00
peterlubczynski%netscape.com
0a752a0976 Backing out changes. 2001-12-14 20:13:50 +00:00
peterlubczynski%netscape.com
f96915bc51 Fixing GetParameters() back to the way it was, returning success for zero parameters bug 114973 r=av sr=beard a=brendan 2001-12-14 03:52:12 +00:00
peterlubczynski%netscape.com
8cc88b14f8 Fix for bad vertical alignment on replaced object frames, bug 36997 r=dbaron sr=attinasi a=brendan 2001-12-14 03:48:49 +00:00
peterlubczynski%netscape.com
4429083363 Fixing bustage... 2001-12-12 05:39:46 +00:00
peterlubczynski%netscape.com
122b3d8059 correcting last checkin 2001-12-12 04:18:36 +00:00
peterlubczynski%netscape.com
3eb962cb6b correct last checkin 2001-12-12 04:17:15 +00:00
peterlubczynski%netscape.com
9204d22bf9 Fixing busted Mac plugins due to my checkin earlier today, bug 114716 r=av sr=beard 2001-12-12 04:15:12 +00:00
peterlubczynski%netscape.com
f8014c020e Fix for hang during Shockwave registration and problems with NPN_PostURL bug 108966 r=av sr=darin 2001-12-12 01:38:02 +00:00
peterlubczynski%netscape.com
3ce6bf0623 Fixing HPUX bustage r=jdunn 2001-12-11 18:41:31 +00:00
peterlubczynski%netscape.com
e1a3dcea6d Fixing the way we pass attributes and parameters to plugins, bug 103940 r=av sr=beard 2001-12-11 15:53:07 +00:00
karnaze%netscape.com
748ebbcd0d bug 113424 - mechanism for percent height frames inside table cells to receive special height reflow. sr=attinasi, r=alexsavulov 2001-12-07 14:51:12 +00:00
jst%netscape.com
d9e3afb71d Fixing bug 110798. Freezing the interfaces nsIDOMEvent, nsIDOMEventListener, nsIDOMEventTarget and nsIDOMDocumentEvent. r=harishd@netscape.com, sr=jband@netscape.com 2001-12-06 06:57:03 +00:00
roc+%cs.cmu.edu
c88233916b Bug 73382. Clean up view manager interfaces, 2nd attempt. r=kmcclusk,rs=attinasi 2001-12-01 14:31:45 +00:00
peterlubczynski%netscape.com
1c4ec0d246 Fix for always loading the Java VM for embed tag, patch by nis@sparc.spb.su (Igor Nekrestyanov) bug 94023 r=peterl sr=beard 2001-11-29 05:14:11 +00:00
roc+%cs.cmu.edu
c26c9711f3 My cleanup checkin for bug 73382 caused 5% increase in page load times. Backing out. 2001-11-24 05:37:25 +00:00
roc+%cs.cmu.edu
04ab1d58c5 View manage interface cleanup. Bug 73382. r=kmcclusk, sr=attinasi 2001-11-22 05:26:32 +00:00
peterlubczynski%netscape.com
045106c8c1 Fixing using correct attribute or parameter for Java based on tag type, fixes mayscript for Liveconnect. bug 109039 r=av sr=beard 2001-11-20 02:17:21 +00:00
karnaze%netscape.com
436e1ac49e bug 103925 (2nd patch) - flag pixel rounding errors in display reflow debugging. sr=attinasi, r=bernd 2001-11-14 13:40:03 +00:00
bzbarsky%mit.edu
f2ee8260a0 Use NS_LITERAL_STRING instead of NS_ConvertASCIItoUCS2 where possible
(i.e. where the string is a literal).  Bug 104159, r=jag, sr=alecf
2001-11-14 01:33:42 +00:00
av%netscape.com
f514ee917e Bug 109041 -- adding call to NPP_SetWindow for windowless plugins on paint event, patch by dbrittain@superscape.com, r=av, sr=beard 2001-11-13 00:30:44 +00:00
peterlubczynski%netscape.com
b668ed8b55 Mac fix for HTML embed region being painted the default background color bug 83159 r=av sr=sfraser a=asa 2001-11-09 00:42:02 +00:00
peterlubczynski%netscape.com
d5c3daf569 Fix for NPN_PostURL not always working correctly [like with binary file data] bug 105417 r=av sr=darin 2001-11-07 03:03:04 +00:00
peterlubczynski%netscape.com
c5dea40c77 Fix for background color not being set on the widget for plugins bug 83159 r=av sr=attinasi 2001-11-06 23:46:13 +00:00
hyatt%netscape.com
79f6e4162f Fix for 18502, Christian Biesinger's BMP decoder and my ICO decoder. r/sr=pavlov,jband 2001-11-03 07:10:51 +00:00
karnaze%netscape.com
e38dff73f8 bug 103925 - general reflow debugging capability. sr=attinasi, r=alexsavulov 2001-10-29 01:43:59 +00:00
dbaron%fas.harvard.edu
157c017816 Bug 86947:
Make the line list doubly linked and access it through a list class and iterators.
Stop recomputing margins on all of the children of each block in the reflow chain (which causes O(N^2) state recovery during incremental reflow).  Instead, add a second dirty bit to the lines and walk backwards through the line list to recompute vertical margins only when either dirty bit is set and the previous line was not reflowed.  Add nsIFrame::IsEmpty to identify frames through which margins collapse.
Fix O(N^2) propagation of float damage by maintaining a set of intervals damaged by floats (bug 61962) and be sure to damage the correct areas (bug 48138).
Introduce nsCollapsingMargin to do correct collapsing of combinations of positive and negative margins (bug 50142).
Clean up some odds and ends and fix another smaller O(N^2) problem in nsBlockFrame::AddFrames.
r=attinasi, rbs  sr=waterson
2001-10-25 01:08:40 +00:00
loadrunner%betak.net
5a9892401d bug 88155, Trunk & M094 crash [@ MSVCRT.DLL - ns4xPluginStreamListener::OnDataAvailable, nsPluginStreamListenerPeer::OnDataAvailable] - seg faults loading http://www.planetjulie.com/, r=av, peterl, sr=waterson 2001-10-09 10:15:06 +00:00
beard%netscape.com
fba17af79c Fix for bug #103431, r=peterl, sr=sfraser. 2001-10-08 22:58:59 +00:00
jaggernaut%netscape.com
ca6197295f Bug 100476: Convert uses of member functions ToNewUnicode, ToNewCString and ToNewUTF8String to their global versions and remove support from nsCString and nsString. r=dbaron, rs=scc 2001-09-29 08:28:41 +00:00
gerv%gerv.net
4e12e44b2f Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089. 2001-09-28 20:14:13 +00:00
peterlubczynski%netscape.com
f249aa3c5d Fix for crash when object frame goes away but stream is still going bug 99569 r=av sr=attinasi 2001-09-28 03:34:53 +00:00
peterlubczynski%netscape.com
7487a1bcc1 Ignore leading and trailing whitespace for src and data attributes bug 96362 r=av sr=attinasi 2001-09-28 03:29:24 +00:00
peterlubczynski%netscape.com
421eef1dcc Clean up code in part for fix for doing GET rather than POST when NPN_PostURL is called bug 77603 r=av sr=attinasi 2001-09-26 02:45:20 +00:00
av%netscape.com
2e25246c6d Fix for bug 91095 -- Default Plugin bypassed if 'code' attribute is missing in 'applet' tag, r=peterl, sr=attinasi 2001-09-25 22:04:24 +00:00
pchen%netscape.com
e711f7fa3e Fix for smoketest blocker 100702, remove extra lines caused by misapplied
patch for bug 98107
2001-09-21 20:19:39 +00:00
karnaze%netscape.com
e908dd0313 bug 68998 - added extra param to Paint, PaintChild, PaintChildren used by tables in standard mode. sr=waterson, r=alexsavulov. 2001-09-19 12:35:19 +00:00
edburns%acm.org
0032f800c7 bug=98107
r=peterl
sr=rpotts

/* According to the HTML 4.01 spec, at
                       * http://www.w3.org/TR/html4/types.html#type-cdata
                       * ''User agents may ignore leading and trailing
                       * white space in CDATA attribute values (e.g., "
                       * myval " may be interpreted as "myval"). Authors
                       * should not declare attribute values with
                       * leading or trailing white space.''
                       */
2001-09-19 03:34:17 +00:00
peterlubczynski%netscape.com
8727eab1d0 Implement plugin printing bug 27478 r=av,beard sr=attinasi 2001-09-18 02:11:09 +00:00
mkaply%us.ibm.com
051c211df1 #83698
r=beard, sr=jband
This code was previously r/sr for XP_UNIX. Because the OS/2 Java plugin is based on the Unix Java plugin, we need this fix too.
2001-09-14 21:16:19 +00:00
peterlubczynski%netscape.com
3943a56f95 Fix for crash when checking for a sub document bug 96579 r=av sr=attinasi 2001-09-12 20:43:40 +00:00
peterlubczynski%netscape.com
f94929cc86 Correct ussages of data= for object tags embedding documents bug 97799 r=dcone sr=attinasi 2001-09-12 04:00:52 +00:00
edburns%acm.org
c87e337f09 r=peterl
sr=waterson
a=asa


modules/plugin/base/src/nsIPluginInstanceOwner.h
modules/plugin/base/src/nsPluginHostImpl.cpp
modules/plugin/base/src/nsPluginHostImpl.h
modules/plugin/base/src/nsPluginViewer.cpp
modules/oji/src/nsJVMManager.cpp
modules/oji/src/nsJVMManager.h
layout/html/base/src/nsObjectFrame.cpp
xpfe/global/resources/locale/en-US/region.properties


Here's what I did to fix this bug.

I pestered Rick Potts about the problem of
nsIWebBrowserChrome->SetStatus() not being synchronous.  He fixed that
under bug 97227.

Taking advantage of Rick's fix to 97227, I modified
nsIPluginInstanceOwner to have new method, ShowStatus(const PRUnichar
*aStatusMsg).  This is necessary to allow for localized messages to be
posted from the plugin, such as "Starting plugin for type
application/x-java-vm" or "Beginnen steckbar f�r Art
application/x-java-vm".

I modified all the implementations of nsIPluginInstanceOwner:

  layout/html/base/src/nsObjectFrame.cpp
  modules/plugin/base/src/nsPluginViewer.cpp

I inserted a call to nsIPluginInstanceOwner->ShowStatus() at the part
just before the big "whole damn app freezes when starting java" thing
happens.

I also modifed nsJVMManager.cpp ShowJavaConsole() to do the same.  These
are the two places I know of now that can start java.
2001-09-05 03:58:34 +00:00
peterlubczynski%netscape.com
f9570a0602 Fix for not setting reflow state on object frame in printing case bug 97563 r=av sr=attinasi 2001-09-05 02:45:48 +00:00
peterlubczynski%netscape.com
fbeb63c657 Fix for crash on Mac when we don't have an mWidget, bug 83155 Browser crashes when trying to load html parameter test on mac, r=bnesse sr=waterson 2001-08-17 22:52:12 +00:00
bryner%netscape.com
422834eff1 Bug 66835 - fix method hiding warnings by renaming some methods on nsIContent. r=jag, sr=jst. 2001-08-17 08:14:14 +00:00
av%netscape.com
5893e07753 Fix for 89672 -- topembed, crash on exit with xpcom plugin, r=peterl, sr=waterson 2001-08-17 00:45:25 +00:00
peterlubczynski%netscape.com
73453e9057 Plugging leaking contentType from previous check-in. 2001-08-16 04:54:07 +00:00
peterlubczynski%netscape.com
196d33ffdc Fix for text/html and text/plain OBJECTs don't work bug 678 r=av sr=attinasi 2001-08-16 03:02:05 +00:00
av%netscape.com
fe7e6cc3e7 Fix for 82980 -- check for SRC attribute in addition to DATA added, r=peterl, sr=attinasi 2001-08-16 00:14:14 +00:00