740 Commits

Author SHA1 Message Date
dwitte%stanford.edu
894a36be89 move permission manager persistent storage from hostperm.1 to permissions.sqlite, use nsIURI::GetAsciiHost() for consistent host normalization, and
expand type/permission limits. bugs 400092 and 400097 (patch in 400097), sr=shaver, pending r=sdwilsh, blocking-1.9+.


git-svn-id: svn://10.0.0.236/trunk@240509 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-05 06:37:36 +00:00
sayrer%gmail.com
17d4fc9328 Bug 396648. nsPermissionManager tries to open two files that usually don't exist. r/sr=biesi, a=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@236424 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-21 05:09:54 +00:00
jwalden%mit.edu
dda6ff3c99 Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros.
git-svn-id: svn://10.0.0.236/trunk@229504 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-08 07:08:56 +00:00
dwitte%stanford.edu
19a41ce5cd cid and comment don't match, b=305444
git-svn-id: svn://10.0.0.236/trunk@228577 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-22 11:12:13 +00:00
dcamp%mozilla.com
a66433acd5 Bug 378685 - Permission manager should operate on innermost URI, r=dveditz sr=mconnor
git-svn-id: svn://10.0.0.236/trunk@228436 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-21 16:32:46 +00:00
dwitte%stanford.edu
b716e582d6 switch cookies over to mozStorage. b=230933, r=sdwilsh, sr=mconnor.
remove nsInt64 usage from cookies, b=384225, r+sr=biesi.


git-svn-id: svn://10.0.0.236/trunk@228211 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-17 21:52:22 +00:00
bent.mozilla%gmail.com
0035e99775 Bug 380846 - "Make the build system friendlier for XULRunner apps and extensions." r=bsmedberg. Adds confvars.sh files for all major apps and makefiles.sh for all extensions.
git-svn-id: svn://10.0.0.236/trunk@226903 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-23 20:08:55 +00:00
dwitte%stanford.edu
ab10ea14f5 implement CountCookiesFromHost() in cookie backend for perf reasons, and update consumers to use it.
bug 379239, r=mvl, sr=biesi


git-svn-id: svn://10.0.0.236/trunk@225970 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-05 21:09:54 +00:00
dbaron%dbaron.org
8043a5c9c7 Remove GetKeyPointer method from nsTHashtable key types. b=374906 r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@222464 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-27 15:35:02 +00:00
kaie%kuix.de
31efe5bc5c bug 370802, nsIPermissionManager: Add ability for exact hostname testing
r/sr=cbiesinger


git-svn-id: svn://10.0.0.236/trunk@220578 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-20 15:24:36 +00:00
cbiesinger%web.de
c918562fbd bug 341008 Fix sscanf error checking
r=mvl sr=darin a=darin


git-svn-id: svn://10.0.0.236/trunk@199972 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-15 13:52:14 +00:00
benjamin%smedbergs.us
d2758dca3c Bug 341252 - extensions/cookie and extensions/permissions both have a nsModuleFactory.cpp which causes libxul link failure, r=darin
git-svn-id: svn://10.0.0.236/trunk@199723 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-12 17:56:15 +00:00
benjamin%smedbergs.us
a912e1866a Bug 339099 - Integrate extensions/cookie and extensions/permissions into libxul, r=darin
git-svn-id: svn://10.0.0.236/trunk@198381 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-25 15:45:17 +00:00
gavin%gavinsharp.com
a0097b5da7 Bug 334319: buffer overrun in nsPermissionManager::Read when reading an invalid cookperm.txt file, r=mvl, sr=darin
git-svn-id: svn://10.0.0.236/trunk@195153 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-22 13:32:25 +00:00
benjamin%smedbergs.us
6e24a5d20a Freeze nsIArray (requires separating nsIMutableArray into another .idl file); also removes NS_NewArray and moves do_QueryElementAt into the glue, r=darin
git-svn-id: svn://10.0.0.236/trunk@194221 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-12 15:43:32 +00:00
cbiesinger%web.de
17bef0ef8c bug 333263 only call Read() when mPermissionsFile is initialized
r=mvl sr=darin


