Eric Rahm
f82c0e7caf
Bug 1165515 - Part 13-2: Replace usage of PRLogModuleLevel and PR_LOG_*. rs=froydnj
...
This is straightforward mapping of PR_LOG levels to their LogLevel
counterparts:
PR_LOG_ERROR -> LogLevel::Error
PR_LOG_WARNING -> LogLevel::Warning
PR_LOG_WARN -> LogLevel::Warning
PR_LOG_INFO -> LogLevel::Info
PR_LOG_DEBUG -> LogLevel::Debug
PR_LOG_NOTICE -> LogLevel::Debug
PR_LOG_VERBOSE -> LogLevel::Verbose
Instances of PRLogModuleLevel were mapped to a fully qualified
mozilla::LogLevel, instances of PR_LOG levels in #defines were mapped to a
fully qualified mozilla::LogLevel::* level, and all other instances were
mapped to us a shorter format of LogLevel::*.
Bustage for usage of the non-fully qualified LogLevel were fixed by adding
|using mozilla::LogLevel;| where appropriate.
2015-06-01 14:31:01 -07:00
Eric Rahm
7fe9ffc48b
Bug 1165515 - Part 13-1: Add log level enum class. r=froydnj
...
This adds the mozilla::LogLevel enum class. Additionaly a log_test function is
added to use rather than a macro, this allows us to enforce only
mozilla::LogLevel is passed into the function.
2015-06-01 14:31:01 -07:00
Eric Rahm
033d62915a
Bug 1165515 - Part 6: Add PR_LOG_VERBOSE. r=froydnj
2015-06-01 14:31:00 -07:00
Eric Rahm
0a502beb23
Bug 1165515 - Part 5: Convert instances of PR_LOG_ALWAYS. r=froydnj
...
Most instances were converted to PR_LOG_INFO, some to PR_LOG_DEBUG, and some
to PR_LOG_ERROR.
2015-06-01 14:31:00 -07:00
Eric Rahm
a703d6cf7e
Bug 1165515 - Part 4: Add PR_LOG_INFO. r=froydnj
...
This is an interstitial step in preparation for adding a new info level. For
now it just maps to debug.
2015-06-01 14:31:00 -07:00
Eric Rahm
dc090e3fe5
Bug 1165515 - Part 3: Convert PR_LOG_TEST to MOZ_LOG_TEST. r=froydnj
2015-06-01 14:31:00 -07:00
Eric Rahm
f3d3953559
Bug 1165515 - Part 2: Add MOZ_LOG_TEST. r=froydnj
2015-06-01 14:30:59 -07:00
Nathan Froyd
9265d4998b
Bug 1169034 - include <cstdlib> in ThreadStackHelper.cpp to declare correct overload for std::abs; r=jseward
...
The integer-valued {,l,ll}abs functions come from <stdlib.h>, and so the
integer-valued overload for std::abs comes from <cstdlib>.
2015-05-27 16:54:38 -04:00
Botond Ballo
a1ee749697
Bug 1163320 - Variadic implementation of nsRunnableMethodArguments. r=froydnj
...
--HG--
extra : source : ed761807105b30069d5a7412f8dacf75429eeeb6
2015-05-11 17:24:21 -04:00
Michael Layzell
7524d2bb65
Bug 1168167 - Mark LazyIdleThread::mIdleObserver with MOZ_UNSAFE_REF. r=froydnj
...
--HG--
extra : rebase_source : 59331d49e110ca59cfd2c396c5bac838bced7456
2015-05-29 06:56:00 -04:00
Randall Barker
a0e0215561
Bug 1159830 - Autophone - webappstartup should not use console.log to output WEBAPP STARTUP COMPLETE. r=snorp, r=froydnj
2015-05-29 09:58:04 -04:00
Michael Layzell
ab4019ac55
Bug 1168170 - Mark reference counted members of nsTimerImpl::mCallback as MOZ_OWNING_REF. r=froydnj
2015-05-28 10:14:00 -04:00
Michael Layzell
4d7b75425a
Bug 1167378 - Mark ArrayAndPrefix as MOZ_STACK_CLASS and array member as MOZ_NON_OWNING_REF. r=froydnj
2015-05-28 10:06:00 -04:00
Michael Layzell
8b31d0676c
Bug 1167380 - Mark (Read/Write)SegmentsState::m(Source/Sink) as MOZ_NON_OWNING_REF and mark as MOZ_STACK_CLASS. r=froydnj
2015-05-28 08:32:00 -04:00
Ryan VanderMeulen
2e35b1209f
Merge inbound to m-c. a=merge
2015-05-29 09:32:46 -04:00
Ryan VanderMeulen
7e7f8b187e
Merge fx-team to m-c. a=merge
2015-05-29 09:20:52 -04:00
Andrew Osmond
52c7f139a7
Bug 1169342 - Remove nsIDOMDeviceStorage. Cleanup nsDOMDeviceStorage event wrappers. r=dhylands
2015-05-28 18:53:16 -04:00
Nicholas Nethercote
249958c03d
Bug 1168007 (part 1) - Add PLDHashTable::{Clear,ClearAndPrepareForLength}(). r=froydnj.
...
--HG--
extra : rebase_source : 05445de53b178173bfbaed29095e0ca4c11639a2
2015-05-18 19:16:06 -07:00
Andrew McCreight
addc4dacac
Bug 1155303 - Add telemetry for async DeferredFinalize max pause. r=smaug
2015-05-18 11:54:00 -04:00
Ryan VanderMeulen
13603e7715
Bug 1059081 - More non-unified bustage fixage.
...
CLOSED TREE
--HG--
extra : amend_source : 17ec29e14dbd9b1bb4296a0faed151c073b93599
2015-05-28 15:00:36 -04:00
Josh Matthews
bd1ad4e991
Bug 1059081 - Fix non-unified bustage. a=bustage
...
--HG--
extra : transplant_source : %03j%8A%5DJ-%8F%CD%D7%BE%F11%B7%89%21%15n%F6%0E%8D
2015-05-28 13:23:56 -04:00
Birunthan Mohanathas
6898a39a46
Bug 1165729 - Remove unnecessary template declaration for fallible nsTArray::AppendElement. r=froydnj
2015-05-28 11:07:43 -07:00
Yanis Sellami
4562d9ef59
Bug 967031 - Rename DumpHeapComplete to DumpHeap; r=terrence
2015-05-22 11:22:56 +02:00
Nick Fitzgerald
1bd1513bea
Bug 1024774
- Part 9: Deserialize heap snapshots; r=jimb
2015-05-28 07:37:43 -07:00
Michael Layzell
2869617276
Bug 1167375 - make nsTWeakRef use a nsRefPtr internally. r=nfroyd
...
--HG--
extra : rebase_source : e06ab164cdb3b1eb2cf94b8b0edac14084866970
2015-05-21 14:02:00 +02:00
Mike Hommey
806e0220a2
Bug 991983 - Use objdir-relative SOURCES instead of GENERATED_SOURCES. r=gps
2015-05-28 07:34:16 +09:00
Mike Hommey
ea7750bcb1
Bug 991983 - Define SOURCES as SourcePath. r=gps
2015-05-28 07:34:15 +09:00
Mike Hommey
188ce081ec
Bug 991983 - Emit absolute paths for UnifiedSources. r=gps
...
This helps upcoming changes, and relieves backends from path resolution.
This has the side effect of chaning the order of some unified sources,
which consequently breaks nsTextFormatter because it declares snprintf
methods after nsStringAPI #defines it.
2015-05-28 07:34:11 +09:00
Botond Ballo
2e2a504271
Bug 1119980 - Use 'snprintf' instead of 'sprintf' to avoid a warning on Lollipop-based builds. r=froydnj
...
--HG--
extra : source : 7468f9a3aa03520a29e138d4df431f0b5d90967c
2015-05-26 14:33:55 -04:00
Nicholas Nethercote
6c4f582c73
Bug 1168027 - Use PLDHashTable2 in nsTHashtable. r=froydnj.
...
The added static_casts will be removed when PLDHashTable and PLDHashTable2 are
merged.
--HG--
extra : rebase_source : 49dacef8a86adc088610449b6bd2ef9345af5a84
2015-05-12 17:33:49 -07:00
Phil Ringnalda
49dd872168
Back out 3 changesets (bug 1119980) for emulator-l bustage
...
CLOSED TREE
Backed out changeset 12ce98475c6e (bug 1119980)
Backed out changeset bdb8d05f8870 (bug 1119980)
Backed out changeset a68a18840492 (bug 1119980)
2015-05-25 18:48:51 -07:00
Botond Ballo
9934d127c1
Bug 1119980 - Use 'snprintf' instead of 'sprintf' to avoid a warning on Lollipop-based builds. r=froydnj
...
--HG--
extra : rebase_source : 4e915a12ba662ed45788238a5f0a45533888bd92
2015-05-25 20:45:17 -04:00
Nicholas Nethercote
01e0dbf44b
Bug 1166598 (part 6) - Clean up nsStaticCaseInsensitiveNameTable. r=froydnj.
...
This patch simplifies nsStaticCaseInsensitiveNameTable greatly by taking
advantage of the following observations.
- |new| is infallible, so |new nsStaticCaseInsensitiveNameTable()| calls don't
need their return value checked.
- nsStaticCaseInsensitiveNameTable::Init() checks if any of the added entries
differ only in case, so the callers of that function don't need to do the
same check.
- nsStaticCaseInsensitiveNameTable::Init() never returns false because
moz_xmalloc() is infallible. (Its callers never check the return value
anyway.) So it can be merged into the constructor. And
~nsStaticCaseInsensitiveNameTable() need not null-check |mNameArray|.
- PLDHashTable now has an initializing constructor and destructor, so these can
be used in nsStaticCaseInsensitiveNameTable, thus avoiding manual
PLD_HashTable{Init,Finish}() calls.
2015-05-05 21:13:53 -07:00
Terrence Cole
c01ef51c2d
Bug 1167453 - Rename JSGCTraceKind and make it a C++11 enum class; r=jonco
...
--HG--
extra : rebase_source : 7dbeee0826fa20477ed227c9d336fdfe6de6ffd2
2015-05-22 10:40:24 -07:00
Ted Mielczarek
543daa65bc
bug 1166759 - force annotateCrashReport arguments to be UTF-8. r=bsmedberg
...
--HG--
extra : rebase_source : ffc4ee94de01206b853d5f69b26d0ad62836c2b2
2015-05-22 10:50:32 -04:00
Ryan VanderMeulen
8f6f16604c
Merge inbound to m-c. a=merge
2015-05-22 14:02:47 -04:00
Cervantes Yu
55152ad9d9
Backout change 39e167bbd14c, a80140872ea5, adae9be2294d and b71ccef9c674 (bug 970307).
2015-05-19 14:31:25 +08:00
Cervantes Yu
910ee84a4d
Backout change b371db089894 (bug 1138620
) due to backout of bug 970307.
2015-05-19 11:26:24 +08:00
Nicholas Nethercote
e90de3e5e0
Bug 1166586 (part 2) - Convert some easy PL_DHashTable{Init,Finish} cases. r=froydnj.
...
This patch converts easy cases, i.e. where the PL_DHashTableInit() call occurs
in a constructor and the PL_DHashTableFinish() call occurs in a destructor.
--HG--
extra : rebase_source : d8dc450f80ac23b8455141b471cc9ae823e1e384
2015-05-04 22:59:24 -07:00
Philipp Kewisch
f972aeb824
Fix bug 1165428 - Restore support for binary components on a per-application basis. r=bsmedberg
...
--HG--
extra : rebase_source : 924d3deb1f8c6e0846ce39992e4eacf3735b17b1
2015-05-20 20:01:27 +02:00
Andrew McCreight
e32a66ebb3
Bug 1166488 - Eliminate ServiceWorkerRegistrationBase::mCCDummy. r=smaug
2015-05-20 09:55:07 -07:00
Eric Rahm
3925a960aa
Bug 1165515 - Part 1: Convert PR_LOG to MOZ_LOG. r=froydnj
2015-05-21 13:22:04 -07:00
Eric Rahm
4879ae86f4
Bug 1165518 - Part 2: Replace prlog.h with Logging.h. rs=froydnj
2015-05-19 11:15:34 -07:00
Eric Rahm
c60f772f62
Bug 1165518 - Part 1: Add Logging.h. r=froydnj
2015-05-19 11:15:32 -07:00
Nicholas Nethercote
fe7dc5bdde
Bug 1165786 - Remove PLDHashTable::SetOps(). r=froydnj.
...
--HG--
extra : rebase_source : 489edddf7e2c4669cb74555d60b851aed6e35d78
2015-05-18 00:52:08 -07:00
Jim Chen
bb5a648426
Bug 1164090
- Check for Windows path separator in BHR file name; r=snorp
2015-05-19 11:27:18 -04:00
Terrence Cole
161a4c26ba
Bug 1164602 - Replace js::NullPtr and JS::NullPtr with nullptr_t; r=sfink
2015-05-13 14:07:34 -07:00
Felix Janda
058b46c6b4
Bug 1152176 - xpcom: Define linux kernel BLOCK_SIZE if necessary. r=nfroyd
...
--HG--
extra : rebase_source : e706a9d1f672cce26991f9b348c85956219a36ce
2015-05-18 21:30:14 +02:00
Nicholas Nethercote
4c2a7cbc2e
Back out some debugging code accidentally included in a1f7ae44c7bb.
2015-05-18 20:26:40 -07:00
Nicholas Nethercote
399179a183
Bug 1165768 (part 6) - Convert |gAtomTable| to |PLDHashTable2*|. r=froydnj.
...
--HG--
extra : rebase_source : 77fc4a57aa1e426089b857d88f32c378127f9429
2015-05-18 00:52:08 -07:00
Nicholas Nethercote
4a930bc0f3
Back out a1f7ae44c7bb (bug 1164373) for causing intermittent test failures.
...
--HG--
extra : rebase_source : ac3d87bc11cf5cff81bc94f72ba01d1f05dfe445
2015-05-18 19:00:54 -07:00
Nicholas Nethercote
c1d4a47622
Bug 1165770 - Add PLDHashTable2. r=froydnj.
...
This is a temporary sub-class of PLDHashTable that will allow PLDHashTable to
be incrementally transitioned from manual initialization/finalization (via
explicit Init()/Fini() calls) to automatic initialization/finalization (via an
initializing constructor and a destructor). Once all PLDHashTable instances are
converted to PLDHashTable2, it can be folded back into PLDHashTable and the "2"
suffix can be dropped.
--HG--
extra : rebase_source : 674e7bd9320dc1db8879f842df05a7d995069e97
2015-05-18 00:52:01 -07:00
Birunthan Mohanathas
602c769540
Bug 968520 - Add fallible variants of nsTArray::AppendElement. r=froydnj
2015-05-18 13:50:35 -07:00
Birunthan Mohanathas
538dcc1d39
Bug 968520 - Add fallible variants of nsTArray::AppendElements. r=froydnj
2015-05-18 13:50:35 -07:00
Birunthan Mohanathas
c35f90a82e
Bug 968520 - Add fallible variants of nsTArray::InsertElementAt. r=froydnj
2015-05-18 13:50:35 -07:00
Birunthan Mohanathas
71f1f00db4
Bug 968520 - Add fallible variants of nsTArray::ReplaceElementsAt. r=froydnj
2015-05-18 13:50:35 -07:00
Birunthan Mohanathas
0be91f1f80
Bug 968520 - Add fallible variant of nsTArray::SetLength. r=froydnj
2015-05-18 13:50:34 -07:00
Birunthan Mohanathas
3e5856c6c0
Bug 968520 - Add fallible variant of nsTArray::EnsureLengthAtLeast. r=froydnj
2015-05-18 13:50:34 -07:00
Birunthan Mohanathas
46db3a10bb
Bug 968520 - Add fallible variants of nsTArray::InsertElementsAt. r=froydnj
2015-05-18 13:50:34 -07:00
Birunthan Mohanathas
1f8d7454e3
Bug 968520 - Add mozilla::fallible to Fallible{Auto,}TArray::SetCapacity calls. r=froydnj
2015-05-18 13:50:34 -07:00
Birunthan Mohanathas
57b1194dc2
Bug 968520 - Add fallible variant of nsTArray::SetCapacity. r=froydnj
2015-05-18 13:50:34 -07:00
Birunthan Mohanathas
ed7aa96d0a
Bug 968520 - Explicitly specify the allocator for nsTArray_base functions. r=froydnj
2015-05-18 13:50:34 -07:00
Bob Owen
f1a00623b7
Bug 1162327 Part 1: Change low integrity temp to a fixed dir per profile and improve clean-up. r=jimm, r=froydnj
2015-05-18 11:51:07 +01:00
Gerald Squelart
5847857dc8
Bug 1153295 - Unit tests. r=nfroyd
2015-04-27 18:40:00 -04:00
Gerald Squelart
2b1b8b1729
Bug 1153295 - Select StorensRefPtrPassPtr for types with AddRef and Release methods. r=nfroyd
2015-04-26 04:52:00 -04:00
Gerald Squelart
f330df40d4
Bug 1153295 - Add mozilla::Declval. r=nfroyd
2015-04-27 18:11:00 -04:00
Neil Rashbrook
cf42e317ab
Bug 1155963 Only allow NS_LITERAL_CSTRING to be used on compile-time literals r=froydnj,ehsan
2015-05-16 09:07:10 +01:00
Nicholas Nethercote
a369149681
Bug 1165206 - Tweak nsTHashtable's move constructor. r=froydnj.
...
The SetOps() call is no longer necessary now that PLDHashTable has a move
constructor.
This change originally landed in one of the patches from bug 1161377, which was
subsequently backed out.
2015-05-15 20:06:03 -07:00
Nicholas Nethercote
eab9ff6d25
Back out all four patches from bug 1161377. r=me.
...
Due to Android startup regressions (bug 1163066) and plugin crashes (bug
1165155).
--HG--
extra : rebase_source : 380f79e67dff4c4eaa2614f286a4d0669666b652
2015-05-14 21:48:43 -07:00
Andrew McCreight
807426185a
Bug 1164587 - Get rid of Fault() in the cycle collector. r=smaug
2015-05-15 10:33:09 -07:00
Andrew McCreight
2d929a5569
Bug 1158558, part 2 - Finish incremental GCs in progress in BeginCollection() and ShutdownCollect(). r=smaug
...
Various parts of the first half of BeginCollection() can start an incremental GC.
This is bad because running the GC and CC at the same time can cause the CC to end
up with pointers to dead JS objects.
To avoid this, we finish any incremental GC in progress in BeginCollection. This
is slow, but hopefully it is rare.
2015-05-15 10:33:09 -07:00
Andrew McCreight
d68c95b07b
Bug 1158558, part 1 - Expand time logging in BeginCollection. r=smaug
2015-05-15 10:33:09 -07:00
Andrew McCreight
454420c018
Bug 1163657 - Clean up setting of mFlags in CCGraphBuilder's ctor. r=smaug
2015-05-15 10:33:08 -07:00
Brian O'Keefe
c6ba641724
Bug 924187 - Deal with interfaces.manifest from the backend. r=mshal
...
--HG--
extra : rebase_source : 2d2cbc1ebc97496c54aef63de73b00af8126e750
2015-02-13 08:11:57 -05:00
Wes Kocher
3c714c42eb
Backed out changeset 17cfad44e12b (bug 1155963) for breaking b2g builds
2015-05-14 16:35:18 -07:00
Neil Rashbrook
ae441fafa2
Bug 1155963 Only allow NS_LITERAL_CSTRING to be used on compile-time literals r=froydnj,ehsan
2015-05-15 00:00:33 +01:00
Josh Matthews
312dc84e14
Bug 1059081 - Add a threadsafe wrapper for persistent nsMultiplexStream queues. r=nfroyd
2015-05-14 07:55:57 -04:00
Nicholas Nethercote
1a8597278b
Bug 1163916 (part 2) - Avoid a static constructor for kCompressedBufferLength. r=froydnj.
...
--HG--
extra : rebase_source : b44ed66dd66481c63bbddafefca34b88860ecc1b
2015-05-13 16:48:32 -07:00
Nicholas Nethercote
53bed9bec0
Bug 1163916 (part 1) - Avoid a static nsDebugImpl constructor. r=froydnj.
...
--HG--
extra : rebase_source : 59237ad74e97e8c5f839d302aef8d49d651b2d78
2015-05-13 16:47:55 -07:00
Andrew McCreight
ff3b670628
Bug 866681, part 2 - Make ContentUnbinder use DeferredFinalize. r=smaug
2015-05-13 12:48:52 -07:00
Andrew McCreight
c660ffa34b
Bug 866681, part 1 - Track if any slice of CC was manually triggered. r=smaug
2015-05-13 12:48:52 -07:00
Ganesh Sahukari
b5a3345900
Bug 1155643 - Removed nsIDebug.idl, moved methods of nsIDebug to nsIDebug2. r=paolo
2015-05-07 10:58:37 +05:30
Nicholas Nethercote
ba79e01ad2
Bug 1161377 (part 3, attempt 2) - Convert some easy PL_DHashTable{Init,Finish} cases. r=froydnj.
...
--HG--
extra : rebase_source : 990907701818b7da2b4e8955c419bb61130e266f
2015-05-12 17:33:26 -07:00
Nicholas Nethercote
9a60518e5b
Bug 1161377 (part 2.5) - Move all static PLDHashTable instances onto the heap to avoid static constructors. r=froydnj.
...
--HG--
extra : rebase_source : 73029d4a1ed5a41263db882d66b1f380f5e7254b
2015-05-12 17:33:22 -07:00
Carsten "Tomcat" Book
dd3f1a22f8
merge mozilla-inbound to mozilla-central a=merge
2015-05-12 16:10:32 +02:00
ffxbld
6e000a11db
Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release
2015-05-11 15:06:43 -04:00
Jed Davis
a77ba18be9
Bug 1154053 - Limit concurrency of e10s memory reporting. r=erahm
...
This changes the way nsMemoryReporterManger handles child processes;
instead of using an observer message and trying to keep a count of child
processes expected to answer, it directly iterates a copy of the list
of content processes and explicitly handles children which exit before
their reports start.
Note that GC/CC logs still run at full concurrency, and that no child
reports start until the parent is finished (see bug 1151597) regardless
of concurrency limit.
2015-05-06 20:51:00 +02:00
Carsten "Tomcat" Book
ea97473039
Merge mozilla-central to mozilla-inbound on a CLOSED TREE
2015-05-08 13:24:18 +02:00
Phil Ringnalda
c1284c6108
Back out e05936099653 (bug 1154053) on suspicion of causing the hellish frequency of Android 2.3 robocop-2 crashes that resulted in this CLOSED TREE, a=bustage
2015-05-07 22:41:26 -07:00
Carsten "Tomcat" Book
60f46579a5
Merge mozilla-central to fx-team on a CLOSED TREEx
2015-05-07 16:11:08 +02:00
Jed Davis
bc4db515c0
Bug 1154053 - Limit concurrency of e10s memory reporting. r=erahm
...
This changes the way nsMemoryReporterManger handles child processes;
instead of using an observer message and trying to keep a count of child
processes expected to answer, it directly iterates a copy of the list
of content processes and explicitly handles children which exit before
their reports start.
Note that GC/CC logs still run at full concurrency, and that no child
reports start until the parent is finished (see bug 1151597) regardless
of concurrency limit.
2015-05-06 20:51:00 +02:00
Nicholas Nethercote
db496a806e
Bug 1160436 - Fix PLDHashTable::operator=. r=froydnj.
...
This fixes the following problems with PLDHashTable::operator=:
- It doesn't handle self-assigments.
- It leaks the memory used by the assigned-to table.
- It doesn't leave the assigned-from table in a safely destructable state.
--HG--
extra : rebase_source : 433ac3418c00e3bb6d376982e4c679d27e42a377
2015-05-03 17:04:07 -07:00
Ehsan Akhgari
d2b480a8db
Bug 1161240 - Make sure that NS_CloneInputStream correctly deals with null input; r=froydnj
2015-05-05 09:56:47 -04:00
Birunthan Mohanathas
92a2adb3e6
Bug 819090 - Remove nsVoidArray.{cpp,h}. r=froydnj
2015-05-06 10:57:41 -07:00
Steve Fink
087775cc19
Bug 1162310 - Do not use nonexistent macro when XGILL_PLUGIN is defined, r=bhackett
...
--HG--
extra : rebase_source : 9c9942690f4942d94ae0222168be7e00a352dc69
2015-05-07 09:49:41 -07:00
Nicholas Nethercote
17348fdef0
Bug 1161377 (part 3) - Convert some easy PL_DHashTable{Init,Finish} cases. r=froydnj.
...
This patch converts easy cases, i.e. where the PL_DHashTableInit() call occurs
in a constructor and the PL_DHashTableFinish() call occurs in a destructor.
2015-05-04 22:59:24 -07:00
Nicholas Nethercote
77943547dc
Bug 1161377 (part 2) - Remove PL_NewDHashTable() and PL_DHashTableDestroy(). r=froydnj.
...
They're not needed now that there is an initializing constructor and a
destructor.
2015-05-04 22:59:24 -07:00
Nicholas Nethercote
7c500c6bcc
Bug 1161377 (part 1) - Add an initializing constructor and destructor to PLDHashTable. r=froydnj.
...
The destructor is "opt-in" -- there's a flag that makes it a no-op unless the
table was initialized with the initializing constructor. This will allow us to
incrementally convert existing tables from manual to automatic
initialization/finalization. This is important because some of the existing
uses are tricky (impossible?) to convert to the automatic style.
2015-05-04 22:59:02 -07:00
Wes Kocher
45c25429f2
Merge m-c to inbound a=merge CLOSED TREE
2015-05-07 15:37:01 -07:00
Eric Rahm
73ecb58158
Bug 1162242 - Part 3: Clean up usage of PR_LOG_TEST. r=froydnj
...
Removes redundant combinations of PR_LOG_TEST and PR_LOG.
2015-05-07 09:43:37 -07:00
Eric Rahm
6417f13e09
Bug 1162242 - Part 2: Remove DEBUG_TIMERS. r=froydnj
...
Now that PR_LOGGING is always defined DEBUG_TIMERS will always be set. It can
now be removed.
2015-05-07 09:43:36 -07:00
Eric Rahm
645b42df1f
Bug 1162242 - Part 1: Remove instances of #ifdef PR_LOGGING. r=froydnj
...
PR_LOGGING is now always defined, we can remove #ifdefs checking for it.
2015-05-07 09:43:35 -07:00
David Major
6ac6e10e68
Bug 1159604 - Use fallible allocations in nsLinebreakConverter.cpp (as the code expects). r=smaug
2015-05-04 07:33:00 +02:00
Benjamin Smedberg
573f0e2266
Bug 1159737 Stop supporting binary XPCOM components except built into the application. r=froydnj sr=bz Some xpcshell tests of binary functionality need to register binary components. Expose a function "registerAppManifest" in the xpcshell environment to make this available to tests without exposing it to addons. r=bholley
...
--HG--
extra : rebase_source : 1bf47ad1cb8b662ff598c261dae872bc4710e170
2015-05-01 10:23:44 -04:00
Anton Myagkov
5c8a6334c3
Bug 1132558: Add Windows install year to telemetry; r=aklotz
...
--HG--
extra : rebase_source : 6184833bb9988426dbc9cf3aca9a5492c1b3eb40
extra : amend_source : a020b892b16d4a21845e6d94c3d6c5273017c67b
2015-04-22 21:28:43 +03:00
Boris Zbarsky
b8ba520783
Bug 1087330. Make the data structure we use for our promise microtask queue have O(1) first element removal, not O(N). r=khuey
2015-05-01 22:33:01 -04:00
Jean-Yves Avenard
341beecbae
Bug 1155500: Have nsAutoPtr transfers ownership when copying related objects. r=froydnj
...
This emulates auto_ptr behavior.
2015-05-01 14:55:05 +10:00
Mike Hommey
924c9eb636
Bug 1134923 - Remove NS_Alloc/NS_Realloc/NS_Free. r=nfroyd
...
They are kept around for the sake of the standalone glue, which is used
for e.g. webapprt, which doesn't have direct access to jemalloc, and thus
still needs a wrapper to go through the xpcom function list and get to
jemalloc from there.
2015-05-01 09:40:30 +09:00
Nicholas Nethercote
c8ff2d51c8
Bug 1159972 - Remove the fallible version of PL_DHashTableInit(). r=froydnj.
...
It's no longer needed now that entry storage isn't allocated there. (The other
possible causes of failures in that function are less interesting and simply
crashing is a reasonable thing to do for them.)
This also makes PL_DNewHashTable() infallible, so I removed some
now-unnecessary checks of its result.
--HG--
extra : rebase_source : 4c6ab0c449bc18e8bace8bf036b5bd78d3a2f1c4
2015-04-29 16:38:29 -07:00
Jim Mathies
2ff558b0ac
Bug 1159327 - Enable accessibility more broadly with e10s and add an e10s a11y blacklist for clients with known issues. r=tbsaunde
2015-04-30 16:43:19 -05:00
Ryan VanderMeulen
8c2f9c9b09
Backed out changeset 31297813dd26 (bug 1159327) for bustage on a CLOSED TREE.
2015-04-30 16:08:29 -04:00
Nathan Froyd
a494081079
Bug 1159306 - explicitly initialize nsBaseHashtableET::mData; r=erahm
...
mData will get automatically constructed when DataType is a class or
struct with a default constructor, but a number of uses of
nsBaseHashtable use integer or pointer types as DataType. Explicitly
initialize mData so that it looks as though we're fully initializing the
class in such cases.
2015-04-28 12:12:36 -04:00
Nathan Froyd
73b20a0500
Bug 1159304 - silence Coverity warning about implicit conversion issues in ReadAheadLib; r=erahm
2015-04-28 12:10:37 -04:00
Nathan Froyd
265eedb594
Bug 1159302 - handle ftell errors in nsINIParser::InitFromFile; r=erahm
2015-04-28 12:09:31 -04:00
Jim Mathies
588accccdc
Bug 1159327 - Enable accessibility more broadly with e10s and add an e10s a11y blacklist for clients with known issues. r=tbsaunde
2015-04-30 14:42:43 -05:00
Wes Kocher
fb48025efb
Backed out changeset 88a77375f4df (bug 924187) for probably breaking PGO builds CLOSED TREE
2015-04-28 15:21:07 -07:00
Valentin Gosu
b6ae7d5d90
Bug 1040285 - Single Quotes should not be encoded in the path r=mcmanus,annevk
2015-04-28 18:29:22 +03:00
Brian O'Keefe
17e8110d7a
Bug 924187 - Deal with interfaces.manifest from the backend. r=mshal
2015-02-13 08:11:57 -05:00
Jed Davis
05e38d787e
Bug 1151597 - Step 2: Don't start child process memory reports until parent is finished. r=erahm
...
--HG--
extra : rebase_source : e271fd7997012d9f3eaff78c1dfff656347442be
2015-04-27 15:46:00 -04:00
Jed Davis
1b9d15f48d
Bug 1151597 - Step 1: Change memory reporting IPC to send one report per message. r=erahm
...
Also fixes bug 1005154 -- since there's now a method for "end of report",
we might as well call it from ActorDestroy instead of Recv__delete__.
--HG--
extra : rebase_source : 89f467fbc553a1a3a4d9b144fff747fa3447f21b
2015-04-27 15:45:00 -04:00
Matt Woodrow
18b4767b02
Bug 1156966 - Avoid writing 0's to mEmptyHdr in nsTArray since it triggers TSan warnings. r=nfroyd
...
--HG--
extra : rebase_source : b6e69723f378d73dc74c301b077618aaafda905a
2015-04-28 17:57:15 +12:00
David Major
ebde6b9f4f
Bug 1157835: Remove the MSVC_ENABLE_PGO flag from the build system. r=glandium
...
--HG--
extra : rebase_source : 0c47c99bb8b92f8361a51fd81b20a2cc8647a986
2015-04-27 19:59:27 -04:00
Jed Davis
e7a9b7acc7
Bug 1154041 - Enable child process memory report logging by default on B2G. r=erahm
2015-04-24 14:53:00 -04:00
Nathan Froyd
44bbcc3afa
Bug 1158772 - fix non-idiomatic memset call in nsDeque.cpp; r=erahm
...
Coverty complains that we're using sizeof(mData) here instead of
sizeof(*mData). They're equivalent for all the architectures we care about,
but go ahead and tidy up the syntax to silence the static analyzer.
2015-04-27 07:55:32 -04:00
Nick Fitzgerald
b3ed721b3e
Bug 1158257 - Gecko should always provide SpiderMonkey with a debuggerMallocSizeOf; r=mccr8
2015-04-27 10:58:24 -07:00
Andrew McCreight
76843426d0
Bug 1157304 - Make the empty classname assertion in BloatEntry fatal. r=froydnj
2015-04-27 10:28:19 -04:00
Nathan Froyd
ddbb44d13f
Bug 1158320 - rename nsThread::mRunningEvent to mNestedEventLoopDepth; r=bsmedberg
...
The current name reads to me like a boolean variable, even though it's
actually a counter. Try to make that property more explicit at its uses
by renaming it to something more evocative of counter-ness.
2015-04-24 16:04:50 -04:00
Chih-Kai (Patrick) Wang ext:(%2C%20Cervantes%20Yu%20%3Ccyu%40mozilla.com%3E)
e4803e8cad
Bug 1138620
: Allow external binary modules to ignore thread status monitoring for Nuwa process stabilization. r=nfroyd
2015-04-24 14:11:10 +08:00
Ginn Chen
8232df4203
Bug 1153707 jsval is wrongly passed to XPT Javascript method on ppc/32 and SPARC/32 r=bobbyholley
2015-04-27 13:47:17 +08:00
Kyle Huey
0f81e8288a
Bug 1158366: Remove nsIDOMHTML[BR|Div|Heading|TableCaption|Table|Title]Element.idl. r=ehsan
2015-04-25 07:23:54 -07:00
Brian Hackett
12ce37a8a6
Bug 1155033 - Handle cyclic or deep ObjectGroup tracing chains during cycle collection, r=terrence.
2015-04-24 18:22:15 -06:00
Wes Kocher
65b94d7a9d
Backed out changeset 022beda1707c (bug 1158366) for wError build bustage
2015-04-24 16:52:52 -07:00
Kyle Huey
cdd7af4cfa
Bug 1158366: Remove nsIDOMHTML[BR|Div|Heading|TableCaption|Table|Title]Element.idl. r=ehsan
2015-04-24 16:09:30 -07:00
Andrew McCreight
0c176ddcff
Bug 1062479 - Use static strings for WeakReference type names. r=ehsan
2015-04-24 09:43:01 -07:00
Cervantes Yu
4f02100ffd
Backed out 2 changesets (bug 1138620
)
...
Backed out changeset e60b4b01c05d (bug 1138620
)
Backed out changeset 52d49dd25d6d (bug 1138620
)
2015-04-24 15:05:44 +08:00
Andrew McCreight
6a3f08dba0
Bug 1116550 - Part 2: Print out negative values for leaks when there are more dtors than ctors. r=froydnj
...
--HG--
extra : rebase_source : 8aa1a8c1c562ae3a2277b9944852f1f7cc1aa18e
2015-04-22 17:20:00 -04:00
Andrew McCreight
cf5870400c
Bug 1116550 - Part 1: Turn HaveLeaks and Clear into methods. r=froydnj
...
--HG--
extra : rebase_source : f033cdf0c00b5fd6d9c7b50581cd1f3fc19795a0
2015-04-22 17:18:00 -04:00
Kartikaya Gupta
cd5b55f8d6
Bug 1039866 - Rip out a bunch of metro-only code. r=jimm,gavin,rstrong
2015-04-23 15:10:30 -04:00
Jan de Mooij
103a223716
Bug 1155946 part 1 - Add a mayResolve class hook to optimize objects with resolve hooks better. r=bhackett
2015-04-23 15:51:28 +02:00
Carsten "Tomcat" Book
bab9dbe9c4
Backed out 19 changesets (bug 1149397, bug 1065657, bug 1024774
) for fixing Linux PGO xpcshell bustage on a CLOSED TREE
...
Backed out changeset 53058615e7a3 (bug 1024774
)
Backed out changeset 68fe0894bb09 (bug 1065657)
Backed out changeset 1b9620d674df (bug 1024774
)
Backed out changeset a31c514b59da (bug 1024774
)
Backed out changeset 0fcf8757f6c2 (bug 1024774
)
Backed out changeset 9a3c71b925d4 (bug 1024774
)
Backed out changeset 783acc92af04 (bug 1024774
)
Backed out changeset ad71c9a3446b (bug 1024774
)
Backed out changeset 4f37e72e70f6 (bug 1024774
)
Backed out changeset ec869578cc0a (bug 1024774
)
Backed out changeset 3c1d306c8a3d (bug 1024774
)
Backed out changeset b3a90f30892d (bug 1024774
)
Backed out changeset cf7bbb3774c0 (bug 1024774
)
Backed out changeset 2522eb4d3cf2 (bug 1024774
)
Backed out changeset 89a502d88f9c (bug 1024774
)
Backed out changeset 61046ad3161f (bug 1024774
)
Backed out changeset 36706aaa2f06 (bug 1024774
)
Backed out changeset ba8e68e05149 (bug 1149397)
Backed out changeset 532169437c2f (bug 1065657)
--HG--
rename : toolkit/components/protobuf/src/google/protobuf/extension_set.cc => toolkit/components/protobuf/google/protobuf/extension_set.cc
rename : toolkit/components/protobuf/src/google/protobuf/extension_set.h => toolkit/components/protobuf/google/protobuf/extension_set.h
rename : toolkit/components/protobuf/src/google/protobuf/stubs/atomicops_internals_pnacl.h => toolkit/components/protobuf/google/protobuf/generated_message_util.cc
rename : toolkit/components/protobuf/src/google/protobuf/stubs/stringprintf.h => toolkit/components/protobuf/google/protobuf/generated_message_util.h
rename : toolkit/components/protobuf/src/google/protobuf/io/coded_stream.cc => toolkit/components/protobuf/google/protobuf/io/coded_stream.cc
rename : toolkit/components/protobuf/src/google/protobuf/io/coded_stream.h => toolkit/components/protobuf/google/protobuf/io/coded_stream.h
rename : toolkit/components/protobuf/src/google/protobuf/io/coded_stream_inl.h => toolkit/components/protobuf/google/protobuf/io/coded_stream_inl.h
rename : toolkit/components/protobuf/src/google/protobuf/io/package_info.h => toolkit/components/protobuf/google/protobuf/io/package_info.h
rename : toolkit/components/protobuf/src/google/protobuf/service.cc => toolkit/components/protobuf/google/protobuf/io/zero_copy_stream.cc
rename : toolkit/components/protobuf/src/google/protobuf/io/zero_copy_stream.h => toolkit/components/protobuf/google/protobuf/io/zero_copy_stream.h
rename : toolkit/components/protobuf/src/google/protobuf/io/zero_copy_stream_impl.h => toolkit/components/protobuf/google/protobuf/io/zero_copy_stream_impl.h
rename : toolkit/components/protobuf/src/google/protobuf/io/zero_copy_stream_impl_lite.cc => toolkit/components/protobuf/google/protobuf/io/zero_copy_stream_impl_lite.cc
rename : toolkit/components/protobuf/src/google/protobuf/io/zero_copy_stream_impl_lite.h => toolkit/components/protobuf/google/protobuf/io/zero_copy_stream_impl_lite.h
rename : toolkit/components/protobuf/src/google/protobuf/message_lite.cc => toolkit/components/protobuf/google/protobuf/message_lite.cc
rename : toolkit/components/protobuf/src/google/protobuf/message_lite.h => toolkit/components/protobuf/google/protobuf/message_lite.h
rename : toolkit/components/protobuf/src/google/protobuf/package_info.h => toolkit/components/protobuf/google/protobuf/package_info.h
rename : toolkit/components/protobuf/src/google/protobuf/repeated_field.cc => toolkit/components/protobuf/google/protobuf/repeated_field.cc
rename : toolkit/components/protobuf/src/google/protobuf/repeated_field.h => toolkit/components/protobuf/google/protobuf/repeated_field.h
rename : toolkit/components/protobuf/src/google/protobuf/stubs/common.cc => toolkit/components/protobuf/google/protobuf/stubs/common.cc
rename : toolkit/components/protobuf/src/google/protobuf/stubs/common.h => toolkit/components/protobuf/google/protobuf/stubs/common.h
rename : toolkit/components/protobuf/src/google/protobuf/stubs/hash.h => toolkit/components/protobuf/google/protobuf/stubs/hash.h
rename : toolkit/components/protobuf/src/google/protobuf/stubs/once.cc => toolkit/components/protobuf/google/protobuf/stubs/once.cc
rename : toolkit/components/protobuf/src/google/protobuf/stubs/once.h => toolkit/components/protobuf/google/protobuf/stubs/once.h
rename : toolkit/components/protobuf/src/google/protobuf/stubs/stl_util.h => toolkit/components/protobuf/google/protobuf/stubs/stl_util-inl.h
rename : toolkit/components/protobuf/src/google/protobuf/wire_format_lite.cc => toolkit/components/protobuf/google/protobuf/wire_format_lite.cc
rename : toolkit/components/protobuf/src/google/protobuf/wire_format_lite.h => toolkit/components/protobuf/google/protobuf/wire_format_lite.h
rename : toolkit/components/protobuf/src/google/protobuf/wire_format_lite_inl.h => toolkit/components/protobuf/google/protobuf/wire_format_lite_inl.h
2015-04-23 08:37:24 +02:00
Nick Fitzgerald
5689b01c3a
Bug 1024774
- Part 9: Deserialize heap snapshots; r=jimb
2015-04-22 11:09:54 -07:00
Andrew McCreight
43a628f9e3
Bug 1156982 - Add separators to BloatView output. r=froydnj
...
This will ensure we properly parse class names containing spaces.
Note that if a class name somehow ends up containing operator| then this will end up again silently failing.
2015-04-22 11:06:50 -07:00
Nick Fitzgerald
d67ed8553a
Bug 1150253 - Part 2: Gecko should provide a callback for SpiderMonkey to
...
enqueue the onGarbageCollection hook runnable; r=mccr8
2015-04-22 09:43:02 -07:00
Andrew McCreight
a93ff220f9
Bug 1156977 - Assert when aClassName is empty in BloatEntry. r=froydnj
2015-04-22 08:56:30 -07:00
Ehsan Akhgari
ed554e64e3
Bug 1157212
- Teach clang-analyzer about XPT_ASSERT; r=froydnj
2015-04-22 11:40:17 -04:00
Nathan Froyd
ff82112704
Bug 1156790 - mark various nsCOMPtr_helper-esque classes as final; r=mccr8
2015-04-20 16:58:15 -04:00
Francois Marier
17b87281f2
Bug 1147212 - Add support for goog-unwanted-shavar. r=gcp,r=matej,r=smaug
...
--HG--
rename : toolkit/components/url-classifier/tests/mochitest/evilWorker.js => toolkit/components/url-classifier/tests/mochitest/unwantedWorker.js
extra : rebase_source : efe09564160fb2fcb1adb5f6599183f053268c40
2015-04-22 21:01:37 +12:00
Andrea Marchesini
ade2831035
Bug 1156632 - Remove unused forward class declarations - patch 6 - the rest of the tree, r=ehsan
2015-04-22 08:29:24 +02:00
Ehsan Akhgari
399276d5fc
Bug 1153348 - Add an analysis to prohibit operator bools which aren't marked as either explicit or MOZ_IMPLICIT; r=jrmuizel
...
This is the counterpart to the existing analysis to catch
constructors which aren't marked as either explicit or
MOZ_IMPLICIT.
2015-04-21 21:40:49 -04:00
Wes Kocher
638b28b8e0
Backed out changeset 02e6a50741a9 (bug 1153348) to hopefully fix the static bustage CLOSED TREE
2015-04-21 15:47:40 -07:00
Wes Kocher
10b0765a42
Merge m-c to inbound a=merge
...
--HG--
extra : rebase_source : 65e706214cf534170bf6cfe658eb394c0195cb81
2015-04-21 15:35:07 -07:00
Wes Kocher
b6e78e87bc
Merge b2ginbound to m-c a=merge
2015-04-21 15:31:59 -07:00
Ehsan Akhgari
3d21a05904
Bug 1153348 - Add an analysis to prohibit operator bools which aren't marked as either explicit or MOZ_IMPLICIT; r=jrmuizel
...
This is the counterpart to the existing analysis to catch
constructors which aren't marked as either explicit or
MOZ_IMPLICIT.
2015-04-21 16:31:58 -04:00
Ehsan Akhgari
f9d798bcbd
Bug 1156030 - Remove some obsolete static assertion macros from the tree; r=Waldo
2015-04-21 14:22:43 -04:00
Nathan Froyd
7fbbaf9fde
Bug 1156407 - part 3 - get rid of NS_NewTimer; r=mccr8
...
It's never called. We could replace a few do_CreateInstance/InitWithFuncCallback
pairs with NS_NewTimer, but I don't think it's worth doing that ahead of a "stop
using do_CreateInstance for all timer instances" effort.
2015-04-20 14:21:01 -04:00
Nathan Froyd
8af565d0f7
Bug 1156407 - part 2 - make CALLBACK_TYPE enum a private implementation detail of nsTimerImpl; r=mccr8
...
The CALLBACK_TYPE enum doesn't need to be exposed outside of
nsTimerImpl, so move it inside the class definition. While we're doing
this, let's C++-ify the enum definition and give the members
non-shouting names.
2015-04-20 14:08:57 -04:00
Nathan Froyd
880dd42a14
Bug 1156407 - part 1 - use static_assert instead of PR_STATIC_ASSERT; r=mccr8
...
We have better, C++-ier ways of doing compile-time assertions now. Fold in the
nsTSubstring.cpp change in passing, since mccr8 suggested it in his review.
2015-04-20 13:56:46 -04:00
Botond Ballo
a24a854eb7
Bug 1156538 - Make nsTArray's move constructor implicit. r=froydnj
...
--HG--
extra : rebase_source : bbb820eb9078be5602496839aabcf8d400c8c806
extra : source : 76e5eb202aa0e3680c19b84ccaf3a0eea83e41ef
2015-04-20 18:42:56 -04:00
Nathan Froyd
60776ece5a
Bug 1095098 - followup - add back some static analysis attributes lost in a rebase; r=me
2015-04-20 16:17:00 -04:00
Ehsan Akhgari
9646e11caf
Bug 1156028 - Teach clang-analyzer about XPCOM assertion macros; r=froydnj
2015-04-20 13:10:35 -04:00
Ehsan Akhgari
8d22829c76
Bug 1156109 - Make nsStorageInputStream::mStorageStream an nsRefPtr; r=froydnj
2015-04-20 13:10:30 -04:00
Denis Volk
32e981896d
Bug 1095098 - move do_QueryObject templates into their own header; r=froydnj
2015-04-15 12:47:03 -04:00
Aryeh Gregor
044c421f96
Bug 1153649 part 3 - More OwningNonNull improvements; r=bz
2015-04-19 15:28:50 +03:00
Ehsan Akhgari
946466ced9
Fix a missing check in TestStrings.cpp, no bug
2015-04-18 20:51:01 -04:00
Carsten "Tomcat" Book
a7ab8df169
Merge mozilla-central to b2g-inbound
2015-04-21 12:51:15 +02:00
Cervantes Yu
d827320379
Bug 1138620
- Part 1: Allow binary modules to create unmonitored threads that doesn't keep the Nuwa process from stabalization. r=nfroyd
2015-04-21 18:23:09 +08:00
Terrence Cole
5f83d02dfb
Bug 1153959 - Use RAII to manage tracing details; r=jonco
...
--HG--
extra : rebase_source : 9b53b4106e369e62f6d7503a619da89559bd9c02
2015-04-10 13:33:56 -07:00
Ehsan Akhgari
46e47329c5
Back out bug 1149174
since it turns out that the nsTArray range iterators are not stable after all
2015-04-16 18:18:22 -04:00
Wes Kocher
e3210dc1de
Backed out 1 changesets (bug 1040285) for windows xpcshell failures CLOSED TREE
...
Backed out changeset ffd1b16f058b (bug 1040285)
2015-04-16 15:17:15 -07:00
Valentin Gosu
68ac72d180
Bug 1040285 - Single Quotes should not be encoded in the path. r=mcmanus, r=annevk
2015-04-16 01:11:05 +03:00
Jim Blandy
6afdd6c96b
Bug 1145051: Use MOZ_WARN_UNUSED_RESULT instead of NS_WARN_UNUSED_RESULT. r=glandium
...
--HG--
extra : rebase_source : d210822225d307f3e3685cb5f95b461c48c0be7e
2015-03-19 00:46:40 -07:00
Jim Blandy
a778e9f970
Bug 1145051: Replace uses of NS_ATTR_MALLOC with new MOZ_ALLOCATOR from mfbt/Attributes.h. r=glandium
...
--HG--
extra : rebase_source : 294215445f084687ed7fa51b88e7a22e586447a2
2015-03-18 23:56:08 -07:00
Andrew McCreight
e674d4f8f3
Bug 1154403 - Reduce incremental finalize slice time to 5ms. r=smaug
...
--HG--
extra : rebase_source : a7aba3cdad11a7e7e1ab4986a99eeaec5390d3a5
2015-04-15 08:04:00 +02:00
Kartikaya Gupta
d7702657e5
Bug 1152753 - Add a wrapper to be able to dispatch C++11 lambdas to nsIThread. r=froydnj
2015-04-10 08:13:00 -04:00
Kartikaya Gupta
f7dbd8ca43
Bug 1146349 - Allow NS_NewRunnableMethodWithArgs to take up to 8 arguments. r=froydnj
2015-04-14 11:36:35 -04:00
David Rajchenbach-Teller
b08ce98d2a
Bug 1083361 - Exposing a PromiseDebugging API to monitor uncaught DOM Promise. r=bz
...
--HG--
extra : rebase_source : cba2fc37d263d431c3008739a89a4fe47d10b7da
2015-04-10 17:27:57 +02:00
Chris Peterson
46e1fddec4
Bug 1153373 - Move AppendStrongObservers() function definition behind #ifndef MOZILLA_XPCOMRT_API. r=froydnj
2015-04-10 11:54:40 -07:00
Ryan VanderMeulen
ddba70e696
Bug 1150916 - Non-unified bustage follow-up fix.
2015-04-10 21:25:58 -04:00
Andrew McCreight
0dc13cb4a3
Bug 1152505 - CCGraphBuilder::NoteChild should pass aEdgeName by reference. r=smaug
2015-04-09 13:56:00 -04:00
Andrew McCreight
315f9bb7d2
Bug 1144649 - Make CCGraph::AddNodeToMap fallible again. r=smaug
...
Crashing here is apparently fairly common. This restores the old behavior, so we at least
don't crash immediately, but instead enter a slow downward spiral of leaking.
This improves on the old behavior in that we only try and fail to grow the hash table once,
rather than on every add. khuey I think reported that the browser got very slow, because
you are going through the very slowest path of the allocator over and over.
2015-04-09 16:00:00 -04:00
Kartikaya Gupta
0f4033d26f
Back out cset 35cae02f1552 (bug 1152753) because it introduces a footgun. r=me
2015-04-10 12:13:55 -04:00
Kartikaya Gupta
1cc7ec6936
Bug 1152753 - Add a wrapper to be able to dispatch C++11 lambdas to nsIThread. r=froydnj
2015-04-10 08:13:00 -04:00
Ryan VanderMeulen
579da75a70
Backed out changeset e713ce8013eb (bug 1127618) for suspicion of causing semi-frequent B2G crashes.
...
CLOSED TREE
2015-04-09 20:05:49 -04:00
Randall Barker
3263a9649b
Bug 1101651 - Part 2: Enable WebRTC unit tests to be built using standalone WebRTC library. r=jesup
...
--HG--
extra : rebase_source : 97215946f8152cc8df425449b7052b0b365ab0e9
2015-04-09 09:15:00 -04:00
Andrew McCreight
3bee6e09f9
Bug 1151541, part 3 - Fix leading tabs in xpcom/. r=froydnj
2015-04-09 10:25:05 -07:00
Andrew McCreight
1e0f87e27d
Bug 1151541, part 2 - Fix mode lines in xpcom/. r=froydnj
2015-04-09 10:25:05 -07:00
Andrew McCreight
bc9d4b1de6
Bug 1151541, part 1 - Add MPL2 to StaticMutex.h and stub_test.cpp. r=froydnj
2015-04-09 10:25:05 -07:00
Nicholas Hurley
0b4c1de637
Bug 1127618 - make push caches work in e10s. r=mcmanus r=froydnj
...
--HG--
extra : rebase_source : 3da2229082ccd041a1ec47ba77d9f0940020f3c9
2015-04-08 14:42:00 +02:00
Andrew McCreight
0854423afa
Bug 1150917 - Remove all values from nsIProgrammingLanguage except UNKNOWN and JAVASCRIPT. r=froydnj
2015-04-08 17:16:30 -07:00
Andrew McCreight
e3b6a8b033
Bug 1150916 - Be sure we aren't iterating over a hashtable while it is modified in nsObserverService::UnmarkGrayStrongObservers(). r=froydnj
...
The QI in xpc_TryUnmarkWrappedGrayObject() might somehow trigger a GC,
which in turn could destroy an observer, that would in turn call
RemoveObserver() which mutates the hash table that we're enumerating.
2015-04-08 17:16:30 -07:00
Ben Turner
81980e5108
Bug 1149888 - Make PLDHashTable::mRecursionLevel atomic, r=froydnj. Pushing on CLOSED TREE with a=ryanvm.
2015-04-07 11:51:35 -07:00
Randall Barker
b7e4e29621
Bug 1097804 - Part 1 - Create a library containing nsISocketTransportService and nsIDNS that can be used to support standalone WebRTC. r=mcmanus
...
--HG--
extra : rebase_source : 9a97f2622a0d7bd9f672aa652450af259792e059
2015-04-03 15:54:00 +02:00
Randall Barker
c236b48231
Bug 1093934 - Create a XPCOM library that can be used to support standalone WebRTC. r=nfroyd
...
--HG--
extra : rebase_source : 93f11457b16b344e148a6fcb924b286ef8a48051
2015-04-03 15:52:00 +02:00
Mark Finkle
e10472f6d0
Bug 1149094 r=blassey
2015-04-06 14:42:52 -04:00
Aaron Klotz
6d8475512b
Bug 1150684: Remove XPCOM.h from IOInterposer.h; r=froydnj
...
--HG--
extra : rebase_source : a714c7ca5836d5e3a2c1b9da740795e653477cf1
2015-04-02 14:51:18 -06:00
Jonathan Watt
ffd584f511
Bug 1147491, part 2 - Disable use of BaseTimeDuration::operator/ with floating point values. r=ehsan
2015-04-02 14:03:40 +01:00
Andrew McCreight
98776f80a0
Bug 1149807 - Remove some unused nsIProgrammingLanguage.h includes. r=froydnj
2015-04-02 14:54:46 -07:00
Atif Iqbal
ce96843aa0
Bug 1150197 - Remove useless null checks after allocating memory with new from xpcom/threads/; r=froydnj
2015-04-02 14:57:46 -04:00
David Rajchenbach-Teller
b6feb17d3f
Bug 674779 - Per-component CPU monitoring, high-level. r=blassey, r=mossop
...
--HG--
rename : toolkit/components/aboutcompartments/jar.mn => toolkit/components/aboutperformance/jar.mn
rename : toolkit/components/aboutcompartments/nsCompartmentInfo.h => toolkit/components/aboutperformance/nsPerformanceStats.h
extra : rebase_source : a857d61a49542727fb4a496e785d175620103132
2015-03-31 12:40:59 +02:00
Jonathan Watt
8b3df5e0bc
Bug 1147491 - Partially backout part 2 while figuring out B2G orange. r=orange CLOSED TREE
2015-04-01 12:05:02 +01:00