igor%mir2.org
6e090811b4
Fixing bug 281537, a regression introduced due to work on bug 280047. It was reported by Attila Szegedi, szegedia@freemail.hu, who also provided the initial patch.
2005-02-09 15:46:50 +00:00
igor%mir2.org
83dec59657
Implementing bug 281247: JDK compatibility is implemented through VMBridge class and its subclasses to avoid excessive reflection usage.
2005-02-07 07:34:32 +00:00
igor%mir2.org
8e479120c0
I removed unused Context argument from various SomeObject.init methods to decrease code bloat.
2005-02-06 01:56:46 +00:00
igor%mir2.org
aeddcbb266
I chaged JavaAdapter to store ContextFactory in the proxy object directly instead of extracting it from scope. It ensures that the proper factory is used to reenter Context objects even if scope stored in the adapter is manipulated and no longer contains the reference to factory.
2005-02-06 01:14:24 +00:00
igor%mir2.org
e266fe4eb2
Fixing bug 281067: patch from Attila Szegedi, szegedia@freemail.hu, to allow to garbage collect unused Rhino classes.
2005-02-04 15:53:05 +00:00
bryner%brianryner.com
67dba23ae4
Clean up unneeded REQUIRES (bug 73353). r+sr=dbaron.
2005-02-03 23:01:54 +00:00
brendan%mozilla.org
ebf76c53ba
Update JSNewResolveOp's comment to talk about the new JSRESOLVE_ flags.
2005-02-03 22:25:10 +00:00
gerv%gerv.net
21d4b2141a
Bug 236613: change to MPL/LGPL/GPL tri-license. This checkin does not actually change any licenses, but makes indentation and comment-formatting fixes so that the relicensing script is able to parse all the license blocks in the js/ directory. Once the smoke has cleared, I'll do the second step.
2005-02-02 23:52:03 +00:00
darin%meer.net
d67c211542
applying shaver's review nit for bug 235499
2005-02-02 22:22:45 +00:00
darin%meer.net
dc09fbd58d
landing xpconnect patch for bug 235499 "re-enable string buffer sharing between C++ and JS in xpconnect" r=shaver sr=jst
2005-02-02 22:20:28 +00:00
igor%mir2.org
ce11e379b0
Fixing bug 280629: Compatibility patch to add Main.dispose()
2005-02-01 20:41:21 +00:00
nboyd%atg.com
4a4f5f52f6
Update link to ECMA standard
2005-02-01 18:49:56 +00:00
brendan%mozilla.org
0c5c5f6341
Fix GC_MARK_DEBUG-#ifdef'd code for E4X (timeless private bug).
2005-02-01 02:35:31 +00:00
brendan%mozilla.org
f0cbc6e33b
Improve GC_MARK_DEBUG strings a bit, tweak a comment.
2005-02-01 00:54:34 +00:00
brendan%mozilla.org
d91d80c7ef
Pass origobj, not obj, to OBJ_GET_PROPERTY for for-each-in on non-XML objects (bug reported by Martin Honnen, diagnosis by jband).
2005-01-31 07:19:07 +00:00
brendan%mozilla.org
338dcd3e52
Fix js_LineNumberToPC to cope with code reordering, especially in JSOP_CONDSWITCH (1113352, r=shaver).
2005-01-29 18:31:46 +00:00
dbaron%dbaron.org
8993baf11c
Convert CR-LF and CR linebreaks to LF.
2005-01-28 20:01:46 +00:00
brendan%mozilla.org
449bc22ed5
Toggle JSOPTION_COMPILE_N_GO around compilation in JS_EvaluateUCInStackFrame (280086, r=shaver).
2005-01-28 18:14:05 +00:00
igor%mir2.org
b482de83cc
Implementing bug 280047: Undefined no longer implements Scriptable
2005-01-27 16:35:39 +00:00
igor%mir2.org
04510f108b
Always use Undefined.instance and not Context.getUndefinedValue() for consistency.
2005-01-27 00:59:59 +00:00
igor%mir2.org
138a27ece8
Changing deprecated EcmaError.getErrorObject to return null for smaller footprint
2005-01-27 00:57:38 +00:00
igor%mir2.org
176ab5ae57
Fixing JavaDoc formating
2005-01-27 00:55:08 +00:00
brendan%mozilla.org
d510e600cd
s/DEBUG_brendan/DEBUG_notme/g
2005-01-25 19:39:45 +00:00
brendan%mozilla.org
74828633a8
Fix old bug in JSOP_CONDSWITCH codegen (278873, r=shaver).
2005-01-25 19:34:37 +00:00
brendan%mozilla.org
5555af3c9a
Followup to fix for 123668, to handle newborns and mark small object slots before checking for stack-quota-exceeded (Deutsch-Schorr-Waite).
2005-01-25 09:02:22 +00:00
brendan%mozilla.org
b466737c14
Fix js_GetArgsObject to skip debugger/eval frames (162392, r=shaver).
2005-01-25 05:56:37 +00:00
brendan%mozilla.org
a51ea5bac1
Add getpda shell function for debugging.
2005-01-25 03:22:16 +00:00
brendan%mozilla.org
0f476ade97
Fix GC hole in JSOP_NAMEDFUNOBJ found by tellme.com folks (279636, r=jband).
2005-01-25 02:22:25 +00:00
nboyd%atg.com
6af68b420b
Seppia
2005-01-24 15:46:44 +00:00
brendan%mozilla.org
7933c6fbca
Back up one token after skipping a now-tokenized (now as of E4X) comment (279483, r=shaver).
2005-01-24 00:02:59 +00:00
igor%mir2.org
31d9030dd0
Reverting Ref to the original implementation which did not pass an additional
...
"Scriptable target" argument to Ref.(get|set|has|delete) methods. The idea was
to optimize away in many cases creation of Ref instances, but given that modern
JVM can GC short-lived objects efficiently it does not sound right to have code
complexity now in the hope of slightly more efficient implementation later.
2005-01-22 20:26:08 +00:00
igor%mir2.org
e8ace4f904
Removal of GETVAR SETVAR -> NAME SETNAME transformations during code generation
...
for functions with activation records as NodeTransformer never introduce VAR
node if activation would be created.
2005-01-22 00:06:00 +00:00
igor%mir2.org
735bd73b49
1. Removal of passing of unused scope argument to ScriptRuntime.in|instanceOf
...
2. Compacting interpreter loop via reusing common parts for binary operations.
2005-01-21 18:03:41 +00:00
igor%mir2.org
21a82d04e9
Removal of passing unused scope argument to ScriptRuntime.in|instanceOf
2005-01-21 18:02:11 +00:00
igor%mir2.org
077cf2b7b6
Removal of invoker optimization as under JDK >= 1.4 it does not make things
...
visibly faster and under GCJ it makes thinks worse.
2005-01-20 19:45:27 +00:00
nboyd%atg.com
f5fec7715b
adding xmoon
2005-01-20 18:30:29 +00:00
brendan%mozilla.org
af45dbe52f
Fix XMLToXMLString to cope with a tag name in a default namespace that is not the declared default namespace for the tag (277779, r=shaver).
2005-01-20 01:02:49 +00:00
brendan%mozilla.org
d3f3eb9e90
Disallow PIs with target name 'xml' (277683, r=shaver).
2005-01-20 00:56:34 +00:00
brendan%mozilla.org
1df62774bd
Enforce Unique Att Spec for XML in JS (277664, r=shaver).
2005-01-20 00:50:59 +00:00
brendan%mozilla.org
052d017c52
Allow xml:lang and other xml namespace ids (277650, r=shaver).
2005-01-20 00:46:17 +00:00
brendan%mozilla.org
c4f9945247
Remove bogus assert in MarkGCThing, fix order of operation in js_NewObject to avoid losing the newborn root (278725, r=shaver).
2005-01-19 02:25:40 +00:00
igor%mir2.org
bcf9f00787
Work on bug 264637: BaseFunction.functionName is removed as was suggested by Attila Szegedi <szegedia@freemail.hu> :
...
I assume "functionName" in BaseFunction could also undergo a similar treatment
of being replaced with an abstract getFunctionName() method, couldn't it? The
function name is either calculable from other data (FieldAndMethods, overloaded
case of NativeJavaMethod*, NativeJavaConstructor, InterpetedFunction) or fixed
(NativeRegExpCtor) in lots of subclasses.
2005-01-17 13:06:34 +00:00
brendan%mozilla.org
70ff275ddd
Patch from Erik Fabert <jerfa@yahoo.com> to fix splice/concat/slice number-of-formals 'length' property values (274035, r=me).
2005-01-15 04:34:39 +00:00
igor%mir2.org
b5245d48f0
Fixing bug 277537: implementing isXMLName()
2005-01-14 14:13:56 +00:00
nboyd%atg.com
549953071c
Add Lombardi
2005-01-14 13:34:29 +00:00
igor%mir2.org
118352e5d7
Test case for isXMLName(s)
2005-01-13 19:42:38 +00:00
jst%mozilla.jstenback.com
d813e46363
s/JS_FALSE/NULL/ in return value in JSParseNode* method. sr=me
2005-01-12 19:59:54 +00:00
jst%mozilla.jstenback.com
0472c0073e
Fixing bug 265174. Quiet down compiler warnings on Linux x86_64. r+sr=brendan@mozilla.org
2005-01-12 19:56:32 +00:00
timeless%mozdev.org
38a2c35650
Bug 277887 r:\mozilla\js\src\liveconnect\jsj_JavaClass.c(549) : warning C4113: 'JSBool (__cdecl *)(JSContext *,JSObject *,jsid,JSObject ** ,JSProperty ** ,const char *,uintN)' differs in parameter lists from 'JSLookupPropOp'
...
fallout from bug 246441
r=brendan
2005-01-12 19:21:11 +00:00
timeless%mozdev.org
6b1df2ec98
Bug 277741 bad copy/paste of NS_ASSERT_OWNINGTHREAD(_class)
...
r=dbradley sr=dbaron
2005-01-12 19:20:01 +00:00