Ben Turner
4a96b44593
Bug 782649 - 'Remove old IPC::InputStream'. r=cjones+khuey.
2012-08-22 19:13:54 -07:00
Justin Lebar
8387ccd3cb
Bug 780970 - Add [infallible] attribute for XPIDL attributes. r=khuey
2012-08-22 18:27:04 -07:00
Phil Ringnalda
2d4e07a293
Merge last PGO-green changeset from mozilla-inbound to mozilla-central
2012-08-19 11:17:28 -07:00
Kyle Huey
d540fe9d4c
Bug 774888: Error out if there's no TimeStamp implementation. r=glandium
2012-08-18 12:15:22 -07:00
Doug Turner
36fb75252f
Bug 759416 - Backout API change part 2. r=dougt
2012-08-17 19:43:00 -07:00
Doug Turner
a8763f4c37
Bug 759416 - Backout API change. r=dougt
2012-08-17 19:43:00 -07:00
Aryeh Gregor
5ea6a83221
Bug 782614 - Don't return nsresult from main() (xpcom/); r=bsmedberg
2012-08-07 20:17:27 +03:00
Aryeh Gregor
8274fefd77
Bug 768865 - Make NS_SUCCEEDED/NS_FAILED always inline functions for C++; r=bsmedberg
2012-06-27 17:54:01 +03:00
Ben Turner
81d9415df5
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
105b55a935
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
0a8f6b4783
Bug 782252 - Cast some nsresult to PRUint32; r=ehsan
2012-08-09 11:36:40 +03:00
Aryeh Gregor
4c54d98fcb
Bug 782252 - Change named constants to correct types; r=ehsan
2012-08-07 18:11:35 +03:00
Ehsan Akhgari
b457a9ddf0
Merge removal of nsnull
2012-08-14 11:29:00 -04:00
Aryeh Gregor
e2dd9c2028
Bug 626472 part 3 - Remove nsnull for good; r=ehsan
2012-08-12 13:43:47 +03:00
Honza Bambas
5fe7a22e2c
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
f643277414
Bug 780272 - Audit calls to MozillaUnRegisterDebugFD. r=jlebar.
...
--HG--
extra : rebase_source : 53672602bfd370626916bcd0f5bc71859f8520c2
2012-08-10 12:40:21 -04:00
Jan Beich
c34ac7f060
Bug 781457 - Define _GNU_SOURCE for _Unwind_Backtrace. r=dbaron
2012-08-10 11:29:59 -04:00
Aryeh Gregor
982100775b
Bug 780618 - Move all error codes to nsError.h; r=ehsan
2012-07-27 17:03:27 +03:00
Jacek Caban
3133ef552a
Bug 781773 - nsLocalFileWin.cpp clean up r=bbondy
...
--HG--
extra : rebase_source : 98185fe262366e0212115d3a3e296bd95d6ffc85
2012-08-14 11:17:34 +02:00
Trevor Saunders
6b9480a9c1
bug 780203 - follow up refix silly formatting r=me
2012-08-09 07:56:35 -04:00
Ms2ger
aa7cd71f5c
Bug 780387 - Part e: Stop using PRSize; r=bsmedberg
2012-08-09 09:10:11 +02:00
Ms2ger
8fcd7f8f16
Bug 780387 - Part d: Stop using PRFloat64; r=bsmedberg
2012-08-09 09:09:42 +02:00
Ms2ger
331accfcb4
Bug 780387 - Part b: Stop using PRIntn; r=bsmedberg
2012-08-09 09:09:40 +02:00
Ms2ger
b5e07ef2e5
Bug 780387 - Part a: Stop using PRPtrdiff; r=bsmedberg
2012-08-09 09:09:31 +02:00
Aryeh Gregor
a0e6e57f67
Bug 780832 - Make nsSupportsArray::GrowArrayBy infallible. r=dougt
2012-08-07 11:21:38 +03:00
Ryan VanderMeulen
e0f772c50e
Backout 41a3cdf92063 (bug 782649) for Linux xpcshell failures.
2012-08-22 17:31:06 -04:00
Ben Turner
09bda2927c
Bug 782649 - 'Remove old IPC::InputStream'. r=cjones+khuey.
2012-08-22 12:19:29 -07:00
Ehsan Akhgari
2962d2eed1
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
217645f36e
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
2371757ee1
Bug 579517 - Part 2: Make the IDL parser aware of stdint types; r=bsmedberg
2012-08-22 11:57:22 -04:00
Ehsan Akhgari
8c296bbcd4
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
42524980ca
Bug 730765 - Tests for nsISeekableStream when backed by a nsMultiplexInputStream. r=biesi
2012-08-21 16:01:36 -07:00
Trevor Saunders
8426287789
bug 780203 - add [u]intn_t types to xpidl r=khuey
2012-07-27 19:58:26 -04:00
Jan Beich
e8b8cd2087
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
fb28e5bb77
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
e0716d3073
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
0623ad4e5e
Bug 759416 - XPCOM FileWatcherService. Interface change only. Patch to previous interface changes. sr=bsmedberg
2012-08-07 12:07:27 -07:00
Chris Peterson
bd2d843def
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
418325cf8d
Bug 780511 - Pipe additional debug output to the Windows debugger, r=neil.
2012-08-06 15:41:40 -05:00
Mike Hommey
c1b35e7b2a
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
41d22962cf
Bug 777122 - Add telemetry reporting of late writes. r=nfroyd.
...
patch1: drop aborts.
2012-08-02 14:05:54 -04:00
Doug Turner
618630d18a
Bug 759416 - XPCOM FileWatcherService. Interface and stub impl. r=dougt
2012-08-01 23:29:34 -07:00
Nathan Froyd
fcb8761a84
Bug 778220 - remove $(wildcard *.$(OBJ_SUFFIX)) calls from xpcom Makefiles; r=glandium
2012-07-27 14:15:01 -04:00
Honza Bambas
d1ae768c4a
Bug 774243 - [Linux] Process name changes to RunProcess, r=benjamin
2012-07-31 20:59:18 +02:00
David Zbarsky
cc6c8a0c54
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
26da6164d3
Merge m-c to inbound.
2012-07-30 20:14:22 -04:00
Mark Finkle
a4d33f44cf
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
57c0ad57fb
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Chris Peterson
9cadd9aabc
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
2e7996f8d1
Bug 777292 - Convert incorrect conversions to nsresult and fix named constants; r=ehsan
2012-07-27 16:59:29 +03:00
Ehsan Akhgari
c80897316e
Merge the nullptr conversion from mozilla-central into mozilla-inbound
2012-07-30 10:28:15 -04:00
Aryeh Gregor
91391164b5
Bug 777292 - Cast NS_ENUMERATOR_FALSE to nsresult and complain in comments; r=ehsan
2012-07-27 17:03:25 +03:00
Aryeh Gregor
17bdf11678
Bug 777292 - Annotate some incorrect conversions to nsresult; r=ehsan
2012-07-27 17:03:25 +03:00
Jason Duell
1bce30f3fc
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
4be9dc9473
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
912affb1de
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
59c64a1be2
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
d6359f837f
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
21e41e6781
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
c6c1a8c1c0
Remove some extra trailing semicolons from nsCycleCollector.cpp (no bug)
2012-07-26 11:16:28 -04:00
Brian R. Bondy
873408d146
Bug 773518 - Platform code for lowering IO prioritization. r=bsmedberg
2012-07-25 10:25:08 -04:00
Brian R. Bondy
66e3cf369b
Bug 774140 - Remove code duplication for IsVistaOrLater. r=bsmedberg
2012-07-25 10:23:26 -04:00
Siddharth Agarwal
8117a70214
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
0981437de6
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
088cfd60e3
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
7d00314751
Bug 706179: Add support for animations to the Layers API r=roc, dbaron, cjones
2012-07-25 01:48:09 -07:00
Ed Morley
3ccef88f32
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
2246448c83
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
f61b4d8c8a
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
9eef60d960
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
bdf70a2faf
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
3b4c458596
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
a56fd7229b
bug 761909 - crash reporter plumbing for gonk. r=bsmedberg
2012-07-16 19:50:52 -04:00
Matt Brubeck
091f852d76
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
06e34cc5ee
Bug 706179: Add support for animations to the Layers API r=roc, dbaron, cjones
2012-07-23 17:34:22 -07:00
Joshua Cranmer
de30491499
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
e1cdfe2f05
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
4a5b32fae2
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
48e6e92f83
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
0c8f5adf50
Bug 626472 part 1 - Define nsnull as nullptr where available; r=ehsan
2012-07-20 14:16:17 +03:00
Mike Hommey
d3b70db257
Bug 775424 - Make cycle collection vtables rodata. r=smaug
2012-07-23 07:42:23 +02:00
Mike Hommey
b656d2ae14
Bug 773724 - Skip delayload libraries in dependentlibs.py. r=khuey
2012-07-23 07:42:22 +02:00
Cameron McCormack
295714154b
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
2a4902ee1b
Bug 771401 - Change PRTime in IDL to signed long long. r=bholley sr=bsmedberg
2012-07-19 18:53:30 +09:00
Ehsan Akhgari
0e69a851fa
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
5c5b8e26a9
Merge mozilla-central to mozilla-inbound
2012-07-16 18:32:39 +01:00
Lukas Blakk
1d83c46b16
Merging in version bump NO BUG
2012-07-16 10:08:20 -07:00
Rafael Ávila de Espíndola
268f3ff4d6
Bug 774041 - silence warning about unused private field. r=benjamin.
2012-07-16 10:57:04 -04:00
Rafael Ávila de Espíndola
9aa398b743
Bug 774018 - Remove extra ;. r=khuey.
2012-07-15 00:09:35 -04:00
Aryeh Gregor
eb15649aa5
Bug 772807 - Clean up editor/ includes with include-what-you-use; r=ehsan
2012-07-13 09:33:42 +03:00
Bobby Holley
a9b149e614
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
7ad49e0b59
Backed out changeset 784d3448dfe3 (Bug 771074) for windows bustage. a=me
2012-07-13 15:10:40 +02:00
Bobby Holley
3fd5a14b76
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
473b4a8aa9
Bug 763343 - Handle classinfo singletons in cross-compartment wrapping. r=peterv
2012-07-13 14:33:25 +02:00
Ryan VanderMeulen
7105546cd8
Merge the last PGO-green inbound changeset to m-c.
2012-07-12 20:46:27 -04:00
Benjamin Smedberg
5e47967333
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
679f55960f
bug 760625 - use the blocklist to inform click-to-play plugins. r=joshmoz,bmcbride
2012-07-11 08:56:34 -07:00
Aryeh Gregor
5b5fca0c94
Bug 771873 part 2 - Assert on addition overflow in nsTArray::RemoveElementsAt; r=bsmedberg
2012-07-09 11:13:23 +03:00
Honza Bambas
dc7e672f62
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
f18ffa5e86
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
d803ddbb37
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
d8fd5d3bfa
Switch HangMonitor.cpp to use Unix line endings (no bug; DONTBUILD)
2012-07-10 19:12:40 -04:00
Vladan Djeric
ddb17230f9
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
369fd5ef50
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
e0ffcea8b4
Bug 766579 - Part 3: Follow up fix. r=dbaron
2012-07-10 17:39:10 -04:00
Ehsan Akhgari
965e48aeaf
Bug 772518 - Remove nsThread::mShutdownPending because it is unused; r=bsmedberg
2012-07-10 16:12:41 -04:00
Benoit Girard
adc71ae1dd
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
d620727817
Bug 769607 - dependentlibs.py depends on dumpbin r=glandium
2012-07-10 14:29:53 +02:00
Ehsan Akhgari
8e0eba9784
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
1e3615f111
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
556541f5f0
Bug 771048: fix typo in nsAutoRef::swap, r=khuey
2012-07-10 00:19:59 +08:00
Makoto Kato
92b7d43eb0
Bug 769533 - Part 2. get rid of AppendWithConversion. r=jlebar
2012-07-06 18:44:20 +09:00
Ryan VanderMeulen
a67fd2635a
Merge m-c to inbound.
2012-07-05 21:07:54 -04:00
Ryan VanderMeulen
6586d4fbe2
Merge the last PGO-green inbound changeset to m-c.
2012-07-05 20:26:55 -04:00
Ryan VanderMeulen
98414eb4cf
Merge the last PGO-green inbound changeset to m-c.
2012-07-05 20:15:12 -04:00
Jeff Muizelaar
eb40f02be7
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
79b4ec6fdf
Merge mozilla-central into mozilla-inbound
2012-07-05 11:13:45 -04:00
Benoit Jacob
d5e77f32fc
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
d494041006
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
da951cf990
Backout changeset 34c8a2369cbc (bug 771266) because the fastcall annotation actually matters
2012-07-05 18:19:07 -04:00
Ehsan Akhgari
928bac3a6e
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
60cae3665d
Bug 767519 - Add NS_flooredModulo to nsMathUtils. r=bz
...
--HG--
extra : rebase_source : d16e5d8e94a50c1e3319d866e3aa27ae6160edd8
2012-07-05 16:18:37 +02:00
Ehsan Akhgari
64a248714a
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
3b1342d2e3
Bug 771266 - Inline nsCOMPtr_base's destructor; r=jlebar
2012-07-05 15:12:13 -04:00
Rafael Ávila de Espíndola
7f776661b8
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
0dd01290a1
Bug 758034 - Clean up browser GC API (r=smaug)
2012-06-30 14:16:32 -07:00
Ms2ger
aae562ed57
Merge m-c to m-i.
2012-06-30 14:50:23 +02:00
L. David Baron
6c96fba7b3
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
350524f82d
Bug 709747: Fix COMPtr logging for .forget(). r=dbaron
2012-06-29 10:10:31 -07:00
Bonnie Surender
6dcaba353f
Fixing bug 715041. Add support for Idle API. r=bent, jst
2012-06-29 01:32:21 -07:00
Vladan Djeric
80c654d7a5
Bug 763138: Telemetry should indicate whether a debugger is attached. r=bsmedberg,smichaud
2012-06-28 14:57:52 -04:00
Andrew McCreight
95a987d18a
Bug 754495, part 5 - Add support for compartment merging to cycle collector. r=smaug
2012-06-27 08:09:56 -07:00
Landry Breuil
0ddcce9080
Bug 767403 - also match readelf case on *.so.* to fix *BSDs. r=glandium
2012-06-26 22:48:57 +02:00
Bill McCloskey
782289afab
Bug 768282 - Run GCCyle only once for CC_FORCED GCs (r=mccr8)
2012-06-26 13:11:39 -07:00
Nicholas Nethercote
688fb0d230
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
9ac7bb2267
Bug 767388 - Kill NS_DEBUG. r=bz.
...
--HG--
extra : rebase_source : d045208a26345712dbb4628c973c616cd9504f28
2012-06-25 20:59:42 +01:00
Nathan Froyd
c91e7f86d0
Bug 765326 - atom-table numbers should include the static atom table; r=njn
2012-06-15 15:51:42 -04:00
Mike Hommey
ff3ca94566
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
131b6da040
Bug 766349 - ClearOnShutdown_Internal::ShutdownObserver needs a virtual destructor; r=bsmedberg
2012-06-19 18:23:35 -04:00
Oleg Romashin
09c5bcc28a
Bug 767034 - xpcom/glue/arm.cpp:165: error: expected declaration before '}' token. r=derf
2012-06-21 13:01:22 -07:00
Gregor Wagner
07de917b7a
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
ac3370af55
Bug 763893 - Generate dependentlibs.list from actual library dependencies. r=ted
2012-06-20 09:00:48 +02:00
Vladan Djeric
13b1cf5c8b
Bug 763124: Lower chrome hang detector's hang threshold to 5 seconds. r=ehsan
2012-06-20 19:20:24 -04:00
Michael Wu
fdda8f2a36
Bug 764712 - Open files readonly when reading typelibs in xpt.py, r=khuey
2012-06-20 14:45:11 -04:00
Mike Hommey
e1f994d15f
Merge last PGO green changeset from mozilla-inbound to mozilla-central
2012-06-20 10:53:31 +02:00
Benjamin Smedberg
c15c4ed945
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
f600664217
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
5288567090
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
8587017464
Bug 765344 - xpti-working-set numbers should include xptiWorkingSet's hashtables; r=njn,jlebar
2012-06-18 20:10:08 -04:00
Jeff Walden
fb7e6c0e93
Bug 763000 - Remove MOZ_Assert. r=Ms2ger, r=terrence, r=ted
2012-06-07 14:41:11 -07:00
Martin Stransky
ecf5be87bb
Bug 627699 - Port GTK2 to GTK3, xpcom patch; r=bsmedberg
2012-06-16 18:05:00 +12:00
Mike Hommey
2536fb188a
Backout changeset a81526647059 and 560c492f81ad (bug 616262) because of Windows Moth perma-orange
2012-06-15 15:50:24 +02:00
Ed Morley
9ef4312c8c
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-06-15 13:32:55 +01:00
Mike Hommey
758b2fe3a0
Fixup for bug 616262 to avoid Windows PGO bustage. r=me
2012-06-15 10:49:53 +02:00
Mike Hommey
b1b7ef4283
Bug 764021 - Add Startup Timeline probe for when entering main(). r=taras,r=bsmedberg
2012-06-15 08:23:08 +02:00
Nathan Froyd
59ad436727
Bug 764985 - make memory reporter helper macros ever-so-slightly more efficient; r=njn
2012-06-14 16:29:00 -04:00
Mike Hommey
3acf5d646d
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
889af1a907
Merge last green changeset from inbound to mozilla-central
2012-06-13 13:23:54 -07:00
Honza Bambas
a588ade248
Bug 729182 - Followup - MPL2 headers, r=Ms2ger
2012-06-13 17:35:31 +02:00
Jim Mathies
f034deb55c
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
51b1dd666a
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
d09087aa9d
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
fde1b68d4c
Bug 765041: Reorder AutoEventTracer init list to fix GCC build warning. r=smaug
2012-06-14 15:26:04 -07:00
Ehsan Akhgari
bcc9fdc523
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
9731294da3
Bug 753614 - enable DumpHeapComplete in non-debug builds. r=billm,smaug
2012-06-14 08:52:54 -07:00
Ehsan Akhgari
b5161f97b8
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
c61b56c996
Bug 729182 - Implement visual event tracer, part1 - the core, r=benjamin+ehsan
2012-06-12 19:06:21 +02:00
Honza Bambas
f29e1ac591
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
9cf60147b1
Bug 762758 - Implement underscore-escape in xpidl parser r=khuey
2012-06-12 22:01:06 +09:00
Andrew McCreight
9152e14841
Bug 754478 - clean up cycle collector JS tracing callbacks. r=bent
2012-05-15 09:56:39 -07:00
Ed Morley
0e3d0e3d30
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-06-08 11:23:53 +01:00
Ehsan Akhgari
764d4a251d
Bug 737056 - Add some documentation on the mozilla::Version API; r=sparky
...
DONTBUILD
2012-06-07 17:55:46 -04:00
Ed Morley
13b33a03ed
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-06-07 10:32:36 +01:00
Olli Pettay
8a62837fdb
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
3f61927d18
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
1214b72681
Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg
2012-06-06 14:08:30 +12:00
Lukas Blakk
08aec736d3
Merging in version bump NO BUG
2012-06-04 12:36:59 -07:00
Jan Varga
f5f6531fb7
Bug 726593 - Implement FileHandle. r=bent
2012-06-03 18:33:52 +02:00
Nathan Froyd
3e46d1764c
Bug 759417 - handle big device numbers in MapsMemoryReporter.cpp; r=jlebar
2012-05-30 15:11:58 -04:00
Doug Turner
a67548c064
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
107fa7f73d
Bug 759061 - nsINIParser.cpp fails to compile on mingw r=tabraldes
2012-05-31 16:09:36 +02:00
Ehsan Akhgari
4ca5e487c2
Merge mozilla-central into mozilla-inbound
2012-05-30 22:43:10 -04:00
Cameron McCormack
ddfdfc0a31
Fix a couple of typos in comments. No bug, no review.
2012-05-31 10:32:17 +10:00
Brian R. Bondy
1053e27a45
Bug 759449 - Change UI lag telemetry to an EXPONENTIAL histogram. r=taras
2012-05-30 13:25:09 -04:00
Gervase Markham
638c878b13
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
3216ac51ce
Bug 743581: Removes nsCRT::strlen(const PRUnichar*). f=sgautherie r=dougt
2012-05-30 18:43:39 +01:00
Ed Morley
bffc23481f
Merge mozilla-central to mozilla-inbound
2012-05-25 22:44:48 +01:00
Daniel Holbert
fcb03c0a1a
Bug 758735: Remove unused variable 'gFunction' from new file TestSettingsAPI.cpp. r=gwagner
2012-05-25 12:29:05 -07:00
Ed Morley
984de288d8
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-05-25 14:25:53 +01:00
Brian R. Bondy
225162afab
Bug 710935 - Measure lag in handling user input. r=bsmedberg
2012-05-25 09:22:19 -04:00
Jim Mathies
20eb979e64
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
2d6f04146c
Merge m-c to m-i.
2012-05-25 11:15:32 +02:00
Ms2ger
5e1097e278
Bug 757977 - Don't use uint32 in nsCycleCollector::ScanWeakMaps; r=bsmedberg
2012-05-25 09:18:30 +02:00
Michael Tokarev
8e58ac1194
Bug 750207 - pop3 on linux checks quota incorrectly. r=bsmedberg
2012-05-23 20:56:39 -04:00
Tim Abraldes
6338453578
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
3a8b8b1a71
Bug 756825 - Fix comments in nsPrintfCString. r=bsmedberg
2012-05-23 11:25:35 -04:00
Ehsan Akhgari
904efc4f7a
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
f4bf6429ef
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
87620f5676
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Oleg Romashin
5afbe4e354
Bug 756384 - Maemo/Meego builds should have the "Mobile" token in the UA string. r=mfinkle
2012-05-19 11:31:17 -04:00