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

166 Коммитов

Автор SHA1 Сообщение Дата
edburns%acm.org 48adbf1a5f This change-bundle enables webclient to build and run with mozilla 1.7.
The Preferences unit test currently fails, but the test browser runs.
Next step is to make all the unit tests run, then produce the source and
binary distribution for 2.0 alpha 2.

M dom/jni/javaDOMEventsGlobals.cpp

- use nsString.get() instead of nsString.GetBufferHandle()

M webclient/src_moz/NavigationActionEvents.cpp

- don't use ctor initializer for nsString

M webclient/src_moz/ns_util.cpp

- nsString2.h is gone.
2004-09-29 22:01:26 +00:00
edburns%acm.org d96b4f1ce0 Thanks again to Michael Klepikov for these fixes.
M dom/jni/org_mozilla_dom_NodeImpl.cpp

- code around the absence of LowerCaseEqualsLiteral in nsTAString.h.
  I'm surprised the unit tests worked for me all aloung though.

M webclient/build.xml

- make run.test.browser depend on "main"

M webclient/src_moz/EmbedProgress.cpp

- deal with null URL passed to ::OnStateChange

M webclient/src_moz/HistoryImpl.cpp

- Don't cast to PRBool* when you don't need to.

M webclient/test/manual/src/classes/org/mozilla/webclient/test/TestBrowser.java

- don't swallow the exception from setAppData().
2004-08-03 17:16:57 +00:00
cbiesinger%web.de f63548a444 fixing build bustage 2004-07-21 22:09:39 +00:00
cbiesinger%web.de be9764fdfe Bug 113243 Get rid of (Compare|Equals)WithConversion
r+sr=roc
2004-07-21 20:18:39 +00:00
edburns%acm.org aebdfa036d M dom/src/Makefile.in
M webclient/src_moz/EmbedWindow.cpp
M webclient/src_moz/NativeWrapperFactory.cpp
M webclient/src_moz/gtk/Makefile.in

- fixes for building under GNU/Linux
2004-04-16 19:02:21 +00:00
edburns%acm.org 143b5003b6 no need for this anymore! 2003-01-12 07:48:16 +00:00
edburns%acm.org 9cb2b4e2a6 Make JavaDOM build with ANT. 2003-01-12 07:43:38 +00:00
edburns%acm.org ced07e3c6e javadom 2003-01-12 07:28:28 +00:00
edburns%acm.org 596c610282 Checkpoint for getting webclient to build with 1.3a. 2003-01-11 09:01:20 +00:00
edburns%acm.org 97b9b3a02b ra=edburns
Author: Tor Norbye <tor@eng.sun.com>

Changes to make it build on Solaris.
2003-01-08 05:21:31 +00:00
edburns%acm.org 2b845fdeaf Make Webclient compile and run on GNU/Linux with Mozilla 1.0.1.
Continue migration to ant.

Start out some JUnit tests.
2002-10-01 00:39:31 +00:00
edburns%acm.org 808a924b57 remove these until they can be replaced with JUnit tests 2002-08-31 18:18:26 +00:00
edburns%acm.org 39679cd4a8 Patch contributed by Michal Ceresna and verified by John Marmion.
This patch makes the webclient trunk work with the MOZILLA_0_9_9_BRANCH
on linux.
2002-06-01 19:11:44 +00:00
edburns%acm.org 1d0b339e2f Webclient compiles and runs with MOZILLA_0_9_9_BRANCH. 2002-04-16 06:12:28 +00:00
edburns%acm.org ef70bcad66 M Makefile.win
M dom/jni/javaDOMEventsGlobals.cpp
M dom/jni/makefile.win
M dom/jni/nativeDOMProxyListener.cpp
M dom/jni/nativeDOMProxyListener.h
M dom/jni/org_mozilla_dom_events_EventImpl.cpp
M dom/src/makefile.win
M dom/src/nsJavaDOMImpl.cpp
M webclient/Makefile.win
M webclient/classes_spec/Makefile.win
M webclient/classes_spec/org/mozilla/webclient/wrapper_native/ProfileManagerImpl.java
M webclient/src_moz/CBrowserContainer.cpp
M webclient/src_moz/CurrentPageActionEvents.cpp
M webclient/src_moz/HistoryActionEvents.cpp
M webclient/src_moz/HistoryImpl.cpp
M webclient/src_moz/InputStreamShim.cpp
M webclient/src_moz/Makefile.win
M webclient/src_moz/NativeEventThread.cpp
M webclient/src_moz/NativeEventThreadActionEvents.cpp
M webclient/src_moz/NavigationActionEvents.cpp
M webclient/src_moz/NavigationImpl.cpp
M webclient/src_moz/PreferencesActionEvents.cpp
M webclient/src_moz/PromptActionEvents.cpp
M webclient/src_moz/RDFActionEvents.cpp
M webclient/src_moz/win32/Makefile.win

