Commit Graph

1687 Commits

Author SHA1 Message Date
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