Commit Graph

625 Commits

Author SHA1 Message Date
dwitte%stanford.edu
e044c3feee trivial warning fix: xpidl generates separate |enum|s for constants of the same type, so gcc complains about enumeral mismatches when there aren't any. no bug, r=mvl
git-svn-id: svn://10.0.0.236/trunk@147893 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-12 14:50:55 +00:00
darin%meer.net
b266983a9e fixing build bustage
git-svn-id: svn://10.0.0.236/trunk@147882 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-11 22:13:05 +00:00
darin%meer.net
96c63ea69d removing files that have now been moved into necko: b=210561 r=dwitte sr=bryner
git-svn-id: svn://10.0.0.236/trunk@147880 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-11 21:09:02 +00:00
dwitte%stanford.edu
88ae604058 whoops. these weren't meant to go in. ;)
git-svn-id: svn://10.0.0.236/trunk@147863 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-11 00:12:33 +00:00
dwitte%stanford.edu
424cd24516 refactor cookie prompting helper to where it belongs... this will increase perf a little, for the case where prompting is turned off.
b=220624, r=mvl, sr=darin.


git-svn-id: svn://10.0.0.236/trunk@147862 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-11 00:06:13 +00:00
darin%meer.net
9286ff8199 moving cookie service into necko: b=210561 r=dwitte sr=bryner
these files were moved from their old home in extensions/cookie.  the CVS
records cannot be simply moved because attic files exist in the new location,
and so i will unfortunately take cvs blame for all.  that's unfair to dwitte
who has made so many wonderful changes to the cookies backend code! ;-)

so, to find out the real cvs blame for these files, please look at the
following cvs remove'd files:

mozilla/extensions/cookie/nsCookieService.cpp
mozilla/extensions/cookie/nsCookieService.h
mozilla/extensions/cookie/nsCookie.cpp
mozilla/extensions/cookie/nsCookie.h
mozilla/extensions/cookie/nsICookie2.idl
mozilla/extensions/cookie/nsICookieConsent.idl
mozilla/extensions/cookie/nsICookie.idl
mozilla/extensions/cookie/nsICookieManager2.idl
mozilla/extensions/cookie/nsICookieManager.idl
mozilla/extensions/cookie/nsICookiePermission.idl


git-svn-id: svn://10.0.0.236/trunk@147859 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-10 23:08:01 +00:00
darin%meer.net
caa6b530dd landing last patch to separate cookie backend from permissions system, b=210561, r=dwitte, sr=bryner
git-svn-id: svn://10.0.0.236/trunk@147853 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-10 21:23:44 +00:00
mvl%exedo.nl
2b39cc7aa4 Try the scheme if no host is found when showing a cookie dialog. bug 209689, r=dwitte, sr=darin
git-svn-id: svn://10.0.0.236/trunk@147838 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-10 15:08:43 +00:00
timeless%mozdev.org
9f6d666993 Bug 220451 - Popup Manager's "Allowed Sites" dialog doesn't persist size and position
patch by borggraefe@despammed.com r=neil sr=alecf


git-svn-id: svn://10.0.0.236/trunk@147774 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-09 00:29:09 +00:00
neil%parkwaycc.co.uk
7a3d6457f9 Bug 182359 only open one manager window of each type r=dwitte sr=darin
git-svn-id: svn://10.0.0.236/trunk@147680 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-07 10:03:21 +00:00
neil%parkwaycc.co.uk
ca886887f1 Bug 220460 "About Popups" dialog should autosize and not be resizable p=borggraefe@despammed.com r=me sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@147505 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-02 08:10:39 +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
mvl%exedo.nl
544e48f258 Fix typos
git-svn-id: svn://10.0.0.236/trunk@146778 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-11 17:02:32 +00:00
mvl%exedo.nl
b3d24730a2 Ignore bogus lines that old builds can create when reading cookperm.txt. bug 215461. r=dwitte, sr=darin
git-svn-id: svn://10.0.0.236/trunk@146776 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-11 16:56:04 +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
mvl%exedo.nl
c03e250d71 Followup to bug 217636, assertion is the wrong way around. Debug only. r=dwitte, sr=darin, a=asa
git-svn-id: svn://10.0.0.236/trunk@146541 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-03 20:45:23 +00:00
mvl%exedo.nl
19e72a41ce Bug 217636, fix cookperm.txt indexes. r=dwitte, sr=darin, a=asa
git-svn-id: svn://10.0.0.236/trunk@146442 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-29 17:13:40 +00:00
darin%meer.net
3baeff676e fixes bug 215460 "accept cookie dialog's '...all cookies from this site' checkbox does not always suppress further prompting" r=dwitte sr=bryner a=asa
git-svn-id: svn://10.0.0.236/trunk@146067 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-15 21:04:54 +00:00
kairo%kairo.at
ecab08be9b bug 214207 - update localeVersion for 1.5b - rs=blizzard, a=asa
git-svn-id: svn://10.0.0.236/trunk@145864 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-11 11:31:24 +00:00
darin%meer.net
a8a4a35f38 removing nsCookieHttpNotify.{h,cpp} now that they are unused and empty, b=210561.
git-svn-id: svn://10.0.0.236/trunk@145579 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-05 02:16:36 +00:00
darin%meer.net
474b765c00 initial patch for bug 210561 "eliminate nsCookieHTTPNotify; have HTTP talk directly to nsICookieService" patch=dwitte r=mvl sr=darin
git-svn-id: svn://10.0.0.236/trunk@145577 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-05 01:44:27 +00:00
stephend%netscape.com
37e12610c2 Spelling corrections that should've landed with the original patch for bug 184059
git-svn-id: svn://10.0.0.236/trunk@145493 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-02 18:17:55 +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
jaggernaut%netscape.com
36ab3d76a9 Bug 212272: Switch some Substring users over to String(Begins|Ends)With. r=dwitte, sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@144817 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-14 07:37:39 +00:00
jaggernaut%netscape.com
95a2235bee Bug 73353: clean up MODULE/REQUIRES story. r=cls, sr=bryner
git-svn-id: svn://10.0.0.236/trunk@144804 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-13 22:29:00 +00:00
dwitte%stanford.edu
e8ec89d756 Bug 212284: Adding a web site to allowed popup site list crashes Mozilla [@ nsPermissionManager::Add ]
fixing a crasher regression from yesterday's landing of bug 209475.

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


