smontagu%smontagu.org
ecbb2c7e63
Define codepoints below 0x20 as illegal characters in filenames. Bug393488, r=bsmedberg, b=beltzner
...
git-svn-id: svn://10.0.0.236/trunk@249002 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-02 16:05:55 +00:00
jst%mozilla.org
9c54b2dff6
Fixing bug 377360. Fix atom table crash due to invalid UTF data in atoms. r=jonas@sicking.cc, sr=peterv@propagandism.org
...
git-svn-id: svn://10.0.0.236/trunk@229744 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-11 20:46:43 +00:00
sdwilsh%shawnwilsher.com
b28cc5d2f9
Bug 314846 - exthandler doesn't remove : colon from mac file names (Random filename after downloading). Patch by Edward Lee <edilee@gmail.com>. r=benjamin, sr=cbiesinger
...
git-svn-id: svn://10.0.0.236/trunk@228796 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-27 00:45:52 +00:00
benjamin%smedbergs.us
90b9f9df6a
Fix review nit
...
git-svn-id: svn://10.0.0.236/trunk@198053 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-19 22:47:53 +00:00
benjamin%smedbergs.us
82c28d4d10
Bug 337730 - add additional utilities to nsStringAPI, r=darin
...
TestMinStringAPI.cpp moved from xpcom/glue to xpcom/glue/external
git-svn-id: svn://10.0.0.236/trunk@198051 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-19 22:37:17 +00:00
benjamin%smedbergs.us
dd146efb7b
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
git-svn-id: svn://10.0.0.236/trunk@195900 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-03 16:11:14 +00:00
bzbarsky%mit.edu
9af8442fc0
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.
git-svn-id: svn://10.0.0.236/trunk@184156 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-04 19:52:18 +00:00
joshmoz%gmail.com
23521c8822
Remove Mac OS classic code. r=josh a=bsmedberg
...
git-svn-id: svn://10.0.0.236/trunk@175065 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-23 23:42:02 +00:00
timeless%mozdev.org
07472dabed
Bug 254252 nsCRT::BufferHashCode has two variants, and only one user, HashCodeAsUTF8 has no users
...
patch by mikael@parknert.se r=darin sr=bz
git-svn-id: svn://10.0.0.236/trunk@168085 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-20 21:39:23 +00:00
gerv%gerv.net
210853d71e
Bug 236613: change to MPL/LGPL/GPL tri-license.
...
git-svn-id: svn://10.0.0.236/trunk@155067 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 14:21:17 +00:00
bzbarsky%mit.edu
b3ac17b99d
Fixing think-o.
...
git-svn-id: svn://10.0.0.236/trunk@144794 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-13 07:21:43 +00:00
bzbarsky%mit.edu
fcfa41755f
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
git-svn-id: svn://10.0.0.236/trunk@144786 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-12 23:06:13 +00:00
seawood%netscape.com
5921049139
Purge XP_PC.
...
Bug #56767 r=mkaply sr=alecf
git-svn-id: svn://10.0.0.236/trunk@140602 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-02 22:45:08 +00:00
seawood%netscape.com
ae6ed306ca
msgCore.h seems to think that os2 has isalpha() too
...
git-svn-id: svn://10.0.0.236/trunk@140577 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-02 08:31:39 +00:00
seawood%netscape.com
8480117132
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
git-svn-id: svn://10.0.0.236/trunk@140498 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-01 19:38:12 +00:00
dougt%netscape.com
2262ce106e
didn't want to check this in per darin
...
git-svn-id: svn://10.0.0.236/trunk@139489 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-15 02:31:17 +00:00
dougt%netscape.com
fed2927b2c
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 CIDs 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.
git-svn-id: svn://10.0.0.236/trunk@139480 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-15 01:04:32 +00:00
timeless%mac.com
af49ae32a5
Bug 172131 FMM, Comments which suggest the wrong (De)Allocator, and Style
...
r=dougt sr=darin
git-svn-id: svn://10.0.0.236/trunk@131402 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-08 06:12:00 +00:00
jkeiser%netscape.com
c5b034aaae
Make nsHTMLValue store embedded nulls (r=sicking@netscape.com, sr=bzbarsky@mit.edu, sr=jaggernaut@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@130511 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-26 07:41:53 +00:00
seawood%netscape.com
08f53dff2a
The c++ standard requires that the throw list be used when declaring functions as well as defining them.
...
commercial compiler fixes for bug #149032
git-svn-id: svn://10.0.0.236/trunk@124604 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-03 17:14:41 +00:00
seawood%netscape.com
a7c7e77b8b
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
git-svn-id: svn://10.0.0.236/trunk@124526 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-02 20:25:30 +00:00
cathleen%netscape.com
cc630ddcfb
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
...
git-svn-id: svn://10.0.0.236/trunk@115474 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-28 05:23:40 +00:00
cathleen%netscape.com
102fd63c1f
eliminate nsCRT::strlen for char* strings (final part), bug 124536 r=dp sr=brendan a=roc+moz
...
git-svn-id: svn://10.0.0.236/trunk@115468 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-28 04:11:37 +00:00
dbaron%fas.harvard.edu
6f3d0f1b34
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
...
git-svn-id: svn://10.0.0.236/trunk@114701 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 19:50:32 +00:00
ducarroz%netscape.com
a4083ed36b
Fix bustage (again).
...
git-svn-id: svn://10.0.0.236/trunk@114255 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 05:17:18 +00:00
ducarroz%netscape.com
ab1766e393
Fix bustage on Unix system.
...
git-svn-id: svn://10.0.0.236/trunk@114250 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 04:34:36 +00:00
ducarroz%netscape.com
8acba62b90
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
...
git-svn-id: svn://10.0.0.236/trunk@114244 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 03:57:39 +00:00
cathleen%netscape.com
184587ade7
eliminate 24 callers to nsCRT::memmove to use memmove from libC instead. removed nsCRT::memove() bug 118135 r=dp sr=brendan
...
git-svn-id: svn://10.0.0.236/trunk@113965 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 01:11:33 +00:00
cathleen%netscape.com
ec77313291
eliminates 107 nsCRT::memset calls to use memset instead. removed nsCRT::memset() function. bug 118135 r=dp sr=brendan
...
git-svn-id: svn://10.0.0.236/trunk@113659 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 01:41:13 +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
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
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
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
32ae7fff08
remove all unicharutil dependencies from xpcom (finally!)
...
bug 100214, r=jag, sr=scc
git-svn-id: svn://10.0.0.236/trunk@107004 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-01 22:40:03 +00:00
jband%netscape.com
77718ac1ef
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.
...
git-svn-id: svn://10.0.0.236/trunk@105661 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-18 04:23:25 +00:00
dougt%netscape.com
03f56fb12b
adding const to aDest parameter of memcmp. r=me s/r=jband@netscape.com, submitted by jim_nance@yahoo.com, bug 97231
...
git-svn-id: svn://10.0.0.236/trunk@105413 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-15 13:28:45 +00:00
ftang%netscape.com
e4e1c365e1
fix bug 101852. r=alecf, sr=darin/brendan. add PRUnichar* base IsAscii routines
...
git-svn-id: svn://10.0.0.236/trunk@104975 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 00:27:51 +00:00
gerv%gerv.net
13afb6d0f9
Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
...
git-svn-id: svn://10.0.0.236/trunk@104119 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 20:14:13 +00:00
timeless%mac.com
75929d9555
fix Bugzilla Bug 75853 CR and LF are naked ifdefs
...
r=dveditz, sr=scc
git-svn-id: svn://10.0.0.236/trunk@92666 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-18 05:59:43 +00:00
jst%netscape.com
7e0575bfee
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
...
git-svn-id: svn://10.0.0.236/trunk@76967 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 17:27:06 +00:00
warren%netscape.com
f29b00bbe4
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
...
git-svn-id: svn://10.0.0.236/trunk@76875 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 07:03:33 +00:00
warren%netscape.com
895569159c
Fix for hash code performance problem discovered by bienvenu. 'Sampling' hash code was statistically evil.
...
git-svn-id: svn://10.0.0.236/trunk@76761 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-20 21:29:10 +00:00
warren%netscape.com
e5706a7236
Bug 46711. Removed nsAutoString travisty from nsStringKey. Introduced nsCStringKey. Made them both share the underlying string when possible. r=waterson
...
git-svn-id: svn://10.0.0.236/trunk@75975 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 06:19:37 +00:00
michael.lowe%bigfoot.com
1a2368b436
Fix some leaks, and other problems found using BoundsChecker r=bryner@uiuc.edu
...
git-svn-id: svn://10.0.0.236/trunk@69655 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 09:18:43 +00:00
ftang%netscape.com
e64f254a72
add IsAscii function.
...
git-svn-id: svn://10.0.0.236/trunk@68058 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 07:04:25 +00:00
scc%netscape.com
d05dc6672e
fixed some warnings
...
git-svn-id: svn://10.0.0.236/trunk@63781 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 22:55:10 +00:00
rickg%netscape.com
944bb44cfc
WIP for new nsString; this doesn't impact current build
...
git-svn-id: svn://10.0.0.236/trunk@62694 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 07:47:09 +00:00
rickg%netscape.com
e99aad53d3
fixed off-by-1 error in compare, and added ReplaceSubstring(). r=syd
...
git-svn-id: svn://10.0.0.236/trunk@55066 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 10:14:38 +00:00
sfraser%netscape.com
6e1e05e1dd
Add string versions of the line terminatin macros. r=pinkerton
...
git-svn-id: svn://10.0.0.236/trunk@54944 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-01 22:26:58 +00:00
dmose%mozilla.org
0efb7c174c
updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@52910 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:43:54 +00:00