Commit Graph

3410 Commits

Author SHA1 Message Date
Alex Keybl
6458cc3fa4 Merging in version bump NO BUG 2012-08-27 12:21:46 -07:00
Landry Breuil
7d89ba8711 Bug 783875: Fix OpenBSD/arm platforms detection in xpcom. r=bsmedberg. 2012-08-26 21:54:19 +02:00
Ryan VanderMeulen
6989c1bf30 Merge m-c to inbound. 2012-08-24 16:18:09 -04:00
Olli Pettay
6718d62e92 Bug 785463 - Tweak PurpleBuffer Block size, r=mccr8 2012-08-24 12:26:44 -07:00
Ben Turner
0727b7098c 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
31255e897a Backout bug 730765 Part 3/3
--HG--
extra : rebase_source : 2aadbb2419cceeac30bd95484e37ab905525662f
2012-08-24 00:12:53 +12:00
Chris Double
9543e95d97 Backed out changeset 5583ccdfea18 2012-08-23 22:42:14 +12:00
Chris Double
06499b0759 Backed out changeset 581cdaf67a25
--HG--
extra : rebase_source : 4577b8706e4b807af0bf59f9c33456ffee119d76
2012-08-23 21:45:33 +12:00
Paul Adenot
15058d402d 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
b9989b51cc 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
351d01c8ff Backout 3ce94808577b, 56f288230d5a, and 18ff170ecb1f (bug 730765) for bustage. r=fail 2012-08-21 18:45:54 -04:00
Paul Adenot
1a76a826c4 Bug 730765 - Tests for nsISeekableStream when backed by a nsMultiplexInputStream. r=biesi 2012-08-15 15:46:08 -07:00
Paul Adenot
7751daec1e 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
bb1c70d0fd Bug 779687 - Add detection for ARMv7 CPUs. r=dougt 2012-08-21 13:20:46 +02:00
Andrew McCreight
62325fa9f3 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
8a3dddeebf 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
018c2b4d42 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
49d8c9be16 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
3f6c58c43d Bug 749366 - Remove mostly bogus size arg from CC callbacks. r=smaug 2012-08-27 10:41:04 -07:00
Ben Turner
1557efd8b1 Bug 782649 - 'Remove old IPC::InputStream'. r=cjones+khuey. 2012-08-22 19:13:54 -07:00
Justin Lebar
0878eec900 Bug 780970 - Add [infallible] attribute for XPIDL attributes. r=khuey 2012-08-22 18:27:04 -07:00
Phil Ringnalda
1b1d28cb1f Merge last PGO-green changeset from mozilla-inbound to mozilla-central 2012-08-19 11:17:28 -07:00
Kyle Huey
31fc8217c9 Bug 774888: Error out if there's no TimeStamp implementation. r=glandium 2012-08-18 12:15:22 -07:00
Doug Turner
9955b5ed76 Bug 759416 - Backout API change part 2. r=dougt 2012-08-17 19:43:00 -07:00
Doug Turner
a0ebc76feb Bug 759416 - Backout API change. r=dougt 2012-08-17 19:43:00 -07:00
Aryeh Gregor
2fba4d0a70 Bug 782614 - Don't return nsresult from main() (xpcom/); r=bsmedberg 2012-08-07 20:17:27 +03:00
Aryeh Gregor
cb49f7d487 Bug 768865 - Make NS_SUCCEEDED/NS_FAILED always inline functions for C++; r=bsmedberg 2012-06-27 17:54:01 +03:00
Ben Turner
10787d0206 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
9f23801918 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
04236844ff Bug 782252 - Cast some nsresult to PRUint32; r=ehsan 2012-08-09 11:36:40 +03:00
Aryeh Gregor
1091dc5149 Bug 782252 - Change named constants to correct types; r=ehsan 2012-08-07 18:11:35 +03:00
Ehsan Akhgari
805b10b6d6 Merge removal of nsnull 2012-08-14 11:29:00 -04:00
Aryeh Gregor
6a9cec29c8 Bug 626472 part 3 - Remove nsnull for good; r=ehsan 2012-08-12 13:43:47 +03:00
Honza Bambas
541453729c 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
6d043cb564 Bug 780272 - Audit calls to MozillaUnRegisterDebugFD. r=jlebar.
--HG--
extra : rebase_source : 53672602bfd370626916bcd0f5bc71859f8520c2
2012-08-10 12:40:21 -04:00
Jan Beich
c77fcfe437 Bug 781457 - Define _GNU_SOURCE for _Unwind_Backtrace. r=dbaron 2012-08-10 11:29:59 -04:00
Aryeh Gregor
0923bf00ef Bug 780618 - Move all error codes to nsError.h; r=ehsan 2012-07-27 17:03:27 +03:00
Jacek Caban
2fccaed5c0 Bug 781773 - nsLocalFileWin.cpp clean up r=bbondy
--HG--
extra : rebase_source : 98185fe262366e0212115d3a3e296bd95d6ffc85
2012-08-14 11:17:34 +02:00
Trevor Saunders
bb038bf32b bug 780203 - follow up refix silly formatting r=me 2012-08-09 07:56:35 -04:00
Ms2ger
a10183dff5 Bug 780387 - Part e: Stop using PRSize; r=bsmedberg 2012-08-09 09:10:11 +02:00
Ms2ger
17e25febb8 Bug 780387 - Part d: Stop using PRFloat64; r=bsmedberg 2012-08-09 09:09:42 +02:00
Ms2ger
3f950b5744 Bug 780387 - Part b: Stop using PRIntn; r=bsmedberg 2012-08-09 09:09:40 +02:00
Ms2ger
5a4f28eb7b Bug 780387 - Part a: Stop using PRPtrdiff; r=bsmedberg 2012-08-09 09:09:31 +02:00
Aryeh Gregor
e5f7097bbc Bug 780832 - Make nsSupportsArray::GrowArrayBy infallible. r=dougt 2012-08-07 11:21:38 +03:00
Ryan VanderMeulen
1733e65710 Backout 41a3cdf92063 (bug 782649) for Linux xpcshell failures. 2012-08-22 17:31:06 -04:00
Ben Turner
3e66942f49 Bug 782649 - 'Remove old IPC::InputStream'. r=cjones+khuey. 2012-08-22 12:19:29 -07:00
Ehsan Akhgari
5b76a146bc 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
2795937cf4 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
2cc047017f Bug 579517 - Part 2: Make the IDL parser aware of stdint types; r=bsmedberg 2012-08-22 11:57:22 -04:00
Ehsan Akhgari
0fd9123eac 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
2292447bff Bug 730765 - Tests for nsISeekableStream when backed by a nsMultiplexInputStream. r=biesi 2012-08-21 16:01:36 -07:00
Trevor Saunders
228fec0bda bug 780203 - add [u]intn_t types to xpidl r=khuey 2012-07-27 19:58:26 -04:00
Jan Beich
6049175730 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
e708296df5 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
c7cb305c4a 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
cc67892c3c Bug 759416 - XPCOM FileWatcherService. Interface change only. Patch to previous interface changes. sr=bsmedberg 2012-08-07 12:07:27 -07:00
Chris Peterson
a863a097d2 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
378c4cc0b3 Bug 780511 - Pipe additional debug output to the Windows debugger, r=neil. 2012-08-06 15:41:40 -05:00
Mike Hommey
6173fa297f 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
4736954888 Bug 777122 - Add telemetry reporting of late writes. r=nfroyd.
patch1: drop aborts.
2012-08-02 14:05:54 -04:00
Doug Turner
3e3e2b8692 Bug 759416 - XPCOM FileWatcherService. Interface and stub impl. r=dougt 2012-08-01 23:29:34 -07:00
Nathan Froyd
997e90b432 Bug 778220 - remove $(wildcard *.$(OBJ_SUFFIX)) calls from xpcom Makefiles; r=glandium 2012-07-27 14:15:01 -04:00
Honza Bambas
e12af72ed8 Bug 774243 - [Linux] Process name changes to RunProcess, r=benjamin 2012-07-31 20:59:18 +02:00
David Zbarsky
1ab8257975 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
ed3645f4ca Merge m-c to inbound. 2012-07-30 20:14:22 -04:00
Mark Finkle
70a01196ec 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
e806eeab4f Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Chris Peterson
685022c491 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
903f6c9c84 Bug 777292 - Convert incorrect conversions to nsresult and fix named constants; r=ehsan 2012-07-27 16:59:29 +03:00
Ehsan Akhgari
b40b21d633 Merge the nullptr conversion from mozilla-central into mozilla-inbound 2012-07-30 10:28:15 -04:00
Aryeh Gregor
7644f69a87 Bug 777292 - Cast NS_ENUMERATOR_FALSE to nsresult and complain in comments; r=ehsan 2012-07-27 17:03:25 +03:00
Aryeh Gregor
96fc9d649c Bug 777292 - Annotate some incorrect conversions to nsresult; r=ehsan 2012-07-27 17:03:25 +03:00
Jason Duell
164eb37294 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
12752872fe 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
60e7b206f1 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
08d8b88201 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
c03df01c09 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
06c9901501 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
019d0f7814 Remove some extra trailing semicolons from nsCycleCollector.cpp (no bug) 2012-07-26 11:16:28 -04:00
Brian R. Bondy
15bce0f2b8 Bug 773518 - Platform code for lowering IO prioritization. r=bsmedberg 2012-07-25 10:25:08 -04:00
Brian R. Bondy
b2ba1e0a50 Bug 774140 - Remove code duplication for IsVistaOrLater. r=bsmedberg 2012-07-25 10:23:26 -04:00
Siddharth Agarwal
ec36cfd695 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
be8bf4beae 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
8532a57810 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
2008ff368b Bug 706179: Add support for animations to the Layers API r=roc, dbaron, cjones 2012-07-25 01:48:09 -07:00
Ed Morley
853788ef5a 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
bab5c1dccb 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
33bfb7ea4f 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
73e31f8b1f 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
806182419e 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
71af1530a3 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
287174e5d2 bug 761909 - crash reporter plumbing for gonk. r=bsmedberg 2012-07-16 19:50:52 -04:00
Matt Brubeck
2e41f92cb5 Back out f4f5189b1d0c, 3b4f0606c547, b8a5a1ab8a5f, 5078933d6954, 7e0260c45de9 (bug 768440, bug 755084, bug 706179) because of reftest failures 2012-07-23 20:25:51 -07:00
David Zbarsky
dfd3e3d5ba Bug 706179: Add support for animations to the Layers API r=roc, dbaron, cjones 2012-07-23 17:34:22 -07:00
Joshua Cranmer
774444109e Bug 773637 - Kill NS_SCRIPTABLE attributes, Part 2: Remove NS_SCRIPTABLE. r=ehsan
--HG--
extra : rebase_source : 83020e0a1961ed5b33d5e0599419c6b7b82caa87
2012-07-06 15:31:49 -05:00
Joshua Cranmer
4b8f318e78 Bug 773637 - Kill NS_SCRIPTABLE annotations, Part 1: Remove NS_*PARAM annotations. r=ehsan
--HG--
extra : rebase_source : a0b4bc50fece36d9a90fed61431635948bfa33b5
2012-07-06 15:14:07 -05:00
Joshua Cranmer
4ad48824ad Bug 702877 - Replace NS_OVERRIDE with MOZ_OVERRIDE. r=ehsan
--HG--
extra : rebase_source : 1843575683c3897f96f3966cbce26140ff1a7d90
2012-07-06 13:15:45 -05:00
Rafael Ávila de Espíndola
0f1bfa2f1c Bug 773903 - ~1s shutdown delay in xpcshell in xpcom shutdown. r=ted.
This just updates mach_override.c to a version that has a faster search for
an available spot to put the branch island.
2012-07-23 14:49:06 -04:00
Aryeh Gregor
e57dd159b2 Bug 626472 part 1 - Define nsnull as nullptr where available; r=ehsan 2012-07-20 14:16:17 +03:00
Mike Hommey
112c562b7e Bug 775424 - Make cycle collection vtables rodata. r=smaug 2012-07-23 07:42:23 +02:00
Mike Hommey
e6bb495d6d Bug 773724 - Skip delayload libraries in dependentlibs.py. r=khuey 2012-07-23 07:42:22 +02:00
Cameron McCormack
6907a8b246 Bug 771893 - Remove unused function from TestTArray.cpp. r=bsmedberg
--HG--
extra : rebase_source : 51e409bd2d6670a9b8cbdf750b1c1c15ba08ad8f
2012-07-20 04:50:46 +10:00
Makoto Kato
c63fb1198f Bug 771401 - Change PRTime in IDL to signed long long. r=bholley sr=bsmedberg 2012-07-19 18:53:30 +09:00
Ehsan Akhgari
a58bb089d8 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 2012-07-18 11:54:26 -04:00
Ed Morley
db49714a0c Merge mozilla-central to mozilla-inbound 2012-07-16 18:32:39 +01:00
Lukas Blakk
1ebacabfe4 Merging in version bump NO BUG 2012-07-16 10:08:20 -07:00
Rafael Ávila de Espíndola
5f0984bb5b Bug 774041 - silence warning about unused private field. r=benjamin. 2012-07-16 10:57:04 -04:00
Rafael Ávila de Espíndola
d9a8af0267 Bug 774018 - Remove extra ;. r=khuey. 2012-07-15 00:09:35 -04:00
Aryeh Gregor
b0041eadcc Bug 772807 - Clean up editor/ includes with include-what-you-use; r=ehsan 2012-07-13 09:33:42 +03:00
Bobby Holley
adf15fef3a Bug 771074 - Introduce pointer wrapping mechanism for hold references to pointers off-main-thread. r=bsmedberg 2012-07-13 16:47:14 +02:00
Bobby Holley
c7179fd232 Backed out changeset 784d3448dfe3 (Bug 771074) for windows bustage. a=me 2012-07-13 15:10:40 +02:00
Bobby Holley
1faf926668 Bug 771074 - Introduce pointer wrapping mechanism for hold references to pointers off-main-thread. r=bsmedberg 2012-07-13 14:54:45 +02:00
Bobby Holley
1a88142535 Bug 763343 - Handle classinfo singletons in cross-compartment wrapping. r=peterv 2012-07-13 14:33:25 +02:00
Ryan VanderMeulen
7b319a5a6b Merge the last PGO-green inbound changeset to m-c. 2012-07-12 20:46:27 -04:00
Benjamin Smedberg
d19c5bb416 Bug 771251 - OOP crash reporting accesses the directory service off the main thread. In addition, the first design of the crash injector callback meant that we're dropping some set of Flash crashes which happen during an RPC call. r=ted
* Fix the directory service usage by saving the pending directory path from OOPInit.
* Force clients to call OOPInit on the main thread.
* Make injected crashes available via TakeMinidumpForChild and give each crash a sequence number so that we can pick the earliest crash from the three possibilities; delete the other two to avoid polluting about:crashes
2012-07-10 22:20:05 -04:00
David Keeler
12645e6e65 bug 760625 - use the blocklist to inform click-to-play plugins. r=joshmoz,bmcbride 2012-07-11 08:56:34 -07:00
Aryeh Gregor
fd7f652fe8 Bug 771873 part 2 - Assert on addition overflow in nsTArray::RemoveElementsAt; r=bsmedberg 2012-07-09 11:13:23 +03:00
Honza Bambas
ca18892306 Bug 765158 - Remove naming of main thread, conflicts with process name on Linux, r=bsmedberg 2012-07-11 20:20:17 +02:00
Ehsan Akhgari
b3a3876f4b Bug 772738 - Avoid "unused variable 'tmp'" warnings for empty CC traverse method implementations; r=smaug 2012-07-11 00:26:56 -04:00
Ryan VanderMeulen
89aff4650d Backout 2838ba825479, 991404facac2, 7f6e22f10b99, 30a4e0cf7130, ad2c42efbe57, and 1f07f04ec01d (Bug 760067, Bug 767096, Bug 765158, Bug 729182) due to xpcshell orange. 2012-07-10 19:21:54 -04:00
Ehsan Akhgari
5291985f25 Switch HangMonitor.cpp to use Unix line endings (no bug; DONTBUILD) 2012-07-10 19:12:40 -04:00
Vladan Djeric
896beec481 Bug 772643: Don't allocate memory in hang monitor while a thread is suspended. r=ehsan 2012-07-10 18:32:58 -04:00
Honza Bambas
8e5ef0a787 Bug 765158 - Remove naming of main thread, conflicts with process name on Linux, r=bsmedberg 2012-07-10 23:49:18 +02:00
Benoit Girard
168c4b79fb Bug 766579 - Part 3: Follow up fix. r=dbaron 2012-07-10 17:39:10 -04:00
Ehsan Akhgari
d8ef87199c Bug 772518 - Remove nsThread::mShutdownPending because it is unused; r=bsmedberg 2012-07-10 16:12:41 -04:00
Benoit Girard
7aa6b28d00 Bug 766579 - Part 1: Add SP param to NS_StackWalk. r=dbaron
--HG--
extra : rebase_source : dd4905ffadf5fe9327449fffdfbc665b05d74a6a
2012-06-27 16:08:21 -04:00
Jacek Caban
c9548bf1ba Bug 769607 - dependentlibs.py depends on dumpbin r=glandium 2012-07-10 14:29:53 +02:00
Ehsan Akhgari
ec89be8fa6 Bug 767479 - Handle the case of more than 1024 frames when walking the stack of another thread on Windows, and also use the infallible allocator when walking the stack of your own thread; r=dbaron 2012-06-22 16:31:59 -04:00
Ehsan Akhgari
e257354180 Bug 767488 - Cache the current process handle after reading it for the first time during stack walking; r=dbaron
The current process handle never changes, so it doesn't make a lot of sense
to read it over and over again.  Note that this doesn't close the process
handle explicitly but that's fine, since Windows will release all of the
open handles when the application is terminated.
2012-06-22 17:48:31 -04:00
Vicamo Yang
e192a1390c Bug 771048: fix typo in nsAutoRef::swap, r=khuey 2012-07-10 00:19:59 +08:00
Makoto Kato
9c49d12750 Bug 769533 - Part 2. get rid of AppendWithConversion. r=jlebar 2012-07-06 18:44:20 +09:00
Ryan VanderMeulen
a71ceee899 Merge m-c to inbound. 2012-07-05 21:07:54 -04:00
Ryan VanderMeulen
d0be60fa9c Merge the last PGO-green inbound changeset to m-c. 2012-07-05 20:26:55 -04:00
Ryan VanderMeulen
20c45dac98 Merge the last PGO-green inbound changeset to m-c. 2012-07-05 20:15:12 -04:00
Jeff Muizelaar
cc8b97c5a6 Bug 771317. Fix comment about FASTCALL and inline functions. r=espindola
Calling convention does not make a difference on functions that are inlined,
but that feels obvious because no call is being made. Inline functions are not
necessarily inlined so this comment is somewhat misleading.

