nboyd%atg.com
50423a21d4
Fix bug 126722
2002-02-21 15:53:50 +00:00
pschwartau%netscape.com
f124320735
Initial add.
2002-02-20 19:07:08 +00:00
jband%netscape.com
78dddf0f3b
fix bug 126333. reduce shutdown leakage by releaseing Components object members. r=dbradley sr=alecf
2002-02-20 07:03:27 +00:00
rginda%netscape.com
24f2a77101
bug 126365, "add options and private support to jsdIContext", sr=jst, r=jband
...
add jsdIContext::options and ::privateData attributes
2002-02-20 05:45:57 +00:00
rogerl%netscape.com
e2486ebfbe
r=thesteve, sr=brendan, bug @119909 - crashing RegExp with > 10 backrefs.
2002-02-20 05:43:26 +00:00
dbradley%netscape.com
5372835bdb
Bug 119382 - attribute nsIIDPtr IID considered harmful - This patch makes it an error to declare an attribute named IID or a method named getIID. r=jband, sr=jst
2002-02-19 14:48:00 +00:00
dbradley%netscape.com
db81563416
Bug 121938 - XPCWrappedJS::GetNewORUsed does not look for inherited interfaces when matching interfaces. r=jband, sr=jst
2002-02-19 11:24:21 +00:00
pschwartau%netscape.com
3e71defef2
Skipping new testcase until bug 126317 is fixed.
2002-02-19 01:53:39 +00:00
brendan%mozilla.org
33746feb4c
Fix bad old js_ValueToInt32 to have an int-jsval fast path, to avoid f.p. inaccuracy (126159, r=shaver, sr=jband).
2002-02-19 00:02:29 +00:00
pschwartau%netscape.com
40e5db5cab
Adding more cases and improving comments.
2002-02-18 23:59:15 +00:00
jband%netscape.com
17e692e072
bug 123770. extend xpconnect to use dynamic 'additional' interface info managers to support dynamic type info. Also, abstract out the Components.interfaces object and make the items use a bit less memory. r=dbradley sr=vidur
2002-02-18 23:47:30 +00:00
brendan%mozilla.org
f2dabe8b2c
Followup fix for ECMA-262 15.10.6.2 step 6, plus warning fixes (76717, r/sr=shaver&jband).
2002-02-18 23:43:28 +00:00
pschwartau%netscape.com
5ee730d78f
Fixing a typo in the comments
2002-02-18 23:29:54 +00:00
seawood%netscape.com
3ae0856e3e
Removing unneeded LIBS setting. LIBS isn't used to link libraries.
2002-02-18 23:19:49 +00:00
pschwartau%netscape.com
c00503d664
Initial add.
2002-02-18 22:03:46 +00:00
nboyd%atg.com
8c072564d0
Fix more broken links.
2002-02-18 16:25:26 +00:00
nboyd%atg.com
9445831f73
Fix broken link.
2002-02-18 15:20:39 +00:00
rginda%netscape.com
adb60f229e
bug 124717, need to wrap JSVAL_NULL for eval result, instead of just returning it unwrapped.
2002-02-16 10:53:52 +00:00
pschwartau%netscape.com
b3c944d7dd
Hard-coding the expected value for Error.length in Rhino vs. SpiderMonkey
2002-02-15 06:31:41 +00:00
jband%netscape.com
1ef661eab1
fix bug 125430. Unbust Components.returnCode by not setting the JSPROP_READONLY bit on the read/write property. r=bzbarsky sr=jst
2002-02-15 03:33:37 +00:00
dbradley%netscape.com
90a78e1012
Bug 121526 - Need to expose the security info pointer from the nsIXPConnectWrappedNative interface. r=jst, sr=jband
2002-02-15 03:11:15 +00:00
rginda%netscape.com
0aa1a25c67
fix uninitialized return value in jsd_IsStackFrameNative
2002-02-14 22:39:09 +00:00
pschwartau%netscape.com
81652b18be
Adding a comment.
2002-02-14 20:42:44 +00:00
pschwartau%netscape.com
f535290dc8
Add skip for new RegExp performance test. Bug 125562 (Rhino), bug 85721 (SpiderMonkey).
2002-02-14 20:37:40 +00:00
rogerl%netscape.com
9946283506
Fixed expected output from case 1. (sr=pschwartau)
2002-02-14 19:21:13 +00:00
pschwartau%netscape.com
05feea4a8c
Correcting an error
2002-02-14 19:11:15 +00:00
pschwartau%netscape.com
cc83c0c18f
Initial add. Regression test for bug 85721.
2002-02-14 19:06:59 +00:00
rginda%netscape.com
34dcbc87a7
bug 124474, "add native frame support to jsd"
...
sr=shaver, r=jband
add JSD_IsStackFrameNative, IsStackFrameDebugger, and IsStackFrameConstructing
add similar attributes to jsdIStackFrame
tweak return values in jsds_FilterHook
don't include dummy stack frames in threadstates
bug 110387, "Crash on exiting venkman"
check to see if the debugger was turned off before going through with an unPause.
2002-02-14 07:57:30 +00:00
rginda%netscape.com
5d58b5146e
bug 124474, "JS_IsNativeFrame should return !fp->script"
...
also includes typo fix from bug 124474
sr=shaver, r=jband
2002-02-14 07:52:02 +00:00
brendan%mozilla.org
aba15fbd2d
Construct error objects to consolidate their default property setting; this entails adding JS_ConstructObjectWithArguments (123177, r=rginda, sr=shaver).
2002-02-14 07:25:34 +00:00
jband%netscape.com
7a83c28af1
add regression test for bug 125430. NOT PART OF THE BUILD
2002-02-14 06:01:54 +00:00
nboyd%atg.com
2543003c2a
Add skips for new tests.
2002-02-14 02:05:38 +00:00
dbradley%netscape.com
41da93a53b
Bug 124251 - Fix for some DOMStrings leaking when using -mail. r=dbaron, sr=jst
2002-02-14 00:12:44 +00:00
nboyd%atg.com
ef0947a309
Fix build problem in batik:
...
[javac] Compiling 1427 source files to /data/gump/xml-batik/classes
[javac] /data/gump/xml-batik/sources/org/apache/batik/script/rhino/EventTargetWrapper.java:81:
coerceType(java.lang.Class,java.lang.Object,boolean)
in org.mozilla.javascript.NativeJavaObject cannot be applied to
(java.lang.Class,java.lang.Object)
2002-02-13 03:07:31 +00:00
igor%mir2.org
3c6a4b6df9
Making final for performance reasons
2002-02-13 01:41:11 +00:00
rogerl%netscape.com
3cafa8d101
Fixing bug #103351 - using undefined as RegExp value for String.replace.
...
r=khanson, sr=brendan
2002-02-12 19:12:42 +00:00
ccarlen%netscape.com
0d871a1552
Bug 115334 - Removing .mcp files which are obsolete after XML conversion. r=jj/sr=sfraser
2002-02-12 15:41:41 +00:00
nboyd%atg.com
9cdc547eaa
Add new Context method "toType" to convert to a specified Java type
2002-02-12 14:30:27 +00:00
nboyd%atg.com
797571ad23
Fix 124900
2002-02-12 14:29:30 +00:00
brendan%mozilla.org
1e4bb807d7
Hack special frame flags into fp when compiling under JS_Evaluate*InStackFrame, so useless expressions don't get optimized away (92087, r=rginda, sr=jband).
2002-02-12 07:44:48 +00:00
pschwartau%netscape.com
2ee1c98e70
Initial add. Testing functions with duplicate formal parameter names.
2002-02-12 01:35:05 +00:00
pschwartau%netscape.com
1ba9a7f2b0
Added two new cases to the test.
2002-02-11 23:02:32 +00:00
pschwartau%netscape.com
4121f4550e
Improving readability of summary.
2002-02-11 22:04:16 +00:00
pschwartau%netscape.com
464d31511c
Fixing a typo.
2002-02-11 20:13:59 +00:00
pschwartau%netscape.com
480fe35fe1
Initial add. Testing functions with duplicate formal parameter names.
2002-02-11 19:39:12 +00:00
igor%mir2.org
b20f228b29
cosmetics: end-of-line whitespace removal
2002-02-11 01:33:23 +00:00
igor%mir2.org
142bcdb900
tabs -> spaces
2002-02-11 00:02:14 +00:00
igor%mir2.org
dd9357bec7
Avoid unnecessary calls to Context.getContext() by passing Context directly as an argument
2002-02-10 21:10:35 +00:00
igor%mir2.org
582b069550
Always use try/finally to wrap Context.exit
2002-02-10 21:09:42 +00:00
brendan%mozilla.org
3375f6f6f0
Add exception object stack property, string valued; clean up NULL/VOID mixup, missing OOM test, etc. (123177, r=rginda, sr=shaver).
2002-02-09 06:28:58 +00:00
pschwartau%netscape.com
8a7c41db48
Added five new cases to test number values between uint32 upper-bound and long upper-bound.
2002-02-09 00:18:12 +00:00
brendan%mozilla.org
fa54cd9d8a
Remove bad old regexp object locking across huge, deadlock-prone, so-not-critical sections (123930, r=rogerl, sr=jband&shaver).
2002-02-09 00:14:31 +00:00
brendan%mozilla.org
a219a25636
Fix recently-uncovered ECMA violation: lastIndex must use double storage (124339, r=rogerl, sr=shaver).
2002-02-08 23:59:49 +00:00
pschwartau%netscape.com
94b0eb9c73
Improving readability.
2002-02-08 23:22:59 +00:00
pschwartau%netscape.com
64d729ccb2
Improving readability.
2002-02-08 21:42:55 +00:00
brendan%mozilla.org
a22a44116b
Make regexp.lastIndex threadsafe by multiplexing it by thread-id in each r.e. (76717, r=rogerl, sr=shaver).
2002-02-08 02:46:03 +00:00
brendan%mozilla.org
a911b05d03
Avoid all gc <> obj-lock deadlocks by letting the gc run lock-free, safe since all requests are suspended or ended when the gc runs (114712, r=shaver, sr=jband).
2002-02-08 01:55:30 +00:00
nboyd%atg.com
7eff00208f
* Avoid creating a ClassNameHelper when turning caching off.
...
* When turning debug generation on, don't change opt level from -1 to 0.
2002-02-07 17:54:57 +00:00
rginda%netscape.com
7fccaa5b34
bug 121039, "Need a way to unwrap jsdIValues", r=jband, sr=jst
...
adds jsdIValue::getWrappedValue() and jsdIService::wrapValue() methods to provid
e js scripts a way to convert between jsdIValues and "real" js values.
Also includes fix to not call breakpoint hook while paused, and changes jsdIFilt
er::glob attribute to jsdIFilter::globalObject, to match jsdIContext::globalObject
2002-02-07 00:59:55 +00:00
brendan%mozilla.org
2edcffaaed
Quick followup to last checkin -- warning fixes (d'oh!)
2002-02-06 07:56:29 +00:00
brendan%mozilla.org
2653cdfd3a
Fix call and new expression parsenode beginning line number, where the arglist is on another line from the function or constructor, to avoid a bogus assertion in UPDATE_LINENO_NOTES, which is now replaced by better comments and an avoided gratuitous store to cg->currentLine (123371, r=rginda, sr=shaver).
2002-02-06 07:39:20 +00:00
brendan%mozilla.org
2c41247d14
Fix failure to check for JS_InitClass failure, reported by Eric Brueggemann <eric_brueggemann@yahoo.com>, r=shaver, sr=mozbot.
2002-02-06 07:01:37 +00:00
nboyd%atg.com
d7f0af7c79
Have ClassNameHelper object be allocated lazily
2002-02-05 13:47:16 +00:00
nboyd%atg.com
dc8951753b
Don't hold a static reference to a ClassLoader that will prevent JavaAdapter classes
...
from being unloaded.
2002-02-05 13:37:50 +00:00
jband%netscape.com
dcbd4a1a96
Add better support to xpconnect for converting between variants and arrays. bug 120881. r=dbradley sr=vidur. Trivial fix for case where we were hitting an assert at xpcom shutdown. bug 121536. r=dbradley rs=vidur.
2002-02-05 06:45:08 +00:00
jst%netscape.com
cb926125b8
Fixing bug 116834. Making element.innerHTML='...<script>...</script>...' not execute the script, this makes mozilla compatible with IE wrt innerHTML and execution of scripts. r=bzbarsky@mit.edu, sr=rpotts@netscape.com
2002-02-05 05:53:56 +00:00
pschwartau%netscape.com
57f17cedc4
Initial add. Regression test for bug 123437.
2002-02-05 01:44:52 +00:00
nboyd%atg.com
dbc9ade56d
Clean up formatting.
2002-02-04 18:58:03 +00:00
nboyd%atg.com
80650f2d25
Change version to 1.5R4pre.
2002-02-04 15:26:31 +00:00
jband%netscape.com
f0115acfab
unbust XPCONNECT_STANDALONE build. No change to default build. bug 121438. rs=jband.
2002-02-03 20:05:22 +00:00
pschwartau%netscape.com
687f3f451e
Initial add. Regression test for bug 123002.
2002-02-02 02:03:43 +00:00
seawood%netscape.com
8f2816f49f
Do not place the .res file inthe srcdir
2002-02-01 04:50:32 +00:00
igor%mir2.org
febdace285
Use heapsort instead of qsort for Array.sort to follow JS for reasons described in http://bugzilla.mozilla.org/show_bug.cgi?id=99120
2002-01-31 10:08:17 +00:00
brendan%mozilla.org
fdf6f6bfee
Fix for(i in null) and for(i in undefined) to error per ECMA, rather than iterating zero times (121744, r=khanson, sr=shaver).
2002-01-31 07:30:05 +00:00
rginda%netscape.com
905acd6402
changing a string constant, comenting out a DEBUG_rginda
...
use more descriptive url when compiling prettyprint changes
2002-01-31 00:37:28 +00:00
pschwartau%netscape.com
5c88e87eeb
Initial add. Regression test for bug 121744.
2002-01-30 21:57:28 +00:00
sfraser%netscape.com
d133d4956f
Making the nsModuleComponentInfo data const; bug 74803. r=dp, sr=waterson
2002-01-30 21:14:20 +00:00
rginda%netscape.com
2ab45af255
quiet bogus "potentially unused" warnings, see bug 121178, sr=brendan
2002-01-30 08:37:57 +00:00
igor%mir2.org
03c7c86042
Stricter enter/exit: enter performs sanity checks on supplied Context and the exit requires previous enter.
2002-01-29 22:58:22 +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
igor%mir2.org
7ca511bab3
Few Native* classes are made package private and final. They had been public only for implementation reasons.
2002-01-29 18:40:13 +00:00
igor%mir2.org
86947ddec0
Use ScriptRuntime.toString(double) to convert double to string. Easier to follow version of getElem/setElem
2002-01-29 09:44:24 +00:00
rginda%netscape.com
9626570b63
bug 121318, sr=brendan,r=jst, "Venkman should disable the target window when stopped at a breakpoint".
...
implement the jsdIContext interface.
create only one jsdValue wrapper per unique jsval.
add executionContext property to jsdIStackFrame.
add enumerateContexts to jsdIDebuggerService.
add jsdIContextEnumerator interface.
2002-01-29 08:32:23 +00:00
rginda%netscape.com
0e7a4d620e
fixing os/2 bustage, false vs PR_FALSE mixup
2002-01-29 07:20:59 +00:00
rginda%netscape.com
33fccb8187
bug 121178, r=jst,sr=brendan, "jsdIStackFrame::eval signature needs to be changed"
...
return exception from jsdService::Eval if one occurs.
2002-01-29 06:15:58 +00:00
rginda%netscape.com
ecdf07d4a4
bug 121192, sr=brendan,r=jst, "Add proper errorHook and debugHook to jsdIDebuggerService"
...
adds jsdIDebugHook interface, change the meaning of jsdIErrorHook.
error hook is called when an error occurs, and is given information about the error report.
debug hook is called when/if the error hook returns false, and is given information about the ececution state.
2002-01-29 05:56:02 +00:00
nboyd%atg.com
044c888b5f
Update implementation version.
2002-01-28 00:52:12 +00:00
brendan%mozilla.org
1d1d042dce
Checking in rogerl's fix for double-reports of compile-time errors (120197, r=brendan, sr=shaver).
2002-01-27 04:42:37 +00:00
nboyd%atg.com
a2254d8379
Clean up formatting.
2002-01-26 20:07:49 +00:00
nboyd%atg.com
eec81fb952
Fix bug 121790
2002-01-26 19:15:06 +00:00
nboyd%atg.com
cf94c28b89
Fix formatting
2002-01-26 19:13:22 +00:00
pschwartau%netscape.com
31fad3dda2
Improving readablity.
2002-01-25 23:52:24 +00:00
pschwartau%netscape.com
97e08a35b7
Improving readability.
2002-01-25 20:37:37 +00:00
pschwartau%netscape.com
29979faedc
Improving readability.
2002-01-25 20:02:31 +00:00
pschwartau%netscape.com
884be956c1
Skip another SpiderMonkey test generating infinite recursion and catching it as an error.
2002-01-25 03:39:21 +00:00
seawood%netscape.com
39ba085fc5
Fix "static" build support for win32 gmake builds.
...
Bug #58981 r=bryner
2002-01-25 03:20:51 +00:00
pschwartau%netscape.com
e20c536dcb
Added three more cases to the test.
2002-01-25 03:17:23 +00:00
pschwartau%netscape.com
26aea873ac
Initial add. Regression test for bug 121658.
2002-01-25 03:04:18 +00:00
brendan%mozilla.org
b8f48f2f9f
Make 'too much recursion' errors be exceptions #if JS_HASH_ERROR_EXCEPTIONS (121658, r=rogerl, sr=shaver).
2002-01-25 00:49:52 +00:00
brendan%mozilla.org
f303a64843
Checking in patch from Daniel Bratell <bratell@lysator.liu.se>, r=khanson, sr=me.
2002-01-25 00:47:11 +00:00
nboyd%atg.com
d7e41aff99
UPdate implementation version
2002-01-24 20:17:05 +00:00
nboyd%atg.com
f79730a30a
Fix out-of-date javadoc.
2002-01-24 19:57:52 +00:00
nboyd%atg.com
c24a699dd8
Fix the following problem:
...
Thanks!
As promised, I tried the debugger this afternoon and I had a problem with the '-f' option.
We use -f to run a standard "startup" script before executing the "main" script. For
example, we run the Rhino shell with the options "-f startup.js main.js".
When running the debugger's shell with the same options the debugger exits after the
startup.js completes; i.e., I can single step starting from startup.js but the debugger
exits at the end of startup.js without letting me single step into main.js. This worked
fine in the 1.5R2 release of Rhino and the debugger.
I have not had a chance to look into the problem closely, but a cursory look at the code
suggests (to me) that the problem can be in either the debugger or the shell (since the
debugger basically runs the shell after creating the right "hooks".) Of course, it could
also be a problem with my embedding.
So ... my question is, has anyone tried single stepping when the options to the debugger
include a '-f' option. If so, I'll continue to look for a problem in my embedding.
Any suggestions would be appreciated.
Thanks,
dave
2002-01-24 19:57:01 +00:00
rogerl%netscape.com
d8f1df22cb
Fix bug #104375 . Bug in String.replace() with $n where n > # parens.
...
r=khanson, sr=brendan.
2002-01-24 19:27:21 +00:00
nboyd%atg.com
8ac7ce6e06
Add new skip.
2002-01-24 14:10:35 +00:00
rginda%netscape.com
675a123ada
bug 119865, crash exiting venkman, r=peterv, sr=brendan
...
use nsCOMPtr to avoid releasing a final reference via jsdScript::Invalidate()
2002-01-24 13:17:04 +00:00
jst%netscape.com
74b270f1db
Fixing bug 120899. Changing the NS_WARN_IF_FALSE() macro so that it can't be mis-used in optimized builds. This change makes the macro not usable in expressions that are supposed to be evaluated in release code since the macro now expands to nothing in non-debug builds. Also eliminate NS_VALIDATE which is equally mis-usable. r=dbaron@fas.harvard.edu, sr=brendan@mozilla.org
2002-01-24 09:20:51 +00:00
jst%netscape.com
755aed19ba
Fixing bug 120901. Eliminating unnecessary QI call in XPCWrappedNative::GetNative(). r=dbradley@netscape.com, sr=jband@netscape.com
2002-01-24 06:03:25 +00:00
jst%netscape.com
cc17fd30b7
Fixing bug 120718. Making XPCReadableJSStringWrapper not allocate non-shared buffer handles, this caused a malloc to happen for every XPCReadableJSStringWrapper that was accessed in mozilla, ~400 allocations at startup. r=dbaron@fas.harvard.edu sr=jaggernaut@netscape.com.
2002-01-24 05:59:41 +00:00
bratell%lysator.liu.se
af5d807ca1
Bug 120990 - make conversion from integer to string faster by not using sprintf. r=khanson, sr=brendan
2002-01-24 05:24:39 +00:00
pschwartau%netscape.com
47f756e940
Correcting typo.
2002-01-24 02:31:51 +00:00
pschwartau%netscape.com
643394a31d
Initial add. Regression test for bug 96526.
2002-01-24 02:25:05 +00:00
pschwartau%netscape.com
b11d6ffb0e
Initial add; testing Error.prototype.toString()
2002-01-23 02:24:32 +00:00
brendan%mozilla.org
dcbcdb0799
Inline-eliminate js_Emit{Break,Continue} and move SRC_CONTINUE generation to the right place (120571, r=rogerl, sr=jst&jband, a=asa).
2002-01-22 22:06:10 +00:00
nboyd%atg.com
b0c8c14266
Fix bug:
...
Norris,
I realize this is probably a nuisance, but the following problem causes our
regression test suite to fail:
js> foo = new Error("bar")
undefined: bar
js> foo.name Error
js> foo.toString()
undefined: bar
Our test suite expects:
js> foo = new Error("bar")
Error: bar
js> foo.name Error
js> foo.toString()
Error: bar
I have not yet tried the debugger with the RC2 release, but I expect to get
to that later today.
I hope I'm not to late to influence the 1.5R3 release.
Thanks,
dave
2002-01-19 17:43:26 +00:00
pschwartau%netscape.com
4e5c511acb
Made sections 13 and 14 more precise.
2002-01-19 03:34:50 +00:00
sfraser%netscape.com
0428dc97e3
Fix for bug 120451 -- clean up the sleep Q entry on quit, so that we don't leave a bad entry there and hose the machine some time later. r=sdagley, sr=beard, a=blizzard
2002-01-18 21:40:13 +00:00
pschwartau%netscape.com
eefea05476
Added two more cases to test.
2002-01-18 07:07:13 +00:00
nboyd%atg.com
46f0076965
Skip changed test.
2002-01-17 13:50:47 +00:00
beard%netscape.com
5dfeb6c1a2
Configuration to build on Mac OS X 10.1.
2002-01-17 06:39:04 +00:00
jst%netscape.com
50295b2702
Fixing part of bug 118933. Speeding up the global resolve hook in the DOM JS helpers by eliminating the use of nsHashtable and nsStringKey in favor of pldhash. Adding global HashString(const nsA[C]String&) functions that calculate a hash code from a nsA[C]String, code by dbaron@fas.harward.edu. Also checking in brendan@mozilla.org's fix for a type error in the jsdhash/pldhash API found while working on this. sr=brendan@mozilla.org, r=peterv@netscape.com
2002-01-17 04:08:14 +00:00
dbaron%fas.harvard.edu
362b589445
Missing part of fix for bug 117153, fixing threadsafety problems with shared empty buffer handles. b=120300 r=jag sr=alecf a=blizzard
2002-01-17 00:07:15 +00:00
nboyd%atg.com
83fc380ff9
Add link to article with Rhino.
2002-01-16 16:07:12 +00:00
rogerl%netscape.com
be480d0e2d
Fixed RegExp bug #72964 , r=khanson, sr=brendan
2002-01-16 06:47:06 +00:00
rogerl%netscape.com
08c2912aac
Fixed RegExp bugs #105972 & #87231 . r=khanson, sr=brendan.
2002-01-16 06:06:34 +00:00
brendan%mozilla.org
71be933776
Simplify #ifdefs in JS_Assert to default to fprintf (45673, debug only, r=rogerl, sr=me, patch from jband).
2002-01-16 05:17:58 +00:00
brendan%mozilla.org
958c05b6cc
Checking in patch for rob1@rekl.yi.org, r=khanson, sr=brendan (but neither file is part of the build).
2002-01-16 05:12:53 +00:00
seawood%netscape.com
e56e20b1dc
Use dynamic library & xpidl_module names from nmake build for win32 gmake builds for compatibility.
...
bug #58981 sr=jag
2002-01-16 05:10:09 +00:00
brendan%mozilla.org
007db84d18
Checking in patch for Steven Cole <scole@planetweb.com> to fix js_DoubleToECMAInt32 (120083, r=khanson, sr=brendan).
2002-01-16 00:17:16 +00:00
pschwartau%netscape.com
4ca475a6d9
Adding toInt32 tests for numbers between -2^31 and -2^32 with fractional parts. See bug 120083.
2002-01-16 00:16:48 +00:00
pschwartau%netscape.com
2f7c759f41
Adding toInt32 tests for numbers greater than 2^31 with fractional parts. See bug 120083.
2002-01-15 23:27:12 +00:00
dbradley%netscape.com
81bbc17978
Bug 111068 - SyncXPCContextLists uses of XPCContext::Mark is not thread safe. patch by jband, r=dbradley, sr=jst
2002-01-15 22:49:46 +00:00
nboyd%atg.com
14c34495ad
Update for 1.5R3.
2002-01-15 17:35:09 +00:00
pschwartau%netscape.com
8d201875cc
Correcting a typo in comments-
2002-01-15 01:07:28 +00:00
pschwartau%netscape.com
10fa64eeea
Initial add. Regression test for bug 119909.
2002-01-15 00:51:12 +00:00
rginda%netscape.com
e4742bb5be
bug 119938, nebiros bustage, r=dbaron
...
remove useless casts
2002-01-14 21:59:34 +00:00
jband%netscape.com
66c9536fcc
fix bug 119387. Add a non-allocating IID version of the frequently used getIIDForParam method. r=dbradley sr=jst
2002-01-14 20:02:14 +00:00
bryner%netscape.com
cfc984cc6c
Bug 119743 - autocomplete doesn't work in gcc 2.96 -O2 builds. r=hixie, sr=brendan.
2002-01-14 06:45:21 +00:00
nboyd%atg.com
1b30f2ebf8
Exclude Unicode-2 incompatible tests
2002-01-14 01:21:07 +00:00
beard%netscape.com
3420ef9253
Fix mac bustage: jschar* and PRUnichar* aren't compatible.
2002-01-12 01:40:15 +00:00
rginda%netscape.com
73855845b3
bug 115695, rs=brendan, venkman only
...
netive changes relating to pretty print support, includes...
* remove jsdIPC interface, replaced with ulong offsets from PC 0.
* add |pcmap| parameter to select between sourcetext/prettyprint linemaps (pcToLine, lineToPc, and isLineExecutable.)
* add |functionSource| property to jsdIScript.
* add |tag| to jsdIScript.
* fixed potential jsdIScript leaks.
2002-01-12 00:56:35 +00:00
pschwartau%netscape.com
d24a0fe0ca
Updating JS_GetImplementationVersion() to date of latest JS release (67111).
2002-01-11 23:18:39 +00:00
pschwartau%netscape.com
db92a9fe93
Correcting a mistaken comment.
2002-01-11 01:34:07 +00:00
pschwartau%netscape.com
2d502daf70
Initial add. Regression test for bug 103602.
2002-01-11 01:23:40 +00:00
brendan%mozilla.org
28d27d47f8
Remove Call constructor (118732) and fix old bug in Function where it failed to convert args to strings (118849; both r=timeless, sr=shaver).
2002-01-10 08:51:01 +00:00
seawood%netscape.com
0d320d137e
Link jsd into application in a "static" build.
...
Thanks to Robert Ginda <rginda@netscape.com> for the patch.
Bug #118784 r=cls
2002-01-10 08:47:01 +00:00
pschwartau%netscape.com
b1655936f8
Improving comments.
2002-01-09 19:53:02 +00:00
bryner%netscape.com
7bdffe5186
Bug 117276 - regression on gcc 2.95.x debug builds. Since we don't
...
understand exactly what the problem is here, and it does not seem to
happen on gcc 2.96, and 2.95 doesn't have the alias optimizations that
called for the new code in the first place, just make 2.95 use the old
code. r=timeless, sr=brendan.
2002-01-09 19:23:37 +00:00
nboyd%atg.com
0328c83836
Fix bug 118636: Date format
2002-01-09 15:21:31 +00:00
nboyd%atg.com
d30ebd31a8
Fix bug:
...
We have found a problem in string.replace() when replacing a regular
expression with a dollar sign. The following code works right when the
replacement string does not contain "$":
$ java -jar js.jar
js> var re = new RegExp("%%%");
js> var price = "%%% 1.99";
js> price.replace(re, "USD");
USD 1.99
js> price.replace(re, "$");
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException
at
org.mozilla.javascript.regexp.ReplaceData.interpretDollar(RegExpImpl.java:40 0)
at
org.mozilla.javascript.regexp.ReplaceData.findReplen(RegExpImpl.java:502)
at
org.mozilla.javascript.regexp.RegExpImpl.replace(RegExpImpl.java:116)
at
org.mozilla.javascript.NativeString.execMethod(NativeString.java:266)
at org.mozilla.javascript.IdFunction.call(IdFunction.java:78)
at org.mozilla.javascript.ScriptRuntime.call(ScriptRuntime.java:1222)
at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:1940)
at
org.mozilla.javascript.InterpretedScript.call(InterpretedScript.java:68)
at
org.mozilla.javascript.InterpretedScript.exec(InterpretedScript.java:59)
at org.mozilla.javascript.Context.evaluateReader(Context.java:773)
at
org.mozilla.javascript.tools.shell.Main.evaluateReader(Main.java:312)
at
org.mozilla.javascript.tools.shell.Main.processSource(Main.java:219)
at org.mozilla.javascript.tools.shell.Main.exec(Main.java:106)
at org.mozilla.javascript.tools.shell.Main.main(Main.java:68)
2002-01-09 15:20:48 +00:00