Jacek Szpot
0ebb25a85a
Bug 800106: replace NS_ALWAYS_INLINE with MOZ_ALWAYS_INLINE; r=ehsan
2012-10-13 17:52:10 +02:00
Aryeh Gregor
b1731df87c
Bug 779473 - Make nsresult an enum class; r=ehsan
2012-08-02 11:55:58 +03:00
Kartikaya Gupta
0e35c8beb2
Bug 799686 - Make about:memory dump file readable on Android. r=njn
2012-10-13 08:54:49 -04:00
Andrew Quartey
0e23b26077
Bug 792581 - part 19: Replace LL_I2L macro with int64_t cast. r=ehsan
2012-10-12 13:29:11 -04:00
Andrew Quartey
637d5881bf
Bug 792581 - part 18: Replace LL_L2D macro with double cast. r=ehsan
2012-10-12 13:29:11 -04:00
Andrew Quartey
790ec84feb
Bug 792581 - part 15: Replace LL_L2I macro with int32_t cast. r=ehsan
2012-10-12 13:29:10 -04:00
Andrew Quartey
7d3807c62d
Bug 792581 - part 14 - Replace LL_SHL, LL_SHR, LL_USHR macros with bitwise operators. r=ehsan
2012-10-12 13:29:10 -04:00
Ed Morley
c4f39bb7ab
Backout 5b727a94eebd (bug 731974) for causing bug 797263 again
2012-10-12 11:25:17 +01:00
Trevor Saunders
3d3592cd63
bug 798595 - remove useless prmem.h includes r=ehsan
2012-10-04 02:14:06 -04:00
Vladimir Vukicevic
90ed83bd9c
b=731974, requestAnimationFrame generates too short/long frames (incl. bug 799242); r=bz,smaug,roc
2012-10-02 10:54:46 -04:00
Andrea Marchesini
48b684aaaf
Bug 797871 - Fix nsMultiplexInputStream.Seek. r=dougt
2012-10-11 06:26:30 -04:00
Jeff Walden
dede03d303
Move TestBloomFilter out of XPCOM and into mfbt/tests, now that it exists. No bug, r=testingonlychange
...
--HG--
extra : rebase_source : 85a2a56bcc02bf122ee7fd21d16dffd534d1c98d
2012-10-03 17:09:59 -07:00
Gian-Carlo Pascutto
20ab557d2c
Bug 799228 - Clean up shellVersion and shellName and their users. r=blassey
2012-10-10 17:10:39 +02:00
Gian-Carlo Pascutto
ab3ddd15af
Bug 799228 - Send Android version as OS version for Telemetry. r=blassey
2012-10-10 17:10:39 +02:00
Ehsan Akhgari
e35352d6c5
Bug 795238 follow-up - #include Attributes.h which defines MOZ_HAVE_CXX11_ENUM_TYPE
2012-10-09 09:39:32 -04:00
Ted Mielczarek
50d314a70a
bug 787176 - Add a Python wrapper script for running C++ unit tests. r=jmaher,waldo
...
--HG--
extra : rebase_source : 2282494578a7dd792555633df2526835d39c5ac4
2012-08-30 15:20:38 -04:00
Ehsan Akhgari
abe599d1c9
Bug 795238 - Make nsresult a uint32_t enum everywhere that C++11 typed enums are supported; r=Aryeh
2012-10-09 09:23:52 -04:00
Alex Keybl
35ba52d414
Merging in version bump NO BUG
2012-10-08 11:01:15 -07:00
Ed Morley
6eb6a9b409
Backout 739aff49b8bb (bug 731974) for turning browser_586068-reload.js permaorange on WinXP 3 days ago
2012-10-08 10:57:12 +01:00
Oleg Romashin
b1d731a136
Bug 796927 - XPCOM build fix, followup for b777292. r=siarhei.siamashka@gmail.com
2012-10-06 14:00:47 -07:00
William Chen
e95607fd91
Bug 798065 - Fix integer underflow in nsTArray::LastIndexOf. r=cjones
2012-10-04 15:23:41 -07:00
Landry Breuil
e19994e1dd
Bug 788021 followup: cast PR_NOW() to int64_t to fix a build failure on OpenBSD. r=jlebar
2012-10-06 11:03:52 +02:00
Mike Hommey
cbb20704b2
Bug 797717 - Initialize SPS in NS_InitXPCOM2 to make JS sampling work in xpcshell. r=benwa
2012-10-06 10:37:45 +02:00
Justin Lebar
d0141d9c09
Bug 797904 - Include app name in about:memory dump. r=njn,cjones
2012-10-05 17:54:54 -04:00
Vladimir Vukicevic
3a1848bba7
b=731974, requestAnimationFrame generates too short/long frames; r=bz,smaug,roc
2012-10-02 10:54:46 -04:00
Andrew Quartey
e0477b23d8
Bug 792581 - part 12: Replace LL_DIV with division operator. r=ehsan
2012-10-05 01:05:28 -04:00
Andrew Quartey
efd58ac27b
Bug 792581 - part 11: Replace LL_MUL macro with multiplication operator. r=ehsan
2012-10-05 01:05:28 -04:00
Andrew Quartey
9f926a0d71
Bug 792581 - part 10: Replace LL_SUB macro with mathematical minus operator. r=ehsan
2012-10-05 01:05:27 -04:00
Andrew Quartey
b92e443462
Bug 792581 - part 9: Replace LL_ADD with mathematical plus operator. r=ehsan
2012-10-05 01:05:27 -04:00
Andrew Quartey
15c1cf34fe
Bug 792581 - part 8: Replace LL_NEG macro with negation. r=ehsan
2012-10-05 01:05:27 -04:00
Chris Pearce
4afda51dd1
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
Jeff Muizelaar
644f4e96df
Bug 792954. Add a WeakPtr implementation to use instead of nsISupportsWeakReference. r=joe,ehsan,Waldo
...
This patch also replaces the usage of nsISupportsWeakReference in RasterImage as an example.
--HG--
extra : rebase_source : ac6a039dcc3227a04ac4c2221f38856bb308c695
2012-10-04 15:45:07 -04:00
Jacek Caban
3e03fe60cf
Bug 797316 - Fix -Werror=conversion-null errors in Windows-only code (xpcom/threads part) r=ehsan
...
--HG--
extra : rebase_source : 177a5faf91a90016807060293743cde13001a88c
2012-10-04 10:30:03 +02:00
Andrew Quartey
b1b8b7f76b
Bug 792581 - part 4: Replace LL_GE_ZERO macro with standard relation. r=ehsan
2012-10-03 10:13:19 -04:00
Andrew Quartey
9eed719a44
Bug 792581 - part 1: Replace LL_IS_ZERO macro with standard relation. r=ehsan
2012-10-03 10:13:18 -04:00
Rafael Ávila de Espíndola
72b52d39f4
Bug 797340 - Upgrade mach_override. r=ted.
2012-10-03 10:10:08 -04:00
Nathan Froyd
5f8f36ca5f
Bug 796119 - part 2: don't #include prtypes.h in xpcom/ unless absolutely necessary; r=ehsan
...
"absolutely necessary" in this context means "needs PRUnichar", which is
the reason that nsString.h now #includes prtypes.h.
2012-10-01 17:01:01 -04:00
Nathan Froyd
ec0cae57b0
Bug 796279 - remove remaining PR_MAX instances from the tree; r=ehsan
...
We can't use NS_MAX or std::max because we lack uniform constexpr
support across our supported compilers. But we can do a simple inline
max ourselves.
2012-10-01 20:38:21 -04:00
Nathan Froyd
ef8647cf56
Bug 796119 - part 1: don't use PR_BIT in pldhash.h; r=ehsan
2012-10-01 17:04:37 -04:00
Mounir Lamouri
12ac8bdc34
Bug 795703 - Do not assert when calling do_GetWeakReference() on a nsISupport not capable of that. r=smaug,dougt
2012-10-03 10:38:46 +01:00
Ehsan Akhgari
707fdff5de
Bug 792649 - Make the simplest of Web Audio tests work without audio playback for now; r=bzbarsky
2012-09-24 23:31:58 -04:00
Ehsan Akhgari
bdd40e5c18
Backout changeset 9e38c5518605, fc59bd8d49ba, d0ba1abde985, and acf91f25f228 (bugs 796119, 796279, and 797106) because of broken reftests on 64-bit platforms
2012-10-02 23:16:36 -04:00
Nathan Froyd
d66cf7dc03
Bug 796119 - part 2: don't #include prtypes.h in xpcom/ unless absolutely necessary; r=ehsan
...
"absolutely necessary" in this context means "needs PRUnichar", which is
the reason that nsString.h now #includes prtypes.h.
2012-10-01 17:01:01 -04:00
Nathan Froyd
45f0148efe
Bug 796279 - remove remaining PR_MAX instances from the tree; r=ehsan
...
We can't use NS_MAX or std::max because we lack uniform constexpr
support across our supported compilers. But we can do a simple inline
max ourselves.
2012-10-01 20:38:21 -04:00
Nathan Froyd
3c7832a1cb
Bug 796119 - part 1: don't use PR_BIT in pldhash.h; r=ehsan
2012-10-01 17:04:37 -04:00
Justin Lebar
585808893d
Bug 788021 - Part 2: Add and implement nsIMemoryReporter::DumpMemoryReportsToFile. r=njn,cjones
2012-10-02 21:19:11 -04:00
Justin Lebar
cdb12cf4ea
Bug 788021 - Part 1: Add nsGZFileWriter. r=bsmedberg
2012-10-02 21:19:11 -04:00
Ed Morley
52216acaf5
Backout 16ae4d5d27d7 for mochitest-other failures in test_mousescroll.xul
2012-10-02 17:38:49 +01:00
Vladimir Vukicevic
57bcf02a8d
b=731974, requestAnimationFrame generates too short/long frames; r=bz,smaug,roc
2012-10-02 10:54:46 -04:00
Ed Morley
3d3703a920
Merge mozilla-central to mozilla-inbound
2012-10-02 11:19:03 +01:00
Phil Ringnalda
e6a8ebd563
Back out 17b5b5dcd308, 04af81445c05, 15cc0aabab67 (bug 788021) and 2575a2f89d22 (bug 790417) for Linux crashes
2012-10-01 23:00:51 -07:00
Justin Lebar
3d882b3cc9
Bug 788021 - Part 2: Add and implement nsIMemoryReporter::DumpMemoryReportsToFile. r=njn,cjones
2012-10-02 00:11:42 -04:00
Justin Lebar
23117f00b1
Bug 788021 - Part 1: Add nsGZFileWriter. r=bsmedberg
2012-10-02 00:11:42 -04:00
Doug Turner
4c4ba5d4bd
Bug 795478 - Remove blizzard fudge from xpcom io code. r=bsmedberg
2012-10-01 20:44:47 -07:00
Ms2ger
cc84f2c2f2
Bug 792379 - Don't include prtypes.h in base/basictypes.h; r=cjones
2012-10-02 10:24:12 +02:00
Isaac Aggrey
65e8d33673
Bug 795507: Remove usage of PR_BEGIN_EXTERN_C and PR_END_EXTERN_C; r=ehsan
2012-09-30 21:10:22 -05:00
Marshall Culpepper
e5a8a843cd
Bug 778349: Initial support for OS ("FOTA") updates in Gonk. r=rstrong r=bbondy r=fabrice
2012-09-30 21:55:51 -05:00
Isaac Aggrey
5a625049e0
Bug 795351: Replace LL_MaxInt(), LL_MinInt(), LL_MaxUint() with stdint macros; r=ehsan
2012-09-28 17:08:26 -05:00
Isaac Aggrey
e496b51126
Bug 795351: Replace LL_MAXINT, LL_MININT, LL_MAXUINT with stdint versions; r=ehsan
2012-09-28 14:55:23 -05:00
Daniel Holbert
303f22788e
Bug 793580 followup: Fix added comment to be C-style instead of C++-style, to fix build warning for .c files that include nsError.h. rs=Ms2ger (DONTBUILD because comment-only)
2012-09-28 12:34:54 -07:00
Seth Fowler
0bd8ed6ede
Bug 795086 - Make nsConsoleService only post a LogMessageRunnable to the event queue if there are any observers for it. r=bz
2012-09-28 09:54:36 -07:00
Isaac Aggrey
997db4d142
Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan
2012-09-28 01:57:33 -05:00
foudfou
d72827c0aa
Bug 785542 - Convert usages of PR_MIN and PR_MAX to NS_MIN and NS_MAX; r=ehsan
...
Occurences of PR_MAX in layout/style/nsCSSProps.cpp and xpcom/glue/nsTArray.h
can not be converted without C++11 support (constexpr).
--HG--
extra : rebase_source : 3b4f7e26690fad487dd11594449948411d4e79bc
2012-09-27 23:44:47 +02:00
Masatoshi Kimura
4a9395eb5d
Bug 764234 - Implement StringEncoding API. r=dougt,smontagu
2012-09-28 11:19:18 +01:00
Makoto Kato
222556a3d5
Bug 786579 - Remove old MSVC (<=2003) support. r=khuey
2012-09-28 16:02:40 +09:00
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
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