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

1996 Коммитов

Автор SHA1 Сообщение Дата
norris%netscape.com dfb69c7a8d Some users with JDK 1.1 but JDK 1.2 security were getting NullPointerExceptions here. 2000-02-28 18:38:37 +00:00
norris%netscape.com b5a79f600f Fix warning. 2000-02-28 18:32:19 +00:00
norris%netscape.com a54067df23 Generalize error test to catch any catches appearing after a catch-all. 2000-02-28 18:28:45 +00:00
jband%netscape.com 417094058a Fix bug 28982. Call to JS_ClearScope in property setter (e.g. window.location = "foo")
was causing defered calls to js_FreeSlot to do wild pointer writes into slots that
were no longer owned by the object. Also this improves the fix to 14462 (see note
in 28982 from brendan). r=brendan@mozilla.org a=jar@netscape.com
2000-02-26 23:47:33 +00:00
bryner%uiuc.edu 6985354db4 Adding a new flag to the Win32 build system. Set DISABLE_TESTS=1 to skip
building in the tests directories.  Should not affect the build at all if
you do not have this environment variable.  r=leaf.
2000-02-25 04:12:40 +00:00
norris%netscape.com 851e9b0870 Enable catchguard with new 'if' syntax.
Implement check.
2000-02-24 19:35:22 +00:00
rogerl%netscape.com 3726b9fb19 Ported toFixed, toExponential & toPrecision to NativeNumber from C sources. 2000-02-23 18:46:36 +00:00
norris%netscape.com 218d1595d0 Move JavaObjectToLong to be a conformance rather than a negative test. 2000-02-23 18:29:35 +00:00
shaver%mozilla.org 60daa8a8d1 fix #25581 (leaking JSScript, r=beard, a=waterson) 2000-02-23 06:09:04 +00:00
waldemar%netscape.com 0fca92837a Work on adding parser 2000-02-23 01:54:30 +00:00
waldemar%netscape.com fdd3317995 Added .h files to project 2000-02-23 01:53:08 +00:00
waldemar%netscape.com aa5e162709 Fixed non-DEBUG warning 2000-02-23 01:51:44 +00:00
waldemar%netscape.com 1385512113 Added arenas 2000-02-23 01:40:48 +00:00
bruce%cybersight.com e789f4a295 Fixes a memory leak. r=shaver,a=waterson 2000-02-22 22:22:02 +00:00
beard%netscape.com 1b076ba222 building into dist/liveconnect. *NOT PART OF MOZILLA BUILD* 2000-02-21 22:51:29 +00:00
waldemar%netscape.com db41e85aa9 Backed out extraneous change 2000-02-21 19:52:47 +00:00
waldemar%netscape.com ffbd92eb71 Added x86 gcc support 2000-02-21 19:49:21 +00:00
waldemar%netscape.com 2b2ab50498 Added debug flags 2000-02-21 19:48:45 +00:00
waldemar%netscape.com fe36f6f9bc Unix makefile 2000-02-19 10:03:07 +00:00
waldemar%netscape.com 51fdaf2000 Updated for GCC 2000-02-19 10:01:53 +00:00
waldemar%netscape.com 1604239c48 Fixed signed/unsigned warning 2000-02-19 09:32:45 +00:00
waldemar%netscape.com 46af6a2ba4 Fixed GCC incompatibilities 2000-02-19 09:26:59 +00:00
jband%netscape.com 2902b13e55 NOT PART OF SEAMONKEY BUILD - removed misplaced semi-colon added by toshok on 6 Sep 1999 which had converted a conditional block into a non-conditional block and made the debugger completely non functional 2000-02-19 02:34:05 +00:00
jband%netscape.com 4d59da1ce5 fix bug 28381. Make xpcshell bypass the caps security manager. dougt has looked at and used this but is not around for a 'r='. a=jar 2000-02-19 00:14:44 +00:00
norris%netscape.com c4a75c3727 Fix wrapping of InvocationTargetException. Thanks to Kurt Westerfeld for pointing this out. 2000-02-18 17:38:11 +00:00
norris%netscape.com 656a44d953 Add equals() and equalsIgnoreCase() to the String object, at the suggestion of Tom Beauvais <tbeauvais@bowstreet.com> 2000-02-18 17:37:27 +00:00
rogerl%netscape.com 011ec66cec Added decode/encode URI handling. 2000-02-18 00:22:02 +00:00
norris%netscape.com 695ad099fa Fix cases of LiveConnected classes that have a field and methods with the same name.
Also clean up Bean properties, making implementation more efficient.
2000-02-17 22:32:37 +00:00
norris%netscape.com a0b34a5bc1 Remove untrue comment. 2000-02-17 22:31:43 +00:00
norris%netscape.com f051596d19 Update implementation version. 2000-02-17 22:31:16 +00:00
norris%netscape.com 9badc84057 Add tests for fields and methods with the same name, and for bean properties. 2000-02-17 19:28:33 +00:00
norris%netscape.com 255e39d7e2 Add to "dont-test" list. 2000-02-16 18:35:10 +00:00
norris%netscape.com 3a479188da Add support for dynamic scopes and fix remaining test failures in the tip. 2000-02-16 17:40:53 +00:00
cls%seawood.org 5d9778ac08 Temporary fix for bug #24892 2000-02-16 07:58:45 +00:00
dveditz%netscape.com f620060761 registry speed ups (part of 12817) 2000-02-16 07:45:20 +00:00
rginda%netscape.com 4a4e1595ae Fix for 26725, r=jband 2000-02-16 06:26:21 +00:00
rginda%netscape.com 545de1b470 Fix for JS bug 26463. r=rogerl 2000-02-16 01:02:25 +00:00
rogerl%netscape.com 0d6278177c Bug #9141, prevent recurse death for greedy matching on MAC.
r=rginda
2000-02-16 00:49:34 +00:00
norris%netscape.com 6d54dce0ca Avoid static never-released reference to streams; causes problems for Patrick Beard's use of the shell. 2000-02-15 17:08:31 +00:00
jband%netscape.com d5f3a1ff79 Reimplement the Components.[ID,Exception,Constructor] properties in C++. These
things were completely unusable due to security restriction in anything besides
xpcshell. This fixes bug 26879 and helps a lot for bug 8700 because is reduces
the work done for JSContext creation.

Also, ease the burden of xptcall porters by doing IS_COMPONENT for all unix platforms.

r=mccabe
2000-02-15 06:43:51 +00:00
norris%netscape.com 4187c3d263 Fix contributors list. 2000-02-15 00:09:58 +00:00
rogerl%netscape.com adda1105ce Nuts, checked in wrong file AND named wrong bug in previous checkin, msu
be friday or something.
Correct bug# is 26060.
2000-02-11 23:00:21 +00:00
rogerl%netscape.com 64cbad6efe r=brendan@mozilla.org
bug #26857
Fix for evaluating multi-part script prologs in advance.
2000-02-11 22:21:15 +00:00
rogerl%netscape.com 34fb934c53 r=brendan@mozilla.org
Prepare for new setter/getter syntax.
2000-02-11 22:19:33 +00:00
rogerl%netscape.com a952f351c4 r=mccabe
bug #22866
Support unicode line/paragraph separators.
2000-02-11 22:17:56 +00:00
rogerl%netscape.com 76de968c08 r=norris
Deal with precendence warning whinings
2000-02-11 22:16:55 +00:00
beard%netscape.com b49ea8f4c9 added DTOA.java 2000-02-09 23:15:27 +00:00
rogerl%netscape.com 49e2fdfbfb Changed implementation of toString(<base>) to use Waldemar's code from
SpiderMonkey.
2000-02-09 19:52:31 +00:00
mccabe%netscape.com 278d8d2829 Added comment recommending rooting of new script objects, to address problems experienced by netscape.public.mozilla.jseng developers.
Also verbiage refactory.

