Commit Graph

85039 Commits

Author SHA1 Message Date
rginda%netscape.com
d41bbaca42 - not built -
hook up tmode command
2001-07-03 22:27:37 +00:00
rginda%netscape.com
5ab2adfee9 - not built -
add jsdIEphemeral interface, inherit from it in interfaces that need to.
2001-07-03 22:22:58 +00:00
rginda%netscape.com
a29db3ffa9 - not built -
move debug object counters and various constructors to jsd_xpc.cpp
add LiveEphemeral struct to reperesent a link in a PRCList of ephemeral objects.
declare jsdIEphemeral interface in objects that need it, add invalidaAll static method to jsdIProperty and jsdIValue.  jsdIObject still needs work.
2001-07-03 22:21:56 +00:00
rginda%netscape.com
b96fa36548 - not built -
Large changes to improve the way we deal with our wrappers around js engine structures.  jsdIScript, jsdIStackFrame, jsdIValue, and jsdIProperty interfaces now inherit from a new interface "jsdIEphemeral".  This interface is used to invalidate the wrapper.  Once the wrapper is invalidated, *most* methods throw NS_ERROR_NOT_AVAILABLE, some interfaces, such as jsdIScript, cache important information so that the wrapper isn't utterly useless once it has been invalidated.  The boolean isValid attribute can be used to see if the wrapper is still valid.

