114 Commits

Author SHA1 Message Date
darin%meer.net
cea1dc23ec fixes bug 319368 "Implement <a ping>" r=jst sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@187296 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-11 01:50:15 +00:00
jwatt%jwatt.org
c46320ed6b Fixing build bustage on Sun due to earlier checkin for bug 317628
git-svn-id: svn://10.0.0.236/trunk@186817 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-02 16:38:44 +00:00
jwatt%jwatt.org
d60db4e0fa Fixing bug 317628. Add "Web page, complete" to the Save File As... dialogue for SVG files. r=cbiesinger@gmx.at, sr=darin@meer.net
git-svn-id: svn://10.0.0.236/trunk@186806 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-02 02:43:53 +00:00
cbiesinger%web.de
84c23e42e8 bug 312370 forward nsIProgressEventListener calls to the webbrowserpersist
consumer
patch by Christian Persch <chpe@gnome.org> r=biesi sr=darin


git-svn-id: svn://10.0.0.236/trunk@182315 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-15 17:27:52 +00:00
cbiesinger%web.de
bd21588b97 Bug 312367 forward GI to the the webbrowserpersist's listener
patch by Christian Persch <chpe@gnome.org> r=biesi sr=darin


git-svn-id: svn://10.0.0.236/trunk@182264 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-14 19:05:43 +00:00
cbiesinger%web.de
d7a4736137 289843 release references to the listener when the download is complete
r=bz sr=darin a=asa


git-svn-id: svn://10.0.0.236/trunk@172733 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-26 14:07:21 +00:00
cbiesinger%web.de
74b67a13ed Bug 289650 nsIWebBrowserPersist should inherit from nsICancelable
r=darin sr=bz a=asa


git-svn-id: svn://10.0.0.236/trunk@171924 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-10 12:37:36 +00:00
cbiesinger%web.de
ae06f2015c 228968 r=bz sr=darin
- add a new nsIWebProgressListener2 interface, inheriting from
  nsIWebProgressListener, providing a 64-bit onProgressChange method
- make nsITransfer inherit from that interface, and remove an unused
  progressListener attribute
- make webbrowserpersist support listeners that implement
  nsIWebProgressListener2, and give them 64-bit progress values
- make nsIHelperAppLauncher's listener setWebProgressListener function take an
  nsIWebProgressListener2 interface

And fix up all implementations according to that.


git-svn-id: svn://10.0.0.236/trunk@171744 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-05 23:24:23 +00:00
cbiesinger%web.de
24b0bb81d6 281343 show an error message when filenames are too long; and convert that error
to an nsresult
patch by Son Le <son.le0@gmail.com> r=biesi sr=darin


git-svn-id: svn://10.0.0.236/trunk@170100 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-02 18:16:37 +00:00
bzbarsky%mit.edu
731458e72a Persist the "code" and "archive" attributes of applets. Bug 276453, r=biesi, sr=jst
git-svn-id: svn://10.0.0.236/trunk@169717 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-24 04:16:06 +00:00
darin%meer.net
af68519a8b fixes bug 241864 "M18a2 Crash after trying to save page and visiting other url or reload current url - [@ ntdll.dll - ???] [@nsCOMPtr<nsIURI>::assign_assuming_AddRef]" patch by son.le0@gmail.com, r=bzbarsky, sr=darin, a=asa
git-svn-id: svn://10.0.0.236/trunk@169238 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-16 08:02:08 +00:00
cbiesinger%web.de
7a0cda61b9 bug 264599 make unfrozen necko interfaces use 64-bit integers.
r=darin sr=bz a=asa


git-svn-id: svn://10.0.0.236/trunk@167443 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-09 20:43:35 +00:00
cbiesinger%web.de
4902dd2cc5 Bug 249508 disable image loading before setting a new src on image nodes when
saving complete web pages. r=bz sr=jst


git-svn-id: svn://10.0.0.236/trunk@167440 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-09 20:36:27 +00:00
darin%meer.net
ed9e4d3d7a eliminating uses of deprecated nsComponentManager:: methods (bug 267040), r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@164735 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-01 18:50:36 +00:00
bzbarsky%mit.edu
5171aa34e7 Remove the use of HEAD when saving files, since it's so poorly implemented by
servers.  Bug 160454, patch by Phil <Time_lord@hotmail.com> (to whom I'd like
to express my deepest thanks for doing this!), r=biesi, sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@163496 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-10 04:03:34 +00:00
peterv%propagandism.org
01e29b99dc Fix for 209699 (bug convert some consumers over to CopyUTF8toUTF16 / CopyUTF16toUTF8). r=jshin, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@162447 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-16 12:39:49 +00:00
cbiesinger%web.de
0d61e8567f Bug 228603 nsIWebBrowserPersist should have a saveChannel method
r=adamlock sr=darin


git-svn-id: svn://10.0.0.236/trunk@161841 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-07 14:42:23 +00:00
cbiesinger%web.de
5df503bf70 Bug 254952 make MIMEService/MIMEInfo-users make use of UTF-8 extensions
r=bzbarsky sr=darin


git-svn-id: svn://10.0.0.236/trunk@161593 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-01 17:46:23 +00:00
bzbarsky%mit.edu
dabfcb515f Make sure not to save magic _base_href attributes when saving a DOM. Bug
253507, r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@160330 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-04 03:14:18 +00:00
roc+%cs.cmu.edu
0b0fa89131 Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@157992 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-17 00:13:25 +00:00
roc+%cs.cmu.edu
bdc7e5f59b Bug 226439. Convert Seamonkey to EqualsLiteral. rs=darin
git-svn-id: svn://10.0.0.236/trunk@156785 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-22 22:15:22 +00:00
cbiesinger%web.de
9c013ff74b bug 240367, also filter out nsITransport::STATUS_READING and STATUS_WRITING
messages
r+sr=darin


git-svn-id: svn://10.0.0.236/trunk@155402 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-23 18:57:10 +00:00
gerv%gerv.net
586f796c2a Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155091 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 22:01:16 +00:00
darin%meer.net
66e8a5897c landing patch for bug 24867 "UI for FTP upload" r=biesi,neil sr=bryner
git-svn-id: svn://10.0.0.236/trunk@155005 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-17 00:58:23 +00:00
cbiesinger%web.de
39f2b721ec Bug 235502 nsIMIMEService, nsIMIMEInfo should use nsACString/nsAString instead of string/wstring
r=bzbarsky sr=darin


git-svn-id: svn://10.0.0.236/trunk@154941 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-15 20:56:37 +00:00
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
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