--HG--
extra : rebase_source : f634f18d1a6669147f53162a7bc0ab08b145cc43
2012-07-05 17:38:30 -04:00
Ehsan Akhgari
41da184d14 Merge mozilla-central into mozilla-inbound 2012-07-05 11:13:45 -04:00
Benoit Jacob
b8d40b05f7 Bug 754572 - add option to use fatal assertions in NS_CheckThreadSafe, use it in nsBaseScreen and nsScreenManagerAndroid - r=bsmedberg 2012-07-05 10:32:10 -04:00
Benoit Jacob
9288ac49a4 Bug 754572 - let NS_CheckThreadSafe(x,y) be empty in XPCOM_GLUE case, as opposed to letting it evaluate to (x,y) - r=bz 2012-07-05 10:14:09 -04:00
Ehsan Akhgari
04e53539b4 Backout changeset 34c8a2369cbc (bug 771266) because the fastcall annotation actually matters 2012-07-05 18:19:07 -04:00
Ehsan Akhgari
910d251f2f Bug 771266 - Part 2: Remove the fastcall annotation from ~nsCOMPtr_base, because it doesn't mean anything now that it's inline; irc-r=Neil 2012-07-05 16:26:59 -04:00
Mounir Lamouri
3b0b1234f1 Bug 767519 - Add NS_flooredModulo to nsMathUtils. r=bz
--HG--
extra : rebase_source : d16e5d8e94a50c1e3319d866e3aa27ae6160edd8
2012-07-05 16:18:37 +02:00
Ehsan Akhgari
49bc93c755 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 and gonk parts); r=jrmuizel 2012-06-19 23:41:56 -04:00
Ehsan Akhgari
32a035f454 Bug 771266 - Inline nsCOMPtr_base's destructor; r=jlebar 2012-07-05 15:12:13 -04:00
Rafael Ávila de Espíndola
c60b1db79c Bug 732173 - poison write during shutdown in a debug build. r=ted.
With this patch we now patch the write functions during shutdown in a debug
build and abort if a non white listed write is found.
2012-07-03 09:15:34 -04:00
Bill McCloskey
96e4284f11 Bug 758034 - Clean up browser GC API (r=smaug) 2012-06-30 14:16:32 -07:00
Ms2ger
9f56b60843 Merge m-c to m-i. 2012-06-30 14:50:23 +02:00
L. David Baron
9e9f3a474a Back out half of the previous patch for bug 709747, since the nsCOMPtr<nsISupports>::forget(nsISupports**) specialization is substantially different from nsCOMPtr<T>::forget(I**), and uses swap which already does the needed logging. 2012-06-29 22:50:45 -07:00
Kyle Huey
08ad5220dd Bug 709747: Fix COMPtr logging for .forget(). r=dbaron 2012-06-29 10:10:31 -07:00
Bonnie Surender
e360fa128a Fixing bug 715041. Add support for Idle API. r=bent, jst 2012-06-29 01:32:21 -07:00
Vladan Djeric
477f96fa71 Bug 763138: Telemetry should indicate whether a debugger is attached. r=bsmedberg,smichaud 2012-06-28 14:57:52 -04:00
Andrew McCreight
379571f73a Bug 754495, part 5 - Add support for compartment merging to cycle collector. r=smaug 2012-06-27 08:09:56 -07:00
Landry Breuil
be1e0d9e32 Bug 767403 - also match readelf case on *.so.* to fix *BSDs. r=glandium 2012-06-26 22:48:57 +02:00
Bill McCloskey
208d5cc3d0 Bug 768282 - Run GCCyle only once for CC_FORCED GCs (r=mccr8) 2012-06-26 13:11:39 -07:00
Nicholas Nethercote
26f000b52d Bug 711130 (part 5) - Overhaul the "other measurements" measurements for JS memory consumption. r=terrence.
--HG--
extra : rebase_source : 492af75618c40eb2a92be2756f67db93834729cf
2012-06-25 17:08:59 -07:00
Jonathan Watt
6380335603 Bug 767388 - Kill NS_DEBUG. r=bz.
--HG--
extra : rebase_source : d045208a26345712dbb4628c973c616cd9504f28
2012-06-25 20:59:42 +01:00
Nathan Froyd
88be55d049 Bug 765326 - atom-table numbers should include the static atom table; r=njn 2012-06-15 15:51:42 -04:00
Mike Hommey
fc130e8b4b Bug 767024 - Allow dependentlibs.py to work when cross-compiling for Android on OSX. r=khuey 2012-06-22 18:33:17 +02:00
Ehsan Akhgari
c32c0af957 Bug 766349 - ClearOnShutdown_Internal::ShutdownObserver needs a virtual destructor; r=bsmedberg 2012-06-19 18:23:35 -04:00
Oleg Romashin
17448d799e Bug 767034 - xpcom/glue/arm.cpp:165: error: expected declaration before '}' token. r=derf 2012-06-21 13:01:22 -07:00
Gregor Wagner
4d63545569 Bug 742626 - Allow indexedDB parent directory to not be the default profile directory. r=bent 2012-06-21 09:39:12 -07:00
Mike Hommey
a909602392 Bug 763893 - Generate dependentlibs.list from actual library dependencies. r=ted 2012-06-20 09:00:48 +02:00
Vladan Djeric
8aefa44c2e Bug 763124: Lower chrome hang detector's hang threshold to 5 seconds. r=ehsan 2012-06-20 19:20:24 -04:00
Michael Wu
c916642910 Bug 764712 - Open files readonly when reading typelibs in xpt.py, r=khuey 2012-06-20 14:45:11 -04:00
Mike Hommey
90d687d851 Merge last PGO green changeset from mozilla-inbound to mozilla-central 2012-06-20 10:53:31 +02:00
Benjamin Smedberg
ea4315c1ff Bug 755724 Part C - Move ScopedAppData into the XPCOM glue, r=glandium
--HG--
rename : toolkit/xre/nsAppData.cpp => toolkit/xre/CreateAppData.cpp
rename : toolkit/xre/nsAppData.cpp => xpcom/glue/AppData.cpp
extra : rebase_source : 6223397345e77b00f14d93a1f188c042fc5f89ea
2012-06-08 08:41:30 -04:00
Mike Hommey
c533a83b6c Bug 616262 - Avoid cycle collection participant global variables adding static initializers. r=smaug,r=mccr8,r=Waldo 2012-06-04 08:30:26 +02:00
Makoto Kato
f57c383e1f Bug 763378 - arm detection should have correct define when -mfpu=neon on gcc or on MSVC. r=tterribe 2012-06-19 12:17:43 +09:00
Nathan Froyd
63d3907cda Bug 765344 - xpti-working-set numbers should include xptiWorkingSet's hashtables; r=njn,jlebar 2012-06-18 20:10:08 -04:00
Jeff Walden
09e6c025d8 Bug 763000 - Remove MOZ_Assert. r=Ms2ger, r=terrence, r=ted 2012-06-07 14:41:11 -07:00
Martin Stransky
e8f7aa8752 Bug 627699 - Port GTK2 to GTK3, xpcom patch; r=bsmedberg 2012-06-16 18:05:00 +12:00
Mike Hommey
311cae060f Backout changeset a81526647059 and 560c492f81ad (bug 616262) because of Windows Moth perma-orange 2012-06-15 15:50:24 +02:00
Ed Morley
6c0104928c Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-06-15 13:32:55 +01:00
Mike Hommey
988d722ae2 Fixup for bug 616262 to avoid Windows PGO bustage. r=me 2012-06-15 10:49:53 +02:00
Mike Hommey
e18aca6d9a Bug 764021 - Add Startup Timeline probe for when entering main(). r=taras,r=bsmedberg 2012-06-15 08:23:08 +02:00
Nathan Froyd
756b6f5fee Bug 764985 - make memory reporter helper macros ever-so-slightly more efficient; r=njn 2012-06-14 16:29:00 -04:00
Mike Hommey
88257ed076 Bug 616262 - Avoid cycle collection participant global variables adding static initializers. r=smaug,r=mccr8,r=Waldo 2012-06-04 08:30:26 +02:00
Matt Brubeck
cee86ebe22 Merge last green changeset from inbound to mozilla-central 2012-06-13 13:23:54 -07:00
Honza Bambas
1c2c744520 Bug 729182 - Followup - MPL2 headers, r=Ms2ger 2012-06-13 17:35:31 +02:00
Jim Mathies
e13dc80985 Bug 761279 - Temporary work around for a VS 2012 RC compiler crash in nsTArray's Init. r=bsmedberg 2012-06-13 08:37:24 -05:00
Nicholas Nethercote
4c6045114c Bug 760352 (part 2) - Treeify non-JS-compartment KIND_OTHER memory reports where appropriate. r=jlebar.
--HG--
extra : rebase_source : 886b3d40a8dc5f7092ed35ffe280814576ca021b
2012-06-11 20:32:26 -07:00
Nicholas Nethercote
fdc3d35af5 Bug 760352 (part 1) - Allow KIND_OTHER memory reports to be in trees. r=jlebar.
--HG--
extra : rebase_source : d28d117fbc2c91069222649741f5ef6b567b3e2a
2012-06-11 20:29:12 -07:00
Daniel Holbert
9c620e115e Bug 765041: Reorder AutoEventTracer init list to fix GCC build warning. r=smaug 2012-06-14 15:26:04 -07:00
Ehsan Akhgari
12418857f6 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 (remaining XPCOM parts); r=bsmedberg
--HG--
extra : rebase_source : 578d3ab1fefa2f2268069790a6a75db4580991b2
2012-06-12 23:08:53 -04:00
Andrew McCreight
55d2f2cfa5 Bug 753614 - enable DumpHeapComplete in non-debug builds. r=billm,smaug 2012-06-14 08:52:54 -07:00
Ehsan Akhgari
ddcea4e3b7 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 (XPCOM parts); r=bsmedberg 2012-06-05 19:51:58 -04:00
Honza Bambas
4ef538c86b Bug 729182 - Implement visual event tracer, part1 - the core, r=benjamin+ehsan 2012-06-12 19:06:21 +02:00
Honza Bambas
41779e1714 Bug 720778 - Important threads should have a name for better debugability, r=bsmith, sr=bsmedberg+glandium 2012-06-12 19:06:20 +02:00
Masatoshi Kimura
02f8758b48 Bug 762758 - Implement underscore-escape in xpidl parser r=khuey 2012-06-12 22:01:06 +09:00
Andrew McCreight
f4f0e1a935 Bug 754478 - clean up cycle collector JS tracing callbacks. r=bent 2012-05-15 09:56:39 -07:00
Ed Morley
b5ac48c828 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-06-08 11:23:53 +01:00
Ehsan Akhgari
584af877ce Bug 737056 - Add some documentation on the mozilla::Version API; r=sparky
DONTBUILD
2012-06-07 17:55:46 -04:00
Ed Morley
5571c78064 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-06-07 10:32:36 +01:00
Olli Pettay
50a2b93846 Bug 761621 - interfaces inheriting a builtinclass-interface should be builtinclass too, r=khuey
--HG--
extra : rebase_source : 5b3379e0c8263846177aa7854547b3809f4b0109
2012-06-06 19:30:58 +03:00
Shriram Kunchanapalli
372a1fb214 Bug 760162: Remove obsolete comment about nsCRT::mem* functions in nsCRT.h; r=dougt f=sgautherie 2012-06-06 13:19:08 +01:00
Geoff Lankow
00f3a215c9 Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg 2012-06-06 14:08:30 +12:00
Lukas Blakk
76c1aefa1b Merging in version bump NO BUG 2012-06-04 12:36:59 -07:00
Jan Varga
6e3e5ab48b Bug 726593 - Implement FileHandle. r=bent 2012-06-03 18:33:52 +02:00
Nathan Froyd
92d5bc874a Bug 759417 - handle big device numbers in MapsMemoryReporter.cpp; r=jlebar 2012-05-30 15:11:58 -04:00
Doug Turner
4f84a9c167 Bug 759989 - Add test to ensure device sensors are shutdown when listeners are removed. r=smaug 2012-06-07 10:58:33 -07:00
Jacek Caban
d644a5f4a9 Bug 759061 - nsINIParser.cpp fails to compile on mingw r=tabraldes 2012-05-31 16:09:36 +02:00
Ehsan Akhgari
e68423b7a6 Merge mozilla-central into mozilla-inbound 2012-05-30 22:43:10 -04:00
Cameron McCormack
dc816782b7 Fix a couple of typos in comments. No bug, no review. 2012-05-31 10:32:17 +10:00
Brian R. Bondy
6a1a161e57 Bug 759449 - Change UI lag telemetry to an EXPONENTIAL histogram. r=taras 2012-05-30 13:25:09 -04:00
Gervase Markham
d4eb7d5782 Bug 759095 - upgrade license to MPL 2, and other licensing cleanups.
--HG--
extra : rebase_source : da55a4937383eda2baf7c9a362501da8ee664146
2012-05-29 16:52:43 +01:00
Shriram Kunchanapalli
52a4aa2063 Bug 743581: Removes nsCRT::strlen(const PRUnichar*). f=sgautherie r=dougt 2012-05-30 18:43:39 +01:00
Ed Morley
28d48cf58f Merge mozilla-central to mozilla-inbound 2012-05-25 22:44:48 +01:00
Daniel Holbert
dc84a310f4 Bug 758735: Remove unused variable 'gFunction' from new file TestSettingsAPI.cpp. r=gwagner 2012-05-25 12:29:05 -07:00
Ed Morley
18aedf9b51 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-05-25 14:25:53 +01:00
Brian R. Bondy
67c92b0d6e Bug 710935 - Measure lag in handling user input. r=bsmedberg 2012-05-25 09:22:19 -04:00
Jim Mathies
bd3f82ea02 Bug 750911 - Add a third 'flags' parameter to XRE_main and add support for WindowsEnvironmentType. r=bsmedberg 2012-05-25 05:01:29 -05:00
Ms2ger
6f9dcfb48d Merge m-c to m-i. 2012-05-25 11:15:32 +02:00
Ms2ger
0019d656e3 Bug 757977 - Don't use uint32 in nsCycleCollector::ScanWeakMaps; r=bsmedberg 2012-05-25 09:18:30 +02:00
Michael Tokarev
19012c1dec Bug 750207 - pop3 on linux checks quota incorrectly. r=bsmedberg 2012-05-23 20:56:39 -04:00
Tim Abraldes
6a9acb3da8 bug 752756. Read UTF-16le and UTF-8 BOMs in nsINIParser on Windows. Add parameter to nsIINIParserWriter::writeFile() specifying the charset of the file (BOM will be written). r=bsmedberg 2012-05-23 10:09:10 -07:00
Justin Lebar
40946c0dc9 Bug 756825 - Fix comments in nsPrintfCString. r=bsmedberg 2012-05-23 11:25:35 -04:00
Ehsan Akhgari
ab9253304f Bug 307181 - Stage Firefox updates in the background after they're downloaded, and replace the application directory on restart; r=rstrong,bbondy
When Firefox downloads an update, it previously kept the update around to apply
it on the next restart.  This patch changes this so that the updater program
is launched in the background as soon as the update has finished downloading
in order to stage the updated version of the application by copying the
existing installation directory to a temporary location and applying the update
on top of it, and replace the existing installation directory with the staged
directory on the next restart.

