Commit Graph

88 Commits

Author SHA1 Message Date
Jim Blandy
39dc0c6097 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
Ehsan Akhgari
5d3695b5e5 Bug 983920 - Port window.sidebar and window.external to WebIDL; r=bzbarsky 2014-03-28 00:03:03 -04:00
Ms2ger
f1f2801086 Bug 887012 - Remove some emptyish makefiles; r=gps 2013-07-01 09:02:32 +02:00
Joey Armstrong
7af81098a7 bug 870370: move EXTRA_COMPONENTS to moz.build (file batch #1). r=mshal 2013-06-10 11:30:03 -04:00
Gavin Sharp
24f6005037 Bug 691647 Part 2: remove Firefox Desktop implementation of removed nsISidebar methods. r=dolske 2013-04-08 19:23:56 -07:00
Kyle Machulis
331f36baa9 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Kyle Machulis
ec9b53db93 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
0419a0b889 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-03-29 13:56:18 -07:00
Gregory Szorc
1a3da6acf4 Bug 784841 - Part 18d: Convert /browser; r=gavin f=Ms2ger 2013-02-25 12:47:18 -08:00
Kyle Huey
76a2832eea Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-31 09:13:28 -07:00
Vicamo Yang
ea784216bd Backout 67cb43bb8865: Breaks B2G Marionette 2012-10-31 16:35:11 +08:00
Kyle Huey
c82a2d6fea 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
c34b7d9377 Backout a145ded68994, e0cf397089ec & 1545e91c658e (bug 798491) for bustage on a CLOSED TREE 2012-10-30 17:02:31 +00:00
Kyle Huey
8078ab712e 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
Andres Hernandez
e80b022632 Bug 325901 - fix unnecessarily preprocessed files in browser/, r=gavin 2012-08-10 14:20:25 -06:00
Mike Hommey
0f9f294ea0 Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Gervase Markham
cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Ed Morley
40be4612ac Bug 692625 - Move browser/components/sidebar/src/ to browser/components/sidebar/; r=gavin 2011-12-16 09:11:21 +00:00
Marco Bonardo
62238b62aa Bug 702081 - Add back the folder picker to bookmarks dialog missing it.
r=dietrich
2011-11-15 20:42:27 +01:00
Marco Bonardo
3691090b43 Bug 700348 - fix showBookmarkDialog warnings.
r=dietrich
2011-11-11 22:39:26 +01:00
Ed Morley
4a40560ba6 Backout changeset 8af101010da7 (bug 692130 bustage fix 1) 2011-10-07 01:36:01 +01:00
Ed Morley
83c04bf25a Backout changeset 94f2fa9f97b8 (bug 692130 bustage fix 3) 2011-10-07 01:28:56 +01:00
Matt Brubeck
910e799b35 Bug 689884 followup - Fix error in browser/components/sidebar/Makefile.in to fix bustage on a CLOSED TREE. r=burning 2011-10-06 15:35:16 -07:00
Gavin Sharp
2fd6a989f9 Bug 689884 followup: get rid of unneeded "src" directory (and fix inbound bustage) 2011-10-06 14:30:17 -07:00
Ed Morley
75515b4939 Bug 689884 - Deleted the now unused Makefiles from the tree; r=khuey 2011-10-06 17:15:07 +01:00
Peter Van der Beken
c5e3434613 Fix for bug 658632 (Provide easy way to add non-leaky classinfo to JS components). r=gavin. 2011-05-25 10:46:51 +02:00
Robert Kaiser
c14a721ced bug 600244 - Some cleanups in search and sidebar code found by SeaMonkey's OpenSearch work, r=gavin 2011-05-23 22:14:21 +02:00
Marco Bonardo
b7a30e727f Bug 524091 - Remove microsummaries support. (Browser changes) 2011-04-26 14:24:57 +02:00
Asaf Romano
89c7fa829f Bug 562998 - Selecting commands from a bookmarks context menu while the window isn't active does nothing.
r=mak a=blocker
2011-01-28 17:46:51 +01:00
Marco Bonardo
8c6290ae5e Backed out changeset dd398fdba56f due to permaorange 2011-01-22 02:44:33 +01:00
Asaf Romano (Mano)
3aefbc82bc Bug 562998 - Selecting commands from a bookmarks context menu while the window isn't active does nothing. r=mak. a=blocker. 2011-01-22 02:39:39 +02:00
Dão Gottwald
a31e6cc107 Bug 587901 - test and nsSidebar.js fixes. r+a=dolske 2010-09-08 15:30:44 +02:00
Kyle Huey
6e7f740077 Backed out changeset 1633907c75b7 2010-09-08 07:39:35 -04:00
Dão Gottwald
caaae9b2a4 Bug 587901 - Remove favicon from Location Bar and add indicator for sites without identity information. r+a=dolske 2010-09-08 09:47:49 +02:00
Benjamin Smedberg
1c52097d6a Fix review comments from bug 568691 comment 45. 2010-06-24 11:56:28 -04:00
Benjamin Smedberg
4eb44d9d34 Bug 568691 - Convert existing JS components to use NSGetFactory and add manifest files for them. In a followup we will link the .manifest files together at packaging time. This patch was developed on Linux: Windows and Mac may require additional changes. 2010-06-22 12:59:15 -04:00
Benjamin Smedberg
27bd95f35a Bug 573557 - Rename the category names for script globals to avoid spaces, r=jst 2010-06-21 16:57:44 -04:00
Gavin Sharp
25786b6975 Bug 550290: addSearchEngine/AddSearchProvider icon validity check is bogus, r=Ryan 2010-03-23 17:23:45 -04:00
Gavin Sharp
46b164101c Update MSDN reference in a comment 2009-11-23 09:38:54 -05:00
Johnathan Nightingale
a33e46d343 Don't try to load favicon.ico for error pages. b=453442 r=gavin 2008-10-21 16:02:26 -04:00
Neil Deakin
085fdb74be Bug 444735, move search service to toolkit, r=gavin 2008-09-13 17:01:14 -04:00
Serge Gautherie
aed0b5dbfb Bug 445753 - "Rewrite" <nsSidebar.js> |function srGetStrBundle()|; Bv2-FF; r=gavin.sharp 2008-09-06 18:56:23 +02:00
93b09ca5b2 Bug 384370 - use JSON as the on disk, lossless format for our bookmark backup (r=mano) 2008-03-13 12:25:49 -07:00
b1849d036b Backing out test of bug 384370 2008-03-10 10:49:31 -07:00
2571ebe699 Bug 384370 - test perf run (r=mano) 2008-03-10 09:41:52 -07:00
0781141317 backing out test checkin of bug 384370 2008-03-04 14:12:27 -08:00
6da087308d TESTING - temp checkin of bug 384370 (r=mconnor) 2008-03-04 13:23:04 -08:00
5d455b7439 backing out test patch for bug 384370 2008-03-04 12:04:14 -08:00
bb3c05808d Bug 384370 ? use JSON as the on disk, lossless format for our bookmark backup - TESTING (r=mconnor) 2008-03-04 11:50:18 -08:00
6bb7b53329 backing out, broke when unrotting 2008-03-04 11:43:35 -08:00