r=brendan
2000-02-08 01:38:20 +00:00
rogerl%netscape.com 1b01852975 r=brendan@mozilla.org
Bug #14462, lot's of discussin there about these changes, but here's
Brendan's description :
In order, changes in the patch are:

- Rename JSSLOT_ITR_STATE to be JSSLOT_ITER_STATE (avoid cybercrud abbreviation
as cbrcrd, no more six-char id limits!).

- Property cache tests must occur with the object's scope-lock held, to close a
race with delete (js_DestroyProperty, always called with the property's scope
locked).  Once the cache has been hit, and before the lock is released, the
property's refcount must be bumped.  This requires re-acquisition of the lock
and js_DropScopeProperty afterward.

- Reworked js_FindProperty to use a do-while loop, as cx->fp->scopeChain must be
non-null.  This avoids a gratuitous lastobj init done to "Suppress gcc warning"
in the old revision.

- Akin to the property cache hit cases in jsinterp.c and jsobj.c's
js_FindProperty, code to hold and drop the scope-property by its refcount that
was #ifdef JS_THREADSAFE must be unconditional, now that user-defined getters
and setters may delete the property id they're getting or setting.

- Fixed overlong continuation line in jsobj.h.

/be
2000-02-08 01:24:53 +00:00
scc%netscape.com 73802d6f2e Pro5 update 2000-02-07 23:06:04 +00:00
brendan%mozilla.org 8f35d9a247 Comment/cosmetic changes only (r=shaver@mozilla.org). 2000-02-07 07:28:25 +00:00
norris%netscape.com d58c9a657d Fix 18860 impossible to call applet's public methods from JavaScript
(fix from jeff.dyer@compilercompany.com, r=norris)
2000-02-06 23:34:50 +00:00
risto%netscape.com 65c0d3c80a Changing all cvs-mirror.mozilla.org references to point to politically
correct addresses, for example tinderbox.mozilla.org, lxr.mozilla.org or
bonsai.mozilla.org. cvs-mirror shouldn't use in URLs anymore because it's
now on different server.

r=bryner
2000-02-05 07:23:36 +00:00
brendan%mozilla.org a3a7b17f1f Argh, fix stupid typo that sometimes breaks for/in loops (26595, r=jband@netscape.com). 2000-02-05 02:04:16 +00:00
brendan%mozilla.org 544df81550 Fix crash reported in bug 26595 (r=jband@netscape.com) via better compilation-frame conditioning. 2000-02-05 01:54:13 +00:00
waldemar%netscape.com c1057de79c Fixed bug 2000-02-05 00:39:58 +00:00
waldemar%netscape.com 97ff1329f4 Fixed & bugs 2000-02-04 23:54:29 +00:00
waldemar%netscape.com ed715c8685 Fixed syntax error 2000-02-04 23:54:08 +00:00
pinkerton%netscape.com 31d1e5651b oops, messed up the optimized target. now fixed. 2000-02-04 05:22:37 +00:00
pinkerton%netscape.com 7d8250392f fix the access paths for pro5 migration. r=macdev. 2000-02-04 03:27:36 +00:00
brendan%mozilla.org 1462b9a294 - Eliminate ancient, bogus proxying of function object for its call objects (23346, r=jband@netscape.com).
- Tabs expanded as much as I could stand, without taking too much cvsblame.
2000-02-04 02:01:49 +00:00
rogerl%netscape.com ac432c6284 r=Norris
License updating, bug#15529, continuing.
2000-02-04 00:08:13 +00:00
waldemar%netscape.com c1326568e6 VC6 project and workspace 2000-02-03 08:27:00 +00:00
waldemar%netscape.com aef6520d4d Updated for VC6 2000-02-03 08:25:01 +00:00
jband%netscape.com 678368622b fix XPCContext leak bug 25911 r=beard. fix DOM wrapping case where static called object does not have a static DOM scope, but is run in a DOM context; e.g. calling a JS component from within a window that calls some native service that returns a DOM window - the serive is not a DOm object and has no static DOm scope, but the call is made on a DOM context so a dynamic lookup works. r=mscott 2000-02-03 03:25:53 +00:00
rginda%netscape.com 03f03d45ee Uncompressed version (so it can be in your classpath on all platforms.) 2000-02-03 00:48:50 +00:00
rogerl%netscape.com 1a7b6442d8 r=norris
Bug#24712, regexp greedy recursing wasn't handling zero kid back-tracked
state nor re-setting parenCount correctly.
Added license junk for bug#15529 (continuing).
Fix type-mismatch warning in jsstr.c
Switched off DEBUG only use of fd_pow under Windows.
2000-02-03 00:44:03 +00:00
rginda%netscape.com 4671326346 Renamed JavaObjectToLong-005.js to JavaObjectToLong-005-n.js 2000-02-02 20:21:34 +00:00
waldemar%netscape.com 445e9926e4 Turned off optimizations and inlining in debug build 2000-02-02 08:51:16 +00:00
waldemar%netscape.com b82ff40e5d Changed to match parser.h 2000-02-02 08:50:54 +00:00
waldemar%netscape.com 0639e1baad Added ArrayAutoPtr and reworked cstring -> String conversions 2000-02-02 08:50:26 +00:00
waldemar%netscape.com 94a4726044 Added parsing of numerals and token printing 2000-02-02 08:48:40 +00:00
waldemar%netscape.com 3f3536ec17 Cleaned up and added String routines 2000-02-02 08:47:54 +00:00
waldemar%netscape.com 60f5d2006b Added lexer call 2000-02-02 08:47:03 +00:00
waldemar%netscape.com bb68568cfc Fixed bug 2000-02-02 08:46:36 +00:00
mccabe%netscape.com e2e7c63c10 Changes to allow Spider Monkey to be compiled under C++.
Courtesy Bill Gibbons <bill@gibbons.org>

His comments:

