Commit Graph

3155 Commits

Author SHA1 Message Date
Chris Peterson
1c4c35eb2a Bug 789643 - Fix GetCOMPtrCount() defined but not used warning. r=bsmedberg 2012-09-07 12:32:33 -07:00
Rafael Ávila de Espíndola
02f9c02d6b Bug 786019 - gcc 4.2 is dead, simplify code that was complicated because of
gcc 4.2 support.
2012-09-10 09:19:46 -04:00
Daniel Holbert
5299512755 Bug 788729: Check rv of nsDirectoryService::Create, to fix GCC build warning. r=bsmedberg 2012-09-09 16:31:12 -07:00
Daniel Holbert
f32f6b5f8b Bug 789382: Change nsIScriptError methods init() and initWithWindowID() to take nsAString, rather than wchar / PRUnichar*. r=bz sr=bsmedberg 2012-09-09 16:29:12 -07:00
Ehsan Akhgari
b5c39afb4e Bug 792502 - Kill the FunctionTimer code; r=vlad 2012-09-19 16:59:38 -04:00
Aryeh Gregor
689e42fd63 Bug 783869 part 3 - Make nsDirectoryService::RealInit infallible; r=bsmedberg 2012-08-21 15:02:37 +03:00
Aryeh Gregor
9082152c84 Bug 783869 part 2 - Make FindProviderFile type-safe; r=bsmedberg 2012-08-21 15:02:37 +03:00
Aryeh Gregor
af7e08160e Bug 783869 part 1 - Convert nsDirectoryService::mProviders to nsTArray; r=bsmedberg 2012-08-21 15:02:37 +03:00
Ryan VanderMeulen
7e47e6b4fd Merge inbound to m-c. 2012-09-08 21:10:36 -04:00
Ehsan Akhgari
a3cd30e16e Bug 789711 - #include mozilla/StandardInteger.h instead of stdint.h to fix building with MSVC9 and lower; r=me 2012-09-08 14:44:33 -04:00
Olli Pettay
6e4f7ab3ea Bug 784563 - Investigate being lazier about removing things from the purple buffer, r=mccr8 2012-09-08 13:46:48 +03:00
Ehsan Akhgari
6253cefbc6 Bug 784859 - Part 6: Remove the need for locking in all calls to TimeStamp::Now; r=bbondy 2012-09-08 14:13:17 -04:00
Ehsan Akhgari
c87c3701f1 Bug 788014 - Part 2: Reduce the inclusion of prtypes.h in the tree to help using stdint types; r=jrmuizel
--HG--
extra : rebase_source : 66b3b6b9858fb032bebcc070347f781bdf61770c
2012-09-06 17:54:59 -04:00
Ehsan Akhgari
ab697fda8e Bug 788014 - Part 1: Define nsrefcnt to be unsigned long unconditionally on Windows; r=jrmuizel
On Windows, IUknown::AddRef and IUnknown::Release are defined to
return ULONG, which is defined as unsigned long.  The existing
code relies on the PR_BYTES_PER_LONG macro which is #defined in
prtypes.h to always be 4 on Windows.  If we remove the prtypes.h
inclusion from nscore.h, in the places where prtypes.h is not
included by other things, we will fall into the other path in the
#ifdef condition which defines nsrefcnt to be unsigned int, which
causes the signature of AddRef and Release to change, which
results in linker errors.

There are a couple of reasons why this change is correct:

1. On both Win32 and Win64, the size of the long type is 4 bytes,
always.  And prtypes.h doesn't detect the size of longs, it just
assumes it, so this check is really a tautology.
2. If the size of the long type changes on Windows, sometime,
the return value of AddRef and Release on Windows should change
size as well in order to maintain binary compatibility with
IUnknown, and before this change, the code would fail to hold
that promise.

