Граф коммитов

91 Коммитов

Автор SHA1 Сообщение Дата
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
Masayuki Nakano a183cc5385 Bug 969247 part.1 Remove or replace DOM_VK_ENTER and NS_VK_ENTER users r=smaug 2014-02-15 09:57:39 +09:00
Marco Zehe 1af9b460c9 Bug 968111 - Fix various accessibility markup issues in Toolkit XUL files, r=da0 2014-02-05 17:33:43 +01:00
Neil Rashbrook 6dfe1881c1 Bug 284673 Followup to bug 913734 to remove sepcial handling for now-removed now-unused policy machinery from about:config r=gavin 2014-01-22 21:38:57 +00:00
Gregory Szorc e396fc159d Bug 774572 - Part 2: Define JAR_MANIFESTS in moz.build files; r=glandium
Every directory with a jar.mn now has JAR_MANIFESTS defined in its
moz.build file.

We also removed the may_skip special consideration of jar.mn files
because this information is now available during tier traversal by the
reader courtesy of the variables being present in moz.build files.

--HG--
extra : rebase_source : 21049b15e6bd9cf65b0805ccaccc4ba5aae93c98
extra : amend_source : 0b1ea866d725beef92d37c6f6d475369ac002e19
2013-12-10 16:18:11 +09: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 7d09ff18e0 Bug 844635 - Part 3: Remove empty Makefile.in files; r=glandium 2013-03-17 18:01:25 -07:00
Trevor Saunders 254bffb739 bug 407956 - make nsITreeView not take a nsISupportsArray* r=neil, bz sr=neil 2013-01-06 19:54:42 -05:00
Gregory Szorc 2f9c3f619e Bug 784841 - Part 18θ: Convert /toolkit f=Mossop, Ms2ger; rs=ted 2013-02-25 13:19:09 -08:00
Florian Quèze ac16a54298 Bug 771084 - JavaScript Warning: 'TypeError: function FilterPrefs does not always return a value' in chrome://global/content/config.js, r=dao. 2013-02-15 09:00:50 +01:00
Mike Hommey 70d7c821af Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Ehsan Akhgari f4b598bf08 Bug 722872 - Part 1: Add nsITransferable::Init(nsILoadContext*), enforce that it's called in debug builds, and add nsIDOMDocument* arguments to nsIClipboardHelper methods; r=roc
This patch does the following:

* It adds nsITransferable::Init(nsILoadContext*).  The load context
  might be null, which means that the transferable is non-private, but
  if it's non-null, we extract the boolean value for the privacy mode
  and store it in the transferable.
* It adds checks in debug builds to make sure that Init is always
  called, in form of fatal assertions.
* It adds nsIDOMDocument* agruments to nsIClipboardHelper methods which
  represent the document that the string is coming from.
  nsIClipboardHelper implementation internally gets the nsILoadContext
  from that and passes it on to the transferable upon creation.  The
  reason that I did this was that nsIClipboardHelper is supposed to be a
  high-level helper, and in most of its call sites, we have easy access
  to a document object.
* It modifies all of the call sites of the above interfaces according to
  this change.
* It adds a GetLoadContext helper to nsIDocument to help with changing
  the call sites.
