Граф коммитов

3147 Коммитов

Автор SHA1 Сообщение Дата
mkaply%us.ibm.com c2bd15c2b5 #59855
r=pchwartau, sr=brendan
Just add an _IS_LITTLE_ENDIAN for XP_OS2 for now. Eventually, we need to figure
out how to get jstypes.h included in here, since it already has a LITTLE_ENDIAN define.
2001-03-09 04:07:15 +00:00
mkaply%us.ibm.com 9ce67d1a9b #59855
r=pchwartau, sr=brendan
Rework makefile.win and js.mak for the eventual ability to include jstypes.h in fdlibm.h
Not turned on yet because I can't get it working right on Linux
2001-03-09 04:05:44 +00:00
mkaply%us.ibm.com f0d86135ff #59855
r=pchwartau, sr=brendan
Get JS standalong building with Makefile.ref on Win32
2001-03-09 04:02:36 +00:00
shaver%mozilla.org c2d12a8e9f 71107: make inner-peeking properly set HEAVYWEIGHT for all outer functions (r=jband,sr=brendan) 2001-03-07 03:14:25 +00:00
pschwartau%netscape.com 89bf5855c4 Initial add. Regression test for bug 71107. 2001-03-07 01:30:15 +00:00
matthias%sorted.org bf7eb7d444 replicated SpiderMonkey fix for bug 67773 2001-03-06 13:57:01 +00:00
brendan%mozilla.org 00e515cda2 I'm a Linux loser, warnings don't affect me. 2001-03-06 02:45:35 +00:00
brendan%mozilla.org a413a0dc6e Death to tabs\! 2001-03-06 02:05:03 +00:00
brendan%mozilla.org 041a78e98e bugs 31003 and (mostly) 68045, r=rogerl, sr=shaver&hyatt
- Fix bug where script jssrcnote vector terminator was not XDRed.
- Ensure that memory is cleared by serializing zero padding bytes as needed
  under JS_XDRBytes and JS_XDRString.
- Fix JS_XDRValue to handle undefined and null JS types properly (bug 31003).
  Also make it cast from jsint to uint32 and back carefully, so as to work
  with negative numbers even on targets where jsval is a signed 64 bit type.
- Add JS_XDRScript public API.
- Optimize the per-JSXDRState class registry so it uses a JSDHashTable upon
  searching for a class-id by name in an overpopulated (for linear search)
  registry table.
- Clean up API nits such as JS_XDRNewBase => JS_XDRInitBase, with parameter
  list rotation to put cx last (JS_XDRInitBase is an infallible init helper,
  not an error-reporting, cx-comes-first, API entry point).
