35616 Commits

Author SHA1 Message Date
karnaze%netscape.com
dae2a67ef1 additonal test cases, changed file:// to file:/// in file lists
git-svn-id: svn://10.0.0.236/trunk@42238 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-05 00:08:33 +00:00
slamm%netscape.com
060ef8b885 Hack the dtd URIs for now. The directories will need to be restructured a bit to fix this correctly.
git-svn-id: svn://10.0.0.236/trunk@42237 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-05 00:08:09 +00:00
edburns%acm.org
0392278071 Kirk Baker <kbaker@eb.com> changed config/common.mk at line 84 to:
JAVAC_CLASSPATH =
$(JAVAC_ZIP)$(PATH_SEPARATOR)$(JAVA_DESTPATH)$(PATH_SEPARATOR)$(JAVA_SOURCEP
ATH)

I changed line 98 to:
JAVAH_FLAGS = -classpath $(JAVAC_ZIP)$(PATH_SEPARATOR)$(JAVA_DESTPATH)


git-svn-id: svn://10.0.0.236/trunk@42236 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-05 00:06:32 +00:00
mscott%netscape.com
8a17fbee94 yuck..we are referring to the implementation nsMsgCompFields here instead of through the interface.
that's not good..
use newSetAsciiHeader method


git-svn-id: svn://10.0.0.236/trunk@42235 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-04 23:59:25 +00:00
mscott%netscape.com
ff69ac1938 We were overloading SetHeader which was a method in an interface (nsIMsgCompFields) which we inherited from. This was hiding the
interface method and was generating a warning on some platforms.
Fix --> change second definition of SetHeader to be SetAsciiHeader nsMsgCompFields.cpp


git-svn-id: svn://10.0.0.236/trunk@42234 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-04 23:58:57 +00:00
robinf%netscape.com
07532775e0 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@42233 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-04 23:58:33 +00:00
robinf%netscape.com
47a33dc3e9 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@42232 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-04 23:47:39 +00:00
slamm%netscape.com
a4b8fb94c8 Recommit. Add entity files.
git-svn-id: svn://10.0.0.236/trunk@42231 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-04 23:45:32 +00:00
slamm%netscape.com
4eb69a2196 Not ready yet. back out.
git-svn-id: svn://10.0.0.236/trunk@42230 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-04 23:43:05 +00:00
slamm%netscape.com
d542adcada Move entities into dtd files.
git-svn-id: svn://10.0.0.236/trunk@42229 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-04 23:40:49 +00:00
rogerl%netscape.com
0c56f34afc Fixed tests for back-reference case
git-svn-id: svn://10.0.0.236/trunk@42228 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-04 23:40:13 +00:00
rogerl%netscape.com
a5ad66924f Fixed off by one error and expected output text.
git-svn-id: svn://10.0.0.236/trunk@42227 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-04 23:38:34 +00:00
danm%netscape.com
ce6ff3ce6a enable non-chrome window.open for platforms other than Windows
git-svn-id: svn://10.0.0.236/trunk@42226 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-04 23:26:21 +00:00
norris%netscape.com
b4bfaa137d Fix problem found by Andrew Wason <aw@softcom.com>:
Subject:
        null arguments
   Date:
        Wed, 04 Aug 1999 13:22:35 -0400
   From:
        Andrew Wason <aw@softcom.com>
     To:
        norris@netscape.com
    CC:
        Howard Lin <howard@softcom.com>




When I try to pass a null argument to an interface implemented in JS, I get:

js: Cannot convert null to an object.
js: uncaught JavaScript exception:
org.mozilla.javascript.EvaluatorException: Cannot convert null to an object.


var b = new Packages.javax.swing.border.Border() {
        getBorderInsets : function(c) {
                return new Insets(0,0,0,0);
        }
};
b.getBorderInsets(null);


Here is the stack trace where the exception is happening:

java.lang.reflect.InvocationTargetException:
org.mozilla.javascript.EvaluatorException: Cannot convert null to an object.
         at
org.mozilla.javascript.tools.ToolErrorReporter.runtimeError(ToolErrorReporte
r.java:106)
         at org.mozilla.javascript.Context.reportRuntimeError(Context.java:484)
         at org.mozilla.javascript.Context.reportRuntimeError(Context.java:500)
         at
