868 Commits

Author SHA1 Message Date
edburns%acm.org
9fb81d2764 First step on allowing JAVADom to run on NativeEventThread. Have no
public native methods.  Have each formerly public native method now be a
package private method with the same name as before, but the string
"native" prepended, and the first letter of the old name capitalized.
Have a new public method with the same name as the old method with a
body that calls through to the corresponding native method, passing args
correctly.

Next step will be to provide a threading solution from webclient.

M dom/classes/org/mozilla/dom/AttrImpl.java
M dom/classes/org/mozilla/dom/CharacterDataImpl.java
M dom/classes/org/mozilla/dom/DOMAccessor.java
M dom/classes/org/mozilla/dom/DOMImplementationImpl.java
M dom/classes/org/mozilla/dom/DocumentImpl.java
M dom/classes/org/mozilla/dom/DocumentTypeImpl.java
M dom/classes/org/mozilla/dom/ElementImpl.java
M dom/classes/org/mozilla/dom/EntityImpl.java
M dom/classes/org/mozilla/dom/NamedNodeMapImpl.java
M dom/classes/org/mozilla/dom/NodeImpl.java
M dom/classes/org/mozilla/dom/NodeListImpl.java
M dom/classes/org/mozilla/dom/NotationImpl.java
M dom/classes/org/mozilla/dom/ProcessingInstructionImpl.java
M dom/classes/org/mozilla/dom/events/EventImpl.java
M dom/classes/org/mozilla/dom/events/MouseEventImpl.java
M dom/classes/org/mozilla/dom/events/UIEventImpl.java
M dom/jni/org_mozilla_dom_AttrImpl.cpp
M dom/jni/org_mozilla_dom_CharacterDataImpl.cpp
M dom/jni/org_mozilla_dom_DOMAccessor.cpp
M dom/jni/org_mozilla_dom_DOMImplementationImpl.cpp
M dom/jni/org_mozilla_dom_DocumentImpl.cpp
M dom/jni/org_mozilla_dom_ElementImpl.cpp
M dom/jni/org_mozilla_dom_EntityImpl.cpp
M dom/jni/org_mozilla_dom_NamedNodeMapImpl.cpp
M dom/jni/org_mozilla_dom_NodeImpl.cpp
M dom/jni/org_mozilla_dom_NodeListImpl.cpp
M dom/jni/org_mozilla_dom_NotationImpl.cpp
M dom/jni/org_mozilla_dom_ProcessingInstructionImpl.cpp
M dom/jni/org_mozilla_dom_events_EventImpl.cpp
M dom/jni/org_mozilla_dom_events_MouseEventImpl.cpp
M dom/jni/org_mozilla_dom_events_UIEventImpl.cpp


git-svn-id: svn://10.0.0.236/trunk@221779 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-12 16:13:03 +00:00
edburns%acm.org
b73d7d3c86 M webclient/classes_spec/org/mozilla/webclient/impl/WrapperFactory.java
M webclient/classes_spec/org/mozilla/webclient/impl/wrapper_native/NativeEventThread.java
M webclient/classes_spec/org/mozilla/webclient/impl/wrapper_native/WrapperFactoryImpl.java

- cause the webclient native library to be loaded from the
  NativeEventThread.  This eliminates many native thread safety
  assertions.

M webclient/classes_spec/org/mozilla/webclient/impl/wrapper_native/CurrentPageImpl.java

- Initialize the dom on the NativeEventThread

- Get the dom on the NativeEventThread

M webclient/classes_spec/org/mozilla/webclient/impl/wrapper_native/EventRegistrationImpl.java

- remove unnecessary synchronized block.


git-svn-id: svn://10.0.0.236/trunk@221615 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-09 17:25:48 +00:00
edburns%acm.org
38237424b7 M dist/build.xml
M dist/netbeans/build.xml
M dist/netbeans/nbproject/project.properties

- prepare for alpha 6 release

M webclient/src_moz/AjaxListener.cpp
M webclient/src_moz/AjaxListener.h
M webclient/src_moz/EmbedProgress.cpp
M webclient/src_moz/EmbedProgress.h