factor debug object counters into some simple macros
add new velid assertion macros for the new ephemeral objects
add utility functions for dealing with PR_CLISTs full of ephemeral objects.
invalidate the jsdIFrame after the execution hook completes
move some c/dtors from jsd_xpc.h over here to avoid exposing debug object counters, and repeating some macros
fix incorrectly set out parameter in getValue::GetDoubleValue
2001-07-03 22:19:04 +00:00
cotter%netscape.com
7d416783ac help content updates per b=85925, PDT approved, r=oeschger@netscape.com 2001-07-03 21:43:56 +00:00
nicolson%netscape.com
8cf0a564db Build a dummy module list. This allows JSS to work when NSS has been
initialized with NSS_NoDB_Init.
2001-07-03 21:27:17 +00:00
nicolson%netscape.com
efed69eb89 Fix the secure random provider for the DSAME folks 2001-07-03 21:17:18 +00:00
wtc%netscape.com
fcc917f873 NSS 3.3 has been renamed NSS 3.4. Two '-' chars should be '+'. 2001-07-03 17:41:19 +00:00
alecf%netscape.com
aef9cd8fd0 back out my string bundle changes from yesterday to fix blockers
a=nhotta
2001-07-03 17:34:47 +00:00
mkaply%us.ibm.com
54194a8799 Strange OS/2 bustage that only happens on some machines 2001-07-03 16:57:55 +00:00
bstell%netscape.com
1964d95f58 bug 88955, r=yokyama, rs=bstell
change the default monospaced font size from 13 to 12
2001-07-03 16:28:42 +00:00
mkaply%us.ibm.com
73ed1177b0 #88765
r=roland, r=pavlov, sr=blizzard
Checkin for timecop@network.email.ne.jp - GC-Cache leaks
2001-07-03 14:10:30 +00:00
mkaply%us.ibm.com
e9e539ff00 #88486
r=pavlov, sr=blizzard
Some pages crash in font code
2001-07-03 14:04:03 +00:00
mkaply%us.ibm.com
3db997a31d #85527
r=timeless, sr=blizzard
Checkin for Roland.Mainz@informatik.med.uni-giessen.de - Turn xlibrgb into a shared library
2001-07-03 13:40:16 +00:00
cls%seawood.org
4d08328adf Add, remove, add, remove, add 2001-07-03 11:02:34 +00:00
cls%seawood.org
fbdc9e7249 Oops merged against wrong version 2001-07-03 11:02:01 +00:00
cls%seawood.org
82e2b6fad0 Removing obsolete xlib file.
Bug #88977
2001-07-03 10:39:03 +00:00
cls%seawood.org
0f88d36e89 Removing obsolete xprint files
Bug #89018
2001-07-03 10:12:19 +00:00
jaggernaut%netscape.com
78480349db Attempt to fix current bustage: when unzipping chrome so we can re-zip it for the embedding specific jar, overwrite existing files without asking (unzip -o). Patch suggested by cls. 2001-07-03 09:56:56 +00:00
jaggernaut%netscape.com
f9c67333fd Bug 88413: Remove GetUnicode() from nsString. Begone! r=dbaron, sr=scc 2001-07-03 09:09:56 +00:00
cls%seawood.org
8b1cc424ec Use PR_FALSE, not false. 2001-07-03 08:43:46 +00:00
jaggernaut%netscape.com
38a3cc1191 Second attempt. We'll get it right, eventually. :-) 2001-07-03 08:07:02 +00:00
dianesun%netscape.com
a5014eeb96 Fix for bug 82454(property enable/disable...) r=hwaara, sr=bienvenu, a=asa@mozilla.org
Fix for bug 78900(nsMsgWindow for download msg)  r=bhuvan, sr=bienvenu, a=asa@mozilla.org
Fixes for bugs 79865(Get Msgs offline dialog), & 79245, 79882, 82568. r=bhuvan, sr=sspitzer
2001-07-03 07:33:18 +00:00
cls%seawood.org
19a8175c16 Removing extra ^Ms 2001-07-03 07:32:27 +00:00
racham%netscape.com
fcc1853b99 Fixing bug 6830. Additional patch to check if the server prefs are already set via rdf files. r,sr=sspitzer 2001-07-03 07:22:42 +00:00
jaggernaut%netscape.com
8c50ff3541 Attempt at fixing embedding build bustage. For now we'll just use the windows images. 2001-07-03 06:48:21 +00:00
hewitt%netscape.com
1d8082a1ad 84051 - more small modern theme improvements, including mozilla statusbar icon, thinner radio/checkboxes, and other small tweaks, r=andreww, sr=hyatt 2001-07-03 06:23:13 +00:00
ben%netscape.com
e05d9d2b17 [not part of build]
add license to some files
2001-07-03 06:17:09 +00:00
ben%netscape.com
409649b4fd [not part of build]
implement easy session saving preferences (window size, position, loaded documents)
2001-07-03 06:14:01 +00:00
mstoltz%netscape.com
b02c6f5516 Better fix for JS URL/session history exploit 88167 - JS URLs in session
history have no access to the current page. Other forms of loading (bookmarks,
URL bar, links) remain as they were. r=jesse, sr=jst.
2001-07-03 05:27:22 +00:00
sspitzer%netscape.com
3ec1e28a44 fix for #74799. right clicking twice should not act like double clicking.
according to joki, the correct fix is to drop the right click events in our onclick handler.
r=cavin,racham. sr=mscott
2001-07-03 05:20:57 +00:00
sspitzer%netscape.com
c9f1e0f1f1 fix for #74799. right clicking twice should not act like double clicking.
according to joki, the correct fix is to drop the right click events in our onclick
handler.
r=cavin,racham.  sr=mscott
2001-07-03 05:19:50 +00:00
jaggernaut%netscape.com
13117164fd Bug 88413: nsString::GetUnicode() -> nsString::get(), part 2. Aka "the ones that snuck in". r=mozbot, rs=scc 2001-07-03 04:41:15 +00:00
ben%netscape.com
627d9625e8 Fix bustage by removing references to files that have been moved and are now
referenced by platform jar.mn files.
2001-07-03 03:44:48 +00:00
dianesun%netscape.com
f9642b2546 Fix for bug 81321(disable rename/compact/delete folder for offline). r=bhuvan, sr=sspitzer 2001-07-03 03:11:53 +00:00
timeless%mac.com
31b5dde4b4 Bugzilla Bug 88456 [xlib] scaling code needs to be updated to new scaling routines
patch by timecop@network.email.ne.jp r=Tomi.Leppikangas@oulu.fi sr=tor
2001-07-03 02:53:28 +00:00
oeschger%netscape.com
24cb5cd925 updating pref->help context sensitivity for bugs 46226, 85925, fix is walk84's, r=oeschger 2001-07-03 02:53:25 +00:00
oeschger%netscape.com
eae6462d99 fixing pref->help modality issue (plus updating some cs help 'keys'), bug=87720, r=danm, sr=blake 2001-07-03 02:47:06 +00:00
dbaron%fas.harvard.edu
0d5522009b OK, ftp.netscape.com works for me but it's still not working for the tinderboxes, so out again. 2001-07-03 02:37:23 +00:00
nboyd%atg.com
61f8164eba Fix following bug:
Subject:
             Re: Rhino: [[DefaultValue]] missing for Call object
 Resent-Date:
             Mon, 2 Jul 2001 08:52:07 -0700 (PDT)
 Resent-From:
             mozilla-jseng@mozilla.org
        Date:
             Mon, 02 Jul 2001 11:49:59 -0400
        From:
             Norris Boyd <nboyd@atg.com>
 Organization:
             Art Technology Group
          To:
             Christopher Oliver <coliver@mminternet.com>
         CC:
             mozilla-jseng@mozilla.org
  References:
             1