Changes to make webclient compile and run with MOZILLA_0_9_9_BRANCH.
2002-04-15 17:38:52 +00:00
edburns%acm.org 4932a8c19e bug: 119680
Changes to make webclient compile and minimally run with
Netscape 6.2.1.
2002-01-14 18:04:48 +00:00
jaggernaut%netscape.com d155c8b972 Remove IsUnicode() check on nsString. nsString is always unicode (these days), so replacing this if/then/else with the then part. r=dbaron, rs=scc 2001-10-14 04:37:37 +00:00
edburns%acm.org aba0c0a15a ra=ashuk
bug=79427.

This checkin adds the following behavior:

On GetValue, if a checkbox or radio button, it returns "CHECKED" or "UNCHECKED".

On SetValue, any string not equal to the empty string causes the checkbox
to be set.
2001-06-12 18:30:56 +00:00
ashuk%eng.sun.com af0c0df24f Bug=46725
author=ashuk

Removing Makefile files from java/dom dir
2001-05-23 01:17:13 +00:00
ashuk%eng.sun.com 1d5b5ee913 Bug=45018
author=ashuk

Files modified
jni/org_mozilla_dom_DocumentImpl.cpp

This fix makes sure that corner case where call to
nsIDOMDocument::CreateEntityReference returns
NS_OK, but a null return value for the
nsIDOMEntityReference is handled properly thro
the exception handling mechanism.
2001-05-22 23:53:42 +00:00
ashuk%eng.sun.com 38bb3e3a5a Bug=81484
author=ashuk
Patch provided by Harshal (keeda@hotpop.com)

This patch introduces explicit (jchar*) static
casts in calls to JNIEnv_::NewString in the
JavaDOM code. This is needed for compliance
with the strict type-checking og gcc 2.96+.

Modified files are:
M jni/org_mozilla_dom_AttrImpl.cpp
M jni/org_mozilla_dom_CharacterDataImpl.cpp
M jni/org_mozilla_dom_DocumentTypeImpl.cpp
M jni/org_mozilla_dom_ElementImpl.cpp
M jni/org_mozilla_dom_EntityImpl.cpp
M jni/org_mozilla_dom_NodeImpl.cpp
M jni/org_mozilla_dom_NotationImpl.cpp
M jni/org_mozilla_dom_ProcessingInstructionImpl.cpp
M jni/org_mozilla_dom_events_EventImpl.cpp
M src/nsJavaDOMImpl.cpp
2001-05-22 23:22:58 +00:00
edburns%acm.org 65f55cca01 bug=79427
ra=ashk

this fix modifies {Get,Set}NodeValue to check for whether the node is actually an instance
of a class that responds to {Get,Set}Value(String).  If so, do it.

 * This macro assumes the hard coded set of interfaces below all have a
 * method in common, the name of which is specified by the _funcName
 * param.  Furthermore, it assumes the _funcName method takes a single
 * argument, specified by the _funcArg param.
2001-05-16 22:10:47 +00:00
ashuk%eng.sun.com defba84af5 Bug=81023
author=ashuk
ra=edburns