- the AjaxListener no longer keeps the jobject EventRegistrationImpl as
  an ivar.  Instead, it lazily uses an accessor on EmbedProgress

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

- Take a url from commandline.


git-svn-id: svn://10.0.0.236/trunk@221608 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-09 14:17:04 +00:00
edburns%acm.org
1e8d7ad35d M dist/mcp-test/src/test/java/cardemo/CarDemoTest.java
- this automated test is now a complete example for how to test an ajax
  web application in an automated fashion.

M dom/classes/org/mozilla/dom/NodeImpl.java
M dom/jni/org_mozilla_dom_NodeImpl.cpp

- implement getTextContent() from DOM level 3.

M webclient/build-tests.xml

- add cardemoTest to unit test list as a place-holder until I can write
  a testcase that doesn't require the public Internet.

A webclient/classes_spec/org/mozilla/mcp/AjaxListener.java

- New class.  Docs forthcoming.

M webclient/classes_spec/org/mozilla/mcp/MCP.java

- new methods to support complete ajax automated testing.

M webclient/src_moz/AjaxListener.cpp
M webclient/src_moz/AjaxListener.h

- add mIsObserving flag.  From our dtor, make sure to remove ourselves
  from the EmbedProgress.

M webclient/src_moz/EmbedProgress.cpp
M webclient/src_moz/EmbedProgress.h

- We need to add ourselves as an observer both from SetCapturePageInfo
  and SetEventRegistration.

M webclient/src_moz/NativeBrowserControl.cpp

- Unit testing found a bug!  We can't call mWindow->ReleaseChildren()
  until after we remove ourself as a listener.


git-svn-id: svn://10.0.0.236/trunk@221594 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-09 04:34:24 +00:00
edburns%acm.org
ae1fa3cfb2 M dom/jni/javaDOMEventsGlobals.cpp\
- fix bug where eventType was incorrectly getting accessed as a const char *

M webclient/src_moz/AjaxListener.cpp

- Create a Java DOM instance from the Ajax response.

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

- Resurrect the DOMViewer.  Make it show the tree for ajax responses.


git-svn-id: svn://10.0.0.236/trunk@221545 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-08 15:14:22 +00:00
edburns%acm.org
4387234d66 M webclient/classes_spec/org/mozilla/webclient/DocumentLoadEvent.java
- add event masks for Ajax

M webclient/classes_spec/org/mozilla/webclient/PageInfoListener.java

- Document map values for ajax events

M webclient/src_moz/AjaxListener.cpp
M webclient/src_moz/AjaxListener.h

- Flesh out implementation as much as the underlying browser allows.
  For mozilla, this means start, end, and error.

M webclient/src_moz/EmbedProgress.cpp
M webclient/src_moz/EmbedProgress.h

- move the initialization of the AjaxListener into SetEventRegistration().

- Expose NativeBrowserControl * getter

- Make RequestToURIString public

M webclient/src_share/jni_util.cpp
M webclient/src_share/jni_util.h

- new map keys: readyState, responseText, responseXML

- new event masks START_AJAX, END_AJAX, ERROR_AJAX

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

- print map values for AJAX cases.


git-svn-id: svn://10.0.0.236/trunk@221541 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-08 13:35:19 +00:00
edburns%acm.org
2329e00781 To address the issue of listening for XMLHttpRequest traffic, I've taken
a cue from Doron Rosenberg in #developers and looked at the Eclipse ATF
project's XHRObserver.java.

This was my first look at java code that uses the java xpcom bridge, and
I'm very impressed.  Once I get webclient 2.0 done, I'll definately
rewrite as much as possible of the mozilla implementation using the java
xpcom bridge.  For now, I'm going to continue to crank with my
"on-demand hand coded JNI C++" approach.  I think I can get results
pretty quickly with this.  For example, just yesterday I learned that
the regular nsIWebProgressListener doesn't get notifications on Ajax
requests, and now I see a way to do it (thanks to Doron).

Here is the work in progress.

A webclient/src_moz/AjaxListener.cpp
A webclient/src_moz/AjaxListener.h
M logging.properties

- set "ALL" for MCP level

