3091 Commits

Author SHA1 Message Date
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
4d0919d856 Bug 296207: Optimize nsDOMAttributeMap::SetNamedItemInternal.
r=allan sr=peterv


git-svn-id: svn://10.0.0.236/trunk@186694 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-29 03:01:58 +00:00
cvshook%sicking.cc
71eca1d26a Fix win build bustage
git-svn-id: svn://10.0.0.236/trunk@186689 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-29 00:38:55 +00:00
cvshook%sicking.cc
fe17826098 Try to fix orange
git-svn-id: svn://10.0.0.236/trunk@186686 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-28 23:33:14 +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
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
dbaron%dbaron.org
9c30790993 Allow QI to nsIDOMGCParticipant to fix crashes. b=319293 r=mrbkap sr=jst
git-svn-id: svn://10.0.0.236/trunk@186095 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-15 01:02:16 +00:00
bsmedberg%covad.net
d332f10cd0 Bug 319997 - Convert parser tests to use the frozen linkage, r=mrbkap
git-svn-id: svn://10.0.0.236/trunk@185971 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-12 20:56:37 +00:00
bzbarsky%mit.edu
ca7e6121f6 Make sure to update the sheet even if the URI has not changed if something else
that matters (type, media, etc) has changed.  Bug 303313, r+sr=peterv


git-svn-id: svn://10.0.0.236/trunk@185844 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-09 19:20:42 +00:00
dbaron%dbaron.org
dfd0a1dbe2 Add ownerDocument to reachable list when needed. b=241518 r=bzbarsky sr=jst
git-svn-id: svn://10.0.0.236/trunk@185732 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-06 05:50:12 +00:00
bzbarsky%mit.edu
4067453492 Clear the prescontext property table when we tear down the frame tree so that
we don't try to destroy frames after the arena they come from has been
deallocated.  Bug 317855, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@185730 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-06 04:53:03 +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
dbaron%dbaron.org
6efef3c0ad Make wrapper preservation (the mechanism that makes the GC use reachability information between certain C++ objects rather than rooting at language boundaries) use an interface (nsIDOMGCParticipant) to get reachability information. Preserve the wrappers for event handlers as long as what they are attached to is reachable (from C++ or JS) to avoid entraining event handler closures in cycles. b=241518 r=mrbkap sr=jst
git-svn-id: svn://10.0.0.236/trunk@185636 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-03 07:42:40 +00:00
bzbarsky%mit.edu
c71ffe9cf2 Fix wrapper reparenting to work with splitwindow... Bug 318678, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@185634 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-03 06:27:45 +00:00
neil%parkwaycc.co.uk
ee9ce4336b Bug 317937 Get rid of some unnecessary CIDs and change some possibly unsafe nsCOMPtr usage into the equivalently unsafe static casts r=darin sr=jst
git-svn-id: svn://10.0.0.236/trunk@185568 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-02 12:02:44 +00:00
bzbarsky%mit.edu
8ac26548d7 Make sure to call FireErrorNotification whenever we need to. Bug 318473,
r=sicking, sr=brendan


git-svn-id: svn://10.0.0.236/trunk@185562 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-02 04:32:18 +00:00
timeless%mozdev.org
fa5ac36667 Bug 246604 - lookupNamespaceURI should probably be aware of xml prefix
patch by ajvincent@gmail.com r=peterv sr=peterv


git-svn-id: svn://10.0.0.236/trunk@185487 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-01 02:55:19 +00:00
jst%mozilla.jstenback.com
95094c0b4b Fixing bug 318106. Stop assertion about setting mutation bits on outer window. r+sr=bzbarsky@mit.edu
git-svn-id: svn://10.0.0.236/trunk@185396 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-29 21:51:53 +00:00
cvshook%sicking.cc
34e5538159 Bug 308120: Deal better with anonymous (direct) children being moved in the DOM.
r=bz sr=bryner


git-svn-id: svn://10.0.0.236/trunk@185382 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-29 19:09:41 +00:00
bzbarsky%mit.edu
cf434cba7f Remove content ids. Bug 166637, r=sicking, sr=peterv
git-svn-id: svn://10.0.0.236/trunk@185376 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-29 16:47:18 +00:00
bzbarsky%mit.edu
916a43a789 Make ParseAttribute handle namespaced attributes too, since SVG needs to
ParseAttribute things like xlink:href.  Bug 314568, r=sicking, sr=jst


git-svn-id: svn://10.0.0.236/trunk@185374 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-29 16:37:15 +00:00
bzbarsky%mit.edu
dff1bdd7a4 Serialize an xmlns="" as needed if nodes are in the null namespace but their
ancestors have a default namespace.  Bug 301260, r+sr=peterv


git-svn-id: svn://10.0.0.236/trunk@185371 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-29 16:23:27 +00:00
jst%mozilla.jstenback.com
895df6e6ca Fixing bug 316794. Moving HandleDOMEvent() and Get/SetDocShell from nsIScriptGlobalObject to nsPIDOMWindow. r=mrbkap@gmail.com, sr=peterv@propagandism.org
git-svn-id: svn://10.0.0.236/trunk@185351 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-28 23:56:44 +00:00
timeless%mozdev.org
dae7b0629a Bug 106386 Correct misspellings in source code
patch by unknown@simplemachines.org r=timeless rs=brendan


