Wes Kocher
484229a7ff
Backed out changeset 17cfad44e12b (bug 1155963) for breaking b2g builds
2015-05-14 16:35:18 -07:00
Neil Rashbrook
5b5c002aaf
Bug 1155963 Only allow NS_LITERAL_CSTRING to be used on compile-time literals r=froydnj,ehsan
2015-05-15 00:00:33 +01:00
Josh Matthews
c219683411
Bug 1059081 - Add a threadsafe wrapper for persistent nsMultiplexStream queues. r=nfroyd
2015-05-14 07:55:57 -04:00
Nicholas Nethercote
840cbedf0b
Bug 1163916 (part 2) - Avoid a static constructor for kCompressedBufferLength. r=froydnj.
2015-05-13 16:48:32 -07:00
Eric Rahm
cff4ae713b
Bug 1162242 - Part 1: Remove instances of #ifdef PR_LOGGING. r=froydnj
...
PR_LOGGING is now always defined, we can remove #ifdefs checking for it.
2015-05-07 09:43:35 -07:00
Ehsan Akhgari
fdd39144f1
Bug 1161240 - Make sure that NS_CloneInputStream correctly deals with null input; r=froydnj
2015-05-05 09:56:47 -04:00
David Major
7a1d7f9ed4
Bug 1159604 - Use fallible allocations in nsLinebreakConverter.cpp (as the code expects). r=smaug
2015-05-04 07:33:00 +02:00
Mike Hommey
b673a97a25
Bug 1134923 - Remove NS_Alloc/NS_Realloc/NS_Free. r=nfroyd
...
They are kept around for the sake of the standalone glue, which is used
for e.g. webapprt, which doesn't have direct access to jemalloc, and thus
still needs a wrapper to go through the xpcom function list and get to
jemalloc from there.
2015-05-01 09:40:30 +09:00
Valentin Gosu
5c759e8161
Bug 1040285 - Single Quotes should not be encoded in the path r=mcmanus,annevk
2015-04-28 18:29:22 +03:00
David Major
c92c020b89
Bug 1157835: Remove the MSVC_ENABLE_PGO flag from the build system. r=glandium
2015-04-27 19:59:27 -04:00
Kartikaya Gupta
8ec41da08a
Bug 1039866 - Rip out a bunch of metro-only code. r=jimm,gavin,rstrong
2015-04-23 15:10:30 -04:00
Ehsan Akhgari
9005bd367e
Bug 1156109 - Make nsStorageInputStream::mStorageStream an nsRefPtr; r=froydnj
2015-04-20 13:10:30 -04:00
Wes Kocher
f307e6f18e
Backed out 1 changesets (bug 1040285) for windows xpcshell failures CLOSED TREE
...
Backed out changeset ffd1b16f058b (bug 1040285)
2015-04-16 15:17:15 -07:00
Valentin Gosu
1174410076
Bug 1040285 - Single Quotes should not be encoded in the path. r=mcmanus, r=annevk
2015-04-16 01:11:05 +03:00
Andrew McCreight
adc75e5ee8
Bug 1151541, part 3 - Fix leading tabs in xpcom/. r=froydnj
2015-04-09 10:25:05 -07:00
Mike Hommey
ccd2a9b975
Bug 1134920 - Use moz_xmalloc/moz_xrealloc/free instead of nsMemory::Alloc/Realloc/Free. r=nfroyd
2015-04-01 13:51:45 +09:00
Mike Hommey
4da5ed0b71
Bug 1138293 - Use malloc/free/realloc/calloc instead of moz_malloc/moz_free/moz_realloc/moz_calloc. r=njn
...
The distinction between moz_malloc/moz_free and malloc/free is not
interesting. We are inconsistent in our use of one or the other, and
I wouldn't be surprised if we are mixing them anyways.
2015-03-31 12:32:49 +09:00
Andrew McCreight
78ef3a55a4
Bug 1147572 - Remove implementation language field from DOM class info. r=jst
2015-03-30 10:45:39 -07:00
Titi_Alone
0a556d8926
Bug 1133063 - Move SetLength into the if's condition. r=froydnj
2015-02-26 19:13:59 +01:00
Jed Davis
eae6bbbf2f
Bug 1146416 - Move remote anonymous temporary file opening to the main thread. r=roc
2015-03-27 17:24:37 -07:00
Andrea Marchesini
b212600c95
Bug 1148527 - Indentation fix after bug 1145631, r=ehsan
2015-03-27 18:52:19 +00:00
Bill McCloskey
d524d0d64e
Bug 997325 - Implement main process scriptable only flag in XPIDL (r=mrbkap)
2015-03-26 14:39:48 -07:00
Trevor Saunders
98873cda27
bug 1146027 - more final r=froydnj
2015-03-24 17:51:43 -04:00
Ehsan Akhgari
33bb32f549
Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
...
This patch was automatically generated using the following script:
function convert() {
echo "Converting $1 to $2..."
find . \
! -wholename "*/.git*" \
! -wholename "obj-ff-dbg*" \
-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 MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Jacek Caban
4c2c54f407
Bug 1142584 - Fixed nsEscape.cpp compilation on mingw GCC 4.8. r=nfroyd
2015-03-19 14:29:54 +01:00
Daniel Holbert
2c24121797
Bug 1142841: Convert all nsRefPtr<nsIRunnable> to nsCOMPtr<nsIRunnable>. r=ehsan
...
This patch was generated by a script. Here's the source of the script for
future reference:
find . \( -iname "*.cpp" -o -iname "*.h" \) | \
xargs -n 1 sed -i "s/nsRefPtr<nsIRunnable>/nsCOMPtr<nsIRunnable>/g"
2015-03-17 09:29:17 -07:00
Nathan Froyd
8ddefeed54
Bug 1142503 - don't use QueryInterface when the compiler can do the cast for us; r=ehsan
...
Calling QueryInterface with a statically known IID should typically not
be necessary. In those cases where it's not, the compiler can do the
cast for us, though we have to supply the reference-counting that
QueryInterface would do.
In passing, several redundant null-checks for the result of |new T| have
been deleted.
2015-03-12 09:43:50 -04:00
Ben Kelly
25093397b3
Bug 1133939 P1 Free buffer resources when an nsPipeInputStream is closed. r=froydnj
2015-02-21 09:51:17 -05:00
Jed Davis
f2e1032764
Bug 1140714 - Pass through remote NS_OpenAnonymousTemporaryFile failure to caller. r=billm
2015-03-10 10:32:00 +01:00
Thomas Baquet
f2c2b9520b
Bug 1132078 - Remove useless null checks after allocating memory with |new| from xpcom/io. r=nfroyd
2015-03-02 11:59:36 +01:00
Kartikaya Gupta
5d784cacbd
Bug 1139547 - Fix unsequenced variable modmification/access error. r=botond,bsmedberg
2015-03-05 06:04:03 -05:00
Nathan Froyd
fb0039e0cb
Bug 1137464 - add missing include for nsICloneableInputStream.h to nsStreamUtils.cpp; r=bkelly
2015-02-26 16:35:09 -05:00
Ehsan Akhgari
13e7f6763c
Backed out 2 changesets (bug 1133939) because of bug 1136453
...
Backed out changeset 212080d51fb7 (bug 1133939)
Backed out changeset 27de4b553912 (bug 1133939)
2015-02-25 13:26:41 -05:00
Ben Kelly
f179b69f0c
Bug 1133939 P1 Free buffer resources when an nsPipeInputStream is closed. r=froydnj
...
* * *
Bug 1133939 P1 interdiff 005 don't delete segments still being written
2015-02-21 09:51:17 -05:00
Ryan VanderMeulen
b46b5a25d9
Backed out changesets 4c2b179b71ae and c96050cdedd5 (bug 1133939) for asserts.
2015-02-20 20:00:19 -05:00
Ben Kelly
1bbac510fd
Bug 1133939 P1 Free buffer resources when an nsPipeInputStream is closed. r=froydnj
2015-02-20 18:16:04 -05:00
Alex Henrie
48b5b4a5bb
Bug 1134537 - Only support GIO in nsLocalFileUnix. r=froydnj
2015-02-19 12:58:58 -07:00
Ben Kelly
6b26bfa2f3
Bug 1100398 P5 Provide NS_CloneInputStream() factory method in nsStreamUtils.h. r=froydnj
2015-02-10 23:55:43 -05:00
Ben Kelly
382ddfd269
Bug 1100398 P4 Make nsPipeInputStream cloneable. r=froydnj
2015-02-10 23:55:43 -05:00
Ben Kelly
b9cf64fc8c
Bug 1100398 P3 Make nsStorageStream's input streams cloneable. r=froydnj
2015-02-10 23:55:43 -05:00
Ben Kelly
fc93a14f1a
Bug 1100398 P2 Make nsStringInputStream cloneable. r=froydnj
2015-02-10 23:55:43 -05:00
Ben Kelly
e19e5a4c25
Bug 1100398 P1 Add the nsICloneableInputStream interface. r=froydnj
2015-02-10 23:55:43 -05:00
Nicholas Nethercote
6ee3666899
Bug 1127201 (attempt 2, part 1) - Replace most NS_ABORT_IF_FALSE calls with MOZ_ASSERT. r=Waldo.
...
--HG--
extra : rebase_source : 488e401ff87e31a2074c4108c4df0572d9536667
2015-02-09 14:34:50 -08:00
Andrew McCreight
8413cc973c
Back out Bug 1127201 (part 2) for various problems.
2015-02-06 15:04:32 -08:00
Nicholas Nethercote
3629781b69
Bug 1127201 (part 2) - Convert all NS_ABORT_IF_FALSE calls to MOZ_ASSERT. r=Waldo.
...
--HG--
extra : rebase_source : 99182e70335d2b5ff95f8c528ae992d37294be3a
2015-02-04 20:05:36 -08:00
Mike Hommey
824818ee98
Bug 1126593 - Add a global fallible instance, so that using fallible works directly, everywhere. r=njn
...
--HG--
rename : memory/mozalloc/fallible.h => memory/fallible/fallible.h
2015-02-02 09:56:13 +09:00
Xidorn Quan
f57c5724db
Bug 1124029
- Suppress different __unaligned qualifiers warnings. r=froydnj
...
--HG--
extra : source : e854844083bcb065d649eea337c558f05291a647
extra : histedit_source : 9563e1ccb80018ade7b7f21f563bdf6954f13e35
2015-01-27 08:37:38 +11:00
Ehsan Akhgari
689b863c1b
Bug 1123007 - Mark ReadSegmentsClosure as stack class, and its mRealInputStream member as nsCOMPtr; r=froydnj
2015-01-21 22:42:39 -05:00
Ehsan Akhgari
1b43386d54
Bug 1123014 - Mark the nsWriteSegmentThunk as stack class, and its mStream member as nsCOMPtr; r=froydnj
2015-01-21 22:42:39 -05:00
Ehsan Akhgari
8de7d6f80d
Bug 1123004 - Mark ReadSegmentsState as stack class, and its mThisStream member as nsCOMPtr; r=froydnj
2015-01-21 22:42:38 -05:00