75301 Commits

Author SHA1 Message Date
naving%netscape.com
683df5eaa9 25589. r=timeless, sr=bienvenu, sspitzer. Adding feature drag and drop of folder.
Thanks to sspitzer and david for good review.


git-svn-id: svn://10.0.0.236/trunk@86107 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 20:21:52 +00:00
locka%iol.ie
a7fd5e9473 Reinstated some lines accidentally removed during porting to nsIWebBrowserSiteWindow. b=46852
git-svn-id: svn://10.0.0.236/trunk@86106 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 19:24:28 +00:00
kin%netscape.com
b9aa3d4ab3 Backing out part of fix for bug #67007 that cause bug #67408. (Can't type newlines in textareas)
a=leaf


git-svn-id: svn://10.0.0.236/trunk@86105 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 16:32:27 +00:00
mkaply%us.ibm.com
75aa25c948 Fix FreeBSD bustage
git-svn-id: svn://10.0.0.236/trunk@86104 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 16:07:50 +00:00
Peter.VanderBeken%pandora.be
20b2c4bb0f Not part of the build. Basic scaffolding for the LDAP datasource.
git-svn-id: svn://10.0.0.236/trunk@86103 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 15:58:09 +00:00
locka%iol.ie
a649731e25 Updated to use new nsIWebBrowserSiteWindow interface. b=46852, sr=blizzard@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@86102 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 15:53:46 +00:00
locka%iol.ie
aebc8bbb67 Changed control to use nsIWebBrowserSiteWindow interface. b=46852, sr=blizzard@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@86101 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 15:49:16 +00:00
dbaron%fas.harvard.edu
355d86274a Fix HPUX bustage. Declaration within class definition shouldn't include class name.
git-svn-id: svn://10.0.0.236/trunk@86100 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 15:31:03 +00:00
mcgreer%netscape.com
1469b41a38 get pk12util working with shared libs. Change ciphersuites to
be disabled by default to allow user control.  Export a couple
more functions to allow ciphersuite preferences.


git-svn-id: svn://10.0.0.236/trunk@86099 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 15:24:29 +00:00
nboyd%atg.com
a8eb3512ae Subject:
Re: [Rhino in Java] compiling .js to class file gives "bad local" error
        Date:
             Wed, 31 Jan 2001 09:41:45 +0100
       From:
             "Sylvia E. Schleutermann" <ses@h-m-s.com>
 Organization:
             .hms Health Management Systems
 Newsgroups:
             netscape.public.mozilla.jseng
  References:
             1 , 2




I have found out some more. Looking really quickly over the JVM specs, I
found that
indeed the astore-command requires that the variables index be below 128.
However,
the book also said that if more index space is needed, a "wide" command can
be used to
be able to address up to 65xxx variables.
Question: is there a possibility to integrate this "wide"-command into the
class compiler?
Some option, that can be set?  Or am I on the wrong tracks?

Please help, since I want to avoid spreading the script over many classes to
avoid the
size limitation. Cheers, Sylvia


Sylvia E. Schleutermann <ses@h-m-s.com> wrote in message
news:956sv9$9g53@secnews.netscape.com...
> I have found out that it is definitely the number of variables.
> I removed all variables and then the script compiled into class files
> with one base class and inner classes for each function in the script.
>
> What is the limitation exactly, i.e. does anyone know how many (global)
> variables
> I can use? Or is there some other kind of work around?
>
> Cheers, Sylvia
>
>
> Sylvia E. Schleutermann <ses@h-m-s.com> wrote in message
> news:956qtv$6kh3@secnews.netscape.com...
> > Hello,
> > when compiling a *.js file to class file, I get a "bad local" runtime
> > exception.
> > Stepping through the source, the following happens in reverse order:
> >
> > Codegen.xstore (75, 58, 209)
> >     -> in the switch - default case, there is a comparison
> >         for local (=209), which is compared to Byte.MAX_VALUE (=127).
> >         When greater, the above exception is thrown.
> >
> > Codegen.astore (209)
> >     -> calls Codegen.xstore (ByteCode.ASTORE_0, ByteCode.ASTORE, 209)
> >
> > Codegen.generatePrologue (<context>, <tree>, true, -1) // -1 is
> > directParameterCount
> >     -> sets itsZeroArgArray = getNewWordLocal(); // here, the 209 is
> > produced
> >     -> calls astore (itsZeroArgArray)
> >
> > From what I can read from the source code, the 209 seems to be a counter
> for
> > "locals", perhaps
> > local variables?? The function that is being compiled does initialize
many
> > variables - would it help
> > to move the initialize code out of the function into separate code
blocks?
> >
> > The function looks like this
> >
> > function rule_Disclaimer()
> > {
> >     try { VAR1 = <init code 1>;} catch (exception) { VAR1 = <default
init
> > code 1>; }
> >     try { VAR2 = <init code 2>;} catch (exception) { VAR2 = <default
init
> > code 2>;}
> >         ... (about 58 such variables)
> >
> >     var cond = true;
> >
> >     < rest of code>
> > }
> >
> > When I compile the script for interpreted mode, all works well. The
> > variables VAR1 to VAR58 are to be global
> > variables (global to the whole script).
> >
> > I appreciate any help! Thanks, Sylvia
> >
> >
>
>


