48 Commits

Author SHA1 Message Date
mvl%exedo.nl
6dc13b246b Show favicons when blocking third party images.
bug 256172, r=dwitte, sr=shaver


git-svn-id: svn://10.0.0.236/trunk@161657 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-02 13:44:31 +00:00
dwitte%stanford.edu
c0d31e54f6 Bug 253597 Trunk crash blocking ads/images [@ nsImgManager::TestPermission]
p=mvl r=dwitte sr=darin


git-svn-id: svn://10.0.0.236/trunk@160196 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-01 22:38:10 +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
bzbarsky%mit.edu
176f587eef Fix image blocking for iframes. Bug 200433, r=mvl, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@159439 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-18 19:40:44 +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
gerv%gerv.net
d6544e324a Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155092 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 22:14:17 +00:00
bzbarsky%mit.edu
be8f61bb52 Fix image blocking for backgrounds. Bug 236919, r=jst, sr=dbaron, a=chofmann
git-svn-id: svn://10.0.0.236/trunk@153946 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-13 18:11:01 +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
dwitte%stanford.edu
7f8ca508c2 remove preference imageblocker.enabled.
b=208882, patch by mconnor@myrealbox.com, r=mvl, sr=alecf.


git-svn-id: svn://10.0.0.236/trunk@152136 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-01 09:17:51 +00:00
bsmedberg%covad.net
824286124d Bug 232201 part 2 - update consumers to use inherited nsIPrefBranchInternal interface. This should be happy for codesize. r=alecf sr=darin
git-svn-id: svn://10.0.0.236/trunk@151994 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-28 23:45:17 +00:00
jst%mozilla.jstenback.com
803e4eb910 General deCOMtamination of nsIDocument, nsIContent, and nsIFormSubmission. Eliminating nsIAttributeContent, and doing some URL->URI changes. r+sr=peterv@propagandism.org
git-svn-id: svn://10.0.0.236/trunk@151115 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-09 23:54:21 +00:00
dwitte%stanford.edu
54a6fac646 clean up some prefhandling code in nsImgManager/nsCookiePermission, to fix a bogus assert when mailnews prefs aren't available.
b=224339, r=caillon, sr=darin.


git-svn-id: svn://10.0.0.236/trunk@149135 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-11 02:46:06 +00:00
bryner%brianryner.com
eeddf02bde deCOMtaminate nsIDocument by changing methods to use return value instead of out-params, eliminating unused nsresult return values, moving some members to nsIDocument and inlining the getters/setters. Bug 222134, r=bzbarsky, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@148257 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-22 06:09:48 +00:00
jst%mozilla.jstenback.com
ef67a47aab Fixing bug 215981. DeCOMtaminating nsIContent and nsIDocument some, and also some minor changes to other related interfaces. r=caillon@aillon.org, sr=peterv@propagandism.org.
git-svn-id: svn://10.0.0.236/trunk@147354 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-27 04:18:26 +00:00
bryner%brianryner.com
101a9e4e72 Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan.
git-svn-id: svn://10.0.0.236/trunk@146615 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-07 22:05:34 +00:00
darin%meer.net
6103322ee1 fixes bug 184059 "cookperm.txt entries should override default cookie setting" patch=dwitte r=mvl sr=bz
git-svn-id: svn://10.0.0.236/trunk@145492 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-02 17:20:52 +00:00
bzbarsky%mit.edu
9e4941c980 DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823,
r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@145292 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-28 21:35:53 +00:00
bzbarsky%mit.edu
b878645544 Add an nsIDocument* GetOwnerDocument() to nsGenericElement, deCOMify
nsINodeInfo a tad.  Bug 211634, r=jkeiser, sr=jst


git-svn-id: svn://10.0.0.236/trunk@145155 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-24 17:30:52 +00:00
jaggernaut%netscape.com
f34216bf2d Bug 25886: Get rid of a bunch of unused NS_DEFINE_IID, NS_DEFINE_CID. r=caillon, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@144992 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-20 07:47:59 +00:00
dwitte%stanford.edu
9d62d39ae0 Bug 209475: Make nsIPermissionManager more flexible for extensions.
Changes nsIPermissionManager.idl to accept type strings rather than integers; this allows consumers to register unique types more easily, without fear of conflicting with an already-existing one.

