Граф коммитов

209 Коммитов

Автор SHA1 Сообщение Дата
valeski%netscape.com 53e6730628 removed defer logic as cookies are only accessed from the main thread. removed unused functions, converted stripline over to nsString equivelent, changed cookie deletion and list removal mechansim to use already cached indexes so we don't search the list again everytime we want to remove an element. also removed some extraneous statics 2000-08-03 06:40:35 +00:00
valeski%netscape.com baeaca09b4 removing lock/monitor usage from cookie code. cookies live on the main thread and any cross thread communication is marshalled, thus no need for this stuff. also fixing nsVoidArray leak. also cleaning up extraneous nsString usage. Also adding functional test harness for win32 2000-08-03 04:57:23 +00:00
valeski%netscape.com b1b4f373db removing extraneous string/memory usage 2000-08-01 23:44:38 +00:00
cls%seawood.org 1f3b6d75ab Removed obsolete REQUIRES variable from every Makefile.in/makefile.win 2000-06-30 08:08:04 +00:00
danm%netscape.com 8acd8939a0 change last revision to use general API rather than requiring a new one. r=morse@netscape.com. bug 25684 2000-06-30 01:23:16 +00:00
morse%netscape.com 45d2b9f94f bug 42362, assertions at startup, coder=roc+moz@cs.cmu.edu, r=morse, a=morse+waterson(anticipated) 2000-06-18 06:16:30 +00:00
danm%netscape.com 0a0a484b27 use nsIPrompt supplied by nsHTTPChannel for bringing up cookie dialog. bugs 25684,28594. r=morse@netscape.com 2000-06-16 14:56:47 +00:00
scc%mozilla.org 484ee8fb96 don't extract characters from empty strings 2000-06-11 08:19:41 +00:00
morse%netscape.com ac34451df8 fix bug 40031, checkin for Henrik Gemal, r=morse a=morse/waterson 2000-06-09 20:46:11 +00:00
warren%netscape.com 512c8bf433 Renaming nsIAllocator to nsIMemory (and nsAllocator to nsMemory). API cleanup/freeze. Bug #18433 2000-06-03 09:46:12 +00:00
sspitzer%netscape.com f46ad05a0b fix for bug #40248. I was using the category manager incorrectly.
thanks to bruce@cubik.org for pointing it out.
2000-06-01 04:14:34 +00:00
pinkerton%netscape.com ee00de26b6 just doing the right thing. fixes 41018, obfuscated and redundant code. r=many people. 2000-05-31 02:51:12 +00:00
cls%seawood.org 5be082e304 More OS/2 Makefile changes. Bug #34106 Batch 13 2000-05-11 14:15:34 +00:00
mjudge%netscape.com 2cfb602409 making string conversions explicit. scc 2000-04-26 01:13:55 +00:00
danm%netscape.com d0d8c4d5c3 dist...chrome restructuring 2000-04-19 21:42:30 +00:00
scc%netscape.com 798b6f2856 making string conversions explicit 2000-04-15 09:47:08 +00:00
mstoltz%netscape.com 6a76f09450 Made prefapi.h private and removed all #includes of it outside of libpref. r=norris 2000-04-15 03:43:09 +00:00
morse%netscape.com b50c359eeb fix bugs 34760 (not all cookies displayed in cookie viewer) and bug 34866 (better test for foreign images) 2000-04-12 05:28:53 +00:00
morse%netscape.com 70fe08bb41 fix bug 34952, cookie header should have Cookie: with uppercase C 2000-04-12 05:26:59 +00:00
cls%seawood.org f6740baa20 Moved static MOZ_COMPONENT_NSPR_LIBS, MOZ_COMPONENT_XPCOM_LIBS, MOZ_COMPONENT_LIBS definitions from configure.in to config.mk. Replaced -lxpcom in Makefiles to $(XPCOM_LIBS) so that we can optionally link against -lboehm when needed. Bug #31287 2000-04-04 04:46:38 +00:00
morse%netscape.com 82cbb9c3e1 fix bug 8530, expire cookies with excessive lifetimes, patch received from web 2000-04-04 04:19:01 +00:00
scc%netscape.com a9fbaea615 making string conversions explicit 2000-04-02 21:04:49 +00:00
jim_nance%yahoo.com dc0e139673 Bug 33322 - Fix compiler warnings. Its been on n.p.m.builds for a few
days for module owners to comment on.  r=troy@netscape.com
2000-03-30 03:21:26 +00:00
morse%netscape.com 5a5e50d442 implement a better test for determining foreign images 2000-03-26 23:36:03 +00:00
morse%netscape.com e2002f766d Implement API to add a permission 2000-03-26 20:26:15 +00:00
scc%netscape.com 122b0b8fb7 small changes to clients of string converting APIs 2000-03-26 01:35:54 +00:00
morse%netscape.com 689304e28b fix bug 32979, ability to block cookies when removing them with the cookie viewer 2000-03-23 21:22:36 +00:00
morse%netscape.com 7107518582 implement test for detecting foreign images 2000-03-19 16:58:35 +00:00
jst%netscape.com 872a669579 Landing changes Vidur made while the tree was closed for beta1 work, here's a list of the changes. r=me
[1] Cutting down the size of content. Made nsIJSScriptObject inherit from nsIScriptObjectOwner
[2] Cutting down the size of content. Made nsITextContent inherit from nsIContent.
[3] Cutting down the size of content. Moved implementation of nsIDOMReceiver to nsListenerManager. This is not true aggregation since it isn't transitive, but it's OK for now. It will be necessary for nsListenerManager to have a reference to its content in the future anyway, so the transitivity could be done.

