974 Commits

Author SHA1 Message Date
seawood%netscape.com
0d828695c6 Backing out alecf's checkin for bug 124497 to fix comet startup test problem.
Dougt claims that nsLocalFile's copy constructor doesn't work.
r=sleestack


git-svn-id: svn://10.0.0.236/trunk@116946 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-20 03:16:09 +00:00
dougt%netscape.com
913114552b 99160. Moving utility functions into a seperate header. r=jband, sr=rpotts, a=brendan
git-svn-id: svn://10.0.0.236/trunk@116926 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-20 00:34:17 +00:00
alecf%netscape.com
afdf75f460 fix leak caused by nsLocalFile::Clone() where we were copying the refcnt to the new object - bug 124497
this ends up being more of a performance win than anyting on Unix and OS/2
r=mkaply, dbaron, sr=darin, a=asa


git-svn-id: svn://10.0.0.236/trunk@116924 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-20 00:25:21 +00:00
brade%netscape.com
2659b13ed3 always seek so variables are initialized properly, increment mSegmentNum before getting next block; bug 129760, r=dougt, sr=darin, a=Asa
git-svn-id: svn://10.0.0.236/trunk@116856 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-19 14:11:06 +00:00
alecf%netscape.com
adf49b8416 fix for bug 124497 - leaking nsLocalFile objects - the copy constructor was copying the refcount to the new object
so the new object would always leak
r=dbradley, sr=darin, a=asa


git-svn-id: svn://10.0.0.236/trunk@116701 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-16 05:30:15 +00:00
darin%netscape.com
3e1ff610f1 minor change of tense: "to read" -> "to be read"
git-svn-id: svn://10.0.0.236/trunk@116360 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-12 01:01:08 +00:00
darin%netscape.com
3872488d18 b=99165 Freeze nsIInputStream nsIOutputStream (not yet frozen... but close)
r=dougt sr=shaver a=asa


