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

1653 Коммитов

Автор SHA1 Сообщение Дата
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
waldemar%netscape.com 88225dd675 Continuing to implement 2000-01-25 22:57:32 +00:00
waldemar%netscape.com 8a8608577e Switched to using appendChars 2000-01-25 22:56:48 +00:00
waldemar%netscape.com d71843357c Fixed syntax error 2000-01-25 22:56:14 +00:00
rogerl%netscape.com ac6e43d6fa !! 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 8e465ccd38 Track js_Invoke API change (24668, r=jband@netscape.com). 2000-01-25 04:00:45 +00:00
dougt%netscape.com fd69a2f423 Landing nsIFile. 2000-01-24 21:28:28 +00:00
beard%netscape.com ffb65b9c0b 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 8210812d99 fix case for anonymous functions. 2000-01-22 03:28:04 +00:00
michael.lowe%bigfoot.com 3326c2959e 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 ef65d489ce Fix ecma_3/ExecutionContexts/10.1.3.js
r=rogerl
2000-01-20 20:59:56 +00:00
rginda%netscape.com f0d6c7a825 Fixed testcase 2000-01-20 20:35:39 +00:00
rginda%netscape.com 74bd78d3e7 Remove 'use 5.004;', only seems to work on linux 2000-01-20 01:21:05 +00:00
rogerl%netscape.com 7253eff213 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 03f7fd3c7a Bug #23609 - optimization in IRFactory for post-increment was incomplete. 2000-01-19 19:32:45 +00:00
norris%netscape.com 45e50c92ec Fix icode printing for call opcodes. 2000-01-19 18:38:42 +00:00
brendan%mozilla.org 29407e7811 Long-awaited fix courtesy rogerl's keen analysis (19165, r=rogerl@netscape.com). 2000-01-19 03:53:07 +00:00
briano%netscape.com e59cc23b7a Some platforms object to using JS_ASSERT without including jsutil.h. 2000-01-19 03:00:04 +00:00
rginda%netscape.com 9d15dd5398 Initial add. 2000-01-19 01:46:25 +00:00
rginda%netscape.com 60536f2579 Added regexp to test 2000-01-19 01:36:54 +00:00
rginda%netscape.com ed03eb79bc Initial Add 2000-01-19 01:19:16 +00:00
rginda%netscape.com 736dbc069e Initial add 2000-01-19 00:51:21 +00:00
rginda%netscape.com 99c40099b9 corrected testcase 2000-01-19 00:47:24 +00:00
rginda%netscape.com 4278d5e809 initial add 2000-01-19 00:34:03 +00:00
rginda%netscape.com 3c669da0f2 Initial add 2000-01-19 00:16:20 +00:00
rginda%netscape.com 782a39ee6a initial add 2000-01-19 00:08:55 +00:00
shaver%netscape.com f5b56c6147 reminder comment, r=brendan 2000-01-18 22:38:56 +00:00
shaver%netscape.com ae2a2a6c9a add JS_CompileFileHandleForPrincipals, (r=rginda) 2000-01-18 22:04:01 +00:00
brendan%mozilla.org aa5a0aa2f8 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 8371c2ed5e revised incorrect testcase 2000-01-14 22:23:08 +00:00
jband%netscape.com 3812f5b25a - 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 da53f7cf33 Initial checkin of tostring test 2000-01-13 00:31:09 +00:00