Commit Graph

65 Commits

Author SHA1 Message Date
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
Tom Schuster
fa5981d8bc Bug 764346 - Let Error Console filter match more properties like source, line. r=jaws 2012-06-19 17:24:58 +02:00
Geoff Lankow
25d09c3e64 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
92f7b5bd2a Bug 760951 - Add a filter box to the error console. r=jaws 2012-06-07 17:22:34 +02:00
Gervase Markham
cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Vivien Nicolas
8cc5af1825 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
e7f0a658cf 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
9b4c610329 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 2010-06-24 20:16:35 -04:00
David Dahl
e7330a6a6f 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
def7472070 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
53a30b9b4c Bug 571567 - use <menupopup> instead of <popup>. r=enn 2010-06-22 08:34:21 +02:00
L. David Baron
12aaccb6f5 Backed out changeset b805434e7e4b (bug 534398) for causing leaks on (debug) mochitest-other. 2010-06-19 14:15:27 -07:00
7154ad4f3f 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
f5faa27040 Backed out changeset 552ea4bd4e59 2010-06-18 16:21:43 -07:00
92d277bb1e 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
5cc1ab5ff7 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
a5cba96aeb Bug 329882 - "bc has no properties console.js" [r=benjamin] 2009-06-14 01:32:45 -07:00
Ehsan Akhgari
7c76c10e5f Bug 479588 - Error console's text box should always be LTR; r=dao 2009-03-09 00:42:21 +03:30
Markus Stange
ae446c27b8 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
5343c60877 Bug 398928 - Allow moving a window by dragging toolbar or statusbar, r=enndeakin 2008-10-18 11:57:46 +02:00
Simon Bünzli
29a0ed8442 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
624c87eedd Bug 364536 - Mac theme does not support RTL. r=mconnor, a=beltzner 2008-04-23 05:08:52 -07:00
fa9a9f2bc1 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
7713403af1 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
d6dc792297 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
cae078a626 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
f98b9dc388 Make the Error Console easier to overlay b=335383 r=gavin 2007-08-20 12:56:17 -07:00
3c78ddc6b1 Bug 385092: fix code evaluation in the error console by waiting for the about:blank load to complete before loading the javascript URI, patch by Simon Bünzli <zeniko@gmail.com>, r=me 2007-07-24 07:56:51 -07:00
3988c8c17b Bug 381468 - Convert toolkit application/x-javascript to application/javascript. r=gavin.sharp 2007-05-23 11:08:10 -07:00
5e629e259d Bug 369097 - Only escape % in to-be-evaluated JavaScript codep=Simon Bunzli <zeniko@gmail.com>r=gavin, sr=neil 2007-05-13 08:48:43 -07:00
f5fa75e50f Bug 374320 - add a label and an accesskey for the 'code' textbox in the Error Consolep=Cedric Corazza <cedric.corazza@wanadoo.fr>r=mconnor 2007-05-13 05:37:19 -07:00
69fa4fd805 Bug 380422 - The evaluating iframe may contain nuts (and other remainders)p=Simon Bunzli <zeniko@gmail.com>r=gavin, sr=neil@parkwaycc 2007-05-13 04:36:50 -07:00
7f3a56b276 Bug 238898: Allow evaluating the same expression multiple times from the error console, patch by Simon Bünzli <zeniko@gmail.com>, r=me, sr=neil 2007-05-11 11:33:42 -07:00
31e2643fc3 Bug 374982 - The enabled state of the copy command is incorrect in few edge cases. r=gavin. 2007-05-07 17:50:09 -07:00
fbbdf8e23c bug 379439 - When closing error console: assertion "XPConnect is being called on a scope without a 'Components' property!"add matching removeController() call to the binding's destructor.r=mano 2007-05-02 05:23:59 -07:00
2070a12949 Bug 366479 - [mac] Copy command is broken in the JS console. r=gavin,neil. sr=neil. 2007-03-22 16:28:22 -07:00
asqueella@gmail.com
dfb54ca967 Fix bug 86093 - Tab chars in html source show up as "[]" (square) in Error Console
(replace all whitespace characters with spaces)
p=Simon Bunzli <zeniko@gmail.com>
r=gavin, sr=neil
2007-03-01 07:17:54 +00:00
jwalden@mit.edu
7ef55c1fd4 Bug 342662 - JS strings aren't properly escaped before being evaluated in the error console. r=gavin 2007-01-09 00:20:14 +00:00
gavin@gavinsharp.com
019672395e Bug 250156: fix doctypes, patch by Wei-ju Wu <weiju@web.de>, r=me, daniel@glazman.org 2006-10-13 17:08:26 +00:00
timeless@mozdev.org
7a6d82ea48 Bug 348627 O(N^2) or worse algorithm in error console
algorithm by neil, function per Seno.Aiko@gmail.com, whatever's left of the patch is by me :)
r=neil sr=neil
2006-09-17 01:59:37 +00:00
timeless@mozdev.org
66a0e94f19 Bug 348627 O(N^2) or worse algorithm in error console
r=bz sr=bz

Perhaps an explanation. String concatenation is a chance for garbage collection.
If you have unbounded input, this can be pretty bad. When you start running low
on memory, the garbage collector gets desperate and won't take shortcuts. Worst of
all, the original code generates one string of garbage every iteration starting with
the second or third.

This code uses a=[] to construct an array and a[n] to set the upper array boundary,
0 being the lower, and there are n slots between a[0] and a[n].
join() will build a string with n copies of the join argument, where n is the number                                                        of slots between between cells. So for:
a=[]; a[1]=''; there's 1 slot between [0] and [1]. The array's length is actually 2,
but the joined length will be 1.

While it is possible to use new Array(x), the behavior is different because the
array has length x and there are x-1 spaces between cells. This leads to code which
would be both much longer and harder to read. And definitely not particularly
intuitive.

The code used here otoh, while magical will hopefully require you to pause, think,
and quickly understand what's going on. If not, you paused long enough for this
bubble to appear and explain it to you :).
2006-08-14 22:03:34 +00:00
gavin@gavinsharp.com
770b92c7e4 Fix bug 345327: "clear" button in the console doesn't work, regression from bug 322169, patch by Simon B�nzli <zeniko@gmail.com>, r=mconnor 2006-07-26 18:31:45 +00:00
gavin@gavinsharp.com
a2dc1cfd48 Fix whitespace nits to sync with xpfe, r=sparky 2006-07-20 00:42:01 +00:00
gavin@gavinsharp.com
1b38a14957 Bug 322169: Clear Private Data does not clear JS Console, patch by Simon B�nzli <zeniko@gmail.com>, r=mconnor, r=darin 2006-07-19 12:49:33 +00:00
doronr@us.ibm.com
23bf356396 Bug 289927 - JS console shouldn't show line number if line is 0. r=mconnor 2006-07-18 16:41:50 +00:00
gavin@gavinsharp.com
5d0138907c Bug 332191: The Error Console doesn't remember its maximized state, patch by Simon B�nzli <zeniko@gmail.com>, r=mconnor 2006-06-04 06:57:20 +00:00
gavin@gavinsharp.com
5f2462abbf Bug 265871: rename JavaScript console to Error console, patch by Kurt <supernova_00@yahoo.com>, r=mconnor, ui-r=beltzner, sr=neil/bzbarsky 2006-05-25 21:22:32 +00:00
kairo@kairo.at
4fef3799ad bug 334997 - add an id to toolkit console (to be able to overly a menubar into it), r+a1.8.1=mconnor 2006-04-22 10:38:41 +00:00