Commit Graph

4923 Commits

Author SHA1 Message Date
Wes Kocher
51b4f13fac Merge m-c to b2g-inbound 2014-05-05 21:19:59 -07:00
Ehsan Akhgari
4b2590958a Bug 1005321 follow-up: fix the link error on Windows 2014-05-05 20:39:46 -04:00
Ehsan Akhgari
960e39897a Bug 1005321 - Convert the xpt code to C++; r=bholley
--HG--
rename : xpcom/typelib/xpt/src/xpt_arena.c => xpcom/typelib/xpt/src/xpt_arena.cpp
rename : xpcom/typelib/xpt/src/xpt_struct.c => xpcom/typelib/xpt/src/xpt_struct.cpp
rename : xpcom/typelib/xpt/src/xpt_xdr.c => xpcom/typelib/xpt/src/xpt_xdr.cpp
rename : xpcom/typelib/xpt/tests/PrimitiveTest.c => xpcom/typelib/xpt/tests/PrimitiveTest.cpp
rename : xpcom/typelib/xpt/tests/SimpleTypeLib.c => xpcom/typelib/xpt/tests/SimpleTypeLib.cpp
2014-05-05 19:52:09 -04:00
Eric Rahm
9b5d3eccc6 Bug 1003479 - Fix incorrect usage of SizeOfIncludingThis and SizeOfExcludingThis functions. r=njn
--HG--
extra : rebase_source : 2d51e1fc1b642b0efa60cb4e25e8b142577e93d3
2014-05-01 10:37:54 -07:00
Dave Hylands
cbc0a4b450 Bug 1001542 - Make OS_VERSION use b2g version info rather than Linux version info. 2014-05-05 15:24:58 -07:00
Bruce Sun
a78f90258e Bug 990957 - Seek again in Tell(), Available(), Seek() of nsMultiplexInputStream. r=mcmanus 2014-05-05 12:22:16 +08:00
Jim Blandy
af64a62438 Bug 1004313: Handle partial flushes correctly in nsBufferedOutputStream::WriteSegments. r=mcmanus 2014-05-02 11:32:23 -07:00
Eric Rahm
33ef4a9017 Bug 999473 - report number of open file descriptions (fd) in about:memory. r=njn 2014-04-25 13:00:15 -07:00
Ryan VanderMeulen
a4f9513be6 Backed out changeset 83d914c3431d (bug 999473) for Linux mochitest-other failures. 2014-05-01 16:45:21 -04:00
Birunthan Mohanathas
3bdf6e645e Bug 995730 - Change xpcom/string/ to use 2 space indentation
This also removes trailing whitespace in reindented files.
2014-05-05 20:30:46 +03:00
Birunthan Mohanathas
04c14a71bf Bug 995730 - Change xpcom/io/ to use 2 space indentation
This also removes trailing whitespace in reindented files.
2014-05-05 20:30:43 +03:00
Birunthan Mohanathas
cf3e12c35a Bug 995730 - Change xpcom/base/ to use 2 space indentation
This also removes trailing whitespace in reindented files.
2014-05-05 20:30:39 +03:00
Eric Rahm
57fc0ea6ef Bug 999473 - report number of open file descriptions (fd) in about:memory. r=njn 2014-04-25 13:00:15 -07:00
Nathan Froyd
e616ea9a4c Bug 1003306 - part 1 - add PermissionManager/nsIPermissionManager to ServicesList.h; r=bsmedberg 2014-04-29 13:27:02 -04:00
Nathan Froyd
98d4e9240c Bug 1003297 - part 2 - tidy up refcount management in mozilla::services::Get*; r=bsmedberg 2014-04-29 11:59:45 -04:00
Nathan Froyd
59c84adaad Bug 1003297 - part 1 - don't try to return XPCOM services from mozilla::services getters post-XPCOM shutdown; r=bsmedberg 2014-04-29 11:51:14 -04:00
Ryan VanderMeulen
568d01e29e Backed out changesets 74ef5120ae2f and d26dfd37031a (bug 924622) for frequent Android and OSX crashes.
CLOSED TREE
2014-04-30 13:21:07 -04:00
Nicolas Silva
5656eb9940 Bug 924622 - Change the #include order of ImageBridge headers in nsXPCOMInit.cpp to avoid macro name collision on some platforms. 2014-04-30 17:43:09 +02:00
Nicolas Silva
79c0192464 Bug 924622 - Make sure gfx's ipc shutdown happens before shutting down xpcom threads. r=bsmedberg, sotaro 2014-04-30 17:39:59 +02:00
Ehsan Akhgari
e04a4fd6c3 Bug 999888: Make ObserverLists not use mozilla::AtomicRefCounted; r=froydnj
--HG--
extra : rebase_source : a1a29242b9a8d6e265d20352d9f24d743f20a47c
2014-04-29 11:32:03 -06:00
Aaron Klotz
6e588eb232 Bug 999888: Make IOInterposer leakcheck-friendly; f=ehsan, r=froydnj
--HG--
extra : rebase_source : ff65dd0f8ab4f28bf53b52f71cda1793df9a108a
2014-04-29 11:29:43 -06:00
Alphan Chen
f2b3623c0f Bug 1000755 - [about:service] Refine the format of output reports. r=dhylands 2014-04-28 14:20:41 +08:00
Wes Kocher
41a6c8af88 Merge inbound to m-c 2014-04-28 15:54:30 -07:00
ffxbld
8714c49598 Version bump. CLOSED TREE NO BUG a=release 2014-04-28 14:18:37 -04:00
Nicolas Silva
e654487c2a Bug 924622 - Backout because of e10s mochitest regression on linux on a CLOSED TREE 2014-04-28 19:32:32 +02:00
Nicolas Silva
a5e3e709e3 Bug 924622 - Move some #includes around to fix the build on a CLOSED TREE 2014-04-28 19:11:56 +02:00
Nicolas Silva
57653a79d1 Bug 924622 - Make sure gfx's ipc shutdown happens before shutting down xpcom threads. r=bsmedberg, sotaro 2014-04-28 16:03:12 +02:00
Birunthan Mohanathas
688711cb03 Bug 900908 - Part 4: Remove numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h. r=froydnj 2014-04-27 03:07:00 -04:00
Birunthan Mohanathas
ff8ce9bd42 Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj 2014-04-27 03:06:00 -04:00
Randell Jesup
86cd5daff6 Bug 940329: avoid warnings from using size_t in ImplCycleCollectionTraverse() r=ehsan 2014-04-27 00:29:18 -04:00
Zack Weinberg
d5fc5cb4a1 Bug 1001842 part 1: record the umask in NS_InitXPCOM2 and expose it to JS via nsSystemInfo. r=bsmedberg 2014-04-26 10:56:54 -04:00
Chris Peterson
4b2389ff01 Backed out changeset 18034a2d0732 (bug 940329) for build bustage 2014-04-26 23:11:47 -07:00
Nathan Froyd
07e80e3605 Bug 940329: fix spammy implicit type-conversion warnings in nsTSubstring.h r=ehsan 2014-04-27 00:29:25 -04:00
Randell Jesup
000c46808d Bug 940329: avoid warnings from using size_t in ImplCycleCollectionTraverse() r=ehsan 2014-04-27 00:29:18 -04:00
James Kitchener
687b04b1d8 Bug 1000030 - Don't let Windows overwrite length 0 strings. r=dmajor 2014-04-26 04:03:00 -04:00
Birunthan Mohanathas
c625b46091 Bug 900903 - Part 3: Remove numbered macros in nsCycleCollectionParticipant.h. r=smaug 2014-04-25 12:50:00 -04:00
Nathan Froyd
7301de13be Backout 2629257557ff:284be1609a50 (bug 1001842) for debug xpcshell bustage 2014-04-26 13:18:32 -04:00
Nathan Froyd
5e810ecabe Backout f615a0532971:154fb9a9e0bc (bug 493701) for Cpp bustage 2014-04-26 13:12:10 -04:00
Zack Weinberg
0ebd4af1d3 Bug 1001842 part 1: record the umask in NS_InitXPCOM2 and expose it to JS via nsSystemInfo. r=bsmedberg 2014-04-26 10:56:54 -04:00
Arpad Borsos
11f28b0265 Bug 493701 - part 1: add nsTObserverArray::BackwardIterator; r=bzbarsky
--HG--
extra : rebase_source : cb875dcd70b76b819abb1d516db74e55a3babd54
2013-12-10 13:28:31 +01:00
Arpad Borsos
8bb9ef822b Bug 493701 - part 1: add nsTObserverArray::BackwardIterator; r=bzbarsky
--HG--
extra : rebase_source : cf37f9cf8ee8a4198741eea69d0fcedef64053fc
2013-12-10 13:28:31 +01:00
Benoit Jacob
4172458bd1 Bug 989320 - Add cycle collection support for MFBT EnumeratedArray - r=mccr8 2014-04-25 22:34:03 -04:00
Eric Rahm
73af1e6314 Bug 1001137 - Use proper pref for configuring fifo directory. r=froydnj
--HG--
extra : rebase_source : 6d45f4b6b9d86ab6718d07a4a7bfe83454d095fd
2014-04-25 13:53:01 -07:00
Eric Rahm
18f7073ce7 Bug 1000461 - Enable triggering memory report via fifo device on OS X. r=froydnj 2014-04-24 17:35:59 -07:00
Eric Rahm
4277a8d2df Bug 1001137 - Enabling FifoWatcher via user pref does not work. r=froydnj 2014-04-24 15:58:57 -07:00
Ed Morley
551fcae876 Backed out changeset fbb86a21aba0 (bug 924622) for leaks on OS X 10.6; CLOSED TREE 2014-04-25 17:51:42 +01:00
Trevor Saunders
3f904cfc43 bug 980753 - make nsRefPtr movable r=froydnj 2014-02-26 18:11:14 -05:00
Nicolas Silva
96601efc35 Bug 924622 - Make sure gfx's ipc shutdown happens before shutting down xpcom threads. r=bsmedberg, sotaro 2014-04-25 13:55:36 +02:00
Birunthan Mohanathas
55e230eaba Bug 900908 - Part 2: Add variadic variants of numbered macros in nsIClassInfoImpl.h. r=froydnj
The old numbered macros are still present, but simply forward to the variadic
macro. They will be removed after all instances of the numbered macros have
been converted.
2014-04-24 11:21:00 +02:00
Birunthan Mohanathas
0983aefecd Bug 900908 - Part 1: Add variadic variants of numbered macros in nsISupportsImpl.h. r=froydnj
The old numbered macros are still present, but simply forward to the variadic
macro. They will be removed after all instances of the numbered macros have
been converted.
2014-04-24 11:20:00 +02:00
Birunthan Mohanathas
a5ddfe2311 Bug 900903 - Add variadic variants of numbered macros in nsCycleCollectionParticipant.h. r=smaug
The old numbered macros are still present, but simply forward to the variadic
macro. They will be removed after all instances of the numbered macros have
been converted.
2014-04-24 11:13:00 +02:00
Aaron Klotz
dfa2de3ba5 Bug 998795: Use nsAutoPtr to initialize MainThreadIOLoggerImpl(); r=froydnj 2014-04-24 20:06:12 -06:00
Eric Faust
a41d6a1508 Bug 1001126 - Allow AllTraces CC logging other than at shutdown. (r=mccr8) 2014-04-24 14:28:49 -07:00
Eric Rahm
78fb9239ae Bug 1000621 - Check if DMD is enabled before dumping. r=njn. DONTBUILD 2014-04-24 12:43:11 -07:00
Steven Michaud
4bae9fb75a Bug 997908 - Add null check to ReleaseSliceNow() as bandaid for Mac topcrasher. r=smaug 2014-04-24 11:46:39 -05:00
Shelly Lin
af4ca54a0d Bug 908995 - Part 2: Track runnables, tasks and timer events with TaskTracer. r=khuey. 2014-03-27 16:49:06 +08:00
Ehsan Akhgari
f414f56cb2 Bug 999883 - Make BackgroundHangMonitor not use mozilla::RefCounted; r=froydnj 2014-04-23 09:45:56 -04:00
Randell Jesup
04488d3bb4 Bug 998880: don't busy-wait in nsThread waiting for shutdown or DISPATCH_SYNC r=bsmedberg 2014-04-22 15:34:24 -04:00
Jan Beich
ac960a4665 Bug 983953 - Don't try to use vpx_mem if --with-system-libvpx doesn't provide. r=glandium 2014-04-22 08:44:04 -04:00
Jim Chen
683ad4682a Bug 985155 - Add signal trampoline on ARM Linux to work around kernel bug. r=snorp 2014-04-21 17:15:44 -04:00
Aaron Klotz
460566bab5 Bug 935482: New IOInterposer observer for recording main thread I/O to file; r=froydnj 2014-04-19 14:28:02 -06:00
Terrence Cole
4ab31f28b9 Bug 807168 - Make JSTracer into a real C++ class and kill the macro accessors; r=jonco,mccr8
--HG--
rename : js/public/Tracer.h => js/public/TracingAPI.h
2014-04-11 15:19:05 -07:00
Ryan VanderMeulen
620d0f57eb Merge inbound to m-c. 2014-04-18 09:08:59 -04:00
Ryan VanderMeulen
5346758a03 Merge m-c to b2g-inbound. 2014-04-17 22:37:10 -04:00
Dave Hylands
775a6c8685 Bug 990230 - Fix heap use-after-free in memory reporter. r=n.nethercote 2014-04-17 16:57:30 -07:00
Randell Jesup
627f6cdcb0 Bug 997286: bustage fix on a CLOSED TREE rs=dholbert 2014-04-17 15:32:34 -04:00
Randell Jesup
7164e62f23 Bug 997286: Don't depend on NewThread event timing; add test for suicidal initial events r=bsmedberg 2014-04-17 15:13:44 -04:00
Daniel Holbert
1d864c60b8 Bug 997982: Mark xpcom/glue/tests/gtest/ as FAIL_ON_WARNINGS. r=froydnj 2014-04-17 15:10:43 -07:00
Chris Peterson
0c23b19f12 Bug 997026 - Part 1: Fix clang -Wunused-const-variable warnings in xpcom. r=froydnj 2014-04-15 00:24:13 -07:00
Nathan Froyd
6ca1704821 Bug 682216 - add a memory reporter for libnestegg's memory; r=njn,kinetik 2014-04-08 10:36:30 -04:00
Daniel Holbert
5b811ca103 Bug 997306: Use size_t loop iterators in TestGCPostBarriers.cpp to fix signed/unsigned comparison build warnings. r=jonco 2014-04-17 09:00:34 -07:00
Randell Jesup
2e6f61e3bb Bug 997286: Make NS_NewNamedThread safe if the event tries to commit suicide r=bsmedberg 2014-04-16 16:39:16 -04:00
Ryan VanderMeulen
c71414c58b Merge m-c to inbound. 2014-04-15 23:30:15 -04:00
Ryan VanderMeulen
04f8f51173 Merge inbound to m-c. 2014-04-15 23:26:35 -04:00
Phil Ringnalda
1b97f98ee4 Back out e17d61d6acf6 (bug 924622) for apparently making the mismatched CxxStackFrame aborts more frequent rather than less 2014-04-15 20:00:59 -07:00
Jonathan Watt
677f7fdb5d Bug 950372 follow-up - Avoid having the preprocessor define for READ in linux/fs.h break Moz2D's 2D.h by making sure 2D.h is included before whatever includes linux/fs.h. r=B2G KK Emulator Opt/Debug bustage 2014-04-16 01:48:02 +01:00
Nicolas Silva
ee2c3eec19 Bug 924622 - Make sure gfx's ipc shutdown happens before shutting down xpcom threads. r=bsmedberg, sotaro 2014-04-15 11:34:33 +02:00
Carsten "Tomcat" Book
bd2330e021 Backed out changeset f52300725e6f (bug 924622) for Linux Test Bustage 2014-04-15 12:46:25 +02:00
Kyle Huey
3be8fc6baf Bug 994971: Don't export nsObserverService.h. r=bsmedberg
--HG--
extra : rebase_source : cd5aa136075086a10cfa03d937743d8a5471fd6c
2014-04-14 12:04:27 -07:00
Kyle Huey
a537226f0b Bug 993734: Stop pretending that the observer service is threadsafe. r=bsmedberg
--HG--
extra : rebase_source : 233d626d1127cc9c82adb6d486b1ad599bb060ce
2014-04-14 12:04:26 -07:00
Kyle Huey
b6957123df Bug 991812: Remove uses of AtomicRefCounted<T> that live in Gecko. r=ehsan
--HG--
extra : rebase_source : 0d14e02c64d548fd3177681248d722683aaa87c3
2014-04-14 12:04:25 -07:00
Terrence Cole
fb5836e633 Bug 994413 - Make Gecko use the same value marking semantics as SpiderMonkey; r=jonco,mccr8 2014-04-09 12:42:48 -07:00
Botond Ballo
b56cd2cc98 Bug 976605 - Expose inIDOMUtils via mozilla::services. r=ehsan
--HG--
extra : source : 896fa761f32dad205897953d812e78dadf6136e7
2014-04-11 17:39:58 -04:00
Nathan Froyd
2585135c22 Bug 993546 - refactor malloc-wrapping memory reporter implementations; r=njn 2014-04-08 13:51:20 -04:00
Nicolas Silva
bcecbebe18 Bug 924622 - Make sure gfx's ipc shutdown happens before shutting down xpcom threads. r=bsmedberg, sotaro 2014-04-15 11:34:33 +02:00
Márk Bartos
2aab2cb3ab Bug 106787 - Fix: Remove nsIAllocator and it's references. r=bsmedberg 2014-04-14 17:20:45 +02:00
Ed Morley
cc565a8c1f Backed out changeset 27ceedad1d1c (bug 976605) 2014-04-15 17:45:24 +01:00
Botond Ballo
02a3e3d2af Bug 976605 - Expose inIDOMUtils via mozilla::services. r=ehsan
--HG--
extra : source : d030d78ad4f67528ca16d8dbe6aaa72990f30ba0
2014-04-11 17:39:58 -04:00
Ryan VanderMeulen
1823db3230 Backed out changeset e2d5b2be4142 (bug 994971) for non-unified bustage.
CLOSED TREE
2014-04-14 18:27:52 -04:00
Eric Rahm
66407f4d7b Bug 995345 - Improve efficiency of NS_DescribeCodeAddress. r=froydnj
--HG--
extra : rebase_source : ab839d1898d9fe122f2519a657391437dc7216bc
2014-04-14 13:25:04 -07:00
Ryan VanderMeulen
601b02224e Backed out changesets ddbac34527fe and fa82f32d0c39 (bug 991812) for B2G bustage.
CLOSED TREE
2014-04-14 16:16:18 -04:00
Ryan VanderMeulen
9a55deee64 Backed out 2 changesets (bug 993734, bug 995405) for Windows bustage on a CLOSED TREE.
Backed out changeset 3797f7c91ed2 (bug 993734)
Backed out changeset 9d4032c2f237 (bug 995405)
2014-04-14 15:39:28 -04:00
Kyle Huey
a50fb4de7c Bug 994971: Don't export nsObserverService.h. r=bsmedberg 2014-04-14 12:04:27 -07:00
Kyle Huey
348491b45a Bug 993734: Stop pretending that the observer service is threadsafe. r=bsmedberg 2014-04-14 12:04:26 -07:00
Kyle Huey
acd8c16b76 Bug 991812: Remove uses of AtomicRefCounted<T> that live in Gecko. r=ehsan 2014-04-14 12:04:25 -07:00
Boris Zbarsky
a13f2f38be Bug 995047. Change out stack/exception APIs to hand out AString instead of AUTF8String for filename/functionname, so we end up with fewer string conversions in practice. r=smaug 2014-04-11 22:20:40 -04:00
Ehsan Akhgari
893357ffa7 Improve the comment about MOZ_COUNT_CTOR/DTOR, text mostly by bent
no bug, DONTBUILD, landed on a CLOSED TREE
2014-04-11 15:41:22 -04:00
Ehsan Akhgari
cca17e36e9 Add a comment to indicate that MOZ_COUNT_CTOR/DTOR should not be used in refcounted objects
no bug, DONTBUILD, landed on a CLOSED TREE
2014-04-11 15:12:38 -04:00
Ryan VanderMeulen
67a863c0c5 Merge m-c to inbound on a CLOSED TREE. 2014-04-10 22:16:50 -04:00
Ed Morley
c0321014a8 Merge mozilla-central and b2g-inbound 2014-04-10 17:59:51 +01:00