5239 Commits

Author SHA1 Message Date
cathleen%netscape.com
184587ade7 eliminate 24 callers to nsCRT::memmove to use memmove from libC instead. removed nsCRT::memove() bug 118135 r=dp sr=brendan
git-svn-id: svn://10.0.0.236/trunk@113965 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 01:11:33 +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
408ba7a40c Fix for 103518. Call module destructor function *after* destroying factories. submitted by Henry.Jia@sun.com, r=dp/dougt, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@113819 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 20:47:37 +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
hwaara%chello.se
b82dbf0f7c #123347, "Remove #if 0-ed nsPrintfCString::GetReadableFragment()",
#123354, "Remove nsAFlatString.cpp and nsDependentString.cpp"

r/sr=jag, shaver


git-svn-id: svn://10.0.0.236/trunk@113796 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 15:39:52 +00:00
racham%netscape.com
f17221e5ab Fixing bug 122309. Adding a new routine that can take a string and parse it on a delimiter to add elements to the nsCStringArray. r=dougt, sr=jag
git-svn-id: svn://10.0.0.236/trunk@113693 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 08:35:28 +00:00
dougt%netscape.com
1f176a9aaf Fixing calling conventions of NS_IMPL_THREADSAFE_RELEASE. Submitted by Tobias Oberstein. r=me, sr=jband@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@113672 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 03:34:44 +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
dougt%netscape.com
37a71e53f5 Adding comments to the nsIGenericFactory file. bug 123442. r=gagan@netscape.com, sr=alecf@netscape.com
git-svn-id: svn://10.0.0.236/trunk@113657 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 01:38:43 +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
jband%netscape.com
5518ba6525 Add support for chaining 'additional managers' to the global interface info manager. This includes weakref support. This system allows us to dynamically aggregate interface info managers to support systems like SOAP. Clients of the interface info manager can traverse that list of additonal managers (if any are present) or ignore it. This fixes bug 103805. r=dbradley sr=vidur.
git-svn-id: svn://10.0.0.236/trunk@113546 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-03 00:56:16 +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
jaggernaut%netscape.com
69ac84dbd0 Bug 122083: Typing "v", "vi", "vie" ... "view-source" into URL bar and pressing enter freezes Mozilla. r=dbradley, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@113414 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-01 14:22:22 +00:00
alecf%netscape.com
f7ee18f044 one more part of fix for bug 107575, including the much coveted whitespace
remove aIgnoreCase parameter from all nsString and nsCString consumers
sr=jag, r=shaver


git-svn-id: svn://10.0.0.236/trunk@113390 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-01 01:53:09 +00:00
pete%alphanumerica.com
76dbb12d7a r=dougt
This file is very old and very outdated. Please use jslib for local file i/o
jslib.mozdev.org.

Not part of the build

--pete


git-svn-id: svn://10.0.0.236/trunk@113384 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-01 00:30:25 +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
dougt%netscape.com
b0f0084cf4 fixing another type
git-svn-id: svn://10.0.0.236/trunk@113362 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-31 21:45:04 +00:00
dougt%netscape.com
b75a3cfdef Fixing typo
git-svn-id: svn://10.0.0.236/trunk@113358 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-31 20:43:22 +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
9fad99d1de adding @return comments.
git-svn-id: svn://10.0.0.236/trunk@113231 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-30 21:56:34 +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
sfraser%netscape.com
a58abd053a Chamnges to allow for making every module's nsModuleComponentInfo data const; bug 74803. r=dp, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@113190 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-30 04:05:47 +00:00
seawood%netscape.com
18da129413 Use .get() when assigning nsXPIDLCString to const char*. Fixing OS/2 & AIX bustage.
git-svn-id: svn://10.0.0.236/trunk@113189 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-30 03:51:47 +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
jband%netscape.com
07ee695610 fix bug 121118. Don't crash if interfaceinfo is not resolvable at runtime. r=dbradley sr=brendan
git-svn-id: svn://10.0.0.236/trunk@113179 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-30 02:36:20 +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
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
mkaply%us.ibm.com
e5bf74f1f0 OS/2 code only - make it easier to turn off popup asserts if necessary by restructuring code
git-svn-id: svn://10.0.0.236/trunk@113060 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-28 23:26:31 +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
brendan%mozilla.org
2a9625df7c Fix a warning, clean up whitespace (r=diff -w, sr=gcc).
git-svn-id: svn://10.0.0.236/trunk@113011 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-27 23:56: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
f66db985f6 reverting back to original
define is not needed here

--pete


git-svn-id: svn://10.0.0.236/trunk@113000 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-27 18:56:02 +00:00
pete%alphanumerica.com
a6eeb89003 seeing if this fixes the linux bustage
--pete


git-svn-id: svn://10.0.0.236/trunk@112999 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-27 18:47:17 +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