44313 Commits

Author SHA1 Message Date
selmer%netscape.com
36bb330940 Created new Interpret.cpp & CInterpret class
git-svn-id: svn://10.0.0.236/trunk@50408 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 01:54:00 +00:00
rbs%maths.uq.edu.au
328d62f08f [MathML] removing registration hooks. They are now handled by nsLayoutModule.
git-svn-id: svn://10.0.0.236/trunk@50407 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 01:48:05 +00:00
warren%netscape.com
6a952509ef Lowercased idl method names for scriptability. Cleaned up nsIURL interface.
git-svn-id: svn://10.0.0.236/trunk@50406 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 01:39:37 +00:00
peterl%netscape.com
3295631735 store system colors as int rather than enums
return proper result code when setting system color
r=rods


git-svn-id: svn://10.0.0.236/trunk@50405 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 01:31:33 +00:00
slamm%netscape.com
f12855c796 Remove extra 'mozilla/' in cvsblame'd source link.
git-svn-id: svn://10.0.0.236/trunk@50404 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 01:25:47 +00:00
rbs%maths.uq.edu.au
121acfa205 [MathML] Setting a bolean to PR_TRUE to allow generated pseudo content (e.g., :before, :after) in MathML.
git-svn-id: svn://10.0.0.236/trunk@50403 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 01:19:34 +00:00
cathleen%netscape.com
01eb918031 fix mac packager list, bug 16141, r=ssu
git-svn-id: svn://10.0.0.236/trunk@50402 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 01:11:42 +00:00
selmer%netscape.com
63d606d58f Fix up inclusions of headers
git-svn-id: svn://10.0.0.236/trunk@50401 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 00:56:51 +00:00
pavlov%netscape.com
8f331211d9 fix cursor blinking on linux r=ramiro
git-svn-id: svn://10.0.0.236/trunk@50400 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 00:44:07 +00:00
alecf%netscape.com
e2e17b4ff5 finish landing nsIModule for compose
this and my last checkin r=sspizter
no bug, porkjockey work


git-svn-id: svn://10.0.0.236/trunk@50399 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 00:37:39 +00:00
alecf%netscape.com
d5785373e3 land nsIModule for mail compose
git-svn-id: svn://10.0.0.236/trunk@50398 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 00:34:06 +00:00
peterl%netscape.com
1299fd6c0b better result code testing in recreate frames for content
part of fix for 14134
r=pierre


git-svn-id: svn://10.0.0.236/trunk@50397 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 00:32:13 +00:00
peterl%netscape.com
7021f197de added ignore value to user-focus
r=hyatt


git-svn-id: svn://10.0.0.236/trunk@50396 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 00:30:54 +00:00
peterl%netscape.com
df37832d89 added 'ignore' keyword
r=hyatt


git-svn-id: svn://10.0.0.236/trunk@50395 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 00:30:19 +00:00
warren%netscape.com
6d83d361f0 Fixed bloat snapshotting capabilities. r=kipp
git-svn-id: svn://10.0.0.236/trunk@50394 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 00:29:54 +00:00
warren%netscape.com
93c11dbc7d Added NS_LOG_RELEASE for bloat stats. r=kmcclusk
git-svn-id: svn://10.0.0.236/trunk@50393 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 00:28:14 +00:00
ssu%netscape.com
6a84236160 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
git-svn-id: svn://10.0.0.236/trunk@50392 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 00:23:37 +00:00
peterl%netscape.com
8b985c46d4 fix return type for append reflow command (was returning PRBool for nsresult)
part of fix for 14134
r=pierre


git-svn-id: svn://10.0.0.236/trunk@50391 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 00:23:10 +00:00
peterl%netscape.com
bd0a1b5cb4 dont strip multiple changes with nsnull frames
part of fix for 14134
r=pierre


git-svn-id: svn://10.0.0.236/trunk@50390 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 00:22:18 +00:00
peterl%netscape.com
b765a3d4c4 add 'ignore' to user focus
r=hyatt


git-svn-id: svn://10.0.0.236/trunk@50389 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 00:21:06 +00:00
dougt%netscape.com
06ac17fb62 fixes bug 15709. r=dveditz.
git-svn-id: svn://10.0.0.236/trunk@50388 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 00:20:23 +00:00
evaughan%netscape.com
4dbf02b9bd added files: mozilla/view/src/nsScrollPortView.cpp
git-svn-id: svn://10.0.0.236/trunk@50387 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 00:16:34 +00:00
sspitzer%netscape.com
da4d6e495b fix for #16098, r=mscott. Now we have "Mozilla Profile Manager" for the mac, which is the same as -ProfileManager on the other platforms
git-svn-id: svn://10.0.0.236/trunk@50386 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 00:16:31 +00:00
evaughan%netscape.com
b6c93b5c5c Integrated Gfx scrollbars.
git-svn-id: svn://10.0.0.236/trunk@50385 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 00:16:06 +00:00
mscott%netscape.com
6d6b3023f8 support nsIStreamObserver to get rid of an assert in necko.
r=sspitzer


git-svn-id: svn://10.0.0.236/trunk@50384 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 00:13:45 +00:00
cbegle%netscape.com
d31b3296a7 new files.
new tests for xpconnect.  r=jband.


