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

36087 Коммитов

Автор SHA1 Сообщение Дата
sspitzer%netscape.com cbcb2ce098 fix warnings 1999-08-05 19:47:10 +00:00
edwin%woudt.nl 04ebe39ab8 Fixed bug #11332
Thanks harning@cbs.dk
1999-08-05 18:31:20 +00:00
norris%netscape.com 00f712e786 Fix problem found by Andrew Wason <aw@softcom.com>:
Subject:
        reflection and illegal package access
   Date:
        Wed, 04 Aug 1999 21:56:20 -0400
   From:
        Andrew Wason <aw@softcom.com>
     To:
        norris@netscape.com (Norris Boyd)
    CC:
        Howard Lin <howard@softcom.com>




If you run Rhino under JDK1.2 with a security manager:

java -Djava.security.manager=java.lang.SecurityManager
org.mozilla.javascript.tools.shell.Main

Then reflection fails for objects that are in a restricted access package
(e.g. sun.*).  Rhino is reflecting based on the dynamic type of the object
instead of the declared static return type.

In this example, createImage is declared to return java.awt.Image, but it
returns sun.awt.image.OffScreenImage.  Attempting to reflect this class
results in a java.security.AccessControlException for
java.lang.RuntimePermission accessClassInPackage.sun.awt.image.

Here is the script.  You will need to type it in because you won't be able
to load it from a file due to the security manager.

