Commit Graph

53979 Commits

Author SHA1 Message Date
ftang%netscape.com
8b7f1cf9c7 fix bug 14802, reviewed by harishd
git-svn-id: svn://10.0.0.236/trunk@49008 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-24 21:50:48 +00:00
briano%netscape.com
d61d3223bb Added a newline to the end of the file. Fix for Unix native compiler builds.
git-svn-id: svn://10.0.0.236/trunk@49007 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-24 21:47:16 +00:00
mscott%netscape.com
7aa73333f3 Bug #14813 --> we are leaking nsIURIs that went through SetNewDocument and GetPrincipal. I also took out a few
necko #ifdefs' while I was here.
r=vidur, a=leaf.


git-svn-id: svn://10.0.0.236/trunk@49006 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-24 21:06:01 +00:00
norris%netscape.com
9ac59bacd6 Shorten name to make Mac developers happy.
git-svn-id: svn://10.0.0.236/trunk@49005 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-24 21:05:41 +00:00
mscott%netscape.com
ca3ddf1f71 Bug #14813 --> we are leaking all nsIURI's that go through here. Using a nsCOMPtr fixes the leak.
r=vidur, a=leaf.


git-svn-id: svn://10.0.0.236/trunk@49004 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-24 21:03:58 +00:00
sspitzer%netscape.com
297024319a fix some pref migration problems (on the Mac) and fix URI parsing code.
this fixes part or all of the following bugs:   #14619 #14689 #14591
a=leaf, r=jefft


git-svn-id: svn://10.0.0.236/trunk@49003 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-24 20:42:46 +00:00
norris%netscape.com
8d83a6f90d Patches from Kurt Westerfeld for JavaScript property access to JavaBeans.
Subject:
        Re: [Fwd: [Bug 13658] Changed - Rhino: null pointer exception on class with duplicate field/method]
   Date:
        Mon, 13 Sep 1999 20:57:32 -0400
   From:
        "Kurt Westerfeld" <kurt@westerfeld.com>
     To:
        "Norris Boyd" <norris@netscape.com>




I do have a patch for this, but it is intermixed with some other changes
that I have implemented for the get/set on Java instances (per my LC3
proposal).  The bug requires changes that are a little involved actually;
basically it seems that when getting the default value for a "field and
methods" (which combines the same-named entities), the prototype of the
parent scope is deref-ed, and the parent scope is null.  Hence, the scope
must be passed into the the cloned field and method values.

Also, the NativeJavaClass implementation passed "false" for isStatic on the
constructor of the FieldAndMethods Hashtable, which results in classes
having instance methods.  Bad.  I haven't filed a bug on that yet.
Additionally, I fixed a couple other NullPointerException nigglies thrown in
when exceptions are propagated in the same area.  Finally, when getting the
default value for the field, it is helpful to convert a Scriptable to string
when that is requested (as when typing in the console).

I am attaching the changed files.  The LC3++ code can be removed if you
want, which I can do for you but it will take a little longer.  What is your
preference?

-----Original Message-----
From: Norris Boyd <norris@netscape.com>
To: Kurt Westerfeld <kurt@westerfeld.com>
Date: Monday, September 13, 1999 4:54 PM
Subject: [Fwd: [Bug 13658] Changed - Rhino: null pointer exception on class
with duplicate field/method]


>Kurt,
>
>Is this the bug that your patch fixes?
>
>Thanks,
>Norris
>


git-svn-id: svn://10.0.0.236/trunk@49002 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-24 20:41:43 +00:00
waterson%netscape.com
adfca74bf9 Fix mac build bustage.
git-svn-id: svn://10.0.0.236/trunk@49001 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-24 20:39:26 +00:00
norris%netscape.com
63f9f43324 Remove '.js' from SECTION.
git-svn-id: svn://10.0.0.236/trunk@49000 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-24 20:16:55 +00:00
mcafee%netscape.com
3d38b60dab Adding single quotes so that pref-appearance.xul gets loaded properly (14663). a=leaf, r=akkana
git-svn-id: svn://10.0.0.236/trunk@48999 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-24 20:15:49 +00:00
akkana%netscape.com
e56093a25c 14862: Send proper triple-click count on Linux. a=leaf/r=pavlov
git-svn-id: svn://10.0.0.236/trunk@48998 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-24 20:08:53 +00:00
norris%netscape.com
734180f200 Propagate files from old netscape code.
git-svn-id: svn://10.0.0.236/trunk@48997 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-24 20:05:59 +00:00
waterson%netscape.com
a82ecc3d56 Bug 14754. Shore up unregistration; verify that datasource matches URI to be unregistered. Be 'quiet' if it doesn't.
git-svn-id: svn://10.0.0.236/trunk@48996 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-24 19:54:36 +00:00
waterson%netscape.com
9b9498aa71 Bug 14755. Guard against multiple simlutaneous 'Refresh()' calls issuing several URL loads. r=rjc, a=chofmann
git-svn-id: svn://10.0.0.236/trunk@48995 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-24 19:52:42 +00:00
waterson%netscape.com
ce199baf45 Bug 14754. Support '.database' attribute on HTML elements. Fix ref='...' support for HTML templates. r=rjc, a=chofmann
git-svn-id: svn://10.0.0.236/trunk@48994 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-24 19:49:15 +00:00
waterson%netscape.com
898dd42e07 Bug 14752. Support '.database' attribute on HTML elements. Fix ref='...' support for HTML templates. r=rjc, a=chofmann
git-svn-id: svn://10.0.0.236/trunk@48993 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-24 19:49:12 +00:00
nisheeth%netscape.com
e0adc95ff5 a=chofmann, all changes are within an ifdef and are not being built by default
- Add ifdefs around the contents of the header file so that it doesn't get included multiple times.
- Change RAPTOR_STOPWATCH_TRACE macro to use a printf rather than NSPR logs until I figure out why the log isn't working.


