125 Commits

Author SHA1 Message Date
dbaron%dbaron.org
0d91ffb653 Fix incorrectly namespaced spacer elements. b=321402 r=mconnor a=blocking1.9+/M9
git-svn-id: svn://10.0.0.236/trunk@238211 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-26 18:07:09 +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
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
bugzilla%standard8.demon.co.uk
65b79d6d02 Bug 376331 Remove some unused strings from xpfe/suite. p=Giacomo Magnini <prometeo.bugs@gmail.com>,r/sr=Neil
git-svn-id: svn://10.0.0.236/trunk@224142 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-04 09:37:23 +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
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
bugzilla%standard8.demon.co.uk
ebc0d927b1 Bug 348381 Tidy up browser-prefs.js and console ifdefs. r=Benjamin,sr=Neil
git-svn-id: svn://10.0.0.236/trunk@207335 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-14 18:01:27 +00:00
martijn.martijn%gmail.com
7ac18ef152 xpfe part of Bug 306223 - Allow to easily filter errors by category, patch by Serge Gautherie, r+sr=neil
git-svn-id: svn://10.0.0.236/trunk@203496 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-24 06:55:58 +00:00
gavin%gavinsharp.com
b716ec1c3c Bug 289927: JS Console shouldn't show line number if line is 0, xpfe patch by Serge GAUTHERIE <gautheri@noos.fr>, r=neil
git-svn-id: svn://10.0.0.236/trunk@203205 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-20 00:39:04 +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
bugzilla%standard8.demon.co.uk
4121dfd424 Bug 330053 Make SeaMonkey capable of generating a reasonable build with MOZ_XUL_APP set. Part 5 - First stab at sorting out inclusion of modules in xpfe and toolkit. r=benjamin,sr=Neil
git-svn-id: svn://10.0.0.236/trunk@194399 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-14 07:04:53 +00:00
neil%parkwaycc.co.uk
069354c209 Bug 328932 Make JS Console evaluate with chrome principal again r=bz sr=jag
git-svn-id: svn://10.0.0.236/trunk@191631 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-02 23:55:57 +00:00
bugzilla%arlen.demon.co.uk
629ffcdf38 Bug 303142 Wrong taskbar icon for JavaScript Console
p=me r/sr=neil.parkwaycc.co.uk a=asa


git-svn-id: svn://10.0.0.236/trunk@177320 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-08 10:47:50 +00:00
timeless%mozdev.org
b9a62be1a6 Bug 290429 missing |this.| in error case results in code that will never work
patch by ajschult@verizon.net r=neil sr=neil a=caillon


git-svn-id: svn://10.0.0.236/trunk@172269 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-15 11:51:10 +00:00
timeless%mozdev.org
204328555a Bug 288544 an asynchronous "oom" loop in jsconsole's implementation of nsIConsoleListener.observe with nsIConsoleService and xpconnect
r=neil sr=neil


git-svn-id: svn://10.0.0.236/trunk@171453 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-01 08:47:17 +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
neil%parkwaycc.co.uk
9e88bf8dba Bug 282253 JS Console doesn't clear properly r+sr=bz a=brendan
git-svn-id: svn://10.0.0.236/trunk@169309 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-17 08:59:45 +00:00
neil%parkwaycc.co.uk
0dcf8c9c17 Clean up use of QueryInterface in consoleBindings.xml b=179268 r=timeless sr=bz
git-svn-id: svn://10.0.0.236/trunk@168920 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-07 17:39:11 +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
gerv%gerv.net
8419e1650f Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155030 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-17 16:52:41 +00:00
neil%parkwaycc.co.uk
a680df8466 Bug 158475 JS console should allow multiple evaluations of const x = Math.random(); x * x; r=timeless sr=roc
git-svn-id: svn://10.0.0.236/trunk@151572 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-20 00:14:31 +00:00
neil%parkwaycc.co.uk
83da912668 Bug 133606 getAnonymousElementByAttribute now works r=caillon sr=bz
git-svn-id: svn://10.0.0.236/trunk@150535 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-19 21:47:21 +00:00
neil%parkwaycc.co.uk
bc5c8dad88 Bug 126216 allow wrapping of error messages in JS console r=timeless sr=bz a=asa
git-svn-id: svn://10.0.0.236/trunk@145905 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-12 10:35:48 +00:00
rbs%maths.uq.edu.au
a736d938a6 Show line numbers on the status bar of view-source in combination with mouse clicks, caret browsing (hit F7), goto line (Ctrl+L), and selection movements. Patch by Christian Schmidt <bugzilla@christian.schmidt.name>, b=15364, r=neil, sr=bz
git-svn-id: svn://10.0.0.236/trunk@144895 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-16 07:01:32 +00:00
seawood%netscape.com
06e1507b0c Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev
git-svn-id: svn://10.0.0.236/trunk@143527 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-10 21:18:27 +00:00
bzbarsky%mit.edu
907a8d33ff Add a "Go to line" option to the Edit menu in View Source (bug 104383). Make
the links in the JS console automatically go to the right line in View Source
(bug 79612).  Patch (in bug 104383) by christian@schmidt.net (Christian
Schmidt) with some selection fu from rbs, r=neil, sr=me, a=asa


