Commit Graph

4780 Commits

Author SHA1 Message Date
pschwartau%netscape.com
021c3fa7a6 Initial add. Regression test for bug 191276. 2003-01-30 19:10:35 +00:00
locka%iol.ie
1023aaea93 Fix ClassIsListed which returns wrong value when registry key is missing. b=191131 r=dbradley@netscape.com sr=darin@netscape.com a=asa@mozilla.org 2003-01-30 13:22:01 +00:00
pschwartau%netscape.com
5a1321d1da We've decided to follow Perl, rather than ECMA, and allow unescaped braces in regexp patterns, evan if they are not part of a quantifier. See bug 190685. 2003-01-30 02:25:51 +00:00
darin%netscape.com
8632233c45 final patch for bug 190326 "crash in nsJARChannel.cpp when launching calendar"
r=dougt sr=alecf a=asa
2003-01-29 06:47:55 +00:00
pschwartau%netscape.com
3448608123 Adding a missing escape to the regexp pattern to make it ECMA-correct. 2003-01-28 01:14:15 +00:00
rogerl%netscape.com
62d53e10d0 Fixing bug #190685, re-allowing '{' as un-quantifier literal. 2003-01-27 21:13:15 +00:00
igor%mir2.org
314a1c1c1f Added log for more fixed bugs 2003-01-27 20:04:13 +00:00
igor%mir2.org
615d6d6623 Do not call setSelectedIndex on frame JList if there are no frames. 2003-01-26 18:33:30 +00:00
igor%mir2.org
ae4b000c3f Added documentation strings for runCommnad and spawn is changed to pass empty argument array instead of null if function arguments are not specified to avoid a null pointer exception in InterpretedFunction.call 2003-01-26 18:28:26 +00:00
igor%mir2.org
7129e5491a Documentation about runCommand in shell 2003-01-26 18:01:43 +00:00
igor%mir2.org
7b5c64a220 Added runCommand to execute external processes 2003-01-26 15:43:50 +00:00
igor%mir2.org
47d2d76ac2 Added list of resolved Bugzilla reports 2003-01-26 14:30:47 +00:00
pschwartau%netscape.com
af6689a84a Commenting out sections containing (?< or (?(condition). Perl supports these operators, but ECMAScript does not. 2003-01-23 20:56:08 +00:00
pschwartau%netscape.com
600b47262e Trivial comment fix. 2003-01-23 20:22:19 +00:00
pschwartau%netscape.com
bf4b23fd55 Removing an erroneous section. According to the spec, can't have more than 2 consecutive |?| quantifers in a regexp. 2003-01-23 20:08:39 +00:00
pschwartau%netscape.com
b943be23ed Whitespace cleanup. 2003-01-23 20:03:12 +00:00
rogerl%netscape.com
517e75d112 Fixed bug #189898, replace not working with string argument. Also added
error checking for bad quantifiers (see bug 188206)
2003-01-22 18:55:41 +00:00
rginda%netscape.com
045999da85 - venkman only -
bug 189563, initialize hookresult to prevent warnings
2003-01-22 05:42:35 +00:00
pschwartau%netscape.com
eaccbeb610 Initial add. Regression test inspired by bug 188206. 2003-01-22 02:34:45 +00:00
pschwartau%netscape.com
37c6a110c6 Initial add. Regression test for bug 189898. 2003-01-21 21:23:20 +00:00
igor%mir2.org
3b9a6fe0ef Patch from Christopher Oliver to fix http://bugzilla.mozilla.org/show_bug.cgi?id=189183 2003-01-20 15:09:45 +00:00
igor%mir2.org
03a23cff39 Small fixes in links 2003-01-17 16:40:45 +00:00
brendan%mozilla.org
b8d97d8b8c Defend against bad EndMuxedDocument calls, and assert in the underlying {JS,PL}_DHashTableRawRemove that entry is live (188744, r=jrgm, sr=ben). 2003-01-17 10:01:50 +00:00
nboyd%atg.com
72250520e9 UPdate to rc 3 2003-01-16 20:29:43 +00:00
igor%mir2.org
44acf1e60b Note about scripting of classes from any class loader 2003-01-16 17:22:40 +00:00
nboyd%atg.com
e6bc4eccae Add implmentation version date. 2003-01-16 14:24:03 +00:00
dougt%netscape.com
6508e0713e move nsTraceMalloc out of XPCOM. Factory out stackwalking code into new files. 189221 r=chak, 186585 r=blythe sr=dbaron. Most of this patch was contributed by seawood. 2003-01-15 20:40:06 +00:00
igor%mir2.org
d8492658bb Committing patch from Steven Beal:
Have you considered adding a "Go" method to Main.java with
public visibility (same behavior as pressing the "Go" button in the debugger UI).

This would be a big help in a system where the debugger has been
embedded.  Being able to close the debugger and ensure that any
breakpoints were removed and any blocked threads notified would
be a nice feature.  Without this, closing the debugger can either
a) halt the application or b) destroy the debugger leaving blocked
threads in a permanent wait state.  Note that the debugger is
not actually destroyed in this case because the waiting threads
prevent it from being wholly GCed.
2003-01-15 10:42:56 +00:00
nboyd%atg.com
7418e4b7de Update to R4. 2003-01-14 16:42:16 +00:00
igor%mir2.org
71741a82b8 Fixing mnemonics shortcuts for Debug menu 2003-01-14 14:44:46 +00:00
igor%mir2.org
b9e26a25cb From Steaven Beal:
This looks like a simple case of using the Hashtable key
instead of the value...

    public void clearAllBreakpoints() {
        // Igor - Use of keys() is inappropriate here.  It produces
        // a ClassCastException on the assignment below.  The
        // keys are String instances, not SourceInfo instances...
        //
        //Enumeration e = sourceNames.keys();
        Enumeration e = sourceNames.elements();
	...
    }
