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

61 Коммитов

Автор SHA1 Сообщение Дата
seawood%netscape.com a384861cd4 The c++ standard requires that the throw list be used when declaring functions as well as defining them.
commercial compiler fixes for bug #149032
2002-07-03 17:14:41 +00:00
seawood%netscape.com 8f6f1756ce Add CPP_THROW_NEW macro to the build system. This macro should be used when defining a local |operator new| function. It will be set to an empty throw function by default on all platforms except mac CW builds. This will allow us to not crash on systems that expect |operator new| to throw an exception by default and will suppress compiler warnings about how |operator new| should throw an exception instead of returning NULL.
Bug 149032 r=timeless sr=scc
2002-07-02 20:25:30 +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 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
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
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
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
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
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
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
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
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
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 cdca66820d remove all unicharutil dependencies from xpcom (finally!)
bug 100214, r=jag, sr=scc
2001-11-01 22:40:03 +00:00
jband%netscape.com fd11dc731f Add support for loading typelibs from multiple directories and correctly tracking that in xpti.dat. Also speedup xpti.dat reading by getting rid of PR_sscanf. This fixes bug 104191 and bug 105042. r=ccarlen sr=jst. 2001-10-18 04:23:25 +00:00
dougt%netscape.com 78857f3e42 adding const to aDest parameter of memcmp. r=me s/r=jband@netscape.com, submitted by jim_nance@yahoo.com, bug 97231 2001-10-15 13:28:45 +00:00
ftang%netscape.com 39fbce1449 fix bug 101852. r=alecf, sr=darin/brendan. add PRUnichar* base IsAscii routines 2001-10-10 00:27:51 +00:00
gerv%gerv.net f385eb981a Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089. 2001-09-28 20:14:13 +00:00
timeless%mac.com ee959d2767 fix Bugzilla Bug 75853 CR and LF are naked ifdefs
r=dveditz, sr=scc
2001-04-18 05:59:43 +00:00
jst%netscape.com b3a4ade60d DOM string changes. All nsString& in DOM interfaces (and interfaces needed by DOM implementations) have been changed to nsAReadableString& and nsAWritableString&. String implementation additions (sanctioned by scc) to support DOM needs. Bug 49091. r=vidur,jst,scc 2000-08-23 17:27:06 +00:00
warren%netscape.com 1c8511e78c Bug 46777. Redesigned stream interfaces to allows stream observers to be decoupled from pipe implementation. Needed for embedding to fix 'spin' problem. r=rpotts,valeski,ruslan 2000-08-22 07:03:33 +00:00
warren%netscape.com 930a05de5a Fix for hash code performance problem discovered by bienvenu. 'Sampling' hash code was statistically evil. 2000-08-20 21:29:10 +00:00
warren%netscape.com 4af572e4c1 Bug 46711. Removed nsAutoString travisty from nsStringKey. Introduced nsCStringKey. Made them both share the underlying string when possible. r=waterson 2000-08-10 06:19:37 +00:00
michael.lowe%bigfoot.com 19e375a6c7 Fix some leaks, and other problems found using BoundsChecker r=bryner@uiuc.edu 2000-05-14 09:18:43 +00:00
ftang%netscape.com af03baecbe add IsAscii function. 2000-05-03 07:04:25 +00:00
scc%netscape.com 49aaf8360a fixed some warnings 2000-03-22 22:55:10 +00:00
rickg%netscape.com 9b2a84826b WIP for new nsString; this doesn't impact current build 2000-03-12 07:47:09 +00:00
rickg%netscape.com 842edd9e4d fixed off-by-1 error in compare, and added ReplaceSubstring(). r=syd 1999-12-02 10:14:38 +00:00
sfraser%netscape.com cf986946a8 Add string versions of the line terminatin macros. r=pinkerton 1999-12-01 22:26:58 +00:00
dmose%mozilla.org 8535dda53e updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +00:00
warren%netscape.com 4324494f97 Added nsIPipe.idl, replacing nsPipe2.h. Fixed up some nsPipe2.cpp problems. Fixed bug in nsSegmentedBuffer segment growth. Extended TestPipes test case to cover much much more. 1999-08-24 08:45:17 +00:00
gagan%netscape.com 1bbec91b6b Added the helper macro CRTFREEIF. Works for both char* and PRUnichar*. Saves
typing code... and adds obfuscation too! Wow. Alright RJC stop reading this
and get back to work.
1999-08-23 08:27:42 +00:00
jfrancis%netscape.com afe43490ca uhh, unfixing mac NS_LINEBREAK macro - macro was right, mac console code was wrong... workaround for console prob being placed in nsGlobalWindow.cpp 1999-08-03 12:42:19 +00:00
jfrancis%netscape.com b5b13c4f48 fixing mac NS_LINEBREAK macro 1999-08-02 13:25:19 +00:00
scc%netscape.com 9508780e22 use shared allocator 1999-07-22 18:23:02 +00:00
pavlov%netscape.com f9c42873ef reverting as per scc's request 1999-07-22 05:34:19 +00:00
scc%netscape.com 12c243677f explicitly define kCharsetConversionManagerCID only in files that need it ... move to canonical scheme for defining and using IIDs and CIDs 1999-07-22 05:25:17 +00:00
mcafee%netscape.com 4aca8a8246 BeOS changes 1999-06-29 10:27:58 +00:00
warren%netscape.com 9028d6548a Added HashValue methods for ascii strings. 1999-06-26 06:32:35 +00:00
mscott%netscape.com da03cf8f97 Add macro definition for NS_LINEBREAK and NS_LINEBREAK_LEN. Folks should use this instead of defining their own LINEBREAK macros all over the place. 1999-06-22 18:50:12 +00:00
warren%netscape.com 7b74d79bf3 Added nsIBuffer::Search and cleaned up nsIBufferInputStream interface to just return the buffer. 1999-06-05 01:15:00 +00:00
dp%netscape.com 0443b20e33 Landing xpcom20/21 branch. 1999-05-26 01:38:36 +00:00
alecf%netscape.com 69706a2b27 add a side effect warning that bit me hard during M6 1999-05-04 20:28:24 +00:00
warren%netscape.com 8f4b7a43d2 Added nsCRT::free methods. 1999-04-22 04:25:17 +00:00
rickg%netscape.com 808678e7df landing nsString2 1999-03-22 09:54:46 +00:00
warren%netscape.com 1d59a013c3 Backed out nsUnicharKey -- couldn't get it to build with -pedantic linux. 1999-03-19 10:27:41 +00:00
warren%netscape.com 75ca8f8ad6 Attempt to fix pendantic breakage. 1999-03-19 09:46:09 +00:00
warren%netscape.com 5b82065f09 Added nsUnicharKey for nsHashtables. 1999-03-19 09:02:43 +00:00
ftang%netscape.com e79d1e4c91 add IsUpper and IsLower which work for all Unicode, reviewed and approved by kipp 1999-03-02 18:24:42 +00:00