147 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
81cdb9a300 Fix comment. Bug 234895, patch by Simon Miller <mozbugs@nuvisions.ch>,
r=biesi, sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@152986 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-20 00:17:35 +00:00
jst%mozilla.jstenback.com
6629ad58f7 Fixing bug 232503. Start using Empty[C]String() to save a bit on code-size. r+sr=peterv@propagandism.org
git-svn-id: svn://10.0.0.236/trunk@152045 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-29 22:04:45 +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
cbiesinger%web.de
f31b771e91 bug 223990. Should have a getPrimaryExtensionForType function
r=bzbarsky sr=darin
also changes nsIMIMEService functions to start with a lowercase letter (only affects JS Callers)


git-svn-id: svn://10.0.0.236/trunk@149270 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-13 23:00:55 +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
jshin%mailaps.org
da70a88264 bug 205682 : URLs in html documents are saved (and sent back) in UTF-8. Get them saved/sent-back in the document charset (r=adamlock, sr=bz, a=chofmann)
git-svn-id: svn://10.0.0.236/trunk@145718 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-08 01:00:30 +00:00
cbiesinger%web.de
72ffd605aa 147679 GetFromMIMEType on Windows only gets one extension and needs rethinking r=bzbarsky sr=darin
this merges nsIMIMEService::GetFromType and GetFromExtension


git-svn-id: svn://10.0.0.236/trunk@145198 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-25 16:48:00 +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
alecf%flett.org
71e5d724e5 fix for bug 209220 - now that i18n APIs take ASCII charset names, update consumers to avoid excess conversions.. which usually means storing charset names as ASCII and updating a few other APIs
r=jkeiser, sr=jst and some great comments from jshin@mailaps.org


git-svn-id: svn://10.0.0.236/trunk@143800 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-17 16:40:34 +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
locka%iol.ie
ab858991fe Add code controlled by a persist flag to delete files and dirs if saveDocument returns with an error code. b=129332 r=brade@netscape.com sr=jaggernaut@netscape.com
git-svn-id: svn://10.0.0.236/trunk@143096 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-30 11:42:25 +00:00
dwitte%stanford.edu
dc7e857400 bug 100649: Length() being used where IsEmpty() is meant
treewide changes to convert incorrect usages of string.Length() to string.IsEmpty().

thanks to afatecha@idea.com.py (Ariel Fatecha) for the patch. r=dwitte, sr=jst.

got the ok from Asa to land into a closed tree.


git-svn-id: svn://10.0.0.236/trunk@142828 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-23 21:34:47 +00:00
locka%iol.ie
a2edefd4d6 Ensure strange urls don't resolve to empty filenames to prevent confusion when resolving duplicates later. b=206319 r=brade sr=jaggernaut a=dbaron
git-svn-id: svn://10.0.0.236/trunk@142811 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-23 09:36:32 +00:00
locka%iol.ie
3a4158511c Check if operation is cancelled before serializing files for upload. b=201610 r=brade@netscape.com sr=jaggernaut@netscape.com a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@142726 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-21 22:16:28 +00:00
darin%netscape.com
34e2dd7e34 fixes bug 201210 "Publishing to webdav server gives error when it goes OK [chunking?]" r=brade sr=alecf a=asa
git-svn-id: svn://10.0.0.236/trunk@142723 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-21 21:57:20 +00:00
locka%iol.ie
baedc29487 Tolerate broken links while saving documents, fix freeze. b=205668 r=brade sr=darin a=asa
git-svn-id: svn://10.0.0.236/trunk@142546 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-16 18:08:43 +00:00
locka%iol.ie
f050dc7871 Cancel channel uploads during cleanup. b=201610 r=brade@netscape.com sr=jaggernaut@netscape.com
git-svn-id: svn://10.0.0.236/trunk@141386 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-18 14:01:42 +00:00
locka%iol.ie
79d38ae90f Add PERSIST_FLAGS_DONT_CHANGE_FILENAMES flag to prevent filename munging during composer upload. b=138832 r=brade@netscape.com sr=jaggernaut@netscape.com
git-svn-id: svn://10.0.0.236/trunk@140235 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-25 12:19:05 +00:00
dougt%netscape.com
fed2927b2c Create a new xpcom obsolete library (and component library).
Moved nsFileSpec and related classes into this obsolete library.
  Moved nsRegistry and related libreg functionality into the obsolete library.

