Commit Graph

734 Commits

Author SHA1 Message Date
Ehsan Akhgari
5cccea6f0f 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
425461aedb Bug 1142584 - Fixed nsEscape.cpp compilation on mingw GCC 4.8. r=nfroyd 2015-03-19 14:29:54 +01:00
Daniel Holbert
2416fccac8 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
7ff6a1d668 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
6a06acd86c Bug 1133939 P1 Free buffer resources when an nsPipeInputStream is closed. r=froydnj 2015-02-21 09:51:17 -05:00
Jed Davis
bfd03b069b Bug 1140714 - Pass through remote NS_OpenAnonymousTemporaryFile failure to caller. r=billm 2015-03-10 10:32:00 +01:00
Thomas Baquet
749f667e1b 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
7f7ae1d7a9 Bug 1139547 - Fix unsequenced variable modmification/access error. r=botond,bsmedberg 2015-03-05 06:04:03 -05:00
Nathan Froyd
150ac58520 Bug 1137464 - add missing include for nsICloneableInputStream.h to nsStreamUtils.cpp; r=bkelly 2015-02-26 16:35:09 -05:00
Ehsan Akhgari
18eb496f5f 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
994217b093 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
2397a84c53 Backed out changesets 4c2b179b71ae and c96050cdedd5 (bug 1133939) for asserts. 2015-02-20 20:00:19 -05:00
Ben Kelly
d795362483 Bug 1133939 P1 Free buffer resources when an nsPipeInputStream is closed. r=froydnj 2015-02-20 18:16:04 -05:00
Alex Henrie
d0bc166248 Bug 1134537 - Only support GIO in nsLocalFileUnix. r=froydnj 2015-02-19 12:58:58 -07:00
Ben Kelly
2b0ffce836 Bug 1100398 P5 Provide NS_CloneInputStream() factory method in nsStreamUtils.h. r=froydnj 2015-02-10 23:55:43 -05:00
Ben Kelly
c1651128c6 Bug 1100398 P4 Make nsPipeInputStream cloneable. r=froydnj 2015-02-10 23:55:43 -05:00
Ben Kelly
65b6d3cb3e Bug 1100398 P3 Make nsStorageStream's input streams cloneable. r=froydnj 2015-02-10 23:55:43 -05:00
Ben Kelly
d38f4641c3 Bug 1100398 P2 Make nsStringInputStream cloneable. r=froydnj 2015-02-10 23:55:43 -05:00
Ben Kelly
a4ec611b4f Bug 1100398 P1 Add the nsICloneableInputStream interface. r=froydnj 2015-02-10 23:55:43 -05:00
Nicholas Nethercote
ee41df7dc2 Bug 1127201 (attempt 2, part 1) - Replace most NS_ABORT_IF_FALSE calls with MOZ_ASSERT. r=Waldo. 2015-02-09 14:34:50 -08:00
Andrew McCreight
1ee96e7527 Back out Bug 1127201 (part 2) for various problems. 2015-02-06 15:04:32 -08:00
Nicholas Nethercote
0a02b5d31c Bug 1127201 (part 2) - Convert all NS_ABORT_IF_FALSE calls to MOZ_ASSERT. r=Waldo. 2015-02-04 20:05:36 -08:00
Mike Hommey
50e6916b40 Bug 1126593 - Add a global fallible instance, so that using fallible works directly, everywhere. r=njn 2015-02-02 09:56:13 +09:00
Xidorn Quan
6fe45e1a01 Bug 1124029 - Suppress different __unaligned qualifiers warnings. r=froydnj 2015-01-27 08:37:38 +11:00
Ehsan Akhgari
ec2177209a 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
c87c791341 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
6007c6bc1a Bug 1123004 - Mark ReadSegmentsState as stack class, and its mThisStream member as nsCOMPtr; r=froydnj 2015-01-21 22:42:38 -05:00
Ehsan Akhgari
0bce91f637 Bug 1123009 - Make nsAppDirectoryEnumerator::mProvider an nsCOMPtr; r=froydnj 2015-01-19 12:38:17 -05:00
Ehsan Akhgari
08289bd4ea Bug 1123006 - Mark FileData as stack class, and its data member as nsCOMPtr; r=froydnj 2015-01-19 12:37:48 -05:00
Valentin Gosu
945abc4b56 Bug 1121826 - backout cc192030c28f - brackets shouldn't be automatically escaped in the Query r=mcmanus 2015-01-17 16:13:21 +02:00
Chris Peterson
90751d5a6c Bug 1118076 - Remove MOZ_THIS_IN_INITIALIZER_LIST. r=Waldo 2015-01-06 21:39:46 -08:00
Jim Chen
67f8ab8931 Bug 1116589 - Use templated JNI classes in generated bindings; r=snorp 2015-01-09 19:33:57 -05:00
Ehsan Akhgari
61fc99a4ee Bug 1117035 - Mark virtual overridden functions as MOZ_OVERRIDE in XPCOM; r=froydnj 2015-01-05 11:25:41 -05:00
Ehsan Akhgari
57666729b5 Bug 1109746 - Fix more bad implicit constructors in some random code across the tree
--HG--
extra : amend_source : 48ca151cb1ca2193404c65831556051c02093914
2014-12-13 14:17:04 -05:00
Ben Kelly
d60f59e183 Bug 1098004 Follow-up to fix non-unified bustage. r=me 2014-12-12 16:57:23 -05:00
Ben Kelly
4bb128c79d Bug 1098004 Implement snappy compression framing protocol as nsI(Input|Output)Streams. r=froydnj 2014-12-12 14:12:27 -05:00
Landry Breuil
effe48be0c Bug 1106551: Include sys/mount.h only in the linux quota case r=froydnj
Fixes build on OpenBSD where you cant include sys/mount.h alone, you
also need sys/param.h
2014-12-05 15:46:53 +01:00
Mats Palmgren
9ce25f95ec Bug 1101625 part 1 - Don't escape all non-ASCII characters when unsafe characters are found, just escape the unsafe characters. r=smontagu 2014-12-01 15:55:15 +00:00
Paul Szabo
abb3ffd658 Bug 918140 - mis-interprets disk "hard quota" (blocks vs bytes confusion). r=benjamin 2014-11-23 22:20:38 +02:00
Jacek Caban
0bf6e9a29a Bug 1100997 - Fixed FileUtilsWin.h compilation on mingw. r=cpearce 2014-11-20 10:52:26 +01:00
Aaron Klotz
f1ae1d08c7 Bug 1090389: Ensure that IOInterposer normalizes to long file names on Windows; r=froydnj 2014-11-12 14:01:45 -07:00
Mats Palmgren
eac1f5ee70 Bug 415491, part 2 - Implement a char16_t version of NS_EscapeURL. r=bzbarsky 2014-11-08 02:42:04 +00:00
Stephen Pohl
3d3b4b4748 Bug 1082777: Support running of xpcshell on OSX with relative path invocation on Terminal. r=smichaud 2014-10-21 09:43:02 -04:00
Steve Fink
7b80880b2e Bug 1061288 - Make it harder for ArrayBuffer data pointers to be held across invalidations. r=smaug,terrence,jdm,roc,khuey 2014-10-07 10:44:07 -07:00
Stephen Pohl
46e5734098 Bug 1077099: Add GreBinD to easily differentiate between Contents/Resources (GreD) and Contents/MacOS (GreBinD) on OSX. r=bsmedberg 2014-10-03 16:48:49 -04:00
Ben Turner
b5f643fa70 Bug 994190 - 'Modify main-thread IndexedDB to use PBackground', r=khuey. 2014-09-26 16:21:57 -07:00
Birunthan Mohanathas
509c03f2a3 Bug 1045289 - Rename nsXPComInit.cpp to XPCOMInit.cpp. r=froydnj
--HG--
rename : xpcom/build/nsXPComInit.cpp => xpcom/build/XPCOMInit.cpp
2014-09-26 07:20:23 +03:00
Bob Owen
7f650fc997 Bug 1067312 - Create the low integrity temp directory when first requested. r=froydnj
At least one test expects the temporary directory to exist, so creating it in case other parts of the code do as well.
2014-09-15 16:51:28 +01:00
Ben Turner
68190e91be Backout bug 994190 and merge over some stuff that landed afterwards on a CLOSED TREE. 2014-09-17 19:36:01 -04:00
Ben Turner
c6ede83e24 Bug 994190 - 'Modify main-thread IndexedDB to use PBackground', r=khuey.
--HG--
rename : dom/indexedDB/ipc/SerializationHelpers.h => dom/indexedDB/SerializationHelpers.h
rename : dom/indexedDB/ipc/unit/head.js => dom/indexedDB/test/unit/xpcshell-head-child-process.js
rename : dom/indexedDB/test/unit/head.js => dom/indexedDB/test/unit/xpcshell-head-parent-process.js
rename : dom/ipc/Blob.h => dom/ipc/BlobParent.h
rename : dom/ipc/FileDescriptorSetChild.cpp => ipc/glue/FileDescriptorSetChild.cpp
rename : dom/ipc/FileDescriptorSetChild.h => ipc/glue/FileDescriptorSetChild.h
rename : dom/ipc/FileDescriptorSetParent.cpp => ipc/glue/FileDescriptorSetParent.cpp
rename : dom/ipc/FileDescriptorSetParent.h => ipc/glue/FileDescriptorSetParent.h
rename : dom/ipc/PFileDescriptorSet.ipdl => ipc/glue/PFileDescriptorSet.ipdl
2014-09-13 12:12:19 -04:00