654 Commits

Author SHA1 Message Date
roc+%cs.cmu.edu
140fbb3377 Bug 330934. Set a nsIFrame's stylecontext in its constructor, to ensure that there's always one available for GetPresContext() to use even if Init hasn't been called. Patch by Marc Liddell, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@193022 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-26 21:30:36 +00:00
Olli.Pettay%helsinki.fi
ed6f59a4d7 Bug 330710, Replace obsolete preventBubble/preventCapture with stopPropagation, r=neil, r=mconnor, sr=jst
git-svn-id: svn://10.0.0.236/trunk@192998 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-25 22:03:49 +00:00
vladimir%pobox.com
a0fde75ce7 Re-landing fixed cairo update, r=pav
git-svn-id: svn://10.0.0.236/trunk@192565 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-17 22:24:30 +00:00
vladimir%pobox.com
eaedad5e8c People tell me that quadrupling Tp is bad. Me? I want a second opinion.
git-svn-id: svn://10.0.0.236/trunk@192527 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-17 07:44:38 +00:00
vladimir%pobox.com
3cf7e11a05 b=330738, update in-tree cairo to current cairo head
git-svn-id: svn://10.0.0.236/trunk@192518 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-17 04:05:32 +00:00
pavlov%pavlov.net
b5c7a440ef backing out roc's patch for bug 328926 due to crash running tests on vc8 machines.
git-svn-id: svn://10.0.0.236/trunk@192407 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-15 06:43:36 +00:00
roc+%cs.cmu.edu
6e36f2c733 Bug 328926. Remove aPresContext parameter from Destroy and SetInitialChildList. patch by Marc Liddell, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@192399 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-15 03:14:02 +00:00
roc+%cs.cmu.edu
38a9722e9f Bug 328926. Remove aPresContext from nsIFrame::Init and nsIFrame::DidSetStyleContext. r+sr=roc, patch by Marc Liddell
git-svn-id: svn://10.0.0.236/trunk@192085 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-09 18:55:21 +00:00
martijn.martijn%gmail.com
0720f4836c Bug 325507 - Replace nsISupportsArray with nsCOMArray in nsPluginInstanceOwner::EnsureCachedAttrParamArrays. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@191150 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-24 14:43:39 +00:00
pavlov%pavlov.net
08a9b57473 fixing windows plugin clipping bugs. bug 328263. r=vlad
git-svn-id: svn://10.0.0.236/trunk@191067 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-23 20:55:42 +00:00
cbiesinger%web.de
6322c04952 bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
r+sr=darin


git-svn-id: svn://10.0.0.236/trunk@188844 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-03 14:18:39 +00:00
cbiesinger%web.de
0f9f9136d7 bug 322414
- clean up nsObjectFrame and remove unnecessary includes
- make the instanceowner hold an owning reference to the content node
- use GetOwnerDoc rather than GetCurrentDoc
r+sr=bz


git-svn-id: svn://10.0.0.236/trunk@188765 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-02 19:29:10 +00:00
roc+%cs.cmu.edu
df8627e29b Bug 317375. Reorganize frame painting and mouse event targeting around frame display lists. Some review from dbaron, lots of testing help from Martijn, Julien and others
git-svn-id: svn://10.0.0.236/trunk@188202 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-26 02:29:17 +00:00
cbiesinger%web.de
1f38fab198 Bug 322052 Fix document handling in nsObjectFrame.cpp
r+sr=bz


git-svn-id: svn://10.0.0.236/trunk@186815 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-02 15:54:24 +00:00
darin%meer.net
c0e834f3c6 fixes bug 318193 "Input streams are not implemented consistently" r=biesi sr=bz
git-svn-id: svn://10.0.0.236/trunk@186805 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-02 02:30:32 +00:00
cbiesinger%web.de
ec7f2d3bc5 Bug 316455 Remove nsIPluginInstanceOwner::PluginNotAvailable, which is pointless
now that plugin loading has been rewritten in bug 1156 / bug 309521
r+sr=bz


git-svn-id: svn://10.0.0.236/trunk@186777 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-01 11:28:35 +00:00
dbaron%dbaron.org
aa2e44782f Make nsObjectFrame not be a container anymore. b=309532 r=biesi sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@186764 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-31 00:25:36 +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
cvshook%sicking.cc
fd594c18a0 Fix build bustage
git-svn-id: svn://10.0.0.236/trunk@186680 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-28 22:11:27 +00:00
cvshook%sicking.cc
cf43ff4e7d Bug 284950: DeCOMTaminate nsIContent::GetAttrNameAt
r/sr=bz


git-svn-id: svn://10.0.0.236/trunk@186678 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-28 21:52:39 +00:00
bzbarsky%mit.edu
762b4a7682 Fix crash bug 316012, r=biesi, sr=jst
git-svn-id: svn://10.0.0.236/trunk@185745 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-07 00:52:39 +00:00
bzbarsky%mit.edu
0daaaef17c Prevent infinite recursion for cases when InstantiatePlugin returns a success
code without creating a plugin instance.  Bug 319332, r=biesi, sr=roc


git-svn-id: svn://10.0.0.236/trunk@185742 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-06 23:52:49 +00:00
bzbarsky%mit.edu
698aa98719 Windowless plugins should get SetWindow() called on them the same time normal
plugins do -- at reflow end, not just paint time.  Bug 266933, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@185729 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-06 04:50:26 +00:00
timeless%mozdev.org
a05383ef1b Bug 106386 Correct misspellings in source code
patch by mats.palmgren@bredband.net r=dbaron sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@185018 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-20 22:05:24 +00:00
joshmoz%gmail.com
b9122e4f74 remove XP_MAC, cleanup. b=281889 r=mento sr=smfr
git-svn-id: svn://10.0.0.236/trunk@184408 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-10 17:45:59 +00:00
roc+%cs.cmu.edu
c4e0410c6e Bug 313817. DeCOMtaminate more NS_New*Frame functions. r+sr=roc, patch by Marc Liddell
git-svn-id: svn://10.0.0.236/trunk@184129 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-04 02:38:33 +00:00
cbiesinger%web.de
277c11ec77 bug 314679 remove some unused code from nsObjectFrame
r+sr=bz


