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

1628 Коммитов

Автор SHA1 Сообщение Дата
beard%netscape.com 8d01d34630 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 7e8572925e fix case for anonymous functions. 2000-01-22 03:28:04 +00:00
michael.lowe%bigfoot.com 6696fa133b 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 7092bd508b Fix ecma_3/ExecutionContexts/10.1.3.js
r=rogerl
2000-01-20 20:59:56 +00:00
rginda%netscape.com ca34cb6063 Fixed testcase 2000-01-20 20:35:39 +00:00
rginda%netscape.com 046175c547 Remove 'use 5.004;', only seems to work on linux 2000-01-20 01:21:05 +00:00
rogerl%netscape.com be8d0da3f8 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 3d19609d66 Bug #23609 - optimization in IRFactory for post-increment was incomplete. 2000-01-19 19:32:45 +00:00
norris%netscape.com a2be2fadf4 Fix icode printing for call opcodes. 2000-01-19 18:38:42 +00:00
brendan%mozilla.org 7c28e82665 Long-awaited fix courtesy rogerl's keen analysis (19165, r=rogerl@netscape.com). 2000-01-19 03:53:07 +00:00
briano%netscape.com 72a5d1b833 Some platforms object to using JS_ASSERT without including jsutil.h. 2000-01-19 03:00:04 +00:00
rginda%netscape.com a1c3ef28cc Initial add. 2000-01-19 01:46:25 +00:00
rginda%netscape.com 07cf48ba94 Added regexp to test 2000-01-19 01:36:54 +00:00
rginda%netscape.com c8d963236f Initial Add 2000-01-19 01:19:16 +00:00
rginda%netscape.com 7065c08bf5 Initial add 2000-01-19 00:51:21 +00:00
rginda%netscape.com e5ee075f82 corrected testcase 2000-01-19 00:47:24 +00:00
rginda%netscape.com 822f287fa2 initial add 2000-01-19 00:34:03 +00:00
rginda%netscape.com 390ff86017 Initial add 2000-01-19 00:16:20 +00:00
rginda%netscape.com f7173e7ca4 initial add 2000-01-19 00:08:55 +00:00
shaver%netscape.com 46093e61f0 reminder comment, r=brendan 2000-01-18 22:38:56 +00:00
shaver%netscape.com 9c6a941a7c add JS_CompileFileHandleForPrincipals, (r=rginda) 2000-01-18 22:04:01 +00:00
brendan%mozilla.org db78bfb8b1 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 485633e020 revised incorrect testcase 2000-01-14 22:23:08 +00:00
jband%netscape.com a454a404b6 - 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 a52dbe085e Initial checkin of tostring test 2000-01-13 00:31:09 +00:00
rginda%netscape.com b5c9bc3965 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 698852a4f4 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 585909dcd3 Added unicode character category functions 2000-01-11 05:55:58 +00:00
cls%seawood.org 4f34e05855 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 83bd9a3b0e initial check-in. 2000-01-11 01:46:27 +00:00
jdunn%netscape.com cb0c532e85 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 d331d3a864 First Checked In. 2000-01-10 21:22:43 +00:00
waterson%netscape.com 04af7c0f43 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 67c2a2fa08 s/local/my for strict mode.
y2k fix for results file name.
2000-01-07 21:39:36 +00:00
jdunn%netscape.com 9253e8c89b 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 cc0b7c4372 change the module string name. not part of build 2000-01-07 02:25:47 +00:00
jband%netscape.com 9378e6155a use generic module stuff. My part to fix bug 22922. r=dp 2000-01-07 02:24:39 +00:00
jband%netscape.com 737c9a85e0 add support for Components.Constructor to build constructors for xpcom objects from JS. r=mccabe 2000-01-07 02:21:14 +00:00
jband%netscape.com 34510f50fe fix leak of argument formatters upon JSContext destruction. bug 22802. r=rogerl 2000-01-07 02:19:44 +00:00
rogerl%netscape.com bb5e5df58f Fixed accidental trailing semi at end of if statement. Many thanks to
everyone who participated in this test of the warning detection system.
2000-01-07 00:15:11 +00:00
norris%netscape.com b684dbee7f Test didn't work with the Rhino feature of reflecting bean properties as JavaScript propertes: getClass() becomes
a "class" property, and eval'ing a property name of "class" causes a syntax error.
2000-01-06 22:54:15 +00:00
norris%netscape.com 913e66ba3c Propagate fix from branch. 2000-01-06 16:28:43 +00:00
edburns%acm.org 13be6d7ebf I know it's unorthodox to do a top level checkin like this, but I've got so many files
in so many different directories, that I think it's the best way.
I've pulled and clobber_all'd my tree and got

