Commit Graph

56 Commits

Author SHA1 Message Date
Birunthan Mohanathas
fe337d7c5e Bug 1166840 - Remove unused document argument in uses of nsIClipboardHelper.copyString. r=ehsan 2015-05-21 21:49:30 +01:00
Tim Nguyen
cfe6efd40c Bug 1132950 - Don't keep showing sort arrow on a column if another column is selected. r=jaws 2015-02-14 10:41:00 +01:00
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
Neil Rashbrook
4d6415bcfb 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
Trevor Saunders
fdf2a869ea bug 407956 - make nsITreeView not take a nsISupportsArray* r=neil, bz sr=neil 2013-01-06 19:54:42 -05:00
Florian Quèze
2ab127f2bd 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
Ehsan Akhgari
f4bd388765 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
3f194429dd Bug 758354 Stop unnecessarily preprocessing chrome r=dolske 2012-06-26 00:11:16 +01:00
Ed Morley
4bd90ea948 Backout ec9451e9e830 (bug 758354) for PGO linux permaorange in browser_bug422590.js and friends 2012-06-25 19:14:43 +01:00
Neil Rashbrook
d9a10be7eb Bug 758354 Stop unnecessarily preprocessing chrome r=dolske 2012-06-25 09:24:49 +01:00
Gervase Markham
cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Johan Charlez
fa03a684df 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
bd62801033 Bug 738568 - remove Services.prefs.getBranch(null) occurences. r=gavin 2012-03-29 11:48:40 +02:00
Phil Ringnalda
941a3ed11c 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
5b045964d6 Bug 738568 - Remove Services.prefs.getBranch(null) occurences in Toolkit. r=gavin 2012-03-28 21:00:14 -04:00
Gavin Sharp
596779abed backout 110452fddc2a (bug 738568) since it broke viewsource 2012-03-27 18:06:10 -07:00
aceman
7684f16e43 Bug 738568 - Remove Services.prefs.getBranch(null) occurences in Toolkit. r=gavin 2012-03-27 19:17:35 -04:00
aceman
10ad76e9dc Bug 714606 - Use Services.prompt instead of gPromptService in Toolkit. r=mossop 2012-03-21 19:52:24 -04:00
Geoff Lankow
ea30cec949 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
8f4a1bd796 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
Boris Zbarsky
a7fb4cc325 Bug 660233 part 1. Fix tests that assume UniversalXPConnect in otherwise-untrusted pages will get one nodePrincipal, documentURIObject, baseURIObject properties. r=mrbkap 2011-09-23 01:03:50 -04:00
Felix Fung
bfc4d50f2c 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
75816dd139 Bug 239533 - Add URL parameter support to about:config. r=gavin 2011-08-04 09:05:29 +02:00
Dão Gottwald
f421c339f8 Bug 664673 - properly declare arrayIndex. r=neil 2011-06-16 12:50:56 +02:00
Adam Dane [:hobophobe]
f32bdd4923 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
Mehdi Mulani
b7cdbeeaf8 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
Smokey Ardisson
2bde1b809d 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
Dão Gottwald
9ed8c58506 Bug 524270 - Make the second getChildList parameter optional. r=bsmedberg 2009-10-26 21:02:06 +01:00
Steffen Wilberg
ce5a8b133a In about:config, make accel+f focus the filter box instead of invoking the find bar; r=neil 2008-10-11 03:10:48 +02:00
Steffen Wilberg
8146baa863 Bug 449669 - use the new search textbox binding in about:config. r=mano 2008-09-07 17:57:24 +02:00
Simon Bünzli
563c28c4a0 Bug 440154 – about:config filter not applied after Firefox restarts. r=gavin 2008-07-12 11:03:30 +02:00
5b271b2626 Bug 308564 - No accessibility events when data in a tree row changes, r=evan.yan, olli.pettay, sr=jonas, a=mtschrep 2008-02-08 04:55:57 -08:00
9c471d49f1 Bug 323821: improve about:config filtering performance by ignoring leading asterisks, patch by Simon Bünzli <zeniko@gmail.com>, r=me 2007-08-12 07:06:12 -07:00
960dfd1ef3 New integer pref dialog that only accepts valid input. b=383009 r=neil@httl.net 2007-06-08 02:52:50 -07:00
d5af39cbb6 Bug 289136: remove lock/unlock pref menu items from about:config, r=mconnor 2007-05-22 12:48:05 -07:00
asqueella@gmail.com
499176d9ec bug 369613 - Error: entry has no properties in chrome://global/content/config.js when filtering out all entries and right-clicking the empty space in about:config
r=gavin
2007-02-10 23:51:46 +00:00
neil@parkwaycc.co.uk
bfab62c631 Support copying from about:config using the browser's Edit/Copy and the Accel+C shortcut as well as the context menu b=239940 r=mats,mano 2007-02-01 13:13:51 +00:00
mats.palmgren@bredband.net
143fd65b30 Add a "Copy" context menu item that copies pref name and value in about:config list. b=239940 (part 1) r+sr=neil@httl.net 2007-01-26 20:51:12 +00:00
cst@yecc.com
926a22aacb Bug 339720 show warning page before showing about:config (toolkit version)
r=mano
2006-12-05 00:15:22 +00:00
Jan.Varga@gmail.com
d01057539c Fix for bug 296040. Cell-based selection in trees
r=Neil Deakin, sr=Neil Rashbrook, sponsored by BEToptions
2006-06-06 20:05:13 +00:00
bugzilla@standard8.demon.co.uk
2b95a325a3 Bug 336894 Get rid of window title hacks in toolkit's about:config. r=mconnor 2006-05-25 16:17:01 +00:00
gerv@gerv.net
a5f5b5628f Bug 236613: change to MPL/LGPL/GPL tri-license. 2005-12-31 16:02:07 +00:00
gavin@gavinsharp.com
eebbdfa9f8 Bug 213832: about:config filtering enhancement: search for status/type/value and allow wildcards, patch by Christian Franke <Franke@computer.org>, r=neil+mconnor, 2005-12-28 03:02:25 +00:00
aaronleventhal@moonset.net
3ea7fd82c2 Bug 291074. Fire namechange events for about:config tree items that change. r=mconnor, sr=neil 2005-09-14 16:58:29 +00:00
gavin@gavinsharp.com
8d36a876a4 Bug 300963: about:config allows creation of prefs with no name, r+sr=Neil, a=bsmedberg 2005-07-19 20:37:26 +00:00
bsmedberg@covad.net
e011d3f237 Bug 281414 - global s/nsIPrefBranchInternal/nsIPrefBranch2/ rs=darin (did not change backwards-compatible code in extensions/irc extensions/venkman or extensions/inspector) 2005-02-25 20:46:35 +00:00
ben@bengoodger.com
210147bf5a 274712 - new options dialog 2005-02-25 09:07:58 +00:00
steffen.wilberg@web.de
14da6038ba Bug 272555: invisible prefs in about:config. fix by backing out the branch landing, which restores the trunk-only changes from bug 221619. 2004-12-01 12:26:49 +00:00
ben@bengoodger.com
5003aacad6 Landing the Aviary Branch (Toolkit sections excluding toolkit/content). 2004-11-30 22:54:13 +00:00
steffen.wilberg@web.de
5440fdaa93 (Seamonkey port) Bug 191410 - modifying bool prefs in about:config should not let the user type a value in. Original patch by neil@parkwaycc.co.uk (with r=caillon, sr=sspitzer). a=mconnor 2004-07-26 17:07:11 +00:00