Commit Graph

88 Commits

Author SHA1 Message Date
Jim Blandy
7e20285e70 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
b344638c9b Bug 983920 - Port window.sidebar and window.external to WebIDL; r=bzbarsky 2014-03-28 00:03:03 -04:00
Ms2ger
6f877caab6 Bug 887012 - Remove some emptyish makefiles; r=gps 2013-07-01 09:02:32 +02:00
Joey Armstrong
8101528304 bug 870370: move EXTRA_COMPONENTS to moz.build (file batch #1). r=mshal 2013-06-10 11:30:03 -04:00
Gavin Sharp
76f9ea5129 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
72a717a860 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Kyle Machulis
43628a7867 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
334c0800cf 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
1b27561fa4 Bug 784841 - Part 18d: Convert /browser; r=gavin f=Ms2ger 2013-02-25 12:47:18 -08:00
Kyle Huey
0469a02b25 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
a78b5b38c7 Backout 67cb43bb8865: Breaks B2G Marionette 2012-10-31 16:35:11 +08:00
Kyle Huey
9a3674d80a 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
4144129728 Backout a145ded68994, e0cf397089ec & 1545e91c658e (bug 798491) for bustage on a CLOSED TREE 2012-10-30 17:02:31 +00:00
Kyle Huey
50b5d3f681 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
41c0955363 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
70d7c821af Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Gervase Markham
82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Ed Morley
7fa8d4d258 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
9f39880bda Bug 702081 - Add back the folder picker to bookmarks dialog missing it.
r=dietrich
2011-11-15 20:42:27 +01:00
Marco Bonardo
497654b074 Bug 700348 - fix showBookmarkDialog warnings.
r=dietrich
2011-11-11 22:39:26 +01:00
Ed Morley
2e4b1eb290 Backout changeset 8af101010da7 (bug 692130 bustage fix 1) 2011-10-07 01:36:01 +01:00
Ed Morley
2b3b987398 Backout changeset 94f2fa9f97b8 (bug 692130 bustage fix 3) 2011-10-07 01:28:56 +01:00
Matt Brubeck
2f6f494a53 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
58064ac2e6 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
e9329ec38b Bug 689884 - Deleted the now unused Makefiles from the tree; r=khuey 2011-10-06 17:15:07 +01:00
Peter Van der Beken
5cc319391d 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
d7d8204596 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
1c18ca7a5b Bug 524091 - Remove microsummaries support. (Browser changes) 2011-04-26 14:24:57 +02:00
Asaf Romano
3feff9871c 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
d65198066c Backed out changeset dd398fdba56f due to permaorange 2011-01-22 02:44:33 +01:00
Asaf Romano (Mano)
538a82b52e 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
0d50508fa8 Bug 587901 - test and nsSidebar.js fixes. r+a=dolske 2010-09-08 15:30:44 +02:00
Kyle Huey
6a7619752b Backed out changeset 1633907c75b7 2010-09-08 07:39:35 -04:00
Dão Gottwald
424cf2073f 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
4f8e7bcf17 Fix review comments from bug 568691 comment 45. 2010-06-24 11:56:28 -04:00
Benjamin Smedberg
31432df1fb 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
09db74cdec Bug 573557 - Rename the category names for script globals to avoid spaces, r=jst 2010-06-21 16:57:44 -04:00
Gavin Sharp
3f378a44cc 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
dded2d11a0 Update MSDN reference in a comment
--HG--
extra : rebase_source : 09bd40f3ce1df2e76190880efce35c76aa662e30
2009-11-23 09:38:54 -05:00
Johnathan Nightingale
2da76c54d7 Don't try to load favicon.ico for error pages. b=453442 r=gavin 2008-10-21 16:02:26 -04:00
Neil Deakin
01d18dd2de 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
1d2dd58d9e Bug 445753 - "Rewrite" <nsSidebar.js> |function srGetStrBundle()|; Bv2-FF; r=gavin.sharp 2008-09-06 18:56:23 +02:00
dietrich@mozilla.com
c9d5644c22 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
8d6ce95d83 Backing out test of bug 384370 2008-03-10 10:49:31 -07:00
dietrich@mozilla.com
188566b7bf Bug 384370 - test perf run (r=mano) 2008-03-10 09:41:52 -07:00
dietrich@mozilla.com
afe04b3027 backing out test checkin of bug 384370 2008-03-04 14:12:27 -08:00
dietrich@mozilla.com
ee6f5ace1d TESTING - temp checkin of bug 384370 (r=mconnor) 2008-03-04 13:23:04 -08:00
dietrich@mozilla.com
b0a4177e66 backing out test patch for bug 384370 2008-03-04 12:04:14 -08:00
dietrich@mozilla.com
baff8051e9 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
e49a6df6f9 backing out, broke when unrotting 2008-03-04 11:43:35 -08:00