Commit Graph

120 Commits

Author SHA1 Message Date
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
bugzilla%standard8.demon.co.uk
5677fc542d Bug 348381 Tidy up browser-prefs.js and console ifdefs. r=Benjamin,sr=Neil 2006-08-14 18:01:27 +00:00
martijn.martijn%gmail.com
324c3de054 xpfe part of Bug 306223 - Allow to easily filter errors by category, patch by Serge Gautherie, r+sr=neil 2006-07-24 06:55:58 +00:00
gavin%gavinsharp.com
f283ebc560 Bug 289927: JS Console shouldn't show line number if line is 0, xpfe patch by Serge GAUTHERIE <gautheri@noos.fr>, r=neil 2006-07-20 00:39:04 +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
bugzilla%standard8.demon.co.uk
03e756f558 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 2006-04-14 07:04:53 +00:00
neil%parkwaycc.co.uk
d3037a8f1b Bug 328932 Make JS Console evaluate with chrome principal again r=bz sr=jag 2006-03-02 23:55:57 +00:00
bugzilla%arlen.demon.co.uk
4b6f08e7a3 Bug 303142 Wrong taskbar icon for JavaScript Console
p=me r/sr=neil.parkwaycc.co.uk a=asa
2005-08-08 10:47:50 +00:00
timeless%mozdev.org
a53716e16d 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
2005-04-15 11:51:10 +00:00
timeless%mozdev.org
3a3c8ef69a Bug 288544 an asynchronous "oom" loop in jsconsole's implementation of nsIConsoleListener.observe with nsIConsoleService and xpconnect
r=neil sr=neil
2005-04-01 08:47:17 +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
neil%parkwaycc.co.uk
98bbde7d13 Bug 282253 JS Console doesn't clear properly r+sr=bz a=brendan 2005-02-17 08:59:45 +00:00
neil%parkwaycc.co.uk
6d58e51e21 Clean up use of QueryInterface in consoleBindings.xml b=179268 r=timeless sr=bz 2005-02-07 17:39:11 +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
gerv%gerv.net
f7f3cb2736 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-17 16:52:41 +00:00
neil%parkwaycc.co.uk
0112ac59f8 Bug 158475 JS console should allow multiple evaluations of const x = Math.random(); x * x; r=timeless sr=roc 2004-01-20 00:14:31 +00:00
neil%parkwaycc.co.uk
8d4f55981c Bug 133606 getAnonymousElementByAttribute now works r=caillon sr=bz 2003-12-19 21:47:21 +00:00
neil%parkwaycc.co.uk
09668d8cb2 Bug 126216 allow wrapping of error messages in JS console r=timeless sr=bz a=asa 2003-08-12 10:35:48 +00:00
rbs%maths.uq.edu.au
2f2a264bdd 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 2003-07-16 07:01:32 +00:00
seawood%netscape.com
97649bab86 Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev 2003-06-10 21:18:27 +00:00
bzbarsky%mit.edu
ed8540438c 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
2003-05-21 02:23:13 +00:00
timeless%mozdev.org
d2698e7f7e 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
2002-12-11 14:02:19 +00:00
gilbert.fang%sun.com
2dcea189c6 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.
2002-12-04 02:16:07 +00:00
timeless%mozdev.org
5a800d80a3 Bug 164664 JS console evaluation ignores leading whitespace
patch by neil@parkwaycc.co.uk r=caillon sr=bz
2002-11-15 14:43:07 +00:00
timeless%mozdev.org
5d4e07212f Bug 136130 JavaScript Console is missing the new Windows menu
patch by neil@parkwaycc.co.uk r=timeless sr=bz
2002-11-15 14:36:21 +00:00
gerv%gerv.net
a6d4accdea Bug 154765 - Cleaning up Contributors references after relicensing. Patch by riceman+bmo@mail.rit.edu; r=gerv, auto-sr=brendan. 2002-08-10 08:39:43 +00:00
seawood%netscape.com
322da773fb Removing old nmake build makefiles. Bug #158528 r=pavlov 2002-08-10 07:55:43 +00:00
alecf%netscape.com
f7ad4265ef bug 157624 - prep for freezing nsISupports* primitives by renaming the string classes appropriately
nsISupportsString  -> nsISupportsCString
nsISupportsWString -> nsISupportsString
r=dougt, sr=jag
2002-08-06 00:53:19 +00:00
seawood%netscape.com
c0ec608df6 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
2002-04-25 02:52:44 +00:00
sicking%bigfoot.com
f8c2ea5afa Bug 119317: move the "inherits" attribute to the xbl namespace for most clients.
r=hixie sr=hyatt
2002-04-13 14:25:38 +00:00
blakeross%telocity.com
98d168e9a6 125181 - add pref to filter chrome:// errors in javascript console. r=ben sr=hewitt a=asa 2002-02-27 00:42:51 +00:00
blakeross%telocity.com
9dde4a920a 112071 - timebomb not working. r=hewitt sr=ben 2002-02-09 03:18:53 +00:00
dougt%netscape.com
c50ca402ad 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
2002-01-29 21:22:13 +00:00
timeless%mac.com
d59d6f01f1 Bug 114396�JS evaluation result is not displayed in the JS console
patch by neil@parkwaycc.co.uk r=doron sr=hewitt
2002-01-11 19:45:00 +00:00
hewitt%netscape.com
737fe4edb6 113230 - reversing js console sort order is slow (patch by neil@parkwaycc.co.uk), r=blake, sr=me 2001-12-20 10:22:33 +00:00
dougt%netscape.com
849d297364 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
2001-12-19 00:12:41 +00:00
hewitt%netscape.com
e6c49925ef 93839 - tooltiptext should work without specifying tooltip, r=pinkerton, sr=hyatt 2001-12-04 22:38:40 +00:00
timeless%mac.com
04beaa2953 Bugzilla Bug 110271 Right Click->Copy doesn't work in JSConsole
patch by biesi r=timeless sr=blake
2001-11-27 21:36:31 +00:00
rjc%netscape.com
fe5d808f73 Fix bug # 75772: On Mac OS X, add support for window toolbar button which hides/shows toolbar buttons. r=ben sr=hyatt 2001-11-27 01:47:41 +00:00
seawood%netscape.com
7733357d51 Rename 'install' build phase to 'libs'.
Bug #56601 r=pavlov
2001-11-21 09:49:41 +00:00
seawood%netscape.com
55fe97bff7 Renaming 'install' build phase to 'libs'
Bug #56601 r=pavlov
2001-11-21 08:55:59 +00:00
blakeross%telocity.com
6c769e76e9 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 2001-11-03 04:17:02 +00:00
pinkerton%netscape.com
6630d79543 remove prefs and quit from edit/file menus on osx (they're in the app menu now). r=sdagley/sr=blake,smfr. bug#68098 2001-10-19 14:13:20 +00:00
blakeross%telocity.com
4f35ccddc4 Remove nsTimeBomb, stop doing unnecessary timebomb work (57306). r=mcafee sr=ben 2001-10-14 01:56:05 +00:00
timeless%mac.com
83766ede10 Bugzilla Bug 99067 Javascript console has a small unskinned area
by neil@parkwaycc.co.uk r=timeless, sr=hewitt
2001-10-03 11:19:05 +00:00
hewitt%netscape.com
b4973f2855 95876 - Support <button type='checkbox'/>, r=blake, sr=hyatt 2001-10-02 03:06:51 +00:00
stephend%netscape.com
6d11609c79 Bug 80120. Implement tooltips for toolbar's expand/collapse widgets. r=german,jglick,sspitzer,robinf,cmanske sr=sspitzer 2001-10-01 04:54:14 +00:00
blakeross%telocity.com
2962b9994f Fixing js strict warning about undefined property this.mSelectedItem. sr=ben 2001-10-01 03:49:12 +00:00