Commit Graph

36 Commits

Author SHA1 Message Date
timeless@mozdev.org
f4ef17d178 Bug 355300 There should be only one nsGkAtoms creature
r=dbaron
2006-12-26 17:47:52 +00:00
bzbarsky@mit.edu
53ffd16464 If we have an unsupported classid, bail out even if we have no URI. Bug
363379, r+sr=biesi
2006-12-19 16:31:42 +00:00
bzbarsky@mit.edu
becc671427 Don't show the plugin wizard for plugins that are actually disabled (only Java
at the moment).  Bug 344923, r=biesi, sr=jst
2006-08-12 02:13:24 +00:00
dbaron@dbaron.org
d99595e638 Fix GC hazards associated with event handlers on images only reachable from their current network loads, some of which are regressions from 241518. b=321054 r=darin sr=bzbarsky 2006-06-01 18:35:21 +00:00
bzbarsky@mit.edu
9432bfc77f Make the URI of an nsIImageLoadingContent immutable. Bug 337246, r=biesi, sr=sicking 2006-05-31 15:58:43 +00:00
darin@meer.net
0700b87ece landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb 2006-05-10 17:30:15 +00:00
cvshook@sicking.cc
5df20de104 Bug 335911: Change nsIContent::IsContentOfType to nsINode::IsNodeOfType. r/sr=bz 2006-05-05 06:52:21 +00:00
bzbarsky@mit.edu
1bf48679f8 Rename GetNodePrincipal to NodePrincipal. Bug 327246, r+sr=sicking 2006-04-27 18:21:11 +00:00
bzbarsky@mit.edu
f81ed4aec2 Fix image blocking for obviously image objects. Bug 334825, r=biesi, sr=shaver 2006-04-24 19:56:18 +00:00
bzbarsky@mit.edu
f46de59501 Need shorter comments here 2006-03-31 08:20:34 +00:00
bzbarsky@mit.edu
b286a0b2c9 Add comments describing some more files. 2006-03-31 08:00:42 +00:00
bzbarsky@mit.edu
995f519031 Push up GetPrincipal to nsINode (as GetNodePrincipal). This way all nsINodes
(content, documents, attr nodes) can return their principal as needed.
Eliminate lazy allocation of principals in nsDocument.  Bug 324600, r=sicking, sr=jst
2006-02-02 20:02:34 +00:00
cbiesinger@web.de
b859cbff15 bug 324705 prefer natively handled document types over plugins
r+sr=bz
2006-01-28 14:08:55 +00:00
cbiesinger@web.de
bf4af944e8 fix debug build bustage (from bug 322128) 2006-01-05 18:03:09 +00:00
cbiesinger@web.de
6d6a1e968b Remove aForceType argument of LoadObject, make it a capability instead
bug 322128 r+sr=bz
2006-01-05 13:30:19 +00:00
cbiesinger@web.de
3bd90c4340 Bug 314453 more ObjectURIChanged occurences; these got missed in the first
checkin
2006-01-01 19:06:43 +00:00
cbiesinger@web.de
0e030470fb bug 314453 Rename ImageURIChanged and ObjectURIChanged to LoadImage and
LoadObject, respectively, in order to make it clear what they do rather than
prescribing when they should be called. r+sr=bz
2006-01-01 11:25:43 +00:00
cbiesinger@web.de
35eb4789cb Bug 309521
- add pseudo-classes for :-moz-type-unsupported and :-moz-has-handlerref (and a
  content state for the former)
  - make nsObjectLoadingContent return the right content state
- Add an XBL binding that gets instantiated for broken plugins
  - Make it themable
