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

1308 Коммитов

Автор SHA1 Сообщение Дата
beard%netscape.com 893b5b6374 fixed source folder name 1999-09-29 16:10:25 +00:00
beard%netscape.com 413c8ef2c7 build debugger with CW Pro 4. 1999-09-29 16:07:22 +00:00
beard%netscape.com 36454ca749 builds the optimizer using CW Pro 4. 1999-09-29 15:55:29 +00:00
sfraser%netscape.com ff4d90f6a8 More type mismatch fixing for shavear 1999-09-29 03:07:27 +00:00
shaver%netscape.com a0d5aa9034 nsIRegistry scriptability update, r=dveditz,dp,alecf a=leaf,chofmann 1999-09-29 02:36:54 +00:00
dmose%mozilla.org 8370e8419f update license boilerplate to NPL-1.1 dual-licensed with the GPL. a=brendan, r=brendan. 1999-09-28 23:12:09 +00:00
norris%netscape.com ba6c2c928a Add example of classfile generation. 1999-09-27 23:21:01 +00:00
norris%netscape.com 89da8cb66c Changes for classfile generation. 1999-09-27 23:17:29 +00:00
rogerl%netscape.com 67dc9fdf6d Better error handling for interpreter. 1999-09-27 17:47:51 +00:00
rogerl%netscape.com a71f31edb6 Changes from Kurt Westerfield to improve error messages from Interpreter
by passing line/file data through bytecode.
1999-09-27 17:47:05 +00:00
rogerl%netscape.com 5a3d2224bb Stash originating source file for error reporting 1999-09-27 17:45:26 +00:00
rogerl%netscape.com 3da3ea5d84 ECMA 3 array length error handling. 1999-09-27 17:44:30 +00:00
rogerl%netscape.com 836156934b Execute exec in the global scope. 1999-09-27 17:43:40 +00:00
rogerl%netscape.com 00f4d796de New tokens to support better error messages from Interpreter. 1999-09-27 17:43:07 +00:00
rogerl%netscape.com 1ddb9fac14 Added -c <classpath> option to specify, you guessed it, a classpath. 1999-09-27 17:41:44 +00:00
shaver%netscape.com eb1c17fcbf unlock in fun_enumProperty, r,a=brendan 1999-09-27 08:24:36 +00:00
shaver%netscape.com ea329b2c77 properly unlock object, preventing ugly crash with |if (foo in noFoo)| 1999-09-27 06:04:54 +00:00
shaver%netscape.com 8b22629a75 Fix leak of native path in AutoRegisterComponents.
Save registry data for failed components.
Make the loader work again (fix suffix length and init crash).
Better error reporting.
1999-09-27 02:22:25 +00:00
kipp%netscape.com be6b1333d1 new 1999-09-25 20:11:47 +00:00
kipp%netscape.com 709be3f433 Init all variables, not just some of them 1999-09-25 20:07:20 +00:00
beard%netscape.com c8a74166b5 Fixed looking up 'length' property in Function objects: needed to look up prototype chain for zero arguments. Cleaned up some more, always storing Boolean.TRUE in local hash tables, rather than the method, methodKey or methodName. 1999-09-25 09:24:23 +00:00
beard%netscape.com d9a9d82316 Added ClassSignature, a key for caching generated adapter classes. Now passing superName, rather than superClass to constructor generation methods. 1999-09-25 08:11:24 +00:00
beard%netscape.com 82ff8f1cea Fixed generateSuper when override has void return type. 1999-09-25 01:37:32 +00:00
norris%netscape.com a600a94fa3 Shorten name to make Mac developers happy. 1999-09-24 21:05:41 +00:00
norris%netscape.com 9dbb033545 Patches from Kurt Westerfeld for JavaScript property access to JavaBeans.
Subject:
        Re: [Fwd: [Bug 13658] Changed - Rhino: null pointer exception on class with duplicate field/method]
   Date:
        Mon, 13 Sep 1999 20:57:32 -0400
   From:
        "Kurt Westerfeld" <kurt@westerfeld.com>
     To:
        "Norris Boyd" <norris@netscape.com>




I do have a patch for this, but it is intermixed with some other changes
that I have implemented for the get/set on Java instances (per my LC3
proposal).  The bug requires changes that are a little involved actually;
basically it seems that when getting the default value for a "field and
methods" (which combines the same-named entities), the prototype of the
parent scope is deref-ed, and the parent scope is null.  Hence, the scope
must be passed into the the cloned field and method values.