Because the replacing step is typically very fast, this patch eliminates the
wait for the update to be applied on restart, making it unnecessary to show a
progress dialog when restarting.

--HG--
rename : toolkit/mozapps/update/test/chrome/test_0092_finishedBackground.xul => toolkit/mozapps/update/test/chrome/test_0093_stagedBackground.xul
rename : toolkit/mozapps/update/test/unit/test_0110_general.js => toolkit/mozapps/update/test/unit/test_0113_general.js
rename : toolkit/mozapps/update/test/unit/test_0111_general.js => toolkit/mozapps/update/test/unit/test_0114_general.js
rename : toolkit/mozapps/update/test/unit/test_0112_general.js => toolkit/mozapps/update/test/unit/test_0115_general.js
rename : toolkit/mozapps/update/test/unit/test_0170_fileLocked_xp_win_complete.js => toolkit/mozapps/update/test/unit/test_0172_fileLocked_xp_win_complete.js
rename : toolkit/mozapps/update/test/unit/test_0171_fileLocked_xp_win_partial.js => toolkit/mozapps/update/test/unit/test_0173_fileLocked_xp_win_partial.js
rename : toolkit/mozapps/update/test/unit/test_0110_general.js => toolkit/mozapps/update/test_svc/unit/test_0113_general_svc.js
rename : toolkit/mozapps/update/test/unit/test_0111_general.js => toolkit/mozapps/update/test_svc/unit/test_0114_general_svc.js
rename : toolkit/mozapps/update/test/unit/test_0112_general.js => toolkit/mozapps/update/test_svc/unit/test_0115_general_svc.js
rename : toolkit/mozapps/update/test/unit/test_0170_fileLocked_xp_win_complete.js => toolkit/mozapps/update/test_svc/unit/test_0172_fileLocked_xp_win_complete_svc.js
rename : toolkit/mozapps/update/test/unit/test_0171_fileLocked_xp_win_partial.js => toolkit/mozapps/update/test_svc/unit/test_0173_fileLocked_xp_win_partial_svc.js
2012-05-22 10:50:04 -04:00
Jim Mathies
b02ab82aae Bug 732124 - Fix for crt link errors with VC11 - build glue using both the static and the dynamic runtime lib, and link accordingly for various components. r=ted 2012-05-21 16:31:03 -05:00
Gervase Markham
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Oleg Romashin
1655ded07a Bug 756384 - Maemo/Meego builds should have the "Mobile" token in the UA string. r=mfinkle 2012-05-19 11:31:17 -04:00
Benjamin Smedberg
4f91700da9 Bug 734847 part 2 - treewide changes resulting from the default-infallibility of hashtables; either remove useless result checks, or use the fallible version of APIs, depending on context, r=jlebar
--HG--
extra : rebase_source : 844b008c5167e6ca39a7ba9eeec8b30672938704
2012-05-18 13:30:49 -04:00
Benjamin Smedberg
e663265090 Bug 734847 - Make nsTHashtable and its derivatives be infallible to OOM by default; code which is prepared to handle OOM conditions must use the explicit fallible_t() methods, r=jlebar
--HG--
extra : rebase_source : 4acfaa41aa572c570e4627250f2d3ec2e1817e93
2012-05-18 12:42:01 -04:00
Benjamin Smedberg
4d4184a601 Bug 754244 - Prevent the XPIDL parser from tokenizing "long longValue" as "long long" "Value" by requiring that the next letter after a named identifier be a non-identifier letter, r?khuey
--HG--
extra : rebase_source : e865be978256496c8b252f33a3d9644367bfe76f
2012-05-18 12:42:01 -04:00
Ms2ger
be244a6569 Merge. 2012-05-18 13:32:47 +02:00
Robert Longson
6449306e50 Bug 756404 - Address post-landing review comments from bug 512525. r=jwatt 2012-05-18 11:41:30 +01:00
Ms2ger
3d92167c95 Bug 754643 - Enable FAIL_ON_WARNINGS in content/media; r=cpearce f=roc 2012-05-18 10:29:38 +02:00
Nicholas Nethercote
8e8ae026d3 Bug 755583 (part 4) - Split up the smaps/ memory reporter tree. r=jlebar. 2012-05-16 20:43:36 -07:00
Gavin Sharp
eefaba2ead Bug 747990 followup: rev nsIXULAppInfo IID 2012-05-17 10:12:35 -07:00
Robert Longson
3d82caf05b Bug 512525 - Implement SVG Fragment Identifier parsing and animation hyperlinking - Part 2 main implementation. r=jwatt 2012-05-17 11:02:41 +01:00
Benoit Jacob
17b0e7f92d Bug 732875 - 8/8 - move CheckedInt to MFBT, enable unit tests in mfbt/tests - r=jwalden
--HG--
rename : xpcom/ds/CheckedInt.h => mfbt/CheckedInt.h
2012-05-14 15:50:20 -04:00
Benoit Jacob
d8e93df7c7 Bug 732875 - 7/8 - CheckedInt pre-move-to-MFBT fixes - r=jwalden 2012-05-14 15:50:19 -04:00
Benoit Jacob
13a9a42e75 Bug 732875 - 6/8 - switch CheckedInt to consistently using bool - r=jwalden 2012-05-14 15:50:19 -04:00
Benoit Jacob
e35b282c60 Bug 732875 - 5/8 - update CheckedInt docs - r=jwalden 2012-05-14 15:50:19 -04:00
Benoit Jacob
ef47f45090 Bug 732875 - 4/8 - CheckedInt: make nonstandard features optional - r=jwalden 2012-05-14 15:50:19 -04:00
Benoit Jacob
3ee7ede282 Bug 732875 - 3/8 - update CheckedInt typedefs - r=jwalden 2012-05-14 15:50:19 -04:00
Benoit Jacob
a7fef72412 Bug 732875 - 2/8 - Let CheckedInt support the 3 families of integer types: stdint, standard integer types, and PR types - r=jwalden 2012-05-14 15:50:19 -04:00
Benoit Jacob
9d830b49fa Bug 732875 - 1/8 - switch CheckedInt to support stdint types instead of PR int types - r=jwalden 2012-05-14 15:50:19 -04:00
Josh Matthews
af8add48b2 Bug 722845 - Part 2: Generalize channel private browsing information to a PB consumer interface. r=jduell 2012-05-24 16:31:54 +01:00
Justin Lebar
0fa3af9dae Bug 757924 - Register the heap-committed-unused memory reporter. r=khuey
--HG--
extra : rebase_source : dc4eddd09b2d074e830ec153af4a5ff4bb8b7a3a
2012-05-24 11:10:58 -04:00
Mike Hommey
bb45e7dbc8 Bug 756745 - Use the "right" headers for mips xptc assembly on android. r=bsmedberg 2012-05-24 10:57:39 +02:00
Matt Brubeck
4b70cc9606 Merge mozilla-central and mozilla-inbound 2012-05-14 21:41:08 -07:00
Mike Hommey
a89468f8f1 Fixup for bug 754625. r=ted 2012-05-14 17:55:43 +02:00
Mike Hommey
1f46768cf3 Bug 754625 - Use idl-parser from $(LIBXUL_DIST)/sdk/bin and only remove lex and yacc files in header.py --regen. r=khuey 2012-05-14 17:19:39 +02:00
Brian R. Bondy
4ff5da23f1 Bug 290735 - When launching a file use download path as working directory. r=jimm 2012-05-14 09:19:22 -04:00
Matt Brubeck
58eb5eeac0 Back out c209fea124e1 (bug 754198) because of Win64 build failure 2012-05-11 13:23:49 -07:00
Ed Morley
8b2dbc3dca Backout 345ae68f15f4, b3b40121ac8d, 0d18b7a246d7, 9dbb6064ab58, dee9d7fa8eb6, 63eec6bfa948, 323c6be7cfe8 & f4aac7523a48 (bug 732875) for compilation failures 2012-05-14 21:05:24 +01:00
Benoit Jacob
8fbc0a34da Bug 732875 - 8/8 - move CheckedInt to MFBT, enable unit tests in mfbt/tests - r=jwalden
--HG--
rename : xpcom/ds/CheckedInt.h => mfbt/CheckedInt.h
2012-05-14 15:50:20 -04:00
Benoit Jacob
18f6630abb Bug 732875 - 7/8 - CheckedInt pre-move-to-MFBT fixes - r=jwalden 2012-05-14 15:50:19 -04:00
Benoit Jacob
9554e87017 Bug 732875 - 6/8 - switch CheckedInt to consistently using bool - r=jwalden 2012-05-14 15:50:19 -04:00
Benoit Jacob
3c6ce6e2f6 Bug 732875 - 5/8 - update CheckedInt docs - r=jwalden 2012-05-14 15:50:19 -04:00
Benoit Jacob
f0ec7cfbf8 Bug 732875 - 4/8 - CheckedInt: make nonstandard features optional - r=jwalden 2012-05-14 15:50:19 -04:00
Benoit Jacob
4ae76344fa Bug 732875 - 3/8 - update CheckedInt typedefs - r=jwalden 2012-05-14 15:50:19 -04:00
Benoit Jacob
c27e71b298 Bug 732875 - 2/8 - Let CheckedInt support the 3 families of integer types: stdint, standard integer types, and PR types - r=jwalden 2012-05-14 15:50:19 -04:00
Benoit Jacob
1ff98a1da2 Bug 732875 - 1/8 - switch CheckedInt to support stdint types instead of PR int types - r=jwalden 2012-05-14 15:50:19 -04:00
Gavin Sharp
22e5cffb69 Bug 747990: Add ability to specify the "application name" used in the user agent in application.ini, r=bsmedberg
--HG--
extra : rebase_source : fbaaa2e94c2bbaf74e001147ec014b1ffdf3502f
2012-04-23 16:09:23 -04:00
Fabrice Desré
8c0c24a4a2 Bug 754198 - Warning treated as error in jemalloc.c. Build busted. [r=jlebar,bsmedberg] 2012-05-11 12:34:24 -07:00
Landry Breuil
e68e03b499 bug 736961 - use the same cachedir for all idl-parser calls, fixes builds without objdir - r=khuey 2012-05-11 11:17:00 -07:00
Benjamin Smedberg
dd87c019f1 Bug 737164 part A - make the nsTSubstring string API infallible by default. Note that this patch for reviewing sanity does not modify the subclass APIs, that will be a separate revision, r=jlebar
--HG--
extra : rebase_source : 48db8595e35e95ea6ddc3a35a553d5641b8d1a42
2012-05-08 12:42:27 -04:00
Andrew McCreight
27961269db Bug 748040 - remove malloc hooks from cycle collector. r=smaug 2012-05-10 07:59:00 -07:00
Nathan Froyd
14eeb930ab Bug 744444 - Part 3: delete CPP_PROG_LINK; r=ted 2012-04-12 16:58:11 -04:00
Gregor Wagner
f33f139a23 Bug 743336 - Settings API Service Tests. r=fabrice 2012-05-08 11:28:59 -07:00
Ryan VanderMeulen
28b376aae8 Merge m-c to inbound 2012-05-07 20:29:19 -04:00
Kyle Huey
3631ab3e3d Bug 751585: Followup to adjust tests. (Last one I promise) 2012-05-07 17:19:31 -07:00
Kyle Huey
414b62f78d Bug 751585: Followup to adjust tests. 2012-05-07 15:52:32 -07:00
Ehsan Akhgari
c10f9bc947 Merge mozilla-central into mozilla-inbound 2012-05-07 19:03:55 -04:00
John Ford
ba2a46cee5 bug 747448 - convert shell calls to pwd to using core_*path functions r=khuey 2012-05-07 15:21:11 -07:00
Jeff Muizelaar
3fb566b90d Bug 751727. Remove NSPR TimeStamp implementation. r=roc
PR_IntervalNow() is not necessarily monotonic and so we shouldn't be using it
for implementing TimeStamp, especially now that it is exposed to web content
(Bug 539095).

