Commit Graph

49 Commits

Author SHA1 Message Date
Nathan Froyd
a16f465fab Bug 1045247 - move install rules in toolkit/devtools/*/Makefile.in to moz.build; r=mshal 2014-07-28 17:23:44 -04: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
Eddy Bruel
d529db99df Bug 1003095 - Fix strict errors in the debugger server;r=past 2014-05-15 16:36:03 +02:00
Gregory Szorc
5f7ff500d3 Bug 969021 - Part 1: Consolidate moz.build data into parent moz.build files; r=ted
Many moz.build files define things that could be defined in parent
moz.build files. Keeping the number of moz.build files low helps with
build times due to less I/O and fewer directories traversed.

This patch eliminates a lot of moz.build files by moving their content
into parent moz.build files.

--HG--
extra : rebase_source : 0cfdf2697d10532e5b03cd27fbaadb41f42b837c
extra : amend_source : 0119d4e4881217f105e0e4ba1dfa9c8f7295f3e9
extra : histedit_source : eb49e62c67af2005fdc08d9c9a07f56bee98d558%2C50951e960e450f9b0e48fc7e8ec369d8666a63b0
2014-02-06 13:00:20 -08:00
Heather Arthur
b522e2dda7 Bug 959003 - Update SourceMap.jsm to include Sass-compatible changes. r=fitzgen 2014-01-14 09:49:08 -05:00
Mike Hommey
bb6779efe3 Bug 939044 - Remove most definitions of MODULE. r=mshal 2013-11-19 11:47:39 +09:00
Nick Fitzgerald
4d9950e188 Bug 930141 - Replace escodegen with pretty-fast in the debugger and scratchpad pretty printing backend; r=gps,dcamp,past,benvie 2013-11-05 22:49:22 -08:00
Phil Ringnalda
e355c02a2b Back out 5b70e599577c (bug 930141) for test_loader_paths.html bustage 2013-11-05 22:19:28 -08:00
Nick Fitzgerald
6e50381edd Bug 930141 - Replace escodegen with pretty-fast in the debugger and scratchpad pretty printing backend; r=gps,dcamp,past,benvie 2013-11-05 20:24:17 -08:00
Nick Fitzgerald
ad4b0dcfec Bug 916454 - Delay parsing source maps until queried for a location; r=past 2013-10-06 11:45:07 -07:00
Nick Fitzgerald
01536ebd1d Bug 918802 - Move the debugger's pretty printing into a worker; r=past 2013-10-01 14:25:19 -07:00
Nick Fitzgerald
26949732cc Bug 921255 - Add an UPGRADING file to toolkit/devtools/sourcemap; r=robcee 2013-10-01 13:21:05 -07:00
Wes Kocher
9f40060dc3 Merge fx-team to m-c 2013-09-24 20:06:37 -07:00
Nick Fitzgerald
27bf957e32 Bug 918802 - Pretty printer shouldn't block Firefox on large files; r=dcamp 2013-09-24 16:01:01 -07:00
Nick Fitzgerald
4f5528be3e Backout c49d5912c0de on a CLOSED TREE due to pushing the wrong version of the patch. 2013-09-24 15:16:25 -07:00
Nick Fitzgerald
e48406cb44 Bug 918802 - Pretty printer shouldn't block Firefox on large files; r=dcamp 2013-09-24 13:54:56 -07:00
Gregory Szorc
ed68c2482b Bug 901990 - Part 2: Upgrade xpcshell manifests; r=ted
--HG--
rename : toolkit/mozapps/extensions/test/xpcshell-unpack/head_unpack.js => toolkit/mozapps/extensions/test/xpcshell/head_unpack.js
2013-09-24 11:50:08 -07:00
Nick Fitzgerald
71d9295729 Bug 762761 - add prettyPrint request to the remote debugging protocol server/client; r=past 2013-09-11 10:15:51 -07:00
Mike Hommey
f1cf3b4238 Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
Nick Fitzgerald
b24552d2cb Bug 889492 - Debugger does not stop at the debugger; statement in original files; r=anton 2013-08-22 10:41:48 -07:00
Nick Fitzgerald
9a78048baa Bug 885597 - absolute urls not working with sourcesContent and source maps in file:// urls; r=dcamp 2013-06-23 09:44:29 -07:00
Nick Fitzgerald
f9b181c2d5 Bug 882986 - A source map's sourcesContent doesn't work when the original file path is absolute; r=dcamp 2013-06-13 18:21:06 -07:00
Gregory Szorc
14c4938355 Bug 873629 - Remove 129 empty Makefile.in files; r=ted 2013-05-17 16:20:11 -07:00
Joey Armstrong
2dbf79e9a4 bug 869143: phase2 cleanup for XPCSHELL_TEST conversion. r=mshal 2013-05-13 16:24:07 -04:00
Joey Armstrong
8e99512c32 bug 844655: Port XPCSHELL_TESTS to moz.build as XPCSHELL_TESTS_MANIFESTS 2013-04-29 14:49:00 -04:00
Nick Fitzgerald
3bb0728fee Bug 849069 - relative source map URLs should be resolved according to the spec's rules; r=past 2013-04-09 11:40:00 +03:00
Nick Fitzgerald
fd19397aa4 Bug 772119 - expose source mapped sources over the remote debugging protocol; r=past 2013-04-16 00:07:00 +03:00
Panos Astithas
7e51ea1af4 Backout eb887b962dfa (bug 772119) on suspicion of leaks 2013-04-10 16:08:59 +03:00
Panos Astithas
38e06c621d Backout 50b1fc3ef560 (bug 849069) on suspicion of leaks 2013-04-10 16:05:35 +03:00
Nick Fitzgerald
c2026119b5 Bug 849069 - Relative source map URLs should be resolved according to the spec's rules; r=past 2013-04-09 11:40:00 +03:00
Nick Fitzgerald
8b6d233c14 Bug 772119 - Expose source mapped sources over the remote debugging protocol; r=past 2013-04-09 11:42:00 +03:00
Kyle Machulis
5aa83c3e11 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Kyle Machulis
c79ccc0693 Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot 2013-03-29 15:12:58 -07:00
Kyle Machulis
a59d40f143 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Mike Shal
9680b82df6 Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps 2013-03-19 11:47:00 -07:00
Gregory Szorc
14545664e3 Bug 784841 - Part 18θ: Convert /toolkit f=Mossop, Ms2ger; rs=ted 2013-02-25 13:19:09 -08:00
Nick Fitzgerald
72e78d49cc Bug 831465 - SourceMap.jsm breaks with jsloader.reuseGlobal == true; r=past 2013-01-16 15:53:00 +02:00
Nick Fitzgerald
ff9870cea3 Bug 828070 - Update SourceMap.jsm from mozilla/source-map to get the |sources| getter; r=rcampbell 2013-01-09 14:55:00 -05:00
Kyle Huey
1482122303 Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon
--HG--
extra : rebase_source : 98337b6a8c07d05e8c961a452dd05a7d75c3c60b
2012-10-31 09:13:28 -07:00
Vicamo Yang
8297cdabd6 Backout 67cb43bb8865: Breaks B2G Marionette 2012-10-31 16:35:11 +08:00
Kyle Huey
bdf47895bb Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-30 12:28:11 -07:00
Ed Morley
777eed8444 Backout a145ded68994, e0cf397089ec & 1545e91c658e (bug 798491) for bustage on a CLOSED TREE 2012-10-30 17:02:31 +00:00
Kyle Huey
aa1997a51a Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-30 08:26:12 -07:00
Nick Fitzgerald
e35bab9087 bug 673487 - map from an original source to a generated; r=robcee 2012-09-27 06:15:00 +01:00
Mike Hommey
6173fa297f Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Michael Ratcliffe
fe7022b757 Bug 777355 - Move Console.jsm somewhere into toolkit to fix comm-central's busted XPCShell tests.; r=rcampbell
--HG--
rename : browser/devtools/shared/Console.jsm => toolkit/devtools/Console.jsm
2012-07-25 18:34:34 +01:00
Rob Campbell
d03e611eb5 Bug 776518 - Move Require.jsm somewhere into toolkit to fix comm-central's busted XPCShell tests; r=gavin 2012-07-24 15:02:10 -07:00
Michael Ratcliffe
a2cccfbb98 Bug 776518 - Move Require.jsm somewhere into toolkit to fix comm-central's busted XPCShell tests; r=rcampbell
--HG--
rename : browser/devtools/shared/Require.jsm => toolkit/devtools/Require.jsm
2012-07-24 12:08:30 +01:00
Nick Fitzgerald
2b86de406a Bug 669999 - Add a library for parsing and consuming source map files to Firefox; r=joe_walker,rcampbell 2012-07-18 17:17:00 -04:00