git-svn-id: svn://10.0.0.236/trunk@48992 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-24 19:30:54 +00:00
nisheeth%netscape.com
a511a1d64d a=chofmann. If MOZ_PERF is defined in the environment, set up the RAPTOR_PERF_METRICS compiler define for windows.
git-svn-id: svn://10.0.0.236/trunk@48991 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-24 19:26:00 +00:00
terry%mozilla.org
d8dc2f6fd7 Patch by holger@holger.om.org (Holger Schurig) -- more fixups to put proper header on pages.
git-svn-id: svn://10.0.0.236/trunk@48990 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-24 19:15:51 +00:00
robinf%netscape.com
51227d7592 removed product name references; fixed WinNt widget display bugs
git-svn-id: svn://10.0.0.236/trunk@48989 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-24 18:59:51 +00:00
slamm%netscape.com
9a15e8827b Add back extra columns within comments. No bug number (they are just comments). a=chofmann.
git-svn-id: svn://10.0.0.236/trunk@48988 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-24 18:56:51 +00:00
robinf%netscape.com
7c18b170ef edited text in New Configuration dialog per Bijal's comments; removed last paragraph.
git-svn-id: svn://10.0.0.236/trunk@48987 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-24 18:54:13 +00:00
norris%netscape.com
78fc4f7d32 Implement the "cast" of java class objects so that js objects in java adapters can
use 'this' for the implemented java interface.


git-svn-id: svn://10.0.0.236/trunk@48986 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-24 18:20:08 +00:00
slamm%netscape.com
3d6daf3a60 Send stocks privately. A number of people including me would rather not see the stock number flying by all the time.
git-svn-id: svn://10.0.0.236/trunk@48985 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-24 18:19:01 +00:00
beard%netscape.com
027ec65e17 Added "generateSuper" which generates a method called "super$method()" which when called calls "super.method()." This is provided to support full sub-classing of Java classes from JavaScript.
git-svn-id: svn://10.0.0.236/trunk@48984 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-24 18:17:05 +00:00
ducarroz%netscape.com
74601c8d5d Need to populate personal addressbook
Fix for bug 14568, R=mscott, A=chofmann


git-svn-id: svn://10.0.0.236/trunk@48983 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-24 17:38:49 +00:00
kipp%netscape.com
02327da0cf Refixed bug #10496 - a=choffman, r=troy
git-svn-id: svn://10.0.0.236/trunk@48982 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-24 17:23:33 +00:00
troy%netscape.com
f439c3f2b4 Fix for bug #14814. Changed GetFloaterContainingBlock() to also check for floated
or absolutely positioned inline elements


