37 Commits

Author SHA1 Message Date
cvshook%sicking.cc
ccd1d6884d Kill remainders of ns(XBL|HTML|XUL|Layout)Atoms. r/sr=jst b=368128
git-svn-id: svn://10.0.0.236/trunk@219151 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-30 00:06:41 +00:00
timeless%mozdev.org
c778d21502 Bug 355300 There should be only one nsGkAtoms creature
r=dbaron


git-svn-id: svn://10.0.0.236/trunk@217425 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-26 17:47:52 +00:00
bzbarsky%mit.edu
d33fe96766 If we have an unsupported classid, bail out even if we have no URI. Bug
363379, r+sr=biesi


git-svn-id: svn://10.0.0.236/trunk@217202 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-19 16:31:42 +00:00
bzbarsky%mit.edu
a03439b0a2 Don't show the plugin wizard for plugins that are actually disabled (only Java
at the moment).  Bug 344923, r=biesi, sr=jst


git-svn-id: svn://10.0.0.236/trunk@207202 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-12 02:13:24 +00:00
dbaron%dbaron.org
7be4b9c543 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
git-svn-id: svn://10.0.0.236/trunk@198815 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-01 18:35:21 +00:00
bzbarsky%mit.edu
fb477fa6d5 Make the URI of an nsIImageLoadingContent immutable. Bug 337246, r=biesi, sr=sicking
git-svn-id: svn://10.0.0.236/trunk@198735 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-31 15:58:43 +00:00
darin%meer.net
42edf059cf landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb
git-svn-id: svn://10.0.0.236/trunk@196254 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-10 17:30:15 +00:00
cvshook%sicking.cc
cec9ea1123 Bug 335911: Change nsIContent::IsContentOfType to nsINode::IsNodeOfType. r/sr=bz
git-svn-id: svn://10.0.0.236/trunk@196009 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-05 06:52:21 +00:00
bzbarsky%mit.edu
bf19ef708d Rename GetNodePrincipal to NodePrincipal. Bug 327246, r+sr=sicking
git-svn-id: svn://10.0.0.236/trunk@195579 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-27 18:21:11 +00:00
bzbarsky%mit.edu
e07858d903 Fix image blocking for obviously image objects. Bug 334825, r=biesi, sr=shaver
git-svn-id: svn://10.0.0.236/trunk@195288 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-24 19:56:18 +00:00
bzbarsky%mit.edu
8373755204 Need shorter comments here
git-svn-id: svn://10.0.0.236/trunk@193308 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-31 08:20:34 +00:00
bzbarsky%mit.edu
14903561f3 Add comments describing some more files.
git-svn-id: svn://10.0.0.236/trunk@193306 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-31 08:00:42 +00:00
bzbarsky%mit.edu
1510aacc39 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


git-svn-id: svn://10.0.0.236/trunk@188770 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-02 20:02:34 +00:00
cbiesinger%web.de
a65a0bbcf4 bug 324705 prefer natively handled document types over plugins
r+sr=bz


git-svn-id: svn://10.0.0.236/trunk@188389 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-28 14:08:55 +00:00
cbiesinger%web.de
430f534268 fix debug build bustage (from bug 322128)
git-svn-id: svn://10.0.0.236/trunk@186995 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-05 18:03:09 +00:00
cbiesinger%web.de
4988bf0fe7 Remove aForceType argument of LoadObject, make it a capability instead
bug 322128 r+sr=bz


git-svn-id: svn://10.0.0.236/trunk@186979 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-05 13:30:19 +00:00
cbiesinger%web.de
006a37ec44 Bug 314453 more ObjectURIChanged occurences; these got missed in the first
checkin


git-svn-id: svn://10.0.0.236/trunk@186800 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-01 19:06:43 +00:00
cbiesinger%web.de
aa80ec3c74 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


git-svn-id: svn://10.0.0.236/trunk@186776 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-01 11:25:43 +00:00
cbiesinger%web.de
32c8a8358d 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


git-svn-id: svn://10.0.0.236/trunk@186703 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-29 14:15:33 +00:00
cbiesinger%web.de
24af553d8a 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


git-svn-id: svn://10.0.0.236/trunk@186206 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-17 18:31:02 +00:00
bzbarsky%mit.edu
96f90c1b44 Fix crash bug 319049. Patch by Christian Biesinger (:bi) <cbiesinger@gmx.at>, r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@185677 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-05 02:13:17 +00:00
cbiesinger%web.de
d01ec451f8 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


git-svn-id: svn://10.0.0.236/trunk@185638 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-03 11:27:42 +00:00
cbiesinger%web.de
41de73d045 more debug bustage
git-svn-id: svn://10.0.0.236/trunk@184481 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-11 21:11:29 +00:00
cbiesinger%web.de
86262b110f fixing debug bustage
git-svn-id: svn://10.0.0.236/trunk@184480 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-11 21:06:06 +00:00
cbiesinger%web.de
f6782116ce 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


git-svn-id: svn://10.0.0.236/trunk@184472 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-11 20:12:35 +00:00
cbiesinger%web.de
d75361a1a1 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


git-svn-id: svn://10.0.0.236/trunk@183341 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-01 15:38:55 +00:00
cbiesinger%web.de
4510cfee8d 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


git-svn-id: svn://10.0.0.236/trunk@183271 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-31 18:28:56 +00:00
cbiesinger%web.de
8eb2b61bb7 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


git-svn-id: svn://10.0.0.236/trunk@183238 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-29 12:56:44 +00:00
cbiesinger%web.de
8cc8c8248a bug 314091 Fix users of mozAutoDocUpdate to actually declare a local variable,
so that the destructor doesn't get called immediately
r+sr=bz


git-svn-id: svn://10.0.0.236/trunk@183237 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-29 12:54:24 +00:00
cvshook%sicking.cc
b26f9f52fb Bug 311827: Make GetAttr return a bool rather then an nsresult.
r/sr=bz


git-svn-id: svn://10.0.0.236/trunk@183185 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-28 11:25:24 +00:00
bzbarsky%mit.edu
cfd25f13dd Flush out content updates before messing with the frame tree. Bug 313516, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@183015 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-25 22:32:13 +00:00
cbiesinger%web.de
1abd193a90 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


git-svn-id: svn://10.0.0.236/trunk@182838 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-23 20:00:47 +00:00
bzbarsky%mit.edu
1333cae14e Try fixing bug 288064 again. r=biesi, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@182350 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-17 00:50:39 +00:00
peterv%propagandism.org
8c33ea74e1 Fix for bug 308328 (crash in [@ nsDocument::GetPrincipal] when closing browser). r/sr=bz.
git-svn-id: svn://10.0.0.236/trunk@182242 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-14 09:07:29 +00:00
bzbarsky%mit.edu
8a2c2a30b8 Make sure that <applet> with no code falls back and that fallback notifies as
needed.  Bug 311674, r=biesi, sr=peterv


git-svn-id: svn://10.0.0.236/trunk@181899 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-10 12:28:21 +00:00
cbiesinger%web.de
f6ed39dbc5 fallback to alternate content if Instantiate() fails
bug 310515 r+sr=bz


git-svn-id: svn://10.0.0.236/trunk@181463 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-03 12:55:07 +00:00
cbiesinger%web.de
054912c09e 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


git-svn-id: svn://10.0.0.236/trunk@180762 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-21 19:14:30 +00:00