M dist/build.xml
A dist/dummy-main/src/main/resources/plugin-prefs.js
M dist/netbeans/build.xml
M dist/netbeans/pluglet.properties
M dist/netbeans/nbproject/build-impl.xml
M dist/netbeans/nbproject/genfiles.properties
M dist/netbeans/nbproject/project.properties
M dist/netbeans/nbproject/project.xml
Repeatable project build.
- Be more resiliant to changes in what the server sends back via ajax
M dist/netbeans/build.xml
M dist/netbeans/webclient.properties
M webclient/classes_spec/org/mozilla/webclient/impl/wrapper_native/WrapperFactoryImpl.java
Added copyProxySettingsIfNecessary() to copy the proxy settings from
the java system properties into the firefox properties format
documented at
http://developer.mozilla.org/en/docs/Mozilla_Embedding_FAQ:How_do_I...#How_do_I_set_the_network_proxy.3F
- changes for new responsibilities of NewWindowEvent
* <p>Indicates the browser is requesting a new window be created to
* display a new <code>BrowserControlCanvas</code> instance. This
* mechanism is only necessary if your embedding application wishes to
* allow the browser to pop up new windows (or tabs). Such is often the
* case when the user clicks on an href with a "target" attribute, or
* the embedding application wants to enable some right-click "open in
* new window" or "open in new tab" feature.</p>
M webclient/classes_spec/org/mozilla/webclient/impl/wrapper_native/NativeBrowserControlCanvas.java
M webclient/classes_spec/org/mozilla/webclient/impl/wrapper_native/CocoaBrowserControlCanvas.java
M webclient/classes_spec/org/mozilla/webclient/impl/wrapper_native/Win32BrowserControlCanvas.java
- introduce new performPlatformAppropriateNewWindowRealization
* Allow platform specific handling of new window creation.
M webclient/classes_spec/org/mozilla/webclient/impl/wrapper_native/EventRegistrationImpl.java
- modify the contract for new window creation
M webclient/test/automated/src/classes/org/mozilla/webclient/WindowCreatorTest.java
- verify it all works.
M dist/netbeans/build.xml
- support for building a mac os x universal binary distribution
M dist/mcp-test/src/test/java/cardemo/CarDemoTest.java
- re-enable cardemo test. The right way to disable this is to
do it in the build file.
M dist/mcp-test/src/test/java/jsf_jmaki/JsfjMakiTest.java
- use getAnchors() to get the right link.
M dist/netbeans/nbproject/project.properties
- add junit to classpath
dist/build.xml dist/mcp-test/src/test/java/cardemo/CarDemoTest.java dist/mcp-test/src/test/java/jsf_jmaki/JsfjMakiTest.java dist/netbeans/build.xml dist/netbeans/nbproject/project.properties
A webclient/classes_spec/org/mozilla/webclient/impl/wrapper_native/NativeBrowserControlCanvas.java
- The base class for all native browser controls
M build.xml
- rm -rf dist/classes on clean
M dist/mcp-test/src/test/java/cardemo/CarDemoTest.java
- disable, due to https://bugzilla.mozilla.org/show_bug.cgi?id=366619
not being fixed on FIREFOX_2_0_0_3_RELEASE branch.
M dom/jni/nativeDOMProxyListener.cpp
- Need extra void ** cast for first argument to AttachCurrentThread
M dom/jni/org_mozilla_dom_ElementImpl.cpp
- modify handleInterceptableAttr to adjust screenX,screenY per cross
platform fudge factors.
M dom/src/nsJavaDOMImpl.cpp
- use %p instead of %x when printing out pointers
- Need extra void ** cast for first argument to AttachCurrentThread
M webclient/classes_spec/org/mozilla/mcp/MCP.java
- remove fudge factor, moved into DOM layer.
M webclient/classes_spec/org/mozilla/webclient/BrowserControlCanvas.java
- add logging
- push some code down to NativeBrowserControlCanvas
M webclient/classes_spec/org/mozilla/webclient/NewWindowEvent.java
- change the contract of how a new window event is handled.
M webclient/classes_spec/org/mozilla/webclient/impl/wrapper_native/CocoaAppKitThreadDelegatingNativeEventThread.java
- correctly case where exception is thrown on the AppKit thread when
doing a ReturnRunnable.
M webclient/classes_spec/org/mozilla/webclient/impl/wrapper_native/CocoaBrowserControlCanvas.java
M webclient/classes_spec/org/mozilla/webclient/impl/wrapper_native/Win32BrowserControlCanvas.java
- make this extend NativeBrowserControlCanvas
M webclient/classes_spec/org/mozilla/webclient/impl/wrapper_native/EventRegistrationImpl.java
- new contract for NewWindowListener
M webclient/src_moz/NativeEventThread.cpp
- fix compiler warning.
M webclient/src_moz/WindowCreator.cpp
- add logging
M webclient/test/automated/src/classes/org/mozilla/webclient/DOMTest.java
M webclient/test/automated/src/classes/org/mozilla/webclient/KeyListenerTest.java
M webclient/test/automated/src/classes/org/mozilla/webclient/MouseListenerTest.java
M webclient/test/automated/src/classes/org/mozilla/webclient/WindowCreatorTest.java
- use dom to get the screen coordinates of elements on which to click,
instead of using hard coded screen coordinates, which are not cross
platform friendly.
M webclient/test/automated/src/test/WindowCreatorTest0.html
- add ids to some elements for use in testcases.
M webclient/build.xml
- separate out "compile.binaries" target
M webclient/classes_spec/org/mozilla/mcp/MCP.java
- account for mac coordinate wierdness.
M webclient/src_moz/AjaxListener.cpp
M webclient/src_moz/CBrowserContainer.cpp
M webclient/src_moz/EmbedEventListener.cpp
M webclient/src_moz/ns_util.h
- make sure to initialize the buffer before calling WC_ITOA
M webclient/test/automated/src/classes/org/mozilla/webclient/CurrentPageTest.java
M webclient/test/automated/src/classes/org/mozilla/webclient/KeyListenerTest.java
M webclient/test/automated/src/classes/org/mozilla/webclient/MouseListenerTest.java
- Make these tests run
M webclient/test/automated/src/test/HistoryTest0.html
- add an ID.
M webclient/test/manual/src/classes/org/mozilla/webclient/test/TestBrowser.java
- print out coordinates
- added a target to ease iterative development
M dist/netbeans/logging.properties
- turn on logging for all mozilla java classes
M webclient/classes_spec/org/mozilla/mcp/MCP.java
- make the logger package private
A webclient/classes_spec/org/mozilla/mcp/RandomHTMLInputStream.java
R webclient/classes_spec/org/mozilla/webclient/test/RandomHTMLInputStream.java
R webclient/test/automated/src/classes/org/mozilla/webclient/RandomHTMLInputStream.java
- rewrote and copied this here so THTTPD could use it.
M webclient/classes_spec/org/mozilla/mcp/THTTPD.java
- use RandomHtmlInputStream for the NavigationTest.stopTest().
M webclient/classes_spec/org/mozilla/webclient/test/EMWindow.java
M webclient/test/automated/src/classes/org/mozilla/webclient/NavigationTest.java
- use THTTPD to create RandomHTMLInputStream instances.
- Correctly exclude Gtk test on Mac
M dist/netbeans/logging.properties
- turn on all webclient logging
M dist/netbeans/webclient.properties
- Use correct extension for jnilib on mac os x
M webclient/src_moz/EmbedWindow.cpp
M webclient/src_moz/NativeBrowserControl.cpp
- extra logging
M webclient/src_moz/WindowControlImpl.cpp
- correct ifdef logic to exclude some Gtk specific code.
M webclient/classes_spec/org/mozilla/webclient/impl/WrapperFactory.java
M webclient/classes_spec/org/mozilla/webclient/impl/wrapper_native/WrapperFactoryImpl.java
M webclient/classes_spec/org/mozilla/webclient/impl/wrapper_native/NativeEventThread.java
- get rid of the wait/notifyAll in favor of using the CountDownLatch()
M webclient/classes_spec/org/mozilla/webclient/impl/wrapper_native/CocoaAppKitThreadDelegatingNativeEventThread.java
- When running code on the AppKit thread, log exceptions before rethowing.
M webclient/src_moz/cocoa/CocoaBrowserControlCanvas.mm
M webclient/src_share/jni_util.cpp
- Make exception error messages more descriptive.
PowerBook G4, so the only binary I can produce is for the PowerPC.
Perhaps someone lucky enough to own a MacBookPro can produce a binary
for me on that processor architecture.
Many thanks to the generous folks on #developers, in particular, timeless,
cbarrett, sdwilsh, and jhpedemonte.
Here are the changes.
SECTION: Changes
M dist/build.xml
- propogate clean on mac os x
- On mac os x, there is .jnilib and also .dylib
M dom/build.xml
- propogate make on mac os x
M webclient/build.xml
- new file for javah on mac
- propogate clobber_all on mac
M webclient/classes_spec/org/mozilla/webclient/BrowserControlCanvas.java
- get the tree lock before calling to native code to get the native window
A webclient/classes_spec/org/mozilla/webclient/impl/wrapper_native/CocoaAppKitThreadDelegatingNativeEventThread.java
- Allows running arbitrary code on the AppKit thread. Prevents Thread
Safety assertions.
M webclient/classes_spec/org/mozilla/webclient/impl/wrapper_native/CocoaBrowserControlCanvas.java
- adhere to informal protocol to create NativeEventThread
M webclient/classes_spec/org/mozilla/webclient/impl/wrapper_native/ImplObjectNative.java
- use NativeEventThread.instance.isNativeEventThread()
M webclient/classes_spec/org/mozilla/webclient/impl/wrapper_native/NativeEventThread.java
- implement isNativeEventThread()
M webclient/src_moz/Makefile.in
- turn on objc-exceptions on mac os x
M webclient/src_moz/NativeBrowserControl.cpp
M webclient/src_moz/NativeBrowserControl.h
- work with cocoa
M webclient/src_moz/NativeEventThread.cpp
M webclient/src_moz/cocoa/CocoaBrowserControlCanvas.h
M webclient/src_moz/cocoa/CocoaBrowserControlCanvasImpl.cpp
- two methods to run arbitrary code on the AppKit thread
M webclient/src_moz/cocoa/CocoaBrowserControlCanvas.mm
M webclient/test/manual/src/classes/org/mozilla/webclient/test/TestBrowser.java
- Added some logging
- Added informal protocol: newNativeEventThread. This will be used
to allow the Mac OS X Version to provide a special NativeEventThread
extension that forwards all things normally run on the
NativeEventThread to run on the AppKit thread instead.
M webclient/classes_spec/org/mozilla/webclient/impl/wrapper_native/WrapperFactoryImpl.java
- Use new informal protocol to instantiate NativeEventThread
M util/classes/org/mozilla/util/Utilities.java
- Instead of doing Class.forName use the proper ClassLoader pattern.
This will help when webclient becomes a server-side mashup
facilitator.
M dist/build.xml
M dom/build.xml
M webclient/build.xml
M dist/netbeans/build.xml
M dist/netbeans/webclient.properties
M dom/jni/Makefile.in
M dom/src/Makefile.in
M webclient/src_moz/Makefile.in
M webclient/src_moz/EmbedWindow.cpp
M webclient/src_moz/EmbedWindow.h
- Fix for Mac OS X
- do Alpha 8 release
- Copy artifacts to local www for dist via CVS.
A dist/webclient-pom.xml
- Create Maven POM for error free artifact resolution
M dist/mcp-test/src/test/java/cardemo/CarDemoTest.java
- Update clientIds
- Use new package for WebclientTestCase
M dist/mcp-test/src/test/java/jsf_jmaki/JsfjMakiTest.java
- Use new timeout mechanism.
- Use new package for WebclientTestCase
M dist/netbeans/build.xml
M dist/netbeans/nbproject/project.properties
- alpha 8
M webclient/build-tests.xml
- remove cardemo from automated test run
M webclient/classes_spec/org/mozilla/mcp/MCP.java
A webclient/classes_spec/org/mozilla/mcp/TimeoutHandler.java
- Generalized timeout mechanism
A webclient/classes_spec/org/mozilla/mcp/CompareFiles.java
A webclient/classes_spec/org/mozilla/mcp/THTTPD.java
A webclient/classes_spec/org/mozilla/mcp/junit/TestLogStrings.properties
A webclient/classes_spec/org/mozilla/mcp/junit/WebclientTestCase.java
A webclient/classes_spec/org/mozilla/mcp/junit/package.html
R webclient/test/automated/src/classes/org/mozilla/util/THTTPD.java
R webclient/test/automated/src/classes/org/mozilla/webclient/CompareFiles.java
R webclient/test/automated/src/classes/org/mozilla/webclient/TestLogStrings.properties
R webclient/test/automated/src/classes/org/mozilla/webclient/WebclientTestCase.java
M webclient/test/automated/src/classes/org/mozilla/webclient/BookmarksTest.java
M webclient/test/automated/src/classes/org/mozilla/webclient/BrowserControlFactoryTest.java
M webclient/test/automated/src/classes/org/mozilla/webclient/CurrentPageTest.java
M webclient/test/automated/src/classes/org/mozilla/webclient/DOMTest.java
M webclient/test/automated/src/classes/org/mozilla/webclient/DocumentLoadListenerTest.java
M webclient/test/automated/src/classes/org/mozilla/webclient/HistoryTest.java
M webclient/test/automated/src/classes/org/mozilla/webclient/KeyListenerTest.java
M webclient/test/automated/src/classes/org/mozilla/webclient/MouseListenerTest.java
M webclient/test/automated/src/classes/org/mozilla/webclient/NavigationTest.java
M webclient/test/automated/src/classes/org/mozilla/webclient/PreferencesTest.java
M webclient/test/automated/src/classes/org/mozilla/webclient/ProfileManagerTest.java
M webclient/test/automated/src/classes/org/mozilla/webclient/WindowCreatorTest.java
M webclient/test/automated/src/classes/org/mozilla/webclient/impl/WebclientFactoryImplTest.java
M webclient/test/automated/src/classes/org/mozilla/webclient/impl/wrapper_native/TestGtkBrowserControlCanvas.java
M webclient/test/automated/src/classes/org/mozilla/webclient/impl/wrapper_native/WrapperFactoryImplTest.java
- New package for mcp JUnit support
If you don't know what those two things are, check out
<http://developers.sun.com/web/swdp/>.
Anyhow, it was a real pain to keep these two things working together as
jMaki rapidly evolved. Now at least we can have an automated test to
catch regressions.
SECTION: Changes
A dist/mcp-test/src/main/java/jsf_jmaki/JsfjMaki.java
A dist/mcp-test/src/test/java/jsf_jmaki/JsfjMakiTest.java
- The automated test and the netbeans empty main class.
M dom/classes/org/mozilla/dom/util/DOMTreeDumper.java
- Introduce preorder traversal callback facility
M webclient/classes_spec/org/mozilla/mcp/MCP.java
- add methods
+ public List<Element> getAnchors(String id) {
+ public List<Element> getAnchors() {
+ public List<Element> getChildElementsWithTagName(Element root,
+ final String tagName) {
+ public List<Element> getChildElementsWithTagName(String id,
+ final String tagName) {
+ public void clickElement(String id) {
+ public void blockingClickElement(Element element) {
A plugins/examples/jmfplayer/src/main/java/jmfplayer/JMFPlayer.java
A plugins/examples/jmfplayer/src/main/web/test01.html
R plugins/examples/MediaPlayer/JMPlayer.java
R plugins/examples/MediaPlayer/samples/test.html
R plugins/examples/MediaPlayer/samples/tilego3.avi
- Move mediaplayer example to jmfplayer
M plugins/examples/index.html
- Add mediaplayer example
M plugins/netbeans/build.xml
M plugins/netbeans/pluglet.properties
- require new property jdkhome.nospaces
M plugins/release/build.xml
- marching toward binary distribution
M plugins/netbeans/nbproject/build-impl.xml
M plugins/netbeans/nbproject/genfiles.properties
M plugins/netbeans/nbproject/project.properties
M plugins/netbeans/nbproject/project.xml
- IDE changes
A plugins/netbeans/.cvsignore
A plugins/netbeans/build.xml
A plugins/netbeans/manifest.mf
A plugins/netbeans/nbproject/.cvsignore
A plugins/netbeans/nbproject/build-impl.xml
A plugins/netbeans/nbproject/genfiles.properties
A plugins/netbeans/nbproject/project.properties
A plugins/netbeans/nbproject/project.xml
A plugins/netbeans/pluglet.properties
A plugins/release/build.xml
A plugins/examples/EmptyMainClass/EmptyMainClass.java
A plugins/examples/index.html
A plugins/examples/simple/src/main/java/simple/SimplePluglet.java
A plugins/examples/simple/src/main/web/index.html
M plugins/build.xml
M plugins/mozilla/nppluglet.cpp
- Towards a binar distribution of pluglets
M plugins/mozilla/Makefile.in
- Changes to build with objdir
M plugins/examples/MediaPlayer/JMPlayer.java
- Do not use * imports
M plugins/examples/MediaPlayer/build.xml
- distribute to objdir
M plugins/src/PlugletEngine.cpp
M plugins/src/PlugletFactory.cpp
M plugins/src/PlugletsDir.cpp
- Additional logging