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

44383 Коммитов

Автор SHA1 Сообщение Дата
troy%netscape.com 2b99b1cbdc b=16781, r=vidur@netscape.com
Re-ordered destructor to delete maps after destroying the frame hierarchy
1999-10-19 19:06:37 +00:00
locka%iol.ie 56c77f5731 Updated to include new registry entries 1999-10-19 19:06:31 +00:00
selmer%netscape.com 078a794faf Removing Recede... 1999-10-19 19:06:29 +00:00
selmer%netscape.com a368bc69ea Putting button names back 1999-10-19 19:04:11 +00:00
shaver%netscape.com a0cf3fcc48 corrected assembly, from Ulrich Drepper <drepper@cygnus.com> (16612, r=shaver) 1999-10-19 19:03:01 +00:00
pollmann%netscape.com 08340e215a Bug 16725: Enable align attribute for iframe; r=harishd 1999-10-19 19:01:49 +00:00
selmer%netscape.com 16eb05bbfb Interpret functions moved to interpret.cpp; memory allocations cleaned up 1999-10-19 18:58:38 +00:00
leila.garin%eng.sun.com b1a073428e New perl automated script. 1999-10-19 18:48:53 +00:00
terry%mozilla.org 2d89c35e20 Fixed perl warnings. 1999-10-19 16:41:40 +00:00
norris%netscape.com 33f79a9fa4 Fixed bug. We weren't loading classes in bottom-up dependency order.
Subject:
            Re: another getClassLoader exception
       Date:
            Mon, 18 Oct 1999 22:01:24 -0400
      From:
            Andrew Wason <aw@softcom.com>
        To:
            norris@netscape.com (Norris Boyd)
        CC:
            Howard Lin <howard@softcom.com>
 References:
            1 , 2




At 05:03 PM 10/18/99 -0700, Norris Boyd wrote:
>Are you still seeing this problem?


Yes.  I just did a CVS update to get the latest stuff and we still have
this problem.

I wrote a standalone sample program that duplicates the problem.  Run
JSSupport and you should get this exception:

defineClass org.mozilla.javascript.gen.c2
Exception in thread "main" java.lang.NoClassDefFoundError:
org/mozilla/javascript/gen/c1
         at java.lang.ClassLoader.resolveClass0(Native Method)
         at java.lang.ClassLoader.resolveClass(ClassLoader.java:545)
         at
JSSupport$MySecuritySupport$DataClassLoader.loadClass(JSSupport.java:89)
         at JSSupport$MySecuritySupport.defineClass(JSSupport.java:47)
         at org.mozilla.javascript.optimizer.Codegen.compile(Codegen.java,
Compiled Code)
         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)
         at org.mozilla.javascript.Context.evaluateString(Context.java:692)
         at JSSupport.<init>(JSSupport.java:20)
         at JSSupport.main(JSSupport.java:9)



Andrew



