darin%meer.net
76ed9d7ac3
fixes bug 289178 "Move show_punycode pref into nsStandardURL" r=biesi sr=dbaron a=asa
...
git-svn-id: svn://10.0.0.236/trunk@172760 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-27 01:32:36 +00:00
bzbarsky%mit.edu
3eb77dae83
Fix nsStandardURL::Equals to always return true when a URL is compared to
...
itself or its clone. Bug 286702, r=biesi, sr=darin, a=brendan
git-svn-id: svn://10.0.0.236/trunk@172609 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-22 15:46:26 +00:00
bsmedberg%covad.net
fc4099e666
Bug 281414 - global s/nsIPrefBranchInternal/nsIPrefBranch2/ rs=darin (did not change backwards-compatible code in extensions/irc extensions/venkman or extensions/inspector)
...
git-svn-id: svn://10.0.0.236/trunk@169868 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-25 20:46:35 +00:00
jst%mozilla.jstenback.com
422681bb2a
Fixing bug 280947. Fix regression from bug 279945 that broke dragging images onto the client file system if the image URL didn't have a valid extension. r=bzbarsky@mit.edu, sr=dveditz@cruzio.com
...
git-svn-id: svn://10.0.0.236/trunk@168936 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-07 22:20:14 +00:00
bzbarsky%mit.edu
dcb1d46f70
Fix comparison of file:// uris. Bug 280206, r+sr=darin
...
git-svn-id: svn://10.0.0.236/trunk@168531 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-30 20:45:46 +00:00
darin%meer.net
3b7fed1008
fixes bug 261929 "Consider sending urls in UTF-8 by default (images/links with non-ASCII chacters not displayed)" r=jshin sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@167633 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-12 21:45:42 +00:00
smontagu%smontagu.org
aafdfb4e57
Make nsStandardURL.cpp read prefs on initialization. Bug 261934, r+sr=darin.
...
git-svn-id: svn://10.0.0.236/trunk@166392 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-07 13:21:32 +00:00
db48x%yahoo.com
5b16d9a80a
bug 272277: Change to Append/Assign/Equals-Literal in networking
...
patch by Mikael Parknert <mikael@parknert.se >, r=cbiesinger, sr=darin
git-svn-id: svn://10.0.0.236/trunk@166238 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-04 10:19:29 +00:00
bzbarsky%mit.edu
a37df37363
Fixing Windows build bustage.
...
git-svn-id: svn://10.0.0.236/trunk@166191 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-03 06:35:44 +00:00
bzbarsky%mit.edu
20f5906ee6
Use nsIFile::Equals to implement Equals for two nsStandardURLs that are both
...
file urls. Bug 127373, r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@166187 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-03 04:19:48 +00:00
dbaron%dbaron.org
02fe1a94b1
Make nsResURL work correctly with fastload and make nsResURL::Clone work correctly. b=252703 r=darin sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@166138 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-02 06:59:34 +00:00
dbaron%dbaron.org
4bbdb86a7a
Back out 252703 due to Txul / Ts regression.
...
git-svn-id: svn://10.0.0.236/trunk@166118 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-02 01:26:20 +00:00
dbaron%dbaron.org
4152e1ae96
Fix theme switching bugs related to insufficient change handling when entry points to themes are stylesheet links (processing instructions or XBL stylesheet elements) or xul:image src attributes by giving the chrome: protocol its own URL implementation that remembers the URL to which the chrome: URL was resolved and uses that resolved URL as part of equality testing. Fix various fastload issues arising from this change. b=252703 r=darin sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@166102 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-01 22:39:17 +00:00
smontagu%smontagu.org
8e8787c605
Crash clicking links with non-ASCII character. Bug 271196, r+sr=darin.
...
git-svn-id: svn://10.0.0.236/trunk@165735 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-24 20:43:58 +00:00
darin%meer.net
1946f08d6a
fixes bug 268480 "###!!! ASSERTION: cannot set user:pass on no-auth url: 'Error', file r:/mozilla/netwerk/base/src/nsStandardURL.cpp, line 1121" r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@165166 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-09 19:23:34 +00:00
bryner%brianryner.com
2405dc20ef
Various speedups for nsStandardURL creation (bug 268200). r+sr=darin
...
git-svn-id: svn://10.0.0.236/trunk@165084 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-07 20:43:38 +00:00
bryner%brianryner.com
42e3971c7c
Reduce string allocation/copying when the charset is UTF-* (bug 267611). r=darin.
...
git-svn-id: svn://10.0.0.236/trunk@164938 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-04 20:53:24 +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
darin%meer.net
a3b12334be
fixes bug 237819 "nsStandardURL should automatically convert ACE hostnames to UTF8" r=biesi sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@157674 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-09 21:41:28 +00:00
darin%meer.net
01c4b40434
fixes bug 243250 "reduce size of nsStandardURL" r=biesi sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@156253 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-11 18:58:58 +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
dbaron%dbaron.org
4ed895aa90
Perform the normalization of the hostname done by IDN when constructing the URL. b=237818 r=jshin sr=darin a=chofmann
...
git-svn-id: svn://10.0.0.236/trunk@154476 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-03 07:32:18 +00:00
jshin%mailaps.org
d43288db5b
bug 129726 : add a pref. entry for always sending URLs in UTF-8 (r=darin, sr=bzbarsky, a=asa)
...
git-svn-id: svn://10.0.0.236/trunk@154300 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-26 12:28:38 +00:00
darin%meer.net
55688e6410
landing string defragmentation patch for bug 231995, r/sr=dbaron,jst,dougt
...
git-svn-id: svn://10.0.0.236/trunk@152905 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-19 02:44:03 +00:00
bsmedberg%covad.net
824286124d
Bug 232201 part 2 - update consumers to use inherited nsIPrefBranchInternal interface. This should be happy for codesize. r=alecf sr=darin
...
git-svn-id: svn://10.0.0.236/trunk@151994 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-28 23:45:17 +00:00
dwitte%stanford.edu
b6778f6858
make nsStandardURL::GetFile cache its result and use nsIFile::Clone when handing
...
it out. we unfortunately need to clone until consumers of this method are fixed
to not modify the returned file (see bug 212724).
this should reduce Ts some...
b=122892, r=andreas.otte, sr=darin, with many thanks to biesi & mkaply for testing on other
plats.
git-svn-id: svn://10.0.0.236/trunk@144972 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-19 14:58:33 +00:00
andreas.otte%debitel.net
5c8bb26da2
fix bug 207298 [FTP directory problems w/ URL parsing when URL root is not filesystem root] this patch changes the normal resolver for relative urls so that when asked it recognizes special root markers and retains .. that go beyond root as it is necessary for the ftp protocol. r=dougt@meer.net, sr=darin@meer.net
...
git-svn-id: svn://10.0.0.236/trunk@144902 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-16 19:09:00 +00:00
bzbarsky%mit.edu
fcfa41755f
Optimize nsSegmentEncoder to not get an mEncoder unless it actually has
...
encoding to do (has a non-ascii spec segment). Bug 212475, r=darin, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@144786 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-12 23:06:13 +00:00
jaggernaut%netscape.com
3ce01b35bf
Purging tabs, r+sr=darin
...
git-svn-id: svn://10.0.0.236/trunk@144614 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-09 02:28:07 +00:00
bzbarsky%mit.edu
ec57574878
Make sure that nsSimpleURI also strips newlines out of the uri spec... Bug
...
211599, r=dougt, sr=darin
git-svn-id: svn://10.0.0.236/trunk@144577 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-08 20:09:17 +00:00
bzbarsky%mit.edu
d05edb9f6b
Change GetHrefUTF8 to GetHrefURI to make sure that we don't lose track of the
...
origin charset. Bug 166996, r=dbaron,darin sr=jst
git-svn-id: svn://10.0.0.236/trunk@144331 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-01 02:59:54 +00:00
alecf%flett.org
1c89787dc0
fix for bug 206379:
...
- combine nsICharsetConverterManager2 and nsICharsetConverterManager
- get rid of nsIAtom in most of the methods
- provide versions of getUnicodeDecoder/Encoder which don't do alias resolution
- change all charset types to ASCII strings
- clean up some other i18n APIs which could be simplified
- fix all consumers of all changed i18n interfaces
r=jshin, smontagu
rs=sfraser
git-svn-id: svn://10.0.0.236/trunk@143589 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-11 18:16:03 +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
nhotta%netscape.com
2e3cf9e4c9
Initialize IDN service at nsStandardURL constructor,
...
added pref observers for IDN related prefs,
bug 188218, r=darin, sr=alecf.
git-svn-id: svn://10.0.0.236/trunk@141029 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-11 17:05:56 +00:00
nhotta%netscape.com
9aad83b751
Change nsIIDNService to take AUTF8String and ACString,
...
bug 188410, r=darin, sr=alecf.
git-svn-id: svn://10.0.0.236/trunk@139405 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-13 23:06:14 +00:00
darin%netscape.com
ad6e223bf0
fixes bug 131237 "Don't assert at nsStandardURL::SetUserPass during normal
...
HTTP publishing" r=brade sr=kin
git-svn-id: svn://10.0.0.236/trunk@136155 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-10 09:43:32 +00:00
dbaron%dbaron.org
855a1b80fa
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@136019 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 22:35:09 +00:00
darin%netscape.com
8a27323c19
fixes bug 181732 "nordic mtv site produces 'is not a valid protocol'"
...
r=andreas.otte@debitel.net sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@134417 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-25 23:25:09 +00:00
alecf%netscape.com
e38457c675
take two at fixing bug 177401 - convert nsIBinaryStream over to using nsAString/nsACString for string values, to speed up fastload
...
sr=darin, r=dougt
(the previous checkin had a typo which disabled fastload entirely!)
git-svn-id: svn://10.0.0.236/trunk@133832 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-14 18:16:31 +00:00
alecf%netscape.com
1c16ef7f73
argh, back out my last checkin because Ts went UP not down!
...
git-svn-id: svn://10.0.0.236/trunk@133447 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-09 01:31:32 +00:00
alecf%netscape.com
aac40e7aa5
fix for bug 177401 - use nsAString& classes instead of wstring in nsIBinaryInputStream, to speed up fastload startup
...
sr=darin, r=dougt
git-svn-id: svn://10.0.0.236/trunk@133429 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-08 23:30:53 +00:00
dbradley%netscape.com
f23404fbd9
Bug 169902 - nsStandardURL::Resolve passes wrong length in some cases to ParseURL. r=dougt@netscape, sr=darin@netscape, a=brendan@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@131975 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-14 19:20:54 +00:00
dougt%netscape.com
a485c6b639
Provides support for a conditional interface map entry 172833, r=bzbarsky@mit.edu, sr=darin@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@131310 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-07 18:52:27 +00:00
darin%netscape.com
ef6903622e
fixing oops from checkin for bug 157135 (reported as bug 172930)
...
git-svn-id: svn://10.0.0.236/trunk@131268 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-06 19:31:11 +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
darin%netscape.com
1f66951fca
removes some printfs b=134691 patch=pkw@us.ibm.com r=nobody sr=darin
...
git-svn-id: svn://10.0.0.236/trunk@130271 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-23 19:29:05 +00:00
darin%netscape.com
292afed664
fixes bug 166792 "move nsIIOService::GetURLSpecFromFile, etc. to
...
nsIFileProtocolHandler" r=dougt sr=alecf
git-svn-id: svn://10.0.0.236/trunk@129541 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-13 19:32:45 +00:00
andreas.otte%debitel.net
28105a83c8
fix bug 163225 [success or failure of ExtractScheme is not enough to
...
decide if a url is absolute or relative] This is second part of the
stuff to support those deprecated relative urls of type http:file or
http:/path. By loosening the check on absolute uris in
nsIOService::NewURI nsStandardURL::Resolve gets a chance to do its job.
r=bbaetz, sr=darin
git-svn-id: svn://10.0.0.236/trunk@128489 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-29 21:31:55 +00:00
andreas.otte%debitel.net
2ddcbb421f
fix bug 32966 [http:/ (one slash) treated as http:// rather than /] We
...
now support some deprectated relative urls because RFC2396 allows for
a backwards compatibility implementation. Also fixes bug 22251, bug
40670, and some more. r=bbaetz, sr=darin
git-svn-id: svn://10.0.0.236/trunk@127537 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-17 11:56:52 +00:00
alecf%netscape.com
3eef59e2c8
fix other bustage
...
git-svn-id: svn://10.0.0.236/trunk@127475 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-16 16:17:13 +00:00