git-svn-id: svn://10.0.0.236/trunk@86098 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 15:20:03 +00:00
mkaply%us.ibm.com
06eaccd0c0 Attempt to fix senna REQUIRES bustage
git-svn-id: svn://10.0.0.236/trunk@86097 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 15:10:30 +00:00
ccarlen%netscape.com
1972d72ae8 Bug 52473 - Add Mac embedding sample to the build.
r=jj@netscape.com, sr=sfraser@netscape.com


git-svn-id: svn://10.0.0.236/trunk@86096 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 15:10:01 +00:00
rbs%maths.uq.edu.au
8d372479e0 [not part of default build] Undo unintended changes, they were not meant for the TB tree
git-svn-id: svn://10.0.0.236/trunk@86095 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 14:43:36 +00:00
locka%iol.ie
f3ebf69fda Updated powerplant sample to use new nsIWebBrowserSiteWindow interface. b=46852, sr=blizzard@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@86094 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 14:28:20 +00:00
rbs%maths.uq.edu.au
f0255f60c7 [not part of default build] Removed debug flag that shouldn't have been left, and corrected some invariants
git-svn-id: svn://10.0.0.236/trunk@86093 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 14:27:38 +00:00
rbs%maths.uq.edu.au
6c09b08bdb [not part of default build] Removed debug flag that shouldn't have been left, and corrected some invariants
git-svn-id: svn://10.0.0.236/trunk@86092 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 14:27:16 +00:00
rbs%maths.uq.edu.au
2af68aa589 [not part of default build] Removed debug flag that shouldn't have been left, and corrected some invariants
git-svn-id: svn://10.0.0.236/trunk@86091 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 14:25:44 +00:00
rbs%maths.uq.edu.au
18aa5409ea [not part of default build] Set the namespace properly
git-svn-id: svn://10.0.0.236/trunk@86090 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 14:01:59 +00:00
mkaply%us.ibm.com
4d9b865091 OS/2 TB breakage
Need cast to pass C++ function


git-svn-id: svn://10.0.0.236/trunk@86089 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 13:54:03 +00:00
locka%iol.ie
b2a449e24d Implemented nsIWebBrowserSiteWindow interface. b=46852, sr=blizzard@mozilla.org
Also added menu option for profile switching.