Furthermore, it seems that the nspr implementation is being used
unintentionally on some platforms. For example, we used to use it on Android
and just now I see that it is being used in FF12 on Ubuntu.

--HG--
extra : rebase_source : cacc7f2c1d614631b93768e5979cc0820db46d54
2012-05-04 01:17:55 -04:00
Doug Turner
68e34b4226 Bug 738465 - implement device light sensor. r=smaug 2012-05-02 09:43:45 -07:00
Doug Turner
13bd86f4fd Bug 742179 - Move MakeRandomString to xpcom/ds. r=bsmedberg 2012-04-05 09:50:55 -07:00
Ehsan Akhgari
ad0e54ab78 Merge from mozilla-central 2012-05-03 17:33:52 -04:00
Brian R. Bondy
796c450e07 Bug 670514 - Arbitrary File + Directory read via .lnk files on Windows Share. r=bz 2012-05-03 15:23:28 -04:00
Andrew McCreight
7465a948a4 Bug 744103, part 5 - Remove remaining langID things from CC. r=smaug 2012-05-03 12:28:11 -07:00
Andrew McCreight
dcc0543487 Bug 744103, part 4 - Remove nsCycleCollectionLanguageRuntime. r=smaug 2012-05-03 12:28:11 -07:00
Andrew McCreight
a6b24a3344 Bug 744103, part 3 - Change NoteRoot to NoteJSRoot and NoteNativeRoot. r=smaug 2012-05-03 12:28:11 -07:00
Andrew McCreight
3ac11cfc5b Bug 744103, part 2 - Change NoteScriptChild to NoteJSChild. r=smaug 2012-05-03 12:28:10 -07:00
Andrew McCreight
99cd624981 Bug 744103, part 1 - Store nsCycleCollectionJSRuntime separately. r=smaug 2012-05-03 12:28:10 -07:00
Ted Mielczarek
051bc98d76 bug 654448 - remove xpt.py's Typelib.merge, move all the logic into xpt_link (also make it a lot faster). r=khuey 2012-05-03 13:44:43 -04:00
Ted Mielczarek
46ffe30e09 bug 654448 - refactor pyxpt to accept file-like objects for Typelib.{read,write}. r=khuey 2012-05-03 13:44:40 -04:00
Andrew McCreight
528a282d03 Bug 737075 - unmark gray strongly held observers implemented in JS. r=bsmedberg, smaug 2012-04-30 12:01:11 -07:00
Phil Ringnalda
9021503717 Back out 28cfc474ab58 (bug 742626) for xpcshell bustage 2012-04-30 11:38:09 -07:00
Justin Lebar
e7e161cf7f Bug 748440 - Part 1: Add heap-committed-unused and heap-committed-unused-ratio memory reporters, and rename some JS memory reporters to match. Also add back the js-gc-heap memory reporter. r=njn
--HG--
rename : browser/components/privatebrowsing/test/unit/test_privatebrowsing_telemetry.js => browser/components/privatebrowsing/test/unit/test_privatebrowsing_autostart.js
rename : browser/components/privatebrowsing/test/unit/test_privatebrowsingwrapper_telemetry.js => browser/components/privatebrowsing/test/unit/test_privatebrowsingwrapper_autostart.js
rename : security/manager/ssl/src/TransportSecurityInfo.cpp => security/manager/ssl/src/nsNSSIOLayer.cpp
rename : security/manager/ssl/src/TransportSecurityInfo.h => security/manager/ssl/src/nsNSSIOLayer.h
extra : rebase_source : 237a72f9b82f0e39dd0f15afa6056f231dc58358
2012-04-30 14:27:15 -04:00
Fabrice Desré
17bb6e693e Bug 742626 - Allow indexedDB parent directory to not be the default profile directory [r=bent] 2012-04-30 10:27:57 -07:00
Justin Lebar
b24cc72fef Bug 742849 - Disable AvailableMemoryTracker for 64-bit Windows processes. r=bsmedberg 2012-04-30 12:18:48 -04:00
Ed Morley
8e73eee3d1 Backout e00bbdb439ed (bug 707579) for win64 make check failures 2012-04-30 11:37:59 +01:00
Mounir Lamouri
2c306a702c Bug 707579, xpt.py shouldn't try to generate destination file if inputs are all older, r=khuey 2012-04-30 15:18:58 +12:00
Mike Hommey
d278e617c4 Bug 748739 - Link stdc++compat as a static library, and always link it when STDCXX_COMPAT is enabled. r=ted
--HG--
rename : build/stdc++compat.cpp => build/unix/stdc++compat/stdc++compat.cpp
2012-04-30 08:03:59 +02:00
Nicholas Nethercote
3a4aa126ba Bug 744311 (part 2) - Don't use -1 to represent "unknown" in memory reporters. r=jlebar.
--HG--
extra : rebase_source : 8f726aef17e5b814f5b740b453c9a67a1ef7646d
2012-04-11 19:38:31 -07:00
Nicholas Nethercote
08dc2dae6b Bug 744311 (part 1) - Preliminary whitespace and code order changes. r=jlebar.
--HG--
extra : rebase_source : f700733d8aa1aed1ae1f9206b4ee9063f9a03341
2012-04-09 22:52:33 -07:00
Nicholas Nethercote
228e65798f Bug 747803 - Remove NS_SIZE_IN_HEAP. r=bz. 2012-04-19 14:15:23 +10:00
Shriram Kunchanapalli
bb6f3e9ec6 Bug 150073 - Remove nsCRT:: in nsCRT::strlen(const char *). r=dougt 2012-02-18 19:17:01 +05:30
Andrew McCreight
a9c6928a04 Bug 678615, part 2: remove FinishCycleCollection. r=smaug 2012-04-25 08:10:09 -07:00
Andrew McCreight
a5af270e47 Bug 678615 - remove ExplainLiveExpectedGarbage. r=smaug sr=peterv 2012-04-25 08:10:09 -07:00
Ehsan Akhgari
a992263c77 Merge mozilla-central into mozilla-inbound 2012-04-24 21:29:44 -04:00
Ehsan Akhgari
30412417b6 Merge the last green PGO changeset from birch to mozilla-central 2012-04-24 20:54:12 -04:00
Patrick Wong
30fd6e9e6a Bug 745659 - Removed the nsPrintfCString constructor which takes a length and all corresponding instances that call that particular constructor. This is accomplished by removing the length component from the instantiation. r=jlebar 2012-04-24 14:43:00 -04:00
Ryan VanderMeulen
095958dc8d Backout 48213b973bfb (bug 695515) due to suspected OSX orange. 2012-04-24 20:51:53 -04:00
Lukas Blakk
d7f942d541 Merging in version bump NO BUG a=relman 2012-04-24 12:54:16 -04:00
Ehsan Akhgari
b0555ad014 Merge mozilla-central into birch 2012-04-19 10:03:36 -04:00
Peng Kang
98d1b53def Bug 737056 - Replace NS_CompareVersions more intuitive C++ API called mozilla::Version. r=bsmedberg 2012-04-18 23:22:29 -04:00
Ehsan Akhgari
816e9ddd2e Backout changeset c3d4c0bdd4bf (bug 737056) for build bustage 2012-04-18 17:05:06 -04:00
Peng Kang
ebc77567f8 Bug 737056 - Replace NS_CompareVersions more intuitive C++ API called mozilla::Version. r=bsmedberg 2012-04-18 16:31:59 -04:00
Mats Palmgren
fbe6838020 Bug 744541. r=bz 2012-04-17 18:53:06 +02:00
Myk Melez
0e8cb8852d bug 725408 - implement WebappRT launcher/shell; r=bsmedberg 2012-04-17 07:11:53 -07:00
Felipe Gomes
c00fe1649f Bug 738501. follow-up, rev uuid. rs,a=gavin 2012-04-18 15:16:34 -07:00
Tim Abraldes
84755d63e9 bug 738501: Add setShortcut function to nsILocalFileWin. r=bsmedberg. a=gavin.
The `setShortcut` function allows us to create or update Windows shortcut (.lnk) files.  The usage pattern is like so:
  Create an nsILocalFileWin whose path is something.lnk
  Call its `setShortcut` function to set the shortcut properties