org.mozilla.javascript.ScriptRuntime.toObject(ScriptRuntime.java:529)
         at org.mozilla.javascript.Context.toObject(Context.java:1107)
         at adapter0.getBorderInsets(<adapter>)
         at java.lang.reflect.Method.invoke(Native Method)
         at
org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java,
Compiled Code)
         at org.mozilla.javascript.ScriptRuntime.call(ScriptRuntime.java:1256)
         at org.mozilla.javascript.Interpreter.interpret(Interpreter.java,
Compiled Code)
         at
org.mozilla.javascript.InterpretedScript.call(InterpretedScript.java:49)
         at
org.mozilla.javascript.InterpretedScript.exec(InterpretedScript.java:37)
         at org.mozilla.javascript.Context.evaluateReader(Context.java:691)
         at
org.mozilla.javascript.tools.shell.Main.processSource(Main.java, Compiled Code)
         at org.mozilla.javascript.tools.shell.Main.main(Main.java:146)


Context.toObject does not allow wrapping nulls.
JavaAdapter.generateOverride should generate bytecode to check if an
argument is null and if it is not call Context.toObject.

I'll take a look at fixing this after the other JavaAdapter patches get
checked in so we don't get out of sync.

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


git-svn-id: svn://10.0.0.236/trunk@42225 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-04 23:14:57 +00:00
slamm%netscape.com
e41f40421f Fix bug #9925: Down arrow behaves incorrectly.
git-svn-id: svn://10.0.0.236/trunk@42224 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-04 23:10:56 +00:00
robinf%netscape.com
430f5af73b *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@42223 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-04 23:05:21 +00:00
radha%netscape.com
48ad7d0565 Don't load a page thro' necko when going to a anchor with in the same page or going
back from an anchor to the top of the page. Modify
EqualBaseURL() so that it will do the right thing.


git-svn-id: svn://10.0.0.236/trunk@42222 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-04 22:46:49 +00:00
radha%netscape.com
7ce7726d0d Pass url load type LOAD_HISTORY when loading a url due to a back or forward button click
git-svn-id: svn://10.0.0.236/trunk@42221 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-04 22:44:59 +00:00
radha%netscape.com
892c5d155a Add a new loading type LOAD_HISTORY
git-svn-id: svn://10.0.0.236/trunk@42220 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-04 22:44:13 +00:00
rogerl%netscape.com
fe3d1f0753 The lastIndex property is defined to be an integer which we're allowed to
keep as 32 bits, so the tests for 33 bits were too demanding.


git-svn-id: svn://10.0.0.236/trunk@42219 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-04 22:27:31 +00:00
rogerl%netscape.com
831a14fdaf Missing '\' before \n. Trailing '|' in expected output was not correct.
git-svn-id: svn://10.0.0.236/trunk@42218 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-04 22:26:07 +00:00
rogerl%netscape.com
4c5f8c91da Was using 'g' flag instead of 'm' and wasn't really testing the multiline
functionality (assuming I interpreted the intent correctly).


git-svn-id: svn://10.0.0.236/trunk@42217 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-04 22:24:57 +00:00
hoa.nguyen%intel.com
cec613201f Build bustage.
git-svn-id: svn://10.0.0.236/trunk@42216 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-04 22:10:54 +00:00
valeski%netscape.com
aa34ec2e6c we're now returning load url error codes out
git-svn-id: svn://10.0.0.236/trunk@42215 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-04 21:45:06 +00:00
nhotta%netscape.com
0c146898d9 Added progid/cid to idl and interface change.
git-svn-id: svn://10.0.0.236/trunk@42214 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-04 21:36:36 +00:00
hyatt%netscape.com
de305c5946 Fixing three problems that prevented XP menus from working with RDF templates.
The Bookmarks menu and mail menus should work now.


