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

43694 Коммитов

Автор SHA1 Сообщение Дата
warren%netscape.com 4fb920fb00 Fixed bloat snapshotting capabilities. r=kipp 1999-10-12 00:29:54 +00:00
warren%netscape.com 3ddf68af5c Added NS_LOG_RELEASE for bloat stats. r=kmcclusk 1999-10-12 00:28:14 +00:00
ssu%netscape.com d67582e981 fixing bug #16095. apprunner.exe got renamed to mozilla.exe. This fix updates the installer to create the proper windows shortcut. Not part of tinderbox. r=dbragg@netscape.com 1999-10-12 00:23:37 +00:00
peterl%netscape.com 99a7831a26 fix return type for append reflow command (was returning PRBool for nsresult)
part of fix for 14134
r=pierre
1999-10-12 00:23:10 +00:00
peterl%netscape.com 8823304c74 dont strip multiple changes with nsnull frames
part of fix for 14134
r=pierre
1999-10-12 00:22:18 +00:00
peterl%netscape.com 0aa8e8a9c7 add 'ignore' to user focus
r=hyatt
1999-10-12 00:21:06 +00:00
dougt%netscape.com e8c616fd1c fixes bug 15709. r=dveditz. 1999-10-12 00:20:23 +00:00
evaughan%netscape.com b460bf4aee added files: mozilla/view/src/nsScrollPortView.cpp 1999-10-12 00:16:34 +00:00
sspitzer%netscape.com c3d246d9c3 fix for #16098, r=mscott. Now we have "Mozilla Profile Manager" for the mac, which is the same as -ProfileManager on the other platforms 1999-10-12 00:16:31 +00:00
evaughan%netscape.com dd8734ed83 Integrated Gfx scrollbars. 1999-10-12 00:16:06 +00:00
mscott%netscape.com b3d7cb9ca3 support nsIStreamObserver to get rid of an assert in necko.
r=sspitzer
1999-10-12 00:13:45 +00:00
cbegle%netscape.com 5c331f88b6 new files.
new tests for xpconnect.  r=jband.
1999-10-12 00:12:43 +00:00
varada%netscape.com 1029bbeb6a changing minlen and maxlen in edit fields 1999-10-12 00:12:10 +00:00
alecf%netscape.com d38478e5d6 was not setting the "type" attribute during CreateIncomingServer
fixes #16075
r=sspitzer
1999-10-12 00:07:14 +00:00
varada%netscape.com b51c79328b bug #5958 validating entering of characters in the newconfigdialog edit fields 1999-10-12 00:05:38 +00:00
kmcclusk%netscape.com 9f124ea161 Implemented nsRenderingContextWin::CopyClipRegion. bug 13913; r=rods@netscape.com 1999-10-12 00:05:04 +00:00
ducarroz%netscape.com 055c9b1dfd Fix for bug 15235 & 14785. I checkin this for jefft. Messages need to be save using platform specific line break. R=ducarroz 1999-10-12 00:03:17 +00:00
kmcclusk%netscape.com e4689200df Changed WIN32 windows style from WS_EX_CLIENTEDGEto WS_EX_WINDOWEDGE to
stop drawing client windows sunken. bug=15151; r=rods@netscape.com
1999-10-11 23:56:55 +00:00
rods%netscape.com 93c7749963 changed fonts for select and optgroup to match r=kmcclusk b=12230 1999-10-11 23:48:41 +00:00
varada%netscape.com 8c5892eef3 fix to bug #15339- added SetForegroundWindowin the OnSetActive code in the wizardui.cpp 1999-10-11 23:47:49 +00:00
nhotta%netscape.com bfa5908333 Adding a new interface which does a charset conversion plus NE and NCR for fallback. Part of bug fix #8865, r=ftang. 1999-10-11 23:47:27 +00:00
rods%netscape.com 7eb1900ae8 removed css system color references (not implemented on Mac yet)
changed all checkbox borders to 2 pixels r=kmcclusk b=13854
1999-10-11 23:44:36 +00:00
nisheeth%netscape.com 7890852e87 We now use the new RAPTOR_STOPWATCH_DEBUGTRACE macro to annotate all manipulations of the timers. 1999-10-11 23:42:56 +00:00
nisheeth%netscape.com ca7599a7f9 Changes not part of build. We now use the new RAPTOR_STOPWATCH_DEBUGTRACE macro to annotate all manipulations of the timers. 1999-10-11 23:33:14 +00:00
nisheeth%netscape.com cd926e7dfe Changes not part of build. Added a debug trace macro that outputs to the console only when DEBUG_STOPWATCH is defined. 1999-10-11 23:30:45 +00:00
rogerl%netscape.com c3ea9c6513 NOT A PART OF SEAMONKEY BUILD
- fixed test ECMA references,
- added test to -002
1999-10-11 22:59:25 +00:00
norris%netscape.com 1f04796183 Fix bug:
Subject:
        optimizer SecurityException
   Date:
        Mon, 11 Oct 1999 17:37:51 -0400
   From:
        Andrew Wason <aw@softcom.com>
     To:
        norris@netscape.com (Norris Boyd)
    CC:
        Howard Lin <howard@softcom.com>




We use our own SecuritySupport implementation in Rhino.  This is properly
getting called by the optimizer to generate new classes (e.g.
org.mozilla.javascript.gen.c5 etc.)

However, after defining the class, Codegen.compile calls getClassLoader()
on the new class.  The default SecurityManager doesn't allow
getClassLoader() to be called and so an exception is thrown:

java.lang.RuntimeException: Malformed optimizer package
java.security.AccessControlException: access denied
(java.lang.RuntimePermission getClassLoader )
        at org.mozilla.javascript.optimizer.Codegen.compile(Codegen.java:138)
        at org.mozilla.javascript.Context.compile(Context.java:1761)
        at org.mozilla.javascript.Context.compile(Context.java:1691)
        at org.mozilla.javascript.Context.compileReader(Context.java:810)
        at org.mozilla.javascript.Context.evaluateReader(Context.java:725)
        [...]

This is kind of a pain to duplicate outside of our application, but if you
require a test case I can create one.

Codegen is attempting to call loadClass() after it uses
SecuritySupport.defineClass().  Our SecuritySupport calls loadClass()
internally in its defineClass() implementation.  This is what JavaAdapter
expects.

This is from Codegen.compile():

                         if (securitySupport == null) {
                             if (Context.isSecurityDomainRequired())
                                 throw new SecurityException("Required " +
                                             "security context missing");
                             if (classLoader == null)
                                 classLoader = new JavaScriptClassLoader();
                             clazz = classLoader.defineClass(name, classFile);
                         } else {
                             clazz = securitySupport.defineClass(name,
classFile,
                                                                 securityDom
securityDomain);
                         }
                         ClassLoader loader = clazz.getClassLoader();
                         clazz = loader.loadClass(name);


This is from JavaAdapter.createAdapterClass():


         SecuritySupport ss = cx.getSecuritySupport();
         if (ss != null)  {
             Object securityDomain = cx.getSecurityDomainForStackDepth(-1);
             return ss.defineClass(adapterName, bytes, securityDomain);
         } else {
             if (classLoader == null)
                 classLoader = new MyClassLoader();
             classLoader.defineClass(adapterName, bytes);
             return classLoader.loadClass(adapterName, true);
         }


So JavaAdapter is assuming SecuritySupport.defineClass() will call
ClassLoader.loadClass() on the new class, while Codegen is assuming it
needs to call ClassLoader.loadClass() on the class defined by
SecuritySupport.defineClass().

These should be made consistent, and in both cases it should be assumed
that SecuritySupport will both define and load the class.


Andrew
--
Andrew Wason
SoftCom, Inc.
aw@softcom.com
1999-10-11 22:48:13 +00:00
rogerl%netscape.com a3ccad0ea2 NOT A PART OF SEAMONKEY BUILD
- removed redundant test & fixed test for 'super' to detect syntax error
1999-10-11 22:38:40 +00:00
varada%netscape.com 8e07a5b63d #6569 adding Message function to OnNext handler 1999-10-11 22:30:02 +00:00
varada%netscape.com 1e18084139 #15327 changing minlen to maxlen 1999-10-11 22:28:59 +00:00
sfraser%netscape.com 5096a3be53 Part of fix for 15795; nsFileSpecMac.cpp is no longer pulled in with a nasty #include, and is thus added to the project. r=dougt 1999-10-11 21:19:47 +00:00
terry%mozilla.org 37879fe897 Got rid of silly debugging hack. 1999-10-11 21:19:46 +00:00
sfraser%netscape.com af96133451 Fix for bugs 15795 and 16090 -- fix startup crash which was due to an uninitialized nsFileSpec trashing the stack. Also no longer set mError on CreateDirectory if the dir already exists, prevent += "foo" when mError is set, and add assertions XP to catch calls with NULL strings. reviewed by dougt and (in part) sspitzer. a=leaf. 1999-10-11 21:19:06 +00:00
terry%mozilla.org 0b3047654b Sort votes in decreasing order, not increasing. 1999-10-11 21:17:17 +00:00
slamm%netscape.com a58367ab0c Remove '-test' from output file name 1999-10-11 19:46:59 +00:00
slamm%netscape.com 988f35714b finished testing 1999-10-11 19:43:46 +00:00
slamm%netscape.com bc8b762dd5 New file indexing. Use '/cvsroot' instead of lxr index. 1999-10-11 19:42:53 +00:00
slamm%netscape.com 0090b51969 Skip attic files. 1999-10-11 19:40:51 +00:00
slamm%netscape.com fdfa397610 slight tweak. take 2. 1999-10-11 19:37:32 +00:00
slamm%netscape.com e8aa619ee8 slight tweak 1999-10-11 19:36:12 +00:00
slamm%netscape.com 62c8720062 Need to account for ,v 1999-10-11 19:34:57 +00:00
slamm%netscape.com c37af4a721 Test new file indexing. 1999-10-11 19:26:38 +00:00
varada%netscape.com e5a39c362d checking in fixes for bug #6569 - confirmation on clicking the finish button 1999-10-11 19:23:25 +00:00
terry%mozilla.org 8935369e7c Let's not keep everything locked up while regenerating. 1999-10-11 19:02:49 +00:00
terry%mozilla.org 369d2ff0ef Stop reporting "area"; don't report voters on the CC line. 1999-10-11 18:54:45 +00:00
terry%mozilla.org 4eb0891e1c Make "rescanall" only check bugs which have changed in the last two days. 1999-10-11 18:23:21 +00:00
terry%mozilla.org 0a344bc096 Added ability to run "processmail rescanall" to scan *every* bug for
any mail that ought to be sent to someone.
1999-10-11 18:18:39 +00:00
terry%mozilla.org 52e837f5e7 Oops; need extra directions to avoid problems when removing the "area" column. 1999-10-11 17:41:47 +00:00
terry%mozilla.org 1d2a2738a1 Stupid hack to let things work with people who have bookmarked
vote-sorting URLs using the old style.
1999-10-11 17:21:18 +00:00
terry%mozilla.org 24d5cf4712 Added a "votes" field to the bugs table, which caches the total number
of votes that have been cast for that bug.  This let me simplify the
SQL in buglist.cgi, which makes things more efficient and fixes
several strange bugs.
1999-10-11 17:14:32 +00:00