Here are the changes to JSRef to make it compile either as C or C++. Mostly the changes are to add missing casts (since C++ doesn't have implict conversion from void* to other pointer types nor implicit casts from ints to enumerations) plus a few random things like the use of "private" as a variable name.

There are a few other minor bug fixes; in particular:

  * A long statement with and'ed conditions is reformatted to make it easier to remove other builtin objects (e.g. Date).

  * A #if was added to jsscript.c for the JS_HAS_SCRIPT_OBJECT off case.

  * In jsmath a #ifdef was changed to #if.

My notes also mention...

  * jsobj.c should include jsopcode.h

  * jsfun.c - doesn't link if JS_HAS_ARGS_OBJECT is off

  * jsarray.c - a reference to js_ValueToSource should be conditional on JS_HAS_TOSOURCE

r=mccabe
2000-02-02 01:10:31 +00:00
rginda%netscape.com bac4bd315b Fix bitrot in RhinoEnv.java and DataTypes_017.java.
fresh build of jstests.jar
2000-02-02 00:57:03 +00:00
norris%netscape.com c04c4d51f9 Fix bug #25864 watch() vulnerability
r=vidur,rogerl
2000-02-02 00:22:58 +00:00
rginda%netscape.com 1938c2bc35 initial add 2000-02-02 00:22:23 +00:00
rginda%netscape.com fabff05162 fresh build 2000-02-02 00:18:57 +00:00
rginda%netscape.com f587753a85 initial add of compiled testdriver 2000-02-01 22:48:52 +00:00
jband%netscape.com 02fd16eef8 trivial block scope loop counter variable rename to squelch shadow warning.r=jband 2000-02-01 10:53:34 +00:00
mccabe%netscape.com 430c33bc7f Warning fixes. (Found one semantic problem in nsCLiveconnect.cpp)
r=mozbot
2000-02-01 09:12:58 +00:00
jband%netscape.com cb324c279e add improved support for dumping the JS stack from the native debugger or using the 'debugger' statement in JavaScript. Doc coming to the mozilla site soon. r=mccabe 2000-02-01 08:48:17 +00:00
jband%netscape.com 15133fff9c added files: mozilla/js/src/xpconnect/src/xpcdebug.cpp 2000-02-01 08:48:00 +00:00
norris%netscape.com 14eac0c49a Fix use of unsupported typedef.
r=Jerry.Kirk@Nexwarecorp.com
2000-01-31 23:10:12 +00:00
norris%netscape.com e221b94f7b Remove unused private method. 2000-01-31 18:49:07 +00:00
waldemar%netscape.com 4f219e3102 Added numerics.cpp 2000-01-29 08:25:59 +00:00
waldemar%netscape.com d3e3ede491 Fixed NOT_REACHED 2000-01-29 08:25:36 +00:00
waldemar%netscape.com ab615dec5b Added NATIVE_INT64 flag 2000-01-29 08:25:02 +00:00
waldemar%netscape.com 7b8284b4fe First Checked In. 2000-01-29 08:24:40 +00:00
jband%netscape.com 60c7c8fa76 trivial rename of local var in test to fix shadow warning 2000-01-29 04:53:22 +00:00
jband%netscape.com 567062d06e show more info when a call to wrapped JS object fails due to lack of the callee method - show what we were trying to call rather than let the engine just error out with 'undefined is not a function'. r=mccabe 2000-01-28 06:02:41 +00:00
mang%subcarrier.org 2508c667ce Add rules for incremental relinking on Unix to partially fix bug 23724.
The static libraries on Win32 are still broken. r=mccabe
2000-01-28 01:39:11 +00:00
norris%netscape.com 97ca106067 Propagate changes from Rhino150R1_BRANCH. 2000-01-27 17:35:29 +00:00
norris%netscape.com 610ce93d04 Fix test cases for long values, with one right at the boundary and one negative test just over the boundary. 2000-01-27 16:56:43 +00:00
jband%netscape.com b73b7ffc54 make certain that the JSRuntimeService singleton does not go away before the xpconnect singleton. Fix for bug 25093. r=ssu@netscape.com 2000-01-27 08:58:48 +00:00
norris%netscape.com 40a8c3ff06 Changing file to be conformance rather than negative test. 2000-01-27 00:58:41 +00:00
rginda%netscape.com eebd0c9ee3 Fix for gcc opt bug described in bug 24892. JSRef build fix only, mozilla build still needs some lovin'.
r=rogerl
2000-01-27 00:01:29 +00:00
beard%netscape.com 75de48ff41 changes to build on Mac OS X, r=mccabe 2000-01-26 22:48:49 +00:00
mccabe%netscape.com 09eaa9addc Fix to 24800. Change FREEBSD to __FreeBSD__, allowing the standalone JS engine to build and link on FreeBSD without the client build system (which defines FREEBSD).
Thanks go to braden@endoframe.com for the patch, and to sidr@albedo.net and fur@geocast.com for bug discussion.
2000-01-26 22:27:51 +00:00
beard%netscape.com 59cc89438e configuration file for Mac OS X. 2000-01-26 22:27:29 +00:00
rogerl%netscape.com f9fb6c6dfc r=norris,waldemar
Fixes for bugs#23607, 23608, 23610, 23612, 23613. Also, first cut at URI
encode & decode routines.
2000-01-26 22:15:06 +00:00
norris%netscape.com da933ad300 Propagate changes from 1.5 branch. 2000-01-26 18:57:00 +00:00
jband%netscape.com 80c44359ef trivial fixes to get rid of warnings 2000-01-26 11:08:24 +00:00
jband%netscape.com eef6de8432 Lots of xpconnect bug fixes...
- fix bug 12954 "should throw when setting non-settable props".

- fix bug 13418 "xpconnect needs to be threadsafe".
I think I filled in the cracks. Tests would be nice :)

- fix bug 22802 "[MLK] XPConnect Leaks".

- fix bug 24119 "[MLK] Reminder about cleaning up maps".

- fix bug 24453 "xpconnect needs default security manager".
I also changed the code in DOM and caps to just install a default secman and
not install a secman for each JSContext.

- fix bug 24687 "xpconect should avoid resolve performance suckage".
Added (modified) patch from shaver to create my JSObjects with the
global object as the temporary proto to avoid losing lookup.

- hack for bug 24688 "runtime errors in wrapped JS are not made obvious"
Added a debug only printf. We still need a JSErrorConsole service for this.

- fix bug 16130 "createInstanace and getService can create wrappers around wrappers"
Fixing this one really entailed changing the semantics of nsIXPConnect::wrapNative
and nsIXPConnect::wrapJS to use common code in xpcconvert that deals with existing
wrappers and DOM objects (with their own schemes for wrapping and unwrapping).
So, I changed the callers because the params changed slightly and some callers
were doing more work than necessary given the new semantics.

- Continued in the crusade to replace manaual refcounting with nsCOMPtrs whenever
touching old code.

- Added myself as first contributor to xpconnect files (vanity prevails!)

- Added new copyright header on some files that were missing it.

- Added some API comments.

- Converted nsXPCWrappedJS to implement nsIXPConnectWrappedJS via MI rather than
the old loser scheme of the nsIXPConnectWrappedJSMethods tearoff object.

- added DumpJSStack as globals to xpconnect and DOM dlls to be callable from
debuggers. I have ideas on how to improve and expand this support soon.

