1849 Commits

Author SHA1 Message Date
rogerl%netscape.com
8fca7d6b86 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.


git-svn-id: svn://10.0.0.236/trunk@58266 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-19 22:50:27 +00:00
rogerl%netscape.com
71147656fd Bug #23609 - optimization in IRFactory for post-increment was incomplete.
git-svn-id: svn://10.0.0.236/trunk@58254 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-19 19:32:45 +00:00
norris%netscape.com
a93e26d45a Fix icode printing for call opcodes.
git-svn-id: svn://10.0.0.236/trunk@58245 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-19 18:38:42 +00:00
brendan%mozilla.org
ed47451d79 Long-awaited fix courtesy rogerl's keen analysis (19165, r=rogerl@netscape.com).
git-svn-id: svn://10.0.0.236/trunk@58217 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-19 03:53:07 +00:00
briano%netscape.com
6ffbed72ef Some platforms object to using JS_ASSERT without including jsutil.h.
git-svn-id: svn://10.0.0.236/trunk@58210 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-19 03:00:04 +00:00
rginda%netscape.com
ef06e19181 Initial add.
git-svn-id: svn://10.0.0.236/trunk@58201 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-19 01:46:25 +00:00
rginda%netscape.com
c395c3dd51 Added regexp to test
git-svn-id: svn://10.0.0.236/trunk@58196 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-19 01:36:54 +00:00
rginda%netscape.com
db275e7db2 Initial Add
git-svn-id: svn://10.0.0.236/trunk@58189 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-19 01:19:16 +00:00
rginda%netscape.com
097c4d4ff1 Initial add
git-svn-id: svn://10.0.0.236/trunk@58184 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-19 00:51:21 +00:00
rginda%netscape.com
1b3014298d corrected testcase
git-svn-id: svn://10.0.0.236/trunk@58183 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-19 00:47:24 +00:00
rginda%netscape.com
3679d67366 initial add
git-svn-id: svn://10.0.0.236/trunk@58180 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-19 00:34:03 +00:00
rginda%netscape.com
fbd3dd0b0f Initial add
git-svn-id: svn://10.0.0.236/trunk@58173 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-19 00:16:20 +00:00
rginda%netscape.com
c30967ba8d initial add
git-svn-id: svn://10.0.0.236/trunk@58166 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-19 00:08:55 +00:00
shaver%netscape.com
3195f05f4b reminder comment, r=brendan
git-svn-id: svn://10.0.0.236/trunk@58137 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-18 22:38:56 +00:00
shaver%netscape.com
73c394bee1 add JS_CompileFileHandleForPrincipals, (r=rginda)
git-svn-id: svn://10.0.0.236/trunk@58131 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-18 22:04:01 +00:00
brendan%mozilla.org
b7a83ca82c JS1.5 fixes (17290, 21618, plus shaver's 22243 fix, r=shaver@mozilla.org).
git-svn-id: svn://10.0.0.236/trunk@58086 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-18 11:06:05 +00:00
rginda%netscape.com
e8658a431e revised incorrect testcase
git-svn-id: svn://10.0.0.236/trunk@57843 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-14 22:23:08 +00:00
jband%netscape.com
3eabf2f97c - 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


git-svn-id: svn://10.0.0.236/trunk@57801 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-14 08:26:34 +00:00
rginda%netscape.com
9df9cac72f Initial checkin of tostring test
git-svn-id: svn://10.0.0.236/trunk@57596 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-13 00:31:09 +00:00
rginda%netscape.com
90b60e7a0a First round of Mac related changes.
It runs now, but test list files and single test files on the command line are still broken.


git-svn-id: svn://10.0.0.236/trunk@57577 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-12 22:02:23 +00:00
pp%ludusdesign.com
b5787cf895 Converting usage of ::GetIID() to NS_GET_IID().
Bug #20232, r=scc@netscape.com


git-svn-id: svn://10.0.0.236/trunk@57423 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 20:49:15 +00:00
waldemar%netscape.com
3776d04d81 Added unicode character category functions
git-svn-id: svn://10.0.0.236/trunk@57363 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 05:55:58 +00:00
cls%seawood.org
c94cbe27ba 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.


git-svn-id: svn://10.0.0.236/trunk@57356 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 05:13:01 +00:00
beard%netscape.com
3b07d7bf42 initial check-in.
git-svn-id: svn://10.0.0.236/trunk@57330 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 01:46:27 +00:00
jdunn%netscape.com
9b6c271893 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


git-svn-id: svn://10.0.0.236/trunk@57329 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 01:45:34 +00:00
waldemar%netscape.com
3dfc1a09f0 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@57289 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-10 21:22:43 +00:00
waterson%netscape.com
0ee015b217 Bug 23320. Per Franz.Sirl-kernel@lauterbach.com's suggestion, fix passing of va_list for platforms that typedef to an array. r=brendan
git-svn-id: svn://10.0.0.236/trunk@57132 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-08 00:32:25 +00:00
rginda%netscape.com
9ed863d928 s/local/my for strict mode.
y2k fix for results file name.


git-svn-id: svn://10.0.0.236/trunk@57117 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-07 21:39:36 +00:00
jdunn%netscape.com
bf0e3bfbb9 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


git-svn-id: svn://10.0.0.236/trunk@57067 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-07 02:46:06 +00:00
jband%netscape.com
0beb6b3dac change the module string name. not part of build
git-svn-id: svn://10.0.0.236/trunk@57065 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-07 02:25:47 +00:00
jband%netscape.com
9d3af84d17 use generic module stuff. My part to fix bug 22922. r=dp
git-svn-id: svn://10.0.0.236/trunk@57064 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-07 02:24:39 +00:00
jband%netscape.com
e96f112421 add support for Components.Constructor to build constructors for xpcom objects from JS. r=mccabe
git-svn-id: svn://10.0.0.236/trunk@57063 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-07 02:21:14 +00:00
jband%netscape.com
6fc6ad96a7 fix leak of argument formatters upon JSContext destruction. bug 22802. r=rogerl
git-svn-id: svn://10.0.0.236/trunk@57062 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-07 02:19:44 +00:00
rogerl%netscape.com
b1166ecf84 Fixed accidental trailing semi at end of if statement. Many thanks to
everyone who participated in this test of the warning detection system.


git-svn-id: svn://10.0.0.236/trunk@57042 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-07 00:15:11 +00:00
norris%netscape.com
e910eaed02 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.


git-svn-id: svn://10.0.0.236/trunk@57026 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-06 22:54:15 +00:00
norris%netscape.com
534d2c2a74 Propagate fix from branch.
git-svn-id: svn://10.0.0.236/trunk@56963 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-06 16:28:43 +00:00
edburns%acm.org
1af32fc433 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.


git-svn-id: svn://10.0.0.236/trunk@56916 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-06 01:05:13 +00:00
jdunn%netscape.com
5c2abae28f |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


git-svn-id: svn://10.0.0.236/trunk@56913 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-06 00:59:07 +00:00
jband%netscape.com
5f54cc2abf adding new files. not part of build
git-svn-id: svn://10.0.0.236/trunk@56662 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-03 22:34:01 +00:00
blizzard%redhat.com
1f1ce365e8 Change nsComponentManager::ProgIDToCLSID to nsComponentManager::ProgIDToClassID as per bug #3579. Checking in for sford. r=scc,r=blizzard
git-svn-id: svn://10.0.0.236/trunk@56630 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-30 22:03:58 +00:00
rogerl%netscape.com
ac48548844 Need to update the value of newly created closure.
git-svn-id: svn://10.0.0.236/trunk@56520 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-24 00:49:44 +00:00
rogerl%netscape.com
d6c7017a52 Clean-up message text
git-svn-id: svn://10.0.0.236/trunk@56464 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-23 00:16:07 +00:00
rogerl%netscape.com
e3feb3e20d Fixed copyright dates and added lincense boilerplate.
git-svn-id: svn://10.0.0.236/trunk@56429 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 22:03:59 +00:00
rogerl%netscape.com
71f0399576 Changed comment format to C-style.
git-svn-id: svn://10.0.0.236/trunk@56427 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 22:02:16 +00:00
rogerl%netscape.com
2db1cd9984 r=brendan
Bug #20444, delete of non-reference


git-svn-id: svn://10.0.0.236/trunk@56426 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 22:01:19 +00:00
rogerl%netscape.com
2a08ef02a3 r=brendan
Bug #21836, apply didn't check for non-object argument.


git-svn-id: svn://10.0.0.236/trunk@56425 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 22:00:07 +00:00
rogerl%netscape.com
992a41ca10 r=brendan
Bug #21799, uncaught throw of null crash.


git-svn-id: svn://10.0.0.236/trunk@56424 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 21:58:53 +00:00
rogerl%netscape.com
4026653f80 r=norris
Bug #20547 & 20549 - ECMA3 compatible handling of String.replace and fixes
to $ handling.


git-svn-id: svn://10.0.0.236/trunk@56423 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 21:57:10 +00:00
cls%seawood.org
f446188835 Partial fix for bug 20254. Allow flags passed to CFLAGS during configure be used for both compiling & linking. CFLAGS as we know it becomes COMPILE_CFLAGS so that platforms that cannot link using DSO flags (qnx) can still build. The new CFLAGS will not have DSO flags and will be used primarily for linking.
Remove OPTIMIZER & XP_DEFINE from config.mk


git-svn-id: svn://10.0.0.236/trunk@56347 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 03:40:16 +00:00
mccabe%netscape.com
4083308200 #ifdefs to build the JavaScript engine under metrowerks on windows machines.
Fixes courtesy Chris Dillman <chrisd@plaidworld.com>.

r=mccabe
a=sdagley


git-svn-id: svn://10.0.0.236/trunk@56316 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 00:03:50 +00:00