Граф коммитов

40253 Коммитов

Автор SHA1 Сообщение Дата
Brian Hackett e0b0ea92ee Bug 956072 - Distinguish non-writable from non-data properties in type information. r=jandem 2014-01-06 19:02:28 +01:00
Steve Singer 92cec17caf Bug 950513 - Add jsscriptinlines to fix sparc64 link errors. r=luke 2014-01-06 12:40:03 -05:00
Ryan VanderMeulen 7463789a9a Bug 956434 - Disable testArrayBufferSlice.js for unpredictable failures on ggc builds. 2014-01-06 12:40:03 -05:00
Dan Gohman 94b6e63c1b Bug 953120 - IonMonkey: Don't use pushedAtCycle_ when using push/pop. r=jandem 2014-01-06 08:59:58 -08:00
Luke Wagner 53392a793e Bug 956402 - OdinMonkey: refactoring: add Float to NumLit (r=bbouvier)
--HG--
extra : rebase_source : 7704ee36047dc19ab6a44cb3c820af5145116476
2014-01-06 10:17:57 -06:00
Birunthan Mohanathas 7a614075df Bug 784739 - Switch from NULL to nullptr in js/src/devtools/vprof/ and tools/{jprof,trace-malloc}/; r=ehsan
--HG--
extra : rebase_source : e44e854e1c946c89c38bbef73c53fe8a48510f65
2014-01-06 10:07:38 -05:00
Birunthan Mohanathas d05644b6b3 Bug 784739 - Switch from NULL to nullptr in remaining directories; r=ehsan
--HG--
extra : rebase_source : 1ff19b2c8fd0e77fa8e822f5007a9fa3a6b6d474
2014-01-06 10:06:04 -05:00
masaya iseki eadb0e55e4 Bug 945596 - Define getJitCompilerOption to confirm jit-compiler-options. r=nbp, r=h4writer 2014-01-06 10:03:41 -05:00
Ed Morley 14b30df82f Merge latest green inbound changeset and mozilla-central 2014-01-06 12:51:38 +00:00
Edgar Chen 5238d6a834 Bug 956240 - WebMobileConnection: Use webidl event generator for the event that is dispatched by mozMobileConnection. r=smaug 2014-01-03 13:55:27 +08:00
Ehsan Akhgari 1b83407ce9 Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
This patch was automatically generated by the following script:

#!/bin/bash
# Command to convert PRUnichar to char16_t

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*modules/libmar*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name prtypes.h \
       ! -name Char16.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 PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Jan de Mooij 8f7a8a0f8f Bug 956293 - Don't pass RegExp proto to CloneRegExpObject. r=h4writer 2014-01-03 18:58:56 +01:00