M dist/mcp-test/src/test/java/cardemo/CarDemoTest.java

- Cause an Ajax transaction to happen

M webclient/classes_spec/org/mozilla/mcp/MCP.java

- log messages for outgoing HTTP requests

M webclient/src_moz/EmbedProgress.cpp
M webclient/src_moz/EmbedProgress.h

- Leverage new AjaxListener class

M webclient/src_moz/Makefile.in

- add xmlextras, to include nsIXMLHttpRequest.


git-svn-id: svn://10.0.0.236/trunk@221474 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-07 21:02:54 +00:00
edburns%acm.org
0a65ef051c M dist/mcp-test/src/test/java/cardemo/CarDemoTest.java
- remove Robot from this class.  Moved into MCP

M dom/classes/org/mozilla/dom/DocumentImpl.java
M dom/jni/org_mozilla_dom_DocumentImpl.cpp

- implement getDocumentURI().

M dom/classes/org/mozilla/dom/util/DOMTreeDumper.java

- added findElementWithName().

R webclient/classes_spec/org/mozilla/webclient/test/DOMTreeModel.java
A dom/classes/org/mozilla/dom/util/DOMTreeModel.java
R webclient/test/manual/src/classes/org/mozilla/webclient/test/DOMTreeNotifier.java
A dom/classes/org/mozilla/dom/util/DOMTreeNotifier.java
M webclient/classes_spec/org/mozilla/webclient/test/DOMAccessPanel.java
M webclient/classes_spec/org/mozilla/webclient/test/DOMViewerFrame.java
M webclient/test/manual/src/classes/org/mozilla/webclient/test/DOMViewerFrame.java


- Move these over from test browser package

M webclient/classes_spec/org/mozilla/mcp/MCP.java

- added useful new public methods

findElement
clickElement
blockingClickElement

- absorbed functionality of Robot.

R webclient/classes_spec/org/mozilla/webclient/impl/DOMTreeDumper.java
R webclient/test/manual/src/classes/org/mozilla/webclient/test/DOMTreeDumper.java

- For some reason, there were several copies of this file.

M webclient/classes_spec/org/mozilla/webclient/impl/wrapper_native/CurrentPageImpl.java

- Use newly implemented getDocumentURI() for logging.


git-svn-id: svn://10.0.0.236/trunk@221413 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-06 22:03:43 +00:00
edburns%acm.org
24cfaeb00e M dist/mcp-test/src/test/java/cardemo/CarDemoTest.java
- Underpinnings for "clickElementWithId"

M dom/jni/Makefile.in

- depend on layout, for nsIBoxObject.  Thanks smaug.

M dom/jni/javaDOMGlobals.h

- copy over WC_ITOA macro

M dom/jni/org_mozilla_dom_ElementImpl.cpp

- add support for special attributes screenX, screenY, clientX, clientY

M webclient/build-tests.xml

- compile the CarDemoTest

M webclient/classes_spec/org/mozilla/mcp/MCP.java

- add getElementInCurrentPageById()

M webclient/test/automated/src/classes/org/mozilla/webclient/DOMTest.java

- exercise new features in dom ElementImpl.


git-svn-id: svn://10.0.0.236/trunk@221363 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-06 03:28:47 +00:00
edburns%acm.org
f2359edf57 M dist/build.xml
- Do not exclude Bookmarks, Prefs, and Profile from core source

M dist/mcp-test/src/test/java/cardemo/CarDemoTest.java

- sleep for 10 seconds after the initial load

M dist/netbeans/build.xml

- add the ability to compile the core source of the webclient library,
  should the user want to modify it.

M webclient/classes_spec/org/mozilla/mcp/MCP.java

- Correctly cause blockingLoad to block until the load completes.


git-svn-id: svn://10.0.0.236/trunk@221343 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-05 21:10:24 +00:00
edburns%acm.org
65b19ae154 M build.xml
- Added copy.core.src target

M netbeans/build.xml

- added complie.core.src target 

M netbeans/nbproject/build-impl.xml
M netbeans/nbproject/genfiles.properties
M netbeans/nbproject/project.properties

- autogenerate changes

M netbeans/nbproject/project.xml