Also fixes some bounds-checking fu (sr=bz on irc for those additional portions).

patch by mvl; r=dwitte, sr=bz.


git-svn-id: svn://10.0.0.236/trunk@144606 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-09 00:20:57 +00:00
bzbarsky%mit.edu
cab9a2d682 Fix tail matching algorithm. Bug 209902, patch by mvl@exedo.nl (Michiel van
Leeuwen), r=dwite, sr=bzbarsky.


git-svn-id: svn://10.0.0.236/trunk@143953 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-19 22:35:08 +00:00
dwitte%stanford.edu
850f2049fc yet another cookie rewrite - up to part 3 this time.
- moves core cookie code into nsCookieService.{h,cpp}, and kills nsCookies & nsCookieManager
- makes nsCookieService a singleton object that implements nsICookieManager also
- improves mem efficiency of the nsCookie object, and removes unneeded conversions
- adds an nsICookie2 interface to extend the sucky nsICookie.
- fixes a few (unrelated) trivial things while I'm in there (use ->ASCII instead of ->UTF8, and remove some erroneous stuff in nsPermissionManager.h)

cvs removal of nsCookies.{h,cpp} and nsCookieManager.{h,cpp} will follow; to find old blame info and logs for those files, look in attic.

burn the witch!

b=200632, r=alecf, sr=darin.


git-svn-id: svn://10.0.0.236/trunk@143712 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-14 20:10:55 +00:00
caillon%returnzero.com
0a6d1ae509 Bug 209087
Content interface out-parameters should use ptr-to-ptrs instead of ref-to-ptrs and some small deCOMtamination.
r+sr=jst@netscape.com


git-svn-id: svn://10.0.0.236/trunk@143683 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-13 20:10:01 +00:00
dwitte%stanford.edu
984edb328d Bug 204623: setting src attribute on img element created in a doc with no window crashes.
fixes up some queryinterface fu to not suck.

r=mvl, sr=peterv, a=asa.


git-svn-id: svn://10.0.0.236/trunk@142189 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-08 01:55:37 +00:00
sspitzer%netscape.com
805de895eb fix for regression bug #203629
Attached images don't display inline if "Do not load remote images..." is turned on
caused by my fix for bug #51631.
r/sr=bienvenu, a=sspitzer


git-svn-id: svn://10.0.0.236/trunk@141962 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-30 06:28:16 +00:00
sspitzer%netscape.com
b6388d7f3d fix for security bug #51631
prevent auth UI from coming up from inside messages
sr=darin, r=bienvenu, a=sspitzer


git-svn-id: svn://10.0.0.236/trunk@141834 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-25 23:29:17 +00:00
timeless%mozdev.org
19e80768b2 Bug 201865 Images added by script not subject to blocking
patch by mvl@exedo.nl r=dwitte sr=bz a=asa


git-svn-id: svn://10.0.0.236/trunk@141816 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-25 20:03:40 +00:00
neil%parkwaycc.co.uk
466082c72d Bug 199709 Messages load remote images ignoring preference p=mvl@exedo.nl r=dwitte@standford.edu sr=peterv
git-svn-id: svn://10.0.0.236/trunk@140795 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-07 10:15:21 +00:00
jst%netscape.com
08e9d026e0 Fixing bug 124412. Making nsXULDocument inherit nsXMLDocument to avoid the need to duplicate a large amount of code in nsXULDocument. Also removing nsMarkupDocument and nsIDOMEventCapturer that are no longer needed. Changing the inheritance of nsIDOMXULDocument to avoid ~60 or so forwarding methods, and doing a *lot* of code cleanup. r=bugmail@sicking.cc, sr=peterv@netscape.com
git-svn-id: svn://10.0.0.236/trunk@140344 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-26 07:41:30 +00:00
bzbarsky%mit.edu
70156d33e8 Checking in permissions rewrite phase 1 (troop deployment in the permission
gulf).  Bug 191380, patch by mvl@exedo.nl (Michiel van Leeuwen),
r=dwitte@stanford.edu, sr=darin.