r=mccabe
2000-01-26 08:38:10 +00:00
rogerl%netscape.com a286b8fb4a !! Not part of the build !!
Fixed some typo's
2000-01-26 01:29:51 +00:00
waldemar%netscape.com fb81779831 Rearranged link order 2000-01-25 23:00:19 +00:00
waldemar%netscape.com 131c15eedd Added constructor 2000-01-25 22:59:28 +00:00
waldemar%netscape.com 599c4a7106 Added char16 and uchar16 2000-01-25 22:58:55 +00:00
waldemar%netscape.com 99a8490c0a Added string, character, and exception utilities 2000-01-25 22:58:34 +00:00
waldemar%netscape.com 0f9dbf7003 Continuing to implement 2000-01-25 22:57:32 +00:00
waldemar%netscape.com b79a5dc2ab Switched to using appendChars 2000-01-25 22:56:48 +00:00
waldemar%netscape.com ca9231c255 Fixed syntax error 2000-01-25 22:56:14 +00:00
rogerl%netscape.com c9ad5fa0b2 !! Not a part of the build !!
r=norris. Updated license contents (continuing bug#15529)
2000-01-25 18:42:55 +00:00
brendan%mozilla.org 3d3e8f7bf7 Track js_Invoke API change (24668, r=jband@netscape.com). 2000-01-25 04:00:45 +00:00
dougt%netscape.com 0b0346079c Landing nsIFile. 2000-01-24 21:28:28 +00:00
beard%netscape.com 8d01d34630 changed all "try { s = (Scriptable) obj; } catch (ClassCastException e) {...}" to "if (obj instanceof Scriptable) { ... }". This will generally be more efficient NOT to use exception handling where instanceof will do. 2000-01-22 04:41:30 +00:00
beard%netscape.com 7e8572925e fix case for anonymous functions. 2000-01-22 03:28:04 +00:00
michael.lowe%bigfoot.com 6696fa133b Repeating, prioritised timer implementation for Windows and Gtk (bug 22979). author={Win32=michael.lowe@bigfoot.com, Gtk=alex@cendio.se}, r={kmcclusk,rods,sfraser,et al} a=brendan 2000-01-21 21:56:09 +00:00
norris%netscape.com 7092bd508b Fix ecma_3/ExecutionContexts/10.1.3.js
r=rogerl
2000-01-20 20:59:56 +00:00
rginda%netscape.com ca34cb6063 Fixed testcase 2000-01-20 20:35:39 +00:00
rginda%netscape.com 046175c547 Remove 'use 5.004;', only seems to work on linux 2000-01-20 01:21:05 +00:00
rogerl%netscape.com be8d0da3f8 Bug #24023, infinite loop in interpreter when catch clause has a throw.
This was caused by a previous bug fix in which I moved the try stack
decrement to the end of the catch clause because it was getting skipped
by the final statement in the try block (which is always a goto around the
catch block). Better is to make sure the endTry is the statment just before
that goto, and do the try stack decrement in the catch the way god intended.
2000-01-19 22:50:27 +00:00
rogerl%netscape.com 3d19609d66 Bug #23609 - optimization in IRFactory for post-increment was incomplete. 2000-01-19 19:32:45 +00:00
norris%netscape.com a2be2fadf4 Fix icode printing for call opcodes. 2000-01-19 18:38:42 +00:00
brendan%mozilla.org 7c28e82665 Long-awaited fix courtesy rogerl's keen analysis (19165, r=rogerl@netscape.com). 2000-01-19 03:53:07 +00:00
briano%netscape.com 72a5d1b833 Some platforms object to using JS_ASSERT without including jsutil.h. 2000-01-19 03:00:04 +00:00
rginda%netscape.com a1c3ef28cc Initial add. 2000-01-19 01:46:25 +00:00
rginda%netscape.com 07cf48ba94 Added regexp to test 2000-01-19 01:36:54 +00:00
rginda%netscape.com c8d963236f Initial Add 2000-01-19 01:19:16 +00:00
rginda%netscape.com 7065c08bf5 Initial add 2000-01-19 00:51:21 +00:00
rginda%netscape.com e5ee075f82 corrected testcase 2000-01-19 00:47:24 +00:00
rginda%netscape.com 822f287fa2 initial add 2000-01-19 00:34:03 +00:00
rginda%netscape.com 390ff86017 Initial add 2000-01-19 00:16:20 +00:00
rginda%netscape.com f7173e7ca4 initial add 2000-01-19 00:08:55 +00:00
shaver%netscape.com 46093e61f0 reminder comment, r=brendan 2000-01-18 22:38:56 +00:00
shaver%netscape.com 9c6a941a7c add JS_CompileFileHandleForPrincipals, (r=rginda) 2000-01-18 22:04:01 +00:00
brendan%mozilla.org db78bfb8b1 JS1.5 fixes (17290, 21618, plus shaver's 22243 fix, r=shaver@mozilla.org). 2000-01-18 11:06:05 +00:00
rginda%netscape.com 485633e020 revised incorrect testcase 2000-01-14 22:23:08 +00:00
jband%netscape.com a454a404b6 - checkin of test for arrays of interface fix that went in yesterday.
- fix to xpcconvert NativeData2JS to support getting JSObject of DOM object
even when not running on a DOM created JSContext.
- some updates to comments, etc.
r=mccabe
2000-01-14 08:26:34 +00:00
rginda%netscape.com a52dbe085e Initial checkin of tostring test 2000-01-13 00:31:09 +00:00
rginda%netscape.com b5c9bc3965 First round of Mac related changes.
It runs now, but test list files and single test files on the command line are still broken.
2000-01-12 22:02:23 +00:00
pp%ludusdesign.com 698852a4f4 Converting usage of ::GetIID() to NS_GET_IID().
Bug #20232, r=scc@netscape.com
2000-01-11 20:49:15 +00:00
waldemar%netscape.com 585909dcd3 Added unicode character category functions 2000-01-11 05:55:58 +00:00
cls%seawood.org 4f34e05855 Removed redundant XPDIST from the build. Changed existing references to DIST.
Replaced all uses of $(DIST)/include with $(PUBLIC) except those looking for NSPR headers.
Removed extra instances of $(DIST)/include or $(PUBLIC) from INCLUDES as it's already there.
Override OS_LIBS when setting host variables for cross-compiling.
2000-01-11 05:13:01 +00:00
beard%netscape.com 83bd9a3b0e initial check-in. 2000-01-11 01:46:27 +00:00
jdunn%netscape.com cb0c532e85 Fix base class specifiers, since be default if they aren't specified it is Private
# 23237
r= warren@netscape.com, ftang@netscape.com, jband@netscape.com
2000-01-11 01:45:34 +00:00
waldemar%netscape.com d331d3a864 First Checked In. 2000-01-10 21:22:43 +00:00
waterson%netscape.com 04af7c0f43 Bug 23320. Per Franz.Sirl-kernel@lauterbach.com's suggestion, fix passing of va_list for platforms that typedef to an array. r=brendan 2000-01-08 00:32:25 +00:00
rginda%netscape.com 67c2a2fa08 s/local/my for strict mode.
y2k fix for results file name.
2000-01-07 21:39:36 +00:00
jdunn%netscape.com 9253e8c89b resolving all unresolved symbols at link time
#= 18896 (continuation)
r= pepper@netscape.com - but ramiro and I talked about these types of changes ages ago
2000-01-07 02:46:06 +00:00
jband%netscape.com cc0b7c4372 change the module string name. not part of build 2000-01-07 02:25:47 +00:00
jband%netscape.com 9378e6155a use generic module stuff. My part to fix bug 22922. r=dp 2000-01-07 02:24:39 +00:00
jband%netscape.com 737c9a85e0 add support for Components.Constructor to build constructors for xpcom objects from JS. r=mccabe 2000-01-07 02:21:14 +00:00
jband%netscape.com 34510f50fe fix leak of argument formatters upon JSContext destruction. bug 22802. r=rogerl 2000-01-07 02:19:44 +00:00
rogerl%netscape.com bb5e5df58f Fixed accidental trailing semi at end of if statement. Many thanks to
everyone who participated in this test of the warning detection system.
2000-01-07 00:15:11 +00:00
norris%netscape.com b684dbee7f Test didn't work with the Rhino feature of reflecting bean properties as JavaScript propertes: getClass() becomes
a "class" property, and eval'ing a property name of "class" causes a syntax error.
2000-01-06 22:54:15 +00:00
norris%netscape.com 913e66ba3c Propagate fix from branch. 2000-01-06 16:28:43 +00:00
edburns%acm.org 13be6d7ebf I know it's unorthodox to do a top level checkin like this, but I've got so many files
in so many different directories, that I think it's the best way.
I've pulled and clobber_all'd my tree and got

r=dp

on this checkin.

Here are the touched files:

M mozilla/embedding/browser/activex/src/control/MozillaBrowser.cpp
M mozilla/embedding/browser/activex/src/control/MozillaBrowser.h
M mozilla/js/src/xpconnect/shell/xpcshell.cpp
M mozilla/netwerk/protocol/res/src/nsResProtocolHandler.cpp
M mozilla/xpcom/build/nsXPComInit.cpp
M mozilla/xpcom/components/nsComponentManager.cpp
M mozilla/xpcom/components/nsIServiceManager.h
M mozilla/xpcom/components/nsServiceManager.cpp
M mozilla/xpcom/io/nsSpecialSystemDirectory.cpp
M mozilla/xpcom/io/nsSpecialSystemDirectory.h
M mozilla/xpcom/tests/TestBuffers.cpp
M mozilla/xpcom/tests/TestPipes.cpp
M mozilla/xpcom/tests/TestShutdown.cpp
M mozilla/xpcom/tests/windows/TestHelloXPLoop.cpp
M mozilla/xpcom/tools/registry/regExport.cpp
M mozilla/xpcom/tools/registry/regxpcom.cpp
M mozilla/xpinstall/stub/xpistub.cpp
M mozilla/webshell/embed/ActiveX/MozillaBrowser.cpp
M mozilla/webshell/embed/ActiveX/MozillaBrowser.h
M mozilla/webshell/tests/viewer/nsMacMain.cpp
M mozilla/webshell/tests/viewer/nsPhMain.cpp
M mozilla/webshell/tests/viewer/nsWinMain.cpp
M mozilla/webshell/tests/viewer/unix/gtk/nsGtkMain.cpp
M mozilla/xpfe/appshell/src/nsFileLocations.cpp
M mozilla/xpfe/bootstrap/nsAppRunner.cpp

The heart of this checkin is a change in the signature and symantics
of NS_InitXPCOM.

The new signature is

extern NS_COM nsresult
NS_InitXPCOM(nsIServiceManager* *result, nsFileSpec* binDirectory);

I filed a bug for this problem:

b=23157

The original manifestation of this bug was in mozilla/netwerk/protocol/res/src/nsResProtocolHandler.cpp It used the current process directory to find resources, which is not correct when the current process is not mozilla.exe.

I have added a new type to nsSpecialSystemDirectory, Moz_BinDirectory, and made nsResProtocolHandler use that value.
2000-01-06 01:05:13 +00:00
jdunn%netscape.com 4d0333a085 |T| requires an accessible default constructor (on some old compilers)
This is the same as mozilla/netwerk/cache/mgr/nsCachedNetData.h
(also declared nsIXPCWrappedNativeScope to be public since by default it is private

r= scc@netscape.com
2000-01-06 00:59:07 +00:00
jband%netscape.com 5a0b3e6330 adding new files. not part of build 2000-01-03 22:34:01 +00:00
blizzard%redhat.com d6cf22aa5c Change nsComponentManager::ProgIDToCLSID to nsComponentManager::ProgIDToClassID as per bug #3579. Checking in for sford. r=scc,r=blizzard 1999-12-30 22:03:58 +00:00
rogerl%netscape.com 329f23093b Need to update the value of newly created closure. 1999-12-24 00:49:44 +00:00
rogerl%netscape.com 0b84cb0f44 Clean-up message text 1999-12-23 00:16:07 +00:00
rogerl%netscape.com 67f8689368 Fixed copyright dates and added lincense boilerplate. 1999-12-22 22:03:59 +00:00
rogerl%netscape.com 1bdf87b315 Changed comment format to C-style. 1999-12-22 22:02:16 +00:00
rogerl%netscape.com caab4f003c r=brendan
Bug #20444, delete of non-reference
1999-12-22 22:01:19 +00:00
rogerl%netscape.com e2125cefc6 r=brendan
Bug #21836, apply didn't check for non-object argument.
1999-12-22 22:00:07 +00:00
rogerl%netscape.com 56d5bbb958 r=brendan
Bug #21799, uncaught throw of null crash.
1999-12-22 21:58:53 +00:00
rogerl%netscape.com 15c2b44da1 r=norris
Bug #20547 & 20549 - ECMA3 compatible handling of String.replace and fixes
to $ handling.
1999-12-22 21:57:10 +00:00
cls%seawood.org 6f3b1dbf87 Partial fix for bug 20254. Allow flags passed to CFLAGS during configure be used for both compiling & linking. CFLAGS as we know it becomes COMPILE_CFLAGS so that platforms that cannot link using DSO flags (qnx) can still build. The new CFLAGS will not have DSO flags and will be used primarily for linking.
Remove OPTIMIZER & XP_DEFINE from config.mk
1999-12-22 03:40:16 +00:00
mccabe%netscape.com 2ad305edc7 #ifdefs to build the JavaScript engine under metrowerks on windows machines.
Fixes courtesy Chris Dillman <chrisd@plaidworld.com>.

r=mccabe
a=sdagley
1999-12-22 00:03:50 +00:00
sspitzer%netscape.com a4493ba510 ignore generated Makefile 1999-12-21 22:41:26 +00:00
jband%netscape.com c27916de03 fix new warnings resulting from my carpool 1999-12-18 22:33:18 +00:00
jband%netscape.com 65805af7ac added files: mozilla/js/src/xpconnect/idl/nsIXPConnect.idl 1999-12-18 21:08:57 +00:00
jband%netscape.com f0b1a678e7 added files: mozilla/js/src/xpconnect/src/xpcwrappednativescope.cpp, mozilla/js/src/xpconnect/src/xpcjsruntime.cpp 1999-12-18 20:29:52 +00:00
jband%netscape.com ef9c82db1e Landing big set of DOM and XPConnect changes:
DOM: getting rid of JS_GetContextPrivate wherever possible. Use static parent
links where we can. When we do need to find this info about the caller
we call a function that knows how to get that info rather than inline calls
to JS_GetContextPrivate. This is all required for calling DOM objects on
non-DOM JSContexts as we do via xpconnect.

XPConnect: basic refactoring work to disassociate wrappers from the JSContext
that was active when the wrapper was constructed. This allows for calling into
wrapped JS objects on the right JSContext and for proper grouping of wrapped
native objects so that they can share proto objects. This also allows for
better sharing of objects and lays the foundations for threadsafety and
interface flattening.

Also, xpconnect tests are reorganized and improved.

fixes bugs: 13419, 17736, 17746, 17952, 22086

r=vidur r=mccabe r=norris r=cbegle
a=chofmann
1999-12-18 20:29:29 +00:00
jband%netscape.com 1011e47f1e removed files: mozilla/js/src/xpconnect/idl/xpctest.idl, mozilla/js/src/xpconnect/idl/xpctest2.idl 1999-12-18 19:10:33 +00:00
rginda%netscape.com 9cceb99eaa Updated to match the js1.5 announcement's terminology 1999-12-18 00:53:53 +00:00
rogerl%netscape.com 67e41a2568 Fixed typeof test on enumerated object result - is always string now. 1999-12-17 01:53:48 +00:00
waterson%netscape.com 6baf6f2475 Bug 21643. Temporary hack to avoid leaking root wrapper when creating both, and root != wrapper. Note that the fix is 'sloppy', as there are flows-of-control that could potentially leak the NS_ADDREF(); however, since jband is rewriting this stuff RSN, and that stuff doesn't really ever fail too often, we'll let i slide. r=jband 1999-12-17 00:02:58 +00:00
norris%netscape.com 881d203b8f Fix Counter example. 1999-12-16 22:49:50 +00:00
rginda%netscape.com ed76fb15f1 Updated README document.
formatting nit in jsDriver.pl
Added comment to the rhino neg list
1999-12-16 22:38:49 +00:00
rginda%netscape.com 2f79add8e9 Added verbose flag for testcase debugging purposes 1999-12-16 22:35:43 +00:00
rginda%netscape.com 3fa2af9bf1 Fix spacing nit. 1999-12-16 22:34:05 +00:00
rginda%netscape.com a25e8ff1ad Fixed 001 test, added 002 test 1999-12-16 22:32:52 +00:00
norris%netscape.com 7d795f197b Make it possible to report multiple errors. 1999-12-16 18:47:27 +00:00
rginda%netscape.com 5580e045b2 Added apply test for bug 21836 1999-12-16 00:21:36 +00:00
rginda%netscape.com 088ed7cd3f Adding null throw and undefined throw tests 1999-12-15 21:17:25 +00:00
mccabe%netscape.com 58020e6fe8 Add missing JS_END_EXTERN_C to match JS_BEGIN_EXTERN_C at the beginning. Thanks to Till Volmer <tvollmer@hyperwave.com> cor spotting this.
r=mccabe, a=brendan.
1999-12-14 22:39:54 +00:00
briano%netscape.com 9587f6dc46 Final portion of the fix for bug 20882. Just a cleaner way of doing what is already being done. 1999-12-14 00:56:50 +00:00
rginda%netscape.com eb94ffbdf1 Simple get/set test. 1999-12-13 22:47:31 +00:00
shaver%netscape.com ab1040199d fix JS component loader by reimplementing nsGenericModule (r=dveditz,slamm;a=leaf) 1999-12-13 22:33:11 +00:00
rginda%netscape.com 24be9ed036 Added printStatus function to shell.js
Added some catchguard tests
1999-12-13 00:37:01 +00:00
rogerl%netscape.com beb5b9cfda Fixed test of enumerated property to use isNaN - a previous bug fix in
enumerated types stopped it from returning anything but strings here.
1999-12-11 00:44:02 +00:00
rogerl%netscape.com 8de0af5814 Removed tests invalidated by new argument rules - java.lang.String is
preferred over java.lang.Double when coming from a Java Object and both
Double & Float have constructors that take a String - only the DataType
toString doesn't return the correct value for the test. (See Christine's
comment).
1999-12-11 00:42:43 +00:00
rogerl%netscape.com 4ef42618e3 Updated tests to account for new LiveConnect behaviour for JS array type
as input argumnet - it used to be handled as any other JS object, but there
are now new rules for arrays, invalidating portions of these tests.
1999-12-10 19:56:23 +00:00
norris%netscape.com a155377984 Remove unused member variable. 1999-12-09 23:37:18 +00:00
beard%netscape.com f32c492fc7 fixes case where an InterpretedFunction has both a closure and needs an activation. 1999-12-09 22:05:09 +00:00
briano%netscape.com 05bf5d8f48 QNX-specific build bustage fix. va_list is an array on QNX, so assignments need to use array notation. 1999-12-09 03:09:56 +00:00
rogerl%netscape.com d5a5a0e7fc smaller faster better - it'll probably burn up on entry. 1999-12-09 00:26:09 +00:00
norris%netscape.com 3e5be76cf6 Add list of inapplicable tests for rhino. 1999-12-08 22:42:18 +00:00
rginda%netscape.com 723ab02319 Fixing stupid mistake. 1999-12-08 22:26:19 +00:00
rginda%netscape.com 34d727d48c Turned off automatic fslash insertion for shellpath (it now takes a full exe name)
Added --noexitmunge option for systems that don't report the exitcode/exitsignal "properly"
1999-12-08 22:21:41 +00:00
fur%netscape.com 307f28b402 Fix #12367. Don't crash evaluating 'foo.constructor' if foo is a JavaObject.
r:none
1999-12-08 07:41:35 +00:00
briano%netscape.com 920c3c1e7d Change for QNX 4 to work around their extremely limited compiler and linker, which aren't capable of creating an object from a lib as we're doing here with jsmath.o. 1999-12-08 04:03:24 +00:00
briano%netscape.com 9caaaac6b4 QNX-specific build bustage fix. Also excludes NTO just in case both are defined under Neutrino. 1999-12-08 03:58:40 +00:00
rogerl%netscape.com 7b2b34b4b3 Added 'flat' argument to NewRegExp to force literal interpretation of
entire string.
1999-12-08 01:48:03 +00:00
rogerl%netscape.com b75ab1c96c Needed a quick-and-dirty constructor from a string. 1999-12-08 01:47:13 +00:00
rogerl%netscape.com bcf6134bde Added 'flat' argument to NewRegExp to force literal interpretation of
entire string.
Fixed String.replace to not coerce first arg to regexp.
Fixed behaviour of replace w.r.t. $
1999-12-08 01:46:43 +00:00
rogerl%netscape.com 4ce70bbabb Added 'flat' argument to NewRegEXp to force literal interpretation of
entire string.
1999-12-08 01:44:08 +00:00
waldemar%netscape.com 0df97687fd Removed field, method, and constructor. Added static. 1999-12-08 00:35:00 +00:00
waldemar%netscape.com ac82c657bc Fixed Harlequin incompatibilities 1999-12-08 00:34:29 +00:00
waldemar%netscape.com d11e909dcb Added next-token-unit. Simplified grammar and removed boolean actions that indicate whether the next token can be a regexp. Added assertion that a * can't follow a division. 1999-12-07 22:09:10 +00:00
waldemar%netscape.com 9d3db083d9 Added hash-table-entries 1999-12-07 22:07:04 +00:00
waldemar%netscape.com c8ebca0bda Fixed bug in forbidden terminalset calculations 1999-12-07 22:06:43 +00:00
waldemar%netscape.com 0bd84dc104 Made semantics compiled on Allegro 1999-12-07 22:04:58 +00:00
rginda%netscape.com f0d3d00dfb Should be working on all platforms again. 1999-12-07 20:00:27 +00:00
rginda%netscape.com 9d9b8ecabf More windows dual-build tweaks (arg!) 1999-12-07 19:56:40 +00:00
rginda%netscape.com f4d35bb883 More tweaks to sm engine selection
Updated documentation to reflect tweaks
1999-12-07 19:47:06 +00:00
rginda%netscape.com 96f68f37e4 * jsDriver.pl
Fix it to know about the two kinds of spidermonkey make on windows
  (Makefile.ref and js.mak)
1999-12-07 19:35:45 +00:00
rginda%netscape.com 49050135c0 Fix exit code detection. 1999-12-07 00:22:06 +00:00
rogerl%netscape.com 5fba491f2a Removed unsued local var version - shadowing caused typeof version test
to fail.
1999-12-06 23:53:57 +00:00
rginda%netscape.com 3bd9441aa0 * jsDriver.pl
Turn off trace by default (oops)
  Fix test list/ skil list output
1999-12-06 23:38:23 +00:00
rginda%netscape.com 8e4736f170 Moved test from js1_2 section 1999-12-06 23:32:25 +00:00
rogerl%netscape.com 4bc7c46423 version() must have int type argument.
Fixed VERSION setting to match shell.js
Fixed 'pass!' string to match 'pass'
1999-12-06 22:47:51 +00:00
rogerl%netscape.com 3cea9cfa35 version() must have int type argument.
Fixed VERSION setting to match expected string in shell.js
1999-12-06 22:46:46 +00:00
rogerl%netscape.com 07c7898644 version() must have int type argument 1999-12-06 22:45:53 +00:00
norris%netscape.com 698b9afdab Fix ecma_3/ExecutionContexts/10.1.4-1.js 1999-12-06 19:03:21 +00:00
rginda%netscape.com f9206b848e * README-jsDriver.html
Minor wording changes.

* jsDriver.pl
  Display negative list in output, fix display of test list as part of output (which was broken by the multiple test-list change)
  Added hours field in tastcase duration output (man that sparc20 is slow.)
1999-12-06 04:29:18 +00:00
rginda%netscape.com ff42cfec6d Backing out. 1999-12-05 04:34:15 +00:00
rginda%netscape.com 901e8db373 Checking in JS Component changes for shaver
"<shaverAway> slamm reviewed, I made the diff, it's a tested fix"
I built and ran here as well.
1999-12-05 03:36:59 +00:00
rginda%netscape.com 7127cadec4 * runtests2.pl was renamed to jsDriver.pl
jsDriver.pl now supports multiple lists to be specified in the -l argument,
and directory names as well.  Directory names can also be used in list files.
'Negative' lists are supported as well.  They consist of a list of tests to skip, and are of the same format as the regular lists.

* README-jsDriver.html
  man-like html page describing how to use jsDriver.pl
1999-12-05 02:15:22 +00:00
waldemar%netscape.com 0a0d00b642 Clean grammars on allegro to save memory 1999-12-04 05:04:08 +00:00
waldemar%netscape.com 1383728082 Added canonical LR(1) grammars and grammar cleaning 1999-12-04 05:03:20 +00:00
waldemar%netscape.com 2e91b03fa0 First Checked In. 1999-12-04 05:01:34 +00:00
waldemar%netscape.com 2ad31160d0 File Removed. 1999-12-04 05:01:06 +00:00
beard%netscape.com a0069ee91f removed NativeClosure.java. 1999-12-04 00:32:16 +00:00
norris%netscape.com 65135b7a4a Fix instanceof. 1999-12-04 00:21:41 +00:00
norris%netscape.com b961d3803b clean up tests 1999-12-03 23:54:36 +00:00
norris%netscape.com f1b3d47cb2 eval() called indirectly should throw an EvalError 1999-12-03 23:44:58 +00:00
norris%netscape.com db8bea4b84 Fix ecma_2/Exceptions/exception-006.js 1999-12-03 23:32:46 +00:00
norris%netscape.com 4954e5b285 Remove spurious quote 1999-12-03 23:17:43 +00:00
norris%netscape.com 198af5013e VAR --> var 1999-12-03 23:16:23 +00:00
waldemar%netscape.com 5f79a9def5 Implemented line-grammar and added utility functions for analyzing grammar state table 1999-12-03 22:53:21 +00:00
waldemar%netscape.com bd0aff3161 Implemented variant-constraints 1999-12-03 22:52:18 +00:00
waldemar%netscape.com 7739c8a455 Implemented line-grammar 1999-12-03 22:51:27 +00:00
waldemar%netscape.com 1fcf592044 Implemented variant-constraints. Added all-state-transitions. 1999-12-03 22:50:45 +00:00
waldemar%netscape.com 61d016c3db Changed comments 1999-12-03 22:49:36 +00:00
waldemar%netscape.com 013b5906b0 First Checked In. 1999-12-03 22:49:10 +00:00
waldemar%netscape.com d38bfa54de Added :sort-key to sorted-hash-table-keys 1999-12-03 22:48:52 +00:00
norris%netscape.com 9971f38d08 Fix regressions. 1999-12-03 21:50:42 +00:00
rogerl%netscape.com 93db42fecd Switch to ECMA error. 1999-12-03 02:58:29 +00:00
rogerl%netscape.com 42ee9bb786 Don't let Undefined prototype be assigned to new objects, revert to Object
instead. Also, detect Undefined prototype in hasInstance and bail.
1999-12-03 00:10:36 +00:00
norris%netscape.com c4c76975f6 Fix the following bug:
Subject:
            Rhino request URGENT
       Date:
            Thu, 02 Dec 1999 15:58:40 -0500
      From:
            slobo@espialgroup.com
        To:
            Norris Boyd <norris@netscape.com>
 References:
            1 , 2




Hello Norris

In Rhino, the following script gives the error : "function does not always return a value" during the parsing phase. The script
runs perfectly fine in Netscape 4.61. It is an urgent requirement. Many thanks in advance.

Steven

///////////////////////////////////////////////////////SCRIPT  BEGIN  ///////////////////////////////////////////////
function test (a) {
  this.arg = a;
  if (a>20)
        return;
  return this;
}

//print = alert;

function joe() {
a = new test (20);
print (a.arg);


a = new test (25);
print (a.arg);
}

joe();
///////////////////////////////////////////////////////SCRIPT   END  ///////////////////////////////////////////////
1999-12-03 00:04:46 +00:00
fur%netscape.com 3a22f1cfae Fix 20594: C++ comments in C files 1999-12-02 22:41:02 +00:00
norris%netscape.com f03998dff2 remove invalid test 1999-12-02 20:04:48 +00:00
norris%netscape.com 403430a7d3 EvaluatorExceptions should set an exit error code. 1999-12-02 19:12:34 +00:00
norris%netscape.com 413a71493b Pass a scope to ScriptRuntime.call so we can throw EcmaErrors if need be. 1999-12-02 18:17:22 +00:00
waldemar%netscape.com 0a8aea9072 NOT IN BUILD. Added strdup to make Mac standalone js engine work again 1999-12-02 03:05:14 +00:00
waldemar%netscape.com 4812888c28 Fix to bug 17263: toPrecision when called with no arguments. r=shaver 1999-12-02 03:04:31 +00:00
rogerl%netscape.com a75fb74671 Added missing null scope parameter. 1999-12-02 01:33:22 +00:00
rogerl%netscape.com a7e0325cf6 Passing scope down into parser/IRFactory/NodeTransformer so that syntax
errors can be packaged as ECMA Error objects.
1999-12-02 01:16:02 +00:00
rogerl%netscape.com 741cf4ed39 Bug #19980 - insist on curly-brace after catch block rather than just
accepting it - forces error that allows catch block to span lines for
interactive input.
1999-12-01 23:12:58 +00:00
norris%netscape.com 051daf4abf Fix js1_3/regress/in-001.js 1999-12-01 18:43:12 +00:00
norris%netscape.com 459c97e38a Fix test ecma_2/Exceptions/string-001.js 1999-12-01 18:05:49 +00:00
rginda%netscape.com aab3dfd323 Testcase produced no output is no longer a failure. 1999-12-01 06:29:27 +00:00
rginda%netscape.com 2fc65eda6d Added new ecma_3 suite. along with 'new style' (hopefully simpler) shell.js, and
a new test (which fails already!)
1999-12-01 06:07:28 +00:00
waterson%netscape.com 6c6c87dcfa xpconnect is a component now on Linux/PPC, albeit a broken one... 1999-12-01 05:20:16 +00:00
brendan%mozilla.org 46665376d1 Fix obscure eval bug and ECMA conformance issue (20256, r=rginda@netscape.com). 1999-12-01 04:30:04 +00:00
rogerl%netscape.com acd3c7ef86 Call createFunctionObject on closure created InterpretedFunction objects
so they can be real JS objects like they're supposed to be -with prototypes
and everything.
1999-12-01 02:45:58 +00:00
drapeau%eng.sun.com 5572b27499 My bad: orphaned code fix for bug 5369. The rest of this bug fix was
checked in some time ago, but this portion of the fix never made it
it.  r=drapeau@eng.sun.com.  Log error when LiveConnect cannot be
started due to an error in the Java VM.
1999-12-01 01:43:16 +00:00
drapeau%eng.sun.com c1d36cf1ac Fix for bug 14666 ("Running this JavaToJavaScript test causes
apprunner to crash."), fix contributed by
jeff.dyer@compilercompany.com, r=drapeau@eng.sun.com. Checks whether
there's a current valid context; if there's no context, don't bother
checking if an exception is pending on that context.
1999-12-01 00:44:08 +00:00
jband%netscape.com 0acd0a5ee4 My contribution to bug 5403. Get rid of xpconnect's ServiceReleaser scheme because we can now just call Release on a service just like any other xpcom object. r=mccabe 1999-12-01 00:27:09 +00:00
norris%netscape.com 92b89b162f anal: fix indentation 1999-11-30 23:54:51 +00:00
rginda%netscape.com e2104bde87 Added liveconnect option to runtests2.pl, there are now so many shells supported that the -e|--engine=<type> option has replaces all the individual engine options, such as -d, -o, and -r.
Updated bugnumber in the function-001(-n)?.js files, and minor simplification in the 10.1.3 testcase.
1999-11-30 22:16:34 +00:00
rginda%netscape.com 4c7fbf76bc Defined __LITTLE_ENDIAN in fdlibm on x86 linux, fixes various Math object issues, r=rogerl@netscape.com 1999-11-30 00:43:03 +00:00
mccabe%netscape.com af2de0b090 Additional Date object APIS courtesy 'Chris' Houck. r=mccabe. 1999-11-30 00:42:07 +00:00
rginda%netscape.com 66dc2f9905 Changes to make list selection page work correctly on windows platform. 1999-11-29 22:31:45 +00:00
rogerl%netscape.com aa8912475e r=norris
Moved 'ok' to MatchState. Re-wrote matchGreedyKid to reduce stack
usage and allow succesful completion to propagate out. #9141
1999-11-29 22:06:22 +00:00
bryner%uiuc.edu c19f2eda7f Minor changes to fix building on Linux with --enable-oji. r=shaver. 1999-11-29 20:27:00 +00:00
brendan%mozilla.org ef9a60a3fb Destroy rt->stateChange condvar (also trim deadwood; 20168, r=beard@netscape.com). 1999-11-28 19:56:52 +00:00
brendan%mozilla.org 8e5a02d3ad Fix decompiler to search function clone prototypes for args and vars (20160, r=rginda@netscape.com). 1999-11-28 09:46:33 +00:00
warren%netscape.com 96ec037ac6 Eliminated the libs build pass. 1999-11-28 03:05:01 +00:00
brendan%mozilla.org c8fe63ef47 Eliminate Closure per ECMA ed. 3, fix brutal sharing of lambdas (20076, r=rogerl,shaver). 1999-11-25 03:25:30 +00:00
shaver%netscape.com 41142ac228 - report function name, if any, when warning about mismatched return
- change catchguard syntax to avoid ECMA conflict
- light XDR cleanup
1999-11-24 03:36:25 +00:00
rginda%netscape.com d92a60ca20 * Makefile
Add target for windows systems.
* runtests2.pl
  Add xpcshell option, no longer requires \n at end of list file.
* ecma/ExecutionContexts/10.1.3.js
  Reformatted.
1999-11-23 22:35:35 +00:00
norris%netscape.com d6faee6812 delete of non-reference just evaluates to true. 1999-11-23 17:36:17 +00:00
norris%netscape.com 0912f3ec41 Add ConversionError and make it work for undefined.foo. 1999-11-23 17:30:31 +00:00
norris%netscape.com 54e442adf3 Remove commented-out code. 1999-11-23 17:29:53 +00:00
norris%netscape.com eb5865d934 Fix formatting. 1999-11-23 17:29:34 +00:00
jband%netscape.com e5417278ef fixup the exported api declarations to use JS_PUBLIC_API in a consistent fashion r=mccabe 1999-11-23 01:02:28 +00:00
norris%netscape.com 504a2557ce Fix test failures:
ecma_2/Exceptions/expression-020.js
js1_4/Regress/date-001-n.js
js1_4/Regress/toString-001-n.js
1999-11-22 23:48:06 +00:00
rginda%netscape.com 9c43d9dd60 Return exitcode 3 on runtime errors, and 4 on 'file not found's; added to js and xpc shell,
r=jband
1999-11-22 23:28:58 +00:00
norris%netscape.com ce59129ab9 Fix
Testcase ecma_2/Exceptions/expression-020.js failed
Failure messages were:
result = this.eval("NaN") (threw No exception thrown) = NaN FAILED! expected: Passed
1999-11-22 19:35:59 +00:00
norris%netscape.com c6f15cb391 'thisArg' could be null, so use 'fun' for scope. 1999-11-22 19:35:20 +00:00
jband%netscape.com 6c1ccd58bb removing the .cvsignore file in an abandoned directory so that using -P with cvs will trim the thing out of a tree 1999-11-22 05:46:56 +00:00
cls%seawood.org b5c60ca764 When cross-compiling, we want to use the header generated from NSPR defines. 1999-11-21 16:06:53 +00:00