Commit Graph

424148 Commits

Author SHA1 Message Date
Eric Rahm
28978ade8c 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 22:17:21 -07:00
Eric Rahm
8289861381 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 22:17:20 -07:00
Eric Rahm
141e0ff4a2 Bug 1165515 - Part 3: Convert PR_LOG_TEST to MOZ_LOG_TEST. r=froydnj 2015-06-01 22:17:19 -07:00
Eric Rahm
ef4c50584c Bug 1165515 - Part 2: Add MOZ_LOG_TEST. r=froydnj 2015-06-01 22:17:17 -07:00
Jim Blandy
d72fb7dbac Bug 1167468: Assert that JSObjects and their metadata are always in the same compartment. r=fitzgen
--HG--
extra : rebase_source : 37dbe5e910951fa37f0b5dbba446cfc09568fe29
2015-05-21 16:37:27 -07:00
Nicholas Nethercote
4c85dd6658 Bug 1168007 (part 11) - Use PLDHashTable2 exclusively in TestPLDHash. r=froydnj.
--HG--
extra : rebase_source : 5a7fdaf46f525b762a946f226b186c453bea2c53
2015-05-18 21:58:33 -07:00
Nicholas Nethercote
71674e097c Bug 1168007 (part 10) - Use PLDHashTable2 in nsDiskCacheBindery. r=froydnj.
Like the last patch, the Clear() call in nsDiskCacheBindery::Init() is
cautious.

--HG--
extra : rebase_source : ebf8fddcf455dddf43be843cac9c119cdc954ce7
2015-05-18 21:52:14 -07:00
Nicholas Nethercote
f88934c4f6 Bug 1168007 (part 9) - Use PLDHashTable2 in nsCacheEntry. r=froydnj.
It's not entirely clear if it's necessary to call Clear() in
nsCacheEntryHashTable::Init(). There is lots of inheritance around this code
and the calling patterns of Init() and Shutdown() aren't clear. Better safe
than sorry.

