5239 Commits

Author SHA1 Message Date
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
seawood%netscape.com
a9308f6d58 Use dynamic library & xpidl_module names from nmake build for win32 gmake builds for compatibility.
bug #58981 sr=jag


git-svn-id: svn://10.0.0.236/trunk@112307 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-16 05:10:09 +00:00
dbaron%fas.harvard.edu
bf3150fa5b Fix HP bustage.
git-svn-id: svn://10.0.0.236/trunk@112301 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-16 04:48:24 +00:00
dbaron%fas.harvard.edu
865e4ed64a Create a mechanism for allowing a |Destroy| method to be called on buffer handles whose refcount hits 0 instead of |delete|. Use that mechanism to fix threadsafety problems with shared empty buffer handles, restoring sharable strings to their previous state of threadsafety. b=117153 sr=jag r=alecf
git-svn-id: svn://10.0.0.236/trunk@112277 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-16 03:08:22 +00:00
jdunn%netscape.com
6972441d43 fixing xlC5.x compiler error: use a temp variable for the static_cast
sr=jaggernaut@netscape.com
# 119326


git-svn-id: svn://10.0.0.236/trunk@112274 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-16 03:06:47 +00:00
dbaron%fas.harvard.edu
f6776f3e37 Fix stack walking code to work correctly on RedHat 7.2 systems. b=106616 r=jag rs=blizzard
git-svn-id: svn://10.0.0.236/trunk@112250 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-16 00:40:36 +00:00
dbaron%fas.harvard.edu
c94020b3da Add nsValueArray.cpp to the build for blythe.
git-svn-id: svn://10.0.0.236/trunk@112231 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-15 23:57:01 +00:00
blythe%netscape.com
fd1d92a93d proactive change to avoid MAC bustage from last checkin
git-svn-id: svn://10.0.0.236/trunk@112221 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-15 23:20:35 +00:00
alecf%netscape.com
bfe2c85e5b factor out some table-based string manipulation routines to make it easier to seperate unicode vs. 8-bit character strings. bug 114450, r=dbaron sr=jag
git-svn-id: svn://10.0.0.236/trunk@112213 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-15 22:57:29 +00:00
blythe%netscape.com
8f002dba27 Fix bug 107270
Reduce nsCSSDeclaration footprint
r=dbaron, sr=hyatt


git-svn-id: svn://10.0.0.236/trunk@112202 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-15 22:43:37 +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
pavlov%netscape.com
ec9006ed1a patch from bug 116483 to avoid doing some pr_log related work when we don't need to. r=dougt sr=brendan
git-svn-id: svn://10.0.0.236/trunk@112138 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-15 01:20:47 +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
dougt%netscape.com
4011d640c0 adding check for null. GetThreadEventQueue can return a null queue which we need to check for
git-svn-id: svn://10.0.0.236/trunk@112128 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-15 00:43:10 +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
dougt%netscape.com
31a6612b88 Null protecting hashing code. 96322. r=dp@netscape.com sr=alecf@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@112083 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-14 20:10:48 +00:00
jband%netscape.com
d024232d2d fix bug 119387. Add a non-allocating IID version of the frequently used getIIDForParam method. r=dbradley sr=jst
git-svn-id: svn://10.0.0.236/trunk@112081 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-14 20:02:14 +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
dougt%netscape.com
f923afa8bf Removing monitor from FreeService() call. See bug 117218 for details, but basically we can run into a deadlock at shutdown. This patch assumes that (a) gXPCOMShuttingDown is set only by the UI thread during xpcom shutdown and (b) that all public API's check this flag before calling into the hashtable. r=dbaron@fas.harvard.edu, sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@112035 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-12 23:35:57 +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