Makoto Kato
5577668b61
Bug 793580 - Part 2: give the nsresult enum an explicit type on Win64; r=ehsan
...
--HG--
extra : rebase_source : 072e023d7d880cce5e9e6999fb81ec0f2c29a94c
2012-09-27 14:37:59 +09:00
Aryeh Gregor
becd9525e8
Bug 779809 part 2 - Don't safe-forward [notxpcom] methods; r=khuey,bz
2012-08-09 11:33:38 +03:00
Aryeh Gregor
d70547f8d3
Bug 779809 part 1 - Make [notxpcom] attributes an error; r=khuey
2012-08-09 11:31:14 +03:00
David Zbarsky
fcefc94882
Fix virtual dtor warning, no bug, blanket r=bz
2012-09-26 14:30:34 -04:00
Isaac Aggrey
b33410feb2
Bug 789847 - Remove PR_CALLBACK usage from tree
2012-09-25 11:18:38 -05:00
Ed Morley
9f14ce22ba
Backout 9d9d8bf66243 (bug 785662) for mochitest-other leaks on Windows
2012-09-25 13:46:25 +01:00
Chris Pearce
76b593e69b
Bug 785662 - Add NS_OpenAnonymousTemporaryFile(), and use it in nsMediaCache::Init(). r=roc
...
--HG--
rename : xpcom/io/nsMediaCacheRemover.cpp => xpcom/io/nsAnonymousTemporaryFile.cpp
2012-09-25 12:50:30 +12:00
Landry Breuil
18bf4b7213
Bug 793409 - Fix bug 777292 fallout on OpenBSD/amd64 r=ehsan
2012-09-23 21:30:54 +02:00
Boris Zbarsky
b1cf9cb142
Bug 793253. Infallible TArrays should really be infallible. r=jlebar
2012-09-22 22:04:54 -04:00
Kyle Huey
d8f4b237fb
Bug 753659: Make refcounting threadsafety assertions fatal. r=bsmedberg
2012-09-22 12:45:44 -07:00
Jim Blandy
6ba9527009
Bug 790117: XPCOM test harness: Delete unused profiler control functions. r=bsmedberg
...
These functions are entirely unused, but we also now have
JS_DefineProfilingFunctions, present in both browser and JavaScript shell,
for doing what these functions were presumably intended for.
2012-09-21 16:36:13 -07:00
Nathan Froyd
cc76c0f5b3
Bug 793258 - convert PR_FALSE to false in defined-in-idl-files functions; r=ehsan
2012-09-21 14:40:14 -04:00
Ehsan Akhgari
5fe78337ca
Merge the landing of nsresult-enum on mozilla-central
2012-09-21 14:49:57 -04:00
Nathan Froyd
f7c99ce3fe
Bug 792169 - introduce better, safer constructors for nsArray; r=bsmedberg
2012-09-21 12:12:32 -04:00
Daniel Holbert
4816f79070
Bug 792634: Give nsDequeFunctor a virtual destructor. r=bsmedberg
2012-09-21 11:27:27 -07:00
Ms2ger
1e7015f897
Merge PGO-green changeset from m-i to m-c.
2012-09-20 11:51:47 +02:00
Ms2ger
14bb88f62a
Bug 581198 - Remove xpcom/io from LOCAL_INCLUDES; r=ted
2012-09-20 09:55:36 +02:00
Steve Workman
f62d70fbb8
Bug 790807: Add 64 bit nsAString::ToInteger; r=bsmedberg
2012-09-17 21:10:50 -04:00
Jan Beich
cbcb5298c6
Bug 791366 - Implement Vsize and Resident memory reports on BSDs. r=njn
2012-09-17 18:42:36 -04:00
Jan Beich
17f81bcbc0
Bug 791366 - Define HAVE_PAGE_FAULT_REPORTERS on every Unix. r=njn
2012-09-17 18:42:36 -04:00
Koosha Khajeh Moogahi
8d39310f18
Bug 788242: Implement and make use of void versions of NS_ENSURE_* macros; r=ehsan,bsmedberg
2012-09-14 14:30:31 +04:30
Jeff Muizelaar
d6345f3cb2
Bug 782647. Move the nullptr workaround macros to MFBT so that it can be shared. r=waldo
...
This also changes the header to use compiler detection instead of a
configure test. This makes the header more portable because
it doesn't require the configure infrastructure.
2012-09-01 16:16:17 -04:00
Aryeh Gregor
40eb076032
Bug 777292 - Make nsresult an enum; r=ehsan,cjones,bsmedberg
2012-08-07 11:27:45 +03:00
Gian-Carlo Pascutto
1f28a937d6
Bug 791301 - Generic fallocate code is broken for files smaller than system block size. r=taras
2012-09-17 13:27:24 +02:00
Makoto Kato
d5c93adaee
Bug 785321 - Replace PRUptrdiff with uintptr_t, prtdiff_t or etc; r=ehsan,jrmuizel
2012-09-14 16:09:52 -04:00
Florian Quèze
50f782df2a
Bug 790947 - Show in the error console the path to the dumped memory reports, r=njn,smaug.
2012-09-14 15:47:12 +02:00
Olli Pettay
51bc6f489a
Bug 790589 - Add env variable to define the cc/gc log directory, r=mccr8
2012-09-13 09:24:12 +02:00
Mike Hommey
b0c0deaf39
Bug 789837 - Properly set dependencies on .deps directories. r=ted
2012-09-11 09:43:32 +02:00
SADINENI RAVI CHANDRA
fceb849816
Bug 720804: Remove unused variables dolPt and fmt from nsTextFormatter.cpp. r=bsmedberg
2012-09-10 23:52:52 -07:00
Nicholas Nethercote
584b3df110
Bug 768470 - Add ability to import/export memory reports as JSON. r=jlebar.
...
--HG--
extra : rebase_source : 8e03a7e8c82204ea8e353a9ba583c4d53917a267
2012-08-27 18:14:14 -07:00
Justin Lebar
06da2b47db
Bug 788546 - In our stack-walking code, instead of asserting that we're initialized and failing if we're not, go ahead and initialize ourself when necessary. r=espindola
2012-09-10 15:51:45 -04:00
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