- rename source roots


git-svn-id: svn://10.0.0.236/trunk@221314 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-05 16:35:47 +00:00
edburns%acm.org
562f0ecbca M build.xml
A mcp-test/src/main/java/cardemo/CarDemo.java
A mcp-test/src/test/java/cardemo/CarDemoTest.java

- include automated test to use MCP to test the Ajax cardemo


git-svn-id: svn://10.0.0.236/trunk@221273 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-03 21:06:39 +00:00
edburns%acm.org
38884c477a M dist/netbeans/build.xml
- Add ability to debug a singe junit test

M webclient/build.xml
A webclient/classes_spec/org/mozilla/mcp/MCP.java
A webclient/classes_spec/org/mozilla/mcp/MCPLogStrings.properties

- add mcp package

M webclient/test/automated/src/classes/org/mozilla/webclient/WebclientTestCase.java

- add getter for outputFileRoot.


git-svn-id: svn://10.0.0.236/trunk@221270 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-03 20:35:14 +00:00
edburns%acm.org
b15b18becd M build.xml
A non-ide/README
A non-ide/build.properties.sample
A non-ide/build.xml
A non-ide/logging.properties
A non-ide/project.properties

- Add non-ide build file.


git-svn-id: svn://10.0.0.236/trunk@220977 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-27 04:47:59 +00:00
edburns%acm.org
2844a28cb2 skip_testPrintPreview_on_XP
git-svn-id: svn://10.0.0.236/trunk@220957 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-26 21:32:35 +00:00
edburns%acm.org
a39bcfd627 remove_relative_path
git-svn-id: svn://10.0.0.236/trunk@220838 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-23 19:03:12 +00:00
edburns%acm.org
d74e28323c added_#
git-svn-id: svn://10.0.0.236/trunk@220836 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-23 18:39:02 +00:00
edburns%acm.org
80bdfe17ce add_javadocs
git-svn-id: svn://10.0.0.236/trunk@220827 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-23 17:32:11 +00:00
edburns%acm.org
4b0552e239 comment_out_browser_bin_dir
git-svn-id: svn://10.0.0.236/trunk@220823 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-23 16:58:05 +00:00
edburns%acm.org
e96b508972 remove_unnecessary_build_properties
git-svn-id: svn://10.0.0.236/trunk@220822 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-23 16:55:25 +00:00
edburns%acm.org
7ebb86fbca define_main_class
git-svn-id: svn://10.0.0.236/trunk@220821 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-23 16:42:52 +00:00
edburns%acm.org
df3334218e automated_tests_work_fully
git-svn-id: svn://10.0.0.236/trunk@220820 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-23 16:40:14 +00:00
edburns%acm.org
da5a86f64e debug_jvm_args
git-svn-id: svn://10.0.0.236/trunk@220817 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-23 16:14:13 +00:00
edburns%acm.org
f2d6e9214c automated_tests_run_outside_of_workarea
git-svn-id: svn://10.0.0.236/trunk@220815 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-23 15:56:08 +00:00
edburns%acm.org
886c849e54 no_need
git-svn-id: svn://10.0.0.236/trunk@220814 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-23 14:41:39 +00:00
edburns%acm.org
4aefbd9bc2 make_tests_more_amenable_to_non_workspace_running
git-svn-id: svn://10.0.0.236/trunk@220813 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-23 14:38:55 +00:00
edburns%acm.org
23bcb8ea6e Automated and Manual Tests Run with only one ENV var set
git-svn-id: svn://10.0.0.236/trunk@220759 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-22 21:31:43 +00:00
edburns%acm.org
20b52560c7 M build.xml
M dist/build.xml
M dist/netbeans/build.xml
A dist/netbeans/logging.properties
M dist/netbeans/webclient.properties
M webclient/test/automated/src/classes/org/mozilla/webclient/WebclientTestCase.java

Make it so the automated tests run from netbeans.


