Commit Graph

43806 Commits

Author SHA1 Message Date
Andrea Marchesini
3d909148b5 Bug 660237 - implement nsIDOMStorage with a proxy, r=bzbarsky, r=mayhemer 2014-07-23 01:07:12 -04:00
Boris Zbarsky
eafe8cdc8f Bug 1021066. Make named setters work even for non-overridebuiltins bindings over Xrays. r=bholley,jorendorff 2014-07-23 01:06:33 -04:00
Mike Hommey
2a9a0b150f Followup for bug 1041936 to unbreak spidermonkey fail-on-warnings builds. r=me 2014-07-23 14:01:55 +09:00
Mike Hommey
7cab62150a Bug 1041936 part 2 - Directly use the static library "xul" to link into "xul-gtest" instead of having an intermediate library "xul" used by "xul-shared" and "xul-gtest". r=gps 2014-07-23 13:33:09 +09:00
Mike Hommey
95063176fa Bug 1036894 part 9 - Replace all EXTRA_DSO_LDOPTS, SHARED_LIBRARY_LIBS and LIBS with EXTRA_LIBS, OS_LIBS or OS_LDFLAGS, appropriately. r=gps
OS_LIBS for libraries that are not part of the gecko tree, EXTRA_LIBS for
libraries, such as NSPR, that are in the tree, but are not handled by
moz.build just yet. Those EXTRA_LIBS may also come from a system library.
However, in cases where the expanded variables are always empty for the
in-tree case, OS_LIBS is used (as for, e.g. MOZ_ZLIB_LIBS). OS_LDFLAGS is
used exclusively for non-library linker flags.

Always pass EXTRA_LIBS before OS_LIBS on linker command lines.

Forbid EXTRA_DSO_LDOPTS, SHARED_LIBRARY_LIBS and LIBS in Makefiles.
2014-07-23 13:31:02 +09:00
Mike Hommey
5fab42fcaf Bug 1036894 part 8 - Move most in-tree library linkage information to moz.build, as USE_LIBS. r=gps 2014-07-23 13:30:52 +09:00
Mike Hommey
a33d7d67e6 Bug 1036894 part 1 - Move MAKE_FRAMEWORK, SDK_LIBRARY, SHARED_LIBRARY_NAME and STATIC_LIBRARY_NAME to moz.build. r=gps
At the same time, make the Library data more useful in the build frontend.
2014-07-23 13:29:09 +09:00
Brian Hackett
1510ebf364 Bug 1028580 - Remove debugging printfs. 2014-07-22 18:37:27 -08:00
Brian Hackett
9a4142ebcf Bug 1028580 - Improve code generated for conditional and &&/|| tests, r=jandem,sunfish. 2014-07-22 18:34:03 -08:00
Nicholas Nethercote
dcaa28eaea Backout dd2018a5f894 (bug 1039965) because it caused perf regressions in Kraken.
--HG--
extra : rebase_source : 3d6c25bc6ce7db784d9e8ba52d3ef058c9d8d802
2014-07-22 18:11:31 -07:00
Jonathan Griffin
1c5d8636ac Backed out changeset 64586374a208 on a CLOSED TREE 2014-07-22 18:29:57 -07:00
Alexandre Poirot
98afd25e0d Bug 1027242 - Blacklist mulet's failing tests + expose 'mulet' to ini files; fix previous bustage on a CLOSED TREE, r=ahal 2014-07-02 15:40:56 -07:00
Jonathan Griffin
38f79ff899 Backout 4f6d9db92389 for bustage on a CLOSED TREE 2014-07-22 17:55:50 -07:00
Mike Hommey
622bf09730 Bug 1041864 - Remove LIBRARY_NAMEs that aren't used. r=mshal 2014-07-23 08:39:56 +09:00
Mike Hommey
bc5d6801bb Bug 1041860 - Avoid setting FINAL_LIBRARY to libraries that further use a FINAL_LIBRARY. r=mshal 2014-07-23 08:37:51 +09:00
Alexandre Poirot
37506aa45c Bug 1027242 - Blacklist mulet's failing tests + expose 'mulet' to ini files. r=ahal 2014-07-02 15:40:56 -07:00
Bobby Holley
ffe3111a73 Bug 742444 - Only propagate waivers between same-origin compartments. r=gabor 2014-07-22 16:14:27 -07:00
Bobby Holley
eaccea432a Bug 742444 - Pass the old wrapper or value to the prewrap callback instead of its flags. r=gabor
We need this so that we can reason about the origin of the wrapper that
previously had a waiver and decide whether or not to extend it.
2014-07-22 16:14:27 -07:00
Eric Faust
b80dee55dd Bug 978279 - Refactor proxy jit-tests and add tests to account for revocation. (r=jorendorff)
--HG--
rename : js/src/tests/ecma_6/Proxy/proxy-isExtensible.js => js/src/jit-test/tests/proxy/testDirectProxyIsExtensible1.js
2014-07-22 14:10:34 -07:00
Eric Faust
9db4e68792 Bug 978279 - Implement revocation semantics. (r=jorendorff) 2014-07-22 14:10:31 -07:00
Eric Faust
05f98c317b Bug 978240 - Recomment remaining ES6 proxy traps. (r=jorendorff) 2014-07-22 14:10:30 -07:00
Luke Wagner
313510c29f Bug 1041868 - Add #ifdef JS_IONs to fix --disable-ion bustage (r=me)
--HG--
extra : rebase_source : e036a4cfddf84f746d77778881ced8d4f0ef4aa8
2014-07-22 09:12:15 -05:00
Dan Gohman
d6f063d116 Bug 1041746 - IonMonkey: GVN: Clear the IsGuard flag when simplifying an instruction too. r=nbp 2014-07-22 07:45:07 -07:00
ProgramFOX
d6373dcf04 Bug 1041648: added float32x4 clamp test case; r=bbouvier 2014-07-22 03:21:32 -07:00
Nicolas B. Pierron
61a9c762a4 Bug 1006899 - Prevent stack iterations while recovering allocations. r=bhackett 2014-07-22 06:04:03 -07:00
Jan de Mooij
458f1fc31c Bug 1041469 part 3 - Remove toLatin1 shell function, update tests. r=luke 2014-07-22 14:52:14 +02:00
Jan de Mooij
db2a3ccf95 Bug 1041469 part 2 - Use templates to get rid of some NewFatInlineString duplication. r=luke 2014-07-22 14:52:05 +02:00
Jan de Mooij
034d529e99 Bug 1041469 part 1 - Remove EnableLatin1Strings flag. r=luke 2014-07-22 14:52:03 +02:00
Tom Schuster
594e01a452 Bug 1041495 - Handlify StructuredClone. r=jonco 2014-07-22 12:18:24 +02:00
Nicholas Nethercote
0e1cc95b5f Bug 1039965 - Avoid slop in JS arrays. r=bhackett,terrence.
This patch changes JS array resizing to always allocate power-of-two sized slot
requests. Previously it would mostly make slight-more-than-power-of-two sized
requests, which cause lots of slop.

