Commit Graph

3499 Commits

Author SHA1 Message Date
roc+%cs.cmu.edu
1a94b0ebf3 Bug 326501. Mark tree views as being suitable for untrusted code. r+sr=bzbarsky 2006-03-26 20:59:03 +00:00
roc+%cs.cmu.edu
8916588e70 Bug 326501. Mark tree views as being suitable for untrusted code. r+sr=bzbarsky 2006-03-26 20:57:53 +00:00
cvshook%sicking.cc
af857a00d6 Bug 331547: Get rid of nsGenericElement::WillAddOrRemove 2006-03-24 22:43:23 +00:00
cvshook%sicking.cc
fb64a93135 Fix win build bustage and update uuid 2006-03-24 04:54:11 +00:00
cvshook%sicking.cc
0cee8f0a09 Attempt to make gcc happy. 2006-03-24 04:02:58 +00:00
cvshook%sicking.cc
3f41c5dc25 Opps, didn't finish review comment before checking in. 2006-03-24 03:57:10 +00:00
cvshook%sicking.cc
fe78375178 Bug 329974: Share textdata for common textnode values. r/sr=jst 2006-03-24 03:39:47 +00:00
cvshook%sicking.cc
4845457d08 Bug 329974: Share textdata for common textnode values. r/sr=jst 2006-03-24 03:29:52 +00:00
cvshook%sicking.cc
1b3207b1d5 Relanding patches that (hopefully) don't affect Tdhtml 2006-03-24 00:09:50 +00:00
cvshook%sicking.cc
e26140ab7d Back out a few of my patches to see if any caused the Tdhtml regression in bug 331364. 2006-03-23 08:21:21 +00:00
bryner%brianryner.com
7a96206e10 Clean up header includes (bug 331050). This round of changes deals with some of the public content headers, and factors nsDOMClassInfoID out of nsIDOMClassInfo.h so that nsContentUtils.h doesn't have to bring in XPConnect. r+sr=jst. 2006-03-22 18:36:36 +00:00
timeless%mozdev.org
3c1615117a Bug 246092 nsContentPolicy caches Category list
patch by chpe@gnome.org r=bz sr=bz
2006-03-22 15:26:35 +00:00
timeless%mozdev.org
acf535b28d Bug 246092 nsContentPolicy caches Category list
Testing a backout to see how Tp fares.
2006-03-22 09:13:54 +00:00
timeless%mozdev.org
ad9314828f Bug 246092 nsContentPolicy caches Category list
random attempt at fixing build bustage (msvc6, w2k)
2006-03-21 07:42:52 +00:00
timeless%mozdev.org
fc590ed546 Bug 246092 nsContentPolicy caches Category list
patch by chpe@gnome.org r=bz sr=bz
2006-03-21 06:48:38 +00:00
jag%tty.nl
fb9313e95b nsresult -> NS_IMETHODIMP on some of the nsIDOMAttr methods. r=sicking 2006-03-19 10:26:58 +00:00
neil%parkwaycc.co.uk
d7bd93f921 Ensure box objects are obtained from the correct document b=330181 r+sr=jst 2006-03-18 14:14:08 +00:00
peterv%propagandism.org
59c12dfe1f Fix for bug 286132 (xml-stylesheet PI doesn't handle href attribute as in specification), checking in the right patch this time. r=sicking, sr=bz. 2006-03-17 14:38:57 +00:00
cvshook%sicking.cc
eecb0ccf93 Bug 330526. Don't call Release on mContent in the middle of putting the nsDOMEventRTTearoff in the cache. r=aaronr@us.ibm.com sr=jst 2006-03-17 00:51:04 +00:00
cvshook%sicking.cc
6c450d021d Bug 330084: Don't crash when removing an node from the tree that noone holds on to. r/sr=jst 2006-03-17 00:28:26 +00:00
peterv%propagandism.org
d52a61880f Backing out to fix bustages. 2006-03-16 15:12:21 +00:00
peterv%propagandism.org
3efee8b1f4 Fix for bug 286132 (xml-stylesheet PI doesn't handle href attribute as in specification). r=sicking, sr=bz. 2006-03-16 13:47:42 +00:00
Olli.Pettay%helsinki.fi
9a528f9417 Bug 329437, Push DispatchClickEvent up to nsGenericElement r+sr=bz 2006-03-14 19:57:33 +00:00
bzbarsky%mit.edu
6e8df6adb8 nsIDocumentEncoder should be IDL-ized. Bug 305710, patch by jpl24
<jlurz24@gmail.com>, r=sicking, sr=bzbarsky
2006-03-14 17:12:41 +00:00
cvshook%sicking.cc
e9857521f9 Kill leftover declaration from bug 326645. r/sr=bz 2006-03-09 18:56:30 +00:00
martijn.martijn%gmail.com
c6b545fb8c Bug 286560 - Fix comments for focusNode in nsISelection.idl, r+sr=bzbarsky 2006-03-09 18:44:20 +00:00
Olli.Pettay%helsinki.fi
0a10950131 Bug 329125, Remove nsMutationEvent::mTarget r+sr=bz 2006-03-09 18:14:17 +00:00
cvshook%sicking.cc
9f4b50c028 Bug 326645: Remove mRootContent from nsDocument to avoid all the pains of keeping it in sync with the childlist. Also remove mBodyContent from nsHTMLDocument for the same reason. r=bz sr=jst 2006-03-09 07:29:41 +00:00
cvshook%sicking.cc
1a8c5dae53 Bug 325730. Mutation-event handlers can cause further mutations to the DOM. We need to be more attentive to those. r=bz sr=jst 2006-03-08 21:47:32 +00:00
Olli.Pettay%helsinki.fi
7f852eb898 Bug 328885, r+sr=bz 2006-03-08 20:22:35 +00:00
Olli.Pettay%helsinki.fi
f79ea0115b Bug 234455, Centralize event dispatch r=jst, sr=bz 2006-03-07 17:08:51 +00:00
bzbarsky%mit.edu
950c61cf37 Remove the mPresShell member of nsBoxObject, and some other cleanup. Bug
329181, r=neil, sr=jst
2006-03-07 03:20:39 +00:00
bzbarsky%mit.edu
6ca8715ac8 Fix the behavior of ranges when insertNode is called -- range should not
collapse.  Bug 253609, patch by Joshua Welderson
<pythonesque+bugzilla@gmail.com>, r=peterv, sr=jst
2006-03-03 02:53:44 +00:00
bzbarsky%mit.edu
7bd85f5af3 Don't set the "exception pending" boolean on the XPCCallContext if we actually
set the exception on some other unrelated JSContext.  Bug 328851, r=jst, sr=brendan
2006-03-01 03:54:15 +00:00
cvshook%sicking.cc
003a14761a Bug 327969: Smarter IndexOfChild cache implementation. r/sr=bz 2006-02-28 22:17:23 +00:00
cvshook%sicking.cc
4c25054cc3 Bug 327969: Smarter IndexOfChild cache implementation. r/sr=bz 2006-02-28 22:16:06 +00:00
bzbarsky%mit.edu
9345ddf89b Fixing comment. No bug. 2006-02-28 05:21:17 +00:00
bzbarsky%mit.edu
8e2f7a6f3d Be more careful with the principal for subframe loads. Bug 327078 and bug 328469, r=sicking, sr=jst 2006-02-27 19:14:51 +00:00
enndeakin%sympatico.ca
65c400afcf Bugs 328464, empty template attribute issue and 327504, crash reading mail r+sr=bz 2006-02-27 16:48:55 +00:00
martijn.martijn%gmail.com
d96b027256 Bug 324340 - ASSERTION: no extension: '!aExtension.IsEmpty()' when dragging image at news.google.com. r+sr=jst 2006-02-24 13:14:11 +00:00
timeless%mozdev.org
1ce5986f6b Bug 106386 Correct misspellings in source code
r=bernd rs=brendan
2006-02-23 09:36:43 +00:00
bzbarsky%mit.edu
1a344388ca Make it possible to target non-primary content <browser>s; specifically ones
that are type="content-targetable".  Bug 326009, r=bsmedberg, sr=jst
2006-02-22 03:58:48 +00:00
bzbarsky%mit.edu
80ea4604ed Don't leak the channel and XMLHttpRequest object if AsyncOpen fails. Bug
323454, r=biesi, sr=darin
2006-02-21 00:00:44 +00:00
bzbarsky%mit.edu
a83eba463b Give a saner principal to documents created via DOMImplementation. Bug 324601,
r=sicking, sr=jst
2006-02-20 18:57:32 +00:00
peterv%propagandism.org
0b2a5e50bc Fix for bug 326994 (XMLSerializer adds namespace declaration for non-empty prefix with empty namespace name). r/sr=bz. 2006-02-18 13:01:59 +00:00
cvshook%sicking.cc
bf888a7955 Bug 326618: Remove assertion that we know can happen and that is no longer dangerous. r/sr=jst 2006-02-18 02:54:15 +00:00
dbaron%dbaron.org
60ef70cf95 Change finalization of event listener manager hash to deal with interactions with preserved wrapper table and dangling pointers. b=325279 r=bzbarsky sr=jst 2006-02-17 23:41:44 +00:00
peterv%propagandism.org
206b2a673d Fix for bug 320367 (Fix nsDOMDocumentType's nsISupports implementation). r/sr=jst. 2006-02-17 13:12:50 +00:00
bzbarsky%mit.edu
1bf2774cea Remove no longer needed code. Bug 327103, r=sicking, sr=jst 2006-02-16 00:51:25 +00:00
bzbarsky%mit.edu
8ceb3708cd Remove bogus comment. Bug 327071. 2006-02-15 06:21:32 +00:00
dbaron%dbaron.org
85bbf2fc78 Document null pointer handling. b=326646 r=sicking sr=peterv 2006-02-14 23:30:40 +00:00
dbaron%dbaron.org
3af0d57671 Remove bogus assertion. b=326646 r=sicking sr=peterv 2006-02-14 23:30:10 +00:00
bzbarsky%mit.edu
ead4f28aed Simplify the check for a codebase principal when setting cookies. Bug 327106,
r+sr=peterv
2006-02-14 16:28:46 +00:00
bzbarsky%mit.edu
752005bb9d Only try to get box objects for content nodes. Bug 326778, r=sicking, sr+branch181=peterv 2006-02-14 16:24:51 +00:00
bzbarsky%mit.edu
1ee861335f Use nsContentUtils helpers for some localizing in nsGlobalWindow. Bug 326972,
r+sr=jst
2006-02-14 02:06:48 +00:00
bzbarsky%mit.edu
41bdb2e1d6 Improve function naming and documentation. Bug 327071, r+sr=jst 2006-02-14 02:04:20 +00:00
bzbarsky%mit.edu
4cca96d4cb Fix compareDocumentPosition for attr nodes to work right when the other node is
also an attr.  Bug 326939, patch by Alex Vincent <ajvincent@gmail.com>, r+sr=bzbarsky
2006-02-13 20:44:39 +00:00
enndeakin%sympatico.ca
b854f81d48 Bug 285631, new template builder, r+sr=bz 2006-02-13 16:02:08 +00:00
wr%rosenauer.org
9ceabad72a Bug 326964 - fixed bogus assertion (missing nsIDOMNode::DOCUMENT_TYPE_NODE), p=ajvincent@gmail.com, r+sr=bz 2006-02-13 06:58:59 +00:00
peterv%propagandism.org
478b5f2e3e Remove unnecessary casts pointed out by bz. 2006-02-08 10:06:47 +00:00
bzbarsky%mit.edu
f7c4367c85 Trying to fix Tp regression. Bug 324828, r+sr=jst 2006-02-08 05:56:13 +00:00
peterv%propagandism.org
41896e2c3d Bustage fix 2006-02-07 15:12:08 +00:00
peterv%propagandism.org
a8a430a797 Fix for bug 315901 (Move RangeList and EventListenerManager hashes to nsContentUtils). r/sr=jst. 2006-02-07 14:34:10 +00:00
cbiesinger%web.de
c2d981f764 bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
r+sr=darin
2006-02-03 14:18:39 +00:00
bzbarsky%mit.edu
8439d69eb0 Try to fix bustage yet again. Bug 324600. See revision 3.75 of
view/public/nsIView.h for why this sort of thing is needed.
2006-02-02 23:40:37 +00:00
bzbarsky%mit.edu
66448abcba Fix more build bustage. Bug 324600 2006-02-02 20:36:02 +00:00
bzbarsky%mit.edu
263cf7dc11 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
cvshook%sicking.cc
68d4747601 Bug 325404: Get rid of _base_href and _base_target attributes and use properties instead. r/sr=jst 2006-02-01 04:43:55 +00:00
mrbkap%gmail.com
3d59a68ee7 When we don't find a </script> tag, we should put the entire rest of the document into the script element, but not execute the script. This also makes serialization not serialize the end tags for scripts that don't have them (to preserve round tripping). bug 305873, r=sicking sr=jst 2006-01-31 22:19:46 +00:00
scootermorris%comcast.net
2af5ed9d82 Fix bustage on camino caused by fix for bug 303018
r=tor
2006-01-31 21:04:42 +00:00
scootermorris%comcast.net
b09d7e40cc SVG Conditionals should work outside of <switch>. Bug 303018.
r=bugmail/sr=tor
2006-01-31 18:53:33 +00:00
bzbarsky%mit.edu
6f84c83861 More use of nsINode. Bug 325006, r=sicking, sr=peterv 2006-01-31 04:25:22 +00:00
bzbarsky%mit.edu
12979b855a Fix bug 325005. r=sicking, sr=jst 2006-01-31 01:47:30 +00:00
cbiesinger%web.de
cf2058af9d bug 324705 prefer natively handled document types over plugins
r+sr=bz
2006-01-28 14:08:55 +00:00
jwatt%jwatt.org
6fdafae9b3 Fixing bug 300868. The 'target' attribute is not supported on SVG's <a> element. r=bugmail@sicking.cc, sr=jst@mozilla.org 2006-01-28 13:12:28 +00:00
bzbarsky%mit.edu
02230a060a Add nsIDOM3Attr; implement isId on Attr nodes. Bug 288513 starter, patch by
Alex Vincent <ajvincent@gmail.com>, r+sr=jst
2006-01-27 04:10:30 +00:00
bzbarsky%mit.edu
3d4f85e974 Fix bug 306900, r+sr=jst 2006-01-27 01:03:06 +00:00
cvshook%sicking.cc
1a0897e001 Bug 324723: Make nsPropertyTable resistent against using the wrong base pointer by enforcing type safety. r/sr=jst 2006-01-26 23:40:49 +00:00
roc+%cs.cmu.edu
77bca74243 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 2006-01-26 02:29:17 +00:00
cvshook%sicking.cc
e531090e22 Bug 324572: Forgot to remove some property implementations that are now unneeded. r/sr=bz 2006-01-25 23:29:56 +00:00
cvshook%sicking.cc
27fd7c5cd1 Fix build bustage when MOZILLA_INTERNAL_API isn't defined 2006-01-25 22:00:38 +00:00
cvshook%sicking.cc
c46fb5af56 Fix build bustage 2006-01-25 21:36:46 +00:00
cvshook%sicking.cc
302bfb5920 Bug 324572: Move property methods to nsINode and make nsIAttribute inherit nsINode.
r/sr=bz
2006-01-25 20:49:56 +00:00
darin%meer.net
f7517500ad fixes bug 323793 "Expose .ping attribute for <a> and <area> elements" r=jst sr=bzbarsky 2006-01-24 05:48:32 +00:00
mrbkap%gmail.com
f6d4616492 bug 321781: document.close() causes weird things to happen when asynchronous things were document.written. r=sicking sr=jst 2006-01-24 01:48:41 +00:00
mrbkap%gmail.com
5886c8dad3 bug 321781: document.close() causes weird things to happen when asynchronous things were document.written. r=sicking sr=jst 2006-01-24 01:25:14 +00:00
tor%cs.brown.edu
5cd5d59918 Bug 316764 - implement <mask> and fix <clipPath> for multiple
overlapping children.  r=scootermorris
2006-01-20 17:00:43 +00:00
bzbarsky%mit.edu
b64fcb4a39 Implement an nsINode interface; move some common stuff from nsIContent and
nsIDocument to nsINode.  Bug 323311, r=sicking, sr=jst
2006-01-19 03:34:18 +00:00
dbaron%dbaron.org
c2811fc727 Prevent circular ownership leaks via XPCOM-JS cycles through treewalker's filter, the same way we do for event listeners. b=323534 r=mrbkap sr=jst 2006-01-19 02:46:18 +00:00
dbaron%dbaron.org
836cdfd70a Remove event listeners when dropping an event listener manager so that the weak references in DOMClassInfo's preserved wrapper table for event listeners are removed before the ELM's owner (the GC participant) goes away, and document why this needs to be done. Also consolidate the things that need to be done before letting go of an ELM into one method, and add some missing calls to that method. b=323807 r=mrbkap sr=jst 2006-01-19 02:43:39 +00:00
cvshook%sicking.cc
ac6a48871e Fix cairo bustage 2006-01-19 01:47:53 +00:00
cvshook%sicking.cc
15c2397445 Bug 323910: Merge atom lists in gklayout
r/sr=jst
2006-01-19 00:58:12 +00:00
mrbkap%gmail.com
9f6aab3aff bug 322773: The prompt service asserts if there our window doesn't have a document. r+sr=bzbarsky 2006-01-18 23:06:06 +00:00
roc+%cs.cmu.edu
710ba40206 Bug 323230. Add FindAttrValueIn as an efficient way to look up an attribute value in a table of atoms. r=sicking,sr=bzbarsky 2006-01-18 04:09:33 +00:00
mrbkap%gmail.com
b630255ce0 bug 323380: Load about:blank into the frame if the given URI was malformed. r+sr=bzbarsky 2006-01-17 18:13:31 +00:00
bzbarsky%mit.edu
c34a138b91 Make element and document RemoveChild methods share code. Bug 312522, patch by
Alex Vincent <ajvincent@gmail.com>, r=sicking, sr=bzbarsky
2006-01-12 16:33:42 +00:00
bzbarsky%mit.edu
03cfacc04c Do the right thing for lookupPrefix on a default namespace. Bug 308478, r+sr=peterv 2006-01-08 23:31:49 +00:00
cvshook%sicking.cc
d6350f1b77 Bug 322570: Make LookupPrefix work even for unused namespace declarations.
r/sr=bz
2006-01-06 23:52:34 +00:00
dbaron%dbaron.org
ee4cdca7c2 Add some PR_LOGging to help find leaks of large object graphs. b=320192 r=jst sr=darin 2006-01-06 06:51:45 +00:00
cbiesinger%web.de
c3d7007a30 fix debug build bustage (from bug 322128) 2006-01-05 18:03:09 +00:00
cbiesinger%web.de
2f52d47057 Remove aForceType argument of LoadObject, make it a capability instead
bug 322128 r+sr=bz
2006-01-05 13:30:19 +00:00
bryner%brianryner.com
ee003f8cc4 Fix restoration of scroll position and textfield contents after bfcache eviction by calling PersistLayoutHistoryState as part of RestoreFromHistory. Bug 317380, r=bzbarsky. 2006-01-04 06:38:46 +00:00
cbiesinger%web.de
e50740533c Bug 314453 more ObjectURIChanged occurences; these got missed in the first
checkin
2006-01-01 19:06:43 +00:00
cbiesinger%web.de
1efb68569c 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
gerv%gerv.net
eb50dd44e7 Bug 236613: change to MPL/LGPL/GPL tri-license. 2005-12-31 16:02:07 +00:00
cvshook%sicking.cc
fe5dce8079 Fix accidental typo in my last checkin 2005-12-30 20:25:54 +00:00
cvshook%sicking.cc
462757fa67 Bug 232639: Make nsXULElement::GetAttrNameAt actually work.
r/sr=bz
2005-12-30 20:12:35 +00:00
cbiesinger%web.de
1d04cb0110 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
cvshook%sicking.cc
857adff236 Bug 296207: Optimize nsDOMAttributeMap::SetNamedItemInternal.
r=allan sr=peterv
2005-12-29 03:01:58 +00:00
cvshook%sicking.cc
6d7257e461 Fix win build bustage 2005-12-29 00:38:55 +00:00
cvshook%sicking.cc
078b46a709 Try to fix orange 2005-12-28 23:33:14 +00:00
cvshook%sicking.cc
79b8f5fc24 Bug 284950: DeCOMTaminate nsIContent::GetAttrNameAt
r/sr=bz
2005-12-28 21:52:39 +00:00
cbiesinger%web.de
f0f0184a77 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
dbaron%dbaron.org
7bb2f0ada3 Allow QI to nsIDOMGCParticipant to fix crashes. b=319293 r=mrbkap sr=jst 2005-12-15 01:02:16 +00:00
bsmedberg%covad.net
0ee58bb049 Bug 319997 - Convert parser tests to use the frozen linkage, r=mrbkap 2005-12-12 20:56:37 +00:00
bzbarsky%mit.edu
b688dbf9f0 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
2005-12-09 19:20:42 +00:00
dbaron%dbaron.org
908c583ca2 Add ownerDocument to reachable list when needed. b=241518 r=bzbarsky sr=jst 2005-12-06 05:50:12 +00:00
bzbarsky%mit.edu
878caa3f68 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
2005-12-06 04:53:03 +00:00
bzbarsky%mit.edu
72a2604c7d 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
3c23130790 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
dbaron%dbaron.org
f2a37733b9 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 2005-12-03 07:42:40 +00:00
bzbarsky%mit.edu
9ba9e01fb9 Fix wrapper reparenting to work with splitwindow... Bug 318678, r+sr=jst 2005-12-03 06:27:45 +00:00
neil%parkwaycc.co.uk
0d29adadea 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 2005-12-02 12:02:44 +00:00
bzbarsky%mit.edu
bc6968bdaf Make sure to call FireErrorNotification whenever we need to. Bug 318473,
r=sicking, sr=brendan
2005-12-02 04:32:18 +00:00
timeless%mozdev.org
0154f7e02f Bug 246604 - lookupNamespaceURI should probably be aware of xml prefix
patch by ajvincent@gmail.com r=peterv sr=peterv
2005-12-01 02:55:19 +00:00
jst%mozilla.jstenback.com
61c4a775a7 Fixing bug 318106. Stop assertion about setting mutation bits on outer window. r+sr=bzbarsky@mit.edu 2005-11-29 21:51:53 +00:00
cvshook%sicking.cc
690581075f Bug 308120: Deal better with anonymous (direct) children being moved in the DOM.
r=bz sr=bryner
2005-11-29 19:09:41 +00:00
bzbarsky%mit.edu
bf70da4532 Remove content ids. Bug 166637, r=sicking, sr=peterv 2005-11-29 16:47:18 +00:00
bzbarsky%mit.edu
6d003a9d96 Make ParseAttribute handle namespaced attributes too, since SVG needs to
ParseAttribute things like xlink:href.  Bug 314568, r=sicking, sr=jst
2005-11-29 16:37:15 +00:00
bzbarsky%mit.edu
14107143f5 Serialize an xmlns="" as needed if nodes are in the null namespace but their
ancestors have a default namespace.  Bug 301260, r+sr=peterv
2005-11-29 16:23:27 +00:00
jst%mozilla.jstenback.com
8f1863159b Fixing bug 316794. Moving HandleDOMEvent() and Get/SetDocShell from nsIScriptGlobalObject to nsPIDOMWindow. r=mrbkap@gmail.com, sr=peterv@propagandism.org 2005-11-28 23:56:44 +00:00
timeless%mozdev.org
9b0852aaf7 Bug 106386 Correct misspellings in source code
patch by unknown@simplemachines.org r=timeless rs=brendan
2005-11-25 21:57:13 +00:00
timeless%mozdev.org
db820cf720 Bug 106386 Correct misspellings in source code
patch by unknown@simplemachines.org r=timeless rs=brendan
2005-11-25 08:16:51 +00:00
bzbarsky%mit.edu
cc169cc41f Fix some comments. Bug 303817, r+sr=jst 2005-11-22 15:49:44 +00:00
jim_nance%yahoo.com
5dda4e8ad4 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
2005-11-21 21:05:32 +00:00
peterv%propagandism.org
75a40ab354 Fix for bug 314931 (Use content-specific DOMCI macros for XSLT in nsLayoutModule.cpp). r/sr=jst. 2005-11-18 13:39:43 +00:00
bzbarsky%mit.edu
81bdd1fa13 Use GetWindow() in more places where we want a window instead of going through
GetScriptGlobalObject.  Bug 311830, r=bryner, sr=jst
2005-11-17 18:31:22 +00:00
bzbarsky%mit.edu
6d2d10784c Add some documentation on restrictions on callee actions in
ShouldLoad/ShouldProcess.  Bug 316296, r=biesi, sr=shaver
2005-11-17 18:17:32 +00:00
dbaron%dbaron.org
5eef7f6419 Fix leak of content node. b=316775 r+sr=bzbarsky 2005-11-16 22:58:55 +00:00
bsmedberg%covad.net
884a44f58e Bug 315562 - non-MOZILLA_INTERNAL_API usage of dom/content headers, r=just 2005-11-16 20:29:29 +00:00
Olli.Pettay%helsinki.fi
f8acb59a06 Bug 315762, nsDOMAttribute::LookupPrefix and ::LookupNamespaceURI should return null if there is no parent element, r+sr=jst 2005-11-16 19:04:54 +00:00
bzbarsky%mit.edu
b7345ce6a8 Switch the name and id hashtable from strings to atoms. Atomize names in
general.  Bug 315771, r=sicking, sr=jst
2005-11-16 02:55:29 +00:00
masayuki%d-toybox.com
7e718780b3 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 2005-11-14 23:55:24 +00:00
masayuki%d-toybox.com
3767450b23 backing out previous patch b=55751 2005-11-14 22:33:39 +00:00
masayuki%d-toybox.com
94e3cfbe0c 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 2005-11-14 21:32:16 +00:00
bzbarsky%mit.edu
0a49bf368d Fix bug 315189 and bug 315999 -- don't notify on nodes that are not in the DOM
yet.  r+sr=jst
2005-11-11 23:05:33 +00:00
cbiesinger%web.de
abea88f49a more debug bustage 2005-11-11 21:11:29 +00:00
cbiesinger%web.de
5d5af365f5 fixing debug bustage 2005-11-11 21:06:06 +00:00
cbiesinger%web.de
cb96a08471 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
bsmedberg%covad.net
78f6d0683d 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 2005-11-11 14:36:26 +00:00
cvshook%sicking.cc
4660644188 Bug 312592: Reduce amount of duplicated code in html contentsink.
r=mrbkap sr=peterv
2005-11-10 15:51:10 +00:00
bzbarsky%mit.edu
06dc79df0f 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
2005-11-08 22:45:49 +00:00
mrbkap%gmail.com
1bcf4e73fc bug 312363: Use the security info of the dynamic context instead of the static context. r=jst sr=bzbarsky 2005-11-03 22:47:06 +00:00
bzbarsky%mit.edu
707a4941b9 Notify on range stuff even in XUL. Bug 308382, r=sicking, sr=jst 2005-11-02 02:42:38 +00:00
bzbarsky%mit.edu
d44ad313ae Remove nsIStyledContent. Bug 313968, r=sicking, r=dbaron on nsCSSStyleSheet
changes, sr=jst
2005-11-02 00:41:51 +00:00
bzbarsky%mit.edu
83bd8eee0c Don't try to reframe generated content for image state changes on it. Bug
313656, r=biesi, sr=dbaron
2005-11-02 00:00:20 +00:00
cbiesinger%web.de
177f4f0db6 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
bzbarsky%mit.edu
6135ba84c3 Fix bug 314343. Patch by Martijn Wargers <martijn.martijn@gmail.com>,
r=sicking, sr=bzbarsky.
2005-11-01 02:29:54 +00:00
cbiesinger%web.de
ac00cddace 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
ec2746ef9a 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
8afaa18779 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
64a0fbd45f Bug 311827: Make GetAttr return a bool rather then an nsresult.
r/sr=bz
2005-10-28 11:25:24 +00:00
peterv%propagandism.org
61caa5e8d4 Fix for bug 314075 (Crash [@ nsPropertyTable::DeleteAllPropertiesFor]). Patch by Mark Mentovai, r/sr=me. 2005-10-28 08:48:11 +00:00
bzbarsky%mit.edu
d3f9d12fac Fix more build bustage. Bug 308270 2005-10-28 03:57:08 +00:00
bzbarsky%mit.edu
7ef886f1fb Make sure to set |modification| correctly. Bug 308270, presumed r=sicking, sr=jst 2005-10-28 03:52:26 +00:00
bzbarsky%mit.edu
ddfee5f052 Combine various SetAttr implementations so that we just have
nsGenericElement::SetAttr.  Bug 308270, r=sicking, sr=jst
2005-10-28 02:59:38 +00:00
peterv%propagandism.org
95ac2f6ee6 Change IID of changed interfaces (for bug 264308). 2005-10-27 14:58:38 +00:00
peterv%propagandism.org
cdcdbecc57 Bustage fix. 2005-10-27 14:58:07 +00:00
peterv%propagandism.org
0a629d03bb Fix for bug 264308 (Implement DOM Level 3 UserData API). r/sr=jst. 2005-10-27 14:09:23 +00:00
peterv%propagandism.org
672b2a02a0 Part of fix for bug 278981 (Extension mechanism for XPath extension functions) - Support aggregation of nsXPathEvaluator. r/sr=jst. 2005-10-27 12:17:22 +00:00
bzbarsky%mit.edu
0d5a3e6aa7 Pass nsIStyledContent to AttributeChanged() so that consumers don't have to QI
to it.  Bug 313343, r=sicking, sr=jst
2005-10-27 02:25:23 +00:00
mrbkap%gmail.com
9ca780ba29 bug 309012: The contents of STYLE tags appear in sanitized e-mails. r+sr=jst 2005-10-26 23:00:32 +00:00
jst%mozilla.jstenback.com
c2cd824974 Fixing bug 313400. document.createRange().extractContents() crashes, patch by ajvincent@gmail.com, r+sr=jst@mozilla.com 2005-10-26 17:06:41 +00:00
bzbarsky%mit.edu
c826d32b65 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
2bcfbdc9b4 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
5f45dcf4fd Fix bug 177269 -- radio groups should have case-insensitive names. Patch by
limonan <limonan@ccoss.com.cn>, r+sr=jst
2005-10-21 22:32:27 +00:00
cvshook%sicking.cc
7c5d7d56eb Bug 311785: Simplify the nsIHTMLContentSink interface
r=mrbkap sr=peterv
2005-10-21 15:39:06 +00:00
bzbarsky%mit.edu
836aa0b284 Optimize MatchElementId some. Bug 313082, r=sicking, sr=peterv 2005-10-21 15:17:15 +00:00
bzbarsky%mit.edu
5def247566 Fix bug 312847 -- pass the right index to ContentAppended. r+sr=jst 2005-10-18 22:09:07 +00:00
roc+%cs.cmu.edu
f7e2b45942 Bug 309020. SVG content references in XBL anonymous content should reference content copied from the binding document. This is a partial fix. We also refactor some code to make it shareable in nsContentUtils. r=biesi,tor sr=bzbarsky 2005-10-18 20:33:35 +00:00
bzbarsky%mit.edu
4a7f4df475 When inserting a document fragment, make sure that updates triggered by our
insertions flush out notifications as needed.  Bug 312695, r+sr=jst
2005-10-18 01:51:52 +00:00
bzbarsky%mit.edu
0d1e336c9a Try fixing bug 288064 again. r=biesi, sr=dbaron 2005-10-17 00:50:39 +00:00
Olli.Pettay%helsinki.fi
a75aa2d008 Bug 307465, lookupPrefix, lookupNamespaceURI and isDefaultNamespace in Document should get the values from documentElement. r+sr=jst 2005-10-15 12:50:50 +00:00
peterv%propagandism.org
513c1fd56d Fix for bug 308328 (crash in [@ nsDocument::GetPrincipal] when closing browser). r/sr=bz. 2005-10-14 09:07:29 +00:00
bryner%brianryner.com
093e6675b1 Fix dispatch of pagehide events when tabs are closed, by not relying on a PresContext being present for event targetting. Bug 309581, r+sr=bzbarsky. 2005-10-11 00:18:19 +00:00
Olli.Pettay%helsinki.fi
cde8aaf024 Bug 306974, Remove some duplicate event dispatching code r=sicking, sr=peterv 2005-10-10 18:38:57 +00:00
bzbarsky%mit.edu
594fa98ec0 Remove unnecessary refcounting in IsSafeToFlush. Bug 311547, r+sr=peterv 2005-10-10 12:29:27 +00:00
bzbarsky%mit.edu
b3f9b51f10 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
bryner%brianryner.com
48082c9284 Speed up matching class rules by caching the class attribute, rather than looking it up for each rule. Remove HasClass now that it's no longer needed. Bug 310236, r+sr=dbaron. 2005-10-08 23:06:27 +00:00
cvshook%sicking.cc
7371067364 Bugs 292962 and 311269: Make pages in bf cache not behave as if they have a presentation, and evict pages from the bf cache synchronously if they are modified.
r/sr=bryner
2005-10-07 20:20:52 +00:00
roc+%cs.cmu.edu
a13bf33f1d Bug 305160. Target viewport scroll events at the document, not the root element (they will bubble to the window from there). Always stop bubbling of scroll events out of an element. r+sr=jst 2005-10-07 01:28:27 +00:00
peterv%propagandism.org
3aa377d9c5 Fix for bug 308706 (1.5 Beta crashes Immediately upon double-clicking on the Icon. [@ nsContentUtils::SplitExpatName]). r/sr=jst. 2005-10-04 09:00:41 +00:00
cbiesinger%web.de
951c2ec0a2 fallback to alternate content if Instantiate() fails
bug 310515 r+sr=bz
2005-10-03 12:55:07 +00:00
bzbarsky%mit.edu
cc4bd10dc0 Fix bug 310653. Patch by peterv, r+sr=bzbarsky 2005-10-02 14:30:44 +00:00
bzbarsky%mit.edu
79185165c1 Backing out bug 288064 because of the Tp hit. 2005-10-01 01:35:56 +00:00
bzbarsky%mit.edu
7a5cbee6e9 Implement a LOADING state, have a :-moz-loading selector to match on it, use it
for images.  Bug 288064, r=biesi, sr=dbaron
2005-10-01 00:34:03 +00:00
bzbarsky%mit.edu
d34807f08b Make nsDocument::InsertBefore and nsDocument::ReplaceChild do the right thing
as far as removing kids from their old parent, working with document fragments,
etc.  Mostly just makes nsDocument and nsGenericElement share code.  Bug
278472, r=peterv, sr=jst
2005-09-30 20:06:33 +00:00
masayuki%d-toybox.com
54ff675c1a Bug 99224 document.lastModified should be localized r=jst+jshin, sr=brendan 2005-09-30 14:42:55 +00:00
peterv%propagandism.org
a91a09cd13 Fix for bug 27382 (ownerDocument of orphan text and attr nodes is null), remove some includes. Patch by sicking, updated by peterv, r=bz, sr=peterv. 2005-09-26 14:37:29 +00:00
peterv%propagandism.org
3609c87767 Fix for bug 27382 (ownerDocument of orphan text and attr nodes is null). Patch by sicking, updated by peterv, r=bz, sr=peterv. 2005-09-24 18:43:15 +00:00
peterv%propagandism.org
bf92bc7bab Fix for bug 307245 (ASSERTION: FormatStringFromName() without format parameters: use GetStringFromName() instead: 'aParams && aLength' @ nsStringBundle::FormatStringFromName(). r/sr=jst. 2005-09-24 17:38:20 +00:00
bzbarsky%mit.edu
a968a0250c Make sure to root the function object we compile in
nsXBLPrototypeHandler::ExecuteHandler.  r=jst, sr=brendan
2005-09-24 02:33:33 +00:00
bzbarsky%mit.edu
242b21fdb5 Don't notify on nsAttributeTextNode::BindToTree. Bug 309107, r+sr=jst 2005-09-23 14:46:24 +00:00
cbiesinger%web.de
6cfcdb525f bug 309642 make NS_CP_GetDocShellFromContext(nsISupports*) inline rather than
static to avoid compile warnings
r+sr=jst
2005-09-22 20:24:31 +00:00
bzbarsky%mit.edu
b10d301a22 Pass a boolean indicating whether we've sent a ContentInserted or
ContentAppended notification to DoneAddingChildren.  Bug 309534, r=mrbkap,
sr=jst
2005-09-22 02:33:36 +00:00
cbiesinger%web.de
7002686d0d 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
bzbarsky%mit.edu
7e68ec3e78 Forgot to address review comment... Bug 309141 2005-09-21 00:37:41 +00:00
bzbarsky%mit.edu
05b30c0a52 Make sure to update state properly for nsGenConImageContent. Bug 309141,
r=biesi, sr=dbaron
2005-09-20 02:05:48 +00:00
bzbarsky%mit.edu
e7a8cf11ab More Tp regression-fixing for bug 11011. r=biesi, pending sr=roc 2005-09-18 21:06:19 +00:00
bzbarsky%mit.edu
0346043b72 Attempt to fix Tp regression from bug 11011. Pending r=biesi, sr=roc. 2005-09-18 19:46:20 +00:00
bzbarsky%mit.edu
608088a431 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
2005-09-18 18:05:40 +00:00
dbaron%dbaron.org
ab485465b8 Fix infinite loops in nsGenericElement::List (DEBUG-only). b=308920 r+sr=peterv 2005-09-17 17:06:27 +00:00
Olli.Pettay%helsinki.fi
74b4cd1e91 Bug 305678, Cleaning up element implementations. Removing nsXULElement::InsertChildAt and nsXULElement::AppendChildTo. r=bz, sr=jst 2005-09-13 20:01:45 +00:00
Olli.Pettay%helsinki.fi
40bb760a55 Bug 202764, nsXULDocument::HandleDOMEvent can go away. r=jst, sr=bz 2005-09-13 16:18:23 +00:00
bzbarsky%mit.edu
818aafcc15 Improve the CSSLoader API: make it clear which methods return results
sync and which return async, move the handling of alternates more completely
into the CSSLoader, make it possible for observers to tell whether the load
actually succeeded.  Bug 293825, r+sr=peterv
2005-09-12 18:41:15 +00:00
peterv%propagandism.org
6a14cffd01 Trying to fix for balsa orange (from the fix for bug 251025). Patch by bz, r/sr=peterv. 2005-09-12 09:18:48 +00:00
peterv%propagandism.org
8bcf86354a Follow-up to fix for bug 251025, make Clone/CloneContent const again. 2005-09-12 07:34:25 +00:00
bzbarsky%mit.edu
84999b62be More use of EmptyString(). Bug 232691, patch by Vidar Braut Haarr
<vhaarr+bmo@gmail.com>, r+sr=bzbarsky
2005-09-12 01:28:51 +00:00
bzbarsky%mit.edu
fa885dfb79 Forgot file. Bug 307600 2005-09-11 19:37:04 +00:00
bzbarsky%mit.edu
81a57e27f2 Implement an AttrValueIs method on nsIContent which can be used to quickly
check whether a given attribute has a given value.  Use it in
nsContentList::NamedItem.  Bug 307600, r+sr=jst
2005-09-11 19:20:08 +00:00
peterv%propagandism.org
a1fc672126 Remove obselete include (bad merge). 2005-09-11 18:28:14 +00:00
peterv%propagandism.org
2aa12ff13b Make nsGenericDOMDataNode::Clone pure virtual, suggestion by biesi. 2005-09-11 18:24:30 +00:00
peterv%propagandism.org
dabf32c2b6 Remove duplicate function (bad merge). 2005-09-11 18:22:06 +00:00
peterv%propagandism.org
85b8cff6bc Fix for bug 251025 (document.importNode does not set the right owner document.). r=jst, sr=bz. 2005-09-11 17:15:08 +00:00
peterv%propagandism.org
efa08d1916 Back out fix for bug 251025 to fix bustage. 2005-09-11 15:42:31 +00:00
peterv%propagandism.org
86ca4e41cc Fix for bug 251025 (document.importNode does not set the right owner document.). r=jst, sr=bz. 2005-09-11 15:05:31 +00:00
peterv%propagandism.org
28e03d4aa6 Fix for bug 106796 (Improve GetNameSpaceID() performance). r/sr=jst. 2005-09-11 11:24:16 +00:00
peterv%propagandism.org
1fd27aa751 Fix for bug 306363 (Clean up nsContentUtils service getters). r/sr=bz. 2005-09-11 10:08:43 +00:00
mats.palmgren%bredband.net
1d37c1a0e6 Make nsHTMLFormatConverter deal with an empty source string. Don't add an URL dataflavor if the source URI is empty. b=303818 r+sr=bzbarsky 2005-09-10 11:39:32 +00:00
mrbkap%gmail.com
973abde5a4 bug 272702: Remove skipped content. This simplifies the code handling <script>, <style> and related tags and makes the nsIHTMLContentSink interface just that much easier to implement. This also allows <object> tags to appear in the head with children. r=sicking sr=jst 2005-09-09 18:03:47 +00:00
brendan%mozilla.org
b03abf03d2 Add JS1.6 support, moving E4X and Array extras there (306664, r/sr=mrbkap/shaver). 2005-09-06 17:43:36 +00:00
tor%cs.brown.edu
b69ab62c9b Bug 294519 - should behave the same when SVG not built, SVG pref
disabled, or no SVG renderer present.  r=dbaron, a=asa
2005-09-05 20:41:57 +00:00
peterv%propagandism.org
c9af0fc826 Fix for bug 298064 (nsContentUtils::GetDocumentFromCaller() is broken.). r=jst, sr=brendan. 2005-09-02 18:02:51 +00:00
jwatt%jwatt.org
59e42c6cd2 Fixing bug 302103. Implement SVG events. r=tor@acm.org, sr=jst@mozilla.org 2005-08-25 21:31:09 +00:00
peterv%propagandism.org
1f3470eedf Fix leak from fix for bug 305689 (Cache event queue service in nsContentUtils). r/sr=bz. 2005-08-25 17:51:44 +00:00
bzbarsky%mit.edu
df8c8e7910 Fix crash after restoring default toolbar set by making sure that
RemoveSubtreeFromDocument unhooks broadcasters just like AddSubtreeToDocument
hooked them up.  Bug 295404, patch by dbaron, r=bzbarsky, sr=bryner
2005-08-25 04:11:35 +00:00
bzbarsky%mit.edu
643e0e6e6f Cache the event queue service in nsContentUtils instead of having every single
presshell caching it.  Bug 305689, r+sr=peterv
2005-08-24 21:01:51 +00:00
bzbarsky%mit.edu
3656444b70 Make sure that a reflow flush on the document makes the sink start layout if
needed.  Bug 253951, r=mrbkap, sr=jst
2005-08-24 20:56:58 +00:00
aaronleventhal%moonset.net
0e50b0115b Bug 303620. Focus system goes haywire when focus changed in onblur or onchange handler. r=mats, sr=bryner 2005-08-24 19:06:07 +00:00
mrbkap%gmail.com
5187e69f5f bug 303399: Bidi: Problems with caret positioning on blank lines. Patch by Uri Bernstein <uriber@gmail.com>. r=mrbkap sr=roc 2005-08-24 17:44:28 +00:00
bzbarsky%mit.edu
4636fdf1ab Make sure to not mess with our array of ptrs to release if it hasn't been
allocated.  Bug 305624, r+sr=jst
2005-08-24 00:07:49 +00:00
bzbarsky%mit.edu
f41b587cae Go back to having UnblockOnload firing onload sync in cases where it's safe.
Attempting to address Tp fallout from bug 294114, r+sr=jst
2005-08-23 23:24:30 +00:00
roc+%cs.cmu.edu
4ac70976f2 Bug 304434. Update link :visited status for URIs downloaded to helper apps. r+sr=dbaron 2005-08-23 22:26:10 +00:00
bzbarsky%mit.edu
1c1bf485db Init the content policy service ptr lazily so we don't reenter layout module
init.  Bug 305310, r+sr=peterv
2005-08-23 21:00:00 +00:00
mrbkap%gmail.com
5487140ef0 bug 302775: Wallpaper over a crash when a DOM range is inside an attribute. r+sr=brendan 2005-08-23 20:59:54 +00:00
bzbarsky%mit.edu
7ede6d7070 Make sure to remove our mOnloadBlocker from the loadgroup when we're removed
from the window.  Bug 305639, r+sr=dbaron
2005-08-23 20:51:22 +00:00
bzbarsky%mit.edu
13982bef30 Back out last change for bug 294114, since it didn't help and may have hurt Tdhml 2005-08-23 18:54:35 +00:00
bzbarsky%mit.edu
80788ec7d0 Another attempt to get back Tp perf. Bug 294114 again, r+sr=jst 2005-08-23 17:11:45 +00:00
bzbarsky%mit.edu
f4010ff0fe Attempt to prevent BlockOnload/UnblockOnload thrashing during document load;
just block it when parsing starts and unblock when parsing is done.  Bug 294114
followup, r+sr=jst
2005-08-23 15:44:43 +00:00
bzbarsky%mit.edu
7c5cfe2f80 Remove nsDummyLayoutRequest and use the nsIDocument onload-blocking API
instead.  Bug 294114, r=dbaron, sr=jst
2005-08-23 01:29:02 +00:00
bzbarsky%mit.edu
0d6a610963 Make nsIPresShell::GetPrimaryFrameFor return nsIFrame* instead of using an out
param.  Bug 303779, patch by Bastiaan Jacques <b.jacques@planet.nl>, r+sr=bzbarsky
2005-08-22 22:24:29 +00:00
bzbarsky%mit.edu
ab8e3e47e9 Remove bogus assert. Bug 305271, r+sr=peterv 2005-08-22 15:48:01 +00:00
bzbarsky%mit.edu
a522e7083c Restore some frame recursion protection that got lost. Bug 303163, r+sr=jst 2005-08-22 15:44:49 +00:00
roc+%cs.cmu.edu
142211a0cb Bug 300313. DeCOMtaminate linebreaker/wordbreaker, and access them directly as services rather than through a factory. r+sr=roc, patch by Joshua Welderson (thanks Joshua\!) 2005-08-22 03:00:06 +00:00
timeless%mozdev.org
c5c30836b6 Bug 305041 shutdown crash [@ nsAttrValue::ToString] nsAttrValue::sEnumTableArray is null
r=bz sr=bz
2005-08-19 23:40:42 +00:00
bzbarsky%mit.edu
f4c380c572 Allow passing a cached nsIContentPolicy service pointer to
NS_CheckContent*Policy if the caller has one.  Bug 304845, r=biesi, sr=jst
2005-08-19 15:00:01 +00:00
bzbarsky%mit.edu
9df2704ed9 Make sure that non-image inputs don't claim to have a useful image via
nsIImageLoadingContent.  Bug 301635, r=biesi, sr=jst
2005-08-19 14:55:07 +00:00
mats.palmgren%bredband.net
1916fadcc4 Avoid triggering changes to the link map while enumerating it. b=304747 r+sr=roc 2005-08-18 09:54:45 +00:00
jst%mozilla.jstenback.com
70b21a2b5c Fixing bug 269125. Make image.onerror fire for non-existent files. Patch by trev@gtchat.de, r=jst@mozilla.org, sr=bzbarsky@mit.edu 2005-08-17 23:01:09 +00:00
roc+%cs.cmu.edu
d86624b600 Bug 304759. Avoid link map maintenance while tearing down document. r+sr=bzbarsky 2005-08-17 01:27:10 +00:00
bzbarsky%mit.edu
38f78e3899 Make content lists smarter about match functions that don't actually depend on
attributes.  Bug 299703, r+sr=jst
2005-08-16 01:43:53 +00:00
peterv%propagandism.org
634525a4d1 Fix for bug 303522 (cvs diff content/base/src/nsDocument.cpp! Object's nsIClassInfo lies about it's interfacescvs diff content/base/src/nsDocument.cpp! classname: HTMLDocument unimplemented interface name: nsIDOMXPathEvaluator). r/sr=jst. 2005-08-15 13:18:59 +00:00
bzbarsky%mit.edu
8145e9fc00 Don't leak radio visitors through shutdown. Bug 302706, r+sr=jst 2005-08-15 02:42:59 +00:00
joshmoz%gmail.com
7fcdb1e95d get rid of XP_MAC macros from mozilla/content. no bug. r+sr=dbaron 2005-08-13 00:20:46 +00:00
jst%mozilla.jstenback.com
e23ea875f3 Followup changes to bzabarsky's review for bug 296639. Reviews pending, a=drivers@mozilla.org 2005-08-12 04:11:00 +00:00
roc+%cs.cmu.edu
c3ea09b7b0 Bug 78510. Maintain a per-document hashmap from URI-spec-hash to set of pointers to content elements that are links to those URIs whose state has been queried by the style system. Use this map to efficiently mark visited any links to URIs which get visited. r+sr=dbaron, with input from bryner and bzbarsky, a=jesup with support from dbaron. May impact Tp and other metrics, be careful out there. 2005-08-10 20:21:44 +00:00
allan%beaufour.dk
88eac285e7 Dispatch DOMContentLoaded on XUL Documents. Bug 302914, r+sr=jst, a=benjamin, patch by smaug@welho.com 2005-08-02 12:42:24 +00:00
jst%mozilla.jstenback.com
8c2bc6fcb8 Landing the split window work, bug 296639. This change doesn't have full reviews yet, bzbarsky@mit.edu and shaver@mozilla.org have done partial reviews, but there's still more to look at. Given the current time constraint this is landed with reviews and followup changes that result to come after the initial checkin. a=drivers 2005-07-30 20:57:07 +00:00
bzbarsky%mit.edu
f87303c155 Make reentering nsRange::DeleteContents safe, and make RemoveChildAt deal with
the mutation event removing the child.  Bug 293388, r=sicking, sr=peterv,
a=bsmedberg
2005-07-26 15:45:49 +00:00
masayuki%d-toybox.com
2aa85fe265 Bug 275960 document.lastModified cannot handle non-ascii characters when the page's HTTP header doesn't have Last-Modified r=jshin, sr=bzbarsky, a=benjamin 2005-07-26 15:40:14 +00:00
bryner%brianryner.com
83216585ac Change PageShow/PageHide events to be lowercase and hook them up so that onpageshow= works on the body tag. Bug 297887, patch by brettw@gmail.com, r=me, a=bsmedberg. 2005-07-25 22:09:39 +00:00
aaronleventhal%moonset.net
f39377c63d Fixing bustage 2005-07-20 20:08:18 +00:00
aaronleventhal%moonset.net
a889275dc8 Fixing bustage. Forgot to check in this file 2005-07-20 19:50:40 +00:00
aaronleventhal%moonset.net
f3ae3ea672 Bug 301436. Start using official DHTML a11y namespaces. r+sr=jst, a=asa 2005-07-20 19:34:55 +00:00
bzbarsky%mit.edu
ae5c6e2f82 Convert InsertData calls into AppendData calls (which require less
reflow/painting to handle) when the data is inserted at the end.  Bug 300797,
r=sicking, sr=roc, a=bsmedberg
2005-07-19 20:52:12 +00:00
bzbarsky%mit.edu
b85cfbfdc5 Don't flush our parent if we're not safe to flush. Bug 281922, r+sr=jst, a=asa 2005-07-14 16:13:09 +00:00
bzbarsky%mit.edu
75933a51dc Make sure to notify XPConnect if an XBL constructor or destructor throws an
exception so they get reported in a timely manner.  Bug 299741, r+sr=jst, a=chofmann
2005-07-06 15:46:12 +00:00
jst%mozilla.jstenback.com
f3ed62af01 Fixing bug 296704. Make re-dispatching of events work as expected. r=dveditz@cruzio.com, sr=bryner@brianryner.com, a=dveditz@cruzio.com 2005-06-22 01:53:58 +00:00
mrbkap%gmail.com
96e94dc74c bug 296284: <blockquote type=cite> can cause the plaintext serializer to delete extra newlines before inlines after blocks. r=peterv sr=jst a=asa 2005-06-16 18:20:59 +00:00
peterv%propagandism.org
ea82f1a8a5 Fix for bug 286300 (Clean up HTML tags enum and related code). r=mrbkap, sr=bz, a=asa. 2005-06-16 13:10:58 +00:00
bryner%brianryner.com
e4a343f08f Fix assorted issues with fastback, including adding progress listener notifications and introducing the PageHide and PageShow events. See bug 292971 for all of the details. r=darin, sr=bzbarsky, a=shaver. 2005-06-15 23:52:46 +00:00
brendan%mozilla.org
f1957f14c4 Support text/ecmascript and other types specified in http://www.ietf.org/internet-drafts/draft-hoehrmann-script-types-03.txt (r=sicking, sr=jst, a=me). 2005-06-14 16:08:05 +00:00
cbiesinger%web.de
55fdadbd11 bug 241739 reuse HTML/SVG's <script> loading code for XUL <script>, thus
correctly handling non-ASCII characters
r+sr=bz a=asa
2005-06-12 12:32:05 +00:00
cvshook%sicking.cc
b8ff8c18c7 Bug 296450: Make the hashtable holding attribute nodes work properly on all platforms.
r=beaufour sr=peterv a=caillon
2005-06-09 20:17:40 +00:00
neil%parkwaycc.co.uk
76b90ec7ce Fix regression from misread bug 285830 comment b=296657 r=sicking sr=jst a=asa 2005-06-08 23:02:29 +00:00
mrbkap%gmail.com
f804bef6c7 bug 271184: The output of nested document.write()s can get reversed (where later document.write()s are seen before previous document.write()s). This makes nsHTMLDocument use good parser keys. r=sicking sr=jst a=asa 2005-06-07 19:21:05 +00:00
allan%beaufour.dk
74e5a21386 Implement Get/SetProperty for nsIAttribute. Bug 285597, r+sr=peterv,a=mkaply 2005-06-06 08:51:40 +00:00
allan%beaufour.dk
e685e5969a Fix crash in nsDOMAttributeMap, regression from bug 235512. Bug 296490, r=Pike,sr=peterv,a=roc 2005-06-03 11:41:46 +00:00
bzbarsky%mit.edu
6cab785436 Make the title change events we fire trusted. Bug 295210, r+sr=jst, a=dveditz 2005-06-03 02:07:44 +00:00
bzbarsky%mit.edu
4b8823720e Add an nsIContent api for getting the intrinsic state of the content; this can
be used to implement more pseudo-classes (eg CSS3 UI ones for XForms).  Bug
296309, r+sr=dbaron, a=chofmann
2005-06-03 02:02:45 +00:00
jst%mozilla.jstenback.com
4e48d2a634 Fixing bug 292464. Use the documents principals to check if a document is a chrome document or not. r=smaug@welho.com, sr=peterv@propagandism.org, a=shaver@mozilla.org 2005-06-02 23:36:08 +00:00
mrbkap%gmail.com
9c7185974e bug 208869: Setting innerHTML with textarea can isnert an extra newline. This patch makes textarea be treated as a normal container outside CNavDTD (which takes over its first-newline removal duties). r=sicking sr=bzbarksy a=shaver 2005-06-01 21:23:23 +00:00
mrbkap%gmail.com
7e752b0ccd bug 144998: Empty lines under quotes are doubled. Patch by Shotaro Kamio <skamio@netscape.net>, Koike Kazuhiko <kazhik@mozilla.gr.jp>, Wolfgang Rosenauer <mozilla@rfosenauer.org>, and me. r=akkana sr=jst a=shaver 2005-06-01 19:31:47 +00:00
allan%beaufour.dk
e4faf6a06f fixing bustage, bug 235512 2005-06-01 14:50:34 +00:00
neil%parkwaycc.co.uk
5bf10977f4 Bug 285830 textContent ignores whitespace r=sicking sr=jst a=shaver 2005-06-01 13:59:38 +00:00
allan%beaufour.dk
f9510dc2c1 Fix up nsDOMAttributeMap so it caches the nsDOMAttributes that it creates. Bug 235512, r=sicking, sr=peterv, a=shaver 2005-06-01 13:46:20 +00:00
bzbarsky%mit.edu
89f6d79b74 Push the mChannel member for documents up to nsDocument and expose it on
nsIDocument.  Bug 292971 preliminaries, r+sr=jst, a=chofmann
2005-06-01 01:15:23 +00:00
bzbarsky%mit.edu
006aed48be Back out the patch for bug 211128 to fix bug 293639. r=sicking, sr=peterv, a=asa 2005-05-19 16:12:13 +00:00
bryner%brianryner.com
87f0855b0e Fix save/restore of form control contents when reloading (bug 294258). r=sicking, sr=bzbarsky. 2005-05-18 03:52:33 +00:00
bzbarsky%mit.edu
5a1aa99118 Add a document api to prevent onload from firing too early. Bug 293818,
r=darin, sr=jst, a=asa
2005-05-13 19:54:28 +00:00
bzbarsky%mit.edu
3bfa5db241 Fix bug 293588 -- make sure to not store form data in the wrong session history
entry.  r+sr=bryner, a=brendan
2005-05-12 20:53:33 +00:00
bryner%brianryner.com
40d7ab427b Fix form state save/restore so that it uses the correct history entry (bug 293135). r+sr=bzbarsky, a=shaver. 2005-05-10 02:06:29 +00:00
bryner%brianryner.com
aed69207f0 Add support for caching content viewers in session history to speed up back/forward (bug 274784). This initial landing has the feature disabled by default; set browser.sessionhistory.max_viewers to the maximum number of pages to cache to enable the feature. r=bzbarsky, sr/a=brendan. 2005-05-04 20:22:32 +00:00
bzbarsky%mit.edu
2775eedb3d Make the base URI for anon nodes in an XBL binding be the URI of the XBL
document.  Bug 211128, r+sr=jst, a=chofmann
2005-05-03 16:01:22 +00:00
Olli.Pettay%helsinki.fi
ed4e61c491 Bug 292464 - event listeners added using addEventListener() listen only trusted events. r=jst, sr=peterv, a=chofmann 2005-05-02 17:54:41 +00:00
cbiesinger%web.de
1dd130ce72 292357 nsFrameLoader should use the content's base URI, not the document's
r+sr=bz a=asa
2005-05-01 13:06:48 +00:00
jst%mozilla.jstenback.com
50de4a3e1d Fixing bug 289940. Make chrome event handlers only receive trusted events by default. r=jonas@sicking.cc, sr=peterv@propagandism.org, a=chofmann@mozilla.org 2005-04-28 23:48:28 +00:00
bzbarsky%mit.edu
90feadd1d3 Fix crashes when document.load is called on an already-parsing XML document.
Bug 289292, r=sicking, sr=jst, a=chofmann
2005-04-28 16:57:24 +00:00
tor%cs.brown.edu
7a20d221a4 Bug 291499 - prevent infinite indent in layout-debug. r+sr+a=dbaron 2005-04-22 19:46:35 +00:00
bzbarsky%mit.edu
8df9c25d22 Create CSSLoaders when the document object is created and deCOMify the getter.
Bug 290068, r=sicking, sr=peterv, a=brendan
2005-04-19 01:27:11 +00:00
bzbarsky%mit.edu
e84856a159 Remove unused aDeep args from AppendChildTo and InsertChildAt. Bug 289316,
r=sicking, sr=peterv, a=brendan
2005-04-18 22:58:35 +00:00
vladimir%pobox.com
057ce06bb3 b=288714, html canvas implementation, r=various,a=brendan 2005-04-18 06:33:23 +00:00
mrbkap%gmail.com
155f0adc02 bug 289970: Fix a leak when using the sanitizing serializer by breaking the sink/parser cycle in DidBuildModel. r=BenB sr=bzbarsky a=asa 2005-04-15 04:05:18 +00:00
bzbarsky%mit.edu
192b6aaa49 Move the BindToTree call for the document element into SetRootContent. Bug
289209, r=sicking, sr=jst, a=asa
2005-04-15 01:30:14 +00:00
bzbarsky%mit.edu
a1a598d228 Fix build bustage 2005-04-12 15:50:25 +00:00
bzbarsky%mit.edu
a43b2ff89e Make sure we've tried to create our CSSLoader before we try to dereference it.
Bug 289765, r+sr=jst, a=asa
2005-04-12 15:29:20 +00:00
bzbarsky%mit.edu
30a13d4eae If our image was previously blocked and we're asked to maybe reload it, don't
check whether the URI changed; just try loading (since this time we may not be
blocked).  Bug 251354 followup, r=sicking, sr=shaver, a=chofmann
2005-04-11 16:37:27 +00:00
bzbarsky%mit.edu
b9663c2904 Disable loading of images in data documents on the document level, not on the
node level.  Bug 251354, r=sicking, sr=peterv, a=asa
2005-04-11 00:29:36 +00:00
smontagu%smontagu.org
ea296de60a Trigger Bidi processing also for non-displayable control characters (RLM, RLE, RLO, etc.) Bug 177148, r+sr=roc, a=asa 2005-04-10 06:40:10 +00:00
bzbarsky%mit.edu
2b12f597a1 Only do a new image load if we're forced to or if the URI really changed. Bug
285428, r=biesi, sr=jst (note: sr was given in bug 286000 as part of the patch
there).
2005-04-06 02:55:02 +00:00
bzbarsky%mit.edu
48ba5ce32b Eliminate nsIContent::SetDocument/SetParent/SetBindingParent in favor of
BindToTree and UnbindFromTree methods.  Bug 286000, r=sicking, sr=jst
2005-04-05 23:54:35 +00:00
bzbarsky%mit.edu
46d70f86fc Move processing of various headers from the content sink into the document so
it'll happen for all of our document types.  Bug 288921, r+sr=jst
2005-04-05 03:28:54 +00:00
aaronleventhal%moonset.net
4f9f6bd7c6 Bug 287730. Fix n of m positional info for HTML radio buttons. r=timeless, sr=bz 2005-04-04 13:43:43 +00:00
smontagu%smontagu.org
084bae869c Fix for hang. Bug 288831, r+sr=dbaron 2005-04-03 18:18:49 +00:00
cst%andrew.cmu.edu
7f22407c14 Bug 287695 fix hardcoded app name in default mailto: form subject
r=biesi sr=bz
2005-04-03 17:16:28 +00:00
smontagu%smontagu.org
1f76d3821d Update transliterate.properties to Unicode 4.1.0 database. Bug 288137, r=jshin, sr=rbs 2005-04-02 18:44:01 +00:00
dbaron%dbaron.org
4b1913ff77 Consolidate and deCOMtaminate parsing and storage of media lists. b=156716 r+sr=bzbarsky 2005-03-30 00:36:57 +00:00
dbaron%dbaron.org
2ba6c6183f Change how we preserve XPConnect wrappers on which JS properties have been set or that are otherwise needed by XBL: instead of rooting those wrappers until the document stops being displayed, mark them from GC hooks only if the nodes are reachable (via DOM node traversal, optimizing based on symmetry of reachability between DOM nodes) from the document or from nodes already marked. b=283129 r=jst sr=brendan 2005-03-29 23:26:56 +00:00
bzbarsky%mit.edu
2fb33db26c Show alt text for images blocked by security checks. Bug 285981, r=mvl, sr=jst 2005-03-26 02:26:58 +00:00
tor%cs.brown.edu
89845b7ff0 Bug 287389 - SVG should not munge ua.css at build time. rev iid. 2005-03-25 23:30:50 +00:00
tor%cs.brown.edu
4ed8801383 Bug 287389: SVG should not munge ua.css at build time. r+sr=bzbarsky 2005-03-25 14:50:05 +00:00
peterv%propagandism.org
12c2f4c630 Part of fix for bug 285166 (createElement crashes [@ NS_NewHTMLElement] [@ nsCharTraits<unsigned short>::length]). r=sicking, sr=bz. 2005-03-25 14:07:44 +00:00
mrbkap%gmail.com
85d6f098e9 bug 280044: Pass a title node to the content sinks so that attributes on title don't get lost. r=sicking sr=peterv 2005-03-23 07:09:24 +00:00
bzbarsky%mit.edu
debd246cd3 Followup to bug 225941 -- I forgot some review comments. r=dbaron, sr=jst 2005-03-23 03:21:04 +00:00
bzbarsky%mit.edu
4be318894c Add a method to ask a content node whether it may have a frame in some
presentation.  Bug 225941, r=dbaron, sr=jst
2005-03-23 03:07:10 +00:00
jst%mozilla.jstenback.com
7c6aa20e06 Fixing mistake in my earlier cleanup patch. 2005-03-17 19:43:34 +00:00
jst%mozilla.jstenback.com
b56738ea6b Whitespace and formatting cleanup to get some sort of consistency into this code. 2005-03-17 18:00:33 +00:00
jst%mozilla.jstenback.com
2f48154ce1 Fixing the remaining part of bug 285438 for Firefox. Do the appropriate security checks when drag n' dropping into Firefox. r=ben@bengoodger.com, sr=dveditz@cruzio.com 2005-03-17 17:40:55 +00:00
neil%parkwaycc.co.uk
6b8f8074bd Add HTML to the list of support flavours for Copy Image and provide an embedding interface to choose the flavours to copy b=135300 r=bz sr=smfr 2005-03-11 11:12:15 +00:00
cvshook%sicking.cc
a0db79bbbb Bug 240884: Use a static cache to take the edge off the slowness of IndexOf calls for elements with very many children.
r/sr=bz
2005-03-11 09:40:03 +00:00
bzbarsky%mit.edu
255e0084f1 Use Equals() when checking for recursion instead of hand-rolling URI
comparisons.  Cut off recursion at first repeated URI, not third, since that's
what IE seems to do.  Bug 228829, r=mkaply, sr=jst
2005-03-09 21:59:18 +00:00
bzbarsky%mit.edu
a26c4c14f1 Move all frame recursion detection into a method that just does that. Don't
throw errors from EnsureDocShell() on recursion detection; just throw them from
LoadFrame().  Bug 285188, r+sr=jst
2005-03-08 00:02:55 +00:00
cbiesinger%web.de
e8d4c35266 181938 allow any protocol to support redirection, using a new
nsIChannelEventSink interface.
r=darin sr=bz
2005-03-07 19:46:06 +00:00
jst%mozilla.jstenback.com
a57ec3f6dc Fixing bug 283531. Fix confusingly named argument to nsIEventStateManager::DispatchNewEvent() that has caused confusing event handling code (also fixed) to creap into the tree. r=bzbarsky@mit.edu, sr=bryner@brianryner.com 2005-03-04 02:01:54 +00:00
bzbarsky%mit.edu
e3aebd9c61 Use the content policy REJECT reason as a basis for our "whether to show alt
text" decision instead of reading prefs ourselves.  Bug 202906, r=mvl, sr=jst
2005-03-02 04:05:12 +00:00
caillon%redhat.com
77b60af2ac 250245 - spec changed, its now Document.inputEncoding
r+sr=jst
2005-02-28 22:35:02 +00:00
bryner%brianryner.com
a29b6c69fa Remove nsIXBLBinding (bug 194834). r+sr=bzbarsky. 2005-02-25 22:07:01 +00:00
doronr%us.ibm.com
10f4ae6d11 Bug 283323 - use owner document in nsGenericElement to get and set properties. Patch by smaug, r/sr=bryner 2005-02-23 20:27:25 +00:00
gandalf%firefox.pl
ea39cd5cbe bug 279768: move dom.properties, MediaDocument.properties to global; r=bsmedberg 2005-02-23 16:53:28 +00:00
bsmedberg%covad.net
473534a724 Bug 278534, try #2 - Make tooklit chrome registry use plaintext manifests instead of an RDF cache (get rid of contents.rdf!) r=darin/dveditz/ben 2005-02-22 21:49:45 +00:00