git-svn-id: svn://10.0.0.236/trunk@140010 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-22 01:24:51 +00:00
dbaron%dbaron.org
f5b5bace95 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
git-svn-id: svn://10.0.0.236/trunk@136002 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 20:32:55 +00:00
ducarroz%netscape.com
2383d44d17 Fix for bug 167131. Not not display remote image in message compose when setting is on. R=morse, SR=sspitzer
git-svn-id: svn://10.0.0.236/trunk@133676 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-12 19:18:04 +00:00
dougt%netscape.com
e289284076 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
git-svn-id: svn://10.0.0.236/trunk@129050 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-07 17:13:19 +00:00
darin%netscape.com
f4ac8b67b2 second attempt at landing fix for bug 157131 "nsIIOService mods in preparation for freezing" r=dougt sr=alecf
git-svn-id: svn://10.0.0.236/trunk@127379 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-15 18:38:46 +00:00
leaf%mozilla.org
e1e7037575 backout darin's checkin from around noon yesterday to remove the regression
in 161921


git-svn-id: svn://10.0.0.236/trunk@126917 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-09 23:46:19 +00:00
darin%netscape.com
0a81150b46 changes to nsIIOService in preparation for freezing, b=157131
r=dougt sr=alecf


git-svn-id: svn://10.0.0.236/trunk@126784 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-08 19:08:59 +00:00
ducarroz%netscape.com
ecb82f94ae Fix for bug 97055. Add an option for disabling remote images in mailnews. R=morse, SR=alecf
git-svn-id: svn://10.0.0.236/trunk@122429 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-31 18:40:39 +00:00
darin%netscape.com
04849998e1 fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa
git-svn-id: svn://10.0.0.236/trunk@115936 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 07:48:55 +00:00
morse%netscape.com
d4ee3f7955 bug 47437, nscookie.cpp is duplicationg URL parsing logic, c=andreas.otte, r=morse, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@105740 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 02:28:06 +00:00
morse%netscape.com
eaa1b1013c backing out fix for bug 47437 due to memory leak
git-svn-id: svn://10.0.0.236/trunk@105129 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 00:40:07 +00:00
morse%netscape.com
7b3d740ef8 bug 47437, nsCookie.cpp is duplicating URL parsing logic, c=andreas.otte, r=morse, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@105114 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 23:16:03 +00:00
gerv%gerv.net
f2fd909b29 License changes, take 2. Bug 98089. mozilla/extensions/.
git-svn-id: svn://10.0.0.236/trunk@103763 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 23:31:24 +00:00
gerv%gerv.net
ae1d5501a1 Oops.
git-svn-id: svn://10.0.0.236/trunk@103236 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 00:02:59 +00:00
scc%mozilla.org
52c8d09e03 bug #98089: ripped new license
git-svn-id: svn://10.0.0.236/trunk@103219 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 20:09:47 +00:00
pavlov%netscape.com
a6a474594d fix for bug 84403 from valeski. r=pavlov sr=darin a=dbaron
git-svn-id: svn://10.0.0.236/trunk@97575 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-20 06:36:34 +00:00
valeski%netscape.com
9e76c52f87 r=sfraser. sr=rpotts. no a= sorry, but this is crashing lots of folks
git-svn-id: svn://10.0.0.236/trunk@96474 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-06 00:27:36 +00:00
valeski%netscape.com
0c9d7c1f15 r=pavlov, sr=vidur, a=blizzard. 84162. making nsImgManager a nsIContentPolicy which allows it to play in the image blocking arena again. this fixes image blocking.
git-svn-id: svn://10.0.0.236/trunk@96454 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-05 21:37:48 +00:00
morse%netscape.com
8d277c87e5 bug 46783, reorg cookies module for embedding, r=valeski, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@90729 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-29 02:11:48 +00:00