Commit Graph
919 Commits
Author SHA1 Message Date
Mats Palmgren 24d0ea454d Bug 615147. r=dbaron a=blocking2.0:final 2011-01-14 01:22:26 +01:00
Boris Zbarsky 0cf06ba1e5 Bug 608914 part 1. Remove the nsString overloads of AppendInt and move AppendFloat up to nsAString. r=bsmedberg 2010-11-30 13:18:15 -05:00
Dave Townsend aea25dc578 Backing out bug 614058, bug 609272, bug 478445, bug 499628, bug 605296, bug 608914 and bug 614724 due to potentially causing bug 615736 CLOSED TREE. a=backout 2010-12-01 11:01:56 -08:00
Boris Zbarsky 798ef867c9 Bug 608914 part 1. Remove the nsString overloads of AppendInt and move AppendFloat up to nsAString. r=bsmedberg 2010-11-30 13:18:15 -05:00
Olli Pettay b10f0ebbcd Bug 600301 - Optimize ReplacePrep, r=benjamin, a=benjamin 2010-11-07 21:39:04 +02:00
Justin Lebar 93c8b7d9da Bug 145975 - Implement nsCaseInsensitiveUTF8StringComparator r=smontagu 2010-08-31 18:03:40 -07:00
L. David Baron 040c8087ee Add PR_STATIC_ASSERTs to check some assumptions. (Bug 584945) r=bsmedberg a2.0=tests 2010-08-11 12:32:53 -07:00
Boris Zbarsky 5be4772ff0 Bug 584299. Inline the string constructors and destructors again. r=bsmedberg 2010-08-06 20:46:51 -04:00
Mounir Lamouri c317c7ae13 Bug 549475: Implement HTML5-specified value sanitization algorithm for HTMLInputElement. r=sicking,ehsan,bsmedberg sr=jst 2010-07-21 02:11:19 +02:00
Olli Pettay c4d31556c8 Bug 577472 - Quickstub string handling shouldn't addref/release the string buffer, r=mrbkap 2010-07-19 13:34:23 +03:00
Mitchell Field 2575ec1f3c Remove @status FROZEN and @status UNDER_REVIEW. r=bsmedberg 2010-07-02 10:27:06 -04:00
Olli Pettay e97c029e22 Bug 574089 - Optimize ::GetInnerHTML, r=jst 2010-06-26 23:39:56 +03:00
Michael Kohler 61fec64afe Bug 506041 Part 2: Correct misspellings in source code
r=timeless
2010-05-13 14:19:50 +02:00
Jonas Sicking 48366287f1 Bug 534136 Part 1: Make atoms keep a pointer to an nsStringBuffer rather than storing the data inline. r=bsmedberg 2010-03-08 07:44:59 -08:00
Chris Jones 3a57955620 Bug 441324, part 4: Enable infallible operator new (leaving malloc fallible) in Gecko, and play well with the wince shunt. r=bsmedberg r=blassey r=vlad 2010-03-03 23:02:58 -06:00
Jonas Sicking b0c93a1443 Bug 541245 part 4: Be consistent about prohibited characters such as 0xFFFE in UTF8<->UTF16 conversion code. r=smontagu 2010-02-23 09:38:10 -08:00
Jonas Sicking 68e3c4d160 Bug 541245 part 2: Make UTF8<->UTF16 comparison code consistent in the face of badly encoded strings. r=smontagu 2010-02-23 09:38:10 -08:00
Jonas Sicking ded6d8d657 Bug 422868 part 1: Fix UTF8 <-> UTF16 conversion code to deal with all encoding errors consistently. r=smontagu 2010-02-23 09:38:10 -08:00
Neil Rashbrook 2971a0d980 Bug 538476 Allow ToInteger to take an nsresult* parameter to match the external string API r=bsmedberg 2010-01-08 23:43:50 +00:00
Jonas Sicking 7582856f31 Bug 526500: Fix bug in OOM handing for nsTSubstring::SetLength. Also change Capacity to return 0 rather than -1 for immutable strings to avoid similar surprises in the future. Finally Make SetCapacity return a boolean indicating success/failure to make it easier to check for oom handling. r=bsmedberg sr=dbaron 2009-11-18 17:14:29 -08:00
Neil Rashbrook e006f779df Bug 520366 AppendInt only handles 32 bit signed ints r=bsmedberg 2009-11-04 21:33:23 +00:00
Chris Jones e2ae8bdb88 Backed out changeset 8cbc47eee659 2009-10-02 18:09:08 -05:00
Chris Jones 054774d2e1 bug 441324: implement infallible ::operator new(), malloc() and friends. make |new Foo()| infallible, but leave |malloc()| fallible for the time being. r=blassey sr=bsmedberg,vlad 2009-10-01 21:50:09 -05:00
Benjamin Smedberg 4ec69e1eff Followup to bug 398573 - remove REQUIRES from the tree since it is no longer used... automatically generated patch, rs=ted 2009-08-25 08:59:31 -07:00
Neil Rashbrook 63c77e3cdc Bug 499027 Copying an empty string to a new string allocates a buffer r=dbaron sr=jst 2009-08-14 12:03:05 +01:00
Jeff Walden d108a897cb Remove stray semicolon that Linux gcc hates, r=red 2009-08-06 12:48:58 -07:00
Jeff Walden ea9f3fd2a5 Bug 428465 - nsTArray should refuse to compile with T=nsAutoString (or work correctly). r=bsmedberg 2009-08-03 21:13:28 -07:00
Neil Rashbrook b15be8f4bb Bug 504660 Make sEmptyBuffer non-const so EnsureMutable can safely use it for an empty string r=bsmedberg 2009-07-20 21:04:44 +01:00
L. David Baron 782ed45fa9 Use char16_t when available, and when it is, don't test for -fshort-wchar. (Bug 502298) r=bsmedberg 2009-07-20 07:04:41 -04:00
Bob Clary b7b7415c27 bug 395651 - crash test by Jesse Ruderman. 2009-04-24 10:08:22 -07:00
Bob Clary 541dfb2d14 bug 394275 - crash test by Jesse Ruderman. 2009-04-24 10:08:22 -07:00
Neil Rashbrook c111019db9 Bug 479057 Concatenating empty strings can result in bogus copying r=bsmedberg 2009-03-04 09:50:22 +00:00
Dão Gottwald 4684440800 Backed out changeset 2df29cb1ed93 2009-02-07 15:07:36 +01:00
Tyler Downer 82b88a63ae Bug 471930 - Strip User Docs from XPCOM. r=bsmedberg 2009-02-07 13:54:47 +01: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 d6e071646d Bug 473587 - nsTString::ToInteger can overflow. Detect and prevent this condition, r+sr=dbaron 2009-01-15 13:44:46 -05: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
Daniel Holbert 8992d625af Bug 458167 - (comments-only changes) Grammar Nazi Vol1: s/it's/its/ for the posessive version of the word, and a few other misc comment-typos, in these directories: accessible browser config profile rdf toolkit tools xpcom xpfe 2008-10-01 23:49:45 -07:00
Jonas Sicking c8e37fb5f2 Update Access-Control implementation to match changes in spec. b=389508 r/sr=jst 2008-09-30 17:50:42 -07:00
Benjamin Smedberg 0b842e5583 Remove the v1 string ABI compatibility hacks. Replace references of nsTAString_CharT with nsTSubstring_CharT which is the new base class. r=dbaron 2008-09-19 11:07:22 -04:00
Serge Gautherie 299fc5125f Bug 410708 – Compiler warning in nsUTF8Utils.h
(Av2) Use char notation
2008-08-09 04:36:52 +02:00
Boris Zbarsky 1090af6c0c Bug 265534. Take some string constructors out of line to reduce codesize. r=bsmedberg, sr=dbaron 2008-08-18 11:40:49 -04:00
Marco Pesenti Gritti f15fdc0ee5 Make sure that nsString and nsString_external are the same size. b=430581 r=benjamin 2008-07-30 08:06:54 +02:00
Benjamin Smedberg 9b28906a05 Bug 442714 - Mark NS_STACK_CLASS on nsAutoString, r=dbaron 2008-06-30 14:46:47 -04:00
Jeff Walden 614a6b1839 Bug 421576 - Unpaired surrogate handled wrongly (Acid3 #68). acid3++ r=dbaron 2008-06-02 21:29:00 -04:00
85156f0462 Fix -Wconversion warnings that prevent compiling netwerk/cookie/src/ (which makes warnings fatal) with gcc 4.3 on x86_64. b=409384 r=bsmedberg a=beltzner 2008-03-06 15:03:50 -08:00
92072ade1b Bug 409384 - Firefox 3.0b2 fauks to compile with gcc 4.3, r=dwitte+dbaron a=damons 2008-02-26 14:44:41 -08:00
a955f4a276 update copy_string() to the single-fragment string world, and optimize write() to not return a value. b=282083, r+sr=jst, a=schrep 2008-01-03 16:07:06 -08:00
e58600c985 Bug 396052 - Firefox fails to start when run from a directory with non-native characters, r=luser sr=neil 2007-12-31 07:15:43 -08:00