Also, the NativeJavaClass implementation passed "false" for isStatic on the
constructor of the FieldAndMethods Hashtable, which results in classes
having instance methods.  Bad.  I haven't filed a bug on that yet.
Additionally, I fixed a couple other NullPointerException nigglies thrown in
when exceptions are propagated in the same area.  Finally, when getting the
default value for the field, it is helpful to convert a Scriptable to string
when that is requested (as when typing in the console).

I am attaching the changed files.  The LC3++ code can be removed if you
want, which I can do for you but it will take a little longer.  What is your
preference?

-----Original Message-----
From: Norris Boyd <norris@netscape.com>
To: Kurt Westerfeld <kurt@westerfeld.com>
Date: Monday, September 13, 1999 4:54 PM
Subject: [Fwd: [Bug 13658] Changed - Rhino: null pointer exception on class
with duplicate field/method]


>Kurt,
>
>Is this the bug that your patch fixes?
>
>Thanks,
>Norris
>
1999-09-24 20:41:43 +00:00
norris%netscape.com 71bee08e21 Remove '.js' from SECTION. 1999-09-24 20:16:55 +00:00
norris%netscape.com e3ce18cbc8 Propagate files from old netscape code. 1999-09-24 20:05:59 +00:00
norris%netscape.com 4c9c27afaa Implement the "cast" of java class objects so that js objects in java adapters can
use 'this' for the implemented java interface.
1999-09-24 18:20:08 +00:00
beard%netscape.com 45eaa0a35f Added "generateSuper" which generates a method called "super$method()" which when called calls "super.method()." This is provided to support full sub-classing of Java classes from JavaScript. 1999-09-24 18:17:05 +00:00
beard%netscape.com 6c69fd36dc added a prototype field, so that a wrapped JavaAdapter can preserve the delegate object's original prototype chain. 1999-09-24 16:52:23 +00:00
beard%netscape.com d06b137123 setAdapterProto: now splices in wrapper's prototype, rather than replacing object's original prototype chain. seems to work fine. 1999-09-24 16:51:25 +00:00
mscott%netscape.com 0dc3695919 fix build bustage for dp. 1999-09-24 02:52:46 +00:00
dp%netscape.com c39d8df3c8 Fixing jsloader not to hold reference to component manager. (shaver)
Some initialization of members and checking at desctruction. (dp)
1999-09-24 01:37:44 +00:00
rogerl%netscape.com 8cb72034b7 New error for wacky array lengths, ECMA 3 1999-09-23 23:19:00 +00:00
cbegle%netscape.com 4074949318 update script to report an error if no tests passed. 1999-09-23 23:00:38 +00:00
cbegle%netscape.com 31047a3404 just changing the section name so it doesn't break norris's script. 1999-09-23 22:59:20 +00:00
norris%netscape.com 3d5cdd4959 Fix some Array tests in the ecma suite. 1999-09-23 20:37:56 +00:00
norris%netscape.com b48d0978c2 change FAILED color to red 1999-09-23 17:26:22 +00:00
norris%netscape.com 11308fecf0 Add test driver for rhino. 1999-09-23 17:24:14 +00:00
rogerl%netscape.com 84e2dbf549 Can't assume object in reportConversionError is scriptable, so call more
generic java.object.toString instead.
1999-09-22 22:06:14 +00:00
norris%netscape.com b21d1d574c Allow a java.lang.String to be converted to a primitive string in getDefaultValue 1999-09-22 16:30:49 +00:00
norris%netscape.com e798fcce86 Fix "wapper". 1999-09-22 16:25:21 +00:00
beard%netscape.com b4d5f900ca JavaAdapter no longer uses FlattenedObject, since the prototype is simply the LiveConnect wrapper. 1999-09-22 08:22:53 +00:00
beard%netscape.com ec3b77cdbb JavaAdapter no longer uses FlattenedObject, since the prototype is simply the LiveConnect wrapper. Simplified callMethod to only call Context.enter() if methodId property is defined in Scriptable object. 1999-09-22 08:22:47 +00:00
brendan%mozilla.org ec2936ce41 - Enable JS_HAS_NEW_OBJ_METHODS (Object.prototype.hasOwnProperty, isPrototypeOf
and propertyIsEnumerable) for JS1.5.
- Optimize obj_propertyIsEnumerable to avoid extra lookup code bloat, requiring
  fix to js_GetAttributes (unset out param on successful early retunr) that it
  exposed.
