Commit Graph

436 Commits

Author SHA1 Message Date
jst@mozilla.jstenback.com
186229de7f Fixing bug 321299. Make sure XPConnect wrappers get properly reparented when moving nodes from document to document. r=mrbkap@gmail.com, sr=bzbarsky@mit.edu 2006-04-11 03:49:44 +00:00
bzbarsky@mit.edu
c2bb935150 Add some macros to make using auto-notifiers and auto-gc-roots safer. Bug
333148, r+sr=dbaron
2006-04-07 20:14:51 +00:00
roc+@cs.cmu.edu
591ffb4f1f Bug 326501. Mark tree views as being suitable for untrusted code. r+sr=bzbarsky 2006-03-26 20:57:53 +00:00
bryner@brianryner.com
6a57d0733c 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
Olli.Pettay@helsinki.fi
6ba912b316 Bug 234455, Centralize event dispatch r=jst, sr=bz 2006-03-07 17:08:51 +00:00
bzbarsky@mit.edu
7fd918b7b4 Use nsContentUtils helpers for some localizing in nsGlobalWindow. Bug 326972,
r+sr=jst
2006-02-14 02:06:48 +00:00
peterv@propagandism.org
4e8d952073 Fix for bug 315901 (Move RangeList and EventListenerManager hashes to nsContentUtils). r/sr=jst. 2006-02-07 14:34:10 +00:00
bzbarsky@mit.edu
995f519031 Push up GetPrincipal to nsINode (as GetNodePrincipal). This way all nsINodes
(content, documents, attr nodes) can return their principal as needed.
Eliminate lazy allocation of principals in nsDocument.  Bug 324600, r=sicking, sr=jst
2006-02-02 20:02:34 +00:00
roc+@cs.cmu.edu
491340cd46 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
bzbarsky@mit.edu
d919823d92 Fix wrapper reparenting to work with splitwindow... Bug 318678, r+sr=jst 2005-12-03 06:27:45 +00:00
bzbarsky@mit.edu
f715a7dac9 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
mrbkap@gmail.com
1485310436 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
626806bce5 Optimize MatchElementId some. Bug 313082, r=sicking, sr=peterv 2005-10-21 15:17:15 +00:00
roc+@cs.cmu.edu
084b6fa3bd 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
peterv@propagandism.org
51b0cd6709 Fix for bug 308328 (crash in [@ nsDocument::GetPrincipal] when closing browser). r/sr=bz. 2005-10-14 09:07:29 +00:00
Olli.Pettay@helsinki.fi
8616d89cc1 Bug 306974, Remove some duplicate event dispatching code r=sicking, sr=peterv 2005-10-10 18:38:57 +00:00
bzbarsky@mit.edu
44bde732b6 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
peterv@propagandism.org
97ce448ce1 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
bzbarsky@mit.edu
0a6c5bf477 Make sure to root the function object we compile in
nsXBLPrototypeHandler::ExecuteHandler.  r=jst, sr=brendan
2005-09-24 02:33:33 +00:00
peterv@propagandism.org
9d1684be63 Fix for bug 306363 (Clean up nsContentUtils service getters). r/sr=bz. 2005-09-11 10:08:43 +00:00
peterv@propagandism.org
9a7f987621 Fix for bug 298064 (nsContentUtils::GetDocumentFromCaller() is broken.). r=jst, sr=brendan. 2005-09-02 18:02:51 +00:00
bzbarsky@mit.edu
d26b7b75df 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
824e630e2c 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
roc+@cs.cmu.edu
e6ec1e3265 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
bzbarsky@mit.edu
5ca0e3609e 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
aceafafbb2 Don't leak radio visitors through shutdown. Bug 302706, r+sr=jst 2005-08-15 02:42:59 +00:00
bzbarsky@mit.edu
a16c6041f4 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
0e9b88f3f9 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
bryner@brianryner.com
6061f4af87 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
cst@andrew.cmu.edu
c2e0a6f478 Bug 287695 fix hardcoded app name in default mailto: form subject
r=biesi sr=bz
2005-04-03 17:16:28 +00:00
bzbarsky@mit.edu
1bd794ea07 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
jst@mozilla.jstenback.com
5b50d70474 Fixing bug 280947. Fix regression from bug 279945 that broke dragging images onto the client file system if the image URL didn't have a valid extension. r=bzbarsky@mit.edu, sr=dveditz@cruzio.com 2005-02-07 22:20:14 +00:00
jst@mozilla.jstenback.com
95d279cf0a Fixing bug 279945. Prevent drag n' drop of images whose extensions don't map to image mimetypes. r=caillon@gmail.com, sr=dveditz@cruzio.com 2005-02-03 17:23:35 +00:00
neil@parkwaycc.co.uk
0ce0d4a0d3 Bug 276002 Change nsContenUtils::Get/FormatLocalizedString to use nsXPIDLString to save on nsAutoString copies r=dbaron sr=bryner 2005-01-18 23:46:59 +00:00
bzbarsky@mit.edu
9e821bf62f Include the part number inside a multipart document in the state key, so that
state restoration works correctly on each part.  Bug 47350, patch by Hideo
Saito <saito@densan.co.jp>, r=bzbarsky, sr=js
2005-01-15 17:47:23 +00:00
neil@parkwaycc.co.uk
3364aa6d33 Bug 51444 Make xbl:inherits work with namespaced attributes p=smaug@welho.com r+sr=bz 2005-01-01 18:02:03 +00:00
dbaron@dbaron.org
1496ebd8f5 Remove nsFormControlHelper::GetLocalizedString, improve string bundle methods in nsContentUtils, and convert callers. b=273829 r+sr=bryner 2004-12-17 20:40:48 +00:00
peterv@propagandism.org
7df498d5f0 Fix for bug 192139 (Integrate latest Expat). r=bz, sr=jst. 2004-12-15 15:37:23 +00:00
bzbarsky@mit.edu
1cba645ccf Use nsContentUtils for error-reporting for <area> parsing. Bug 269697,
r+sr=jst
2004-11-23 17:45:37 +00:00
alex@croczilla.com
2d26d06b7c Landing of the XTF branch, bug#253225. XTF is the eXtensible Tag
Framework; see mozilla/content/xtf/readme.txt. r=bryner, sr=jst. Code
is not enabled by default (requires --enable-xtf configure option).
2004-10-07 20:59:53 +00:00
dbaron@dbaron.org
9b2ed73372 Add function to nsContentUtils to report a localized error message to the error console, and use it from the three places that were doing pretty much the same thing. b=187007 r+sr=bzbarsky 2004-09-14 17:26:35 +00:00
jst@mozilla.jstenback.com
114feff6f8 Fixing bug 248065. Make sure errors in nested scripts don't disrupt the containing script. r+sr=bzbarsky@mit.edu 2004-09-01 16:50:12 +00:00
bzbarsky@mit.edu
8a7b630834 nsImageBoxFrame and nsTreeBodyFrame should use nsContentUtils::LoadImage (and
CanLoadImage).  Bug 253627, r+sr=dbaron
2004-08-04 19:48:55 +00:00
bzbarsky@mit.edu
bbc943aad2 Remove some knowledge about drag-drop innards from nsFrame.cpp by refactoring
shared code into utility methods in nsContentUtils.  Use the new methods to fix up
nsContentAreaDragAndDrop to make it possible to drag image <objects> and image
inputs.  Bug 251775 and bug 244859, r=biesi, sr=jst
2004-07-30 06:04:57 +00:00
tor@cs.brown.edu
1cca0022d3 Bug 242234 - svg event attributes.
Original patch by sicking, r=bryner, sr=jst
2004-07-22 16:38:05 +00:00
dbaron@dbaron.org
7bf96a5781 Send the stylesheet as the HTTP Referer header for images loaded from CSS stylesheets. b=249168 r=bzbarsky sr=darin 2004-07-14 21:56:23 +00:00
peterv@propagandism.org
bd238fac2c Fix for bug 236408 (deCOMtaminate nsINodeInfoManager). r=caillon, sr=jst. 2004-06-25 12:26:02 +00:00
mvl@exedo.nl
cb1b5e2f60 Make content policy api (nsIContentPolicy) not suck.
bug 191839. Original patch and hard work by Tim <riceman+bmo@mail.rit.edu>, r=bzbarsky (on backend stuff), r=neil (on the tabbrowser stuff), sr=bzbarsky
2004-05-13 18:34:18 +00:00
jst@mozilla.jstenback.com
91aa65c204 Fixing bug 240543. Hiding some nsIPref* API bloatyness in nsContentUtils. r=caillon@aillon.org, sr=peterv@propagandism.org 2004-04-29 23:34:19 +00:00
gerv@gerv.net
cf0b0c064a Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-17 21:52:36 +00:00