M dist/netbeans/nbproject/project.properties
M examples/simple/src/main/java/simple/SimplePluglet.java
M examples/simple/src/main/web/index.html
M src/Pluglet.cpp
New release. Now with JavaScript to Pluglet calling.
M classes/org/mozilla/pluglet/Registry.java
M dist/build.xml
M examples/simple/src/main/java/simple/SimplePluglet.java
M examples/simple/src/main/web/index.html
M mozilla/Makefile.in
M mozilla/nppluglet.cpp
M mozilla/nppluglet.h
M mozilla/nsScriptablePeer.cpp
M netbeans/nbproject/build-impl.xml
M netbeans/nbproject/genfiles.properties
M netbeans/nbproject/project.properties
M netbeans/nbproject/project.xml
M src/Makefile.in
M src/Pluglet.cpp
M src/Pluglet.h
M src/PlugletEngine.cpp
M src/PlugletFactory.cpp
M src/Registry.cpp
M src/Registry.h
R mozilla/nsIPluglet.idl
- At this point, I can call from JavaScript and locate an arbitratily
named method on the Pluglet instance that conforms to the signature of
returning String, and taking 0 or more Strings as arguments.
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.