Commit Graph

5729 Commits

Author SHA1 Message Date
igor%mir2.org
534c7d51d6 1. Change cmp_* functions to return boolean, not int, to simplify code.
2. Move optimizer-only functions from ScriptRuntime.java to optimizer/OptRuntime.java
3. Add ScriptRuntime.wrapBoolean to wrap boolean value and use it in the optimizer
2004-04-16 07:38:20 +00:00
timeless%mozdev.org
483eb6656a Fixing build and nspr links 2004-04-15 21:36:33 +00:00
brendan%mozilla.org
65d2274604 More cloned function object fixing: don't convert a jsval to a JSFunction, then back up via fun->object -- that leads to the clone-parent, when the value may be the clone we want (240577, r=shaver). 2004-04-15 21:01:24 +00:00
timeless%mozdev.org
f0af12bf85 Bug 240500 JS_DefineFunctions APIDoc for return is wrong
r=brendan
2004-04-15 16:20:34 +00:00
brendan%mozilla.org
ab1b721b28 Fix old watchpoint function vs. clone bug (240577) and undo bogus strict warning from lazy class init (240404 in part). 2004-04-15 09:05:46 +00:00
brendan%mozilla.org
369750021e Hackaround for bug 240404. 2004-04-15 08:11:55 +00:00
igor%mir2.org
81470d5283 1. Throw IllegalArgumentException instead of EvaluatorException when argument does not belong to JS runtime types.
2. Optimize eq and shallowEq in ScriptRuntime to share code with optimized versions in Interpreter.
2004-04-14 14:50:24 +00:00
igor%mir2.org
cb3ccb29b3 Layout cosmetics 2004-04-14 14:46:58 +00:00
igor%mir2.org
153f7be2a2 Support for Date.now() 2004-04-14 11:04:55 +00:00
brendan%mozilla.org
f3e73b9da0 Er, let's try caillon's patch (bug 240458, r=me). 2004-04-14 02:36:37 +00:00
brendan%mozilla.org
e4d5924763 Fix cosmetic bug pointed out by caillon, passing JS_FALSE rather than 0 to js_DecompileValueGenerator (API change wasn't tracked long ago). 2004-04-14 02:35:34 +00:00
cbiesinger%web.de
71f5f4282a fixing win32 bustage 2004-04-13 19:54:44 +00:00
brendan%mozilla.org
ff71873e75 - Improve global variable performance from 3x slower to 1.2x slower than
locals (169559, r=shaver).
- Also fix longstanding bug where global regexps in precompiled scripts were
  wrongly shared among threads/contexts (165201, r=shaver).
- Also fix strict-aliasing gcc warning causes (206599, r=bryner).
2004-04-13 01:25:17 +00:00
brendan%mozilla.org
7e870f0884 Fix from Sterling Bates <whoelse.sterlingbates.com> for JS_ValueToInt32. 2004-04-09 23:58:26 +00:00
brendan%mozilla.org
139d599b1a Trivial followup fix to 127418 based on m.jseng feedback, r/a=me. 2004-04-09 01:05:56 +00:00
brendan%mozilla.org
0156749808 Oops... 2004-04-07 00:17:44 +00:00
brendan%mozilla.org
91961a696c Avoid invading JS namespace with global (239122 followup). 2004-04-07 00:02:50 +00:00
darin%meer.net
2c48e8fce8 fixes bug 239661 "xpconnect.xpt should be included in dist/gre" r=cls a=chofmann 2004-04-06 04:25:48 +00:00
kyle.yuan%sun.com
8a147d1bbf Bug 239122 Liveconnect can be used to read any file on user's filesystem
enabling UniversalBrowserRead only during js calling applet
r=jst, sr=brendan, a=chofmann
2004-04-06 03:15:55 +00:00
timeless%mozdev.org
786965d4a8 Fixing line endings to appease openwatcom's nmake
this is spidermonkey standalone
2004-04-04 19:46:38 +00:00
brendan%mozilla.org
c29de605ca Tolerate asymmetric/request-less lock nesting, as happens with Mozilla DOM code (229200, r=shaver, a=chofmann). 2004-04-03 22:21:03 +00:00
brendan%mozilla.org
18dac71e1f My edits to timeless's patch for bug 238303, to fix warnings (r/a=me). 2004-04-03 22:11:11 +00:00
pedemont%us.ibm.com
df4aca062c Bug 237183, Add FP exception handler to OS/2, r=brendan, a=mkaply 2004-03-31 16:38:54 +00:00
igor%mir2.org
c685edc692 Fixing bug 58118 : long overdue commit of patch from Mike McCabe, mike+mozilla@meer.net 2004-03-30 12:48:29 +00:00
igor%mir2.org
701ea21521 Since new x in Java never returns null, the check for null in date_format was redundant. 2004-03-30 10:35:42 +00:00
brendan%mozilla.org
8dcdcb1f89 Parallel fix to SpiderMonkey's bug 238945, to automatically insert ; after do-while on any error token. 2004-03-30 03:25:17 +00:00
brendan%mozilla.org
73ca7a66e9 Do automatic semicolon insertion after do-while loops for any error token, contrary to ECMA-262, to match almost a decade's worth of practice (238945, r=shaver, a=chofmann). 2004-03-30 03:20:03 +00:00
igor%mir2.org
eef0796b8a Faster implementation of MonthFromTime and DateFromTime:
1. Use day / 30 as month estimate with the following adjustment via switch()
2. Reuse year from day calculations in IsLeapYear
2004-03-29 15:19:04 +00:00
igor%mir2.org
021b376688 Fixing bug 239068: proper initialization of parent scope for functions of constructors. 2004-03-29 15:15:34 +00:00
igor%mir2.org
3a93fa2e8e DaysInYear is replaced by IsLeapYear since the former was used only to determine if a particular was leap or not 2004-03-29 14:16:23 +00:00
igor%mir2.org
ba8f69355a Cosmetics: layout fixes 2004-03-29 12:30:24 +00:00
igor%mir2.org
dfdd5ab46c Starting 1.5R5.1 development 2004-03-29 12:29:11 +00:00
brendan%mozilla.org
256c91d0ae Fix js_LookupCompileTimeConstant to respect shadowing properties (238881, r=shaver, a=chofmann). 2004-03-29 01:11:24 +00:00
igor%mir2.org
40db418d07 Fixing 238823 : throw explicit IllegalArgumentException when JS source for Context.compileFunction does not contain single JS function statement instead of producing silent empty functions or throwing obscure NullPointerExceptions 2004-03-27 09:35:22 +00:00
igor%mir2.org
e229fd6ab4 Better formating 2004-03-26 13:01:17 +00:00
igor%mir2.org
78ec796300 Fixing bug 238699 : refactoring to expose simpler code generation API caused to select wrong code path when compiling functions 2004-03-26 12:42:00 +00:00
timeless%mozdev.org
f2569bca03 Bug 238393 DRefTool analysis for jsd files
r=rginda a=asa
2004-03-26 07:27:05 +00:00
igor%mir2.org
0292a753a1 Explicit date in Context.getImplementationVersion() for 1.5R5 release 2004-03-25 20:37:32 +00:00
igor%mir2.org
1aafe09612 Reflecting 1.5R5 release 2004-03-25 19:45:56 +00:00
igor%mir2.org
cbce2b4745 Starting 1.5R6 2004-03-25 17:58:03 +00:00
igor%mir2.org
420074b3a1 Removal of macbuild support: its Mac OS X time after all 2004-03-25 17:39:21 +00:00
igor%mir2.org
afe5a6cd9d Info about commercial support 2004-03-25 15:46:40 +00:00
igor%mir2.org
abf0a3a1ac *** empty log message *** 2004-03-25 11:04:04 +00:00
timeless%mozdev.org
95c43eacc9 Bug 238393 DRefTool analysis for jsd files
r=rginda
GC_MARK_DEBUG is not part of the build...
2004-03-24 23:25:30 +00:00
igor%mir2.org
37c396db64 Preparations for 1.5R5 2004-03-24 15:52:55 +00:00
igor%mir2.org
533e9f8489 Updates to reflect new extension to allow to pass function to Java method expecting interface: now interface with multiple methods are allowed as long as all methods has the same signature 2004-03-24 15:44:19 +00:00
igor%mir2.org
ae3df9d02a Finalizing 223435 : function can be converted to Java interface with more then one method as long as all methods has the same signature. 2004-03-24 14:15:37 +00:00
brendan%mozilla.org
fb10aede78 Forgot to tag JS_Lock and JS_Unlock as DEPRECATED. 2004-03-24 01:36:57 +00:00
brendan%mozilla.org
8440730a2a Fix typo. 2004-03-24 01:29:45 +00:00
brendan%mozilla.org
4644d2e6ae Fix up request model docs a bit, spurred by conversation in m.jseng with Bob Kline <bkline@rksystems.com>. 2004-03-23 21:12:28 +00:00