git-svn-id: svn://10.0.0.236/trunk@183988 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-02 16:34:32 +00:00
roc+%cs.cmu.edu
35affbc82e Bug 313817. DeCOMtaminate more NS_New*Frame functions. r+sr=roc, patch by Marc Liddell
git-svn-id: svn://10.0.0.236/trunk@183357 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-01 20:40:54 +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
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
84306ebd26 Remove no longer used code. Bug 312685, r=biesi, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@182426 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-17 23:06:16 +00:00
masayuki%d-toybox.com
d98d63a055 Bug 310174 Windowless plug-ins can't receive the focus events r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@182343 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-16 18:58:34 +00:00
smfr%smfr.org
72ef9e4bb3 Fix bug 183313: work around a Flash crasher in ActivateTSMDocument. Flash caches the active TSMDocument across focus/blur calls in order to restore the old TSMDocument (because we asked them to). The problem is that it can cache a TSMDocument that is about to be deleted, especially in Cocoa where the TSMDocument management is somewhat asynchronous. We work around this by always clearing the active TSMDocument before focussing a plugin, for Cocoa. r=mento, sr=pinkerton.
git-svn-id: svn://10.0.0.236/trunk@182200 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-13 22:39:36 +00:00
bzbarsky%mit.edu
f565be98c1 Don't store the prescontext in the plugin instance owner. Bug 312055, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@182052 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-12 02:15:26 +00:00
Olli.Pettay%helsinki.fi
1bfba761e6 Bug 306974, Remove some duplicate event dispatching code r=sicking, sr=peterv
git-svn-id: svn://10.0.0.236/trunk@181915 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-10 18:38:57 +00:00
joshmoz%gmail.com
4fd26dcd59 make sure Mac plugins get SetWindow() called when the clip rect changes. This causes SetWindow() to get called for plugins in a tab which is hidden. Patch by Simon Fraser. b=298961 r=josh sr=jst
git-svn-id: svn://10.0.0.236/trunk@181182 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-28 22:40:49 +00:00
masayuki%d-toybox.com
88b6701698 Bug 310174 Windowless plug-ins can't receive the focus events patch by <VYV03354@nifty.ne.jp> r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@181140 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-28 14:29:45 +00:00
peterv%propagandism.org
86ac4d2e8f Fix for bug 27382 (ownerDocument of orphan text and attr nodes is null). Patch by sicking, updated by peterv, r=bz, sr=peterv.
git-svn-id: svn://10.0.0.236/trunk@180911 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-24 18:43:15 +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
bzbarsky%mit.edu
26af641d58 Implement :-moz-broken, :-moz-user-disabled, and :-moz-suppressed
pseudo-classes to allow styling of broken/blocked/disabled images, applets,
objects, embeds.  Bug 11011, r=biesi and roc, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@180509 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-18 18:05:40 +00:00
brendan%mozilla.org
632884c220 Branch version of patch for bug 305565 (r/sr=jst/bz).
git-svn-id: svn://10.0.0.236/trunk@179771 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-07 02:39:51 +00:00
pavlov%pavlov.net
78af32406c moving native theme stuff to widget (bug 305291) and landing the remaining thebes gfx changes (bug 305538). r=vlad sr=roc
git-svn-id: svn://10.0.0.236/trunk@178659 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-23 02:11:54 +00:00
bzbarsky%mit.edu
d1afb179ba Make nsIPresShell::GetPrimaryFrameFor return nsIFrame* instead of using an out
param.  Bug 303779, patch by Bastiaan Jacques <b.jacques@planet.nl>, r+sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@178642 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-22 22:24:29 +00:00
bzbarsky%mit.edu
e79cce1c42 Allow passing a cached nsIContentPolicy service pointer to
NS_CheckContent*Policy if the caller has one.  Bug 304845, r=biesi, sr=jst


git-svn-id: svn://10.0.0.236/trunk@178242 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-19 15:00:01 +00:00
bzbarsky%mit.edu
9104cb9303 Make frames know whether they're leaves or not from the frame construction
point of view; use this in the frame constructor.  Bug 265367, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@177914 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-16 22:52:48 +00:00
jst%mozilla.jstenback.com
a9f668bc25 Followup changes to bzabarsky's review for bug 296639. Reviews pending, a=drivers@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@177635 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-12 04:11:00 +00:00
roc+%cs.cmu.edu
0034c8415c Bug 295527. nsObjectFrame child-size-setting-hack should use the content size, not the border-box size. r+sr=dbaron,a=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@176398 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-21 17:40:03 +00:00
jst%mozilla.jstenback.com
863088201a Fixing bug 298725. Create the right type of elements even when the document is not a HTML document. r+sr=peterv@propagandism.org, a=benjamin@smedbergs.us
git-svn-id: svn://10.0.0.236/trunk@175373 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-30 01:30:34 +00:00
jst%mozilla.jstenback.com
01278a055f Fixing bug 277434. Make setting element.type on a plugin element (object or embed) set the 'type' attribute as well. r=bugmail@sicking.cc, sr=peterv@propagandism.org, a=benjamin@smedbergs.us
git-svn-id: svn://10.0.0.236/trunk@175372 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-30 01:23:12 +00:00