Commit Graph

34093 Commits

Author SHA1 Message Date
Mike Hommey
b02a375963 Bug 1027890 - Remove all sorts of build system code dedicated to pymake. r=gps 2014-06-25 08:38:28 +09:00
Jan de Mooij
6198cb3fb7 Bug 1028866 part 4 - Add NewStringCopyNDontDeflate. r=luke 2014-06-25 08:05:45 +02:00
Jan de Mooij
7eea29388a Bug 1028866 part 3 - NewStringCopyN should create Latin1 strings if Latin1 strings are enabled. r=luke 2014-06-25 08:05:43 +02:00
Jan de Mooij
12d5cba650 Bug 1027528 part 15 - Make structured clone work with Latin1 strings. r=jorendorff,bent 2014-06-25 08:05:41 +02:00
Lars T Hansen
6d80acbdb4 Bug 1026931 - factor the fallible initialization code, and capture and propagate errors. r=shu 2014-06-25 07:31:56 +02:00
Jim Blandy
4d6a633bba Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan
The -*- file variable lines -*- establish per-file settings that Emacs will
pick up. This patch makes the following changes to those lines (and touches
nothing else):

 - Never set the buffer's mode.

   Years ago, Emacs did not have a good JavaScript mode, so it made sense
   to use Java or C++ mode in .js files. However, Emacs has had js-mode for
   years now; it's perfectly serviceable, and is available and enabled by
   default in all major Emacs packagings.

   Selecting a mode in the -*- file variable line -*- is almost always the
   wrong thing to do anyway. It overrides Emacs's default choice, which is
   (now) reasonable; and even worse, it overrides settings the user might
   have made in their '.emacs' file for that file extension. It's only
   useful when there's something specific about that particular file that
   makes a particular mode appropriate.

 - Correctly propagate settings that establish the correct indentation
   level for this file: c-basic-offset and js2-basic-offset should be
   js-indent-level. Whatever value they're given should be preserved;
   different parts of our tree use different indentation styles.

 - We don't use tabs in Mozilla JS code. Always set indent-tabs-mode: nil.
   Remove tab-width: settings, at least in files that don't contain tab
   characters.

 - Remove js2-mode settings that belong in the user's .emacs file, like
   js2-skip-preprocessor-directives.