- Use more righteous else-if style in shaver's jsarray.c change.
1999-09-22 05:54:44 +00:00
shaver%netscape.com 45707b847c new Array("string") should be ["string"], not silent failure (14545, r=brendan) 1999-09-22 04:36:28 +00:00
beard%netscape.com fee310a6a7 renamed "name" parameter "adapterName", removed explicit StringBuffer in favor of "adapter" + serial++ for clarity. 1999-09-22 03:54:00 +00:00
shaver%netscape.com 1fe19c92b7 add componentType to nsIModule::RegisterSelf 1999-09-22 03:18:27 +00:00
beard%netscape.com 6aa5fe5fe6 changed createAdapterClass() to only generate methods for properties defined in the wrapped object itself, not for properties defined in prototypes. This makes sense, as the prototype for the wrapped object becomes the LiveConnect wrapper, thus prototype properties become inaccessible anyway. 1999-09-22 01:32:05 +00:00
shaver%netscape.com 46a740bd69 having evicted default.js from components/, we reclaim our *.js birthright 1999-09-21 22:10:03 +00:00
brendan%mozilla.org e70dccad55 JS_VERSION 140 lacked JS_HAS_NUMBER_FORMATS #define. 1999-09-21 21:33:38 +00:00
shaver%netscape.com eeb584ed5a turn on JS loader on Windows 1999-09-21 20:08:38 +00:00
shaver%netscape.com 4d11ade55f fixed Windows makefile goop and fixed __stdcall issue 1999-09-21 19:42:09 +00:00
rogerl%netscape.com 95fe66abc6 ECMA errors as exceptions changes - conformance to latest spec for
hierarchy and names etc. Added attempt to make the base exceptions be
instanceof equal across contexts.
1999-09-21 18:58:51 +00:00
shaver%netscape.com 81d56404d9 Errors-as-Exceptions and catchguards, because people want/need them 1999-09-21 18:48:43 +00:00
brade%netscape.com a83835cabe not currently part of the build (a=leaf); add libraries for xpcom and js so optimized will link 1999-09-21 15:55:56 +00:00
brade%netscape.com d661fc2540 First Checked In. 1999-09-21 14:55:39 +00:00
shaver%netscape.com d7f7ac9424 define some key names locally until we export them properly from xpcom 1999-09-21 14:54:39 +00:00
shaver%netscape.com 2d3e9e6f7e remove unused file and add initial windows build foo 1999-09-21 14:43:45 +00:00
shaver%netscape.com 75d7450ba4 add include of nsIModule.h -- why was this working before? 1999-09-21 14:38:50 +00:00
shaver%netscape.com be1e3bbcff fix =/== idiocy, abort if we fail to get runtime and better diagnostics 1999-09-21 14:36:40 +00:00
waterson%netscape.com fdc0f0beb3 Add some curly braces so that the rest of the world can run. 1999-09-21 04:20:17 +00:00
shaver%netscape.com ba18bf64a1 build JS component loader by default 1999-09-21 01:09:33 +00:00
shaver%netscape.com e6881e3478 fix typo before I inflict it on the world 1999-09-21 01:08:21 +00:00
brendan%mozilla.org 4ec954edb0 - Bumped default compile-time JS version from 1.4 to 1.5.
- Add JS1.5 getter/setter support in all its glory:

  * getter function SN() {return ++x} at top-level or as a closure binds an SN
    property getter than returns the incremented value of x.  Likewise for
    setter function SN(y) {return y = x}.

  * getters and setters may be defined in an object literal:
      o = {p getter:function() {return ++this.x},
           p setter:function(y){return this.x = y},
           x:42};

  * getter= and setter= operators (compound tokens) may be used to bind getter
    and setter properties dynamically:
      o = new Object;
      o.p getter= function() {return ++this.x};
      o.p setter= function(y){return this.x = y};
      o.x = 42;

    Waldemar is concerned that this form will collide semantically with JS2, so
    I am not committing to keeping it in JS1.5.  I'd like to check my code in
    ASAP so shaver can use it, and I'd also like to see this form get used (or
    not) during Mozilla betas.  Caveat emptor, and if you find this "dynamic"
    or "imperative" form necessary and hard to substitute, please let me know.
    If this proves important to users, then I think JS1.5 should keep it.