--HG--
extra : rebase_source : 8333582b494aaca17c91cf35287a084083219050
2012-09-07 15:09:01 -04:00
Masatoshi Kimura
36583b9824 Bug 788924 - Implement "pictures", "music", and "videos" special folders. r=dougt 2012-09-07 16:23:01 -04:00
Ehsan Akhgari
e79ffee873 Bug 784859 - Part 5: Change the implementation of GetTickCount64Fallback so that it never locks; r=bbondy 2012-09-06 11:01:06 -04:00
Ehsan Akhgari
8404b33a6a Bug 784859 - Part 4: Use the native GetTickCount64 function where available; r=bbondy 2012-09-08 14:12:34 -04:00
Ehsan Akhgari
fa352821c8 Bug 784859 - Part 3: Refactor TickCount64 to make its signature similar to GetTickCount64; r=bbondy 2012-09-08 14:12:14 -04:00
Ehsan Akhgari
a3bc31597e Bug 784859 - Part 2: Avoid locking to store the computed result in the global variable in CalibratedPerformanceCounter; r=bbondy 2012-09-06 11:01:06 -04:00
Ehsan Akhgari
813695d719 Bug 784859 - Part 1: Use QueryPerformanceCounter directly if the machine has a stable TSC; r=bbondy 2012-09-06 11:01:06 -04:00
Ehsan Akhgari
1a43a4f098 Backout changeset f18c63c99be6 (bug 789257) for breaking the builds 2012-09-06 18:47:19 -04:00
Ehsan Akhgari
c30bfea585 Bug 789257 - Remove some unneeded includes on Windows; r=bbondy 2012-09-06 18:12:45 -04:00
Aryeh Gregor
5a68b81a9b Bug 783523 - Fix platform-specific nsresult misuse; r=ehsan,tbsaunde,smaug 2012-08-16 14:58:11 +03:00
Edwin Flores
dc41f19ddc Bug 719286 - Add float hash key type r=roc 2012-09-06 16:58:46 +12:00
Gregor Wagner
3b332a6a7f Bug 788561 - SettingsAPI: Use createLock instead of getLock. r=bent 2012-09-05 17:33:03 -07:00
Paul Adenot
c4a8714f46 Bug 730765 - Tests for nsISeekableStream when backed by a nsMultiplexInputStream. r=biesi 2012-09-04 14:53:52 -07:00
Paul Adenot
a8a6b828f5 Bug 730765 - Media cache shouldn't be used when loading from blob: urls. r=biesi 2012-09-04 14:53:52 -07:00
Randell Jesup
e9226b67de Bug 773151: provide back-compatibility for external API code using nsCAutoString CLOSED TREE r=bsmedberg 2012-07-14 00:01:09 -04:00
Randell Jesup
eedf93a21d Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Gene Lian
f3d96e2210 Bug 785298 - Tests for carrying a customized message to notify "mozsettings-changed" observers. r=gwagner 2012-08-30 17:29:00 +08:00
Gene Lian
7163f76e66 Bug 785298 - Settings API: set() can carry a customized message to notify "mozsettings-changed" observers. r=gwagner 2012-08-31 15:37:43 +08:00
Vladan Djeric
b37b90faa3 Bug 778671: Fix two crashes in Telemetry. r=espindola 2012-08-31 15:20:20 -04:00
Luqman Aden
cbf3f0b1fd Bug 786008 - Add a debug check to make sure that QueryInterface implementations always handle nsISupports; r=ehsan 2012-08-28 12:33:47 -04:00
Landry Breuil
038741989a Bug 785738 Part 3: use PRTime instead of int64_t where appropriate; r=ehsan 2012-08-30 09:10:35 +02:00
Landry Breuil
994eaecaee Bug 785738 Part 1: Use INT64_MAX/MIN instead of LL_MAXINT/MININT constants. r=ehsan 2012-08-30 09:10:26 +02:00
Joe Olivas
2f86f8951b Bug 786789 - Optimize TimeDuration::ToSeconds on Windows to avoid blocked store forwards; r=ehsan 2012-08-29 21:09:01 -04:00
Jan Beich
b1804e7390 Bug 784124 - Remove OS X sanity check, F_BSIZE should reduce ambiguity. r=bz 2012-08-29 17:00:10 -04:00
Jan Beich
ff60eabdba 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
7973f0287f Bug 784124 - Always use .f_frsize with statvfs(). r=karlt 2012-08-29 17:00:10 -04:00
Jan Beich
9c4bffe1fd 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
26147a73ae 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
0c5156e74b Bug 784124 - FreeBSD supports statvfs(2) since 5.0. r=bsmedberg 2012-08-29 17:00:09 -04:00
Andrew McCreight
68b4c3e51b 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
3ae64f38a4 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
13b4317e28 Merge m-c to inbound. 2012-08-27 19:34:23 -04:00
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