git-svn-id: svn://10.0.0.236/trunk@86088 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 13:24:50 +00:00
locka%iol.ie
46517b9ccb Changed gtkEmbed to use new nsIWebBrowserSiteWindow interface. b=46852, sr=blizzard@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@86087 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 13:16:58 +00:00
locka%iol.ie
473ef9c888 Changed nsDocShellTreeOwner to call out to embedder's nsIWebBrowserSiteWindow interface instead of nsIBaseWindow. b=46852, sr=blizzard@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@86086 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 12:52:44 +00:00
locka%iol.ie
3a5f5ab229 Added nsIWebBrowserSiteWindow to makefile. b=46852, sr=blizzard@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@86085 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 12:46:14 +00:00
locka%iol.ie
1ae214399f Added nsIWebBrowserSiteWindow.idl. b=46852, sr=blizzard@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@86084 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 12:44:52 +00:00
locka%iol.ie
8526f624b2 Added nsIWebBrowserSiteWindow. sr=blizzard@mozilla.org, b=46852
git-svn-id: svn://10.0.0.236/trunk@86083 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 12:41:14 +00:00
locka%iol.ie
56bdefe743 New nsIWebBrowserSiteWindow interface - contains the 'up' set of functions from nsIBaseWindow making it easier for embedders to implement. b=46852, sr=blizzard@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@86082 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 12:39:35 +00:00
Peter.VanderBeken%pandora.be
71adac432a [not part of the build] ... and should use srcdir.
git-svn-id: svn://10.0.0.236/trunk@86081 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 11:46:41 +00:00
hyatt%netscape.com
5cc9bc1805 Checking in some sample interfaces. Not part of build.
git-svn-id: svn://10.0.0.236/trunk@86080 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 11:42:40 +00:00
hyatt%netscape.com
ef54e960f9 Checking in some sample interfaces. Not part of build.
git-svn-id: svn://10.0.0.236/trunk@86079 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 11:33:15 +00:00
jst%netscape.com
415d2aa8a8 Fixing bug 64755. Moving code around to make plugins instantiated from an <object> tag be scriptable. r=pollmann@netscape.com, sr=hyatt@netscape.com
git-svn-id: svn://10.0.0.236/trunk@86078 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 11:31:08 +00:00
hyatt%netscape.com
e223af8c66 Checking in some sample interfaces. Not part of build.
git-svn-id: svn://10.0.0.236/trunk@86077 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 11:29:48 +00:00
hyatt%netscape.com
4c7e9c7a27 Checking in some sample interfaces. Not part of build.
git-svn-id: svn://10.0.0.236/trunk@86076 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 11:25:11 +00:00
Peter.VanderBeken%pandora.be
6959fe472a [not part of the build] Should use unix path-separators.
git-svn-id: svn://10.0.0.236/trunk@86075 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 11:15:27 +00:00
jband%netscape.com
6afc607467 the rest of the fix for bug 66950 to add nsISupportsWeakReference support of xpconnect wrapped JSObjects. r=rogerl sr=brendan
git-svn-id: svn://10.0.0.236/trunk@86074 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 10:01:56 +00:00
rbs%maths.uq.edu.au
10d8142923 [not part of default build] Set the namespace properly
git-svn-id: svn://10.0.0.236/trunk@86073 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 09:52:22 +00:00
rbs%maths.uq.edu.au
a43a702f6b Remove obsolete file
git-svn-id: svn://10.0.0.236/trunk@86072 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 09:47:24 +00:00
rbs%maths.uq.edu.au
617801e196 [not part of default build] MathFont Property Files. The Operator Dictionary and stretchy characters can now be described in external extensible lists - Another pass will be needed to remove the PUA codes and switch to the recently approved Unicode points of MathML characters
git-svn-id: svn://10.0.0.236/trunk@86071 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 09:41:27 +00:00
rbs%maths.uq.edu.au
64f671ecde [not part of default build] Removed the static ctors and the hard-coding of the mutable characters. These characters and their attributes are now described in external extensible sets of MathFont property files
git-svn-id: svn://10.0.0.236/trunk@86070 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 09:40:53 +00:00
rbs%maths.uq.edu.au
69af6767db [not part of default build] Recover from API changes and improve the position of the index in mroot to eliminate the risk of collision with the sqrt symbol
git-svn-id: svn://10.0.0.236/trunk@86069 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 09:39:18 +00:00
rbs%maths.uq.edu.au
18baf8bf80 [not part of default build] Recover from API changes and update the compression flag to match TeX
git-svn-id: svn://10.0.0.236/trunk@86068 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 09:38:48 +00:00
rbs%maths.uq.edu.au
6e0b6f967b [not part of default build] Merged my tree with Shyjan changes, enabling the italic correction, the inter-frame spacing, and the support for moveablimits. Updated the returned bounding metrics to keep the bounding boxes aligned in the visual debug mode
git-svn-id: svn://10.0.0.236/trunk@86067 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 09:37:14 +00:00
rbs%maths.uq.edu.au
9d96f961ad [not part of default build] API changes
git-svn-id: svn://10.0.0.236/trunk@86066 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 09:35:28 +00:00
rbs%maths.uq.edu.au
b470d417d0 [not part of default build] Operator Dictionary - reworked the code to use a hashtable instead of an AVL tree. Allowed lazy population of the dictionary from the MathFont property file. Added helper methods so that nsMathMLChar can now query the dictionary for attributes of stretchy operators instead of keeping its own separate data
git-svn-id: svn://10.0.0.236/trunk@86065 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 09:34:15 +00:00
rbs%maths.uq.edu.au
0df4be4513 [not part of default build] Added atoms for the 'types' of MathML frames
git-svn-id: svn://10.0.0.236/trunk@86064 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 09:33:38 +00:00
jband%netscape.com
19a022fd40 the rest of the fix for bug 67258 to avoid empry Components.results and the similar pattern in nsJSIID. r=dmose sr=brendan
git-svn-id: svn://10.0.0.236/trunk@86063 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 08:57:47 +00:00
jband%netscape.com
34256201c6 backing out two changed inadvertantly committed!
git-svn-id: svn://10.0.0.236/trunk@86062 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 08:52:22 +00:00
jband%netscape.com
9806ddbcdd part of the fix for bug 67258 to avoid empry Components.results. r=dmose sr=brendan xpccomponents.cpp
git-svn-id: svn://10.0.0.236/trunk@86061 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 08:48:28 +00:00
jband%netscape.com
5c45f126ae part of the fix to bug 66950. Add support for cheaply tracking the lifetime of arbitrary JSObject by extending the GC callback mechanism to notify after marking is done but before sweeping, and by providing an api function that can be called at that point to determine if any given gcthing is about to be finalized. r=rogerl sr=brendan
git-svn-id: svn://10.0.0.236/trunk@86060 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 08:44:24 +00:00
rods%netscape.com
5b130d03e0 Added UI for printing selectd frame
Bug 66783 r=kmcclusk,ben,dcone sr=buster


git-svn-id: svn://10.0.0.236/trunk@86059 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 08:42:53 +00:00
jband%netscape.com
121ec88311 part of the fix to bug 66950. For xpconnect the class we mixin to sometimes needs to know if any weak references are outstanding. r=rogerl sr=brendan
git-svn-id: svn://10.0.0.236/trunk@86058 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 08:40:01 +00:00