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

1641 Коммитов

Автор SHA1 Сообщение Дата
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
rginda%netscape.com 2b3633bac7 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 13efd9e8c6 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 d0ae5adcc3 Added unicode character category functions 2000-01-11 05:55:58 +00:00
cls%seawood.org 9f3b874745 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 c7b3eb0e20 initial check-in. 2000-01-11 01:46:27 +00:00
jdunn%netscape.com 157f231d1d 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 0f267bc1c5 First Checked In. 2000-01-10 21:22:43 +00:00
waterson%netscape.com 3b6393572f 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 bd542dfc84 s/local/my for strict mode.
y2k fix for results file name.
2000-01-07 21:39:36 +00:00
jdunn%netscape.com 1dbef33576 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 f986aba1d9 change the module string name. not part of build 2000-01-07 02:25:47 +00:00
jband%netscape.com c0ebf00c8d use generic module stuff. My part to fix bug 22922. r=dp 2000-01-07 02:24:39 +00:00