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

89 Коммитов

Автор SHA1 Сообщение Дата
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
gavin@gavinsharp.com a34803544c 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
sdwilsh@shawnwilsher.com 44cbc3eab4 Bug 381468 - Convert toolkit application/x-javascript to application/javascript. r=gavin.sharp 2007-05-23 11:08:10 -07:00
asqueella@gmail.com a91b1dec1d 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
asqueella@gmail.com 259b161da8 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
asqueella@gmail.com 5a7bf31fdf 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
gavin@gavinsharp.com f705e3c22e 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
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
jwalden%mit.edu 4bf4774ca6 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 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 313ad0fa87 Fix whitespace nits to sync with xpfe, r=sparky 2006-07-20 00:42:01 +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 8dec5f3a77 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 b581167b49 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 7e6c92af99 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
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
gavin%gavinsharp.com 1595ec755f Bug 328932: Evaluating Components.classes in JS Console throws an exception, r=bzbarsky, sr=jag 2006-03-03 00:48:52 +00:00
mozilla.mano%sent.com 3a825a8b69 Bug 296700 - Can't overlay the console's keyset/commandset. patch from Simon Bnzli <zeniko@gmail.com>, r=me. 2005-09-06 11:02:12 +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
gerv%gerv.net 93180ced26 Bug 236613: change to MPL/LGPL/GPL tri-license. 2005-02-01 17:07:35 +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
ben%bengoodger.com 5ccac856fe Ensure that window closing that would cause the app to quit goes through the same codepath as an actual application quit. (The bug was that you would get the download cancel confirmation prompt when shutting down via File->Exit, but not when you closed all windows) 2003-12-01 05:40:41 +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 999d01efa3 console.css cleanup 2003-03-01 15:27:39 +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