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

1684 Коммитов

Автор SHA1 Сообщение Дата
rogerl%netscape.com d6177ed1aa r=Norris
License updating, bug#15529, continuing.
2000-02-04 00:08:13 +00:00
waldemar%netscape.com 58d5f8fec3 VC6 project and workspace 2000-02-03 08:27:00 +00:00
waldemar%netscape.com 5acd2ebc45 Updated for VC6 2000-02-03 08:25:01 +00:00
jband%netscape.com 610d83d7b1 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 71150b6069 Uncompressed version (so it can be in your classpath on all platforms.) 2000-02-03 00:48:50 +00:00
rogerl%netscape.com 8320a45b74 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 03db56724d Renamed JavaObjectToLong-005.js to JavaObjectToLong-005-n.js 2000-02-02 20:21:34 +00:00
waldemar%netscape.com 0a7d68a759 Turned off optimizations and inlining in debug build 2000-02-02 08:51:16 +00:00
waldemar%netscape.com 0c26dbf247 Changed to match parser.h 2000-02-02 08:50:54 +00:00
waldemar%netscape.com c1d408f4ee Added ArrayAutoPtr and reworked cstring -> String conversions 2000-02-02 08:50:26 +00:00
waldemar%netscape.com 8ed7282c18 Added parsing of numerals and token printing 2000-02-02 08:48:40 +00:00
waldemar%netscape.com 1216266a7a Cleaned up and added String routines 2000-02-02 08:47:54 +00:00
waldemar%netscape.com 666c772717 Added lexer call 2000-02-02 08:47:03 +00:00
waldemar%netscape.com 969ef01100 Fixed bug 2000-02-02 08:46:36 +00:00
mccabe%netscape.com 79ebcf1cfb 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 1d924eef6a 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 131271ae68 Fix bug #25864 watch() vulnerability
r=vidur,rogerl
2000-02-02 00:22:58 +00:00
rginda%netscape.com a1985df10f initial add 2000-02-02 00:22:23 +00:00
rginda%netscape.com 14d480a8f6 fresh build 2000-02-02 00:18:57 +00:00
rginda%netscape.com 2f5c2fe68d initial add of compiled testdriver 2000-02-01 22:48:52 +00:00
jband%netscape.com ba8be566fd trivial block scope loop counter variable rename to squelch shadow warning.r=jband 2000-02-01 10:53:34 +00:00
mccabe%netscape.com 94158a3912 Warning fixes. (Found one semantic problem in nsCLiveconnect.cpp)
r=mozbot
2000-02-01 09:12:58 +00:00
jband%netscape.com 321d0f8624 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 669ded1e87 added files: mozilla/js/src/xpconnect/src/xpcdebug.cpp 2000-02-01 08:48:00 +00:00
norris%netscape.com e19ea68179 Fix use of unsupported typedef.
r=Jerry.Kirk@Nexwarecorp.com
2000-01-31 23:10:12 +00:00
norris%netscape.com 80ced8d288 Remove unused private method. 2000-01-31 18:49:07 +00:00
waldemar%netscape.com 8fa12341dc Added numerics.cpp 2000-01-29 08:25:59 +00:00
waldemar%netscape.com 641ea32367 Fixed NOT_REACHED 2000-01-29 08:25:36 +00:00
waldemar%netscape.com 17fc0df39c Added NATIVE_INT64 flag 2000-01-29 08:25:02 +00:00
waldemar%netscape.com adb46bea1e First Checked In. 2000-01-29 08:24:40 +00:00
jband%netscape.com f150a0dd3f trivial rename of local var in test to fix shadow warning 2000-01-29 04:53:22 +00:00
jband%netscape.com 736252f45f 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 21c16707a0 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 b49fb2bee4 Propagate changes from Rhino150R1_BRANCH. 2000-01-27 17:35:29 +00:00
norris%netscape.com a6d3fa9849 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 89900282d1 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 173fccf04d Changing file to be conformance rather than negative test. 2000-01-27 00:58:41 +00:00
rginda%netscape.com e704417b3b 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 3da493b0ce changes to build on Mac OS X, r=mccabe 2000-01-26 22:48:49 +00:00
mccabe%netscape.com 7539c81efb 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 d5e806f28c configuration file for Mac OS X. 2000-01-26 22:27:29 +00:00
rogerl%netscape.com f3a0bbab33 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 e32e0ceabf Propagate changes from 1.5 branch. 2000-01-26 18:57:00 +00:00
jband%netscape.com 0602b121c6 trivial fixes to get rid of warnings 2000-01-26 11:08:24 +00:00
jband%netscape.com bf596d809e 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 dd523ffff2 !! Not part of the build !!
Fixed some typo's
2000-01-26 01:29:51 +00:00
waldemar%netscape.com 394af73e7e Rearranged link order 2000-01-25 23:00:19 +00:00
waldemar%netscape.com d87689d24c Added constructor 2000-01-25 22:59:28 +00:00
waldemar%netscape.com 7b0872efb8 Added char16 and uchar16 2000-01-25 22:58:55 +00:00
waldemar%netscape.com cf7f6d77da Added string, character, and exception utilities 2000-01-25 22:58:34 +00:00