Граф коммитов

5499 Коммитов

Автор SHA1 Сообщение Дата
darin%netscape.com 026dda9f95 fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa 2002-03-06 07:48:55 +00:00
dougt%netscape.com 2741c14f93 Make generic module support usable by component and plugin developers. This patch removes the dependency on nsHashtable. bug 108233. sr=alecf@netscape.com, sr=jband@netscape.com, a=asa@mozilla.org 2002-03-06 04:22:27 +00:00
timeless%mac.com 301c2ad0df bug 114166 final cleanup for nsDeque ( comments + whitespace only )
r=akkana sr=darin a=asa
2002-03-06 03:21:17 +00:00
blakeross%telocity.com 1fab1436e3 128667 - launch windows app picker dialog if file has no association. r=law sr=ben a=asa 2002-03-06 01:11:34 +00:00
blakeross%telocity.com 58d9f58b87 128969 - necessary dir/profile-related download manager changes. r=ccarlen sr=ben a=asa 2002-03-05 22:30:28 +00:00
jband%netscape.com 94c550c515 Replace NS_REINTERPRET_CAST with an NS_STATIC_CAST so that the wrong interface on the enumerator is not returned to callers. Fixes bug 128858. r=rginda sr=shaver a=dbaron (on trunk and 0.9.9 branch) 2002-03-05 08:06:25 +00:00
shaver%mozilla.org 8e595ac5fd Bug 106864: xptcall support for the ARM platform, and mild jsnum.h arm-define
tweaks. Patches from Mark Crichton <crichton@gimp.org>, Russell King
<rmk@arm.linux.org>, Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com>.
r=brendan on jsnum.h, sr=shaver, a=asa for trunk and branch.
2002-03-05 06:35:50 +00:00
nisheeth%netscape.com fd47a2b589 Fix for bug 125465. r=jag, sr=jband, a=asa. Add AString, ACString, and AUTF8String support to XPCOM's variant data type. Also, add forward declarations of AString and ACString to nsrootidl.idl. 2002-03-05 02:22:02 +00:00
alecf%netscape.com 30260b9c1e bug 127091 - big string cleanup, removing old APIs
- removing Assign/AppendWithConversion for single-characters
- removing unused StripChars
- removing ReplaceChar[s] for non-matching chars
- removing CompressSet
- removing nsCString::Find/FindCharInSet/RFind for unichar strings
- removing lots of EqualsWithConversion
r=dp, sr=jag
a=asa
2002-03-04 23:18:21 +00:00
peterv%netscape.com 3f385c6c02 Fix for bug 5794 ([MAC]Aliasing NGLayoutConfigInclude.h to MacConfigInclude.h is evil). sr=sfraser, a=dbaron. 2002-03-03 10:57:06 +00:00
dp%netscape.com 70fb488334 bug 119631 nsSlidingString using a delete callback function r=dbaron@fas.harvard.edu, sr=jaggernaut, a=asa 2002-03-02 21:22:41 +00:00
badami%netscape.com c91edf9e38 Leaking nsCStringKey objects
bug 73308 r=valeski sr=shaver a=brendan patch=tmutreja@netscape.com
2002-03-01 09:28:55 +00:00
dougt%netscape.com 2133fdccdf Disables NSGetFactory support from XPCOM. sr=shaver@mozilla.org, r=dp@netscape.com, a=shaver@mozilla.org 2002-03-01 00:06:35 +00:00
dp%netscape.com 75ab95a0b8 (again) bug 127941 Fixing leak of bucket memory; memset to 0 only if zeroit is
set. r=dougt, sr&a=shaver@mozilla.org
2002-03-01 00:03:58 +00:00
dp%netscape.com ff27b61ff0 Backing out earlier change. Tree isn't open for checkin yet. Sorry. 2002-02-28 18:36:26 +00:00
dp%netscape.com fe8cceb3a9 bug 127941 Fixing leak of bucket memory; memset to 0 only if zeroit is
set. r=dougt, sr&a=shaver@mozilla.org
2002-02-28 18:30:48 +00:00
cathleen%netscape.com a3397b670d backout nsCRT.h change. put back nsCRT::strlen(char* s). tree is burning out of control. I swear it builds on my machine! :-( Will need to evaluate and try later 2002-02-28 05:23:40 +00:00
cathleen%netscape.com 657485f3cd fix build bustage, due to nsCRT::strlen(char* s) removed 2002-02-28 05:00:18 +00:00
cathleen%netscape.com 4e363c56e7 fix bustage due to nsCRT::strlen(char* s) removed 2002-02-28 04:55:04 +00:00
cathleen%netscape.com 6c4220cfcb eliminate nsCRT::strlen for char* strings (final part), bug 124536 r=dp sr=brendan a=roc+moz 2002-02-28 04:11:37 +00:00
dougt%netscape.com e4c81aa0e3 127093. adds nsID.h nsISupportsBase.h nscore.h to sdk. r=seawood, sr=alecf,rpotts, a=shaver 2002-02-27 00:35:06 +00:00
seawood%netscape.com c187055918 This patch:
* Changes MOZ_TRACE_MALLOC ifdefs to NS_TRACE_MALLOC ifdefs
* Links against the trace-malloc utils against libxpcom instead of just xpcomds
* Builds NSPR in debug mode on win32 if trace-malloc is enabled
* Adds a few "defined()" checks to diffbloatdump.pl so that it will work for
perl 5.6.1
* Adds a couple of checks for \r so that diffbloatdump.pl works on win32.

Bug #126915 r=bryner/dbaron a=asa
2002-02-26 09:26:10 +00:00
sfraser%netscape.com 99fb40c0e4 Fix build warnings. r=nisheeth 2002-02-26 03:01:27 +00:00
nisheeth%netscape.com 1fd0440412 Fix for bug 84186. r=dbradley, jag. sr=jband. Added support for CStrings, UTF8String, and AStrings to XPIDL. Also added the -t cmd line flag to XPIDL and XPTLINK that allows us to generate output for a specific XPT version. The XPT version number is being upped from 1.1 to 1.2 with this checkin. 2002-02-26 01:41:42 +00:00
dougt%netscape.com de4c2451f4 Adding build SDK support. r=dougt, sr=alecf, submitted by seawood, a=asa 2002-02-25 23:20:01 +00:00
brade%netscape.com 08cd808825 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) 2002-02-25 18:49:16 +00:00
brendan%mozilla.org 3823b68fa9 Sync these mirrored sources with their primaries at js/src/jsdhash.[ch] (see bug 62164, r=shaver, sr=jband). 2002-02-23 10:04:29 +00:00
arougthopher%lizardland.net d3983e1d8e 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
2002-02-21 03:33:42 +00:00
timeless%mac.com ff040bc742 HPUX rightly insists that class a{a::a(){}} isn't the right way to declare a constructor
fixed to class a{a(){}}.  I can't believe that msvc and gcc didn't mind what I did.
2002-02-20 14:29:12 +00:00
cathleen%netscape.com 981d3774de eliminate nsCRT::strlen for char* strings (part 5), bug 124536 r=dp sr=brendan 2002-02-20 06:38:38 +00:00
jkeiser%netscape.com 8c356f549b C++ wrapper for PLDHashTable (bug 125489), r=alecf@netscape.com, sr=brendan@mozilla.org 2002-02-20 06:08:53 +00:00
law%netscape.com 66bd14ab37 Bug 106082; Adds code to select item in Explorer window for Reveal(); r=sgehani, sr=hyatt 2002-02-20 05:41:34 +00:00
sfraser%netscape.com 94da55375a Adding nsITimerScriptable.idl to the XML project for sgehani. 2002-02-20 04:09:44 +00:00
sgehani%netscape.com 236293ae2b Land update notifications.
b=120201; r=law,pavlov; sr=dveditz
2002-02-20 04:01:34 +00:00
dbaron%fas.harvard.edu c09c703eed Some compilers (like gcc 3.0.3, at least) don't like a main that returns void, so make it return int. Fixing bustage. r=timeless 2002-02-20 03:20:04 +00:00
timeless%mac.com 96be4dca9d Bug 114166 Test app for nsDeque
rs=alecf
2002-02-20 03:09:40 +00:00
timeless%mac.com 51703c5d8f Bug 114166 rewrite nsDeque
r=akkana sr=alecf
rs=alecf for TestDeque.cpp
2002-02-20 03:08:32 +00:00
cathleen%netscape.com 8d48d2e7e6 eliminate nsCRT::strlen for char* strings (part 4), bug 124536 r=dp sr=brendan 2002-02-19 16:01:45 +00:00
dbradley%netscape.com f4fbed4e14 Bug 119382 - attribute nsIIDPtr IID considered harmful - This patch makes it an error to declare an attribute named IID or a method named getIID. r=jband, sr=jst 2002-02-19 14:48:00 +00:00
jdunn%netscape.com f64657ff60 adding xptc files for HP-UX 11.20 support of IPF (ia64 platform).
r=jband@netscape.com
r=cls@seawood.org
# 126293
2002-02-19 12:28:21 +00:00
dbaron%fas.harvard.edu bd561c280a nsDependentSingleFragmentSubstring shouldn't pretend to have a flat buffer, since it's only guaranteed to be single fragment, not null-terminated. b=122727 sr=jag r=alecf 2002-02-19 02:17:09 +00:00
alecf%netscape.com ce1b14f952 argh, add nsStorageStream back to the build - I didn't mean to check this in
(I had tested on the mac, but checked in from windows)
2002-02-19 00:30:01 +00:00
alecf%netscape.com 4ab7416f0b attempt to fix mac bustage while I wait on my mac build 2002-02-19 00:13:29 +00:00
alecf%netscape.com be588199b7 oops, back out this change, wasn't supposed to land 2002-02-18 23:00:11 +00:00
dp%netscape.com 300c7177e1 bug 125641 Adding id r=dougt sr=sfraser 2002-02-18 22:59:58 +00:00
alecf%netscape.com 789f07f13b 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
2002-02-18 22:57:47 +00:00
bryner%netscape.com c654010ca3 Fixing a compiler warning (bug 125949). r=bzbarsky, sr=alecf. 2002-02-18 22:42:37 +00:00
brendan%mozilla.org 81ddd6526f Digital filter for adaptive timeout adjustment, needs trunk baking, makes things better so far (117061, r=pavlov, sr=jst). 2002-02-18 00:10:55 +00:00
mozilla.BenB%bucksch.org 14e66adef7 125881: Has() must return true for existing properties (the key exists), which
have a 0 value.
r=dougt, sr=jband
2002-02-17 10:11:25 +00:00
bnesse%netscape.com 9de69a5c09 Fix for bug 98476. Add safe save & redundant backup support for prefs.js. r=sfraser, sr=alecf. 2002-02-16 21:18:38 +00:00
dbaron%fas.harvard.edu e76aaf24ca Speed up nsCRT::HashCode(const PRUnichar*) by renaming the version that does UCS-2 to UTF-8 conversion to nsCRT::HashCodeAsUTF8. r=jag sr=jst b=120363 2002-02-16 19:50:32 +00:00
dbaron%fas.harvard.edu d376f6e5e2 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 2002-02-16 16:18:13 +00:00
jkeiser%netscape.com fe1d4d2f35 Form submission performance / maintability improvements (bug 120682) r=alexsavulov,r=sicking,sr=jst 2002-02-16 01:19:24 +00:00
mkaply%us.ibm.com dd69fa6956 OS/2 bustage - this is defined in nsStrShared.h 2002-02-15 05:22:42 +00:00
alecf%netscape.com 0cb16d30d7 bug 63025 - stop testing some stuff that I'm ripping out of xpcom 2002-02-15 00:27:32 +00:00
alecf%netscape.com 0a50e96ede bug 63025 - stop exporting nsFileSpecImpl as nobody is calling the constructor
r=dougt, sr=shaver
2002-02-15 00:20:49 +00:00
alecf%netscape.com 8840f0b2f3 bug 63025 - remove nsFileSpecStreaming, as nobody is using it
r=dougt, sr=shaver
2002-02-15 00:19:33 +00:00
alecf%netscape.com 8633a527ca part of fix to bug 63025 - stop exporting nsLocalFile on windows, because it's not imported by anyone
r=dougt, sr=shaver
2002-02-15 00:14:20 +00:00
alecf%netscape.com 932ea50178 re-land fix for bug 107575, moving nsStr static routines into a private class/namespace 2002-02-14 23:23:55 +00:00
alecf%netscape.com 2b3f1e813f oops, back myself out - forward declared enums don't work on linux! 2002-02-14 23:14:50 +00:00
alecf%netscape.com 1b25620781 make all static nsStr:: members private, so they are not exported, and so the linker can cull them out
r=dbaron, sr=blake, jag
bug 125093
2002-02-14 23:08:38 +00:00
jband%netscape.com cc75a49c7b reorder members to avoid wasted space due to struct member alignment rules. This will generally save one machine word per XPTMethodDescriptor (and we make a bunch of those). bug 120005. r=dbradley, sr=shaver 2002-02-14 06:28:13 +00:00
jband%netscape.com d78d514afc avoid memcpy call when only copying one (PRUnichar) char. bug 109562. r=jag sr=brendan 2002-02-14 06:22:53 +00:00
sfraser%netscape.com d9f0eb6fef Fix crash on exit if NS_InitXPCOM2 failed (happens when running in a read-only dir if no component registry exists). Bug 104954. r=dp, sr=shaver 2002-02-14 03:26:19 +00:00
neeti%netscape.com 3609edf618 fix for bug 122438 - ConvertContractIDKeyToString(...) optimization, r=dougt,sr=alecf 2002-02-13 20:34:14 +00:00
mkaply%us.ibm.com c299cf2b2c 117258 from nsLocalFileWin put into OS/2 to fix trap 2002-02-12 22:14:32 +00:00
bzbarsky%mit.edu c01dc3e0c4 Get rid of extra leading slashes appearing in unix paths. Bug 124873,
r=petejc@optonline.net, sr=brendan.
2002-02-12 21:05:56 +00:00
ducarroz%netscape.com 0be687cc80 Fix bustage (again). 2002-02-12 05:17:18 +00:00
ducarroz%netscape.com 0c93d1cdd9 Fix bustage on Unix system. 2002-02-12 04:34:36 +00:00
timeless%mac.com e24ea538d5 Bug 124744 remove nsIPtr
r=bryner sr=alecf
2002-02-12 04:12:50 +00:00
ducarroz%netscape.com e2f4284ede Fix for bug 100591. We need to replace illegal characters in file name before trying to use it during a file save. R=cavin, law, SR=alecf, mscott 2002-02-12 03:57:39 +00:00
bzbarsky%mit.edu b553ca3a3a Make sure we never set a timer for before "now" when given a positive
delay.  Bug 124103, r=pavlov, sr=brendan
2002-02-08 23:45:26 +00:00
dp%netscape.com fcca498893 bug 123988 Optimizing timers out when there are no allocations held r=dougt,sr=sfraser 2002-02-08 22:50:40 +00:00
seawood%netscape.com f05a216d7f Update manifest files in attempt to quell mac bustage.
Bug #120474
2002-02-08 08:04:34 +00:00
seawood%netscape.com 593182ed37 These files have been moved into xpcom/glue
Bug #120474 r=dougt
2002-02-08 07:22:47 +00:00
seawood%netscape.com 08131bce87 Move nsDebug.* & nsWeakReference.* into xpcom glue lib.
Bug #120474 r=dougt
2002-02-08 06:35:15 +00:00
dougt%netscape.com 5ae41603ca Oversight not making nsISupportsWeakReference also frozen. bug 48726, r=dougt, sr=rpotts@netscape.com 2002-02-08 05:23:06 +00:00
cathleen%netscape.com 31f584b51c eliminate 24 callers to nsCRT::memmove to use memmove from libC instead. removed nsCRT::memove() bug 118135 r=dp sr=brendan 2002-02-08 01:11:33 +00:00
timeless%mac.com 8ca24bdabc 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
2002-02-07 14:46:10 +00:00
brade%netscape.com 39ee6aae6d optimization (don't call writer with 0 bytes); bug 122221; r=akkana, sr=darin 2002-02-07 14:19:32 +00:00
dougt%netscape.com 74e6a6c37f Fix for 103518. Call module destructor function *after* destroying factories. submitted by Henry.Jia@sun.com, r=dp/dougt, sr=alecf 2002-02-06 20:47:37 +00:00
dougt%netscape.com c33ce3b107 backing out. not part of 122523 bug fix 2002-02-06 20:42:02 +00:00
dougt%netscape.com 4730db4701 Optimization which gathers stat() info when opening a file. bug 122523, r=dp@netscape.com, sr=dveditz@netscape.com 2002-02-06 20:40:40 +00:00
hwaara%chello.se b43881a519 #123347, "Remove #if 0-ed nsPrintfCString::GetReadableFragment()",
#123354, "Remove nsAFlatString.cpp and nsDependentString.cpp"

r/sr=jag, shaver
2002-02-06 15:39:52 +00:00
racham%netscape.com c5701870fa 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 2002-02-05 08:35:28 +00:00
dougt%netscape.com 813f756c7f Fixing calling conventions of NS_IMPL_THREADSAFE_RELEASE. Submitted by Tobias Oberstein. r=me, sr=jband@netscape.com. 2002-02-05 03:34:44 +00:00
cathleen%netscape.com bf3e08eb5f eliminates 107 nsCRT::memset calls to use memset instead. removed nsCRT::memset() function. bug 118135 r=dp sr=brendan 2002-02-05 01:41:13 +00:00
dougt%netscape.com 995a1f3985 Adding comments to the nsIGenericFactory file. bug 123442. r=gagan@netscape.com, sr=alecf@netscape.com 2002-02-05 01:38:43 +00:00
ccarlen%netscape.com 889724c429 Bug 121235 - Freeze nsIDirectoryServiceProvider2. r=dougt@netscape.com/sr=jband@netscape.com 2002-02-04 13:10:54 +00:00
bryner%netscape.com 2f31b61684 Fixing some warnings in xpcom. Bug 118377, r=hwaara, sr=shaver. 2002-02-03 07:05:10 +00:00
jband%netscape.com cfecd64ca5 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. 2002-02-03 00:56:16 +00:00
dougt%netscape.com 24a9811989 backing out my optimization 2002-02-02 03:20:01 +00:00
darin%netscape.com b7e3fa3d4c should fix btek bustage 2002-02-02 02:49:52 +00:00
dougt%netscape.com 0a1343fef5 fixes 122892. Optimization Clone of nsLocalFile. Instead of reiniting object, we use default c++ copy construction. r=ccarlen@netscape.com, sr=dveditz@netscape.com 2002-02-02 01:25:57 +00:00
jaggernaut%netscape.com d089c910d6 Bug 122083: Typing "v", "vi", "vie" ... "view-source" into URL bar and pressing enter freezes Mozilla. r=dbradley, sr=alecf 2002-02-01 14:22:22 +00:00
alecf%netscape.com 634e2f6f0c 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
2002-02-01 01:53:09 +00:00
pete%alphanumerica.com 9e6ea99a97 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
2002-02-01 00:30:25 +00:00
alecf%netscape.com bd4e311c6e windows side of fix to bug 100676 - remove xpcom dependency on uconv by switching to native locale-conversion routines
r=ccarlen, sr=dveditz
2002-01-31 21:55:01 +00:00
alecf%netscape.com 868bfcccdc 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
2002-01-31 21:54:16 +00:00
dougt%netscape.com ccaf0a9723 fixing another type 2002-01-31 21:45:04 +00:00
dougt%netscape.com 8074370872 Fixing typo 2002-01-31 20:43:22 +00:00
rjc%netscape.com a3c29b350a Fix bug # 122571: add ability to determine if a directory is actually a package (for Mac OS 9/X) r=ccarlen sr=ben 2002-01-30 23:53:12 +00:00
dougt%netscape.com 843c41e945 adding @return comments. 2002-01-30 21:56:34 +00:00
sfraser%netscape.com d285f8f560 Making the nsModuleComponentInfo data const; bug 74803. r=dp, sr=waterson 2002-01-30 21:14:20 +00:00
alecf%netscape.com b417379c8c 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
2002-01-30 06:04:29 +00:00
sfraser%netscape.com a7d960f722 Chamnges to allow for making every module's nsModuleComponentInfo data const; bug 74803. r=dp, sr=waterson 2002-01-30 04:05:47 +00:00
seawood%netscape.com 0e1e154af1 Use .get() when assigning nsXPIDLCString to const char*. Fixing OS/2 & AIX bustage. 2002-01-30 03:51:47 +00:00
cathleen%netscape.com 370959ffe2 eliminate nsCRT::zero() to use memset to zero instead, bug 118135, r=dp sr=waterson 2002-01-30 02:55:57 +00:00
jband%netscape.com 0e1389b8f2 fix bug 121118. Don't crash if interfaceinfo is not resolvable at runtime. r=dbradley sr=brendan 2002-01-30 02:36:20 +00:00
dougt%netscape.com 206ace9e22 Backing out nsIFile changes which should not have landed. 2002-01-29 21:42:38 +00:00
cathleen%netscape.com 8dd5a02295 eliminate nsCRT::memcmp and all callers to use memcmp instead, bug 118135 r=dp sr=brendan 2002-01-29 21:30:32 +00:00
dougt%netscape.com 894fdcfaaf 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
2002-01-29 21:22:13 +00:00
mkaply%us.ibm.com 16bf32f240 OS/2 code only - make it easier to turn off popup asserts if necessary by restructuring code 2002-01-28 23:26:31 +00:00
seawood%netscape.com 586b7ebf8a S_ISSOCK isn't defined on BeOS. 2002-01-28 07:02:02 +00:00
brendan%mozilla.org 65dcf650b8 Fix a warning, clean up whitespace (r=diff -w, sr=gcc). 2002-01-27 23:56:02 +00:00
alecf%netscape.com 8c9bfa6586 fix for bug 121508 - clean up nsStringStream and nsIParser APIs.. r=dougt, sr=jst 2002-01-27 22:02:00 +00:00
pete%alphanumerica.com c265760507 getting rid of -D_USE_BSD
Pulling implementation out of the header file seemed to have fixed the bustage

--pete
2002-01-27 18:57:41 +00:00
pete%alphanumerica.com 3ca15cde59 reverting back to original
define is not needed here

--pete
2002-01-27 18:56:02 +00:00
pete%alphanumerica.com 65d64877dd seeing if this fixes the linux bustage
--pete
2002-01-27 18:47:17 +00:00
pete%alphanumerica.com 22b70e5f0d adding -D_USE_BSD to see if lstat will work on these linux flavors
--pete
2002-01-27 18:32:11 +00:00
pete%alphanumerica.com c0e8aa86cc adding -D_BSD_SOURCE to Makefile.in as seawood suggested
to fix linux bustage

--pete
2002-01-27 18:17:33 +00:00
pete%alphanumerica.com 6378a808f9 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
2002-01-27 18:02:18 +00:00
pete%alphanumerica.com b35ea4be45 moving defs into header file
To fix bustage

--pete
2002-01-27 17:46:14 +00:00
pete%alphanumerica.com 951fb6998c adding header files for linux for lstat
seeing if this fixes breakage

--pete
2002-01-27 17:31:24 +00:00
pete%alphanumerica.com d227b4de36 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
2002-01-27 14:31:25 +00:00
darin%netscape.com 0431b46cfe fixes bug 114778 "formpost temp files not cleaned up when browser exits"
patch=badami@netscape.com, r=rpotts@netscape.com, sr=darin@netscape.com
2002-01-26 00:38:37 +00:00
cathleen%netscape.com 2431b85ca9 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
2002-01-26 00:04:45 +00:00
kaie%netscape.com 30d299d361 b=121570 Error code namespace needed for security component
r=dougt sr=jband
2002-01-25 15:17:25 +00:00
jdunn%netscape.com 7294110bc7 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
2002-01-25 15:07:38 +00:00
darin%netscape.com dbeebe2535 fixing compiler warning of uninitialized variable resulting from my checkin
for bug 121441
2002-01-25 10:47:24 +00:00
seawood%netscape.com 6a70bafd9e Fix "static" build support for win32 gmake builds.
Bug #58981 r=bryner
2002-01-25 03:20:51 +00:00
darin%netscape.com 327521beca fixes bug 121441 "unable to publish via http PUT (nsStorageStream should
support nsISeekableStream)"
r=brade, sr=dveditz
2002-01-25 02:13:00 +00:00
alecf%netscape.com 35cbed4db5 fix for bug 112209 - remove last consumers of nsStr:: routines
r=dbaron, sr=jst
2002-01-25 00:26:44 +00:00
alecf%netscape.com c6d8ee7049 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
2002-01-24 23:53:53 +00:00
alecf%netscape.com 7a7dec2c27 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
2002-01-24 23:46:56 +00:00
hyatt%netscape.com 0f5415784b Fix string fragments to compile in Objective C++ (for Cocoa widgets). r=danm, sr=brendan 2002-01-24 23:05:18 +00:00
waterson%netscape.com 105d41ff44 Fix static build bustage. 2002-01-24 21:45:46 +00:00
alecf%netscape.com 0b5abd6365 fix for bug 114450 - be explicit about string comparison w.r.t. character size - no more hand-rolled vtables!
sr=jag, r=dbaron
2002-01-24 19:14:18 +00:00
pinkerton%netscape.com 30c642c36e 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 2002-01-24 15:11:18 +00:00
jst%netscape.com 48f217780d 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 2002-01-24 09:20:51 +00:00
dp%netscape.com 27439a01f6 Adding nsRecyclingAllocator.h for mac export 2002-01-24 08:06:45 +00:00
dp%netscape.com 7a0c84be94 Fixing spelling mistake nsRecylingAllocator -> nsRecyclingAllocator 2002-01-24 07:16:34 +00:00
dp%netscape.com 875e6a305f bug 118061 Enabling nsRecyclingAllocator r=dveditz sr=sfraser 2002-01-24 06:48:58 +00:00
dp%netscape.com 10f15d75f3 bug 118061 First version of nsRecyclingAllocator r=dveditz sr=sfraser 2002-01-24 06:41:01 +00:00
dp%netscape.com a39dd81ba9 bug 118061 Adding NS_NewTimer r=dveditz sr=sfraser 2002-01-24 06:37:38 +00:00
dougt%netscape.com daf9d599d9 Adding nsIComponentRegistrar interface to the build. See 115853. r=dp@netscape.com, sr=jband@netscape.com 2002-01-24 01:50:35 +00:00
dougt%netscape.com 5099223bc2 Cleanup of nsIModule. See 99154. r=dp@netscape.com, sr=jband@netscape.com 2002-01-24 01:29:40 +00:00
ccarlen%netscape.com ca57c759b0 Bug 116435 - The provider in nsAppFileLocationProvider.cpp should always be registered. r=dougt/sr=rpotts/a=dbaron 2002-01-22 23:00:44 +00:00
dougt%netscape.com 98f9d2ba11 removing nsMemory.h. This file now lives in xpcom/glue. bug 120685 sr=jband, a=blizzard 2002-01-18 20:12:36 +00:00
jst%netscape.com 15825cf675 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 2002-01-17 04:08:14 +00:00
ccarlen%netscape.com 851098e320 Removing file made obsolete by fix to bug 100828. r=rjc/sr=sfraser. 2002-01-16 05:52:50 +00:00
seawood%netscape.com fa5df5e54c Use dynamic library & xpidl_module names from nmake build for win32 gmake builds for compatibility.
bug #58981 sr=jag
2002-01-16 05:10:09 +00:00
dbaron%fas.harvard.edu d585949ae5 Fix HP bustage. 2002-01-16 04:48:24 +00:00
dbaron%fas.harvard.edu 3e3ede44ed 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 2002-01-16 03:08:22 +00:00
jdunn%netscape.com 516dd44950 fixing xlC5.x compiler error: use a temp variable for the static_cast
sr=jaggernaut@netscape.com
# 119326
2002-01-16 03:06:47 +00:00
dbaron%fas.harvard.edu 445536c139 Fix stack walking code to work correctly on RedHat 7.2 systems. b=106616 r=jag rs=blizzard 2002-01-16 00:40:36 +00:00
dbaron%fas.harvard.edu ee80a1911b Add nsValueArray.cpp to the build for blythe. 2002-01-15 23:57:01 +00:00
blythe%netscape.com f41a5d5afe proactive change to avoid MAC bustage from last checkin 2002-01-15 23:20:35 +00:00
alecf%netscape.com e26f0caa39 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 2002-01-15 22:57:29 +00:00
blythe%netscape.com 3a5aa3eab9 Fix bug 107270
Reduce nsCSSDeclaration footprint
r=dbaron, sr=hyatt
2002-01-15 22:43:37 +00:00
rjc%netscape.com fa9c812045 Fix bug # 120037: leading '.' indicates hidden when on Mac OS X. r=ccarlen sr=sfraser 2002-01-15 22:31:19 +00:00
ccarlen%netscape.com a660e6ed8b Bug 56295 - doesn't work for file names > 31 chars. r=sdagley/sr=sfraser 2002-01-15 02:22:39 +00:00
pavlov%netscape.com 5ee29e2c3f patch from bug 116483 to avoid doing some pr_log related work when we don't need to. r=dougt sr=brendan 2002-01-15 01:20:47 +00:00
sfraser%netscape.com c640b55a08 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. 2002-01-15 01:14:55 +00:00
dougt%netscape.com e19cc60bdb adding check for null. GetThreadEventQueue can return a null queue which we need to check for 2002-01-15 00:43:10 +00:00
mkaply%us.ibm.com bb06ead229 #1192111
r=mkaply, sr=blizzard
OS/2 only - better file dialog
2002-01-14 21:17:43 +00:00
dougt%netscape.com dc4103e28c Null protecting hashing code. 96322. r=dp@netscape.com sr=alecf@netscape.com. 2002-01-14 20:10:48 +00:00
jband%netscape.com 8c8b5a2595 fix bug 119387. Add a non-allocating IID version of the frequently used getIIDForParam method. r=dbradley sr=jst 2002-01-14 20:02:14 +00:00
blakeross%telocity.com 61e0099258 86979 - launch file after donwloading does not honor OS file associations. r=ben sr=hewitt 2002-01-14 05:24:49 +00:00
dougt%netscape.com c78ed09758 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 2002-01-12 23:35:57 +00:00
cathleen%netscape.com c2d19ad82a converted 271 references to nsCRT::memcpy to memcpy, bug 118135 r=dp 2002-01-12 03:18:55 +00:00
alecf%netscape.com 53deafcf58 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
2002-01-12 02:38:08 +00:00
darin%netscape.com f4af7d881d these files no longer need to include nsEscape.h 2002-01-12 01:21:40 +00:00
darin%netscape.com 6bb61e9651 cleaning up some comments 2002-01-12 01:19:45 +00:00
darin%netscape.com 2538f367be fixes first part of bug 109179 "replace NS_EscapeURL with NS_EscapeURLPart"
r=andreas.otte@debitel.net
sr=alecf@netscape.com
2002-01-11 23:02:22 +00:00
alecf%netscape.com 218715b121 dammit why does this break linux?!
backing out my last checkin
2002-01-11 22:44:30 +00:00
alecf%netscape.com 06bca513af progress towards 108962 - fix nsLinebreakConverter to stop using private nsStr members
r=dbaron, sr=jag
2002-01-11 22:40:09 +00:00
dougt%netscape.com 897452d5aa fixing build bustage. there is another nsMemory.h in xpcom/base which overwrote this copy 2002-01-11 21:05:08 +00:00
alecf%netscape.com d455d1d161 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
2002-01-11 20:34:11 +00:00
dougt%netscape.com ce4024d68d Moving Memory Util functions into nsMemory. r=dmose, sr=jband, bug=119082 2002-01-11 20:12:22 +00:00
jband%netscape.com 61cea3f9bb trivial fix to allow freeing a variant array type that we do in fact create. rs=vidur 2002-01-10 23:55:32 +00:00
jband%netscape.com 3aae546197 Fix bug 114115. Reduce long lived allocations by refactoring to hold main interface info structs in arena and buil refcounted info objects on demand (though cached for reuse) r=dbradley sr=jst 2002-01-10 23:49:47 +00:00
jdunn%netscape.com 02f1ef38dd AIX's new compiler, xlC5.x, doesn't allow the use of "friend" to declare
a function prototype.  So we have to decare the function and then
declare it a friend.  When Default arguments are used, they need to
be specified in the function prototype and NOT in the friend declaration.
# 43311
r=dbaron@fas.harvard.edu
2002-01-10 14:16:05 +00:00
dbradley%netscape.com 361557435b Bug 114257 - win32 xpidl doesn't handle unix paths properly. patch=dbradley, r=cls, sr=jag 2002-01-10 13:03:45 +00:00
jaggernaut%netscape.com 6b5cb38d2b Duh. Made a thinko on commenting out the ifdef. 2002-01-10 06:55:18 +00:00
jaggernaut%netscape.com 4e703f2e40 Bug 115854: Clean up shutdown warnings in service manager, add IID, CID and ContractID info. r=dougt, sr=alecf 2002-01-10 02:10:37 +00:00
dbaron%fas.harvard.edu 6601023357 Adding more tests. Not part of the build. 2002-01-09 22:15:22 +00:00
alecf%netscape.com 3d4709d420 removal lame nsFileSpec operators, bug 100676 r=ccarlen sr=waterson 2002-01-09 21:31:19 +00:00
alecf%netscape.com b5b8d27153 final fix for bug 100212 - removal final dependency on necko from xpcom by removing nsIFile.URL r=dougt, sr=darin Yay! 2002-01-09 20:03:46 +00:00
blythe%netscape.com 385178fec6 Fix Bug 115189
Trace-Malloc records line number information on platforms which have it.
r=dp sr=alecf
2002-01-09 19:03:01 +00:00
jaggernaut%netscape.com 6b77d93d2e Hitching a ride with bug 117440: Make nsPrintfCString inherit from nsAFlatCString instead of nsACString, r=darin, sr=alecf 2002-01-09 04:35:28 +00:00
alecf%netscape.com a0cec66019 bug 114450 sr=jag
remove table-based comparison functions so we can actually remove them later
2002-01-09 02:28:28 +00:00
jaggernaut%netscape.com 1bd1b8c7d6 Bug 113228: Remove nsStr::ChangeCase. r=dbaron, sr=alecf 2002-01-09 01:44:43 +00:00
ccarlen%netscape.com 92c4be61be smoketest blocker 118788 r=/sr=sfraser@netscape.com 2002-01-09 01:04:17 +00:00
seawood%netscape.com bcef889578 Adding missing \
Bug #113511
2002-01-08 05:46:51 +00:00
dougt%netscape.com 09f3d1beef 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 2002-01-08 02:20:13 +00:00
ccarlen%netscape.com 0f9cb6c5fc Bug 100828 - nsLocalFileMac reworking. r=rjc@netscape.com/sr=sfraser@netscape.com 2002-01-07 14:35:04 +00:00
ccarlen%netscape.com 062270c10d Bug 100828 - New file for nsLocalFileMac reworking. r=rjc@netscape.com/sr=sfraser@netscape.com 2002-01-07 14:31:44 +00:00
jdunn%netscape.com 9585c17b9d replacing OS_CXXFLAGS with CXXFLAGS so that they get picked up
r=cls@seawood.org
# 118126
2002-01-07 12:33:36 +00:00
jaggernaut%netscape.com febd9de87f Bug 113228: Remove To{Lower,Upper}Case from ns{C}String. r=bzbarsky, sr=jst 2002-01-05 11:18:57 +00:00