git-svn-id: svn://10.0.0.236/trunk@194128 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-11 15:09:51 +00:00
joshmoz%gmail.com
a96b798c01 Don't warn when expected error path is taken. b=327052 r=darin sr=bz
git-svn-id: svn://10.0.0.236/trunk@189972 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-14 18:12:47 +00:00
cbiesinger%web.de
6322c04952 bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
r+sr=darin


git-svn-id: svn://10.0.0.236/trunk@188844 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-03 14:18:39 +00:00
gavin%gavinsharp.com
063bacca0f Bug 315345: Remove unused nsIPermission.idl, r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@186584 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-26 01:20:59 +00:00
roc+%cs.cmu.edu
6d0be6914d Bug 315345. nsIPermission should be in network/base/public for now, alongside nsIPermissionManager. r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@185725 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-06 01:32:59 +00:00
mvl%exedo.nl
fdf5150c9b Don't crash when setting a previously deleted cookie permission.
bug 300301, r=dwitte, sr=darin, a=mconnor.


git-svn-id: svn://10.0.0.236/trunk@176181 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-17 10:10:31 +00:00
timeless%mozdev.org
ecc5a30fa2 Bug 298278 remove useless references to nsVoidArray
r=mvl sr=darin a=tor


git-svn-id: svn://10.0.0.236/trunk@175254 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-28 21:20:04 +00:00
bsmedberg%covad.net
48f5a6f92b Adding MOZILLA_INTERNAL_API to internal makefiles, bug 288626, rs=darin
git-svn-id: svn://10.0.0.236/trunk@171578 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-04 18:38:19 +00:00
dwitte%stanford.edu
1139b64be1 removing obsolete file.
git-svn-id: svn://10.0.0.236/trunk@171374 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-30 08:41:43 +00:00
mvl%exedo.nl
f741f5dbf9 remove the old imgmanager from cookies.
bug 287628, r=dwitte, sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@171316 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-29 09:52:19 +00:00
bugzilla%arlen.demon.co.uk
cf40bd3cea Bug 277097 Tidy up cookie js/xul/pref code (Removing js/xul from extensions/cookie) - history for pref-cookies.xul/dtd and pref-images.xul/dtd can be got from the attic (see bug for details) - removing seven files that got missed during previous prune
p=me r=dwitte/benjamin sr=darin


git-svn-id: svn://10.0.0.236/trunk@170542 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-10 22:42:29 +00:00
bugzilla%arlen.demon.co.uk
1dfbb047dc Bug 277097 Tidy up cookie js/xul/pref code (Removing js/xul from extensions/cookie) - history for pref-cookies.xul/dtd and pref-images.xul/dtd can be got from the attic (see bug for details) - file removal part
p=me r=dwitte/benjamin sr=darin


git-svn-id: svn://10.0.0.236/trunk@170526 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-10 18:59:11 +00:00
bsmedberg%covad.net
0a4e7a7d24 From bug 282057 - brand.dtd now lives in chrome://branding/locale/brand.dtd
git-svn-id: svn://10.0.0.236/trunk@170525 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-10 18:44:11 +00:00
bsmedberg%covad.net
fc4099e666 Bug 281414 - global s/nsIPrefBranchInternal/nsIPrefBranch2/ rs=darin (did not change backwards-compatible code in extensions/irc extensions/venkman or extensions/inspector)
git-svn-id: svn://10.0.0.236/trunk@169868 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-25 20:46:35 +00:00
bugzilla%arlen.demon.co.uk
db9c7fa4d8 Bug 252698 Use buttonlabel attributes in <dialog>s
p=me r=neil.parkwaycc.co.uk sr=dveditz