2003-01-14 11:24:47 +00:00
dbaron%dbaron.org
88c249d811 Most of the changes needed for Mozilla to build with gcc's -pedantic-errors option. b=175423 r=seawood sr=bryner 2003-01-13 23:15:42 +00:00
pschwartau%netscape.com
e4c62ce9fd Updating JS_GetImplementationVersion() to date of latest JS release (67111). 2003-01-11 02:05:00 +00:00
pschwartau%netscape.com
341e636b84 Removing skip since bug 83051 has been fixed. 2003-01-09 03:13:12 +00:00
pschwartau%netscape.com
de3afd2b83 Improving comment. 2003-01-08 23:03:17 +00:00
pschwartau%netscape.com
b78063ef86 Adding a comment. 2003-01-08 23:01:43 +00:00
pschwartau%netscape.com
c3f7fa879c Correcting testcase and adding more illustrative cases. 2003-01-08 22:51:02 +00:00
dbaron%dbaron.org
3ea0dc57d4 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag 2003-01-08 21:07:51 +00:00
pschwartau%netscape.com
fa54cbe4a0 Adding comment. 2003-01-08 00:41:01 +00:00
brendan%mozilla.org
4131c7c96c Don't hold the GC lock when calling the GC callback (186592, r=shaver). 2003-01-07 21:56:52 +00:00
pschwartau%netscape.com
480b81c6de Initial add. Regression test for bug 187133. 2003-01-06 22:18:34 +00:00
timeless%mozdev.org
9327ce7216 Bug 187529 jsd init's a jscontext and doesn't release it (caught by res->input leak)
r=rginda sr=bryner
2003-01-04 22:47:44 +00:00
dbradley%netscape.com
311c9ba0ac Bug 184491 - Security Manager blocks invoking methods on some IDispatch based objects. r=adamlock, sr=jst 2003-01-03 15:48:20 +00:00
seawood%netscape.com
16e7da2837 nobrainer changes while thinking about mingw support
Bug #134113 r=dmose
2003-01-03 08:58:59 +00:00
nboyd%atg.com
9134e7185d Update for RC2 2003-01-01 20:17:17 +00:00
igor%mir2.org
b0dd32ca85 Deprecating ClassOutput in favor of ClassRepository and Context methods to access ClassNameHelper functionality in favor of directly calling ClassNameHelper methods. For that I changed ClassNameHelper from interface to abstract class and added ClassNameHelper.get(Context cx) method to get name helper object that is used for the given Context object. 2002-12-31 18:21:32 +00:00
igor%mir2.org
34427cc0a9 Allow application to customize class loader used for loading generated code.
For that I added new method createClasssLoader to Context, which by default returns new instance of DefiningClassLoader and changed the code to use this method instead of creating DefiningClassLoader directly. I moved DefiningClassLoader to org.mozilla.javascript package so core Rhino classes would not depend on org.mozilla.classfile package. I also changed SecurityController.createClasssLoader to take additional parentLoader argument to explicitly specify which class loader should be parent for generated code.
2002-12-31 09:42:42 +00:00
igor%mir2.org
0499c96033 Eliminating calls to Thread.getContextClassLoader().
From my mail to Norris Boyd:

When considering http://bugzilla.mozilla.org/show_bug.cgi?id=166530 I realized that my 2 years old suggestion to use Thread.getContextClassLoader() in org.mozilla.classfile.DefiningClassLoader was wrong, as it does not follow class loader chain pattern Rhino embeddings can use. Moreover, it is wrong to use Thread.getContextClassLoader() when searching for Rhino classes as if Rhino is available via the system class loader and an application uses its copy from another loader, Thread.getContextClassLoader() would return incompatible class while simple Class.forName() would do proper job of loading the requested class from a loader of Class.forName() caller.

The only place where Thread.getContextClassLoader() can be useful is when searching for classes in NativeJavaPackage, but even there with a new option to use Package with an explicit class loader argument it is not necessary as one can write in a script
Packages(java.lang.Thread.contextClassLoader) to get necessary behavior.
2002-12-30 18:22:58 +00:00
igor%mir2.org
c1bd6caf06 Replace ScriptRuntime#main(String scriptClassName, String[] args) by ScriptRuntime#main(Class scriptClass, String[] args) and to optimizer.Codegen#generateMain code to generate call to Class.forName before calling ScriptRuntime#main. In this way script byte code can access Class object if generated script is loaded via different class loader then Rhino classes. 2002-12-30 06:49:10 +00:00
igor%mir2.org
5cb276ce94 When checking for a nested class, try to load it from class loader for the parent class, not from the loader for Rhino classes. 2002-12-30 00:50:57 +00:00