Commit graph

86 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
Neil Rashbrook
59c6bdf20a Bug 856571 Move accesskey for Error Console's filter box back r=dao 2013-04-03 16:31:41 +01:00
Cykesiopka
9c0ce0bbe9 Bug 799089 - Remove error console filter timeout hack. r=Neil 2013-04-01 10:37:50 -04:00
Cykesiopka
449f238220 Bug 801266 - Add label next to Error Console's filter box. r=dao 2013-03-27 13:56:40 -04:00
Cykesiopka
57cb3eedab Bug 800522 - Add javascript.options.showInConsole to all.js so that Error Console can use a field instead of rolling its own lazy getter. r=Neil 2013-03-27 11:49:02 -04:00
Jared Wein
26a7fd81d2 Bug 841712 - Copy in Error Console has shows source code instead of line number. r=neil 2013-02-15 20:17:59 -05:00
Ehsan Akhgari
565d0479c3 Bug 817477 - Remove support for global private browsing mode; r=jdm,glandium
--HG--
rename : browser/app/profile/extensions/testpilot@labs.mozilla.com/modules/setup.js.in => browser/app/profile/extensions/testpilot@labs.mozilla.com/modules/setup.js
rename : browser/app/profile/extensions/testpilot@labs.mozilla.com/modules/tasks.js.in => browser/app/profile/extensions/testpilot@labs.mozilla.com/modules/tasks.js
2013-01-29 13:12:13 -05:00
Jared Wein
99da92f7f2 Bug 831020 - Errors in the error console with very long reference lines hang the browser. r=neil
--HG--
extra : rebase_source : ac09c6d4bad6eff76691a950f1ec7d5d8b342cfc
2013-01-23 13:10:07 -05:00
Seth Fowler
bdefff8819 Bug 796179 - Don't store full source URI in an attribute in the error console, and display it in abbreviated form to the user. r=rcampbell r=Neil 2012-11-12 11:50:03 -08:00
Neil Rashbrook
cd349de7a0 Bug 664695 Improve signature of nsIConsoleService::GetMessageArray r=bsmedberg r=msucan 2012-11-03 10:59:29 +00:00
Ryan VanderMeulen
f1d654c74a Backout 06b998c1100d (bug 664695) due to mochitest-other orange. 2012-11-02 17:12:22 -04:00
Neil Rashbrook
958b1668fa Bug 664695 Improve signature of nsIConsoleService::GetMessageArray r=bsmedberg 2012-11-02 20:07:50 +00:00
Andres Hernandez
8fbf84fbd1 Bug 769298 - Avoid logging script errors coming from private windows in the global error console 2012-10-19 15:52:21 -06:00
Josh Matthews
622cda9c90 Backed out changeset 12002e126b39 (bug 769298) 2012-10-18 17:27:23 -04:00
Andres Hernandez
a84d1976b8 Bug 769298 - Avoid logging script errors coming from private windows in the global error console 2012-10-18 00:24:56 -06:00
aceman
992089ad4c Bug 711723 - Move the timestamp in the Error console to the left and on the same line as message text. r=Neil 2012-10-11 21:31:38 -04:00
aceman
0473e91d29 Bug 799653 - Convert Error console to Services.jsm. r=gavin 2012-10-10 21:11:15 -04:00
Dão Gottwald
d1ebfd9bf4 Bug 799084 - Error console filter shouldn't be applied on input. r=neil 2012-10-10 22:31:01 +02:00
Dão Gottwald
9864f7abc2 Bug 799081 - Bar at the bottom of the error console should be a <statusbar>. r=neil 2012-10-10 22:30:36 +02:00
Tom Schuster
9f5f31c48f Bug 763821 - Move the filter box to the bottom of the error console. r=jaws 2012-10-07 20:56:11 -04: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
Tom Schuster
4a31f5f99a Bug 764346 - Let Error Console filter match more properties like source, line. r=jaws 2012-06-19 17:24:58 +02:00
Geoff Lankow
69d009f43b Bug 764333 - Link from error console to view source doesn't work for errors in subscripts; r=Unfocused 2012-06-14 21:20:06 +12:00
Tom Schuster
518498d657 Bug 760951 - Add a filter box to the error console. r=jaws 2012-06-07 17:22:34 +02:00
Gervase Markham
82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Vivien Nicolas
6e4eabd1a0 Bug 748895 - Error message if an error message arrived after the destruction of the console binding. r=enndeakin 2012-05-04 20:05:40 +02:00
aceman
64127191a0 Bug 122213 - Display time and date of messages in toolkit's Error Console. r=neil sr=bz 2011-12-17 05:22:26 +01:00
Gavin Sharp
71bec71c28 Bug 574137: move HUDService styling to toolkit/themes, avoid setting incorrect class names on toolbar buttons, and remove toolbar style rules that conflict with the browser styling, r=dao
--HG--
rename : toolkit/components/console/content/headsUpDisplay.css => toolkit/themes/pinstripe/global/headsUpDisplay.css
rename : toolkit/components/console/content/headsUpDisplay.css => toolkit/themes/winstripe/global/headsUpDisplay.css
extra : rebase_source : f99848fa59b700ed1503fddd9a08a4f34c3c8cb4
2010-06-24 20:16:35 -04:00
David Dahl
ec01039c36 Bug 573845 - open the console to a percentage of the browser window height, p=ddahl, r=dietrich 2010-06-23 12:30:51 -03:00
ddahl@mozilla.com
1bdc5063ba Bug 534398 - Implement Heads Up Display console, js workspaces and related tools (r=dietrich, r=mrbkap) 2010-06-22 09:51:50 -07:00
Dão Gottwald
b5aa8e5c8e Bug 571567 - use <menupopup> instead of <popup>. r=enn 2010-06-22 08:34:21 +02:00
L. David Baron
4f326572eb Backed out changeset b805434e7e4b (bug 534398) for causing leaks on (debug) mochitest-other. 2010-06-19 14:15:27 -07:00
ddahl@mozilla.com
6c7df266c9 Bug 534398 - Implement Heads Up Display console, js workspaces and related tools (r=dietrich, r=mrbkap) 2010-06-19 13:17:44 -07:00
Dietrich Ayala
9acce0dbb6 Backed out changeset 552ea4bd4e59 2010-06-18 16:21:43 -07:00
ddahl@mozilla.com
55daefa7ae Bug 534398 - Implement Heads Up Display console, js workspaces and related tools (r=dietrich, r=mrbkap) 2010-06-18 16:18:16 -07:00
Neil Deakin
69bd6c8514 Bug 478416, replace chromedir attribute with :moz-locale-dir pseudoclass, r=neil,dao,dbaron,sr=dbaron 2009-07-29 14:33:53 -04:00
Michael Kaply
15adadc7e7 Bug 329882 - "bc has no properties console.js" [r=benjamin] 2009-06-14 01:32:45 -07:00
Ehsan Akhgari
fc1c78bb6c Bug 479588 - Error console's text box should always be LTR; r=dao 2009-03-09 00:42:21 +03:30
Markus Stange
95ab47758c Bug 456214 - Polish toolbar buttons in the Add-ons Manager, Page Info dialog and Error Console, r=dao 2008-12-04 14:36:24 +01:00
Markus Stange
9467c5bb99 Bug 398928 - Allow moving a window by dragging toolbar or statusbar, r=enndeakin 2008-10-18 11:57:46 +02:00
Simon Bünzli
4acc767d3b Bug 331940 - Should be able to pass a line number to the external viewer/editor. r=gavin 2008-09-08 14:06:06 +02:00
rflint@ryanflint.com
d20af47344 Bug 364536 - Mac theme does not support RTL. r=mconnor, a=beltzner 2008-04-23 05:08:52 -07:00
reed@reedloden.com
20850172a7 Bug 418543 - "remove -moz-pre-wrap" [p=taken.spc@gmail.com (KUROSAWA, Takeshi) r+sr=roc a1.9=beltzner] 2008-03-08 01:44:35 -08:00
reed@reedloden.com
4b12e99c60 Bug 415901 - "Error console should respect line breaks in error messages" [p=trev.moz@adblockplus.org (Wladimir Palant) r=gavin a1.9=damons] 2008-02-26 01:54:42 -08:00
dbaron@dbaron.org
8fd7da34e4 Fix places where XUL was using display:inline to avoid block-wrapping. b=321402 r=mconnor, r+sr=roc, a=blocking1.9+/M9 2007-10-25 16:29:24 -07:00
reed@reedloden.com
8580de2744 Bug 396176 - "Make change in viewSource() due to Bug 382074 backward compatible" [p=philip.chee@gmail.com (Philip Chee) r=Mano a1.9=mconnor] 2007-09-17 18:07:14 -07:00
neil@parkwaycc.co.uk
20b0394d68 Make the Error Console easier to overlay b=335383 r=gavin 2007-08-20 12:56:17 -07:00