xpcom/tests/gtest/TestStrings.cpp
5ff84e853d700af894616574f581551a88a93dc7
created 2019-02-24 17:35 -0800
pushed 2019-03-16 09:47 +0000
Chris Peterson Chris Peterson - Bug 1534878 - xpcom: Make some global functions static. r=erahm
5f4630838d46dd81dadb13220a4af0da9e23a619
created 2019-01-18 10:16 +0100
pushed 2019-01-19 09:59 +0000
Ehsan Akhgari Ehsan Akhgari - Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre
78e2f7ce4040fb85c336f29613bb5b946d3d33ec
created 2018-12-19 21:18 +0000
pushed 2018-12-20 04:52 +0000
Sylvestre Ledru Sylvestre Ledru - Bug 1515434 - Only activate the deactivation of -Wc++2a-compat from clang 6 r=botond
f0b091b21fdd750d0bfd9010cce1a0289d257702
created 2018-12-17 06:56 +0000
pushed 2018-12-17 16:40 +0000
Sylvestre Ledru Sylvestre Ledru - Bug 1509926 - Disable the warning -Wc++2a-compat on some files r=dholbert
09c71a7cf75aeaf2963050e315276fb9a866fd62
created 2018-12-14 18:10 +0000
pushed 2018-12-15 02:27 +0000
Sylvestre Ledru Sylvestre Ledru - Bug 1513205 - Also update the tests to match the Google coding style r=Ehsan
4990602fac5a62a88da5523d53c5465377c4e05f
created 2018-11-28 17:20 +0000
pushed 2018-11-29 04:26 +0000
Henri Sivonen Henri Sivonen - Bug 1493458 - Disable an intermittently failing part of SetCapacity tests. r=erahm
5b09820ac9bd607d41c64386ce7be1b15d70e959
created 2018-11-21 15:27 +0000
pushed 2018-11-22 21:47 +0000
Henri Sivonen Henri Sivonen - Bug 1493458 - Free string buffer using Truncate() after testing SetCapacity(). r=erahm
00df8305ed362a96fb41b12ffc4f6e920a7dd96f
created 2018-09-24 14:23 +0000
pushed 2018-09-25 09:18 +0000
Henri Sivonen Henri Sivonen - Bug 1484938 - Make XPCOM string appends and copying assignments write the terminator after writing content. r=froydnj
0bb09351c1c1eddd8254c0cfd56a3975929eeba1
created 2018-09-17 09:45 +0000
pushed 2018-09-17 16:45 +0000
Henri Sivonen Henri Sivonen - Bug 1487341 - Make Truncate(), SetLength() and Capacity() more efficient by keeping memcpying to the minimum. r=froydnj
bf6f5ec86920a3f58d16ca6ea2c406b09197e976
created 2018-08-31 14:57 +0000
pushed 2018-09-01 21:55 +0000
Henri Sivonen Henri Sivonen - Bug 1487606 - Make AppendLiteral() not undo the effect of SetCapacity(). r=froydnj
400d4a90fe04ed684626d700ca3fc104835d82df
created 2018-08-28 16:42 +0000
pushed 2018-08-28 21:56 +0000
Henri Sivonen Henri Sivonen - Bug 1482828 - Introduce C++ analogs of Rust's nsA[C]StringBulkWriteHandle. r=froydnj
4ef0f163fdeb9afeddd87b37bfd987298c038542
created 2018-07-06 10:44 +0300
pushed 2018-08-14 16:15 +0000
Henri Sivonen Henri Sivonen - Bug 1402247 - Use encoding_rs for XPCOM string encoding conversions. r=Nika,erahm,froydnj.
b54db66223586b4e04f5cb926fccdacf8a176b91
created 2018-05-30 21:15 +0200
pushed 2018-06-01 22:02 +0000
Emilio Cobos Álvarez Emilio Cobos Álvarez - Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj
e0a439f469f3be56b7897cd2721fd46397365068
created 2018-02-07 14:32 +0200
pushed 2018-04-05 15:14 +0000
Henri Sivonen Henri Sivonen - Bug 1436330 - Add microbenchmarks for XPCOM string encoding conversions. r=froydnj
3d4b1e4c8b1d7b172a8fde7001f522621eff007a
created 2018-04-03 13:15 +0300
pushed 2018-04-03 21:52 +0000
Henri Sivonen Henri Sivonen - Bug 1450907 - Spend less time benchmarking HasRTLChars. r=jfkthame
bb66946e1e6e01d47a3acc913a0ee6482c979282
created 2018-03-27 14:22 +0300
pushed 2018-03-27 21:47 +0000
Henri Sivonen Henri Sivonen - Bug 1449148 - Move the test data of TestStrings.cpp into a fixture. r=froydnj
5b91410deb5b02599f99e67a615b613bf7b9971b
created 2018-03-23 17:31 -0700
pushed 2018-03-24 09:42 +0000
L. David Baron L. David Baron - Bug 1448138 - Rename string DataFlags::SHARED to REFCOUNTED to make it clearer to those reading the code. r=erahm
a2cde1c294c06a693cdb1d3aa84d5c276cc90b51
created 2018-01-23 17:50 +0200
pushed 2018-02-02 17:36 +0000
Henri Sivonen Henri Sivonen - Bug 1432728 - Add a microbenchmark for HasRTLChars(). r=gerv,jfkthame
ee16cc590134dad9a591ff4b25c7dfc6c80f0e66
created 2018-01-18 14:16 -0800
pushed 2018-01-19 10:11 +0000
Eric Rahm Eric Rahm - Bug 1431261 - Add nsTDependentString copy constructor. r=dbaron
c0a033707d7a1905c4837b6265739105766d99a4
created 2017-10-10 09:48 +0300
pushed 2017-11-07 21:56 +0000
Henri Sivonen Henri Sivonen - Bug 1396208 - For benchmarking, add a black box function that is opaque to the optimizer. r=froydnj
b871e93e7912a3b51e0f4aa180dc53091918cb18
created 2017-10-09 13:33 -0700
pushed 2017-10-20 09:04 +0000
Eric Rahm Eric Rahm - Bug 1403083 - Part 2: Test conditionaly enabling string functions. r=froydnj
15306340c1beda0eea937fa85b7e11a3d1110d9d
created 2017-09-27 20:19 +1000
pushed 2017-10-04 21:58 +0000
Nicholas Nethercote Nicholas Nethercote - Bug 1403506 - Remove nsTFixedString<T>. r=erahm.
81565c99c596059435ae1111c72a9ed1006d992e
created 2017-09-06 15:00 -0700
pushed 2017-09-24 21:52 +0000
Chris Peterson Chris Peterson - Bug 870698 - Part 8: Replace Equals(NS_LITERAL_CSTRING("")) with EqualsLiteral(""). r=erahm
06b701902e64ee55d8ce677ceee6db7fa7a1e44d
created 2017-08-31 14:46 +0300
pushed 2017-09-02 21:59 +0000
Henri Sivonen Henri Sivonen - Bug 1395527 part 1 - Add microbenchmarks for IsASCII and IsUTF8. r=froydnj
e990298e1596c5d5df0a73c929c0dacef88f5e53
created 2017-09-02 10:39 +0200
pushed 2017-09-02 21:59 +0000
Sebastian Hengst Sebastian Hengst - Backed out changeset 40934888ed06 (bug 1395527) for Android bustage at uriloader/exthandler/android/nsMIMEInfoAndroid.cpp:62: too many arguments to function 'bool IsUTF8(const nsACString&)'. r=backout
40934888ed06465982350390750128f1dbdc831b
created 2017-08-31 14:46 +0300
pushed 2017-09-02 21:59 +0000
Henri Sivonen Henri Sivonen - Bug 1395527 part 1 - Add microbenchmarks for IsASCII and IsUTF8. r=froydnj
e3e420a10be0c7b2037fab085aa7e25633b6242a
created 2017-08-17 15:29 +1000
pushed 2017-08-24 01:07 +0000
Nicholas Nethercote Nicholas Nethercote - Bug 1390428 (part 9) - Remove nsXPIDLCString. r=erahm.
b134b2048e02272a6cac1b93f5e4cc06f9050fbf
created 2017-07-24 19:23 +0200
pushed 2017-07-28 13:24 +0000
Julian Seward Julian Seward - Bug 1382563 - Remove ns*String::AssignWithConversion. r=erahm.
6a629adbb62a299d7208373d1c6f375149d2afdb
created 2017-07-06 14:00 +0200
pushed 2017-07-07 08:34 +0000
Sylvestre Ledru Sylvestre Ledru - Bug 1378712 - Remove all trailing whitespaces r=Ehsan
6352096eb0de303cba9440092279e4254a1ec586
created 2017-06-20 19:19 +1000
pushed 2017-06-23 09:28 +0000
Nicholas Nethercote Nicholas Nethercote - Bug 1374580 (part 3) - Remove ns{,C}Substring typedefs. r=froydnj.
da5d0bec0d75817a409e1283e2bbd95e960e3089
created 2017-05-17 13:49 -0400
pushed 2017-05-27 07:50 +0000
Milan Sreckovic Milan Sreckovic - Bug 1361724: Remove unused offset parameter from StripChar, StripChars, StripTaggedASCII, StripCRLF. r=froydnj
d0e69a04aa14acc14b113b348d743418a3cc3d58
created 2017-05-10 13:12 -0400
pushed 2017-05-10 22:26 +0000
Milan Sreckovic Milan Sreckovic - Bug 1358297: Part 3. Create special case for stripping CR and LF on TSubstring, and use it in all the places that it is called. Use ASCIIMask to make it fast. r=froydnj
1184b333336a8af153cc1f46265181e98fefee3a
created 2017-05-10 13:12 -0400
pushed 2017-05-10 22:26 +0000
Milan Sreckovic Milan Sreckovic - Bug 1358297: Part 2. Helper class to mask ascii characters, letting us do a faster test for membership in a string/character set. r=froydnj
f905c48c25fce6845fafacef2249a92dd7c36f77
created 2017-05-10 13:12 -0400
pushed 2017-05-10 22:26 +0000
Milan Sreckovic Milan Sreckovic - Bug 1358297: Part 1. Unit test, including performance, for Strip/CompressWhitespace. Also using AssignLiteral in other tests where appropriate. r=froydnj
b820c22816054fb93270d66375862913054bee7c
created 2017-05-05 12:45 -0700
pushed 2017-05-08 03:10 +0000
Wes Kocher Wes Kocher - Backed out 4 changesets (bug 1358297) for hazard build failures a=backout
3c1b426a5cce74b34841fc608842518c8746f8f3
created 2017-05-05 13:37 -0400
pushed 2017-05-08 03:10 +0000
Milan Sreckovic Milan Sreckovic - Bug 1358297: Part 3. Create special case for stripping CR and LF on TSubstring, and use it in all the places that it is called. Use ASCIIMask to make it fast. r=froydnj
9201d345a1d5cef6b5ffb91ed27983403cc43865
created 2017-05-05 13:37 -0400
pushed 2017-05-08 03:10 +0000
Milan Sreckovic Milan Sreckovic - Bug 1358297: Part 2. Helper class to mask ascii characters, letting us do a faster test for membership in a string/character set. r=froydnj
c926817dea602dd5ec1e836607c13effc24d90b4
created 2017-05-05 13:36 -0400
pushed 2017-05-08 03:10 +0000
Milan Sreckovic Milan Sreckovic - Bug 1358297: Part 1. Unit test, including performance, for Strip/CompressWhitespace. Also using AssignLiteral in other tests where appropriate. r=froydnj
9849c6dd5d0d8691f0c070aa7fa633bde475ea17
created 2017-03-13 11:19 +1300
pushed 2017-03-13 14:24 +0000
David Major David Major - Bug 1346099: Fix a typo in the string splitter. r=dbaron
e7768fa69da555f323985b104e424b18084e2b0e
created 2017-01-30 12:34 +0100
pushed 2017-01-30 23:22 +0000
Gian-Carlo Pascutto Gian-Carlo Pascutto - Bug 1330326 - Add Split() function on String classes. r=froydnj
0766f63202b5fd05043163f0f47ba7d735d61e99
created 2017-01-27 21:00 +0100
pushed 2017-01-28 00:32 +0000
Sebastian Hengst Sebastian Hengst - Backed out changeset 558774589f3e (bug 1330326) for Windows build bustage in nsTSubstring.h. r=backout on a CLOSED TREE
558774589f3e891b12b570b5a600d8f7a308acd4
created 2017-01-24 12:07 +0100
pushed 2017-01-28 00:32 +0000
Gian-Carlo Pascutto Gian-Carlo Pascutto - Bug 1330326 - Add Split() function on String classes. r=froydnj
89665a27aaabe471ac74fc19ef2dff928155a602
created 2016-11-20 00:53 +0900
pushed 2016-11-22 14:47 +0000
Masatoshi Kimura Masatoshi Kimura - Bug 1318857 - Unhide nsTSubstring_CharT::StripChars in nsTString_CharT. r=froydnj
282f7afd67657dda8e2e8568e5ac6f609311a03b
created 2016-07-20 22:03 -0700
pushed 2016-07-21 14:25 +0000
Chris Peterson Chris Peterson - Bug 1277106 - Part 2: Expand MOZ_UTF16() strings to u"" string literals. r=Waldo
e8c7dfe727cd970e2c3294934e2927b14143c205
created 2015-10-18 01:24 -0400
pushed 2015-10-18 02:55 +0000
Nathan Froyd Nathan Froyd - Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
41dea9df27ed995f8315ab4318c187a617937664
created 2015-10-07 10:19 -0700
pushed 2015-10-07 17:31 +0000
Wes Kocher Wes Kocher - Backed out changeset 91d4539e00ce (bug 1207245)
91d4539e00cecb658604e021675a923c60ef3235
created 2015-10-07 16:50 -0400
pushed 2015-10-07 12:51 +0000
Nathan Froyd Nathan Froyd - Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
81beff07c6dc8176f2d78d443a716259fe6be924
created 2015-07-28 17:52 -0700
pushed 2015-07-30 01:12 +0000
Bobby Holley Bobby Holley - Bug 1188696 - Hoist nsRefPtr.h into MFBT. r=froydnj
91d6e262b662a0b4e47358665e222d3927337af9
created 2015-07-13 08:25 -0700
pushed 2015-07-13 22:55 +0000
Birunthan Mohanathas Birunthan Mohanathas - Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
060cd82010b939db80598c580c20e0d2d0e16acc
created 2015-04-18 20:51 -0400
pushed 2015-04-20 03:21 +0000
Ehsan Akhgari Ehsan Akhgari - Fix a missing check in TestStrings.cpp, no bug
2328731ef45354daf50eb21607a3c781ab79bc7c
created 2015-04-09 10:25 -0700
pushed 2015-04-10 02:44 +0000
Andrew McCreight Andrew McCreight - Bug 1151541, part 2 - Fix mode lines in xpcom/. r=froydnj
e60e056a230c3792c8390f3e6808e97ad7cc3b47
created 2015-03-27 09:01 +0900
pushed 2015-04-01 16:35 +0000
Mike Hommey Mike Hommey - Bug 1134920 - Use moz_xmalloc/moz_xrealloc/free instead of nsMemory::Alloc/Realloc/Free. r=nfroyd
231a8c61b49f3fb528fff76b4c4bb18b14cae473
created 2015-01-28 18:00 +0900
pushed 2015-02-02 12:20 +0000
Mike Hommey Mike Hommey - Bug 1126593 - Add a global fallible instance, so that using fallible works directly, everywhere. r=njn
8afa48feba29925f22cdf4578ccef926c74f7739
created 2015-01-02 16:55 -0500
pushed 2015-01-06 00:19 +0000
Ehsan Akhgari Ehsan Akhgari - Bug 1117211 - Move the XPCOM gtests temporarily placed in xpcom/glue/tests/gtest into xpcom/test/gtest now that it exists; r=froydnj
less more (0) tip