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