53 Commits

Author SHA1 Message Date
rflint%ryanflint.com
0e61cbfb45 Bug 364536 - Mac theme does not support RTL. r=mconnor, a=beltzner
git-svn-id: svn://10.0.0.236/trunk@250690 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-23 12:09:01 +00:00
reed%reedloden.com
dd9d5afa58 Bug 418543 - "remove -moz-pre-wrap" [p=taken.spc@gmail.com (KUROSAWA, Takeshi) r+sr=roc a1.9=beltzner]
git-svn-id: svn://10.0.0.236/trunk@247364 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-08 09:44:43 +00:00
reed%reedloden.com
bd52a3c7e4 Bug 415901 - "Error console should respect line breaks in error messages" [p=trev.moz@adblockplus.org (Wladimir Palant) r=gavin a1.9=damons]
git-svn-id: svn://10.0.0.236/trunk@246516 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-26 09:54:42 +00:00
rflint%ryanflint.com
83d7299fb2 Bug 386531 - XPCOMUtilify console command line handler. r+a=mconnor
git-svn-id: svn://10.0.0.236/trunk@239855 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-23 05:24:20 +00:00
dbaron%dbaron.org
3c523962e0 Fix places where XUL was using display:inline to avoid block-wrapping. b=321402 r=mconnor, r+sr=roc, a=blocking1.9+/M9
git-svn-id: svn://10.0.0.236/trunk@238179 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-25 23:29:24 +00:00
reed%reedloden.com
86a89faac4 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]
git-svn-id: svn://10.0.0.236/trunk@237167 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-03 06:41:37 +00:00
reed%reedloden.com
0c4f56c6e4 Bug 396176 - "Make change in viewSource() due to Bug 382074 backward compatible" [p=philip.chee@gmail.com (Philip Chee) r=Mano a1.9=mconnor]
git-svn-id: svn://10.0.0.236/trunk@236180 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-18 01:07:14 +00:00
neil%parkwaycc.co.uk
d390097fed Make the Error Console easier to overlay b=335383 r=gavin
git-svn-id: svn://10.0.0.236/trunk@232401 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-20 19:56:18 +00:00
gavin%gavinsharp.com
80f39aed97 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
git-svn-id: svn://10.0.0.236/trunk@230749 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-24 14:56:51 +00:00
sdwilsh%shawnwilsher.com
a97d415a87 Bug 381468 - Convert toolkit application/x-javascript to application/javascript. r=gavin.sharp
git-svn-id: svn://10.0.0.236/trunk@226891 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-23 18:08:12 +00:00
asqueella%gmail.com
37f623b0a1 Bug 369097 - Only escape % in to-be-evaluated JavaScript code
p=Simon Bunzli <zeniko@gmail.com>
r=gavin, sr=neil


git-svn-id: svn://10.0.0.236/trunk@226350 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-13 15:48:44 +00:00
asqueella%gmail.com
9e032074af 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


git-svn-id: svn://10.0.0.236/trunk@226346 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-13 12:37:19 +00:00
asqueella%gmail.com
f0e63dfe95 Bug 380422 - The evaluating iframe may contain nuts (and other remainders)
p=Simon Bunzli <zeniko@gmail.com>
r=gavin, sr=neil@parkwaycc


git-svn-id: svn://10.0.0.236/trunk@226342 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-13 11:36:50 +00:00
gavin%gavinsharp.com
a702aadeae 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
git-svn-id: svn://10.0.0.236/trunk@226305 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-11 18:36:02 +00:00
mozilla.mano%sent.com
5769209d85 Bug 374982 - The enabled state of the copy command is incorrect in few edge cases. r=gavin.
git-svn-id: svn://10.0.0.236/trunk@226098 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-08 00:50:09 +00:00
asqueella%gmail.com
8d9e61a1d8 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


git-svn-id: svn://10.0.0.236/trunk@225446 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-02 12:23:59 +00:00
mozilla.mano%sent.com
9d1d5cf2eb Bug 366479 - [mac] Copy command is broken in the JS console. r=gavin,neil. sr=neil.
git-svn-id: svn://10.0.0.236/trunk@222213 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-22 23:28:22 +00:00
jwalden%mit.edu
bf04147a22 Fix previous checkin -- bug 373362 strikes again!
git-svn-id: svn://10.0.0.236/trunk@221730 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-11 03:11:22 +00:00
jwalden%mit.edu
498b591778 Bug 279698 - Some .js files in jars are not stripped of license headers via preprocessing (pass 1). r=mconnor
git-svn-id: svn://10.0.0.236/trunk@221723 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-11 02:21:48 +00:00
asqueella%gmail.com
7248fd4134 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


git-svn-id: svn://10.0.0.236/trunk@221140 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-01 07:17:54 +00:00
jwalden%mit.edu
14eca0a632 Bug 342662 - JS strings aren't properly escaped before being evaluated in the error console. r=gavin
git-svn-id: svn://10.0.0.236/trunk@218034 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-09 00:20:14 +00:00
gavin%gavinsharp.com
11de66f6a8 Bug 250156: fix doctypes, patch by Wei-ju Wu <weiju@web.de>, r=me, daniel@glazman.org
git-svn-id: svn://10.0.0.236/trunk@213608 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-13 17:08:26 +00:00
timeless%mozdev.org
e473aecf19 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


git-svn-id: svn://10.0.0.236/trunk@211878 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-17 01:59:37 +00:00
timeless%mozdev.org
180af87a17 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 :).