git-svn-id: svn://10.0.0.236/trunk@50383 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 00:12:43 +00:00
varada%netscape.com
bb0622beb7 changing minlen and maxlen in edit fields
git-svn-id: svn://10.0.0.236/trunk@50382 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 00:12:10 +00:00
alecf%netscape.com
342865f5fe was not setting the "type" attribute during CreateIncomingServer
fixes #16075
r=sspitzer


git-svn-id: svn://10.0.0.236/trunk@50381 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 00:07:14 +00:00
varada%netscape.com
e6f4dfa6bc bug #5958 validating entering of characters in the newconfigdialog edit fields
git-svn-id: svn://10.0.0.236/trunk@50380 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 00:05:38 +00:00
kmcclusk%netscape.com
f52acaed14 Implemented nsRenderingContextWin::CopyClipRegion. bug 13913; r=rods@netscape.com
git-svn-id: svn://10.0.0.236/trunk@50379 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 00:05:04 +00:00
ducarroz%netscape.com
888a71ee23 Fix for bug 15235 & 14785. I checkin this for jefft. Messages need to be save using platform specific line break. R=ducarroz
git-svn-id: svn://10.0.0.236/trunk@50378 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 00:03:17 +00:00
kmcclusk%netscape.com
90932ba7f3 Changed WIN32 windows style from WS_EX_CLIENTEDGEto WS_EX_WINDOWEDGE to
stop drawing client windows sunken. bug=15151; r=rods@netscape.com


git-svn-id: svn://10.0.0.236/trunk@50377 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-11 23:56:55 +00:00
rods%netscape.com
b845870367 changed fonts for select and optgroup to match r=kmcclusk b=12230
git-svn-id: svn://10.0.0.236/trunk@50376 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-11 23:48:41 +00:00
varada%netscape.com
c3b9e376e5 fix to bug #15339- added SetForegroundWindowin the OnSetActive code in the wizardui.cpp
git-svn-id: svn://10.0.0.236/trunk@50375 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-11 23:47:49 +00:00
nhotta%netscape.com
59ee43f7fc Adding a new interface which does a charset conversion plus NE and NCR for fallback. Part of bug fix #8865, r=ftang.
git-svn-id: svn://10.0.0.236/trunk@50374 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-11 23:47:27 +00:00
rods%netscape.com
a30fed502d removed css system color references (not implemented on Mac yet)
changed all checkbox borders to 2 pixels r=kmcclusk b=13854


git-svn-id: svn://10.0.0.236/trunk@50373 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-11 23:44:36 +00:00
nisheeth%netscape.com
d65bc1efa0 We now use the new RAPTOR_STOPWATCH_DEBUGTRACE macro to annotate all manipulations of the timers.
git-svn-id: svn://10.0.0.236/trunk@50372 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-11 23:42:56 +00:00
nisheeth%netscape.com
932343b896 Changes not part of build. We now use the new RAPTOR_STOPWATCH_DEBUGTRACE macro to annotate all manipulations of the timers.
git-svn-id: svn://10.0.0.236/trunk@50371 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-11 23:33:14 +00:00
nisheeth%netscape.com
4443e74058 Changes not part of build. Added a debug trace macro that outputs to the console only when DEBUG_STOPWATCH is defined.
git-svn-id: svn://10.0.0.236/trunk@50370 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-11 23:30:45 +00:00
rogerl%netscape.com
9a868467c2 NOT A PART OF SEAMONKEY BUILD
- fixed test ECMA references,
- added test to -002


git-svn-id: svn://10.0.0.236/trunk@50368 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-11 22:59:25 +00:00
norris%netscape.com
6a9e7e63c8 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


git-svn-id: svn://10.0.0.236/trunk@50367 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-11 22:48:13 +00:00
rogerl%netscape.com
2fc190da13 NOT A PART OF SEAMONKEY BUILD
- removed redundant test & fixed test for 'super' to detect syntax error


git-svn-id: svn://10.0.0.236/trunk@50366 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-11 22:38:40 +00:00
varada%netscape.com
d6fa660ea6 #6569 adding Message function to OnNext handler
git-svn-id: svn://10.0.0.236/trunk@50365 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-11 22:30:02 +00:00
varada%netscape.com
2c4f182411 #15327 changing minlen to maxlen
git-svn-id: svn://10.0.0.236/trunk@50364 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-11 22:28:59 +00:00
sfraser%netscape.com
159030e89c 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
git-svn-id: svn://10.0.0.236/trunk@50362 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-11 21:19:47 +00:00
terry%mozilla.org
c140cc2ce4 Got rid of silly debugging hack.
git-svn-id: svn://10.0.0.236/trunk@50361 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-11 21:19:46 +00:00
sfraser%netscape.com
8023b08ebc 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.


git-svn-id: svn://10.0.0.236/trunk@50360 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-11 21:19:06 +00:00
terry%mozilla.org
c90da152c8 Sort votes in decreasing order, not increasing.
git-svn-id: svn://10.0.0.236/trunk@50359 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-11 21:17:17 +00:00
leaf%mozilla.org
f9f813ef1c removing multiple include of mozilla/silentdl from raptor modules
git-svn-id: svn://10.0.0.236/trunk@50357 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-11 19:48:28 +00:00
slamm%netscape.com
8fad354f5e Remove '-test' from output file name
git-svn-id: svn://10.0.0.236/trunk@50356 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-11 19:46:59 +00:00