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

24 Коммитов

Автор SHA1 Сообщение Дата
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
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
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
mozilla.mano@sent.com 6aa43c54ab 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
asqueella@gmail.com 70f4eb840f 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
mozilla.mano@sent.com b161ae9326 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 413675d228 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
gavin%gavinsharp.com 5d86121dc4 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 d745e257c4 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 cd70f66472 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 a2f1db0eaf 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 15076987ab 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 2fa7d62cb9 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 2271437486 Bug 306223: Allow to easily filter errors by category, patch by Simon B�nzli <zeniko@gmail.com>, r=mconnor 2006-03-28 17:27:54 +00:00
aaronleventhal%moonset.net 9ecbd670ca Bug 302402. Some XUL links opening twice. r+a=mconnor 2005-08-05 16:11:10 +00:00
aaronleventhal%moonset.net be531d3dfc Bug 301398. Another round of link fixes. Now we're down to 2 link implementations. r+a=mconnor 2005-07-25 19:23:12 +00:00
bsmedberg%covad.net 84cfc83215 Bug 286450 - Make nsIScriptError.message display a formatted message with file/line information, for future logging purposes r=dbradley sr=bz 2005-03-30 11:34:59 +00:00
Stefan.Borggraefe%gmx.de a97f484e76 Bug 277342: JS Console behaving incorrectly with right-click on source file
r=mconnor, sr=neil
2005-01-31 00:26:02 +00:00
mconnor%myrealbox.com 2e4b04cdf4 bug 240655, port neil's fix from 133606 to toolkit 2004-06-01 14:50:13 +00:00
bzbarsky%mit.edu 7a292c3f22 Make getElementsByAttribute be an nsContentList so that it's got that live
DOMNodeList goodness that all nodelists should have.  Change some JS to not
break, and some other JS to be a little more efficient with the new world of
lazy listness.  Bug 240186, r=neil on the JS changes, r=jst on the content
changes, sr=jst
2004-04-15 01:51:32 +00:00
chanial%noos.fr aeb90b4015 sync the console with the suite 2003-10-22 08:00:39 +00:00
chanial%noos.fr bccb238eaa Console cleanup: it is now independent from communicator.
Adding access keys and shortcut to focus the command line
2003-03-02 04:15:09 +00:00
chanial%noos.fr f171e1c165 Move the js console and dependencies as new extensions in toolkit/components.
NPOB
2003-03-01 08:07:13 +00:00