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

35875 Коммитов

Автор SHA1 Сообщение Дата
karnaze%netscape.com 0767a5bbcd figuring a col's adj min width from a colspan uses adj min width 1999-08-03 23:16:43 +00:00
robinf%netscape.com d682e6257c Fixing bug 7162 and bug 6560 1999-08-03 23:15:47 +00:00
karnaze%netscape.com ed1321471c new test cases 1999-08-03 23:13:39 +00:00
locka%iol.ie 7a258d1350 Added field to allow user to turn on logging (for Mozilla not IE) 1999-08-03 23:06:00 +00:00
locka%iol.ie da0cb229c8 Fixed some interface changes that broke the build 1999-08-03 23:03:16 +00:00
slamm%netscape.com 1495e59f02 Fix mac build bustage. 1999-08-03 23:01:38 +00:00
vidur%netscape.com 34e2caf4f8 Fix for build bustage from Judson. Inclusion of config.mak is necessary before we depend on the NECKO symbol. 1999-08-03 23:00:19 +00:00
bienvenu%netscape.com 238ec370fd add implementation for giving status feedback to user via webshell, not part of build yet 1999-08-03 22:55:40 +00:00
bienvenu%netscape.com a3417c7046 add interface for give status feedback to user via webshell, not part of build yet 1999-08-03 22:54:50 +00:00
slamm%netscape.com ea6953e9a8 Move sidebar files into componnent directory 1999-08-03 22:50:42 +00:00
slamm%netscape.com 8057a954de New chrome urls for sidebar. Moved it into a component. 1999-08-03 22:48:53 +00:00
rogerl%netscape.com 02985bde28 Updated internal name of exec function to match new naming rules. 1999-08-03 22:41:57 +00:00
slamm%netscape.com c44c5acbb5 Move sidebar entities into dtd files (bug #10341) 1999-08-03 22:36:20 +00:00
slamm%netscape.com 07089b8341 Add sidebar component directory (files were previously in rdf/resources). 1999-08-03 22:36:12 +00:00
slamm%netscape.com 2d8535834a Move strings to DTD files (bug #10247). 1999-08-03 22:36:00 +00:00
slamm%netscape.com 798ddec4e5 Use chrome url for sidebar contents 1999-08-03 22:35:45 +00:00
troy%netscape.com 1a2cee6cc1 Reserved IID for nsIFrameManager 1999-08-03 22:35:42 +00:00
slamm%netscape.com 8130e614be Add sidebar component directory. 1999-08-03 22:35:39 +00:00
slamm%netscape.com 6bfaff2f08 Ignore a couple makefiles 1999-08-03 22:35:33 +00:00
jj%netscape.com 2e8f6fea88 #9902: now updates build number in viewSource.xul. r=cyeh 1999-08-03 22:22:24 +00:00
radha%netscape.com 6c241b072b Allow windows path formats, d:\, c:\ etc.. to be passed as command line urls 1999-08-03 22:15:14 +00:00
mccabe%netscape.com 86880f3be0 - Added OS_TARGET-switched definition of CLASSPATHSEP, to support building under Windows NT with GNU make. Thanks to Andew Wason <aw@softcom.com> for this fix.
- Removed outdated references to JSDEBUG_JAR.
1999-08-03 22:15:02 +00:00
ramiro%netscape.com 54d0ca6f1d Fix build bustage on unix. 1999-08-03 22:11:11 +00:00
valeski%netscape.com 422e84ccad added stream converter to the builds 1999-08-03 22:04:57 +00:00
warren%netscape.com 8d70ef168e Returned error when file not found for OpenInputStream. 1999-08-03 22:00:17 +00:00
warren%netscape.com 004a107d21 Took out NS_ERROR when file not found. 1999-08-03 21:59:40 +00:00
chuang%netscape.com 0042af1e0c add code to bring up customized receipt dialog, not in build yet 1999-08-03 21:56:07 +00:00
valeski%netscape.com 0edfda477b 10720 fix - we now do meta tag refreshes 1999-08-03 21:48:40 +00:00
briano%netscape.com e2cc541f86 Cleaned it up and got rid of the redundant HP-specific SHARED_LIBRARY_LIBS stuff. 1999-08-03 21:40:56 +00:00
mark.lin%eng.sun.com c7ab3e82f6 Updated build instructions. Will get pushed out to the website eventually. 1999-08-03 21:29:49 +00:00
norris%netscape.com 528ca6cbca Adding patch (with slight modifications for javadoc) from Andrew Wason <aw@softcom.com>:
Subject:
        Rhino reflection patch
   Date:
        Wed, 28 Jul 1999 18:14:52 -0400
   From:
        Andrew Wason <aw@softcom.com>
     To:
        norris@netscape.com
    CC:
        mccabe@netscape.com, rogerl@netscape.com, Howard Lin <howard@softcom.com>




When JavaAdapter generates an adapter class, it does not take into account
the types of method parameters when wrapping the generated methods arguments.

This means that if a non-public class implements a public interface the
non-public class type will be wrapped instead of the declared public
interface - and methods cannot be invoked via the wrapper.

I have attached sample code (reflect-demo.zip) which shows this.  The
JavaScript caller.js generates an adapter implementing the CallerInterface
interface.  CallerInterface has a method (doSomething) which takes an
argument of type pkg.Interface.  pkg.Target is a non-public class that
implements pkg.Interface.  If an instance of pkg.Target is passed to the
CallerInterface adapter doSomething method, an Error is thrown because
pkg.Target.doSomething is called (instead of pkg.Interface.doSomething) and
pkg.Target is not public.

I have attached a patch to Context.java, ScriptRuntime.java and
JavaAdapter.java.  I overloaded toObject in Context and ScriptRuntime to
take a 3rd argument which is the declared type of the object being
wrapped.  This is passed to NativeJavaObject.wrap so that it generates the
correct wrapper. I changed JavaAdapter.generateOverride to generate
bytecode calling Context.toObject passing the declared Class type of the
argument.

Context.java also includes my previously submitted patch for dealing with
SecurityExceptions and the JavaAdapter property (because this patch has not
been checked into CVS yet).

Andrew

--
Andrew Wason
SoftCom, Inc.
aw@softcom.com



   reflect-patch.txt

                Name:
                      reflect-patch.txt
                 Type:
                      Plain Text (text/plain)




   reflect-demo.zip

                   Name:
                         reflect-demo.zip
                    Type:
                         Zip Compressed Data (application/x-zip-compressed)
                Encoding:
                         base64
1999-08-03 21:24:39 +00:00
ftang%netscape.com cccfec9f41 add new mapping table files 1999-08-03 21:15:29 +00:00
ftang%netscape.com dbbd7e7d95 add new implementation of Japanese Decoder 1999-08-03 21:09:58 +00:00
ftang%netscape.com 7b5ad931da check in some perl file I used to generte tables 1999-08-03 21:08:41 +00:00
harishd%netscape.com fabf355699 Disabling RGESS_DEBUG which I had accidentally
checked in!!
1999-08-03 21:08:36 +00:00
ftang%netscape.com 263b8f359e add nsconv and convperf 1999-08-03 21:05:59 +00:00
ftang%netscape.com 1b912fc333 add nsconv.cpp 1999-08-03 21:04:56 +00:00
hangas%netscape.com a35ded6d3d File Removed. 1999-08-03 21:04:33 +00:00
waterson%netscape.com cc0068bd1d Back out RJC's previous changes; they aren't necessary. Failure is dealt with by the destructor, which will _always_ be called from the factory method if Init() fails. 1999-08-03 21:00:39 +00:00
waterson%netscape.com da0a78e9bc Bug 11154. Use 2-byte compare fn for literal hash table. 1999-08-03 20:59:56 +00:00
slamm%netscape.com 4122a667f2 Remove unused appcore. Replaced by JS code. 1999-08-03 20:59:40 +00:00
sdagley%netscape.com 6ad46f9849 Removed some obsolete files from the makefiles. First step in addressing bug #11024. 1999-08-03 20:52:15 +00:00
mcafee%netscape.com 6da92dc13c Converting to stream implementation of HTTP posting, this obsoletes nsIPostData and nsIPostToServer. a=warren 1999-08-03 20:51:41 +00:00
sspitzer%netscape.com de90d57b26 fix warnings. 1999-08-03 20:47:52 +00:00
pavlov%netscape.com 3396fd7b49 empty clipboard when we receive a clear notification 1999-08-03 20:46:50 +00:00
jefft%netscape.com ff2eccceca fixed bug 8135, 9782 - force to create default mailboxes at the startup time 1999-08-03 20:45:50 +00:00
briano%netscape.com 7760e57739 Automated update 1999-08-03 20:45:13 +00:00
slamm%netscape.com cf9f0fda5f Comment out unused option (--enable-mail-compose). 1999-08-03 20:44:51 +00:00
chuang%netscape.com fadd72a877 converted pref xul file, not in build yet 1999-08-03 20:43:54 +00:00
chuang%netscape.com e2c31da16d converted pref xul files, not in build yet 1999-08-03 20:41:30 +00:00