Commit Graph

600 Commits

Author SHA1 Message Date
jaggernaut%netscape.com
817298ce0b Bug 212272: Switch some Substring users over to String(Begins|Ends)With. r=dwitte, sr=bzbarsky 2003-07-14 07:37:39 +00:00
jaggernaut%netscape.com
2d7ed90a69 Bug 73353: clean up MODULE/REQUIRES story. r=cls, sr=bryner 2003-07-13 22:29:00 +00:00
dwitte%stanford.edu
0348122ca5 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.
2003-07-11 00:04:02 +00:00
darin%netscape.com
bae7bd0843 MSVC++ uses old-school variable scoping with |for| loop initializers. fixes win32 bustage. 2003-07-09 01:29:51 +00:00
dwitte%stanford.edu
ee64b32c3e 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.
2003-07-09 00:20:57 +00:00
dwitte%stanford.edu
0a56c23de4 fixing a trivial warning due to mismatch of |class| fwd-declaration for a struct.
r=timeless
2003-06-24 14:33:26 +00:00
dwitte%stanford.edu
5abc7e03c5 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.
2003-06-24 05:00:22 +00:00
jshin%mailaps.org
a02a46efd1 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)
2003-06-23 13:18:12 +00:00
dwitte%stanford.edu
eb7529542c removing some unused default ctors now that nsDerivedSafe can handle it.
no bug, r+sr=bz
2003-06-20 02:20:34 +00:00
bzbarsky%mit.edu
bf56dff08c Fix tail matching algorithm. Bug 209902, patch by mvl@exedo.nl (Michiel van
Leeuwen), r=dwite, sr=bzbarsky.
2003-06-19 22:35:08 +00:00
dwitte%stanford.edu
813391e0a7 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
2003-06-18 00:52:59 +00:00
dwitte%stanford.edu
cc8373a599 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.
2003-06-14 22:33:50 +00:00
dwitte%stanford.edu
6fd2b6cf13 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.
2003-06-14 20:10:55 +00:00
caillon%returnzero.com
2df173e9c8 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
2003-06-13 20:10:01 +00:00
seawood%netscape.com
97649bab86 Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev 2003-06-10 21:18:27 +00:00
seawood%netscape.com
b28ce0a530 Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev 2003-06-10 20:12:33 +00:00
shliang%netscape.com
df938ddfef 208357 - image manager menuitem needs to be removed for ns builds on mac osx. r=sgehani, sr=jag 2003-06-05 03:49:48 +00:00
kairo%kairo.at
0b93c73eee bug 207642 - update localeVersion for 1.5a - r=rchen, sr=blizzard 2003-06-04 11:11:19 +00:00
dwitte%stanford.edu
d2fb75c8f6 oops, missed a file in previous checkin 2003-05-22 20:43:56 +00:00
dwitte%stanford.edu
97883af4de 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.
2003-05-22 20:41:17 +00:00
dwitte%stanford.edu
a1fcc8d125 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.
2003-05-22 00:37:48 +00:00
dwitte%stanford.edu
3415bcd74d 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.
2003-05-08 01:55:37 +00:00
darin%netscape.com
41280f92f9 fixes bug 22994 "Mail reader allows spammers to set/get cookies to track web usage"
r=dwitte sr=dveditz a=sspitzer
2003-05-05 21:27:02 +00:00
dwitte%stanford.edu
3c1484b14a 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.
2003-05-02 20:43:43 +00:00
sspitzer%netscape.com
f78fac3f66 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
2003-04-30 06:28:16 +00:00
sspitzer%netscape.com
18045adfd1 fix for security bug #51631
prevent auth UI from coming up from inside messages
sr=darin, r=bienvenu, a=sspitzer
2003-04-25 23:29:17 +00:00
dwitte%stanford.edu
34d0be4d32 Bug 203324: [cookies] backport phase 3 fixes to trunk.
patch by me. r=alecf, sr=darin, a=asa.