- Fix some XXX comments, unneeded masks, other nits.
- Make sure all JS XDR API functions start with JS_XDR.
2001-03-06 01:56:30 +00:00
beard%netscape.com d70f6ac0f2 Bug #70883, leaks in LiveConnect. sr/r=brendan 2001-03-05 15:41:12 +00:00
matthias%sorted.org c2edb3f3b3 * made shell.Global a subclass of ImporterTopLevel
* fixed ImporterTopLevel constructor - it now calls
cx.initStandardObjects before defining any functions. The old
constructor is still around for backwards compatibility.
2001-03-05 08:46:10 +00:00
beard%netscape.com d6739f9697 fix for bug #69210, r/sr=brendan 2001-03-04 21:26:19 +00:00
beard%netscape.com 157e56d88c bug #70240, sr=beard, r=brendan 2001-03-04 21:20:31 +00:00
beard%netscape.com d0d4897737 [not part of build] fix memory leak of full_classpath. 2001-03-04 19:23:51 +00:00
beard%netscape.com 3696fa19c0 [not part of build] use correct calling conventions when OJI is #defined. 2001-03-03 19:30:17 +00:00
beard%netscape.com f45b33f623 Automatically load "xpcshell.js" if available. sr=jband 2001-03-03 01:01:20 +00:00
jband%netscape.com 05ed74cd8f [not part of build] adding placeholders for new files 2001-03-02 05:25:04 +00:00
rogerl%netscape.com 647b80f187 Fix #61751. sr=brendan,r=mang. #define changes to fix floating point bug
in JavaScript on NetBSD/arm32.
2001-03-02 00:20:11 +00:00
rogerl%netscape.com 9d57bb12b9 Fix bug #67773. sr=brendan, r=rginda. Fixes doubly nested quantifiers in
reg.exps when deeper sub-expression has to backup without failing. Some
other clean-up changes, too.
2001-03-02 00:17:48 +00:00
nboyd%atg.com 16f46460f5 More changes from Igor. 2001-03-01 19:28:37 +00:00
matthias%sorted.org b6ef87ccba fixed two instances where prefix match would return undefined instead of null 2001-03-01 16:52:23 +00:00
matthias%sorted.org 22ceb8c0e2 getInstance now uses ScriptableObject.getProperty instead of
Scriptable.get. This way Global can (again) be used in prototype
chain.
2001-03-01 13:33:55 +00:00
pschwartau%netscape.com 84a4895559 Correcting an error in the testcase - 2001-03-01 01:06:48 +00:00
brendan%mozilla.org 6a77880509 Fix JS_ARENA_GROW_CAST so it doesn't round up both size and incr, which overestimates and wastes space (44009, r=shaver, sr=jband). 2001-02-28 00:27:10 +00:00
brendan%mozilla.org 155f302af3 Fix 'import *;' (70308, r=shaver, sr=jband). 2001-02-28 00:17:19 +00:00
dprice%netscape.com 5184a7104b # 65845 sr=waterson, new order files will greatly reduce the number of link warnings. 2001-02-27 04:38:19 +00:00
pschwartau%netscape.com a739b03325 Initial add. Regression test for bug 44009. 2001-02-27 03:41:13 +00:00
nboyd%atg.com 8880f2750c Commit new scheme for builtin objects, courtesy of
Igor Bukanov <igor@icesoft.no>. This new scheme is
faster and consumes less memory.
2001-02-26 16:16:46 +00:00
nboyd%atg.com 144dc1b9ed Change ClassOutput to take a top-level boolean parameter. 2001-02-26 15:32:15 +00:00
nboyd%atg.com 418d10f826 Add top-level boolean parameter so ClassOutput implementors can determine
which class to load to execute a script.
2001-02-26 15:28:17 +00:00
pschwartau%netscape.com 7f6cf43c0f Added Stephen Ostermiller's pattern-match from bug 69989 to this test - 2001-02-24 03:23:27 +00:00
brendan%mozilla.org 5954a16aa8 Don't deprecate __proto__, there ain't no forward-compatible alternative (68401, r=timeless, sr=shaver). 2001-02-24 03:07:58 +00:00
brendan%mozilla.org bdf1de2757 - Shaver hacked this fix with advice from me, and I carried it to check-in. We now avoid a heavyweight outer function when the inner one is defined at top-level or in an expression (is not a JSOP_CLOSURE, IOW), and it doesn't refer to any non-local names. See bug 65308 for details on the win. (r=rogerl, sr=brendan)
- Fix scope chain for nested functions at top-level (JSOP_DEFFUN), in a part of another statement (JSOP_CLOSURE), and unnamed in an expression (JSOP_ANONFUNOBJ) to match ECMA-262 13.2.  My bad: fp->varobj was used up till now, instead of fp->scopeChain; we still *bind* the name of a statement-level (top or not) nested function in fp->varobj.  This fixes bug 69559.  (r=rogerl, sr=jband)
- Add an Intern command to the shell, for GC vs. intern'ed atom testing.
2001-02-24 03:00:56 +00:00
pschwartau%netscape.com 5c55e34855 Initial add. Regression test for bug 69607. 2001-02-23 07:35:47 +00:00
nboyd%atg.com 68a7b7572b Real fix for last problem. 2001-02-22 14:45:10 +00:00
disttsc%bart.nl 744785129a Mass REQUIRES update to synch up with string lib and xul changes in an attempt to fix senna bustage. r=jst, sr=cls 2001-02-22 09:35:51 +00:00
brendan%mozilla.org dde62480dd Fix duplicate parsenode recycle in constant-folded if/else or ?: (69607, r=shaver, sr=jband). 2001-02-22 07:30:57 +00:00
brendan%mozilla.org 9b455245c3 Remove unused code (sr=jband, r=mozbot). 2001-02-21 10:49:35 +00:00
nboyd%atg.com 8d0439b65c Subject:
Rhino Context.setTargetClassFileName() null pointer exception
        Date:
             Tue, 20 Feb 2001 15:28:20 -0800
       From:
             "Ryan Manwiller" <rdm@europa.com>
 Organization:
             Another Netscape Collabra Server User
 Newsgroups:
             netscape.public.mozilla.jseng




I'm setting the file name to compile to a file. However, on subsequent
compiles, I don't want to compile to a file, so I tried
setTargetClassFileName(null). This causes a NullPpinterException in
OptClassNameHelper.setTargetClassFileName(OptClassNameHelper.java:76)

It seems that Context.setTargetClassFileName() should check for null.

Thanks
2001-02-21 02:08:05 +00:00
pschwartau%netscape.com 3576218246 Minor whitespace deletion - 2001-02-21 00:58:41 +00:00
pschwartau%netscape.com f483b78ef1 Minor change to comment - 2001-02-21 00:39:46 +00:00
pschwartau%netscape.com 452ee121e7 Improving error message - 2001-02-21 00:27:13 +00:00
jband%netscape.com 85ff73655a Avoid use of dead JSContext in dtor. bug 69463. Thanks to Waleri Todorov <waleri@gti.bg> for pointing out this bug. r=shaver sr=brendan 2001-02-21 00:01:30 +00:00
pschwartau%netscape.com ce54fdf8c4 Revising error in test. See bug 69441, where this was pointed out - 2001-02-20 22:11:44 +00:00
jband%netscape.com e866369001 bug 66610 - add xpconnect support for DOMStrings. r=jst sr=brendan 2001-02-20 08:09:19 +00:00
brendan%mozilla.org ddc8d4ee95 Don't flush cached properties one-by-one if GC'ing, because the GC flushes the whole thing (68735, r=jst, sr=jband). 2001-02-20 05:01:14 +00:00
brendan%mozilla.org 7c706fc384 Fix constant folder to recycle moved node, not whole tree, when simplifying 'true ? foo() : bar()' into 'foo()' (69345, r=shaver, sr=jband). 2001-02-20 01:25:39 +00:00
brendan%mozilla.org 53bc60e8d2 Fix related eval and setTimeout regressions caused by bug 68498's patch (69165&69175, r=jband, sr=shaver). 2001-02-19 00:31:20 +00:00
shaver%mozilla.org eac584602c Fold constants correctly when emitting as we compile (TCF_COMPILING).
(#69304, r=jband, sr=brendan)
2001-02-18 20:58:08 +00:00
pschwartau%netscape.com 95bd8b9e1c Regression test for bug 68498. Derived from Brendan's attachment to the bug - 2001-02-18 03:31:17 +00:00