git-svn-id: svn://10.0.0.236/trunk@116359 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-12 00:59:06 +00:00
dougt%netscape.com
b259e606cb fixing a comment a=dbaron. bug 124002
git-svn-id: svn://10.0.0.236/trunk@116109 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-08 00:05:34 +00:00
ccarlen%netscape.com
a25eb59193 Bug 45699 - Load plugins from profiles directory. r=peterl/sr=roc+moz/a=asa
git-svn-id: svn://10.0.0.236/trunk@116058 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-07 15:24:40 +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
blakeross%telocity.com
a7f45cbbc0 128667 - launch windows app picker dialog if file has no association. r=law sr=ben a=asa
git-svn-id: svn://10.0.0.236/trunk@115898 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 01:11:34 +00:00
blakeross%telocity.com
842c743bf4 128969 - necessary dir/profile-related download manager changes. r=ccarlen sr=ben a=asa
git-svn-id: svn://10.0.0.236/trunk@115849 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-05 22:30:28 +00:00
cathleen%netscape.com
53c3ffa4c8 fix build bustage, due to nsCRT::strlen(char* s) removed
git-svn-id: svn://10.0.0.236/trunk@115472 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-28 05:00:18 +00:00
cathleen%netscape.com
99f53a6a0f fix bustage due to nsCRT::strlen(char* s) removed
git-svn-id: svn://10.0.0.236/trunk@115471 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-28 04:55:04 +00:00
dougt%netscape.com
ffacd7bc78 Adding build SDK support. r=dougt, sr=alecf, submitted by seawood, a=asa
git-svn-id: svn://10.0.0.236/trunk@115326 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-25 23:20:01 +00:00
brade%netscape.com
788df1798a only return NS_BASE_STREAM_WOULD_BLOCK when write is in progress (send NS_OK when we're done writing); (bug 121314; r=adamlock; sr=darin; a=shaver)
git-svn-id: svn://10.0.0.236/trunk@115313 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-25 18:49:16 +00:00
arougthopher%lizardland.net
c5d18ad8c1 Fix for Bug#69707
BeOS implementation of nsLocalFile::Launch and nsLocalFile::Reveal

r=cls (seawood@netscape.com)
a=asa (asa@mozilla.org) on behalf of drivers


git-svn-id: svn://10.0.0.236/trunk@115140 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-21 03:33:42 +00:00
cathleen%netscape.com
6a0e426e6c eliminate nsCRT::strlen for char* strings (part 5), bug 124536 r=dp sr=brendan
git-svn-id: svn://10.0.0.236/trunk@115070 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 06:38:38 +00:00
law%netscape.com
5b4ec5ba97 Bug 106082; Adds code to select item in Explorer window for Reveal(); r=sgehani, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@115048 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 05:41:34 +00:00
alecf%netscape.com
eff2f0d65b oops, back out this change, wasn't supposed to land
git-svn-id: svn://10.0.0.236/trunk@114824 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 23:00:11 +00:00
alecf%netscape.com
057eaef9e2 remove a bunch of dead code, and remove NS_COM from a bunch of concrete classes that weren't being used previously
r=jag, sr=shaver


git-svn-id: svn://10.0.0.236/trunk@114820 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 22:57:47 +00:00
bnesse%netscape.com
d45f1774d0 Fix for bug 98476. Add safe save & redundant backup support for prefs.js. r=sfraser, sr=alecf.
git-svn-id: svn://10.0.0.236/trunk@114704 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 21:18:38 +00:00
dbaron%fas.harvard.edu
ac6b721449 Remove more no-longer-needed nsComponentManager::RegisterComponent calls. Remove remnants of NS_IMPL_IDS macro, associated with long-gone NS_DECLARE_ID. b=125782 r=dougt rs=jag
git-svn-id: svn://10.0.0.236/trunk@114693 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 16:18:13 +00:00
jkeiser%netscape.com
8b0ed05ba8 Form submission performance / maintability improvements (bug 120682) r=alexsavulov,r=sicking,sr=jst
git-svn-id: svn://10.0.0.236/trunk@114620 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 01:19:24 +00:00
alecf%netscape.com
75ee95af3f bug 63025 - stop exporting nsFileSpecImpl as nobody is calling the constructor
r=dougt, sr=shaver


git-svn-id: svn://10.0.0.236/trunk@114549 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 00:20:49 +00:00
alecf%netscape.com
010ad5486d bug 63025 - remove nsFileSpecStreaming, as nobody is using it
r=dougt, sr=shaver


git-svn-id: svn://10.0.0.236/trunk@114548 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 00:19:33 +00:00
alecf%netscape.com
e4337ac76b part of fix to bug 63025 - stop exporting nsLocalFile on windows, because it's not imported by anyone
r=dougt, sr=shaver


git-svn-id: svn://10.0.0.236/trunk@114545 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 00:14:20 +00:00
mkaply%us.ibm.com
0326eb80dd 117258 from nsLocalFileWin put into OS/2 to fix trap
git-svn-id: svn://10.0.0.236/trunk@114314 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 22:14:32 +00:00
bzbarsky%mit.edu
e27ee398e4 Get rid of extra leading slashes appearing in unix paths. Bug 124873,
r=petejc@optonline.net, sr=brendan.


git-svn-id: svn://10.0.0.236/trunk@114303 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 21:05:56 +00:00
timeless%mac.com
b054da113d Bug 52037 w/ w95osr2 and beyond you can get freediskspace for a full path (eg UNC Paths).
The code will use the Ex API if available.
With this change the function should get the correct freespace numbers for submounts and junction points (introduced in w2k).

r=dougt sr=dveditz


git-svn-id: svn://10.0.0.236/trunk@113899 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 14:46:10 +00:00
brade%netscape.com
e772d6b508 optimization (don't call writer with 0 bytes); bug 122221; r=akkana, sr=darin
git-svn-id: svn://10.0.0.236/trunk@113897 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 14:19:32 +00:00
dougt%netscape.com
1569da98b1 backing out. not part of 122523 bug fix
git-svn-id: svn://10.0.0.236/trunk@113818 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 20:42:02 +00:00
dougt%netscape.com
9cf73ec70e Optimization which gathers stat() info when opening a file. bug 122523, r=dp@netscape.com, sr=dveditz@netscape.com
git-svn-id: svn://10.0.0.236/trunk@113817 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 20:40:40 +00:00
cathleen%netscape.com
ec77313291 eliminates 107 nsCRT::memset calls to use memset instead. removed nsCRT::memset() function. bug 118135 r=dp sr=brendan
git-svn-id: svn://10.0.0.236/trunk@113659 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 01:41:13 +00:00
ccarlen%netscape.com
caadeea75a Bug 121235 - Freeze nsIDirectoryServiceProvider2. r=dougt@netscape.com/sr=jband@netscape.com
git-svn-id: svn://10.0.0.236/trunk@113599 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-04 13:10:54 +00:00
bryner%netscape.com
632ac8da85 Fixing some warnings in xpcom. Bug 118377, r=hwaara, sr=shaver.
git-svn-id: svn://10.0.0.236/trunk@113571 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-03 07:05:10 +00:00
dougt%netscape.com
bb7377d5e8 backing out my optimization
git-svn-id: svn://10.0.0.236/trunk@113502 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-02 03:20:01 +00:00
darin%netscape.com
7814a2d020 should fix btek bustage
git-svn-id: svn://10.0.0.236/trunk@113501 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-02 02:49:52 +00:00
dougt%netscape.com
154c1a0782 fixes 122892. Optimization Clone of nsLocalFile. Instead of reiniting object, we use default c++ copy construction. r=ccarlen@netscape.com, sr=dveditz@netscape.com
git-svn-id: svn://10.0.0.236/trunk@113489 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-02 01:25:57 +00:00
alecf%netscape.com
0a5545c945 windows side of fix to bug 100676 - remove xpcom dependency on uconv by switching to native locale-conversion routines
r=ccarlen, sr=dveditz


git-svn-id: svn://10.0.0.236/trunk@113366 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-31 21:55:01 +00:00
alecf%netscape.com
c3215fb222 mac side of fix for bug 100676
code by ccarlen, r=alecf, sr=sfraser
remove xpcom dependency on uconv by switching to native mac locale-conversion routines


git-svn-id: svn://10.0.0.236/trunk@113365 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-31 21:54:16 +00:00
rjc%netscape.com
add5fc9aad Fix bug # 122571: add ability to determine if a directory is actually a package (for Mac OS 9/X) r=ccarlen sr=ben
git-svn-id: svn://10.0.0.236/trunk@113252 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-30 23:53:12 +00:00
dougt%netscape.com
2dfb45dde3 Backing out nsIFile changes which should not have landed.
git-svn-id: svn://10.0.0.236/trunk@113152 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-29 21:42:38 +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
seawood%netscape.com
8eaaa40a4c S_ISSOCK isn't defined on BeOS.
git-svn-id: svn://10.0.0.236/trunk@113026 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-28 07:02:02 +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
pete%alphanumerica.com
2930306a0e getting rid of -D_USE_BSD
Pulling implementation out of the header file seemed to have fixed the bustage

--pete


git-svn-id: svn://10.0.0.236/trunk@113001 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-27 18:57:41 +00:00
pete%alphanumerica.com
ecfebea9f2 adding -D_USE_BSD to see if lstat will work on these linux flavors
--pete


git-svn-id: svn://10.0.0.236/trunk@112998 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-27 18:32:11 +00:00
pete%alphanumerica.com
2585c334a6 adding -D_BSD_SOURCE to Makefile.in as seawood suggested
to fix linux bustage

--pete


git-svn-id: svn://10.0.0.236/trunk@112997 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-27 18:17:33 +00:00
pete%alphanumerica.com
e39572043e movind implementation of FilleStatCache into nsLocalFileUnix.cpp
where other calls to lstat work fine

This is an attempt to fix bustage on some linux platfroms

--pete


git-svn-id: svn://10.0.0.236/trunk@112996 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-27 18:02:18 +00:00