bzbarsky%mit.edu
54df69c399
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
git-svn-id: svn://10.0.0.236/trunk@170075 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-02 04:05:12 +00:00
gandalf%firefox.pl
5acf9b32d1
bug 279768: move dom.properties, MediaDocument.properties to global; r=bsmedberg
...
git-svn-id: svn://10.0.0.236/trunk@169647 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-23 16:53:28 +00:00
gandalf%firefox.pl
a4b9b7e33d
bug 283046: File input button does not properly render. A regression after checkin from bug 279768 ; r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@169599 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-22 17:30:08 +00:00
jst%mozilla.jstenback.com
422681bb2a
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
...
git-svn-id: svn://10.0.0.236/trunk@168936 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-07 22:20:14 +00:00
jst%mozilla.jstenback.com
eddb05cf73
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
...
git-svn-id: svn://10.0.0.236/trunk@168753 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-03 17:23:35 +00:00
bryner%brianryner.com
5d17ec2995
Remove unneeded nsIContentList interface (bug 280746). r+sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@168732 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-02 23:16:02 +00:00
bzbarsky%mit.edu
a8e56fa9fe
Make content state restoration flush out the content sink (but not content
...
notifications!) before we try to generate the state key. Remove bogus assert.
Bug 139568, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@168284 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-25 04:22:09 +00:00
neil%parkwaycc.co.uk
e717d9b1f9
Bug 276002 Change nsContenUtils::Get/FormatLocalizedString to use nsXPIDLString to save on nsAutoString copies r=dbaron sr=bryner
...
git-svn-id: svn://10.0.0.236/trunk@167959 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-18 23:46:59 +00:00
bzbarsky%mit.edu
b9910f7dd3
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
git-svn-id: svn://10.0.0.236/trunk@167788 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-15 17:47:23 +00:00
neil%parkwaycc.co.uk
e0bc5a8a1e
Bug 51444 Make xbl:inherits work with namespaced attributes p=smaug@welho.com r+sr=bz
...
git-svn-id: svn://10.0.0.236/trunk@167167 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-01 18:02:03 +00:00
dbaron%dbaron.org
13decbac15
Remove nsFormControlHelper::GetLocalizedString, improve string bundle methods in nsContentUtils, and convert callers. b=273829 r+sr=bryner
...
git-svn-id: svn://10.0.0.236/trunk@166823 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-17 20:40:48 +00:00
peterv%propagandism.org
04f06673f3
Fix for bug 192139 (Integrate latest Expat). r=bz, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@166747 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-15 15:37:23 +00:00
bryner%brianryner.com
e1daca3ce3
Reduce do_GetService code bloat further by adding specialized assignment to nsCOMPtr and providing a version with no error pointer. Also make CallGetService work the same way as CallGetComponent does, as far as using frozen/non-frozen interface to service manager. Bug 264456, r=darin.
...
git-svn-id: svn://10.0.0.236/trunk@165757 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-24 22:48:45 +00:00
bzbarsky%mit.edu
91c825c2cc
Use nsContentUtils for error-reporting for <area> parsing. Bug 269697,
...
r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@165646 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-23 17:45:37 +00:00
bryner%brianryner.com
b17a54f274
Reduce string copying from nsGenericHTMLElement::GetHrefURIForAnchors (bug 267506). r+sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@164872 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-03 19:44:59 +00:00
jst%mozilla.jstenback.com
9a84339353
Re-enabling the fix for bug 69070 and optimizing some string code in caps that was for sure part of the reason for the Tp regression, and use CheckLoadURIWithPrincipal() to be more correct. r+sr=bzbarsky@mit.edu
...
git-svn-id: svn://10.0.0.236/trunk@163825 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-15 16:34:58 +00:00
jst%mozilla.jstenback.com
1a1526d1c3
Disable the security check in nsContentUtils::CanLoadImage() to see if that's what costs us 2% per yesterday.
...
git-svn-id: svn://10.0.0.236/trunk@163773 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-14 22:24:07 +00:00
jst%mozilla.jstenback.com
d56483a286
Fixing bug 69070. Don't allow loading of images from file: URIs from web content. r+sr=bzbarsky@mit.edu
...
git-svn-id: svn://10.0.0.236/trunk@163691 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-13 23:16:58 +00:00
alex%croczilla.com
913d87267d
Wrap GetXTFServiceWeakRef in #ifdef MOZ_XTF to fix non-xtf builds.
...
git-svn-id: svn://10.0.0.236/trunk@163390 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-07 21:23:52 +00:00
alex%croczilla.com
049fc5de75
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).
git-svn-id: svn://10.0.0.236/trunk@163386 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-07 20:59:53 +00:00
dbaron%dbaron.org
e8bca4edc1
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
...
git-svn-id: svn://10.0.0.236/trunk@162314 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-14 17:26:35 +00:00
jst%mozilla.jstenback.com
57e55d8a58
Fixing bug 248065. Make sure errors in nested scripts don't disrupt the containing script. r+sr=bzbarsky@mit.edu
...
git-svn-id: svn://10.0.0.236/trunk@161580 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-01 16:50:12 +00:00
bzbarsky%mit.edu
392d455d0a
nsImageBoxFrame and nsTreeBodyFrame should use nsContentUtils::LoadImage (and
...
CanLoadImage). Bug 253627, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@160368 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-04 19:48:55 +00:00
bzbarsky%mit.edu
8ea9ce4fb8
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
git-svn-id: svn://10.0.0.236/trunk@160120 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-30 06:04:57 +00:00
bzbarsky%mit.edu
50d5ce0bc2
Switch context back to being nsISupports, but make it clear that it's expected
...
to be an nsIDOMNode or nsIDOMWindow. Bug 252027, r=mvl, sr=shaver
git-svn-id: svn://10.0.0.236/trunk@159916 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-27 17:15:53 +00:00
cbiesinger%web.de
c05e6548ae
Bug 252541 remove nsString::IsSpace and nsString::IsASCII
...
r=darin sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@159830 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-25 12:12:39 +00:00
tor%cs.brown.edu
c5c142199f
Bug 242234 - svg event attributes.
...
Original patch by sicking, r=bryner, sr=jst
git-svn-id: svn://10.0.0.236/trunk@159662 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-22 16:38:05 +00:00
dbaron%dbaron.org
fe80e9ca1c
Send the stylesheet as the HTTP Referer header for images loaded from CSS stylesheets. b=249168 r=bzbarsky sr=darin
...
git-svn-id: svn://10.0.0.236/trunk@159195 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-14 21:56:23 +00:00
peterv%propagandism.org
0a98e68e54
Fix for bug 236408 (deCOMtaminate nsINodeInfoManager). r=caillon, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@158468 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-25 12:26:02 +00:00
roc+%cs.cmu.edu
0b0fa89131
Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin
...
git-svn-id: svn://10.0.0.236/trunk@157992 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-17 00:13:25 +00:00
dmose%mozilla.org
eb7f8bc6e0
Supplemental fix to 219848 to ensure that JS with UniversalBrowserRead is able to access DOM nodes that it needs to. In particular, this fix allows the XUL <editor> tag to work on remotely-fetched HTML. r+sr=jst@mozilla.jstenback.com
...
git-svn-id: svn://10.0.0.236/trunk@157258 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-01 20:19:22 +00:00
jst%mozilla.jstenback.com
c45ddb2b9e
Fixing bug 241058 the 'real' way. Eliminating nsGenericElement::Init() in favor of passing the nsINodeInfo to the element constructors. Replacing near-duplicated code with some macros for easier maintentance. r+sr=bzbarsky@mit.edu
...
git-svn-id: svn://10.0.0.236/trunk@156547 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-18 20:58:12 +00:00
mvl%exedo.nl
c0b2e4667b
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
git-svn-id: svn://10.0.0.236/trunk@156366 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-13 18:34:18 +00:00
jst%mozilla.jstenback.com
608887b98d
Fixing silly leak introduced by my fix for bug 240543.
...
git-svn-id: svn://10.0.0.236/trunk@155779 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-30 21:22:46 +00:00
jst%mozilla.jstenback.com
74089032ff
Fixing bug 240543. Hiding some nsIPref* API bloatyness in nsContentUtils. r=caillon@aillon.org, sr=peterv@propagandism.org
...
git-svn-id: svn://10.0.0.236/trunk@155712 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-29 23:34:19 +00:00
gerv%gerv.net
98831918fc
Bug 236613: change to MPL/LGPL/GPL tri-license.
...
git-svn-id: svn://10.0.0.236/trunk@155044 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-17 21:52:36 +00:00
caillon%redhat.com
a7fb620639
Remove a bogo assert, and explicitly mention when exceptions are thrown here.
...
219506, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@154893 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-14 20:12:54 +00:00
jst%mozilla.jstenback.com
11e4581e68
Fixing bug 239953. Remove duplicated code in nsContentUtils. r=jonas@sicking.cc, sr=peterv@propagandism.org.
...
git-svn-id: svn://10.0.0.236/trunk@154766 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-13 03:21:50 +00:00
darin%meer.net
b9dcb1f1b3
landing marco's patch for bug 238928 "domstubs.idl should not include nsAString.h" r=bsmedberg sr=jst a=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@154430 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-01 19:44:17 +00:00
bzbarsky%mit.edu
e7ad4f7000
Load background images from style instead of from painting. This makes us
...
start loading the background images when we resolve style on an object that
needs them instead of when we scroll down and see it for the first time. Bug
57607, r=pavlov, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@153725 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-09 03:57:51 +00:00
peterv%propagandism.org
3587776efa
Fix for bug 233907 (document.createElementNS() doesn't throw NAMESPACE_ERR when given a namespace-invalid name.). r/sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@153627 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-06 16:00:23 +00:00
peterv%propagandism.org
ef61dfe756
Fix stupid error from fix for bug 16603 (DOM doesn't throw INVALID_CHARACTER_ERR for arguments with invalid characters). r/sr=jst, a=choffman.
...
git-svn-id: svn://10.0.0.236/trunk@152719 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-12 16:40:40 +00:00
peterv%propagandism.org
3e7ac82893
Fix for bug 16603 (DOM doesn't throw INVALID_CHARACTER_ERR for arguments with invalid characters). r=sicking, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@152589 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-10 10:58:13 +00:00
jst%mozilla.jstenback.com
854468a176
Fixing bug 233307. deCOMtaminating nsIScript* and related interfaces. r+sr=bryner@brianryner.com.
...
git-svn-id: svn://10.0.0.236/trunk@152565 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-09 22:48:53 +00:00
jst%mozilla.jstenback.com
534a59157f
Checking in patch from psolanki@myrealbox.com for bug 232417. DeCOMtaminating nsIHTMLDocument. r+sr=jst@mozilla.jstenback.com
...
git-svn-id: svn://10.0.0.236/trunk@152244 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-03 23:23:10 +00:00
jst%mozilla.jstenback.com
12ed685455
Fixing bug 230840. DeCOMtaminating nsIDocumentObserver, nsIAttribute, nsIContentList, and nsIContentIterator, and doing some other cleanup. r=jonas@sicking.cc, sr=bryner@brianryner.com
...
git-svn-id: svn://10.0.0.236/trunk@151784 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-24 00:46:17 +00:00
peterv%propagandism.org
94b69cb574
Miscellaneous cleanup. r/sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@151493 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-18 10:45:26 +00:00
jst%mozilla.jstenback.com
2affc5b4f0
Fixing bug 225837. DeCOMtaminating nsIContent more, making GetTag() return a weak raw pointer, and renaming GetTag() to Tag(), and making GetRangeList() return an const nsVoidArray*, and changing GetContentID() to return the id, and renaming it to ContentID(). r=jonas@sicking.cc, sr=bryner@brianryner.com.
...
git-svn-id: svn://10.0.0.236/trunk@149527 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-19 01:20:56 +00:00
bryner%brianryner.com
c6fc0e8155
No need to keep an owning reference to an element's NodeInfo if we already have an owning reference to the element. Bug 225825, r=bz, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@149369 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-15 21:29:07 +00:00
caillon%returnzero.com
34f81b2b3a
Ensure that content can always grab a security manager and namespace manager.
...
Bug 223373; r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@148521 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-30 02:53:08 +00:00