Files modified -
mozilla/java/dom/classes/org/mozilla/dom/NodeImpl.java
mozilla/java/dom/classes/org/mozilla/dom/events/MutationEventImpl.java
mozilla/java/dom/jni/org_mozilla_dom_NodeImpl.cpp

This Fix brings JavaDOM upto sync with the latest w3c.dom
interfaces built on 5/16/01 and checked into java/external
as dom2.jar
2001-05-16 21:13:46 +00:00
ashuk%eng.sun.com 21302a7735 Bug=80792
author=ashuk
Files modified
java/webclient/src_moz/CBrowserContainer.cpp
java/dom/jni/org_mozilla_dom_events_MousEventImpl.cpp

This patch allows Webclient and JavaDOM to build with the
mozilla trunk as of 05/14/01
2001-05-15 00:03:22 +00:00
edburns%acm.org 14961bdd62 For some reason, javadom wouldn't compile today unless I changed
nativeDOMProxyListener.cpp nativeDOMProxyListener.h

To use NS_IMETHODIMP, NS_IMETHOD instead of virtual nsresult.
2001-05-10 20:46:09 +00:00
edburns%acm.org d79b2b7b77 Complete the conversion from nsIDocumentLoaderObserver. 2001-05-08 22:32:19 +00:00
edburns%acm.org b6f0f4bea9 Removed "^M" chars.
Sorry
2001-05-08 20:54:14 +00:00
edburns%acm.org f4bc0e8678 bug 79278
This checkin migrates javaDOM to use the new nsIWebProgressListener
interface, removing its dependency on the now non-existant
nsIDocumentLoaderObserver.

It has only been tested inside webclient.  QA needs to do the standalone
javaDOM tests.

The following files are in this bugfix:

dom/jni/org_mozilla_dom_DOMAccessor.cpp
dom/src/nsIJavaDOM.h
dom/src/nsJavaDOMImpl.cpp
dom/src/nsJavaDOMImpl.h
webclient/classes_spec/org/mozilla/webclient/test/EMWindow.java
webclient/classes_spec/org/mozilla/webclient/wrapper_native/CurrentPageImpl.java
2001-05-08 20:34:31 +00:00
edburns%acm.org c088b7b9c9 Bug 76405
a=edburns
author = edburns ashuk
r=edburns

Files in fix for this bug:

M dom/classes/Makefile
M webclient/src_moz/CBrowserContainer.cpp
M webclient/src_moz/CBrowserContainer.h
M webclient/src_moz/CurrentPageActionEvents.cpp
M webclient/src_moz/HistoryActionEvents.cpp
M webclient/src_moz/Makefile.in
M webclient/src_moz/NativeEventThread.cpp
M webclient/src_moz/motif/MotifBrowserControlCanvas.cpp

This checkin makes Webclient work with the Mozilla trunk as of 27 April
0100 PDT.
2001-04-28 00:53:21 +00:00
edburns%acm.org 142c8147b1 Don't try to free an automatic variable. 2001-04-02 23:27:44 +00:00
edburns%acm.org 0e44edc9ef // replace nsString::Recycle with nsMemory::Free
java/dom/jni/org_mozilla_dom_events_MouseEventImpl.cpp
java/dom/jni/org_mozilla_dom_events_UIEventImpl.cpp
java/dom/jni/org_mozilla_dom_events_EventImpl.cpp
java/dom/jni/org_mozilla_dom_ProcessingInstructionImpl.cpp
java/dom/jni/org_mozilla_dom_NodeImpl.cpp
java/dom/jni/org_mozilla_dom_NamedNodeMapImpl.cpp
java/dom/jni/org_mozilla_dom_ElementImpl.cpp
java/dom/jni/org_mozilla_dom_DOMImplementationImpl.cpp
java/dom/jni/org_mozilla_dom_DocumentImpl.cpp
java/dom/jni/org_mozilla_dom_CharacterDataImpl.cpp
java/dom/jni/org_mozilla_dom_AttrImpl.cpp
java/dom/jni/javaDOMEventsGlobals.cpp