I believe the correct result of the script should be

[object global]
[object Object]
[object global]

The activation object (which goes by the name of "Call" for historical
reasons) should never be the 'this' value in a function call. See "10.1.6
Activation Object" in the ECMA spec.

I'll look at fixing the problem for Rhino. If there's agreement on my
analysis, someone should fix this for Spidermonkey too.

--N

Christopher Oliver wrote:

> Hi,
>
> function a() {
>     function b() {
>          print(this);
>     }
>     this.f = function() {
>          print(this);
>          b();
>     }
>     b();
> }
>
> var a = new a();
> a.f();
>
> Running the above script with SpiderMonkey produces:
>
> [object global]
> [object Object]
> [object Call]
>
> Running with Rhino produces the following exception:
>
> uncaught JavaScript exception: undefined: Cannot find default value for
> object. (line 3)
>
> This is due to a bug in org.mozilla.javascript.NativeCall which doesn't
> implement toString or valueOf or override getDefaultValue.
> However, even after I hacked in an implementation of getDefaultValue in
> NativeCall, Rhino still produces a different result then spidermonkey:
>
> [object Call]
> [object Object]
> [object Call]
2001-07-03 02:19:51 +00:00
mkaply%us.ibm.com
b9b3076a0d More IRIX bustage 2001-07-03 02:19:04 +00:00
peterlubczynski%netscape.com
52512c32b6 Patch to fix crash with sample plugin and OS X plugins bug 85334 r=av sr=attinasi 2001-07-03 01:56:28 +00:00
blakeross%telocity.com
430832298b Removing line that snuck in. 2001-07-03 01:52:11 +00:00
blakeross%telocity.com
8fd0623da7 History should use outliner, provide a way to sort/view history the old way, win32 classic should use +/- twisties (73857, 71947, 80846, also fixes 66907, 59814, 71029, 48864, 69260, others). r=alecf sr=ben 2001-07-03 01:46:22 +00:00
jaggernaut%netscape.com
dc448802d0 Re-doing GetUnicode() -> get() change inadvertently undone after merge-conflict. 2001-07-03 01:28:13 +00:00
dbaron%fas.harvard.edu
6ba464b3b6 ftp.netscape.com seems happy again. Add it back to bloaturls.txt 2001-07-03 01:27:37 +00:00
bienvenu%netscape.com
ff1a88ef4b implement offline imap empty trash r=naving, sr=sspitzer 84841 2001-07-03 01:27:32 +00:00
mscott%netscape.com
97588bf226 bug #80220 --> show a tooltip over long attachments
Bug #79584 --> remove the .Print option from the attachment popup.
r/sr=sspitzer
2001-07-03 01:18:41 +00:00
pschwartau%netscape.com
65130fd171 Improving readability. 2001-07-03 01:13:23 +00:00
blakeross%telocity.com
ccf5e5b6d8 Relying on cached text length too heavily upon retrieval (87348, needed for 37587). r=smfr sr=kin 2001-07-03 01:09:58 +00:00