- Cleaned up property flags (in a binary-incompatible fashion -- who cares?) by
  eliminating JSPROP_ASSIGNHACK and JSPROP_TINYIDHACK.

- Added JS_DONT_PRETTY_PRINT flag to be ORed with the indent argument to the
  several JS_Decompile*() API calls.  This avoids any newlines or identation in
  the decompiled string.
 
- Improved and extended (for getter/setter non-reservation) scanner lookahead
  by using a circular (power-of-2 sized) token buffer.

- Fix ECMA Edition 3 deviation where function f(){function g(){}} bound f.g by
  mistake (it should arrange to make a closure named g in activations of f, but
  it should not bind a property of function f).
1999-09-21 00:13:48 +00:00
rogerl%netscape.com 53952765f6 (Bug #13416)
Turned off 'super' keyword - was letting through some cut'n'pasted java
code quietly and blowing big chunks out of the codegen/interpreter later.
Anybody know why 'super' had an interesting value here? - there was no
support for it on any path that I could see.
1999-09-20 22:21:24 +00:00
norris%netscape.com d66f23fafa Changes necessary to generate adapter classes to files with associated optimizer package. 1999-09-20 21:16:45 +00:00
jband%netscape.com 357467c1cc fix for bug 13426 - can now do 'new Components.classes.foo()' to create a new instance of a wrapped native 1999-09-20 20:59:38 +00:00
jband%netscape.com 7cc103b757 fix a warning and add JS stack dumper with a test. 1999-09-20 07:32:32 +00:00
jband%netscape.com c04dfdac8f - Changed the interface for getting the interface_is argnum.
- Merged the typelib types for array and array_with_length.
- Added typelib types for string_with_size and wstring_with_size
- Fixed array param conversion and cleanup - using two passes over the params where necessary.
- Added array conversions when calling wrapped JS objects.
- Added expanded array tests.
- Avoid repeated atomization of 'value' property name.
1999-09-20 02:51:16 +00:00
mccabe%netscape.com 39e5fe6519 Fix to 7610. Modify xpidl compiler to add 'const' to the method signature for generated attribute setter methods for string, wstring and nsid attributes.
As this changed the generated interface signatures, I had to change all of the uses to avoid bustage.  Any corners of the browser that aren't built by default, or that I haven't discovered how to build, may be at risk of bustage if they use string or wstring attributes.  (This could mean blackwood; sorry, guys!)

Many thanks to Alec Flett (alecf@netscape.com) for preparing diffs for the mailnews portion of the signature changes; thanks also to Ariel Backenroth (arielb@rice.edu) and Mike Shaver (shaver@mozilla.org) for help with updating the tree with NS_DECL_NSIFOO macros; everwhere where one of these macros was used was one less place I had to manually add 'const'.

Also removed extraneous space from generated method signatures, leftover from Brendan's capitalization spam, and made 'const decl must be of type short or long' an error rather than just a warning.
1999-09-19 23:46:35 +00:00
slamm%netscape.com ce1c9ef630 Fix build whine. 1999-09-18 01:15:57 +00:00
slamm%netscape.com 37fd48a824 Add braces to avoid "ambiguous else" warning. 1999-09-18 00:13:02 +00:00
slamm%netscape.com ff3f8d2d65 Fix build warning. 1999-09-18 00:10:11 +00:00
slamm%netscape.com 535ba2e06d Fix build warnings, but get it right. 1999-09-18 00:09:24 +00:00
colin%theblakes.com 635bcc17d9 Order of evaluation is undefined, hence two ++ in one statement is bad 1999-09-18 00:03:28 +00:00
slamm%netscape.com 8aaaafe723 Fix build warning. 1999-09-17 23:57:47 +00:00
brendan%mozilla.org ccbeeddbbc Fix va_arg abusages (13676, thanks to ajoshi@glue.umd.edu and Franz.Sirl@munich.netsurf.de for the patch). 1999-09-17 23:46:20 +00:00
waldemar%netscape.com 75b0ee9f80 First Checked In. 1999-09-17 19:45:20 +00:00
waldemar%netscape.com 1c84bceae2 NOT IN BUILD. Made JSRef work as a Macintosh MPW tool 1999-09-17 19:45:07 +00:00
norris%netscape.com 08c1752616 Fix comments. 1999-09-17 16:38:51 +00:00
norris%netscape.com e3ec2e1782 fix comment 1999-09-17 16:37:35 +00:00
colin%theblakes.com 20d6154559 Remove OpenVMS specific code, its no longer needed 1999-09-17 11:53:11 +00:00
norris%netscape.com 14eadb66ef Clearer example. 1999-09-17 06:12:45 +00:00
norris%netscape.com 60c5cbcb99 Tutorial examples. 1999-09-17 05:54:27 +00:00
cls%seawood.org b88eebd5e1 Undefined __P before redefining it. 1999-09-17 04:21:03 +00:00
rogerl%netscape.com de0539f848 Backed out preventing multiple var decls in for..in stmts - it impacted
all for stmts instead, duh.
1999-09-16 22:12:29 +00:00
waldemar%netscape.com 5a43c15125 Shut up Linux compiler warnings 1999-09-16 08:16:21 +00:00
waldemar%netscape.com 1d2d779bd2 Updated standalone JS shell Mac project to remove accumulated breakage. Added debug build. 1999-09-16 07:54:01 +00:00
waldemar%netscape.com 187f052d20 First Checked In. 1999-09-16 07:51:52 +00:00
waldemar%netscape.com d910e5e841 Added number formatting routines required by ECMA. Fixed several long-standing floating-point reading and writing bugs. Upgraded to latest version of David Gay's floating-point code to fix one of these bugs. Added many comments there. 1999-09-16 07:16:33 +00:00
waldemar%netscape.com d6c83ee683 Turned on 64-bit integers on Mac 1999-09-16 07:13:23 +00:00
waldemar%netscape.com 79b4c35b2f Added ECMA number formatting 1999-09-16 07:12:30 +00:00
waldemar%netscape.com 9e86e5f3ba Added ECMA number formatting error message 1999-09-16 07:12:00 +00:00
waldemar%netscape.com 0a7bf55002 Added NaN atom 1999-09-16 07:09:24 +00:00
waldemar%netscape.com 5afaee97fc Fixed Mac warnings 1999-09-16 07:08:49 +00:00
jband%netscape.com d1445daa09 fix for 13819 - missing a release 1999-09-14 22:51:04 +00:00
briano%netscape.com d383eba5ba Whoops, deleted one too many endifs. 1999-09-14 00:10:22 +00:00
briano%netscape.com 5ff10c0df2 General cleanup. 1999-09-13 23:49:27 +00:00
rogerl%netscape.com 3acd0af5e8 Added define NES40 for server-related gc fixes 1999-09-13 21:08:26 +00:00
rogerl%netscape.com 58feaf9b22 Disallowed multiple variable declaration in for (var X in...) 1999-09-13 21:07:34 +00:00
cls%seawood.org 1a2e16af42 Add -D_POSIX_SOURCE to DEFS to get rid of those useless 'index shadow' warnings. Add either -D_BSD_SOURCE or -D_XOPEN_SOURCE=500 to whichever Makefile.ins need it to accommodate for Posix' strictness. Add check for getopt.h for nsinstall.c. 1999-09-12 14:25:28 +00:00
jband%netscape.com 1cd1e7594d check resolve op for null before trying to use it 1999-09-11 05:22:42 +00:00
jband%netscape.com 105b05c5ab unfinished array support. fixes for exceptions 1999-09-11 05:21:30 +00:00
briano%netscape.com 5ad8121dce General cleanup. 1999-09-11 04:39:15 +00:00
briano%netscape.com 66ec0f1a1f Got rid of some trailing spaces. 1999-09-11 04:37:48 +00:00
norris%netscape.com aca2a22c7a Fix potential NullPointerException. 1999-09-10 18:39:04 +00:00
norris%netscape.com 34c9c62f33 Two submissions from Kurt Westerfield <kurt@westerfield.com>:
Subject:
        Embedding the shell
   Date:
        Wed, 8 Sep 1999 16:01:44 -0400
   From:
        "Kurt Westerfeld" <kurt@westerfeld.com>
     To:
        "Norris Boyd" <norris@netscape.com>




Norris, please find the attached zip file containing the (minor)
modifications to the Rhino shell module that enables the shell to be
embedded in a host application.

There are two areas of change to be concerned about:

    1. Any and all references to System.in/out/err have been modified to use
Main.in/out/err, which default to System.in/out/err.  Methods to do a setIn,
setOut, and setErr were added.   Note that in/out/err on Main were made
static public, so that the jikes compiler wouldn't complain (I had them as
static protected, but when accessed outside of the package, a warning was
issued).

    2.  The global and sharedGlobal static variables were made protected so
