Commit Graph

36051 Commits

Author SHA1 Message Date
valeski%netscape.com
0efb259cfa api change to nsIWebShell and nsIDocumentLoaderObserver. I've replaced all the old method delarations with the new versions. We now pass 'nsresult' types into the On*() methods instead of PRInt32. The PRInt32 arg type was causing data loss.
I also checked in a fix for bug 10848 (which prompted the api change), and 10549 (these changes were in nsWebShell.cpp).
1999-08-05 01:28:30 +00:00
rjc%netscape.com
439c6bb929 XUL/JS changes. 1999-08-05 01:14:53 +00:00
cls%seawood.org
760e17d9e3 file objs.mk was initially added on branch AUTOCONF_NSPR_WIN32_XCOMPILE_19990621_BRANCH. 1999-08-05 01:09:54 +00:00
briano%netscape.com
20ea8a76ad Deleted all the trailing ^M (carriage return) characters from every single line, to fix the non-gcc Unix builds (almost _all_ of the port builds broke because of this collection of Windoze droppings). 1999-08-05 00:15:42 +00:00
karnaze%netscape.com
f94829f5da additonal test cases, changed file:// to file:/// in file lists 1999-08-05 00:08:33 +00:00
slamm%netscape.com
f69092803f Hack the dtd URIs for now. The directories will need to be restructured a bit to fix this correctly. 1999-08-05 00:08:09 +00:00
edburns%acm.org
29b9e79b20 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)
1999-08-05 00:06:32 +00:00
mscott%netscape.com
04fdfa7f3c yuck..we are referring to the implementation nsMsgCompFields here instead of through the interface.
that's not good..
use newSetAsciiHeader method
1999-08-04 23:59:25 +00:00
mscott%netscape.com
939e6eedef 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
1999-08-04 23:58:57 +00:00
robinf%netscape.com
6309834e67 *** empty log message *** 1999-08-04 23:58:33 +00:00
robinf%netscape.com
8f6514b92f *** empty log message *** 1999-08-04 23:47:39 +00:00
slamm%netscape.com
e20f73dd67 Recommit. Add entity files. 1999-08-04 23:45:32 +00:00
slamm%netscape.com
1c61a743ad Not ready yet. back out. 1999-08-04 23:43:05 +00:00
slamm%netscape.com
05a260de1b Move entities into dtd files. 1999-08-04 23:40:49 +00:00
rogerl%netscape.com
cf8a6b5369 Fixed tests for back-reference case 1999-08-04 23:40:13 +00:00
rogerl%netscape.com
7c94044214 Fixed off by one error and expected output text. 1999-08-04 23:38:34 +00:00
danm%netscape.com
e5f9a7584d enable non-chrome window.open for platforms other than Windows 1999-08-04 23:26:21 +00:00
norris%netscape.com
5528ba5cac 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
1999-08-04 23:14:57 +00:00
slamm%netscape.com
8d06b361dc Fix bug #9925: Down arrow behaves incorrectly. 1999-08-04 23:10:56 +00:00
robinf%netscape.com
0e3f2dbe1b *** empty log message *** 1999-08-04 23:05:21 +00:00
radha%netscape.com
f1c16eeb4f 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.
1999-08-04 22:46:49 +00:00
radha%netscape.com
ff2e62907c Pass url load type LOAD_HISTORY when loading a url due to a back or forward button click 1999-08-04 22:44:59 +00:00
radha%netscape.com
18d1026df5 Add a new loading type LOAD_HISTORY 1999-08-04 22:44:13 +00:00
rogerl%netscape.com
ea6a0fb276 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.
1999-08-04 22:27:31 +00:00
rogerl%netscape.com
3cc0227c64 Missing '\' before \n. Trailing '|' in expected output was not correct. 1999-08-04 22:26:07 +00:00
rogerl%netscape.com
2eefd9b161 Was using 'g' flag instead of 'm' and wasn't really testing the multiline
functionality (assuming I interpreted the intent correctly).
1999-08-04 22:24:57 +00:00
hoa.nguyen%intel.com
87b7b8acc8 Build bustage. 1999-08-04 22:10:54 +00:00
valeski%netscape.com
c154601cf9 we're now returning load url error codes out 1999-08-04 21:45:06 +00:00
nhotta%netscape.com
f37eb606f8 Added progid/cid to idl and interface change. 1999-08-04 21:36:36 +00:00
hyatt%netscape.com
171ed12851 Fixing three problems that prevented XP menus from working with RDF templates.
The Bookmarks menu and mail menus should work now.
1999-08-04 21:36:30 +00:00
hoa.nguyen%intel.com
4ef7778e4c Added nsJSHTMLEmbedElement.cpp. 1999-08-04 21:33:30 +00:00
hoa.nguyen%intel.com
c0df54bbb8 DOM Element for JavaScript access of embed tags. 1999-08-04 21:31:34 +00:00
mscott%netscape.com
d37e51242e bulletproof some NS_RELEASE's with NS_IF_RELEASE. 1999-08-04 21:23:26 +00:00
hangas%netscape.com
667daab831 Cleanup toolbar buttons. Hook?=slamm,spitzer 1999-08-04 21:21:52 +00:00
hangas%netscape.com
34489a7224 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 1999-08-04 21:21:18 +00:00
valeski%netscape.com
8cd7c54894 nsNetModRegEntry.cpp - fixed mem leak. nsStdURL.cpp - fixed port parsing bug 1999-08-04 21:20:48 +00:00
robinf%netscape.com
fe04442d29 *** empty log message *** 1999-08-04 21:20:47 +00:00
valeski%netscape.com
05a902140c we now handle the URL attribute in a http-equiv refresh tag 1999-08-04 21:19:22 +00:00
valeski%netscape.com
5367ffe834 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 1999-08-04 21:18:24 +00:00
slamm%netscape.com
6d8ebac42c Remove OpenBookmarkURL() call from Bookmarks menu (it's already on the individual items). 1999-08-04 21:10:47 +00:00
robinf%netscape.com
c868edff8a *** empty log message *** 1999-08-04 21:04:23 +00:00
sspitzer%netscape.com
948a6eead8 fix mac build bustage for mscott. 1999-08-04 20:57:40 +00:00
rogerl%netscape.com
5c073ab917 New version for linux/sparc. Changed source file names for Sun Workshop and
GCC builds.
1999-08-04 20:50:01 +00:00
rogerl%netscape.com
486dff05ff Added Linux/sparc rules. Added rules to distinguish Sun Workshop and GCC
builds.
1999-08-04 20:48:18 +00:00
rogerl%netscape.com
6d59234a00 Added Linux/sparc component 1999-08-04 20:46:58 +00:00
buster%netscape.com
4333816066 added GetCaretEnabled
cleaned up caret APIs according to coding convention
1999-08-04 20:46:16 +00:00
robinf%netscape.com
bac67b8c5d *** empty log message *** 1999-08-04 20:45:14 +00:00
slamm%netscape.com
cbb5912473 Remove default pref for open/close so that individual sidebars can set it the way they want. 1999-08-04 20:43:03 +00:00
sspitzer%netscape.com
aa2aa9f5b5 fix warning 1999-08-04 20:40:57 +00:00
sspitzer%netscape.com
aa996d0e5b fix warnings. add newline to the end of file for crappy unix compilers 1999-08-04 20:40:23 +00:00