git-svn-id: svn://10.0.0.236/trunk@220619 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-21 01:40:44 +00:00
edburns%acm.org
7caba9a94a Prepare for 2.0 alpha 5 release
M build.xml
A netbeans/build.xml
A netbeans/manifest.mf
A netbeans/webclient.properties
A netbeans/nbproject/build-impl.xml
A netbeans/nbproject/build.properties
A netbeans/nbproject/genfiles.properties
A netbeans/nbproject/project.properties
A netbeans/nbproject/project.xml

- the default dist will include a netbeans project that builds the test
  browser and runs the unit tests.


git-svn-id: svn://10.0.0.236/trunk@220551 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-19 18:32:42 +00:00
edburns%acm.org
41b5fea580 in_progress_update_for_2_0_a5_dist
git-svn-id: svn://10.0.0.236/trunk@220423 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-16 19:57:59 +00:00
edburns%acm.org
9a85d29904 remove non-existant import
git-svn-id: svn://10.0.0.236/trunk@220415 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-16 18:18:15 +00:00
edburns%acm.org
5648af33d6 M classes_spec/org/mozilla/webclient/CurrentPage2.java
- Add new method copyCurrentSelectionHtmlToSystemClipboard().

M classes_spec/org/mozilla/webclient/impl/wrapper_native/CurrentPageImpl.java

- Full support for text and html copy

M test/automated/src/classes/org/mozilla/webclient/CurrentPageTest.java

- Exercise HTML copy.


git-svn-id: svn://10.0.0.236/trunk@220412 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-16 16:03:18 +00:00
edburns%acm.org
7841b5844f Issue: 369376
M classes_spec/org/mozilla/webclient/impl/wrapper_native/CurrentPageImpl.java
M test/automated/src/classes/org/mozilla/webclient/CurrentPageTest.java

- Get the test case working.


git-svn-id: svn://10.0.0.236/trunk@220409 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-16 13:29:15 +00:00
edburns%acm.org
589b161152 Issue: 369376
Workaround

M webclient/classes_spec/org/mozilla/webclient/impl/wrapper_native/CurrentPageImpl.java