that my app can make use of them (to add extensions after an initial pass
through main()).

That's it.

I have successfully used the facility to drop a remote telnet server into
the shell interpreter, effectively giving our server a remote shell
interpreter.  It's quite nice, as we have a lot of extensions to Rhino
written that blend into our server already.

PS, I am still working on the array issues, but made a lot of progress
today.  I just wanted to get this stuff off my desk.

Thanks!

________________________________________________________________________
  Kurt Westerfeld
  Managed Object Solutions
  2722 Merrilee Drive
  Suite 350
  Fairfax, VA 22031
  Phone: 703.208.3330 x225
  Fax: 703.208.3331
  http://www.mosol.com
  mailto:kurt@mosol.com



   shell.zip

             Name:
                   shell.zip
             Type:
                   Zip Compressed Data (application/x-zip-compressed)
          Encoding:
                   base64


==============================================================================

Subject:
        Rhino Array Source (Fixed)
   Date:
        Thu, 9 Sep 1999 14:12:03 -0400
   From:
        "Kurt Westerfeld" <kurt@mosol.com>
     To:
        "Norris Boyd" <norris@netscape.com>




Attached is NativeJavaObject.java, which seems to now pass the tests supplied to me by you and Scott.  Not a lot of change, but a lot of
testing and thinking was involved. <g>