Steve Fink 97bafd9383 Bug 955660 - Remove most field annotations now that virtual methods are handled correctly, and declare that nsIXPConnectJSObjectHolder.GetJSObject will not be overridden. r=terrence 2014-01-02 11:02:19 -08:00
Jeff Walden 5d3f01c937 Bug 953296 - Implement mozilla::NullptrT as a typedef to use to accept nullptr values. Also add mozilla::IsNullPointer<T>, a trait for detecting *only* true nullptr (emulated nullptr [__null] used by gcc 4.4/4.5 isn't true nullptr). r=ehsan
Generally, if you want a decltype(nullptr)-based overload, you should use SFINAE and IsNullPointer.  (Examples are provided in NullPtr.h comments.)  The problem is NullptrT matches far more than just __null as emulated nullptr for gcc 4.4/4.5 overloading purposes.  This problem is unavoidable without true nullptr.  Currently, the only valid use for NullptrT is believed to be in operator overloads.  All existing nullptr-overloading code has been rewritten to use the appropriate technique for the situation, and MOZ_HAVE_CXX11_NULLPTR is no longer an API.

--HG--
extra : rebase_source : 01abfcb66ae569db7b04a7b53f5cd5fd8151bffd
2014-01-02 17:27:41 -06:00
Jeff Walden 4641b211fe Bug 953316 - Add all the other object flags to JSObject::dump's output. r=bhackett
--HG--
extra : rebase_source : 82e7371ceb07550f918c9012c57dab937cee7214
2013-12-20 21:53:40 -05:00
Hannes Verschore f2a5aa6097 Bug 951400: IonMonkey: Disable thread safety asserts during IONFLAGS=logs, r=bhackett 2014-01-03 18:09:44 +01:00
Luke Wagner 98ccd612b2 Bug 952616 - Fix typo in previous commit changing success message (r=me) 2014-01-03 11:04:23 -06:00
Luke Wagner 2e804616e4 Bug 924905 - Do a subsumes check inside the stack iterator. r=jandem
--HG--
extra : rebase_source : ff8407c4f79fd3e2264470379470c526a751e45f
2014-01-03 10:32:56 -06:00
Jan de Mooij 43fccf2aec Bug 956316 - Fix ShellOperationCallback compartment mismatch. r=luke 2014-01-03 17:14:46 +01:00
Jon Coppeard c363103654 Bug 952819 - Disallow starting pre barrier verification when post barrier verifier is already running r=terrence 2014-01-03 10:30:51 +00:00
Jon Coppeard b04d819584 Bug 930427 - Add a compartment option specifically for mergable compartments r=billm 2014-01-03 10:30:51 +00:00
Jim Blandy e418b8ba87 Bug 951720: Allow the DebuggerWeakMaps used for Debugger.Source instances to have keys in invisible-to-debugger compartments. r=jonco 2014-01-03 10:30:40 +00:00
Jon Coppeard 1a1f6777e0 Bug 955818 - Fix missing include of ScopeObject.h r=terrence 2014-01-03 10:26:18 +00:00
Jan de Mooij a45b34226f Bug 955838 - Remove JSScript::enclosingScriptsCompiledSuccessfully() and some unused friend API functions. r=bhackett 2014-01-03 11:19:50 +01:00
Boris Zbarsky b1083f6892 Bug 939581 part 3. Mark DOM calls as movable as needed and allow them to be CSE'd. r=efaust 2014-01-03 16:44:45 -05:00
Boris Zbarsky 0a6e649aa0 Bug 939581 part 2. Don't create resume points for non-effectful methods (which currently just means DOM methods), on the assumption that such methods have no side-effects and throw deterministically based on thisval and arguments. r=jandem,efaust 2013-11-20 11:24:10 -05:00
Boris Zbarsky 5d40f3015e Bug 939581 part 1. Factor out MCallDOMNative from MCall. r=efaust,jandem 2013-11-20 17:44:56 -05:00
Ehsan Akhgari 2e67154d02 Merge m-c into inbound 2014-01-04 12:14:57 -05:00
Jan de Mooij 958e04b8d0 Bug 953114 - Fix GetElementIC typed array issue. r=efaust 2014-01-04 13:32:35 +01:00
Wes Kocher ce414466c8 Backed out 3 changesets (bug 939581) to see if it fixes the apparently permanent rootanalysis orange
Backed out changeset 6034450c8684 (bug 939581)
Backed out changeset 6badd39e9d6f (bug 939581)
Backed out changeset 4abc092e62c5 (bug 939581)
2014-01-03 18:23:45 -08:00
Boris Zbarsky b806673e00 Bug 939581 part 3. Mark DOM calls as movable as needed and allow them to be CSE'd. r=efaust 2014-01-03 16:44:45 -05:00
Boris Zbarsky ff03c1914c Bug 939581 part 2. Don't create resume points for non-effectful methods (which currently just means DOM methods), on the assumption that such methods have no side-effects and throw deterministically based on thisval and arguments. r=jandem,efaust 2013-11-20 11:24:10 -05:00
Boris Zbarsky 385e20051c Bug 939581 part 1. Factor out MCallDOMNative from MCall. r=efaust,jandem 2013-11-20 17:44:56 -05:00
Jan de Mooij 9b47c5d062 Bug 956300 - Remove Class argument from functions that also take a TypeObject. r=bhackett 2014-01-03 22:02:57 +01:00
Chris Peterson fea66b36a9 Bug 956161 - Fix Firefox for Android's last -Wuninitialized warning! r=luke 2013-12-14 19:09:06 -08:00
Luke Wagner 1c7e0eeac1 Bug 953104 - OdinMonkey: report validation failure for missing function-pointer tables (r=bbouvier)
--HG--
extra : rebase_source : 4d3c08640274629bd44393aee2234c4f6f829cb0
2014-01-02 17:20:36 -06:00
Nicholas Nethercote 91175eb896 Bug 955942 (part 2) - Remove MemoryUniReporter. r=mccr8.
--HG--
extra : rebase_source : 9d70016cb19637ffece6409a184bf41d574cc6b4
2013-12-07 22:09:10 -08:00
Hannes Verschore dcd09a4c80 Bug 952984: Fix barriers around matchResultTemplateObject, r=terrence 2014-01-02 20:45:51 +01:00
Andrew McCreight d2021f5e80 Bug 952660, part 9 - rename clazz to clasp in nsXPCWrappedJS::GetNewOrUsed. r=bholley 2014-01-02 11:33:42 -08:00
Andrew McCreight cb607cf8b6 Bug 952660, part 8 - Insert non-root wrappers into the list in the constructor for nsXPCWrappedJS. r=bholley
A non-root wrapper has to be inserted into the list. There's only one place this is needed, but I
think it makes more sense like this.
2014-01-02 11:33:42 -08:00
Andrew McCreight b2e878846a Bug 952660, part 7 - Replace if with else in nsXPCWrappedJS::GetNewOrUsed. r=bholley
We check for root, then don't change root and check for !root, so this can just be
an else.
2014-01-02 11:33:42 -08:00
Andrew McCreight 80cd1878d3 Bug 952660, part 6 - Add and use nsXPCWrappedJS::FindOrFindInherited. r=bholley
FindInherited is only ever used after running Find, and the way the checks
are chained is a little weird.
2014-01-02 11:33:42 -08:00
Andrew McCreight a4ebfe78ef Bug 952660, part 5 - The null check at the end of nsXPCWrappedJS::GetNewOrUsed will always fail. r=bholley 2014-01-02 11:33:41 -08:00
Andrew McCreight 5e656b2708 Bug 952660, part 4 - Eliminate now-unnecessary null check in nsXPCWrappedJS::GetNewOrUsed. r=bholley 2014-01-02 11:33:41 -08:00
Andrew McCreight b6dc3fa055 Bug 952660, part 3 - Eliminate goto return_wrapper. r=bholley
Substitute in the tail of the function for each goto, then eliminate
the resulting branches where possible.
2014-01-02 11:33:41 -08:00
Andrew McCreight dad4282dec Bug 952660, part 2 - Take advantage of new being infallible in nsXPCWrappedJS::GetNewOrUsed. r=bholley 2014-01-02 11:33:41 -08:00
Andrew McCreight 5d14048e07 Bug 952660, part 1 - Use smart pointer for clazz in nsXPCWrappedJS::GetNewOrUsed. r=bholley
The trickiest thing the goto in GetNewOrUsed does is release clazz in some cases,
so using a smart pointer will simplify things.
2014-01-02 11:33:41 -08:00
Andrew McCreight 154683bfd6 Bug 947336, part 3 - Add comment about ownership of nsXPCWrappedJS::mRoot. r=bholley 2014-01-02 11:33:41 -08:00
Andrew McCreight 231d262c6e Bug 947336, part 2 - Make nsXPCWrappedJS::mClass a smart pointer. r=bholley 2014-01-02 11:33:41 -08:00
Andrew McCreight ab84e1442b Bug 947336, part 1 - Make nsXPCWrappedJS::mOuter into a smart pointer. r=bholley 2014-01-02 11:33:40 -08:00