2012-04-18 15:01:15 -07:00
Asaf Romano
b54a3bf5d9 Butage fix for bug 745466 (that test is not valid on windows). 2012-04-16 23:47:42 +03:00
Asaf Romano
163327fae2 Bug 745466 - initWithPath fails for "~". r=bz. sr=bsmedberg. 2012-04-16 21:40:47 +03:00
Ms2ger
49aa5650bf Bug 744347 - Remove last traces of EventException; r=smaug 2012-04-14 14:57:07 +02:00
Ms2ger
8299fe6b09 Backing out bf0a78471e5e:dc7022e2d807 for inexplicable windows crashes. 2012-04-14 17:52:34 +02:00
Ms2ger
6d3b20451d Bug 744347 - Remove last traces of EventException; r=smaug 2012-04-14 14:57:07 +02:00
Anant Narayanan
2829aaa288 Bug 695515 - Remove last use of memmem. r=khuey 2012-04-24 08:21:12 -07:00
Benjamin Smedberg
e4e9885e88 Bug 743056 - nsPrintfCString is consistently misused because people don't understand its length-truncation behavior. Make it behave the way people expect by expanding the string as necessary (and use nsTSubstring::AppendPrintf to unify the codepath), r=jlebar
--HG--
extra : rebase_source : 8d638515f4ef5b89f0ecaca5a4cc2974982d7092
2012-04-13 12:58:59 -04:00
Mark Capella
1a44f1208f Bug 740688 - Use uintptr_t instead of PRUword, and intptr_t instead of PRWord. r=jwalden
--HG--
extra : rebase_source : 648a581323d2c2893df780f71fe34dadcc4bbaab
2012-04-11 17:17:44 -07:00
David Rajchenbach-Teller
457f40baba Bug 728171 - Use Scoped.h throughout the code. r=cjones 2012-04-12 12:21:24 +02:00
Andrew McCreight
146c531366 Bug 744088 - remove nsCycleCollector_getRuntime. r=smaug 2012-04-11 16:50:03 -07:00
Richard Newman
a89cec83c5 Backout 0e03eb171e08 (Bug 743574 - Deprecate DOMException.code). a=bustage 2012-04-11 15:33:37 -07:00
David Rajchenbach-Teller
5a08b70435 Bug 728171 - Use Scoped.h throughout the code. r=cjones 2012-04-11 18:59:10 +02:00
Justin Lebar
da57cc811b Bug 743786 - Add IsMainThread assertions to ClearOnShutdown. r=bmsedberg 2012-04-10 15:58:10 -04:00
Justin Lebar
51d4c74935 Bug 724072 - If using a content process, display the pid and "parent"/"child" along with each NS_WARNING. r=bsmedberg
--HG--
extra : rebase_source : e50670c28aa95de347ce68efaebb84c9682b2c36
2012-04-10 15:57:20 -04:00
Steven Michaud
a64cadb51a Bug 313700 - Stale information in about:plugins (pluginreg.dat) after a plugin update. r=josh 2012-04-10 10:56:49 -05:00
Ehsan Akhgari
0e0d82c20e Merge the last PGO-green changeset from mozilla-inbound into mozilla-central 2012-04-10 11:11:37 -04:00
Serge Gautherie
e0dcb9bac1 Bug 740769. (Cv1a) test_bug325418.js: Create separate observers, Initialize gStartTime[12] later, Use Date.now() instead of (new Date()).getTime(), "timer = null;" a bit later, Nits. r=bzbarsky. 2012-04-10 15:59:43 +02:00
Serge Gautherie
6178112fa0 Bug 740769. (Bv1) Convert test_bug325418.js file to LF end-of-lines, Fix nsITimer.idl documentation. r=bzbarsky.
DONTBUILD.
2012-04-10 04:32:19 +02:00
Takanori MATSUURA
6ba21f9576 Bug 737006 - Use internal ply only if needed. r=khuey 2012-04-06 14:06:52 -04:00
Dave Townsend
263fb86645 Bug 738790: Add mozglue to dependentlibs.list to fix xulrunner stub loading. r=glandium 2012-04-06 08:26:38 -07:00
Jacek Caban
1deed44e96 Bug 742281 - Append instead of assigning OS_LIBS in xpcom/tests/windows/Makefile.in r=glandium 2012-04-06 11:13:28 +02:00
Richard Newman
e2843b5c41 Merge m-c to m-i. 2012-04-05 22:06:41 -07:00
Serge Gautherie
b6add5f16b Bug 740769. (Av1) Fix multiple issues in test_bug325418.js. r=bzbarsky. 2012-04-05 22:59:38 +02:00
Mike Hommey
46646a522a Bug 738176 - Completely disable jemalloc when it's supposed to be disabled on OSX, and cleanup exposed APIs. r=jlebar,r=khuey 2012-04-05 09:20:53 +02:00
Michael Wu
711ac03866 Bug 742107 - Use GRE_HOME or /system/b2g on Gonk, r=glandium 2012-04-04 20:24:10 -07:00
Benjamin Smedberg
b6316a0a91 Bug 740919 - Don't delay-load gkmedias.dll and make the XPCOM glue work by eagerly loading it in dependentlibs.list, r=khuey
--HG--
extra : rebase_source : cb2c83a5ca23c4ed93b18622503efc834c4465c4
2012-04-03 14:08:23 -04:00
Justin Lebar
13b09b8b45 Bug 741540 - Add AvailableMemoryTracker's hooks before any threads have started up. r=bsmedberg
--HG--
extra : rebase_source : 5135df39b3ae022e75f8651b2e10a378edbae158
2012-04-09 13:53:08 -04:00
Daniel Holbert
b1e2d31e5b backout 118c07dc56f9 (bug 742179) for windows build bustage 2012-04-05 10:56:10 -07:00
Doug Turner
928ff8444e Bug 742179 - Move MakeRandomString to xpcom/ds. r=bsmedberg 2012-04-05 09:50:55 -07:00
Geoff Lankow
0b8feafd61 Bug 682360 - Merge nsILocalFile and nsIFile interfaces; r=bsmedberg 2012-04-04 23:04:37 +12:00
Veeraya Pupatwibul
1bdf9d9923 Bug 741333 - Remove PRBool/PR_TRUE/PR_FALSE that crept in r=Ms2ger 2012-04-04 11:15:10 +02:00
Ryan VanderMeulen
e30ff35d31 Backout 17deb5f61b4d (bug 150073) due to build bustage. a=shouldausedtryfirst 2012-04-03 20:22:42 -04:00
Masatoshi Kimura
9f64673acb Bug 738912 - Part 1: Sort dictionary members lexicographically. r=khuey 2012-04-03 20:08:28 -04:00
Shriram Kunchanapalli
05c95fc3b7 Bug 150073 - Remove nsCRT:: in nsCRT::strlen. f=sgautherie, r=dougt 2012-02-18 19:17:01 +05:30
Justin Lebar
c7747cbafe Bug 738624 - Add ghost windows to about:compartments. r=njn
--HG--
extra : rebase_source : c16cdfc4c06b363f54f1d0f37bb006cf977b079a
2012-04-02 22:28:05 -04:00
Mark Capella
38934b4912 Bug 712936 - Convert users of PR_STATIC_ASSERT to MOZ_STATIC_ASSERT. r=jwalden 2012-04-02 17:21:24 -07:00
Matt Brubeck
6b29960c06 Back out bug 738011, bug 738624, and bug 737857 because of WinXP debug reftest log errors
--HG--
extra : rebase_source : 965c755f6416e2ca102b38633fe7a2c7267e956e
2012-04-02 12:44:31 -07:00
Justin Lebar
155a287d43 Bug 738624 - Add ghost windows to about:compartments. r=njn
--HG--
extra : rebase_source : a486e644351af72a4276f26de2e4588ee851426f
2012-04-02 10:37:04 -04:00
Ed Morley
2767c94707 Backout 9e4d09efa335 (bug 737857), bd73daadcfe9 (bug 738624), 110338618465 (bug 738011) for mochitest-oth orange 2012-04-01 03:58:06 +01:00
Justin Lebar
ee8c83d4d0 Bug 738624 - Add ghost windows to about:compartments. r=njn
--HG--
extra : rebase_source : 37480ae937cbe2a09ae0ce7c187dafef94db5e16
2012-03-31 15:39:31 -07:00
Peter Van der Beken
5b56e246af Add include guards to nsVariant.h. No bug. r=bz. 2012-03-29 13:18:32 -07:00
Phil Ringnalda
0abdfa04b8 Back out b00bf7f3869c (bug 737976) for apparently causing mochitest-1 leaks on a CLOSED TREE 2012-03-28 22:43:09 -07:00
Kyle Huey
c3096d813b Bug 737976: Remove nsINodeInfo. rs=bent 2012-03-28 19:07:37 -07:00
Jeff Muizelaar
26f4612385 Bug 719427. Add a comment about malloc_logger. r=espindola 2012-03-27 13:48:58 -04:00
Marco Bonardo
7a097c82f3 Merge last green PGO from inbound to central 2012-03-27 13:56:40 +02:00
Michael Wu
162dc6f0de Bug 739108 - Set android_sdk_version on gonk, r=cjones 2012-03-25 18:52:03 -07:00
Doug Turner
f209a96f5b Bug 734855 - Rename DeviceMotion to DeviceSensors. r=mwu
--HG--
rename : dom/system/nsDeviceMotion.cpp => dom/system/nsDeviceSensors.cpp
rename : dom/system/nsDeviceMotion.h => dom/system/nsDeviceSensors.h
rename : xpcom/system/nsIDeviceMotion.idl => xpcom/system/nsIDeviceSensors.idl
2012-03-24 17:29:57 -07:00
Doug Turner
9b325a2539 Bug 734855 - Device Orientation - Make EnableDeviceMotion finer grain. r=mwu 2012-03-24 17:29:49 -07:00
Cameron McCormack
4d99616f04 Bug 739129 - Add LastElement and SafeLastElement functions to nsTArray. r=dbaron 2012-03-27 09:48:25 +11:00
Andrew McCreight
e462a99306 Bug 738769 - only unmark purple if purple. r=smaug 2012-03-26 09:57:29 -07:00
Jonathan Kew
9cc265b3cf bug 737863 - nsBaseHashtable::SizeOfExcludingThis should be declared const. r=njn 2012-03-23 12:13:56 +00:00
Nicholas Nethercote
4f8b8a75a5 bug 737412 - handle null sizeOfEntryExcludingThis pointer within ns{T,Base}Hashtable SizeOfExcludingThis functions. r=jfkthame 2012-03-23 12:13:44 +00:00
Ryan VanderMeulen
68314a3f20 Backout 1152d14294df, 18c70ab50559, dbd51616925a, 730c2e84247f, and 7beb8fd46629 due to perma-hangs on WinXP debug moth. (test_memoryReporters.xul | application timed out after 330 seconds with no output) 2012-03-23 17:04:28 -04:00
Chris Lord
3b90179676 Bug 738740 - Fix handling of parameters in nsTArray::ReplaceElementAt. r=bz
Handle the parameters given to ReplaceElementAt the same way as those given to
other methods in the class. This allows removal of the & in GLContext.cpp that
was taking the address of a temporary, and causing a build error when using
clang, or when using GCC with particular parameters.
2012-03-23 19:27:25 +00:00
Benjamin Smedberg
096d77cb71 Bug 719154, remove the implementation of chained and filtered event queues now that they are no longer needed, r=jlebar
--HG--
extra : rebase_source : 54e3f130dfaf59e67974019e39bf85471b22b4bf
2012-03-23 14:45:41 -04:00
Jonathan Kew
eeb9fe61aa bug 737863 - nsBaseHashtable::SizeOfExcludingThis should be declared const. r=njn 2012-03-23 12:13:56 +00:00
Nicholas Nethercote
92e1e95d71 bug 737412 - handle null sizeOfEntryExcludingThis pointer within ns{T,Base}Hashtable SizeOfExcludingThis functions. r=jfkthame 2012-03-23 12:13:44 +00:00
Makoto Kato
153d1dbc93 Bug 738157 - missing nsSubstring_h___. r=dbaron 2012-03-23 14:46:04 +09:00
Ehsan Akhgari
d206b44feb Bug 737959 - Fix the startup crash with MallocStackLogging; r=bsmedberg 2012-03-22 13:18:36 -04:00
Matias Juntunen
4147eeb698 Bug 617947 - Merge 'class nsQuickSortComparator' into 'nsTArray'. r=bsmedberg 2012-03-21 19:52:24 -04:00
Hessam Salehi
25b8143afe Bug 474505 - Replace uses of nsVoidPtrHashkey with nsPtrHashKey<T>; r=bsmedberg 2012-03-21 14:07:31 -04:00
Josh Dhaliwal
454b8453d0 Bug 735011 - geolocation - support enableHighAccuracy position option. r=dougt 2012-03-21 10:52:35 -07:00
Doug Turner
1707159de2 Bug 735330 - move device motion from dom/system to hal. r=jdm
* * *
Bug 735330 - move device motion from dom/system to hal. cocoa bits. r=jdm
* * *
Bug 735330 - move device motion from dom/system to hal. window/qt/linux bits. r=jdm
* * *
Bug 735330 - move device motion from dom/system to hal. move accuracy into sensor data.  support compassneedscalibration. r=jdm

