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
pete%alphanumerica.com
0945a8d405
moving defs into header file
...
To fix bustage
--pete
git-svn-id: svn://10.0.0.236/trunk@112995 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-27 17:46:14 +00:00
pete%alphanumerica.com
fee3253b31
adding header files for linux for lstat
...
seeing if this fixes breakage
--pete
git-svn-id: svn://10.0.0.236/trunk@112994 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-27 17:31:24 +00:00
pete%alphanumerica.com
c7642c235b
b=107641, r=blizzard, sr=brendan
...
fix: CopyTo won't copy read-only files or broken symlinks
Thanks to garths@oeone.com for help on this one.
--pete
git-svn-id: svn://10.0.0.236/trunk@112993 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-27 14:31:25 +00:00
darin%netscape.com
bbbf7288b3
fixes bug 114778 "formpost temp files not cleaned up when browser exits"
...
patch=badami@netscape.com , r=rpotts@netscape.com , sr=darin@netscape.com
git-svn-id: svn://10.0.0.236/trunk@112917 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-26 00:38:37 +00:00
cathleen%netscape.com
3fcee4d2a1
remove memcpy function from nsCRT, eliminate 2 new nsCRT::memcpy callers
...
and fix up alighment problems from previous patch, bug 118135, sr=brenda r=dp
git-svn-id: svn://10.0.0.236/trunk@112913 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-26 00:04:45 +00:00
darin%netscape.com
111b45c759
fixing compiler warning of uninitialized variable resulting from my checkin
...
for bug 121441
git-svn-id: svn://10.0.0.236/trunk@112854 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-25 10:47:24 +00:00
darin%netscape.com
d46bc6687b
fixes bug 121441 "unable to publish via http PUT (nsStorageStream should
...
support nsISeekableStream)"
r=brade, sr=dveditz
git-svn-id: svn://10.0.0.236/trunk@112813 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-25 02:13:00 +00:00
alecf%netscape.com
496db28aa1
fix for bug 121627 - UTF8ConverterStream should not allocate - now that we've exposed ConvertUTF8toUCS2,
...
use it to do a conversion into the existing unichar buffer
r=dbaron, sr=jst
git-svn-id: svn://10.0.0.236/trunk@112772 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-24 23:53:53 +00:00
pinkerton%netscape.com
435ba291f1
allow --enable-default-toolkit=cocoa in makefiles and default toolkit can now be overridden on platform that don't use X11. r=cls/sr=hyatt. bug#121496
...
git-svn-id: svn://10.0.0.236/trunk@112696 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-24 15:11:18 +00:00
ccarlen%netscape.com
836c87ad5d
Bug 116435 - The provider in nsAppFileLocationProvider.cpp should always be registered. r=dougt/sr=rpotts/a=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@112539 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-22 23:00:44 +00:00
ccarlen%netscape.com
f1274efa1d
Removing file made obsolete by fix to bug 100828. r=rjc/sr=sfraser.
...
git-svn-id: svn://10.0.0.236/trunk@112315 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-16 05:52:50 +00:00
rjc%netscape.com
63e76f94e8
Fix bug # 120037: leading '.' indicates hidden when on Mac OS X. r=ccarlen sr=sfraser
...
git-svn-id: svn://10.0.0.236/trunk@112198 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-15 22:31:19 +00:00
ccarlen%netscape.com
5fe73517c2
Bug 56295 - doesn't work for file names > 31 chars. r=sdagley/sr=sfraser
...
git-svn-id: svn://10.0.0.236/trunk@112147 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-15 02:22:39 +00:00
sfraser%netscape.com
d0aa803d0e
Fix bug 103202; make nsLocalFileMac faster copying files by allocating a 512k buffer, and passing it to the MoreFiles routines that do file copying (which would otherwise use an internal 16K buffer). r=sdagley, sr=sspitzer.
...
git-svn-id: svn://10.0.0.236/trunk@112137 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-15 01:14:55 +00:00