r=dp

on this checkin.

Here are the touched files:

M mozilla/embedding/browser/activex/src/control/MozillaBrowser.cpp
M mozilla/embedding/browser/activex/src/control/MozillaBrowser.h
M mozilla/js/src/xpconnect/shell/xpcshell.cpp
M mozilla/netwerk/protocol/res/src/nsResProtocolHandler.cpp
M mozilla/xpcom/build/nsXPComInit.cpp
M mozilla/xpcom/components/nsComponentManager.cpp
M mozilla/xpcom/components/nsIServiceManager.h
M mozilla/xpcom/components/nsServiceManager.cpp
M mozilla/xpcom/io/nsSpecialSystemDirectory.cpp
M mozilla/xpcom/io/nsSpecialSystemDirectory.h
M mozilla/xpcom/tests/TestBuffers.cpp
M mozilla/xpcom/tests/TestPipes.cpp
M mozilla/xpcom/tests/TestShutdown.cpp
M mozilla/xpcom/tests/windows/TestHelloXPLoop.cpp
M mozilla/xpcom/tools/registry/regExport.cpp
M mozilla/xpcom/tools/registry/regxpcom.cpp
M mozilla/xpinstall/stub/xpistub.cpp
M mozilla/webshell/embed/ActiveX/MozillaBrowser.cpp
M mozilla/webshell/embed/ActiveX/MozillaBrowser.h
M mozilla/webshell/tests/viewer/nsMacMain.cpp
M mozilla/webshell/tests/viewer/nsPhMain.cpp
M mozilla/webshell/tests/viewer/nsWinMain.cpp
M mozilla/webshell/tests/viewer/unix/gtk/nsGtkMain.cpp
M mozilla/xpfe/appshell/src/nsFileLocations.cpp
M mozilla/xpfe/bootstrap/nsAppRunner.cpp

The heart of this checkin is a change in the signature and symantics
of NS_InitXPCOM.

The new signature is

extern NS_COM nsresult
NS_InitXPCOM(nsIServiceManager* *result, nsFileSpec* binDirectory);

I filed a bug for this problem:

b=23157

The original manifestation of this bug was in mozilla/netwerk/protocol/res/src/nsResProtocolHandler.cpp It used the current process directory to find resources, which is not correct when the current process is not mozilla.exe.

I have added a new type to nsSpecialSystemDirectory, Moz_BinDirectory, and made nsResProtocolHandler use that value.
2000-01-06 01:05:13 +00:00
jdunn%netscape.com 4d0333a085 |T| requires an accessible default constructor (on some old compilers)
This is the same as mozilla/netwerk/cache/mgr/nsCachedNetData.h
(also declared nsIXPCWrappedNativeScope to be public since by default it is private

r= scc@netscape.com
2000-01-06 00:59:07 +00:00
jband%netscape.com 5a0b3e6330 adding new files. not part of build 2000-01-03 22:34:01 +00:00
blizzard%redhat.com d6cf22aa5c Change nsComponentManager::ProgIDToCLSID to nsComponentManager::ProgIDToClassID as per bug #3579. Checking in for sford. r=scc,r=blizzard 1999-12-30 22:03:58 +00:00
rogerl%netscape.com 329f23093b Need to update the value of newly created closure. 1999-12-24 00:49:44 +00:00
rogerl%netscape.com 0b84cb0f44 Clean-up message text 1999-12-23 00:16:07 +00:00
rogerl%netscape.com 67f8689368 Fixed copyright dates and added lincense boilerplate. 1999-12-22 22:03:59 +00:00
rogerl%netscape.com 1bdf87b315 Changed comment format to C-style. 1999-12-22 22:02:16 +00:00