Updated many callers using the obsolete nsFile spec to use nsIFile and Necko to do file IO.

Combined the following DLLs (source -> dest)
  uriloader -> docshell
  shistory -> docshell
  jsurl -> jsdom
  gkview -> gklayout

Moved nsAdapterEnumerator out of xpcom/ds and into mailnews, since they're the only consumer

Modifed the xpt_link tool so that you can specify a “only include” cid list that can mask CID’s that you are not interested in.

Added build options:
Prevent the building of xpinstall (--disable-xpinstall)
Prevent the building js component loader (--disable-jsloader)
A build option to only build a single profile (--enable-single-profile)
A build flag to only built the required xpfe components (--disable-xpfe-components).

Removal or hiding of unused functions and classes including nsEscape*, nsDequeIterator, nsRecyclingAllocatorImpl, nsDiscriminatedUnion, nsOpaqueKey, nsCRT::strlen, NS_NewCommandLineService

Bug 194240, r/sr = darin, alec.


git-svn-id: svn://10.0.0.236/trunk@139480 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-15 01:04:32 +00:00
dbaron%dbaron.org
39e0d8adae Fix hang when saving pages with non-ASCII characters in URLs. b=191965 r=adamlock sr=bzbarsky a=asa
git-svn-id: svn://10.0.0.236/trunk@137679 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-11 20:28:44 +00:00
darin%netscape.com
09833d8405 fixes bug 189897 "Download starts with Download Error, then Cancel Button disabled"
r=adamlock sr=bzbarsky a=dbaron