--HG--
extra : rebase_source : e21764b8cbdf7cda7894651e57653e24ac7e1502
2015-05-18 21:45:30 -07:00
Nicholas Nethercote
a84d4cd609 Bug 1168007 (part 8) - Use PLDHashTable2 in nsCycleCollector. r=froydnj.
--HG--
extra : rebase_source : f4781bc96a7cb7317cfd111014f42fb903c5dce2
2015-05-18 21:29:58 -07:00
Boris Zbarsky
ade68101e4 Bug 1166443. Example codegen should output the right signature for Wrap() when the object is not wrappercached. r=peterv 2015-06-01 23:19:57 -04:00
Wes Kocher
0ee8be2a55 Backed out 7 changesets (bug 1141865) for assertion failures in various test suites CLOSED TREE
Backed out changeset 3796a4c827e4 (bug 1141865)
Backed out changeset 41a10ac99656 (bug 1141865)
Backed out changeset 027bba006fbb (bug 1141865)
Backed out changeset fc9d645f55b3 (bug 1141865)
Backed out changeset 6b87d4ed5d30 (bug 1141865)
Backed out changeset fcbf3e53cce6 (bug 1141865)
Backed out changeset 4a9a06c26be7 (bug 1141865)
2015-06-01 18:25:38 -07:00
Wes Kocher
c8fae56d8e Backed out changeset c0e7bdb0da7b (bug 1141865) for assertions 2015-06-01 18:24:37 -07:00
Wes Kocher
93b34f209b Backed out changeset 3e660b56c502 (bug 1169171) for easily backing out bug 1141865
--HG--
extra : amend_source : 5e071bcb2a6dce6ed5ec9035c48d9407d5dc3a47
2015-06-01 18:23:51 -07:00
Wes Kocher
dd6d17a95b Backed out changeset 4275a4bf842e (bug 1169511) 2015-06-01 18:23:50 -07:00
Wes Kocher
1cfd1a1753 Backed out changeset 8b0cd6ec2fc4 (bug 1167845) 2015-06-01 18:23:49 -07:00
Wes Kocher
459ee9473f Backed out changeset 79466a3087b1 (bug 1167845) 2015-06-01 18:23:48 -07:00
Wes Kocher
6dff0c284a Backed out changeset ce16efb6bee2 (bug 1141865) for assertions 2015-06-01 18:23:15 -07:00
Wes Kocher
ba06617421 Backed out changeset 47a103414177 (bug 1166504) for mochitest-e10s-4 permafail CLOSED TREE 2015-06-01 17:59:17 -07:00
Wes Kocher
4e9f80ed2e Backed out 14 changesets (bug 1165515) for b2g mochitest-6 permafail CLOSED TREE
Backed out changeset 9b97e2aa2ed9 (bug 1165515)
Backed out changeset 150606c022a2 (bug 1165515)
Backed out changeset 4e875a488349 (bug 1165515)
Backed out changeset 467e7feeb546 (bug 1165515)
Backed out changeset d6b6cc373197 (bug 1165515)
Backed out changeset 0615265b593c (bug 1165515)
Backed out changeset fafd1dce9f08 (bug 1165515)
Backed out changeset d1df869245f9 (bug 1165515)
Backed out changeset 6876a7c63611 (bug 1165515)
Backed out changeset b7841c94a9a3 (bug 1165515)
Backed out changeset e5e3617f7c73 (bug 1165515)
Backed out changeset 39be3db95978 (bug 1165515)
Backed out changeset 0ec74176f8de (bug 1165515)
Backed out changeset 5b928dd10d71 (bug 1165515)
2015-06-01 17:57:58 -07:00
Eric Faust
0b8583211b Bug 1141865 - Followup followup: Fix the WIN64 build on a CLOSED TREE. (rs=shu) 2015-06-01 17:00:25 -07:00
Mike Hommey
77263e9566 Bug 1169937 - Bump mozharness to 3030ddc03dd3 2015-06-02 07:55:23 +09:00
Jeff Walden
04d7a96a62 Bug 1167845 - Rename ParseHandler::isName to ParseHandler::maybeName. r=efaust
--HG--
extra : rebase_source : 28e9268d2e08d3a5aa2f5281623e57e059a35d74
2015-06-01 13:28:36 -07:00
Jeff Walden
37cc1da7ef Bug 1167845 - Rejigger {in,de}crement/assignment parsing to vet targets primarily through a single Parser::isValidSimpleAssignmentTarget method, so that this method can also be called outside the parser. r=efaust
--HG--
extra : rebase_source : 739982716140ebc1196fc1da7ef1dceb09c20771
2015-05-22 19:02:41 -07:00
Jeff Walden
bf88218fe7 Bug 1169511 - Split PNK_TYPEOF into one kind for application to names, one kind for application to other expressions. r=efaust
--HG--
extra : rebase_source : 5dd56e81026d949994d1d21d064c21563e5e5f36
2015-05-29 13:23:06 -07:00
Jeff Walden
f72feb5e17 Bug 1169171 - Split PNK_DELETE into several different kinds for each of the syntactically distinct modes of |delete| operation, depending upon the syntax of the operand. r=efaust
--HG--
extra : rebase_source : ea5d01bbf504ea6284abede320a07ac76af50a28
2015-05-28 13:47:44 -07:00
Jeff Walden
a9cdabb529 Bug 1163851 - |pc->parsingForInit| is dead. Long live |InHandling|! r=efaust
--HG--
extra : rebase_source : ebbe2cf2afd62d832277124a05a70c46eaa70a15
2015-05-13 21:13:02 -07:00
Jeff Walden
4fa5c7ef6a Bug 1163851 - Actually respect the InHandling parameter in the parser. |pc->parsingForInit| is now unused except for testing; it'll be removed once this has stuck a bit, as this change *does* change semantics in some edge cases. r=efaust
--HG--
extra : rebase_source : 6f145703264eb617f905d9cd4b5884b4430c47fa
2015-05-13 21:13:02 -07:00
Jeff Walden
81f2044adf Bug 1163851 - Remove the remaining two tests of |pc->parsingForInit|, replacing them with yet another argument provided by the caller. r=efaust
--HG--
extra : rebase_source : c8370647298493d056aaa2a80877a64ef6e6e5a0
2015-05-13 21:13:02 -07:00
Jeff Walden
51581e604e Bug 1163851 - Pass the correct |InHandling| argument when parsing the initializer in a LexicalDeclaration in a for-in loop. r=efaust
--HG--
extra : rebase_source : 77caa97069a218d48897529601228ce14076c2b5
2015-05-19 08:29:07 -07:00
Eric Faust
5e9df1f12f Bug 1141865 - Followup: give full rights to a formerly DebugOnly variable to fix the build. (rs=Waldo) 2015-06-01 15:20:17 -07:00
Nikhil Marathe
f2fab68cc8 Bug 1166504 - Make nsMultiplexInputStream cloneable. r=bkelly,froydnj
--HG--
extra : rebase_source : cb6b530acf76e6414cd8d76aedd994b27effe069
2015-05-19 14:28:32 -07:00
Eric Faust
61542cd8f3 Bug 1141865 - Part 7: Make new.target work in generator functions. (r=jorendorff, r=jandem) 2015-06-01 15:03:43 -07:00
Eric Faust
b323699f80 Bug 1141865 - Part 6: Implement new.target in arrow functions. (r=jandem, r=jorendorff) 2015-06-01 15:03:41 -07:00
Eric Faust
f7b7833c54 Bug 1141865 - Part 5: Implement new.target inside eval. (r=jorendorff, r=jandem) 2015-06-01 15:03:40 -07:00
Eric Faust
6b5128cf93 Bug 1141865 - Part 4: Remove LCallDirectEvalV in anticipation of register pressure with new.target in eval frames. (r=jandem) 2015-06-01 15:03:37 -07:00
Eric Faust
95308b2fdc Bug 1141865 - Part 3: Parse new.target, add Reflect support, and tests. (r=jorendorff, r=shu) 2015-06-01 15:03:34 -07:00
Eric Faust
aa42eef2a3 Bug 1141865 - Part 2: Plumb new.target on the stack and make it accessible to JSNatives. (r=jorendorff, r=jandem, r=shu) 2015-06-01 15:03:32 -07:00
Eric Faust
73fb9a8862 Bug 1141865 - Part 1: Make two ICCall_Fallback, one for constructing invocations. (r=jandem) 2015-06-01 15:03:30 -07:00
Wes Kocher
574f1cba89 Backed out changeset 54d579c1a164 (bug 1170124) for making XP debug jit permapurple 2015-06-01 14:48:12 -07:00
Terrence Cole
7b5343e7f9 Bug 1169692 - Use virtual dispatch in WeakMapTracer instead of function pointers; r=sfink, r=mccr8 2015-06-01 13:14:11 -07:00
Terrence Cole
04c8b8a536 Bug 1169097 - Remove CountHeap; r=sfink 2015-05-28 16:35:06 -07:00
Eric Rahm
e8a5eb8d6e Bug 1165515 - Part 14: Undef PR_LOG macros when using mozilla/Logging.h. r=froydnj
Make it harder for users to accidentally reintroduce usage of the PR_LOG macros
when using 'mozilla/Logging.h'. This can still be worked around by directly
including 'prlog.h' (and not 'mozilla/Logging.h') if absolutely necessary.
2015-06-01 14:31:01 -07:00
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
c3237a9993 Bug 1165515 - Part 12: Convert nsPluginLogging to use PR_LOG levels. r=bsmedberg
PLUGIN_LOG_MAX is removed as it's unused. PLUGIN_LOG_ALWAYS is mapped to
PR_LOG_ERROR which will have the value of '1' now that PR_LOG_ALWAYS is
removed.
2015-06-01 14:31:00 -07:00
Eric Rahm
60f0fb5be4 Bug 1165515 - Part 11: Align CSFLogLevel with PR_LOG levels. r=jesup
This aligns CSFLogLevel with the corresponding PR_LOG levels by removing the
unused CRITICAL and NOTICE CSF log levels and renaming OBNOXIOUS to VERBOSE.

mozilla/Logging.h was moved into the implementation file so as to avoid
compilation errors in C-only code.
2015-06-01 14:31:00 -07:00
Eric Rahm
fff19cfe67 Bug 1165515 - Part 10: Convert mtransport/logging.h to use PR_LOG levels. r=ekr
To fit into the new structure of mozilla logging we need to remove |ML_EMERG|
(it is not used) and as an interim step we need to switch from using raw
integers to the new PR_LOG levels.
2015-06-01 14:31:00 -07:00
Eric Rahm
4095cdb19f Bug 1165515 - Part 9: Remove instances of using numeric log levels 1-5. rs=froydnj 2015-06-01 14:31:00 -07:00
Eric Rahm
cd76aca51f Bug 1165515 - Part 8: Convert log level 6 to PR_LOG_VERBOSE. r=jesup 2015-06-01 14:31:00 -07:00
Eric Rahm
82553a3fab Bug 1165515 - Part 7: Convert PR_LOG_DEBUG + 1 to PR_LOG_VERBOSE. rs=froydnj
Used the command: |sed -E -i -e 's/PR_LOG_DEBUG\s*\+\s*1/PR_LOG_VERBOSE/g'|
2015-06-01 14:31:00 -07:00