Commit Graph

60 Commits

Author SHA1 Message Date
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
Ehsan Akhgari
0f3af82c2d Bug 983920 - Port window.sidebar and window.external to WebIDL; r=bzbarsky 2014-03-28 00:03:03 -04:00
Ms2ger
032d1cbb66 Bug 887012 - Remove some emptyish makefiles; r=gps 2013-07-01 09:02:32 +02:00
Joey Armstrong
fbe62ceada bug 870370: move EXTRA_COMPONENTS to moz.build (file batch #1). r=mshal 2013-06-10 11:30:03 -04:00
Gavin Sharp
a9d62819ea Bug 691647 Part 2: remove Firefox Desktop implementation of removed nsISidebar methods. r=dolske
--HG--
extra : rebase_source : 7981dd516a4098d7ebc85b9c406163d30d4ebac3
2013-04-08 19:23:56 -07: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
Gregory Szorc
758d7a8978 Bug 784841 - Part 18d: Convert /browser; r=gavin f=Ms2ger 2013-02-25 12:47:18 -08: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
Andres Hernandez
fd33841755 Bug 325901 - fix unnecessarily preprocessed files in browser/, r=gavin
--HG--
extra : rebase_source : cc42d98604e38528f3bc9941dce4f15ec8ad5d67
2012-08-10 14:20:25 -06:00
Mike Hommey
6173fa297f Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Gervase Markham
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Ed Morley
ffe1986b9b Bug 692625 - Move browser/components/sidebar/src/ to browser/components/sidebar/; r=gavin
--HG--
rename : browser/components/sidebar/src/Makefile.in => browser/components/sidebar/Makefile.in
rename : browser/components/sidebar/src/nsSidebar.js => browser/components/sidebar/nsSidebar.js
rename : browser/components/sidebar/src/nsSidebar.manifest => browser/components/sidebar/nsSidebar.manifest
2011-12-16 09:11:21 +00:00
Marco Bonardo
9d3a1947c9 Bug 702081 - Add back the folder picker to bookmarks dialog missing it.
r=dietrich
2011-11-15 20:42:27 +01:00
Marco Bonardo
1a2d6e25f7 Bug 700348 - fix showBookmarkDialog warnings.
r=dietrich
2011-11-11 22:39:26 +01:00
Ed Morley
1fa79bf497 Backout changeset 8af101010da7 (bug 692130 bustage fix 1) 2011-10-07 01:36:01 +01:00
Ed Morley
93293ad661 Backout changeset 94f2fa9f97b8 (bug 692130 bustage fix 3) 2011-10-07 01:28:56 +01:00
Matt Brubeck
4d12754bf1 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
76970eef80 Bug 689884 followup: get rid of unneeded "src" directory (and fix inbound bustage)
--HG--
rename : browser/components/sidebar/src/Makefile.in => browser/components/sidebar/Makefile.in
rename : browser/components/sidebar/src/nsSidebar.js => browser/components/sidebar/nsSidebar.js
rename : browser/components/sidebar/src/nsSidebar.manifest => browser/components/sidebar/nsSidebar.manifest
extra : rebase_source : 7c43e658d8e72f10a1808846690c364a7dcae22e
2011-10-06 14:30:17 -07:00
Ed Morley
72ed7305fc Bug 689884 - Deleted the now unused Makefiles from the tree; r=khuey 2011-10-06 17:15:07 +01:00
Peter Van der Beken
ae44770a16 Fix for bug 658632 (Provide easy way to add non-leaky classinfo to JS components). r=gavin.
--HG--
extra : rebase_source : 8463c6f8ba1f969278d4e33bfa08495fa3e36071
2011-05-25 10:46:51 +02:00
Robert Kaiser
da07d8c5a7 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
f59a88b6e0 Bug 524091 - Remove microsummaries support. (Browser changes) 2011-04-26 14:24:57 +02:00
Asaf Romano
f5a0fb447e 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
309ce70e5b Backed out changeset dd398fdba56f due to permaorange 2011-01-22 02:44:33 +01:00
Asaf Romano (Mano)
7581f75759 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
1706c20845 Bug 587901 - test and nsSidebar.js fixes. r+a=dolske 2010-09-08 15:30:44 +02:00
Kyle Huey
aec23b90fe Backed out changeset 1633907c75b7 2010-09-08 07:39:35 -04:00
Dão Gottwald
f25a5f88b0 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
6e8d912e32 Fix review comments from bug 568691 comment 45. 2010-06-24 11:56:28 -04:00
Benjamin Smedberg
5cab25b52b 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.
--HG--
rename : toolkit/components/filepicker/src/nsFilePicker.js.in => toolkit/components/filepicker/src/nsFilePicker.js
2010-06-22 12:59:15 -04:00
Benjamin Smedberg
ce1372d9d4 Bug 573557 - Rename the category names for script globals to avoid spaces, r=jst 2010-06-21 16:57:44 -04:00
Gavin Sharp
1e45040016 Bug 550290: addSearchEngine/AddSearchProvider icon validity check is bogus, r=Ryan
--HG--
extra : rebase_source : 5971de13c8049e69ea9d868ac4ebdfb7ffe3dc96
2010-03-23 17:23:45 -04:00
Gavin Sharp
06be724c33 Update MSDN reference in a comment
--HG--
extra : rebase_source : 09bd40f3ce1df2e76190880efce35c76aa662e30
2009-11-23 09:38:54 -05:00
Johnathan Nightingale
a05d4d377d Don't try to load favicon.ico for error pages. b=453442 r=gavin 2008-10-21 16:02:26 -04:00
Neil Deakin
f7f3593429 Bug 444735, move search service to toolkit, r=gavin
--HG--
rename : browser/components/search/nsIBrowserSearchService.idl => toolkit/components/search/nsIBrowserSearchService.idl
rename : browser/components/search/nsSearchService.js => toolkit/components/search/nsSearchService.js
rename : browser/components/search/nsSearchSuggestions.js => toolkit/components/search/nsSearchSuggestions.js
2008-09-13 17:01:14 -04:00
Serge Gautherie
86b2ef55a5 Bug 445753 - "Rewrite" <nsSidebar.js> |function srGetStrBundle()|; Bv2-FF; r=gavin.sharp 2008-09-06 18:56:23 +02:00
dietrich@mozilla.com
9b590e293e Bug 384370 - use JSON as the on disk, lossless format for our bookmark backup (r=mano) 2008-03-13 12:25:49 -07:00
dietrich@mozilla.com
bb02f4a736 Backing out test of bug 384370 2008-03-10 10:49:31 -07:00
dietrich@mozilla.com
ee727436aa Bug 384370 - test perf run (r=mano) 2008-03-10 09:41:52 -07:00
dietrich@mozilla.com
b4a8b029fa backing out test checkin of bug 384370 2008-03-04 14:12:27 -08:00
dietrich@mozilla.com
115cb33e21 TESTING - temp checkin of bug 384370 (r=mconnor) 2008-03-04 13:23:04 -08:00
dietrich@mozilla.com
7df26481c9 backing out test patch for bug 384370 2008-03-04 12:04:14 -08:00
dietrich@mozilla.com
6eada140a5 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
dietrich@mozilla.com
5ffe06b62c backing out, broke when unrotting 2008-03-04 11:43:35 -08:00