42 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
84656e336e Don't allow SetSpec(EmptyCString()) on nsSimpleURI. Bug 263834, r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@163570 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-12 01:54:44 +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
bryner%brianryner.com
109d623425 Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan.
git-svn-id: svn://10.0.0.236/trunk@146624 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-07 23:12:15 +00:00
bzbarsky%mit.edu
c72fcc1fd4 Fix bug 212277. r=caillon, sr=darin
git-svn-id: svn://10.0.0.236/trunk@144877 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-15 07:01:16 +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
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
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
alecf%netscape.com
f25ebf57af warning fix for bug 12493 - quiet down on warnings when url spec is set to ""
sr=darin


git-svn-id: svn://10.0.0.236/trunk@127471 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-16 14:55:34 +00:00
darin%netscape.com
04849998e1 fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa
git-svn-id: svn://10.0.0.236/trunk@115936 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 07:48:55 +00:00
brade%netscape.com
e8852e32ae remove unused static kSocketTransportServiceCID saving 16 bytes (bug 117927; rs=darin)
git-svn-id: svn://10.0.0.236/trunk@111663 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-09 14:24:20 +00:00
jaggernaut%netscape.com
436d43f211 Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf
git-svn-id: svn://10.0.0.236/trunk@110579 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-16 11:58:03 +00:00
jaggernaut%netscape.com
51e0dc7a6c Bug 100476: Convert uses of member functions ToNewUnicode, ToNewCString and ToNewUTF8String to their global versions and remove support from nsCString and nsString. r=dbaron, rs=scc
git-svn-id: svn://10.0.0.236/trunk@104212 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 08:28:41 +00:00
gerv%gerv.net
13afb6d0f9 Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
git-svn-id: svn://10.0.0.236/trunk@104119 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 20:14:13 +00:00
brendan%mozilla.org
f5bc62edea FASTLOAD_20010703_BRANCH landing, r=dbaron, sr=shaver.
git-svn-id: svn://10.0.0.236/trunk@100030 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-31 19:05:34 +00:00
darin%netscape.com
9d03c579d0 Necko API changes, bug 74221. r=valeski, sr=rpotts.
git-svn-id: svn://10.0.0.236/trunk@91842 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-10 06:01:08 +00:00
valeski%netscape.com
ef0c94c88a sr=dougt. adding missing lowercaseing of scheme. 72720.
git-svn-id: svn://10.0.0.236/trunk@90308 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-24 00:58:32 +00:00
valeski%netscape.com
3dcd14eede sr=rpotts, r=gagan. 70743. switching over to new extensible URI::SchemeIs() api. and changing existing implementations over to new api. also modified nsHTTP and nsHTTPS handlers a bit to make things cleaner.
git-svn-id: svn://10.0.0.236/trunk@89421 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 02:01:07 +00:00
gagan%netscape.com
23c2955906 More of the scheme compare changes. This fixes the javascript: urls that I so shamelessly broke. The bug numbers are 66577 and 67347. r=mstoltz sr=brendan,shaver.
git-svn-id: svn://10.0.0.236/trunk@86413 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 01:12:19 +00:00
gagan%netscape.com
f3f5b36700 Optimization for scheme comparison of URIs. See bug 66577 for details. r=darin, sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@85797 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 01:33:03 +00:00
scc%mozilla.org
b9749d26ca fixing code that relied on implicit string construction
git-svn-id: svn://10.0.0.236/trunk@76712 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-19 20:01:04 +00:00
warren%netscape.com
dc67c1a356 Removing URIParser attribute from nsIURI interface. Fixed Equals for case when port is the default. Cached URL parsers (all 3) to reduce object allocation. r=andreas,dp
git-svn-id: svn://10.0.0.236/trunk@70825 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 08:27:40 +00:00
warren%netscape.com
377359d015 Bug 39416. Made ftp work with single sign-on for more than one user/host.
git-svn-id: svn://10.0.0.236/trunk@70373 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 07:12:40 +00:00
andreas.otte%primus-online.de
316b3dc114 fix bug 37616, Retire SetRelativePath, removing unused SetRelativePath from nsIURI.idl and all it's implementations, r=warren@netscape.com, a=mscott@netscape.com for the mailnews part
git-svn-id: svn://10.0.0.236/trunk@69561 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 13:05:00 +00:00
scc%netscape.com
30c94c1d11 making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@64906 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 22:31:00 +00:00
rickg%netscape.com
1bd57cb94b removed calls to deprecated string methods
git-svn-id: svn://10.0.0.236/trunk@62707 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 09:14:14 +00:00
valeski%netscape.com
867f16ef2b URL Parsing and implementation rewrite landing. Andreas Otte was generous enough to contribute these changes
git-svn-id: svn://10.0.0.236/trunk@59615 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-03 03:44:22 +00:00
sspitzer%netscape.com
24fd826e2a backing out andreas and warren
git-svn-id: svn://10.0.0.236/trunk@57840 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-14 22:01:56 +00:00
warren%netscape.com
41d0793ce9 Changes from andreas.otte@primus-online.de for numerous URL parsing bugs. r=warren
git-svn-id: svn://10.0.0.236/trunk@57808 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-14 08:50:03 +00:00
pp%ludusdesign.com
b5787cf895 Converting usage of ::GetIID() to NS_GET_IID().
Bug #20232, r=scc@netscape.com


