Commit Graph

246620 Commits

Author SHA1 Message Date
Eric Rahm
dca9287933 Bug 1165515 - Part 3: Convert PR_LOG_TEST to MOZ_LOG_TEST. r=froydnj 2015-06-01 22:17:19 -07:00
Eric Rahm
5947d5edcf Bug 1165515 - Part 2: Add MOZ_LOG_TEST. r=froydnj 2015-06-01 22:17:17 -07:00
Jim Blandy
e947ca89e3 Bug 1167468: Assert that JSObjects and their metadata are always in the same compartment. r=fitzgen 2015-05-21 16:37:27 -07:00
Nicholas Nethercote
3f01f8a987 Bug 1168007 (part 11) - Use PLDHashTable2 exclusively in TestPLDHash. r=froydnj. 2015-05-18 21:58:33 -07:00
Nicholas Nethercote
8e8a67b198 Bug 1168007 (part 10) - Use PLDHashTable2 in nsDiskCacheBindery. r=froydnj.
Like the last patch, the Clear() call in nsDiskCacheBindery::Init() is
cautious.
2015-05-18 21:52:14 -07:00
Nicholas Nethercote
4cd7a27d44 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.
2015-05-18 21:45:30 -07:00
Nicholas Nethercote
c3c2fd8b2a Bug 1168007 (part 8) - Use PLDHashTable2 in nsCycleCollector. r=froydnj. 2015-05-18 21:29:58 -07:00
Boris Zbarsky
edd243eb7a 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
552912acca 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
0eb5b661b2 Backed out changeset c0e7bdb0da7b (bug 1141865) for assertions 2015-06-01 18:24:37 -07:00
Wes Kocher
d2d5bbbbc8 Backed out changeset 3e660b56c502 (bug 1169171) for easily backing out bug 1141865 2015-06-01 18:23:51 -07:00
Wes Kocher
64ef173591 Backed out changeset 4275a4bf842e (bug 1169511) 2015-06-01 18:23:50 -07:00
Wes Kocher
f85497d1e9 Backed out changeset 8b0cd6ec2fc4 (bug 1167845) 2015-06-01 18:23:49 -07:00
Wes Kocher
ac82bda464 Backed out changeset 79466a3087b1 (bug 1167845) 2015-06-01 18:23:48 -07:00
Wes Kocher
7e8fa96db9 Backed out changeset ce16efb6bee2 (bug 1141865) for assertions 2015-06-01 18:23:15 -07:00
Wes Kocher
860f87c77b Backed out changeset 47a103414177 (bug 1166504) for mochitest-e10s-4 permafail CLOSED TREE 2015-06-01 17:59:17 -07:00
Wes Kocher
bd796581dc 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
5d74325af0 Bug 1141865 - Followup followup: Fix the WIN64 build on a CLOSED TREE. (rs=shu) 2015-06-01 17:00:25 -07:00
Mike Hommey
c1b6c046e4 Bug 1169937 - Bump mozharness to 3030ddc03dd3 2015-06-02 07:55:23 +09:00
Jeff Walden
1d495b2c73 Bug 1167845 - Rename ParseHandler::isName to ParseHandler::maybeName. r=efaust 2015-06-01 13:28:36 -07:00
Jeff Walden
9d96c708fd 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 2015-05-22 19:02:41 -07:00
Jeff Walden
26d3d61ef3 Bug 1169511 - Split PNK_TYPEOF into one kind for application to names, one kind for application to other expressions. r=efaust 2015-05-29 13:23:06 -07:00
Jeff Walden
e9be55e0bb 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 2015-05-28 13:47:44 -07:00
Jeff Walden
c2a96ecbe4 Bug 1163851 - |pc->parsingForInit| is dead. Long live |InHandling|! r=efaust 2015-05-13 21:13:02 -07:00
Jeff Walden
dad3324048 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 2015-05-13 21:13:02 -07:00
Jeff Walden
f49719ab09 Bug 1163851 - Remove the remaining two tests of |pc->parsingForInit|, replacing them with yet another argument provided by the caller. r=efaust 2015-05-13 21:13:02 -07:00
Jeff Walden
88217c6d64 Bug 1163851 - Pass the correct |InHandling| argument when parsing the initializer in a LexicalDeclaration in a for-in loop. r=efaust 2015-05-19 08:29:07 -07:00
Eric Faust
072162884d 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
d0ca24c910 Bug 1166504 - Make nsMultiplexInputStream cloneable. r=bkelly,froydnj 2015-05-19 14:28:32 -07:00
Eric Faust
ebef424fb3 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
0bf5e97e7e Bug 1141865 - Part 6: Implement new.target in arrow functions. (r=jandem, r=jorendorff) 2015-06-01 15:03:41 -07:00
Eric Faust
b7b3e54a7b Bug 1141865 - Part 5: Implement new.target inside eval. (r=jorendorff, r=jandem) 2015-06-01 15:03:40 -07:00
Eric Faust
2a219e4e92 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
2efa486971 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
2a004af5c4 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
c93659dad2 Bug 1141865 - Part 1: Make two ICCall_Fallback, one for constructing invocations. (r=jandem) 2015-06-01 15:03:30 -07:00
Wes Kocher
e298584dde Backed out changeset 54d579c1a164 (bug 1170124) for making XP debug jit permapurple 2015-06-01 14:48:12 -07:00
Terrence Cole
e38944ed48 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
a04630c2c6 Bug 1169097 - Remove CountHeap; r=sfink 2015-05-28 16:35:06 -07:00
Eric Rahm
b9f1aae339 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
ae32743ed2 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
b7442b3356 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
ad329fa5e3 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
4d6c8430f1 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
8923d38f19 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
d27d4cb5f1 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
0f53a68fc2 Bug 1165515 - Part 8: Convert log level 6 to PR_LOG_VERBOSE. r=jesup 2015-06-01 14:31:00 -07:00
Eric Rahm
c6c111998d 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
Eric Rahm
a76c28fa74 Bug 1165515 - Part 6: Add PR_LOG_VERBOSE. r=froydnj 2015-06-01 14:31:00 -07:00
Eric Rahm
db180ff7c4 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