my first checkin! yay!
2003-04-25 23:20:04 +00:00
timeless%mozdev.org
e68310fe9e Bug 200697 - Make nsPermissionManager use hashtables, decrease memory used
patch by dwitte@stanford.edu r=bsmedberg@covad.net sr=alecf a=asa
2003-04-25 20:13:05 +00:00
timeless%mozdev.org
ce868b7ad1 Bug 201865 Images added by script not subject to blocking
patch by mvl@exedo.nl r=dwitte sr=bz a=asa
2003-04-25 20:03:40 +00:00
bsmedberg%covad.net
d1f638b36f Bug 201034 non-const enumeration in nsBaseHashtable, add
nsTHashtable::RawRemove. Add a hashtable test-suite, and
clean up some codesize issues. Also fixes bug 203030 and
hopefully SunOS build bustage. r=jkeiser sr=alecf a=asa
2003-04-24 01:54:57 +00:00
mkaply%us.ibm.com
42e1d7aade OS/2 bustage - I know there are other compilers that have trouble with inline in the header without a defintion 2003-04-23 04:39:34 +00:00
dmose%mozilla.org
e1e383cfa8 Speed up nsPermissionManager by using hashtables; decrease footprint by not using an array of permission_TypeStructs (bug 200697). Thanks to Michiel van Leeuwen <mvl@exedo.nl> for the patch. r=dwitte@stanford.edu; sr=alecf@flett.org 2003-04-22 23:33:31 +00:00
cbiesinger%web.de
ab361e2f48 followup to 202517 patch by dwitte@stanford.edu r=biesi remove some unused code from TestCookie.cpp and remove now-unneeded dependency on intl; affects TestCookie only 2003-04-19 12:51:44 +00:00
danm%netscape.com
be10ebb86e there was an extra \r in the last checkin that was killing my build 2003-04-18 18:34:55 +00:00
cbiesinger%web.de
a355b79bd9 202517 patch by dwitte@stanford.edu r+sr=darin [cookies] new testsuite 2003-04-18 17:37:49 +00:00
kairo%kairo.at
b6009f1e51 bug 202312 - localeVersion update for 1.4b, r=rchen, sr=blizzard 2003-04-17 18:43:57 +00:00
timeless%mozdev.org
205f577adb Bug 201864 Context menu always has unblock image when image in permission list
patch by mvl@exedo.nl r=dwitte sr=bz
2003-04-15 14:26:28 +00:00
neil%parkwaycc.co.uk
b0d5b3c3fd Bug 199709 Messages load remote images ignoring preference p=mvl@exedo.nl r=dwitte@standford.edu sr=peterv 2003-04-07 10:15:21 +00:00
cbiesinger%web.de
3544502fde 176950 patch by dwitte@stanford.edu r=darin sr=jag cookie permissions site blocking does not appy to fully qualified node names from within the site. 2003-04-04 13:20:37 +00:00
neil%parkwaycc.co.uk
29fc48a3cc Bug 200437 fix assertion in GetCookie() p=dwitte@stanford.edu r=mvl sr=darin 2003-04-03 09:17:21 +00:00
neil%parkwaycc.co.uk
c4fc77b521 Bug 200429 another cookie deletion bug p=dwitte@stanford.edu r=mvl sr=darin 2003-04-03 09:15:31 +00:00
darin%netscape.com
880a607aea adds back debug assertion that got lost during the latest cookie changes, patch=dwitte r+sr=darin 2003-04-02 07:13:35 +00:00
bzbarsky%mit.edu
67610572ae Assume VALUE instead of NAME if only one attr specified. Bug 169091, patch by
dwitte@stanford.edu (Dan Witte), r=darin, sr=alecf
2003-04-02 04:08:01 +00:00
timeless%mozdev.org
8715b11474 Bug 199649 Yahoo! Mail Remains Broken After Bug 198870 Fixed
patch by dwitte@stanford.edu r=mvl@exedo.nl sr=darin a=asa
2003-03-31 19:28:29 +00:00
timeless%mozdev.org
0e63b8a145 Bug 199928 cookies originating server test failes on ip addresses
patch by dwitte@stanford.edu r=mvl@exedo.nl sr=darin a=asa
2003-03-31 19:27:44 +00:00
jst%netscape.com
b4cc5d4695 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 2003-03-26 07:41:30 +00:00
darin%netscape.com
b9fe63f8b7 fixes bug 199108 "Changes to cookie prefs need restart to take effect"
patch=dwitte r=kaie sr=darin
2003-03-26 02:27:39 +00:00
shliang%netscape.com
6fb1258807 195924, 195921, 195928 - popup blocking changes to use whitelisting only and provide info dlg when popup first encountered. r=danm, sr=jag. 2003-03-26 02:03:13 +00:00
timeless%mozdev.org
daa6c4ba43 Bug 199195 block images from this server doesn't work
patch by mvl@exedo.nl r=dwitte sr=darin
2003-03-26 00:46:33 +00:00
timeless%mozdev.org
17be30a1b5 Bug 199216 adding domain.com to whitelist doesn't allow popups from *.domain.com to appear
patch by mvl@exedo.nl r=dwitte sr=jag
2003-03-26 00:46:32 +00:00