briano@netscape.com
7b4dfaa39d
Cleaned it up and changed the name of libreg.{a,so} to libmozreg.{a,so} to fix the conflict reported in bug 8568.
1999-07-27 23:27:44 +00:00
waldemar@netscape.com
5d1fc074a7
Updated for recent semantic engine changes. Changed the meaning of (?= to match Perl.
1999-07-27 01:05:59 +00:00
waldemar@netscape.com
04e7e3a29b
Updated for recent semantic engine changes
1999-07-27 01:05:27 +00:00
waldemar@netscape.com
933a7acf4d
Implemented partial order for operator precedences. Removed global array functions and reformatted 'length' and 'empty' functions.
1999-07-27 01:03:19 +00:00
waldemar@netscape.com
b743c45a32
Implemented partial order for operator precedences. Removed global array functions and reformatted 'length' and 'empty' functions. Made lexer-actions into global function calls.
1999-07-27 01:02:21 +00:00
waldemar@netscape.com
2706e7caf3
Made lexer-actions into global function calls
1999-07-27 01:00:05 +00:00
waldemar@netscape.com
2f3bf4a63d
Added partial order library
1999-07-27 00:58:44 +00:00
waldemar@netscape.com
bcb1c1b7de
Replaced :unit by :empty-10
1999-07-27 00:58:01 +00:00
waldemar@netscape.com
f348f5e5a7
First Checked In.
1999-07-27 00:57:03 +00:00
brendan@mozilla.org
526f69e548
Eliminate warning about unsigned/signed == comparison.
1999-07-23 08:24:35 +00:00
brendan@mozilla.org
900e5dfe58
Add new flag to js_DecompileValueGenerator calls.
1999-07-23 08:22:12 +00:00
brendan@mozilla.org
5997feaac8
Bugs, bugs bugs:
...
- js_DecompileValueGenerator had rusted due to bytecode/source-note changes,
or maybe parts of it never worked right. Anyway, it now does not induce a
crashing underflow in the decompiler. As part of this fix, it now takes a
checkStack flag telling whether to look for the jsval v argument on the JS
stack. The calls from ImportProperty, js_SetProperty, and js_DeleteProperty
pass in v a jsval for the property id, which should not be sought after on
the stack (it might happen to be there due to o['p'] = 2, but we want to
decompile o["p"], not "p").
- js_DecompileValueGenerator would load a generating pc even if the value v
did not match the pc's corresponding stack item! Oops. This lead to less
than idea diagnostics.
- js_DecompileValueGenerator was also not mapping JSOP_TRAP to the real op at
a sufficiently early and univeral point in its control flow.
- Fix PopOff to assert and check for stack underflow in the decompiler, and
beef up PushOff too (it asserted, but did not check).
- js_ReportIsNotFunction now avoids JS_InternString by indexing directly into
cx->runtime->atomState.typeAtoms with the result of JS_TypeOfValue.
- Removed unnecessary local GC root reserved by non-zero trailing member of
obj_eval's JSFunctionSpec initializer.
1999-07-23 08:01:54 +00:00
mccabe@netscape.com
4db01845c1
Fix warnings flagged by the auto-warnings page http://tinderbox.mozilla.org/SeaMonkey/warnings.html . Thanks slamm.
1999-07-22 10:36:23 +00:00
mccabe@netscape.com
741a35dc17
Changes to support building on Alpha NT.
...
Patches courtesy bob meader <bob@guiduck.com > who seems to be working fast and furious on this port.
1999-07-22 03:58:51 +00:00
cbegle@netscape.com
194aea9f70
fixed a versioning problem with the tests. these should succeed now.
...
these files files have no impact on the mozilla build.
1999-07-21 19:20:02 +00:00
cbegle@netscape.com
d971956cf6
*** empty log message ***
1999-07-21 18:02:34 +00:00
cbegle@netscape.com
e8c79afa6d
update shared functions file.
...
this is not part of the mozilla client build, and has no effect on its
bustedness.
1999-07-20 18:00:13 +00:00
cbegle@netscape.com
11bba4fe44
adding file for running tests in the driver.
1999-07-20 17:49:01 +00:00
Jerry.Kirk@Nexwarecorp.com
05f1b62c55
Defined DASH_R for Neutrino
1999-07-19 21:18:19 +00:00
jband@netscape.com
97b20f1074
enabling xpconnect for Linux ARM because we now have xptcall code for Linux ARM from Stefan Hanske <sh990154@mail.uni-greifswald.de>
1999-07-19 02:59:21 +00:00
cbegle@netscape.com
755eaf85fa
the js1.2 tests really need the version(120) called.
...
fix regression test for #7703 .
This is not part of the mozilla build and has no effect on its bustedness.
1999-07-16 21:47:51 +00:00
jband@netscape.com
c071bbaf44
adding forward declaration test
1999-07-16 20:38:16 +00:00
jband@netscape.com
06b1f1c0dc
added files: mozilla/js/src/xpconnect/idl/xpctest2.idl
1999-07-16 20:35:58 +00:00
jband@netscape.com
28bfe7ccec
adding new file for forward declaration test
1999-07-16 20:33:36 +00:00
jband@netscape.com
1129a86222
an inout of interface pointer test that illustrates that bug 9914 is not a bug
1999-07-16 04:29:49 +00:00
jband@netscape.com
a7aa096ded
make the const things const so that strict compilers don't complain
1999-07-16 04:23:00 +00:00
cbegle@netscape.com
4a164c1353
Remove more recursive calls to startTest. hm..
...
This is not part of the mozilla build and has no effect on its bustedness.
1999-07-16 01:39:07 +00:00
cbegle@netscape.com
2190f9c701
Add a regression test case for #7224 .
...
This is not part of the mozilla build and has no effect on build bustage.
1999-07-16 01:30:24 +00:00
cbegle@netscape.com
f05c0e1ddb
Remove a recursive call to startTest.
...
This file is not part of the client build.
1999-07-16 01:25:50 +00:00
mccabe@netscape.com
4a4bba284c
Fix to 9523. In the javascript Date implementation, check for unsupplied date argument to new Date(year, month, date) rather than clamping it to 1 if < 1. Previously we ignored negative values for the date argument, rather than subtracting from the resulting date, as per the ECMA-262 spec. for the JavaScript language.
...
Thanks go to Martin Honnen <martin.honnen@sector27.de > for spotting this difference from the spec.
1999-07-16 00:50:11 +00:00
mccabe@netscape.com
0722e4de8a
Fix to 9523.
...
Add an #if defined(__arm) check to tell jsdtoa.c about the (somewhat bizzare) endian-ness of the ARM architecture.
Thanks go to Stefan Hanske <sh990154@mail.uni-greifswald.de > for this fix.
1999-07-16 00:45:13 +00:00
rogerl@netscape.com
b63dbef983
Fixed compile time errors + minor memory allocation problems.
1999-07-15 23:37:05 +00:00
cbegle@netscape.com
03e224cb76
Add a regression test case for #7635 .
...
This file is not part of the client build.
1999-07-15 22:28:12 +00:00
cbegle@netscape.com
ed6d499902
New tests for the JavaScript engine.
...
These tests are not built and are not part of the client build.
1999-07-15 20:27:40 +00:00
jband@netscape.com
7ac453eb0d
1) added JSContextStack per thread service (with test).
...
2) rooted out all instances of JS_ReportErros and replaced with JS exception throwing.
3) added more exception message types.
4) Added service (also reflected into JS) for getting JS and native stack objects to be used in exceptions.
5) Fixed broken test.
6) updated TODO list.
1999-07-15 05:42:53 +00:00
mcafee@netscape.com
2b4f9a6fa2
Fixing linux warning
1999-07-15 03:02:44 +00:00
jband@netscape.com
e7ba200763
added files: mozilla/js/src/xpconnect/src/xpcstack.cpp
1999-07-15 03:00:55 +00:00
jband@netscape.com
ee5f0cc1ea
adding placeholder file - soon to be used
1999-07-15 02:59:43 +00:00
jband@netscape.com
80da237681
added files: mozilla/js/src/xpconnect/idl/xpcexception.idl
1999-07-15 02:50:47 +00:00
jband@netscape.com
493c97c15f
adding file - soon to be used
1999-07-15 02:48:07 +00:00
brendan@mozilla.org
c9568e3777
Warning abatement.
1999-07-15 02:46:00 +00:00
brendan@mozilla.org
d663643e3d
- Fix for..in bug where ECMA 12.6.3 steps 5 and 6 are reversed: the effect was
...
to define an unbound global variable used to enumerate an empty object, when
the standard says no variable should be defined.
- Clean up minor nits, make comment style match prevailing, tighten up for..in
element-indexing special case comments.
- Fix js_Invoke to take CONSTRUCT and INTERNAL flags arg instead of a construct
boolean arg and the JSStackFrame internalCall mis-located boolean non-arg.
Use these flags correctly in all calls (previous version failed to set the
bogus frame.internalCall around js_Invoke calls from jsfun.c and jsstr.c).
1999-07-15 02:24:23 +00:00
cbegle@netscape.com
29f1a70964
add a regression test for bug #9802
1999-07-14 20:26:27 +00:00
cbegle@netscape.com
b409b19b47
correct the naming of these tests. negative tests have an -n.js filename
...
extension.
1999-07-14 18:12:11 +00:00
cbegle@netscape.com
8b92c78e69
allow command line option to specify the full path to the js executable.
1999-07-14 18:11:22 +00:00
jdunn@netscape.com
0ce9441628
Need to put libxpconnect.so in components for AIX
1999-07-14 16:36:16 +00:00
ramiro@netscape.com
5c8061a0f8
Checkin another chunk of Alex Larsson's non-exported symbol reduction
...
patch. All changes protected by MOZ_STRIP_NOT_EXPORTED.
These particular changes set the NS_EXPORT declarations as needed by
the linker.
1999-07-07 09:02:21 +00:00
brendan@mozilla.org
878d3a28f1
Avoid overallocating JS stack for "%ip" and other multi-char format codes.
1999-07-07 08:18:42 +00:00
mccabe@netscape.com
03700d4fd7
Define JS_HAVE_LONG_LONG for VMS on the Alpha.
...
Thanks to Colin Blake <colin@theblakes.com > for this patch.
1999-07-07 00:38:52 +00:00
mccabe@netscape.com
8ed11f3297
Fix to 9241 - Change types to unsigned to fix compile-time warnings.
...
Thanks go to kherron@sgum.mci.com for the patch.
1999-07-06 22:58:42 +00:00