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

970 Коммитов

Автор SHA1 Сообщение Дата
brendan%mozilla.org bf87ed2da8 Eliminate warning about unsigned/signed == comparison. 1999-07-23 08:24:35 +00:00
brendan%mozilla.org a82fcf9479 Add new flag to js_DecompileValueGenerator calls. 1999-07-23 08:22:12 +00:00
brendan%mozilla.org 892c6a80d1 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 f88d4c4862 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 44c1aa3958 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 1e355189af 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 85da0ba851 *** empty log message *** 1999-07-21 18:02:34 +00:00
cbegle%netscape.com 5b6edba7cc 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 899e0d5d83 adding file for running tests in the driver. 1999-07-20 17:49:01 +00:00
Jerry.Kirk%Nexwarecorp.com c80aa6b941 Defined DASH_R for Neutrino 1999-07-19 21:18:19 +00:00
jband%netscape.com 1af850b898 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 f80bb6aad0 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 5cf8d696a6 adding forward declaration test 1999-07-16 20:38:16 +00:00
jband%netscape.com 7972332b69 added files: mozilla/js/src/xpconnect/idl/xpctest2.idl 1999-07-16 20:35:58 +00:00
jband%netscape.com 5c4e62e268 adding new file for forward declaration test 1999-07-16 20:33:36 +00:00
jband%netscape.com c50f5e41ca 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 425c09247d make the const things const so that strict compilers don't complain 1999-07-16 04:23:00 +00:00
norris%netscape.com 1eb0a9e85e Add new example. 1999-07-16 03:03:20 +00:00
cbegle%netscape.com eb378fea4e 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 47f6d82edf 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 00f16d48ce 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 140c877e02 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 f54711dfb3 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 7d5915b747 Fixed compile time errors + minor memory allocation problems. 1999-07-15 23:37:05 +00:00
cbegle%netscape.com bf39a7e9ea 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 a83c8e90d2 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 3b6299569f 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 6799de361e Fixing linux warning 1999-07-15 03:02:44 +00:00
jband%netscape.com dba86ef898 added files: mozilla/js/src/xpconnect/src/xpcstack.cpp 1999-07-15 03:00:55 +00:00
jband%netscape.com 25a274eb5b adding placeholder file - soon to be used 1999-07-15 02:59:43 +00:00
jband%netscape.com 01ae1a98f1 added files: mozilla/js/src/xpconnect/idl/xpcexception.idl 1999-07-15 02:50:47 +00:00
jband%netscape.com 2adb3d6c59 adding file - soon to be used 1999-07-15 02:48:07 +00:00
brendan%mozilla.org b983096b74 Warning abatement. 1999-07-15 02:46:00 +00:00
brendan%mozilla.org 451238c875 - 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 ece8b98f54 add a regression test for bug #9802 1999-07-14 20:26:27 +00:00
cbegle%netscape.com fdca8e9c92 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 a981b78562 allow command line option to specify the full path to the js executable. 1999-07-14 18:11:22 +00:00
jdunn%netscape.com 1d3c4947d1 Need to put libxpconnect.so in components for AIX 1999-07-14 16:36:16 +00:00
norris%netscape.com d1249dd430 Report errors for incorrect usages of varargs forms. 1999-07-08 16:32:51 +00:00
norris%netscape.com 67d7d2b31e Fix javadoc bug. 1999-07-08 00:37:12 +00:00
ramiro%netscape.com 9200ddaebb 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 1a2b00ad18 Avoid overallocating JS stack for "%ip" and other multi-char format codes. 1999-07-07 08:18:42 +00:00
mccabe%netscape.com b497e1ee93 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 b3e571fe0e 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
sspitzer%netscape.com 3649abeee9 fix warning 1999-07-06 22:40:54 +00:00
norris%netscape.com d44417769f Fix bug in ScriptableObject that make classes with jsGet_ but not jsFunction_ work improperly.
Also update Foo example to conform to new defineClass API.
1999-07-06 17:13:33 +00:00
jband%netscape.com 1f2399d268 added files: mozilla/js/src/xpconnect/src/xpcthreadcontext.cpp 1999-07-05 19:42:55 +00:00
jband%netscape.com 96c26ceb43 adding new file to build projects 1999-07-05 19:42:32 +00:00
jband%netscape.com 6f36ff2772 added files: mozilla/js/src/xpconnect/idl/nsIJSContextStack.idl 1999-07-05 19:29:09 +00:00
jband%netscape.com d5f54ee406 adding JSContextStack interface 1999-07-05 19:26:36 +00:00