git-svn-id: svn://10.0.0.236/trunk@144690 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-11 00:04:02 +00:00
darin%netscape.com
d8f1949973 MSVC++ uses old-school variable scoping with |for| loop initializers. fixes win32 bustage.
git-svn-id: svn://10.0.0.236/trunk@144611 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-09 01:29:51 +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
dwitte%stanford.edu
d193753760 fixing a trivial warning due to mismatch of |class| fwd-declaration for a struct.
r=timeless


git-svn-id: svn://10.0.0.236/trunk@144100 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-24 14:33:26 +00:00
dwitte%stanford.edu
1868bf16e5 Fixing leak regression from bug 200632 landing (the latest cookie rewrite).
This changes the nsCookieService singleton fu to AddRef only once, rather than twice (and removes the corresponding Release in the module dtor). The double-addref was making the cookie module stick around until XPCOM starts shutting down modules, which is too late to release things we own (observer service, prefbranch, etc). So we were violating XPCOM shutdown rules without knowing it.

So, the tracemalloc leak stats on Brad should halve. :)

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


git-svn-id: svn://10.0.0.236/trunk@144084 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-24 05:00:22 +00:00
jshin%mailaps.org
0f41da8e2f bug 205649 : replace U+00E5 represented in ISO-8859-1 (0xe5) with U+00E5 in
UTF-8 in all XUL files to make them to be genuinely encoded in UTF-8. All the
changes are in comments so that this shouldn't affect anything at run-time.
(r=hwaara)


git-svn-id: svn://10.0.0.236/trunk@144053 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-23 13:18:12 +00:00
dwitte%stanford.edu
832efaccb6 removing some unused default ctors now that nsDerivedSafe can handle it.
no bug, r+sr=bz


git-svn-id: svn://10.0.0.236/trunk@143973 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-20 02:20:34 +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
9580a2dcbb remove cid's/contractid's and factory constructors for nsCookie and nsPermission, since these objects shouldn't be instantiable.
b=209506, r=darin/mvl, sr=bz


git-svn-id: svn://10.0.0.236/trunk@143830 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-18 00:52:59 +00:00
dwitte%stanford.edu
432760ad1c removing nsCookies.{h,cpp} and nsCookieManager.{h,cpp}. to find old blame info and logs for those files, look in attic.
cookie rewrite part 3, b=200632, r=alecf, sr=darin.


git-svn-id: svn://10.0.0.236/trunk@143714 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-14 22:33:50 +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
seawood%netscape.com
06e1507b0c Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev
git-svn-id: svn://10.0.0.236/trunk@143527 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-10 21:18:27 +00:00
seawood%netscape.com
9e4caeaa92 Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev
git-svn-id: svn://10.0.0.236/trunk@143522 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-10 20:12:33 +00:00
shliang%netscape.com
fc4ac2086a 208357 - image manager menuitem needs to be removed for ns builds on mac osx. r=sgehani, sr=jag
git-svn-id: svn://10.0.0.236/trunk@143319 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-05 03:49:48 +00:00
kairo%kairo.at
a3d1679464 bug 207642 - update localeVersion for 1.5a - r=rchen, sr=blizzard
git-svn-id: svn://10.0.0.236/trunk@143284 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-04 11:11:19 +00:00
dwitte%stanford.edu
6be8fa103c oops, missed a file in previous checkin
git-svn-id: svn://10.0.0.236/trunk@142760 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-22 20:43:56 +00:00
dwitte%stanford.edu
3ead6f90d8 Bug 206022: [cookies] parser doesn't allow spaces in NAME token.
makes the cookie parser tolerant of spaces in the token name strings, which some sites rely on.

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


git-svn-id: svn://10.0.0.236/trunk@142759 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-22 20:41:17 +00:00
dwitte%stanford.edu
c4f34a5641 Bug 206356: cookies refused by default if you just close dialog.
makes the "do you want to accept this cookie?" dialog more user-friendly, by not touching the permission list if you dismiss the dialog without clicking a button.

patch by mvl, r=neil, sr=jag, a=asa.


git-svn-id: svn://10.0.0.236/trunk@142735 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-22 00:37:48 +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
darin%netscape.com
1d9c4bbeb7 fixes bug 22994 "Mail reader allows spammers to set/get cookies to track web usage"
r=dwitte sr=dveditz a=sspitzer


git-svn-id: svn://10.0.0.236/trunk@142134 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-05 21:27:02 +00:00
dwitte%stanford.edu
b5c0ba566e Bug 202313: Lifetime = 0 makes cookies disappear and reappear w/ multiple refreshes.
polishes cookie expiry behavior and cleans up a little expiry code.

r=mvl, sr=darin, a=sspitzer.


git-svn-id: svn://10.0.0.236/trunk@142065 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-02 20:43:43 +00:00