941 Commits

Author SHA1 Message Date
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
mkaply%us.ibm.com
fd146b6d5e #1192111
r=mkaply, sr=blizzard
OS/2 only - better file dialog


git-svn-id: svn://10.0.0.236/trunk@112103 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-14 21:17:43 +00:00
blakeross%telocity.com
57cf280c62 86979 - launch file after donwloading does not honor OS file associations. r=ben sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@112052 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-14 05:24:49 +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
alecf%netscape.com
de696ad435 fix take 2 on bug 114134, crashes when reading utf8 strings from dtds/etc
r=dbaron, sr=jag
when multi-byte characters crossed a buffer boundary, we weren't correctly backing up and instead tried to decode the half-loaded utf8 character... in addition, our new "remainder" count was completely broken - we were adding the old remainder to the new remainder, when in fact we had just consumed the old remainder


git-svn-id: svn://10.0.0.236/trunk@112010 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-12 02:38:08 +00:00
darin%netscape.com
59c63dba70 these files no longer need to include nsEscape.h
git-svn-id: svn://10.0.0.236/trunk@111998 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-12 01:21:40 +00:00
darin%netscape.com
5ef0d8bd14 cleaning up some comments
git-svn-id: svn://10.0.0.236/trunk@111996 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-12 01:19:45 +00:00
darin%netscape.com
2bd466825a fixes first part of bug 109179 "replace NS_EscapeURL with NS_EscapeURLPart"
r=andreas.otte@debitel.net
sr=alecf@netscape.com


git-svn-id: svn://10.0.0.236/trunk@111974 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-11 23:02:22 +00:00
alecf%netscape.com
1768676137 dammit why does this break linux?!
backing out my last checkin


git-svn-id: svn://10.0.0.236/trunk@111972 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-11 22:44:30 +00:00
alecf%netscape.com
e6fbcc6ced progress towards 108962 - fix nsLinebreakConverter to stop using private nsStr members
r=dbaron, sr=jag


git-svn-id: svn://10.0.0.236/trunk@111970 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-11 22:40:09 +00:00
alecf%netscape.com
a6159e518f fix for bug 114134 - crash when localizing some strings
when multi-byte characters crossed a buffer boundary, we weren't correctly backing up and instead tried to decode the half-loaded utf8 character... in addition, our new "remainder" count was completely broken - we were adding the old remainder to the new remainder, when in fact we had just consumed the old remainder
r=dbaron, sr=jag


git-svn-id: svn://10.0.0.236/trunk@111965 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-11 20:34:11 +00:00
alecf%netscape.com
26792f7cf9 removal lame nsFileSpec operators, bug 100676 r=ccarlen sr=waterson
git-svn-id: svn://10.0.0.236/trunk@111730 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-09 21:31:19 +00:00
alecf%netscape.com
f6d3d22234 final fix for bug 100212 - removal final dependency on necko from xpcom by removing nsIFile.URL r=dougt, sr=darin Yay!
git-svn-id: svn://10.0.0.236/trunk@111722 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-09 20:03:46 +00:00
ccarlen%netscape.com
0adc398def smoketest blocker 118788 r=/sr=sfraser@netscape.com
git-svn-id: svn://10.0.0.236/trunk@111606 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-09 01:04:17 +00:00
dougt%netscape.com
6b5bff699c Fixes 116299 Reduce size of nsLocalFileWin by 2 ptrs by factoring out shortcut resolver. Also fixes crash 117258 caused by trying to create a file or directory to a nonexistant drive. sr=rpotts, dveditz for the first bug, and sr=darin, r=gagan for the second bug
git-svn-id: svn://10.0.0.236/trunk@111541 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-08 02:20:13 +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
ccarlen%netscape.com
85e8f1ab7c Bug 100828 - New file for nsLocalFileMac reworking. r=rjc@netscape.com/sr=sfraser@netscape.com
git-svn-id: svn://10.0.0.236/trunk@111487 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-07 14:31:44 +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
tingley%sundell.net
c0aa10d601 bug 100132: clean up over-zealous error masking in
nsRDFXMLDataSource::BlockingParse(), and bring nsLocalFileUnix's
OpenNSPRFileDesc() return values in line with other platforms.
r=waterson, sr=brendan


git-svn-id: svn://10.0.0.236/trunk@111039 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-22 19:08:48 +00:00
andreas.otte%debitel.net
ac8036d901 Fix bug 108575 [rethink contents of escape matrix] Change escaping of
', ~ and @ to better reflect rfc 2396, r=dougt@netscape.com, sr=darin@netscape.com


git-svn-id: svn://10.0.0.236/trunk@110997 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-21 22:29:02 +00:00