Matthew Gregan
d2026762e4
Bug 799234 - Fix seeking within a single stream's range within a multiplexed stream. r=biesi,amarchesini
...
--HG--
extra : rebase_source : 73658a2351a9a0a9476f6d1f4f6e5d8a77413eb5
2012-10-20 08:29:41 +13:00
Daniel Holbert
230a02ff4e
Bug 803641: Fix signed/unsigned-comparison build warnings in TestTArray.cpp, and mark its directory as warning-free. r=jlebar
2012-10-19 13:26:50 -07:00
Jacek Szpot
67d97a59b9
Bug 800106: replace some NS_ALWAYS_INLINEs with MOZ_ALWAYS_INLINEs; r=ehsan
2012-10-19 10:33:33 +02:00
Brian Smith
035e8b8432
Bug 794510: Part 6 - Fixups needed to build on Windows and Android and Mac OS X debug, plus shorten comment to be less than 80 columns; r=ehsan
2012-10-18 15:55:48 -04:00
Isaac Aggrey
9e41ce2fa0
Bug 794510: Part 2: Use more stdint types instead of protypes.h types; r=ehsan
2012-10-11 18:38:04 -05:00
Bill McCloskey
0a9fd297da
Bug 798678 - Add weakmap key preservation support to cycle collector (r=mccr8)
2012-10-17 18:22:46 -07:00
Mats Palmgren
e9377b5d63
Bug 802473 - Make NS_FAILED return 0 or 1 (false/true typed as bool for C++). Use branch prediction macros for NS_FAILED/NS_SUCCEEDED. r=ehsan,bsmedberg
2012-10-18 02:43:06 +02:00
Isaac Aggrey
6058184f25
Bug 794510: Part 3 - create NSPRFormatTime.h with temporarily undef'd NO_NSPR_10_SUPPORT for compatibility; r=ehsan
2012-10-11 13:16:29 -05:00
Justin Lebar
5ac0f1447d
Bug 801780 - Part 1: Escape quotes in memory reporter paths when dumping to JSON. r=njn
2012-10-17 10:44:31 -04:00
Nicholas Nethercote
c132daca99
Bug 802007 - Remove unneeded Mac-only memory reporters. r=jlebar.
2012-10-15 21:45:54 -07:00
Jacek Caban
f3feeb7c28
Bug 801589 - Avoid redefining ERROR in ErrorList.h when wingdi.h is also included r=ehsan
2012-10-16 11:01:58 +02:00
David Zbarsky
04db569bf4
Bug 801803: More nsresult as enum class creates warnings r=me
2012-10-16 00:26:51 -04:00
David Zbarsky
a5c86e49fb
Backout 368cd30cccda for bustage
2012-10-15 23:52:17 -04:00
David Zbarsky
6047fde4c1
Bug 801803: More nsresult as enum class creates warnings r=me
2012-10-15 23:37:34 -04:00
Justin Lebar
2171be5d4d
Bug 800486 - Part 3: Minor fixups to MemoryInfoDumper.cpp. r=njn
2012-10-15 22:12:14 -04:00
Justin Lebar
2f597a1b5d
Bug 800486 - Part 2: Move signal-watching and memory-report-dumping code out of nsMemoryReporterManager and into a new file, MemoryInfoDumper. r=njn
2012-10-15 22:12:14 -04:00
Justin Lebar
b1de9b46c6
Bug 800486 - Part 1: Dump a GC and CC log upon receiving SIGRTMIN + 2. r=mccr8,njn,cjones
2012-10-15 22:12:14 -04:00
Mark Hammond
158318bf31
Bug 796526 - stop spewing errors re SysGetModuleInfo64 in debug builds. r=dbaron
2012-10-16 11:26:35 +11:00
Ehsan Akhgari
71927a786f
Backout changeset 0f0797cdb55a (bug 800106) because of Kraken regressions on Windows XP
2012-10-15 14:19:55 -04:00
Nicholas Nethercote
b4b005ce55
Bug 800187 (part 2) - Add a clarifying comment about memory reporter registration. r=bz.
...
--HG--
extra : rebase_source : 950d0a0bb9a6ffdea94b41ae16f62a407acff6d8
2012-10-11 21:05:42 -07:00
Nicholas Nethercote
e37c1e657a
Bug 800703 - Rename the existing, Valgrind-based DMD as "DMDV". r=khuey.
...
--HG--
rename : xpcom/base/dmd.h => tools/dmdv/dmdv.h
2012-10-08 15:31:17 -07:00
Alexander Surkov
5f743adb53
Bug 799909 - decomify Accessible::GetNameInternal, r=tbsaunde
2012-10-14 13:18:39 +09:00
Jacek Szpot
b848f67ec0
Bug 800106: replace NS_ALWAYS_INLINE with MOZ_ALWAYS_INLINE; r=ehsan
2012-10-13 17:52:10 +02:00
Aryeh Gregor
d8217f6f81
Bug 779473 - Make nsresult an enum class; r=ehsan
2012-08-02 11:55:58 +03:00
Kartikaya Gupta
e71c7af87a
Bug 799686 - Make about:memory dump file readable on Android. r=njn
2012-10-13 08:54:49 -04:00
Andrew Quartey
b50ced0c60
Bug 792581 - part 19: Replace LL_I2L macro with int64_t cast. r=ehsan
2012-10-12 13:29:11 -04:00
Andrew Quartey
b308f8422d
Bug 792581 - part 18: Replace LL_L2D macro with double cast. r=ehsan
2012-10-12 13:29:11 -04:00
Andrew Quartey
ea52f5f496
Bug 792581 - part 15: Replace LL_L2I macro with int32_t cast. r=ehsan
2012-10-12 13:29:10 -04:00
Andrew Quartey
0a2bdf7551
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
6ab749ccb9
Backout 5b727a94eebd (bug 731974) for causing bug 797263 again
2012-10-12 11:25:17 +01:00
Trevor Saunders
e2db6e1941
bug 798595 - remove useless prmem.h includes r=ehsan
2012-10-04 02:14:06 -04:00
Vladimir Vukicevic
77b95b1502
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
977b9a4c21
Bug 797871 - Fix nsMultiplexInputStream.Seek. r=dougt
2012-10-11 06:26:30 -04:00
Jeff Walden
bb0c709053
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
3cdc718d84
Bug 799228 - Clean up shellVersion and shellName and their users. r=blassey
2012-10-10 17:10:39 +02:00
Gian-Carlo Pascutto
0620d31654
Bug 799228 - Send Android version as OS version for Telemetry. r=blassey
2012-10-10 17:10:39 +02:00
Ehsan Akhgari
95975a997f
Bug 795238 follow-up - #include Attributes.h which defines MOZ_HAVE_CXX11_ENUM_TYPE
2012-10-09 09:39:32 -04:00
Ted Mielczarek
48379d1462
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
da8a1ade99
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
7716671921
Merging in version bump NO BUG
2012-10-08 11:01:15 -07:00
Ed Morley
1517aafcca
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
fdd51fc053
Bug 796927 - XPCOM build fix, followup for b777292. r=siarhei.siamashka@gmail.com
2012-10-06 14:00:47 -07:00
William Chen
545b359d18
Bug 798065 - Fix integer underflow in nsTArray::LastIndexOf. r=cjones
2012-10-04 15:23:41 -07:00
Landry Breuil
8512acf227
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
39519068b5
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
2e08b8974d
Bug 797904 - Include app name in about:memory dump. r=njn,cjones
2012-10-05 17:54:54 -04:00
Vladimir Vukicevic
4e6612830f
b=731974, requestAnimationFrame generates too short/long frames; r=bz,smaug,roc
2012-10-02 10:54:46 -04:00
Andrew Quartey
52003ca06d
Bug 792581 - part 12: Replace LL_DIV with division operator. r=ehsan
2012-10-05 01:05:28 -04:00
Andrew Quartey
42f2f3750f
Bug 792581 - part 11: Replace LL_MUL macro with multiplication operator. r=ehsan
2012-10-05 01:05:28 -04:00
Andrew Quartey
1839819e70
Bug 792581 - part 10: Replace LL_SUB macro with mathematical minus operator. r=ehsan
2012-10-05 01:05:27 -04:00
Andrew Quartey
5fcf688c9c
Bug 792581 - part 9: Replace LL_ADD with mathematical plus operator. r=ehsan
2012-10-05 01:05:27 -04:00
Andrew Quartey
6d4a3feed8
Bug 792581 - part 8: Replace LL_NEG macro with negation. r=ehsan
2012-10-05 01:05:27 -04:00
Chris Pearce
a7e88603d1
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
1e809c4aa8
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
c006d4a323
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
c2113adcdd
Bug 792581 - part 4: Replace LL_GE_ZERO macro with standard relation. r=ehsan
2012-10-03 10:13:19 -04:00
Andrew Quartey
1d85650f11
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
e9a6d94714
Bug 797340 - Upgrade mach_override. r=ted.
2012-10-03 10:10:08 -04:00
Nathan Froyd
9738536099
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
47c3eda791
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
2b7edcd2da
Bug 796119 - part 1: don't use PR_BIT in pldhash.h; r=ehsan
2012-10-01 17:04:37 -04:00
Mounir Lamouri
d75b0a0831
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
d7adf52afa
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
5d0ab6fa28
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
d1cd4155c7
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
65c7ca9722
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
4a9f394628
Bug 796119 - part 1: don't use PR_BIT in pldhash.h; r=ehsan
2012-10-01 17:04:37 -04:00
Justin Lebar
74b29b501b
Bug 788021 - Part 2: Add and implement nsIMemoryReporter::DumpMemoryReportsToFile. r=njn,cjones
2012-10-02 21:19:11 -04:00
Justin Lebar
9c2715e693
Bug 788021 - Part 1: Add nsGZFileWriter. r=bsmedberg
2012-10-02 21:19:11 -04:00
Ed Morley
4583cbb907
Backout 16ae4d5d27d7 for mochitest-other failures in test_mousescroll.xul
2012-10-02 17:38:49 +01:00
Vladimir Vukicevic
b07a6d7317
b=731974, requestAnimationFrame generates too short/long frames; r=bz,smaug,roc
2012-10-02 10:54:46 -04:00
Ed Morley
d078159b72
Merge mozilla-central to mozilla-inbound
2012-10-02 11:19:03 +01:00
Phil Ringnalda
fb7f683c92
Back out 17b5b5dcd308, 04af81445c05, 15cc0aabab67 (bug 788021) and 2575a2f89d22 (bug 790417) for Linux crashes
2012-10-01 23:00:51 -07:00
Justin Lebar
b12f4cec24
Bug 788021 - Part 2: Add and implement nsIMemoryReporter::DumpMemoryReportsToFile. r=njn,cjones
2012-10-02 00:11:42 -04:00
Justin Lebar
1af87012c7
Bug 788021 - Part 1: Add nsGZFileWriter. r=bsmedberg
2012-10-02 00:11:42 -04:00
Doug Turner
180124cc57
Bug 795478 - Remove blizzard fudge from xpcom io code. r=bsmedberg
2012-10-01 20:44:47 -07:00
Ms2ger
d787a53469
Bug 792379 - Don't include prtypes.h in base/basictypes.h; r=cjones
2012-10-02 10:24:12 +02:00
Isaac Aggrey
e5d101621c
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
017cf63ecf
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
952cf1de3f
Bug 795351: Replace LL_MaxInt(), LL_MinInt(), LL_MaxUint() with stdint macros; r=ehsan
2012-09-28 17:08:26 -05:00
Isaac Aggrey
a53c93b026
Bug 795351: Replace LL_MAXINT, LL_MININT, LL_MAXUINT with stdint versions; r=ehsan
2012-09-28 14:55:23 -05:00
Daniel Holbert
67da761f6c
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
cbbe1a35f7
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
0cc4b12d36
Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan
2012-09-28 01:57:33 -05:00
foudfou
62d7406c52
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
f1e6b8f196
Bug 764234 - Implement StringEncoding API. r=dougt,smontagu
2012-09-28 11:19:18 +01:00
Makoto Kato
c4ab668c8d
Bug 786579 - Remove old MSVC (<=2003) support. r=khuey
2012-09-28 16:02:40 +09:00
Makoto Kato
93b40d0c00
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
923550b985
Bug 779809 part 2 - Don't safe-forward [notxpcom] methods; r=khuey,bz
2012-08-09 11:33:38 +03:00
Aryeh Gregor
48707f546c
Bug 779809 part 1 - Make [notxpcom] attributes an error; r=khuey
2012-08-09 11:31:14 +03:00
David Zbarsky
715930c55a
Fix virtual dtor warning, no bug, blanket r=bz
2012-09-26 14:30:34 -04:00
Isaac Aggrey
84680bfb39
Bug 789847 - Remove PR_CALLBACK usage from tree
2012-09-25 11:18:38 -05:00
Ed Morley
c7249a6194
Backout 9d9d8bf66243 (bug 785662) for mochitest-other leaks on Windows
2012-09-25 13:46:25 +01:00
Chris Pearce
fa84d925a0
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
3b4c32e3e9
Bug 793409 - Fix bug 777292 fallout on OpenBSD/amd64 r=ehsan
2012-09-23 21:30:54 +02:00
Boris Zbarsky
56ea17b9a3
Bug 793253. Infallible TArrays should really be infallible. r=jlebar
2012-09-22 22:04:54 -04:00
Kyle Huey
233491396d
Bug 753659: Make refcounting threadsafety assertions fatal. r=bsmedberg
2012-09-22 12:45:44 -07:00
Jim Blandy
8bb2f676c2
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
10f0431a94
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
e78f831762
Merge the landing of nsresult-enum on mozilla-central
2012-09-21 14:49:57 -04:00
Nathan Froyd
b8f0f57868
Bug 792169 - introduce better, safer constructors for nsArray; r=bsmedberg
2012-09-21 12:12:32 -04:00
Daniel Holbert
cad0c06e80
Bug 792634: Give nsDequeFunctor a virtual destructor. r=bsmedberg
2012-09-21 11:27:27 -07:00
Ms2ger
5b4f3272e0
Merge PGO-green changeset from m-i to m-c.
2012-09-20 11:51:47 +02:00
Ms2ger
ab95b96a10
Bug 581198 - Remove xpcom/io from LOCAL_INCLUDES; r=ted
2012-09-20 09:55:36 +02:00
Steve Workman
f9692d1c9a
Bug 790807: Add 64 bit nsAString::ToInteger; r=bsmedberg
2012-09-17 21:10:50 -04:00
Jan Beich
008e09be21
Bug 791366 - Implement Vsize and Resident memory reports on BSDs. r=njn
2012-09-17 18:42:36 -04:00
Jan Beich
2d1a061499
Bug 791366 - Define HAVE_PAGE_FAULT_REPORTERS on every Unix. r=njn
2012-09-17 18:42:36 -04:00
Koosha Khajeh Moogahi
e98cd6bf45
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
00587c07b1
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
0dbcfefe35
Bug 777292 - Make nsresult an enum; r=ehsan,cjones,bsmedberg
2012-08-07 11:27:45 +03:00
Gian-Carlo Pascutto
95deb6b017
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
909aba1eb8
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
f5337ac1ee
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
3b8770ecef
Bug 790589 - Add env variable to define the cc/gc log directory, r=mccr8
2012-09-13 09:24:12 +02:00
Mike Hommey
cc830d2164
Bug 789837 - Properly set dependencies on .deps directories. r=ted
2012-09-11 09:43:32 +02:00
SADINENI RAVI CHANDRA
66a4666c4e
Bug 720804: Remove unused variables dolPt and fmt from nsTextFormatter.cpp. r=bsmedberg
2012-09-10 23:52:52 -07:00
Nicholas Nethercote
5b759c2c17
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
08d12fafcc
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
79be44178d
Bug 789643 - Fix GetCOMPtrCount() defined but not used
warning. r=bsmedberg
2012-09-07 12:32:33 -07:00
Rafael Ávila de Espíndola
0c70a93116
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
c16fc93e75
Bug 788729: Check rv of nsDirectoryService::Create, to fix GCC build warning. r=bsmedberg
2012-09-09 16:31:12 -07:00
Daniel Holbert
f8dfa24152
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
70ba385729
Bug 792502 - Kill the FunctionTimer code; r=vlad
2012-09-19 16:59:38 -04:00
Aryeh Gregor
fe52a6df02
Bug 783869 part 3 - Make nsDirectoryService::RealInit infallible; r=bsmedberg
2012-08-21 15:02:37 +03:00
Aryeh Gregor
4951dc26a9
Bug 783869 part 2 - Make FindProviderFile type-safe; r=bsmedberg
2012-08-21 15:02:37 +03:00
Aryeh Gregor
81817e3e5b
Bug 783869 part 1 - Convert nsDirectoryService::mProviders to nsTArray; r=bsmedberg
2012-08-21 15:02:37 +03:00
Ryan VanderMeulen
2e538f1f8f
Merge inbound to m-c.
2012-09-08 21:10:36 -04:00
Ehsan Akhgari
cee1d40621
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
da2e3562f6
Bug 784563 - Investigate being lazier about removing things from the purple buffer, r=mccr8
2012-09-08 13:46:48 +03:00
Ehsan Akhgari
b8d0b298fc
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
59fbcc9b3c
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
6f8adb0586
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
59bc846da3
Bug 788924 - Implement "pictures", "music", and "videos" special folders. r=dougt
2012-09-07 16:23:01 -04:00
Ehsan Akhgari
37cddbbf7b
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
d18ca7e2b9
Bug 784859 - Part 4: Use the native GetTickCount64 function where available; r=bbondy
2012-09-08 14:12:34 -04:00
Ehsan Akhgari
2f57874b5b
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
36db053eeb
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
06d0f0fed7
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
597f23747a
Backout changeset f18c63c99be6 (bug 789257) for breaking the builds
2012-09-06 18:47:19 -04:00
Ehsan Akhgari
35e0890af0
Bug 789257 - Remove some unneeded includes on Windows; r=bbondy
2012-09-06 18:12:45 -04:00
Aryeh Gregor
e840991a39
Bug 783523 - Fix platform-specific nsresult misuse; r=ehsan,tbsaunde,smaug
2012-08-16 14:58:11 +03:00
Edwin Flores
7ed4e118f3
Bug 719286 - Add float hash key type r=roc
2012-09-06 16:58:46 +12:00
Gregor Wagner
6a37b417e8
Bug 788561 - SettingsAPI: Use createLock instead of getLock. r=bent
2012-09-05 17:33:03 -07:00
Paul Adenot
f5dfb8a1e0
Bug 730765 - Tests for nsISeekableStream when backed by a nsMultiplexInputStream. r=biesi
2012-09-04 14:53:52 -07:00
Paul Adenot
b79fe150e6
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
4d2ab05d09
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
29ac5c0b8c
Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg
2012-09-01 22:35:17 -04:00
Gene Lian
b6da016029
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
a9e8313910
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
baf32b1824
Bug 778671: Fix two crashes in Telemetry. r=espindola
2012-08-31 15:20:20 -04:00