Граф коммитов

36145 Коммитов

Автор SHA1 Сообщение Дата
gayatrib%netscape.com fa17c17e4f changing location.replace to location.href, as a fix for bug 11261 1999-08-05 04:28:43 +00:00
mscott%netscape.com 65c7316349 fix warnings. 1999-08-05 04:28:37 +00:00
mscott%netscape.com b301f7cbaf Changes for:
nsString(eOneByte) --> nsCString
nsString(eTwoByte) nsString
nsString2 --> nsString
1999-08-05 04:28:28 +00:00
chuang%netscape.com f12f055bff fix bug11198 Crash creating, deleting or editing a card in Abook, when Abook is opened the 2nd time in one messenger session 1999-08-05 04:27:57 +00:00
briano%netscape.com da206a1629 Automated update 1999-08-05 03:41:06 +00:00
briano%netscape.com db9fb719af Fix for the build bustage on Solaris 2.5.1 using gcc 2.7.2.1. 1999-08-05 03:39:52 +00:00
troy%netscape.com db9bc7e018 Added NULL pointer check for frame manager in DeletingFrameSubtree() 1999-08-05 03:30:09 +00:00
troy%netscape.com 2c5e8babc6 Added NULL pointer checks in GetPrimaryFrameFor() and GetPlaceholderFrameFor() 1999-08-05 03:23:39 +00:00
troy%netscape.com 3ae06bfbdc Changed frame construction code to use frame manager when modifying frame
model
1999-08-05 03:09:22 +00:00
briano%netscape.com 1b11405db7 Now it should compile properly on all platforms. Fixes the SunOS Motif build. 1999-08-05 03:04:06 +00:00
hyatt%netscape.com 3a8e82a524 Fix for bug where window.title couldn't be set using onload handler. 1999-08-05 02:16:16 +00:00
briano%netscape.com 69f0a84589 Automated update 1999-08-05 01:50:51 +00:00
danm%netscape.com 8990616188 fixed named frame targeting 1999-08-05 01:50:25 +00:00
briano%netscape.com aade624670 Fix for breakage on Linux/SPARC. Now AS will default to $(CC) (instead of
nothing at all) and can be overridden as needed on a per-platform basis.
1999-08-05 01:50:24 +00:00
rjc%netscape.com 1ccafb56fd Magical munging for IE Favorites and NetPositive (BeOS). 1999-08-05 01:43:19 +00:00
hyatt%netscape.com f82fb1c723 Fix for bug 9923. 1999-08-05 01:43:14 +00:00
rjc%netscape.com 568ce9e5ee Magical munging for IE Favorites and NetPositive (BeOS). 1999-08-05 01:38:02 +00:00
valeski%netscape.com 2eae3c61f7 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:37:52 +00:00
briano%netscape.com 6980bacec1 Fixed the broken initial comment block. 1999-08-05 01:36:18 +00:00
briano%netscape.com 7ee699bbcf Rearranged things a bit and reworked some of the ifdefs to (hopefully) make the whole thing a bit more efficient. 1999-08-05 01:32:48 +00:00
valeski%netscape.com 493ae6bd9e 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 38484da458 XUL/JS changes. 1999-08-05 01:14:53 +00:00
cls%seawood.org 17025a0f87 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 d167ca42ed 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 e92108e74c additonal test cases, changed file:// to file:/// in file lists 1999-08-05 00:08:33 +00:00
slamm%netscape.com 1b52fc25a5 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 cad0172246 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 18ec0ffe06 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 08885e3335 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 95be56c9b7 *** empty log message *** 1999-08-04 23:58:33 +00:00
robinf%netscape.com 05f5496586 *** empty log message *** 1999-08-04 23:47:39 +00:00
slamm%netscape.com 6b7d3dbefb Recommit. Add entity files. 1999-08-04 23:45:32 +00:00
slamm%netscape.com ad9fad37cf Not ready yet. back out. 1999-08-04 23:43:05 +00:00
slamm%netscape.com baf9f3d904 Move entities into dtd files. 1999-08-04 23:40:49 +00:00
rogerl%netscape.com cc0f36d7ec Fixed tests for back-reference case 1999-08-04 23:40:13 +00:00
rogerl%netscape.com bddae3b849 Fixed off by one error and expected output text. 1999-08-04 23:38:34 +00:00
danm%netscape.com d1f12ae485 enable non-chrome window.open for platforms other than Windows 1999-08-04 23:26:21 +00:00
norris%netscape.com 7c5ca20070 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 a587a0acf6 Fix bug #9925: Down arrow behaves incorrectly. 1999-08-04 23:10:56 +00:00
robinf%netscape.com 1b62c159f9 *** empty log message *** 1999-08-04 23:05:21 +00:00
radha%netscape.com de9e5e65d0 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 ffa156c692 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 434b77186d Add a new loading type LOAD_HISTORY 1999-08-04 22:44:13 +00:00
rogerl%netscape.com 729d969253 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 c93ef4e649 Missing '\' before \n. Trailing '|' in expected output was not correct. 1999-08-04 22:26:07 +00:00
rogerl%netscape.com 1355cfb383 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 daab979848 Build bustage. 1999-08-04 22:10:54 +00:00
valeski%netscape.com 5703191006 we're now returning load url error codes out 1999-08-04 21:45:06 +00:00
nhotta%netscape.com 08f17cf263 Added progid/cid to idl and interface change. 1999-08-04 21:36:36 +00:00
hyatt%netscape.com 4011d8a754 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