2014-06-24 22:12:07 -07:00
Brian R. Bondy
9886164729 Bug 598615 - Rename HAVE_64BIT_OS to HAVE_64BIT_BUILD. r=ted 2014-06-24 22:16:25 -04:00
Wes Kocher
d9ec170da8 Backed out 2 changesets (bug 1027890) for B2G Windows Build bustage on a CLOSED TREE
Backed out changeset bcd694f0e95d (bug 1027890)
Backed out changeset 49cadfcde709 (bug 1027890)
2014-06-24 18:33:46 -07:00
Mike Hommey
f59abd2745 Bug 1027890 - Remove all sorts of build system code dedicated to pymake. r=gps 2014-06-25 08:38:28 +09:00
Nathan Froyd
d75b8d1432 Bug 1029059 - remove TARGET_{XPCOM,COMPILER}_ABI variables from js/src/configure.in; r=glandium 2014-06-23 14:25:28 -04:00
Jeff Walden
0b3231074e Bug 1029118 - Remove the now-dead (as of window WebIDLification) js::ReportIfUndeclaredVarAssignment. r=till
--HG--
extra : rebase_source : 4f00ec895b255f1bc22d8b22094cff43d6d41278
2014-06-23 07:46:44 -07:00
Jeff Walden
db9feb2b4f Bug 1029126 - Fix out-of-range assignment warning in typed-object field offset calculation code. r=shu
--HG--
extra : rebase_source : 82c837c60b46a7d7dc52b2ea39c864e5f5c2c18f
2014-06-23 14:11:14 -07:00
Caio Lima
4f6dde7038 Bug 1028262 - Enable lazy argsobj creation for functions using MGetArgumentsObjectArg. r=djvj 2014-06-20 12:34:00 +02:00
Douglas Crosher
14f78e0a84 Bug 1028008 - IonMonkey: (ARM) Support reading a js shell 'arm-hwcap' argument in addition to the ARMHWCAP environment variable. r=jandem 2014-06-24 14:43:23 +10:00
Guptha Rajagopal
79c7eb8f6d Bug 1024748 - Correct toString behavior when Template Literals is implemented as described in ES6 draft section 12.2.9. r=jorendorff 2014-06-23 10:59:00 -04:00
Guptha Rajagopal
28d855c725 Bug 1024748 - Implement Template Literals as described in ES6 draft section 12.2.9. r=jorendorff 2014-06-23 10:58:00 -04:00
Jan de Mooij
925a70da95 Bug 1012694 - IonMonkey (ARM): Use the second scratch register to avoid clobbering the scratch register. r=dougc 2014-06-24 14:46:03 -04:00
Daniel Holbert
4ad4da4c3c Bug 1029672: Tweak ASCII art in ForkJoin.h so that it doesn't cause GCC -Wcomment build warnings. rs=shu
DONTBUILD because comment-only
2014-06-24 11:24:18 -07:00
Jan de Mooij
6f1fd23160 Bug 1028866 part 2 - Cleanup NewStringCopyZ. r=luke
--HG--
extra : rebase_source : 321aae85dd6a3e2fa90474ceed9bd03347f528a8
2014-06-24 17:33:29 +02:00
Jan de Mooij
f6453dde7c Bug 1028866 part 1 - Move string allocation functions into js namespace, remove js_* prefix. r=luke
--HG--
extra : rebase_source : 1f4c940dce07a7ced533c641c60cf76592fd61ac
2014-06-24 17:33:27 +02:00
Jan de Mooij
801e7fbbe4 Bug 1026438 part 9 - Make irregexp CheckNotBackReferenceIgnoreCase work with Latin1 strings. r=bhackett 2014-06-24 12:01:42 +02:00
Jan de Mooij
b23817cf8f Bug 1027528 part 20 - Make enough code work with Latin1 strings to pass shell tests. r=luke 2014-06-24 12:01:41 +02:00
Jan de Mooij
2195993117 Bug 1027528 part 19 - Make XDR work with Latin1 strings. r=luke 2014-06-24 12:01:39 +02:00
Jan de Mooij
455f2d196a Bug 1027528 part 18 - Make some error functions work with Latin1 strings. r=terrence 2014-06-24 12:01:37 +02:00
Jon Coppeard
400bb8bec2 Bug 1028863 - Root SavedFrame::Lookup while creating new SavedFrame r=terrence 2014-06-24 09:23:57 +01:00
Bill McCloskey
a36b8c7b9b Bug 1017310 - Associate JS compartments with add-on chrome XBL (r=bholley) 2014-06-23 16:33:37 -07:00
Terrence Cole
56f73e4f46 Bug 1028358; followup fix on a CLOSED TREE; r=sfink
--HG--
extra : rebase_source : c38ad9347fd6100e9275e08823763bccbce54c10
2014-06-23 14:36:26 -07:00
Dan Gohman
25b2238b9f Bug 1027897 - IonMonkey: Explicitly instantiate buildVregs() on a CLOSED TREE r=me 2014-06-23 14:33:24 -07:00
Steve Fink
fa5af6b609 Namespacing fixes for bug 1028358, r=CLOSED TREE 2014-06-23 13:57:16 -07:00
Dan Gohman
867859c9e3 Bug 1027900 - IonMonkey: Extend trySplitAfterLastRegister use to also split after register definitions. r=bhackett 2014-06-23 13:42:08 -07:00
Dan Gohman
7d3f1756c4 Bug 1027897 - IonMonkey: Rename CodePosition::pos() to avoid awkwardness like pos.pos() r=bhackett 2014-06-23 13:42:08 -07:00
Dan Gohman
9520accb3f Bug 1027897 - IonMonkey: Use FixedList for a few things. r=bhackett 2014-06-23 13:42:07 -07:00
Dan Gohman
6478fed465 Bug 1027897 - IonMonkey: Rename LDefinition's Policy enum fields for consistency with LUse r=bhackett 2014-06-23 13:42:07 -07:00
Dan Gohman
50d5c044eb Bug 1027897 - IonMonkey: Add some regalloc-related comments. r=bhackett 2014-06-23 13:42:07 -07:00
Dan Gohman
0e15cde44a Bug 1027897 - IonMonkey: Intervals are sorted by their start. r=bhackett 2014-06-23 13:42:07 -07:00
Dan Gohman
f21ff8479c Bug 1027897 - IonMonkey: Refactor split position bookkeeping into helper classes. r=bhackett 2014-06-23 13:42:07 -07:00
Dan Gohman
603f4c87ed Bug 1027897 - IonMonkey: More regalloc dumping improvements r=bhackett 2014-06-23 13:42:07 -07:00
Dan Gohman
3d37fafe97 Bug 1027897 - IonMonkey: Create entryOf and exitOf helper functions and use them. r=bhackett 2014-06-23 13:42:07 -07:00
Dan Gohman
778e457ed9 Bug 1027897 - IonMonkey: Eliminate a few explicit CodePosition::pos() calls. r=bhackett 2014-06-23 13:42:06 -07:00
Dan Gohman
c062b4dca6 Bug 1027897 - IonMonkey: Minor code simplifications. r=bhackett 2014-06-23 13:42:06 -07:00
Bobby Holley
a4670be1a3 Bug 1027131 - Additional tests for wrapReflectors. r=gabor 2014-06-23 13:25:09 -07:00
Bobby Holley
de6604063e Bug 1027131 - Use StackScopedClone for cloneInto. r=gabor 2014-06-23 13:25:08 -07:00
Bobby Holley
35d05d7ac8 Bug 1027131 - Add support for function cloning in StackScopedClone. r=gabor 2014-06-23 13:25:08 -07:00
Bobby Holley
e4bed6b8f4 Bug 1027131 - Innerize before reflector detection. r=gabor 2014-06-23 13:25:08 -07:00
Bobby Holley
7f45a5ad0e Bug 1027131 - Add support for Blob and FileList in the wrapReflectors = false case. r=gabor 2014-06-23 13:25:08 -07:00
Bobby Holley
b010932e5f Bug 1027131 - Switch to a struct for the StackScopedClone closure. r=gabor 2014-06-23 13:25:08 -07:00
Bobby Holley
360e5e5da1 Bug 1027131 - Rename CloneNonReflectors into StackScopedClone, and give it an options struct. r=gabor 2014-06-23 13:25:07 -07:00
Bobby Holley
0c4ff6d411 Bug 1027131 - Remove invalid assertion. r=gabor
If a clone happens between two same-origin scopes, we'll end up with CCWs here
that are neither Xrays nor reflectors.
2014-06-23 13:25:07 -07:00
Bobby Holley
fc116f2c1c Bug 1027131 - Split out ExportHelpers.cpp. r=gabor
A lot of this stuff is usable from both Sandbox.cpp and XPCComponents.cpp, and
those files are both pretty big these days.
2014-06-23 13:25:07 -07:00
Jan Beich
610dff8cc8 Bug 1028775 - Unbreak non-unified build of --disable-ion after bug 1013326. r=luke 2014-06-23 22:13:21 +02:00