PS. I also fixed a bug in reportConversionError() which was throwing an IllegalArgumentException inside of the MessageFormat class at times.
It also looks a little nicer (uses formatting from NativeJavaMethod) and closer to the C implementation.




   NativeJavaObject.java

                        Name:
                              NativeJavaObject.java
                         Type:
                              Java Source File (text/java)
                     Encoding:
                              quoted-printable
1999-09-09 18:49:58 +00:00
mccabe%netscape.com bf5438329f Add parens to squelch 'suggest parentheses around arithmetic in operand of |' warning. Thanks to Morten Welinder <terra@diku.dk> for catching this. (And thanks to Waldemar for not letting me drop it.) 1999-09-08 23:35:37 +00:00
slamm%netscape.com 0edef8dc21 Fix warnings (again) by moving string.h include inside ifdef. Tested on mac, win, and linux. 1999-09-08 19:03:57 +00:00
slamm%netscape.com 9b2166e0db Mac needs string.h put it back. 1999-09-07 21:09:29 +00:00
slamm%netscape.com b0e651b44a Fix warning. 1999-09-07 21:05:56 +00:00
slamm%netscape.com ba6232c670 Fix unix build warnings 1999-09-07 20:35:19 +00:00
rogerl%netscape.com a9494accb9 Mostly just some cleaning up - especially in regexp.
Merged server specific GC changes from NES branch.
Bunch o' ECMA version 3 fixes to jsregexp.
1999-09-07 20:34:47 +00:00
shaver%netscape.com c5e6bad50e Add set/check of modification date and file size in registry.
Defer compilation and module object fetch to first factory use.
(not yet part of build, a=gramps)
1999-09-07 20:30:25 +00:00
shaver%netscape.com 0d33e34888 JSRuntime svc now controls lifetime; make nsIJSRuntimeService::runtime readonly 1999-09-07 19:44:13 +00:00
shaver%netscape.com 0722b8808f initial JS component loader work 1999-09-07 06:18:08 +00:00
toshok%hungry.com d5417ad6fa ignore Makefile and js 1999-09-07 05:03:42 +00:00
toshok%hungry.com 34172e4dec wrap calls to JSD_IsActiveScript with JSD_{Lock,Unlock}ScriptSubsystem. 1999-09-07 05:02:11 +00:00
toshok%hungry.com afe7957f30 fix up the unix build a bit -- egcs had problems with aggregate initializers, and linux whines about gets. also, include errno.h to stop errors dealing with the (questionable practice of) setting of errno to 0. 1999-09-07 05:00:56 +00:00
toshok%hungry.com 9993819d15 fix up unix build of jsdebugger. 1999-09-07 04:57:03 +00:00
toshok%hungry.com 75916cca3b lock/unlock the script subsystem around the call to jsd_DestroyAllJSDScripts 1999-09-07 04:54:41 +00:00
jband%netscape.com 5af91fa188 fix that shaver needs for wrapped JS object doing QI semantics 1999-09-07 01:48:13 +00:00
jband%netscape.com d54dc3ee4d fix bug 13217 and add someparam checking for other methods in this interface 1999-09-07 00:03:43 +00:00
brendan%mozilla.org d31330dd99 Expand tabs to spaces per Emacs modeline; other space cleanups. 1999-09-06 22:59:11 +00:00
toshok%hungry.com 3a6cc145f1 move the typedef to jsd_lock.h so the prototypes will match the actual definition. 1999-09-06 00:19:14 +00:00
cls%seawood.org 835ba7418d When cross-compiling, jscpucfg needs to grab the values from NSPR rather than calling sizeof(). 1999-09-05 20:46:57 +00:00
shaver%netscape.com 543b857d9b _finish_ adding JSRuntime service 1999-09-04 20:41:27 +00:00
shaver%netscape.com 14439cf8ec added files: mozilla/js/src/xpconnect/src/xpcruntimesvc.cpp 1999-09-04 20:09:55 +00:00
beard%netscape.com 54ddade8fd added files: mozilla/js/src/xpconnect/idl/nsIJSRuntimeService.idl 1999-09-04 19:58:30 +00:00
shaver%netscape.com 9fa20fc3ef JSRuntime management service 1999-09-04 19:57:49 +00:00
shaver%netscape.com 5661180216 add JSRuntime-access service 1999-09-04 19:25:15 +00:00
briano%netscape.com 8268365e89 Fix for the QNX 4.24 tinderbox breakage. 1999-09-04 03:25:02 +00:00
cls%seawood.org a72a8e9c3f Ack! Do not redefine jscpucfg target for OpenVMS arch. Only add HOST_NSPR_MDCPUCFG to build if it is defined 1999-09-03 05:35:26 +00:00
jband%netscape.com cd94757f54 renaming the field called 'code' to 'result' in nsIXPCException so that we don't conflict with DOM exception's use of the name 'code'. We want these types of exceptions to be compatible and the DOM exception ought to have a 'code' field that is as required by the DOM spec and also a 'result' field that is the nsresult. This avoids the naming conflict. 1999-09-03 02:32:21 +00:00
norris%netscape.com 5e46da0224 Long not supported here. Fix up comments so that is clear. 1999-09-02 16:48:20 +00:00
cls%seawood.org 3885dc436e Build jscpucfg using HOST_CC for cross-compiler builds. If cross-compiling, it needs the changes from the autoconf'd nspr tree to support using a different mdcpucfg.h 1999-09-02 05:27:14 +00:00
jband%netscape.com ea5d8af86f fix for bug 13001 - gotta let DefaultValue do its thing 1999-09-02 05:07:36 +00:00
jband%netscape.com e3e4cfa56d Added Components.returnCode so that JS components can control the nsresult that xpconnect will return on their behalf without having to throw the number. Also better mapping of this code to Components.lastResult so that JS components calling JS components will work right with no special treatment 1999-09-02 00:19:42 +00:00
jband%netscape.com 8531322d89 fix for bug 12954 - was failing to set rval on DeleteProperty call 1999-09-02 00:16:09 +00:00
jband%netscape.com 22517bf5ff priming the JSContext stack in the test program 1999-09-02 00:11:54 +00:00
jband%netscape.com 21b3b50d7f modernizing the undefined test in println 1999-09-02 00:11:16 +00:00
jband%netscape.com 4bdef0ce93 removing unused var 1999-09-02 00:08:53 +00:00
briano%netscape.com 55c40828fa Cleaned it up and eliminated the pointless #!gmake. 1999-09-02 00:06:06 +00:00
fur%netscape.com 57e72d2b3a Added capability to pass JS arrays as arguments to Java methods. 1999-09-01 14:37:21 +00:00
jband%netscape.com 94c6f13d23 removing commented out code 1999-09-01 09:37:20 +00:00
mcafee%netscape.com 010a1832ab Fixing comment warning on Linux. 1999-09-01 08:12:24 +00:00
cyeh%netscape.com cc2825cbe0 Remove IGNORE_MANIFEST=1. It doesn't do anything and it confuses people. 1999-09-01 00:54:34 +00:00
rogerl%netscape.com 39b97d5d00 Fixed bug : 8672, using prototype from closure instead of function
Fixed memory leak- object acquired by 'in' operator was not being released.
1999-08-30 22:17:55 +00:00
rogerl%netscape.com 2c76a7b45a Changed handling of undefined limit and negative limit values to
String.split()
1999-08-30 22:05:56 +00:00