379 Commits

Author SHA1 Message Date
darin%netscape.com
8defbf5d26 b=128508 "freeze nsIChannel nsIRequest" r=gagan, sr=rpotts, a=asa
git-svn-id: svn://10.0.0.236/trunk@117002 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-20 22:50:33 +00:00
alecf%netscape.com
f4ad21ae3a a further nsString api reduction: remove the last case-insensitive PRUnichar*-to-PRUnichar* comparisons, moving to new API, and remove old methods from nsString. r=dougt, sr=jag a=scc
git-svn-id: svn://10.0.0.236/trunk@116842 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-19 06:46:56 +00:00
bbaetz%student.usyd.edu.au
3dde2468f3 Bug 127997 - Uninitialized memory read in nsStringBundle::FormatString
r=dougt, sr=darin, a=shaver


git-svn-id: svn://10.0.0.236/trunk@116373 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-12 05:56:29 +00:00
darin%netscape.com
8b8bec3e37 ward of mac bustage
git-svn-id: svn://10.0.0.236/trunk@116363 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-12 01:09:11 +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
alecf%netscape.com
8755908f04 bug 127091 - big string cleanup, removing old APIs
- removing Assign/AppendWithConversion for single-characters
- removing unused StripChars
- removing ReplaceChar[s] for non-matching chars
- removing CompressSet
- removing nsCString::Find/FindCharInSet/RFind for unichar strings
- removing lots of EqualsWithConversion
r=dp, sr=jag
a=asa


git-svn-id: svn://10.0.0.236/trunk@115750 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-04 23:18:21 +00:00
badami%netscape.com
4de1fca0c2 Leaking nsCStringKey objects
bug 73308 r=valeski sr=shaver a=brendan patch=tmutreja@netscape.com


git-svn-id: svn://10.0.0.236/trunk@115565 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-01 09:28:55 +00:00
pete%alphanumerica.com
c9ec997b94 b=118639, r=bbaetz, sr=darin, a=asa
inadvertantly removed a needed nsMemory::Free when cleaning up leaks in this file.

--pete


git-svn-id: svn://10.0.0.236/trunk@115257 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-23 00:41:52 +00:00
bbaetz%student.usyd.edu.au
b9916651eb Bug 106756 - fix vertical alignment for html directory viewer
r=basic, sr=sfraser, a=asa


git-svn-id: svn://10.0.0.236/trunk@115253 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-22 23:55:25 +00:00
badami%netscape.com
0ba82820c6 Rolling back fix for bug 73308.
Seems to be causing regression 126311.


git-svn-id: svn://10.0.0.236/trunk@115029 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 04:01:22 +00:00
neeti%netscape.com
527d475452 fix for bug 119220 - Occurances of uninitialized variables being used before being set, r=dougt, sr=darin
git-svn-id: svn://10.0.0.236/trunk@114797 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 15:22:56 +00:00
badami%netscape.com
ab6750dcd1 Leaking nsCStringKey objects
Bug 73308 patch=tmutreja@netscape.com r=gagan sr=brendan


git-svn-id: svn://10.0.0.236/trunk@114778 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 07:46:08 +00:00
bzbarsky%mit.edu
f68919f405 Relanding the Compare --> Equals conversion. a=mcafee
git-svn-id: svn://10.0.0.236/trunk@114163 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-10 15:49:46 +00:00
bzbarsky%mit.edu
ffecf7f104 Testing performance impact of backout of what's left of the patch from
bug 115289.  See bug 123947 for details. a=mcafee


git-svn-id: svn://10.0.0.236/trunk@114152 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-09 20:46:05 +00:00
darin%netscape.com
815b675702 fixes bug 116798 "Opening IMAP mail hangs Mail program (and Mozilla)"
patch=adu@sparc.spb.su r/sr=bienvenu,darin


git-svn-id: svn://10.0.0.236/trunk@114084 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 23:29:12 +00:00
pete%alphanumerica.com
71cc044475 bug=118639, sr=darin, r=dougt
fixed various leaks, expanded tabs and some style cleanup

--pete


git-svn-id: svn://10.0.0.236/trunk@114072 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 22:42:48 +00:00
bzbarsky%mit.edu
84bf45c17f Make parts of multipart streams expose content-disposition. Bug 123043,
r=law, sr=darin.


git-svn-id: svn://10.0.0.236/trunk@113743 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 03:39:04 +00:00
bzbarsky%mit.edu
2fd80b82c9 Convert Compare() to Equals() where possible now that we can do
case-insensitive Equals().  Bug 115289, r=alecf, sr=jag


git-svn-id: svn://10.0.0.236/trunk@113665 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 02:03:07 +00:00
seawood%netscape.com
e1a1ac02a7 Move impl of nsIndexedToHTML::Create from .h to .cpp to fix BeOS bustage.
Bug 74803 sr=sfraser