git-svn-id: svn://10.0.0.236/trunk@57423 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 20:49:15 +00:00
dmose%mozilla.org
92d791b7b0 updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@52908 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:40:37 +00:00
warren%netscape.com
fa66ea22fe Structural changes for MakeAbsolute performance. bug#10736 r=valeski
git-svn-id: svn://10.0.0.236/trunk@52673 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-03 05:13:44 +00:00
warren%netscape.com
6a952509ef Lowercased idl method names for scriptability. Cleaned up nsIURL interface.
git-svn-id: svn://10.0.0.236/trunk@50406 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 01:39:37 +00:00
warren%netscape.com
3d8d35d25f Fixed warnings.
git-svn-id: svn://10.0.0.236/trunk@48377 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-20 20:57:21 +00:00
mccabe%netscape.com
69a8cf7c7b Fix to 7610. Modify xpidl compiler to add 'const' to the method signature for generated attribute setter methods for string, wstring and nsid attributes.
As this changed the generated interface signatures, I had to change all of the uses to avoid bustage.  Any corners of the browser that aren't built by default, or that I haven't discovered how to build, may be at risk of bustage if they use string or wstring attributes.  (This could mean blackwood; sorry, guys!)

Many thanks to Alec Flett (alecf@netscape.com) for preparing diffs for the mailnews portion of the signature changes; thanks also to Ariel Backenroth (arielb@rice.edu) and Mike Shaver (shaver@mozilla.org) for help with updating the tree with NS_DECL_NSIFOO macros; everwhere where one of these macros was used was one less place I had to manually add 'const'.

Also removed extraneous space from generated method signatures, leftover from Brendan's capitalization spam, and made 'const decl must be of type short or long' an error rather than just a warning.


git-svn-id: svn://10.0.0.236/trunk@48284 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-19 23:46:35 +00:00
gagan%netscape.com
7708ed2471 Fixed tabs to spaces and misc leaks...
git-svn-id: svn://10.0.0.236/trunk@44817 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 12:38:06 +00:00
tbogard%aol.net
a74ab35457 XPCOM Cleanup: Fixed Aggregation macros in nsAgg.h to do aggregation correctly. Fixed usages and implementation of aggregation using these macros through out the tree.
git-svn-id: svn://10.0.0.236/trunk@43556 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 05:36:30 +00:00
gagan%netscape.com
1168d37397 Fix MLK. Freeing up previous versions of mPath/mScheme
git-svn-id: svn://10.0.0.236/trunk@41645 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-31 00:15:49 +00:00
warren%netscape.com
2c5e794352 Fixed mismatched delete problem (purify).
git-svn-id: svn://10.0.0.236/trunk@41418 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-28 04:05:10 +00:00
gagan%netscape.com
fe009512c7 Changes for the standard URL parsing. Added SetRelativePath. Cleaned up the deletions (all thru nsCRT now) Added functionality for Query and Ref portions of the Path. Added DirFile function to nsIURL to allow just Directory and the Filename. Misc. cleanups as well.
git-svn-id: svn://10.0.0.236/trunk@40697 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-22 21:14:51 +00:00
warren%netscape.com
fbed121956 Added simple URI to parse about:foo, javascript:bar, etc.
git-svn-id: svn://10.0.0.236/trunk@37674 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-01 07:52:52 +00:00