git-svn-id: svn://10.0.0.236/trunk@42213 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-04 21:36:30 +00:00
hoa.nguyen%intel.com
4a873df2b1 Added nsJSHTMLEmbedElement.cpp.
git-svn-id: svn://10.0.0.236/trunk@42212 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-04 21:33:30 +00:00
hoa.nguyen%intel.com
15e856d08b DOM Element for JavaScript access of embed tags.
git-svn-id: svn://10.0.0.236/trunk@42211 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-04 21:31:34 +00:00
mscott%netscape.com
34ddde10a7 bulletproof some NS_RELEASE's with NS_IF_RELEASE.
git-svn-id: svn://10.0.0.236/trunk@42210 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-04 21:23:26 +00:00
hangas%netscape.com
2469e74ba7 Cleanup toolbar buttons. Hook?=slamm,spitzer
git-svn-id: svn://10.0.0.236/trunk@42209 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-04 21:21:52 +00:00
hangas%netscape.com
e2efbd1aed Moving tree styles around such that mailnews uses xul.css for tree style and xul.css has correct colors on tree headers. Hook?=slamm, sspitzer
git-svn-id: svn://10.0.0.236/trunk@42208 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-04 21:21:18 +00:00
valeski%netscape.com
2f4c5deb16 nsNetModRegEntry.cpp - fixed mem leak. nsStdURL.cpp - fixed port parsing bug
git-svn-id: svn://10.0.0.236/trunk@42207 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-04 21:20:48 +00:00
robinf%netscape.com
f74ef6c55a *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@42206 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-04 21:20:47 +00:00
valeski%netscape.com
f6bcc72c17 we now handle the URL attribute in a http-equiv refresh tag
git-svn-id: svn://10.0.0.236/trunk@42205 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-04 21:19:22 +00:00
valeski%netscape.com
efafa0f582 added new url munging code. we now take a swing at the urlbar string w/ the uri parsing code first, then fallback to munging if we have to
git-svn-id: svn://10.0.0.236/trunk@42204 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-04 21:18:24 +00:00
slamm%netscape.com
275ea36398 Remove OpenBookmarkURL() call from Bookmarks menu (it's already on the individual items).
git-svn-id: svn://10.0.0.236/trunk@42203 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-04 21:10:47 +00:00
robinf%netscape.com
c81766cf85 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@42201 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-04 21:04:23 +00:00
sspitzer%netscape.com
ccd1a527fa fix mac build bustage for mscott.
git-svn-id: svn://10.0.0.236/trunk@42200 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-04 20:57:40 +00:00
rogerl%netscape.com
cff5cc082e New version for linux/sparc. Changed source file names for Sun Workshop and
GCC builds.


git-svn-id: svn://10.0.0.236/trunk@42199 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-04 20:50:01 +00:00
rogerl%netscape.com
4189aeedca Added Linux/sparc rules. Added rules to distinguish Sun Workshop and GCC
builds.


git-svn-id: svn://10.0.0.236/trunk@42198 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-04 20:48:18 +00:00
rogerl%netscape.com
90cd3cd063 Added Linux/sparc component
git-svn-id: svn://10.0.0.236/trunk@42197 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-04 20:46:58 +00:00
buster%netscape.com
132773aaab added GetCaretEnabled
cleaned up caret APIs according to coding convention


git-svn-id: svn://10.0.0.236/trunk@42196 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-04 20:46:16 +00:00
robinf%netscape.com
894581293f *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@42195 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-04 20:45:14 +00:00
slamm%netscape.com
0ac883ce42 Remove default pref for open/close so that individual sidebars can set it the way they want.
git-svn-id: svn://10.0.0.236/trunk@42194 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-04 20:43:03 +00:00
sspitzer%netscape.com
143b928d01 fix warning
git-svn-id: svn://10.0.0.236/trunk@42193 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-04 20:40:57 +00:00
sspitzer%netscape.com
13b2b54ea4 fix warnings. add newline to the end of file for crappy unix compilers
git-svn-id: svn://10.0.0.236/trunk@42192 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-04 20:40:23 +00:00
slamm%netscape.com
f66f8b7f61 Bring customize dialog closer to spec. Workaround tree datasource bug #11258 (use resource URL for now).
git-svn-id: svn://10.0.0.236/trunk@42191 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-04 20:40:21 +00:00
slamm%netscape.com
7eb76bcbb3 Remove entry for unused and non-existant gif, online.gif.
git-svn-id: svn://10.0.0.236/trunk@42190 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-04 20:37:51 +00:00
slamm%netscape.com
85e062c2aa Use window.open instead of toolkit core to open bookmarks window. (workaround fix for bug #9972)
git-svn-id: svn://10.0.0.236/trunk@42189 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-04 20:36:42 +00:00
mscott%netscape.com
e415f10fdf Fix linux warning.
git-svn-id: svn://10.0.0.236/trunk@42188 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-04 20:35:58 +00:00