var f = new java.awt.Frame();
f.setVisible(true);
var i = f.createImage(10,10);
1999-08-05 16:49:20 +00:00
terry%mozilla.org 613dbfdb9d Oops; removed debugging output. 1999-08-05 16:43:00 +00:00
valeski%netscape.com d7b68f26ff fixing mac build bustage. brade verified the changes in her mac build. I switched from com ptrs to regular pointers as the com pointer abuse wasn't appreciated on the mac 1999-08-05 16:17:22 +00:00
rods%netscape.com f3a85ff8f9 Fixes bug# 11300, when mouse capture is on the wrong window is being set into
the MouseTrialer timer object. This gets the window under the cursor during
a mouse capture.
1999-08-05 14:56:21 +00:00
sspitzer%netscape.com 64909467f3 remove taunting of QA 1999-08-05 14:55:13 +00:00
brade%netscape.com c37a42a600 fixbuild/ typos for sford 1999-08-05 14:21:51 +00:00
ramiro%netscape.com a8a89c6a82 Dont link -lxp, its not needed. 1999-08-05 13:46:52 +00:00
ramiro%netscape.com fce220948c Make these components link in with -lxp, so that the "app" doesnt have too. 1999-08-05 13:38:57 +00:00
rhp%netscape.com 9cb016d189 added files: mozilla/netwerk/protocol/http/src/nsHTTPHeaderArray.cpp, mozilla/netwerk/protocol/http/src/nsHTTPAtoms.cpp 1999-08-05 13:23:45 +00:00
rhp%netscape.com 0b6b03c19d added files: mozilla/netwerk/protocol/http/public/nsIHTTPHeader.idl 1999-08-05 13:16:39 +00:00
ramiro%netscape.com 592ff978d2 Remove duplicate -lxpcom link flag. 1999-08-05 13:09:41 +00:00
ramiro%netscape.com 914648dac0 Dont link in libcaps. Its not needed. 1999-08-05 13:00:14 +00:00
dp%netscape.com 7afa7173a1 Fixed typo. 1999-08-05 12:58:04 +00:00
ramiro%netscape.com af25aaf695 Dont link in libcaps. Its not needed. 1999-08-05 12:52:23 +00:00
ramiro%netscape.com e140e659e2 Dont link with nsappshell, its not needed. 1999-08-05 12:41:27 +00:00
rpotts%netscape.com 95c48cd505 Fix for build bustage on Linux... 1999-08-05 09:07:29 +00:00
rpotts%netscape.com 0a4923691e Fixed up the calls to the nsIHTTPChannel to use the new header APIs... 1999-08-05 08:30:52 +00:00
rpotts%netscape.com 73266ec8fb Added code to dump all headers in the OnHeadersAvailable() notification. 1999-08-05 08:29:36 +00:00
rpotts%netscape.com c99f3b9d7a bug #10739. Reworking header APIs... I've removed nsIHeader.h. 1999-08-05 08:28:49 +00:00
rpotts%netscape.com 29909c5e4f bug #10739. Reworking header APIs... I've added 2 new CPP files - nsHTTPAtoms.cpp and nsHTTPHeaderArray.cpp. 1999-08-05 08:27:49 +00:00
rpotts%netscape.com 13343ac97c bug #10739. Reworking header APIs... I've added a new IDL file - nsIHTTPHeader.idl and remove 3 obsolete header files... 1999-08-05 08:26:57 +00:00
waterson%netscape.com 90b790e14c Let's try it again. Replacing history implementation with MDB. 1999-08-05 06:43:17 +00:00
mcafee%netscape.com 5895907205 Fix warnings 1999-08-05 06:04:28 +00:00
waterson%netscape.com f6bc0ef557 Back out -- not sure what's wrong. 1999-08-05 05:33:31 +00:00
briano%netscape.com 4e227e723a Automated update 1999-08-05 05:15:16 +00:00
waterson%netscape.com 6898ebf357 Add global history. 1999-08-05 05:14:45 +00:00
nisheeth%netscape.com 0b3642c38e makefile.win got checked in accidentally. I'm not ready to export stopwatch.h yet, so, I'm backing my changes out. 1999-08-05 05:13:54 +00:00
waterson%netscape.com 732f94e884 Remove global history; move to webshell. 1999-08-05 05:13:34 +00:00
mscott%netscape.com 9d36bc350c Cast nsCSTring as a const char * before passing as an argument. 1999-08-05 05:13:15 +00:00
ramiro%netscape.com 1d4022c3d8 Add support for building more than one toolkit at once. Currently #ifdefed
off as part of the toolkit link time exorcism.
1999-08-05 05:12:56 +00:00
waterson%netscape.com 5b0d239952 Fix history window. 1999-08-05 05:11:42 +00:00
waterson%netscape.com 7ebd8c50db Replace history implementation with MDB. 1999-08-05 05:10:38 +00:00
nisheeth%netscape.com 56539d92cc Checking in initial version of stopwatch class. Not being built yet. 1999-08-05 05:07:58 +00:00
mscott%netscape.com 1f7a43fe5f cast nsCString as const char *. 1999-08-05 04:51:47 +00:00
mscott%netscape.com ced36f5145 cast nsCString as a const char *. 1999-08-05 04:50:02 +00:00
valeski%netscape.com 368ab627ee moved to the higher level LoadURL() call to get more observer handling 1999-08-05 04:49:38 +00:00
mscott%netscape.com f116b179d1 fix typos. 1999-08-05 04:45:22 +00:00
mscott%netscape.com 34eda9f221 Cast nsCString as a const char before passing it as an argument. 1999-08-05 04:43:04 +00:00
waterson%netscape.com 6228b1819d Bug 9799. Implement nsIRDFRemoteDataSource so that datastore can be flushed to disk. 1999-08-05 04:33:41 +00:00
chuang%netscape.com b89dcf453c remove Linux warning 1999-08-05 04:32:33 +00:00
gayatrib%netscape.com fa17c17e4f changing location.replace to location.href, as a fix for bug 11261 1999-08-05 04:28:43 +00:00
mscott%netscape.com 65c7316349 fix warnings. 1999-08-05 04:28:37 +00:00
mscott%netscape.com b301f7cbaf Changes for:
nsString(eOneByte) --> nsCString
nsString(eTwoByte) nsString
nsString2 --> nsString
1999-08-05 04:28:28 +00:00
chuang%netscape.com f12f055bff fix bug11198 Crash creating, deleting or editing a card in Abook, when Abook is opened the 2nd time in one messenger session 1999-08-05 04:27:57 +00:00
briano%netscape.com da206a1629 Automated update 1999-08-05 03:41:06 +00:00
briano%netscape.com db9fb719af Fix for the build bustage on Solaris 2.5.1 using gcc 2.7.2.1. 1999-08-05 03:39:52 +00:00
troy%netscape.com db9bc7e018 Added NULL pointer check for frame manager in DeletingFrameSubtree() 1999-08-05 03:30:09 +00:00
troy%netscape.com 2c5e8babc6 Added NULL pointer checks in GetPrimaryFrameFor() and GetPlaceholderFrameFor() 1999-08-05 03:23:39 +00:00