Commit Graph

231 Commits

Author SHA1 Message Date
Nathan Froyd
843f882905 Bug 940329: fix spammy implicit type-conversion warnings in nsTSubstring.h r=ehsan 2014-04-27 00:29:25 -04:00
Alessio Placitelli
d823d1c396 Bug 950076 - Add a fallible form of nsAString::Append and Replace and use it in nsTextFragment::AppendTo. r=bsmedberg, r=jst 2014-03-19 13:05:02 -04:00
Ehsan Akhgari
5ab76fe98e Bug 979118 - Add global MMX_FLAGS, SSE_FLAGS and SSE2_FLAGS variables; r=glandium 2014-03-19 21:55:00 -04:00
Ryan VanderMeulen
a902b4a4c8 Backed out changesets a17ee88f1fe7, 6e3aee4a9650, 07e5ed676919 (bug 950076) for Werror bustage. 2014-03-19 14:00:10 -04:00
Alessio Placitelli
c85cb08e9b Bug 950076 - Add a fallible form of nsAString::Append and Replace and use it in nsTextFragment::AppendTo. r=bsmedberg, r=jst 2014-03-19 13:05:02 -04:00
Nathan Froyd
57dd0ff759 Bug 984450 - delete unused, deprecated Recycle definitions in nsString.h; r=bsmedberg 2014-03-17 12:27:29 -04:00
Nathan Froyd
73dbe7d676 Bug 984443 - get rid of #ifndef $OTHER_HEADER bits from xpcom/ as relics of a bygone era; r=ehsan 2014-03-17 12:20:47 -04:00
Kyle Huey
567b9398be Bug 981150: Use nsTArrayForwardDeclare.h more. r=ehsan 2014-03-15 12:00:17 -07:00
Kyle Huey
f7eafc09a9 Bug 967364: Rename already_AddRefed::get to take. r=bsmedberg 2014-03-15 12:00:15 -07:00
Simon Montagu
7550802f53 Add ReplaceChars with a char16_t array. Bug 979556, r=bsmedberg 2014-03-05 21:04:36 +02:00
Ehsan Akhgari
f5dd4e8ef8 Bug 978594 - Part 3: Port some of the per-source flags to moz.build; r=glandium
--HG--
extra : rebase_source : fe4cd059eddda221af420e1517250772816d7ee8
2014-03-02 15:41:32 -05:00
James Kitchener
8b601ec5fa Bug 328755 - Assigning a zero-length string should not alloc a buffer. r=bsmedberg 2014-02-03 22:57:56 +10:30
Ehsan Akhgari
22eada1dd3 Bug 973142 - Get rid of the MOZILLA_INTERNAL_API makefile variable; r=glandium
It's just as easy to directly set the preprocessor macro in the moz.build
files.  Using this variable doesn't really buy us anything.

This patch also removes unused code from rdf/tests/dsds.
2014-02-18 01:56:51 -05:00
Neil Rashbrook
575255ea5f Bug 966911 Part 4: Recreate the underlying nsAString when an an external string is passed back to C++ r=bholley 2014-02-14 19:44:55 +00:00
Neil Rashbrook
b9f497881a Bug 966911 Part 1: Improve DOMString and AString conversion code paths r=bholley 2014-02-12 21:22:07 +00:00
Peiyong Lin
412fa18587 Bug 613472 - Use the fallible allocator and propagate errors in AppendASCIItoUTF16. r=bsmedberg 2014-02-11 09:22:45 -05:00
Jacek Caban
bd25562ba8 Bug 944905 - Fix char16_t/wchar_t mismatch in xpcom/ r=bsmedberg
--HG--
extra : rebase_source : 2f81dd18df59e0498a577c437954c5b1f52f8e28
2014-02-06 17:42:58 +01:00
Nathan Froyd
d77cd18e80 Bug 965783 - part 2 - remove {Min,Max}Int; r=ehsan 2014-01-30 09:56:12 -05:00
Neil Rashbrook
811e1e96dd Bug 514173 Make literal string buffers shareable r=dbaron,ehsan,bholley 2014-01-08 20:51:38 +00:00
Alessio Placitelli
9da9342c58 Bug 950762 - Add fallible AppendUTF16toUTF8 and make DOMParser::ParseFromString fallible. r=jst, r=bsmedberg 2014-01-07 10:18:30 -05:00
Carsten "Tomcat" Book
81aa764e2f Backed out changeset 06f381426af1 (bug 944905) for windows bustage on a CLOSED TREE 2014-01-07 15:18:43 +01:00
Jacek Caban
cec8f40264 Bug 944905 - Fix char16_t/wchar_t mismatch in xpcom/ r=bsmedberg 2014-01-07 14:54:52 +01:00
Ehsan Akhgari
eaa7491d77 Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
This patch was automatically generated by the following script:

#!/bin/bash
# Command to convert PRUnichar to char16_t

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*modules/libmar*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name prtypes.h \
       ! -name Char16.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Henri Sivonen