- Remove a lot of now-unused code in nsObjectFrame
- Fixes pluginfinder.
r+sr=bz, r=mconnor
2005-12-29 14:15:33 +00:00
cbiesinger@web.de
8d0c20b894 bug 309525 Consider content that we don't otherwise support, but for which we
have a stream converter, as supported document types. Change code to use
nsIURILoader to load the data, instead of asking docshell directly.
r+sr=bz
2005-12-17 18:31:02 +00:00
bzbarsky@mit.edu
8866ed2364 Fix crash bug 319049. Patch by Christian Biesinger (:bi) <cbiesinger@gmx.at>, r+sr=bzbarsky 2005-12-05 02:13:17 +00:00
cbiesinger@web.de
15ecef394d Bug #315841 don't flush frames in order to ensure that plugins are instantiated.
also, don't flush when inside of ObjectURIChanged
r+sr=bz
2005-12-03 11:27:42 +00:00
cbiesinger@web.de
9c1566e164 more debug bustage 2005-11-11 21:11:29 +00:00
cbiesinger@web.de
b36ab77cd4 fixing debug bustage 2005-11-11 21:06:06 +00:00
cbiesinger@web.de
36c18242d8 Bug 309521 part I: Fire PluginNotFound events when the type of the content isn't
known and we'd show the nullplugin
r+sr=bz
2005-11-11 20:12:35 +00:00
cbiesinger@web.de
4640f47534 Bug 314452
- In HandleEvent, verify that the type/URI of the plugin didn't change before
  calling instantiate
- Revoke pending instantiate events when a new plugin is loading
r+sr=bz
2005-11-01 15:38:55 +00:00
cbiesinger@web.de
5296ca74b1 bug 309706
- Add some logging to nsObjectLoadingContent
- Add a StopPlugin() method to nsIObjectFrame
  - Make use of that in PrepareInstanceOwner, so that loading a new plugin in
    the same frame works as expected
- Initialize <applet> and <embed> elements to eType_Loading, so that the type is
  only eType_Plugin if mURI and mContentType are valid

r+sr=bz
2005-10-31 18:28:56 +00:00
cbiesinger@web.de
1f31017068 Bug 309529
Move logic from nsObjectFrame::Instantiate(const char*, nsIURI*) into
nsObjectLoadingContent.

Also, fixes ext-to-type mapping if the URI does not implement nsIURL.

r+sr=bz
2005-10-29 12:56:44 +00:00
cbiesinger@web.de
876e6e565e bug 314091 Fix users of mozAutoDocUpdate to actually declare a local variable,
so that the destructor doesn't get called immediately
r+sr=bz
2005-10-29 12:54:24 +00:00
cvshook@sicking.cc
77710748bc Bug 311827: Make GetAttr return a bool rather then an nsresult.
r/sr=bz
2005-10-28 11:25:24 +00:00
bzbarsky@mit.edu
6e06e62b29 Flush out content updates before messing with the frame tree. Bug 313516, r+sr=roc 2005-10-25 22:32:13 +00:00
cbiesinger@web.de
ac04f50f4f bug 313440
- Make sure to actually construct frames synchronously
- don't fallback to alternate content if we have no frame in OnStartRequest
r+sr=bz
2005-10-23 20:00:47 +00:00
bzbarsky@mit.edu
11ff0cc60b Try fixing bug 288064 again. r=biesi, sr=dbaron 2005-10-17 00:50:39 +00:00
peterv@propagandism.org
51b0cd6709 Fix for bug 308328 (crash in [@ nsDocument::GetPrincipal] when closing browser). r/sr=bz. 2005-10-14 09:07:29 +00:00
bzbarsky@mit.edu
08214bf325 Make sure that <applet> with no code falls back and that fallback notifies as
needed.  Bug 311674, r=biesi, sr=peterv
2005-10-10 12:28:21 +00:00
cbiesinger@web.de
ebc0dcbbb4 fallback to alternate content if Instantiate() fails
bug 310515 r+sr=bz
2005-10-03 12:55:07 +00:00
cbiesinger@web.de
d729b5d0b1 bug 1156
- Make object frames have no children
  - Make the frame constructor construct a subdocumentframe, object frame or
    image frame as appropriate
- start the load of <applet>, <embed> and <object> in content code
- fallback to alternate rendering correctly

NOTE: This checkin will break the plugin finder. This will be fixed soon.

r+sr=bz
2005-09-21 19:14:30 +00:00