2012-04-16 22:14:01 -04:00
Neil Rashbrook eaedd546e8 Bug 758354 Stop unnecessarily preprocessing chrome r=dolske 2012-06-26 00:11:16 +01:00
Ed Morley f58ad725ea Backout ec9451e9e830 (bug 758354) for PGO linux permaorange in browser_bug422590.js and friends 2012-06-25 19:14:43 +01:00
Neil Rashbrook aee62bb4bd Bug 758354 Stop unnecessarily preprocessing chrome r=dolske 2012-06-25 09:24:49 +01:00
Gervase Markham 82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Johan Charlez 948cef81e5 Bug 562640 - Error: view.selection is null when undo close tab of about:config. r=mossop 2012-05-04 22:46:35 -04:00
aceman d2a90f50d5 Bug 738568 - remove Services.prefs.getBranch(null) occurences. r=gavin 2012-03-29 11:48:40 +02:00
Phil Ringnalda 9b1872fcc9 Back out 0cb85ff0f764 (bug 738568), 9949bb092303 (bug 730209), 095fd525afa7 (bug 729924), dcf8929a8115 (bug 633602) because of widely scattered and unclear bustage on a CLOSED TREE 2012-03-28 22:37:46 -07:00
aceman 36a12e41b8 Bug 738568 - Remove Services.prefs.getBranch(null) occurences in Toolkit. r=gavin 2012-03-28 21:00:14 -04:00
Gavin Sharp 6bae99c0d1 backout 110452fddc2a (bug 738568) since it broke viewsource 2012-03-27 18:06:10 -07:00
aceman 8e811fc635 Bug 738568 - Remove Services.prefs.getBranch(null) occurences in Toolkit. r=gavin 2012-03-27 19:17:35 -04:00
aceman 7791195812 Bug 714606 - Use Services.prompt instead of gPromptService in Toolkit. r=mossop 2012-03-21 19:52:24 -04:00
Geoff Lankow a825a1156c Bug 718255 - Merge nsIPrefBranch2 with nsIPrefBranch - Part C, remove uses of nsIPrefBranch2 in toolkit/ ; r=bsmedberg 2012-01-17 14:18:29 +13:00
Tobias Markus bf6c436b0b Bug 712698 - view.selection is null in error console when starting Firefox with about:config in a tab. r=Mossop 2011-12-21 19:37:20 +01:00
aceman 7c6a6339fd Bug 502492 - Change about:config text box label to Search:. r=dtownsend ui-r=limi 2011-11-26 14:07:52 +01:00
Boris Zbarsky 5bd5d4d6c7 Bug 660233 part 1. Fix tests that assume UniversalXPConnect in otherwise-untrusted pages will get one nodePrincipal, documentURIObject, baseURIObject properties. r=mrbkap
--HG--
rename : dom/tests/mochitest/bugs/test_bug396843.html => dom/tests/browser/browser_bug396843.js
2011-09-23 01:03:50 -04:00
Felix Fung 57425932cf Bug 675794 - about:config must trim whitespace from the name for a new alphanumeric; r=gavin.sharp f=margaret 2011-09-20 17:20:51 +01:00
Jezreel Ng c53c4339ff Bug 239533 - Add URL parameter support to about:config. r=gavin 2011-08-04 09:05:29 +02:00
Dão Gottwald 58a69a2ecf Bug 664673 - properly declare arrayIndex. r=neil
--HG--
extra : rebase_source : 1289e8c8e4ac0bfe5d3131f8ef7c271916782f8b
2011-06-16 12:50:56 +02:00
Adam Dane [:hobophobe] 191214497c bug 619356 - About:config not refreshed when prefs changed, if filter active and sorted by 'status' column, r=neil 2011-06-06 16:53:05 -05:00
Dave Townsend 900e16f795 Bug 569342: Find bar should not be enabled in about:addons. r=gavin, a=blocks-final 2011-01-11 13:33:51 -08:00
Dão Gottwald 316e4b953b Bug 605089 - Remove uses of the sortDirectionIndicator class. r=enn 2010-10-21 10:15:04 +02:00
David Bolter 314b37831e Bug 600860 - Add application role to distinguish our more interactive xul pages; r=enndeakin,marco.zehe a=dtownsend 2010-10-07 13:37:28 -04:00
Mehdi Mulani 7a513e4f29 Bug 251431: about:config doesn't show new prefs while filter is applied. r=neil, a=sdwilsh 2010-08-23 10:23:54 -07:00
Dão Gottwald b5aa8e5c8e Bug 571567 - use <menupopup> instead of <popup>. r=enn 2010-06-22 08:34:21 +02:00
Smokey Ardisson b04ac54ae5 Bug 552596 - about:config's integer validation code is not embedding-friendly, so replace toolkit validation code with embedding-friendly version from a former life in XPFE. r=neil@parkwaycc.co.uk 2010-06-15 22:31:33 -04:00
Dave Townsend 4b118a2a49 Backed out changeset 33760547ecf7 from bug 569342 to fix the test failure. 2010-06-08 11:20:32 -07:00
Dave Townsend 060d9c9c4d Bug 569342: Find bar should not be enabled in about:addons. r=gavin 2010-06-07 09:31:48 -07:00
Steffen Wilberg 4176601b9a Bug 282127: Highlight odd tree rows in trees with multiple columns in Gnomestripe and Pinstripe. Implement and use ::-moz-tree-row(multicol). ui-review=faaborg, r=enndeakin 2010-05-12 20:25:48 +02:00
Markus Stange ce43fce6d9 Bug 558059 - Make the search field on about:config a little wider and put the flex attribute back. ui-r=faaborg, r=dao
--HG--
extra : rebase_source : 7f28a0478eccf7bbf0496981d240420e0882e63f
2010-04-19 16:13:54 +02:00
rbs@maths.uq.edu.au c57f5cef9b Bug 251843: Add alternating background to about:config. r=mconnor 2010-04-18 09:26:31 +02:00
Markus Stange 9396ff4e39 Bug 466642 - Style about:config on OS X. ui-r=faaborg, r=dao 2010-02-20 12:07:31 +01:00
Dão Gottwald b6e71f34a2 Bug 524270 - Make the second getChildList parameter optional. r=bsmedberg 2009-10-26 21:02:06 +01:00
Serge Gautherie 8fed730f3d Bug 442577 - Convert toolkit application/x-javascript to application/javascript (take 2); (Av1) Just do it
r=gavin.sharp
2009-10-13 15:16:08 +02:00
Dão Gottwald fa2d980aa0 Bug 488006 - cocoa-size="small" should be a platform-independent class instead. r=enn 2009-04-13 19:40:00 +02:00
Atsushi Sakai fba2618bd9 Bug 484325 - The button in about:config's warning can't be displayed if the window is narrow. r=dao 2009-03-22 09:58:15 +01:00
Marco Zehe 1799cbdffc bug 469367 - Add ARIA semantics to those search widget types that don't have a Search button, r=dao, r=surkov 2009-02-02 10:38:53 +01:00