dom/public/nsDOMPropEnums.h,v  - bug 12559
dom/public/nsIJSScriptObject.h,v - [1]
dom/public/html/MANIFEST,v - bug 12559
dom/public/html/Makefile.in,v - bug 12559
dom/public/html/makefile.win,v -  bug 12559
dom/public/html/nsIDOMHTMLInputElement.h,v - bug 17544
dom/public/idl/html/HTMLAnchorElement.idl,v - bug 12559
dom/public/idl/html/HTMLAreaElement.idl,v - bug 12559
dom/public/idl/html/HTMLInputElement.idl,v - bug 17544
dom/src/base/nsGlobalWindow.cpp,v - bug 30700
dom/src/base/nsGlobalWindow.h,v - [1]
dom/src/base/nsLocation.cpp,v - [1]
dom/src/html/nsJSHTMLAnchorElement.cpp,v - bug 12559
dom/src/html/nsJSHTMLAreaElement.cpp,v - bug 12559
dom/src/html/nsJSHTMLInputElement.cpp,v - bug 17544
layout/base/public/nsIDocument.h,v - bug 27953
layout/base/public/nsITextContent.h,v - [2]
layout/base/src/nsCommentNode.cpp,v - [2]
layout/base/src/nsDocument.cpp,v - bug 27953
layout/base/src/nsDocument.h,v - bug 27953
layout/base/src/nsDocumentViewer.cpp,v - bug 27953
layout/base/src/nsGenericDOMDataNode.cpp,v - [3]
layout/base/src/nsGenericDOMDataNode.h,v - [3]
layout/base/src/nsGenericElement.cpp,v - [3]
layout/base/src/nsGenericElement.h,v - [3]
layout/base/src/nsNameSpaceManager.cpp,v - bug 7834
layout/base/src/nsStyleContext.cpp,v - outline property shouldn't reflow
layout/base/src/nsTextNode.cpp,v - [2]
layout/events/src/nsEventListenerManager.cpp,v - [3]
layout/events/src/nsEventListenerManager.h,v - [3]
layout/html/base/src/nsGfxScrollFrame.cpp,v - nsString->nsAutoString
layout/html/content/src/nsAttributeContent.cpp,v - [2]
layout/html/content/src/nsHTMLAnchorElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLAppletElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLAreaElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLBRElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLBaseElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLBaseFontElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLBodyElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLButtonElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLDListElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLDelElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLDirectoryElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLDivElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLEmbedElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLFieldSetElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLFontElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLFormElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLFrameElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLFrameSetElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLHRElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLHeadElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLHeadingElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLHtmlElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLIFrameElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLImageElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLInputElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLInsElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLIsIndexElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLLIElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLLabelElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLLayerElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLLegendElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLLinkElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLMapElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLMenuElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLMetaElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLModElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLOListElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLObjectElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLOptGroupElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLOptionElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLParagraphElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLParamElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLPreElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLQuoteElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLScriptElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLSelectElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLSpacerElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLSpanElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLStyleElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableCaptionElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableCellElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableColElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableColGroupElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableRowElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableSectionElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTextAreaElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTitleElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLUListElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLWBRElement.cpp,v - [1][3]
layout/html/document/src/nsHTMLDocument.cpp,v - bug 27953
layout/html/document/src/nsHTMLDocument.h,v - bug 27953
layout/xml/content/src/nsXMLCDATASection.cpp,v - [1][2]
layout/xml/content/src/nsXMLDocumentType.cpp,v - [1][2]
layout/xml/content/src/nsXMLElement.h,v - [1][2]
layout/xml/content/src/nsXMLEntity.cpp,v - [1][2]
layout/xml/content/src/nsXMLNotation.cpp,v - [1][2]
layout/xml/content/src/nsXMLProcessingInstruction.cpp,v - [1][2]
layout/xul/base/src/nsBoxFrame.cpp,v - nsString->nsAutoString
layout/xul/base/src/nsSliderFrame.cpp,v - nsString->nsAutoString
netwerk/protocol/http/src/nsHTTPRequest.cpp,v - nsString->nsAutoString
rdf/content/src/nsXULDocument.cpp,v - bug 27953
rdf/content/src/nsXULDocument.h,v - bug 27953
rdf/content/src/nsXULElement.h,v - [1]
xpcom/base/IIDS.h,v  - bug 12559
2000-03-17 13:27:00 +00:00
morse%netscape.com 329b8a6974 fix bug 28956, consider netscape.com to be in the domain .netscape.com 2000-03-12 23:46:47 +00:00
rickg%netscape.com c82c1f2d0b replaced calls to deprecated string methods 2000-03-12 20:56:33 +00:00
morse%netscape.com 955865b04b fix bug 29156, fix memory leak 2000-03-12 17:37:19 +00:00
morse%netscape.com 7394bea2b7 fix memory leak -- bug 29866 2000-03-11 20:59:25 +00:00
morse%netscape.com e495006a22 generalize per-site permissions, r=norris 2000-03-11 20:02:45 +00:00
scc%netscape.com 01d4dc8a89 Fix build bustage on windows. r=sdagley 2000-02-15 05:08:48 +00:00
scc%netscape.com 6a8f4b8e5c Cookies expired too soon since |time()| on the Mac was based on the wrong epoch. Fixes bug #18633. r=morse 2000-02-15 04:30:33 +00:00
dp%netscape.com e08cdc92a1 Using NS_HTTP_STARTUP_CATEGORY for lazily startup cookies. 2000-02-08 06:34:05 +00:00
scc%netscape.com 73802d6f2e Pro5 update 2000-02-07 23:06:04 +00:00
morse%netscape.com 8a133041fb Cookie Permission file was not getting read in, r=dp 2000-02-05 05:42:02 +00:00
pp%ludusdesign.com 48e640ed4f Conversion to NS_GET_IID(). Bug #20232, r=scc@netscape.com 2000-02-01 14:26:27 +00:00
dp%netscape.com 87083c17e8 Using NS_METHOD to satisfy windows compiler instead of nsresult. 2000-01-31 22:57:28 +00:00
dp%netscape.com 0da5ddd2ea Backing out previous change until NS_CALLBACK issue on win is figured out. 2000-01-28 11:19:34 +00:00
dp%netscape.com a7a0170cbb Calling cookie register and unregister proc into the category from
generic module.
2000-01-28 10:22:47 +00:00
dougt%netscape.com ad73933331 nsIFile Landing 2000-01-24 21:31:43 +00:00
neeti%netscape.com 33fd4a049e fix for memory leak of EventQueueEntry, bug - 24090, r=warren/morse 2000-01-24 14:15:10 +00:00
dp%netscape.com 5c0fdcb6d2 Moving CID definition back into nsICookieService.h
Other code seems to be expecting it here. :-(
2000-01-22 23:13:58 +00:00
dp%netscape.com 601edfd956 Removing unused header file 2000-01-22 22:47:39 +00:00
dp%netscape.com 77b30382ad Preparing cookies for merging with necko.
- Eliminated interdepency betn CookieService and CookieHTTPNotify
- CID/Progid for CookieHTTPNotify
2000-01-22 22:46:13 +00:00
morse%netscape.com 4efac8b6a3 fix bug 24516, cookies file was being read one byte at a time, r=neeti 2000-01-22 20:24:48 +00:00
sford3%swbell.net b2c319eae7 Replace instances of nsTextFormater with nsTextFormatter, r=jst@citec.fi 2000-01-17 22:32:13 +00:00
morse%netscape.com 0d7d7eea84 add UniversalDialog, r=davidm 2000-01-05 03:17:11 +00:00
vidur%netscape.com 22ce6ce56f Fix for bug 16787. Added nsICookieService::CookieEnabled. a=don r=neeti/morse 1999-12-22 22:41:18 +00:00
morse%netscape.com 6cf2c4411b continue implementing reject-foreign-cookies pref, bug=13655, r=rjc, a=chofmann 1999-12-19 03:44:34 +00:00
morse%netscape.com 6133cf2276 fix memory leak, bug=22104, r=rjc, a=chofmann 1999-12-19 02:54:47 +00:00
morse%netscape.com fd0eab8f0a implement foreign-cookie pref, bug 13655, r=neeti, a=chofmann 1999-12-18 05:48:26 +00:00
sfraser%netscape.com bf67c7d948 Fix for 22065, cookies are read twice. a=sspitzer, r=leaf 1999-12-17 20:47:46 +00:00
mscott%netscape.com ff0ee4c6c9 fix circular reference between cookie notify and the cookie service.
remove circular reference on the cookie service.
 r=morse
1999-12-17 00:42:33 +00:00
tbogard%aol.net b20bdd6cd5 Checkin for valeski:"r=travis, fixing eval of un-init'd rv". 1999-12-07 02:06:25 +00:00
dp%netscape.com 8c0df8068f Checking error status on no url spec and returning error properly. r=morse@netscape.com 1999-12-06 23:29:41 +00:00
dp%netscape.com f71c099df5 Fixing leak of atoms. r=beard@netscape.com, morse@netscape.com 1999-12-06 23:28:26 +00:00
valeski%netscape.com 940d90a9cd r=sdagley. 20669. we were sending a cookie header for *every* url request; empty for urls that didn't have a cookie associated with them. Now we only set cookies when we have one to set 1999-12-03 07:01:23 +00:00
bryner%uiuc.edu b058c98ccd Make sure to use NS_RELEASE for XPCOM objects. This fixes some leaks of nsFileSpecImpl. r=morse. 1999-12-03 06:46:07 +00:00
morse%netscape.com 0579150f1d fix bug 20164, cookie viewer crashed on long cookies, r=andreas.otte 1999-12-02 14:23:28 +00:00
dp%netscape.com e456544de3 Delinking nsCookieHTTPNotify and cookie internal apis. Now the
nsCookieHTTPNotify calls the cookie api using the cookieservice. This
gets us to removing the nsCookieHTTPNotify off the cookie dll into
apprunner which would cause a delayed on demand load of the cookie
dll. r=neeti@netscape.com
1999-11-29 22:02:20 +00:00
dp%netscape.com 2520310d3d Adding back implementation for nsINetNotify. This got removed in the
previous checkin.
1999-11-23 22:05:18 +00:00
dp%netscape.com 1aadc2164e - Converting to using COMPtrs
- Caching of Atoms
- Making code readable
- Removing Create() method. Adding Init() method.
r=neeti
1999-11-23 21:57:05 +00:00
dp%netscape.com 08fee5cdf7 Improving readability of code. 1999-11-23 21:55:50 +00:00
waterson%netscape.com befc4cdd0c Be sure to release the mCookieHTTPNotify object. 1999-11-23 20:55:58 +00:00
dp%netscape.com 0b38786a86 Beautify... 1999-11-23 07:54:25 +00:00
dp%netscape.com a70196fb80 - Convering to GenericModule.
- Removing NS_DEFINE_IID
- Using NS_ISUPPORTS_IMPL1
1999-11-20 20:19:01 +00:00
dp%netscape.com da2839b347 Removing extra semi-colon 1999-11-20 08:04:59 +00:00
morse%netscape.com b9e809f4b6 fix bug 15111, mac not reading cookies file, r=rjc 1999-11-19 10:13:44 +00:00
cls%seawood.org 0ea4864d1d Removing dependency upon security/freenav module. r=alecf 1999-11-13 23:51:49 +00:00
cls%seawood.org dcb3aa39d9 Replaced NO_SECURITY ifdef with MOZ_SECURITY one. This causes pref_VerifyLockFile to always return PR_TRUE rather than linking against the dummy secfree library. This replacement also removed the last dependency upon that dummy library so it will no longer be built (next patch). 1999-11-09 23:13:53 +00:00
dmose%mozilla.org 142ac52eaf updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +00:00
cls%seawood.org bee74e223b Removed unused NECKO ifdefs.
a=leaf
1999-11-02 23:34:03 +00:00
morse%netscape.com 93f207e316 fix bug 17645, high-order bit on cookie character getting garbled, r=dp 1999-11-02 20:56:13 +00:00
tbogard%aol.net 10ded258a5 Changed NS_ENSURE_NOT to NS_ENSURE_FALSE to reflect API change. r=hyatt 1999-11-01 21:43:56 +00:00
morse%netscape.com e6ef0218a9 bug 17339, document.cookie throwing exception, r=neeti 1999-10-27 22:43:49 +00:00
morse%netscape.com e6b45e35c1 fix bug 16753, memory leak, r=rjc 1999-10-23 01:01:58 +00:00
edburns%acm.org 8a136db933 r=neeti@netscape.com
bug: 16679
approved by: neeti@netscape.com

Return NS_ERROR_FAILURE when a cookie is not found.
1999-10-19 00:03:33 +00:00
morse%netscape.com f6d9bf915d fix bug 16348, memory leak, r=neeti 1999-10-14 23:36:50 +00:00
morse%netscape.com b216201313 fix bug 15572, clean up build warnings, reviewed slamm 1999-10-05 23:58:45 +00:00
neeti%netscape.com a150a17c4e *** empty log message *** 1999-10-04 14:08:52 +00:00
beard%netscape.com 9eae33066d changed from directly using "MSL DropInRuntime.Lib" to using "NSComponentStartup.o" to enable GC leak detector. r=smfr 1999-10-03 20:46:23 +00:00
morse%netscape.com 4f13a6a21c fix bug 13952 -- make it localizable, r=ftang 1999-10-01 02:50:48 +00:00
morse%netscape.com 59f703061c fix bug 14145, approved chofmann 1999-09-26 09:38:07 +00:00
troy%netscape.com 5fc2000038 Removed annoying printf message 1999-09-17 01:45:00 +00:00
sfraser%netscape.com 74d713befd Export by #pragma, rather than exporting all globals 1999-09-14 00:49:38 +00:00
briano%netscape.com 6f97cd6289 General cleanup. 1999-09-11 01:34:27 +00:00
morse%netscape.com dc249edfd0 fix bug 13243 1999-09-10 19:11:04 +00:00
briano%netscape.com f3ec21eca8 Removed the obsolete non-NECKO junk. 1999-09-08 22:51:30 +00:00
briano%netscape.com 1992ecbc92 Cleaned it up. 1999-09-08 00:24:27 +00:00
bruce%cybersight.com 6203e2a9cf Use nsCRT::free() instead of delete[] for char* data. 1999-09-06 06:34:47 +00:00
morse%netscape.com c9cb183710 fix bug 13068 1999-09-04 23:26:34 +00:00
morse%netscape.com e1e3f251dc temporarily use OK/Cancel dialog instead of yes/no dialog because latter is busted 1999-09-04 23:24:46 +00:00
bruce%cybersight.com a0088b63f7 Replace delete[] for char* data with nsCRT::free() 1999-09-03 06:38:27 +00:00
kipp%netscape.com 592de366b8 Speed up cookie file handling by avoiding uselss string malloc/free's 1999-09-03 03:50:06 +00:00
alecf%netscape.com 46d5933849 remove link dependancy on prefs by using prefs service 1999-09-02 04:01:42 +00:00
sfraser%netscape.com 86986e1d79 Turn off stupid 'implicit arithmetic conversion' warnings. 1999-09-01 21:26:42 +00:00