git-svn-id: svn://10.0.0.236/trunk@48981 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-24 17:14:19 +00:00
beard%netscape.com
594e0d302c added a prototype field, so that a wrapped JavaAdapter can preserve the delegate object's original prototype chain.
git-svn-id: svn://10.0.0.236/trunk@48980 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-24 16:52:23 +00:00
beard%netscape.com
35b28d6457 setAdapterProto: now splices in wrapper's prototype, rather than replacing object's original prototype chain. seems to work fine.
git-svn-id: svn://10.0.0.236/trunk@48979 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-24 16:51:25 +00:00
dcone%netscape.com
181ceff44c Added a Release.. to fix a leak
git-svn-id: svn://10.0.0.236/trunk@48977 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-24 13:49:12 +00:00
dcone%netscape.com
b24a03891e Took out some Addrefs, causing leaks
git-svn-id: svn://10.0.0.236/trunk@48976 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-24 13:48:40 +00:00
nisheeth%netscape.com
351d8f1643 Use NSPR logging rather than printf's for stopwatch output.
git-svn-id: svn://10.0.0.236/trunk@48975 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-24 08:57:36 +00:00
nisheeth%netscape.com
bf42b552d5 a=chofmann. Add NSPR logging facilities to the stopwatch code. Make Print() dump stopwatch info to the NSPR log. Set NSPR_LOG_MODULES=gecko_timing:1 in your environment to get timing logs printed to the file specified in the NSPR_LOG_FILE environment variable.
git-svn-id: svn://10.0.0.236/trunk@48974 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-24 08:39:43 +00:00
nisheeth%netscape.com
b6b8bf59c1 Move the message that announces that time is being measured for layout processes from the content sink to the webshell.
git-svn-id: svn://10.0.0.236/trunk@48973 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-24 07:19:44 +00:00
nisheeth%netscape.com
0b3c75b092 a=chofmann. Include time spent in ProbePseudoStyleFor() in time measurement of style resolution.
git-svn-id: svn://10.0.0.236/trunk@48972 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-24 07:16:20 +00:00
nisheeth%netscape.com
f622365890 Stop printing out the total time measurement in the parser. Do this measurement up in the webshell.
git-svn-id: svn://10.0.0.236/trunk@48971 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-24 07:14:42 +00:00
nisheeth%netscape.com
afade16145 a=chofmann. Add a stopwatch to measure total (layout+page load) time in the webshell.
git-svn-id: svn://10.0.0.236/trunk@48970 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-24 07:13:39 +00:00
mscott%netscape.com
036b0fe6dd Bug #14816 --> we were leaking a nsIPrincipal object in AddScriptEventListener which could be remedied using a nsCOMPtr.
Also clean up for insufficient rv useage, un-commoned JSPRINCIPALS_DROP and improving the control flow for readability.

These changes are actually Brendan's...i'm checking this in on his behalf.
r=mscott. a=brendan


git-svn-id: svn://10.0.0.236/trunk@48969 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-24 06:49:33 +00:00
dp%netscape.com
5bdd1188d8 Releasing servMgr if one is passed in to match NS_InitXPCOM()
git-svn-id: svn://10.0.0.236/trunk@48968 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-24 06:26:17 +00:00
mscott%netscape.com
b984d23c63 Bug #14815 --> fix some ref counting problems between nsJSPrincipal and nsCodebasePrincipal. nsCodeBasePrinciapl
was always getting leaked. And since it held onto the document's nsIURI, our uri's were getting leaked to.
r=brendan,a=chofmann.


git-svn-id: svn://10.0.0.236/trunk@48967 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-24 06:18:55 +00:00
dp%netscape.com
13c49140b0 Removing unused servMgr.
git-svn-id: svn://10.0.0.236/trunk@48966 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-24 06:07:19 +00:00
dp%netscape.com
c0b29522e2 Removing unused servicemanager in Init and Shudown XPCOM.
git-svn-id: svn://10.0.0.236/trunk@48965 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-24 06:05:28 +00:00
pinkerton%netscape.com
d9aad24d74 remove references to cmd/macfe in the access paths.
git-svn-id: svn://10.0.0.236/trunk@48964 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-24 05:56:50 +00:00
waterson%netscape.com
adbbff32b3 Bug 11661. Fix <menu> templates to include <menupopup> children.
git-svn-id: svn://10.0.0.236/trunk@48963 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-24 05:44:04 +00:00
waterson%netscape.com
a6bb4901f0 Bug 11661. Make nsPopupMenuFrame override DidReflow() because we want to do our own special view management. Fix nsMenuFrame::Dirty() to compute the correct 'incrementalChild'.
git-svn-id: svn://10.0.0.236/trunk@48962 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-24 05:22:55 +00:00
sfraser%netscape.com
9dec935cc2 Fix for 14804 -- make double-click handling better. r pierre, a chofmann.
git-svn-id: svn://10.0.0.236/trunk@48961 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-24 04:52:04 +00:00
pinkerton%netscape.com
d24760358a fix for bug #14782 (reflowing window chrome mousing over links with long urls). rev sdagley, appr chofmann.
git-svn-id: svn://10.0.0.236/trunk@48960 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-24 04:45:16 +00:00
idk%eng.sun.com
6e4e777b7d Removed hack for jdk
updated readme file


git-svn-id: svn://10.0.0.236/trunk@48959 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-24 04:12:09 +00:00
idk%eng.sun.com
cbb9784ee6 Added PlugletPolicy class.
Granted AllPermissions for each pluglet


git-svn-id: svn://10.0.0.236/trunk@48958 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-24 04:10:00 +00:00