Commit Graph

44436 Commits

Author SHA1 Message Date
selmer%netscape.com
2c5fcd4eb1 CheckListBox supports descriptions (bug #4884) 1999-10-19 20:30:18 +00:00
norris%netscape.com
ac9a073c8b 7261 Connect XPConnect visibility filter to query principals
Reviewed by mstoltz.
1999-10-19 20:28:24 +00:00
rods%netscape.com
8874e3db0c cleaned up warning, result hidding another, r=kmcclusk, (no bug) 1999-10-19 19:59:06 +00:00
rods%netscape.com
634a39119e fixed several warning and fixed setting the wrap property enum to off r=kmcclusk, bug 16770 1999-10-19 19:58:07 +00:00
rods%netscape.com
b8cbe4bec7 removed comma after last enum, warning clean up, r=kmcclusk (no bug) 1999-10-19 19:56:35 +00:00
varada%netscape.com
6f7cd6ca1e setting focus in edit boxes in dialog boxeson init 1999-10-19 19:53:40 +00:00
beard%netscape.com
ab04358b03 for JBindery runner, added System.exit() 1999-10-19 19:43:31 +00:00
rpotts%netscape.com
08c8e88004 bug #15560. Changed the LoadGroup to fire notifications via PLEvents to stop reenterency. 1999-10-19 19:42:55 +00:00
terry%mozilla.org
5acadfe0b9 Fixed perl warning. 1999-10-19 19:42:49 +00:00
rpotts%netscape.com
5d9dde0e60 bug #15560. Changed the LoadGroup to fire notifications via PLEvents to stop reenterency. 1999-10-19 19:36:07 +00:00
danm%netscape.com
7fc86226d9 added CreateFromIThread. r:valeski@netscape.com 1999-10-19 19:18:27 +00:00
troy%netscape.com
8ed2cc1d26 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
c041069a12 Updated to include new registry entries 1999-10-19 19:06:31 +00:00
selmer%netscape.com
d9ca4e3f07 Removing Recede... 1999-10-19 19:06:29 +00:00
selmer%netscape.com
7fde75cbd9 Putting button names back 1999-10-19 19:04:11 +00:00
shaver%netscape.com
4543b5f224 corrected assembly, from Ulrich Drepper <drepper@cygnus.com> (16612, r=shaver) 1999-10-19 19:03:01 +00:00
pollmann%netscape.com
312e7468d9 Bug 16725: Enable align attribute for iframe; r=harishd 1999-10-19 19:01:49 +00:00
selmer%netscape.com
98c2829864 Interpret functions moved to interpret.cpp; memory allocations cleaned up 1999-10-19 18:58:38 +00:00
leila.garin%eng.sun.com
252a214c3b New perl automated script. 1999-10-19 18:48:53 +00:00
terry%mozilla.org
c484cf50dc Fixed perl warnings. 1999-10-19 16:41:40 +00:00
norris%netscape.com
aec69cc2f4 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
87c84fdd19 Fixed perl warnings. 1999-10-19 16:33:06 +00:00
terry%mozilla.org
39df65d0db 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
fddc259114 Fixed perl warning. 1999-10-19 15:07:27 +00:00
terry%mozilla.org
cb4af7d06e Fix perl warnings. 1999-10-19 15:05:16 +00:00
brade%netscape.com
17a1a0c96d add images from Dan Haddix (r=pavlov@pavlov.net) 1999-10-19 14:53:55 +00:00
bienvenu%netscape.com
08c624a0ca fix ref count logging on nsMimeImpl r=warren 1999-10-19 14:50:09 +00:00
brade%netscape.com
df139c0186 add images from Dan Haddix (r=rods@netscape.com) 1999-10-19 14:44:01 +00:00
troy%netscape.com
abf8a1ff80 Changes to frame property API (code's not being used yet) 1999-10-19 14:41:55 +00:00
rods%netscape.com
ca955c710f 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
7abfbbced9 function for image map editor added (contributed by Dan Haddix) 1999-10-19 13:34:34 +00:00
brade%netscape.com
c8661f28f8 First Checked In. 1999-10-19 13:32:22 +00:00
brade%netscape.com
38efe55f77 add images for Dan Haddix (image map editor) 1999-10-19 13:31:25 +00:00
rods%netscape.com
a82d9806ee 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
969aac994a 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
6138edf03a 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
a1f10b043a Removed old commented out code and unused comments. r=kmcclusk, (no bug) 1999-10-19 11:35:17 +00:00
rods%netscape.com
091b9a4c3a 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
2942a58e82 fixed bug 16584; CRCRLF not handled correctly. r=syd 1999-10-19 08:52:30 +00:00
tbogard%aol.net
6bf524bc9e Removed the last of gimpy's warnings. r=gimpy. 1999-10-19 08:03:11 +00:00
jband%netscape.com
021034bc23 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
cd41cc8e0f Another warning. r=gimpy. 1999-10-19 07:59:20 +00:00
tbogard%aol.net
965b7a1632 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
c234e50cdb Removing gimpy's warnings. r=gimpy. This brings us down to 200. :) 1999-10-19 07:50:55 +00:00
tbogard%aol.net
bf80c61b26 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
bf549cdef1 Add newline at end of file for broken compilers. 1999-10-19 06:40:25 +00:00
beard%netscape.com
abc5e4e01f 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
c897592a24 fixing brendan's copy/paste bug that broke gc. r=shaver 1999-10-19 05:58:07 +00:00
dp%netscape.com
3e35738382 Fixing warning. Moved declaration into if 0 block. 1999-10-19 05:49:04 +00:00
cls%seawood.org
b82455a5f6 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