+void addStringToTransferable(String mimeType, String text) {

  This method is called from native code when a Transferable is being
  inspected for the DataFlavors it supports.

M webclient/classes_spec/org/mozilla/webclient/test/WorkDialog.java

- Whitespace

M webclient/src_moz/EmbedWindow.cpp
M webclient/src_moz/EmbedWindow.h

- copy code from nsPrimitiveHelpers to aid in the extraction of text
  from the nsITransferable

- Flesh out GetText(), SendTextToJava() methods.

M webclient/src_moz/Makefile.in

- Additional dependencies for nsPrimitiveHelpers copy.


git-svn-id: svn://10.0.0.236/trunk@220342 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-15 22:07:28 +00:00
edburns%acm.org
4d7ecb5ce0 increase_wait_time_before_testing_bitset
git-svn-id: svn://10.0.0.236/trunk@220167 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-15 04:59:50 +00:00
edburns%acm.org
6a43b0c2f6 Issue: 369376
Use the nsIClipboardDragDropHooks mechanism to manually copy over data
from the nsITransferable to java, so that java can manualy fabricate a
Transferable instance and put it on the clipboard.

M src_moz/CurrentPageImpl.cpp

- Pass the java instance to EmbedWindow::CopySelection().

M src_moz/EmbedWindow.cpp
M src_moz/EmbedWindow.h

- Modify CopySelection to take the java object instance

- Make this implement nsIClipboardDragDropHooks.  Use the
  nsICommandManager to get informed of the copy event.

- Implement ::OnCopyOrDrag() to copy the data from the nsITransferable
  over to Java.

M src_moz/Makefile.in

- declare dependency on commandhandler


git-svn-id: svn://10.0.0.236/trunk@220060 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-13 17:15:43 +00:00
edburns%acm.org
345b029cb2 M webclient/build-tests.xml
M webclient/classes_spec/org/mozilla/webclient/impl/wrapper_native/WrapperFactoryImpl.java
M webclient/src_moz/CurrentPageImpl.cpp
M webclient/src_moz/Makefile.in

- Remove bookmarks because bookmarks is not in XULRunner

M webclient/test/automated/src/classes/org/mozilla/webclient/CurrentPageTest.java

- Disable testCopyCurrentSelectionToSystemClipboard.  Need to try with
  1.5.0.9.

M webclient/test/automated/src/classes/org/mozilla/webclient/NavigationTest.java
M webclient/test/automated/src/classes/org/mozilla/webclient/WebclientTestCase.java

- Account for build dir change

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

- enable copy button.


git-svn-id: svn://10.0.0.236/trunk@219185 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-30 18:26:37 +00:00
edburns%acm.org
e72cf3994c M dom/build.xml
M dom/jni/Makefile.in
M dom/jni/javaDOMGlobals.cpp
M dom/src/Makefile.in
M webclient/build-tests.xml
M webclient/build.xml
M webclient/src_ie/Makefile.in
M webclient/src_moz/Makefile.in
M webclient/src_moz/gtk/Makefile.in
M webclient/src_moz/motif/gtkmozilla.h
M webclient/src_share/Makefile.in

- Enable building with an objdir.  Much more civilized.  Thanks very
  much to Bradley Smedberg.


git-svn-id: svn://10.0.0.236/trunk@219157 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-30 01:51:54 +00:00
edburns%acm.org
6c952371fa M webclient/build-tests.xml
- re-enable all tests, but CurrentPageTest is currently hanging.

M webclient/classes_spec/org/mozilla/webclient/impl/wrapper_native/EventRegistrationImpl.java

- Use new "runUntilEventOfType" method to prevent deadlock when creating a new 
  window.

M webclient/classes_spec/org/mozilla/webclient/impl/wrapper_native/NativeEventThread.java

- extract doEventLoopOnce() method from run()

- create new method runUntilEventOfType().

M webclient/classes_spec/org/mozilla/webclient/impl/wrapper_native/WindowControlImpl.java

- convert anonymous inner class for WCRunnable.nativeRealize into
  non-anonymous inner class of WindowControlImpl

M webclient/test/automated/src/classes/org/mozilla/webclient/WindowCreatorTest.java

- Make sure to realize the new window on the main thread.


git-svn-id: svn://10.0.0.236/trunk@218745 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-22 12:35:14 +00:00
edburns%acm.org
96654f7479 M logging.properties
- use log level INFO

M webclient/build-tests.xml

- comment out broken tests.  Currently: WindowCreatorTest, CurrentPageTest

M webclient/test/automated/src/classes/org/mozilla/webclient/WebclientTestCase.java

- Log INFO for tearDown()


git-svn-id: svn://10.0.0.236/trunk@218519 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-17 16:20:54 +00:00
edburns%acm.org
9f8e8c584b Append is false
git-svn-id: svn://10.0.0.236/trunk@218516 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-17 13:47:31 +00:00
edburns%acm.org
a3121edc15 M webclient/classes_spec/org/mozilla/webclient/impl/wrapper_native/NativeEventThread.java
- Use JDK 1.5 ConcurrentLinkedQueue to enable moving the enqueue and
  dequeue operations out of the synchronized block.

- Use a the new "result" property on WCRunnable to convey the result
  from the run() back to the caller.

M webclient/classes_spec/org/mozilla/webclient/impl/wrapper_native/WCRunnable.java

- Make this an abstract class and add a read/write property called
  "result".


git-svn-id: svn://10.0.0.236/trunk@218515 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-17 13:45:22 +00:00
edburns%acm.org
f80fed1778 add logging
git-svn-id: svn://10.0.0.236/trunk@218514 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-17 12:59:40 +00:00
edburns%acm.org
d0b3db034a M build.properties.sample
- declare compile.source=1.5

M dom/build.xml
M plugins/build.xml
M plugins/examples/MediaPlayer/build.xml
M plugins/test/build.xml
M util/build.xml

- remove compile.source property, take it from top level build.properties

M plugins/mozilla/Makefile.in

- remove hard coded MS_SDK_HOME reference

M util/classes/org/mozilla/util/Log.java

- This class is the home to the LogStrings property for java supplement

M webclient/build-tests.xml

- copy properties file

- turn on logging

M webclient/build.xml

- remove compile.source property, take it from top level build.properties

- set a FILE_PATH_SEP property

- make run.test depend on prepare

- make run.test.browser depend on prepare

M webclient/classes_spec/org/mozilla/webclient/impl/wrapper_native/BookmarksImpl.java
M webclient/classes_spec/org/mozilla/webclient/impl/wrapper_native/CocoaBrowserControlCanvas.java
M webclient/classes_spec/org/mozilla/webclient/impl/wrapper_native/CurrentPageImpl.java
M webclient/classes_spec/org/mozilla/webclient/impl/wrapper_native/EventRegistrationImpl.java
M webclient/classes_spec/org/mozilla/webclient/impl/wrapper_native/HistoryImpl.java
M webclient/classes_spec/org/mozilla/webclient/impl/wrapper_native/NavigationImpl.java
M webclient/classes_spec/org/mozilla/webclient/impl/wrapper_native/PreferencesImpl.java
M webclient/classes_spec/org/mozilla/webclient/impl/wrapper_native/RDFEnumeration.java
M webclient/classes_spec/org/mozilla/webclient/impl/wrapper_native/Win32BrowserControlCanvas.java
M webclient/classes_spec/org/mozilla/webclient/impl/wrapper_native/WindowControlImpl.java
M webclient/classes_spec/org/mozilla/webclient/impl/wrapper_native/WrapperFactoryImpl.java

- Define toString() for all the WCRunnable and Runnable impls.

M webclient/test/automated/src/classes/org/mozilla/webclient/WebclientTestCase.java

- Some logging.

A util/classes/org/mozilla/LogStrings.properties
A webclient/test/automated/src/classes/org/mozilla/webclient/TestLogStrings.properties

- LogStrings.properties files for tests and core impl

A logging.properties

- Logging settings for java supplement


git-svn-id: svn://10.0.0.236/trunk@218507 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-17 11:43:43 +00:00
edburns%acm.org
acfdb6daf6 fix makefiles, remove external dom
git-svn-id: svn://10.0.0.236/trunk@217594 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-02 03:11:23 +00:00
edburns%acm.org
a50a2627e3 M build.xml
- don't extract dom2.jar.  It's in the JDK now.

M classes/org/mozilla/dom/AttrImpl.java
M classes/org/mozilla/dom/DOMImplementationImpl.java
M classes/org/mozilla/dom/DocumentImpl.java
M classes/org/mozilla/dom/ElementImpl.java
M classes/org/mozilla/dom/EntityImpl.java
M classes/org/mozilla/dom/NodeImpl.java
M classes/org/mozilla/dom/TextImpl.java

- conform to dom in JDK 1.6 (Dom level 3)


git-svn-id: svn://10.0.0.236/trunk@217588 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-01 18:29:49 +00:00
edburns%acm.org
dac867a2cc M mozilla/Makefile.in
M src/Makefile.in

- Force logging to be enabled, regardless of debugging setting.

M src/PlugletEngine.cpp

- Make sure to disable JVM debugging.


git-svn-id: svn://10.0.0.236/trunk@216477 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-05 13:02:25 +00:00
edburns%acm.org
2c1be00595 forgot_to_put_into_cvs
git-svn-id: svn://10.0.0.236/trunk@215736 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-23 02:23:52 +00:00
edburns%acm.org
1879d39cea Add new first argument to PlugletFactory.initialize(): the string that
is the path to the jar from which the pluglet is loaded.

SECTION: Changes

M classes/org/mozilla/pluglet/PlugletFactory.java
M classes/org/mozilla/pluglet/PlugletFactoryAdaptor.java

- Add new first argument to PlugletFactory.initialize(): the string that
  is the path to the jar from which the pluglet is loaded.

M examples/MediaPlayer/JMPlayer.java
M test/test.java

- Account for new first argument

M src/PlugletFactory.cpp

- new JNI signature for initialize.


git-svn-id: svn://10.0.0.236/trunk@215304 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-15 01:11:42 +00:00
edburns%acm.org
52244de3f3 M mozilla/npAPInsIInputStreamShim.cpp
- re-enable stream loading in pluglet.


git-svn-id: svn://10.0.0.236/trunk@215044 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-09 20:17:43 +00:00