>--N
>
>Andrew Wason wrote:
>
> > At 04:54 PM 10/12/99 -0700, Norris Boyd wrote:
> > >I just checked in changes so that the class calling ScriptRuntime (c5
> in your
> > >case) will load the class itself using the normal Java classloading
> mechanism
> > >rather than an explicit call to the class loader. I pushed the bits up
> to the
> > >ftp site, but it takes a bit to propagate.
> >
> > I get this exception now (debugging statements are from my code):
> >
> > SecuritySupport.defineClass org.mozilla.javascript.gen.c5
> > DataClassLoader.loadClass org.mozilla.javascript.gen.c5
> > DataClassLoader.loadClass org.mozilla.javascript.gen.c4
> > using default loader com.softcom.realjava.PluginClassLoader@da9486a0
> > java.lang.NoClassDefFoundError: org/mozilla/javascript/gen/c4
> >          at java.lang.ClassLoader.resolveClass0(Native Method)
> >          at java.lang.ClassLoader.resolveClass(ClassLoader.java:545)
> >          at
> >
> com.softcom.realjava.plugins.RealJavaScript$RealJavaScriptSecuritySupport$Da
> > taClassLoader.loadClass(RealJavaScript.java:410)
> >          at
> >
> com.softcom.realjava.plugins.RealJavaScript$RealJavaScriptSecuritySupport.de
> > fineClass(RealJavaScript.java:352)
> >          at org.mozilla.javascript.optimizer.Codegen.compile(Codegen.java,
> > Compiled Code)
> >          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)
> >
> > So when c5 is being loaded by my SecuritySupport, it also needs to load c4.
> > I decompiled org.mozilla.javascript.gen.c5 and it's constant pool
> > references CLASS org.mozilla.javascript.gen.c4, so c5 is dependent on c4
> > being loadable.  Is the problem that c5 is being loaded before the
> > optimizer has defined c4?
> >
> > I get the above exception for some classes and not others.  It seems
> > consistent that I always get it for classes with dependencies on other
> > optimizer classes that haven't been generated yet.
> >
> > Andrew
> >
> > --
> > Andrew Wason
> > SoftCom, Inc.
> > aw@softcom.com

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



   JSSupport.java

                  Name:
                         JSSupport.java
                   Type:
                         Java Source File (text/java)
                Encoding:
                         base64
