benjamin%smedbergs.us
08887664c9
Bug 334038 - Separate out the frozen C stringapi and the glued C++ wrappers, fix a few bugs along the way, and move some of the utils from nsCRT into nsCRTGlue for use by frozen-linkage code. r=darin
...
CVS history for xpcom/string/public/nsXPCOMStrings.h is at xpcom/string/public/nsStringAPI.h
CVS history for xpcom/build/nsXPCOMStrings.cpp is at xpcom/build/nsStringAPI.cpp
CVS history for xpcom/glue/nsStringAPI.h is at xpcom/string/public/nsStringAPI.h
2006-05-03 16:11:14 +00:00
bzbarsky%mit.edu
aee1056ad7
Implement a in-place (no copy) CompareUTF8toUTF16, and use it to make the atom
...
hashtable lookups zero-copy. Patch by jst, bug 314465 (with lots of the
discussion in bug 277479), r=bsmedberg,dbaron,brendan (on the PLDHashTable
keyhash value assumptions), sr=bzbarsky, moa=shaver.
2005-11-04 19:52:18 +00:00
joshmoz%gmail.com
4a9863a471
Remove Mac OS classic code. r=josh a=bsmedberg
2005-06-23 23:42:02 +00:00
timeless%mozdev.org
1f8b801a07
Bug 254252 nsCRT::BufferHashCode has two variants, and only one user, HashCodeAsUTF8 has no users
...
patch by mikael@parknert.se r=darin sr=bz
2005-01-20 21:39:23 +00:00
gerv%gerv.net
31625ba2b1
Bug 236613: change to MPL/LGPL/GPL tri-license.
2004-04-18 14:21:17 +00:00
bzbarsky%mit.edu
29080c9146
Fixing think-o.
2003-07-13 07:21:43 +00:00
bzbarsky%mit.edu
401365f06a
Optimize nsSegmentEncoder to not get an mEncoder unless it actually has
...
encoding to do (has a non-ascii spec segment). Bug 212475, r=darin, sr=dbaron
2003-07-12 23:06:13 +00:00
seawood%netscape.com
80e1b303cc
Purge XP_PC.
...
Bug #56767 r=mkaply sr=alecf
2003-04-02 22:45:08 +00:00
seawood%netscape.com
a9dc22843a
msgCore.h seems to think that os2 has isalpha() too
2003-04-02 08:31:39 +00:00
seawood%netscape.com
4957953e70
Obsoleting xp_str.h:
...
* Move XP_IS_ macros into nsCRT.h & rename them to NS_IS_
* Make local XP_IS_ macros use the nsCRT ones
* Remove NOT_NULL defines
Bug #199920 r=alecf sr=bryner
2003-04-01 19:38:12 +00:00
dougt%netscape.com
aa98f0a05f
didn't want to check this in per darin
2003-03-15 02:31:17 +00:00
dougt%netscape.com
0d2808c511
Create a new xpcom obsolete library (and component library).
...
Moved nsFileSpec and related classes into this obsolete library.
Moved nsRegistry and related libreg functionality into the obsolete library.
Updated many callers using the obsolete nsFile spec to use nsIFile and Necko to do file IO.
Combined the following DLLs (source -> dest)
uriloader -> docshell
shistory -> docshell
jsurl -> jsdom
gkview -> gklayout
Moved nsAdapterEnumerator out of xpcom/ds and into mailnews, since they're the only consumer
Modifed the xpt_link tool so that you can specify a �only include� cid list that can mask CID�s that you are not interested in.
Added build options:
Prevent the building of xpinstall (--disable-xpinstall)
Prevent the building js component loader (--disable-jsloader)
A build option to only build a single profile (--enable-single-profile)
A build flag to only built the required xpfe components (--disable-xpfe-components).
Removal or hiding of unused functions and classes including nsEscape*, nsDequeIterator, nsRecyclingAllocatorImpl, nsDiscriminatedUnion, nsOpaqueKey, nsCRT::strlen, NS_NewCommandLineService
Bug 194240, r/sr = darin, alec.
2003-03-15 01:04:32 +00:00
timeless%mac.com
09fcb732df
Bug 172131 FMM, Comments which suggest the wrong (De)Allocator, and Style
...
r=dougt sr=darin
2002-10-08 06:12:00 +00:00
jkeiser%netscape.com
f88cebcd5f
Make nsHTMLValue store embedded nulls (r=sicking@netscape.com, sr=bzbarsky@mit.edu, sr=jaggernaut@netscape.com
2002-09-26 07:41:53 +00:00
seawood%netscape.com
0597412383
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
03ace271f0
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
4ddb311b96
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
4a5da35b5c
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
030f6a08b1
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
38c188b96d
Fix bustage (again).
2002-02-12 05:17:18 +00:00
ducarroz%netscape.com
19e6602925
Fix bustage on Unix system.
2002-02-12 04:34:36 +00:00
ducarroz%netscape.com
3ae0f8b9c3
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
a5ec167c47
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
740d95a0a9
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
8605704b12
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
e0f55c7088
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
486c0d47f9
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
92d4fbf218
converted 271 references to nsCRT::memcpy to memcpy, bug 118135 r=dp
2002-01-12 03:18:55 +00:00
alecf%netscape.com
4b9ba13776
remove all unicharutil dependencies from xpcom (finally!)
...
bug 100214, r=jag, sr=scc
2001-11-01 22:40:03 +00:00
jband%netscape.com
91a3cddac1
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
4b6b331717
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
7f5ab5d9d6
fix bug 101852. r=alecf, sr=darin/brendan. add PRUnichar* base IsAscii routines
2001-10-10 00:27:51 +00:00
gerv%gerv.net
4e12e44b2f
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
46b177e406
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
9abec73fbe
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
e05eef45e9
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
a94aa1aa52
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
84b5fd67e3
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
ea7c30bd13
Fix some leaks, and other problems found using BoundsChecker r=bryner@uiuc.edu
2000-05-14 09:18:43 +00:00
ftang%netscape.com
5dcee0f2a2
add IsAscii function.
2000-05-03 07:04:25 +00:00
scc%netscape.com
cc62586f26
fixed some warnings
2000-03-22 22:55:10 +00:00
rickg%netscape.com
b652637555
WIP for new nsString; this doesn't impact current build
2000-03-12 07:47:09 +00:00
rickg%netscape.com
1a75640583
fixed off-by-1 error in compare, and added ReplaceSubstring(). r=syd
1999-12-02 10:14:38 +00:00
sfraser%netscape.com
5c1617659d
Add string versions of the line terminatin macros. r=pinkerton
1999-12-01 22:26:58 +00:00
dmose%mozilla.org
142ac52eaf
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
8e8c466e58
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
69f233cf62
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
79d5c5f26d
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
969c6446c4
fixing mac NS_LINEBREAK macro
1999-08-02 13:25:19 +00:00
scc%netscape.com
8d681a0998
use shared allocator
1999-07-22 18:23:02 +00:00