git-svn-id: svn://10.0.0.236/trunk@169554 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-21 00:57:10 +00:00
bugzilla%arlen.demon.co.uk
d052e70d0d Bug 239557 Cleanup of new Cookie UI for 1.8a
p=me/mvl r=mvl sr=neil.parkwaycc.co.uk a=asa


git-svn-id: svn://10.0.0.236/trunk@169170 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-13 20:48:38 +00:00
bugzilla%arlen.demon.co.uk
6d05360237 Backing out bug 239557 - forgot the sr - no more early morning checkins if I can help it
git-svn-id: svn://10.0.0.236/trunk@169080 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-10 13:53:59 +00:00
bugzilla%arlen.demon.co.uk
e0d7ddea61 Bug 239557 Cleanup of new Cookie UI for 1.8a/b
p=me/mvl r=mvl a=asa


git-svn-id: svn://10.0.0.236/trunk@169070 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-10 00:45:39 +00:00
dwitte%stanford.edu
e4a13afbb9 tidy up popup blocker code.
b=279710, r+sr=dveditz.


git-svn-id: svn://10.0.0.236/trunk@168867 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-06 08:25:40 +00:00
bryner%brianryner.com
9861051f37 Clean up unneeded REQUIRES (bug 73353). r+sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@168768 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-03 23:01:54 +00:00
timeless%mozdev.org
e4d028f9fc Bug 243385 Crash [@ nsPermissionManager::GetHost]
patch by db48x@yahoo.com / gautheri@noos.fr r=mvl sr=bz


git-svn-id: svn://10.0.0.236/trunk@167878 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-17 09:13:27 +00:00
mvl%exedo.nl
6379d85e03 enable permissions extension. Update UI to use it. migrate old prefs.
bug 240070, r=dwitte, sr=darin


git-svn-id: svn://10.0.0.236/trunk@166754 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-15 18:31: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
darin%meer.net
e3117874fa fixes bug 261083 "Channels do not uniformly query their notification callbacks" r=biesi sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@165373 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-15 20:16:52 +00:00
darin%meer.net
2bdd225d62 fixes bug 268107 "mailnews allows cookies, despite the pref" r=mvl sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@165138 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-08 22:15:30 +00:00
bugzilla%arlen.demon.co.uk
d0b39245a3 Bug 260364 Fixup radiogroups to use new .value functionality of radio.xml
p=me r/sr=neil a=asa


git-svn-id: svn://10.0.0.236/trunk@162733 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-24 00:55:43 +00:00
pete.zha%sun.com
5646b9ffe6 bug 254553
Preference items in "images" is not lockable
r=neil.parkwaycc.co.uk, sr=jag
patch=brian.lu@sun.com


git-svn-id: svn://10.0.0.236/trunk@161971 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-09 07:11:27 +00:00
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
dwitte%stanford.edu
04ba07900a make cookie & permission files non-world-readable.
b=59557, patch by Pavel Kankovsky (peak@argo.troja.mff.cuni.cz), r=dwitte, sr=bz.


git-svn-id: svn://10.0.0.236/trunk@159532 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-20 07:27:28 +00:00
dwitte%stanford.edu
357f76fff5 sprinkle some asserts, and remove redundant #include.
git-svn-id: svn://10.0.0.236/trunk@159515 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-19 23:38:35 +00:00
dwitte%stanford.edu
3203562ebb rename nsISafeFileOutputStream to nsISafeOutputStream, and make nsBufferedOutputStream aware of it, to make life easier on consumers.
b=251648, r=biesi, sr=darin, with thanks to darin and bz for suggestions.


git-svn-id: svn://10.0.0.236/trunk@159501 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-19 22:00:03 +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
dwitte%stanford.edu
214d7e8e71 quick fix to get cookie/permission file saving working on trunk again, while we hash out a real fix.
b=251648, r+sr=darin


git-svn-id: svn://10.0.0.236/trunk@159362 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-16 20:08:08 +00:00