Gervase Markham
cb6a072c2a
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Olli Pettay
e32dd61fb2
Bug 711841, Null(C)String(), r=bsmedberg,glandium
2011-12-20 21:46:00 +02:00
Ehsan Akhgari
478ad1a412
Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
...
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Michael Wu
0fe7772ece
Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
2011-09-28 23:19:26 -07:00
Patrick McManus
678651841f
bug 686312 - websockets should not reject non character utf-8 sequence as invalid r=dbaron
2011-09-20 18:13:43 -04:00
Matheus Kerschbaum
44209e0bdf
Bug 678155 - Remove NS_COM. r=bsmedberg
2011-08-18 15:46:39 +02:00
Daniel Holbert
37cf5be52d
Bug 473236 - Remove executable bit from files that don't need it. (Only changes file mode -- no code changes.) r=bsmedberg
2009-01-21 22:55:08 -08:00
Fred Jendrzejewski
cbc6639bab
Bug 466622. Replace nsCStringArray with nsTArray<nsCString> for more consistent code and fewer heap allocations. r+sr=roc,r=bsmedberg
2009-01-22 17:15:34 +13:00
Benjamin Smedberg
e66978d628
Bug 469072 - Annotations in XPCOM, and a couple related code fixups, to make outparams spit out useful warnings, r=bent
2008-12-11 15:13:52 -05:00
22cd77f01a
Bug 339069 - Optimization for RFindInReadable
...
p=Alfred Kayser <alfredkayser@nl.ibm.com >
r=darin, sr=dbaron
2007-07-23 18:30:19 -07:00
dveditz@cruzio.com
1b861987ca
bug 284219 addendum, missed biesi's review comment
2006-06-22 22:21:52 +00:00
dveditz@cruzio.com
96f8198cfe
Bug 284219: add EnsureStringLength() helper function to nsReadableUtils.h to
...
simplify OOM checks when growing an nsAString. r/sr=darin
2006-06-22 19:07:30 +00:00
timeless@mozdev.org
9ced5b09ba
Bug 106386 Correct misspellings in source code
...
r=bernd rs=brendan
2006-02-23 09:36:43 +00:00
cbiesinger@web.de
aae44b57d9
bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
...
r+sr=darin
2006-02-03 14:18:39 +00:00
bzbarsky@mit.edu
79803d9aa2
Move some basic macros for working with UTF16 from intl to XPCOM; use them in
...
some places including the HTML parser. Part of fix for bug 316394; the CSS
parser changes are still coming. r=smontagu, r=mrbkap on parser changes, sr=dbaron
2005-11-15 18:17:22 +00:00
bzbarsky@mit.edu
b47c9f2b3e
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
bsmedberg@covad.net
432e9cc9a1
Bug 299992 (re-landing) - Move pldhash etc. into the xpcom glue, and centralize various instances of nsINIParser in the xpcom glue. Some files were cvscopied from xpcom/ds to xpcom/glue r=brendan/darin
2005-08-15 18:29:55 +00:00
bsmedberg@covad.net
44a6531d52
Backout bug 299992 - too much odd platform-specific bustage
2005-08-11 22:07:08 +00:00
bsmedberg@covad.net
0203b6eec5
Bug 299992, the part before the actual work: move pldhash and the templatized hashtables into the glue (and drop the minor dependencies on NSPR), and centralize our various in-tree nsINIParser classes into the glue (does not affect the ones used for the various installers) r=brendan/darin a=chase/cbeard
2005-08-11 20:40:53 +00:00
jst@mozilla.jstenback.com
b38cde6c15
Fixing bug 243484. Adding 'count' out params to ToNewUTF8String() and UTF8ToNewUnicode() that tells the caller how many units (8 or 16 bit) that was returned. r=dbaron@dbaron.org, sr=darin@meer.net
2004-05-13 17:45:03 +00:00
gerv@gerv.net
c0cd46fc51
Bug 236613: change to MPL/LGPL/GPL tri-license.
2004-04-18 14:21:17 +00:00
darin@meer.net
14e471acbc
landing string defragmentation patch for bug 231995, r/sr=dbaron,jst,dougt
2004-02-19 02:44:03 +00:00
jst@mozilla.jstenback.com
88b7851c7b
Fixing bug 183373. Provide XPCOM methods for accessing a shared empty string object. r=bryner@brianryner.com, sr=dbaron@dbaron.org
2004-01-21 21:36:40 +00:00
peter@propagandism.org
4edf994d96
Patch for bug 209699 (convert some consumers over to CopyUTF8toUTF16 / CopyUTF16toUTF8). r=jshin, sr=jst.
2003-12-23 09:24:11 +00:00
peter@propagandism.org
2f5213e647
Fix for bug 224231 (Need AppendASCIItoUTF16). r=jst, sr=dbaron.
2003-11-01 09:35:48 +00:00
jshin@mailaps.org
e5508b193d
bug 183156 (a part of) : rename CopyUTF16toASCII as LossyCopyUTF16toASCII (r,sr=jag)
2003-06-27 07:44:13 +00:00
jshin@mailaps.org
533fbbe365
bug 183156 : replace UCS2 in function/method names with UTF16 and update the
...
document accordingly. r=jag, sr=alecf
2003-06-23 04:30:57 +00:00
jaggernaut@netscape.com
22ce9cb976
Bug 210160: Add nsStringComparator parameter to String(Begins)|(Ends)With. r=bzbarsky, sr=dbaron
...
Bug 210162: Fix up comments, argument names of atom getters in nsIAtom.idl. r=bzbarsky, sr=dbaron
2003-06-21 02:59:51 +00:00
jst@netscape.com
9b1711a7f4
Fixing part of bug 209699 (and more of bug 87677). Implement char* and PRUnichar* versions of Copy/AppendUTF*toUTF*(). r=alecf@flett.org, r=dbaron@dbaron.org, sr=jaggernaut@netscape.com
2003-06-19 05:17:55 +00:00
jshin@mailaps.org
13c0b26094
bug 183156 : the first step : replace UCS2 in function names with UTF16
...
(r=peterv, sr=alecf)
2003-06-05 11:44:06 +00:00
jst@netscape.com
8f6e9a751c
Fixing bug 87677. Implementing {Copy,Append}[UCS2|UTF8]to[UTF8|UCS2](). Lame implementations for now, but at least people can start using these methods to avoid double copying all over (this doesn't eliminate the double copy, but it isolates it). r=jaggernaut@netscape.com, sr=alecf@flett.org.
2003-05-31 06:03:18 +00:00
dbaron@dbaron.org
bd0cd0dfc7
Add StringBeginsWith, StringEndsWith, and UTF8ToNewUnicode. Move UTF8 handling utilities to separate file. b=131293 r=jst sr=alecf,jag a=asa b=131293
2003-05-21 22:20:27 +00:00
jshin@mailaps.org
02174d5d83
bug 191542 : Add UTF-8 equivalent of |IsASCII|, IsUTF8. r=smontagu, sr=alecf
2003-03-25 08:11:13 +00:00
seawood@netscape.com
c78a3b5aff
Change |Distance| definitions to match forward declaration in nsReadableUtils.h. Fixing Forte bustage.
...
Thanks to David Baron <dbaron@dbaron.org > for the patch.
Bug #198276 r=jag sr=bz
2003-03-20 04:52:54 +00:00
timeless@mozdev.org
d3078bff26
fixing comment about PRUnichar* ToNewUnicode
...
rs=brendan
2002-11-08 11:43:58 +00:00
jaggernaut@netscape.com
483c336b67
Bug 178701: make source in FindInReadable be const. r=alecf, sr=scc
2002-11-06 21:11:24 +00:00
alecf@netscape.com
8d696d0600
a further nsString api reduction: remove the last case-insensitive PRUnichar*-to-PRUnichar* comparisons, moving to new API, and remove old methods from nsString. r=dougt, sr=jag a=scc
2002-03-19 06:46:56 +00:00
darin@netscape.com
fc6d5e4b32
fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa
2002-03-06 07:48:55 +00:00
jst@netscape.com
a1afa8eecb
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
jaggernaut@netscape.com
24706be7bd
Bug 115671: Add faster To{Upper,Lower}Case for nsASingleFragment{C}String, r=dbaron, sr=dveditz, and ns{C}String, r=bbaetz, sr=scc
2001-12-23 02:56:41 +00:00
jaggernaut@netscape.com
88340572ea
Backing myself out to see if I'm the cause of btek going from 1245ms to 1251ms.
2001-12-20 06:12:49 +00:00
jaggernaut@netscape.com
6c5a2ec79e
Bug 115671: Add (faster) To{Upper,Lower}Case for nsASingleFragmentStrings. r=dbaron, sr=dveditz
2001-12-20 02:15:35 +00:00
jaggernaut@netscape.com
db48714264
BUg 113228: Replace nsC?String::To(Lower|Upper)Case with global To(Lower|Upper)Case. r=dbaron, sr=jst
2001-12-08 07:08:38 +00:00
alecf@netscape.com
bc16a5bac1
Back out my backout, now that mac seems to be fixed
2001-10-30 03:39:18 +00:00
alecf@netscape.com
4c0d3aaa50
Back out my checkin because !(*@3 PSM is screwed.
2001-10-30 02:41:48 +00:00
alecf@netscape.com
4239884c1d
bug 100214 - Remove string dependency on XPCOM routines that depend on unicharutil, r=jag sr=scc
2001-10-29 23:16:23 +00:00
jaggernaut@netscape.com
d171d136db
Bug 100750: string iterator users should use correct typedefs. r=dbaron, rs=scc
2001-09-25 09:35:50 +00:00
scc@mozilla.org
86489be749
bug #75164 : sr={brendan, sfraser}. Adding the generators |nsSubstituteC?String|, which will replace |ReplaceSubstring|. Also fixing a declaration in "nsAStringGenerator.h".
2001-05-23 06:49:51 +00:00
scc@mozilla.org
2cf5e0ca15
bug #75551 : r=jst, sr=sfraser. Added |CaseInsensitiveFindInReadable|
2001-05-13 05:16:10 +00:00
scc@mozilla.org
4e56e9386c
landing string branch; see bug #73786
2001-04-02 19:40:52 +00:00