git-svn-id: svn://10.0.0.236/trunk@113643 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-04 23:23:21 +00:00
bzbarsky%mit.edu
e72122a020 Make the unknown decoder pick up <table> and <div>. Bug 83480, r=rpotts,
sr=darin


git-svn-id: svn://10.0.0.236/trunk@113526 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-02 16:10:04 +00:00
sfraser%netscape.com
67a35c1a08 Making the nsModuleComponentInfo data const; bug 74803. r=dp, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@113225 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-30 21:14:20 +00:00
alecf%netscape.com
4331ed65d3 First part of fix for bug 107575 - remove nsString::FindChar because there is already an nsAString::FindChar, and remove the "ignore case" option in RFindChar
r=dougt, sr=jag


git-svn-id: svn://10.0.0.236/trunk@113200 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-30 06:04:29 +00:00
cathleen%netscape.com
dd8ebc5bd1 eliminate nsCRT::zero() to use memset to zero instead, bug 118135, r=dp sr=waterson
git-svn-id: svn://10.0.0.236/trunk@113183 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-30 02:55:57 +00:00
cathleen%netscape.com
3ae7a2346b eliminate nsCRT::memcmp and all callers to use memcmp instead, bug 118135 r=dp sr=brendan
git-svn-id: svn://10.0.0.236/trunk@113144 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-29 21:30:32 +00:00
dougt%netscape.com
011f9b10e5 1. Converts callers of nsIComponentManagerObsolete to use
nsIComponentRegistrar.

2. Converts callers of nsComponentManager::AutoRegister to use
nsIComponentRegistrar's autoRegistrar method.

3. Add nsIComponentRegistrar implmentation to nsComponentManagerImpl.

4. Rearrange nsComponentManager.cpp so that related methods are in the same
place.

5. Added a C-style function NS_GetComponentRegistrar so that getting the
registrar is easier in some places.

6. Added a nsISimpleEnumerator interface on PLDHashTableEnumeratorImpl.  in
this way, the same base class can support both old style and new style
enumerations.

7. Fixed a nasty bug where unregistring factories will leave the contract id
hash with a dangling pointer.  Now, when unregister is called we search the
contract id hash for entries which have the given doomned cid and remove them.


Bug 115853.  r=dp@netscape.com, sr=rpotts@netscape.com


git-svn-id: svn://10.0.0.236/trunk@113143 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-29 21:22:13 +00:00
alecf%netscape.com
a3f49498a1 fix for bug 121508 - clean up nsStringStream and nsIParser APIs.. r=dougt, sr=jst
git-svn-id: svn://10.0.0.236/trunk@113007 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-27 22:02:00 +00:00
andreas.otte%debitel.net
5b26fee390 fix bug 114063 [error loading FTP URL served by publicfile] fix
uninitialized time/date struct that caused a crash, fix so that we can
navigate this strange server, r=bbaetz, sr=darin


git-svn-id: svn://10.0.0.236/trunk@112200 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-15 22:34:32 +00:00
cathleen%netscape.com
ea31156ed0 converted 271 references to nsCRT::memcpy to memcpy, bug 118135 r=dp
git-svn-id: svn://10.0.0.236/trunk@112013 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-12 03:18:55 +00:00
sspitzer%netscape.com
7722497eab fix for #118876. fix xml error when printing addressbook cards with < & or >.
use the txt to html converter to turn those into entities.
r=bienvenu,sr=mscott


git-svn-id: svn://10.0.0.236/trunk@111892 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-11 00:07:45 +00:00
brade%netscape.com
c059175b3b remove unused static KStreamConverterServiceCID saving 16 bytes (bug 117927; rs=darin)
git-svn-id: svn://10.0.0.236/trunk@111675 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-09 14:36:22 +00:00
brade%netscape.com
9776968a62 remove unused statics kIOServiceCID and kComponentManagerCID saving 32 bytes (bug 117927; rs=darin)
git-svn-id: svn://10.0.0.236/trunk@111673 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-09 14:34:51 +00:00
pete%alphanumerica.com
3aff0bf32e b=116170, r=dougt, sr=darin
fix for crash on ftp://ftp.dict.org/

--pete


git-svn-id: svn://10.0.0.236/trunk@111545 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-08 02:56:20 +00:00
alecf%netscape.com
b0e0e6d031 C++ side of fix for bug 100212 - move consumers of nsIFile.URL into nsIIOService. r=dougt, sr=darin
git-svn-id: svn://10.0.0.236/trunk@111529 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-08 01:31:25 +00:00
ccarlen%netscape.com
021c9dac7f Bug 100828 - nsLocalFileMac reworking. r=rjc@netscape.com/sr=sfraser@netscape.com
git-svn-id: svn://10.0.0.236/trunk@111488 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-07 14:35:04 +00:00
timeless%mac.com
21c081c8bc Bugzilla Bug 106386 rid source of these misspellings: persistant persistance priviledge protocal editting editted targetted targetting
r='s from many people. sr=jst


