Commit Graph

35893 Commits

Author SHA1 Message Date
briano%netscape.com
16db76eb51 Yet another case of a new file checked in missing the newline at EOF required by Unix native compilers. 1999-08-04 02:02:15 +00:00
pavlov%netscape.com
fedfe3401d i suck. i broke the tree. 1999-08-04 01:59:30 +00:00
pavlov%netscape.com
dd767fe13d revert context menus to rev 1.2 and turn them on by default.. these don't work yet and may do bad things if you try and use them. 1999-08-04 01:37:21 +00:00
valeski%netscape.com
6fc14bc32a we were refreshing _every_ url _every_ second. not anymore 1999-08-04 01:27:22 +00:00
valeski%netscape.com
31e057081c win32 bustage. nspr wasn't being linked into the stream conv dll 1999-08-04 00:50:21 +00:00
briano%netscape.com
f776b8ac4a Added a newline at the end to fix the Unix native compiler builds. This is becoming annoying.... 1999-08-04 00:25:45 +00:00
slamm%netscape.com
921e520a5b Fix build error for sidebar. 1999-08-04 00:05:09 +00:00
sfraser%netscape.com
57c7eba0a0 First Checked In. 1999-08-03 23:58:30 +00:00
tbogard%aol.net
62e9ec43a0 First check-in of XP Event Loop Interfaces. --This is not connected to the build--. 1999-08-03 23:57:18 +00:00
hoa.nguyen%intel.com
01301957c5 Added HTMLEmbedElement.idl. 1999-08-03 23:52:13 +00:00
hoa.nguyen%intel.com
40dffb7112 DOM element for embed tags. 1999-08-03 23:50:07 +00:00
valeski%netscape.com
308f65e005 memory deallocation macro problem 1999-08-03 23:44:16 +00:00
karnaze%netscape.com
639f283b06 Always reflow's children for pass1 when reflowed with NS_UNCONSTRAINEDSIZE 1999-08-03 23:20:06 +00:00
robinf%netscape.com
283db65e9f fizxing bug 7162; this file is no longer needed. 1999-08-03 23:18:45 +00:00
karnaze%netscape.com
e54229d3c1 replace assertions with printf statements until bug 10911 gets resolved 1999-08-03 23:17:50 +00:00
vidur%netscape.com
11dd31636f Reserved IID for nsIDOMNSLocation 1999-08-03 23:17:16 +00:00
robinf%netscape.com
afcb7e3ef6 fixing bug 7162; this file is no longer needed. 1999-08-03 23:17:15 +00:00
vidur%netscape.com
5104a33513 Relative URLs specified for window.location.href are now resolved relative to the calling location. 1999-08-03 23:16:48 +00:00
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