Commit Graph

113600 Commits

Author SHA1 Message Date
cbiesinger%web.de
79a67aa80c to clarify: my last checkin was not part of any normal build 2002-12-30 17:44:22 +00:00
cbiesinger%web.de
b7df1f541b 186480 r=timeless rs=blizzard (ports code) [qt] toolbar does not look correct 2002-12-30 17:40:11 +00:00
depstein%netscape.com
bf76e055eb Added some more nsIHttpChannel attribute tests. Not part of the build. 2002-12-30 08:52:13 +00:00
ian%hixie.ch
a614ace041 Replace Carp.pm with Exception.pm so that we have a consistent interface to exceptions and errors. Also add a syntaxError check in AUTOLOAD to make sure we don't call it when we shouldn't. 2002-12-30 08:04:29 +00:00
ian%hixie.ch
aa5488a873 Neaten up the arguments display: limit the depth, allow integers to be unquoted as well as floats, crop long strings. 2002-12-30 08:02:40 +00:00
ian%hixie.ch
4504de3dc3 Remove bogus argument, and add error checking code to catch similar errors in future 2002-12-30 07:52:19 +00:00
ian%hixie.ch
f7331c74e8 Export the syntaxError function, which reports a syntax error where the caller was invoked. 2002-12-30 07:30:43 +00:00
ian%hixie.ch
15e0f695ed Reduce the number of sites that call 'caller'. Let's hope that this doesn't get optimised too much, or else the line numbers will start getting increasingly inaccurate... 2002-12-30 07:28:45 +00:00
ian%hixie.ch
33256ecd89 Add support for reporting Exceptions as warnings, for parity with, and so that PLIF can transition from, Carp.pm 2002-12-30 07:06:34 +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
ian%hixie.ch
908bc39af0 Remove debugging code that accidentally got checked in. 2002-12-30 06:43:27 +00:00
ian%hixie.ch
dc9577f495 Clean up the stack trace code: make stacktrace smarter about where the exception should be reported from, make it know about the arguments to the functions, make the stringifier know about try{} blocks 2002-12-30 06:40:05 +00:00
leaf%mozilla.org
08f92abd06 Automated update 2002-12-30 01:15:06 +00:00
timeless%mozdev.org
a96f343923 Bug 187012 [Qt] configure.in test for Qt should use $CXX, not $CC for testing for the Qt library
r=cls
2002-12-30 01:08:28 +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
igor%mir2.org
25a4f559fd Move code to try to load a class from getPkgProperty to the separated findClass method and add catching of SecurityException there. 2002-12-30 00:49:11 +00:00
igor%mir2.org
6c08e83f5d Change FunctionObject to extends BaseFunction, not NativeFunction as the later is more tailored for function representing JavaScript code. 2002-12-30 00:43:33 +00:00
paper%animecity.nu
483ead4ff4 Bug 185773: Call SetTimeout in nsGIFDecoder2, not imgContainerGIF::EndFrameDecode; r=biesi sr=tor 2002-12-29 22:32:22 +00:00
ian%hixie.ch
007df6e6bf Additional comments explaining what might happen in cases of key clashes. 2002-12-29 21:02:59 +00:00
ian%hixie.ch
c66533cb57 Minor grammatical fix. 2002-12-29 21:02:22 +00:00
igor%mir2.org
7aa9281947 To map a class name to the corresponding Class instance from the adapter code generate code to call Class.forName instead of calling ScriptRuntime.loadClassName so a class loader for the generated code will be used to access the Class instance, not the loader for the Rhino classes. 2002-12-29 20:21:06 +00:00
cbiesinger%web.de
01269e4302 186938 r+sr=roc+moz removing dead code from nsBlender.cpp 2002-12-29 12:35:17 +00:00
igor%mir2.org
1f5d46210d In createInvoker I replaced classLoader.loadClass by classLoader.linkClass to remove catching ClassNotFoundException 2002-12-29 10:52:10 +00:00
jake%bugzilla.org
2b00299e13 Bug 183388 - processmail wasn't picking up on users being added to the owner or qa contact role and was dropping emails if the user had selected to only get mail on those events.
Patch by Mark Drew <mdrew@realm.com>
r=jake
a=justdave
2002-12-29 07:06:41 +00:00
ian%hixie.ch
7ef7c159fa Fixing the support for the 'attempt()' method on databases, which was broken while fixing the fallout from the Exception stuff. 2002-12-29 03:56:00 +00:00
cbiesinger%web.de
65fd81fd9c 187017 r=cls state that nglayout.mk is no longer used 2002-12-29 00:13:37 +00:00
seawood%netscape.com
c81c66f7f1 Don't set EXPORT_LIBRARY for libs that aren't in the final link list for static builds.
Fixing static build bustage.
2002-12-28 23:42:21 +00:00
seawood%netscape.com
5290941d85 Fix OS/2 bustage by exporting component import libs again. 2002-12-28 21:19:26 +00:00
ian%hixie.ch
cb536855e9 Allow catch...with statements to not be followed by anything. Also add a little debug code. 2002-12-28 18:24:27 +00:00
ian%hixie.ch
bef362c12b Unify the statement execution methods so that we can have consistent exception raising 2002-12-28 18:23:24 +00:00
matty%chariot.net.au
72793480b2 Release notes updates. 2002-12-28 13:15:34 +00:00
seawood%netscape.com
d5f6eaf187 Quirky, quirky, quirky OS/2. 2002-12-28 07:27:54 +00:00
seawood%netscape.com
bbb7dec113 Add hack upon dependency hack to Avoid constant NSS rebuilds when pulling from CVS. 2002-12-28 05:50:17 +00:00
igor%mir2.org
d90d743307 Fixing design flaw in SecurityController:
The new SecurityController in its current form does not allow to define more then one generated class class in the same class loader effectively preventing to use optimizer which needs to define classes that refer each other and should be defined in the same loader.