git-svn-id: svn://10.0.0.236/trunk@136918 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-24 00:53:00 +00:00
darin%netscape.com
2b1d90b6ed modifications for bug 176919 "async streams" r=dougt,gordon sr=sspitzer a=valeski,asa
git-svn-id: svn://10.0.0.236/trunk@136572 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-18 02:15:14 +00:00
locka%iol.ie
fe8a1ddb91 Add cache key, referrer and extra headers parameters to nsIWebBrowserPersist::saveURI b=170722 r=bzbarsky@mit.edu sr=darin@netscape.com
git-svn-id: svn://10.0.0.236/trunk@136030 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 23:53:10 +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
rbs%maths.uq.edu.au
76ce811794 Refine the conversion of entities during serialization, b=169590, r=nhotta, sr=jst
git-svn-id: svn://10.0.0.236/trunk@135264 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-13 22:12:10 +00:00
locka%iol.ie
97c0b154e5 Comment out base elements during persistence rather than removing and reinserting them. b=179990 r=brade@netscape.com sr=heikki@netscape.com
git-svn-id: svn://10.0.0.236/trunk@134705 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-03 19:31:18 +00:00
heikki%netscape.com
cdcb47665c Bug 146062 and bug 136718, pay attention to namespaces in XML documents, and fix the small but important logic/typo error in handling xml-stylesheet href pseudo-attribute. r=adamlock, sr=alecf.
git-svn-id: svn://10.0.0.236/trunk@134211 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-20 23:09:00 +00:00
darin%netscape.com
abd2669870 fixes bug 173094 "Freeze nsIUploadChannel" r=dougt,timeless sr=rpotts
git-svn-id: svn://10.0.0.236/trunk@133847 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-14 20:36:20 +00:00
darin%netscape.com
b0d1215484 fixes bug 157135 "nsIFileURL need to be frozen" r=dougt sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@131256 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-06 02:20:35 +00:00
dougt%netscape.com
84eba1874e move contentEncodings and applyConversion to a new interface. r=neeti@netscape.com, sr=darin@netscape.com, b=157133
git-svn-id: svn://10.0.0.236/trunk@130602 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-27 19:23:21 +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
locka%iol.ie
94a10a6e88 Ignore empty uri strings during persistence. b=166269 r=brade@netscape.com sr=kin@netscape.com a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@128871 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-05 12:56:22 +00:00
bzbarsky%mit.edu
9a51d5df96 Persist non-unique frame filenames correctly. Bug 166184, r=adamlock, sr=kin
git-svn-id: svn://10.0.0.236/trunk@128741 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-03 22:17:05 +00:00
brade%netscape.com
4d96d95c3d initialize mSerializingOutput in constructor (bug 164917)
git-svn-id: svn://10.0.0.236/trunk@128461 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-29 13:49:12 +00:00
seawood%netscape.com
0b3ff474f3 Removing old nmake build makefiles. Bug #158528 r=pavlov
git-svn-id: svn://10.0.0.236/trunk@126975 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-10 07:55:43 +00:00
locka%iol.ie
c35ec937f6 Fixup link tags as stylesheets or anchors according to the value in their "rel" attribute. b=148797 r=brade@netscape.com sr=kin@netscape.com a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@125725 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-24 19:59:17 +00:00
locka%iol.ie
b98d9ca536 Fixup xml-stylesheet processing instructions. b=136718 r=heikki@netscape.com sr=kin@netscape.com
git-svn-id: svn://10.0.0.236/trunk@124885 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-09 21:40:19 +00:00
locka%iol.ie
74db7ff3c4 Obseleted by DOM TreeWalker. b=155066 r=sicking@bigfoot.com sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@124637 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-03 22:13:59 +00:00
locka%iol.ie
c5532ad19d Remove nsDOMWalker & nsIDOMWalker altogether. b=155066 r=sicking@bigfoot.com sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@124635 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-03 22:12:29 +00:00
locka%iol.ie
de008e9c95 Turn nsDOMWalker into an XPCOM object. b=155066 r=ccarlen sr=kin
git-svn-id: svn://10.0.0.236/trunk@124529 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-02 20:54:13 +00:00
bzbarsky%mit.edu
bcded6ff42 Save background images on tables/rows/cells. Bug 115532, r=adamlock, sr=jst
git-svn-id: svn://10.0.0.236/trunk@123824 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-21 22:33:50 +00:00
locka%iol.ie
92f24c181d Increase 20 character limit when creating filenames. b=134890 r=brade@netscape.com sr=kin@netscape.com
git-svn-id: svn://10.0.0.236/trunk@123190 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-12 21:47:43 +00:00
locka%iol.ie
206740d4be Persist data for embed & object tags. b=141316 r=brade@netscape.com sr=kin@netscape.com a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@122898 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-07 21:31:33 +00:00
brade%netscape.com
bd45eaa9a0 add flag and code to handle serialization of output (one file at a time) so that publishing doesn't fail due to too many logins or similar (bug 138662 and others); r=adamlock, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@122547 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-03 13:08:27 +00:00
jdunn%netscape.com
bc7394a43d fix AIX's xlC364 internal compiler error (just rearranging existing code)
# 143461
r=brade@netscape.com
sr=alecf@netscape.com


git-svn-id: svn://10.0.0.236/trunk@121924 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-21 13:26:30 +00:00
locka%iol.ie
d01d5ea51f Check for duplicate names when saving subframes. b=142846 r=brade@netscape.com sr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@121732 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-17 02:47:10 +00:00
dougt%netscape.com
d6cc711878 Fixes mozilla/strings requiring unfrozen nsCRT class. patch by scc, r=dougt, sr=jag, b=136756
git-svn-id: svn://10.0.0.236/trunk@121534 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 18:55:21 +00:00
darin%netscape.com
24feadaaed fixes bug 142870 "nsIFile should use UCS-2 instead of UTF-8"
r=dougt sr=alecf


git-svn-id: svn://10.0.0.236/trunk@121010 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 23:07:19 +00:00
darin%netscape.com
824def02af fixes bug 129279 "nsIFile unicode/utf8/ascii task"
r=dougt sr=alecf


git-svn-id: svn://10.0.0.236/trunk@120092 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 05:33:09 +00:00