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
kaie%netscape.com
a291c1cf5e
b=121570 Error code namespace needed for security component
...
r=dougt sr=jband
git-svn-id: svn://10.0.0.236/trunk@112861 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-25 15:17:25 +00:00
jdunn%netscape.com
d63561e2e5
Change certain AIX ifdefs to AIX_XLC_364 since these ifdefs are only
...
needed for AIX's xlC 3.6.4 compiler. Add test to configure to check
compiler version. NOTE: also adding hpux and aix check for keyboardutils.
r=cls@seawood.org
# 119179
git-svn-id: svn://10.0.0.236/trunk@112859 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-25 15:07:38 +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
seawood%netscape.com
ec756d5c48
Fix "static" build support for win32 gmake builds.
...
Bug #58981 r=bryner
git-svn-id: svn://10.0.0.236/trunk@112825 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-25 03:20:51 +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
fd6d75b30f
fix for bug 112209 - remove last consumers of nsStr:: routines
...
r=dbaron, sr=jst
git-svn-id: svn://10.0.0.236/trunk@112785 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-25 00:26:44 +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
alecf%netscape.com
ce5f992cb4
bug 108962 - shrink nsStr by 4 bytes by packing mCharSize and mOwnsBuffer into bits of mCapacity
...
r=dbaron, sr=jst, with an almost-sr=jag
git-svn-id: svn://10.0.0.236/trunk@112769 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-24 23:46:56 +00:00
hyatt%netscape.com
f876797bfb
Fix string fragments to compile in Objective C++ (for Cocoa widgets). r=danm, sr=brendan
...
git-svn-id: svn://10.0.0.236/trunk@112760 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-24 23:05:18 +00:00
waterson%netscape.com
5b39ccda93
Fix static build bustage.
...
git-svn-id: svn://10.0.0.236/trunk@112735 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-24 21:45:46 +00:00
alecf%netscape.com
0885d07bf5
fix for bug 114450 - be explicit about string comparison w.r.t. character size - no more hand-rolled vtables!
...
sr=jag, r=dbaron
git-svn-id: svn://10.0.0.236/trunk@112713 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-24 19:14:18 +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
jst%netscape.com
b9772d48fe
Fixing bug 120899. Changing the NS_WARN_IF_FALSE() macro so that it can't be mis-used in optimized builds. This change makes the macro not usable in expressions that are supposed to be evaluated in release code since the macro now expands to nothing in non-debug builds. Also eliminate NS_VALIDATE which is equally mis-usable. r=dbaron@fas.harvard.edu, sr=brendan@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@112678 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-24 09:20:51 +00:00
dp%netscape.com
e2ecc272e6
Adding nsRecyclingAllocator.h for mac export
...
git-svn-id: svn://10.0.0.236/trunk@112675 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-24 08:06:45 +00:00
dp%netscape.com
417d53e7e7
Fixing spelling mistake nsRecylingAllocator -> nsRecyclingAllocator
...
git-svn-id: svn://10.0.0.236/trunk@112671 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-24 07:16:34 +00:00
dp%netscape.com
447c430e80
bug 118061 Enabling nsRecyclingAllocator r=dveditz sr=sfraser
...
git-svn-id: svn://10.0.0.236/trunk@112668 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-24 06:48:58 +00:00
dp%netscape.com
09f8fb49b8
bug 118061 First version of nsRecyclingAllocator r=dveditz sr=sfraser
...
git-svn-id: svn://10.0.0.236/trunk@112667 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-24 06:41:01 +00:00
dp%netscape.com
826c21e7bc
bug 118061 Adding NS_NewTimer r=dveditz sr=sfraser
...
git-svn-id: svn://10.0.0.236/trunk@112666 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-24 06:37:38 +00:00
dougt%netscape.com
5d273d8abe
Adding nsIComponentRegistrar interface to the build. See 115853. r=dp@netscape.com, sr=jband@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@112620 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-24 01:50:35 +00:00
dougt%netscape.com
d383a669af
Cleanup of nsIModule. See 99154. r=dp@netscape.com, sr=jband@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@112613 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-24 01:29:40 +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
dougt%netscape.com
8d19907f79
removing nsMemory.h. This file now lives in xpcom/glue. bug 120685 sr=jband, a=blizzard
...
git-svn-id: svn://10.0.0.236/trunk@112451 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-18 20:12:36 +00:00
jst%netscape.com
2337395ba4
Fixing part of bug 118933. Speeding up the global resolve hook in the DOM JS helpers by eliminating the use of nsHashtable and nsStringKey in favor of pldhash. Adding global HashString(const nsA[C]String&) functions that calculate a hash code from a nsA[C]String, code by dbaron@fas.harward.edu. Also checking in brendan@mozilla.org's fix for a type error in the jsdhash/pldhash API found while working on this. sr=brendan@mozilla.org, r=peterv@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@112375 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-17 04:08:14 +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