Also, shrinkElements() now only does a reallocation if it would result in going
down a size class. E.g. if you pop all the elements from a 1000-element array,
it would realloc 999, then 998, then 997, all the way down the minimum size.
Now it does 512, then 256, down to the minimum size (which is 8).

I confirmed with DMD that the element allocations now have zero slop. This
reduces peak RSS loading a couple of large PDF files (four times each) with
pdf.js by 10s of MiBs.

--HG--
extra : rebase_source : 942c11de724843aa582e3a17b02043458a57e594
2014-07-17 21:14:20 -07:00
Dan Gohman
fea2ec232d Bug 1027885 - OdinMonkey: Make CodeGeneratorShared::mirGen consistent with FunctionCompiler::mirGen r=luke 2014-07-21 19:09:16 -07:00
Nick Fitzgerald
87b69e2b9e Bug 993085 - Part 1: Add the Debugger.Memory.prototype.trackingAllocationSites accessor property r=jimb 2014-07-21 18:16:13 -07:00
Wes Kocher
1dddfef6bc Bug 993085 - Part 0: Freeze SavedFrame and SavedFrame.prototype r=jimb 2014-07-18 13:48:06 -07:00
Wes Kocher
adeb18147d Merge m-c to inbound 2014-07-21 17:34:59 -07:00
Wes Kocher
8cc1c6b2ac Merge inbound to m-c a=merge 2014-07-21 12:54:52 -07:00
Bill McCloskey
3964a88c46 Bug 1041370 - Fix script entry hook #ifdefing (a=RyanVM) 2014-07-20 21:58:49 -07:00
Jan de Mooij
4a15b16dd6 Bug 1028866 part 6 - Move NewString* functions from jsstr.{h,cpp} to vm/String.{h,cpp}. rs=luke 2014-07-21 12:45:48 +02:00
Benjamin Bouvier
8a3e5d92be Bug 1040823: Simplify tests from bug 986673; r=tests-only 2014-07-21 10:06:38 +02:00
Benjamin Bouvier
fd81fd702c Bug 1040823: Make --js-cache-per-process the default for testing; r=luke 2014-07-21 10:06:09 +02:00
Nicholas Nethercote
523362fec4 Bug 1039162 (attempt 2) - Don't use |for each| in XPCOMUtils.jsm. r=mrbkap. 2014-07-16 22:45:29 -07:00
Ryan VanderMeulen
800fc2b192 Merge m-c to inbound. a=merge 2014-07-20 18:32:22 -04:00
Bobby Holley
4ae6a9f387 Bug 1036790 - Only expect pjs methods for nightly builds in test_xrayToJS.xul. r=me 2014-07-20 16:15:22 -06:00
Emanuel Hoogeveen
f7ea6fd501 Bug 1041307 - Don't try to finalize JITcode in non-ion builds. r=billm 2014-07-20 08:23:00 +02:00
Benjamin Bouvier
983a043076 Bug 1040785: Remove unused inc32 and dec32; r=jandem 2014-07-21 09:45:23 +02:00
Benjamin Bouvier
c6e08c78b5 Bug 1040785: Move LInterruptCheck from the platform-specific LIR headers to the platform-independent one; r=jandem 2014-07-21 09:45:13 +02:00
Benjamin Bouvier
45ca7c510b Bug 1040785: Factor out InvokeFromAsmJS functions; r=luke 2014-07-21 09:45:04 +02:00
Benjamin Bouvier
43ae4233c5 Bug 986673: Tests; r=luke 2014-07-18 12:14:51 +02:00
Luke Wagner
977dc747cd Bug 986673: Test pointer's value in AsmJSInterruptCheck; r=bbouvier 2014-07-21 09:36:07 +02:00
Bob Owen
7cea4e4d14 Bug 1037564 Part 2: Replace AutoPushJSContexts et al. in nsXBLPrototypeHandler. r=bholley 2014-07-18 12:52:32 +01:00
Bobby Holley
972dacf31e Bug 930091 - Check objects at COW membranes. r=gabor,r=msucan 2014-07-20 15:36:32 -06:00