4802a84a12 Bug 951110 - Make AssertValidDepedentString() more informative. r=bsmedberg. 2013-12-19 10:15:34 +02:00
Jacek Caban
50a5638f29 Bug 944905 - Fixed char16_t/wchar_t mismatch in xpcom/ r=bsmedberg 2013-12-04 13:19:09 +01:00
Jacek Caban
508bdb6c1f Bug 928351 - Char16.h and xpcom/strings/public parts r=ehsan,Waldo 2013-11-27 14:40:54 +01:00
Mike Hommey
829a5d6ea2 Bug 943197 - Remove useless -DIMPL_LIBXUL. r=mshal 2013-11-27 17:13:05 +09:00
Benjamin Smedberg
09c0296c7a Bug 938794 - Annotate OOM size as infallible string or data structures abort, r=froydnj
--HG--
extra : rebase_source : f84278dfbba92c6d75458b525a559b6f8598500f
2013-11-25 15:06:17 -05:00
Ehsan Akhgari
83e2251f24 Bug 941739 - Print the current process and thread information on XPCOM assertions and string leaks stats; r=froydnj 2013-11-21 14:17:35 -05:00
Ehsan Akhgari
fbd7944f83 Bug 936912 - Build xpcom in unified mode; r=froydnj 2013-11-18 21:34:00 -05:00
Mike Hommey
931cb49886 Bug 939632 - Remove LIBRARY_NAME for leaf libraries. r=gps
Landing on a CLOSED TREE.
2013-11-19 11:50:54 +09:00
Mike Hommey
f0d1cd1e10 Bug 939044 - Remove most definitions of MODULE. r=mshal 2013-11-19 11:47:39 +09:00
Mike Hommey
9c5c5d8f00 Bug 939039 - Remove now useless FORCE_STATIC_LIB definitions. r=gps 2013-11-19 11:47:28 +09:00
Mike Hommey
f81885e53b Bug 935881 - Use FINAL_LIBRARY for all (fake) libraries that end up linked in a single other library. r=gps 2013-11-19 11:47:14 +09:00
Nathan Froyd
2a6b791647 Bug 608915 - part 2 - use MFBT's double-conversion code in nsString::AppendFloat; r=bz,gps 2013-09-24 13:36:55 -04:00
Matt Brubeck
c8681d87a8 Bug 935376 - Back out 2e6063aa9b77 (bug 328755) on suspicion of causing a crash in ntdll 2013-11-05 21:12:56 -08:00
James Kitchener
c75c6853ab Bug 328755 - Assigning a zero-length string should not alloc a buffer. r=bsmedberg 2013-11-04 14:22:37 -05:00
Cykesiopka
e0bcd6aebc Bug 914270 - Part 1: Simple/Automated moves. r=joey 2013-10-24 18:51:00 +01:00
Mike Hommey
f1c0c07862 Bug 929905 - Consolidate sources in moz.build. r=gps 2013-10-25 08:23:05 +09:00
Mike Hommey
80c623bb6a Bug 921492 - Make StrictOrderingOnAppendList use actual alphabetical sorting. r=mshal,r=gps 2013-10-24 08:05:43 +09:00
Birunthan Mohanathas
3bd29c41c6 Bug 784739 - Switch from NULL to nullptr in xpcom/ (3/3); r=ehsan 2013-10-10 16:42:16 -04:00
Daniel Holbert
a11d4cad75 Bug 925066: Remove unused "#include nsDebug.h" from nsAlgorithm.h. r=jst 2013-10-09 17:13:49 -07:00
Daniel Holbert
abfb15d3ac Bug 925129: Remove VC9-and-earlier chunk from nsAlgorithm.h, since we don't support building with VC9 and earlier. r=ehsan 2013-10-09 17:03:34 -07:00
Ehsan Akhgari
ed7c8946ff Bug 918923 - Part 1: Fix the include-what-you-use pragmas in the string headers; r=bsmedberg 2013-09-23 13:23:56 -04:00
Joshua Cranmer
84029df5aa Bug 904985 - Use Char16.h in favor of NS_LL, Part 3: kill NS_LL. r=dbaron
--HG--
extra : rebase_source : bc105a8cbb87cc9b6b2db0734d9841fe599e794b
2013-09-17 22:43:21 -05:00
Joshua Cranmer
0706184d74 Bug 904985, part 2: Use char16_t for NS_LITERAL_STRING, r=glandium, dbaron.
--HG--
extra : rebase_source : b4c9def93d907724fb4a1bc3f6279db87a11fb1f
2013-09-17 22:43:12 -05:00
Mike Hommey
05b3f24e0e Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
Boris Zbarsky
8e1d25505b Bug 910795 part 1. Add a way to Rebind() an nsString to be a dependent string. r=bsmedberg 2013-09-04 16:43:12 -04:00
Nathan Froyd
dccf049cdc Bug 884281 - use mozilla::Atomic in xpcom/; r=bsmedberg,jlebar 2013-08-22 11:14:42 -04:00
Ms2ger
19f3e043e3 Bug 904831 - Part b: Move unconditional MSVC_ENABLE_PGO definitions into moz.build; r=gps 2013-08-22 08:56:01 +02:00