To fix this I replaced the defineClass method in SecurityController by
    public GeneratedClassLoader createClassLoader(Object securityDomain);
which returns instance of the new GeneratedClassLoader interface which can be used to define several classes. I also made DefiningClassLoader to implement this interface to simplify code in JavaAdapter.java and optimizer/Codegen.java.
2002-12-28 05:37:43 +00:00
seawood%netscape.com
8c330eb74d Use cp instead of nsinstall for OS/2.
Attempting to fix OS/2 tinderbox bustage.
2002-12-28 05:25:08 +00:00
depstein%netscape.com
ba7deeffbe Adding initial test cases for nsIHttpChannel iface. Not part of the build. 2002-12-28 04:43:56 +00:00
ian%hixie.ch
fae823b4df Add rudimentary stacktrace support to the Exception library 2002-12-28 03:31:59 +00:00
seawood%netscape.com
5ba4347cde Oops. We still need to install component libs into dist/lib/components.
Fixing tinderbox bustage.
2002-12-28 03:30:04 +00:00
ian%hixie.ch
7d166375f0 Propagate the results out of the 'row' function correctly again -- the wantarray context isn't maintained inside a try block, unfortunately 2002-12-28 03:27:23 +00:00
rogerl%netscape.com
5e114ca259 Fixes to defineStaticMember 2002-12-28 01:40:07 +00:00
seawood%netscape.com
d5efcdfb6d Start installing GRE libraries & components into a separate dist/gre directory as part of the default build.
Bug #186241 r=dougt
2002-12-28 01:15:07 +00:00
caillon%returnzero.com
f7d4925db8 186752 - Need one more null check, this time before CallQueryInterface. r+sr=dbaron 2002-12-28 00:03:33 +00:00
seawood%netscape.com
297fae6d63 Create bundle version of libxpcom for OSX GRE builds.
Bug #186599 r=mcafee
2002-12-27 18:58:20 +00:00
leaf%mozilla.org
89b81c7658 Automated update 2002-12-27 11:00:14 +00:00
cbiesinger%web.de
9f088bb275 186778 r=cls qt compilation fails when --disable-debug is used 2002-12-27 10:50:29 +00:00
mcafee%netscape.com
5b5e7a49f5 Fixing array type error. 2002-12-27 10:21:19 +00:00
mcafee%netscape.com
440c8e9895 TinderboxPrint: now just prints the rest of the line out, bloat2 test needs 3 separate TinderboxPrint: prefixes. Removing old scrape comments. 2002-12-27 09:43:21 +00:00
mcafee%netscape.com
732a2ddbee Removing dead comments 2002-12-27 09:39:42 +00:00
mcafee%netscape.com
c8b84a62d7 Removing scrape split token, now TinderboxPrint: just prints out the rest of the line. If you want 3 lines of output on tbox, you need 3 TinderboxPrint: statements. This will just be simpler, no ambiguous cases. 2002-12-27 09:34:58 +00:00
mcafee%netscape.com
5165535527 Removing scrape split token, now TinderboxPrint: just prints out the rest of the line. If you want 3 lines of output on tbox, you need 3 TinderboxPrint: statements. This will just be simpler, no ambiguous cases. 2002-12-27 09:33:38 +00:00