// On*DocumentLoad() now takes an nsIRequest instead of an nsIChannel.
// nsIChannel extends nsIRequest.
java/dom/src/nsJavaDOMImpl.cpp
java/dom/src/nsJavaDOMImpl.h
java/dom/src/nsIJavaDOM.h

// nsIChannel instances replaced with nsIRequest. Removed ShowModal(),
// ExitModalLoop(), FindNamedBrowserItem().  Parameter changes for
// {Set,Get}Persistence().  Add DestroyBrowserWindow(), IsWindowModal().
// supports weak references
java/webclient/src_moz/CBrowserContainer.h
java/webclient/src_moz/CBrowserContainer.cpp

// GetProfileList now returns an array of profile names.  Need to use
// nsIProfileInternal instead of nsIProfile for StartupWithArgs.
java/webclient/src_moz/NativeEventThread.cpp

// Remove -lxpfelocation_s
java/webclient/src_moz/Makefile.in

// Don't include appfilelocprovider_s
java/webclient/src_moz/Makefile.win

// Don't assert thread safe, cause we are thread safe
java/webclient/src_moz/InputStreamShim.cpp
2001-04-02 22:48:33 +00:00
ashuk%eng.sun.com 49ccb36ceb Merging JAVADEV_RTM_20001102 into Trunk
_Ashu
2001-04-02 21:18:06 +00:00
sdv%sparc.spb.su a123ac2aca initial checking. 2001-01-31 19:05:04 +00:00
edburns%acm.org fff58403f6 Merged branch JAVADEV_PR3_20001002 into trunk. 2000-11-02 23:33:21 +00:00
edburns%acm.org b008d75e83 bug=47878
r=edburns
a=edburns
author=rmv@sparc.spb.su
2000-09-22 00:06:21 +00:00
edburns%acm.org c724c47c60 This bug is about JavaDOM building on the tip. These changes make it so
you can build JavaDOM with the tip as of 20 Sept 2000.

M dom/jni/javaDOMGlobals.h

  changed nsString2 to nsString

M dom/jni/org_mozilla_dom_NodeImpl.cpp

  nsIDOMNode::Supports is now nsIDOMNode::IsSupported().
2000-09-20 21:47:42 +00:00
edburns%acm.org 94393318f6 Changed to bring up to the tip.
bug=32162
a=brendan
r=leaf
2000-09-20 21:38:33 +00:00
sdv%sparc.spb.su c3071ae3dd fix for bug=47878
NamedNodeMapImpl class should not extend NodeImpl
according to the w3c spec.
2000-08-08 16:43:52 +00:00
edburns%acm.org 15a59d37c9 Classes must be built first in order to build jni. 2000-07-28 00:17:21 +00:00
edburns%acm.org 73089af963 Put classes first so top level java build works. 2000-07-10 20:06:07 +00:00
sdv%sparc.spb.su 0a3563c0b4 fix for bug=44196 2000-07-06 08:01:07 +00:00
rpallath%eng.sun.com 3ef2465735 Altered test files 2000-07-05 17:17:34 +00:00
rpallath%eng.sun.com fe696f7e88 Modified Test Cases. All previously unsupported methods have been
supported. Test Cases for the same have been updated.
2000-07-05 17:16:15 +00:00
sdv%sparc.spb.su b71b109e98 fixed a memory leak 2000-06-30 10:46:49 +00:00
rpallath%eng.sun.com 757b3dc86d Added this test case 2000-06-26 18:09:44 +00:00
sdv%sparc.spb.su c5eb45029e added note about cvs tag DOM_PR1 2000-06-23 17:35:51 +00:00
sdv%sparc.spb.su fe48f42489 got rid of dependance on java\config\localdefs.mak 2000-06-23 17:16:29 +00:00
sdv%sparc.spb.su 6c4baee48e fix for bug=41494
removed headers generated by javah
updated makefiles
2000-06-23 17:14:11 +00:00
sdv%sparc.spb.su fb73322567 updated patch to webshell, so it works with the
latest version.
2000-06-23 14:14:23 +00:00
sdv%sparc.spb.su a3e5bdd5b6 fix for bug=43293 2000-06-23 14:09:19 +00:00