git-svn-id: svn://10.0.0.236/trunk@207376 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-14 22:03:34 +00:00
gavin%gavinsharp.com
b13e3183ed 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
git-svn-id: svn://10.0.0.236/trunk@203740 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-26 18:31:45 +00:00
gavin%gavinsharp.com
1270541bbe Fix whitespace nits to sync with xpfe, r=sparky
git-svn-id: svn://10.0.0.236/trunk@203207 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-20 00:42:01 +00:00
gavin%gavinsharp.com
09597af3f8 Bug 322169: Clear Private Data does not clear JS Console, patch by Simon Bünzli <zeniko@gmail.com>, r=mconnor, r=darin
git-svn-id: svn://10.0.0.236/trunk@203096 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-19 12:49:33 +00:00
doronr%us.ibm.com
ef5c410927 Bug 289927 - JS console shouldn't show line number if line is 0. r=mconnor
git-svn-id: svn://10.0.0.236/trunk@202686 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-18 16:41:50 +00:00
gavin%gavinsharp.com
d7f1fd16b1 Bug 338899: be nice to -jsconsole (no duplicate windows, no unrequested windows), patch by Simon Bünzli <zeniko@gmail.com>, r=mconnor
git-svn-id: svn://10.0.0.236/trunk@198999 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-04 07:14:10 +00:00
gavin%gavinsharp.com
c73e55fa39 Bug 332191: The Error Console doesn't remember its maximized state, patch by Simon Bünzli <zeniko@gmail.com>, r=mconnor
git-svn-id: svn://10.0.0.236/trunk@198993 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-04 06:57:20 +00:00
gavin%gavinsharp.com
fa5240b78f Bug 265871: rename JavaScript console to Error console, patch by Kurt <supernova_00@yahoo.com>, r=mconnor, ui-r=beltzner, sr=neil/bzbarsky
git-svn-id: svn://10.0.0.236/trunk@198424 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-25 21:22:32 +00:00
kairo%kairo.at
50907bec3e bug 334997 - add an id to toolkit console (to be able to overly a menubar into it), r+a1.8.1=mconnor
git-svn-id: svn://10.0.0.236/trunk@195150 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-22 10:38:49 +00:00
gavin%gavinsharp.com
5e95ab43b2 Bug 306223: Allow to easily filter errors by category, patch by Simon Bünzli <zeniko@gmail.com>, r=mconnor
git-svn-id: svn://10.0.0.236/trunk@193136 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-28 17:27:54 +00:00
gavin%gavinsharp.com
e1dc5a251a Bug 328932: Evaluating Components.classes in JS Console throws an exception, r=bzbarsky, sr=jag
git-svn-id: svn://10.0.0.236/trunk@191643 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-03 00:48:52 +00:00
mozilla.mano%sent.com
f4ea468afd Bug 296700 - Can't overlay the console's keyset/commandset. patch from Simon Bnzli <zeniko@gmail.com>, r=me.
git-svn-id: svn://10.0.0.236/trunk@179690 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-06 11:02:12 +00:00
aaronleventhal%moonset.net
612986ef10 Bug 302402. Some XUL links opening twice. r+a=mconnor
git-svn-id: svn://10.0.0.236/trunk@177169 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-05 16:11:10 +00:00
aaronleventhal%moonset.net
e0de08bd63 Bug 301398. Another round of link fixes. Now we're down to 2 link implementations. r+a=mconnor
git-svn-id: svn://10.0.0.236/trunk@176547 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-25 19:23:12 +00:00
bsmedberg%covad.net
e9109ac70b Bug 293161 - make -jsconsole flag work again r=darin a=shaver
git-svn-id: svn://10.0.0.236/trunk@173216 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-09 18:00:34 +00:00
bsmedberg%covad.net
e6a0f5c282 Bug 286450 - Make nsIScriptError.message display a formatted message with file/line information, for future logging purposes r=dbradley sr=bz
git-svn-id: svn://10.0.0.236/trunk@171379 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-30 11:34:59 +00:00
gerv%gerv.net
f58b146997 Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@168638 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-01 17:07:35 +00:00
Stefan.Borggraefe%gmx.de
34bc6b4cc2 Bug 277342: JS Console behaving incorrectly with right-click on source file
r=mconnor, sr=neil


git-svn-id: svn://10.0.0.236/trunk@168537 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-31 00:26:02 +00:00
dbaron%dbaron.org
71e7601aa6 Merge cvs removes from aviary branch (in browser and toolkit directories) to the trunk.
git-svn-id: svn://10.0.0.236/trunk@166131 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-02 02:46:06 +00:00
ben%bengoodger.com
ce38ceb5f6 Landing the Aviary Branch (Toolkit sections excluding toolkit/content).
git-svn-id: svn://10.0.0.236/trunk@165963 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-30 22:54:13 +00:00
steffen.wilberg%web.de
cfaf205ff0 Bug 245455 - remove unused files. r=mconnor
git-svn-id: svn://10.0.0.236/trunk@159645 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-22 11:33:50 +00:00
ben%bengoodger.com
7aa5b1a30a winstripe landing
git-svn-id: svn://10.0.0.236/trunk@158154 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-18 22:10:49 +00:00
mconnor%myrealbox.com
675a1864f9 bug 240655, port neil's fix from 133606 to toolkit
git-svn-id: svn://10.0.0.236/trunk@157235 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-01 14:50:13 +00:00
bzbarsky%mit.edu
16f1f02320 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


git-svn-id: svn://10.0.0.236/trunk@154907 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-15 01:51:32 +00:00
ben%bengoodger.com
0947d91a21 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)
git-svn-id: svn://10.0.0.236/trunk@149867 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-01 05:40:41 +00:00
chanial%noos.fr
32ea2705a6 sync the console with the suite
git-svn-id: svn://10.0.0.236/trunk@148273 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-22 08:00:39 +00:00
chanial%noos.fr
6e65b9cb42 Landing Arvid's new icons and animations
git-svn-id: svn://10.0.0.236/trunk@141803 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-25 08:15:34 +00:00