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
Neil Rashbrook
0c05219cd6 Bug 856571 Move accesskey for Error Console's filter box back r=dao 2013-04-03 16:31:41 +01:00
Cykesiopka
53fdbee4d9 Bug 799089 - Remove error console filter timeout hack. r=Neil 2013-04-01 10:37:50 -04:00
Cykesiopka
652f83a569 Bug 801266 - Add label next to Error Console's filter box. r=dao 2013-03-27 13:56:40 -04:00
Cykesiopka
abe8299b01 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
b2ae6ae8ea 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
84c4ac3c75 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
8fb07dcf1a 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
b941b23366 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
8cdc6abc40 Bug 664695 Improve signature of nsIConsoleService::GetMessageArray r=bsmedberg r=msucan 2012-11-03 10:59:29 +00:00
Ryan VanderMeulen
e3feaeecef Backout 06b998c1100d (bug 664695) due to mochitest-other orange. 2012-11-02 17:12:22 -04:00
Neil Rashbrook
7464774f68 Bug 664695 Improve signature of nsIConsoleService::GetMessageArray r=bsmedberg 2012-11-02 20:07:50 +00:00
Andres Hernandez
e456defc7f 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
17184e0206 Backed out changeset 12002e126b39 (bug 769298) 2012-10-18 17:27:23 -04:00
Andres Hernandez
5714d9cba9 Bug 769298 - Avoid logging script errors coming from private windows in the global error console 2012-10-18 00:24:56 -06:00
aceman
3ce83b934d 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
830e625697 Bug 799653 - Convert Error console to Services.jsm. r=gavin 2012-10-10 21:11:15 -04:00
Dão Gottwald
61ab0e9907 Bug 799084 - Error console filter shouldn't be applied on input. r=neil 2012-10-10 22:31:01 +02:00
Dão Gottwald
466ec6b554 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
ece5ba8393 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
45fe6d3ae2 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
0c34361ca7 Bug 758354 Stop unnecessarily preprocessing chrome r=dolske 2012-06-26 00:11:16 +01:00
Ed Morley
58e896dd49 Backout ec9451e9e830 (bug 758354) for PGO linux permaorange in browser_bug422590.js and friends 2012-06-25 19:14:43 +01:00
Neil Rashbrook
7e7b835fdc Bug 758354 Stop unnecessarily preprocessing chrome r=dolske 2012-06-25 09:24:49 +01:00
Tom Schuster
7875261dcc Bug 764346 - Let Error Console filter match more properties like source, line. r=jaws 2012-06-19 17:24:58 +02:00
Geoff Lankow
c9abe81f0d 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
83d944891a Bug 760951 - Add a filter box to the error console. r=jaws 2012-06-07 17:22:34 +02:00
Gervase Markham
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Vivien Nicolas
17ba9e143b 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
e03bb0b7ab 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
ef1133a3ca 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
be8e38decd 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
e5228a3af6 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
d00035f67a Bug 571567 - use <menupopup> instead of <popup>. r=enn 2010-06-22 08:34:21 +02:00
L. David Baron
bc720ca632 Backed out changeset b805434e7e4b (bug 534398) for causing leaks on (debug) mochitest-other. 2010-06-19 14:15:27 -07:00
ddahl@mozilla.com
1ac23e36fe 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
77c9676f7c Backed out changeset 552ea4bd4e59 2010-06-18 16:21:43 -07:00
ddahl@mozilla.com
074dbc6c09 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
5303f25260 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
cd4e1aa7d8 Bug 329882 - "bc has no properties console.js" [r=benjamin] 2009-06-14 01:32:45 -07:00
Ehsan Akhgari
cec7bfadfe Bug 479588 - Error console's text box should always be LTR; r=dao 2009-03-09 00:42:21 +03:30
Markus Stange
5a0af206f8 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
24c418dbdf Bug 398928 - Allow moving a window by dragging toolbar or statusbar, r=enndeakin 2008-10-18 11:57:46 +02:00
Simon Bünzli
e5ebc38a43 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
38272d59b0 Bug 364536 - Mac theme does not support RTL. r=mconnor, a=beltzner 2008-04-23 05:08:52 -07:00
reed@reedloden.com
5e3b4d1415 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
0e517d7826 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
a31002bcc6 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
6fe03ffba7 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
7bc5beb0c0 Make the Error Console easier to overlay b=335383 r=gavin 2007-08-20 12:56:17 -07:00