Jan Beich
2a0e5d8956
Bug 784124 - Don't use statvfs() on Linux and Tru64, it's buggy. r=karlt
2012-08-29 17:00:10 -04:00
Jan Beich
e87b0409af
Bug 784124 - Always use .f_frsize with statvfs(). r=karlt
2012-08-29 17:00:10 -04:00
Jan Beich
6006c05043
Bug 784124 - Let it reach NS_ERROR_NOT_IMPLEMENTED if stat(v)fs is not available. r=bsmedberg
2012-08-29 17:00:10 -04:00
Jan Beich
2629c7f9ba
Bug 784124 - Properly check for stat(v)fs, only used by XPCOM implementation. r=bsmedberg
2012-08-29 17:00:10 -04:00
Jan Beich
f98b655f28
Bug 784124 - FreeBSD supports statvfs(2) since 5.0. r=bsmedberg
2012-08-29 17:00:09 -04:00
Andrew McCreight
5a7f7d30e1
Bug 785666 - Remove old-style CC Suspect and Forget functions. r=smaug,bsmedberg
2012-08-27 10:28:38 -07:00
Rafael Ávila de Espíndola
0b6fcd9466
Bug 786148 - s/IPC/ipc/. r=ted.
...
This makes our builds a bit more reproducible. Without it when processing
#include "IPC/IPCMessageUtils.h
we end up in
#include "ShadowLayers.h"
which in the final XUL translates into the symbol (run nm -a to see it):
- 00 0000 SOL ../../../../gfx/layers/IPC/ShadowLayers.h
now when some file in gfx/layers/ipc does
#include "ShadowLayres.h"
the file found is the local one with the lowercase directory name and we end up
with
- 00 0000 SOL ../../../../gfx/layers/ipc/ShadowLayers.h
--HG--
extra : rebase_source : 96c68f6a3448eedaa280039960df911a9c707cac
2012-08-28 08:41:04 -04:00
Ryan VanderMeulen
1a2865e046
Merge m-c to inbound.
2012-08-27 19:34:23 -04:00
Alex Keybl
0f6cdb0532
Merging in version bump NO BUG
2012-08-27 12:21:46 -07:00
Landry Breuil
fd6874c107
Bug 783875: Fix OpenBSD/arm platforms detection in xpcom. r=bsmedberg.
2012-08-26 21:54:19 +02:00
Ryan VanderMeulen
31b5d3335d
Merge m-c to inbound.
2012-08-24 16:18:09 -04:00
Olli Pettay
0a74c76449
Bug 785463 - Tweak PurpleBuffer Block size, r=mccr8
2012-08-24 12:26:44 -07:00
Ben Turner
7370f46298
Bug 784726 - 'Remove old IPC::URI'. r=cjones+khuey.
...
--HG--
rename : ipc/glue/IPCSerializableParams.ipdlh => ipc/glue/InputStreamParams.ipdlh
extra : transplant_source : %A6%BC%8B%8D%3A_%7Df%2B%FE%AA%94%81%AB%CAW%15K%A7%03
2012-08-23 12:33:46 -07:00
Chris Double
29ecf269e0
Backout bug 730765 Part 3/3
...
--HG--
extra : rebase_source : 2aadbb2419cceeac30bd95484e37ab905525662f
2012-08-24 00:12:53 +12:00
Chris Double
45b8eeefcf
Backed out changeset 5583ccdfea18
2012-08-23 22:42:14 +12:00
Chris Double
8d6f9bcdad
Backed out changeset 581cdaf67a25
...
--HG--
extra : rebase_source : 4577b8706e4b807af0bf59f9c33456ffee119d76
2012-08-23 21:45:33 +12:00
Paul Adenot
82b123b5a7
Bug 730765 - Media cache shouldn't be used when loading from blob: urls. r=biesi
2012-08-21 16:00:23 -07:00
Rafael Ávila de Espíndola
56d1a6d649
Bug 783154 - Refactor the chrome hang code to use the same class as write poisoning. r=taras,benwa,vladan.
...
--HG--
extra : rebase_source : 1f43ac88ceabc698ba0a58715562db90af1c266f
2012-08-21 17:14:38 -04:00
Ryan VanderMeulen
8df811156e
Backout 3ce94808577b, 56f288230d5a, and 18ff170ecb1f (bug 730765) for bustage. r=fail
2012-08-21 18:45:54 -04:00
Paul Adenot
666f75f381
Bug 730765 - Tests for nsISeekableStream when backed by a nsMultiplexInputStream. r=biesi
2012-08-15 15:46:08 -07:00
Paul Adenot
a952a58489
Bug 730765 - Media cache shouldn't be used when loading from blob: urls. r=biesi
2012-08-15 10:36:12 -07:00
Gian-Carlo Pascutto
1099676e48
Bug 779687 - Add detection for ARMv7 CPUs. r=dougt
2012-08-21 13:20:46 +02:00
Andrew McCreight
c063a3e54c
Bug 750570, part 4 - Switch most native CC classes to use the purple buffer. r=smaug
...
This patch actually converts over most of the existing native CC classes
to use the participant. This is done by converting them to use
the newly generalized nsCycleCollectingAutoRefCnt instead of their usual
ref count.
This is mostly a matter of defining new macros defining AddRef() and Release()
for native CC classes with the CC ref count.
nsTimeout is left as a legacy native CC class because it is a weird class,
but hopefully eventually it too can be converted over. See bug 774874.
2012-08-24 09:50:06 -07:00
Andrew McCreight
d0e1cf9ab3
Bug 750570, part 3 - Remove unused stabilizeForDeletion argument. r=smaug
...
This argument isn't used, and would have to have its type changed
to support native purple buffer participants, so we just remove it.
2012-08-24 09:50:06 -07:00
Andrew McCreight
d5b4c64064
Bug 750570, part 2 - Add purple buffer support for non-nsISupports classes. r=smaug
...
We add a new field to purple buffer entries, to store the participant for
non-nsISupports classes. For nsISupports, we store NULL instead. The participant
has to be passed into Suspect2.
In the cycle collector itself, we generalize canonicalization to handle the
possibility that we can just grab the participant directly from a field,
rather than needing to QI something.
Most of the patch is just routing around this extra pointer.
2012-08-24 09:50:06 -07:00
Andrew McCreight
56b160f693
Bug 750570, part 1 - lift UnmarkIfPurple to the root CC participant. r=glandium,smaug
...
All CC classes are potentially cycle collectable, so we need
to implement this function on the participant for all CC classes.
2012-08-24 09:50:06 -07:00
Andrew McCreight
fbe861f103
Bug 749366 - Remove mostly bogus size arg from CC callbacks. r=smaug
2012-08-27 10:41:04 -07:00
Ben Turner
8740622e89
Bug 782649 - 'Remove old IPC::InputStream'. r=cjones+khuey.
2012-08-22 19:13:54 -07:00
Justin Lebar
c928c51b30
Bug 780970 - Add [infallible] attribute for XPIDL attributes. r=khuey
2012-08-22 18:27:04 -07:00
Phil Ringnalda
a1dd8177da
Merge last PGO-green changeset from mozilla-inbound to mozilla-central
2012-08-19 11:17:28 -07:00
Kyle Huey
1cad803140
Bug 774888: Error out if there's no TimeStamp implementation. r=glandium
2012-08-18 12:15:22 -07:00
Doug Turner
09b892f270
Bug 759416 - Backout API change part 2. r=dougt
2012-08-17 19:43:00 -07:00
Doug Turner
2c5581b199
Bug 759416 - Backout API change. r=dougt
2012-08-17 19:43:00 -07:00
Aryeh Gregor
a7aaa7a89e
Bug 782614 - Don't return nsresult from main() (xpcom/); r=bsmedberg
2012-08-07 20:17:27 +03:00
Aryeh Gregor
31b517948c
Bug 768865 - Make NS_SUCCEEDED/NS_FAILED always inline functions for C++; r=bsmedberg
2012-06-27 17:54:01 +03:00
Ben Turner
4b09919a18
Bug 781256 - 'Share FileDescriptors across processes in preparation for OS-level sandbox'. r=khuey+cjones.
...
--HG--
rename : netwerk/base/public/nsIIPCSerializable.idl => netwerk/base/public/nsIIPCSerializableObsolete.idl
extra : transplant_source : %EB%18%9D%E6%B1%C6%26%A2%16%F3%85g%1A%25%B1%8E%A1%E72e
2012-08-16 00:02:32 -04:00
Aryeh Gregor
77c6452ea4
Bug 782252 - Cast some nsresult to bool where the function really returns bool; r=ehsan
2012-08-13 16:32:28 +03:00
Aryeh Gregor
cafad5fcb5
Bug 782252 - Cast some nsresult to PRUint32; r=ehsan
2012-08-09 11:36:40 +03:00
Aryeh Gregor
719dcb2097
Bug 782252 - Change named constants to correct types; r=ehsan
2012-08-07 18:11:35 +03:00
Ehsan Akhgari
a09e69cee0
Merge removal of nsnull
2012-08-14 11:29:00 -04:00
Aryeh Gregor
a88ffe5c80
Bug 626472 part 3 - Remove nsnull for good; r=ehsan
2012-08-12 13:43:47 +03:00
Honza Bambas
15daadba69
Bug 215450: Allow uploading of files greater than 2gb in size. Involves making input streams 64-bit capable. Significant work done by Makoto Kato, finished by Honza Bambas. r=hbambas,bsmedberg,jdrew,sicking
2012-08-10 22:44:11 -04:00
Rafael Ávila de Espíndola
9c483afff4
Bug 780272 - Audit calls to MozillaUnRegisterDebugFD. r=jlebar.
...
--HG--
extra : rebase_source : 53672602bfd370626916bcd0f5bc71859f8520c2
2012-08-10 12:40:21 -04:00
Jan Beich
4733ffae7d
Bug 781457 - Define _GNU_SOURCE for _Unwind_Backtrace. r=dbaron
2012-08-10 11:29:59 -04:00
Aryeh Gregor
4e199a1679
Bug 780618 - Move all error codes to nsError.h; r=ehsan
2012-07-27 17:03:27 +03:00
Jacek Caban
cfe0378f3a
Bug 781773 - nsLocalFileWin.cpp clean up r=bbondy
...
--HG--
extra : rebase_source : 98185fe262366e0212115d3a3e296bd95d6ffc85
2012-08-14 11:17:34 +02:00
Trevor Saunders
10dd93aae9
bug 780203 - follow up refix silly formatting r=me
2012-08-09 07:56:35 -04:00
Ms2ger
5f4593aa2e
Bug 780387 - Part e: Stop using PRSize; r=bsmedberg
2012-08-09 09:10:11 +02:00
Ms2ger
4c81482ae1
Bug 780387 - Part d: Stop using PRFloat64; r=bsmedberg
2012-08-09 09:09:42 +02:00
Ms2ger
75ab7efb95
Bug 780387 - Part b: Stop using PRIntn; r=bsmedberg
2012-08-09 09:09:40 +02:00
Ms2ger
1d18535516
Bug 780387 - Part a: Stop using PRPtrdiff; r=bsmedberg
2012-08-09 09:09:31 +02:00
Aryeh Gregor
75d6ce8bc8
Bug 780832 - Make nsSupportsArray::GrowArrayBy infallible. r=dougt
2012-08-07 11:21:38 +03:00
Ryan VanderMeulen
4369c9acf5
Backout 41a3cdf92063 (bug 782649) for Linux xpcshell failures.
2012-08-22 17:31:06 -04:00
Ben Turner
f17c803d93
Bug 782649 - 'Remove old IPC::InputStream'. r=cjones+khuey.
2012-08-22 12:19:29 -07:00
Ehsan Akhgari
845651448b
Bug 579517 - Part 5: Add missing StandardInteger.h #includes where needed; r=bsmedberg
...
Landing on a CLOSED TREE
2012-08-08 17:08:17 -04:00
Ehsan Akhgari
f22f8b7a49
Bug 579517 - Part 4: Manually rewrite some parts of the code base not covered by the automated conversion; r=bsmedberg
2012-08-22 11:59:54 -04:00
Ehsan Akhgari
fd07d2697c
Bug 579517 - Part 2: Make the IDL parser aware of stdint types; r=bsmedberg
2012-08-22 11:57:22 -04:00
Ehsan Akhgari
e368dc9c85
Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
...
This patch was generated by a script. Here's the source of the script for
future reference:
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.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 PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t
convert PRIntn int
convert PRUintn unsigned
convert PRSize size_t
convert PROffset32 int32_t
convert PROffset64 int64_t
convert PRPtrdiff ptrdiff_t
convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Paul Adenot
3e34f8a963
Bug 730765 - Tests for nsISeekableStream when backed by a nsMultiplexInputStream. r=biesi
2012-08-21 16:01:36 -07:00
Trevor Saunders
f92bb2378a
bug 780203 - add [u]intn_t types to xpidl r=khuey
2012-07-27 19:58:26 -04:00
Jan Beich
f31aa529d0
Bug 761077 - Use same xptcall stubs on FreeBSD/ia64 as on Linux/ia64. r=bsmedberg
2012-08-07 20:49:07 -04:00
Jan Beich
f8def1114c
Bug 761077 - Build xptcall on FreeBSD ia64/ppc/ppc64/sparc64. r=bsmedberg
2012-08-07 20:49:06 -04:00
Rafael Ávila de Espíndola
22b5f769a0
Bug 777122 - Add telemetry reporting of late writes. r=jlebar.
...
patch2: Enable on release builds and record the last write to disk.
2012-08-07 17:49:30 -04:00
Paul Dagnelie
056dbff7ae
Bug 759416 - XPCOM FileWatcherService. Interface change only. Patch to previous interface changes. sr=bsmedberg
2012-08-07 12:07:27 -07:00
Chris Peterson
d05164da7b
Bug 780212 - Fix buffer overflow beyond MAXPATHLEN when querying Android's GRE_HOME. r=glandium
...
--HG--
extra : rebase_source : e8cb8082ac48e3725ad3153fb29fcc89840e867a
2012-08-02 09:50:42 -07:00
Jim Mathies
f0487b898d
Bug 780511 - Pipe additional debug output to the Windows debugger, r=neil.
2012-08-06 15:41:40 -05:00
Mike Hommey
70d7c821af
Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted
2012-08-04 20:26:44 +02:00
Rafael Ávila de Espíndola
617db9529a
Bug 777122 - Add telemetry reporting of late writes. r=nfroyd.
...
patch1: drop aborts.
2012-08-02 14:05:54 -04:00
Doug Turner
c75d9afe6d
Bug 759416 - XPCOM FileWatcherService. Interface and stub impl. r=dougt
2012-08-01 23:29:34 -07:00
Nathan Froyd
4328d1be09
Bug 778220 - remove $(wildcard *.$(OBJ_SUFFIX)) calls from xpcom Makefiles; r=glandium
2012-07-27 14:15:01 -04:00
Honza Bambas
9b61c937c8
Bug 774243 - [Linux] Process name changes to RunProcess, r=benjamin
2012-07-31 20:59:18 +02:00
David Zbarsky
c88b41986f
Bug 706179 Part 1: Add support for animations to the Layers API r=roc, dbaron, cjones
2012-07-31 10:28:20 -07:00
Ryan VanderMeulen
b8013885dc
Merge m-c to inbound.
2012-07-30 20:14:22 -04:00
Mark Finkle
ecceaf8977
Backout 169ff207ed19, a34baed70c1b, f9ccdd490bd7, 39550ed860e6, 2194a2dd66b2, 908eb2e26843, a76e0a267f26 due to mobile viewport bustage (bug 778580)
2012-07-30 14:36:12 -04:00
Aryeh Gregor
d0ad5a7d0c
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Chris Peterson
009018e502
Bug 777511 - #define nullptr __null for gcc <= 4.5. r=ehsan
...
--HG--
extra : rebase_source : dd24e15d4b271d7ae1f604b6d7e4d0e76f614f40
2012-07-26 15:29:18 -07:00
Aryeh Gregor
c81630fddb
Bug 777292 - Convert incorrect conversions to nsresult and fix named constants; r=ehsan
2012-07-27 16:59:29 +03:00
Ehsan Akhgari
3ad40dbf10
Merge the nullptr conversion from mozilla-central into mozilla-inbound
2012-07-30 10:28:15 -04:00
Aryeh Gregor
be9a414c79
Bug 777292 - Cast NS_ENUMERATOR_FALSE to nsresult and complain in comments; r=ehsan
2012-07-27 17:03:25 +03:00
Aryeh Gregor
ec8b263a28
Bug 777292 - Annotate some incorrect conversions to nsresult; r=ehsan
2012-07-27 17:03:25 +03:00
Jason Duell
2477d04160
Bug 778296 (previous commit was empty!) - Add comment about thread-safety to nsITimer DONTBUILD. r=bz
2012-07-27 13:58:00 -07:00
David Zbarsky
687786c2e9
Bug 706179: Add support for animations to the Layers API r=roc, dbaron, cjones
2012-07-27 13:23:44 -07:00
Rafael Ávila de Espíndola
19d980cbb2
Bug 776079 - Many -Wsometimes-uninitialized warnings in xptcinvoke_x86_64_unix.cpp. r=timeless.
...
--HG--
extra : rebase_source : 9c323150dfa4fc6c49e03422a54832bb477bea44
2012-07-26 16:09:11 -04:00
Justin Lebar
ff4612a6ed
Bug 772987 - Part 3: Update comment in ClearOnShutdown. r=glandium
...
--HG--
extra : rebase_source : 06b3e9339f87ae3feaf522955ff12e549039bf3b
2012-07-26 15:33:45 -04:00
Justin Lebar
b019de5fa4
Bug 772987 - Part 1: Add Static{Auto,Ref}Ptr. r=bsmedberg
...
--HG--
extra : rebase_source : edd65e1f5d69564b9632072db914b95bdf768dae
2012-07-26 15:33:45 -04:00
Ehsan Akhgari
e2b29878fa
Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (more xpcom parts); blanket-r=bzbarsky
...
--HG--
extra : rebase_source : 95e35fda5738d92b0c8d79920494ecba05c7ea04
2012-07-26 15:17:41 -04:00
Ehsan Akhgari
3213a08bd5
Remove some extra trailing semicolons from nsCycleCollector.cpp (no bug)
2012-07-26 11:16:28 -04:00
Brian R. Bondy
81a37e2002
Bug 773518 - Platform code for lowering IO prioritization. r=bsmedberg
2012-07-25 10:25:08 -04:00
Brian R. Bondy
21c143f097
Bug 774140 - Remove code duplication for IsVistaOrLater. r=bsmedberg
2012-07-25 10:23:26 -04:00
Siddharth Agarwal
7e3e70891e
Bug 770141 - xpcom/tests/windows/TestRegistrationOrder.cpp fails with pymake because of a design failure with command lines on Win32. Sidestep the issue by doing it in C++ instead of the shell. r=bsmedberg
...
--HG--
extra : rebase_source : d0a89124e698097a94d43ad5d8c3b49eb8b889f2
2012-07-25 22:36:12 +05:30
Ed Morley
3ed23376d4
Backout 1244b8a8e57a (bug 755084), 32d16d0f87c9 (bug 706179), 8548e016d4a9 (bug 768440), 697f5b87eae9 (bug 768440), 808fc2bd4e8c (bug 755084), 54b1484cd125 (bug 755084), 876726b632c0 (bug 706179) for xul android R3 failures
2012-07-25 16:37:04 +01:00
Mike Hommey
e4b0f1bfcc
Bug 776035 - Make mozunit even easier to use, and use it in config/tests python unit tests. r=ted
2012-07-25 07:44:08 +02:00
David Zbarsky
ced60d55d3
Bug 706179: Add support for animations to the Layers API r=roc, dbaron, cjones
2012-07-25 01:48:09 -07:00
Ed Morley
3d60969c38
Backout eecd3aa199e6 (bug 776305), 62facd5b3da9, c6a0ac7d47d2 & 2d56621abfee (bug 776035), e4e68cf2bd40 (bug 776016), 0853a4d49b4e & 31de6ffdedcb (bug 770426), 43a69b4981f5 (bug 756786) for Windows mochitest crashes
2012-07-25 09:35:32 +01:00
Mike Hommey
985de147d7
Bug 776035 - Make mozunit even easier to use, and use it in config/tests python unit tests. r=ted
2012-07-25 07:44:08 +02:00
Matt Brubeck
6d156c629e
Back out ac2d2c7ccb1b (bug 770141) for possibly causing Win debug make check errors; CLOSED TREE
2012-07-24 15:03:37 -07:00
Siddharth Agarwal
67460fb16d
Bug 770141 - xpcom/tests/windows/TestRegistrationOrder.cpp fails with pymake because of a design failure with command lines on Win32. Sidestep the issue by doing it in C++ instead of the shell. r=bsmedberg
...
--HG--
extra : rebase_source : 29e9960ebce6882b56941de16be017f6ae0f97fe
2012-07-25 00:29:46 +05:30
Gregor Wagner
48bb60b4c6
Bug 776764 - Allow permissionDB parent directory to not be the default profile directory. r=fabrice
2012-07-24 11:22:14 -07:00
Tim Abraldes
a4225a298a
bug 773865. Setting env var MOZ_WINCONSOLE
now causes MOZ_WINCONSOLE
to be defined for the preprocessor as well. windbgdlg no longer fails to build when MOZ_WINCONSOLE
env var has been set to 1. r=ted
2012-07-24 10:04:04 -07:00
Ted Mielczarek
e865ee4b36
bug 761909 - crash reporter plumbing for gonk. r=bsmedberg
2012-07-16 19:50:52 -04:00