--HG--
rename : dom/system/cocoa/smslib.h => hal/cocoa/smslib.h
rename : dom/system/cocoa/smslib.mm => hal/cocoa/smslib.mm
2012-03-20 23:36:17 -07:00
Matt Brubeck
65e0765863 Back out bug 735330, bug 737462, bug 734854 because they broke XUL Fennec
--HG--
rename : hal/cocoa/smslib.h => dom/system/cocoa/smslib.h
rename : hal/cocoa/smslib.mm => dom/system/cocoa/smslib.mm
2012-03-20 16:59:24 -07:00
Doug Turner
72f04d8a25 Bug 735330 - move device motion from dom/system to hal. r=jdm
* * *
Bug 735330 - move device motion from dom/system to hal. cocoa bits. r=jdm
* * *
Bug 735330 - move device motion from dom/system to hal. window/qt/linux bits. r=jdm
* * *
Bug 735330 - move device motion from dom/system to hal. move accuracy into sensor data.  support compassneedscalibration. r=jdm

--HG--
rename : dom/system/cocoa/smslib.h => hal/cocoa/smslib.h
rename : dom/system/cocoa/smslib.mm => hal/cocoa/smslib.mm
2012-03-20 14:46:14 -07:00
Mats Palmgren
ce7e2c35f0 Bug 732951. r=bsmedberg 2012-03-20 19:02:38 +01:00
Vladan Djeric
e8510855b8 Bug 735829. Report PDB filename in chrome hang reports. r=ehsan 2012-03-19 19:05:25 -04:00
Nathan Froyd
13f970ea96 Bug 695214 - Make xpidl.py enforce [retval] parameters coming last. r=khuey 2012-03-13 16:50:45 -04:00
Mounir Lamouri
e1a1b3e2af Bug 735778 - Call MOZ_ASSERT if RemoveObserver is called with an observer that is not present. r=jlebar 2012-03-19 16:49:39 +01:00
Nicholas Nethercote
d32d1f56c9 Bug 732842 - Add assertions for memory reports. r=jlebar. 2012-03-15 15:16:11 -07:00
Andrew McCreight
95d0324898 Bug 736763 - CanSkipInCC when adding roots. r=smaug 2012-03-18 07:17:04 -07:00
Mark Finkle
c5c1e891ea Backout 7e28d1a2c648, 330b210f503d, 2421d39e0ab3, aa978ffa44bc, 38a71ae7e06d, b94319584a7a, 7e8278f5e814, 0b4e3c7608ab, 329c07609ca8, 0d61a0d8dba4, Due to Ts regression on Android 2012-03-17 21:51:39 -04:00
Ehsan Akhgari
e6fee3a547 Merge from mozilla-central 2012-03-17 12:32:28 -04:00
Mounir Lamouri
ac0d9d477a Bug 735778 - Call MOZ_ASSERT if RemoveObserver is called with an observer that is not present. r=jlebar 2012-03-16 19:32:11 +01:00
Kyle Huey
f7749577c7 No Bug: Shut pldhash up for the 'probably' case. rs=bz 2012-03-16 10:09:14 -07:00
Andrew McCreight
09da9a072b Bug 521853 - Make all cycle collector faults fatal. r=smaug 2012-03-15 21:13:08 -07:00
Ekanan Ketunuti
6dd7569b81 Bug 722180 - Remove error codes for proxies. r=khuey 2012-02-01 18:53:29 +07:00
Landry Breuil
1c023bd98f Bug 735422: Don't use shared-libraries.h and SharedLibraryInfo structs where SPS is not enabled; r=ehsan 2012-03-14 22:57:04 -04:00
Jacek Caban
b1cb7e266d Bug 734903 - Undefined reference to XRE_GetProcessType in nsMediaCacheRemover.cpp on mingw r=benjamin 2012-03-14 15:08:04 +01:00
Mike Hommey
fa35ae1119 Bug 716544 - Fix comparison between signed and unsigned integer expressions in nsStringAPI.h. r=dbaron 2012-03-13 09:47:02 +01:00
Doug Turner
2274638595 Bug 734324 - implement device motion - rotation rate and acceleration. r=jdm 2012-03-13 16:57:51 -07:00
Doug Turner
a176a07f33 Bug 734325 - implement compassneedscalibration event. r=jdm 2012-03-13 16:57:09 -07:00
Ed Morley
12222d2d31 Backout 8b74d5ae78c3 & c619bbb2951f (bug 734391), 772c994fa869 (bug 734324), fd23ff0f9dd1 (bug 734325), d1e037a9390e (bug 733653), 3a7bf79b5b2d (bug 733650) & 9d9392fce538 (bug 733652) for OS X M1 & M3 orange 2012-03-13 22:29:29 +00:00
Ed Morley
28935417cc Merge mozilla-central to mozilla-inbound 2012-03-13 20:52:11 +00:00
Lukas Blakk
2fe69d3c6f Merging in version bump NO BUG 2012-03-13 13:38:38 -07:00
Kyle Huey
c140a5cffd No bug: Fix ply being dumb. r=ted 2012-03-13 10:22:14 -07:00
Doug Turner
95c2676d58 Bug 734324 - implement device motion - rotation rate and acceleration. r=jdm 2012-03-13 10:00:02 -07:00
Doug Turner
30648d566c Bug 734325 - implement compassneedscalibration event. r=jdm 2012-03-13 09:59:24 -07:00
Marco Bonardo
3e58667468 Merge last green PGO from inbound to central 2012-03-13 11:17:21 +01:00
Masatoshi Kimura
c89a117b0c Bug 721569 - Implement nullable types. r=khuey 2012-03-12 21:44:51 -07:00
Masatoshi Kimura
1f2073f34c Bug 721569 - Support default values for Web IDL dictionaries. r=khuey CLOBBER BUILD 2012-03-12 21:44:48 -07:00
Boris Zbarsky
2330298c86 Bug 705877 part 1. Rename mayContain on BloomFilter to mightContain. r=dbaron 2012-03-12 22:54:12 -05:00
Phil Ringnalda
b1d1a41987 Back out 83a33626d965:6e9330f5a9bd (bug 732667 and bug 705877) for Windows build bustage 2012-03-12 22:12:41 -07:00
Boris Zbarsky
267257c7b4 Bug 705877 part 1. Rename mayContain on BloomFilter to mightContain. r=dbaron 2012-03-12 22:54:12 -05:00
Justin Lebar
0dbaf73150 Bug 729940 - Part 2: Stop using crappy hash functions in Gecko. r=bz
--HG--
extra : rebase_source : 6fa267a89878cc1a766d8618569debcea9b12e48
2012-03-12 18:53:18 -04:00
Daniel Holbert
8a6a91bc66 Bug 711047, followup to part 2: use C-style comment in nsError.h, to fix build warnings for its inclusion in .c files. rs=sicking 2012-03-16 15:16:40 -07:00
Ehsan Akhgari
348873aa96 Bug 733277 - Prevent firing timers from lock contention with the main thread; r=bsmedberg 2012-03-04 18:56:19 -05:00
Nathan Froyd
d0255ba171 Bug 695235 - enforce unsigned long type on size_is parameters; r=khuey 2012-03-09 17:06:13 -05:00
Vladan Djeric
745727778e Bug 712109 - Implement chrome hang reporting on profiling branch. r=ehsan 2012-03-12 07:07:05 -04:00
Daniel Holbert
04b172bf20 merge m-c tip over to m-i 2012-03-11 15:40:05 -07:00
Ms2ger
78cef75441 No bug - Remove unused variables origStr from HashString; r=themaid 2012-03-11 09:48:18 +01:00
Phil Ringnalda
4eb7a39045 Bug 582821 - skip test_nsIProcess.js on Windows until it can learn not to leave an unremovable file on the slave 2012-03-10 18:01:30 -08:00
Jeff Muizelaar
67d9b4c911 Bug 732806. Make stackwalking respect the stack end on OS X. r=ehsan
This will help us avoid some crashes.
2012-02-15 00:17:34 -05:00
Nicholas Nethercote
55f276020a Bug 732843 - Handle Callback() failures in memory multi-reporters. r=jlebar.
--HG--
extra : rebase_source : 54af85a1ef839922d5443cdc36f601611258944a
2012-03-04 15:26:30 -08:00
Jacob Holzinger
acfe99c129 Bug 696242 - Convert NS_RegisterStaticAtoms and nsCSSScanner::ReportUnexpectedParams to take an array-reference rather than a pointer and length, making it impossible to pass a pointer/length that are inconsistent. r=jwalden
--HG--
extra : rebase_source : 882b5b4d500b1fa242c0a3cfa3084e4171cbaa9d
2012-03-08 18:22:57 -08:00
Justin Lebar
8752f15ad1 Bug 733495 - Monitor ullAvailPageFile (available commit space) on Windows, and fire a low-memory event when it gets low. r=bsmedberg 2012-03-08 14:44:20 -05:00
Justin Lebar
421d17bf38 Back out changeset b2ac02d89f41 (wrong bug number; was 733496, should have been 733495). 2012-03-08 14:43:09 -05:00
Justin Lebar
09de20e129 Bug 733496 - Monitor ullAvailPageFile (available commit space) on Windows, and fire a low-memory event when it gets low. r=bsmedberg 2012-03-08 14:27:14 -05:00
Nathan Froyd
4cd89227bb Bug 730825 - Part 2: remove nsDoubleHashtable.h; r=bsmedberg 2012-03-02 09:52:26 -05:00
Nicholas Nethercote
4177b594d3 Bug 729008 - Add memory reporter for FramePropertyTable. r=bz.
--HG--
extra : rebase_source : e366cd84d50b5277f9949b340d44190371e753f8
2012-02-20 21:02:24 -08:00
Ehsan Akhgari
6844e12df3 Bug 733264 - Define FramePointerStackWalk on platforms where stackwalking is not supported; r=jrmuizel 2012-03-06 11:38:04 -05:00
Adam Dane
dba68c3e9d Bug 612246 - Store the media cache in the profile directory for single process Gecko and the system temp directory for multi-process. r=cpearce 2012-03-05 14:40:56 -06:00
Cameron McCormack
6efa10fcb3 Bug 732664 - Use FormatMessageA so that XPCOM stack walker prints error message correctly. r=dbaron 2012-03-06 10:04:40 +11:00
Andrew McCreight
1a7388ab3b Bug 728460, part 1 - add forget_skippable option to remove childless nodes. r=smaug 2012-03-05 13:48:04 -08:00
Ed Morley
d27ab2302c Backout afeafc02c1de, dfae37833c9b & f9f51c726fa7 (bug 729940 parts 1-3) for talos regressions 2012-03-05 15:22:28 +00:00
Nicholas Nethercote
d8a85cb65a Bug 682431 (part 2) - Add memory reporters for URIs and Links. r=biesi,bz,jlebar.
--HG--
extra : rebase_source : db4f094a7d334914b986bb66f5bf1089aafda561
2012-02-19 19:51:48 -08:00
Justin Lebar
e1a9198917 Bug 729940 - Part 3: Stop using crappy hash functions in Gecko. r=bz 2012-03-04 15:58:06 -05:00
Justin Lebar
8f94cc1764 Back out bug 729940 (a108aee:d75775d) due to 32-bit red. 2012-03-04 14:20:34 -05:00
Justin Lebar
169d0f30f5 Bug 729940 - Part 3: Stop using crappy hash functions in Gecko. r=bz 2012-03-04 13:49:42 -05:00
Aryeh Gregor
dbb888ac63 Bug 711047 Part 2 - Remove RangeException in favor of DOMException. r=sicking 2012-03-01 13:35:48 -05:00
Jesse Ruderman
2fba78bac9 Bug 732607 - make nsTArray assertions fatal. r=bz 2012-03-03 13:16:13 -08:00
Nathan Froyd
33ba64b09a Bug 666612 - Fix compiler warnings in xpt_xdr.c. r=dougt 2012-02-21 08:49:18 -08:00
Justin Lebar
5816447226 Bug 729952 - Part 2: Use a better hash function in nsCRT, nsTHashtable, and pldhash. r=bz 2012-03-02 17:20:44 -05:00
Nicholas Nethercote
726ecd352b Bug 723799 - Use mallocSizeOf in the DOM memory reporters. r=mounir.
--HG--
extra : rebase_source : 2eb96d2f901bbe4cc1ff6dbccdec4dc4099b08fc
2012-02-01 13:58:01 -08:00
Ryan VanderMeulen
b510ff7205 Backout bug 666612 (rev 897ee1cf8514) due to build bustage. 2012-03-01 17:26:58 -05:00
Nathan Froyd
b573314153 Bug 666612 - Fix compiler warnings in xpt_xdr.c. r=dougt 2012-02-21 08:49:18 -08:00
Bas Schouten
eef9d5e504 Bug 725552 - Part 1: Turn MutexAutoLock into a template with specializations. r=cjones 2012-02-16 04:11:34 +01:00
Justin Lebar
b682bbe4a5 Bug 731789 - Rename mfbt/StdInt.h to mfbt/StandardInteger.h, so stdint types work from cpp files inside mfbt. r=waldo 2012-02-29 22:56:43 -05:00
Boris Zbarsky
e4551269c3 Bug 730414 followup comment to address review comments 2012-02-29 21:44:02 -05:00
Boris Zbarsky
0b7f09aca1 Bug 730414. Expose a quick way to get a hash key for an atom. r=bsmedberg 2012-02-29 21:40:51 -05:00
Boris Zbarsky
6812bfe7e0 Bug 730100. Add a Bloom filter implementation. r=waldo 2012-02-29 21:40:47 -05:00
Nathan Froyd
394b88c410 Bug 700659 - Delete nsHashSets code. r=bsmedberg 2012-02-27 11:26:58 -05:00
Brian R. Bondy
65f2e13848 Bug 731170 - Download Manager Open containing Folder not working. r=bsmedberg 2012-02-28 13:42:13 -05:00
Matt Brubeck
a5ca4655ae Merge from mozilla-central to mozilla-inbound 2012-02-28 10:08:33 -08:00
Mark Capella
7992841265 Bug 489728. (Bv6a) Use passed() in TestTXMgr.cpp, Make passed() accept a va_list in TestHarness.h. f=sgautherie r=ehsan. 2012-02-28 10:17:15 +01:00
Brian R. Bondy
544ebd1307 Bug 632556 - Run nsIFile::Reveal/Launch asynchronously. r=bsmedberg 2012-02-26 16:46:38 -05:00
Andrew McCreight
af543a2fb5 Bug 730357 - factor out common NoteChild code. r=smaug 2012-02-26 13:18:44 -08:00
Nicholas Nethercote
a60da3f47e Bug 728990 - Change "The two measurements of 'explicit' memory usage don't match" assertion to a warning, because it fails occasionally due to races. r=jruderman.
--HG--
extra : rebase_source : 3b2a8c8f14690bea041366dd35ff5147895abd56
2012-02-26 20:17:46 -08:00
Nathan Froyd
b22c70f70c Bug 729256 - Make xpidl.py error out on multiple-method function interfaces. r=bsmedberg 2012-02-27 18:57:28 -05:00
Nathan Froyd
e82d950a64 Bug 700659 - Slay nsHashSets in xpcom/base. r=khuey 2011-11-08 15:25:33 -05:00
Nathan Froyd
1d38f407e4 Bug 700659 - add a Contains method to nsTHashtable; r=bsmedberg 2012-02-22 06:32:13 -08:00
Marco Bonardo
0e771aedaf Merge central to inbound 2012-02-25 11:12:42 +01:00
Brian R. Bondy
fa2a4a39bd Bug 708690 - Updater enhancements for product information blocks. r=rstrong 2012-02-24 16:29:41 -05:00
Andrew McCreight
0439fbfdb6 Bug 697115 - return detailed CC results. r=smaug 2012-02-23 20:16:37 -08:00
Nathan Froyd
e37b12ca9b Bug 722689 - remove nsHashSets from nsCheapSets; r=bsmedberg 2012-02-10 11:30:40 -08:00
Richard Newman
85840c2035 Merge last win pgo-green changeset from m-i to m-c. 2012-02-23 18:35:17 -08:00