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

77 Коммитов

Автор SHA1 Сообщение Дата
Michael Kaply 19c8928db9 Bug 329882 - "bc has no properties console.js" [r=benjamin] 2009-06-14 01:32:45 -07:00
Ehsan Akhgari 0b74359bdf Bug 479588 - Error console's text box should always be LTR; r=dao 2009-03-09 00:42:21 +03:30
Markus Stange 5be4a39ec6 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 164063ed50 Bug 398928 - Allow moving a window by dragging toolbar or statusbar, r=enndeakin 2008-10-18 11:57:46 +02:00
Simon Bünzli 1b11296b86 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 e8daedaab6 Bug 364536 - Mac theme does not support RTL. r=mconnor, a=beltzner 2008-04-23 05:08:52 -07:00
reed@reedloden.com 2393c211f6 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 ae71fa4e2a 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
rflint@ryanflint.com 5a1b4d7514 Bug 386531 - XPCOMUtilify console command line handler. r+a=mconnor 2007-11-22 21:24:20 -08:00
dbaron@dbaron.org f9feb5362b 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 e2f7b5ee81 Bug 395371 - "do not launch a second browser window when calling firefox -jsconsole" [p=philip.chee@gmail.com (Philip Chee) r=bsmedberg a1.9=mconnor] 2007-10-02 23:41:37 -07:00
reed@reedloden.com 1b54d23061 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 bfe0ed2052 Make the Error Console easier to overlay b=335383 r=gavin 2007-08-20 12:56:17 -07:00
gavin@gavinsharp.com 9cb2a7de5f 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 d0398ffc47 Bug 381468 - Convert toolkit application/x-javascript to application/javascript. r=gavin.sharp 2007-05-23 11:08:10 -07:00
asqueella@gmail.com 5bfb93ec88 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 a9a6d09c03 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 610a41a7d3 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 053c39ecab 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 7c6b0bdbf5 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 9cc6274988 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 fcafe0ab51 Bug 366479 - [mac] Copy command is broken in the JS console. r=gavin,neil. sr=neil. 2007-03-22 16:28:22 -07:00
roc+@cs.cmu.edu 0054412272 Bug 374866. Reftests for text-transform. r=dbaron 2007-03-22 16:01:14 -07:00
rflint%ryanflint.com 791d3b2dc7 Bug 364536 - Mac theme does not support RTL. r=mconnor, a=beltzner 2008-04-23 12:09:01 +00:00
reed%reedloden.com 53c5194c05 Bug 418543 - "remove -moz-pre-wrap" [p=taken.spc@gmail.com (KUROSAWA, Takeshi) r+sr=roc a1.9=beltzner] 2008-03-08 09:44:43 +00:00
reed%reedloden.com 4d584dbe2e 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 09:54:42 +00:00
rflint%ryanflint.com eed77dc04a Bug 386531 - XPCOMUtilify console command line handler. r+a=mconnor 2007-11-23 05:24:20 +00:00
dbaron%dbaron.org c426a2f29e 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 23:29:24 +00:00
reed%reedloden.com e6f5631cf8 Bug 395371 - "do not launch a second browser window when calling firefox -jsconsole" [p=philip.chee@gmail.com (Philip Chee) r=bsmedberg a1.9=mconnor] 2007-10-03 06:41:37 +00:00
reed%reedloden.com c067944ec3 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-18 01:07:14 +00:00
neil%parkwaycc.co.uk 8a67a6de1f Make the Error Console easier to overlay b=335383 r=gavin 2007-08-20 19:56:18 +00:00
gavin%gavinsharp.com 60e818d7df 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 14:56:51 +00:00
sdwilsh%shawnwilsher.com dd19ec8576 Bug 381468 - Convert toolkit application/x-javascript to application/javascript. r=gavin.sharp 2007-05-23 18:08:12 +00:00
asqueella%gmail.com c54f11253d Bug 369097 - Only escape % in to-be-evaluated JavaScript code
p=Simon Bunzli <zeniko@gmail.com>
r=gavin, sr=neil
2007-05-13 15:48:44 +00:00
asqueella%gmail.com 6a0f30665e Bug 374320 - add a label and an accesskey for the 'code' textbox in the Error Console
p=Cedric Corazza <cedric.corazza@wanadoo.fr>
r=mconnor
2007-05-13 12:37:19 +00:00
asqueella%gmail.com dab1ebd3d8 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 11:36:50 +00:00
gavin%gavinsharp.com e77472a410 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 18:36:02 +00:00
mozilla.mano%sent.com 8a866e775c Bug 374982 - The enabled state of the copy command is incorrect in few edge cases. r=gavin. 2007-05-08 00:50:09 +00:00
asqueella%gmail.com 4d902d72a6 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 12:23:59 +00:00
mozilla.mano%sent.com ddce1f1578 Bug 366479 - [mac] Copy command is broken in the JS console. r=gavin,neil. sr=neil. 2007-03-22 23:28:22 +00:00
jwalden%mit.edu 53eff144e9 Fix previous checkin -- bug 373362 strikes again! 2007-03-11 03:11:22 +00:00
jwalden%mit.edu fef8899907 Bug 279698 - Some .js files in jars are not stripped of license headers via preprocessing (pass 1). r=mconnor 2007-03-11 02:21:48 +00:00
asqueella%gmail.com 4b272baf50 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 94a9265580 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 f034027cba 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 1568aa6406 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 109888ebc5 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 756745ac40 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 098f6aee49 Fix whitespace nits to sync with xpfe, r=sparky 2006-07-20 00:42:01 +00:00
gavin%gavinsharp.com f5c3506ad3 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