4107 Commits

Author SHA1 Message Date
sfraser%netscape.com
d13290489f Fixing Mac bustage; add a bunch of casts between PRUnichar* and jschar* (why isn't jschar a wchar_t?). r=nisheeth
git-svn-id: svn://10.0.0.236/trunk@115348 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-26 03:01:03 +00:00
nisheeth%netscape.com
c01441892a Fix for bug 84186. r=dbradley, jag. sr=jband. Added support for CStrings, UTF8String, and AStrings to XPIDL. Also added the -t cmd line flag to XPIDL and XPTLINK that allows us to generate output for a specific XPT version. The XPT version number is being upped from 1.1 to 1.2 with this checkin.
git-svn-id: svn://10.0.0.236/trunk@115344 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-26 01:41:42 +00:00
igor%mir2.org
8970e0cb2c Use ClassFileWriter.toByteArray to get class file bytes in place of calling ClassFileWriter with ByteArrayStream argument
git-svn-id: svn://10.0.0.236/trunk@115300 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-24 19:18:44 +00:00
igor%mir2.org
00c87cda17 1. Added toByteArray to get class file as a byte array. Implementation first calculates the resulting array size to minimize number of allocations.
2. Set DEBUG to true to activate usage checks


git-svn-id: svn://10.0.0.236/trunk@115299 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-24 19:15:19 +00:00
brendan%mozilla.org
64c95321b5 Fix stale comment about duplicate formal params (a=drivers, comment-only followup to 62164's big patch).
git-svn-id: svn://10.0.0.236/trunk@115288 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-24 00:26:57 +00:00
brendan%mozilla.org
57c47d6829 Comment change only, quick followup to last humongous checkin.
git-svn-id: svn://10.0.0.236/trunk@115272 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-23 04:44:40 +00:00
brendan%mozilla.org
f780c9a84e Major footprint/perf win: share property state using a tree whose root represents empty scopes, and whose non-root nodes represent scopes with properties added in order from the root to that node; to use double hashing to map these tree-paths for per-scope property lookup; and avoid locking where possible through immutability and mostly-benign&rare race tolerance (62164, r=shaver, sr=jband).
git-svn-id: svn://10.0.0.236/trunk@115266 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-23 03:49:27 +00:00
pschwartau%netscape.com
df0d298536 Adding two more cases to test. Improving readability.
git-svn-id: svn://10.0.0.236/trunk@115260 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-23 01:14:51 +00:00
nboyd%atg.com
dd8e3dd5a8 Missed one codepath in previous fix for 126722. This should complete the fix.
git-svn-id: svn://10.0.0.236/trunk@115232 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-22 17:40:32 +00:00
nboyd%atg.com
ad685a20c2 Fix bug 126722
git-svn-id: svn://10.0.0.236/trunk@115156 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-21 15:53:50 +00:00
pschwartau%netscape.com
801d9342df Initial add.
git-svn-id: svn://10.0.0.236/trunk@115110 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 19:07:08 +00:00
jband%netscape.com
bded77e04f fix bug 126333. reduce shutdown leakage by releaseing Components object members. r=dbradley sr=alecf
git-svn-id: svn://10.0.0.236/trunk@115082 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 07:03:27 +00:00
rginda%netscape.com
2baaf83b8f bug 126365, "add options and private support to jsdIContext", sr=jst, r=jband
add jsdIContext::options and ::privateData attributes


git-svn-id: svn://10.0.0.236/trunk@115053 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 05:45:57 +00:00
rogerl%netscape.com
00f1179b87 r=thesteve, sr=brendan, bug @119909 - crashing RegExp with > 10 backrefs.
git-svn-id: svn://10.0.0.236/trunk@115050 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 05:43:26 +00:00
dbradley%netscape.com
4c972e2fbe 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
git-svn-id: svn://10.0.0.236/trunk@114932 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 14:48:00 +00:00
dbradley%netscape.com
11a6c0c0fe Bug 121938 - XPCWrappedJS::GetNewORUsed does not look for inherited interfaces when matching interfaces. r=jband, sr=jst
git-svn-id: svn://10.0.0.236/trunk@114922 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 11:24:21 +00:00
pschwartau%netscape.com
2204d3ea68 Skipping new testcase until bug 126317 is fixed.
git-svn-id: svn://10.0.0.236/trunk@114861 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 01:53:39 +00:00
brendan%mozilla.org
d8e62cd414 Fix bad old js_ValueToInt32 to have an int-jsval fast path, to avoid f.p. inaccuracy (126159, r=shaver, sr=jband).
git-svn-id: svn://10.0.0.236/trunk@114850 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 00:02:29 +00:00
pschwartau%netscape.com
65d13a8893 Adding more cases and improving comments.
git-svn-id: svn://10.0.0.236/trunk@114848 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 23:59:15 +00:00
jband%netscape.com
1c7ae7ac8d 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
git-svn-id: svn://10.0.0.236/trunk@114847 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 23:47:30 +00:00
brendan%mozilla.org
4df920fc3b Followup fix for ECMA-262 15.10.6.2 step 6, plus warning fixes (76717, r/sr=shaver&jband).
git-svn-id: svn://10.0.0.236/trunk@114843 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 23:43:28 +00:00
pschwartau%netscape.com
dc8a6d8602 Fixing a typo in the comments
git-svn-id: svn://10.0.0.236/trunk@114838 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 23:29:54 +00:00
seawood%netscape.com
789a127d29 Removing unneeded LIBS setting. LIBS isn't used to link libraries.
git-svn-id: svn://10.0.0.236/trunk@114834 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 23:19:49 +00:00
pschwartau%netscape.com
57d2891003 Initial add.
git-svn-id: svn://10.0.0.236/trunk@114811 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 22:03:46 +00:00
nboyd%atg.com
c73c521f6c Fix more broken links.
git-svn-id: svn://10.0.0.236/trunk@114805 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 16:25:26 +00:00
nboyd%atg.com
2a09e3e01f Fix broken link.
git-svn-id: svn://10.0.0.236/trunk@114796 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 15:20:39 +00:00
rginda%netscape.com
02aacf2f31 bug 124717, need to wrap JSVAL_NULL for eval result, instead of just returning it unwrapped.
git-svn-id: svn://10.0.0.236/trunk@114681 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 10:53:52 +00:00
pschwartau%netscape.com
37a12a3213 Hard-coding the expected value for Error.length in Rhino vs. SpiderMonkey
git-svn-id: svn://10.0.0.236/trunk@114577 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 06:31:41 +00:00
jband%netscape.com
8ed52839ab fix bug 125430. Unbust Components.returnCode by not setting the JSPROP_READONLY bit on the read/write property. r=bzbarsky sr=jst
git-svn-id: svn://10.0.0.236/trunk@114569 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 03:33:37 +00:00
dbradley%netscape.com
fdd1846921 Bug 121526 - Need to expose the security info pointer from the nsIXPConnectWrappedNative interface. r=jst, sr=jband
git-svn-id: svn://10.0.0.236/trunk@114568 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 03:11:15 +00:00
rginda%netscape.com
b5e27846e1 fix uninitialized return value in jsd_IsStackFrameNative
git-svn-id: svn://10.0.0.236/trunk@114528 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 22:39:09 +00:00
pschwartau%netscape.com
ae04d41a52 Adding a comment.
git-svn-id: svn://10.0.0.236/trunk@114519 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 20:42:44 +00:00
pschwartau%netscape.com
e89cafd183 Add skip for new RegExp performance test. Bug 125562 (Rhino), bug 85721 (SpiderMonkey).
git-svn-id: svn://10.0.0.236/trunk@114518 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 20:37:40 +00:00
rogerl%netscape.com
d6007c572e Fixed expected output from case 1. (sr=pschwartau)
git-svn-id: svn://10.0.0.236/trunk@114515 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 19:21:13 +00:00
pschwartau%netscape.com
0700eab060 Correcting an error
git-svn-id: svn://10.0.0.236/trunk@114514 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 19:11:15 +00:00
pschwartau%netscape.com
fffd3d319c Initial add. Regression test for bug 85721.
git-svn-id: svn://10.0.0.236/trunk@114513 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 19:06:59 +00:00
rginda%netscape.com
5f8367e018 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.


git-svn-id: svn://10.0.0.236/trunk@114496 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 07:57:30 +00:00
rginda%netscape.com
3902d6df27 bug 124474, "JS_IsNativeFrame should return !fp->script"
also includes typo fix from bug 124474
sr=shaver, r=jband


git-svn-id: svn://10.0.0.236/trunk@114495 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 07:52:02 +00:00
brendan%mozilla.org
86e25935ba Construct error objects to consolidate their default property setting; this entails adding JS_ConstructObjectWithArguments (123177, r=rginda, sr=shaver).
git-svn-id: svn://10.0.0.236/trunk@114493 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 07:25:34 +00:00
jband%netscape.com
c3462e03e5 add regression test for bug 125430. NOT PART OF THE BUILD
git-svn-id: svn://10.0.0.236/trunk@114485 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 06:01:54 +00:00
nboyd%atg.com
d518e725e0 Add skips for new tests.
git-svn-id: svn://10.0.0.236/trunk@114467 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 02:05:38 +00:00
dbradley%netscape.com
4541c66d72 Bug 124251 - Fix for some DOMStrings leaking when using -mail. r=dbaron, sr=jst
git-svn-id: svn://10.0.0.236/trunk@114449 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 00:12:44 +00:00
nboyd%atg.com
d9c6ed0fb7 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)


git-svn-id: svn://10.0.0.236/trunk@114372 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 03:07:31 +00:00
igor%mir2.org
285c1ecdc7 Making final for performance reasons
git-svn-id: svn://10.0.0.236/trunk@114358 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 01:41:11 +00:00
rogerl%netscape.com
8da67ce019 Fixing bug #103351 - using undefined as RegExp value for String.replace.
r=khanson, sr=brendan


git-svn-id: svn://10.0.0.236/trunk@114292 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 19:12:42 +00:00
ccarlen%netscape.com
0db9b3dc65 Bug 115334 - Removing .mcp files which are obsolete after XML conversion. r=jj/sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@114285 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 15:41:41 +00:00
nboyd%atg.com
dfb329185b Add new Context method "toType" to convert to a specified Java type
git-svn-id: svn://10.0.0.236/trunk@114279 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 14:30:27 +00:00
nboyd%atg.com
58eb99d8c8 Fix 124900
git-svn-id: svn://10.0.0.236/trunk@114278 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 14:29:30 +00:00
brendan%mozilla.org
f0455a28be 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).
git-svn-id: svn://10.0.0.236/trunk@114268 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 07:44:48 +00:00
pschwartau%netscape.com
20590dcc68 Initial add. Testing functions with duplicate formal parameter names.
git-svn-id: svn://10.0.0.236/trunk@114229 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 01:35:05 +00:00