1999-10-19 16:38:23 +00:00
terry%mozilla.org ecabffbee3 Fixed perl warnings. 1999-10-19 16:33:06 +00:00
terry%mozilla.org 1a9e02a81d This was using complicated perl features I don't understand, so I simplified it and it works now... 1999-10-19 16:24:48 +00:00
terry%mozilla.org 7e49118e5a Fixed perl warning. 1999-10-19 15:07:27 +00:00
terry%mozilla.org 303710c7d8 Fix perl warnings. 1999-10-19 15:05:16 +00:00
brade%netscape.com 10377a9cde add images from Dan Haddix (r=pavlov@pavlov.net) 1999-10-19 14:53:55 +00:00
bienvenu%netscape.com 65c6021f43 fix ref count logging on nsMimeImpl r=warren 1999-10-19 14:50:09 +00:00
brade%netscape.com 813c418ef6 add images from Dan Haddix (r=rods@netscape.com) 1999-10-19 14:44:01 +00:00
troy%netscape.com fb99c83e01 Changes to frame property API (code's not being used yet) 1999-10-19 14:41:55 +00:00
rods%netscape.com 7f93cd8c0e changed font-family and margin settings for input text and textareas
r-kmcclusk, Bug #4072
1999-10-19 13:39:59 +00:00
brade%netscape.com 886e80b528 function for image map editor added (contributed by Dan Haddix) 1999-10-19 13:34:34 +00:00
brade%netscape.com c0fa82ef8d First Checked In. 1999-10-19 13:32:22 +00:00
brade%netscape.com 7f58c3b04b add images for Dan Haddix (image map editor) 1999-10-19 13:31:25 +00:00
rods%netscape.com eae2d12d66 Changed the sizing comparison for NavQuirks in debug mode to get the font family and size
for the input text  and textarea, I also changed the border calc for only when the
the size is explicitly set.
r=kmcclusk, Bug #3040,11285
1999-10-19 11:59:01 +00:00
rods%netscape.com 5a4c5ae518 Moved GetWrapProperty to nsFormControlHelper
Changed add the added of scrollbar sizes for Standard mode
r=kmcclusk, Bug #3040,11285
1999-10-19 11:58:53 +00:00
rods%netscape.com 8815aee70f Added methods for getting a frame's current font and
for calculating the nsIFormControlFrame's NavQuirks size
Added two methods for getting the "wrap" property and andded a new enum
for for testing against instead of a string
Added a method for calculating the size when in NavQuirks modes, this currently
duplicates the algorithms for for input text and textareas
r=kmcclusk, Bug #3040,11285
1999-10-19 11:58:50 +00:00
rods%netscape.com 354b09bef7 Removed old commented out code and unused comments. r=kmcclusk, (no bug) 1999-10-19 11:35:17 +00:00
rods%netscape.com 25343319f0 Added a method in the debug build to return the Navigator size for a given
for control for a given font family and size. Used for NavQuirks testing only.
r=kmcclusk, Bugs #3040, 4072
1999-10-19 11:34:00 +00:00
rickg%netscape.com 1fd5e7fb5d fixed bug 16584; CRCRLF not handled correctly. r=syd 1999-10-19 08:52:30 +00:00
tbogard%aol.net 7c498dda21 Removed the last of gimpy's warnings. r=gimpy. 1999-10-19 08:03:11 +00:00
jband%netscape.com 0503271fe7 trivial fix to get rid of warning from copy/paste error - was passing unused argument to printf 1999-10-19 08:00:29 +00:00
tbogard%aol.net ce2532f59c Another warning. r=gimpy. 1999-10-19 07:59:20 +00:00
tbogard%aol.net cc05920e48 Fixed a few more of gimpy's warnings..... Oh, we found a bug there. r=gimpy Total warnings now under 200! 1999-10-19 07:57:51 +00:00
tbogard%aol.net fae096b67f Removing gimpy's warnings. r=gimpy. This brings us down to 200. :) 1999-10-19 07:50:55 +00:00
tbogard%aol.net 156997c2f3 Removed border from the XUL browser, editor, and iframe tags. This allows content coming up in chromeless pop-up windows not be visually cluttered with a needless border. r=hyatt. 1999-10-19 07:40:44 +00:00
cls%seawood.org d8d0fcc08e Add newline at end of file for broken compilers. 1999-10-19 06:40:25 +00:00
beard%netscape.com c1f48b75f9 changed NSLibraryStartup.o to NSComponentStartup.o, since it's really a component. r=jband 1999-10-19 06:31:49 +00:00
jband%netscape.com 6868764b91 fixing brendan's copy/paste bug that broke gc. r=shaver 1999-10-19 05:58:07 +00:00
dp%netscape.com 465b188116 Fixing warning. Moved declaration into if 0 block. 1999-10-19 05:49:04 +00:00
cls%seawood.org ff88c66302 Use PR_TRUE instead of c++ keyword "true" in case of broken/out-of-date compilers.
r=syd
1999-10-19 05:38:27 +00:00
cls%seawood.org ec587d1b3b Syncing Makefile.ins with srinivas' previous checkin.
r=shaver
1999-10-19 05:30:36 +00:00
troy%netscape.com 665c1e8f05 Changed a comment 1999-10-19 05:00:30 +00:00
troy%netscape.com c327acc8a4 Change to code that's not currently being used. Before it gets used it
will get code reviewed
1999-10-19 04:52:33 +00:00
troy%netscape.com a5b7c8db19 Didn't actually change anything. Just moved two functions up higher in the
file to make the Solaris compiler happy...
1999-10-19 04:50:34 +00:00
selmer%netscape.com 44a3ef2682 Minor cleanup 1999-10-19 03:46:54 +00:00
alecf%netscape.com ea5e76e6c2 event targets for checkboxes now reflect reality
(just a test, not part of product)
1999-10-19 03:16:45 +00:00
jefft%netscape.com eabcec79ef removed obsolete menubar xul tag; fixed bug 16145; r=rhp, ducarroz; a=dp 1999-10-19 03:08:43 +00:00
waterson%netscape.com 3900f1915d Obsolete. 1999-10-19 03:05:25 +00:00
beard%netscape.com b9374b0d98 fixed histogram sorting. 1999-10-19 03:03:12 +00:00
pierre%netscape.com 9e53c0ec6b Fix build in Mac embedding apps after last week's changes in nsIWebShell. 1999-10-19 03:02:01 +00:00
pierre%netscape.com 5832ec669f Fix a crash in Mac embedding apps: HasGfxScrollBars() checks for null pointer after calling GetPrefs(). 1999-10-19 03:00:47 +00:00