git-svn-id: svn://10.0.0.236/trunk@185282 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-25 21:57:13 +00:00
timeless%mozdev.org
f9bdb44b34 Bug 106386 Correct misspellings in source code
patch by unknown@simplemachines.org r=timeless rs=brendan


git-svn-id: svn://10.0.0.236/trunk@185269 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-25 08:16:51 +00:00
bzbarsky%mit.edu
6d6b071b92 Fix some comments. Bug 303817, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@185133 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-22 15:49:44 +00:00
jim_nance%yahoo.com
7024c6d017 Fix for bug #283811 - Work around for an optimizer problem with gcc on
Fedora Core 3.  Code would hang if compiled with certain optimizer settings.
r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@185080 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-21 21:05:32 +00:00
peterv%propagandism.org
f4917a6c8c Fix for bug 314931 (Use content-specific DOMCI macros for XSLT in nsLayoutModule.cpp). r/sr=jst.
git-svn-id: svn://10.0.0.236/trunk@184901 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-18 13:39:43 +00:00
bzbarsky%mit.edu
ff47f16e91 Use GetWindow() in more places where we want a window instead of going through
GetScriptGlobalObject.  Bug 311830, r=bryner, sr=jst


git-svn-id: svn://10.0.0.236/trunk@184826 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-17 18:31:22 +00:00
bzbarsky%mit.edu
4df98ec824 Add some documentation on restrictions on callee actions in
ShouldLoad/ShouldProcess.  Bug 316296, r=biesi, sr=shaver


git-svn-id: svn://10.0.0.236/trunk@184825 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-17 18:17:32 +00:00
dbaron%dbaron.org
0b595c8ff6 Fix leak of content node. b=316775 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@184797 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-16 22:58:55 +00:00
bsmedberg%covad.net
8be3b17c8f Bug 315562 - non-MOZILLA_INTERNAL_API usage of dom/content headers, r=just
git-svn-id: svn://10.0.0.236/trunk@184778 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-16 20:29:29 +00:00
Olli.Pettay%helsinki.fi
7f966db435 Bug 315762, nsDOMAttribute::LookupPrefix and ::LookupNamespaceURI should return null if there is no parent element, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@184774 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-16 19:04:54 +00:00
bzbarsky%mit.edu
b2f82fd14b Switch the name and id hashtable from strings to atoms. Atomize names in
general.  Bug 315771, r=sicking, sr=jst


git-svn-id: svn://10.0.0.236/trunk@184748 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-16 02:55:29 +00:00
masayuki%d-toybox.com
6948be6ab9 Bug 55751 Mnemonic doesn't work when IME is on / Bug 113187 Cannot use shortcut of single key(e.g., space key, "/", "'", "F", "N", "B", "P" and "T") if IME is active r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@184612 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-14 23:55:24 +00:00
masayuki%d-toybox.com
96eaea8614 backing out previous patch b=55751
git-svn-id: svn://10.0.0.236/trunk@184606 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-14 22:33:39 +00:00
masayuki%d-toybox.com
6794b16a7b Bug 55751 Mnemonic doesn't work when IME is on / Bug 113187 Cannot use shortcut of single key(e.g., space key, "/", "'", "F", "N", "B", "P" and "T") if IME is active r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@184594 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-14 21:32:16 +00:00
bzbarsky%mit.edu
b8c118904d Fix bug 315189 and bug 315999 -- don't notify on nodes that are not in the DOM
yet.  r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@184490 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-11 23:05:33 +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
bsmedberg%covad.net
0217e2f9a9 Bug 313309 part 2 - change the NS_DEFINE_STATIC_IID_ACCESSOR macro to NS_DECLARE, and make a NS_DEFINE_ macro that's outside the class declaration, r=shaver
git-svn-id: svn://10.0.0.236/trunk@184456 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-11 14:36:26 +00:00
cvshook%sicking.cc
9fe570c5d5 Bug 312592: Reduce amount of duplicated code in html contentsink.
r=mrbkap sr=peterv


git-svn-id: svn://10.0.0.236/trunk@184399 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-10 15:51:10 +00:00
bzbarsky%mit.edu
d006208790 Move the document's bidi state to actually live on the document, and remove
dependencies on nsPresContext in form submission.  Fixes bugs 100533, 180861,
293171.  r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@184321 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-08 22:45:49 +00:00
mrbkap%gmail.com
12e878ae6e bug 312363: Use the security info of the dynamic context instead of the static context. r=jst sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@184115 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-03 22:47:06 +00:00
bzbarsky%mit.edu
3c611faf2a Notify on range stuff even in XUL. Bug 308382, r=sicking, sr=jst
git-svn-id: svn://10.0.0.236/trunk@183380 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-02 02:42:38 +00:00
bzbarsky%mit.edu
d14d1f2475 Remove nsIStyledContent. Bug 313968, r=sicking, r=dbaron on nsCSSStyleSheet
changes, sr=jst


git-svn-id: svn://10.0.0.236/trunk@183371 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-02 00:41:51 +00:00
bzbarsky%mit.edu
65dc080c8a Don't try to reframe generated content for image state changes on it. Bug
313656, r=biesi, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@183369 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-02 00:00:20 +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