git-svn-id: svn://10.0.0.236/trunk@142685 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-21 02:23:13 +00:00
timeless%mozdev.org
70ffbc9c7f Bug 99328 can't copy entries in javascript console to X primary selection (copy to clipboard works)
patch by neil@parkwaycc.co.uk r=akkana sr=bz


git-svn-id: svn://10.0.0.236/trunk@135124 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-11 14:02:19 +00:00
gilbert.fang%sun.com
ede1b6606b Bug 183167: Buttons in JavaScript Console need accesskeys
Adding accesskey attributes in xul and key definition in corrosponding dtds.
patch=jessie.li, r=kyle.yuan, sr=jaggernaut.


git-svn-id: svn://10.0.0.236/trunk@134759 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-04 02:16:07 +00:00
timeless%mozdev.org
8a6019a5e6 Bug 164664 JS console evaluation ignores leading whitespace
patch by neil@parkwaycc.co.uk r=caillon sr=bz


git-svn-id: svn://10.0.0.236/trunk@133905 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-15 14:43:07 +00:00
timeless%mozdev.org
182fee8362 Bug 136130 JavaScript Console is missing the new Windows menu
patch by neil@parkwaycc.co.uk r=timeless sr=bz


git-svn-id: svn://10.0.0.236/trunk@133903 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-15 14:36:21 +00:00
gerv%gerv.net
5751d43faf Bug 154765 - Cleaning up Contributors references after relicensing. Patch by riceman+bmo@mail.rit.edu; r=gerv, auto-sr=brendan.
git-svn-id: svn://10.0.0.236/trunk@126985 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-10 08:39:43 +00:00
seawood%netscape.com
0b3ff474f3 Removing old nmake build makefiles. Bug #158528 r=pavlov
git-svn-id: svn://10.0.0.236/trunk@126975 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-10 07:55:43 +00:00
alecf%netscape.com
573e11653f bug 157624 - prep for freezing nsISupports* primitives by renaming the string classes appropriately
nsISupportsString  -> nsISupportsCString
nsISupportsWString -> nsISupportsString
r=dougt, sr=jag


git-svn-id: svn://10.0.0.236/trunk@126389 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-06 00:53:19 +00:00
seawood%netscape.com
7e4c3987ab Add 'make install' target to build. It's "MRE-friendly". (See http://www.mozilla.org/projects/embedding/MRE.html for details.)
Changes:
* Added EXTRA_COMPONENTS variable to build.  Use it to automagically install files into the components dir.
* Added SYSINSTALL variable.  Use it install files onto the system.
* Move mozilla-config generation from configure to makefiles
* mozilla-config will now generate paths based upon the MRE-based directory layout.
* Generate mozilla script from template