git-svn-id: svn://10.0.0.236/trunk@111049 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-23 23:23:41 +00:00
dougt%netscape.com
c01e94cad7 nsIComponentManager API Changes (bug 98553)
a) create a new nsIComponentManager with only four functions on it:
CreateInstance CreateInstanceByContractID GetClassInfo GetClassInfoByContractID.

b) rename the old nsIComponentManager to nsIComponentManagerObsolete.

c) fixes callers which use to access the nsIComponentManager for component
registration functionality.  These callers will temporary use the
nsIComponentManagerObsolete interface.

d) Create a new API NS_GetComponentManager() which mirrors the
NS_GetServiceManager()

e) Perserves the old NS_GetGlobalComponentManager().  Note the cast usage.

r/sr = rpotts@netscape.com  alecf@netscape.com  brendan@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@110748 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-19 00:12:41 +00:00
seawood%netscape.com
0bd62df729 Landing the rest of the win32 gmake changes:
* Adds Makefile.ins to win32 specific dirs
* Adds WINNT ifdefs to Makefile.ins
* Causes NSPR to be compiled with --with-mozilla
* Misc general Makefile.in cleanup

Bug #58981 r=mcafee


git-svn-id: svn://10.0.0.236/trunk@110703 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-18 09:14:29 +00:00
tor%cs.brown.edu
07b40ad301 Bug 66976 - turn on libpr0n MNG decoder. r=pavlov, sr=brendan.
Mac build patch by conrad, r=pinkerton, sr=sfraser


git-svn-id: svn://10.0.0.236/trunk@110639 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-17 22:07:03 +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
bbaetz%cs.mcgill.ca
2d5b449942 Bug 85381 again - left out the .h
git-svn-id: svn://10.0.0.236/trunk@109777 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 00:48:36 +00:00
bbaetz%cs.mcgill.ca
dda7b49dc6 Bug 85381 - spit html directory listings up into several tables to avoid
layout perf issues.
r=dougt,sr=darin


git-svn-id: svn://10.0.0.236/trunk@109768 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 00:10:11 +00:00
bbaetz%cs.mcgill.ca
218aedbf6a Bug 111117 - don't print the password in the <title> or the header for the
page.
r=dougt, sr=darin


git-svn-id: svn://10.0.0.236/trunk@109765 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 00:09:00 +00:00
darin%netscape.com
82d866c6cf fixing compiler warning, function missing a return value.
git-svn-id: svn://10.0.0.236/trunk@109067 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-28 00:24:00 +00:00
radha%netscape.com
ddac650d1a nsPartChannel implements nsIMultiPartChannel to provide access to base channel. r=darin sr=rpotts bug=99638
git-svn-id: svn://10.0.0.236/trunk@109050 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-27 23:13:10 +00:00
bzbarsky%mit.edu
c876bd8d34 For files starting with "#!" check whether the buffer contains any nulls
before deciding whether they are plain text.  Bug 110767, r=bbaetz, sr=rpotts


git-svn-id: svn://10.0.0.236/trunk@109023 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-27 21:20:25 +00:00
seawood%netscape.com
889469fd27 Rename 'install' build phase to 'libs'.
Bug #56601 r=pavlov


git-svn-id: svn://10.0.0.236/trunk@108684 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-21 09:49:41 +00:00
bzbarsky%mit.edu
1fb836ea17 Add detection of PDF and PostScript to the unknown content decoder.
Bugs 110662 and 110663, r=bbaetz, sr=rpotts


git-svn-id: svn://10.0.0.236/trunk@108486 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-19 20:25:53 +00:00
jaggernaut%netscape.com
d22bec017c Bug 98213: Make data members of nsStr protected and clean up code. r=dbaron, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@108048 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-14 12:35:52 +00:00
dbaron%fas.harvard.edu
13b5500ba3 Ensure that string literals are used as |const char*| rather than |char*|. r=jag sr=brendan b=107052
git-svn-id: svn://10.0.0.236/trunk@107583 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-07 06:24:10 +00:00
dbaron%fas.harvard.edu
52bea38360 Add assertions that users of nsDependentC?String meet the requirements of nsAFlatC?String. Add nsDependentSingleFragmentC?Substring for users that don't. Additional cleanup after bug 100214. b=104651 r=jag sr=scc
git-svn-id: svn://10.0.0.236/trunk@107556 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-07 04:12:20 +00:00