The installation heirarchy currently looks like:
$prefix -> /bin/mozilla
           /bin/mozilla-config
           /include/mozilla-ver/*
           /lib/mozilla-ver  (mozappdir)
                            /components
                            /res
                            /defaults
                            /chrome

There is preliminary build support for MRE dirs as well though the component manager hasn't had MRE support added yet.

$prefix -> /lib/mre/mre-ver  (mredir)
                            /components


git-svn-id: svn://10.0.0.236/trunk@119809 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 02:52:44 +00:00
sicking%bigfoot.com
c122069cd1 Bug 119317: move the "inherits" attribute to the xbl namespace for most clients.
r=hixie sr=hyatt


git-svn-id: svn://10.0.0.236/trunk@118926 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-13 14:25:38 +00:00
blakeross%telocity.com
048b0ea1fa 125181 - add pref to filter chrome:// errors in javascript console. r=ben sr=hewitt a=asa
git-svn-id: svn://10.0.0.236/trunk@115390 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-27 00:42:51 +00:00
blakeross%telocity.com
75a80a724e 112071 - timebomb not working. r=hewitt sr=ben
git-svn-id: svn://10.0.0.236/trunk@114126 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-09 03:18:53 +00:00
dougt%netscape.com
011f9b10e5 1. Converts callers of nsIComponentManagerObsolete to use
nsIComponentRegistrar.

2. Converts callers of nsComponentManager::AutoRegister to use
nsIComponentRegistrar's autoRegistrar method.

3. Add nsIComponentRegistrar implmentation to nsComponentManagerImpl.

4. Rearrange nsComponentManager.cpp so that related methods are in the same
place.

5. Added a C-style function NS_GetComponentRegistrar so that getting the
registrar is easier in some places.

6. Added a nsISimpleEnumerator interface on PLDHashTableEnumeratorImpl.  in
this way, the same base class can support both old style and new style
enumerations.

7. Fixed a nasty bug where unregistring factories will leave the contract id
hash with a dangling pointer.  Now, when unregister is called we search the
contract id hash for entries which have the given doomned cid and remove them.


Bug 115853.  r=dp@netscape.com, sr=rpotts@netscape.com


git-svn-id: svn://10.0.0.236/trunk@113143 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-29 21:22:13 +00:00
timeless%mac.com
01479ff578 Bug 114396ÿJS evaluation result is not displayed in the JS console
patch by neil@parkwaycc.co.uk r=doron sr=hewitt


git-svn-id: svn://10.0.0.236/trunk@111955 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-11 19:45:00 +00:00
hewitt%netscape.com
7693baa284 113230 - reversing js console sort order is slow (patch by neil@parkwaycc.co.uk), r=blake, sr=me
git-svn-id: svn://10.0.0.236/trunk@110886 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-20 10:22:33 +00:00
dougt%netscape.com
c01e94cad7 nsIComponentManager API Changes (bug 98553)
a) create a new nsIComponentManager with only four functions on it:
CreateInstance CreateInstanceByContractID GetClassInfo GetClassInfoByContractID.

b) rename the old nsIComponentManager to nsIComponentManagerObsolete.

c) fixes callers which use to access the nsIComponentManager for component
registration functionality.  These callers will temporary use the
nsIComponentManagerObsolete interface.

d) Create a new API NS_GetComponentManager() which mirrors the
NS_GetServiceManager()

e) Perserves the old NS_GetGlobalComponentManager().  Note the cast usage.

r/sr = rpotts@netscape.com  alecf@netscape.com  brendan@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@110748 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-19 00:12:41 +00:00
hewitt%netscape.com
03f2a59c9a 93839 - tooltiptext should work without specifying tooltip, r=pinkerton, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@109678 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 22:38:40 +00:00
timeless%mac.com
7dda0b46d1 Bugzilla Bug 110271 Right Click->Copy doesn't work in JSConsole
patch by biesi r=timeless sr=blake


git-svn-id: svn://10.0.0.236/trunk@109031 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-27 21:36:31 +00:00
rjc%netscape.com
e41baa73d3 Fix bug # 75772: On Mac OS X, add support for window toolbar button which hides/shows toolbar buttons. r=ben sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@108960 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-27 01:47:41 +00:00
seawood%netscape.com
889469fd27 Rename 'install' build phase to 'libs'.
Bug #56601 r=pavlov


git-svn-id: svn://10.0.0.236/trunk@108684 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-21 09:49:41 +00:00
seawood%netscape.com
f83af44959 Renaming 'install' build phase to 'libs'
Bug #56601 r=pavlov


git-svn-id: svn://10.0.0.236/trunk@108681 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-21 08:55:59 +00:00
blakeross%telocity.com
83c5b8a557 107642 - XUL syntax/cleanup landing. Fixes 94470, 96008, 96019, 76800, 102637, 80399, 108303, and removes over a thousand unnecessary or nonsensical attributes. Also fixes 108302, 102366, 102367, 105815. r=sspitzer,cmanske on appropriate parts sr=ben
git-svn-id: svn://10.0.0.236/trunk@107205 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-03 04:17:02 +00:00